
/* all widths: ticker play/pause is a literal triangle / two bars */
#ldn#ldn .lc-tk-toggle{width:44px;min-width:44px;height:44px;padding:0!important;border-radius:50%!important;font-size:0!important;display:inline-flex;align-items:center;justify-content:center}
#ldn#ldn .lc-tk-toggle svg{width:20px;height:20px;fill:currentColor;pointer-events:none}
#ldn#ldn .lc-tk-toggle .lc-pause{display:none}
#ldn#ldn.lc-tk-play .lc-tk-toggle .lc-play{display:none}
#ldn#ldn.lc-tk-play .lc-tk-toggle .lc-pause{display:block}
#ldn#ldn .hud .lbl .lc-ls{display:none}
#ldn#ldn .brand .lc-brand-the,#ldn#ldn .brand .lc-brand-x,#ldn#ldn .tk-label .lc-full{font:inherit!important;letter-spacing:inherit!important;text-transform:inherit!important;color:inherit}
#ldn#ldn .lc-nav-who{text-transform:none;letter-spacing:normal;color:#F0F0F0;font-weight:700}
/* PROPOSAL (not deployed): mobile declutter, <=760px only. Loaded AFTER lc-polish. Desktop untouched.
   Remove the <link> to roll back. All targets 44px min, dark, high contrast. */
