/* Play Size Comparison v11 — Grand Scale Planetarium Console + Sticker Metrology Deck */
@font-face {
  font-family: "Lilita One";
  font-weight: 400;
  font-style: normal;
  font-display: optional;
  src: url("/_a/lilita-one.d2575d4fa3.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-weight: 600 800;
  font-style: normal;
  font-display: optional;
  src: url("/_a/nunito.ba344451ea.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-weight: 700;
  font-style: normal;
  font-display: optional;
  src: url("/_a/space-grotesk.35f8aec56c.woff2") format("woff2");
}

:root {
  --ink: #0b1020;
  --dome: #121c38;
  --panel: #19294d;
  --stage: #1f3b70;
  --rim: #2d4675;
  --gold: #ffd13b;
  --gold-d: #b88200;
  --cyan: #38bdf8;
  --crimson: #dc2626;
  --paper: #f4f7fc;
  --white: #ffffff;
  --slate: #475569;
  --sky-txt: #cbd5e1;

  --font-display: "Lilita One", "Space Grotesk", system-ui, sans-serif;
  --font-head: "Space Grotesk", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, sans-serif;
  --r: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--stage);
  text-decoration: none;
}

a:hover {
  color: var(--ink);
}

button {
  font: inherit;
}

.psc-ic,
.psc-stk {
  display: inline-block;
  vertical-align: -2px;
  flex-shrink: 0;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   SCREEN 1: ALL-GAME PLANETARIUM CONSOLE ARENA (GULLME BLUEPRINT)
   ========================================================= */
.psc-arena {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 16px 42px;
  background: radial-gradient(circle at 50% 15%, var(--stage) 0%, var(--dome) 58%, var(--ink) 100%);
  color: var(--white);
}

.psc-arena::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 112px, rgba(0, 0, 0, 0.35) 112px 116px);
  pointer-events: none;
}

.psc-console {
  position: relative;
  z-index: 2;
  width: min(1140px, 100%);
  height: min(836px, calc(100svh - 56px));
  min-height: min(836px, calc(100svh - 56px));
  max-height: calc(100svh - 54px);
  border-radius: 28px;
  background: linear-gradient(180deg, var(--panel) 0%, var(--dome) 100%);
  box-shadow: 0 0 0 6px var(--ink), 0 0 0 10px rgba(255, 255, 255, 0.14), 0 28px 64px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}

/* Starry Twilight Dome Sky Backdrop inside Console Top */
.psc-sky {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 150px;
  background:
    radial-gradient(480px 140px at 18% 0%, rgba(56, 189, 248, 0.16), transparent 75%),
    linear-gradient(180deg, var(--stage) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.psc-star {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--gold);
  box-shadow: 0 0 0 2px var(--ink);
  animation: pscTwinkle 3.2s ease-in-out infinite;
}

.psc-star.s1 { left: 8%; top: 20px; }
.psc-star.s2 { left: 36%; top: 14px; background-color: var(--cyan); animation-delay: -1.1s; }
.psc-star.s3 { left: 54%; top: 34px; width: 6px; height: 6px; animation-delay: -2.1s; }
.psc-star.s4 { right: 18%; top: 18px; background-color: var(--white); animation-delay: -0.6s; }

.psc-planet-art {
  position: absolute;
  left: 43%;
  top: 8px;
  width: 96px;
  height: 62px;
  opacity: 0.92;
  animation: pscFloat 5.5s ease-in-out infinite;
}

@keyframes pscTwinkle {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.28); opacity: 0.55; }
}

@keyframes pscFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.psc-console-scroll {
  position: relative;
  z-index: 2;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 18px 12px;
  scrollbar-width: thin;
}

/* Console Top Title + Curator Nova Speech Bubble */
.psc-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.psc-title-block {
  min-width: 0;
}

.psc-game-logo {
  margin: 0;
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--gold);
  paint-order: stroke fill;
  -webkit-text-stroke: 4px var(--ink);
  text-shadow: 0 3px 0 var(--ink);
}

.psc-game-sub {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--sky-txt);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 58ch;
}

.psc-mascot-card {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.psc-bubble {
  position: relative;
  max-width: 320px;
  background-color: var(--white);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 6px 12px;
  box-shadow: 0 4px 0 var(--ink);
  line-height: 1.28;
}

.psc-bubble::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 50%;
  width: 12px;
  height: 12px;
  background-color: var(--white);
  border-right: 3px solid var(--ink);
  border-top: 3px solid var(--ink);
  transform: translateY(-50%) rotate(45deg);
}

.psc-bubble strong {
  display: block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--stage);
}

.psc-bubble span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.psc-avatar-ring {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--panel);
  box-shadow: 0 4px 0 var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Scroll Cue Pill at Bottom of Screen 1 */
.psc-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--white);
  background-color: var(--ink);
  border: 2px solid var(--rim);
  border-radius: 20px;
  padding: 4px 16px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.psc-scroll-cue:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.psc-scroll-cue span {
  display: inline-block;
  animation: pscFloat 1.6s ease-in-out infinite;
}

/* GullMe-Style Bottom Console Sticker Dock */
.psc-dock {
  position: relative;
  z-index: 4;
  flex-shrink: 0;
  height: 64px;
  background-color: var(--ink);
  border-top: 3px solid var(--rim);
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  padding: 6px 12px;
}

.psc-dock-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 12px;
  border: 2px solid transparent;
  color: var(--sky-txt);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 0.12s ease, background-color 0.12s ease, color 0.12s ease;
}

.psc-dock-link .psc-stk {
  width: 24px;
  height: 24px;
  transition: transform 0.14s ease;
}

.psc-dock-link:hover {
  background-color: var(--panel);
  color: var(--white);
  transform: translateY(-2px);
}

.psc-dock-link:hover .psc-stk {
  transform: scale(1.1);
}

.psc-dock-link.is-on,
.psc-dock-link[aria-current="page"] {
  background-color: var(--panel);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 2px 0 var(--gold-d);
}

/* =========================================================
   GAME SHELL & ARCADE INSTRUMENT CONTROLS
   ========================================================= */
