.deck-map-modal{position:fixed;inset:0;z-index:100;display:flex;flex-direction:column;padding:32px 38px 22px;color:#f3f3f3;background:var(--ui-surface,rgba(30,30,30,.70));opacity:0;transition:opacity .22s ease;isolation:isolate;font-family:"Microsoft YaHei UI","Microsoft YaHei","PingFang SC",Arial,sans-serif;box-sizing:border-box}.deck-map-modal.visible{opacity:1}.deck-map-modal *{box-sizing:border-box}.deck-map-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.deck-map-head h2{font-size:23px;font-weight:500;margin:0 0 10px;letter-spacing:.5px}.deck-map-head p{font-size:12px;color:#c8c8c8;margin:0}.deck-map-close{border:1px solid #ffffff38;border-radius:50%;width:40px;height:40px;background:#ffffff0c;color:white;font:26px/1 Arial;cursor:pointer}.deck-map-close:hover{background:#ffffff20}.deck-map-body{display:flex;gap:24px;flex:1;min-height:0;padding:22px 0;align-items:stretch}.deck-map-floors{display:flex;flex-direction:column;justify-content:center;gap:9px;flex:none;width:80px}.deck-map-floors button{border:0;background:transparent;color:#e4e4e4;border-radius:8px;min-height:48px;font-size:13px;font-family:inherit;cursor:pointer;padding:10px;transition:background-color .18s ease,color .18s ease,transform .12s ease}.deck-map-floors button.active{color:#fff;background:#ffffff16}.deck-map-floors button:hover,.deck-map-floors button:focus-visible{background:#ffffff30;color:#fff}.deck-map-floors button:active{background:#ffffff50;transform:scale(.95)}.deck-map-stage{position:relative;flex:1;min-width:0;overflow:hidden;display:flex;align-items:center;justify-content:center;border:1px solid #ffffff12;border-radius:14px;background:#ffffff03}.deck-map-stage>svg{width:100%;height:100%;margin:0;touch-action:none;overflow:visible}.deck-map-modal svg text{font-family:inherit}.deck-hull{fill:#303030}.deck-outline{stroke:#d6d6d6;stroke-width:1.8;fill:none}.deck-zone{fill:#fff;fill-opacity:.2}.deck-zone.neutral{fill:#fff;fill-opacity:.08}.deck-zone.sand{fill:#fff;fill-opacity:.15}.deck-zone.rose{fill:#fff;fill-opacity:.27}.deck-zone.blue{fill:#fff;fill-opacity:.34}.deck-wall{fill:none;stroke:#c3c3c3;stroke-opacity:.45;stroke-width:1.2}.deck-stairs{fill:#d1d1d120;stroke:#c3c3c370;stroke-width:1}.deck-room-name{fill:#e4e4e4;font-size:14px;letter-spacing:.25px}.deck-room-leader{stroke:#b3b3b34d;stroke-width:1;fill:none}.deck-direction{fill:#c0c0c0;font-size:11px;letter-spacing:1px}.deck-route-line{stroke:#d3d3d3;stroke-opacity:.72;stroke-width:2;fill:none;stroke-linejoin:round;stroke-linecap:round}.deck-route.inferred .deck-route-line{stroke:#bbbbbb;stroke-dasharray:5 6;stroke-opacity:.75}.deck-route-hit{stroke:transparent;stroke-width:20;fill:none;pointer-events:stroke}.deck-route:not(.editable) .deck-route-hit{pointer-events:none}.deck-route.editable{cursor:move;outline:none}.deck-route-handle{fill:#c0c0c0;stroke:#272727;stroke-width:1.5;opacity:0;transition:opacity .15s}.deck-route.editable:hover .deck-route-handle,.deck-route.selected .deck-route-handle,.deck-route:focus .deck-route-handle{opacity:1}.deck-route.selected .deck-route-line{stroke:#cecece;stroke-width:3}.deck-point{cursor:pointer;outline:none}.deck-point circle{fill:#393939;stroke:#cecece;stroke-width:1.6;transition:fill .15s,stroke .15s}.deck-point text{fill:#f4f4f4;font-size:10px;font-weight:600;pointer-events:none}.deck-point.active circle{fill:#bfbfbf;stroke:#f3f3f3;stroke-width:2.5}.deck-point.active text{fill:#2f2f2f}.deck-point:hover circle,.deck-point:focus circle,.deck-point.selected circle{stroke:#e2e2e2;stroke-width:3;fill:#5f5f5f}.deck-point.editable{cursor:grab}.deck-point.editable:active{cursor:grabbing}.deck-map-tooltip{position:absolute;padding:11px 14px;border:1px solid #ffffff30;border-radius:8px;background:#1f1f1ff5;box-shadow:0 7px 22px #00000044;pointer-events:none;max-width:min(320px,90%);animation:map-tip-in .15s ease-out;z-index:2}.deck-map-tooltip strong{display:block;color:#f8f8f8;font-size:14px;font-weight:500;line-height:1.6}.deck-map-tooltip small{display:block;color:#c5c5c5;font-size:11px;margin-top:4px}.deck-map-foot{display:flex;gap:16px 24px;flex-wrap:wrap;align-items:center;font-size:11px;color:#b3b3b3;line-height:1.7}.deck-map-legend{display:flex;gap:16px}.deck-map-legend span:before{content:'';display:inline-block;width:18px;border-top:2px solid #d3d3d3;margin-right:6px;vertical-align:middle}.deck-map-legend .legend-current:before{width:8px;height:8px;border:0;border-radius:50%;background:#bfbfbf}.deck-map-names{display:flex;gap:7px;align-items:center;cursor:pointer;margin:0!important;font-size:12px!important;color:#dbdbdb!important}.deck-map-names input{width:14px!important;height:14px;margin:0;accent-color:#a5a5a5}.deck-map-reset{background:#ffffff0c;border:1px solid #ffffff29;color:#dbdbdb;border-radius:6px;padding:7px 10px;cursor:pointer;font-size:11px}.deck-map-reset:disabled{opacity:.35;cursor:default}.deck-map-labels{width:215px;overflow:auto;flex:none;padding-right:4px;scrollbar-width:thin}.deck-label-row{display:flex;align-items:center;gap:10px;padding:12px 8px;width:100%;text-align:left;background:transparent;border:0;border-bottom:1px solid #ffffff14;color:#dcdcdc;cursor:pointer;font-family:inherit;font-size:12px}.deck-label-row b{font-size:10px;font-weight:500;color:#c4c4c4;min-width:20px}.deck-label-row:hover{background:#ffffff09}.deck-map-modal button:focus-visible,.deck-map-modal input:focus-visible{outline:2px solid #bfbfbf;outline-offset:3px}@keyframes map-tip-in{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){.deck-map-modal{padding:20px 14px 16px}.deck-map-head h2{font-size:18px}.deck-map-head p{font-size:11px;line-height:1.7;max-width:270px}.deck-map-body{gap:10px;padding:18px 0;flex-wrap:wrap}.deck-map-floors{flex-direction:row;justify-content:flex-start;width:100%;gap:6px;align-self:flex-start;height:39px}.deck-map-floors button{min-height:36px;flex:1;font-size:11px;padding:6px 3px}.deck-map-stage{width:100%;height:calc(100% - 52px);flex:auto;overflow:auto;justify-content:flex-start}.deck-map-stage>svg{flex:none;min-width:840px;width:100%;height:100%;min-height:320px}.deck-map-foot{font-size:10px;gap:10px}.deck-map-legend{gap:10px}.deck-map-labels{width:100%;height:135px;flex:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px}.show-labels .deck-map-stage{height:calc(100% - 197px)}.deck-map-tooltip strong{font-size:13px}.deck-map-close{width:36px;height:36px}}
@media(prefers-reduced-motion:reduce){.deck-map-modal,.deck-map-tooltip{transition:none;animation:none}}

@media(max-width:760px) and (orientation:portrait){.deck-map-stage>svg.map-portrait{min-width:0;min-height:0;width:100%;height:100%}.map-portrait .deck-point circle{r:17px}.map-portrait .deck-point text{font-size:15px}.map-portrait .deck-room-name{font-size:15px}.map-portrait .deck-direction{font-size:14px}.deck-map-stage{overflow:hidden}}
