:root {
  --bg-deep: #020b24;
  --bg-window: #0b1b42;
  --bg-chrome: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 48%, #94a3b8 100%);
  --bg-titlebar: linear-gradient(90deg, #002b80 0%, #0066cc 55%, #00b7ff 100%);
  --cyan: #00f0ff;
  --gold: #ffd400;
  --lime: #39ff14;
  --magenta: #ff2e93;
  --text-main: #f1f5f9;
  --text-muted: #93c5fd;
  --bevel-light: #7dd3fc;
  --bevel-dark: #020817;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-deep);
  color: var(--text-main);
  font-family: "Noto Sans Thai", "Tahoma", "Verdana", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Y2K Cyber Grid + Scanline Backdrop */
.cosmic-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: #020b24;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 20% 15%, rgba(0, 102, 255, 0.35), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(255, 46, 147, 0.2), transparent 48%);
  background-size: 32px 32px, 32px 32px, 100% 100%, 100% 100%;
}

.cosmic-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.16) 0px,
    rgba(0, 0, 0, 0.16) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
}

.container {
  width: min(1180px, 93vw);
  margin: 0 auto;
}

.hidden {
  display: none !important;
}

/* Year-2000 Scrolling Ticker */
.y2k-ticker {
  background: linear-gradient(90deg, #00081a, #001f5c, #00081a);
  border-bottom: 2px solid var(--cyan);
  overflow: hidden;
  white-space: nowrap;
  padding: 4px 0;
}

.y2k-ticker-track {
  display: inline-block;
  padding-left: 100%;
  font-family: "VT323", "Orbitron", monospace;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--lime);
  text-shadow: 0 0 8px rgba(57, 255, 20, 0.65);
  animation: y2kMarquee 26s linear infinite;
}

@keyframes y2kMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Header (2000s Portal Bar) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #0f2966 0%, #07173d 55%, #040d26 100%);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 6px 0 #000, 0 10px 24px rgba(0, 240, 255, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.brand-badge {
  display: inline-block;
  padding: 2px 8px;
  background: linear-gradient(180deg, #ff2e93, #a80054);
  border: 1px solid #fff;
  color: #fff;
  font-family: "Orbitron", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  font-weight: 800;
  box-shadow: 2px 2px 0 #000;
}

.brand h1 {
  margin: 4px 0 0;
  font-family: "Orbitron", "Noto Sans Thai", sans-serif;
  font-size: clamp(1.45rem, 2.8vw, 2.05rem);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.7), 3px 3px 0 #002b80;
  letter-spacing: 0.03em;
}

.brand-sub {
  margin: 2px 0 0;
  font-size: 0.84rem;
  color: var(--cyan);
}

.header-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Glossy Aqua/Flash 2000s Nav Pills */
.nav-pill {
  border-top: 2px solid #e0f2fe;
  border-left: 2px solid #e0f2fe;
  border-right: 2px solid #0f172a;
  border-bottom: 2px solid #0f172a;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 52%, #1e3a8a 100%);
  color: #fff;
  padding: 7px 15px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 2px 2px 0 #000;
  transition: transform 0.1s ease, filter 0.15s ease;
}

.nav-pill:hover {
  filter: brightness(1.15);
}

.nav-pill.active {
  background: linear-gradient(180deg, #fef08a 0%, #eab308 55%, #b45309 100%);
  color: #090d16;
  border-top-color: #fffbeb;
  border-left-color: #fffbeb;
}

/* Hero Cover Banner (Year 2000 Flash Showcase Window) */
.hero-cover {
  margin: 22px 0 16px;
  padding: 22px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(16, 42, 102, 0.95) 0%, rgba(6, 17, 48, 0.98) 100%);
  border-top: 3px solid #93c5fd;
  border-left: 3px solid #93c5fd;
  border-right: 3px solid #020617;
  border-bottom: 3px solid #020617;
  box-shadow: 6px 6px 0 #000, 0 0 28px rgba(0, 240, 255, 0.22);
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 24px;
  align-items: center;
}

@media (max-width: 820px) {
  .hero-cover {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 18px;
  }
}

.hero-cover-art {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 4px ridge var(--gold);
  box-shadow: 4px 4px 0 #000;
  aspect-ratio: 1 / 1;
}

.hero-art-glow {
  display: none;
}