#psc-game-root {
  min-height: 556px;
}

#psc-game-root[data-loading="1"] .psc-subbar {
  display: none;
}

#psc-game-root[data-loading="1"]:not([data-preset-mode="daily"]) .psc-subbar {
  display: flex;
}

#psc-game-root[data-loading="1"]:not([data-preset-mode="daily"]) #psc-medal-bar {
  display: none;
}

#psc-game-root[data-loading="1"] #psc-drag-handle,
#psc-game-root[data-loading="1"] #psc-ref-box,
#psc-game-root[data-loading="1"] #psc-target-box {
  display: none;
}

#psc-game-root[data-loading="1"][data-preset-mode="daily"] [data-tab="daily"],
#psc-game-root[data-loading="1"]:not([data-preset-mode="daily"]) [data-tab="survival"] {
  background-color: var(--gold);
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: 0 3px 0 var(--gold-d);
}

.psc-panel-title {
  margin: 0 0 4px;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
}

.psc-skel-model {
  width: 112px;
  height: 150px;
  border-radius: 16px;
  background: rgba(56, 189, 248, 0.16);
  border: 2px solid rgba(56, 189, 248, 0.35);
  animation: pscSkelPulse 1.4s ease-in-out infinite;
}

.psc-skel-target {
  width: 132px;
  height: 164px;
  background: rgba(255, 209, 59, 0.14);
  border: 3px dashed rgba(255, 209, 59, 0.55);
}

.psc-skel-track {
  height: 8px;
  margin: 7px 0 4px;
  border-radius: 8px;
  background: var(--rim);
}

@keyframes pscSkelPulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 0.35; }
}

.psc-shell {
  display: flex;
  flex-direction: column;
}

.psc-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap;
  min-height: 48px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--rim);
}

.psc-tabs {
  display: flex;
  align-items: center;
  gap: 3px;
  background-color: var(--ink);
  padding: 4px;
  border-radius: 14px;
  border: 2px solid var(--rim);
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.psc-tab {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  min-height: 32px;
  padding: 5px 9px;
  border-radius: 10px;
  border: 2px solid transparent;
  background-color: transparent;
  color: var(--sky-txt);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.1s ease, background-color 0.14s ease, color 0.14s ease;
}

.psc-tab:hover {
  color: var(--white);
  background-color: var(--panel);
}

.psc-tab.is-active {
  background-color: var(--gold);
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: 0 3px 0 var(--gold-d);
}

.psc-hud-controls {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.psc-pill {
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 12px;
  background-color: var(--ink);
  color: var(--gold);
  border: 2px solid var(--rim);
}

.psc-chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  min-height: 32px;
  padding: 5px 9px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  background-color: var(--panel);
  color: var(--white);
  box-shadow: 0 3px 0 var(--ink);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.1s ease, border-color 0.14s ease, background-color 0.14s ease;
}

.psc-chip-btn:hover {
  background-color: var(--stage);
  border-color: var(--cyan);
}

.psc-chip-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--ink);
}

.psc-chip-btn.is-active-chip,
.psc-streak-chip {
  background-color: var(--stage);
  border-color: var(--gold);
  color: var(--gold);
}

/* Survival Pack Filter Bar */
.psc-subbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  height: 42px;
  flex-wrap: nowrap;
}

.psc-cat-list {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  min-width: 0;
  flex: 1;
}

.psc-cat-chip {
  font-size: 12px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  background-color: var(--dome);
  color: var(--sky-txt);
  box-shadow: 0 2px 0 var(--ink);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.psc-cat-chip:hover {
  color: var(--white);
}

.psc-cat-chip.is-active {
  background-color: var(--gold);
  color: var(--ink);
  box-shadow: 0 3px 0 var(--gold-d);
}

.psc-duel-banner {
  margin-top: 8px;
  padding: 8px 14px;
  border-radius: 14px;
  background-color: var(--ink);
  border: 2px solid var(--cyan);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.psc-report-link {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 10px;
  border: 2px solid var(--rim);
  background-color: var(--panel);
  color: var(--sky-txt);
  cursor: pointer;
}

/* Escalating 5-Step Progress & Score Bar */
#psc-tab-daily {
  min-width: 82px;
  justify-content: center;
}

#psc-tab-quests {
  min-width: 90px;
  justify-content: center;
}

#psc-streak-btn {
  min-width: 82px;
  justify-content: center;
}

#psc-blind-btn {
  min-width: 88px;
  justify-content: center;
}

.psc-header-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  height: 54px;
  flex-wrap: nowrap;
  overflow: hidden;
}

.psc-steps-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 240px;
}

.psc-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.psc-step span {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--sky-txt);
}

.psc-step i {
  display: block;
  height: 7px;
  border-radius: 8px;
  background-color: var(--ink);
  border: 1px solid var(--rim);
}

.psc-step.is-cur span {
  color: var(--gold);
}

.psc-step.is-cur i {
  background-color: var(--cyan);
}

.psc-step.is-hit i {
  background-color: var(--cyan);
}

.psc-step.is-gold i {
  background-color: var(--gold);
}

.psc-step.is-done i {
  background-color: var(--rim);
}

.psc-surv-banner {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.psc-surv-banner strong {
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--white);
}

.psc-surv-banner span {
  font-size: 12px;
  color: var(--sky-txt);
}

