@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;900&family=Noto+Serif+JP:wght@500;600;700;900&display=swap');
:root{color-scheme:dark;--pink:#ffb7d2;--ink:#101526;--muted:#939aac}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 70% 0%,#24273b 0,#111626 48%,#0b101b 100%);color:#f9f4f3;font-family:'Noto Sans JP',sans-serif;min-height:100vh}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid #ffb7d2;outline-offset:4px}main{max-width:1600px;margin:0 auto;padding:0 40px}.masthead{height:96px;display:flex;justify-content:space-between;align-items:center}.wordmark{text-decoration:none;color:#fff;display:flex;align-items:center;gap:13px}.wordmark strong{font-family:'Noto Serif JP',serif;font-size:28px;letter-spacing:.18em}.flower{color:var(--pink);font-size:32px}.roman{font-size:11px;letter-spacing:.3em;color:#aeb2c3;border-left:1px solid #484657;padding-left:17px;margin-left:2px}.header-right{display:flex;align-items:center;gap:12px}.edition{font-family:'Noto Serif JP',serif;font-size:13px;letter-spacing:.25em;color:#b1afbb;margin-right:20px}.icon-button{background:transparent;border:1px solid #ffffff1c;border-radius:50%;width:34px;height:34px;font-size:19px;color:#bfc1cd}.icon-button:hover{background:#ffffff10;color:white}.game-shell{position:relative;overflow:hidden;border:1px solid #60607866;border-radius:9px;box-shadow:0 24px 90px #0007;background:#242941;isolation:isolate;aspect-ratio:16/9}canvas{width:100%;height:100%;display:block;outline:none;touch-action:none}.hud{position:absolute;inset:28px 30px auto;display:flex;align-items:center;justify-content:space-between;pointer-events:none;text-shadow:0 2px 8px #18152b}.player-status{display:flex;gap:13px;align-items:center}.avatar{width:51px;height:51px;border:1px solid #f4c8da88;background-color:#242239;background-image:url('./assets/hero.png');background-size:780% 520%;background-position:7% 0%;border-radius:50%}.name{font-size:16px;font-weight:600}.name span{font-size:10px;letter-spacing:.18em;margin-left:8px;color:#c4bbd0}.hearts{font-size:21px;letter-spacing:3px;color:#ffb1cc;line-height:1.6}.hearts .empty{color:#ffffff32}.stage-info{position:absolute;left:50%;transform:translateX(-50%);text-align:center;min-width:200px}.stage-info>span{font-size:11px;letter-spacing:.3em;color:#ffe1ec;display:block;margin-bottom:7px}.stage-info strong{font-family:'Noto Serif JP',serif;font-weight:500;font-size:18px;letter-spacing:.14em}.progress{width:140px;background:#ffffff25;height:2px;margin:12px auto 0}.progress i{display:block;height:100%;background:#ffd1e1;width:0;transition:width .2s}.pause-button{pointer-events:auto;background:#15182a55;border:1px solid #ffffff40;border-radius:50%;width:38px;height:38px}.overlay{position:absolute;inset:0;background:linear-gradient(90deg,#16152cdd,#17162980 40%,transparent 74%);display:flex;align-items:center;padding:55px 6%;z-index:4}.overlay.hidden{display:none}.intro{max-width:500px}.eyebrow{font-size:12px;letter-spacing:.26em;color:#f8cbda}.intro h1{font-family:'Noto Serif JP',serif;font-weight:600;font-size:clamp(64px,8vw,128px);margin:5px 0 0;line-height:1.3;letter-spacing:.11em}.intro h1 span{color:#ffbfd5}.title-rule{width:38px;height:1px;background:#ffbfce;margin:18px 0}.subtitle{font-family:'Noto Serif JP',serif;letter-spacing:.5em;font-size:20px;margin:0 0 26px}.intro-copy{font-size:14px;line-height:2.15;color:#d6d0de;letter-spacing:.07em}.primary{margin-top:20px;background:#ffbfd2;color:#302135;border:0;border-radius:3px;padding:16px 25px;font-size:15px;font-weight:600;letter-spacing:.08em;min-width:238px;box-shadow:0 4px 35px #fd8db533;display:flex;justify-content:space-between;gap:30px;align-items:center}.primary:hover{background:#ffd7e3;transform:translateY(-1px)}.primary:disabled{opacity:.5;cursor:wait}.start-hint{font-size:10px;color:#aaa1b8;letter-spacing:.12em;display:block;margin-top:14px}.loading{font-size:12px;color:#d5c4d8;margin-top:10px}.bottom-hud{position:absolute;bottom:26px;left:30px;right:30px;display:flex;justify-content:space-between;align-items:end;z-index:3;pointer-events:none}.district{display:flex;gap:7px;flex-direction:column;font-size:12px;text-shadow:0 1px 7px #000}.small-label{color:#c4b6cf;font-size:10px;letter-spacing:.2em}.skills{display:flex;gap:9px;pointer-events:auto}.skill{position:relative;overflow:hidden;display:flex;align-items:center;gap:11px;text-align:left;border-radius:5px;border:1px solid #ffffff38;background:#191c31df;padding:12px 14px;min-width:130px;backdrop-filter:blur(8px)}kbd{font:11px 'Noto Sans JP',sans-serif;display:inline-flex;align-items:center;justify-content:center;border:1px solid #ffffff33;border-radius:4px;min-width:23px;height:23px;color:#d1c9da;padding:0 5px}.skill div{display:flex;flex-direction:column;gap:3px;z-index:1}.skill strong{font-size:14px;font-weight:500;letter-spacing:.05em}.skill span{font-size:10px;color:#a7a3b9}.skill b{font-size:26px;color:#e1d1e7;font-weight:400;margin-left:5px}.skill.heavy{border-color:#edabc866}.skill.heavy b{color:#ffbad2}.skill.slow{border-color:#a4cced66}.skill.slow b{color:#b8dcff}.skill:hover{background:#36364bdc}.skill i{position:absolute;left:0;bottom:0;height:3px;background:#ffb6d0;width:100%}.skill.slow i{background:#a5d6ff}.skill.cooldown{opacity:.65}.skill.active{box-shadow:0 0 24px #98ceff66}.announcement{position:absolute;left:50%;top:27%;transform:translate(-50%,-10px);text-align:center;pointer-events:none;color:#ffdeec;font-family:'Noto Serif JP',serif;font-size:28px;letter-spacing:.2em;opacity:0;transition:opacity .3s,transform .3s;text-shadow:0 3px 18px #24213d;z-index:2;white-space:nowrap}.announcement.show{opacity:1;transform:translate(-50%,0)}footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 0 30px}.controls-line{display:flex;gap:22px;color:#9c9fb1;font-size:11px;align-items:center;flex-wrap:wrap}.controls-line>span{display:flex;align-items:center;gap:5px}.controls-line kbd{height:21px;font-size:10px}.footer-note{font-family:'Noto Serif JP',serif;color:#787d92;font-size:12px;letter-spacing:.15em;white-space:nowrap}.frame-corner{position:absolute;width:25px;height:25px;pointer-events:none;opacity:.6}.tl{left:9px;top:9px;border-left:1px solid #eac4d6;border-top:1px solid #eac4d6}.br{bottom:9px;right:9px;border-bottom:1px solid #eac4d6;border-right:1px solid #eac4d6}.touch-controls{display:none}.result-title{font-family:'Noto Serif JP',serif;font-size:52px!important;letter-spacing:.1em!important}.result-copy{font-size:15px;line-height:2;color:#d7cada}dialog{max-width:560px;width:calc(100% - 32px);border:1px solid #656071;border-radius:12px;background:#1a2032;color:#f4ecf3;padding:35px;box-shadow:0 25px 100px #0008}dialog::backdrop{background:#090d1bbc;backdrop-filter:blur(5px)}dialog h2{font-family:'Noto Serif JP',serif;font-size:28px}dialog p{font-size:14px;line-height:1.9;color:#bdc0d0}dialog dl{display:grid;grid-template-columns:130px 1fr;gap:14px 8px;font-size:13px}dialog dt{color:#ffc2d7}dialog dd{margin:0;color:#e0dce9}.close{position:absolute;right:17px;top:12px;background:none;border:0;font-size:28px}.help-tip{padding:15px;background:#ffffff06;border-left:2px solid #f2aac6}.game-shell:fullscreen{height:100vh;width:100vw;border:0;border-radius:0;aspect-ratio:auto}.game-shell:fullscreen canvas{object-fit:contain;background:#101526}
@media(min-width:1800px){main{padding-top:20px}}
@media(max-width:1050px){main{padding:0 20px}.masthead{height:78px}.hud{inset:18px 20px auto}.bottom-hud{bottom:18px;left:20px;right:20px}.intro h1{font-size:85px}.intro-copy{font-size:12px}.subtitle{margin-bottom:15px}.primary{padding:12px 18px;margin-top:12px}.skill{padding:9px;min-width:100px;gap:7px}.skill b{display:none}.controls-line{gap:12px}.footer-note{display:none}.avatar{width:43px;height:43px}.name{font-size:14px}.hearts{font-size:17px}.stage-info strong{font-size:15px}}
@media(pointer:coarse){.touch-controls{position:absolute;bottom:100px;left:18px;right:18px;display:flex;justify-content:space-between;z-index:3;pointer-events:none}.touch-controls>div{display:flex;gap:7px;pointer-events:auto}.touch-controls button{touch-action:none;user-select:none;border:1px solid #ffffff38;border-radius:50%;background:#1720389c;backdrop-filter:blur(4px);width:50px;height:50px;font-size:14px}.controls-line{display:none}}
@media(max-width:700px){main{padding:0 10px}.masthead{height:64px}.wordmark strong{font-size:23px}.wordmark{gap:7px}.roman,.edition{display:none}.header-right{gap:8px}.game-shell{aspect-ratio:4/5;max-height:78vh}.hud{inset:17px 14px auto}.name span{display:none}.avatar{width:35px;height:35px}.player-status{gap:7px}.name{font-size:12px}.hearts{font-size:14px;letter-spacing:1px}.stage-info{left:58%;min-width:130px}.stage-info strong{font-size:12px;letter-spacing:.03em}.stage-info>span{font-size:10px}.progress{width:95px;margin-top:7px}.pause-button{width:29px;height:29px}.overlay{padding:65px 25px;align-items:center;background:linear-gradient(90deg,#17182de8,#17182d80 65%,transparent)}.intro h1{font-size:75px}.intro-copy{font-size:12px;line-height:1.9}.subtitle{font-size:16px}.eyebrow{font-size:10px}.bottom-hud{left:10px;right:10px;bottom:13px}.district{display:none}.skills{width:100%;gap:5px;justify-content:center}.skill{flex:1;min-width:0;padding:9px 6px;gap:5px}.skill strong{font-size:12px}.skill span{font-size:9px}.skill kbd{min-width:18px;height:20px;font-size:10px;padding:0 3px}.touch-controls{bottom:88px;left:12px;right:12px}.touch-controls button{width:41px;height:41px;font-size:12px}.touch-controls>div{gap:4px}.announcement{font-size:20px}.result-title{font-size:36px!important}footer{padding:15px 0}.controls-line{gap:10px;font-size:10px}dialog{padding:27px 22px}dialog dl{grid-template-columns:95px 1fr;font-size:12px}}
@media(max-height:550px) and (orientation:landscape){main{padding:0}.masthead,footer{display:none}.game-shell{height:100dvh;width:100vw;aspect-ratio:auto;border:0}.intro h1{font-size:65px}.intro-copy{display:none}.overlay{padding:40px}.subtitle{font-size:14px;margin:8px 0}.title-rule{margin:5px 0}.hud{inset:12px 20px auto}.touch-controls{bottom:85px}.bottom-hud{bottom:12px}.skill{padding:6px 10px}}
.growth-options{display:grid;gap:8px;margin:22px 0 12px;max-width:355px}.growth-options button{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:15px 17px;border:1px solid #e6aec666;background:#22223dcc;border-radius:4px;text-align:left}.growth-options button:hover{background:#514055;border-color:#ffd1e2}.growth-options button:disabled{opacity:.4;cursor:default}.growth-options strong{font-size:14px;color:#ffcedf;font-weight:500}.growth-options span{font-size:11px;color:#d0c5d8}.save-caption{font-size:12px;line-height:1.8}
@media(max-width:700px){.growth-options{gap:6px;margin:12px 0}.growth-options button{padding:11px 12px}.growth-options strong{font-size:12px}.growth-options span{font-size:10px}.save-caption{font-size:10px}.hearts{max-width:115px;line-height:1.2}}

.skill.dodge{border-color:#b3d5f777;min-width:140px}.skill.dodge i{background:#b3d5f7}.skill.dodge.active{box-shadow:0 0 20px #acdaff66}
@media(max-width:1100px){.district{display:none}.bottom-hud{justify-content:flex-end}.skill.dodge{min-width:115px}}
@media(max-width:700px){.skill.dodge{min-width:0}.skills{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:4px}.skill{min-width:0;flex-direction:column;align-items:flex-start;padding:7px 6px;gap:4px}.skill kbd{height:18px;min-width:19px}.skill strong{font-size:11px}.skill span{font-size:8px;white-space:nowrap}.touch-controls{bottom:112px}.bottom-hud{bottom:12px}.skill div{gap:4px}.skill b{display:none}}

.pad-status{font-size:11px;color:#b8e1d7;border:1px solid #b8e1d733;padding:5px 9px;border-radius:20px}.pad-hint{flex-basis:100%;font-size:12px;line-height:1.8;color:#b5c9d6}footer{flex-wrap:wrap}.gamepad-selected{outline:2px solid #ffd1e2;outline-offset:2px;background:#514055!important}.pad-status[hidden],.pad-hint[hidden]{display:none}@media(max-width:700px){.pad-status{font-size:9px;max-width:115px;padding:4px 6px}.pad-hint{font-size:10px}}

.talk-button{position:absolute;left:50%;bottom:24%;transform:translateX(-50%);z-index:4;display:flex;align-items:center;gap:18px;padding:14px 22px;border:1px solid #ffd0df;border-radius:7px;background:#382838ee;box-shadow:0 0 24px #ffaecd33;color:#ffe4ec}.talk-button[hidden]{display:none}.talk-button span{font-size:16px}.talk-button small{font-size:13px;color:#d8bfce}.secondary{display:block;width:100%;margin-top:12px;padding:13px 16px;border:1px solid #f3bbcf77;border-radius:4px;background:#242139;color:#ffe0eb;font-size:14px}.secondary:hover{background:#493345}.retry-note{font-size:12px;line-height:1.8;color:#c1b4c7}.welcome-quote{font-family:'Noto Serif JP',serif;font-size:clamp(24px,2.6vw,40px)!important;line-height:1.6!important;letter-spacing:.03em!important;margin:12px 0!important}.is-homecoming .bottom-hud,.is-homecoming .touch-controls,.is-homecoming .hud{display:none}.is-homecoming .intro{max-width:49%;}.is-homecoming .overlay{background:linear-gradient(90deg,#16152ce8,#17162988 45%,transparent 68%)}.is-homecoming .growth-options{margin:16px 0}.is-homecoming .result-copy{font-size:14px}.is-homecoming .title-rule{margin:12px 0}
@media(max-width:700px){.talk-button{bottom:31%;padding:12px 16px;gap:12px;white-space:nowrap}.is-homecoming .overlay{align-items:flex-start;padding:24px 22px;background:linear-gradient(180deg,#16152ced, #171629bb 48%,transparent 70%)}.is-homecoming .intro{max-width:100%;width:100%}.is-homecoming .welcome-quote{font-size:24px!important;margin:5px 0!important}.is-homecoming .result-copy{font-size:12px;line-height:1.7;margin:8px 0}.is-homecoming .growth-options{margin:10px 0}.is-homecoming .growth-options button{padding:9px 12px}.is-homecoming .save-caption{font-size:10px}.is-homecoming .title-rule{display:none}.secondary{font-size:12px;padding:11px}.retry-note{font-size:10px}}
@media(max-height:550px) and (orientation:landscape){.is-homecoming .overlay{padding:18px 4%}.is-homecoming .welcome-quote{font-size:24px!important}.is-homecoming .result-copy{font-size:12px;line-height:1.5;margin:5px 0}.is-homecoming .growth-options{margin:8px 0;gap:5px}.is-homecoming .growth-options button{padding:8px 12px}.is-homecoming .save-caption{display:block;font-size:10px;line-height:1.4}}
.is-rebirth .hud,.is-rebirth .bottom-hud,.is-rebirth .touch-controls{display:none}.is-rebirth .overlay{overflow-y:auto;background:linear-gradient(90deg,#171629f2,#231c36cc 48%,#221c3533 80%)}.is-rebirth .intro{max-width:52%}.is-rebirth .welcome-quote{font-size:clamp(24px,2.3vw,34px)!important}.rebirth-dialogue{font-size:16px;line-height:2;color:#ffe0ec;margin:18px 0}.rebirth-record{font-size:14px;line-height:1.9;color:#cfbdd8}.is-rebirth .result-copy{font-size:14px}.is-rebirth .retry-note{font-size:14px}.is-rebirth .primary{max-width:330px}
@media(max-width:700px){.is-rebirth .overlay{align-items:flex-start;padding:24px 22px;background:linear-gradient(180deg,#171629f5,#211b34d9 52%,#221c3533 80%)}.is-rebirth .intro{max-width:100%;width:100%}.is-rebirth .welcome-quote{font-size:24px!important;margin:8px 0!important}.is-rebirth .title-rule{margin:10px 0}.rebirth-dialogue{font-size:14px;line-height:1.8;margin:12px 0}.rebirth-record,.is-rebirth .retry-note{font-size:12px;line-height:1.7;margin:8px 0}.is-rebirth .result-copy{font-size:13px;line-height:1.8}.is-rebirth .primary{margin-top:12px}}
@media(max-height:550px) and (orientation:landscape){.is-rebirth .overlay{padding:18px 4%;align-items:flex-start}.is-rebirth .intro{max-width:63%}.is-rebirth .welcome-quote{font-size:24px!important;margin:4px 0!important}.is-rebirth .title-rule{display:none}.rebirth-dialogue{font-size:14px;line-height:1.6;margin:8px 0}.is-rebirth .result-copy{font-size:13px;line-height:1.5;margin:6px 0}.rebirth-record,.is-rebirth .retry-note{font-size:12px;line-height:1.5;margin:6px 0}.is-rebirth .primary{margin-top:8px;padding:10px 16px}}
.supplies-hud{position:absolute;top:110px;left:30px;display:flex;flex-wrap:wrap;gap:6px 12px;max-width:390px;padding:8px 12px;border:1px solid #eac9b444;border-radius:5px;background:#171d30dd;pointer-events:none;color:#ffe1b3;font-size:14px}.supplies-hud[hidden],.is-rebirth .supplies-hud,.is-homecoming .supplies-hud{display:none}.supply-label{color:#c6bdcb}.supplies-hud #sisterStatus{color:#efb9d0}.home-care{padding:9px 11px;border:1px solid #e0afc633;border-radius:5px;background:#2522389c;max-width:430px;margin:9px 0}.sister-energy{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;font-size:14px;color:#f6ccdd}.sister-energy progress{width:90px;height:6px;border:0;appearance:none;background:#ffffff20;border-radius:4px;overflow:hidden}.sister-energy progress::-webkit-progress-bar{background:#ffffff20}.sister-energy progress::-webkit-progress-value{background:#f4b5ce}.sister-energy progress::-moz-progress-bar{background:#f4b5ce}.home-care p{font-size:14px;line-height:1.7;color:#e2d0d9;margin:5px 0 0}.is-homecoming .overlay{overflow-y:auto}
@media(max-width:700px){.supplies-hud{left:14px;top:96px;max-width:calc(100% - 28px);font-size:12px;padding:6px 9px;gap:5px 10px}.home-care{padding:7px 9px;margin:7px 0}.sister-energy,.home-care p{font-size:12px}.sister-energy{gap:5px 8px}.sister-energy progress{width:64px}.home-care p{line-height:1.6;margin-top:3px}.is-homecoming .growth-options{margin:8px 0}}
@media(max-height:550px) and (orientation:landscape){.supplies-hud{top:82px;font-size:12px}.home-care{padding:5px 8px;margin:6px 0}.sister-energy,.home-care p{font-size:12px}.home-care p{line-height:1.5;margin-top:2px}}
.supplies-hud{max-width:430px;align-items:center}.supplies-hud #eatFood{pointer-events:auto;min-height:38px;padding:6px 12px;border:1px solid #ffe0a155;border-radius:4px;background:#45392f;color:#ffe5b8;font-size:14px}.supplies-hud #eatFood:disabled{opacity:.5;cursor:default}.exchange-prompt{position:absolute;left:50%;bottom:25%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 28px);display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 16px;background:#1c2033ef;border:1px solid #eac9b466;border-radius:6px;z-index:4;text-align:center;font-size:14px;color:#ffdfba}.exchange-prompt[hidden]{display:none}.exchange-prompt button{min-height:44px;padding:10px 14px;border:1px solid #e8c39877;border-radius:4px;background:#514332;color:#fff0d7;font-size:14px}.exchange-prompt button:disabled{opacity:.5}.exchange-prompt button[hidden]{display:none}.exchange-prompt small{font-size:12px;color:#cabfc9;line-height:1.6}.is-homecoming .exchange-prompt,.is-rebirth .exchange-prompt{display:none}
@media(max-width:700px){.supplies-hud{max-width:calc(100% - 28px);gap:4px 8px}.supplies-hud #eatFood{min-height:40px;padding:5px 10px;font-size:12px}.exchange-prompt{bottom:29%;padding:10px 12px;gap:6px;font-size:12px}.exchange-prompt button{font-size:12px}.exchange-prompt small{font-size:11px;max-width:290px}}
.is-memory .overlay{padding:clamp(12px,2vw,24px);background:#19151d;align-items:center;justify-content:center;overflow:auto}.is-memory .intro{width:100%;max-width:none;height:100%;outline:none}.home-memory{height:100%;margin:0;display:flex;flex-direction:column;gap:12px}.home-memory>img{display:block;width:100%;flex:1;min-height:0;object-fit:contain;image-rendering:pixelated}.home-memory figcaption{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0;padding:0 8px;color:#f8e6d1}.home-memory h2{font-family:'Noto Serif JP',serif;font-size:clamp(20px,2.2vw,30px);font-weight:500;line-height:1.6;letter-spacing:.08em;margin:0 0 5px}.home-memory p{font-size:16px;line-height:1.7;margin:0;color:#d8c6b6}.memory-action{flex-shrink:0;display:flex;flex-direction:column;align-items:center;gap:5px}.memory-action .primary{margin:0;min-height:44px;background:#e9c5a1;color:#34271e}.memory-action small{font-size:12px;color:#b8a796}.is-memory .announcement,.is-memory .frame-corner{display:none}
@media(max-width:700px){.home-memory{justify-content:center}.home-memory>img{flex:0 1 auto;max-height:65%;aspect-ratio:16/9}.home-memory figcaption{flex-direction:column;align-items:flex-start;gap:12px;padding:0}.home-memory h2{font-size:22px}.home-memory p{font-size:16px}.memory-action{align-self:flex-end}.memory-action .primary{padding:10px 18px}}
@media(max-height:550px) and (orientation:landscape){.is-memory .overlay{padding:10px 18px}.home-memory figcaption{flex-direction:row;align-items:center}.home-memory h2{font-size:20px;margin:0}.home-memory p{font-size:14px}.home-memory>img{flex:1;max-height:none}.memory-action{align-self:center}}

#resetDialog{width:min(580px,calc(100% - 28px));max-height:90%;overflow:auto}#resetDialog h2{font-size:24px;line-height:1.5;margin-top:0}#resetDialog p{font-size:16px}.reset-actions{display:flex;flex-wrap:wrap;gap:12px}.reset-actions button{flex:1;min-width:180px;min-height:44px;margin:0;justify-content:center}.reset-actions .primary{background:#e6b4c3}#resetDialog .reset-hint{font-size:12px;margin-bottom:0}

.site-links{display:flex;align-items:center;gap:7px;font-size:11px;color:#787d92;white-space:nowrap}.site-links a{color:#9c9fb1;text-decoration:underline;text-underline-offset:3px}.site-links a:hover{color:#ffd1e2}.site-links small{font-size:11px}@media(max-width:700px){.site-links{font-size:10px;gap:5px}.site-links small{font-size:10px}}

/* #intro は tabindex=-1 を付けてスクリプトからフォーカスしている入れ物で、キーボードで辿り着く対象ではない。
   キー操作のあとは :focus-visible が立ってブラウザ既定のリングが枠として見えてしまうため消す。
   中の成長ボタンは自前の :focus-visible を持っているので、キーボードでの現在位置は分かる。 */
.intro:focus,.intro:focus-visible{outline:none}

/* ゲームオーバーは巻き戻しの画面と同じ見せ方に揃える。HUDと技ボタンを隠し、背景を落とす。 */
.is-gameover .hud,.is-gameover .bottom-hud,.is-gameover .touch-controls{display:none}
.is-gameover .overlay{background:linear-gradient(90deg,#171629f2,#231c36cc 48%,#221c3533 80%)}
.is-gameover .intro{max-width:52%}
@media(max-width:700px){.is-gameover .intro{max-width:100%}}
