*{box-sizing:border-box}
body{margin:0;background:#fff0df;color:#4a1d10;font:16px/1.6 system-ui,sans-serif}
main{max-width:700px;margin:auto;padding:24px;text-align:center;overflow-x:clip}
nav{display:flex;justify-content:space-between}
a{color:#a43016;font-weight:bold}
h1{font-size:38px}
button{border:2px solid #9d2b15;border-radius:12px;padding:12px 36px;background:#ff8d35;color:#48180c;font:700 20px system-ui;cursor:pointer}
button:disabled{opacity:.5;cursor:default}
.wheel-stage{position:relative;margin:34px auto 14px;width:min(360px,calc(100vw - 64px));aspect-ratio:1}
.wheel-pointer{position:absolute;top:-17px;left:50%;transform:translateX(-50%);z-index:2;color:#8e2014;font-size:38px;line-height:1;filter:drop-shadow(0 2px 0 #fff0df)}
#nuclear-wheel{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 0 14px #ff672c55)}
.wheel-slice{stroke:#fff0df;stroke-width:2;stroke-linejoin:round}
.wheel-rim{fill:none;stroke:#9d2b15;stroke-width:8}
.wheel-prize,.wheel-chance,.wheel-flame{text-anchor:middle;font-family:system-ui,sans-serif}
.wheel-prize{fill:#48180c;font-size:18px;font-weight:800;letter-spacing:.2px}
#nuclear-wheel>g:nth-of-type(5) .wheel-prize{fill:#fff4e8}
.wheel-chance-pill{fill:#fff7e8;stroke:#9d2b1540;stroke-width:1}
.wheel-chance{fill:#7c2513;font-size:18px;font-weight:900}
.wheel-hub{fill:#fff7e8;stroke:#9d2b15;stroke-width:4}
.wheel-flame{font-size:31px}
.wheel-note{font-size:13px;color:#85513c;margin:0 auto 24px;max-width:340px}
.wheel-odds{text-align:left;max-width:340px;margin:24px auto}
#nuclear-result{font-weight:bold;font-size:23px;min-height:36px}
.nuke-reward{display:block;width:170px;height:170px;margin:12px auto}
body[data-spin="space"]{background-color:#10091c;background-image:radial-gradient(circle at 18px 28px,#ffffffa0 0 1px,transparent 1.5px),radial-gradient(circle at 95px 75px,#ffe38590 0 1px,transparent 1.5px),radial-gradient(ellipse at 50% 20%,#3b155b80,transparent 65%);background-size:147px 173px,227px 211px,100% 100%;color:#f0e6ff}
body[data-spin="space"] a{color:#d9b9ff}
body[data-spin="space"] button{background:#6d319c;border-color:#c492ee;color:#fff3d1}
body[data-spin="space"] .wheel-pointer{color:#ffe081;filter:drop-shadow(0 2px 0 #10091c)}
body[data-spin="space"] #nuclear-wheel{filter:drop-shadow(0 0 15px #9d53d850)}
body[data-spin="space"] .wheel-slice{stroke:#b483d5}
body[data-spin="space"] .wheel-rim{stroke:#a270cf}
body[data-spin="space"] .wheel-prize,body[data-spin="space"] #nuclear-wheel>g:nth-of-type(5) .wheel-prize{fill:#fff5df}
body[data-spin="space"] .wheel-chance-pill{fill:#160c22;stroke:#dfc48280}
body[data-spin="space"] .wheel-chance{fill:#ffe298}
body[data-spin="space"] .wheel-hub{fill:#160c22;stroke:#c59ae5}
body[data-spin="space"] .wheel-flame{fill:#ffe36b}
body[data-spin="space"] .wheel-note{color:#cdb6df}
#space-preview{border:1px dashed #ad7cd3;border-radius:10px;padding:10px;color:#ffe39c}

body[data-spin="fort-knox"]{min-height:100vh;background:radial-gradient(ellipse at 50% 18%,#fffdf2,transparent 65%),#fff0bc;color:#4f3106}
body[data-spin="fort-knox"] nav{flex-wrap:wrap;gap:8px 18px}
body[data-spin="fort-knox"] h1{color:#624008}
body[data-spin="fort-knox"] a{color:#6d4300}
body[data-spin="fort-knox"] button{padding:12px 22px;background:linear-gradient(#fff1a5,#e8ab2b);border-color:#9d6a14;color:#412a05}
body[data-spin="fort-knox"] .wheel-stage{width:min(400px,calc(100vw - 64px));margin-block:42px 18px}
body[data-spin="fort-knox"] .wheel-pointer{color:#855509;filter:drop-shadow(0 2px 0 #fff)}
body[data-spin="fort-knox"] #nuclear-wheel{filter:drop-shadow(0 6px 15px #c8923059)}
body[data-spin="fort-knox"] .wheel-slice{stroke:#fff9db}
body[data-spin="fort-knox"] .wheel-rim{stroke:#94610d}
body[data-spin="fort-knox"] .wheel-prize,body[data-spin="fort-knox"] #nuclear-wheel>g:nth-of-type(5) .wheel-prize{fill:#3d2706}
body[data-spin="fort-knox"] .wheel-chance-pill,body[data-spin="fort-knox"] .wheel-hub{fill:#fffdf4;stroke:#ae7818}
body[data-spin="fort-knox"] .wheel-chance,body[data-spin="fort-knox"] .wheel-flame{fill:#754908}
body[data-spin="fort-knox"] .wheel-note{color:#735217}
.fort-knox-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 18px}
#fort-knox-preview{border:1px dashed #a87317;border-radius:10px;padding:10px;background:#fff3c0}