.psc-score-box {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.psc-medal-bar {
  position: relative;
  width: 168px;
  height: 8px;
  background-color: var(--ink);
  border: 2px solid var(--rim);
  border-radius: 10px;
}

.psc-medal-fill {
  height: 100%;
  background-color: var(--gold);
  border-radius: 8px;
  transition: width 0.25s ease;
}

.psc-m-tick {
  position: absolute;
  top: -15px;
  transform: translateX(-50%);
  line-height: 1;
  pointer-events: none;
}

.psc-score-lbl {
  font-size: 12px;
  font-weight: 800;
  color: var(--sky-txt);
}

.psc-score-num {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
}

.psc-prompt-bar {
  padding-bottom: 6px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
  overflow: hidden;
  text-align: center;
}

.psc-prompt-text {
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
}

.psc-hl-coral {
  color: var(--gold);
}

.psc-clutch-badge {
  font-size: 12px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 12px;
  background-color: var(--ink);
  border: 2px solid var(--gold);
  color: var(--gold);
}

/* =========================================================
   ILLUMINATED 3D PLANETARIUM SHOWROOM STAGE
   ========================================================= */
.psc-stage-3d {
  position: relative;
  background:
    radial-gradient(640px 280px at 50% 60%, rgba(56, 189, 248, 0.16), transparent 72%),
    linear-gradient(180deg, var(--dome) 0%, var(--stage) 72%, var(--dome) 100%);
  border-radius: 20px;
  border: 3px solid var(--ink);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.14), 0 6px 0 var(--ink);
  height: 404px;
  padding: 10px 16px 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  user-select: none;
  touch-action: none;
}

.psc-stage-3d::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(56, 189, 248, 0.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 189, 248, 0.16) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.psc-blitz-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background-color: var(--ink);
  z-index: 8;
}

.psc-blitz-fill {
  height: 100%;
  background-color: var(--gold);
}

.psc-persp-floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 88px;
  background:
    radial-gradient(70% 28px at 50% 0%, rgba(56, 189, 248, 0.16), transparent 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0px, var(--dome) 8px, var(--ink) 100%);
  border-top: 2px solid var(--cyan);
  pointer-events: none;
}

.psc-spotlight {
  position: absolute;
  top: -40px;
  width: 320px;
  height: 340px;
  pointer-events: none;
}

.psc-spot-left,
.psc-spot-right {
  background: radial-gradient(ellipse at top, rgba(56, 189, 248, 0.16) 0%, transparent 72%);
}

.psc-spot-left { left: 12%; }
.psc-spot-right { right: 12%; }

.psc-stage-hud {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-bottom: auto;
}

.psc-stage-spec {
  background-color: var(--ink);
  color: var(--white);
  border: 2px solid var(--cyan);
  border-radius: 12px;
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 800;
  min-width: 0;
  max-width: 44%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.psc-sb-stage .psc-stage-spec {
  max-width: 100%;
}

.psc-live-callout {
  background-color: var(--gold);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  padding: 4px 14px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 3px 0 var(--ink);
}

.psc-cam-controls {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background-color: rgba(11, 16, 32, 0.72);
  border: 1.5px solid var(--rim);
  border-radius: 10px;
  padding: 2px 4px;
  flex-shrink: 0;
}

.psc-cam-lbl {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sky-txt);
  padding: 0 4px;
  opacity: 0.85;
}

.psc-cam-btn {
  background-color: var(--dome);
  color: var(--sky-txt);
  border: 1.5px solid var(--rim);
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 7px;
  min-height: 24px;
  cursor: pointer;
  white-space: nowrap;
}

.psc-cam-btn:hover {
  border-color: var(--cyan);
  color: var(--white);
}

.psc-drag-hint {
  position: absolute;
  top: 46px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  padding: 2px 11px;
  border-radius: 10px;
  background-color: rgba(11, 16, 32, 0.86);
  border: 1.5px solid rgba(255, 209, 59, 0.65);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
  pointer-events: none;
}

.psc-arena-3d {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  justify-items: center;
  gap: 24px;
  width: 100%;
  height: 326px;
  padding-bottom: 10px;
}

.psc-pedestal {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.psc-pedestal-target {
  cursor: ns-resize;
}

.psc-obj-stage {
  position: relative;
  width: 100%;
  height: 246px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.psc-witness {
  position: relative;
  border-left: 3px solid var(--cyan);
  margin-right: 12px;
  display: flex;
  align-items: center;
  min-height: 24px;
}

.psc-witness::before,
.psc-witness::after {
  content: "";
  position: absolute;
  left: -5px;
  width: 9px;
  height: 3px;
  background-color: var(--cyan);
}

.psc-witness::before { top: 0; }
.psc-witness::after { bottom: 0; }

.psc-witness-val {
  background-color: var(--ink);
  color: var(--cyan);
  border: 2px solid var(--cyan);
  border-radius: 10px;
  padding: 3px 8px;
  margin-left: 8px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.psc-model-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: width 0.16s cubic-bezier(0.22, 1, 0.36, 1), height 0.16s cubic-bezier(0.22, 1, 0.36, 1);
}

.psc-pedestal-target:active .psc-model-wrap {
  transition: none;
}

.psc-model-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35));
}

.psc-model-refl {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 34%;
  object-fit: fill;
  transform: scaleY(-1);
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent);
}

.psc-floor-shadow {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -4px;
  height: 12px;
  border-radius: var(--r);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, transparent 75%);
  z-index: 2;
  pointer-events: none;
}

.psc-target-frame {
  outline: 3px dashed var(--gold);
  outline-offset: 5px;
  border-radius: var(--r);
}

.psc-target-frame.is-revealed {
  outline: 3px solid var(--cyan);
}

.psc-corner-handle {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 7;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 2.5px solid var(--ink);
  background-color: var(--gold);
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: nwse-resize;
  box-shadow: 0 3px 0 var(--ink);
  padding: 0;
}

.psc-corner-handle.is-pulse-hint {
  animation: pscHandlePulse 1.6s ease-in-out infinite;
}

@keyframes pscHandlePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 3px 0 var(--ink), 0 0 0 0 rgba(255, 209, 59, 0.72);
  }
  50% {
    transform: scale(1.12);
    box-shadow: 0 3px 0 var(--ink), 0 0 0 11px rgba(255, 209, 59, 0);
  }
}

.psc-hologram {
  position: absolute;
  bottom: 0;
  z-index: 2;
  border: 2px dashed var(--gold);
  border-radius: var(--r);
  background-color: rgba(56, 189, 248, 0.16);
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.psc-holo-friend {
  border-color: var(--cyan);
}

.psc-holo-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: 0.36;
}

