@font-face{font-family:"CubicFull";font-weight:normal;font-style:normal;font-display:swap;src:url("/fonts/cubicfull-normal-normal.6c34c845.woff2") format("woff2");}
@font-face{font-family:"BodoniModa";font-weight:400;font-style:normal;font-display:swap;src:url("/fonts/bodonimoda-400-normal.1862c1a4.woff2") format("woff2");}
@font-face{font-family:"BodoniModa";font-weight:400;font-style:italic;font-display:swap;src:url("/fonts/bodonimoda-400-italic.ebd65cdb.woff2") format("woff2");}
@font-face{font-family:"PS2P";font-weight:normal;font-style:normal;font-display:swap;src:url("/fonts/ps2p-normal-normal.afec8699.woff2") format("woff2");}
@font-face{font-family:"Silk";font-weight:400;font-style:normal;font-display:swap;src:url("/fonts/silk-400-normal.e6c72ea4.woff2") format("woff2");}
@font-face{font-family:"Silk";font-weight:700;font-style:normal;font-display:swap;src:url("/fonts/silk-700-normal.5741b7f0.woff2") format("woff2");}
@font-face{font-family:"Cubic";font-weight:normal;font-style:normal;font-display:swap;src:url("/fonts/cubic-normal-normal.d699fc62.woff2") format("woff2");}
:root {
  --cream: #ffe7c2;
  --sand: #ffc98a;
  --magenta: #ff3d81;
  --cyan: #49e7de;
  --ink: #070a18;
  --ink2: #0b0f26;
  --navy: #111539;
  --violet: #241a5e;
  --purple: #4a2578;
  --line: rgba(255, 231, 194, 0.2);
  --line-strong: rgba(73, 231, 222, 0.45);
  --f-px: "PS2P", "Silk", monospace;
  --f-silk: "Silk", monospace;
  --f-cn: "Cubic", "CubicFull", "PingFang SC", "Microsoft YaHei", sans-serif;
  --f-serif: "BodoniModa", Georgia, serif;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-cn);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(73, 231, 222, 0.09) 1px, transparent 1px),
    linear-gradient(160deg, rgba(36, 26, 94, 0.55) 0%, rgba(7, 10, 24, 0.94) 65%);
  background-size: 16px 16px, 100% 100%;
  z-index: 0;
}
.px { image-rendering: pixelated; image-rendering: crisp-edges; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  background: rgba(7, 10, 24, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--f-px);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.overprint {
  position: relative;
  display: inline-block;
  color: var(--cream);
}
.overprint::after {
  content: attr(data-ghost);
  position: absolute;
  left: 2px;
  top: 1px;
  color: var(--magenta);
  opacity: 0.55;
  pointer-events: none;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.btn {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(17, 21, 57, 0.85);
  color: var(--cream);
  font-family: var(--f-cn);
  font-size: 12px;
  padding: 6px 10px;
  cursor: pointer;
  transition: border-color 140ms ease, transform 140ms ease, background 140ms ease;
}
.btn:hover { border-color: var(--cyan); }
.btn.active {
  border-color: var(--magenta);
  background: rgba(255, 61, 129, 0.2);
  color: #fff;
}
.btn.mono { font-family: var(--f-px); font-size: 10px; }
.shell {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 18px 80px;
}
.room { display: none; }
.room.active { display: block; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: center;
  min-height: calc(100vh - 130px);
}
.kicker {
  font-family: var(--f-px);
  font-size: 10px;
  color: var(--cyan);
  letter-spacing: 0.08em;
}
h1.title {
  margin: 12px 0 10px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  font-weight: 400;
}
.serif-sub {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--sand);
  font-size: 18px;
}
.lead {
  margin: 14px 0 22px;
  line-height: 1.75;
  color: rgba(255, 231, 194, 0.88);
  max-width: 48ch;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cta-primary {
  background: var(--magenta);
  border-color: var(--magenta);
  color: #fff;
  font-family: var(--f-px);
  font-size: 11px;
  padding: 12px 18px;
}
.dossier-plate {
  position: relative;
  aspect-ratio: 4 / 4.3;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(90deg, rgba(73, 231, 222, 0.08) 1px, transparent 1px) 0 0 / 25% 100%,
    linear-gradient(rgba(73, 231, 222, 0.08) 1px, transparent 1px) 0 0 / 100% 25%,
    radial-gradient(circle at 52% 46%, rgba(255, 61, 129, 0.25), rgba(11, 15, 38, 0.95) 68%);
  overflow: hidden;
}
.plate-part {
  position: absolute;
  will-change: transform;
  transition: transform 180ms ease-out;
  pointer-events: none;
}
.plate-part img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(7, 10, 24, 0.65));
}
.plate-tag {
  display: none;
  position: absolute;
  left: 0;
  top: -18px;
  font-family: var(--f-px);
  font-size: 8px;
  padding: 2px 5px;
  background: var(--ink);
  color: var(--cyan);
  border: 1px solid var(--cyan);
  white-space: nowrap;
}
body.blueprint .plate-part { outline: 1px dashed rgba(73, 231, 222, 0.75); }
body.blueprint .plate-tag { display: block; }
.bp-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  opacity: 0;
  transition: opacity 160ms ease;
  background-image:
    linear-gradient(90deg, rgba(73, 231, 222, 0.14) 1px, transparent 1px),
    linear-gradient(rgba(255, 61, 129, 0.1) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%, 100% 64px;
}
body.blueprint .bp-grid { opacity: 1; }
.bp-note {
  display: none;
  font-family: var(--f-px);
  font-size: 9px;
  color: var(--cyan);
  margin-top: 6px;
}
body.blueprint .bp-note { display: block; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(220px, 310px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.portrait-frame {
  border: 1px solid var(--line);
  background: var(--ink2);
  padding: 10px;
}
.portrait-frame img {
  width: 100%;
  aspect-ratio: 1201 / 1309;
  object-fit: cover;
  display: block;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}
.stat {
  border: 1px solid var(--line);
  background: rgba(17, 21, 57, 0.72);
  padding: 12px;
}
.stat b {
  display: block;
  font-family: var(--f-px);
  font-size: 20px;
  color: var(--cyan);
  margin-bottom: 6px;
}
.stat span { font-size: 12px; color: var(--sand); }

.world-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 31%);
  gap: 16px;
  overflow-x: auto;
  padding: 12px 2px 18px;
  scroll-snap-type: x mandatory;
}
.world-card {
  scroll-snap-align: start;
  border: 1px solid var(--line);
  background: rgba(11, 15, 38, 0.9);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease;
}
.world-card:hover, .world-card.highlight {
  transform: translateY(-4px);
  border-color: var(--cyan);
}
.world-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--ink);
}
.panel {
  border: 1px solid var(--line);
  background: rgba(11, 15, 38, 0.88);
  padding: 18px;
  margin-top: 16px;
}
.panel-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.poster-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 18px;
  align-items: start;
}
.zoom-box {
  border: 1px solid var(--line);
  background: var(--ink);
  overflow: auto;
  max-height: 540px;
  display: grid;
  place-items: center;
  padding: 14px;
}
.zoom-box img {
  transform-origin: center top;
  transition: transform 160ms ease;
  max-width: 100%;
  height: auto;
}
.detail-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.detail-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); }
.swatches { display: flex; gap: 6px; margin: 10px 0; }
.swatch { width: 22px; height: 22px; border: 1px solid rgba(255,255,255,0.35); }

