:root{color:#f4ead8;background:#081421;font-family:Hiragino Kaku Gothic ProN,Yu Gothic,system-ui,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;--night: #081421;--night-soft: #102235;--panel: rgba(15, 31, 47, .92);--panel-light: rgba(24, 44, 62, .86);--paper: #f3e6c8;--paper-muted: #b9b5a9;--gold: #e9b84f;--gold-light: #f7d978;--coral: #d97968;--coral-dark: #a74e51;--teal: #6db9b7;--line: rgba(209, 207, 189, .28);--line-strong: rgba(243, 230, 200, .56)}*{box-sizing:border-box}html,body,#app{min-height:100%}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 15% 0%,rgba(93,137,142,.2),transparent 31rem),radial-gradient(circle at 88% 20%,rgba(176,102,75,.14),transparent 27rem),linear-gradient(145deg,#07111d,#0b1b2b 55%,#081421)}body:before{position:fixed;inset:0;z-index:-1;pointer-events:none;content:"";opacity:.16;background-image:repeating-linear-gradient(0deg,rgba(255,255,255,.035) 0 1px,transparent 1px 4px);mix-blend-mode:soft-light}button,input{font:inherit}button{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed;opacity:.46}#app{width:min(1540px,100%);margin:0 auto;padding:24px 30px 70px}.site-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:30px;padding-bottom:20px;border-bottom:1px solid rgba(243,230,200,.16)}.brand-lockup{min-width:0}.eyebrow,.command-label,.section-stamp,.preview-kicker{display:block;margin:0 0 8px;color:var(--gold-light);font-size:.65rem;font-weight:900;letter-spacing:.18em;text-transform:uppercase}.accent-eyebrow{color:var(--coral)}h1,h2,h3,h4,p{margin-top:0}h1{margin-bottom:6px;color:var(--paper);font-family:Georgia,Times New Roman,serif;font-size:clamp(1.75rem,3.4vw,3.5rem);font-weight:600;letter-spacing:-.06em;line-height:.98}h2,h3,h4{color:var(--paper);font-family:Georgia,Times New Roman,serif;font-weight:600}h2{font-size:clamp(1.8rem,4vw,3.6rem);line-height:1.02;letter-spacing:-.055em}h3{font-size:clamp(1.45rem,2.6vw,2.35rem);line-height:1.08;letter-spacing:-.04em}h4{margin-bottom:0;font-size:1.35rem;line-height:1.15}.subtitle{max-width:620px;margin-bottom:0;color:var(--paper-muted);font-size:.86rem;line-height:1.7}.muted{color:var(--paper-muted);line-height:1.7}.small-text{font-size:.77rem}.text-button{flex:0 0 auto;padding:9px 15px;color:var(--paper-muted);background:transparent;border:1px solid var(--line);border-radius:2px;font-size:.76rem;letter-spacing:.04em;transition:color .16s ease,border-color .16s ease,transform .16s ease}.text-button:hover{color:var(--paper);border-color:var(--gold);transform:translateY(-1px)}.landing-page{display:grid;gap:74px}.landing-hero{display:grid;grid-template-columns:minmax(0,.88fr) minmax(420px,1.12fr);min-height:620px;overflow:hidden;background:linear-gradient(110deg,#0b1e2dd1,#0d1d2b6b);border:1px solid rgba(243,230,200,.22);box-shadow:0 28px 80px #00000040}.hero-copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(30px,6vw,86px)}.hero-copy h2{margin-bottom:22px;font-size:clamp(3rem,6.8vw,7.2rem)}.hero-copy h2 em{color:var(--gold-light);font-style:normal}.hero-lead{max-width:520px;margin-bottom:0;color:#d1ccc0;font-size:1rem;line-height:2}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:36px}.hero-button,.create-button,.ready-button{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:54px;padding:14px 17px 14px 20px;border:0;border-radius:2px;font-weight:900;letter-spacing:.03em;transition:transform .16s ease,filter .16s ease,box-shadow .16s ease}.hero-button:hover,.create-button:hover,.ready-button:hover{filter:brightness(1.08);transform:translateY(-2px);box-shadow:0 12px 26px #0003}.hero-button b,.create-button b,.ready-button b{font-size:1.2rem;font-weight:500}.hero-button-primary,.create-button,.ready-button{color:#1a1b1a;background:var(--gold-light)}.hero-button-secondary{color:var(--paper);background:#102235b8;border:1px solid var(--line-strong)}.hero-meta{display:flex;flex-wrap:wrap;align-items:center;gap:11px;margin-top:34px;color:var(--paper-muted);font-size:.7rem;letter-spacing:.04em}.hero-meta i{display:block;width:4px;height:4px;border-radius:50%;background:var(--coral)}.hero-visual{position:relative;min-height:620px;margin:0;overflow:hidden;background:#101e2d}.hero-visual:after{position:absolute;inset:0;pointer-events:none;content:"";background:linear-gradient(90deg,#0b1e2d 0%,transparent 26%),linear-gradient(0deg,rgba(6,17,27,.85) 0%,transparent 35%)}.hero-visual img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 52%;filter:saturate(.88) contrast(1.03)}.hero-sticker{position:absolute;top:26px;right:26px;z-index:1;display:grid;place-items:center;width:86px;height:86px;color:var(--night);background:var(--gold-light);border-radius:50%;font-family:Georgia,serif;font-size:1.9rem;line-height:.72;transform:rotate(9deg)}.hero-sticker small{font-family:inherit;font-size:.48rem;letter-spacing:.1em}.hero-visual figcaption{position:absolute;right:30px;bottom:28px;z-index:1;display:flex;flex-direction:column;gap:5px;text-align:right}.hero-visual figcaption span{color:var(--gold-light);font-size:.63rem;font-weight:900;letter-spacing:.18em}.hero-visual figcaption strong{color:var(--paper);font-family:Georgia,serif;font-size:1.5rem;font-weight:500}.preview-section{display:grid;gap:24px}.section-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.section-intro h3{margin-bottom:0}.section-intro>p:last-child{margin:0 0 4px;color:var(--paper-muted);font-size:.82rem}.preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.preview-card{overflow:hidden;background:var(--panel);border:1px solid var(--line)}.preview-card img{display:block;width:100%;aspect-ratio:16 / 8.2;object-fit:cover;object-position:center;opacity:.88;transition:transform .3s ease,opacity .3s ease}.preview-card:hover img{opacity:1;transform:scale(1.025)}.preview-card>div{padding:18px 20px 22px}.preview-kicker{margin-bottom:8px;color:var(--coral)}.ghost-preview .preview-kicker{color:var(--gold-light)}.rule-strip{display:grid;grid-template-columns:repeat(3,auto) 1fr;align-items:center;gap:20px;padding:20px 22px;background:#132535c2;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.rule-strip>div{display:grid;grid-template-columns:auto auto;column-gap:11px;align-items:baseline}.rule-number{grid-row:span 2;color:var(--coral);font-family:Georgia,serif;font-size:1.45rem}.rule-strip strong{color:var(--paper);font-family:Georgia,serif;font-size:1.1rem;font-weight:500}.rule-strip small{color:var(--paper-muted);font-size:.67rem}.rule-strip p{justify-self:end;max-width:270px;margin:0;color:var(--paper-muted);font-size:.78rem;line-height:1.6;text-align:right}.setup-page{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);align-items:stretch;gap:28px;min-height:570px}.setup-art{position:relative;min-height:570px;overflow:hidden;background:#0d1c2a;border:1px solid var(--line)}.setup-art:after{position:absolute;inset:0;pointer-events:none;content:"";background:linear-gradient(0deg,rgba(5,13,22,.92),transparent 55%),linear-gradient(90deg,rgba(5,13,22,.36),transparent 55%)}.setup-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;opacity:.84}.setup-art-actions img{object-position:center}.setup-art-caption{position:absolute;left:32px;bottom:30px;z-index:1}.setup-art-caption span{display:block;margin-bottom:8px;color:var(--gold-light);font-size:.65rem;font-weight:900;letter-spacing:.18em}.setup-art-caption strong{color:var(--paper);font-family:Georgia,serif;font-size:clamp(1.7rem,3.2vw,3.6rem);font-weight:500;line-height:1}.setup-card{align-self:center;padding:clamp(28px,5vw,54px);background:var(--panel);border:1px solid var(--line-strong);box-shadow:0 24px 70px #0003}.setup-card-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:28px}.section-stamp{margin:0;color:var(--coral)}.setup-icon{display:block;width:68px;height:68px;background-repeat:no-repeat;border:1px solid rgba(243,230,200,.36);border-radius:50%}.setup-icon.icon-ghost{background-image:url(/assets/ghost-hunt/role-tokens.png);background-position:left center;background-size:200% 100%}.setup-icon.icon-search{background-image:url(/assets/ghost-hunt/action-icons.png);background-position:0 100%;background-size:200% 200%}.setup-card h2{margin-bottom:14px;font-size:clamp(2.2rem,4vw,4.5rem)}.setup-card>.muted{max-width:460px;margin-bottom:28px;font-size:.86rem}.setup-card label{display:block;margin:18px 0 8px;color:var(--paper);font-size:.78rem;font-weight:900;letter-spacing:.04em}.setup-card input,.setup-select{width:100%;padding:14px 15px;color:var(--paper);background:#05101bc7;border:1px solid var(--line);border-radius:1px;outline:none}.setup-card input:focus,.setup-select:focus{border-color:var(--gold-light);box-shadow:0 0 0 3px #e9b84f24}.setup-select option{color:var(--paper);background:var(--night-soft)}.setup-field-hint{margin:8px 0 0;color:var(--paper-muted);font-size:.68rem;line-height:1.5}.team-config{display:grid;grid-template-columns:1fr 100px;gap:2px 15px;align-items:center;margin-top:22px}.team-config label{display:flex;align-items:center;gap:9px;margin:0}.team-dot{display:inline-block;width:9px;height:9px;border-radius:50%}.ghost-dot{background:var(--coral);box-shadow:0 0 12px #d97968b3}.explorer-dot{background:var(--gold-light);box-shadow:0 0 12px #f7d978a6}.team-summary{min-height:1.4rem;margin:18px 0 22px;color:var(--gold-light);font-size:.8rem;font-weight:900;letter-spacing:.03em}.team-summary.invalid{color:var(--coral)}.create-button,.ready-button{width:100%}.form-message{min-height:1.3rem;margin:14px 0 0;color:var(--paper-muted);font-size:.78rem}.form-message.error,.game-notice.error{color:#f29a8f}.form-message.info{color:var(--teal)}.series-score-line{margin:12px 0 4px;color:var(--gold-light);font-weight:900}.result-ready-button,.share-result-button,.short-room-start-button{margin-top:10px}.copy-link-button{width:100%;min-height:44px;padding:10px 14px;color:var(--night);background:var(--gold-light);border:0;border-radius:2px;font-weight:900}.device-handoff summary,.accessible-map summary{cursor:pointer;color:var(--paper);font-weight:900}.device-handoff .muted{margin:12px 0}.device-handoff .copy-link-button+.copy-link-button{margin-top:8px}.game-shell{display:grid;gap:14px}body.game-mode{overflow:hidden}body.game-mode #app{width:100%;max-width:none;min-height:100vh;margin:0;padding:0}body.game-mode .site-header{position:absolute;inset:0 0 auto;z-index:40;width:100%;margin:0;padding:14px 20px;border-bottom:0;background:linear-gradient(180deg,#050d16db,#050d1600);pointer-events:none}body.game-mode .site-header>*{pointer-events:auto}body.game-mode .site-header h1{font-size:clamp(1.45rem,2.5vw,2.6rem)}body.game-mode .site-header .subtitle{display:none}body.game-mode .game-shell{position:relative;min-height:100vh;gap:0}body.game-mode .game-command-bar{position:absolute;top:78px;right:20px;left:20px;z-index:32;background:#081421b3;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}body.game-mode .game-notice{position:absolute;top:180px;left:20px;z-index:31;width:min(560px,calc(100% - 40px));background:#081421b8;pointer-events:none}body.game-mode .game-stage{height:100vh;min-height:100vh}body.game-mode .game-canvas-frame{height:100%;border:0;box-shadow:none}body.game-mode .game-canvas-frame{display:grid;place-items:center;width:100vw;height:100vh;background:#06111d}body.game-mode #game-canvas{width:min(100vw,177.7vh);height:min(100vh,56.3vw);aspect-ratio:1672 / 941}body.game-mode .canvas-frame-label{top:18px;left:20px;opacity:.68}body.game-mode .game-sidebar{max-height:calc(100vh - 150px)}body.game-mode .event-ticker{position:absolute;bottom:18px;left:20px;z-index:30;max-width:min(560px,calc(100% - 40px));pointer-events:none}body.game-mode.round-started .site-header,body.game-mode.round-started .game-command-bar,body.game-mode.round-started .game-notice,body.game-mode.round-started .event-ticker,body.game-mode.round-started .canvas-frame-label,body.game-mode.round-started .game-sidebar .players-panel{display:none}body.game-mode.viewer-waiting .game-sidebar .players-panel{display:block}body.game-mode.round-active .game-sidebar{width:auto;max-height:none;overflow:visible}body.game-mode.round-active .game-sidebar .role-card,body.game-mode.round-active .game-sidebar .players-panel{display:none}body.game-mode.round-active.viewer-waiting .game-sidebar .players-panel{display:block}body.game-mode.round-active .game-sidebar .action-panel{width:min(360px,calc(100vw - 40px));min-width:0;padding:12px;background:#081421ad;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}body.game-mode.round-active .game-sidebar .action-panel>.command-label{display:none}body.game-mode.round-active .game-sidebar .action-panel>h3{margin:0 0 8px;font-size:.92rem}body.game-mode.round-active .game-sidebar .action-panel>.panel-footnote{display:block;margin-top:8px;font-size:.6rem}.display-panel h3{margin:4px 0 8px;font-size:1.45rem}.display-room-code{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;padding:10px 12px;background:#05101bb8;border:1px solid var(--line)}.display-room-code span{color:var(--paper-muted);font-size:.72rem}.display-room-code strong{color:var(--gold-light);font-size:1.65rem;letter-spacing:.16em}.display-series-score{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0 8px}.display-score{display:grid;gap:3px;padding:9px 10px;background:#05101ba3;border:1px solid var(--line)}.display-score span{color:var(--paper-muted);font-size:.62rem}.display-score strong{color:var(--paper);font-size:1.5rem}.display-score.ghost-score strong{color:#f29a8f}.display-score.explorer-score strong{color:var(--gold-light)}.display-ready-count,.display-player-count{margin:10px 0 0;color:var(--teal);font-size:.75rem;font-weight:900}.orientation-lock{display:none}.accessible-map{padding:12px 14px}.accessible-map>summary{color:var(--gold-light);font-size:.78rem;font-weight:900;cursor:pointer}.accessible-map-content{padding-top:9px}.accessible-map-content p{margin:5px 0}.map-current-location{color:var(--paper);font-size:.82rem}.accessible-map nav ul{display:grid;gap:6px;margin:8px 0 0;padding:0;list-style:none}.accessible-map-move{width:100%;padding:8px 10px;color:var(--paper);text-align:left;background:#05101bb8;border:1px solid var(--line);cursor:pointer}.accessible-map-move:disabled{color:var(--paper-muted);cursor:not-allowed;opacity:.62}.host-team-settings,.host-transfer-settings{display:grid;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.host-team-settings h4,.host-transfer-settings h4{margin:0;color:var(--paper);font-size:.85rem}.host-team-settings .muted,.host-transfer-settings .muted{margin:0}.host-team-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.host-team-fields label{display:grid;gap:5px;color:var(--paper-muted);font-size:.72rem}.host-team-fields input{width:100%;min-width:0;padding:8px;color:var(--paper);background:#05101bcc;border:1px solid var(--line)}.transfer-host-button{width:100%}.transfer-host-button:disabled{opacity:.55}@supports (height: 100dvh){body.game-mode .game-stage{height:100dvh;min-height:100dvh}body.game-mode .game-canvas-frame{height:100dvh}body.game-mode #game-canvas{width:min(100vw,177.7dvh);height:min(100dvh,56.3vw)}}body.studio-mode{color:#24233b;background:#f5f5fa;font-family:Hiragino Kaku Gothic ProN,Yu Gothic,system-ui,sans-serif}body.studio-mode:before{display:none}#app.studio-root{width:100%;max-width:none;min-height:100vh;margin:0;padding:0}.studio-shell{display:grid;grid-template-columns:252px minmax(0,1fr);min-height:100vh;color:#28263c;background:#f6f6fb}.studio-sidebar{position:sticky;top:0;display:flex;flex-direction:column;width:252px;height:100vh;padding:27px 17px 18px;color:#eeedf8;background:#201f37}.studio-brand{display:inline-flex;align-items:center;gap:11px;width:max-content;margin:0 0 41px 8px;color:inherit;text-decoration:none}.studio-brand-mark{display:grid;place-items:center;width:37px;height:37px;color:#26243e;background:#e0bd79;border-radius:13px 13px 13px 4px;font-family:Georgia,serif;font-size:1.45rem;font-weight:800;box-shadow:0 7px 22px #e0bd792e}.studio-brand>span:last-child{display:grid;gap:2px}.studio-brand strong{font-family:Georgia,Times New Roman,serif;font-size:1.04rem;font-weight:700;letter-spacing:-.04em}.studio-brand strong span{color:#ddbd82}.studio-brand small{color:#9c9ab1;font-size:.48rem;font-weight:800;letter-spacing:.15em}.studio-sidebar-label{display:flex;align-items:center;justify-content:space-between;margin:0 10px 12px;color:#9694ae;font-size:.59rem;font-weight:900;letter-spacing:.15em}.studio-sidebar-nav{display:grid;gap:5px}.studio-sidebar-nav a{display:flex;align-items:center;gap:12px;min-height:42px;padding:0 12px;color:#b6b4c7;border-radius:8px;font-size:.76rem;font-weight:700;text-decoration:none;transition:background .16s ease,color .16s ease}.studio-sidebar-nav a span{display:grid;place-items:center;width:18px;color:#aaa8c0;font-size:1.05rem}.studio-sidebar-nav a:hover,.studio-sidebar-nav a.active{color:#fff;background:#33314d}.studio-sidebar-nav a.active span{color:#e6c984}.studio-sidebar-project-heading{margin-top:39px}.studio-sidebar-project-heading span{display:grid;place-items:center;min-width:24px;min-height:20px;padding:0 5px;color:#b6b3c7;background:#34324e;border-radius:6px;font-size:.57rem;letter-spacing:.02em}.studio-sidebar-games{display:grid;gap:5px}.studio-sidebar-project{display:grid;grid-template-columns:35px minmax(0,1fr) 7px;align-items:center;gap:10px;padding:8px 9px;border-radius:8px}.studio-sidebar-project:hover{background:#2d2b46}.studio-sidebar-game-icon{display:grid;place-items:center;width:34px;height:34px;overflow:hidden;color:#e5c57d;background:#383653;border-radius:10px;font-size:1rem;text-decoration:none}.studio-sidebar-game-icon img{display:block;width:100%;height:100%;object-fit:cover}.studio-sidebar-project>div{display:grid;gap:3px;min-width:0}.studio-sidebar-project strong{overflow:hidden;color:#f0eef7;font-size:.7rem;text-overflow:ellipsis;white-space:nowrap}.studio-sidebar-project small{color:#a19fb4;font-size:.6rem}.studio-sidebar-dot{width:6px;height:6px;border-radius:50%;background:#9290a7}.studio-sidebar-dot.status-dot-wip{background:#ddb75e;box-shadow:0 0 8px #ddb75e7a}.studio-sidebar-dot.status-dot-ready{background:#6ec3ab}.studio-sidebar-dot.status-dot-idea{background:#998fe1}.studio-sidebar-empty{padding:9px 10px;color:#9997ae;font-size:.68rem;line-height:1.7}.studio-sidebar-bottom{display:grid;gap:16px;margin-top:auto}.studio-sidebar-status{display:flex;align-items:center;gap:8px;padding:0 9px 15px;color:#aaa8be;border-bottom:1px solid rgba(255,255,255,.09);font-size:.62rem}.studio-sidebar-status i{width:7px;height:7px;background:#71c3a8;border-radius:50%;box-shadow:0 0 9px #71c3a88c}.studio-user{display:grid;grid-template-columns:34px minmax(0,1fr) 28px;align-items:center;gap:9px}.studio-user-avatar{display:grid;place-items:center;width:32px;height:32px;color:#2c2948;background:#d6c3e8;border-radius:50%;font-size:.75rem;font-weight:900}.studio-user>span:nth-child(2){display:grid;min-width:0;gap:3px}.studio-user strong{overflow:hidden;color:#f1eff8;font-size:.68rem;text-overflow:ellipsis;white-space:nowrap}.studio-user small{overflow:hidden;color:#9694a9;font-size:.56rem;text-overflow:ellipsis;white-space:nowrap}.studio-user button,.studio-icon-button{display:grid;place-items:center;width:31px;height:31px;padding:0;color:#9795ad;background:transparent;border:1px solid transparent;border-radius:8px;font-size:1.05rem}.studio-user button:hover,.studio-icon-button:hover{color:#fff;background:#ffffff14}.studio-main{min-width:0}.studio-topbar{display:flex;align-items:center;justify-content:space-between;min-height:68px;padding:0 clamp(22px,4.8vw,72px);background:#ffffffb8;border-bottom:1px solid #e8e7ef}.studio-breadcrumb{display:flex;align-items:center;gap:10px;color:#9290a3;font-size:.64rem;font-weight:800;letter-spacing:.07em}.studio-breadcrumb i{color:#c0becc;font-size:1rem;font-style:normal}.studio-breadcrumb strong{color:#48465e;font-size:.68rem;letter-spacing:0}.studio-topbar-actions{display:flex;align-items:center;gap:18px}.studio-date-chip{color:#77758b;font-size:.65rem}.studio-mobile-menu{display:none}.studio-content{width:min(1390px,100%);margin:0 auto;padding:34px clamp(22px,4.8vw,72px) 32px}.studio-welcome{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 270px;min-height:265px;overflow:hidden;padding:35px 42px;color:#f9f7ff;background:linear-gradient(112deg,#423d65,#4e496f 58%,#625c83);border-radius:17px;box-shadow:0 18px 40px #36315421}.studio-kicker{margin:0 0 12px;color:#8b899e;font-size:.59rem;font-weight:900;letter-spacing:.15em}.studio-welcome .studio-kicker{color:#d3cbe4}.studio-welcome .studio-kicker span{padding:0 7px;color:#e6c984}.studio-welcome h1{margin:0 0 11px;color:#fff;font-family:Georgia,Yu Mincho,serif;font-size:clamp(2rem,3.7vw,3.3rem);font-weight:500;letter-spacing:-.06em;line-height:1.12}.studio-welcome h1 em{color:#eed28d;font-style:normal}.studio-welcome>div:first-child>p:not(.studio-kicker){margin:0;color:#d4d1e0;font-size:.78rem;line-height:1.8}.studio-welcome .studio-button{margin-top:18px}.studio-welcome-art{position:relative;display:grid;place-items:center;min-height:190px}.studio-art-halo{position:absolute;width:152px;height:152px;background:radial-gradient(circle,#e4ca8a2e,#e4ca8a05 70%);border:1px solid rgba(255,255,255,.17);border-radius:50%}.studio-art-orbit{position:absolute;width:190px;height:75px;border:1px solid rgba(246,234,200,.3);border-radius:50%;transform:rotate(-35deg)}.studio-art-orbit.orbit-two{width:190px;height:75px;transform:rotate(35deg)}.studio-welcome-art>strong{z-index:1;color:#f1d998;font-family:Georgia,serif;font-size:5rem;font-weight:400;text-shadow:0 5px 30px rgba(239,209,141,.32)}.studio-welcome-art>small{position:absolute;right:-2px;bottom:8px;color:#d2cde0;font-size:.48rem;font-weight:900;letter-spacing:.17em;line-height:1.8;text-align:right}.studio-art-star{position:absolute;z-index:2;color:#f0d690}.studio-art-star.star-one{top:16px;right:37px;font-size:1.05rem}.studio-art-star.star-two{bottom:27px;left:28px;color:#d9d0ed;font-size:1.4rem}.studio-art-dot{position:absolute;width:7px;height:7px;background:#d4b773;border-radius:50%}.studio-art-dot.dot-one{top:31px;left:50px}.studio-art-dot.dot-two{right:5px;bottom:61px;width:4px;height:4px;background:#d3c7ee}.studio-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:18px 0 24px}.studio-stat-card{position:relative;display:grid;grid-template-columns:43px 1fr;align-items:center;gap:11px;min-height:95px;padding:16px 16px 20px;background:#fff;border:1px solid #eae9f1;border-radius:12px;box-shadow:0 5px 16px #28263c06}.studio-stat-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;font-size:1.15rem}.stat-icon-total{color:#6158a0;background:#eeecfa}.stat-icon-wip{color:#b27b24;background:#fbf2df}.stat-icon-ready{color:#418f79;background:#e6f5ee}.stat-icon-progress{color:#ba7268;background:#faecea}.studio-stat-card>div{display:grid;gap:5px}.studio-stat-card small{color:#9290a2;font-size:.61rem}.studio-stat-card strong{color:#302e49;font-family:Georgia,serif;font-size:1.55rem;font-weight:600;line-height:1}.studio-stat-card strong em{color:#828095;font-family:inherit;font-size:.67rem;font-style:normal;font-weight:500}.studio-stat-caption{position:absolute;right:13px;bottom:8px;color:#b0aebc;font-size:.52rem}.studio-featured-game{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:169px;overflow:hidden;margin-bottom:30px;padding:22px 31px;color:#352a29;background:#f7ede0;border:1px solid #eddfcb;border-radius:14px}.studio-featured-copy{position:relative;z-index:1}.studio-featured-kicker{display:flex;align-items:center;gap:8px;margin-bottom:9px;color:#927455;font-size:.57rem;font-weight:900;letter-spacing:.13em}.studio-featured-kicker i{width:6px;height:6px;background:#5dae8f;border-radius:50%;box-shadow:0 0 0 4px #5dae8f1f}.studio-featured-game h2{margin:0 0 5px;color:#443737;font-family:Georgia,Yu Mincho,serif;font-size:1.68rem;font-weight:600;letter-spacing:-.03em}.studio-featured-game p{margin:0;color:#827468;font-size:.69rem;line-height:1.7}.studio-featured-link{display:inline-flex;align-items:center;gap:15px;margin-top:12px;color:#624833;font-size:.67rem;font-weight:900;text-decoration:none}.studio-featured-link b{font-size:1rem;font-weight:500}.studio-featured-icon{position:relative;z-index:1;display:grid;place-items:center;width:91px;height:91px;overflow:hidden;color:#fff;background:#27263d;border:4px solid rgba(255,255,255,.75);border-radius:25px;box-shadow:0 11px 24px #45342733;text-decoration:none;transform:rotate(4deg);transition:transform .18s ease}.studio-featured-icon:hover{transform:rotate(0) scale(1.05)}.studio-featured-icon img{width:100%;height:100%;object-fit:cover}.studio-featured-icon>span{display:grid;place-items:center;width:100%;height:100%;font-size:2.7rem}.studio-featured-icon>span:last-child:not(:first-child){position:absolute;right:3px;bottom:3px;width:auto;height:auto;padding:3px 5px;color:#26243e;background:#f0d48e;border-radius:4px;font-size:.42rem;font-weight:900;letter-spacing:.08em}.studio-featured-deco{position:absolute;right:20%;color:#b18b5d1f;font-size:11rem;line-height:1;transform:rotate(-13deg)}.studio-project-section{scroll-margin-top:18px}.studio-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:15px}.studio-section-heading .studio-kicker{margin-bottom:5px}.studio-section-heading h2{margin:0;color:#302e47;font-family:Georgia,serif;font-size:1.42rem;font-weight:600;letter-spacing:-.04em}.studio-project-heading-actions{display:flex;align-items:center;gap:17px}.studio-project-heading-actions>span{color:#a29faf;font-size:.54rem;font-weight:900;letter-spacing:.1em}.studio-text-action{padding:8px 0;color:#68618f;background:none;border:0;font-size:.67rem;font-weight:800}.studio-text-action:hover{color:#373358}.studio-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.studio-project-card{min-width:0;padding:19px 20px 15px;background:#fff;border:1px solid #e9e8f0;border-radius:13px;box-shadow:0 7px 19px #2f2a4e09;animation:studio-card-in .35s both;animation-delay:calc(var(--card-index, 0) * 45ms)}@keyframes studio-card-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.studio-project-card[hidden]{display:none}.studio-project-card-head{display:flex;align-items:center;gap:9px}.studio-project-symbol-wrap{margin-right:1px}.studio-project-symbol{position:relative;display:grid;place-items:center;width:48px;height:48px;overflow:hidden;color:#e4c67f;background:#26253b;border-radius:14px;font-size:1.55rem;text-decoration:none}.studio-project-symbol img{width:100%;height:100%;object-fit:cover}.studio-project-symbol>span:not(.studio-symbol-open){display:grid;place-items:center;width:100%;height:100%}.studio-symbol-open{position:absolute;right:3px;bottom:2px;display:grid;place-items:center;width:15px;height:15px;color:#2b2942;background:#edcf83;border-radius:5px;font-size:.63rem;opacity:0;transition:opacity .15s ease}.studio-project-symbol:hover .studio-symbol-open{opacity:1}.studio-status{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;color:#8f6b24;background:#fbf4e6;border-radius:999px;font-size:.57rem;font-weight:800;white-space:nowrap}.studio-status i{width:5px;height:5px;background:#d3a84e;border-radius:50%}.studio-status-ready{color:#337d6b;background:#e9f6ef}.studio-status-ready i{background:#59ad90}.studio-status-idea{color:#65599f;background:#f0eefb}.studio-status-idea i{background:#8879cb}.studio-status-archived{color:#777586;background:#f0f0f4}.studio-status-archived i{background:#9a99a6}.studio-project-card-head .studio-icon-button{margin-left:auto;color:#aaa8b7}.studio-project-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px}.studio-project-slug{margin:0 0 3px;color:#a4a1b1;font-size:.55rem;letter-spacing:.03em}.studio-project-title h3{overflow:hidden;margin:0;color:#302e47;font-family:Georgia,serif;font-size:1.17rem;font-weight:600;letter-spacing:-.03em;text-overflow:ellipsis;white-space:nowrap}.studio-title-open{display:grid;place-items:center;width:30px;height:30px;flex:0 0 auto;color:#655d8f;background:#f1eff8;border-radius:9px;font-size:1rem;text-decoration:none}.studio-project-summary{min-height:35px;margin:7px 0 14px;color:#858396;font-size:.65rem;line-height:1.65}.studio-progress-block{margin-bottom:14px}.studio-progress-heading{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:7px;color:#787689;font-size:.6rem}.studio-progress-heading strong{color:#4e496a;font-family:Georgia,serif;font-size:.95rem}.studio-progress-heading small{margin-left:1px;color:#9390a2;font-family:inherit;font-size:.57rem}.studio-progress-track{height:6px;overflow:hidden;background:#eeedf3;border-radius:999px}.studio-progress-track span{display:block;height:100%;background:linear-gradient(90deg,#766eaa,#c7a45b);border-radius:inherit;transition:width .3s ease}.studio-project-focus{display:grid;grid-template-columns:1fr 1fr;gap:13px;padding:13px 12px;background:#f8f8fb;border:1px solid #f0eff4;border-radius:9px}.studio-project-focus>div+div{padding-left:12px;border-left:1px solid #e9e7ef}.studio-focus-label{display:flex;align-items:center;gap:5px;color:#8c899c;font-size:.52rem;font-weight:800}.studio-focus-label i{width:5px;height:5px;background:#b88e48;border-radius:50%}.studio-next-label{color:#8b819a}.studio-project-focus p{display:-webkit-box;overflow:hidden;margin:6px 0 0;color:#46445e;font-size:.64rem;font-weight:700;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2}.studio-project-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px}.studio-project-updated{color:#aaa8b5;font-size:.52rem}.studio-card-actions{display:flex;align-items:center;gap:7px}.studio-button{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:37px;padding:0 13px;border:1px solid transparent;border-radius:8px;font-family:inherit;font-size:.65rem;font-weight:800;text-decoration:none;transition:transform .16s ease,background .16s ease,box-shadow .16s ease}.studio-button:hover{transform:translateY(-1px)}.studio-button:disabled{cursor:wait;opacity:.55;transform:none}.studio-button b{font-size:.95rem;font-weight:500}.studio-button-primary{color:#302b49;background:#e8cf8f;box-shadow:0 5px 13px #e1c68329}.studio-button-primary:hover{background:#f0d99d;box-shadow:0 7px 17px #e1c68345}.studio-button-light{color:#67637d;background:#f5f4f8;border-color:#ecebf1}.studio-button-light:hover{background:#eeedf4}.studio-button-dark{min-height:32px;padding:0 10px;gap:8px;color:#f5f2fb;background:#33314c;border-radius:7px;font-size:.59rem}.studio-button-dark:hover{background:#464263}.studio-empty-card{display:grid;place-items:center;min-height:260px;padding:24px;text-align:center;background:#fff;border:1px dashed #d8d5e4;border-radius:13px}.studio-empty-card>span{display:grid;place-items:center;width:44px;height:44px;color:#68618f;background:#f0eef8;border-radius:13px;font-size:1.7rem}.studio-empty-card h3{margin:12px 0 5px;color:#38364e;font-family:Georgia,serif;font-size:1.05rem}.studio-empty-card p{margin:0 0 10px;color:#8f8c9e;font-size:.67rem}.studio-bottom-note{display:flex;align-items:center;gap:11px;margin-top:28px;padding:16px 17px;color:#696581;background:#eeedf5;border-radius:10px}.studio-note-symbol{display:grid;place-items:center;width:30px;height:30px;color:#6d6794;background:#fff;border-radius:9px}.studio-bottom-note>span:nth-child(2){display:grid;gap:3px}.studio-bottom-note strong{color:#4e4a67;font-size:.66rem}.studio-bottom-note small{color:#8b899a;font-size:.57rem}.studio-note-line{flex:1;height:1px;background:#d9d7e5}.studio-note-count{color:#8b899c;font-size:.57rem;white-space:nowrap}.studio-note-count i{padding:0 4px;color:#c3c0cf;font-style:normal}.studio-footer{display:flex;justify-content:space-between;padding:23px 1px 5px;color:#aaa8b7;font-size:.48rem;font-weight:900;letter-spacing:.17em}.studio-state{display:grid;place-items:center;min-height:100vh;padding:24px;color:#615f75;background:#f6f6fb;text-align:center}.studio-state>p{margin:11px 0 0;font-size:.76rem}.studio-orbit{display:grid;place-items:center;width:47px;height:47px;color:#8e80bd;background:#eeecf8;border:1px solid #e1deef;border-radius:16px;animation:studio-float 1.8s ease-in-out infinite}@keyframes studio-float{50%{transform:translateY(-5px) rotate(8deg)}}.studio-state-card{display:grid;justify-items:center;max-width:440px;padding:38px;background:#fff;border:1px solid #e9e7f0;border-radius:16px;box-shadow:0 20px 50px #28263c12}.studio-state-mark{display:grid;place-items:center;width:44px;height:44px;color:#9c5e5c;background:#fbebea;border-radius:14px;font-weight:900}.studio-state-card .studio-kicker{margin:18px 0 8px}.studio-state-card h1{margin:0 0 8px;color:#302e47;font-family:Georgia,serif;font-size:1.6rem}.studio-state-card>p:not(.studio-kicker){margin:0 0 19px;color:#898698;font-size:.73rem;line-height:1.7}.studio-inline-link{margin-top:16px;color:#6d6596;font-size:.67rem;font-weight:800}.studio-login-page{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(420px,.9fr);min-height:100vh;color:#2e2c44;background:#f7f6fb}.studio-login-visual{position:relative;display:flex;flex-direction:column;min-height:100vh;overflow:hidden;padding:36px clamp(32px,6vw,88px);color:#f7f4fb;background:#24223d}.studio-login-visual .studio-brand{margin:0}.studio-login-copy{position:relative;z-index:1;width:min(520px,100%);margin:auto 0;padding:60px 0 85px}.studio-login-copy .studio-kicker{color:#c0b5db}.studio-login-copy h1{margin:0 0 17px;color:#fff;font-family:Georgia,serif;font-size:clamp(3rem,5.8vw,5.8rem);font-weight:500;letter-spacing:-.07em;line-height:.98}.studio-login-copy h1 em{color:#e9cc88;font-style:normal}.studio-login-copy>p:last-child{max-width:370px;margin:0;color:#c4c1d1;font-size:.81rem;line-height:2}.studio-login-art{position:absolute;right:4%;bottom:9%;width:min(43vw,390px);height:min(43vw,390px);opacity:.5}.studio-login-art:before,.studio-login-art:after{position:absolute;inset:13%;content:"";border:1px solid rgba(225,207,156,.26);border-radius:50%}.studio-login-art:after{inset:27%;border-color:#e0d9f436}.studio-login-art>span{position:absolute;z-index:1;color:#e9cf91;font-size:1.8rem}.studio-login-art>span:nth-child(1){top:13%;left:26%}.studio-login-art>span:nth-child(2){top:35%;right:9%;color:#d2c7e7;font-size:3rem}.studio-login-art>span:nth-child(3){bottom:12%;left:6%;color:#d2c7e7;font-size:3.6rem;transform:rotate(-18deg)}.studio-login-art i{position:absolute;inset:36%;border:1px solid rgba(225,207,156,.5);border-radius:50%;box-shadow:0 0 80px #e1cf9c2e}.studio-login-foot{display:flex;justify-content:space-between;color:#858199;font-size:.5rem;font-weight:900;letter-spacing:.17em}.studio-login-side{display:grid;place-content:center;align-content:center;justify-items:center;min-height:100vh;padding:35px}.studio-login-card{width:min(390px,100%);padding:28px;background:#fff;border:1px solid #eae8f0;border-radius:15px;box-shadow:0 19px 55px #312d4f12}.studio-login-icon{display:grid;place-items:center;width:43px;height:43px;margin-bottom:20px;color:#615b89;background:#f0eef8;border-radius:14px;font-size:1.5rem}.studio-login-card .studio-kicker{margin-bottom:6px}.studio-login-card h2{margin:0;color:#302e47;font-family:Georgia,serif;font-size:1.45rem;letter-spacing:-.04em}.studio-login-help{margin:8px 0 20px;color:#898697;font-size:.7rem;line-height:1.7}.studio-login-card label,.studio-field>span{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:14px 0 7px;color:#555269;font-size:.65rem;font-weight:800}.studio-login-card input,.studio-field input:not([type=range]),.studio-field textarea,.studio-field select{width:100%;min-width:0;padding:11px 12px;color:#33314a;background:#fbfbfd;border:1px solid #e2e0ea;border-radius:7px;outline:none;font:inherit;font-size:.71rem}.studio-login-card input:focus,.studio-field input:focus,.studio-field textarea:focus,.studio-field select:focus{border-color:#958ab9;box-shadow:0 0 0 3px #7a6fa51f}.studio-login-submit{width:100%;margin-top:20px}.studio-login-status{min-height:1.2rem;margin:9px 0 0;color:#9d5c57;font-size:.65rem}.studio-form-alert,.studio-form-error{color:#a44d4b;font-size:.65rem}.studio-form-alert{padding:9px 10px;background:#fff2f0;border-radius:6px}.studio-local-credentials,.studio-security-note{margin:18px 0 0;padding-top:14px;color:#8d8a9a;border-top:1px solid #efedf3;font-size:.61rem;line-height:1.8}.studio-local-credentials strong{color:#68627f}.studio-back-link{margin-top:18px;color:#76718f;font-size:.66rem;font-weight:800;text-decoration:none}.studio-dialog{width:min(680px,calc(100% - 30px));max-height:min(90vh,860px);padding:0;overflow:auto;color:#302e47;background:#fff;border:1px solid #e9e7ef;border-radius:15px;box-shadow:0 30px 90px #1c182e42}.studio-dialog::backdrop{background:#18162785;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.studio-dialog>form,.studio-dialog:not(:has(form)){padding:25px}.studio-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:18px}.studio-dialog-head .studio-kicker{margin-bottom:6px}.studio-dialog-head h2{margin:0;color:#302e47;font-family:Georgia,serif;font-size:1.35rem}.studio-dialog .studio-icon-button{flex:0 0 auto;color:#858296;border-color:#eceaf2;font-size:1.4rem}.studio-form-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:15px}.studio-field{display:block;min-width:0;margin:0 0 12px}.studio-field>span{margin:0 0 6px}.studio-field>span strong{color:#6c628e;font-size:.8rem}.studio-field small{display:block;margin-top:5px;color:#a09dac;font-size:.56rem}.studio-field-wide{grid-column:1 / -1}.studio-field textarea{resize:vertical;line-height:1.6}.studio-field select{appearance:auto}.studio-field input[type=range]{width:100%;accent-color:#8074a6}.studio-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:15px;padding-top:14px;border-top:1px solid #efedf3}.studio-dialog .studio-form-error{min-height:1.1rem;margin:0}.studio-dialog .studio-button-primary{min-width:120px}.studio-progress-dialog{width:min(640px,calc(100% - 30px))}.studio-progress-dialog #update-form{display:grid;gap:2px;padding:14px;background:#f8f7fb;border:1px solid #eeecf3;border-radius:10px}.studio-progress-dialog #update-form .studio-field{margin:0 0 8px}.studio-progress-dialog #update-form .studio-button{justify-self:end}.studio-journal-list{margin-top:22px}.studio-journal-heading{display:flex;justify-content:space-between;margin-bottom:12px;color:#77748c;font-size:.56rem;font-weight:900;letter-spacing:.1em}.studio-journal-heading small{color:#a5a2b0;font-size:.56rem;font-weight:500;letter-spacing:0}.studio-journal-item{display:grid;grid-template-columns:10px 1fr;gap:10px;padding:12px 2px;border-top:1px solid #efedf3}.studio-journal-dot{position:relative;display:block;width:7px;height:7px;margin-top:5px;background:#c0a35e;border-radius:50%}.studio-journal-item>div>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.studio-journal-item strong{color:#444158;font-size:.69rem}.studio-journal-item time{flex:0 0 auto;color:#a7a4b1;font-size:.56rem}.studio-journal-item p,.studio-journal-empty{margin:5px 0 0;color:#858293;font-size:.64rem;line-height:1.65;white-space:pre-wrap}.studio-dialog-loading{padding:35px;color:#77748b;font-size:.7rem;text-align:center}@media(max-width:1050px){.studio-shell{grid-template-columns:220px minmax(0,1fr)}.studio-sidebar{width:220px}.studio-content,.studio-topbar{padding-right:28px;padding-left:28px}.studio-welcome{grid-template-columns:minmax(0,1fr) 200px;padding:30px}.studio-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.studio-shell{display:block}.studio-sidebar{position:fixed;z-index:90;top:0;left:0;width:min(280px,84vw);transform:translate(-102%);transition:transform .2s ease;box-shadow:18px 0 50px #1a172c33}.studio-sidebar.studio-sidebar-open{transform:translate(0)}.studio-topbar{min-height:57px;padding:0 17px}.studio-breadcrumb{gap:7px;font-size:.55rem}.studio-breadcrumb>span{display:none}.studio-topbar-actions{gap:10px}.studio-date-chip{font-size:.56rem}.studio-mobile-menu{display:grid;place-items:center;width:32px;height:32px;color:#635e80;background:#efedf6;border:0;border-radius:8px}.studio-content{padding:18px 15px 25px}.studio-welcome{grid-template-columns:1fr 105px;min-height:240px;padding:24px 20px;border-radius:14px}.studio-welcome h1{font-size:clamp(2rem,9vw,2.65rem)}.studio-welcome>div:first-child>p:not(.studio-kicker){font-size:.7rem}.studio-welcome-art{min-height:120px;transform:scale(.68);transform-origin:center}.studio-art-orbit,.studio-art-orbit.orbit-two{width:145px;height:59px}.studio-welcome-art>strong{font-size:4.3rem}.studio-welcome-art>small{right:-20px;bottom:-15px}.studio-stat-grid{gap:8px;margin:12px 0 17px}.studio-stat-card{grid-template-columns:34px 1fr;gap:8px;min-height:78px;padding:11px 10px 18px}.studio-stat-icon{width:31px;height:31px;border-radius:10px;font-size:.95rem}.studio-stat-card small{font-size:.54rem}.studio-stat-card strong{font-size:1.25rem}.studio-stat-caption{right:9px;bottom:6px;font-size:.47rem}.studio-featured-game{min-height:155px;padding:18px}.studio-featured-game h2{font-size:1.35rem}.studio-featured-game p{max-width:245px;font-size:.62rem}.studio-featured-icon{width:69px;height:69px;border-radius:20px}.studio-featured-deco{right:13%;font-size:8rem}.studio-section-heading{align-items:flex-start}.studio-section-heading h2{font-size:1.25rem}.studio-project-heading-actions{flex-direction:column-reverse;align-items:flex-end;gap:3px}.studio-project-heading-actions>span{font-size:.46rem}.studio-text-action{font-size:.59rem}.studio-project-grid{grid-template-columns:1fr}.studio-project-card{padding:17px 15px 13px}.studio-bottom-note{flex-wrap:wrap;margin-top:21px;padding:13px}.studio-note-line{display:none}.studio-note-count{width:100%;padding-left:41px}.studio-login-page{display:block}.studio-login-visual{min-height:33vh;padding:24px 25px}.studio-login-visual .studio-brand{margin:0}.studio-login-copy{padding:35px 0 38px}.studio-login-copy h1{font-size:clamp(2.55rem,11vw,3.7rem)}.studio-login-copy>p:last-child{max-width:300px;font-size:.7rem}.studio-login-art{right:-2%;bottom:-16%;width:210px;height:210px}.studio-login-foot{display:none}.studio-login-side{min-height:67vh;padding:23px 18px}.studio-login-card{padding:23px}.studio-footer{padding-top:18px}}@media(max-width:420px){.studio-welcome{grid-template-columns:minmax(0,1fr) 72px;padding:20px 15px}.studio-welcome .studio-kicker{max-width:220px;font-size:.49rem;letter-spacing:.1em}.studio-welcome-art{margin-right:-28px;transform:scale(.55)}.studio-welcome .studio-button{min-height:34px;padding:0 10px;font-size:.59rem}.studio-featured-game{padding:15px 13px}.studio-featured-game p{max-width:210px}.studio-featured-icon{width:60px;height:60px}.studio-project-card-foot{align-items:flex-start;flex-direction:column}.studio-card-actions{width:100%;justify-content:flex-end}.studio-form-grid{grid-template-columns:1fr}.studio-field-wide{grid-column:auto}.studio-dialog>form,.studio-dialog:not(:has(form)){padding:19px}}.game-command-bar{display:grid;grid-template-columns:1.05fr .9fr .95fr 1fr;align-items:center;min-height:92px;background:var(--panel);border:1px solid var(--line)}.game-command-bar>div{min-height:60px;padding:14px 22px;border-right:1px solid rgba(243,230,200,.13)}.game-command-bar>div:last-child{border-right:0}.command-label{margin-bottom:5px;color:var(--paper-muted);font-size:.58rem;letter-spacing:.16em}.command-phase strong,.command-timer strong,.command-role strong{display:block;color:var(--paper);font-family:Georgia,serif;font-size:1.45rem;font-weight:500}.command-timer{display:flex;align-items:center;gap:12px}.timer-ring{display:block;width:39px;height:39px;border:3px solid var(--gold-light);border-right-color:var(--coral);border-radius:50%;transform:rotate(-35deg)}.command-share{display:grid;grid-template-columns:1fr auto;column-gap:14px;align-items:center}.command-share .command-label,.command-share small{grid-column:1}.command-share strong{grid-column:2;grid-row:1 / span 2;color:var(--gold-light);font-family:Georgia,serif;font-size:1.85rem;letter-spacing:.12em}.command-share small{overflow:hidden;color:var(--paper-muted);font-size:.62rem;text-overflow:ellipsis;white-space:nowrap}.role-badge{display:inline-block;padding:4px 9px;border-radius:1px;font-family:inherit!important;font-size:.85rem!important}.role-badge.ghost{color:#f39b8a;background:#a74e5147}.role-badge.explorer{color:var(--gold-light);background:#e9b84f33}.role-badge.unknown{color:var(--paper-muted);background:#b9b5a924}.game-notice{min-height:43px;padding:12px 15px;color:var(--paper);background:#132b3bc2;border-left:3px solid var(--gold);font-size:.83rem;line-height:1.4}.game-notice.error{border-left-color:var(--coral)}.game-stage{position:relative;display:block;min-height:0}.game-canvas-frame{position:relative;overflow:hidden;min-width:0;padding:0;background:#06111d;border:1px solid var(--line-strong);box-shadow:0 20px 70px #00000047}#game-canvas{position:relative;width:100%;aspect-ratio:1672 / 941;overflow:hidden;background:#091522}#game-canvas canvas{display:block;width:100%!important;height:100%!important;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.canvas-frame-label{position:absolute;top:15px;left:16px;z-index:2;padding:5px 8px;color:#f3e6c8cc;background:#06111db8;font-size:.57rem;font-weight:900;letter-spacing:.15em;pointer-events:none}.game-sidebar{position:absolute;right:20px;bottom:20px;z-index:5;display:flex;flex-direction:column;gap:10px;width:min(340px,calc(100% - 40px));max-height:calc(100% - 40px);min-width:0;overflow:auto;padding:2px;scrollbar-width:thin}.game-sidebar>*{flex-shrink:0;box-shadow:0 12px 35px #00000047}.role-card,.hud-panel{overflow:hidden;background:var(--panel);border:1px solid var(--line)}.role-card{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:178px;padding:20px}.role-card.ghost{border-color:#d9796894;background:linear-gradient(135deg,#381e27e0,#0f1f2feb)}.role-card.explorer{border-color:#e9b84f8f;background:linear-gradient(135deg,#3a301dc2,#0f1f2feb)}.role-card-copy{position:relative;z-index:1;max-width:62%}.role-card-copy h2{margin-bottom:9px;font-size:2.35rem}.role-card-copy p{margin:0;color:var(--paper-muted);font-size:.72rem;line-height:1.65}.role-score{display:flex;align-items:baseline;gap:7px;margin-top:12px}.role-score .command-label{margin:0}.role-score strong{color:var(--gold-light);font-family:Georgia,serif;font-size:1.5rem;font-weight:500}.role-score small,.action-score small,.player-score small{color:var(--paper-muted);font-size:.55rem;letter-spacing:.08em}.role-card.ghost .role-card-copy h2{color:#f39b8a}.role-card.explorer .role-card-copy h2{color:var(--gold-light)}.role-token{align-self:stretch;width:125px;min-width:125px;margin:-20px -20px -20px 0;background-image:url(/assets/ghost-hunt/role-tokens.png);background-repeat:no-repeat;background-size:200% 100%;background-position:left center;opacity:.9;filter:drop-shadow(0 9px 9px rgba(0,0,0,.24))}.role-token.explorer{background-position:right center}.role-token.unknown{opacity:0}.hud-panel{padding:18px}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px}.panel-heading h3{margin:0;font-size:1.35rem}.panel-heading>strong{color:var(--gold-light);font-family:Georgia,serif;font-size:1.65rem;font-weight:500}.panel-heading>strong small{color:var(--paper-muted);font-family:inherit;font-size:.75rem}.team-counts{display:flex;gap:8px;margin-bottom:13px}.team-count{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;color:var(--paper-muted);background:#ffffff0a;font-size:.68rem}.team-count i{display:block;width:6px;height:6px;border-radius:50%}.ghost-count i{background:var(--coral)}.explorer-count i{background:var(--gold-light)}.player-list{display:grid;gap:6px;padding:0;margin:0;list-style:none}.player-row{display:flex;align-items:center;gap:8px;min-height:35px;padding:4px 0;color:var(--paper);border-bottom:1px solid rgba(243,230,200,.08)}.player-row:last-child{border-bottom:0}.player-row.captured{opacity:.62}.player-row.retired{opacity:.52}.player-avatar{display:grid;place-items:center;width:24px;height:24px;color:var(--paper-muted);border:1px solid var(--line);border-radius:50%;font-size:.72rem}.player-avatar.ghost{color:#f39b8a;border-color:#d9796899}.player-avatar.explorer{color:var(--gold-light);border-color:#e9b84f99}.player-name{flex:1;overflow:hidden;font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}.player-name em{margin-left:7px;color:var(--teal);font-size:.55rem;font-style:normal;font-weight:900;letter-spacing:.1em}.player-score{color:var(--gold-light);font-family:Georgia,serif;font-size:.9rem;white-space:nowrap}.player-connection,.ready-label{color:var(--teal);font-size:.58rem;font-weight:900;letter-spacing:.08em}.captured-label{color:var(--coral);font-size:.58rem;font-weight:900;white-space:nowrap}.retired-label{color:var(--gold-light);font-size:.58rem;font-weight:900;white-space:nowrap}.disconnected .player-connection{color:var(--coral)}.team-label{color:var(--gold-light);font-size:.65rem}.panel-footnote{margin:13px 0 0;color:var(--paper-muted);font-size:.67rem;line-height:1.55}.waiting-card{border-color:#e9b84f61}.waiting-card h3{margin:4px 0 8px;font-size:1.35rem}.waiting-position{margin:12px 0;color:var(--gold-light);font-size:.78rem;font-weight:800}.waiting-queue-panel{border-color:#e9b84f33}.waiting-player-list{display:grid;gap:6px;padding:0;margin:0;list-style:none}.waiting-player-row{display:flex;align-items:center;gap:10px;min-height:35px;padding:5px 0;color:var(--paper);border-bottom:1px solid rgba(243,230,200,.08);font-size:.74rem}.waiting-player-row>span:first-child{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.waiting-player-row>span:nth-child(2){color:var(--paper-muted);font-size:.62rem}.waiting-player-row.disconnected>span:nth-child(2){color:var(--coral)}.waiting-player-row em{margin-left:7px;color:var(--teal);font-size:.55rem;font-style:normal;font-weight:900;letter-spacing:.1em}.waiting-player-row .remove-disconnected-player{padding:5px 8px;color:var(--paper);background:#a74e5147;border:1px solid rgba(217,121,104,.55);font-size:.62rem}.action-panel h3,.result-panel h3{margin-bottom:8px;font-size:1.45rem}.action-panel>.muted{margin-bottom:15px}.action-score{display:flex;align-items:baseline;gap:7px;margin:0 0 10px}.action-score .command-label{margin:0}.action-score strong{color:var(--gold-light);font-family:Georgia,serif;font-size:1.45rem;font-weight:500}.san-meter{display:grid;gap:4px;margin:0 0 12px}.san-meter-heading{display:flex;align-items:baseline;justify-content:space-between;color:var(--paper-muted);font-size:.68rem}.san-meter-heading strong{color:var(--teal);font-family:Georgia,serif;font-size:.86rem}.san-meter-heading small{color:var(--paper-muted);font-family:inherit;font-size:.65rem}.san-meter-track{height:7px;overflow:hidden;background:#ffffff1f;border-radius:4px}.san-meter-fill{display:block;height:100%;background:var(--teal);border-radius:inherit;transition:width .24s ease,background-color .24s ease}.san-meter.low .san-meter-fill{background:var(--gold-light)}.san-meter.critical .san-meter-fill{background:var(--coral)}.retired-panel>h3{color:var(--coral)}.action-flow{margin:0 0 10px;color:var(--paper-muted);font-size:.7rem;line-height:1.45}.action-cards{display:grid;gap:8px}.action-card-button{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:70px;padding:8px 10px 8px 8px;color:var(--paper);background:#040f1ab8;border:1px solid var(--line);border-radius:1px;text-align:left;transition:border-color .16s ease,background .16s ease,transform .16s ease,opacity .16s ease}.action-card-button:hover:not(:disabled){background:#1a2f3ee0;border-color:var(--gold-light);transform:translate(2px)}.action-card-button:focus-visible{outline:2px solid var(--gold-light);outline-offset:2px}.action-card-button:disabled{cursor:not-allowed;opacity:.42;filter:grayscale(.3)}.action-card-button .action-card-icon{width:54px;height:54px;border-radius:6px}.action-card-button>span:nth-child(2){display:grid;gap:3px}.action-card-button strong{font-size:.88rem}.action-card-button small{color:var(--paper-muted);font-size:.61rem;line-height:1.35}.action-card-score{color:var(--gold-light);font-size:.76rem;font-weight:900;white-space:nowrap}.icon-action-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.icon-action-button{display:grid;place-items:center;width:76px;height:76px;padding:6px;color:var(--paper);background:#040f1ad1;border:1px solid var(--line);border-radius:8px;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease,box-shadow .16s ease}.icon-action-button:hover:not(:disabled),.icon-action-button:focus-visible{background:#1a2f3ef0;border-color:var(--gold-light);box-shadow:0 0 0 3px #f7d9781f;transform:translateY(-2px)}.icon-action-button:active:not(:disabled){transform:translateY(1px) scale(.97)}.icon-action-button:disabled{cursor:not-allowed;opacity:.38;filter:grayscale(.3)}.icon-action-button .action-icon{width:100%;height:100%;border:0}.action-icon{display:block;width:54px;height:54px;background-image:url(/assets/ghost-hunt/action-icons.png);background-repeat:no-repeat;background-size:200% 200%;border:1px solid rgba(243,230,200,.26)}.icon-search{background-position:0 100%}.icon-capture{background-position:100% 100%}.icon-scare{background-position:100% 0}.icon-haunt{background-position:0 0}.search-action{border-color:#e9b84f66}.capture-action{border-color:#6db9b766}.scare-action{border-color:#d9796880}.scare-action .action-icon{border-color:#d97968a3}.haunt-action{border-color:#87956d9e}.haunt-action .action-icon{border-color:#87956db3}.ready-button{min-height:48px;padding:12px 15px}.host-code-label{margin-top:20px;color:var(--paper-muted);font-size:.6rem;font-weight:900;letter-spacing:.16em;text-align:center}.host-code{margin:4px 0;color:var(--gold-light);font-family:Georgia,serif;font-size:2.45rem;letter-spacing:.18em;text-align:center}.result-panel{border-color:#e9b84f8a}.result-panel h3{color:var(--gold-light)}.result-score-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0 4px}.result-score-grid>div{display:grid;gap:2px;padding:9px 10px;background:#ffffff0b;border-left:2px solid var(--line)}.result-score-grid>div:first-child{border-left-color:var(--coral)}.result-score-grid>div:last-child{border-left-color:var(--gold-light)}.result-score-grid span{color:var(--paper-muted);font-size:.68rem}.result-score-grid strong{color:var(--paper);font-family:Georgia,serif;font-size:1.55rem;font-weight:500}.result-score-grid small{color:var(--paper-muted);font-size:.52rem;letter-spacing:.1em}.phase-hint{background:linear-gradient(135deg,#163641c2,#0f1f2feb)}.event-ticker{display:flex;align-items:center;gap:10px;min-height:35px;padding:8px 13px;color:var(--paper-muted);background:#0e1e2dbd;border-left:2px solid var(--teal);font-size:.7rem}.event-ticker strong{color:var(--paper);font-weight:500}.ticker-dot{width:6px;height:6px;border-radius:50%;background:var(--coral);box-shadow:0 0 10px var(--coral)}.loading-card{display:grid;place-items:center;width:min(520px,100%);min-height:240px;margin:90px auto;padding:32px;color:var(--paper-muted);background:var(--panel);border:1px solid var(--line);text-align:center}.spinner{display:block;margin-bottom:15px;color:var(--gold-light);font-size:2.6rem;animation:pulse 1.2s ease-in-out infinite}@keyframes pulse{50%{opacity:.45;transform:scale(1.15) rotate(45deg)}}@media(max-width:1120px){#app{padding-inline:20px}.landing-hero{grid-template-columns:1fr 1fr;min-height:560px}.hero-visual{min-height:560px}.hero-copy{padding:44px}.hero-copy h2{font-size:clamp(2.8rem,6vw,5.4rem)}.game-command-bar>div{padding-inline:14px}}@media(max-width:860px){.landing-hero,.setup-page{grid-template-columns:1fr}.landing-hero{min-height:0}.hero-copy{order:2;padding:42px 30px 48px}.hero-visual{order:1;min-height:520px}.setup-art{min-height:390px}.setup-card{align-self:stretch}.game-command-bar{grid-template-columns:repeat(2,1fr)}.game-command-bar>div:nth-child(2){border-right:0}.game-command-bar>div:nth-child(-n+2){border-bottom:1px solid rgba(243,230,200,.13)}.game-sidebar{position:relative;right:auto;bottom:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;width:auto;max-height:none;margin-top:14px;padding:0;overflow:visible}.role-card{grid-column:1 / -1}body.game-mode .game-command-bar{top:72px;right:12px;left:12px}body.game-mode .game-notice{top:212px;left:12px;width:calc(100% - 24px)}body.game-mode .game-sidebar{position:absolute;right:12px;bottom:12px;display:flex;width:min(320px,calc(100% - 24px));max-height:50vh;margin-top:0;padding:2px;overflow:auto}body.game-mode .event-ticker{bottom:12px;left:12px;max-width:calc(100% - 360px)}}@media(max-width:860px)and (orientation:portrait){body.game-mode .orientation-lock{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 30%,rgba(217,121,104,.18),transparent 18rem),#050d16fa}.orientation-lock-card{width:min(420px,100%);padding:30px 24px;color:var(--paper);background:linear-gradient(145deg,#182c3ef5,#0f1f2ffa);border:1px solid var(--line-strong);box-shadow:0 22px 70px #00000061;text-align:center}.orientation-lock-icon{display:block;margin-bottom:8px;color:var(--gold-light);font-size:3.8rem;line-height:1;transform:rotate(-45deg)}.orientation-lock-card .command-label{color:var(--coral)}.orientation-lock-card h2{margin:0 0 12px;font-size:clamp(1.7rem,7vw,2.7rem)}.orientation-lock-card p{margin:0;color:var(--paper-muted);font-size:.82rem;line-height:1.8}}@media(max-width:620px){#app{padding:16px 12px 45px}.site-header{align-items:center;margin-bottom:20px;padding-bottom:15px}.site-header h1{font-size:1.7rem}.site-header .subtitle{display:none}.text-button{padding:7px 10px;font-size:.68rem}.landing-page{gap:48px}.hero-copy{padding:32px 22px 38px}.hero-copy h2{font-size:clamp(2.7rem,14vw,4.7rem)}.hero-lead{font-size:.88rem}.hero-visual{min-height:450px}.hero-sticker{top:18px;right:18px;width:72px;height:72px;font-size:1.55rem}.hero-visual figcaption{right:17px;bottom:18px}.hero-visual figcaption strong{font-size:1.15rem}.hero-actions{display:grid;grid-template-columns:1fr;margin-top:26px}.hero-meta{gap:7px;font-size:.59rem}.section-intro{display:block}.section-intro>p:last-child{margin-top:9px}.preview-grid{grid-template-columns:1fr}.rule-strip{grid-template-columns:repeat(3,1fr);gap:8px;padding:15px 12px}.rule-strip>div{column-gap:6px}.rule-strip strong{font-size:.88rem}.rule-strip small{font-size:.57rem}.rule-strip p{grid-column:1 / -1;justify-self:stretch;max-width:none;margin-top:5px;text-align:left}.setup-art{min-height:300px}.setup-art-caption{left:20px;bottom:20px}.setup-card{padding:26px 20px}.setup-card h2{font-size:2.55rem}.game-command-bar{grid-template-columns:1fr 1fr}.game-command-bar>div{padding:12px}.command-phase strong,.command-timer strong,.command-role strong{font-size:1.05rem}.command-share strong{font-size:1.35rem}.timer-ring{width:29px;height:29px}.game-sidebar{display:flex}body.game-mode .game-command-bar{top:64px}body.game-mode .game-notice{display:none}body.game-mode .game-sidebar{right:10px;bottom:10px;width:min(270px,calc(100% - 20px));max-height:44vh}body.game-mode .event-ticker{right:10px;bottom:10px;left:10px;max-width:none}.role-card{min-height:156px}.role-token{width:100px;min-width:100px}.role-card-copy h2{font-size:1.95rem}.action-card-button{grid-template-columns:46px 1fr auto}.action-icon{width:46px;height:46px}.icon-action-button{width:68px;height:68px}}@media(max-width:860px)and (orientation:landscape){.setup-page{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);align-items:stretch;gap:12px;height:calc(100vh - 110px);min-height:0}.setup-art{min-height:0}.setup-card{align-self:stretch;min-height:0;padding:20px;overflow:auto}.setup-card-top{margin-bottom:14px}.setup-card h2{margin-bottom:8px;font-size:clamp(1.8rem,5vw,3rem)}.setup-card>.muted{margin-bottom:14px;font-size:.76rem}.setup-card label{margin-top:10px;margin-bottom:5px}.setup-card input{padding:10px 12px}.team-config{margin-top:12px}.team-summary{margin:10px 0 12px}.form-message{margin-top:8px}body.game-mode:not(.round-started){overflow-x:hidden;overflow-y:auto}body.game-mode:not(.round-started) .site-header{position:relative;inset:auto;width:auto;margin:0 0 8px;padding:4px 0 8px;background:none}body.game-mode:not(.round-started) .site-header h1{font-size:1.3rem}body.game-mode:not(.round-started) .game-shell{min-height:100%;padding:8px 12px 20px}body.game-mode:not(.round-started) .game-command-bar{position:relative;top:auto;right:auto;left:auto;grid-template-columns:repeat(4,minmax(0,1fr));min-height:0;margin:0}body.game-mode:not(.round-started) .game-command-bar>div{min-height:0;padding:8px 10px}body.game-mode:not(.round-started) .game-command-bar>div:nth-child(-n+2){border-bottom:0}body.game-mode:not(.round-started) .command-label{font-size:.48rem}body.game-mode:not(.round-started) .command-phase strong,body.game-mode:not(.round-started) .command-timer strong,body.game-mode:not(.round-started) .command-role strong{font-size:.9rem}body.game-mode:not(.round-started) .command-share strong{font-size:1.1rem}body.game-mode:not(.round-started) .timer-ring{width:28px;height:28px}body.game-mode:not(.round-started) .game-notice{position:relative;top:auto;left:auto;width:auto;min-height:0;margin:8px 0 0;padding:8px 10px;font-size:.68rem}body.game-mode:not(.round-started) .game-stage{display:grid;height:auto;min-height:0;gap:10px}body.game-mode:not(.round-started) .game-canvas-frame{width:100%;height:auto;aspect-ratio:1672 / 941}body.game-mode:not(.round-started) #game-canvas{width:100%;height:100%;aspect-ratio:auto}body.game-mode:not(.round-started) .canvas-frame-label{top:8px;left:10px;font-size:.45rem}body.game-mode:not(.round-started) .game-sidebar{position:relative;inset:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-height:none;margin:0;padding:0;overflow:visible}body.game-mode:not(.round-started) .game-sidebar>*{min-width:0}body.game-mode:not(.round-started) .role-card{min-height:120px;padding:12px}body.game-mode:not(.round-started) .role-card-copy h2{font-size:1.6rem}body.game-mode:not(.round-started) .role-token{width:84px;min-width:84px;margin:-12px -12px -12px 0}body.game-mode:not(.round-started) .hud-panel{padding:12px}body.game-mode:not(.round-started) .event-ticker{position:relative;right:auto;bottom:auto;left:auto;max-width:none;margin-top:10px;font-size:.62rem}body.game-mode.round-started:not(.round-active) .game-sidebar{right:12px;bottom:12px;left:12px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);width:auto;max-width:none;max-height:none;overflow:visible}body.game-mode.round-started:not(.round-active) .role-card,body.game-mode.round-started:not(.round-active) .action-panel{min-height:132px;padding:12px}body.game-mode.round-started:not(.round-active) .role-card-copy h2{font-size:1.55rem}body.game-mode.round-started:not(.round-active) .role-token{width:84px;min-width:84px;margin:-12px -12px -12px 0}body.game-mode.round-started:not(.round-active) .action-panel h3{font-size:1.1rem}body.game-mode.round-started:not(.round-active) .action-panel>.muted{margin-bottom:8px}body.game-mode.round-active .game-sidebar{right:auto;bottom:12px;left:12px;width:auto;max-width:calc(100% - 24px)}body.game-mode.round-active .game-sidebar .action-panel{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px 10px;width:max-content;max-width:100%;padding:8px}body.game-mode.round-active .game-sidebar .action-panel>h3{display:none}body.game-mode.round-active .game-sidebar .action-score{margin:0}body.game-mode.round-active .game-sidebar .san-meter{width:min(130px,30vw);margin:0}body.game-mode.round-active .game-sidebar .retired-panel>h3{display:block;margin:0;font-size:.8rem}body.game-mode.round-active .game-sidebar .action-flow{grid-column:1 / -1;margin:0;font-size:.58rem;white-space:normal}body.game-mode.round-active .game-sidebar .action-cards{grid-column:1 / -1;display:flex;flex-wrap:nowrap;gap:7px}body.game-mode.round-active .game-sidebar .action-card-button{grid-template-columns:42px minmax(0,1fr) auto;width:clamp(112px,25vw,160px);min-height:58px;padding:5px 6px 5px 5px;gap:6px}body.game-mode.round-active .game-sidebar .action-card-button .action-card-icon{width:42px;height:42px}body.game-mode.round-active .game-sidebar .action-card-button strong{font-size:.72rem}body.game-mode.round-active .game-sidebar .action-card-button small{font-size:.52rem;line-height:1.25}body.game-mode.round-active .game-sidebar .action-card-score{font-size:.62rem}body.game-mode.round-active .game-sidebar .action-panel>.panel-footnote{grid-column:1 / -1;margin:0;font-size:.56rem;white-space:nowrap}}body.game-mode.display-mode .site-header>#back-home{display:none}body.game-mode.display-mode .game-command-bar{grid-template-columns:repeat(4,minmax(0,1fr))}body.game-mode.display-mode .game-sidebar{top:164px;right:20px;bottom:20px;width:min(370px,27vw);max-height:none;overflow:auto}body.game-mode.display-mode .event-ticker{max-width:min(620px,calc(100% - 430px))}body.game-mode.display-mode.round-started .site-header,body.game-mode.display-mode.round-started .game-command-bar,body.game-mode.display-mode.round-started .game-notice,body.game-mode.display-mode.round-started .event-ticker,body.game-mode.display-mode.round-started .canvas-frame-label{display:initial}body.game-mode.display-mode.round-started .site-header{display:flex}body.game-mode.display-mode.round-started .game-command-bar{display:grid}body.game-mode.display-mode.round-started .game-notice{display:block}body.game-mode.display-mode.round-started .event-ticker{display:flex}body.game-mode.display-mode.round-started .canvas-frame-label{display:block}body.game-mode.display-mode.round-active .game-sidebar{inset:164px 20px 20px auto;width:min(370px,27vw);max-width:none;max-height:none}body.game-mode.display-mode .game-sidebar .hud-panel{background:#081421e0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}body.game-mode.display-mode .players-panel{max-height:42vh;overflow:auto}body.game-mode.display-mode .player-row{grid-template-columns:30px minmax(0,1fr) auto}body.game-mode.display-mode .game-notice{top:170px}@media(max-width:900px){body.game-mode.display-mode .game-sidebar{width:min(320px,38vw)}body.game-mode.display-mode .event-ticker{max-width:calc(100% - 360px)}}@media(max-width:680px)and (orientation:landscape){.setup-page{grid-template-columns:1fr;height:auto;min-height:0}.setup-art{display:none}.setup-card{max-height:none;padding:18px}body.game-mode:not(.round-started) .game-command-bar>div{padding-inline:6px}body.game-mode:not(.round-started) .command-share{column-gap:6px}body.game-mode:not(.round-started) .command-share strong{letter-spacing:.05em}}.header-controls{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.accessibility-controls{display:flex;flex-wrap:wrap;gap:6px}.preference-button{min-height:38px;padding:8px 11px;color:var(--paper);background:#081421a8;border:1px solid var(--line);border-radius:2px;font-size:.7rem}.preference-button:hover:not(:disabled),.preference-button:focus-visible{border-color:var(--gold-light)}.preference-button[aria-pressed=false]{color:var(--paper-muted)}.tutorial-dialog{width:min(560px,calc(100vw - 28px));max-height:min(84vh,700px);padding:clamp(24px,5vw,38px);overflow:auto;color:var(--paper);background:linear-gradient(145deg,#182c3e,#0b1b2b);border:1px solid var(--line-strong);box-shadow:0 26px 100px #0009}.tutorial-dialog::backdrop{background:#03080ec7;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.tutorial-dialog h2{margin:6px 0 18px;color:var(--gold-light);font-size:clamp(2rem,5vw,3rem)}.tutorial-dialog ol{display:grid;gap:12px;padding-left:1.4rem;color:var(--paper);line-height:1.75}.tutorial-dialog li::marker{color:var(--coral);font-weight:900}.tutorial-dialog .dialog-close{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:38px;height:38px;color:var(--paper);background:transparent;border:1px solid var(--line);border-radius:50%;font-size:1.4rem}.tutorial-dialog .create-button{margin-top:16px}.join-qr-card{display:grid;justify-items:center;gap:7px;width:max-content;max-width:100%;margin:12px auto;padding:10px;color:var(--night);background:#fff;border:1px solid rgba(255,255,255,.65)}.join-qr{display:block;width:142px;height:142px;shape-rendering:crispEdges}.join-qr-card span{color:var(--night);font-size:.64rem;font-weight:800}.play-stats-section{display:grid;gap:20px}.play-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.play-stat{display:grid;gap:5px;min-height:94px;padding:18px;background:#132535c2;border:1px solid var(--line)}.play-stat strong{color:var(--gold-light);font-family:Georgia,serif;font-size:clamp(1.5rem,3vw,2.2rem);font-weight:500}.play-stat span{color:var(--paper-muted);font-size:.7rem}.player-row .remove-disconnected-player{padding:5px 8px;color:var(--paper);background:#a74e5147;border:1px solid rgba(217,121,104,.55);font-size:.62rem}.player-row .remove-disconnected-player:hover:not(:disabled){background:#a74e5185}.host-controls h3{margin-bottom:8px;font-size:1.2rem}.host-controls .room-reset-button{color:var(--paper);background:#a74e519e}.host-controls .room-reset-button:hover:not(:disabled){background:#a74e51db}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--gold-light);outline-offset:3px}#game-canvas canvas:focus-visible{outline:3px solid var(--gold-light);outline-offset:4px}@media(max-width:860px){.play-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.site-header{align-items:flex-start}.header-controls{max-width:54%;gap:5px}.preference-button{min-height:34px;padding:6px 8px;font-size:.61rem}.tutorial-button{padding-inline:8px}body.game-mode .header-controls{max-width:58%}.play-stats{gap:8px}.play-stat{min-height:78px;padding:12px}.join-qr{width:122px;height:122px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}body.game-mode.round-started:not(.display-mode) .game-sidebar{pointer-events:none}body.game-mode.round-started:not(.display-mode) .game-sidebar button,body.game-mode.round-started:not(.display-mode) .game-sidebar summary,body.game-mode.round-started:not(.display-mode) .game-sidebar input,body.game-mode.round-started:not(.display-mode) .game-sidebar select,body.game-mode.round-started:not(.display-mode) .game-sidebar textarea,body.game-mode.round-started:not(.display-mode) .game-sidebar a{pointer-events:auto}body.game-mode.round-started:not(.display-mode) .live-room-reset{min-width:52px;min-height:38px;padding:7px 12px}.studio-section-description{margin:6px 0 0;color:#9290a2;font-size:.66rem}.studio-tool-section{margin-top:38px;padding-top:28px;border-top:1px solid #e5e3ec}.studio-tool-empty{min-height:190px}.studio-sidebar{overflow-y:auto}.studio-sidebar-tool-heading{margin-top:24px}body.novel-mode{background:#f3f1f7;color:#302e47}body.novel-mode:before{display:none}body.novel-mode #app{width:100%;max-width:none;min-height:100vh;margin:0;padding:0}.novel-root{width:100%;min-height:100vh}.novel-studio-shell{min-height:100vh;color:#302e47;background:#f4f2f8}.novel-studio-topbar{position:sticky;z-index:20;top:0;display:flex;align-items:center;justify-content:space-between;min-height:70px;padding:0 clamp(18px,4vw,54px);color:#f7f4fb;background:#25233e;box-shadow:0 5px 18px #2320391a}.novel-studio-brand{display:inline-flex;align-items:center;gap:11px;color:#fff;text-decoration:none}.novel-brand-mark{display:grid;place-items:center;width:38px;height:38px;color:#332d4e;background:#e8cd8b;border-radius:12px;font-family:Georgia,serif;font-size:1.35rem;font-weight:700}.novel-studio-brand>span:last-child{display:grid;gap:3px}.novel-studio-brand strong{font-family:Georgia,serif;font-size:.96rem;letter-spacing:-.02em}.novel-studio-brand small{color:#aaa6c2;font-size:.48rem;font-weight:800;letter-spacing:.16em}.novel-studio-top-actions{display:flex;align-items:center;gap:10px}.novel-studio-top-actions>span{min-width:100px;color:#aaa6c2;font-size:.65rem;text-align:right}.novel-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:38px;padding:0 14px;border:1px solid transparent;border-radius:9px;font-size:.68rem;font-weight:800;text-decoration:none;transition:transform .15s ease,background .15s ease}.novel-button:hover{transform:translateY(-1px)}.novel-button:disabled{cursor:not-allowed;opacity:.48;transform:none}.novel-button-primary{color:#332d4e;background:#e8cd8b}.novel-button-primary:hover{background:#f0d99f}.novel-button-light{color:#5e5a78;background:#f4f2f8;border-color:#e4e1ed}.novel-studio-layout{display:grid;grid-template-columns:276px minmax(0,1fr);min-height:calc(100vh - 70px)}.novel-studio-sidebar{position:sticky;top:70px;display:flex;flex-direction:column;height:calc(100vh - 70px);min-height:420px;overflow-y:auto;padding:20px 15px 18px;background:#fff;border-right:1px solid #e7e4ef}.novel-back-link{margin:0 8px 25px;color:#77728e;font-size:.65rem;font-weight:750;text-decoration:none}.novel-back-link:hover,.novel-text-link:hover{color:#3f3a61}.novel-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 7px 9px}.novel-eyebrow{margin:0 0 5px;color:#a09bae;font-size:.51rem;font-weight:900;letter-spacing:.16em}.novel-panel-heading h2{margin:0;color:#39364f;font-family:Georgia,serif;font-size:1rem;letter-spacing:-.03em}.novel-add-button{display:grid;place-items:center;width:29px;height:29px;color:#5e5880;background:#f0eef7;border:0;border-radius:8px;font-size:1.12rem}.novel-project-list{display:grid;gap:5px}.novel-project-item{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:9px;width:100%;padding:8px;color:#49455f;background:transparent;border:0;border-radius:10px;text-align:left}.novel-project-item:hover,.novel-project-item.is-active{background:#f3f1f8}.novel-project-cover{display:grid;place-items:center;width:36px;height:42px;color:#f1d997;background:linear-gradient(145deg,#565079,#282641);border-radius:7px 10px 10px 7px;box-shadow:inset 3px 0 #ffffff2b}.novel-project-item>span:last-child{display:grid;gap:4px;min-width:0}.novel-project-item strong{overflow:hidden;color:#39364f;font-size:.68rem;text-overflow:ellipsis;white-space:nowrap}.novel-project-item small{overflow:hidden;color:#9793a4;font-size:.55rem;text-overflow:ellipsis;white-space:nowrap}.novel-sidebar-empty{padding:9px;color:#9692a5;font-size:.65rem;line-height:1.8}.novel-scene-nav{margin-top:24px;padding-top:19px;border-top:1px solid #eeecf2}.novel-scene-item{display:grid;grid-template-columns:25px minmax(0,1fr) 16px;align-items:center;gap:7px;width:100%;min-height:36px;padding:5px 8px;color:#77738b;background:transparent;border:0;border-radius:7px;text-align:left}.novel-scene-item:hover,.novel-scene-item.is-active{color:#524b75;background:#f3f1f8}.novel-scene-item>span{color:#aaa6b6;font-size:.53rem;font-weight:800}.novel-scene-item strong{overflow:hidden;font-size:.62rem;text-overflow:ellipsis;white-space:nowrap}.novel-scene-item i{color:#aaa6b6;font-size:.7rem;font-style:normal}.novel-sidebar-foot{display:flex;align-items:center;gap:7px;margin-top:auto;padding:18px 8px 2px;color:#9b97a8;font-size:.59rem}.novel-connection-dot{width:7px;height:7px;background:#67b99b;border-radius:50%;box-shadow:0 0 0 4px #e5f4ed}.novel-studio-main{width:min(1050px,100%);margin:0 auto;padding:39px clamp(20px,4vw,54px) 42px}.novel-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.novel-editor-heading h1{margin:0 0 7px;color:#302d48;font-family:Georgia,Yu Mincho,serif;font-size:clamp(1.6rem,3vw,2.2rem);letter-spacing:-.05em;line-height:1.1}.novel-editor-heading p:last-child{margin:0;color:#878396;font-size:.7rem}.novel-engine-chip{padding:8px 11px;color:#817b9a;background:#ebe9f2;border-radius:8px;font-size:.52rem;font-weight:900;letter-spacing:.11em;white-space:nowrap}.novel-engine-chip b{margin-left:5px;color:#5c557d}.novel-project-meta{display:grid;grid-template-columns:minmax(180px,.85fr) minmax(0,1.5fr);gap:14px;margin-bottom:18px;padding:17px;background:#fff;border:1px solid #e9e6ef;border-radius:12px}.novel-project-meta label,.novel-editor-field{display:grid;gap:7px;color:#77738a;font-size:.62rem;font-weight:800}.novel-project-meta input,.novel-project-meta textarea,.novel-editor-field input,.novel-line-row input,.novel-line-row textarea,.novel-choice-row input,.novel-choice-row select{width:100%;min-width:0;padding:9px 10px;color:#38354e;background:#fbfafd;border:1px solid #e7e4ed;border-radius:7px;outline:none;font-size:.68rem;font-weight:500}.novel-project-meta textarea,.novel-line-row textarea{resize:vertical;line-height:1.65}.novel-project-meta input:focus,.novel-project-meta textarea:focus,.novel-editor-field input:focus,.novel-line-row input:focus,.novel-line-row textarea:focus,.novel-choice-row input:focus,.novel-choice-row select:focus{border-color:#9d91c8;box-shadow:0 0 0 3px #8e80bd1f}.novel-scene-editor{padding:20px;background:#fff;border:1px solid #e9e6ef;border-radius:12px;box-shadow:0 8px 20px #342d4f06}.novel-editor-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.novel-editor-section-heading h2{margin:0;color:#39364f;font-family:Georgia,serif;font-size:1.05rem}.novel-text-danger{padding:7px 9px;color:#a16a68;background:#fbf1f0;border:0;border-radius:7px;font-size:.59rem;font-weight:750}.novel-editor-field{margin-bottom:14px}.novel-illustration-field{display:grid;grid-template-columns:minmax(0,1fr) 180px;align-items:center;gap:16px;margin:6px 0 26px;padding:13px;background:#f8f7fa;border:1px solid #eeecf2;border-radius:9px}.novel-illustration-field>div>small{color:#a09cad;font-size:.56rem}.novel-illustration-preview,.novel-illustration-placeholder{width:180px;height:99px;object-fit:cover;background:linear-gradient(135deg,#ddd7e9,#f3e7cf);border:1px solid #e4e0ea;border-radius:7px}.novel-illustration-placeholder{display:grid;place-items:center;align-content:center;gap:2px;color:#84799e}.novel-illustration-placeholder span{font-size:1.4rem}.novel-illustration-placeholder small{color:#9993a7;font-size:.47rem;font-weight:900;letter-spacing:.15em}.novel-dialogue-heading{margin-top:24px}.novel-small-action{padding:8px 10px;color:#655d8d;background:#f1eff7;border:0;border-radius:7px;font-size:.61rem;font-weight:800}.novel-lines-editor{display:grid;gap:9px}.novel-line-row{display:grid;grid-template-columns:28px minmax(0,1fr) 28px;align-items:start;gap:9px;padding:11px;background:#fbfafd;border:1px solid #eeecf2;border-radius:9px}.novel-line-number{padding-top:8px;color:#aaa6b4;font-size:.55rem;font-weight:900}.novel-line-row>div{display:grid;gap:8px}.novel-line-row label{display:grid;gap:4px;color:#8c879a;font-size:.53rem;font-weight:800}.novel-icon-button{display:grid;place-items:center;width:27px;height:27px;color:#9c98a8;background:#f1eff5;border:0;border-radius:7px;font-size:1rem}.novel-choices-editor{display:grid;gap:8px}.novel-choice-row{display:grid;grid-template-columns:70px minmax(0,1fr) minmax(130px,.8fr) 27px;align-items:center;gap:8px;padding:9px;background:#fbfafd;border:1px solid #eeecf2;border-radius:8px}.novel-choice-row>span{color:#8e899b;font-size:.55rem;font-weight:800}.novel-editor-hint{margin:0;padding:14px;color:#a09cad;background:#faf9fc;border-radius:8px;font-size:.62rem;line-height:1.7}.novel-editor-footer{display:flex;justify-content:space-between;gap:12px;margin-top:18px;color:#9894a5;font-size:.56rem}.novel-empty-state{display:grid;justify-items:center;max-width:500px;margin:80px auto;padding:38px 24px;text-align:center;background:#fff;border:1px solid #e9e6ef;border-radius:14px}.novel-empty-state>span,.novel-empty-scene>span{display:grid;place-items:center;width:48px;height:48px;color:#71678e;background:#f0eef7;border-radius:14px;font-size:1.4rem}.novel-empty-state h2,.novel-empty-scene h2{margin:17px 0 7px;color:#39364f;font-family:Georgia,serif;font-size:1.45rem}.novel-empty-state p,.novel-empty-scene p{max-width:370px;margin:0 0 17px;color:#898597;font-size:.69rem;line-height:1.8}.novel-empty-scene{display:grid;justify-items:center;padding:65px 20px;background:#fff;border:1px dashed #dcd8e7;border-radius:12px;text-align:center}.novel-gate{display:grid;place-items:center;min-height:100vh;padding:24px;background:#f4f2f8;text-align:center}.novel-gate>div{display:grid;justify-items:center;max-width:420px;padding:36px;background:#fff;border:1px solid #e9e6ef;border-radius:16px;box-shadow:0 22px 55px #2c274314}.novel-gate .novel-brand-mark{width:48px;height:48px;font-size:1.5rem}.novel-gate .novel-eyebrow{margin-top:17px}.novel-gate h1{margin:0 0 8px;color:#302d48;font-family:Georgia,serif;font-size:1.65rem}.novel-gate p:not(.novel-eyebrow){margin:0 0 18px;color:#898597;font-size:.7rem;line-height:1.8}.novel-text-link{margin-top:14px;color:#71698f;font-size:.64rem;font-weight:800}.novel-preview-shell{display:grid;place-items:center;min-height:100vh;padding:25px;background:#1c1b2e}.novel-preview-stage{position:relative;width:min(1120px,100%);min-height:min(760px,calc(100vh - 50px));overflow:hidden;background:#2b2941;border:1px solid rgba(255,255,255,.13);border-radius:16px;box-shadow:0 24px 80px #00000059}.novel-preview-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.novel-preview-placeholder{display:grid;place-items:center;align-content:center;gap:8px;color:#ffffffba;background:radial-gradient(circle at 35% 25%,#70678a,#34314d 45%,#25243b)}.novel-preview-placeholder span{font-size:.56rem;font-weight:900;letter-spacing:.2em}.novel-preview-placeholder b{color:#f4e9ca;font-family:Georgia,serif;font-size:2.4rem;font-weight:500}.novel-preview-stage:after{position:absolute;inset:0;content:"";pointer-events:none;background:linear-gradient(180deg,rgba(19,18,33,.34),transparent 35%,rgba(19,18,33,.08) 50%,rgba(19,18,33,.66))}.novel-preview-stage>header,.novel-preview-dialogue,.novel-preview-scene-title{position:absolute;z-index:2}.novel-preview-stage>header{top:22px;right:25px;left:25px;display:flex;justify-content:space-between}.novel-preview-stage>header a,.novel-preview-back{padding:0;color:#fff;background:transparent;border:0;font-size:.65rem;font-weight:800;text-decoration:none}.novel-preview-stage>header span{color:#ffffffbf;font-size:.52rem;font-weight:900;letter-spacing:.15em}.novel-preview-scene-title{top:69px;left:26px;color:#fffc;font-size:.63rem;font-weight:800;text-shadow:0 2px 7px rgba(0,0,0,.4)}.novel-preview-dialogue{right:24px;bottom:24px;left:24px;min-height:185px;padding:21px 24px 18px;color:#f6f3fb;background:#1f1d31e0;border:1px solid rgba(255,255,255,.24);border-radius:12px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.novel-preview-dialogue>strong{display:inline-block;margin-bottom:9px;color:#f0d89c;font-size:.67rem}.novel-preview-dialogue>p{min-height:45px;margin:0 0 12px;font-family:Yu Mincho,Georgia,serif;font-size:.92rem;line-height:1.8;white-space:pre-wrap}.novel-preview-next{display:flex;align-items:center;justify-content:flex-end;gap:12px;width:100%;padding:7px 0 0;color:#f1d998;background:transparent;border:0;font-size:.65rem;font-weight:800}.novel-preview-next span{margin-right:auto;color:#b9b3ca;font-size:.52rem;letter-spacing:.1em}.novel-preview-next b{font-size:1rem}.novel-preview-choices{display:grid;gap:8px;max-width:550px;margin:10px auto 0}.novel-preview-choices button{min-height:40px;padding:8px 12px;color:#f5f1fb;background:#ffffff17;border:1px solid rgba(255,255,255,.27);border-radius:8px;font-size:.65rem}.novel-preview-choices button:hover{color:#28243d;background:#ecd28f}.novel-preview-empty{display:grid;place-items:center;min-height:100vh;color:#f6f2fc}@media(max-width:760px){.studio-sidebar{max-height:100vh}.novel-studio-topbar{min-height:62px;padding:0 13px}.novel-studio-brand .novel-brand-mark{width:33px;height:33px}.novel-studio-brand strong{font-size:.8rem}.novel-studio-brand small{font-size:.4rem}.novel-studio-top-actions{gap:6px}.novel-studio-top-actions>span{display:none}.novel-button{min-height:35px;padding:0 9px;font-size:.58rem}.novel-studio-layout{display:block}.novel-studio-sidebar{position:relative;top:auto;display:block;width:100%;height:auto;min-height:0;padding:13px 14px;border-right:0;border-bottom:1px solid #e7e4ef}.novel-back-link{display:inline-block;margin:1px 5px 13px}.novel-panel-heading{margin-right:3px;margin-left:3px}.novel-project-list{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.novel-scene-nav{margin-top:13px;padding-top:12px}.novel-scene-item{display:inline-grid;width:auto;min-width:150px;margin-right:4px}.novel-sidebar-foot{display:none}.novel-studio-main{padding:25px 14px 30px}.novel-editor-heading h1{font-size:1.6rem}.novel-editor-heading p:last-child{max-width:310px;font-size:.63rem;line-height:1.6}.novel-project-meta{grid-template-columns:1fr;padding:13px}.novel-scene-editor{padding:14px}.novel-illustration-field{grid-template-columns:1fr}.novel-illustration-preview,.novel-illustration-placeholder{width:100%;height:auto;min-height:130px;max-height:230px}.novel-choice-row{grid-template-columns:1fr 28px}.novel-choice-row>span{grid-column:1 / -1}.novel-editor-footer{flex-direction:column}.novel-preview-shell{padding:0}.novel-preview-stage{min-height:100vh;border:0;border-radius:0}.novel-preview-dialogue{right:12px;bottom:12px;left:12px;padding:16px}}