.psc-holo-tag {
  position: absolute;
  top: -24px;
  left: 0;
  background-color: var(--ink);
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.psc-pedestal-label {
  margin-top: 8px;
  height: 62px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  max-width: 240px;
}

.psc-pedestal-label strong {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--white);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.psc-pedestal-label small {
  font-size: 12px;
  color: var(--sky-txt);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.psc-tag-ref,
.psc-tag-target {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 10px;
  border: 2px solid var(--ink);
}

.psc-tag-ref {
  background-color: var(--ink);
  color: var(--cyan);
  border-color: var(--cyan);
}

.psc-tag-target {
  background-color: var(--gold);
  color: var(--ink);
}

.psc-ruler-bar {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 3px;
  height: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  z-index: 5;
}

.psc-ruler-ticks {
  position: relative;
  width: 100%;
  height: 100%;
}

.psc-rtick {
  position: absolute;
  top: 0;
  font-size: 12px;
  color: var(--sky-txt);
  transform: translateX(-50%);
  padding-top: 3px;
  white-space: nowrap;
}

.psc-rtick i {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 4px;
  background-color: var(--sky-txt);
}

.psc-ruler-pin {
  position: absolute;
  top: -12px;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  border: 2px solid var(--ink);
}

.psc-pin-you {
  background-color: var(--gold);
  color: var(--ink);
}

.psc-pin-actual {
  background-color: var(--ink);
  color: var(--cyan);
  border-color: var(--cyan);
}

.psc-sparks {
  position: absolute;
  top: 42%;
  left: 62%;
  z-index: 8;
  pointer-events: none;
}

.psc-sparks i {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--gold);
  border: 2px solid var(--ink);
  animation: psc-burst 0.8s ease-out forwards;
}

@keyframes psc-burst {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(0.2); opacity: 0; }
}

/* =========================================================
   TACTILE VERNIER SLIDER + CHUNKY SOLAR-GOLD ARCADE BUTTON
   ========================================================= */
.psc-controls-deck {
  padding-top: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.psc-slider-row {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--ink);
  border: 2px solid var(--rim);
  border-radius: 16px;
  padding: 6px 10px;
}

.psc-nudge-btn {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  min-width: 112px;
  min-height: 40px;
  padding: 6px 10px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  background-color: var(--panel);
  box-shadow: 0 3px 0 var(--rim);
  color: var(--white);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.psc-nudge-btn small {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
}

.psc-nudge-btn:hover {
  background-color: var(--stage);
  color: var(--gold);
}

.psc-nudge-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--rim);
}

.psc-slider-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#psc-scale-slider {
  width: 100%;
  accent-color: var(--gold);
  cursor: pointer;
  height: 8px;
}

.psc-slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--sky-txt);
}

.psc-reveal-card {
  flex: 1;
  background-color: var(--ink);
  border: 2.5px solid var(--cyan);
  border-radius: 16px;
  padding: 10px 14px;
}

.psc-reveal-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}

.psc-tier-pill {
  background-color: var(--gold);
  color: var(--ink);
  border: 2px solid var(--ink);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 10px;
}

.psc-pts-award {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--gold);
}

.psc-err-detail {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}

.psc-fact-line {
  margin: 0;
  font-size: 13px;
  color: var(--sky-txt);
}

.psc-cta-row {
  display: flex;
  flex-shrink: 0;
}

.psc-primary-btn,
.psc-play-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.03em;
  min-height: 48px;
  min-width: 224px;
  padding: 10px 24px;
  border-radius: 16px;
  border: 3px solid var(--ink);
  background-color: var(--gold);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 5px 0 var(--gold-d), 0 8px 0 var(--ink);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.psc-primary-btn:hover,
.psc-play-cta:hover {
  color: var(--ink);
  transform: translateY(-1px);
  text-decoration: none;
}

.psc-primary-btn:active,
.psc-play-cta:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--gold-d), 0 4px 0 var(--ink);
}

.psc-primary-btn:focus-visible,
.psc-secondary-btn:focus-visible,
.psc-tab:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

.psc-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 14px;
  border: 2.5px solid var(--ink);
  background-color: var(--panel);
  box-shadow: 0 4px 0 var(--ink);
  color: var(--white);
  cursor: pointer;
}

.psc-secondary-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.psc-card-btn {
  border-color: var(--cyan);
  background-color: var(--stage);
  color: var(--gold);
}

.psc-card-btn:hover {
  border-color: var(--gold);
  background-color: var(--ink);
  color: var(--gold);
}

.psc-card-btn:disabled {
  opacity: 0.72;
  cursor: wait;
}

/* =========================================================
   SUMMARY, QUESTS, ARCHIVE, 3D LAB & LEADERBOARD TABS
   ========================================================= */
.psc-summary-panel,
.psc-archive-view,
.psc-sandbox-view,
.psc-board-view,
.psc-quests-view {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--white);
}

.psc-summary-panel h3,
.psc-archive-view h3,
.psc-board-view h3,
.psc-quests-view h3 {
  margin: 0 0 4px;
  font-family: var(--font-head);
  color: var(--white);
}

.psc-summary-head,
.psc-career-card,
.psc-shield-card,
.psc-quest-box,
.psc-dex-box {
  background-color: var(--ink);
  border: 2.5px solid var(--rim);
  border-radius: var(--r);
  padding: 16px;
}

.psc-summary-head {
  text-align: center;
}

.psc-sum-score {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--gold);
  margin: 6px 0;
}

.psc-sum-rank {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 10px;
}

.psc-retention-strip {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--sky-txt);
}

.psc-tomorrow-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background-color: var(--ink);
  border: 2.5px solid var(--gold);
  border-radius: var(--r);
}

.psc-tomorrow-card strong {
  display: block;
  font-size: 14px;
  color: var(--gold);
}

.psc-tomorrow-card span {
  font-size: 12px;
  color: var(--sky-txt);
}

.psc-sum-breakdown,
.psc-board-list,
.psc-quest-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.psc-sum-row,
.psc-board-row,
.psc-quest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background-color: var(--panel);
  border: 2px solid var(--ink);
  border-radius: 14px;
  font-size: 14px;
}

.psc-quest-row.is-done {
  border-color: var(--gold);
}

.psc-quest-row strong {
  display: block;
  color: var(--white);
}