.curtain {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--ink);
  touch-action: pan-y;
}
.curtain img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.curtain-top {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.reg-mark {
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
  z-index: 4;
}
.reg-mark::before, .reg-mark::after {
  content: "";
  position: absolute;
  background: rgba(73, 231, 222, 0.72);
}
.reg-mark::before { left: 0; right: 0; top: 5.5px; height: 1px; }
.reg-mark::after { top: 0; bottom: 0; left: 5.5px; width: 1px; }
.reg-tl { left: 8px; top: 8px; }
.reg-tr { right: 8px; top: 8px; }
.reg-bl { left: 8px; bottom: 8px; }
.reg-br { right: 8px; bottom: 8px; }
.page-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.curtain-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--cyan);
  pointer-events: none;
}
.pin {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 1px solid var(--cyan);
  background: rgba(7, 10, 24, 0.88);
  color: var(--cyan);
  font-family: var(--f-px);
  font-size: 9px;
  padding: 4px 6px;
  cursor: pointer;
}
.grid-6 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.mat-card {
  border: 1px solid var(--line);
  background: var(--ink2);
  padding: 10px;
  cursor: pointer;
}
.mat-card.active { border-color: var(--magenta); }
.mat-card img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; }

.stack-stage {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  perspective: 980px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 50%, rgba(74, 37, 120, 0.25), var(--ink) 72%);
}
.stack-card {
  position: absolute;
  width: min(78%, 560px);
  aspect-ratio: 1000 / 550;
  border: 1px solid rgba(73, 231, 222, 0.45);
  transition: transform 180ms ease-out, opacity 160ms ease;
}
.stack-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

.flip-stage {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: var(--ink);
  overflow: hidden;
}
.flip-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.reticle {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 50;
  font-family: var(--f-px);
  font-size: 8px;
  color: var(--cyan);
  border-left: 1px solid var(--cyan);
  border-top: 1px solid var(--cyan);
  padding: 3px 0 0 5px;
  opacity: 0.72;
}

.stage3d-wrap {
  position: relative;
  height: calc(100dvh - 96px);
  min-height: 520px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-strong);
  background: var(--ink);
  overflow: hidden;
  margin-bottom: 26px;
}
.stage3d-hud {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0 0;
  background: linear-gradient(180deg, rgba(7, 10, 24, 0), rgba(7, 10, 24, 0.78) 45%);
  border-top: 1px solid rgba(255, 231, 194, 0.22);
}
.stage3d-hud .btn {
  background: transparent;
  border: none;
  border-bottom: 1px solid transparent;
  padding: 5px 7px;
}
.stage3d-hud .btn:hover, .stage3d-hud .btn.active {
  border-bottom-color: var(--cyan);
  background: transparent;
}
.stage3d-hud .cta-primary {
  color: var(--magenta);
  border-bottom: 1px solid var(--magenta);
}
.stage3d-pick {
  position: absolute;
  left: 16px;
  top: 14px;
  z-index: 6;
  max-width: min(360px, calc(100% - 88px));
  padding: 2px 0 0 10px;
  border-left: 2px solid var(--cyan);
  text-shadow: 0 2px 10px rgba(7, 10, 24, 0.95);
}
.draft-seal {
  position: absolute;
  right: 16px;
  top: 14px;
  width: 58px;
  height: 58px;
  z-index: 6;
  pointer-events: none;
  opacity: 0.78;
}

@media (pointer: coarse), (max-width: 820px) {
  .reticle { display: none; }
  .hero, .about-grid, .poster-stage { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
