.mv-thumb{border:1px solid var(--line);background:var(--graphite);cursor:zoom-in;border-radius:12px;width:100%;max-width:260px;padding:0;display:block;position:relative;overflow:hidden}.mv-thumb img{aspect-ratio:1;object-fit:cover;width:100%;transition:transform .3s;display:block;transform:scale(1.35)}.mv-thumb:hover img{transform:scale(1.42)}.mv-thumb span{color:var(--on-dark);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0c0a08cc;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:6px 10px;font-size:.82rem;display:flex;position:absolute;inset:auto 8px 8px}.mv{z-index:1000;background:var(--bg);grid-template-rows:auto 1fr auto;display:grid;position:fixed;inset:0}.mv-bar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.mv-bar b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mv-bar div{gap:6px;display:flex}.mv-bar button{border:1px solid var(--line);width:36px;height:36px;color:var(--ink);background:var(--soft-surface);cursor:pointer;border-radius:8px;place-items:center;display:grid}.mv-stage{touch-action:none;cursor:grab;place-items:center;display:grid;overflow:hidden}.mv-stage:active{cursor:grabbing}.mv-canvas{transform-origin:50%;position:relative}.mv-canvas img{-webkit-user-select:none;user-select:none;max-width:min(100vw,100vh - 120px);max-height:calc(100vh - 120px);display:block}.mv-canvas>svg{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.mv-hint{color:var(--muted);text-align:center;margin:0;padding:8px 16px 12px;font-size:.8rem}.tm{gap:10px;display:grid}.tm-overlay line{stroke:#ffffff2e;stroke-width:1px;vector-effect:non-scaling-stroke}.tm-overlay .tm-grid text{fill:#ffffff80;font-weight:600}.tm-monument{fill:#fff6ef;paint-order:stroke;stroke:#0c0a08cc;stroke-width:4px;font-weight:700}.tm-mate circle{fill:#8fd69c;stroke:#0c0a08;stroke-width:3px}.tm-mate.dead circle{fill:#ff8f7a}.tm-mate text{fill:#8fd69c;paint-order:stroke;stroke:#0c0a08;stroke-width:4px;font-weight:700}.tm-mark{pointer-events:all;cursor:pointer}.tm-mark-body{transform:scale(calc(1 / var(--mv-scale,1)));transition:transform .18s}.tm-mark-body circle{fill:#0c0a08d9;stroke:#f3ece4;stroke-width:2px;vector-effect:non-scaling-stroke}.tm-mark-body svg{color:#f3ece4;overflow:visible}.tm-mark.kind-large .tm-mark-body circle{stroke:#f0683f}.tm-mark.kind-safe .tm-mark-body circle{stroke:#8fd69c}.tm-mark-name{opacity:0;fill:#fff6ef;paint-order:stroke;stroke:#0c0a08;stroke-width:4px;pointer-events:none;font-weight:700;transition:opacity .15s}.tm-mark:hover .tm-mark-body,.tm-mark:focus-visible .tm-mark-body{transform:scale(calc(1.3 / var(--mv-scale,1)))}.tm-mark:hover .tm-mark-name,.tm-mark:focus-visible .tm-mark-name{opacity:1}.mv .tm-popup{border:1px solid var(--line);background:var(--panel);box-shadow:var(--shadow-float);z-index:2;border-radius:14px;gap:12px;width:min(380px,100vw - 32px);max-height:calc(100vh - 140px);padding:18px;display:grid;position:absolute;top:70px;right:16px;overflow:auto}.mv .tm-close{border:1px solid var(--line);width:30px;height:30px;color:var(--ink);background:var(--soft-surface);cursor:pointer;border-radius:8px;justify-self:end;place-items:center;display:grid}
