/* ==========================================================================
   WORLD II — DEEP BLUE ABYSS (2027 Cybernetic Wunderkammer)
   ========================================================================== */

.world--abyss {
  position: relative;
  min-height: 100svh;
  background: var(--abyss);
  color: var(--ice);
  isolation: isolate;
}

/* Live Procedural Canvas Field */
.abyss-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.abyss-vignette {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 75% 18%, rgba(23, 81, 240, 0.22) 0%, transparent 48%),
    radial-gradient(circle at 14% 72%, rgba(0, 47, 167, 0.18) 0%, transparent 46%),
    radial-gradient(ellipse at center, transparent 40%, rgba(2, 4, 11, 0.78) 100%);
}

.abyss-wrap {
  width: min(1240px, calc(100% - clamp(28px, 6vw, 88px)));
  margin-inline: auto;
}

/* Floating Telemetry Header */
.abyss-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 6, 18, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--abyss-border);
}

.abyss-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 70px;
}

.abyss-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice);
  white-space: nowrap;
}

.abyss-brand__mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  box-shadow: 0 0 18px rgba(37, 99, 255, 0.55);
}

.abyss-telemetry {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(13, 28, 72, 0.55);
  border: 1px solid var(--abyss-border);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  color: var(--ice-muted);
}

.abyss-telemetry__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: pulseDot 2.2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.abyss-telemetry__num {
  color: var(--ice);
  font-variant-numeric: tabular-nums;
}

.abyss-nav__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.abyss-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--abyss-border);
  background: rgba(8, 17, 42, 0.68);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ice-muted);
  white-space: nowrap;
  transition: border-color 0.22s ease, color 0.22s ease, background 0.22s ease;
}

.abyss-chip:hover {
  border-color: var(--klein-glow);
  color: var(--ice);
  background: rgba(24, 62, 168, 0.35);
}

.abyss-chip--sound[aria-pressed="true"] {
  border-color: rgba(185, 255, 77, 0.55);
  color: var(--lime);
}

.abyss-chip--quiet {
  border-color: rgba(246, 244, 238, 0.32);
  color: var(--paper);
}

.abyss-chip--quiet:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

/* ==========================================================================
   ACT I — MONUMENTAL KINETIC HERO
   ========================================================================== */

.abyss-hero {
  padding: clamp(54px, 8vh, 96px) 0 clamp(68px, 10vh, 116px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.abyss-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(75, 139, 255, 0.32);
  background: rgba(0, 47, 167, 0.18);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9CC0FF;
}

.abyss-hero__title {
  margin: 0 0 22px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3.6rem, 8.2vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.025em;
  color: var(--ice);
}

.abyss-hero__title span {
  display: block;
}

.abyss-hero__title .accent-dodo {
  font-style: italic;
  background: linear-gradient(105deg, #FFFFFF 12%, #6FA8FF 52%, #2563FF 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.abyss-hero__lead {
  margin: 0 0 32px;
  max-width: 52ch;
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.65;
  color: var(--ice-muted);
}

.abyss-hero__lead strong {
  color: var(--ice);
  font-weight: 500;
}

.abyss-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.btn-abyss {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease, background 0.25s ease;
}

.btn-abyss--primary {
  background: linear-gradient(135deg, #2563FF 0%, #002FA7 100%);
  color: #fff;
  border: 1px solid rgba(130, 180, 255, 0.48);
  box-shadow: 0 12px 34px rgba(0, 47, 167, 0.45);
}

.btn-abyss--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(59, 130, 255, 0.6), 0 16px 38px rgba(0, 47, 167, 0.55);
}

.btn-abyss--ghost {
  background: rgba(11, 22, 54, 0.6);
  color: var(--ice);
  border: 1px solid var(--abyss-border-strong);
}

.btn-abyss--ghost:hover {
  background: rgba(25, 56, 140, 0.42);
  transform: translateY(-2px);
}

.abyss-hero__stats {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--abyss-border);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.abyss-stat__val {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--ice);
}

.abyss-stat__label {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ice-faint);
}

/* 3D Pointer-Reactive Hero Specimen Frame */
.specimen-frame {
  position: relative;
  border-radius: 24px;
  padding: 14px;
  background: linear-gradient(160deg, rgba(22, 54, 148, 0.26), rgba(4, 10, 26, 0.85));
  border: 1px solid rgba(98, 152, 255, 0.28);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform-style: preserve-3d;
  transition: transform 0.22s ease-out;
  overflow: hidden;
}

.specimen-frame__sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(120, 175, 255, 0.22), transparent 55%);
  mix-blend-mode: screen;
}

.specimen-frame__img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.specimen-frame__bar {
  margin-top: 12px;
  padding: 8px 10px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ice-muted);
}