.psc-quest-row small {
  font-size: 12px;
  color: var(--sky-txt);
}

.psc-sum-pair {
  display: flex;
  align-items: center;
  gap: 10px;
}

.psc-sum-thumb {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.psc-sum-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.psc-share-feedback {
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
  margin: 0;
}

.psc-panel-head,
.psc-dex-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.psc-muted-note {
  margin: 0;
  font-size: 13px;
  color: var(--sky-txt);
}

.psc-quests-top {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.psc-xp-bar {
  height: 10px;
  background-color: var(--panel);
  border: 2px solid var(--rim);
  border-radius: 10px;
  overflow: hidden;
  margin: 8px 0;
}

.psc-xp-bar > div {
  height: 100%;
  background-color: var(--gold);
}

.psc-career-stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--sky-txt);
  margin-top: 8px;
}

.psc-career-stats strong {
  color: var(--white);
}

.psc-shield-saved {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--gold);
}

.psc-week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.psc-week-card {
  background-color: var(--panel);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.psc-week-card.is-today { border-color: var(--gold); }
.psc-week-card.is-tmrw { border-color: var(--cyan); }
.psc-week-tag { font-size: 12px; font-weight: 800; color: var(--gold); }
.psc-week-card strong { font-size: 12px; color: var(--white); }
.psc-week-card small { font-size: 12px; color: var(--sky-txt); }

.psc-archive-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.psc-arch-card {
  background-color: var(--ink);
  border: 2px solid var(--rim);
  border-radius: 14px;
  padding: 12px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.psc-arch-card:hover,
.psc-arch-card.is-done {
  border-color: var(--gold);
}

.psc-arch-card strong {
  font-family: var(--font-head);
  font-size: 14px;
  color: var(--white);
}

.psc-arch-card span {
  font-size: 12px;
  color: var(--sky-txt);
}

.psc-arch-card em {
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
}

.psc-sb-domain-bar,
.psc-sb-pickers,
.psc-lab-presets {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.psc-lab-presets {
  padding: 8px 12px;
  background-color: var(--ink);
  border: 2px solid var(--rim);
  border-radius: 14px;
}

.psc-lab-preset-lbl {
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
  margin-right: 2px;
  white-space: nowrap;
}

.psc-lab-preset-btn {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 10px;
  border: 2px solid var(--rim);
  background-color: var(--panel);
  color: var(--white);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.12s ease, background-color 0.12s ease;
}

.psc-lab-preset-btn:hover,
.psc-lab-preset-btn.is-active {
  background-color: var(--gold);
  border-color: var(--ink);
  color: var(--ink);
}

.psc-sb-field {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 800;
  color: var(--sky-txt);
}

.psc-sb-field select,
.psc-name-form input {
  width: 100%;
  max-width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 2px solid var(--rim);
  background-color: var(--ink);
  color: var(--white);
  font-size: 14px;
}

.psc-sb-fact {
  margin: 0;
  padding: 12px 16px;
  background-color: var(--ink);
  border: 2px solid var(--rim);
  border-radius: 14px;
  font-size: 14px;
  color: var(--sky-txt);
}

.psc-dex-filters {
  margin: 10px 0;
}

.psc-dex-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

button.psc-dex-item {
  position: relative;
  appearance: none;
  background-color: var(--panel);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: border-color 0.12s ease, transform 0.12s ease;
}

button.psc-dex-item.is-unlocked:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

button.psc-dex-item.is-discovered {
  border-color: rgba(255, 209, 59, 0.55);
}

button.psc-dex-item.is-selected {
  border-color: var(--cyan);
  background-color: var(--stage);
}

.psc-dex-chk {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background-color: var(--gold);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.psc-dex-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.psc-dex-item span {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  line-height: 1.25;
}

.psc-dex-item small {
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  text-align: center;
  line-height: 1.1;
}

.psc-name-form {
  display: flex;
  gap: 8px;
}

/* =========================================================
   SUBPAGE COMPACT CONSOLE HEADER (GUIDES & REFERENCE PAGES)
   ========================================================= */
.psc-sub-topbar {
  background-color: var(--dome);
  border-bottom: 4px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 40;
}

.psc-sub-topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
}

.brand-link:hover {
  color: var(--gold);
}

.brand-icon {
  display: inline-flex;
  align-items: center;
}

.psc-sub-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.psc-sub-pill {
  color: var(--white);
  background-color: var(--panel);
  border: 2px solid var(--ink);
  box-shadow: 0 3px 0 var(--ink);
  border-radius: 12px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 800;
}

.psc-sub-pill:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.psc-sub-actions .psc-play-cta {
  min-width: 0;
  min-height: 40px;
  font-size: 15px;
  padding: 6px 16px;
}

/* =========================================================
   SCREEN 2: BRIGHT MUSEUM ENCYCLOPEDIA READING DECK
   ========================================================= */
.psc-reading-deck {
  background-color: var(--paper);
  color: var(--ink);
  border-top: 5px solid var(--ink);
}

.psc-reading-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.content-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 32px;
  padding-bottom: 64px;
  min-width: 0;
}

.static-page-wrap {
  padding-top: 32px;
  padding-bottom: 64px;
  min-width: 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--slate);
  margin-bottom: 8px;
  min-width: 0;
}

.psc-page-h1 {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 10px;
}

.hero-sub {
  font-size: 17px;
  font-weight: 700;
  color: var(--slate);
  max-width: 68ch;
  margin: 0 0 14px;
}

.psc-byline {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate);
  margin: 0 0 20px;
}

.stage-social-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.psc-reading-deck .psc-chip-btn {
  background-color: var(--white);
  color: var(--ink);
}

.psc-reading-deck .psc-chip-btn:hover {
  background-color: var(--gold);
  border-color: var(--ink);
}

.like-btn[data-gf-liked] {
  background-color: var(--gold) !important;
  color: var(--ink) !important;
}

.share-toast {
  font-size: 13px;
  font-weight: 800;
  color: var(--stage);
}

.stage-quick-modes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background-color: var(--white);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 5px 0 var(--ink);
}

