:root { color-scheme: dark; font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif; background: #15172f; color: #f8f5ff; }
* { box-sizing: border-box; }
body { min-height: 100dvh; margin: 0; overflow-x: hidden; background: radial-gradient(circle at 15% 0%, #33549b 0, transparent 38%), radial-gradient(circle at 90% 100%, #7d386f 0, transparent 42%), #15172f; }
button { font: inherit; cursor: pointer; }
button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.glow { position: fixed; width: 14rem; height: 14rem; border-radius: 50%; filter: blur(55px); pointer-events: none; opacity: .32; }.glow-one { background: #54d7d5; top: 15%; left: -10%; }.glow-two { background: #f4a1ca; bottom: -5%; right: -8%; }
#app { position: relative; min-height: 100dvh; display: grid; place-items: center; padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom)); }
.screen { width: min(100%, 38rem); text-align: center; animation: appear .25s ease-out; }.start-screen { padding: 3rem .5rem; }.eyebrow { margin: 0 0 .8rem; letter-spacing: .18em; font-size: .75rem; font-weight: 700; color: #a8e9e8; }.screen h1 { margin: 0; font-family: Georgia, "Hiragino Mincho ProN", serif; font-size: clamp(2.55rem, 12vw, 4.4rem); line-height: 1.16; letter-spacing: .035em; }.lead { margin: 1.5rem 0 2rem; line-height: 1.8; color: #e2e2f0; }.primary, .secondary { border: 0; border-radius: 999px; padding: 1rem 1.35rem; font-weight: 800; }.primary { background: linear-gradient(125deg, #b6efef, #eec4e6); color: #1b1c39; box-shadow: 0 10px 30px #10102266; }.primary.big { min-width: min(100%, 18rem); font-size: 1.1rem; }.secondary { background: #ffffff1a; color: #fff; border: 1px solid #ffffff40; }.note { margin: 1.2rem 0 0; color: #c1c1d3; font-size: .8rem; }.start-screen details { margin: 2.5rem auto 0; max-width: 25rem; color: #d3d5ec; text-align: left; font-size: .85rem; line-height: 1.7; }.start-screen summary { cursor: pointer; text-align: center; }
.topline, .bottom-actions { display: flex; justify-content: space-between; align-items: center; color: #ced2e9; font-size: .8rem; }.top-actions { display: flex; gap: .8rem; align-items: center; }.progress { height: 5px; margin: .8rem 0 3rem; overflow: hidden; background: #ffffff25; border-radius: 999px; }.progress span { display: block; height: 100%; background: linear-gradient(90deg, #a8e9e8, #f0a9d4); border-radius: inherit; transition: width .2s ease; }.prompt { margin: 0 0 1.6rem; font-weight: 700; font-size: 1.05rem; }.choice-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: .7rem; align-items: stretch; }.choice { min-height: 14rem; padding: 1.5rem .7rem; border: 1px solid #ffffff50; border-radius: 1.4rem; background: #ffffff16; color: #fff; transition: transform .15s ease, background .15s ease; }.choice:hover { transform: translateY(-3px); background: #ffffff24; }.choice-a { background: linear-gradient(155deg, #385c9fbb, #ffffff12); }.choice-b { background: linear-gradient(155deg, #8d477dcc, #ffffff12); }.choice span { display: block; color: #d9e6ff; font-size: .72rem; }.choice strong { display: block; margin-top: .8rem; font-size: clamp(1.05rem, 4.8vw, 1.45rem); line-height: 1.55; overflow-wrap: anywhere; }.or { align-self: center; margin: 0; color: #d3d4e4; font-size: .75rem; }.bottom-actions { margin-top: 2rem; }.text-button { border: 0; padding: .3rem 0; color: #d8dcf3; background: transparent; text-decoration: underline; text-underline-offset: 3px; font-size: .8rem; }.text-button:disabled { opacity: .35; cursor: default; }
.share-actions, .page-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; }.share-actions { margin: 0 0 2rem; }.page-actions { margin: 0 0 1.5rem; }.page-action { padding: .7rem .9rem; font-size: .82rem; }.ranking-list { margin: 0; padding: 0; list-style: none; text-align: left; border-top: 1px solid #ffffff36; }.ranking-list li { display: flex; align-items: baseline; gap: 1rem; padding: .9rem .25rem; border-bottom: 1px solid #ffffff28; }.ranking-list b { width: 2.5rem; color: #aee9e8; font-variant-numeric: tabular-nums; }.ranking-list span { overflow-wrap: anywhere; }.restart-bottom { margin: 2.5rem 0 .5rem; }
.catalog-trigger { display: inline-block; margin-top: .8rem; padding: .65rem 1rem; border: 1px solid #ffffff55; border-radius: 999px; background: #ffffff12; color: #f6f2ff; text-decoration: none; }.restart-choice { display: block; margin: .65rem auto 0; }.resume-note { margin-top: .75rem; }.scope-trigger { display: block; margin: .65rem auto 0; }.ranking-list .is-excluded { opacity: .5; }.ranking-list small { display: inline-block; margin-left: .35rem; color: #f0b4d7; font-size: .72rem; }.scope-note { margin: -1.2rem auto 1.4rem; max-width: 26rem; }.scope-list { margin: 0; border-top: 1px solid #ffffff36; text-align: left; }.scope-item { display: flex; min-height: 3.7rem; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem .25rem; border-bottom: 1px solid #ffffff28; cursor: pointer; }.scope-item > span { overflow-wrap: anywhere; }.scope-item input { position: absolute; opacity: 0; }.scope-item i { position: relative; flex: 0 0 2.75rem; width: 2.75rem; height: 1.55rem; border: 1px solid #ffffff4d; border-radius: 999px; background: #ffffff24; transition: background .15s ease; }.scope-item i::after { position: absolute; top: .18rem; left: .18rem; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: #fff; content: ""; transition: transform .15s ease; }.scope-item input:checked + i { background: #74d8d4; }.scope-item input:checked + i::after { transform: translateX(1.15rem); }.restart-bottom { display: block; margin-right: auto; margin-left: auto; }.restart-bottom + .restart-bottom { margin-top: .75rem; }
@keyframes appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 360px) { .choice-grid { gap: .35rem; }.choice { min-height: 12rem; padding: 1rem .35rem; }.choice strong { font-size: 1rem; }.or { display: none; } }
