/* =============================================================
   BRITT-ERIK.NET :: style.css
   Period: 2003 to 2006. Aesthetic: LimeWire + MySpace + Geocities.
   Don't refactor this into modern "clean" CSS. Let it be what it is.
   ============================================================= */

:root {
  --lw-green:     #00FF41;
  --lw-green-dim: #0B6623;
  --lw-black:     #0A0A0A;
  --lw-charcoal:  #1C1C1C;
  --ms-pink:      #FF00AA;
  --ms-hotpink:   #FF66CC;
  --ms-cyan:      #00FFFF;
  --ms-purple:    #6633CC;
  --chrome-hi:    #E8E8E8;
  --chrome-mid:   #A8A8A8;
  --chrome-lo:    #5A5A5A;
  --web-blue:     #0000EE;
  --web-purple:   #551A8B;
  --panel-bg:     #000813;
  --panel-border: #00FF41;
  --text-main:    #E8E8E8;
  --text-dim:     #A8A8A8;
}

/* ---------- reset-ish ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: #000 url('img/bg-stars.svg') repeat;
  color: var(--text-main);
  font-family: Tahoma, "DejaVu Sans", Verdana, sans-serif;
  font-size: 12px;
  line-height: 1.35;
  min-height: 100vh;
  /* subtle scanline overlay */
  background-image:
    linear-gradient(rgba(0,255,65,0.015) 50%, transparent 50%),
    url('img/bg-stars.svg');
  background-size: 100% 3px, auto;
}