.stage-quick-lbl {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--stage);
  margin-right: 4px;
}

.stage-quick-modes a {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  background-color: var(--paper);
  padding: 5px 12px;
  border-radius: 12px;
  border: 2px solid var(--ink);
}

.stage-quick-modes a:hover {
  background-color: var(--gold);
}

/* Tactile Sticker Editorial Prose & Cards */
.editorial-prose {
  background-color: var(--white);
  border: 3px solid var(--ink);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 8px 0 var(--ink);
  color: var(--ink);
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.editorial-prose h2,
.section-head h2,
.faq-section h2,
.related-guides-section h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-top: 0;
  margin-bottom: 12px;
}

.editorial-prose h2 {
  margin-top: 32px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--paper);
}

.editorial-prose h2:first-child {
  margin-top: 0;
}

.editorial-prose h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 8px;
}

.editorial-prose p,
.editorial-prose li {
  max-width: 72ch;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.72;
  color: var(--ink);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.editorial-prose a,
.editorial-prose code,
.faq-item summary,
.faq-item p,
.related-guide-card {
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}

.editorial-prose code {
  display: inline-block;
  max-width: 100%;
  vertical-align: baseline;
}

.editorial-prose ul,
.editorial-prose ol {
  padding-left: 22px;
  max-width: 100%;
}

.editorial-prose img {
  border-radius: 16px;
  border: 3px solid var(--ink);
  box-shadow: 0 5px 0 var(--ink);
  margin: 20px 0;
}

.editorial-prose table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
}

.editorial-prose th,
.editorial-prose td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 2px solid var(--paper);
}

.editorial-prose th {
  font-family: var(--font-head);
  background-color: var(--dome);
  color: var(--gold);
}

.editorial-prose tbody tr:nth-child(even) td {
  background-color: var(--paper);
}

/* =========================================================
   INLINE 1:1 VISUAL PRESET GRIDS & GUIDE COMPARISON CARDS
   ========================================================= */
.psc-preset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 26px;
}

a.psc-preset-card {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border: 3px solid var(--ink);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 5px 0 var(--ink);
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

a.psc-preset-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 var(--ink);
  color: var(--ink);
}

.psc-preset-stage {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding: 14px 10px 10px;
  min-height: 108px;
  background:
    radial-gradient(220px 90px at 50% 80%, rgba(56, 189, 248, 0.2), transparent 72%),
    linear-gradient(180deg, var(--dome) 0%, var(--stage) 100%);
  border-bottom: 3px solid var(--ink);
}

.editorial-prose .psc-preset-stage img,
.editorial-prose .psc-vc-stage img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.45));
}

.psc-preset-stage img {
  width: 76px;
  height: 76px;
  max-width: 76px;
  flex-shrink: 0;
}

.psc-preset-vs,
.psc-vc-vs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  background-color: var(--gold);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 2px 7px;
  flex-shrink: 0;
}

.psc-preset-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  padding: 12px 12px 2px;
  line-height: 1.25;
}

.psc-preset-meta {
  font-size: 12px;
  font-weight: 700;
  color: var(--slate);
  padding: 0 12px 8px;
}

.psc-preset-cta {
  margin-top: auto;
  padding: 7px 12px;
  background-color: var(--paper);
  border-top: 2px solid var(--ink);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--stage);
}

a.psc-preset-card:hover .psc-preset-cta {
  background-color: var(--gold);
  color: var(--ink);
}

.psc-cmp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
}

figure.psc-visual-compare {
  margin: 22px 0;
  padding: 0;
  background-color: var(--white);
  border: 3px solid var(--ink);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 0 var(--ink);
  max-width: 100%;
}

.psc-cmp-grid figure.psc-visual-compare {
  margin: 0;
}

.psc-vc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 16px;
  background-color: var(--ink);
  color: var(--white);
  border-bottom: 2px solid var(--rim);
}

.psc-vc-badge {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  background-color: var(--gold);
  color: var(--ink);
  border-radius: 8px;
  padding: 2px 8px;
}

.psc-vc-ratio {
  font-family: var(--font-head);
  font-size: 14px;
  color: var(--cyan);
}

.psc-vc-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 14px;
  padding: 18px 16px 14px;
  background:
    radial-gradient(420px 140px at 50% 80%, rgba(56, 189, 248, 0.2), transparent 72%),
    linear-gradient(180deg, var(--dome) 0%, var(--stage) 100%);
  border-bottom: 3px solid var(--ink);
}

.psc-vc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  min-width: 0;
}

.psc-vc-item img {
  width: 112px;
  height: 112px;
  max-width: 100%;
}

.psc-vc-item strong {
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--white);
  line-height: 1.2;
}

.psc-vc-item span {
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
}

.psc-vc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background-color: var(--paper);
}

.psc-vc-note {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate);
  flex: 1 1 220px;
}

a.psc-vc-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  background-color: var(--gold);
  color: var(--ink);
  box-shadow: 0 3px 0 var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

a.psc-vc-cta:hover {
  transform: translateY(-1px);
  color: var(--ink);
}

.section-head p {
  color: var(--slate);
  margin: 0 0 16px;
  max-width: 70ch;
}

.modes-grid,
.related-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mode-card,
.related-guide-card {
  background-color: var(--white);
  border: 3px solid var(--ink);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 0 var(--ink);
  color: var(--ink);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.mode-card:hover,
.related-guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 var(--ink);
}

.mode-card-body {
  padding: 18px;
}

.mode-tag,
.related-guide-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background-color: var(--gold);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 2px 10px;
  margin-bottom: 8px;
  align-self: flex-start;
}

.mode-card-body h3,
.related-guide-card strong {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}

.mode-card-body p,
.related-guide-card span:last-child {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  margin: 0;
}

.related-guides-section {
  margin-top: 36px;
}

.related-guide-card {
  padding: 18px;
  gap: 6px;
}

/* FAQ & Comments Sticker Cards */
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.faq-item {
  background-color: var(--white);
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 5px 0 var(--ink);
}

.faq-item summary {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--slate);
  font-weight: 600;
}

