/* Timeline Stars — blue motion art direction.
   Cobalt / sky / navy, with small lime selection accents. Game previews keep their UI tokens.
   Loaded after the functional component styles on the landing pages only. */
:root {
  --paper: #f7fbff;
  --ink: #102b57;
  --muted: #526784;
  --accent: #0955d5;
  --accent-bright: #1972ff;
  --action: #0955d5;
  --action-hover: #0742aa;
  --line: #b9d8f4;
  --surface-blue: #e5f3ff;
  --frame: #4b9aef;
  --night: #102b57;
  --accent-soft: #c0e5ff;
  --control-edge: #102b57;
  --sun: #dfff7e;
  --ice: #e5f3ff;
  --sky: #73d5ff;
  --cobalt: #1262ed;
  --radius-button: 0;
  --radius-card: 0;
  --header-height: 88px;
}
body { background: var(--paper); }
.wrap { width: min(1280px, calc(100% - 96px)); }
.section-pad { padding-block: 100px; }
h1, h2, h3 { letter-spacing: -.055em; }
h2 { font-size: clamp(34px, 3.8vw, 54px); line-height: 1.25; }
.eyebrow { letter-spacing: .12em; font-size: 11px; font-weight: 800; }
.section-description { line-height: 1.8; }
.button { border: 2px solid var(--ink); border-radius: 2px 16px 2px 16px; box-shadow: none; padding: 14px 23px; font-weight: 800; }
.button.primary { background: var(--action); box-shadow: 4px 4px 0 var(--ink); border-color: var(--ink); }
.button.primary:hover { background: var(--action-hover); box-shadow: 6px 6px 0 var(--ink); transform: translate(-2px, -2px); }
.button.secondary { color: var(--ink); background: var(--paper); box-shadow: none; }
.button.secondary:hover { background: var(--sun); }
.button.ink { border-color: var(--ink); }
.button:active { transform: translate(1px, 1px); box-shadow: none; }
.text-button { font-weight: 750; }
:focus-visible { outline-color: var(--accent); }
.site-header { height: var(--header-height); background: var(--paper); border-bottom: 2px solid var(--ink); backdrop-filter: none; }
.header-inner { width: min(1440px, calc(100% - 64px)); gap: 24px; }
.brand-lockup { gap: 12px; }
.brand-lockup .brand-symbol { width: 32px; height: 38px; }
.brand-lockup .brand-wordmark { width: 120px; }
#main-nav { gap: clamp(14px, 2vw, 30px); }
#main-nav a { display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 8px 0; font-size: 13px; font-weight: 750; }
.nav-index { font-size: 9px; line-height: 1; letter-spacing: .1em; color: var(--accent); }
.nav-index::before { content: attr(data-index); }
.header-actions .button { background: var(--sun); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); font-size: 12px; }
.header-actions .button:hover { background: #c7f458; }
.hero { background: var(--paper); overflow: clip; }
.hero::before { display: block; inset: 54px 0 60px 42%; opacity: 1; background: var(--cobalt); clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%); }
.hero::after { content: ''; position: absolute; pointer-events: none; z-index: -1; right: -40px; top: 110px; width: 47%; height: 360px; background: radial-gradient(circle, #fff9 1.5px, transparent 2px) 0 0 / 16px 16px; transform: skewY(-12deg); opacity: .42; }
.layout-review { border-bottom: 1px solid #102b5726; font-size: 10px; padding-block: 12px; color: var(--muted); }
.layout-review > span { color: var(--ink); }
.locale-switch a, .locale-switch span { border-radius: 0; }
.locale-switch [aria-current] { background: var(--ink); color: #fff; }
.hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.2fr); grid-template-rows: auto auto 1fr; min-height: 700px; padding-block: 42px 66px; }
.hero-brand { grid-column: 1; grid-row: 1; align-self: start; }
.hero-wordmark { width: 285px; }
.korean-logo { font-size: 11px; letter-spacing: .32em; margin-top: 10px; color: var(--ink); }
.hero-copy { grid-column: 1; grid-row: 2; margin-top: 36px; max-width: 510px; }
.hero-copy .eyebrow { color: var(--ink); font-size: 10px; letter-spacing: .04em; }
.tiny-star { color: var(--accent); }
.hero-copy h1 { font-size: clamp(32px, 3.2vw, 46px); line-height: 1.38; letter-spacing: -.06em; margin-top: 18px; }
.hero-hook { display: inline; background: var(--accent); color: white; box-decoration-break: clone; -webkit-box-decoration-break: clone; font-size: 16px; line-height: 2.4; padding: 6px 14px; font-weight: 800; }
.hero-copy h1 + .hero-hook { position: relative; top: 16px; }
.hero-copy .section-description { max-width: 390px; margin-top: 29px; font-size: 14px; line-height: 1.9; }
.hero-ctas { grid-column: 1; grid-row: 3; display: flex; flex-wrap: wrap; gap: 12px; align-self: start; margin-top: 27px; }
.hero-ctas .button { font-size: 14px; min-height: 60px; padding-inline: 20px; }
.hero-art { position: absolute; grid-area: auto; top: 92px; right: -14px; width: 58%; height: 500px; margin: 0; border: 2px solid var(--ink); background: white; padding: 10px; transform: rotate(-6deg); translate: var(--look-x, 0px) var(--look-y, 0px); z-index: 0; box-shadow: 10px 14px 0 #073a91; transition: translate .35s ease-out; }
.hero-art::before { content: ''; position: absolute; z-index: -1; inset: -24px 14px 10px -18px; background: var(--sky); border: 2px solid var(--ink); transform: rotate(12deg); }
.hero-art::after { content: ''; position: absolute; right: -20px; top: 24px; width: 70px; height: 18px; background: var(--sun); transform: rotate(-28deg); box-shadow: 0 26px 0 var(--sun); }
.hero-art .keyart { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 58% center; mix-blend-mode: normal; mask-image: none; border: 1px solid #102b5738; }
.dm-notification { right: 32px; bottom: 64px; max-width: 335px; border: 2px solid var(--ink); background: var(--paper); box-shadow: 5px 5px 0 var(--ink); border-radius: 0; transform: rotate(3deg); padding: 14px 18px; }
.dm-notification img { width: 48px; height: 48px; border-radius: 0; border: 1px solid var(--ink); }
.dm-notification small { color: var(--muted); }
.dm-notification strong { color: var(--ink); }
.release-notice.wrap { position: relative; width: 100%; margin: 0; border: 0; border-radius: 0; padding: 24px max(48px, calc((100vw - 1280px) / 2)); background: var(--ink); color: white; }
.release-notice::before { content: ''; position: absolute; inset: -12px 0 auto; height: 13px; background: var(--sky); clip-path: polygon(0 75%, 100% 0, 100% 100%, 0 100%); }
.release-date { gap: 10px 22px; }
.release-date time { color: var(--sun); font-size: 29px; }
.release-title strong { font-size: 15px; }
.release-status { color: var(--ink); background: var(--sun); border-radius: 0; padding: 3px 7px; }
.release-detail { color: #d6e8ff; max-width: 390px; font-size: 12px; }
.hero-bottom { position: relative; background: var(--paper); border-top: 0; min-height: 62px; font-size: 12px; }
.hero-bottom > span { color: var(--ink); }
.hero-bottom a { text-transform: uppercase; }
.landing-hooks { background: var(--ice); border-block: 1px solid var(--line); }
.hook-grid { align-items: stretch; gap: 22px; counter-reset: hook; padding-block: 44px; }
.hook-item, .hook-item:first-child, .hook-item:last-child { counter-increment: hook; position: relative; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--ink); border-radius: 3px 26px 3px 26px; background: var(--paper); box-shadow: 4px 5px 0 #102b5726; }
.hook-item:nth-child(2) { background: #d1edff; transform: translateY(-8px); }
.hook-item::before { content: '0' counter(hook); position: absolute; right: 24px; top: 28px; font-family: var(--font-title); font-size: 36px; line-height: 1; color: #426b9b; letter-spacing: -.08em; font-style: italic; }
.hook-item::after { content: ''; position: absolute; right: -6px; top: 90px; width: 12px; height: 12px; border: 1px solid var(--ink); border-radius: 50%; background: var(--ice); clip-path: inset(0 5px 0 0); }
.hook-icon { display: block; width: 54px; height: 54px; padding: 10px; margin-bottom: 20px; background: white; border: 1px solid var(--line); border-radius: 15px 3px 15px 3px; }
.hook-item .eyebrow { font-size: 9px; color: var(--muted); }
.hook-item h2 { font-size: 23px; margin-top: 12px; line-height: 1.45; }
.hook-description { font-size: 12px; line-height: 1.8; margin-top: 12px; }
.hook-item .text-button { font-size: 12px; margin-top: auto; padding-top: 18px; color: var(--ink); }
.hook-item .text-button > span { display: grid; place-items: center; margin-left: auto; width: 32px; height: 32px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); background: white; }
.hook-item .text-button:hover > span { background: var(--accent); color: white; }
.world-intro { position: relative; isolation: isolate; background: var(--paper); overflow: clip; }
.world-intro::before { content: ''; position: absolute; z-index: -1; inset: 0 0 0 46%; background: #c9ecff; clip-path: polygon(27% 0, 100% 0, 100% 100%, 0 100%); }
.world-intro::after { content: ''; position: absolute; z-index: -1; right: -90px; top: 25px; width: 340px; height: 340px; border: 1px solid #74b5e7; border-radius: 50%; box-shadow: 0 0 0 35px #a0d8ff55, 0 0 0 70px #a0d8ff44; pointer-events: none; }
.world-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 64px; }
.world-logo { background: var(--ink); border: 0; border-radius: 2px 14px 2px 14px; padding: 15px 20px; margin-bottom: 28px; transform: rotate(-3deg); }
.world-logo .devilive-mark { width: 225px; }
.world-lead { display: table; max-width: 100%; padding: 7px 12px; border: 1px solid var(--ink); background: var(--sun); color: var(--ink); font-size: 14px; font-weight: 800; line-height: 1.75; box-shadow: 3px 3px 0 var(--ink); transform: rotate(-2deg); }
.world-intro .eyebrow { color: var(--ink); }
.world-intro h2 { font-size: clamp(38px, 4.4vw, 62px); line-height: 1.18; color: var(--accent); margin-top: 27px; }
.world-copy { margin-top: 26px; font-size: 14px; line-height: 1.9; color: #3f5e7c; }
.world-links { gap: 0 24px; }
.world-copy .text-button { font-size: 12px; margin-top: 13px; }
.concept-figure { min-width: 0; background: var(--paper); border: 2px solid var(--ink); padding: 10px; }
.concept-figure > img { width: 100%; height: auto; }
.concept-figure figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 3px 10px; padding-top: 8px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.concept-figure figcaption a { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; text-decoration: underline; text-underline-offset: 3px; color: var(--accent); }
.world-scene { min-width: 0; padding: 12px; background: var(--paper); border: 2px solid var(--ink); border-radius: 3px 24px 3px 24px; box-shadow: 11px 13px 0 var(--accent); transform: rotate(2deg); }
.world-scene-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 13px; background: var(--ink); color: white; font-size: 10px; letter-spacing: .12em; font-weight: 800; border-radius: 2px 12px 0 0; }
.world-scene-bar i { width: 52px; height: 9px; background: repeating-linear-gradient(115deg, var(--sun) 0 7px, transparent 7px 12px); }
.studio-illustration { box-shadow: none; transform: none; padding: 0; border: 0; }
.studio-illustration figcaption { padding: 7px 3px; }
.world-roster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; border-top: 1px dashed #91b8db; padding-top: 13px; }
.world-roster a { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 3px; align-items: center; color: var(--ink); font-size: 12px; font-weight: 800; transition: transform .2s ease; }
.roster-portrait { position: relative; display: block; grid-column: 1 / -1; border: 2px solid var(--ink); border-radius: 2px 10px 2px 10px; overflow: hidden; background: var(--ice); }
.roster-portrait img { width: 100%; aspect-ratio: 1.3; height: auto; object-fit: cover; }
.roster-portrait > span { position: absolute; bottom: 0; left: 0; padding: 3px 7px; background: var(--ink); color: white; font-size: 10px; }
.world-roster a:hover { transform: translateY(-4px); }
.world-roster a:hover .roster-portrait { border-color: var(--accent); }
.world-roster a > span:last-child { color: var(--accent); }
.characters { position: relative; isolation: isolate; overflow: clip; background: var(--cobalt); color: var(--paper); padding-bottom: 100px; }
.characters::before { content: ''; position: absolute; inset: 35% 0 0; z-index: -1; background: var(--ink); clip-path: polygon(0 35%, 100% 0, 100% 100%, 0 100%); }
.characters::after { content: ''; position: absolute; top: 35px; right: -55px; width: 34%; height: 180px; z-index: -1; background: repeating-linear-gradient(120deg, transparent 0 36px, #ffffff20 36px 44px); }
.characters > .wrap { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 38px 24px; }
.character-heading { grid-column: 1 / -1; }
.characters .eyebrow { color: var(--sun); }
.character-heading h2 { font-size: clamp(36px, 4.3vw, 62px); }
.character-heading > p:last-child { color: #ecf5ff; max-width: 330px; }
.character-tabs { display: flex; flex-direction: column; align-self: start; margin: 0; border: 0; gap: 12px; }
.character-tabs button { position: relative; display: grid; grid-template-columns: 64px 1fr; padding: 13px 10px; gap: 10px; border: 2px solid #8dc8ff; border-radius: 2px 18px 2px 18px; color: white; min-height: 94px; background: #093d93; transition: background .2s, transform .2s; }
.character-tabs img { width: 64px; height: 64px; border: 2px solid white; border-radius: 2px 12px 2px 12px; filter: none; }
.cast-slot { position: absolute; right: 9px; top: 6px; font-style: normal; font-size: 9px; letter-spacing: .1em; color: #d4eaff; }
.character-tabs [aria-selected="true"] .cast-slot { color: var(--ink); }
.character-tabs button > span:first-of-type { font-size: 13px; }
.character-tabs button > span:last-child { display: none; }
.character-tabs button::after { display: none; }
.character-tabs [aria-selected="true"]::after { display: block; content: ''; position: absolute; left: auto; right: 10px; bottom: 11px; width: 0; height: 0; background: transparent; transform: none; transition: none; border-block: 4px solid transparent; border-left: 6px solid var(--ink); }
.character-tabs [aria-selected="true"] { color: var(--ink); background: var(--sun); border-color: var(--sun); transform: translateX(9px) rotate(-3deg); box-shadow: 4px 5px 0 #061f4c; }
.character-tabs button:hover { border-color: var(--sun); }
.character-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 590px; margin: 0; background: var(--paper); border: 4px solid #d2edff; border-radius: 2px 26px 2px 26px; overflow: clip; color: var(--ink); box-shadow: 10px 12px 0 #071d48; }
.character-art { position: relative; grid-column: 1; grid-row: 1; inset: auto; height: 100%; min-height: 590px; }
.character-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.character-veil { display: none; }
.character-watermark { display: none; }
.character-info { position: relative; grid-column: 2; grid-row: 1; width: auto; padding: 42px 28px 108px; background: linear-gradient(135deg, transparent 75%, #d4edff 75%) right top / 110px 110px no-repeat, var(--paper); }
.character-info::before { content: ''; position: absolute; inset: 0 auto 0 -28px; width: 29px; background: var(--paper); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.character-index { color: var(--muted); font-size: 11px; letter-spacing: .04em; padding-bottom: 16px; border-bottom: 1px dashed #8fb6db; }
.character-index > span:first-child { color: var(--accent); font-size: 38px; font-style: italic; }
.character-index > span:last-child { margin-left: auto; font-size: 9px; background: var(--ink); color: white; padding: 6px 9px; border-radius: 3px; letter-spacing: .12em; }
.character-info h3 { color: var(--ink); font-size: clamp(34px, 3.5vw, 50px); margin-top: 30px; }
.character-info h3::after { content: ''; display: block; width: 52px; height: 5px; margin-top: 13px; background: var(--accent); transform: skewX(-25deg); box-shadow: 13px 0 0 var(--sky); }
.character-info .character-traits { margin-top: 24px; }
.character-info .character-traits li { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); background: white; border: 1px solid #94bce0; border-radius: 3px 10px 3px 10px; padding: 6px 10px; font-size: 11px; }
.character-info .character-traits li::before { content: ''; flex-shrink: 0; width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); }
.character-info .character-traits li:first-child { background: var(--character-accent, var(--ice)); border-color: var(--character-accent, var(--line)); }
.character-intro { color: #455e80; font-size: 14px; line-height: 1.95; margin-top: 22px; }
.character-media .voice-pending { color: var(--muted); }
.character-x { background: var(--ink); border-color: var(--ink); color: white; border-radius: 0; box-shadow: none; width: 100%; margin-top: 25px; font-size: 12px; padding-inline: 15px; }
.character-x:hover { background: var(--accent); box-shadow: none; }
.character-share { color: var(--accent); font-size: 11px; }
.character-controls { left: calc(50% + 28px); right: 28px; bottom: 25px; justify-content: space-between; }
.character-controls button { color: var(--ink); background: var(--sun); border: 1px solid var(--ink); border-radius: 0; }
.character-controls button:hover { background: var(--ice); }
.character-controls > span { color: var(--ink); }
.character-info .share-status { color: var(--accent); }
.characters .section-ornament { display: none; }
.characters .character-panel :focus-visible { outline-color: var(--accent); }
.voice { background: var(--ice); border-bottom: 2px solid var(--ink); padding-block: 44px; }
.voice h2 { font-size: 28px; }
.voice-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 60px; }
.voice-list { gap: 0 26px; }
.voice-row { background: transparent; border: 0; border-top: 1px solid #91b8d7; border-radius: 0; padding: 16px 0; }
.voice-soon { background: transparent; color: #496786; padding-inline: 0; }
.voice-avatar { border-radius: 0; }
.moment { position: relative; isolation: isolate; overflow: clip; background: var(--accent); color: white; }
.moment::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--cobalt); clip-path: polygon(72% 0, 100% 0, 100% 100%, 33% 100%); }
.moment-grid { grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); gap: 40px; }
.moment-preview { min-width: 0; width: 100%; }
.moment-grid[data-scene="schedule"] .moment-preview { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 18px; padding: 18px; background: #c9ecff; border: 2px solid var(--ink); border-radius: 3px 28px 3px 28px; box-shadow: 8px 10px 0 #092c70; }
.moment-grid[data-scene="schedule"] .phone-stage { padding: 0; }
.moment-grid[data-scene="schedule"] .phone-stage::before, .moment-grid[data-scene="schedule"] .phone-stage::after { display: none; }
.moment-grid[data-scene="schedule"] .phone { width: min(360px, 100%); box-shadow: 5px 6px 0 #8fc6ee; }
.moment h2 { font-size: clamp(32px, 2.8vw, 40px); line-height: 1.38; }
.moment-copy > .eyebrow { color: var(--sun); }
.chat-feature { border-color: var(--sun); color: #e5f3ff; padding-left: 18px; font-size: 14px; }
.chat-feature-title { color: white; font-size: 16px; }
.moment-copy > .section-description { color: #e5f3ff; font-size: 14px; }
.scene-tabs { display: grid; gap: 0; max-width: none; margin-top: 30px; border: 0; }
.scene-tabs button, .scene-tabs button:last-child { color: white; background: transparent; border: 0; border-top: 1px solid #81baff; border-radius: 0; padding: 18px 0; }
.scene-tabs strong { font-size: 18px; }
.scene-tabs small, .step-number, .step-arrow { color: #e5f3ff; }
.scene-tabs button[aria-selected="true"] { color: var(--ink); background: var(--sun); padding-inline: 16px; border-color: var(--sun); border-radius: 2px 22px 2px 22px; transform: translateX(8px); }
.scene-tabs [aria-selected="true"] small, .scene-tabs [aria-selected="true"] .step-number, .scene-tabs [aria-selected="true"] .step-arrow { color: var(--ink); }
.moment .autoplay, .moment .play-icon, .moment .scene-note, .moment-links a { color: #e5f3ff; }
.moment .autoplay [data-auto-state] { background: #e5f3ff; color: var(--ink); border-radius: 0; }
.moment .autoplay[aria-pressed="true"] [data-auto-state] { background: var(--sun); }
.moment-copy :focus-visible { outline-color: var(--sun); }
.moment-links .text-button { font-size: 12px; }
.phone-stage { padding: 30px 0; }
.phone-stage::before { content: ''; position: absolute; inset: 7% -3% 7% 0; background: var(--sky); border: 2px solid var(--ink); transform: rotate(10deg); }
.phone-stage::after { content: ''; position: absolute; z-index: 0; left: -7%; bottom: 7%; width: 90px; height: 14px; background: var(--sun); transform: rotate(-22deg); box-shadow: 0 23px 0 var(--sun); pointer-events: none; }
.phone-stage .orbit, .phone-stage .stage-star { display: none; }
.phone { position: relative; z-index: 1; border-color: var(--ink); box-shadow: 12px 14px 0 #092c70; color: #253646; }
/* Source game UI remains blue and neutral inside the working previews. */
.phone, .schedule-demo, #moment-schedule-guide {
  --paper: #fcfcfc; --ink: #253646; --muted: #5c6874; --accent: #075caa;
  --action: #176bb5; --action-hover: #115a9b; --line: #cfe8ff;
  --surface-blue: #edf6ff; --frame: #6eb8ff; --accent-soft: #a9d1f6;
  --accent-bright: #3ca0ff; --accent-fill: #40a2ff; --accent-base: #388bdb;
  --radius-button: 4px 12px 4px 12px; --radius-card: 4px 16px 4px 16px;
}
.phone .button { border-width: 1px; border-radius: var(--radius-button); box-shadow: none; }
#moment-schedule-guide { position: relative; color: var(--ink); max-width: none; margin: 0; background: #f7fbff; border: 2px solid #102b57; border-radius: 3px 18px 3px 18px; }
#moment-schedule-guide::before { content: ''; position: absolute; left: -13px; top: 50%; width: 22px; height: 22px; background: #f7fbff; border-left: 2px solid #102b57; border-bottom: 2px solid #102b57; transform: rotate(45deg); }
.schedule-guide-heading { padding: 18px 16px 0; }
.schedule-guide-heading > span { display: inline-block; padding: 4px 7px; background: #102b57; color: #dfff7e; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.schedule-guide-heading h3 { font: 800 19px/1.5 var(--font-body); margin-top: 10px; color: #102b57; }
.schedule-guide-heading p { color: #3f5e7c; font-size: 12px; line-height: 1.8; margin-top: 7px; }
#moment-schedule-guide .demo-panel { padding: 16px; border: 0; background: transparent; }
.sched-linked-summary { display: flex; align-items: center; gap: 9px; padding: 10px 0; margin-bottom: 14px; border-block: 1px dashed #91b8db; }
.sched-linked-avatar { width: 36px; height: 40px; border-radius: 3px 10px 3px 10px; object-fit: cover; }
.sched-linked-summary > div { min-width: 0; flex: 1; }
.sched-linked-summary .sched-linked-avatar { align-self: flex-start; margin-top: 4px; flex-shrink: 0; }
.sched-plan-entry { display: block; width: 100%; min-height: 36px; padding: 6px 8px; margin-top: 5px; border: 1px solid #b4cfe6; background: white; color: #075caa; font: 600 11px/1.6 var(--font-body); text-align: left; border-radius: 2px 8px 2px 8px; }
.sched-plan-entry[aria-pressed="true"] { background: #dcefff; border-color: #075caa; box-shadow: inset 3px 0 #075caa; }
.sched-linked-summary strong, .sched-linked-summary span { display: block; font-size: 11px; line-height: 1.7; }
.sched-linked-summary span { color: #075caa; margin-top: 2px; }
#moment-schedule-guide .sched-activity-picker { grid-template-columns: minmax(0, 1fr); gap: 8px; }
#moment-schedule-guide .sched-activity-card { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 3px 8px; text-align: left; }
#moment-schedule-guide .sched-activity-card .sched-icon { grid-row: 1 / 3; align-self: center; }
#moment-schedule-guide .sched-activity-card > span { grid-column: 2; }
#moment-schedule-guide .demo-actions .button { border-width: 1px; border-radius: var(--radius-button); box-shadow: none; min-height: 44px; }
.diorama { background: var(--paper); border: 0; }
.diorama-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; }
.diorama-copy h2 { font-size: clamp(34px, 3.5vw, 50px); line-height: 1.35; }
.diorama-view { border-radius: 0; border: 0; box-shadow: none; background: var(--ice); }
.diorama-action { background: var(--ink); color: white; border: 0; border-radius: 0; }
.diorama-figure figcaption { color: var(--muted); font-size: 11px; }
.play { background: var(--ice); border-block: 2px solid var(--ink); }
.play-description { max-width: 650px; }
.loop { background: var(--paper); border: 2px solid var(--ink); border-radius: 0 24px 0 24px; box-shadow: 8px 8px 0 var(--ink); overflow: clip; }
.loop-tabs { background: #d6ecff; border: 0; border-bottom: 1px solid #83b4e0; gap: 12px; padding: 18px; overflow: visible; }
.loop-tabs [role="tab"] { color: var(--ink); background: var(--paper); border: 1px solid #84afd7; border-radius: 3px 16px 3px 16px; padding: 15px 12px; grid-template-columns: 42px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 12px; justify-items: start; text-align: left; }
.loop-tabs [role="tab"] + [role="tab"]::before { display: none; }
.loop-tabs [role="tab"]:hover { color: var(--ink); background: #c5e7ff; }
.loop-tabs .loop-number { grid-row: 1 / 3; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--accent); border-radius: 50%; background: white; color: var(--accent); font-size: 19px; letter-spacing: -.06em; }
.loop-tabs small { grid-column: 2; color: var(--muted); font-size: 11px; margin-bottom: 0; text-wrap: pretty; }
.loop-tabs [role="tab"][aria-selected="true"] { color: white; background: var(--ink); border-color: var(--ink); box-shadow: 3px 3px 0 var(--accent); border-radius: 3px 16px 3px 16px; }
.loop-tabs [aria-selected="true"] .loop-number { color: var(--ink); background: var(--sun); border-color: var(--sun); }
.loop-tabs [aria-selected="true"] small { color: #e5f3ff; }
.loop-panel { padding: 45px; gap: 45px; }
.loop-copy h3 { font-size: clamp(25px, 2.6vw, 35px); }
.loop-copy > .eyebrow { display: inline-flex; padding: 7px 13px; background: var(--accent); color: white; border-radius: 2px 12px 2px 12px; box-shadow: 3px 3px 0 var(--sky); }
.loop-pager > span { padding: 8px 13px; background: var(--ink); color: white; border-radius: 3px; letter-spacing: .08em; }
.loop-visual .concept-figure { border: 0; padding: 0; background: transparent; }
.loop .screen-button { background: #c8e7ff; border: 2px solid var(--ink); border-radius: 3px 18px 3px 18px; box-shadow: 4px 5px 0 var(--accent); }
.loop .screen-caption { background: var(--ink); color: white; }
.loop .screen-caption b { color: var(--sun); }
.loop .round-button { border: 2px solid var(--ink); color: var(--ink); border-radius: 50%; background: white; }
.session { border: 0; border-block: 2px solid var(--ink); border-radius: 0; background: transparent; padding: 32px 0; margin-top: 55px; }
.session-steps { position: relative; gap: 0; margin-top: 32px; counter-reset: session; }
.session-steps::before { content: ''; position: absolute; height: 2px; background: #89b8e0; top: 14px; left: 32px; right: 32px; }
.session-steps li, .session-steps li:first-child { counter-increment: session; padding: 44px 18px 0; background: transparent; border: 0; border-radius: 0; }
.session-steps li::before { content: counter(session); position: absolute; top: 0; left: 18px; display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid var(--accent); border-radius: 50%; background: var(--paper); color: var(--accent); font-size: 12px; font-weight: 800; }
.session-steps li::after { display: none; }
.session-time { color: var(--accent); font-size: 11px; width: fit-content; background: white; border: 1px solid #a4c8e8; border-radius: 4px; padding: 4px 7px; margin-bottom: 5px; }
.schedule-system { border: 0; }
.schedule-heading h3 { font-size: clamp(30px, 3vw, 42px); }
.schedule-more, .schedule-reference { border-radius: 0; }
.register { position: relative; isolation: isolate; background: #d9efff; overflow: clip; }
.register::before { content: ''; position: absolute; z-index: -1; inset: 0; background: var(--sky); clip-path: polygon(75% 0, 100% 0, 100% 100%, 39% 100%); }
.register-grid { align-items: start; gap: 100px; }
.register h2 { font-size: clamp(36px, 4vw, 56px); line-height: 1.25; }
.register .eyebrow { color: var(--ink); }
.register-star { display: none; }
.register .section-description { color: #3f5e7c; }
.registration-count { border-radius: 3px 18px 3px 18px; background: #f7fbff; border: 1px solid #80add4; border-left: 5px solid var(--accent); padding: 20px; }
.register-rewards { border: 0; border-radius: 0; background: transparent; max-width: none; padding: 0; margin-top: 30px; }
.register-rewards h3 { font-size: 15px; color: var(--ink); }
.register-rewards li { --ticket-stub: 116px; grid-template-columns: var(--ticket-stub) minmax(0, 1fr); align-items: stretch; gap: 0; border: 1px solid #7cadd4; border-radius: 3px; background: var(--paper); padding: 0; min-height: 80px; mask: radial-gradient(circle at var(--ticket-stub) 0, transparent 6px, #000 6.5px) top / 100% 51% no-repeat, radial-gradient(circle at var(--ticket-stub) 100%, transparent 6px, #000 6.5px) bottom / 100% 51% no-repeat; }
.register-rewards li > span { display: flex; align-items: center; justify-content: center; text-align: center; text-wrap: balance; padding: 14px 12px; background: var(--ink); color: white; font-weight: 800; border-right: 1px dashed var(--sky); }
.register-rewards li > strong { align-self: center; padding: 14px 18px; font-size: 15px; line-height: 1.6; }
.register-rewards .reward-items { margin: 0; gap: 5px; padding: 10px 16px; align-content: center; }
.register-rewards .reward-item { gap: 4px; }
.register-rewards .reward-item img { width: 36px; height: 36px; object-fit: contain; }
.register-rewards .reward-item, .register-rewards p { color: #3f5e7c; }
.inline-form { background: var(--paper); border: 2px solid var(--ink); border-top: 8px solid var(--accent); border-radius: 0 30px 0 30px; padding: 40px; box-shadow: 10px 10px 0 var(--accent); }
.preview-badge { border-radius: 0; color: var(--ink); background: var(--ice); }
input[type="email"] { border-color: #6589ad; border-radius: 0; }
.media { background: var(--paper); }
.media-heading-symbol { color: var(--accent); }
.media-filters { gap: 0; border-bottom: 2px solid var(--ink); }
.media-filters button { border: 0; border-radius: 0; background: transparent; color: var(--ink); padding-inline: 26px; }
.media-filters button[aria-pressed="true"] { background: var(--ink); color: white; }
.media-card { border: 2px solid var(--ink); border-radius: 0; box-shadow: none; }
.media-poster { background: var(--ice); }
.media-symbol { color: var(--accent); }
.media-badge { border-radius: 0; background: var(--ink); }
.media-empty { border-color: #7292b5; border-radius: 0; }
.community { background: var(--ice); border-block: 2px solid var(--ink); }
.community h2 { font-size: clamp(32px, 3.3vw, 46px); }
.official-account { border-color: #749bc5; }
.community-accounts li { border-color: #90b7d7; }
.info { background: var(--paper); border: 0; }
.info-table { border: 0; border-block: 2px solid var(--ink); background: transparent; border-radius: 0; }
.info-row { padding-inline: 0; border-color: #b2cfe8; }
.info-status { border-radius: 0; }
.faq { background: var(--paper); border-top: 1px solid var(--ink); }
.faq-items { border-top: 2px solid var(--ink); }
.faq details { border-color: #aac9e2; }
.faq summary { font-size: 17px; }
.site-footer { background: var(--ink); border: 0; color: white; }
.site-footer p, .site-footer small { color: #cce4ff; }
.site-footer a { color: white; }
.site-footer .locale-switch [aria-current] { background: var(--sun); color: var(--ink); }
.company-icon { background: white; }
.dialog { border: 2px solid var(--ink); border-radius: 0; background: var(--paper); }
.dialog-close { border: 1px solid var(--ink); border-radius: 0; }
.mobile-cta { background: var(--paper); border-top: 2px solid var(--ink); }
.mobile-cta .button { border-radius: 0; box-shadow: none; }
/* Angled marks belong to the site shell, never the playable UI. */
.world-story > div > .eyebrow::before, .character-heading > .eyebrow::before,
.moment-copy > .eyebrow::before, .register .eyebrow::before {
  content: ''; display: inline-block; vertical-align: -2px; width: 20px; height: 11px;
  margin-right: 10px; background: currentColor; transform: skewX(-25deg);
}
.hero-ctas .button > span:last-child, .header-actions .button > span:last-child,
.character-controls button, .scene-tabs button { transition: transform .22s ease, background .22s ease; }
.hero-ctas .button:hover > span:last-child, .header-actions .button:hover > span:last-child { transform: translate(3px, -3px); }
.character-controls button:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: no-preference) {
  .hero-art .keyart { animation: keyart-arrive .85s cubic-bezier(.2,.75,.2,1) both; }
  .character-art img { animation: cast-arrive .48s cubic-bezier(.2,.75,.2,1) both; }
  .hero-bottom a span { animation: scroll-nudge 1.5s ease 2; }
}
@keyframes keyart-arrive { from { opacity: .5; transform: translate(28px, -10px) scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes cast-arrive { from { opacity: .4; transform: translateX(-24px) scale(1.025); } to { opacity: 1; transform: none; } }
@keyframes scroll-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (min-width: 1600px) {
  .hero-grid { min-height: 760px; padding-top: 60px; }
  .hero-art { top: 105px; height: 535px; right: -30px; }
}
@media (max-width: 1100px) {
  :root { --header-height: 74px; }
  .header-inner { width: calc(100% - 48px); }
  #main-nav { background: var(--paper); border-color: var(--ink); }
  #main-nav a { flex-direction: row; justify-content: flex-start; align-items: center; gap: 16px; font-size: 15px; }
  .nav-index { font-size: 10px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 680px; }
  .hero-wordmark { width: 230px; }
  .hero-copy h1 { font-size: 36px; }
  .hero-copy .section-description { max-width: 330px; }
  .hero-art { width: 51%; height: 440px; top: 110px; right: -10px; }
  .hero-ctas .button { padding-inline: 14px; font-size: 12px; }
  .dm-notification { right: 0; bottom: 60px; max-width: 275px; }
  .hook-grid { gap: 16px; }
  .hook-item, .hook-item:first-child, .hook-item:last-child { padding: 22px; }
  .hook-item h2 { font-size: 21px; }
  .world-grid { gap: 40px; }
  .world-logo .devilive-mark { width: 210px; }
  .world-intro h2 { font-size: 43px; }
  .world-lead { font-size: 12px; }
  .world-scene { padding: 9px; box-shadow: 7px 9px 0 var(--accent); }
  .world-roster { gap: 7px; }
  .world-roster a { font-size: 10px; }
  .characters > .wrap { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .character-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .character-tabs [aria-selected="true"] { transform: translateY(-3px); }
  .character-info { padding-inline: 30px; }
  .character-controls { left: calc(50% + 30px); }
  .moment-grid, .moment-grid[data-scene="schedule"] { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .moment-copy, .moment-grid[data-scene="schedule"] .moment-copy, .moment-preview { max-width: 760px; width: 100%; margin-inline: auto; }
  .moment h2 { font-size: 34px; }
  .voice-grid { gap: 28px; }
  .register-grid { gap: 50px; }
  .inline-form { padding: 28px; }
  .loop-tabs [role="tab"] { grid-template-columns: minmax(0, 1fr); grid-template-rows: 42px auto 1fr; justify-items: center; text-align: center; }
  .loop-tabs .loop-number { grid-row: auto; }
  .loop-tabs small { grid-column: 1; }
  .session-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .session-steps li, .session-steps li:first-child { padding-inline: 10px; }
  .session-steps li::before { left: 10px; }
  .session-steps::before { left: 24px; right: 24px; }
  .register-rewards li { --ticket-stub: 92px; }
  .register-rewards li > strong { padding: 12px; font-size: 14px; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .hero::before { inset: 210px 0 auto; height: 450px; clip-path: polygon(0 27%, 100% 0, 100% 74%, 0 100%); }
  .hero::after { top: 220px; width: 70%; height: 290px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(5, auto); min-height: 0; text-align: center; padding-block: 30px; }
  .hero-wordmark { margin-inline: auto; }
  .hero-art { position: relative; inset: auto; grid-column: 1; grid-row: 2; width: 85%; height: auto; aspect-ratio: 1.77; margin: 48px auto 20px; transform: rotate(-2deg); }
  .hero-copy { grid-column: 1; grid-row: 3; max-width: none; margin-top: 24px; }
  .hero-copy .section-description { max-width: 510px; margin-inline: auto; }
  .hero-ctas { grid-column: 1; grid-row: 4; justify-content: center; }
  .dm-notification { position: relative; inset: auto; grid-column: 1; grid-row: 5; width: fit-content; max-width: 400px; margin: 28px auto 10px; text-align: left; transform: none; }
}
@media (max-width: 700px) {
  :root { --header-height: 66px; }
  .wrap { width: calc(100% - 40px); }
  .section-pad { padding-block: 64px; }
  .header-inner { width: calc(100% - 32px); gap: 14px; }
  .brand-lockup { gap: 7px; }
  .brand-lockup .brand-wordmark { width: 91px; }
  .brand-lockup .brand-symbol { width: 23px; height: 29px; }
  .header-actions .button { padding: 8px 10px; font-size: 10px; }
  .layout-review { padding-block: 9px; font-size: 9px; gap: 4px 8px; }
  .layout-review .locale-switch { margin-left: 0; width: 100%; justify-content: flex-end; font-size: 10px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(5, auto); text-align: left; min-height: 0; padding-block: 24px 32px; }
  .hero::before { inset: 235px 0 auto; height: calc((100vw - 50px) / 1.55 + 35px); clip-path: polygon(0 22%, 100% 0, 100% 78%, 0 100%); }
  .hero::after { top: 230px; width: 70%; height: 200px; }
  .hero-brand { grid-column: 1; grid-row: 1; }
  .hero-wordmark { width: 200px; margin: 0; }
  .korean-logo { font-size: 9px; margin-top: 7px; }
  .hero-art { position: relative; inset: auto; grid-column: 1; grid-row: 2; width: calc(100% - 10px); height: auto; aspect-ratio: 1.55; margin: 40px 0 25px 8px; transform: rotate(-4deg); padding: 5px; }
  .hero-art::before { inset: -15px 10px 10px -8px; transform: rotate(8deg); }
  .hero-art::after { right: -10px; top: 13px; width: 40px; height: 9px; box-shadow: 0 16px 0 var(--sun); }
  .hero-copy { grid-column: 1; grid-row: 3; max-width: none; margin-top: 9px; }
  .hero-copy .eyebrow { font-size: 9px; }
  .hero-copy h1 { font-size: clamp(27px, 7.6vw, 36px); line-height: 1.4; margin-top: 12px; }
  .hero-hook { font-size: 13px; }
  .hero-copy h1 + .hero-hook { top: 12px; }
  .hero-copy .section-description { max-width: 100%; font-size: 13px; margin: 23px 0 0; }
  .hero-ctas { grid-column: 1; grid-row: 4; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 25px; }
  .hero-ctas .button { min-height: 56px; width: 100%; font-size: 12px; padding: 12px 8px; gap: 6px; }
  .dm-notification { position: relative; inset: auto; grid-column: 1; grid-row: 5; max-width: none; width: 100%; margin: 24px 0 0; transform: none; padding: 12px; box-shadow: 3px 3px 0 var(--ink); }
  .dm-notification img { width: 40px; height: 40px; }
  .release-notice.wrap { padding: 23px 20px; gap: 10px; }
  .release-date time { font-size: 25px; }
  .release-title strong { font-size: 13px; }
  .release-detail { font-size: 11px; }
  .hero-bottom { min-height: 52px; }
  .hook-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 28px; }
  .hook-item, .hook-item:first-child, .hook-item:last-child { padding: 22px 20px; }
  .hook-item:nth-child(2) { transform: none; }
  .hook-item::before { top: 26px; right: 22px; font-size: 32px; }
  .hook-icon { width: 46px; height: 46px; padding: 8px; margin-bottom: 16px; }
  .hook-item + .hook-item { border: 1px solid var(--ink); }
  .hook-item h2 { font-size: 22px; margin-top: 8px; }
  .hook-description { margin-top: 9px; font-size: 12px; }
  .world-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .world-logo { margin-bottom: 22px; }
  .world-logo .devilive-mark { width: 205px; }
  .world-intro h2 { font-size: clamp(36px, 10vw, 46px); }
  .world-lead { font-size: 12px; }
  .world-scene { transform: none; box-shadow: 5px 6px 0 var(--accent); }
  .world-scene-bar { font-size: 9px; }
  .world-roster a { font-size: 10px; }
  .roster-portrait > span { font-size: 8px; padding: 2px 5px; }
  .world-copy { font-size: 14px; margin-top: 22px; }
  .studio-illustration { box-shadow: none; padding: 0; }
  .concept-figure figcaption { font-size: 9px; }
  .characters > .wrap { gap: 25px; }
  .character-heading h2 { font-size: 34px; }
  .character-heading > p:last-child { font-size: 13px; }
  .character-tabs { gap: 7px; }
  .character-tabs button { display: flex; flex-direction: column; padding: 8px 2px; gap: 7px; min-height: 86px; }
  .character-tabs img { width: 46px; height: 46px; }
  .cast-slot { right: 4px; top: 3px; font-size: 8px; }
  .character-tabs [aria-selected="true"]::after { display: none; }
  .character-tabs button > span:first-of-type { font-size: 11px; }
  .character-panel { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; min-height: 0; }
  .character-art { grid-column: 1; grid-row: 1; min-height: 0; height: 410px; }
  .character-info { grid-column: 1; grid-row: 2; width: 100%; padding: 28px 22px 100px; }
  .character-info::before { inset: -24px 0 auto; width: 100%; height: 25px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
  .character-info h3 { font-size: 40px; margin-top: 20px; }
  .character-info .character-traits { margin-top: 18px; }
  .character-intro { margin-top: 18px; font-size: 13px; }
  .character-x { font-size: 12px; }
  .character-controls { left: 22px; right: 22px; bottom: 22px; }
  .voice { padding-block: 34px; }
  .voice-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .voice h2 { font-size: 26px; }
  .voice-list { grid-template-columns: 1fr; }
  .voice-row { padding: 13px 0; }
  .moment-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .moment h2 { font-size: 30px; }
  .scene-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-block: 1px solid #81baff; }
  .scene-tabs button, .scene-tabs button:last-child { padding: 13px 10px; border: 0; min-height: 72px; }
  .scene-tabs button[aria-selected="true"] { padding-inline: 10px; transform: translateY(-5px); border-radius: 2px 16px 2px 16px; }
  .scene-tabs strong { font-size: 14px; }
  .phone-stage { padding: 22px 0; }
  .phone-stage::before { inset: 4% 4% 4% 4%; transform: rotate(3deg); }
  .phone-stage::after { left: -1%; width: 60px; height: 10px; box-shadow: 0 18px 0 var(--sun); }
  .phone { box-shadow: 6px 7px 0 #092c70; }
  .moment-grid[data-scene="schedule"] .moment-preview { grid-template-columns: minmax(0, 1fr); padding: 12px; gap: 16px; box-shadow: 5px 6px 0 #092c70; }
  #moment-schedule-guide::before { left: calc(50% - 11px); top: -13px; transform: rotate(135deg); }
  #moment-schedule-guide .sched-activity-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #moment-schedule-guide .sched-activity-card { grid-template-columns: minmax(0, 1fr); }
  #moment-schedule-guide .sched-activity-card .sched-icon { grid-row: auto; }
  #moment-schedule-guide .sched-activity-card > span { grid-column: 1; }
  .diorama-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .diorama-copy h2 { font-size: 32px; }
  .play h2 { font-size: 32px; }
  .loop { box-shadow: 4px 5px 0 var(--ink); }
  .loop-tabs { padding: 10px 8px; gap: 6px; }
  .loop-tabs [role="tab"] { padding: 12px 5px; grid-template-rows: 32px auto 1fr; row-gap: 7px; font-size: 12px; }
  .loop-tabs .loop-number { font-size: 15px; width: 32px; height: 32px; }
  .loop-tabs small { font-size: 10px; }
  .loop-panel { padding: 22px 17px; gap: 24px; }
  .loop-copy h3 { font-size: 26px; }
  .session { margin-top: 38px; }
  .session-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .session-steps::before { inset: 14px auto 24px 13px; width: 2px; height: auto; }
  .session-steps li, .session-steps li:first-child { grid-template-columns: 76px minmax(0, 1fr); border: 0; padding: 7px 0 26px 42px; column-gap: 12px; }
  .session-steps li::before { left: 0; top: 6px; }
  .session-steps .session-time { align-self: start; }
  .schedule-heading h3 { font-size: 29px; }
  .register h2 { font-size: 36px; }
  .register-grid { grid-template-columns: minmax(0, 1fr); gap: 35px; }
  .register-rewards li { --ticket-stub: 82px; grid-template-columns: var(--ticket-stub) minmax(0, 1fr); gap: 0; }
  .register-rewards li > span { padding: 12px 7px; font-size: 11px; }
  .register-rewards li > strong { font-size: 13px; padding: 13px 12px; }
  .register-rewards .reward-items { padding: 10px; }
  .inline-form { padding: 23px 20px; box-shadow: 5px 6px 0 var(--ink); }
  .media-heading h2, .community h2, .info h2, .faq h2 { font-size: 32px; }
  .media-filters button { padding: 10px 16px; font-size: 12px; }
  .media-card:only-child .media-card-body { padding: 25px; }
  .faq summary { font-size: 15px; }
  .site-footer { padding-block: 35px; }
}
@media (prefers-reduced-motion: reduce) {
  .button, .character-tabs button, .hero-art, .scene-tabs button,
  .hero-ctas .button > span:last-child, .header-actions .button > span:last-child,
  .character-controls button { transition: none; }
  .world-roster a { transition: none; }
  .world-roster a:hover { transform: none; }
  .hero-art { translate: none; }
  .button.primary:hover { transform: none; }
}

/* Interactive office: original game sprites, a whole-room camera, and adjacent controls. */
.diorama .diorama-grid { display: block; }
.diorama .diorama-copy { display: grid; grid-template-columns: 1.05fr 1fr; column-gap: 64px; margin-bottom: 36px; align-items: end; }
.diorama-copy .eyebrow { grid-column: 1 / -1; }
.diorama .diorama-copy .section-description { max-width: 510px; margin: 0; }
.office-demo { border: 2px solid var(--ink); border-radius: 4px 28px 4px 4px; background: var(--ice); box-shadow: 7px 7px 0 var(--ink); overflow: hidden; }
.office-topbar { display: flex; align-items: center; gap: 13px; padding: 15px 24px; color: white; background: var(--cobalt); border-bottom: 2px solid var(--ink); }
.office-floor { padding: 5px 10px; color: var(--ink); background: var(--sun); font-size: 14px; font-weight: 900; }
.office-topbar > strong { font-size: 16px; }
.office-preview { margin-left: auto; font-size: 11px; letter-spacing: .02em; }
.office-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; }
.office-map-column { display: flex; flex-direction: column; min-width: 0; background: #d7eeff; }
.office-stage { position: relative; margin: auto 0; aspect-ratio: 488 / 396; isolation: isolate; }
.office-stage canvas { display: block; width: 100%; height: 100%; cursor: pointer; touch-action: pan-y; }
.office-fallback { position: absolute; width: 100%; height: 100%; object-fit: contain; }
.office-pins { position: absolute; inset: 0; pointer-events: none; }
.office-pin { position: absolute; z-index: 2; display: flex; align-items: center; min-width: 44px; min-height: 44px; padding: 0 12px 0 0; background: white; color: var(--ink); border: 2px solid var(--ink); border-radius: 2px 12px 2px 2px; box-shadow: 3px 3px 0 #102b5755; transform: translate(-50%, -50%); pointer-events: auto; }
.office-pin > span { display: grid; place-items: center; width: 40px; height: 40px; font-size: 15px; font-weight: 900; }
.office-pin b { white-space: nowrap; font-size: 12px; }
.office-pin[aria-pressed="true"] { background: var(--sun); box-shadow: 3px 3px 0 var(--ink); }
.office-pin:hover { background: var(--sky); }
.office-character { position: absolute; z-index: 1; width: 54px; height: 62px; border: 0; border-radius: 50%; background: transparent; pointer-events: auto; transform: translate(-50%, -50%); }
.office-character:hover { outline: 2px dashed var(--accent); outline-offset: 2px; }
.office-bubble { position: absolute; z-index: 3; width: max-content; max-width: 210px; padding: 12px 16px; transform: translate(-50%, -100%); background: white; border: 2px solid var(--ink); border-radius: 12px 12px 12px 0; box-shadow: 3px 3px 0 #102b5733; font-size: 12px; text-align: left; }
.office-bubble strong { display: block; margin-bottom: 5px; color: var(--accent); }
.office-bubble span { display: block; line-height: 1.6; }
.office-map-footer { display: flex; align-items: center; gap: 9px; padding: 14px 18px; color: var(--ink); border-top: 1px solid #8eafca; background: #eaf7ff; }
.office-map-footer > span { font-size: 25px; }
.office-map-footer p { margin: 0; font-size: 12px; line-height: 1.6; }
.office-motion { flex-shrink: 0; margin-left: auto; min-height: 44px; padding: 7px 10px; background: white; border: 1px solid var(--ink); font-size: 11px; font-weight: 750; }
.office-motion[aria-pressed="true"] { background: var(--sun); }
.office-console { display: flex; flex-direction: column; padding: 26px; border-left: 2px solid var(--ink); background: var(--paper); }
.office-visitor { display: flex; align-items: center; gap: 13px; }
.office-visitor img { width: 56px; height: 56px; object-fit: cover; border: 2px solid var(--ink); border-radius: 2px 14px 2px 2px; }
.office-visitor small { font-size: 10px; font-weight: 750; color: var(--muted); }
.office-visitor h3 { margin: 1px 0 0; font-size: 24px; }
.office-visitor > span { margin-left: auto; color: var(--accent); font-size: 27px; }
.office-instruction { margin: 22px 0 18px; font-size: 15px; line-height: 1.8; }
.office-destinations { display: grid; gap: 10px; }
.office-destinations button { display: flex; align-items: center; gap: 13px; min-height: 72px; padding: 13px 12px; text-align: left; color: var(--ink); background: white; border: 1px solid #829bb9; border-radius: 2px 15px 2px 2px; }
.office-destinations button[aria-pressed="true"] { background: #dceeff; border: 2px solid var(--accent); padding: 12px 11px; }
.office-destinations button:hover { background: #effad5; border-color: var(--ink); }
.office-place-number { font-size: 13px; font-weight: 900; color: var(--accent); }
.office-destinations strong { display: block; font-size: 15px; line-height: 1.4; }
.office-destinations small { display: block; margin-top: 5px; font-size: 11px; line-height: 1.5; color: var(--muted); }
.office-visit-mark { margin-left: auto; color: var(--accent); font-weight: 900; }
.office-status { display: flex; align-items: flex-start; gap: 9px; min-height: 85px; margin-top: 21px; padding: 16px 0; border-block: 1px dashed #829bb9; }
.office-status-mark { color: var(--accent); font-size: 9px; line-height: 2.4; }
.office-status p { margin: 0; font-size: 13px; line-height: 1.7; font-weight: 700; }
.office-progress { display: flex; justify-content: space-between; padding-top: 14px; font-size: 11px; color: var(--muted); }
.office-progress strong { color: var(--accent); }
.office-console-links { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; }
.office-console-links button, .office-console-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 12px; font-weight: 800; color: var(--accent); background: transparent; }
.office-note { padding: 12px 24px; margin: 0; color: var(--muted); background: white; border-top: 1px solid var(--line); font-size: 11px; line-height: 1.8; }
.office-reference { margin-top: 27px; border-bottom: 1px solid var(--line); }
.office-reference summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 50px; padding: 12px 0; font-size: 13px; font-weight: 750; cursor: pointer; list-style: none; }
.office-reference summary::-webkit-details-marker { display: none; }
.office-reference summary > span { font-size: 23px; }
.office-reference[open] summary > span { transform: rotate(45deg); }
.office-reference .diorama-figure { max-width: 700px; margin: 0 auto 24px; }
.office-reference .diorama-figure > img { width: 100%; height: auto; background: var(--ice); }
.office-reference .diorama-action { width: 100%; margin-top: 15px; }
.office-demo button:disabled { cursor: wait; opacity: .6; }
.office-demo [hidden] { display: none !important; }
@media (max-width: 1100px) {
  .office-layout { grid-template-columns: minmax(0, 1fr) 290px; }
  .office-console { padding: 20px; }
  .office-pin { padding: 0; }
  .office-pin b { display: none; }
  .office-map-footer { flex-wrap: wrap; padding: 10px 13px; }
  .office-map-footer p { flex: 1; }
}
@media (max-width: 800px) {
  .diorama .diorama-copy { display: block; margin-bottom: 28px; }
  .diorama .diorama-copy .section-description { margin-top: 20px; max-width: 590px; }
  .office-layout { grid-template-columns: minmax(0, 1fr); }
  .office-console { border-left: 0; border-top: 2px solid var(--ink); }
  .office-destinations { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .office-destinations button { align-items: flex-start; flex-wrap: wrap; gap: 5px; }
  .office-destinations button > span:nth-child(2) { flex-basis: 100%; }
  .office-visit-mark { order: -1; }
  .office-destinations small { font-size: 11px; }
  .office-status { min-height: 62px; margin-top: 16px; }
  .office-console-links { padding-top: 5px; }
  .office-instruction { margin: 15px 0; }
}
@media (max-width: 480px) {
  .office-topbar { gap: 8px; padding: 12px; flex-wrap: wrap; }
  .office-topbar > strong { font-size: 13px; }
  .office-preview { font-size: 9px; }
  .office-floor { font-size: 12px; padding: 5px 7px; }
  .office-console { padding: 18px 14px; }
  .office-destinations { gap: 6px; }
  .office-destinations button { padding: 10px 8px; }
  .office-destinations button[aria-pressed="true"] { padding: 9px 7px; }
  .office-destinations strong { font-size: 13px; }
  .office-note { padding: 12px 14px; font-size: 10px; }
  .office-character { width: 44px; height: 48px; }
  .office-pin[data-office-place="sofa"] { margin-top: -16px; }
  .office-pin[data-office-place="desk"] { margin-top: -16px; margin-left: -20px; }
  .office-pin[data-office-place="floor"] { margin-left: -48px; }
  .office-bubble { max-width: 170px; font-size: 11px; padding: 9px 12px; }
  .office-map-footer p { font-size: 11px; }
}
