*{box-sizing:border-box}body{margin:0;background:hsl(var(--palette-hue, 32) 11.1% 96.5%);color:hsl(var(--palette-hue, 32) 7.5% 15.7%);font:16px/1.6 system-ui,-apple-system,"Microsoft YaHei",sans-serif}main{max-width:820px;margin:auto;padding:24px 18px 40px}nav,header,.counter,footer{display:flex;align-items:center;justify-content:space-between;gap:16px}nav{font-size:13px;color:hsl(var(--palette-hue, 32) 5.3% 47.6%)}a{color:hsl(var(--palette-hue, 32) 12.1% 35.7%);text-decoration:none}header{margin:24px 0}h1{font-size:clamp(22px,5vw,32px);margin:0}h2{font-size:17px;margin:0 0 12px}.eyebrow{color:hsl(var(--palette-hue, 32) 6.6% 44.9%);font-size:12px;margin:0 0 4px}button,select{font:inherit;color:inherit;border:1px solid hsl(var(--palette-hue, 32) 13.4% 86.9%);border-radius:10px;background:#ffffff;padding:10px 14px;cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,select:focus-visible{outline:2px solid hsl(var(--palette-hue, 32) 31.5% 58.2%);outline-offset:3px}.counts,.fire-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px}.counts section{border:1px solid hsl(var(--palette-hue, 32) 13.4% 86.9%);border-radius:16px;padding:20px}.counts .live{background:#fff7f5;border-color:#ead6d0}.live h2{color:#9c4436}.blank{background:hsl(var(--palette-hue, 32) 66.7% 97.6%)}.counter strong{font-size:48px;line-height:1.2}.counter button{font-size:25px;padding:0;width:44px;height:44px}.probability{text-align:center;color:hsl(var(--palette-hue, 32) 11.1% 30.0%);margin:20px 0}.fire-actions button:first-child{background:#f4e4de}.sequence{margin-top:12px;border-top:1px solid hsl(var(--palette-hue, 32) 12.3% 88.8%);padding-top:22px}.sequence>p,.hint,footer p{font-size:13px;color:hsl(var(--palette-hue, 32) 6.6% 44.9%)}#error{min-height:24px;color:#ac392e;margin:10px 0}#slots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.shell{padding:12px;border-radius:12px;background:#ffffff;border:1px solid hsl(var(--palette-hue, 32) 13.4% 86.9%)}.shell.live{border-color:#d7a08b;background:#fff3ed}.shell.blank{border-color:hsl(var(--palette-hue, 32) 41.0% 72.7%)}.shell span{display:block;font-size:12px;margin-bottom:9px;color:hsl(var(--palette-hue, 32) 8.2% 38.4%)}.shell select{width:100%;padding:7px}footer{margin-top:24px;flex-wrap:wrap}footer p{margin:0}@media(max-width:520px){#slots{grid-template-columns:repeat(2,minmax(0,1fr))}.counts section{padding:14px 10px}.counter{gap:4px}.counter strong{font-size:36px}.counter button{width:36px;height:38px}header{align-items:flex-start;flex-wrap:wrap}.fire-actions{gap:8px}.fire-actions button{padding:12px 5px;font-size:14px}}

button:hover:not(:disabled){filter:brightness(.97)}.blank h2{color:hsl(var(--palette-hue, 32) 32.4% 41.2%)}.counts section,.shell{box-shadow:0 2px 8px hsl(var(--palette-hue, 32) 21.0% 15.9% / 0.02)}select{color-scheme:light}
