/* The opener lives in the existing map header, not in the weapon touch grid. */
#shops-open{pointer-events:auto;min-width:44px;min-height:44px;padding:5px 9px;border:1px solid #d1f66c6b;background:#253328;color:#eaffb7;border-radius:3px;font-size:11px;font-weight:700;letter-spacing:.3px}
.map-heading:has(#shops-open){align-items:center;gap:6px;padding-top:5px;padding-bottom:5px}.map-heading:has(#shops-open)>span:first-child{flex:1}.map-heading:has(#shops-open)>span:nth-child(2){display:none}
.shop-objective{padding:7px 9px;border-top:1px solid #d1f66c44;color:#eff3e7;font-size:10px;line-height:1.4}.shop-objective strong,.shop-objective span,.shop-objective small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shop-objective strong{font-size:11px}.shop-objective span{color:#d1f66c;font-variant-numeric:tabular-nums}.shop-objective small{color:#b6c0bb;font-size:8px}.shop-run-hud{padding:7px 9px;border-top:1px solid #ffffff25;font:700 10px monospace;color:#eaffb7}
.shops-dialog{width:min(670px,100%);border-radius:7px;background:#121b18}.shops-dialog h2{margin:0;font-size:25px;letter-spacing:.3px}.shops-scroll{padding:18px 22px;overflow-y:auto;overscroll-behavior:contain;min-height:0}.shops-intro{margin:0 0 16px;color:#cbd3cb;font-size:13px;line-height:1.5}.shop-run-card{padding:16px;border:1px solid #d1f66c4d;border-radius:5px;background:linear-gradient(135deg,#293620,#18221c);margin-bottom:16px}.shop-run-card h3{margin:0 0 7px;color:#d1f66c;font-size:19px}.shop-run-card p{margin:7px 0;font-size:12px;line-height:1.55;color:#d3dacc}.shop-run-card .shop-run-status{font-weight:700;color:#f1f5e7;font-variant-numeric:tabular-nums}.shop-run-card .shop-run-best{font-size:11px;color:#b7c5b7}.shop-run-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:13px}.shops-dialog button{min-height:44px}.shop-run-actions button,.shop-target-actions button,.shop-row>button{border:1px solid #ffffff38;border-radius:3px;background:#29362a;padding:9px 12px;font-size:12px}.shop-run-actions button:first-child{color:#162015;background:#d1f66c;border-color:#ecffac;font-weight:700}.shop-target-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:#c5d2c5;padding-bottom:12px}.shop-target-actions span{min-width:0;overflow-wrap:anywhere}.shop-target-actions button{flex:none}.shops-list{list-style:none;padding:0;margin:0}.shop-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-top:1px solid #ffffff22}.shop-row-info{min-width:0;display:flex;flex-direction:column;gap:3px}.shop-row-info>strong{font-size:14px;overflow-wrap:anywhere}.shop-address,.shop-details,.shop-till{font-size:11px;line-height:1.4;color:#b6c3ba}.shop-address:empty{display:none}.shop-till{color:#d1f66c}.shop-row>button{flex:none;min-width:105px}.shop-row.selected{border-left:3px solid #d1f66c;padding-left:10px}.shop-row.selected>button{color:#d1f66c}.shop-row.counted .shop-till{color:#a6c6d2}.shops-disclaimer{font-size:11px;line-height:1.6;color:#aebdb3;border-top:1px solid #ffffff22;padding-top:14px;margin:12px 0 0}
@media(max-width:600px){#shops-overlay{padding:12px;padding-top:calc(12px + env(safe-area-inset-top,0px));padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}.shops-scroll{padding:14px}.shops-dialog h2{font-size:22px}.shop-run-card{padding:12px}.shop-row{gap:9px}.shop-row-info>strong{font-size:12px}.shop-row>button{min-width:86px;padding:7px;font-size:10px}.shop-address,.shop-details,.shop-till{font-size:10px}.map-heading:has(#shops-open){padding:4px 5px;letter-spacing:.4px;font-size:6px}#shops-open{font-size:9px;padding:4px 6px}.shop-objective{padding:5px 6px;font-size:8px}.shop-objective strong{font-size:8px}.shop-objective small{font-size:6px}.shop-run-hud{padding:5px 6px;font-size:8px}}
@media(max-height:700px){.shop-objective small{display:none}.shop-objective strong{max-width:140px}.shop-objective{padding-top:4px;padding-bottom:4px}.shop-run-hud{padding-top:4px;padding-bottom:4px}}
@media(max-width:600px) and (max-height:700px){.map-panel:has(#shops-open) .map-legend,.map-panel:has(#shops-open) .coordinates{display:none}.shop-objective{display:flex;gap:5px;align-items:center}.shop-objective strong{max-width:53px;flex:1}.shop-objective span{flex:none;font-size:7px}}
@media(prefers-reduced-motion:reduce){.shops-dialog *{scroll-behavior:auto}}