@media (max-width:760px){
 #ldn#ldn{--lc-foot:calc(env(safe-area-inset-bottom,0px) + 34px)}

 /* 1. top bar: one clean row  [menu] [LOADOUT NETWORK] ........ [+ Add] [account] */
 #ldn#ldn .top{flex-wrap:nowrap;align-items:center;gap:8px;min-height:60px}
 #ldn#ldn .top .sp,#ldn#ldn .top .clock,#ldn#ldn .top .livechip{display:none!important}
 #ldn#ldn .top .brand{flex:1 1 auto;min-width:0;max-width:104px;font-size:15px;line-height:1.05;letter-spacing:.04em;white-space:normal;margin:0}
 #ldn#ldn .top .brand .lc-brand-x{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap} /* "// LIVE MAP" stays for screen readers */
 #ldn#ldn .top .ldn-nav-btn .lbl{display:none}
 #ldn#ldn .top .ldn-nav-btn{min-width:44px;padding:0!important;justify-content:center}
 #ldn#ldn .top #ldn-add{flex:0 0 auto;padding:0 14px!important}
 #ldn#ldn .top #ldn-who{display:none!important}              /* name moves into the menu header + account button label */
 #ldn#ldn .top #ldn-login.lc-signed{width:44px;min-width:44px;padding:0!important;font-size:0!important;letter-spacing:0!important;border-radius:999px!important;flex:0 0 44px!important}
 #ldn#ldn .top{justify-content:flex-start} #ldn#ldn .top #ldn-add{margin-left:auto}
 #ldn#ldn .top #ldn-login.lc-signed::before{content:"";width:22px;height:22px;display:block;margin:auto;background:currentColor;
   -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7z'/%3E%3C/svg%3E") center/contain no-repeat;
   mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7z'/%3E%3C/svg%3E") center/contain no-repeat}

 /* 2. Industry Wire row: short label + ONE swipeable strip + round play/pause icon */
 #ldn#ldn .ticker{height:56px;gap:0}
 #ldn#ldn .tk-label{padding:0 10px;font-size:11px;letter-spacing:.12em}
 #ldn#ldn .tk-label .lc-full{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
 #ldn#ldn .tk-wrap{flex:1 1 auto;min-width:0;mask-image:linear-gradient(90deg,transparent,#000 4%,#000 94%,transparent)}
 #ldn#ldn:not(.lc-tk-play) .tk-wrap{overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 #ldn#ldn:not(.lc-tk-play) .tk-wrap::-webkit-scrollbar{display:none}
 #ldn#ldn .tk{scroll-snap-align:start;max-width:min(calc(100vw - 124px),320px)}
 #ldn#ldn .tk .t{max-width:100%}
 #ldn#ldn .lc-tk-toggle{width:44px;min-width:44px;height:44px;margin:0 8px 0 4px;padding:0!important;border-radius:50%;font-size:0!important;display:inline-flex;align-items:center;justify-content:center}
 #ldn#ldn .lc-tk-toggle svg{width:20px;height:20px;fill:currentColor;pointer-events:none}
 #ldn#ldn .lc-tk-toggle .lc-pause{display:none}
 #ldn#ldn.lc-tk-play .lc-tk-toggle .lc-play{display:none}
 #ldn#ldn.lc-tk-play .lc-tk-toggle .lc-pause{display:block}

 /* 3. filters: search gets its own full row; chips are one clear swipe row with an edge fade */
 #ldn#ldn .filters{flex-wrap:wrap;gap:8px;padding:8px 10px 10px}
 #ldn#ldn .search{order:-1;flex:1 1 100%;width:100%}
 #ldn#ldn .pills{flex:1 1 100%;padding:2px 24px 2px 2px;scroll-padding-left:2px;scroll-snap-type:x proximity;
   mask-image:linear-gradient(90deg,#000 92%,transparent);-webkit-mask-image:linear-gradient(90deg,#000 92%,transparent)}
 #ldn#ldn .pill{scroll-snap-align:start}

 /* 4. map controls: ONE right-hand stack (zoom, 3D), clear of the collapse tab */
 #ldn#ldn .leaflet-top.leaflet-left{left:auto;right:10px;top:56px}
 #ldn#ldn .leaflet-top .leaflet-control{margin:0 0 8px 0;float:none}
 #ldn#ldn .ldn-3dbtn a{width:44px!important;height:44px!important;line-height:44px!important;font-size:14px!important}
 #ldn#ldn .phandle{top:0}
 #ldn#ldn .ph svg{border:2px solid #A0A0A0;border-top:0;background:#0E0E0E;color:#fff}

 /* 5. bottom: attribution + scale get their own 24px strip; HUD and Need Help sit ABOVE it, side by side */
 #ldn#ldn .leaflet-bottom{bottom:env(safe-area-inset-bottom,0px)}
 #ldn#ldn .leaflet-control-attribution{font-size:11px!important;line-height:22px;white-space:nowrap}
 #ldn#ldn .help{bottom:var(--lc-foot)!important;right:max(10px,env(safe-area-inset-right,0px));left:auto}
 #ldn#ldn .help-panel{max-height:calc(100dvh - 220px);overflow:auto}
 #ldn#ldn .hud{left:max(10px,env(safe-area-inset-left,0px));bottom:var(--lc-foot)!important;width:auto;max-width:calc(100% - 190px);padding:6px 8px;border-radius:14px}
 #ldn#ldn .hud .radar{display:none!important}
 #ldn#ldn .hud .row{gap:10px;flex-wrap:nowrap}
 #ldn#ldn .hud .stat{font-size:16px}
 #ldn#ldn .hud .lbl{font-size:10px}
 #ldn#ldn .hud .x{flex:none;min-width:44px;min-height:44px;padding:0 10px!important;font-size:13px!important}
 #ldn#ldn .hud.open{right:max(10px,env(safe-area-inset-right,0px));max-width:none;bottom:calc(var(--lc-foot) + 54px)!important} /* Legend opens upward, above Need Help */
 #ldn#ldn .hud .legend span{white-space:normal}

 /* stats: one compact line "12 live  464 pins"; full words kept for screen readers */
 #ldn#ldn .hud .row>div{display:flex;align-items:baseline;gap:4px;white-space:nowrap}
 #ldn#ldn .hud .lbl .lc-lf{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
 #ldn#ldn .hud .lbl .lc-ls{text-transform:uppercase;font-size:11px;letter-spacing:.08em}
 #ldn#ldn .hud{max-width:calc(100% - 168px)}
 #ldn#ldn .help-toggle{padding:10px 14px!important;font-size:13px!important}
 /* scale bar + attribution share ONE bottom strip */
 #ldn#ldn .leaflet-bottom.leaflet-right{display:flex;flex-direction:row;align-items:center;gap:6px;max-width:100%}
 #ldn#ldn .leaflet-bottom.leaflet-right .leaflet-control{float:none;margin:0}
 #ldn#ldn .leaflet-control-scale{display:flex;gap:6px}
 #ldn#ldn .leaflet-control-scale .leaflet-control-scale-line{margin:0!important;font-size:11px!important}
 #ldn#ldn .leaflet-control-scale .leaflet-control-scale-line:nth-child(2){display:none}
 #ldn#ldn .hud .x{display:inline-flex!important;align-items:center;justify-content:center;line-height:1!important;padding:0 14px!important}
 #ldn#ldn .tk{white-space:normal;border-radius:16px!important;align-items:flex-start;line-height:1.25;padding:5px 12px 5px 6px!important}
 #ldn#ldn .tk .t{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}
 #ldn#ldn .tk .d{flex:none;margin-top:1px}

 #ldn#ldn .top .brand .lc-brand-the{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
 #ldn#ldn .hud .lbl .lc-ls{display:inline}
 /* 3D/zoom stack clears the notch when the top panel is collapsed */
 #ldn#ldn.collapsed .leaflet-top.leaflet-left{top:calc(var(--ldn-safe-top,env(safe-area-inset-top,0px)) + 56px)}
 /* venue card open: card sits ABOVE Need Help, so the crisis button is never covered */
 #ldn#ldn .card{bottom:calc(env(safe-area-inset-bottom,0px) + 66px)!important;max-height:calc(100% - env(safe-area-inset-bottom,0px) - 80px)!important}
 #ldn#ldn.cardopen .leaflet-control-scale,#ldn#ldn.cardopen .leaflet-control-attribution{display:none!important}
 #ldn#ldn.cardopen .help,#ldn#ldn:has(.card:not([hidden])) .help{bottom:calc(env(safe-area-inset-bottom,0px) + 12px)!important}
}
