/* The Web Preview's own screens: the loading screen over the scene (#web-shell) and the phone page (preview.html).
html:has(body.web-preview){background:#07141d}
   Colours from the Steam build's starting window (Launcher.cs Splash): #17465a → #07141d, rim #8fd3dc. */
:root{--web-top:#17465a;--web-bottom:#07141d;--web-ink:#f2f7f3;--web-soft:#a9c6cd;--web-faint:#6f9aa5;--web-green:#5fb85b;--web-green-hi:#8fd86c;
 --web-font:system-ui,-apple-system,'Segoe UI','Hiragino Sans','Yu Gothic UI','Meiryo',sans-serif}

#web-shell{position:fixed;inset:0;z-index:40000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;
 background:linear-gradient(180deg,var(--web-top),var(--web-bottom));color:var(--web-ink);font-family:var(--web-font);text-align:center;
 transition:opacity .8s ease;padding:16px;box-sizing:border-box}
#web-shell.leaving{opacity:0;pointer-events:none}
#web-shell #web-clover{width:min(440px,86vw);aspect-ratio:2/1;display:block}
#web-shell #web-title{font-family:var(--web-font);font-size:clamp(22px,3vw,28px);font-weight:700;letter-spacing:.04em;margin:4px 0 4px;line-height:1.3}
#web-shell #web-sub{font-size:14px;color:var(--web-soft);margin:0 0 22px;letter-spacing:.03em}
#web-shell .web-progress{width:min(280px,70vw);height:4px;border-radius:4px;background:#ffffff1c;overflow:hidden;opacity:0;transition:opacity .4s}
#web-shell.checked .web-progress{opacity:1}
#web-shell.ready .web-progress{opacity:0}
#web-shell #web-bar{height:100%;width:0;background:linear-gradient(90deg,var(--web-green),var(--web-green-hi));transition:width .2s linear}
#web-shell #web-status{min-height:1.4em;font-size:13px;color:var(--web-soft);margin:10px 0 0;font-variant-numeric:tabular-nums}
#web-shell #web-start{margin-top:6px;font:inherit;font-size:17px;font-weight:700;letter-spacing:.05em;color:#0b2a1a;cursor:pointer;
 background:linear-gradient(180deg,#b8ee8a,#6cc35f);border:0;border-radius:999px;padding:13px 30px;box-shadow:0 6px 24px #6cc35f40;
 animation:web-pulse 2.2s ease-in-out infinite}
