.cr-cover { width:100%; height:100%; object-fit:cover; object-position:center 58%; }
.tile-crater .game-tile-art { padding:0; background:#263b44; }
.tile-crater { border-color:#659e8055; }
.mini-crater { --cr-accent:#a7e0bb; }
.cr-main { width:100%; min-width:0; padding:20px; background:#141a20; border:1px solid #ffffff12; border-radius:20px; overflow:hidden; }
.mini-crater .game-body { align-items:flex-start; }
.cr-hud { display:grid; gap:10px; margin-bottom:14px; }
.cr-mission { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.cr-mission>div:first-child { display:grid; gap:3px; }
.cr-eyebrow { color:#a7e0bb; text-transform:uppercase; letter-spacing:.14em; font-size:10px; font-weight:700; }
.cr-mission strong { font:600 23px var(--font-display); }
.cr-goals { display:flex; flex-wrap:wrap; gap:7px; }
.cr-goals>span { padding:9px 12px; border-radius:10px; background:#263139; font-size:12px; color:#cfdbd5; }
.cr-goals b { color:#ffe2aa; margin-left:6px; }
.cr-goals .done { background:#305041; }
.cr-pocket { display:flex; justify-content:space-between; gap:10px; font-size:11px; color:#99aaa6; }
.cr-pocket b { color:#d6e4de; }
.cr-viewport { position:relative; overflow:hidden; border:1px solid #a7e0bb30; border-radius:14px; background:#304252; }
#craterCanvas { display:block; width:100%; height:clamp(300px,50vh,620px); outline:none; touch-action:none; cursor:crosshair; }
#craterCanvas:focus-visible { outline:2px solid #ffcc4d; outline-offset:-3px; }
.cr-location { position:absolute; top:14px; left:14px; pointer-events:none; padding:8px 11px; border-radius:9px; background:#142128b8; backdrop-filter:blur(8px); font-size:10px; font-weight:600; color:#dbece3; }
.cr-location i { display:inline-block; width:6px; height:6px; background:#9ae1b3; border-radius:50%; margin-right:6px; }
.cr-bottom { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:12px; }
.cr-tools { display:flex; gap:6px; }
.cr-tools button { display:flex; align-items:center; gap:8px; border:1px solid #ffffff12; background:#202a31; padding:10px 12px; border-radius:10px; font-size:12px; color:#c0cdc7; }
.cr-tools button.selected { border-color:#e7c184; background:#3c3a2c; color:#ffe2aa; }
.cr-tools i { font-style:normal; font-size:20px; line-height:1; }
.cr-bottom kbd { padding:2px 5px; border:1px solid #ffffff22; border-radius:4px; font-size:9px; opacity:.6; }
.cr-notice { border-left:2px solid #8ed3ad; padding:8px 12px; margin-top:12px; color:#afc6ba; font-size:12px; min-height:32px; }
.cr-footer { display:flex; justify-content:space-between; gap:10px; color:#718c84; font-size:10px; margin-top:8px; }
.cr-controls { display:none; }
.cr-result { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:32px; }
.cr-result>img { width:100%; border-radius:20px; }
.cr-result h1 { margin:12px 0; }
.cr-result p { color:var(--muted); line-height:1.7; margin-bottom:24px; }
@media(max-width:900px) { .cr-mission { align-items:flex-start; flex-direction:column; gap:10px; } .cr-main { padding:14px; } .cr-footer { flex-direction:column; } }
@media(max-width:640px) { .cr-main { border-radius:14px; padding:10px; } .cr-mission strong { font-size:20px; } .cr-goals { gap:4px; } .cr-goals>span { padding:7px 8px; font-size:10px; } .cr-goals b { margin-left:3px; } .cr-pocket { flex-direction:column; gap:3px; } #craterCanvas { height:420px; } .cr-controls { display:flex; justify-content:center; gap:5px; position:absolute; bottom:10px; left:0; right:0; } .cr-controls button { width:40px; height:40px; border-radius:10px; border:1px solid #ffffff33; background:#17252ee8; color:#e1eedf; font-size:19px; touch-action:none; user-select:none; } .cr-bottom { flex-direction:column; align-items:stretch; } .cr-tools { justify-content:center; } .cr-tools button { padding:9px; gap:6px; } .cr-bottom>.btn { font-size:12px; } .cr-result { grid-template-columns:1fr; } .cr-location { font-size:9px; top:9px; left:9px; } }
