body[data-ui="earth-hunt"] .shell{max-width:1190px;padding-bottom:60px}
body[data-ui="earth-hunt"] .intro{margin-bottom:22px}
.earth-game{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,.8fr);gap:18px;align-items:stretch;background:#f4b95d;border-radius:20px;padding:18px;color:#1f282b}
.earth-stage{position:relative;min-height:610px;overflow:hidden;border-radius:16px;background:radial-gradient(ellipse at 50% 46%,#1f4c5e 0,#102c3d 52%,#071924 100%);color:#eaf6f0}
.earth-stage::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 50% 50%,transparent 35%,rgba(4,18,27,.22) 70%)}
.earth-globe{position:absolute;inset:0;cursor:grab;touch-action:none}
.earth-globe:active{cursor:grabbing}
.earth-globe canvas{display:block!important}
.earth-stage-top,.earth-stage-bottom{position:absolute;z-index:2;left:20px;right:20px;display:flex;justify-content:space-between;gap:15px;pointer-events:none;font-size:13px;font-weight:800}
.earth-stage-top{top:18px;align-items:center}.earth-stage-bottom{bottom:18px;align-items:center;color:#cbe5dd}
#stageLabel{letter-spacing:.13em;color:#f7d484}#stageHint{text-align:right}
.earth-fallback{position:absolute;z-index:3;inset:0;display:grid;place-items:center;padding:30px;background:#102c3d;text-align:center}.earth-fallback[hidden]{display:none}
.earth-fallback img{display:block;width:min(75%,360px);height:auto;margin:auto}.earth-fallback p{max-width:360px;margin:12px auto 0;color:#eaf6f0}
.earth-control{display:flex;flex-direction:column;gap:15px;min-width:0;padding:5px 2px 3px}
.earth-timer{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#1c3945;border-radius:13px;color:#f7fbf7}
.earth-timer span,.earth-target>span{font-size:12px;letter-spacing:.11em;font-weight:1000}
.earth-timer strong{font-size:27px;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.earth-target{padding:22px 20px 18px;border-radius:16px;background:#fffdf8;box-shadow:0 9px 20px rgba(75,52,21,.11)}
.earth-target>span{color:#426c65}.earth-target strong{display:block;margin-top:10px;font-size:clamp(24px,2.6vw,36px);line-height:1.12;letter-spacing:-.025em;overflow-wrap:anywhere}
.earth-target p{margin:12px 0 0;color:#62594f;font-size:14px;line-height:1.45}
.earth-primary,.earth-result button,.earth-rank-form-row button{border:0;border-radius:11px;background:#2fc6bd;color:#172d31;font-family:inherit;font-size:16px;font-weight:1000;line-height:1.2;cursor:pointer;transition:background .15s,transform .15s}
.earth-primary{min-height:52px;font-size:18px}.earth-primary:hover,.earth-result button:hover,.earth-rank-form-row button:hover{background:#5cddd2;transform:translateY(-2px)}
.earth-primary:disabled,.earth-rank-form-row button:disabled{cursor:default;opacity:.55;transform:none}
.earth-feedback{min-height:43px;margin:0;padding:2px 4px;font-weight:800;line-height:1.4;color:#263436}
.earth-feedback[data-tone="wrong"]{color:#7d2d2e}.earth-feedback[data-tone="right"]{color:#075d50}
.earth-steps{display:flex;justify-content:space-between;gap:10px;font-size:12px;font-weight:800;color:#5c4a34}
.earth-result{padding:14px 16px;border-radius:13px;background:#e6f6ec}.earth-result[hidden]{display:none}.earth-result strong{display:block;font-size:20px}.earth-result p{margin:6px 0 11px}.earth-result button{padding:11px 14px}
.earth-rank{margin-top:auto;min-height:205px;padding:16px;border-radius:15px;background:#fffdf8}.earth-rank-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.earth-rank h2{margin:0;font-size:18px;line-height:1.2}.earth-rank-head span{font-size:12px;font-weight:900;color:#37665f;text-align:right}.earth-rank ol{list-style:none;padding:0;margin:12px 0 0;max-height:182px;overflow:auto}.earth-rank li{display:grid;grid-template-columns:28px 1fr auto;gap:8px;align-items:center;padding:6px 2px;border-bottom:1px solid #ebe7dc;font-size:13px}.earth-rank li:last-child{border-bottom:0}.earth-rank li strong{font-variant-numeric:tabular-nums}.earth-rank li#rankingEmpty{display:block;color:#655c51}.earth-rank form{margin-top:15px;padding-top:13px;border-top:1px solid #dedbd1}.earth-rank form[hidden]{display:none}.earth-rank form label{display:block;margin-bottom:7px;font-size:13px;font-weight:900}.earth-rank-form-row{display:flex;gap:7px}.earth-rank-form-row input{min-width:0;flex:1;padding:10px 11px;border:1px solid #a9c8be;border-radius:9px;font:inherit}.earth-rank-form-row button{padding:8px 11px;font-size:13px}.earth-rank form p{margin:7px 0 0;font-size:12px}
.earth-game :is(button,input,.earth-globe):focus-visible{outline:3px solid #0b6870;outline-offset:3px}
@media(max-width:860px){.earth-game{grid-template-columns:1fr}.earth-stage{min-height:min(76vw,610px)}.earth-control{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.earth-target,.earth-rank{grid-column:1/-1}.earth-steps{align-self:center}.earth-result{grid-column:1/-1}}
@media(max-width:550px){body[data-ui="earth-hunt"] .shell{width:min(100% - 20px,1190px)}.earth-game{padding:9px;gap:10px}.earth-stage{min-height:390px}.earth-stage-top,.earth-stage-bottom{left:10px;right:10px;font-size:11px}.earth-stage-top{top:11px}.earth-stage-bottom{bottom:11px}.earth-control{display:flex;padding:4px}.earth-timer strong{font-size:24px}.earth-target{padding:18px}.earth-steps{width:100%}}
@media(prefers-reduced-motion:reduce){.earth-primary,.earth-result button,.earth-rank-form-row button{transition:none}}
