#hud{position:fixed;inset:0;pointer-events:none;z-index:10;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Noto Sans CJK SC,sans-serif;color:#fff;user-select:none;-webkit-user-select:none}#hud img{pointer-events:none;-webkit-user-drag:none}.topbar{position:absolute;top:env(safe-area-inset-top,0px);left:0;right:0;display:flex;justify-content:center;gap:6px;padding:8px;pointer-events:none}.res{display:flex;align-items:center;gap:6px;min-width:84px;padding:3px 10px 3px 4px;border-radius:14px;background:#082436c7;border:2px solid rgba(255,255,255,.12);box-shadow:0 2px 6px #00000040}.res img{width:30px;height:30px;flex:0 0 auto}.res-val{display:flex;flex-direction:column;line-height:1.05}.res-val .v{font-size:17px;font-weight:800;font-variant-numeric:tabular-nums}.res-val .r{font-size:10px;font-weight:600;opacity:.75}.res.bump{animation:bump .25s ease-out}@keyframes bump{40%{transform:scale(1.12)}}.dock{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:center;padding:10px 8px calc(10px + env(safe-area-inset-bottom,0px));background:linear-gradient(to top,#061c2ae0,#061c2a00);pointer-events:none}.dock-row{display:flex;gap:6px;max-width:100%;overflow-x:auto;overscroll-behavior:contain;touch-action:pan-x;scrollbar-width:none;pointer-events:auto;padding:8px 8px 0}.dock-row::-webkit-scrollbar{display:none}.dock-btn{position:relative;flex:0 0 auto;width:78px;min-height:86px;padding:4px 2px 5px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:2px;border-radius:14px;border:3px solid #2b1d14;background:#f6e7c8;color:#2b1d14;box-shadow:0 3px #2b1d14;font:inherit;cursor:pointer;touch-action:manipulation;transition:transform .12s ease,background .12s ease}.dock-btn:active{transform:translateY(2px);box-shadow:0 1px #2b1d14}.dock-icon{width:42px;height:42px}.dock-name{font-size:11px;font-weight:800;line-height:1.1;white-space:nowrap}.cost{display:inline-flex;flex-wrap:wrap;justify-content:center;gap:1px 5px;font-size:11px;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.15}.cost .c{display:inline-flex;align-items:center;gap:1px;white-space:nowrap}.cost .c img{width:13px;height:13px}.cost .c.short{color:#c0392b}.dock-btn.selected{background:#c9f59c;transform:translateY(-6px);box-shadow:0 6px #2b1d14,0 0 0 3px #9be564}.dock-btn.locked{filter:grayscale(1);opacity:.55;cursor:default}.dock-btn .lock{position:absolute;top:-8px;right:-6px;padding:1px 5px;border-radius:8px;background:#2b1d14;color:#ffd166;font-size:10px;font-weight:800}.dock.hint .dock-btn:not(.locked){animation:hint .5s ease-in-out 3}@keyframes hint{50%{transform:translateY(-8px);background:#fff3c4}}.popover{position:absolute;width:220px;padding:8px;border-radius:14px;border:3px solid #2b1d14;background:#f6e7c8;color:#2b1d14;box-shadow:0 4px #2b1d14,0 8px 18px #0000004d;pointer-events:auto;transform:translate(-50%,calc(-100% - 40px))}.popover[hidden]{display:none}.pop-head{display:flex;align-items:center;gap:8px}.pop-head>div{flex:1 1 auto;min-width:0}.pop-head img{width:40px;height:40px}.pop-title{font-size:14px;font-weight:800}.pop-sub{display:flex;flex-wrap:wrap;align-items:center;gap:4px;font-size:12px;font-weight:700;opacity:.85}.pop-sub img{width:14px;height:14px}.pop-sub .stat{display:inline-flex;align-items:center;gap:2px;white-space:nowrap;padding:1px 6px;border-radius:8px;background:#2b1d1414}.pop-close{margin-left:auto;flex:0 0 44px;width:44px;height:44px;border:0;border-radius:10px;background:transparent;color:#2b1d14;font:800 22px/1 system-ui,sans-serif;cursor:pointer}.pop-actions{display:flex;gap:6px;margin-top:6px}.pop-btn{flex:1 1 0;min-height:48px;padding:4px 6px;border-radius:10px;border:3px solid #2b1d14;box-shadow:0 2px #2b1d14;font:inherit;font-size:12px;font-weight:800;color:#2b1d14;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;touch-action:manipulation}.pop-upgrade{background:#9be564}.pop-upgrade:disabled{background:#d8d2c4;cursor:default}.pop-demolish{background:#ffb4a2;flex:0 0 74px}@media(max-width:480px){.topbar{gap:4px;padding:6px 4px}.res{min-width:0;gap:3px;padding:2px 7px 2px 2px;border-radius:12px}.res img{width:24px;height:24px}.res-val .v{font-size:14px}.res-val .r{font-size:9px}.dock{padding-left:4px;padding-right:4px}.dock-row{gap:5px;scroll-snap-type:x proximity}.dock-row .dock-btn{scroll-snap-align:start}.dock{justify-content:flex-start}.dock-btn{width:60px;min-height:74px;border-width:2px;border-radius:11px}.dock-icon{width:30px;height:30px}.dock-name{font-size:9.5px}.cost{display:inline-grid;grid-template-columns:repeat(2,auto);font-size:9.5px;gap:0 3px}.cost .c img{width:10px;height:10px}}.hud-top{position:absolute;top:0;left:0;right:0;pointer-events:none}.hud-top .topbar{position:static}.phase-row{display:flex;justify-content:center;align-items:center;gap:6px;margin-top:-2px}.wave-badge{padding:3px 10px;border-radius:10px;background:#f6e7c8;color:#2b1d14;border:2px solid #2b1d14;font-size:13px;font-weight:800}.wave-badge.boss{background:#ffb4a2}.clock{display:flex;align-items:center;gap:6px;padding:3px 8px;border-radius:12px;background:#082436c7;border:2px solid rgba(255,255,255,.12);font-size:12px;font-weight:800}.clock-icon{width:14px;height:14px;border-radius:50%;background:#ffd166;box-shadow:0 0 6px #ffd166}.clock.night .clock-icon{background:transparent;box-shadow:inset -4px 2px #e6f0ff}.clock-track{width:90px;height:8px;border-radius:4px;background:#ffffff26;overflow:hidden}.clock-fill{height:100%;width:100%;transform-origin:left center;background:#ffd166;transition:transform .12s linear}.clock.night .clock-fill{background:#ff6b6b}.clock-text{min-width:50px;font-variant-numeric:tabular-nums}.boss-bar{display:flex;align-items:center;gap:6px;width:min(360px,86vw);margin:6px auto 0;padding:3px 8px 3px 3px;border-radius:12px;background:#2b0a1ed1;border:2px solid #e94f37}.boss-bar[hidden]{display:none}.boss-icon{width:28px;height:28px}.boss-track{flex:1;height:10px;border-radius:5px;background:#ffffff26;overflow:hidden}.boss-fill{height:100%;width:100%;transform-origin:left center;background:linear-gradient(90deg,#e94f37,#ff8c69);transition:transform .12s linear}.boss-name{font-size:12px;font-weight:800;white-space:nowrap}.toast{position:absolute;top:34%;left:50%;transform:translate(-50%,-50%) scale(.8);padding:10px 22px;border-radius:16px;background:#082436e0;border:3px solid #ffd166;font-size:22px;font-weight:900;letter-spacing:.5px;white-space:nowrap;opacity:0;pointer-events:none}.toast.boss{border-color:#e94f37;color:#ffd2c7}.toast.show{animation:toast 1.8s ease-out forwards}@keyframes toast{0%{opacity:0;transform:translate(-50%,-50%) scale(.7)}12%{opacity:1;transform:translate(-50%,-50%) scale(1.06)}20%{transform:translate(-50%,-50%) scale(1)}80%{opacity:1}to{opacity:0;transform:translate(-50%,-60%) scale(1)}}.modal-backdrop{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:12px;background:#04101a8c;pointer-events:auto;animation:fade .2s ease-out}.modal-backdrop[hidden]{display:none}@keyframes fade{0%{opacity:0}}.modal{display:flex;flex-direction:column;align-items:center;gap:10px;max-width:560px;width:100%}.modal-title{font-size:26px;font-weight:900;color:#fff;text-shadow:0 3px 0 #2b1d14}.modal-sub{font-size:14px;font-weight:700;opacity:.9}.modal-hero{width:72px;height:72px;transform:rotate(-12deg);filter:saturate(.6)}.cards{display:flex;justify-content:center;gap:10px;width:100%}.card{flex:1 1 0;max-width:170px;min-height:190px;padding:10px 8px;display:flex;flex-direction:column;align-items:center;gap:6px;border-radius:16px;border:4px solid #2b1d14;background:#f6e7c8;color:#2b1d14;box-shadow:0 5px #2b1d14;font:inherit;cursor:pointer;touch-action:manipulation;animation:deal .35s ease-out both}.card:nth-child(2){animation-delay:.06s}.card:nth-child(3){animation-delay:.12s}@keyframes deal{0%{transform:translateY(30px) scale(.9);opacity:0}}.card:hover{transform:translateY(-4px)}.card.picked{transform:translateY(-8px) scale(1.04);box-shadow:0 0 0 4px #9be564,0 6px #2b1d14}.card.rarity-rare{background:#d4ecff}.card.rarity-epic{background:#ead6ff}.card-rarity{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:1px;padding:1px 8px;border-radius:8px;background:#2b1d14;color:#e3e7ea}.rarity-rare .card-rarity{color:#8fdcff}.rarity-epic .card-rarity{color:#e0b3ff}.card-icon{width:56px;height:56px}.card-title{font-size:14px;font-weight:900;text-align:center}.card-summary{font-size:12px;font-weight:700;text-align:center;line-height:1.2}.card-pips{font-size:10px;letter-spacing:2px;color:#8a5a33}.big-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:240px;min-height:56px;padding:8px 18px;border-radius:14px;border:4px solid #2b1d14;box-shadow:0 4px #2b1d14;font:inherit;font-size:17px;font-weight:900;color:#2b1d14;background:#9be564;cursor:pointer;touch-action:manipulation}.big-btn.prestige{background:#d4ecff}.big-btn[hidden]{display:none}.btn-icon{width:30px;height:30px}@media(max-width:480px){.phase-row{gap:4px}.clock-track{width:64px}.cards{gap:6px}.card{min-height:170px;padding:8px 4px;border-width:3px}.card-icon{width:44px;height:44px}.card-title{font-size:12.5px}.card-summary{font-size:11px}.toast{font-size:18px}}.ark-btn{display:inline-flex;align-items:center;gap:4px;min-width:44px;min-height:44px;padding:2px 10px 2px 4px;border-radius:12px;border:3px solid #2b1d14;background:#d4ecff;color:#2b1d14;font:inherit;font-size:13px;font-weight:900;box-shadow:0 2px #2b1d14;pointer-events:auto;cursor:pointer;touch-action:manipulation}.ark-btn[hidden]{display:none}.ark-btn.ready{animation:glow 1.4s ease-in-out infinite}@keyframes glow{50%{box-shadow:0 2px #2b1d14,0 0 0 4px #9fe7ffd9,0 0 18px #9fe7ffe6}}.ark-icon{width:28px;height:28px}.panel{box-sizing:border-box;padding:14px;border-radius:18px;border:4px solid #2b1d14;background:#f6e7c8;color:#2b1d14;box-shadow:0 6px #2b1d14,0 10px 30px #00000059}.panel .modal-title{color:#2b1d14;text-shadow:none}.panel .modal-sub{color:#5b4636}.gains{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.gain{display:inline-flex;align-items:center;gap:4px;padding:4px 10px 4px 4px;border-radius:12px;background:#2b1d1414;font-size:18px;font-weight:900}.gain img{width:30px;height:30px}.btn-row{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.btn-row .big-btn{min-width:150px}.big-btn.ad{background:#ffd166}.big-btn:disabled{background:#d8d2c4;cursor:default}.ark{max-width:600px;max-height:calc(100vh - 24px);overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;gap:8px}.ark-head{display:flex;align-items:center;gap:10px;width:100%}.ark-head .modal-title{font-size:22px}.bp-points{padding:3px 10px;border-radius:10px;background:#2b1d14;color:#9fe7ff;font-size:13px;font-weight:900;white-space:nowrap}.ark-head .pop-close{margin-left:auto}.tech-list{display:grid;grid-template-columns:1fr 1fr;gap:6px;width:100%}.tech{display:flex;align-items:center;gap:6px;padding:6px;border-radius:10px;background:#2b1d1412}.tech-text{flex:1;min-width:0}.tech-title{font-size:13px;font-weight:900}.tech-sum{font-size:11px;font-weight:700;opacity:.8}.tech-level{font-size:11px;font-weight:800;font-variant-numeric:tabular-nums}.tech-buy{min-width:64px;min-height:44px;border-radius:10px;border:3px solid #2b1d14;background:#9fe7ff;color:#2b1d14;font:inherit;font-size:12px;font-weight:900;cursor:pointer;touch-action:manipulation}.tech-buy:disabled{background:#d8d2c4;cursor:default}.section-title{align-self:flex-start;font-size:14px;font-weight:900}.zones{display:flex;gap:6px;width:100%}.zone{flex:1 1 0;min-height:64px;padding:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:12px;border:3px solid #2b1d14;background:linear-gradient(135deg,var(--zone-a),var(--zone-b));color:#fff;font:inherit;cursor:pointer;touch-action:manipulation}.zone-name{font-size:13px;font-weight:900}.zone-mult{font-size:10px;font-weight:700;opacity:.9}.zone-lock{display:none;font-size:10px;font-weight:800;color:#ffd166}.zone:disabled{filter:grayscale(.85) brightness(.8);cursor:default}.zone:disabled .zone-lock{display:block}.zone:disabled .zone-mult{display:none}.zone.selected{box-shadow:0 0 0 3px #9be564}.zone.current .zone-name:after{content:" ●";color:#9be564}.big-btn.sail{background:#9fe7ff}.big-btn.sail.confirm{background:#ffb4a2}@media(max-width:480px){.tech-list{grid-template-columns:1fr}.ark-head .modal-title{font-size:18px}.zone-name{font-size:11.5px}}.mute-btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border-radius:12px;border:3px solid #2b1d14;background:#f6e7c8;box-shadow:0 2px #2b1d14;pointer-events:auto;cursor:pointer;touch-action:manipulation}.mute-btn .cross{display:none}.mute-btn.muted{background:#d8d2c4}.mute-btn.muted .waves{display:none}.mute-btn.muted .cross{display:inline;stroke:#c0392b}.dock{--fade: rgba(6, 28, 42, .95)}.dock:before,.dock:after{content:"";position:absolute;bottom:0;top:0;width:26px;pointer-events:none;opacity:0;transition:opacity .2s;z-index:1}.dock:before{left:0;background:linear-gradient(to right,var(--fade),transparent)}.dock:after{right:0;background:linear-gradient(to left,var(--fade),transparent)}.dock.scroll-left:before,.dock.scroll-right:after{opacity:1}.dock-row{scroll-padding-inline:8px}.dock.scroll-right .dock-row:after{content:"";flex:0 0 12px}.dock.scroll-right:after{background:no-repeat right 4px center / 12px 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 18'%3E%3Cpath d='M3 2l7 7-7 7' fill='none' stroke='%23ffd166' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),linear-gradient(to left,var(--fade),transparent);animation:nudge 1.4s ease-in-out infinite}@keyframes nudge{50%{background-position:right 1px center,0 0}}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}@media(max-height:500px)and (orientation:landscape){.hud-top{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px;padding:4px}.hud-top .topbar{padding:0;gap:4px}.phase-row{margin:0}.res{min-width:0;padding:2px 7px 2px 2px}.res img{width:22px;height:22px}.res-val .v{font-size:13px}.res-val .r{display:none}.dock{padding-top:4px;padding-bottom:calc(4px + env(safe-area-inset-bottom,0px))}.dock-btn{width:74px;min-height:56px}.dock-icon{width:26px;height:26px}.dock-name{display:none}.cost{display:inline-grid;grid-template-columns:repeat(2,auto);gap:0 4px;font-size:10px}.cost .c img{width:11px;height:11px}.card{min-height:140px}.card-icon{width:36px;height:36px}}.dock{bottom:var(--dock-bottom, 0px)}.banner-slot{position:absolute;left:50%;bottom:4px;transform:translate(-50%);max-width:100vw;overflow:hidden;pointer-events:auto;background:#00000026;border-radius:4px}.turbo-btn{min-width:56px;min-height:44px;padding:2px 8px;border-radius:12px;border:3px solid #2b1d14;background:#ffd166;color:#2b1d14;font:inherit;font-size:13px;font-weight:900;font-variant-numeric:tabular-nums;box-shadow:0 2px #2b1d14;pointer-events:auto;cursor:pointer;touch-action:manipulation}.turbo-btn[hidden]{display:none}.turbo-btn.active{background:#9be564}.reroll{min-width:200px}.phase-row{flex-wrap:wrap;row-gap:4px;padding:0 6px}.clock-text{min-width:64px;white-space:nowrap}.guide-btn{width:44px;height:44px;padding:0;border-radius:12px;border:3px solid #2b1d14;background:#9fe7ff;color:#2b1d14;font:900 22px/1 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;box-shadow:0 2px #2b1d14;pointer-events:auto;cursor:pointer;touch-action:manipulation}.hint-bar{position:absolute;left:0;right:0;margin:0 auto;width:fit-content;bottom:var(--hint-bottom, 130px);display:flex;align-items:center;gap:8px;max-width:calc(100vw - 16px);min-height:44px;padding:4px 14px 4px 6px;border-radius:22px;border:2px solid rgba(255,255,255,.25);background:#082436e0;color:#fff;font:inherit;font-size:14px;font-weight:800;text-align:left;box-shadow:0 3px 10px #0000004d;pointer-events:none;white-space:normal}.hint-bar[hidden]{display:none}.hint-bar.cue{border-color:#ffd166;animation:cue-in .35s ease-out}.hint-bar.placing{border-color:#9be564;pointer-events:auto;cursor:pointer;touch-action:manipulation}@keyframes cue-in{0%{opacity:0;transform:translateY(8px)}}.hint-icon{flex:0 0 32px;width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#ffffff1f;font-size:22px;font-weight:900;line-height:1}.hint-icon img{width:26px;height:26px}.hint-icon.icon-plus{color:#9be564;background:#9be5642e}.hint-icon.icon-down{color:#ffd166;animation:bob .9s ease-in-out infinite}.hint-icon.icon-tile{background:#9be56440;border:3px solid #9be564;border-radius:8px;width:26px;height:26px;flex-basis:26px}.hint-icon.icon-hand img{animation:sweep 1.4s ease-in-out infinite}@keyframes bob{50%{transform:translateY(4px)}}@keyframes sweep{50%{transform:translate(5px) rotate(8deg)}}.guide{max-width:640px;max-height:calc(100vh - 24px);overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;gap:8px;align-items:stretch}.guide .ark-head .pop-close{margin-left:auto}.guide-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:6px}.guide-step{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:12px;background:#2b1d1412}.guide-num{flex:0 0 24px;height:24px;border-radius:50%;background:#2b1d14;color:#ffd166;font-size:13px;font-weight:900;display:inline-flex;align-items:center;justify-content:center}.guide-icon{position:relative;flex:0 0 40px;height:40px}.guide-icon img{width:40px;height:40px}.guide-badge{position:absolute;right:-4px;bottom:-4px;width:20px;height:20px;border-radius:50%;background:#9be564;border:2px solid #2b1d14;font-size:15px;font-weight:900;line-height:15px;text-align:center}.guide-text{font-size:12.5px;font-weight:700;line-height:1.25}.guide-daynight{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.guide-clock{color:#fff}.guide-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.guide-item{display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px;padding:6px 4px;border-radius:10px;background:#2b1d1412;font-size:11px;font-weight:700;line-height:1.2}.guide-item img{width:34px;height:34px}.guide-item b{font-size:12.5px;font-weight:900}@media(max-width:480px){.guide-steps{grid-template-columns:1fr}.guide-grid{grid-template-columns:repeat(2,1fr)}.hint-bar{font-size:13px}.clock-text{min-width:0}}@media(max-height:500px)and (orientation:landscape){.guide-steps{grid-template-columns:1fr 1fr}.guide-grid{grid-template-columns:repeat(4,1fr)}.hint-bar{font-size:12.5px;min-height:44px}}.hint-text{display:flex;flex-direction:column;line-height:1.2}.hint-sub{font-size:11.5px;font-weight:700;opacity:.85}.res{pointer-events:auto;cursor:help;touch-action:manipulation}.res:focus-visible,.dock-btn:focus-visible{outline:3px solid #ffd166;outline-offset:2px}.tooltip{position:fixed;z-index:30;max-width:min(300px,calc(100vw - 16px));padding:8px 10px;border-radius:12px;border:3px solid #2b1d14;background:#fff8e6;color:#2b1d14;box-shadow:0 4px #2b1d14,0 8px 18px #0000004d;font-size:12.5px;font-weight:700;line-height:1.3;pointer-events:none}.tooltip[hidden]{display:none}.tip-head{display:flex;align-items:center;gap:6px;margin-bottom:4px}.tip-head img{width:26px;height:26px}.tip-title{font-size:14px;font-weight:900}.tip-row{margin-top:2px}.tip-label{margin-right:4px;color:#8a5a33;font-weight:900}.tip-note{margin-top:6px;padding:2px 8px;border-radius:8px;background:#2b1d14;color:#ffd166;font-weight:900;display:inline-block}.hint-bar.contextual{border-color:#9fe7ff99;padding-right:2px}.hint-hide{flex:0 0 44px;width:44px;height:44px;margin:-4px 0;border:0;border-radius:50%;background:transparent;color:#fffc;font:900 20px/1 system-ui,sans-serif;pointer-events:auto;cursor:pointer;touch-action:manipulation}.hint-hide[hidden]{display:none}.hint-show{position:absolute;right:8px;bottom:var(--hint-bottom, 130px);width:44px;height:44px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;border:2px solid rgba(255,209,102,.8);background:#082436e0;pointer-events:auto;cursor:pointer;touch-action:manipulation}.hint-show[hidden]{display:none}.lang-btn{min-width:44px;height:44px;padding:0 8px;border-radius:12px;border:3px solid #2b1d14;background:#f6e7c8;color:#8a7a6a;font:inherit;font-size:13px;font-weight:900;box-shadow:0 2px #2b1d14;pointer-events:auto;cursor:pointer;touch-action:manipulation;white-space:nowrap}.lang-btn span.on{color:#2b1d14;text-decoration:underline 2px #ffd166;text-underline-offset:3px}.guide-settings{display:flex;justify-content:center;flex-wrap:wrap;gap:6px}.lang-opt,.tips-toggle{min-width:64px;min-height:44px;padding:4px 12px;border-radius:12px;border:3px solid #2b1d14;background:#e9dcc0;color:#2b1d14;font:inherit;font-size:14px;font-weight:900;cursor:pointer;touch-action:manipulation}.lang-opt.on{background:#ffd166}.tips-toggle.on{background:#9be564}.auto-btn{display:inline-flex;align-items:center;justify-content:center;gap:3px;min-width:44px;min-height:44px;padding:2px 8px 2px 5px;border-radius:12px;border:3px solid #2b1d14;background:#f6e7c8;color:#2b1d14;font:inherit;font-size:13px;font-weight:900;white-space:nowrap;box-shadow:0 2px #2b1d14;pointer-events:auto;cursor:pointer;touch-action:manipulation}.auto-btn.on{background:#9be564}.auto-btn.on .auto-icon{animation:auto-spin 2.4s linear infinite}@keyframes auto-spin{to{transform:rotate(360deg)}}.auto-labels{display:inline-grid}.auto-labels>span{grid-area:1 / 1}.auto-btn:not(.on) .auto-l-on,.auto-btn.on .auto-l-off{visibility:hidden}@media(prefers-reduced-motion:reduce){.auto-btn.on .auto-icon{animation:none}}.guide-note{display:flex;align-items:center;gap:8px;margin:8px 0 0;padding:6px 10px;border-radius:10px;background:#9be5642e;font-size:13px;line-height:1.35}.guide-note .auto-icon{flex:0 0 auto}.hint-icon.icon-auto{background:#9be564}