.specimen-frame__tag {
  color: var(--amber);
}

/* ==========================================================================
   SECTION HEADINGS
   ========================================================================== */

.abyss-section {
  padding: clamp(64px, 9vw, 118px) 0;
  border-top: 1px solid var(--abyss-border);
}

.abyss-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 32px;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.abyss-section__eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--klein-glow);
}

.abyss-section__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  line-height: 1.02;
}

.abyss-section__sub {
  margin: 0;
  max-width: 44ch;
  color: var(--ice-muted);
  font-size: 0.96rem;
}

/* ==========================================================================
   ACT II — FLAGSHIP ARTIFACTS (CANTA · RATCHET · NOOSPHERE)
   ========================================================================== */

.artifacts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.artifact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: var(--abyss-card);
  border: 1px solid var(--abyss-border);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.42s var(--ease-out-expo), border-color 0.3s ease, background 0.3s ease, box-shadow 0.42s ease;
}

.artifact-card:hover {
  transform: translateY(-6px);
  border-color: var(--abyss-border-strong);
  background: var(--abyss-card-hover);
  box-shadow: 0 26px 70px rgba(0, 18, 72, 0.55);
}

.artifact-card__stage {
  position: relative;
  height: 230px;
  overflow: hidden;
  border-bottom: 1px solid var(--abyss-border);
  background: #040919;
  display: grid;
  place-items: center;
}

/* CANTA Stage — Tactile Record Sleeve + Peeking Lime Vinyl */
.stage-canta {
  background: radial-gradient(circle at 52% 55%, rgba(37, 99, 255, 0.34), #050918 76%);
}

.stage-canta__rig {
  position: relative;
  width: 244px;
  height: 162px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.stage-canta__vinyl {
  position: absolute;
  right: 4px;
  top: 50%;
  width: 148px;
  height: 148px;
  object-fit: contain;
  transform: translate(0, -50%) scaleX(-1);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.65));
  transition: transform 0.6s var(--ease-out-expo);
}

.artifact-card:hover .stage-canta__vinyl {
  transform: translate(16px, -50%) scaleX(-1) rotate(-5deg);
}

.stage-canta__sleeve {
  position: relative;
  z-index: 2;
  width: 156px;
  height: 156px;
  border-radius: 10px;
  padding: 16px;
  background:
    linear-gradient(145deg, #0D205A 0%, #050B1F 100%);
  border: 1px solid rgba(110, 165, 255, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.55s var(--ease-out-expo);
}

.artifact-card:hover .stage-canta__sleeve {
  transform: translateX(-6px) rotate(-1.5deg);
}

.stage-canta__sleeve-tag {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(185, 255, 77, 0.85);
}

.stage-canta__logo {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

.stage-canta__sleeve-foot {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ice-muted);
}

.stage-canta__eq {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
}

.stage-canta__eq i {
  display: block;
  width: 3px;
  border-radius: 3px;
  background: var(--lime);
  animation: eqBounce 1.2s ease-in-out infinite alternate;
}

.stage-canta__eq i:nth-child(1) { height: 8px; animation-delay: 0s; }
.stage-canta__eq i:nth-child(2) { height: 18px; animation-delay: 0.2s; }
.stage-canta__eq i:nth-child(3) { height: 12px; animation-delay: 0.4s; }
.stage-canta__eq i:nth-child(4) { height: 21px; animation-delay: 0.15s; }
.stage-canta__eq i:nth-child(5) { height: 10px; animation-delay: 0.35s; }

@keyframes eqBounce {
  from { transform: scaleY(0.35); opacity: 0.6; }
  to { transform: scaleY(1); opacity: 1; }
}

/* RATCHET Stage — Interactive Compound Horizon */
.stage-ratchet__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.7s var(--ease-out-expo);
}

.artifact-card:hover .stage-ratchet__bg {
  transform: scale(1.06);
}

.stage-ratchet__overlay {
  position: relative;
  z-index: 2;
  width: calc(100% - 28px);
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(4, 9, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ratchet-dial__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ice-muted);
}

.ratchet-dial__readout {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.ratchet-dial__time {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--amber);
}

.ratchet-dial__cum {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ice);
}

.ratchet-dial__slider {
  width: 100%;
  accent-color: var(--amber);
  cursor: ew-resize;
}

/* NOOSPHERE Stage — Live 3D Geodesic Canvas */
.stage-noosphere {
  background: radial-gradient(circle at 50% 50%, rgba(92, 225, 230, 0.14), #030714 75%);
  cursor: grab;
}

.stage-noosphere:active {
  cursor: grabbing;
}

.stage-noosphere__canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.stage-noosphere__hint {
  position: absolute;
  bottom: 10px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(154, 168, 199, 0.85);
  pointer-events: none;
}

.stage-noosphere__node {
  color: var(--cyan);
}

/* Artifact Card Body */
.artifact-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}