#web-shell #web-start:hover,#web-shell #web-start:focus-visible{filter:brightness(1.08);outline:2px solid #ffffffa0;outline-offset:3px}
#web-shell #web-start:disabled{animation:none;opacity:.7;cursor:default}
#web-shell #web-note{min-height:1.4em;font-size:12px;color:var(--web-faint);margin:12px 0 0}
#web-shell .web-maker{position:absolute;bottom:18px;left:0;right:0;font-size:11px;font-weight:700;letter-spacing:.14em;color:var(--web-faint)}
@keyframes web-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.04)}}
@media (prefers-reduced-motion:reduce){#web-shell #web-start{animation:none}}

/* preview.html — phones, tablets and browsers without WebGPU */
body.web-preview{margin:0;min-height:100dvh;background:var(--web-bottom) linear-gradient(180deg,var(--web-top),var(--web-bottom) 900px) no-repeat;color:var(--web-ink);font-family:var(--web-font);
 -webkit-text-size-adjust:100%;overflow-x:hidden}
.web-preview main{max-width:560px;margin:0 auto;padding:18px 16px 40px;box-sizing:border-box;text-align:center}
.web-preview #web-clover{width:min(300px,70vw);aspect-ratio:2/1;display:block;margin:0 auto}
.web-preview h1{font-size:26px;font-weight:700;letter-spacing:.04em;margin:0 0 4px;line-height:1.3}
.web-preview .sub{font-size:13px;color:var(--web-soft);margin:0 0 16px}
.web-preview .film{position:relative;border-radius:14px;overflow:hidden;background:#000;box-shadow:0 10px 30px #0006;aspect-ratio:16/9}
.web-preview .film video{width:100%;height:100%;display:block;object-fit:cover}
.web-preview .film button{position:absolute;inset:auto 0 0 0;margin:auto;top:0;width:max-content;height:max-content;font:inherit;font-size:16px;font-weight:700;
 color:#fff;background:#000a;border:1px solid #fff8;border-radius:999px;padding:11px 22px;cursor:pointer}
.web-preview .lead{font-size:15px;line-height:1.7;margin:16px 0}
.web-preview .wish{display:block;width:100%;box-sizing:border-box;font:inherit;font-size:17px;font-weight:700;text-decoration:none;color:#0b2a1a;
 background:linear-gradient(180deg,#b8ee8a,#6cc35f);border:0;border-radius:14px;padding:16px 12px;margin:6px 0 14px;box-shadow:0 6px 24px #6cc35f40}
.web-preview .wish.soon{background:#ffffff14;color:var(--web-soft);box-shadow:none;border:1px dashed #ffffff40;margin-bottom:8px}
.web-preview .follow{display:block;width:100%;box-sizing:border-box;font:inherit;font-size:16px;font-weight:700;text-decoration:none;color:#fff;
 background:#000;border:1px solid #ffffff40;border-radius:14px;padding:14px 12px;margin:0 0 14px}
.web-preview .follow[hidden]{display:none}
.web-preview .pc{font-size:14px;line-height:1.7;color:var(--web-soft);background:#ffffff0d;border:1px solid #8fd3dc33;border-radius:12px;padding:12px 14px;margin:0 0 14px}
.web-preview .row{display:flex;gap:10px}
.web-preview .row button{flex:1;font:inherit;font-size:14px;color:var(--web-ink);background:#ffffff14;border:1px solid #ffffff30;border-radius:12px;padding:12px 8px;cursor:pointer}
.web-preview footer{margin-top:28px;font-size:11px;font-weight:700;letter-spacing:.14em;color:var(--web-faint)}
.web-preview footer a{color:var(--web-faint)}

/* credits.html */
.web-credits main{text-align:left}
.web-credits h1,.web-credits .sub{text-align:center}
.web-credits h1{margin-top:24px}
.web-credits section{background:#ffffff0a;border:1px solid #8fd3dc26;border-radius:12px;padding:12px 16px;margin:0 0 14px}
.web-credits h2{font-size:14px;letter-spacing:.06em;color:var(--web-green-hi);margin:2px 0 8px}
.web-credits ul{list-style:none;margin:0;padding:0}
.web-credits li{font-size:14px;line-height:1.6;padding:6px 0;border-top:1px solid #ffffff12}
.web-credits li:first-child{border-top:0}
.web-credits .by{color:var(--web-soft)}
.web-credits .what{font-size:13px;color:var(--web-soft)}
.web-credits a{color:#b8ee8a}
.web-credits .back{text-align:center;margin:20px 0 0}
.web-credits footer{text-align:center}
#web-shell .web-maker a{color:inherit;text-decoration:none;font-weight:400;letter-spacing:.06em;margin-left:10px;opacity:.85}
#web-shell .web-maker a:hover{text-decoration:underline}

/* the first-catch note (web-extras.js) */
#web-note-toast{position:fixed;left:50%;bottom:86px;z-index:12002;transform:translate(-50%,16px);opacity:0;transition:opacity .5s,transform .5s;
 width:min(480px,calc(100vw - 32px));box-sizing:border-box;padding:14px 16px;border-radius:14px;background:#10262ef0;border:1px solid #8fd3dc55;
 box-shadow:0 10px 30px #0008;color:var(--web-ink);font-family:var(--web-font);text-align:center;pointer-events:auto}
#web-note-toast.shown{opacity:1;transform:translate(-50%,0)}
#web-note-toast p{margin:0 0 10px;font-size:14px;line-height:1.6}
#web-note-toast .row{display:flex;gap:8px;justify-content:center}
#web-note-toast a,#web-note-toast button{font:inherit;font-size:13px;border-radius:999px;padding:7px 16px;cursor:pointer;text-decoration:none}
#web-note-toast a{color:#0b2a1a;font-weight:700;background:linear-gradient(180deg,#b8ee8a,#6cc35f)}
#web-note-toast button{color:var(--web-ink);background:#ffffff14;border:1px solid #ffffff30}

.privacy-body{font-size:14px;line-height:1.8;margin:4px 0}
