* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #4a4060;
}

.site {
  background: #fdf6e3;
  color: #4a4060;
  font-family: 'VT323', monospace;
  font-size: 18px;
  min-height: 100vh;
  border: 3px ridge #d4879c;
  position: relative;
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
}

.tiled-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #d4879c22 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.nav {
  background: #4a4060;
  display: flex;
  border-bottom: 3px solid #d4879c;
  font-family: 'Silkscreen', monospace;
  font-size: 11px;
  position: relative;
  z-index: 1;
}

.nav a {
  color: #fdf6e3;
  padding: 6px 14px;
  text-decoration: none;
  border-right: 1px solid #6b5b8a;
  display: block;
}

.nav a:hover {
  background: #d4879c;
}

.layout {
  display: flex;
  position: relative;
  z-index: 1;
}

.sidebar {
  width: 160px;
  flex-shrink: 0;
  border-right: 2px solid #d4879c;
  padding: 12px 8px;
  background: #fdf6e3cc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sidebar-box {
  border: 2px solid #b48ead;
  background: #fff8f0;
  padding: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.sidebar-box-title {
  font-family: 'Silkscreen', monospace;
  font-size: 10px;
  color: #d4879c;
  border-bottom: 1px solid #d4879c;
  margin-bottom: 6px;
  padding-bottom: 3px;
  text-transform: uppercase;
}

.sidebar-text {
  font-size: 14px;
  color: #4a4060;
  line-height: 1.5;
}

.sidebar-meta {
  font-size: 12px;
  color: #b48ead;
  margin-bottom: 3px;
}

.visitor-counter {
  font-family: 'Silkscreen', monospace;
  font-size: 10px;
  color: #4a4060;
  background: #ebcb8b;
  border: 2px inset #4a4060;
  padding: 2px 6px;
  display: inline-block;
  letter-spacing: 2px;
  margin-top: 4px;
}

.now-playing {
  font-size: 13px;
  color: #4a4060;
  line-height: 1.5;
}

.marquee-wrap {
  overflow: hidden;
  border: 1px solid #d4879c;
  background: #4a4060;
  padding: 2px 0;
  margin-top: 4px;
}

.marquee-inner {
  display: inline-block;
  color: #ebcb8b;
  font-family: 'Silkscreen', monospace;
  font-size: 9px;
  white-space: nowrap;
  animation: marquee 12s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(160px); }
  to   { transform: translateX(-100%); }
}

.blinkie {
  display: inline-block;
  background: #d4879c;
  color: #fdf6e3;
  font-family: 'Silkscreen', monospace;
  font-size: 9px;
  padding: 2px 4px;
  animation: blink 1s step-end infinite;
  width: 100%;
  text-align: center;
}

@keyframes blink {
  50% { background: #b48ead; }
}

.main {
  flex: 1;
  padding: 16px;
  background: #fdf6e3ee;
}

.site-title {
  font-family: 'VT323', monospace;
  font-size: 42px;
  color: #d4879c;
  text-shadow: 2px 2px 0 #b48ead, 4px 4px 0 #ebcb8b;
  line-height: 1;
  margin-bottom: 4px;
}

.site-subtitle {
  font-family: 'Silkscreen', monospace;
  font-size: 10px;
  color: #b48ead;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.divider {
  border: none;
  border-top: 2px dashed #d4879c;
  margin: 12px 0;
}

.post {
  border: 2px solid #b48ead;
  background: #fff8f0;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.post-title {
  font-family: 'Silkscreen', monospace;
  font-size: 12px;
  color: #d4879c;
  margin-bottom: 4px;
  text-decoration: none;
  display: block;
}

.post-title:hover {
  color: #b48ead;
}

.post-meta {
  font-size: 13px;
  color: #b48ead;
  margin-bottom: 6px;
}

.post-body {
  font-size: 16px;
  color: #4a4060;
  line-height: 1.3;
}

.tag {
  display: inline-block;
  background: #b48ead;
  color: #fdf6e3;
  font-family: 'Silkscreen', monospace;
  font-size: 9px;
  padding: 2px 5px;
  margin-right: 3px;
}

.status-bar {
  background: #4a4060;
  color: #ebcb8b;
  font-family: 'Silkscreen', monospace;
  font-size: 9px;
  padding: 3px 8px;
  display: flex;
  justify-content: space-between;
  border-top: 2px solid #d4879c;
  position: relative;
  z-index: 1;
}