/* If the star bg gif isn't present, fall back to a starfield via gradient */
@supports (background-image: radial-gradient(white, black)) {
  body {
    background-color: #000;
    background-image:
      linear-gradient(rgba(0,255,65,0.02) 50%, transparent 50%),
      radial-gradient(1px 1px at 25% 30%, #fff, transparent),
      radial-gradient(1px 1px at 70% 60%, #fff, transparent),
      radial-gradient(1px 1px at 40% 80%, #ccf, transparent),
      radial-gradient(1px 1px at 90% 10%, #fff, transparent),
      radial-gradient(1px 1px at 10% 90%, #fff, transparent),
      radial-gradient(ellipse at center, #000519 0%, #000000 100%);
    background-size: 100% 3px, 400px 400px, 400px 400px, 400px 400px, 400px 400px, 400px 400px, 100% 100%;
    background-attachment: fixed, fixed, fixed, fixed, fixed, fixed, fixed;
  }
}

a {
  color: var(--web-blue);
  text-decoration: underline;
}
a:visited { color: var(--web-purple); }
a:hover { color: var(--ms-pink); }

img { max-width: 100%; }

/* ---------- TOP BANNER ---------- */
.top-banner {
  max-width: 780px;
  margin: 10px auto 0;
  background: linear-gradient(180deg, #111 0%, #000 100%);
  border: 2px outset var(--chrome-mid);
  padding: 8px;
}
.top-banner__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.logo {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 28px;
  letter-spacing: 1px;
  color: var(--lw-green);
  text-shadow:
    0 0 6px var(--lw-green),
    2px 2px 0 var(--lw-green-dim),
    3px 3px 0 #000;
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo__dot { color: var(--ms-pink); }
.logo__moped { font-size: 20px; animation: mopedBob 0.6s steps(4) infinite; }
@keyframes mopedBob {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-2px); }
}

.marquee {
  overflow: hidden;
  border: 1px inset #444;
  background: #000;
  height: 22px;
  position: relative;
}
.marquee__track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  color: var(--lw-green);
  font-family: "Courier New", monospace;
  font-size: 13px;
  line-height: 22px;
  animation: marqueeScroll 22s linear infinite;
  width: max-content;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.lang-toggle {
  display: flex;
  gap: 4px;
}
.lang-btn {
  font-family: Tahoma, sans-serif;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 8px;
  background: linear-gradient(180deg, #333, #111);
  color: #ccc;
  border: 2px outset #555;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.lang-btn.is-active {
  border: 2px inset var(--lw-green);
  color: var(--lw-green);
  background: #001100;
  text-shadow: 0 0 4px var(--lw-green);
}
.lang-btn:active { border-style: inset; }

/* Flags as CSS (so they always look right) */
.flag {
  display: inline-block;
  width: 16px;
  height: 11px;
  border: 1px solid #222;
  image-rendering: pixelated;
}
.flag--uk {
  background:
    linear-gradient(45deg, transparent 45%, #fff 45%, #fff 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, #fff 45%, #fff 55%, transparent 55%),
    linear-gradient(0deg, transparent 40%, #fff 40%, #fff 60%, transparent 60%),
    linear-gradient(90deg, transparent 40%, #fff 40%, #fff 60%, transparent 60%),
    linear-gradient(45deg, transparent 47%, #c8102e 47%, #c8102e 53%, transparent 53%),
    linear-gradient(-45deg, transparent 47%, #c8102e 47%, #c8102e 53%, transparent 53%),
    linear-gradient(0deg, transparent 45%, #c8102e 45%, #c8102e 55%, transparent 55%),
    linear-gradient(90deg, transparent 45%, #c8102e 45%, #c8102e 55%, transparent 55%),
    #012169;
}
.flag--se {
  background:
    linear-gradient(0deg,  transparent 40%, #FECC00 40%, #FECC00 60%, transparent 60%),
    linear-gradient(90deg, transparent 30%, #FECC00 30%, #FECC00 45%, transparent 45%),
    #006AA7;
}

/* ---------- WELCOME ---------- */
.welcome {
  max-width: 780px;
  margin: 10px auto;
  padding: 16px 20px;
  background: linear-gradient(180deg, rgba(0,20,40,0.85), rgba(0,8,20,0.85));
  border: 2px outset var(--chrome-mid);
  color: var(--text-main);
}
.welcome h1 {
  margin: 0 0 8px 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-weight: normal;
  font-size: 26px;
  color: var(--ms-hotpink);
  text-shadow:
    2px 2px 0 var(--ms-purple),
    3px 3px 6px rgba(255,0,170,0.4);
}
.welcome p { margin: 0; font-size: 13px; }

/* ---------- DIVIDERS ---------- */
.divider {
  display: block;
  max-width: 780px;
  margin: 6px auto;
  height: 8px;
  object-fit: cover;
}
/* Fallback: colored gradient bar if no GIF */
.divider:not([src]),
.divider[src=""],
section + img.divider {
  background: linear-gradient(90deg, transparent, var(--ms-pink), var(--ms-cyan), var(--ms-pink), transparent);
}

/* ---------- MAIN GRID ---------- */
.main-grid {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10px;
}

/* ---------- PANELS ---------- */
.panel {
  background: var(--panel-bg);
  border: 2px solid var(--panel-border);
  margin-bottom: 10px;
  box-shadow:
    inset 1px 1px 0 rgba(0,255,65,0.3),
    0 0 12px rgba(0,255,65,0.15);
}
.panel--chrome {
  border: 2px outset var(--chrome-mid);
  background: linear-gradient(180deg, #0a1220, #000813);
  box-shadow: none;
}
.panel__title {
  background: linear-gradient(180deg, #003300, #001a00);
  color: var(--lw-green);
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 8px;
  border-bottom: 1px solid var(--lw-green);
  letter-spacing: 1px;
}

/* ---------- SIDEBAR ---------- */
.sidebar { padding: 0; }

.portrait {
  padding: 10px;
  text-align: center;
}
.portrait__frame {
  width: 140px;
  height: 140px;
  margin: 0 auto;
  background: #000;
  border: 3px ridge var(--chrome-mid);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.portrait__placeholder {
  font-size: 80px;
  filter: drop-shadow(0 0 10px var(--lw-green));
}
.portrait__img {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  display: block;
}
.portrait__caption {
  margin-top: 8px;
  font-size: 11px;
  color: var(--lw-green);
  font-family: "Courier New", monospace;
}
.blink {
  animation: blink 1s step-start infinite;
  color: #ff2222;
}
@keyframes blink {
  50% { opacity: 0; }
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  margin: 0 0 8px 0;
}
.profile-table td {
  padding: 3px 8px;
  border-top: 1px solid #222;
  vertical-align: top;
}
.profile-table td:first-child {
  color: var(--ms-hotpink);
  width: 82px;
  font-weight: bold;
}

.contact {
  padding: 8px;
  font-size: 11px;
  border-top: 2px groove #333;
}
.contact__title {
  color: var(--lw-green);
  font-family: "Courier New", monospace;
  font-size: 11px;
  margin-bottom: 4px;
}
.dim { color: var(--text-dim); font-style: italic; }

.top-bands {
  padding: 8px 8px 8px 28px;
  font-size: 11px;
  margin: 0;
}
.top-bands li { padding: 2px 0; }

/* ---------- FIND ME / X button ---------- */
.find-me {
  padding: 10px 8px 8px;
  text-align: center;
}
.x-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: linear-gradient(180deg, #1a1a1a 0%, #000 100%);
  color: #fff;
  text-decoration: none;
  border: 2px outset #444;
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,0.08),
    0 0 8px rgba(0,255,65,0.2);
  font-family: Tahoma, sans-serif;
  text-shadow: 1px 1px 0 #000;
  position: relative;
  overflow: hidden;
}
.x-btn:visited { color: #fff; }
.x-btn:hover {
  color: var(--lw-green);
  border-color: var(--lw-green);
  box-shadow:
    inset 1px 1px 0 rgba(0,255,65,0.2),
    0 0 12px rgba(0,255,65,0.5);
}
.x-btn:active { border-style: inset; }
.x-btn::before {
  content: "";
  position: absolute;
  top: 0; left: -40%;
  width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: xSweep 3s linear infinite;
  pointer-events: none;
}
@keyframes xSweep {
  to { left: 140%; }
}
.x-btn__icon {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  background: #000;
  border: 1px solid #333;
  color: #fff;
  flex-shrink: 0;
}
.x-btn:hover .x-btn__icon {
  color: var(--lw-green);
  border-color: var(--lw-green);
}
.x-btn__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  flex: 1;
}
.x-btn__label {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ms-hotpink);
}
.x-btn:hover .x-btn__label { color: var(--ms-cyan); }
.x-btn__handle {
  font-family: "Courier New", monospace;
  font-size: 13px;
  font-weight: bold;
  color: inherit;
}
.x-btn__blink {
  color: var(--lw-green);
  font-size: 11px;
  text-shadow: 0 0 4px var(--lw-green);
}
.find-me__note {
  margin-top: 6px;
  font-size: 10px;
  color: var(--text-dim);
  font-style: italic;
}

/* ---------- CONTENT ---------- */
.content { min-width: 0; }

section {
  margin-bottom: 10px;
}

.h2 {
  font-family: "Comic Sans MS", "Tahoma", sans-serif;
  font-weight: bold;
  font-size: 22px;
  color: var(--ms-hotpink);
  background: linear-gradient(180deg, rgba(102,51,204,0.3), transparent);
  padding: 6px 10px;
  margin: 0 0 8px 0;
  border-left: 6px solid var(--ms-pink);
  text-shadow: 1px 1px 0 var(--ms-purple);
}

.about, .timeline, .top8, .guestbook {
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(0,20,40,0.8), rgba(0,8,20,0.8));
  border: 2px outset var(--chrome-mid);
}
.about p { margin: 0 0 10px 0; }
.about b { color: var(--ms-cyan); }
.about i { color: var(--ms-hotpink); font-style: italic; }

/* ============================================================
   AUDIO PLAYER
   ============================================================ */
.player {
  position: relative;
  margin-bottom: 12px;
}

.player__chrome {
  background: linear-gradient(180deg, #d4d0c8 0%, #a8a49d 100%);
  border: 2px outset #fff;
  box-shadow:
    inset 1px 1px 0 #fff,
    inset -1px -1px 0 #666,
    0 0 20px rgba(0,255,65,0.2);
  padding: 0;
  font-family: Tahoma, sans-serif;
  position: relative;
}

.player__titlebar {
  background: linear-gradient(90deg, #000080 0%, #1084d0 100%);
  color: #fff;
  padding: 3px 6px;
  font-size: 11px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-shadow: 1px 1px 0 #000;
}
.player__winbtns { display: flex; gap: 2px; }
.new-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 4px;
  background: #ffff00;
  color: #cc0000;
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: none;
  border: 1px solid #cc0000;
  animation: blink 1s step-start infinite;
}
.winbtn {
  width: 18px; height: 16px;
  background: linear-gradient(180deg, #e0e0e0, #b0b0b0);
  border: 1px outset #fff;
  font-size: 11px;
  font-family: Tahoma;
  color: #000;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.winbtn:active { border-style: inset; }

.player__led {
  margin: 8px;
  background: #001a00;
  border: 2px inset #333;
  padding: 8px 10px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  color: var(--lw-green);
  text-shadow: 0 0 4px var(--lw-green);
  min-height: 74px;
}
.led-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 1px 0;
}
.led-label { color: #00aa2a; min-width: 108px; }
.led-value { flex: 1; white-space: nowrap; overflow: hidden; }
.led-scroll { display: inline-block; animation: ledScroll 14s linear infinite; }
@keyframes ledScroll {
  0%, 20% { transform: translateX(0); }
  80%, 100% { transform: translateX(calc(-100% + 300px)); }
}
#nowPlaying:not(.overflow) { animation: none; }

.player__progress {
  margin: 0 10px 6px;
  height: 14px;
  background: #001a00;
  border: 2px inset #333;
  position: relative;
  cursor: pointer;
}
.player__progress-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0%;
  background:
    repeating-linear-gradient(
      45deg,
      var(--lw-green) 0,
      var(--lw-green) 3px,
      var(--lw-green-dim) 3px,
      var(--lw-green-dim) 6px
    );
  box-shadow: 0 0 8px rgba(0,255,65,0.6);
  transition: width 0.1s linear;
}
.player__progress-thumb {
  display: none; /* period accurate: no thumb */
}

.player__controls {
  display: flex;
  gap: 4px;
  padding: 0 10px 8px;
  align-items: center;
}
.pbtn {
  min-width: 38px;
  height: 28px;
  padding: 0 8px;
  background: linear-gradient(180deg, #e8e8e8, #a8a8a8);
  border: 2px outset #fff;
  font-family: Tahoma, sans-serif;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  color: #000;
}
.pbtn:active { border-style: inset; }
.pbtn--play {
  min-width: 50px;
  color: var(--lw-green-dim);
  font-size: 16px;
}

.vol {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.vol__label {
  font-size: 10px;
  font-weight: bold;
  color: #333;
  letter-spacing: 1px;
}
.vol__bar {
  width: 90px;
  height: 14px;
  background: #001a00;
  border: 2px inset #333;
  cursor: pointer;
  position: relative;
}
.vol__fill {
  height: 100%;
  width: 70%;
  background:
    repeating-linear-gradient(
      90deg,
      var(--lw-green) 0,
      var(--lw-green) 6px,
      #000 6px,
      #000 8px
    );
}

.player__eq {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  height: 36px;
  margin: 0 10px 8px;
  padding: 4px;
  background: #001a00;
  border: 2px inset #333;
}
.eq-bar {
  flex: 1;
  background: linear-gradient(0deg, var(--lw-green) 0%, var(--ms-cyan) 50%, var(--ms-hotpink) 100%);
  height: 10%;
  transition: height 80ms linear;
  box-shadow: 0 0 4px var(--lw-green);
  min-width: 6px;
}

.player__playlist {
  margin: 0 10px 10px;
  background: #000;
  border: 2px inset #333;
  max-height: 120px;
  overflow: auto;
  color: #ccc;
  font-family: "Courier New", monospace;
  font-size: 11px;
}
.playlist__title {
  padding: 4px 8px;
  background: #003300;
  color: var(--lw-green);
  font-weight: bold;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--lw-green);
}
.playlist { list-style: none; margin: 0; padding: 0; }
.playlist__item {
  display: grid;
  grid-template-columns: 24px 1fr auto auto;
  gap: 6px;
  padding: 4px 8px;
  align-items: center;
  border-bottom: 1px dashed #222;
}
.playlist__item.is-current {
  background: #001100;
  color: var(--lw-green);
  text-shadow: 0 0 4px var(--lw-green);
}
.playlist__play { color: var(--lw-green); }
.playlist__star { color: var(--ms-hotpink); }
.playlist__note { color: var(--text-dim); font-style: italic; padding-left: 8px; }

/* Overlay shown until first interaction */
.player__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  color: #fff;
  backdrop-filter: blur(1px);
}
.player__overlay.is-hidden { display: none; }
.player__overlay-inner { text-align: center; }
.player__overlay-play {
  font-size: 72px;
  color: var(--lw-green);
  text-shadow: 0 0 20px var(--lw-green);
  animation: pulseGlow 1.2s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%,100% { transform: scale(1); opacity: 0.8; }
  50%     { transform: scale(1.08); opacity: 1; }
}
.player__overlay-text {
  margin-top: 10px;
  font-family: "Courier New", monospace;
  font-size: 14px;
  color: var(--lw-green);
  text-shadow: 0 0 4px var(--lw-green);
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline__wrap {
  position: relative;
  padding-left: 70px;
}
.timeline__wrap::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 56px;
  width: 3px;
  background: repeating-linear-gradient(0deg, var(--ms-pink) 0 6px, transparent 6px 12px);
}
.tl-item {
  position: relative;
  padding: 4px 0 14px 20px;
}
.tl-item__year {
  position: absolute;
  left: -70px;
  top: 2px;
  width: 60px;
  font-family: "Courier New", monospace;
  font-weight: bold;
  font-size: 13px;
  color: var(--lw-green);
  background: #000;
  border: 1px solid var(--lw-green);
  padding: 2px 4px;
  text-align: center;
  text-shadow: 0 0 4px var(--lw-green);
}
.tl-item__dot {
  position: absolute;
  left: -20px;
  top: 6px;
  width: 11px;
  height: 11px;
  background: var(--ms-hotpink);
  border: 2px solid #fff;
  border-radius: 0; /* no rounded corners. we are committed. */
  box-shadow: 0 0 6px var(--ms-hotpink);
}
.tl-item__title {
  font-weight: bold;
  color: var(--ms-cyan);
}
.tl-item__body {
  margin-top: 2px;
  font-size: 12px;
}

/* ============================================================
   TOP 8
   ============================================================ */
.top8__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.top8-card {
  background: #000;
  border: 2px outset var(--chrome-mid);
  padding: 6px;
  text-align: center;
  font-size: 11px;
}
.top8-card__avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #222, #000);
  border: 1px inset #444;
  display: grid;
  place-items: center;
  font-size: 32px;
  margin-bottom: 4px;
  color: var(--lw-green);
}
.top8-card__name {
  color: var(--ms-hotpink);
  font-weight: bold;
  font-size: 11px;
}
.top8-card__note {
  color: var(--text-dim);
  font-style: italic;
  font-size: 10px;
  margin-top: 2px;
  min-height: 24px;
}

/* ============================================================
   GUESTBOOK
   ============================================================ */
.guestbook__list { margin-bottom: 10px; }
.gb-entry {
  border-bottom: 1px dashed #444;
  padding: 6px 4px;
  font-size: 12px;
}
.gb-entry:last-child { border-bottom: 0; }
.gb-entry__header {
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: "Courier New", monospace;
}
.gb-entry__stars { color: gold; }
.gb-entry__name { color: var(--ms-cyan); font-weight: bold; }
.gb-entry__date { color: var(--text-dim); font-style: italic; margin-left: auto; font-size: 10px; }
.gb-entry__msg { padding: 4px 0 4px 20px; color: var(--text-main); }
/* Each entry gets a slightly different font to look like 2003 form chaos */
.gb-entry:nth-child(2) .gb-entry__msg { font-family: Verdana, sans-serif; font-size: 11px; }
.gb-entry:nth-child(3) .gb-entry__msg { font-family: "Comic Sans MS", sans-serif; color: var(--ms-hotpink); }
.gb-entry:nth-child(4) .gb-entry__msg { font-family: Georgia, serif; }
.gb-entry:nth-child(5) .gb-entry__msg { font-family: Tahoma; font-size: 13px; }
.gb-entry:nth-child(6) .gb-entry__msg { font-family: "Courier New", monospace; color: var(--ms-cyan); }

.sign-btn {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(180deg, var(--ms-pink), var(--ms-purple));
  color: #fff;
  border: 2px outset var(--ms-hotpink);
  font-family: Tahoma;
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
}
.sign-btn:active { border-style: inset; }
.sign-note {
  display: inline-block;
  margin-left: 10px;
  color: var(--text-dim);
  font-style: italic;
  font-size: 11px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  max-width: 780px;
  margin: 14px auto 30px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(0,20,40,0.9), rgba(0,0,0,0.9));
  border: 2px outset var(--chrome-mid);
  text-align: center;
  font-size: 11px;
}
.ucon {
  display: block;
  margin: 0 auto 8px;
  height: 30px;
}

.counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 10px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  color: var(--lw-green);
}
.counter__digits {
  display: inline-block;
  padding: 3px 8px;
  background: #000;
  border: 2px inset #333;
  font-family: "Courier New", monospace;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 3px;
  color: var(--lw-green);
  text-shadow: 0 0 4px var(--lw-green);
}

.webring {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
}
.webring button {
  padding: 3px 10px;
  font-size: 11px;
  background: linear-gradient(180deg, #e0e0e0, #a0a0a0);
  border: 2px outset #fff;
  cursor: pointer;
}
.webring button:active { border-style: inset; }
.webring__label {
  width: 100%;
  font-family: "Courier New", monospace;
  color: var(--ms-hotpink);
  font-size: 10px;
  margin-top: 4px;
}

.badges {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 10px 0;
  flex-wrap: wrap;
}
.badge {
  font-family: "Courier New", monospace;
  font-size: 10px;
  padding: 3px 6px;
  border: 1px solid var(--lw-green);
  color: var(--lw-green);
  background: #001100;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sparkle-toggle {
  margin: 8px 0;
  font-size: 10px;
  color: var(--text-dim);
}
.sparkle-toggle input { vertical-align: middle; }

.footer-text {
  margin: 10px auto 0;
  max-width: 600px;
  color: var(--text-dim);
  font-size: 10px;
  line-height: 1.4;
}

/* ============================================================
   SPARKLE TRAIL
   ============================================================ */
.sparkle {
  position: fixed;
  width: 8px;
  height: 8px;
  pointer-events: none;
  z-index: 9999;
  background: radial-gradient(circle, var(--ms-hotpink) 0%, transparent 70%);
  animation: sparkleFade 800ms ease-out forwards;
}
.sparkle--cyan {
  background: radial-gradient(circle, var(--ms-cyan) 0%, transparent 70%);
}
@keyframes sparkleFade {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.3) translateY(10px); }
}

/* ============================================================
   RESPONSIVE (ugly-gracefully)
   ============================================================ */
@media (max-width: 640px) {
  .top-banner__inner { grid-template-columns: 1fr; text-align: center; }
  .logo { justify-content: center; }
  .main-grid { grid-template-columns: 1fr; padding: 0 6px; }
  .top8__grid { grid-template-columns: repeat(2, 1fr); }
  .welcome h1 { font-size: 20px; }
  .led-label { min-width: 86px; font-size: 11px; }
  .player__controls { flex-wrap: wrap; }
}

/* ============================================================
   EASTER EGG: Konami mode
   ============================================================ */
body.konami {
  animation: rainbowBorder 2s linear infinite;
  border: 8px solid;
}
@keyframes rainbowBorder {
  0%   { border-color: red; }
  20%  { border-color: orange; }
  40%  { border-color: yellow; }
  60%  { border-color: lime; }
  80%  { border-color: cyan; }
  100% { border-color: magenta; }
}