.hero-cover-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-edition-tag {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 3px 10px;
  background: #000;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: "VT323", monospace;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}

.hero-cover-copy h2 {
  margin: 8px 0 10px;
  font-family: "Orbitron", "Noto Sans Thai", sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.35;
  color: var(--gold);
  text-shadow: 2px 2px 0 #000;
}

.hero-cover-copy p {
  margin: 0 0 18px;
  color: #dbeafe;
  font-size: 0.94rem;
}

.hero-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .hero-cta-row {
    justify-content: center;
  }
}

/* Panels (Classic 2000s Window Chrome) */
.panel {
  margin: 20px 0;
  padding: 20px;
  border-radius: 6px;
  background: linear-gradient(180deg, #0d2152 0%, #071333 100%);
  border-top: 2px solid #93c5fd;
  border-left: 2px solid #93c5fd;
  border-right: 2px solid #020617;
  border-bottom: 2px solid #020617;
  box-shadow: 5px 5px 0 #000;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -20px -20px 18px;
  padding: 10px 16px;
  background: var(--bg-titlebar);
  border-bottom: 2px solid #020617;
}

.panel-head h2 {
  margin: 0;
  font-size: 1.08rem;
  color: #fff;
  text-shadow: 1px 1px 0 #000;
}

.panel-head p {
  margin: 2px 0 0;
  font-size: 0.82rem;
  color: #e0f2fe;
}

.step-num {
  flex: 0 0 auto;
  width: 34px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--gold);
  border: 2px outset #fff;
  color: #000;
  font-family: "Orbitron", monospace;
  font-weight: 800;
  font-size: 0.85rem;
}

/* Mood Chips */
.mood-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.mood-chip {
  border-top: 2px solid #bae6fd;
  border-left: 2px solid #bae6fd;
  border-right: 2px solid #0f172a;
  border-bottom: 2px solid #0f172a;
  background: linear-gradient(180deg, #1e3a8a, #0f172a);
  color: #e0f2fe;
  padding: 7px 13px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.86rem;
  cursor: pointer;
  box-shadow: 2px 2px 0 #000;
}

.mood-chip:hover {
  border-top-color: var(--cyan);
  color: var(--cyan);
}

.mood-chip.active {
  background: linear-gradient(180deg, #67e8f9 0%, #06b6d4 55%, #0e7490 100%);
  color: #020617;
  font-weight: 700;
  border-top-color: #ecfeff;
  border-left-color: #ecfeff;
}

/* Resonant Song Picker */
.resonant-picker-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: end;
}

@media (max-width: 780px) {
  .resonant-picker-row {
    grid-template-columns: 1fr;
  }
}

.resonant-input-wrap {
  position: relative;
}

.resonant-input-wrap label {
  display: block;
  font-size: 0.86rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 6px;
}

.search-select-box {
  display: flex;
  gap: 8px;
}

.search-select-box input,
.gallery-filters input,
.gallery-filters select {
  width: 100%;
  padding: 9px 12px;
  border-radius: 2px;
  border-top: 2px solid #020617;
  border-left: 2px solid #020617;
  border-right: 2px solid #93c5fd;
  border-bottom: 2px solid #93c5fd;
  background: #020817;
  color: var(--lime);
  font-family: inherit;
  font-size: 0.92rem;
}

.search-select-box input::placeholder,
.gallery-filters input::placeholder {
  color: #64748b;
}

.resonant-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 260px;
  overflow-y: auto;
  background: #04102e;
  border: 2px solid var(--cyan);
  z-index: 30;
  box-shadow: 6px 6px 0 #000;
}

.resonant-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid rgba(0, 240, 255, 0.18);
}

.resonant-item:hover {
  background: #0044aa;
}

.resonant-item strong {
  display: block;
  font-size: 0.9rem;
  color: #fff;
}

.resonant-item small {
  color: var(--cyan);
  font-size: 0.76rem;
}

.selected-resonant {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #031538;
  border: 2px ridge var(--gold);
}

.selected-resonant img {
  width: 44px;
  height: 44px;
  border: 1px solid var(--cyan);
  object-fit: cover;
}

.res-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.res-label {
  font-size: 0.72rem;
  color: var(--gold);
}

.res-meta small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* Spread Controls */
.spread-head {
  justify-content: space-between;
  flex-wrap: wrap;
}

.head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.spread-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.spread-toggle {
  display: inline-flex;
  padding: 3px;
  background: #020817;
  border: 2px inset #64748b;
}

