/* The title keeps the existing live game art; warmer paper, slate and restrained
   green accents improve hierarchy without adding large images or dependencies. */
.survivor-overlay.is-title{background:#0c1719;color:#eee9d9;overflow-y:auto;padding:0;}
.is-title .title-shell{width:min(1480px,100%);height:auto;min-height:100dvh;margin:auto;padding:clamp(22px,3vw,48px) clamp(20px,4vw,72px) 22px;}
.is-title .title-topline{color:#bbc5b8;letter-spacing:2px;gap:18px;min-height:22px;}
.is-title .title-signal{color:#b5c6b1;}
.is-title .title-composition{grid-template-columns:minmax(235px,.95fr) minmax(300px,1.15fr) minmax(290px,1fr);min-height:min(720px,calc(100dvh - 230px));gap:clamp(18px,2.5vw,40px);padding-top:24px;}
.is-title .title-copy{padding-top:22px;padding-bottom:22px;}
.is-title .game-title{font-size:clamp(80px,7.8vw,120px);color:#eee8d7;text-shadow:0 4px 36px #0004;letter-spacing:-4px;line-height:.9;}
.is-title .game-title>span{transform:none;}
.is-title .game-title>span+span{color:#bfccab;margin-top:8px;}
.is-title .title-kicker{font-size:10px;line-height:1.6;letter-spacing:2.4px;color:#bac6ad;}
.is-title .title-description{color:#d0d3c3;font-size:14px;line-height:1.85;max-width:300px;}
.is-title .title-story,.is-title .resume-note{color:#b3bfaf;}
.is-title .title-hero{min-height:520px;max-height:720px;overflow:hidden;border-radius:10px;background:radial-gradient(ellipse at 50% 55%,#8d9c8a15,transparent 68%);}
.is-title .title-hero .survivor-stage{min-height:440px;}
.is-title .title-hero canvas{object-position:center center;filter:drop-shadow(8px 18px 18px #07101380);}
.is-title .hero-caption{color:#bdc8b7;top:4%;font-size:9px;}
.is-title .title-identity{max-width:382px;border:1px solid #a7b79c35;border-radius:9px;padding:28px 25px;background:linear-gradient(145deg,#1e302bea,#132323ec);box-shadow:0 22px 60px #06111140;max-height:none;overflow:visible;scrollbar-color:#687c68 #182a25;}
.is-title .title-identity .eyebrow{display:flex;justify-content:space-between;gap:12px;}
.is-title .title-identity .step-next{position:static;float:none;transform:none;font-size:7px;letter-spacing:1px;}
.is-title .portrait-toggle{top:12px;left:auto;right:8px;transform:none;max-width:calc(100% - 16px);padding:6px 8px;font-size:10px;white-space:nowrap;}
.is-title .title-identity:before,.is-title .title-identity:after{display:none;}
.is-title .identity-heading h2{color:#f0ecd9;font-size:25px;line-height:1.24;}
.is-title .identity-heading p,.is-title .identity-help{font-size:11px;line-height:1.65;color:#b2c1ae;}
.is-title .title-identity .eyebrow,.is-title .title-identity .field-label{color:#b8c6b0;}
.is-title .title-identity input[type=text],.is-title .appearance-grid select{background:#10221e;border-color:#8d9f8655;color:#f0eedf;border-radius:5px;}
.is-title .title-identity .sex-options button{border-radius:5px;background:#11231f;border-color:#79907855;}
.is-title .title-identity .sex-options .chosen{background:#516c4c38;border-color:#bdcaa6;}
.is-title .title-identity .sex-options span{color:#a7b8a1;}
.is-title .title-identity .appearance-options{margin-top:14px;}
.is-title .title-identity .start-summary{margin:18px 0 16px;padding-top:13px;}
.is-title .title-action{background:#c5d1ae!important;border-color:#c5d1ae!important;color:#17271e!important;border-radius:5px;font-size:12px;min-height:48px;}
.is-title .title-action:hover{background:#e0e6ca!important;border-color:#e0e6ca!important;}
.is-title .title-worldnote{color:#c0cbb7;}
.is-title .title-footer{font-size:9px;letter-spacing:1.4px;color:#adbaaa;flex-wrap:wrap;gap:12px 22px;}
.is-title .title-footer button{font-size:10px;color:#d5deca;padding:8px 0;}
.support-card{margin:18px 0 0;padding:17px 21px;border:1px solid #9daf9633;border-radius:8px;background:linear-gradient(110deg,#20322a8c,#142626c2);display:flex;align-items:center;justify-content:space-between;gap:22px;}
.support-eyebrow{font:600 9px/1.5 system-ui,sans-serif;letter-spacing:1.8px;color:#aebe9e;}
.support-card p{font-size:15px;letter-spacing:-.2px;color:#e2e8d4;margin:4px 0;}
.support-card small{font-size:11px;line-height:1.7;color:#afbdac;}
.support-card button{padding:11px 15px;min-height:42px;border:1px solid #a4b39566!important;border-radius:5px;color:#dbe4cd!important;background:#83966c12!important;white-space:nowrap;font-size:11px!important;display:flex;align-items:center;gap:16px;}
.support-card button:hover{background:#83966c29!important;border-color:#bccba0!important;}
.support-card button span{font-size:18px;}
.support-card button svg{width:15px;height:15px;stroke:currentColor;stroke-width:1.5;fill:none;flex-shrink:0;}
.support-dialog{position:fixed;inset:0;margin:auto;max-width:490px;width:calc(100% - 36px);max-height:calc(100dvh - 40px);overflow:auto;box-sizing:border-box;padding:35px;border:1px solid #9faf8a66;border-radius:12px;background:linear-gradient(145deg,#21332b,#112320);color:#e3e8d6;font:14px/1.7 system-ui,sans-serif;box-shadow:0 28px 100px #0008;z-index:300;}
.support-dialog::backdrop{background:#061211c9;backdrop-filter:blur(7px);}
.support-dialog h2{font-size:32px;line-height:1.12;letter-spacing:-1px;font-weight:500;color:#eff0dd;margin:17px 0 21px;}
.support-dialog p{color:#bdcabb;font-size:13px;}
.support-dialog strong{color:#e0e7d2;font-weight:550;}
.support-dialog button{font:inherit;cursor:pointer;}
.support-close{position:absolute;top:12px;right:14px;border:0;background:none;color:#bfceb5;font-size:24px!important;width:34px;height:34px;}
.support-pix{padding:18px;background:#0c1d19;border:1px solid #71886b66;border-radius:7px;}
.support-pix>span{font-size:9px;letter-spacing:1.5px;color:#9eb18f;}
.support-pix input{display:block;width:100%;box-sizing:border-box;font:11px/1.5 ui-monospace,monospace;background:#152b23;color:#e0e7d0;border:1px solid #84977655;border-radius:4px;padding:11px 8px;margin:9px 0 12px;user-select:text;}
.support-pix button{display:flex;align-items:center;justify-content:space-between;background:#c5d1ae;color:#18291e;padding:11px 15px;border:0;border-radius:4px;width:100%;font-size:12px;}
.support-pix small{display:block;color:#aabd9d;font-size:11px;margin-top:10px;}
.support-dialog .support-voluntary{font-size:11px;line-height:1.75;color:#a7b99e;}
.support-feedback{font-size:11px!important;min-height:20px;margin-bottom:0;}
.support-dialog :focus-visible{outline:2px solid #d9e2ba;outline-offset:3px;}
.cm-network-diagnostics{border-top:1px solid #81947b44;margin-top:20px;padding-top:14px;}
.cm-network-diagnostics summary{cursor:pointer;color:#d0dac4;font-size:12px;}
.cm-network-diagnostics pre{font:11px/1.8 ui-monospace,monospace;white-space:pre-wrap;color:#bfcdb5;background:#0e211c;padding:12px;border-radius:5px;}
.cm-network-diagnostics button{margin:5px 8px 0 0;padding:9px 11px;border:1px solid #71896c;border-radius:4px;background:#20372b;color:#d3dfc6;font-size:10px;cursor:pointer;}
@media(min-width:851px) and (max-height:800px){.is-title .title-composition{min-height:520px;padding-top:10px;}.is-title .title-hero{min-height:500px;max-height:580px;}.is-title .game-title{font-size:88px;}.is-title .title-identity{max-height:none;}.support-card{margin-top:10px;padding:13px 18px;}}
@media(max-width:1050px) and (min-width:701px){.is-title .title-shell{padding:24px 28px;}.is-title .title-composition{grid-template-columns:minmax(210px,.9fr) minmax(230px,1fr) minmax(270px,1fr);gap:12px;}.is-title .game-title{font-size:78px;}.is-title .title-identity{padding:23px 18px;}.is-title .title-description{font-size:12px;}.is-title .title-hero{min-height:480px;}}
@media(max-width:700px){.is-title .title-shell{padding:22px 20px;}.is-title .title-topline{font-size:7px;letter-spacing:1px;}.is-title .title-signal{font-size:7px;}.is-title .title-composition,.is-title .title-returning .title-composition,.is-title .title-team-selection .title-composition{grid-template-columns:minmax(0,1fr) minmax(0,.85fr);grid-template-rows:auto auto;gap:16px 0;padding-top:22px;min-height:0;}.is-title .title-copy{grid-column:1;grid-row:1;padding:12px 0 16px;align-self:center;}.is-title .game-title{font-size:clamp(48px,11.8vw,78px);letter-spacing:-2px;margin-bottom:18px;}.is-title .game-title>span{display:block;}.is-title .game-title>span+span{margin:6px 0 0;}.is-title .title-kicker{font-size:8px;letter-spacing:1.2px;}.is-title .title-description{font-size:11px;line-height:1.8;max-width:210px;}.is-title .title-description br{display:none;}.is-title .title-divider,.is-title .title-chapter,.is-title .title-story{display:none;}.is-title .title-hero,.is-title .title-returning .title-hero,.is-title .title-team-selection .title-hero{grid-column:2;grid-row:1;height:340px;min-height:340px;max-height:410px;margin:0 -16px 0 0;padding:0;overflow:hidden;}.is-title .title-hero .survivor-stage{min-height:310px;height:100%;}.is-title .title-hero canvas,.is-title .title-returning .title-hero canvas{position:relative;left:0;width:100%;height:100%;max-width:100%;object-fit:contain;}.is-title .hero-caption,.is-title .hero-hint{display:none;}.is-title .title-hero .rotate-control{left:5%;right:5%;bottom:7px;}.is-title .title-identity,.is-title .team-identity{grid-column:1/-1;grid-row:2;max-height:none;max-width:none;width:100%;margin:0;padding:24px;overflow:visible;}.is-title .title-identity .appearance-grid{grid-template-columns:1fr 1fr;}.is-title .title-identity .field-label{font-size:9px;}.is-title .title-identity input[type=text]{font-size:14px;}.is-title .title-identity .sex-options b{font-size:13px;}.is-title .title-identity .sex-options span{font-size:10px;}.is-title .title-identity .skin-options{max-width:280px;}.is-title .title-identity .skin-options button{width:26px;height:26px;}.is-title .title-action{font-size:12px;min-height:47px;}.is-title .title-worldnote{display:none;}.is-title .title-footer{font-size:8px;margin-top:20px;padding-top:15px;gap:8px 18px;}.is-title .title-footer>span{display:none;}.support-card{padding:19px;display:block;margin-top:18px;}.support-card button{margin-top:15px;width:100%;justify-content:space-between;}.support-card p{font-size:15px;}.support-card small{font-size:11px;}.support-dialog{padding:28px 22px;}.support-dialog h2{font-size:29px;}}
@media(prefers-reduced-motion:reduce){.support-dialog::backdrop{backdrop-filter:none;}}

@media(max-width:700px){.is-title .title-hero canvas,.is-title .title-returning .title-hero canvas{position:absolute;left:-25%;width:150%;max-width:none;height:100%;}.is-title .portrait-toggle{right:7px;top:10px;}}