.artifact-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.artifact-card__idx {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ice-faint);
}

.artifact-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--abyss-border);
  color: var(--ice-muted);
}

.artifact-card__badge--live {
  border-color: rgba(185, 255, 77, 0.42);
  color: var(--lime);
}

.artifact-card__badge--beta {
  border-color: rgba(232, 168, 73, 0.45);
  color: var(--amber);
}

.artifact-card__badge--lab {
  border-color: rgba(92, 225, 230, 0.42);
  color: var(--cyan);
}

.artifact-card__name {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 2.3rem;
  line-height: 1;
}

.artifact-card__kind {
  margin: -8px 0 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ice-faint);
}

.artifact-card__desc {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ice-muted);
}

.artifact-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 6px;
}

.artifact-card__tags span {
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--ice-muted);
}

.artifact-card__foot {
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--abyss-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.artifact-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(37, 99, 255, 0.16);
  border: 1px solid rgba(98, 152, 255, 0.45);
  color: var(--ice);
  font-size: 0.84rem;
  font-weight: 500;
  transition: background 0.22s ease, transform 0.22s ease;
}

.artifact-card__cta:hover {
  background: var(--klein-bright);
  transform: translateY(-1px);
}

.artifact-card__support {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ice-faint);
}

.artifact-card__support:hover {
  color: var(--ice);
}

/* Forthcoming Aviary Strip */
.aviary-drawer {
  margin-top: 28px;
  border-radius: 16px;
  border: 1px solid var(--abyss-border);
  background: rgba(5, 11, 28, 0.62);
  padding: 18px 22px;
}

.aviary-drawer summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ice-muted);
}

.aviary-drawer summary::-webkit-details-marker {
  display: none;
}

.aviary-list {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--abyss-border);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.aviary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aviary-item__name {
  font-weight: 500;
  color: var(--ice);
  font-size: 0.92rem;
}

.aviary-item__name a:hover {
  color: var(--klein-glow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.aviary-item__role {
  font-size: 0.8rem;
  color: var(--ice-muted);
}

.aviary-item__state {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ice-faint);
}

/* ==========================================================================
   ACT III — PLAYABLE CAUCUS-RACE CHESS ENGINE (Deep Blue Dodo v2027)
   ========================================================================== */

.chess-arena {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
  padding: clamp(22px, 3.5vw, 38px);
  border-radius: 26px;
  background: linear-gradient(155deg, rgba(8, 19, 52, 0.82), rgba(4, 9, 24, 0.92));
  border: 1px solid var(--abyss-border-strong);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.52);
}

.chess-board-shell {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chess-eval-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  border: 1px solid rgba(110, 160, 255, 0.22);
}

.chess-eval-bar__fill {
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, var(--klein-bright), var(--cyan), var(--amber));
  transition: width 0.65s var(--ease-out-expo);
}

.chess-board {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(110, 160, 255, 0.36);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  user-select: none;
}

.chess-sq {
  position: relative;
  display: grid;
  place-items: center;
  font-size: clamp(1.25rem, 2.5vw, 1.9rem);
  line-height: 1;
  transition: background-color 0.2s ease, transform 0.25s var(--ease-out-expo);
}

.chess-sq--light {
  background: #172754;
}

.chess-sq--dark {
  background: #09112A;
}

.chess-sq--selected {
  background: #2563FF !important;
  box-shadow: inset 0 0 0 2px #fff;
}

.chess-sq--target::after {
  content: '';
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(185, 255, 77, 0.72);
  box-shadow: 0 0 10px var(--lime);
}

.chess-sq--dodo {
  background: radial-gradient(circle, rgba(37, 99, 255, 0.9), #002FA7) !important;
  box-shadow: inset 0 0 0 2px var(--amber);
}

.chess-piece {
  pointer-events: none;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.55));
}

.chess-piece--white {
  color: #F6F4EE;
}

.chess-piece--black {
  color: #79AEFF;
}

.chess-dodo-token {
  width: 78%;
  height: 78%;
  animation: dodoWaddle 0.55s var(--ease-out-expo) both;
}

