/* A single title, a single way into the story. */
body.at-title-screen{overflow:hidden}
.at-title-screen>.masthead,.at-title-screen>main{visibility:hidden}
#start-screen{position:fixed;inset:0;margin:0;padding:0;width:100%;height:100svh;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0;overflow:hidden;overscroll-behavior:contain;background:#10111c;color:#fff3e4;box-shadow:none;isolation:isolate}
#start-screen[open]{display:block;animation:none}
#start-screen::backdrop{background:#10111c;backdrop-filter:none}
.title-screen-art,.title-screen-shade{position:absolute;inset:0;pointer-events:none}
.title-screen-art{z-index:-2;background:#171326 url('scene-spark-v1.webp') 66% 50%/cover no-repeat;filter:saturate(1.08);animation:title-scene-in 1.1s ease-out both}
.title-screen-shade{z-index:-1;background:linear-gradient(90deg,#10101bed 0%,#111123d6 23%,#10101b7d 47%,#0c0c1a05 74%),linear-gradient(0deg,#10101bf5,transparent 28%,transparent 75%,#10101b66)}
.title-screen-shell{width:100%;height:100%;max-width:1800px;margin:auto;padding:28px clamp(28px,6vw,110px) 25px;display:grid;grid-template-rows:auto minmax(0,1fr);gap:12px}
.title-screen-brand{display:flex;align-items:center;gap:25px;min-height:68px}
.title-screen-brand img{display:block;width:100px;height:68px;object-fit:contain;filter:drop-shadow(0 3px 14px #0006)}
.title-screen-brand>span{padding-left:24px;border-left:1px solid #efbd7c55;font:600 10px/1.5 var(--sans);letter-spacing:2.6px;color:#f7e9d9cc}
.title-screen-content{align-self:center;width:min(570px,55%);padding:12px 0 20px;animation:title-copy-in .6s ease-out both}
#start-title{width:max-content;max-width:100%;margin:0;color:#fff5e6;font:900 clamp(85px,9.4vw,158px)/.76 var(--display);letter-spacing:-1.5px;text-transform:uppercase;text-shadow:4px 5px 0 #110d20,0 10px 35px #0003;transform:rotate(-2deg);transform-origin:left center}
#start-title>span{display:block}
#start-title .title-screen-for{font-size:.43em;line-height:1.1;letter-spacing:1px;margin:6px 0 5px 3px}
#start-title .title-screen-vault{color:#ffb347}
#start-title .title-screen-period{color:#fff5e6}
#start-tagline{margin:29px 0 26px;font:400 15px/1.6 var(--sans);color:#e7e0e9;max-width:360px;text-shadow:0 2px 12px #0008}
.title-screen-action{width:min(350px,100%)}
#start-game{width:100%;min-height:58px;padding:13px 22px;display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid #ffd18a;border-radius:5px;background:linear-gradient(120deg,#ffbd59,#ff951e);background-color:#ff951e;box-shadow:0 7px 25px #08060a66;color:#20151b;font:800 24px/1.2 var(--display);text-transform:uppercase;letter-spacing:.5px;transition:background .15s,transform .15s,box-shadow .15s}
#start-game svg{width:25px;height:25px;flex:0 0 25px}
#start-game:hover:not(:disabled){background:#ffc97a;transform:translateY(-2px);box-shadow:0 10px 30px #08060a80}
#start-game:active:not(:disabled){transform:translateY(0)}
#start-game:focus-visible{outline:2px solid #fff2df;outline-offset:6px}
#start-game:disabled{opacity:.7}
#start-game-status{min-height:20px;margin:11px 0 0;color:#d3c4d0;font:400 11px/1.6 var(--sans)}
@keyframes title-scene-in{from{opacity:.5;transform:scale(1.025)}to{opacity:1;transform:scale(1)}}
@keyframes title-copy-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){.title-screen-shell{padding-top:40px;padding-bottom:35px}.title-screen-brand img{width:120px;height:81px}#start-tagline{font-size:17px;margin-top:35px}.title-screen-action{width:390px}#start-game{min-height:64px;font-size:27px}}
@media(max-width:700px),(max-width:900px) and (orientation:portrait){
 #start-screen{overflow-y:auto}
 .title-screen-shell{min-height:100%;height:auto;padding:max(22px,env(safe-area-inset-top)) max(25px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(25px,env(safe-area-inset-left));grid-template-rows:auto minmax(0,1fr);min-height:100svh;min-height:100dvh;gap:14px}
 .title-screen-art{position:fixed;background-position:59% center}
 .title-screen-shade{position:fixed;background:linear-gradient(90deg,#111020cc,transparent 100%),linear-gradient(0deg,#10101b 0%,#10101be8 21%,#11102085 50%,#11102040 80%,#11102066)}
 .title-screen-brand{min-height:60px;gap:17px}
 .title-screen-brand img{width:83px;height:56px}
 .title-screen-brand>span{font-size:7px;letter-spacing:1.5px;padding-left:16px;max-width:130px}
 .title-screen-content{width:100%;padding:25px 0 8px;align-self:end}
 #start-title{font-size:clamp(80px,24vw,126px);line-height:.77}
 #start-tagline{font-size:13px;margin:26px 0 23px;line-height:1.6}
 .title-screen-action{width:100%;max-width:380px}
 #start-game{min-height:58px;font-size:25px;padding:14px 19px}
 #start-game-status{font-size:11px;margin-top:10px}
}
@media(max-height:700px) and (orientation:portrait){.title-screen-content{padding-top:10px}.title-screen-brand{min-height:50px}.title-screen-brand img{height:50px}#start-title{font-size:clamp(76px,22vw,106px)}#start-tagline{margin:19px 0 18px}.title-screen-shell{gap:8px}}
@media(max-height:540px) and (orientation:landscape){.title-screen-shell{padding:14px max(28px,env(safe-area-inset-right)) 13px max(28px,env(safe-area-inset-left));gap:4px;overflow-y:auto}.title-screen-brand{min-height:42px}.title-screen-brand img{width:64px;height:43px}.title-screen-brand>span{font-size:8px}.title-screen-content{padding:10px 0;width:58%;align-self:center}#start-title{font-size:clamp(66px,16vh,88px)}#start-tagline{font-size:11px;margin:18px 0 14px}#start-tagline br{display:none}.title-screen-action{width:300px}#start-game{min-height:46px;font-size:21px;padding:10px 17px}#start-game-status{font-size:9px;margin-top:7px}}
@media(prefers-reduced-motion:reduce){.title-screen-art,.title-screen-content{animation:none}#start-game{transition:none}}
