body.arcade.number-game .fan-heading{margin:0 0 24px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
.number-game .fan-heading h1{max-width:34ch}
.number-board{background:#151b25;border:1px solid #303d50;border-radius:16px;overflow:hidden}
.number-toolbar{display:flex;justify-content:space-between;align-items:end;flex-wrap:wrap;gap:16px;padding:20px 24px;border-bottom:1px solid #303d50}
.number-toolbar label{display:grid;gap:8px;font-size:13px;font-weight:600;color:#b4c3d8;flex:1;min-width:0;max-width:340px}
.number-toolbar select{background:#202c3b;color:#f2f5fa;border:1px solid #51647c;border-radius:8px;min-height:44px;padding:0 38px 0 12px;font:600 14px 'Inter',sans-serif}
.number-new{min-height:44px;padding:10px 15px;border:1px solid #51647c;border-radius:8px;background:transparent;color:#d8e3f1;font:600 14px 'Inter',sans-serif;cursor:pointer}
.number-new:hover{background:#243345}
.number-play{padding:30px 32px 26px;text-align:center}
.number-meta{display:flex;justify-content:space-between;gap:16px;color:#b4c3d8;font-size:13px;font-variant-numeric:tabular-nums}
.number-meta strong{color:#f2f5fa;font-weight:600}
.number-secret{font-size:clamp(64px,7vw,88px);line-height:1.1;font-weight:700;letter-spacing:-.03em;color:#65e8c4;margin:24px 0 14px;font-variant-numeric:tabular-nums}
.number-status{font-size:21px;line-height:1.4;font-weight:650;margin:0 0 8px;color:#f2f5fa;min-height:1.4em}
.number-range-text{color:#b4c3d8;font-size:15px;line-height:1.6;margin:0 auto 22px;max-width:48ch}
.number-range{height:8px;background:#2b3545;border-radius:4px;position:relative;margin:0 0 9px;overflow:hidden}
.number-range span{position:absolute;inset-block:0;left:var(--start,0%);width:var(--width,100%);background:#65e8c4;border-radius:4px;transition:left .3s cubic-bezier(.16,1,.3,1),width .3s cubic-bezier(.16,1,.3,1)}
.number-bounds{display:flex;justify-content:space-between;color:#aebed1;font-size:12px;font-variant-numeric:tabular-nums}
.number-form{display:grid;grid-template-columns:1fr auto;gap:10px;text-align:left;max-width:510px;margin:28px auto 0}
.number-form label{grid-column:1/-1;font-size:14px;font-weight:600}
.number-form input{width:100%;min-width:0;min-height:56px;padding:12px 16px;background:#0e141e;border:1px solid #536980;border-radius:10px;color:#f2f5fa;font:600 22px 'Inter',sans-serif;font-variant-numeric:tabular-nums;caret-color:#65e8c4}
.number-form input::placeholder{color:#93a7bd;opacity:1;font-weight:400;font-size:16px}
.number-submit{border:0;border-radius:10px;min-height:56px;padding:12px 25px;background:#65e8c4;color:#082b25;font:700 16px 'Inter',sans-serif;cursor:pointer}
.number-submit:hover{background:#91f4d7}
.number-form :disabled{opacity:.5;cursor:default}
.number-error{grid-column:1/-1;min-height:1.5em;color:#ffc69a;font-size:14px;line-height:1.5;margin:0}
.number-result{margin:20px auto 0;max-width:510px;padding:20px;background:#1d3632;border-radius:12px}
.number-result p{margin:0 0 12px;line-height:1.6;color:#c2eddf}
.number-result a{color:#8cedd1;display:inline-block;margin-left:16px;font-size:14px;text-underline-offset:4px}
.number-result[hidden]{display:none}
.number-history{padding:24px 32px;background:#101721;border-top:1px solid #303d50}
.number-history h2{font-size:18px;line-height:1.4;margin:0 0 15px;font-weight:650}
.number-history ol{display:flex;flex-wrap:wrap;gap:9px;list-style:none;padding:0;margin:0}
.number-history li{display:flex;align-items:center;gap:7px;padding:9px 12px;background:#243040;border-radius:8px;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;color:#d5e1ef}
.number-history li[data-direction=correct]{background:#214c42;color:#9af4d8}
.number-history svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.number-history li[data-direction=higher] svg{color:#ffc073}
.number-history li[data-direction=lower] svg{color:#96c7ff}
.number-empty{font-size:14px;color:#aebed1;line-height:1.6;margin:0}
.number-best{padding:17px 32px;color:#b4c3d8;font-size:14px;display:flex;justify-content:space-between;gap:15px;border-top:1px solid #303d50}
.number-best strong{color:#ffc073;font-variant-numeric:tabular-nums}
body.arcade.number-game .number-guide{margin-top:30px}
.number-guide h3{margin-top:24px}
.number-game :is(button,input,select,a):focus-visible{outline:3px solid #ffc073;outline-offset:4px}
@media(max-width:600px){
 body.arcade.number-game main .fan-heading h1{font-size:24px;line-height:1.25}
 body.arcade.number-game .fan-heading p{font-size:14px;line-height:1.5;margin:10px 0 0}
 .number-toolbar{padding:16px;gap:12px}.number-toolbar select{width:100%;max-width:100%;font-size:13px}.number-new{font-size:13px}
 .number-play{padding:18px}.number-secret{font-size:56px;margin:14px 0 10px}.number-status{font-size:20px}.number-range-text{font-size:14px;margin-bottom:18px}
 .number-form{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:20px}.number-submit{padding:12px 18px;font-size:15px}.number-form input{font-size:20px}
 .number-history{padding:20px 18px}.number-best{padding:16px 18px}.number-result a{display:block;margin:14px 0 0}
}
@media(prefers-reduced-motion:reduce){.number-range span{transition:none}}