@keyframes dodoWaddle {
  0% { transform: scale(0.3) rotate(-18deg); opacity: 0; }
  65% { transform: scale(1.16) rotate(6deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.chess-coord {
  position: absolute;
  left: 4px;
  bottom: 2px;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  opacity: 0.35;
  pointer-events: none;
}

/* Chess Telemetry Console */
.chess-console {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.chess-console__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--abyss-border);
}

.chess-console__engine {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.chess-console__eval {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--lime);
}

.chess-log {
  flex: 1;
  min-height: 240px;
  max-height: 340px;
  overflow-y: auto;
  padding: 18px 16px;
  border-radius: 14px;
  background: rgba(2, 5, 14, 0.78);
  border: 1px solid var(--abyss-border);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(88, 140, 255, 0.35) transparent;
}

.chess-log__entry {
  margin: 0;
  color: var(--ice-muted);
}

.chess-log__entry strong {
  color: var(--ice);
}

.chess-log__entry--dodo {
  color: #CFE0FF;
  border-left: 2px solid var(--amber);
  padding-left: 10px;
}

.chess-log__entry--prize {
  color: var(--lime);
  border-left: 2px solid var(--lime);
  padding-left: 10px;
}

.chess-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chess-btn {
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--abyss-border-strong);
  background: rgba(16, 36, 92, 0.5);
  color: var(--ice);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.chess-btn:hover {
  background: rgba(37, 99, 255, 0.38);
  border-color: var(--klein-glow);
  transform: translateY(-1px);
}

.chess-btn--accent {
  background: var(--klein-bright);
  border-color: rgba(145, 188, 255, 0.65);
  color: #fff;
}

/* ==========================================================================
   ACT IV — THE WUNDERKAMMER (Curated Lazart Fine-Art Plates)
   ========================================================================== */

.gallery-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.plate-card {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(6, 13, 34, 0.8);
  border: 1px solid var(--abyss-border);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease-out-expo), border-color 0.3s ease;
}

.plate-card:hover {
  transform: translateY(-5px);
  border-color: var(--abyss-border-strong);
}

.plate-card--wide {
  grid-column: span 6;
}

.plate-card--tall {
  grid-column: span 4;
}

.plate-card__media {
  position: relative;
  overflow: hidden;
  background: #050a18;
}

.plate-card--wide .plate-card__media {
  aspect-ratio: 3 / 2;
}

.plate-card--tall .plate-card__media {
  aspect-ratio: 4 / 5;
}

.plate-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease-out-expo);
}

.plate-card:hover .plate-card__img {
  transform: scale(1.045);
}

.plate-card__placard {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plate-card__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.plate-card__meta span:last-child {
  color: var(--ice-faint);
}

.plate-card__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.1;
  color: var(--ice);
}

.plate-card__caption {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ice-muted);
}

/* ==========================================================================
   ACT V — ANTI-DECK MANIFESTO (3 Sculptural Axioms)
   ========================================================================== */

.axioms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.axiom {
  padding: 28px;
  border-radius: 20px;
  background: rgba(6, 13, 34, 0.56);
  border: 1px solid var(--abyss-border);
}

.axiom__num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--amber);
  margin-bottom: 14px;
}

.axiom__title {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1.08;
}

.axiom__body {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--ice-muted);
}

/* ==========================================================================
   ACT VI — DISPATCH & WHISPER-QUIET COLOPHON
   ========================================================================== */

.dispatch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.dispatch-card {
  padding: 24px;
  border-radius: 18px;
  background: var(--abyss-card);
  border: 1px solid var(--abyss-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.dispatch-card__scope {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--klein-glow);
}

.dispatch-card__email {
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ice);
  word-break: break-word;
}

.dispatch-card__email:hover {
  color: var(--lime);
}

.dispatch-card__note {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--ice-muted);
}

.dispatch-copy {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--abyss-border-strong);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ice-muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.dispatch-copy:hover {
  color: var(--ice);
  border-color: var(--ice);
}

/* Whisper-Quiet Legal Colophon */
.abyss-footer {
  padding: 36px 0 54px;
  border-top: 1px solid rgba(88, 140, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.78rem;
  color: var(--ice-faint);
}

.abyss-footer__legal {
  line-height: 1.65;
}

.abyss-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.abyss-footer__links a:hover,
.abyss-footer__links button:hover {
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsive Abyss */
@media (max-width: 1040px) {
  .abyss-hero {
    grid-template-columns: 1fr;
  }
  .artifacts-grid {
    grid-template-columns: 1fr;
  }
  .chess-arena {
    grid-template-columns: 1fr;
  }
  .aviary-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .axioms-grid,
  .dispatch-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .abyss-telemetry {
    display: none;
  }
  .abyss-brand {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    gap: 8px;
  }
  .abyss-nav__controls {
    gap: 6px;
  }
  .abyss-chip {
    padding: 6px 10px;
    font-size: 0.64rem;
    letter-spacing: 0.05em;
  }
  .plate-card--wide,
  .plate-card--tall {
    grid-column: span 12;
  }
  .abyss-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .abyss-stat__val {
    font-size: 0.92rem;
  }
  .aviary-list {
    grid-template-columns: 1fr;
  }
}