.engage-section {
  background-color: var(--white);
  border: 3px solid var(--ink);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 6px 0 var(--ink);
}

.comment-inputs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.comment-inputs input,
.comment-inputs textarea {
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  border: 2.5px solid var(--ink);
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
}

.comment-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.comments-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comments-empty-hint {
  color: var(--slate);
  font-size: 14px;
}

.comment-item {
  padding: 16px;
  background-color: var(--paper);
  border-radius: 16px;
  border: 2px solid var(--ink);
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--slate);
  margin-bottom: 6px;
}

.owner-badge {
  background-color: var(--gold);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 2px 8px;
  border-radius: 8px;
}

.comment-body {
  margin: 0 0 8px;
  font-size: 14px;
}

.comment-reply-btn {
  background: transparent;
  border: none;
  color: var(--stage);
  font-size: 14px;
  font-weight: 800;
  padding: 4px 0;
  cursor: pointer;
}

.comment-replies {
  margin-top: 12px;
  padding-left: 16px;
  border-left: 3px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Console Dark Footer */
.site-footer {
  background-color: var(--ink);
  color: var(--white);
  border-top: 4px solid var(--gold);
  padding: 44px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold);
}

.footer-brand p {
  color: var(--sky-txt);
  font-size: 14px;
  margin: 6px 0 0;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  font-weight: 700;
  color: var(--sky-txt);
}

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

.footer-copy {
  font-size: 12px;
  color: var(--sky-txt);
  margin: 0;
}

/* =========================================================
   MOBILE CONSOLE VIEWPORT (@media max-width: 680px)
   ========================================================= */