.spread-btn {
  border: none;
  background: transparent;
  color: #93c5fd;
  padding: 6px 14px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.spread-btn.active {
  background: linear-gradient(180deg, #fef08a 0%, #eab308 100%);
  color: #000;
}

/* Glossy 2000s Gel Buttons */
.btn-primary, .btn-secondary, .btn-ghost, .btn-ghost-sm, .btn-play-mini {
  font-family: inherit;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 2px 2px 0 #000;
}

.btn-primary {
  border-top: 2px solid #fef9c3;
  border-left: 2px solid #fef9c3;
  border-right: 2px solid #78350f;
  border-bottom: 2px solid #78350f;
  padding: 8px 16px;
  background: linear-gradient(180deg, #fde047 0%, #eab308 52%, #ca8a04 100%);
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-primary:active, .btn-secondary:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 #000;
}

.btn-secondary {
  border-top: 2px solid #a5f3fc;
  border-left: 2px solid #a5f3fc;
  border-right: 2px solid #083344;
  border-bottom: 2px solid #083344;
  background: linear-gradient(180deg, #22d3ee 0%, #0891b2 55%, #155e75 100%);
  color: #fff;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  text-shadow: 1px 1px 0 #000;
}

.btn-ghost {
  border-top: 2px solid #cbd5e1;
  border-left: 2px solid #cbd5e1;
  border-right: 2px solid #1e293b;
  border-bottom: 2px solid #1e293b;
  background: linear-gradient(180deg, #475569, #1e293b);
  color: #fff;
  padding: 8px 14px;
  font-size: 0.88rem;
}

.btn-ghost-sm {
  border: 1px solid #94a3b8;
  background: #1e293b;
  color: #fff;
  padding: 5px 10px;
  font-size: 0.8rem;
}

.btn-play-mini {
  border: 2px outset #86efac;
  background: linear-gradient(180deg, #22c55e, #15803d);
  color: #fff;
  padding: 5px 11px;
  font-size: 0.8rem;
  font-weight: 700;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.82rem;
}

/* Slots Bar */
.slots-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.slot-pill {
  padding: 8px 10px;
  background: #020817;
  border: 2px inset #334155;
  font-size: 0.8rem;
  color: #94a3b8;
  text-align: center;
}

.slot-pill.filled {
  border: 2px outset var(--gold);
  background: #0c2461;
  color: var(--gold);
  font-weight: 700;
}

/* Deck Grid */
.deck-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 9px;
}

.deck-card {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 2px outset var(--cyan);
  background: #000;
  cursor: pointer;
  padding: 0;
  box-shadow: 3px 3px 0 #000;
  transition: transform 0.16s ease;
}

.deck-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.deck-card:hover:not(.picked) {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.deck-card.picked {
  opacity: 0.25;
  pointer-events: none;
}

.deck-card.shuffling {
  animation: shufflePulse 0.4s ease;
}

@keyframes shufflePulse {
  0% { transform: scale(1); }
  50% { transform: scale(0.92); }
  100% { transform: scale(1); }
}

/* Reading Results */
.reading-section {
  margin-top: 28px;
}

.reading-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding: 16px;
  background: linear-gradient(90deg, #091d4a, #040d26);
  border: 2px solid var(--cyan);
  box-shadow: 4px 4px 0 #000;
}

.reading-header h2 {
  margin: 4px 0 0;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  color: var(--gold);
  text-shadow: 2px 2px 0 #000;
}

.reading-header p {
  margin: 4px 0 0;
  color: var(--cyan);
  font-size: 0.88rem;
}

.share-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.revealed-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.oracle-result-card {
  background: linear-gradient(180deg, #0d2152 0%, #050d26 100%);
  border-top: 2px solid #93c5fd;
  border-left: 2px solid #93c5fd;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  box-shadow: 5px 5px 0 #000;
  display: flex;
  flex-direction: column;
  animation: cardReveal 0.45s ease both;
}

@keyframes cardReveal {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.card-top-visual {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  padding: 16px;
  background: linear-gradient(180deg, #003380, #07163b);
  border-bottom: 2px solid var(--gold);
}

@media (max-width: 480px) {
  .card-top-visual {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

.card-art-frame {
  width: 140px;
  aspect-ratio: 2 / 3;
  border: 3px ridge var(--gold);
  box-shadow: 4px 4px 0 #000;
  overflow: hidden;
}

.card-art-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-meta-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
}

.position-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 9px;
  background: var(--gold);
  color: #000;
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid #fff;
}

.card-song-title {
  margin: 0;
  font-size: 1.15rem;
  color: #fff;
  text-shadow: 1px 1px 0 #000;
}

.card-archetype {
  font-size: 0.84rem;
  color: var(--cyan);
}

.card-stats-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: #bfdbfe;
}

.album-thumb-mini {
  width: 24px;
  height: 24px;
  border: 1px solid var(--gold);
  object-fit: cover;
}

.keywords-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.kw-tag {
  font-size: 0.72rem;
  padding: 2px 7px;
  background: #020817;
  border: 1px solid var(--cyan);
  color: var(--lime);
}

.card-body-prophecy {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.prophecy-text {
  margin: 0;
  font-size: 0.94rem;
  color: #f1f5f9;
}

.facets-grid {
  display: grid;
  gap: 6px;
  font-size: 0.84rem;
  color: #dbeafe;
  background: #030b21;
  padding: 10px 12px;
  border: 2px inset #1e3a8a;
}

.facets-grid div strong {
  color: var(--gold);
}

.chorus-box {
  margin-top: auto;
  padding: 12px 14px;
  background: linear-gradient(135deg, #001f5c, #040d26);
  border: 2px solid var(--cyan);
  border-left: 5px solid var(--gold);
}

.chorus-label {
  display: block;
  font-family: "Orbitron", "Noto Sans Thai", sans-serif;
  font-size: 0.72rem;
  color: var(--gold);
  margin-bottom: 4px;
  font-weight: 700;
}

.chorus-box blockquote {
  margin: 0;
  white-space: pre-line;
  font-size: 0.9rem;
  font-style: italic;
  color: #fff;
}

.card-play-footer {
  display: flex;
  gap: 8px;
  padding: 0 16px 16px;
  flex-wrap: wrap;
}

/* Holistic Summary */
.summary-panel {
  border-color: var(--lime);
  background: linear-gradient(180deg, #06214d, #020b24);
}

.summary-panel h3 {
  margin: 0 0 8px;
  color: var(--lime);
  font-size: 1.2rem;
}

.resonant-reflection {
  margin-top: 12px;
  padding: 12px;
  background: #031230;
  border: 2px solid var(--gold);
}

/* Gallery */
.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.gallery-head h2 {
  margin: 0;
  color: var(--gold);
}

.gallery-head p {
  margin: 4px 0 0;
  color: var(--cyan);
  font-size: 0.88rem;
}

.gallery-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  min-width: min(460px, 100%);
}

.gallery-filters input { flex: 1 1 220px; }
.gallery-filters select { flex: 1 1 190px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 14px;
}

.gallery-card {
  background: #07163b;
  border: 2px outset #60a5fa;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 4px 0 #000;
}

.gallery-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}

.gallery-card-info {
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gallery-card-info strong {
  font-size: 0.86rem;
  color: #fff;
}

.gallery-card-info small {
  font-size: 0.74rem;
  color: var(--cyan);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 16px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 8, 26, 0.85);
}

.modal-content {
  position: relative;
  z-index: 2;
  width: min(680px, 95vw);
  max-height: 90vh;
  overflow-y: auto;
  background: #07163b;
  border: 3px outset var(--gold);
  padding: 10px;
  box-shadow: 8px 8px 0 #000;
}

.modal-close {
  position: sticky;
  top: 6px;
  float: right;
  z-index: 5;
  width: 32px;
  height: 32px;
  border: 2px outset #fff;
  background: #dc2626;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

/* Floating Winamp-Style Player Bar */
.player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(180deg, #334155 0%, #0f172a 40%, #020617 100%);
  border-top: 3px solid var(--gold);
  padding: 8px 0;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.8);
}

.player-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.player-info {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #000;
  border: 2px inset #64748b;
  padding: 5px 10px;
}

.player-info img {
  width: 44px;
  height: 44px;
  border: 1px solid var(--lime);
  object-fit: cover;
}

.player-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--lime);
}

.player-info small {
  color: var(--cyan);
  font-size: 0.76rem;
}

.player-embed-wrap iframe {
  border: 2px inset #64748b;
  max-width: 100%;
}

.player-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast {
  position: fixed;
  bottom: 92px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  background: #001f5c;
  border: 2px solid var(--lime);
  color: var(--lime);
  padding: 9px 18px;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 4px 4px 0 #000;
}

.site-footer {
  margin: 44px 0 92px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.site-footer a {
  color: var(--gold);
}
