:root {
  --ink: #0c1320;
  --ink-2: #131d2d;
  --panel: #172235;
  --paper: #f3efdF;
  --paper-2: #fffaf0;
  --acid: #c9ff3d;
  --orange: #ff6b35;
  --red: #ff3f4f;
  --blue: #5dd7ff;
  --muted: #9eabbc;
  --line: rgba(255,255,255,.13);
  --shadow: 0 24px 60px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--ink); }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: #f7f8f3;
  background: var(--ink);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  overflow-x: hidden;
}
button { font: inherit; }
button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
[hidden] { display: none !important; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .075;
  z-index: 30;
  background-image: radial-gradient(circle at 15% 25%, #fff 0 1px, transparent 1px), radial-gradient(circle at 78% 63%, #fff 0 1px, transparent 1px);
  background-size: 13px 17px, 19px 23px;
}

.topbar {
  height: 76px;
  padding: 0 clamp(20px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
  background: rgba(12,19,32,.9);
}
.brand-button { display: flex; align-items: center; gap: 12px; color: white; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; justify-self: start; }
.brand-button b { display: block; font-size: 15px; letter-spacing: -.02em; }
.brand-button small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; background: var(--acid); color: var(--ink); font-weight: 950; transform: rotate(-3deg); }
.day-chip { justify-self: center; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; }
.day-chip b { color: white; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(255,63,79,.12); animation: blink 1.4s infinite; }
.text-button, .back-button { color: var(--muted); border: 0; background: transparent; cursor: pointer; }
.text-button { justify-self: end; font-size: 12px; }
.text-button:hover, .back-button:hover { color: white; }

.screen { min-height: calc(100vh - 76px); position: relative; }
.screen:not(.is-active) { display: none; }
.eyebrow { margin: 0 0 18px; color: var(--acid); font-size: 11px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.button { min-height: 48px; border: 1px solid transparent; border-radius: 5px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; font-weight: 850; cursor: pointer; transition: transform .18s, background .18s, border-color .18s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--acid); color: var(--ink); box-shadow: 0 8px 30px rgba(201,255,61,.13); }
.button-primary:hover { background: #dcff80; }
.button-ghost { background: transparent; color: white; border-color: var(--line); }
.button-ghost:hover { border-color: rgba(255,255,255,.35); }
.button-large { min-height: 58px; padding: 0 25px; }
.button-wide { width: 100%; min-height: 58px; }

/* Home */
.screen-home { display: flex; flex-direction: column; padding: clamp(46px, 7vh, 88px) clamp(20px, 6vw, 90px) 30px; overflow: hidden; }
.screen-home::before { content: "24"; position: absolute; right: -2vw; bottom: -18vh; font-size: min(54vw, 720px); font-weight: 950; line-height: .8; color: rgba(255,255,255,.018); pointer-events: none; }
.home-grid { width: min(1320px, 100%); margin: auto; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(50px, 8vw, 130px); }
.hero-copy h1 { margin: 0; font-size: clamp(48px, 6.7vw, 100px); line-height: .98; letter-spacing: -.075em; font-weight: 950; }
.hero-copy h1 em { color: var(--acid); font-style: normal; }
.hero-lead { max-width: 610px; margin: 30px 0; color: #bcc6d4; font-size: clamp(15px, 1.4vw, 19px); line-height: 1.75; word-break: keep-all; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.feature-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 38px; }
.feature-strip span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 10px; }
.hero-visual { position: relative; min-height: 565px; display: grid; place-items: center; }
.tower { width: min(420px, 87%); background: var(--paper); color: var(--ink); box-shadow: var(--shadow); transform: rotate(1.2deg); position: relative; z-index: 2; }
.tower-head, .tower-footer { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 10px; font-weight: 800; border-bottom: 2px solid var(--ink); }
.tower-footer { border: 0; border-top: 2px solid var(--ink); }
.tower-footer b { color: var(--red); }
.tower-body { padding: 34px 34px 24px; }
.tower-kicker { font-size: 10px; letter-spacing: .18em; font-weight: 900; }
.tower h2 { margin: 12px 0 25px; font-size: clamp(43px, 5vw, 72px); line-height: .92; letter-spacing: -.08em; }
.broken-kpi { display: grid; grid-template-columns: 70px 1fr; gap: 7px; padding: 15px; background: #dfdacd; font-size: 11px; }
.broken-kpi span { color: #68707b; }
.broken-kpi strong { text-decoration: line-through 2px var(--red); }
.pulse-line { height: 50px; margin-top: 20px; display: flex; gap: 8px; align-items: end; border-bottom: 2px solid var(--ink); }
.pulse-line i { flex: 1; height: 12px; background: var(--ink); animation: pulsebar 1.4s ease-in-out infinite alternate; }
.pulse-line i:nth-child(2) { height: 30px; animation-delay: .12s; }.pulse-line i:nth-child(3) { height: 19px; animation-delay: .24s; }.pulse-line i:nth-child(4) { height: 42px; animation-delay: .36s; }.pulse-line i:nth-child(5) { height: 7px; animation-delay: .48s; }.pulse-line i:nth-child(6) { height: 25px; animation-delay: .6s; }
.alarm-label { position: absolute; top: 42px; left: 6%; padding: 10px 20px; background: var(--red); color: white; font-weight: 950; transform: rotate(-8deg); z-index: 4; box-shadow: 7px 7px 0 var(--ink), 7px 7px 0 2px var(--red); }
.floating-note { position: absolute; z-index: 4; padding: 16px 18px; background: var(--blue); color: var(--ink); font-size: 12px; font-weight: 800; line-height: 1.45; box-shadow: 8px 8px 0 rgba(0,0,0,.35); }
.note-one { right: -5%; top: 24%; transform: rotate(6deg); }.note-two { left: -2%; bottom: 13%; background: var(--orange); transform: rotate(-5deg); }
.scroll-cue { margin-top: auto; padding-top: 30px; color: #566278; font: 10px ui-monospace, monospace; letter-spacing: .15em; text-align: center; }

/* Prologue */
.screen-prologue { padding: clamp(35px, 6vh, 72px) clamp(20px, 6vw, 90px) 50px; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 48px 48px; }
.prologue-clock { width: min(1320px, 100%); margin: 0 auto 30px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; border-bottom: 1px solid var(--line); padding-bottom: 14px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }.prologue-clock b { color: var(--acid); font: 950 clamp(38px, 5vw, 64px)/.8 ui-monospace, monospace; }.prologue-clock small { justify-self: end; }
.prologue-layout { width: min(1320px, 100%); margin: auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(35px, 7vw, 100px); align-items: center; }.prologue-copy h1 { margin: 0; font-size: clamp(48px, 6vw, 86px); line-height: .95; letter-spacing: -.07em; }.prologue-copy h1 em { color: var(--acid); font-style: normal; }.prologue-copy > p:not(.eyebrow) { max-width: 590px; margin: 27px 0; color: #b1bdcc; line-height: 1.75; word-break: keep-all; }
.inbox-panel { background: var(--paper); color: var(--ink); box-shadow: var(--shadow); transform: rotate(.3deg); }.inbox-head { padding: 16px 20px; display: flex; justify-content: space-between; border-bottom: 2px solid var(--ink); font-size: 11px; font-weight: 850; }.inbox-head b { color: var(--red); }.inbox-panel article { padding: 17px 20px; display: grid; grid-template-columns: 52px 1fr; gap: 15px; border-bottom: 1px solid #d0c9bc; }.inbox-panel time { color: var(--orange); font: 850 10px ui-monospace, monospace; }.inbox-panel article b { font-size: 13px; }.inbox-panel article p { margin: 5px 0 0; color: #68707b; font-size: 10px; }.inbox-warning { margin: 18px 20px 20px; padding: 12px; background: var(--ink); color: var(--acid); font-size: 10px; font-weight: 850; text-align: center; }
.campaign-preview { width: min(1320px, 100%); margin: 45px auto 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }.campaign-preview li { min-height: 74px; padding: 15px 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; background: var(--ink-2); border: 1px solid var(--line); color: #66748a; }.campaign-preview li.current { color: white; border-color: var(--acid); }.campaign-preview span { color: var(--acid); font: 850 10px ui-monospace, monospace; }.campaign-preview b { font-size: 12px; }.campaign-preview small { font: 9px ui-monospace, monospace; }
.story-shell { width: min(1320px, 100%); min-height: 530px; margin: auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(35px, 7vw, 100px); align-items: center; }.story-copy h1 { margin: 0; font-size: clamp(48px, 6vw, 86px); line-height: .95; letter-spacing: -.07em; }.story-copy h1 em { color: var(--acid); font-style: normal; }.story-narration { max-width: 610px; min-height: 78px; margin: 27px 0 20px; color: #b1bdcc; line-height: 1.75; word-break: keep-all; }.story-dialogue { max-width: 610px; min-height: 105px; padding: 17px 20px; border-left: 3px solid var(--episode, var(--acid)); background: rgba(255,255,255,.045); }.story-speaker { color: var(--episode, var(--acid)); font-size: 9px; font-weight: 900; letter-spacing: .12em; }.story-dialogue blockquote { margin: 8px 0 0; font-size: 15px; font-weight: 750; line-height: 1.55; word-break: keep-all; }.story-actions { display: flex; align-items: center; gap: 22px; margin-top: 24px; }.story-skip { justify-self: auto; padding: 10px 0; font-size: 10px; }
.story-evidence { min-height: 470px; padding: 22px; position: relative; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); transform: rotate(.35deg); overflow: hidden; }.story-evidence::before { content: "CONFIDENTIAL"; position: absolute; right: -28px; top: 35px; color: rgba(12,19,32,.055); font-size: 52px; font-weight: 950; transform: rotate(90deg); }.evidence-status { padding-bottom: 15px; display: flex; justify-content: space-between; border-bottom: 2px solid var(--ink); font: 850 10px ui-monospace, monospace; }.evidence-status b { color: var(--red); }.evidence-screen { margin-top: 28px; padding: 24px; position: relative; z-index: 1; background: #e5dfd2; border: 1px solid #c8c0b3; }.evidence-code { color: var(--orange); font: 900 9px ui-monospace, monospace; letter-spacing: .16em; }.evidence-screen h2 { margin: 8px 0 25px; font-size: clamp(27px, 3vw, 43px); line-height: 1; letter-spacing: -.055em; }.evidence-rows { border-top: 2px solid var(--ink); }.evidence-rows div { min-height: 38px; padding: 9px 0; display: grid; grid-template-columns: 92px 1fr; gap: 15px; border-bottom: 1px solid #bbb3a6; font-size: 11px; }.evidence-rows span { color: #69717c; }.evidence-rows b { text-align: right; }.evidence-message { margin-top: 22px; padding: 15px; background: var(--ink); color: white; }.evidence-message small { color: var(--episode, var(--acid)); font: 800 9px ui-monospace, monospace; }.evidence-message p { margin: 7px 0 0; font-size: 12px; font-weight: 750; line-height: 1.5; }.evidence-stamp { position: absolute; right: 35px; bottom: 34px; padding: 7px 13px; border: 4px solid var(--red); color: var(--red); font-size: 20px; font-weight: 950; transform: rotate(-8deg); opacity: .78; z-index: 2; }.story-footer { width: min(1320px, 100%); margin: 22px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 25px; color: #66748a; font-size: 10px; }.story-progress { display: flex; gap: 7px; }.story-progress i { width: 46px; height: 4px; background: rgba(255,255,255,.1); transition: background .25s, transform .25s; }.story-progress i.done { background: var(--episode, var(--acid)); }.story-progress i.current { background: var(--episode, var(--acid)); transform: scaleY(2); }

/* Portrait game intro */
.cinematic-mode { background: #050912; }.cinematic-mode .topbar { display: none; }.cinematic-mode .screen { min-height: 100dvh; }
.cinematic-mode .screen-stage, .cinematic-mode .screen-diagnosis, .cinematic-mode .screen-dossier, .cinematic-mode .screen-question { width: min(100%, 560px); margin-inline: auto; padding: 15px 14px 45px; border-inline: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 100px rgba(0,0,0,.7); }.cinematic-mode .stage-topline { grid-template-columns: 1fr auto; }.cinematic-mode .stage-progress { display: none; }.cinematic-mode .stage-topline .case-number { grid-column: 2; }.cinematic-mode .stage-grid { display: flex; flex-direction: column; }.cinematic-mode .radio-panel { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }.cinematic-mode .radio-label, .cinematic-mode .signal-bars { display: none; }.cinematic-mode .portrait-face { width: 72px; height: 76px; font-size: 30px; }.cinematic-mode .portrait span { display: none; }.cinematic-mode .radio-panel blockquote { margin: 0; font-size: 13px; }.cinematic-mode .briefing-card { padding: 30px 22px; order: -1; }.cinematic-mode .briefing-card h1 { font-size: 50px; }.cinematic-mode .paper-row { grid-template-columns: 72px 1fr; }.cinematic-mode .case-notes dl { grid-template-columns: repeat(2, 1fr); }.cinematic-mode .diagnosis-choice { grid-template-columns: 38px 1fr; padding: 15px; }.cinematic-mode .diagnosis-result { grid-template-columns: 45px 1fr; }.cinematic-mode .diagnosis-result .button { grid-column: 1 / -1; }.cinematic-mode .dossier-layout, .cinematic-mode .question-layout { grid-template-columns: 1fr; margin-top: 2vh; }.cinematic-mode .concept-file { padding: 38px 25px 28px; }.cinematic-mode .rule-unlock { padding: 34px 18px; }.cinematic-mode .question-memory { position: static; }.cinematic-mode .question-feedback { grid-template-columns: 42px 1fr; }.cinematic-mode .question-feedback .button { grid-column: 1 / -1; width: 100%; }
.screen-prologue { padding: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 28%, #213655 0, #08101e 45%, #03060c 100%); }
.portrait-game { width: min(100%, 560px); height: 100dvh; min-height: 660px; display: grid; grid-template-rows: 58px minmax(280px, 1fr) auto auto 38px; position: relative; overflow: hidden; background: #0b1422; border-inline: 1px solid rgba(255,255,255,.13); box-shadow: 0 0 100px rgba(0,0,0,.75); }
.game-hud { padding: 8px 14px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; position: relative; z-index: 8; background: rgba(6,11,20,.95); border-bottom: 1px solid var(--line); }.game-hud > div:first-child small, .game-hud > div:first-child b, .hud-alert small, .hud-alert b { display: block; }.game-hud small { color: #74839a; font-size: 8px; font-weight: 850; letter-spacing: .12em; }.game-hud > div:first-child b { color: white; font: 950 20px ui-monospace, monospace; }.game-hud > span { padding: 6px 10px; color: var(--episode, var(--acid)); border: 1px solid currentColor; border-radius: 999px; font-size: 8px; font-weight: 900; letter-spacing: .09em; }.hud-alert { text-align: right; }.hud-alert b { color: var(--red); font: 900 12px ui-monospace, monospace; }
.game-stage { min-height: 0; position: relative; overflow: hidden; background: linear-gradient(#18304b 0 59%, #263348 59% 62%, #172233 62% 100%); perspective: 700px; }.game-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: repeating-linear-gradient(90deg, transparent 0 70px, rgba(255,255,255,.035) 71px 72px), linear-gradient(160deg, rgba(255,255,255,.08), transparent 55%); transform-origin: bottom; transform: rotateX(54deg) scale(1.4); }
.office-window { position: absolute; left: 8%; top: 8%; width: 52%; height: 35%; display: grid; grid-template-columns: repeat(4,1fr); align-items: end; padding: 12px 10px 8px; gap: 7px; background: linear-gradient(#07111f, #315575); border: 7px solid #101b2a; box-shadow: inset 0 0 0 2px #59687b; }.office-window::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 15%, rgba(255,255,255,.1) 16% 18%, transparent 19% 55%, rgba(255,255,255,.06) 56% 57%, transparent 58%); }.office-window i { height: 28%; background: #101a28; box-shadow: 0 -13px 0 -9px #ffdc72, 0 -30px 0 -12px #ffdc72; }.office-window i:nth-child(2) { height: 48%; }.office-window i:nth-child(3) { height: 68%; }.office-window i:nth-child(4) { height: 39%; }.office-window span { position: absolute; left: 8px; top: 7px; color: rgba(255,255,255,.55); font: 800 7px ui-monospace, monospace; letter-spacing: .1em; }
.office-door { position: absolute; right: 5%; top: 9%; width: 25%; height: 52%; padding-top: 14px; color: #becbdd; background: #111c2b; border: 4px solid #34445a; text-align: center; }.office-door b { display: block; color: var(--episode, var(--acid)); font: 950 30px ui-monospace, monospace; }.office-door span { font: 800 9px ui-monospace, monospace; }.office-door::after { content: ""; position: absolute; right: 10px; top: 52%; width: 7px; height: 7px; border-radius: 50%; background: #e4bd5e; }
.office-desk { position: absolute; left: 30%; bottom: 14%; width: 49%; height: 17%; z-index: 2; background: #8d6849; border-top: 7px solid #bc8e63; box-shadow: inset 12px 0 rgba(0,0,0,.14), inset -12px 0 rgba(0,0,0,.14); }.office-desk::before, .office-desk::after { content: ""; position: absolute; bottom: -60%; width: 9%; height: 65%; background: #4e3a2c; }.office-desk::before { left: 8%; }.office-desk::after { right: 8%; }.desk-monitor { position: absolute; left: 34%; bottom: 105%; width: 34%; height: 82%; background: #101723; border: 5px solid #536277; box-shadow: 0 8px 0 -4px #475367; }.desk-monitor i { position: absolute; inset: 5px; background: repeating-linear-gradient(0deg, #1e4251 0 2px, #16333e 3px 4px); }.office-desk > span { position: absolute; right: 9%; top: -20%; width: 18%; height: 14%; background: #ddd5c6; transform: rotate(5deg); box-shadow: 0 4px 0 #c5bba8; }
.office-plant { position: absolute; left: 7%; bottom: 12%; width: 15%; height: 27%; z-index: 1; }.office-plant span { position: absolute; left: 25%; bottom: 0; width: 50%; height: 38%; background: #a55d3e; clip-path: polygon(10% 0,90% 0,75% 100%,25% 100%); }.office-plant i { position: absolute; left: 43%; bottom: 27%; width: 25%; height: 54%; background: #58a06d; border-radius: 100% 0 100% 0; transform-origin: bottom; transform: rotate(-30deg); }.office-plant i:nth-child(2) { transform: scaleX(-1) rotate(-34deg); }.office-plant i:nth-child(3) { height: 68%; transform: rotate(8deg); }
.game-character { width: 64px; height: 128px; position: absolute; z-index: 5; transition: left 1.65s cubic-bezier(.2,.72,.22,1), right 1.65s cubic-bezier(.2,.72,.22,1), opacity .7s; filter: drop-shadow(0 7px 5px rgba(0,0,0,.35)); }.character-shadow { position: absolute; left: 5%; bottom: 3px; width: 90%; height: 12px; border-radius: 50%; background: rgba(0,0,0,.35); }.character-head { width: 48px; height: 50px; position: absolute; top: 4px; left: 8px; border-radius: 45% 45% 48% 48%; background: #f2c6a6; z-index: 3; }.character-head .hair { position: absolute; inset: -4px -3px 51% -3px; border-radius: 60% 60% 15% 15%; background: #18202c; }.character-head .face::before, .character-head .face::after { content: ""; position: absolute; top: 26px; width: 4px; height: 5px; border-radius: 50%; background: #18202c; }.character-head .face::before { left: 13px; }.character-head .face::after { right: 13px; }.character-body { width: 52px; height: 51px; position: absolute; left: 6px; top: 50px; border-radius: 11px 11px 4px 4px; background: var(--acid); border-bottom: 5px solid #56721a; }.character-body::before, .character-body::after { content: ""; position: absolute; top: 7px; width: 13px; height: 47px; border-radius: 9px; background: #f2c6a6; transform-origin: top; }.character-body::before { left: -8px; transform: rotate(7deg); }.character-body::after { right: -8px; transform: rotate(-7deg); }.character-body i { position: absolute; left: 22px; top: 5px; width: 8px; height: 33px; background: rgba(12,19,32,.2); clip-path: polygon(50% 0,100% 15%,72% 100%,28% 100%,0 15%); }.character-legs { position: absolute; left: 10px; top: 96px; width: 44px; height: 30px; }.character-legs i { position: absolute; top: 0; width: 15px; height: 30px; border-radius: 0 0 5px 5px; background: #25354a; border-bottom: 5px solid #090d14; transform-origin: top; }.character-legs i:first-child { left: 5px; }.character-legs i:last-child { right: 5px; }.character-name { position: absolute; left: 50%; bottom: -15px; padding: 3px 6px; color: white; background: rgba(5,9,16,.76); border-radius: 3px; font-size: 7px; font-weight: 850; white-space: nowrap; transform: translateX(-50%); }
.hero-character { left: 15%; bottom: 5%; }.boss-character { right: -22%; bottom: 5%; opacity: 0; }.boss-character .character-body { background: #303743; border-color: #111822; }.boss-character .character-head { background: #d7ad8f; }.boss-character .character-body::before, .boss-character .character-body::after { background: #d7ad8f; }
.game-popup { width: 72%; max-height: 78%; padding: 16px; position: absolute; left: 50%; top: 48%; z-index: 7; overflow: hidden; color: var(--ink); background: var(--paper); border: 3px solid var(--ink); box-shadow: 9px 9px 0 rgba(0,0,0,.38); transform: translate(-50%,-50%) scale(.88); opacity: 0; pointer-events: none; }.popup-head { display: flex; justify-content: space-between; color: var(--orange); font: 900 7px ui-monospace, monospace; letter-spacing: .1em; }.popup-head b { color: var(--red); }.game-popup h2 { margin: 5px 0 10px; font-size: 24px; letter-spacing: -.045em; }.game-popup .evidence-rows div { min-height: 25px; padding: 5px 0; grid-template-columns: 70px 1fr; font-size: 9px; }.game-popup > small { display: block; margin-top: 10px; color: #69717c; font: 800 7px ui-monospace, monospace; }.game-popup > p { margin: 4px 0 0; font-size: 9px; font-weight: 750; line-height: 1.45; }
.alarm-burst { position: absolute; inset: 0; z-index: 6; opacity: 0; pointer-events: none; }.alarm-burst span { width: 70px; height: 70px; display: grid; place-items: center; position: absolute; left: calc(50% - 35px); top: 12%; color: white; background: var(--red); border-radius: 50%; font-size: 44px; font-weight: 950; box-shadow: 0 0 0 12px rgba(255,63,79,.16); }.alarm-burst i { width: 76px; padding: 10px 0; position: absolute; top: 49%; color: var(--ink); background: var(--acid); font: 950 15px ui-monospace, monospace; text-align: center; box-shadow: 5px 5px 0 rgba(0,0,0,.4); }.alarm-burst i:nth-of-type(1) { left: 9%; transform: rotate(-9deg); }.alarm-burst i:nth-of-type(2) { left: calc(50% - 38px); top: 59%; transform: rotate(4deg); }.alarm-burst i:nth-of-type(3) { right: 8%; transform: rotate(10deg); }
.portrait-game[data-scene="0"] .hero-character { animation: characterEnter 2.2s cubic-bezier(.2,.8,.2,1) both, characterIdle 2.4s 2.25s ease-in-out infinite; }.portrait-game[data-scene="1"] .hero-character { left: 45%; animation: characterShock 1.05s .45s ease 1; }.portrait-game[data-scene="1"] .game-popup { animation: popupIn .75s .45s ease-out both; }.portrait-game[data-scene="2"] .hero-character { left: 17%; }.portrait-game[data-scene="2"] .boss-character { right: 12%; opacity: 1; animation: bossEnter 1.8s ease-out both; }.portrait-game[data-scene="3"] .hero-character { left: 44%; animation: characterShock 1.1s .4s ease 2; }.portrait-game[data-scene="3"] .alarm-burst { animation: alarmIn 1.1s .2s ease-out both; }
.game-story { padding: 13px 18px 10px; background: #111c2c; border-top: 1px solid rgba(255,255,255,.11); }.game-story .eyebrow { margin: 0 0 5px; font-size: 7px; }.game-story h1 { margin: 0; font-size: clamp(25px, 7vw, 36px); line-height: 1; letter-spacing: -.055em; }.game-story h1 em { color: var(--episode, var(--acid)); font-style: normal; }.game-story > p:last-child { margin: 8px 0 0; color: #93a1b5; font-size: 10px; line-height: 1.45; word-break: keep-all; }
.game-dialogue { padding: 11px 14px; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; background: #070c15; border-top: 1px solid var(--line); }.game-dialogue > div { min-height: 58px; padding: 10px 12px; position: relative; background: #17243a; border: 1px solid #36465e; border-radius: 5px; }.game-dialogue > div::after { content: ""; position: absolute; right: -7px; bottom: 14px; width: 12px; height: 12px; background: #17243a; border-right: 1px solid #36465e; border-top: 1px solid #36465e; transform: rotate(45deg); }.game-dialogue span:first-child { color: var(--episode, var(--acid)); font-size: 8px; font-weight: 900; letter-spacing: .08em; }.game-dialogue blockquote { margin: 4px 0 0; color: #e8edf5; font-size: 10px; font-weight: 700; line-height: 1.4; word-break: keep-all; }.game-dialogue .button { min-width: 126px; min-height: 58px; padding: 0 13px; gap: 10px; font-size: 9px; }.game-footer { padding: 0 14px; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; color: #65748a; background: #050911; font-size: 7px; }.game-footer .story-progress { gap: 4px; }.game-footer .story-progress i { width: 20px; height: 3px; }.game-footer > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; }.game-footer .text-button { padding: 0; font-size: 7px; }
.game-dialogue .button:disabled { opacity: .45; cursor: wait; transform: none; }
@keyframes characterEnter { from { left: -25%; transform: translateY(-2px); } 55% { transform: translateY(2px); } to { left: 15%; transform: translateY(0); } } @keyframes characterIdle { 50% { transform: translateY(-3px); } } @keyframes characterShock { 40% { transform: translateY(-13px) rotate(-3deg); } 70% { transform: translateY(0) rotate(3deg); } } @keyframes bossEnter { from { right: -25%; } to { right: 12%; } } @keyframes popupIn { from { opacity: 0; transform: translate(-50%,-44%) scale(.78) rotate(-3deg); } to { opacity: 1; transform: translate(-50%,-50%) scale(1) rotate(.5deg); } } @keyframes alarmIn { from { opacity: 0; transform: scale(1.5); } to { opacity: 1; transform: scale(1); } }

/* Map */
.screen-map { padding: 46px clamp(20px, 5vw, 78px) 80px; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 48px 48px; }
.map-header { max-width: 1380px; margin: 0 auto 28px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.map-header h1 { margin: 0 0 8px; font-size: clamp(34px, 4vw, 58px); letter-spacing: -.055em; }
.map-header p:not(.eyebrow) { margin: 0; color: var(--muted); }
.employee-card { min-width: 260px; padding: 13px; display: flex; align-items: center; gap: 12px; background: var(--ink-2); border: 1px solid var(--line); }
.avatar { width: 42px; height: 42px; display: grid; place-items: center; background: var(--acid); color: var(--ink); font-weight: 950; border-radius: 50%; }
.employee-card small, .employee-card b { display: block; }.employee-card small { color: var(--muted); font-size: 10px; }.employee-card b { margin-top: 3px; font-size: 13px; }.level { margin-left: auto; font: 10px ui-monospace, monospace; color: var(--acid); }
.status-grid { max-width: 1380px; margin: 0 auto 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.status-card { padding: 16px 18px; background: var(--ink-2); border: 1px solid var(--line); }
.status-card > div:first-child { display: flex; justify-content: space-between; font-size: 12px; }.status-card b { font: 800 20px ui-monospace, monospace; }.status-card small { color: #77859a; font-size: 10px; }
.meter { height: 5px; margin: 10px 0; background: rgba(255,255,255,.08); overflow: hidden; }.meter i { display: block; height: 100%; background: var(--blue); transition: width .5s; }.danger .meter i { background: var(--orange); }.acid .meter i { background: var(--acid); }
.campaign-layout { max-width: 1380px; margin: 0 auto; display: grid; grid-template-columns: 1.35fr .65fr; gap: 20px; }
.acts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.act-card { min-height: 230px; padding: 20px; background: var(--ink-2); border: 1px solid var(--line); position: relative; overflow: hidden; }
.act-card.active { border-color: var(--acid); box-shadow: inset 0 0 0 1px var(--acid); }.act-card::after { content: attr(data-act); position: absolute; right: 10px; bottom: -30px; color: rgba(255,255,255,.035); font-size: 130px; font-weight: 950; }
.act-card h3 { margin: 4px 0 18px; font-size: 20px; }.act-card > span { color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.node-list { display: flex; flex-wrap: wrap; gap: 7px; position: relative; z-index: 2; }.concept-node { width: 42px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); color: #657187; font: 800 10px ui-monospace, monospace; background: rgba(0,0,0,.12); }.concept-node.available { color: var(--ink); background: var(--acid); border-color: var(--acid); box-shadow: 0 0 20px rgba(201,255,61,.17); animation: nodepulse 1.8s infinite; }
.act-note { position: absolute; left: 20px; bottom: 16px; color: #657187; font-size: 10px; }
.mission-panel { padding: clamp(24px, 3vw, 38px); background: var(--paper); color: var(--ink); box-shadow: var(--shadow); align-self: stretch; position: relative; }
.mission-panel::before { content: "열람 허가"; position: absolute; right: 24px; top: 84px; padding: 7px 12px; border: 3px solid var(--red); color: var(--red); font-size: 12px; font-weight: 950; transform: rotate(6deg); opacity: .72; }
.mission-head { display: flex; justify-content: space-between; gap: 20px; align-items: start; }.case-number { color: var(--orange); font: 800 10px ui-monospace, monospace; letter-spacing: .12em; }.mission-head h2 { margin: 8px 0 0; font-size: clamp(29px, 3vw, 44px); line-height: 1; letter-spacing: -.06em; }.difficulty { font-size: 10px; font-weight: 800; white-space: nowrap; }
.mission-summary { margin: 28px 0; color: #4e5865; line-height: 1.7; font-size: 14px; }
.mission-facts { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }.mission-facts li { padding: 11px 0; display: grid; grid-template-columns: 70px 1fr; border-bottom: 1px solid rgba(12,19,32,.2); font-size: 11px; }.mission-facts span { color: #59616c; }
.mission-route { display: flex; align-items: center; margin: 25px 0; }.mission-route span { font-size: 9px; font-weight: 850; }.mission-route i { height: 1px; flex: 1; margin: 0 5px; background: #aaa79e; }.mission-route .done { color: #308179; }.mission-route .locked { color: #aaa79e; }

/* Stage common */
.screen-stage, .screen-diagnosis, .screen-dossier, .screen-question { padding: 24px clamp(20px, 4vw, 64px) 60px; }
.stage-topline { max-width: 1380px; min-height: 42px; margin: 0 auto 20px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }.stage-topline .case-number { justify-self: end; }
.stage-progress { display: flex; gap: 7px; }.stage-progress span { width: 34px; height: 4px; background: rgba(255,255,255,.12); }.stage-progress .active { background: var(--acid); }
.stage-grid { max-width: 1380px; min-height: calc(100vh - 180px); margin: auto; display: grid; grid-template-columns: .55fr 1.25fr .55fr; gap: 18px; align-items: stretch; }
.radio-panel, .case-notes { background: var(--ink-2); border: 1px solid var(--line); padding: 25px; }
.radio-label { margin: 0 0 35px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }.radio-label span { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--red); }
.portrait { display: grid; place-items: center; }.portrait-face { width: 120px; height: 140px; display: grid; place-items: center; background: #25334a; color: #9aa9be; font: 950 55px serif; border: 1px solid #354660; box-shadow: 12px 12px 0 rgba(0,0,0,.2); }.portrait span { margin-top: 13px; color: #7e8ca1; font-size: 10px; }
.radio-panel blockquote { margin: 35px 0; color: #d5dbe2; font-size: 16px; font-weight: 800; line-height: 1.75; word-break: keep-all; }
.signal-bars { display: flex; gap: 5px; align-items: center; height: 25px; }.signal-bars i { flex: 1; height: 2px; background: var(--acid); animation: signal .8s infinite alternate; }.signal-bars i:nth-child(2) { height: 10px; animation-delay: .1s; }.signal-bars i:nth-child(3) { height: 20px; animation-delay: .2s; }.signal-bars i:nth-child(4) { height: 7px; animation-delay: .3s; }
.briefing-card { padding: clamp(28px, 5vw, 70px); background: var(--paper); color: var(--ink); position: relative; box-shadow: var(--shadow); }.briefing-label { display: flex; justify-content: space-between; margin-bottom: 40px; font-size: 10px; }.briefing-label b { color: var(--red); }.briefing-card .eyebrow { color: var(--orange); }.briefing-card h1 { margin: 0; font-size: clamp(48px, 6vw, 86px); line-height: .93; letter-spacing: -.075em; }.briefing-card h1 em { color: var(--red); font-style: normal; }.briefing-copy { max-width: 640px; margin: 25px 0; color: #4e5865; line-height: 1.75; word-break: keep-all; }
.evidence-paper { margin: 28px 0; padding: 20px; background: var(--paper-2); border: 1px solid #cbc4b4; box-shadow: 6px 7px 0 #d3cbbc; position: relative; transform: rotate(-.4deg); }.paper-head { display: flex; justify-content: space-between; padding-bottom: 13px; border-bottom: 2px solid var(--ink); }.paper-head span { color: var(--red); font-size: 10px; }.paper-row { display: grid; grid-template-columns: 90px 1fr; padding: 10px 0; border-bottom: 1px solid #d9d2c4; font-size: 12px; }.paper-row span { color: #68707b; }.red-stamp { position: absolute; right: 20px; bottom: 13px; padding: 7px; border: 3px solid var(--red); color: var(--red); font-weight: 950; transform: rotate(-8deg); opacity: .7; }
.case-notes h3 { margin: 0 0 24px; font-size: 13px; }.case-notes dl { margin: 0; }.case-notes dl div { padding: 13px 0; border-bottom: 1px solid var(--line); }.case-notes dt { color: #68768b; font-size: 9px; }.case-notes dd { margin: 4px 0 0; font-size: 13px; font-weight: 800; }.tip { margin-top: 25px; padding: 15px; background: rgba(93,215,255,.08); color: #9facc0; font-size: 10px; line-height: 1.6; }.tip b { color: var(--blue); }

/* Diagnosis */
.screen-diagnosis { background: #101827; }.diagnosis-wrap { width: min(900px, 100%); margin: 6vh auto 0; }.diagnosis-head { text-align: center; margin-bottom: 35px; }.diagnosis-head h1 { margin: 0; font-size: clamp(36px, 5vw, 65px); letter-spacing: -.06em; }.diagnosis-head > p:last-child { color: var(--muted); }
.choice-list { display: grid; gap: 10px; }.diagnosis-choice { width: 100%; min-height: 90px; padding: 18px 22px; display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 15px; text-align: left; color: white; background: var(--ink-2); border: 1px solid var(--line); cursor: pointer; transition: border .18s, transform .18s, background .18s; }.diagnosis-choice:hover { border-color: var(--acid); transform: translateX(5px); }.diagnosis-choice kbd { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #43506a; border-radius: 3px; background: #0c1320; color: var(--acid); font-weight: 900; }.diagnosis-choice b, .diagnosis-choice small { display: block; }.diagnosis-choice b { font-size: 16px; }.diagnosis-choice small { margin-top: 6px; color: var(--muted); font-size: 11px; }.diagnosis-choice.selected { border-color: var(--acid); background: rgba(201,255,61,.06); }.diagnosis-choice.wrong.selected { border-color: var(--orange); background: rgba(255,107,53,.07); }
.diagnosis-result { margin-top: 18px; padding: 20px; display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 20px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }.result-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--acid); font-size: 25px; font-weight: 950; }.diagnosis-result p { margin: 0; color: #59616c; font-size: 11px; line-height: 1.55; }.diagnosis-result h2 { margin: 3px 0; font-size: 21px; }

/* Dossier */
.screen-dossier { background-image: radial-gradient(circle at 78% 45%, rgba(201,255,61,.07), transparent 30%); }.dossier-layout { max-width: 1180px; margin: 4vh auto 0; display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; }.concept-file { padding: clamp(30px, 5vw, 58px); background: var(--paper); color: var(--ink); position: relative; box-shadow: var(--shadow); }.file-tab { position: absolute; top: -14px; left: 28px; padding: 8px 16px; background: var(--orange); color: white; font: 800 10px ui-monospace, monospace; }.concept-file .eyebrow { color: var(--orange); }.concept-file h1 { margin: 0; font-size: clamp(43px, 5vw, 72px); line-height: .95; letter-spacing: -.07em; }.concept-file > p:not(.eyebrow) { color: #555f6c; line-height: 1.7; }.concept-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 28px 0; border-block: 2px solid var(--ink); }.concept-stats div { padding: 15px 8px; border-right: 1px solid #bbb5a9; text-align: center; }.concept-stats div:last-child { border: 0; }.concept-stats b, .concept-stats span { display: block; }.concept-stats b { font: 900 25px ui-monospace, monospace; }.concept-stats span { color: #68707b; font-size: 9px; }.concept-file h3 { font-size: 12px; }.objective-list { list-style: none; padding: 0; }.objective-list li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid #d5cec0; font-size: 11px; }.objective-list span { color: var(--orange); font: 800 10px ui-monospace, monospace; }
.rule-unlock { padding: clamp(25px, 4vw, 50px); background: var(--ink-2); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; }.unlock-label { color: var(--muted); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }.rule-card { width: min(430px, 100%); aspect-ratio: 1.55; border: 0; padding: 0; color: var(--ink); background: var(--acid); cursor: pointer; position: relative; box-shadow: 16px 18px 0 rgba(0,0,0,.25); overflow: hidden; transition: transform .5s; transform-style: preserve-3d; }.rule-card:hover { transform: rotate(-1deg) scale(1.015); }.card-seal { position: absolute; right: 20px; top: 20px; padding: 6px 9px; border: 2px solid var(--ink); font-size: 9px; font-weight: 900; z-index: 3; }.card-front, .card-back { position: absolute; inset: 0; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; text-align: left; transition: opacity .3s, transform .5s; }.card-front small, .card-back small { font: 800 9px ui-monospace, monospace; letter-spacing: .12em; }.card-front b { align-self: end; font: 950 65px ui-monospace, monospace; }.card-front em { font: normal 950 clamp(29px, 4vw, 48px)/.86 ui-monospace, monospace; letter-spacing: -.07em; }.card-back { opacity: 0; transform: translateY(15px); background: var(--paper); }.card-back strong { font-size: clamp(26px, 3vw, 40px); letter-spacing: -.05em; }.card-back p { margin: 5px 0; color: #48515c; line-height: 1.55; font-size: 13px; }.memory-line { padding-top: 12px; border-top: 2px solid var(--ink); font-size: 10px; font-weight: 850; }.rule-card.revealed { background: var(--paper); }.rule-card.revealed .card-front, .rule-card.revealed .card-seal { opacity: 0; transform: translateY(-15px); }.rule-card.revealed .card-back { opacity: 1; transform: none; }
.demo-finish { width: min(570px, 100%); margin-top: 30px; padding-top: 25px; border-top: 1px solid var(--line); text-align: center; }.demo-finish h2 { margin: 0; font-size: 25px; }.demo-finish > p:not(.eyebrow) { color: var(--muted); font-size: 12px; line-height: 1.65; }.finish-actions { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 50; transform: translate(-50%, 20px); padding: 11px 18px; border-radius: 4px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); font-size: 11px; font-weight: 800; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Multi-episode state */
.concept-node.available { cursor: pointer; position: relative; }
.concept-node.available:hover, .concept-node.available.selected { transform: translateY(-2px); box-shadow: 0 0 0 3px var(--ink-2), 0 0 0 5px var(--acid); }
.concept-node.completed::after { content: "✓"; position: absolute; right: -5px; top: -7px; width: 15px; height: 15px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--ink); font-size: 9px; font-weight: 950; }
.stage-progress .active { background: var(--episode, var(--acid)); }
.concept-file .eyebrow, .objective-list span { color: var(--episode, var(--orange)); }
.rule-card { background: var(--episode, var(--acid)); }

/* Concept lesson */
.lesson-points { margin: 22px 0; display: grid; gap: 7px; }.lesson-point { padding: 12px 14px; display: grid; grid-template-columns: 28px 1fr; gap: 10px; background: #e6dfd1; border-left: 3px solid var(--episode, var(--orange)); }.lesson-point > span { color: var(--episode, var(--orange)); font: 900 10px ui-monospace, monospace; }.lesson-point b, .lesson-point small { display: block; }.lesson-point b { font-size: 11px; }.lesson-point small { margin-top: 3px; color: #68707b; font-size: 9px; line-height: 1.45; }

/* Representative question */
.screen-question { background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px); background-size: 44px 44px; }.question-layout { width: min(1180px, 100%); margin: 4vh auto 0; display: grid; grid-template-columns: .55fr 1.45fr; gap: 18px; align-items: start; }.question-memory { padding: 30px; background: var(--ink-2); border: 1px solid var(--line); position: sticky; top: 20px; }.question-memory .eyebrow { color: var(--episode, var(--acid)); }.memory-topic { display: inline-grid; place-items: center; width: 54px; height: 40px; background: var(--episode, var(--acid)); color: var(--ink); font: 950 12px ui-monospace, monospace; }.question-memory h2 { margin: 22px 0 12px; font-size: 27px; letter-spacing: -.04em; }.question-memory > p:not(.eyebrow) { color: #aeb9c9; font-size: 13px; line-height: 1.7; }.memory-warning { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }.memory-warning b, .memory-warning span { display: block; }.memory-warning b { color: var(--orange); font-size: 9px; letter-spacing: .12em; }.memory-warning span { margin-top: 7px; color: #8492a8; font-size: 10px; line-height: 1.6; }
.exam-card { padding: clamp(26px, 5vw, 58px); background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }.exam-head { display: flex; justify-content: space-between; padding-bottom: 13px; border-bottom: 2px solid var(--ink); font: 800 10px ui-monospace, monospace; }.exam-head b { color: var(--orange); }.exam-card .eyebrow { margin-top: 32px; color: var(--orange); }.exam-card h1 { margin: 0 0 25px; font-size: clamp(20px, 2.4vw, 31px); line-height: 1.45; letter-spacing: -.035em; word-break: keep-all; }.exam-options { display: grid; gap: 8px; margin-bottom: 20px; }.exam-option { width: 100%; min-height: 61px; padding: 13px 16px; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; color: var(--ink); background: var(--paper-2); border: 1px solid #cfc8ba; text-align: left; cursor: pointer; }.exam-option:hover { border-color: var(--ink); }.exam-option span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #aaa397; font: 850 10px ui-monospace, monospace; }.exam-option b { font-size: 12px; line-height: 1.55; }.exam-option.selected { border: 2px solid var(--episode, var(--acid)); background: white; }.exam-option.correct { border: 2px solid #41a477; background: #e7f6ed; }.exam-option.wrong { border: 2px solid var(--red); background: #ffeaeb; }.exam-option:disabled { cursor: default; color: var(--ink); }.exam-card .button:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.question-feedback { margin-top: 18px; padding: 20px; display: grid; grid-template-columns: 52px 1fr auto; gap: 18px; align-items: center; background: var(--ink); color: white; }.feedback-mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--episode, var(--acid)); color: var(--ink); font-size: 22px; font-weight: 950; }.question-feedback p { margin: 0; color: #aeb9c9; font-size: 10px; line-height: 1.6; }.question-feedback h2 { margin: 3px 0; font-size: 18px; }

/* Scroll-free gameplay scenes */
.cinematic-mode { height: 100dvh; overflow: hidden; }.cinematic-mode main { height: 100dvh; overflow: hidden; }.cinematic-mode .screen-stage, .cinematic-mode .screen-diagnosis, .cinematic-mode .screen-dossier, .cinematic-mode .screen-question { height: 100dvh; min-height: 0; overflow: hidden; padding: 10px 12px 12px; display: flex; flex-direction: column; }.cinematic-mode .stage-topline { min-height: 34px; flex: 0 0 34px; padding-bottom: 7px; }.cinematic-mode .back-button { font-size: 9px; }
.cinematic-mode .screen-stage .stage-grid { min-height: 0; flex: 1; display: grid; grid-template-rows: minmax(0, 1fr) 82px; gap: 8px; }.cinematic-mode .briefing-card { min-height: 0; padding: clamp(16px, 3vh, 28px) 20px 16px; order: 0; overflow: hidden; }.cinematic-mode .briefing-label { margin-bottom: 9px; font-size: 8px; }.cinematic-mode .briefing-card .eyebrow { margin-bottom: 7px; font-size: 8px; }.cinematic-mode .briefing-card h1 { font-size: clamp(34px, 6.4vh, 48px); line-height: .9; }.cinematic-mode .briefing-copy { margin: 10px 0; font-size: 10px; line-height: 1.4; }.cinematic-mode .evidence-paper { margin: 9px 0 12px; padding: 10px 12px; box-shadow: 3px 4px 0 #d3cbbc; }.cinematic-mode .paper-head { padding-bottom: 6px; font-size: 9px; }.cinematic-mode .paper-row { min-height: 27px; padding: 5px 0; grid-template-columns: 70px 1fr; font-size: 9px; }.cinematic-mode .red-stamp { right: 9px; bottom: 8px; padding: 4px; border-width: 2px; font-size: 10px; }.cinematic-mode #diagnoseButton { min-height: 42px; }.cinematic-mode .radio-panel { min-height: 0; padding: 8px 12px; grid-template-columns: 56px 1fr; gap: 10px; }.cinematic-mode .portrait-face { width: 52px; height: 58px; font-size: 22px; }.cinematic-mode .radio-panel blockquote { font-size: 10px; line-height: 1.4; }.cinematic-mode .case-notes { display: none; }
.cinematic-mode .diagnosis-wrap { min-height: 0; flex: 1; margin: 0; display: flex; flex-direction: column; justify-content: center; }.cinematic-mode .diagnosis-head { margin-bottom: 12px; }.cinematic-mode .diagnosis-head .eyebrow { margin-bottom: 6px; font-size: 8px; }.cinematic-mode .diagnosis-head h1 { font-size: clamp(28px, 5.4vh, 42px); }.cinematic-mode .diagnosis-head > p:last-child { margin: 7px 0 0; font-size: 9px; }.cinematic-mode .choice-list { gap: 6px; }.cinematic-mode .diagnosis-choice { min-height: 58px; padding: 8px 11px; grid-template-columns: 32px 1fr; gap: 9px; }.cinematic-mode .diagnosis-choice kbd { width: 29px; height: 29px; }.cinematic-mode .diagnosis-choice b { font-size: 11px; }.cinematic-mode .diagnosis-choice small { margin-top: 2px; font-size: 8px; line-height: 1.3; }.cinematic-mode .diagnosis-result { margin-top: 8px; padding: 10px; grid-template-columns: 38px 1fr auto; gap: 9px; }.cinematic-mode .result-icon { width: 36px; height: 36px; font-size: 18px; }.cinematic-mode .diagnosis-result h2 { font-size: 13px; }.cinematic-mode .diagnosis-result p { font-size: 8px; line-height: 1.35; }.cinematic-mode .diagnosis-result .button { grid-column: auto; min-height: 42px; padding: 0 10px; font-size: 9px; }
.cinematic-mode .dossier-layout { min-height: 0; flex: 1; margin: 0; display: block; position: relative; }.cinematic-mode .concept-file, .cinematic-mode .rule-unlock { position: absolute; inset: 0; overflow: hidden; }.cinematic-mode .concept-file { padding: clamp(25px, 4vh, 38px) 22px 16px; }.cinematic-mode .concept-file .eyebrow { margin-bottom: 7px; font-size: 8px; }.cinematic-mode .concept-file h1 { font-size: clamp(34px, 6vh, 48px); }.cinematic-mode .concept-file > p:not(.eyebrow) { margin: 10px 0; font-size: 10px; line-height: 1.4; }.cinematic-mode .lesson-points { margin: 10px 0; gap: 5px; }.cinematic-mode .lesson-point { padding: 8px 10px; grid-template-columns: 22px 1fr; gap: 7px; }.cinematic-mode .lesson-point b { font-size: 9px; }.cinematic-mode .lesson-point small { font-size: 8px; line-height: 1.3; }.cinematic-mode .concept-stats, .cinematic-mode .concept-file > h3, .cinematic-mode .objective-list { display: none; }.lesson-continue { margin-top: 10px; min-height: 44px; }.cinematic-mode .rule-unlock { display: none; padding: 12px 16px; justify-content: flex-start; }.cinematic-mode .dossier-layout.show-rule .concept-file { display: none; }.cinematic-mode .dossier-layout.show-rule .rule-unlock { display: flex; }.rule-topline { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-bottom: 8px; }.rule-topline .unlock-label { grid-column: 2; margin: 0; }.cinematic-mode .rule-card { width: min(390px, 100%); max-height: 42vh; aspect-ratio: 1.55; flex: 0 0 auto; }.cinematic-mode .card-front, .cinematic-mode .card-back { padding: 20px; }.cinematic-mode .card-front b { font-size: 46px; }.cinematic-mode .card-front em { font-size: clamp(25px, 5vh, 36px); }.cinematic-mode .card-back strong { font-size: clamp(22px, 4vh, 31px); }.cinematic-mode .card-back p { font-size: 10px; line-height: 1.35; }.cinematic-mode .demo-finish { margin-top: 12px; padding-top: 10px; }.cinematic-mode .demo-finish .eyebrow { margin-bottom: 4px; font-size: 7px; }.cinematic-mode .demo-finish h2 { font-size: 17px; }.cinematic-mode .demo-finish > p:not(.eyebrow) { margin: 6px 0; font-size: 9px; line-height: 1.35; }.cinematic-mode .finish-actions { margin-top: 8px; }.cinematic-mode .finish-actions .button { min-height: 42px; font-size: 9px; }
.cinematic-mode .question-layout { min-height: 0; flex: 1; margin: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 7px; }.cinematic-mode .question-memory { padding: 8px 12px; display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; gap: 2px 9px; align-items: center; }.cinematic-mode .question-memory .eyebrow, .cinematic-mode .memory-warning { display: none; }.cinematic-mode .memory-topic { width: 42px; height: 36px; grid-row: 1 / 3; }.cinematic-mode .question-memory h2 { margin: 0; font-size: 13px; }.cinematic-mode .question-memory > p:not(.eyebrow) { margin: 0; font-size: 9px; line-height: 1.3; }.cinematic-mode .exam-card { min-height: 0; padding: 12px 14px; position: relative; overflow: hidden; }.cinematic-mode .exam-head { padding-bottom: 6px; font-size: 8px; }.cinematic-mode .exam-card .eyebrow { margin: 8px 0 4px; font-size: 7px; }.cinematic-mode .exam-card h1 { margin-bottom: 8px; font-size: clamp(13px, 2.3vh, 18px); line-height: 1.3; }.cinematic-mode .exam-options { gap: 4px; margin-bottom: 7px; }.cinematic-mode .exam-option { min-height: 43px; padding: 6px 8px; grid-template-columns: 26px 1fr; gap: 7px; }.cinematic-mode .exam-option span { width: 23px; height: 23px; }.cinematic-mode .exam-option b { font-size: clamp(8px, 1.35vh, 10px); line-height: 1.28; }.cinematic-mode #gradeQuestionButton { min-height: 40px; }.cinematic-mode .question-feedback { margin: 0; padding: 12px; position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 5; grid-template-columns: 38px 1fr; gap: 8px; box-shadow: 0 -10px 35px rgba(0,0,0,.3); }.cinematic-mode .feedback-mark { width: 34px; height: 34px; font-size: 17px; }.cinematic-mode .question-feedback h2 { font-size: 13px; }.cinematic-mode .question-feedback p { font-size: 8px; line-height: 1.35; }.cinematic-mode .question-feedback .button { grid-column: 1 / -1; min-height: 40px; }

.cinematic-mode .finish-actions { flex-direction: row; }

@keyframes blink { 50% { opacity: .35; } }
@keyframes pulsebar { to { height: 35px; } }
@keyframes signal { to { opacity: .25; transform: scaleY(.55); } }
@keyframes nodepulse { 50% { box-shadow: 0 0 0 7px rgba(201,255,61,.07); } }

@media (max-width: 1050px) {
  .home-grid { grid-template-columns: 1fr 1fr; gap: 35px; }.floating-note { display: none; }.hero-visual { min-height: 470px; }
  .campaign-layout { grid-template-columns: 1fr; }.mission-panel { min-height: auto; }
  .stage-grid { grid-template-columns: .45fr 1fr; }.case-notes { grid-column: 1 / -1; }.case-notes dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }.case-notes dl div { border: 0; }
  .dossier-layout { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .topbar { height: 64px; grid-template-columns: 1fr auto; padding: 0 16px; }.day-chip { display: none; }.brand-button small { display: none; }.text-button { font-size: 10px; }
  .screen { min-height: calc(100vh - 64px); }.screen-home { padding: 42px 20px 25px; }.home-grid { display: flex; flex-direction: column; gap: 30px; }.hero-copy h1 { font-size: clamp(47px, 15vw, 72px); }.hero-lead { margin: 22px 0; }.hero-visual { width: 100%; min-height: 390px; }.tower { width: 92%; }.tower h2 { font-size: 54px; }
  .screen-map { padding: 30px 16px 60px; }.map-header { align-items: start; flex-direction: column; }.employee-card { width: 100%; }.status-grid { grid-template-columns: 1fr; }.acts { grid-template-columns: 1fr; }.act-card { min-height: 180px; }.mission-panel::before { display: none; }
  .screen-prologue { padding: 0; }.portrait-game { width: 100%; min-height: 600px; border: 0; }.prologue-clock { grid-template-columns: 1fr auto; }.prologue-clock small { display: none; }.prologue-layout { grid-template-columns: 1fr; }.prologue-copy h1 { font-size: 51px; }.inbox-panel { transform: none; }.campaign-preview { grid-template-columns: 1fr; margin-top: 25px; }.story-shell { grid-template-columns: 1fr; min-height: auto; }.story-copy h1 { font-size: 51px; }.story-narration { min-height: 0; }.story-dialogue { min-height: 0; }.story-actions { align-items: stretch; flex-direction: column; gap: 5px; }.story-actions .button { width: 100%; }.story-evidence { min-height: 410px; padding: 16px; transform: none; }.evidence-screen { padding: 19px; }.evidence-screen h2 { font-size: 31px; }.story-footer { align-items: flex-start; flex-direction: column; }.story-progress { width: 100%; }.story-progress i { flex: 1; }
  .screen-stage, .screen-diagnosis, .screen-dossier, .screen-question { padding: 15px 14px 45px; }.stage-topline { grid-template-columns: 1fr auto; }.stage-progress { display: none; }.stage-topline .case-number { grid-column: 2; }
  .stage-grid { display: flex; flex-direction: column; }.radio-panel { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }.radio-label, .signal-bars { display: none; }.portrait-face { width: 72px; height: 76px; font-size: 30px; }.portrait span { display: none; }.radio-panel blockquote { margin: 0; font-size: 13px; }.briefing-card { padding: 30px 22px; order: -1; }.briefing-card h1 { font-size: 50px; }.paper-row { grid-template-columns: 72px 1fr; }.case-notes dl { grid-template-columns: repeat(2, 1fr); }
  .diagnosis-wrap { margin-top: 3vh; }.diagnosis-choice { grid-template-columns: 38px 1fr; padding: 15px; }.diagnosis-result { grid-template-columns: 45px 1fr; }.diagnosis-result .button { grid-column: 1 / -1; }.result-icon { width: 42px; height: 42px; }
  .dossier-layout { grid-template-columns: 1fr; margin-top: 2vh; }.concept-file { padding: 38px 25px 28px; }.rule-unlock { padding: 34px 18px; }.rule-card { aspect-ratio: 1.25; }.card-front, .card-back { padding: 24px; }.finish-actions { flex-direction: column; }.finish-actions .button { width: 100%; }
  .question-layout { grid-template-columns: 1fr; margin-top: 2vh; }.question-memory { position: static; padding: 22px; }.question-memory h2 { font-size: 21px; }.exam-card { padding: 27px 19px; }.exam-card h1 { font-size: 20px; }.exam-option { grid-template-columns: 30px 1fr; padding: 12px; }.question-feedback { grid-template-columns: 42px 1fr; }.question-feedback .button { grid-column: 1 / -1; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
}
