:root{font-family:Arial,Helvetica,sans-serif;color:#f7edce;background:#14271f;font-synthesis:none;font-size:16px;color-scheme:dark;--gold: #f5c85b;--muted: #bec6ad;--border: #d7be7938}*{box-sizing:border-box}.rotate-device{display:none}body{margin:0;background:radial-gradient(ellipse at 50% 10%,#294434,#14271f 70%);min-height:100vh;overflow-x:hidden;-webkit-tap-highlight-color:#f5c85b40}main{max-width:1116px;margin:auto;padding:24px 28px max(24px,env(safe-area-inset-bottom))}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;gap:16px}.brand{text-decoration:none;color:var(--gold);font-family:Georgia,serif;font-weight:700;letter-spacing:.05em;font-size:24px}.brand small{font-family:Arial,sans-serif;font-size:12px;letter-spacing:.2em;border-left:1px solid var(--border);margin-left:15px;padding-left:15px;color:var(--muted);vertical-align:middle}.header-actions{display:flex;align-items:center;gap:8px}.currency{color:var(--gold);font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}button{touch-action:manipulation;font:inherit;font-weight:600;min-height:44px;border:1px solid var(--border);border-radius:8px;padding:10px 16px;background:#263d30;color:#f7edce;cursor:pointer;transition:background .15s,transform .15s}button:hover:enabled{background:#395340}button:active:enabled{transform:translateY(1px)}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #86e5da;outline-offset:3px}button.primary{background:var(--gold);color:#292b1d;border-color:var(--gold);box-shadow:0 3px #987135;font-weight:700}button.primary:hover:enabled{background:#ffda7e}.quiet{background:transparent}.text-button{border:0;background:transparent;color:var(--gold)}.hud{display:grid;grid-template-columns:1fr 1.1fr .7fr;gap:20px;padding:0 4px 18px}.hud span{display:block;color:var(--muted);font-size:12px;letter-spacing:.13em;margin-bottom:8px}.hud strong{display:block;font-size:26px;font-variant-numeric:tabular-nums}.hud div:first-child strong{font-size:21px}.hud small{font-size:16px;color:var(--muted);font-weight:400}.timer{text-align:right}.urgent{color:#ff997c}.score-track{height:4px;background:#3a4930;border-radius:4px;overflow:hidden;margin-bottom:10px}.score-track>div{background:var(--gold);height:100%;width:0;transition:width .2s}.arena{position:relative;border:1px solid #98764d;border-radius:14px;overflow:hidden;box-shadow:0 20px 60px #0005;background:#503524}#game{aspect-ratio:1000/620;width:100%;touch-action:manipulation}#game canvas{display:block;max-width:100%;max-height:100%}.menu{position:absolute;inset:0;background:linear-gradient(90deg,#17271fed 0%,#17271fce 40%,transparent 85%);display:flex;align-items:center;padding:30px 45px}.menu[hidden]{display:none}.menu-card{max-width:430px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.18em;color:var(--gold);margin:0 0 15px}h1{font-family:Georgia,serif;font-size:clamp(40px,5vw,63px);line-height:1.04;font-weight:400;letter-spacing:-.035em;margin:0 0 20px}h1 em{color:var(--gold);font-weight:400}p{line-height:1.55;margin:10px 0 18px}#brief{color:#e0dfc9}#brief b{color:#fff0b0}#start{width:100%;margin-top:18px}#levels{display:block;width:100%;margin-top:5px}.replay-modes{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:5px}.replay-modes button{padding:8px 10px;font-size:13px;color:var(--gold);background:#14271f99}.online-button{width:100%;margin-top:10px;color:#d8fff8;border-color:#86e5da80;background:#24483d}#best{text-align:center;margin:0;color:var(--gold)}.small{font-size:12px;color:var(--muted)}.tool-picker{display:flex;gap:7px;margin-top:8px}.tool-picker button{font-size:14px;padding:9px 13px;background:#14271f99}.tool-picker button[aria-pressed=true]{color:var(--gold);border-color:var(--gold);background:#403f25}.under-mine{display:grid;grid-template-columns:1fr auto;gap:30px;margin-top:20px;align-items:start}.combo-line{display:flex;justify-content:space-between;gap:16px;font-size:14px}.combo-line strong{color:var(--gold)}#fever-label{color:var(--muted);font-size:12px}.fever-track{height:5px;background:#4b5234;border-radius:10px;margin:10px 0}.fever-track>div{height:100%;background:var(--gold);width:0;border-radius:10px;transition:width .12s}#hint{font-size:14px;margin:8px 0;color:var(--muted);max-width:630px}body[data-network-quality=fair] #hint{color:var(--gold)}body[data-network-quality=poor] #hint{color:#ff997c}.controls{display:flex;gap:10px}.controls .primary{min-width:195px;min-height:55px}.bomb-action{min-height:55px;color:#fff0b0;border-color:#ed7658;background:#733b2e}.bomb-action:hover:enabled{background:#944a38}kbd{font-family:inherit;font-size:12px;letter-spacing:.03em;border:1px solid currentColor;opacity:.65;padding:3px 5px;border-radius:4px;margin-left:9px}.tools-row{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:10px 0}#active-tools{display:flex;gap:8px}#active-tools button{font-size:14px;padding:8px 12px}#active-tools kbd{margin:0 6px 0 0}#active-tools small{font-size:12px;color:var(--muted);margin-left:6px}.objectives{display:flex;gap:18px;flex-wrap:wrap;font-size:14px;color:var(--muted);padding-top:15px;border-top:1px solid var(--border)}.achieved{color:var(--gold)}.notice{font-size:14px;color:#ffc4a8;margin:8px 0}footer{font-size:12px;color:#a4b09c;margin-top:22px;text-align:center}dialog{background:#192e24;color:#f7edce;border:1px solid #8a784d;border-radius:16px;max-width:480px;width:calc(100% - 32px);max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain;padding:30px;box-shadow:0 20px 80px #0008}dialog::backdrop{background:#07150edb;backdrop-filter:blur(5px)}dialog h2{font-family:Georgia,serif;font-size:32px;font-weight:400;line-height:1.12;margin:8px 0 18px}dialog button{display:block;width:100%;margin-top:12px}dialog p{color:#cbd2bc}.online-field{display:block;margin:14px 0 7px;color:var(--muted);font-size:14px}dialog input,dialog select{width:100%;min-height:44px;padding:9px 12px;border:1px solid var(--border);border-radius:8px;background:#0f2119;color:#f7edce;font:inherit}#room-code{text-align:center;font-weight:700;font-size:24px;letter-spacing:.22em;text-transform:uppercase}.online-divider{display:flex;align-items:center;gap:12px;margin:18px 0 4px;color:var(--muted);font-size:12px;text-transform:uppercase}.online-divider:before,.online-divider:after{content:"";flex:1;height:1px;background:var(--border)}.room-code{display:grid;grid-template-columns:1fr auto;gap:5px 12px;align-items:center;padding:14px;border:1px solid var(--border);border-radius:12px;background:#0f2119}.room-code span{color:var(--muted);font-size:11px;letter-spacing:.13em}.room-code strong{grid-row:2;color:var(--gold);font-size:28px;letter-spacing:.15em}.room-code button{grid-column:2;grid-row:1 / 3;margin:0}.online-roster{display:grid;gap:8px;padding:0;margin:18px 0;list-style:none}.online-roster li{display:flex;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--border);border-radius:8px}.online-roster strong{color:var(--muted);font-size:12px}.online-roster strong.ready{color:#86e5da}.duel-result{display:grid;grid-template-columns:1fr 1fr;gap:10px}.duel-result div{padding:16px;text-align:center;border:1px solid var(--border);border-radius:10px;background:#0f2119}.duel-result span,.duel-result strong{display:block}.duel-result span{overflow:hidden;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.duel-result strong{margin-top:8px;color:var(--gold);font-size:30px;font-variant-numeric:tabular-nums}.level-list button{display:flex;justify-content:space-between;align-items:center;gap:15px;text-align:left}.level-list{max-height:55vh;overflow-y:auto;padding-right:4px}.level-list button span{font-size:14px;color:var(--gold)}.level-list button:disabled span{font-size:12px}.shop-status{padding:10px 12px;border:1px solid #86e5da80;border-radius:8px;background:#24483d;color:#d8fff8}.upgrade-list{display:grid;gap:10px;margin:16px 0}.upgrade-card{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:12px;border:1px solid var(--border);border-radius:10px;background:#14271f99}.upgrade-card b,.upgrade-card small{display:block}.upgrade-card small{color:var(--muted);font-size:12px;line-height:1.45;margin-top:4px}.upgrade-card button{min-width:112px;padding:8px 10px;font-size:12px}.setting{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:55px;font-size:16px}.setting input[type=range]{width:55%;accent-color:var(--gold)}.setting input[type=checkbox]{width:24px;height:24px;accent-color:var(--gold)}.result-stars{font-size:44px!important;text-align:center;color:var(--gold)!important;letter-spacing:.13em;margin:15px 0}.result-score{text-align:center;font-size:28px;color:#fff0b0}.result-score small{font-size:16px;color:var(--muted)}.reward{text-align:center;color:var(--gold)!important;font-weight:700;margin-top:-8px}.result-note{text-align:center;margin-top:-8px}.result-objectives{padding:0;list-style:none;line-height:2;color:var(--muted);font-size:14px}.daily-submit{margin:18px 0;padding:16px;border:1px solid var(--border);border-radius:12px;background:#14271f99}.daily-submit h3{margin:0 0 12px;color:var(--gold);font-family:Georgia,serif;font-size:21px}.daily-submit label{display:block;margin-bottom:7px;color:var(--muted);font-size:14px}.daily-submit input{width:100%;min-height:44px;padding:9px 12px;border:1px solid var(--border);border-radius:8px;background:#0f2119;color:#f7edce;font:inherit}.leaderboard-list{display:grid;gap:7px;max-height:45vh;overflow-y:auto;list-style:none;padding:0;margin:15px 0}.leaderboard-list li{display:grid;grid-template-columns:45px 1fr auto;gap:10px;align-items:center;min-height:42px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:#14271f99}.leaderboard-list li b,.leaderboard-list li strong{color:var(--gold);font-size:14px}.leaderboard-list li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.leaderboard-list.compact{max-height:190px}.leaderboard-empty{display:block!important;color:var(--muted);text-align:center}.fever .arena{border-color:var(--gold);box-shadow:0 0 30px #f5c85b25}[hidden]{display:none!important}body[data-game-mode=playing],body[data-game-mode=paused]{width:100%;height:100dvh;min-height:0;overflow:hidden;overscroll-behavior:none;background:#26170f}body[data-game-mode=playing] #app,body[data-game-mode=paused] #app,body[data-game-mode=playing] main,body[data-game-mode=paused] main{width:100%;height:100%;min-height:0}body[data-game-mode=playing] main,body[data-game-mode=paused] main{position:relative;max-width:none;margin:0;padding:0}body[data-game-mode=playing] .arena,body[data-game-mode=paused] .arena{position:fixed;z-index:1;inset:0;width:100vw;height:100dvh;border:0;border-radius:0;background:#26170f;box-shadow:none}body[data-game-mode=playing] #game,body[data-game-mode=paused] #game{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto}body[data-game-mode=playing] header,body[data-game-mode=paused] header,body[data-game-mode=playing] footer,body[data-game-mode=paused] footer,body[data-game-mode=playing] #hint,body[data-game-mode=paused] #hint{display:none}body[data-game-mode=playing] .hud,body[data-game-mode=paused] .hud,body[data-game-mode=playing] .score-track,body[data-game-mode=paused] .score-track,body[data-game-mode=playing] .under-mine,body[data-game-mode=paused] .under-mine,body[data-game-mode=playing] .tools-row,body[data-game-mode=paused] .tools-row,body[data-game-mode=playing] .objectives,body[data-game-mode=paused] .objectives,body[data-game-mode=playing] .notice,body[data-game-mode=paused] .notice{position:fixed;z-index:4}body[data-game-mode=playing] .hud,body[data-game-mode=paused] .hud{top:max(12px,env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));width:min(210px,calc(100vw - 110px));grid-template-columns:1fr 1fr;gap:10px;padding:7px 9px;border:1px solid #f5c85b42;border-radius:9px;background:#14271fe6;box-shadow:0 4px 16px #0006;backdrop-filter:blur(8px)}body[data-game-mode=playing] .hud>div:first-child,body[data-game-mode=paused] .hud>div:first-child{display:none}body[data-game-mode=playing] .hud span,body[data-game-mode=paused] .hud span{margin-bottom:2px;font-size:9px;letter-spacing:.04em}body[data-game-mode=playing] .hud strong,body[data-game-mode=paused] .hud strong{overflow:hidden;font-size:16px;text-overflow:ellipsis;white-space:nowrap}body[data-game-mode=playing] .hud small,body[data-game-mode=paused] .hud small{font-size:10px}body[data-game-mode=playing] .score-track,body[data-game-mode=paused] .score-track{top:calc(max(12px,env(safe-area-inset-top)) + 53px);left:max(18px,calc(env(safe-area-inset-left) + 6px));width:min(198px,calc(100vw - 122px));height:5px;margin:0;box-shadow:0 2px 8px #0008}body[data-game-mode=playing] .under-mine,body[data-game-mode=paused] .under-mine{top:50%;right:max(12px,env(safe-area-inset-right));display:flex;width:92px;margin:0;transform:translateY(-50%);flex-direction:column;gap:8px}body[data-game-mode=playing] .under-mine>div:first-child,body[data-game-mode=paused] .under-mine>div:first-child{order:2;padding:8px;border:1px solid #f5c85b42;border-radius:9px;background:#14271fe6;box-shadow:0 4px 16px #0005}body[data-game-mode=playing] .combo-line,body[data-game-mode=paused] .combo-line{display:block;font-size:11px;text-align:center}body[data-game-mode=playing] #fever-label,body[data-game-mode=paused] #fever-label{display:none}body[data-game-mode=playing] .fever-track,body[data-game-mode=paused] .fever-track{margin:6px 0 0}body[data-game-mode=playing] .controls,body[data-game-mode=paused] .controls{order:1;display:flex;flex-direction:column;gap:8px}body[data-game-mode=playing] .controls button,body[data-game-mode=paused] .controls button,body[data-game-mode=playing] .controls .primary,body[data-game-mode=paused] .controls .primary{width:92px;min-width:92px;min-height:52px;padding:7px 8px;border-width:2px;background-color:#14271fe6;box-shadow:0 5px #18110c99,0 8px 20px #0006;font-size:12px}body[data-game-mode=playing] .controls .primary,body[data-game-mode=paused] .controls .primary{background:var(--gold)}body[data-game-mode=playing] .bomb-action,body[data-game-mode=paused] .bomb-action{background:#733b2ee6}body[data-game-mode=playing] .tools-row,body[data-game-mode=paused] .tools-row{left:50%;bottom:max(12px,env(safe-area-inset-bottom));margin:0;transform:translate(-50%)}body[data-game-mode=playing] #active-tools button,body[data-game-mode=paused] #active-tools button,body[data-game-mode=playing] .tools-row #leave,body[data-game-mode=paused] .tools-row #leave{min-height:44px;border-color:#f5c85b66;background:#14271fe6;box-shadow:0 4px 16px #0005}body[data-game-mode=playing] .objectives,body[data-game-mode=paused] .objectives{top:calc(max(12px,env(safe-area-inset-top)) + 67px);left:max(12px,env(safe-area-inset-left));display:grid;max-width:min(210px,calc(100vw - 122px));gap:5px;padding:8px 10px;border:1px solid #f5c85b42;border-radius:9px;background:#14271fe6;color:var(--muted);font-size:11px;line-height:1.3}body[data-game-mode=playing] .notice,body[data-game-mode=paused] .notice{left:50%;bottom:calc(max(12px,env(safe-area-inset-bottom)) + 56px);max-width:min(560px,calc(100vw - 240px));margin:0;padding:6px 10px;border-radius:8px;background:#14271fe6;font-size:11px;text-align:center;transform:translate(-50%);pointer-events:none}@media(max-width:760px){main{padding:16px 14px 24px}header{margin-bottom:22px}.brand small{display:none}.brand{font-size:22px}.header-actions button{font-size:14px;padding:8px 11px}.currency{font-size:12px}.hud{gap:12px}.hud strong{font-size:23px}.hud div:first-child strong{font-size:17px}.hud span{font-size:10px;letter-spacing:.06em}.hud small{font-size:13px}.menu{padding:20px 25px}.menu-card{max-width:360px}h1{font-size:40px;margin-bottom:12px}.eyebrow{font-size:10px;margin-bottom:10px}.under-mine{grid-template-columns:1fr;gap:12px}.controls{display:grid;grid-template-columns:1fr 2fr}.controls button{width:100%}.controls .primary{min-width:0}.objectives{gap:10px}.tools-row{flex-wrap:wrap}.menu #brief{font-size:14px;margin:8px 0}.menu .small{font-size:10px}.tool-picker button{font-size:12px;min-height:44px;padding:8px}#start{margin-top:12px}#best{font-size:12px}.upgrade-card{grid-template-columns:1fr}.upgrade-card button{width:100%}}@media(max-width:530px){.arena:has(.menu:not([hidden])){overflow:visible;margin-top:0}.menu{position:relative;background:#192e24;padding:24px;border-radius:0 0 12px 12px;margin-top:-1px}.menu-card{max-width:none;width:100%}.arena:has(.menu:not([hidden])) #game{max-height:190px;overflow:hidden}.menu h1{font-size:37px}.menu h1 br{display:none}.menu h1 em{margin-left:8px}.menu .eyebrow{font-size:10px}.tool-picker{justify-content:stretch}.tool-picker button{flex:1}.hud{grid-template-columns:1fr 1.2fr .65fr}.hud div:first-child strong{font-size:14px;line-height:1.5}.hud strong{font-size:22px}.hud span{font-size:10px}.hud small{font-size:12px}kbd{display:none}footer{line-height:1.5}}@media(orientation:landscape)and (max-height:600px)and (pointer:coarse){html,body,#app,main{width:100%;height:100%;min-height:100dvh;overflow:hidden}body{background:#26170f;overscroll-behavior:none}main{position:relative;max-width:none;padding:0}.arena,#game{position:fixed;inset:0;width:100vw;height:100dvh;max-height:none;border:0;border-radius:0}.arena{z-index:1;box-shadow:none;background:#26170f}#game{aspect-ratio:auto}header,.hud,.score-track,.under-mine,.tools-row,.objectives,.notice{position:fixed;z-index:4}header{top:max(8px,env(safe-area-inset-top));left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));margin:0;pointer-events:none}.brand{padding:7px 10px;border:1px solid #f5c85b42;border-radius:10px;background:#14271fd9;box-shadow:0 4px 16px #0005;font-size:16px;pointer-events:auto}.brand small,footer,#hint{display:none}.header-actions{pointer-events:auto}.header-actions .currency{padding:8px 10px;border-radius:9px;background:#14271fd9;font-weight:700}.header-actions button{min-width:48px;min-height:48px;padding:7px 10px;border-color:#f5c85b42;background:#14271fe6;font-size:11px}body[data-game-mode=playing] header,body[data-game-mode=paused] header,body[data-game-mode=menu] .under-mine,body[data-game-mode=menu] .tools-row,body[data-game-mode=menu] .objectives,body[data-game-mode=loading] .under-mine,body[data-game-mode=loading] .tools-row,body[data-game-mode=loading] .objectives,body[data-game-mode=results] .under-mine,body[data-game-mode=results] .tools-row,body[data-game-mode=results] .objectives{display:none}.hud{top:max(6px,env(safe-area-inset-top));left:max(6px,env(safe-area-inset-left));width:106px;display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:7px 6px 9px;border:1px solid #f5c85b42;border-radius:10px;background:#14271ff2;box-shadow:0 4px 16px #0005;transform:none;backdrop-filter:blur(8px);text-align:center}.hud>div{min-width:0;text-align:center}.hud>div:first-child{grid-column:1 / -1;padding-bottom:5px;border-bottom:1px solid var(--border)}body[data-game-mode=playing] .hud span,body[data-game-mode=paused] .hud span{overflow:hidden;margin-bottom:2px;font-size:10px;line-height:1.2;letter-spacing:.02em;text-overflow:ellipsis;white-space:nowrap}.hud>div:nth-child(2) span{font-size:0}.hud>div:nth-child(2) span:after{content:"VÀNG";font-size:10px}body[data-game-mode=playing] .hud strong,body[data-game-mode=paused] .hud strong,body[data-game-mode=playing] .hud div:first-child strong,body[data-game-mode=paused] .hud div:first-child strong{overflow:hidden;font-size:13px;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}body[data-game-mode=playing] .hud div:first-child strong,body[data-game-mode=paused] .hud div:first-child strong{font-size:11px}body[data-game-mode=playing] .hud small,body[data-game-mode=paused] .hud small{display:block;margin-top:2px;font-size:10px}.score-track{top:calc(max(6px,env(safe-area-inset-top)) + 91px);left:max(12px,calc(env(safe-area-inset-left) + 6px));width:94px;height:4px;margin:0;transform:none;box-shadow:0 2px 8px #0008}.under-mine{top:50%;right:max(6px,env(safe-area-inset-right));bottom:auto;display:flex;width:60px;margin:0;transform:translateY(-50%);flex-direction:column;gap:7px}.under-mine>div:first-child{order:2;margin:0;padding:6px 4px;border:1px solid #f5c85b42;border-radius:9px;background:#14271fe6;box-shadow:0 4px 16px #0005}.combo-line{display:block;overflow:hidden;font-size:9px;line-height:1.2;text-align:center;text-overflow:ellipsis;white-space:nowrap}#fever-label{display:none}.fever-track{height:4px;margin:5px 0 0}.controls{order:1;display:flex;flex-direction:column;gap:7px}.controls button,.controls .primary{width:60px;min-width:60px;min-height:60px;padding:6px 4px;border-width:2px;border-radius:12px;font-size:12px;box-shadow:0 5px #18110c99,0 8px 20px #0006}.controls #drop{display:none}#pause{overflow:hidden;font-size:0}#pause:before{content:"Ⅱ";font-size:19px}.tools-row{left:max(6px,env(safe-area-inset-left));bottom:max(6px,env(safe-area-inset-bottom));top:auto;width:106px;max-width:none;margin:0;transform:none;flex-direction:column}#active-tools{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}#active-tools button,.tools-row #leave{width:50px;min-height:60px;margin:0;padding:6px 4px;border:1px solid #f5c85b66;background:#14271fe6;box-shadow:0 4px 16px #0005;font-size:11px}#active-tools kbd{display:none}#active-tools small{display:block;margin:2px 0 0;font-size:8px}.objectives{top:calc(max(6px,env(safe-area-inset-top)) + 104px);left:max(6px,env(safe-area-inset-left));display:grid;width:106px;max-height:calc(100dvh - 250px);gap:4px;overflow:hidden;padding:7px 6px;border:1px solid #f5c85b42;border-radius:9px;background:#14271ff2;color:var(--muted);font-size:8px;line-height:1.25}.objectives span{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.objectives .achieved{color:var(--gold)}.notice{left:50%;bottom:max(8px,env(safe-area-inset-bottom));max-width:34vw;margin:0;padding:5px 8px;border-radius:7px;background:#14271fe6;font-size:10px;text-align:center;transform:translate(-50%);pointer-events:none}body:is([data-game-mode=playing],[data-game-mode=paused]) .hud{top:max(6px,env(safe-area-inset-top));left:max(6px,env(safe-area-inset-left));width:96px;gap:4px;padding:5px}body:is([data-game-mode=playing],[data-game-mode=paused]) .score-track{top:calc(max(6px,env(safe-area-inset-top)) + 54px);left:max(12px,calc(env(safe-area-inset-left) + 6px));width:84px;height:4px}body:is([data-game-mode=playing],[data-game-mode=paused]) .under-mine{right:max(6px,env(safe-area-inset-right));width:60px;gap:7px}body:is([data-game-mode=playing],[data-game-mode=paused]) .under-mine>div:first-child{width:100%;min-width:0;overflow:hidden;padding:6px 4px}body:is([data-game-mode=playing],[data-game-mode=paused]) .combo-line strong{display:-webkit-box;overflow:hidden;overflow-wrap:anywhere;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}body:is([data-game-mode=playing],[data-game-mode=paused]) .controls{gap:7px}body:is([data-game-mode=playing],[data-game-mode=paused]) .controls button,body:is([data-game-mode=playing],[data-game-mode=paused]) .controls .primary{width:60px;min-width:60px;min-height:60px;padding:6px 4px}body:is([data-game-mode=playing],[data-game-mode=paused]) .tools-row{left:max(6px,env(safe-area-inset-left));bottom:max(6px,env(safe-area-inset-bottom));width:106px;transform:none;flex-direction:column}body:is([data-game-mode=playing],[data-game-mode=paused]) #active-tools button,body:is([data-game-mode=playing],[data-game-mode=paused]) .tools-row #leave{width:50px;min-height:60px;padding:6px 4px}body:is([data-game-mode=playing],[data-game-mode=paused]) .objectives{top:calc(max(6px,env(safe-area-inset-top)) + 66px);left:max(6px,env(safe-area-inset-left));width:96px;max-width:96px;max-height:calc(100dvh - 212px);padding:7px 6px;font-size:10px}body:is([data-game-mode=playing],[data-game-mode=paused]) .notice{bottom:max(8px,env(safe-area-inset-bottom));max-width:34vw;font-size:10px}.menu{padding:max(58px,calc(env(safe-area-inset-top) + 48px)) max(18px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(26px,env(safe-area-inset-left));overflow-y:auto;overscroll-behavior:contain;background:linear-gradient(90deg,#101c17fa 0%,#14271fe8 42%,#14271f38 76%,transparent 100%)}.menu-card{max-width:min(430px,62vw)}.menu h1{margin-bottom:5px;font-size:clamp(25px,7vh,38px)}.menu .eyebrow,.menu #brief,.menu #best{margin:3px 0}.menu #brief{font-size:11px;line-height:1.3}.menu #loadout>.small{display:none}.tool-picker{margin-top:4px}.tool-picker button,.replay-modes button{min-height:42px;padding:5px 8px;font-size:11px}#start{min-height:44px;margin-top:5px;padding:7px}dialog{max-height:calc(100dvh - 16px);padding:16px}dialog h2{margin:4px 0 8px;font-size:24px}dialog p{margin:5px 0 8px}}@media(orientation:portrait)and (max-width:760px)and (pointer:coarse){body[data-game-mode=playing]{overflow:hidden}body[data-game-mode=playing] main>:not(.rotate-device){visibility:hidden}body[data-game-mode=playing] .rotate-device{position:fixed;z-index:100;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;padding:max(24px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));background:radial-gradient(circle at 50% 35%,#31513d,#14271f 68%);color:#f7edce;text-align:center}.rotate-device span{color:var(--gold);font-size:58px;line-height:1}.rotate-device strong{font-family:Georgia,serif;font-size:26px;text-wrap:balance}.rotate-device small{color:var(--muted);font-size:14px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