@media (max-width: 680px) {
  .container {
    padding: 0 16px;
  }

  .psc-arena {
    padding: 0 0 38px;
  }

  .psc-console {
    width: 100%;
    height: auto;
    min-height: calc(100svh - 38px);
    max-height: none;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 6px 0 var(--ink);
  }

  .psc-console-scroll {
    padding: 10px 12px 12px;
  }

  .psc-game-logo {
    font-size: 23px;
  }

  .psc-game-sub,
  .psc-mascot-card,
  .psc-planet-art {
    display: none;
  }

  .psc-topbar {
    flex-wrap: wrap;
    min-height: 86px;
  }

  .psc-tabs,
  .psc-hud-controls,
  .psc-cat-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
  }

  .psc-tab,
  .psc-chip-btn,
  .psc-cat-chip {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 5px 9px;
  }

  .psc-stage-3d {
    height: 396px;
    padding: 8px 10px 24px;
  }

  .psc-stage-hud {
    flex-wrap: wrap;
    gap: 6px;
    min-height: 62px;
    align-content: flex-start;
  }

  .psc-stage-spec {
    flex: 1 1 54%;
    max-width: 100%;
    font-size: 12px;
    padding: 3px 9px;
    color: var(--cyan);
  }

  .psc-live-callout {
    font-size: 12px;
    padding: 3px 10px;
  }

  .psc-cam-controls {
    margin-left: auto;
  }

  .psc-cam-lbl {
    display: none;
  }

  .psc-drag-hint {
    top: 84px;
    font-size: 12px;
    max-width: calc(100% - 20px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .psc-steps-wrap {
    width: 100%;
    min-width: 0;
  }

  .psc-score-box {
    width: 100%;
    justify-content: space-between;
  }

  .psc-header-hud {
    height: 76px;
    flex-wrap: wrap;
    align-content: center;
    gap: 4px 10px;
  }

  .psc-prompt-bar {
    height: 48px;
    flex-wrap: wrap;
    align-content: center;
  }

  .psc-prompt-text {
    font-size: 13px;
    line-height: 1.25;
  }

  .psc-slider-ticks span:nth-child(2),
  .psc-slider-ticks span:nth-child(4) {
    display: none;
  }

  .psc-arena-3d {
    gap: 10px;
    height: 254px;
  }

  .psc-obj-stage {
    height: 176px;
  }

  .psc-pedestal-label {
    max-width: 158px;
  }

  .psc-pedestal-label strong {
    font-size: 14px;
  }

  .psc-witness {
    display: none;
  }

  .psc-nudge-btn {
    min-width: 0;
    font-size: 12px;
    padding: 5px 7px;
    line-height: 1.15;
    white-space: normal;
  }

  .psc-nudge-btn small {
    display: block;
    font-size: 12px;
  }

  .psc-controls-deck {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .psc-preset-grid,
  .psc-cmp-grid {
    grid-template-columns: 1fr;
  }

  .psc-vc-stage {
    gap: 8px;
    padding: 14px 10px 10px;
  }

  .psc-vc-item img {
    width: 82px;
    height: 82px;
  }

  .psc-vc-item strong {
    font-size: 13px;
  }

  .psc-vc-foot {
    padding: 10px 12px;
  }

  a.psc-vc-cta {
    width: 100%;
  }

  .psc-primary-btn,
  .psc-secondary-btn {
    width: 100%;
    min-width: 0;
  }

  .psc-sb-field {
    flex: 1 1 100%;
    min-width: 0;
    max-width: 100%;
  }

  .psc-sb-pickers .psc-chip-btn {
    flex: 1 1 auto;
    justify-content: center;
    white-space: normal;
  }

  .psc-dock {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 6px;
    padding: 6px 10px;
  }

  .psc-dock-link {
    min-width: 64px;
    flex-shrink: 0;
  }

  .psc-sub-pill {
    display: none;
  }

  .psc-page-h1 {
    font-size: 28px;
  }

  .modes-grid,
  .related-guides-grid,
  .psc-archive-grid,
  .faq-list,
  .psc-quests-top,
  .psc-week-grid {
    grid-template-columns: 1fr;
  }

  .psc-dex-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .editorial-prose {
    padding: 20px 16px;
  }

  .editorial-prose table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .editorial-prose th,
  .editorial-prose td {
    padding: 10px 10px;
    font-size: 13px;
  }

  .psc-sub-topbar-in {
    gap: 10px;
  }

  .brand-link {
    min-width: 0;
    font-size: 18px;
  }

  .brand-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .psc-sub-actions {
    flex-shrink: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Interactive height chart */
#psc-height-root {
  color: var(--white);
  font-family: var(--font-body);
  text-align: left;
  width: 100%;
  min-width: 0;
}
.hc-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(255px, 31%);
  align-items: start;
  gap: 12px;
  min-width: 0;
}
.hc-visual, .hc-editor, .hc-presets {
  background: var(--dome);
  border: 2px solid var(--rim);
  border-radius: var(--r);
  min-width: 0;
}
.hc-visual { overflow: hidden; }
.hc-editor, .hc-presets { padding: 12px; }
.hc-stage-head, .hc-editor-head, .hc-reference, .hc-actions, .hc-order,
.hc-unit-toggle, .hc-presets > div, .hc-swatches {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.hc-stage-head, .hc-editor-head { justify-content: space-between; }
.hc-stage-head { background: var(--panel); padding: 8px 14px; }
.hc-stage-head strong, .hc-editor-head strong { font: 700 18px var(--font-head); }
#psc-height-root button, #psc-height-root input, #psc-height-root select {
  border: 1px solid var(--rim);
  border-radius: 7px;
  color: var(--white);
  background: var(--panel);
  line-height: 1.3;
  font: 700 14px/1.3 var(--font-body);
  min-width: 0;
}
#psc-height-root input, #psc-height-root select { padding: 6px; }
#psc-height-root button { cursor: pointer; padding: 6px 10px; }
#psc-height-root button:disabled { opacity: .46; cursor: default; }
#psc-height-root button:not(:disabled):hover { border-color: var(--cyan); }
#psc-height-root :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
#psc-height-root [data-units][aria-pressed="true"], #psc-height-root [data-action="export"] {
  background: var(--gold); border-color: var(--gold); color: var(--ink);
}
.hc-stage { height: clamp(285px, 36vw, 326px); overflow-x: auto; overflow-y: hidden; background: var(--ink); }
.hc-svg { height: 100%; width: 100%; display: block; max-width: none; }
.hc-svg text { font: 700 12px var(--font-head); }
.hc-reference, .hc-actions { margin: 12px 14px; }
.hc-reference label, .hc-presets > strong, .hc-differences > strong { font: 700 15px var(--font-head); }
.hc-reference select { flex: 1; max-width: 330px; }
#hc-reference-caption, #hc-status { font-size: 12px; color: var(--sky-txt); margin: 6px 14px; overflow-wrap:anywhere; }
#hc-status:empty { margin: 0; }
#hc-share-manual { width: calc(100% - 28px); margin: 0 14px 12px; }
.hc-differences { background: var(--panel); padding: 10px 14px; overflow-wrap: anywhere; }
#height-differences > div { display: flex; align-items: baseline; gap: 5px 12px; flex-wrap: wrap; }
#height-differences { font-size: 13px; }
#height-differences strong { color: var(--cyan); }
#height-differences span, #height-differences ul { min-width: 0; }
#height-differences ul { list-style: none; margin: 0; padding: 0; }
.hc-editor-head { padding: 1px 2px 8px; }
#hc-count, .hc-person legend, .hc-field span { font-size: 12px; color: var(--sky-txt); }
#height-people { display: grid; gap: 9px; max-height: 560px; overflow-y: auto; padding: 3px; }
.hc-person { min-width: 0; margin: 0; border: 1px solid var(--rim); border-radius: 9px; padding: 0 9px 8px; }
.hc-person legend { padding: 0 4px; color: var(--cyan); }
.hc-id-fields, .hc-measures { display: grid; gap: 6px; }
.hc-id-fields { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.hc-measures { grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); margin-top: 4px; }
.hc-field { min-width: 0; }
.hc-field span { display: block; }
.hc-field input, .hc-field select { width: 100%; height: 32px; }
.hc-swatches { margin: 8px 0; gap: 3px; }
#psc-height-root .hc-swatches button {
  color: var(--ink); border: 2px solid var(--dome); border-radius: 50%; width: 24px; height: 24px;
  display: grid; place-items: center; padding: 0; font-size: 14px;
}
#psc-height-root .hc-swatches button[aria-pressed="true"] { border-color: var(--white); }
#psc-height-root .hc-order button { min-width: 32px; padding: 4px 8px; font-size: 13px; }
#psc-height-root .hc-add { margin-top: 10px; width: 100%; color: var(--cyan); }
.hc-presets { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 8px 14px; flex-wrap: wrap; }
@media (max-width: 780px) {
  .hc-workbench { grid-template-columns: minmax(0,1fr); }
  .hc-visual { order: 0; }
  .hc-presets { order: 1; }
  .hc-editor { order: 2; }
  #height-people { grid-template-columns: repeat(auto-fit,minmax(min(100%,232px),1fr)); max-height: none; }
  .hc-stage { height: 300px; }
}
@media (max-width: 480px) {
  .hc-stage-head, .hc-differences { padding-left: 9px; padding-right: 9px; }
  .hc-reference, .hc-actions { margin-left: 9px; margin-right: 9px; }
}
.hc-low-note { display: block; color: var(--sky-txt); font-size: 12px; }
.hc-default-wide, .hc-default-small { height: 100%; }
.hc-default-small { display: none; }
@media (max-width: 550px) {
  .hc-default-wide { display: none; }
  .hc-default-small { display: block; }
}
@media (min-width: 900px) {
  .psc-console:has(#psc-height-root) .psc-planet-art { left: auto; right: 12px; top: 18px; width: 65px; }
  .psc-console:has(#psc-height-root) .psc-banner { padding-right: 72px; }
}
@media (max-width: 899px) {
  .psc-console:has(#psc-height-root) .psc-planet-art { display: none; }
}
@media (max-width: 680px) {
  .psc-console:has(#psc-height-root) {
    height: calc(100svh - 38px);
    min-height: 0;
    max-height: calc(100svh - 38px);
  }
  .psc-console:has(#psc-height-root) .psc-console-scroll { min-height: 0; }
  .psc-console:has(#psc-height-root) .psc-dock { flex-shrink: 0; }
}
