.sctm-app{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;background:#07111c;color:#e9f2f9;border:1px solid #21364a;border-radius:16px;overflow:hidden;box-shadow:0 16px 45px rgba(0,0,0,.22);margin:18px 0}.sctm-app *{box-sizing:border-box}.sctm-head{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:18px 20px;background:linear-gradient(135deg,#0a1e30,#0e2f47)}.sctm-head h2{color:#fff!important;margin:1px 0 3px;font-size:25px;line-height:1.15}.sctm-eyebrow{font-size:11px;font-weight:800;letter-spacing:.16em;color:#65c9ff}.sctm-subtitle{font-size:13px;color:#b7cad9}.sctm-badge{font-size:11px;font-weight:800;letter-spacing:.08em;padding:7px 10px;border:1px solid #407091;border-radius:999px;color:#bce7ff;background:#0b2235}.sctm-toolbar{display:flex;align-items:end;gap:10px;padding:10px 14px;background:#0b1723;border-top:1px solid #183148;border-bottom:1px solid #183148;flex-wrap:wrap}.sctm-toolbar label:not(.sctm-toggle){display:grid;gap:4px;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#8fa8ba;font-weight:700}.sctm-toolbar select,.sctm-toolbar button{height:36px;background:#10283a;color:#ecf7ff;border:1px solid #29485e;border-radius:8px;padding:0 10px}.sctm-toolbar button{cursor:pointer;font-weight:700}.sctm-toolbar button:hover{background:#173b54}.sctm-toggle{height:36px;display:flex!important;align-items:center;gap:6px;background:#10283a;border:1px solid #29485e;border-radius:8px;padding:0 10px;color:#ecf7ff!important;font-size:12px!important;text-transform:none!important;letter-spacing:0!important}.sctm-body{display:grid;grid-template-columns:290px 1fr;min-height:var(--sctm-height)}.sctm-side{background:#091621;border-right:1px solid #203444;padding:13px;overflow:auto;max-height:var(--sctm-height)}.sctm-side-title{font-size:10px;letter-spacing:.12em;color:#6f8da3;font-weight:800;margin:4px 0 8px}.sctm-agreement,.sctm-intensity{margin-bottom:13px}.sctm-spread-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.sctm-spread-cell{background:#0d1f2d;border:1px solid #29485e;border-radius:8px;padding:8px}.sctm-spread-cell b{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#8fa8ba}.sctm-spread-cell strong{display:block;color:#fff;font-size:14px;margin-top:2px}.sctm-spread-cell span{display:block;color:#8fa8ba;font-size:9px;margin-top:2px}.sctm-spread-cell.high{border-color:#1f6f46}.sctm-spread-cell.moderate{border-color:#8a5a14}.sctm-spread-cell.low{border-color:#8c2f39}.sctm-spread-cell.muted{opacity:.65}.sctm-side-note{font-size:9px;line-height:1.4;color:#71899a;margin-top:6px}.sctm-intensity-card{background:#0d1f2d;border:1px solid #29485e;border-radius:9px;overflow:hidden}.sctm-intensity-head,.sctm-intensity-row{display:grid;grid-template-columns:48px 1fr 64px;gap:6px;align-items:center;padding:7px 8px}.sctm-intensity-head{font-size:8px;text-transform:uppercase;letter-spacing:.08em;color:#6f8da3;background:#0a1925}.sctm-intensity-row{font-size:10px;border-top:1px solid #1d3446}.sctm-intensity-row b{color:#b8ccda}.sctm-intensity-row span{color:#90a9ba}.sctm-intensity-row strong{color:#fff;text-align:right}.sctm-models{display:grid;gap:10px}.sctm-model-group{display:grid;gap:4px}.sctm-model-group-title{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:#6f8da3;padding:3px 2px}.sctm-group-actions{display:flex;gap:4px}.sctm-group-actions button{font-size:8px;text-transform:none;letter-spacing:0;border:1px solid #29485e;color:#9fb6c7;background:#0d1f2d;border-radius:5px;padding:2px 5px;cursor:pointer}.sctm-group-actions button:hover{color:#fff;background:#173b54}.sctm-model{display:flex;align-items:center;gap:7px;padding:8px;border-radius:8px;background:#0d1f2d;border:1px solid transparent;cursor:pointer;font-size:12px}.sctm-model:hover{border-color:#29485e}.sctm-model input{margin:0}.sctm-model-name{min-width:0;flex:1}.sctm-model b{display:block;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sctm-model small{display:block;color:#7692a6;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sctm-model em{font-style:normal;font-size:7px;letter-spacing:.08em;background:#fff;color:#07111c;padding:2px 4px;border-radius:4px}.sctm-swatch{width:14px;height:4px;border-radius:8px;display:inline-block;flex:0 0 auto}.sctm-help{font-size:10px;line-height:1.5;color:#829cad;border-top:1px solid #203444;margin-top:14px;padding-top:12px}.sctm-map{height:var(--sctm-height);min-height:420px;background:#102433}.sctm-footer{display:flex;justify-content:space-between;gap:12px;padding:9px 14px;font-size:10px;color:#7892a6;background:#07111c;border-top:1px solid #203444}.sctm-popup{font-size:12px;line-height:1.55}.leaflet-container{font-family:Inter,system-ui,sans-serif}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#0b1723;color:#eaf6ff}.leaflet-tooltip{background:#0b1723;color:#fff;border-color:#31536a;box-shadow:none}.leaflet-tooltip:before{border-top-color:#31536a!important}@media(max-width:760px){.sctm-head{align-items:flex-start}.sctm-badge{display:none}.sctm-body{grid-template-columns:1fr}.sctm-side{max-height:none;border-right:0;border-bottom:1px solid #203444;padding:9px}.sctm-models{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sctm-model-group{min-width:0}.sctm-map{height:520px;min-height:520px}.sctm-footer{display:grid}.sctm-toolbar label:not(.sctm-toggle){flex:1 1 145px}.sctm-toolbar select{width:100%}.sctm-agreement,.sctm-intensity{grid-column:1/-1}.sctm-spread-grid{grid-template-columns:repeat(5,minmax(82px,1fr));overflow:auto}.sctm-intensity-card{overflow:auto}}
.sctm-storm-card{background:linear-gradient(145deg,#0d2232,#0a1925);border:1px solid #29485e;border-radius:12px;padding:12px;margin-bottom:13px}.sctm-current-top{display:flex;align-items:center;gap:10px}.sctm-storm-icon{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;border:2px solid #54758b;background:#10283a;position:relative;box-shadow:inset 0 0 0 4px rgba(255,255,255,.03)}.sctm-storm-icon span{font-size:27px;line-height:1}.sctm-current-title{min-width:0}.sctm-current-kicker{font-size:8px;font-weight:800;letter-spacing:.14em;color:#6f8da3}.sctm-current-title h3{margin:2px 0 4px!important;color:#fff!important;font-size:18px!important;line-height:1.05}.sctm-current-class{display:inline-flex;align-items:center;font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;border-radius:999px;padding:4px 7px;background:#163147;color:#d7efff}.sctm-current-class.td,.sctm-storm-icon.td{border-color:#4eb6e8}.sctm-current-class.ts,.sctm-storm-icon.ts{border-color:#46c985}.sctm-current-class.hurricane,.sctm-storm-icon.hurricane{border-color:#ffb74d}.sctm-current-class.major,.sctm-storm-icon.major{border-color:#ef5350}.sctm-current-class.invest,.sctm-storm-icon.invest{border-color:#8d9cab}.sctm-current-class.post,.sctm-storm-icon.post,.sctm-current-class.remnant,.sctm-storm-icon.remnant{border-color:#9e9e9e}.sctm-current-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:11px}.sctm-current-grid>div{background:#091722;border:1px solid #1d3446;border-radius:8px;padding:7px 8px;min-width:0}.sctm-current-grid span{display:block;font-size:8px;text-transform:uppercase;letter-spacing:.08em;color:#6f8da3;margin-bottom:2px}.sctm-current-grid strong{display:block;color:#f3f9fd;font-size:11px;line-height:1.3}.sctm-current-grid strong small{font-size:9px;color:#8fa8ba;font-weight:500}.sctm-current-foot{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:8px;color:#6f8da3;font-size:8px;line-height:1.4}.sctm-current-divicon{background:transparent!important;border:0!important}.sctm-map-current{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#08131d;border:3px solid #fff;box-shadow:0 2px 10px rgba(0,0,0,.48);position:relative}.sctm-map-current span{font-size:24px;line-height:1}.sctm-map-current.td{border-color:#4eb6e8}.sctm-map-current.ts{border-color:#46c985}.sctm-map-current.hurricane{border-color:#ffb74d}.sctm-map-current.major{border-color:#ef5350}.sctm-map-current.invest{border-color:#8d9cab}.sctm-map-current.post,.sctm-map-current.remnant{border-color:#9e9e9e}
@media(max-width:760px){.sctm-storm-card{grid-column:1/-1}.sctm-current-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v0.7 storm imagery + official forecast points + warning ribbons */
.sctm-storm-icon{overflow:hidden;background:radial-gradient(circle at 50% 46%,#14314a 0,#0a1b29 68%,#07111c 100%)}
.sctm-storm-icon img{display:block;width:42px;height:42px;object-fit:contain;filter:drop-shadow(0 2px 4px rgba(0,0,0,.35))}
.sctm-map-current{width:48px;height:48px;border-radius:50%;background:rgba(6,18,30,.92);border:2px solid rgba(255,255,255,.9);box-shadow:0 3px 14px rgba(0,0,0,.5);display:grid;place-items:center}
.sctm-map-current img{width:40px;height:40px;object-fit:contain;filter:drop-shadow(0 2px 3px rgba(0,0,0,.4))}
.sctm-current-divicon,.sctm-official-divicon{background:transparent!important;border:0!important}
.sctm-fcst-marker{width:48px;min-height:58px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;pointer-events:auto}
.sctm-fcst-marker img{display:block;width:38px;height:38px;object-fit:contain;filter:drop-shadow(0 2px 4px rgba(0,0,0,.55))}
.sctm-fcst-marker span{margin-top:-1px;padding:2px 5px;border-radius:999px;background:rgba(6,18,30,.92);border:1px solid rgba(255,255,255,.78);color:#fff;font-size:9px;line-height:1;font-weight:800;letter-spacing:.02em;box-shadow:0 2px 6px rgba(0,0,0,.28)}
.sctm-warning-legend{min-width:178px;padding:10px 11px;background:rgba(7,17,28,.94);border:1px solid #36536a;border-radius:10px;color:#f2f7fb;box-shadow:0 8px 24px rgba(0,0,0,.25);backdrop-filter:blur(5px)}
.sctm-warning-title{font-size:9px;font-weight:900;letter-spacing:.1em;color:#8fb4ca;margin:0 0 7px}
.sctm-warning-legend>div:not(.sctm-warning-title){display:flex;align-items:center;gap:7px;margin:5px 0;font-size:10px;font-weight:700;line-height:1.25}
.sctm-warning-legend i{display:block;width:24px;height:7px;border-radius:999px;box-shadow:0 0 0 2px rgba(255,255,255,.08);flex:0 0 auto}
.sctm-warning-path{filter:drop-shadow(0 1px 2px rgba(0,0,0,.55))}
.sctm-intensity-row small{font-size:8px;color:#7893a5;font-weight:500;white-space:nowrap}.sctm-intensity-row strong small{display:block;margin-top:1px}
@media(max-width:760px){.sctm-warning-legend{min-width:145px;padding:8px}.sctm-warning-legend>div:not(.sctm-warning-title){font-size:9px}.sctm-warning-legend i{width:19px}}

/* v0.7.1 Theme / Elementor compatibility ----------------------------------
   Keep Leaflet storm artwork at the dimensions chosen by the plugin even
   when a theme applies broad rules such as img{width:100%;max-width:100%}. */
.sctm-app .leaflet-marker-pane .sctm-official-divicon,
.sctm-app .leaflet-marker-pane .sctm-current-divicon {
  box-sizing:border-box !important;
  background:transparent !important;
  border:0 !important;
  max-width:none !important;
  max-height:none !important;
}

/* Official forecast point: 32px storm symbol + compact hour badge. */
.sctm-app .leaflet-marker-pane .sctm-official-divicon .sctm-fcst-marker {
  width:48px !important;
  height:54px !important;
  min-width:48px !important;
  min-height:54px !important;
  max-width:48px !important;
  max-height:54px !important;
  overflow:visible !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  box-sizing:border-box !important;
}
.sctm-app .leaflet-marker-pane .sctm-official-divicon .sctm-fcst-marker > img,
.sctm-app .leaflet-marker-pane .sctm-official-divicon img {
  display:block !important;
  width:32px !important;
  height:32px !important;
  min-width:32px !important;
  min-height:32px !important;
  max-width:32px !important;
  max-height:32px !important;
  object-fit:contain !important;
  aspect-ratio:1 / 1 !important;
  margin:0 auto !important;
  padding:0 !important;
  border:0 !important;
  transform:none !important;
  box-sizing:border-box !important;
}
.sctm-app .leaflet-marker-pane .sctm-official-divicon .sctm-fcst-marker > span {
  width:auto !important;
  max-width:46px !important;
  height:auto !important;
  white-space:nowrap !important;
}

/* Current center: intentionally a little larger than forecast markers. */
.sctm-app .leaflet-marker-pane .sctm-current-divicon .sctm-map-current {
  width:44px !important;
  height:44px !important;
  min-width:44px !important;
  min-height:44px !important;
  max-width:44px !important;
  max-height:44px !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
}
.sctm-app .leaflet-marker-pane .sctm-current-divicon .sctm-map-current > img,
.sctm-app .leaflet-marker-pane .sctm-current-divicon img {
  display:block !important;
  width:38px !important;
  height:38px !important;
  min-width:38px !important;
  min-height:38px !important;
  max-width:38px !important;
  max-height:38px !important;
  object-fit:contain !important;
  aspect-ratio:1 / 1 !important;
  margin:auto !important;
  padding:0 !important;
  border:0 !important;
  transform:none !important;
  box-sizing:border-box !important;
}

/* Current-system card artwork is also protected from global theme img rules. */
.sctm-app .sctm-storm-icon > img {
  display:block !important;
  width:42px !important;
  height:42px !important;
  min-width:42px !important;
  min-height:42px !important;
  max-width:42px !important;
  max-height:42px !important;
  object-fit:contain !important;
  aspect-ratio:1 / 1 !important;
  margin:auto !important;
  padding:0 !important;
  border:0 !important;
  transform:none !important;
  box-sizing:border-box !important;
}

/* v0.8.0 active tropical systems directory */
.sctm-system-list,
.sctm-system-count{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.sctm-system-list{background:#071724;border:1px solid #173b55;border-radius:18px;overflow:hidden;color:#eef7ff;box-shadow:0 14px 32px rgba(5,21,33,.12)}
.sctm-list-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;background:linear-gradient(135deg,#0d2c45,#123d5e);border-bottom:1px solid #1d4a69}
.sctm-list-head>div{min-width:0}.sctm-list-head span{display:block;color:#72d6ff;font-size:11px;font-weight:800;letter-spacing:1.5px}.sctm-list-head h3{margin:3px 0 0;color:#fff;font-size:22px;line-height:1.2}.sctm-list-head>a{flex:0 0 auto;color:#eaf7ff!important;text-decoration:none!important;border:1px solid #3e6c89;border-radius:999px;padding:9px 13px;font-size:12px;font-weight:800;letter-spacing:.3px}.sctm-list-head>a:hover{background:#173f5c}
.sctm-system-items{display:grid;gap:0}.sctm-system-link{display:grid;grid-template-columns:minmax(220px,1.3fr) minmax(180px,1fr) auto;align-items:center;gap:18px;padding:17px 20px;color:#eaf7ff!important;text-decoration:none!important;border-top:1px solid #153447;background:#091b29;transition:background .16s ease,border-color .16s ease}.sctm-system-link:first-child{border-top:0}.sctm-system-link:hover{background:#0d2638;border-color:#25526d}.sctm-system-main{display:flex;align-items:center;gap:12px;min-width:0}.sctm-system-status-dot{width:10px;height:10px;border-radius:50%;background:#41d98b;box-shadow:0 0 0 4px rgba(65,217,139,.1);flex:0 0 auto}.sctm-system-main strong{display:block;color:#fff;font-size:16px;line-height:1.25}.sctm-system-main small{display:block;margin-top:3px;color:#91b6ca;font-size:12px}.sctm-system-meta{display:flex;gap:8px;flex-wrap:wrap}.sctm-system-meta span{display:inline-flex;padding:6px 9px;border:1px solid #24485f;border-radius:8px;background:#0b2232;color:#d6e9f4;font-size:12px;font-weight:700}.sctm-system-cta{color:#73d8ff;font-size:12px;font-weight:800;white-space:nowrap}.sctm-list-empty{padding:24px;color:#9fb9c8;background:#091b29}
.sctm-system-list--compact .sctm-list-head{padding:14px 16px}.sctm-system-list--compact .sctm-list-head h3{font-size:18px}.sctm-system-list--compact .sctm-system-link{grid-template-columns:minmax(180px,1fr) auto;padding:12px 15px}.sctm-system-list--compact .sctm-system-meta{display:none}.sctm-system-list--compact .sctm-system-main strong{font-size:14px}.sctm-system-list--compact .sctm-system-main small{font-size:11px}
.sctm-system-count{display:flex;align-items:center;gap:10px;max-width:320px;padding:13px 16px;border-radius:14px;background:linear-gradient(135deg,#0c2a42,#123d5d);border:1px solid #275474;color:#fff!important;text-decoration:none!important}.sctm-system-count strong{font-size:24px;line-height:1;color:#6ed9ff}.sctm-system-count span{font-size:13px;font-weight:800;flex:1}.sctm-system-count b{font-size:18px;color:#6ed9ff}
@media(max-width:760px){.sctm-list-head{align-items:flex-start;flex-direction:column}.sctm-system-link{grid-template-columns:1fr;gap:10px}.sctm-system-cta{justify-self:start}.sctm-system-list--compact .sctm-system-link{grid-template-columns:1fr auto}.sctm-system-list--compact .sctm-system-main small{max-width:190px}}

/* v0.8.1 active-system directory: horizontal, Elementor-column friendly */
.sctm-system-list{container-type:inline-size;container-name:sctm-systems;width:100%;max-width:100%;min-width:0}
.sctm-system-items,.sctm-system-link,.sctm-system-main,.sctm-system-meta{min-width:0}
.sctm-system-link{grid-template-columns:minmax(155px,1fr) auto minmax(102px,max-content);gap:10px;padding:15px 14px}
.sctm-system-main{gap:9px}
.sctm-system-icon-wrap{width:30px;height:30px;min-width:30px;max-width:30px;display:grid;place-items:center;flex:0 0 30px}
.sctm-system-icon-wrap img{display:block!important;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;max-width:28px!important;max-height:28px!important;object-fit:contain!important;margin:0!important;padding:0!important;border:0!important;transform:none!important}
.sctm-system-main>div{min-width:0}.sctm-system-main strong,.sctm-system-main small{overflow:hidden;text-overflow:ellipsis}.sctm-system-main small{white-space:normal;line-height:1.3}
.sctm-system-meta{display:flex;gap:6px;flex-wrap:nowrap;justify-content:flex-end}.sctm-system-meta span{padding:5px 7px;font-size:11px;white-space:nowrap}
.sctm-system-cta{justify-self:end;text-align:right;white-space:nowrap}.sctm-cta-short{display:none}
@container sctm-systems (max-width: 690px){
  .sctm-list-head{padding:16px 17px}.sctm-list-head h3{font-size:20px}.sctm-list-head>a{padding:8px 10px;font-size:11px}
  .sctm-system-link{grid-template-columns:minmax(145px,1fr) auto minmax(82px,max-content);gap:8px;padding:14px 12px}
  .sctm-system-main strong{font-size:15px}.sctm-system-main small{font-size:11px}.sctm-system-meta span{font-size:10px;padding:5px 6px}
  .sctm-cta-full{display:none}.sctm-cta-short{display:inline}.sctm-system-cta{font-size:11px}
}
@container sctm-systems (max-width: 520px){
  .sctm-list-head{align-items:center;flex-direction:row;gap:8px}.sctm-list-head span{font-size:9px}.sctm-list-head h3{font-size:17px}.sctm-list-head>a{font-size:0;padding:8px}.sctm-list-head>a:after{content:'Open';font-size:10px}
  .sctm-system-link{grid-template-columns:minmax(135px,1fr) auto;grid-template-areas:'main cta' 'meta meta';gap:7px 8px}
  .sctm-system-main{grid-area:main}.sctm-system-meta{grid-area:meta;justify-content:flex-start;padding-left:39px}.sctm-system-cta{grid-area:cta}
}
@container sctm-systems (max-width: 390px){
  .sctm-system-link{grid-template-columns:1fr;grid-template-areas:'main' 'meta' 'cta'}.sctm-system-meta{padding-left:39px}.sctm-system-cta{justify-self:start;padding-left:39px}
}

/* v0.8.2 freshness indicator */
.sctm-app .sctm-footer [data-role="updated"]{font-weight:700;display:inline-flex;align-items:center;gap:7px}
.sctm-app .sctm-footer [data-role="updated"]:before{content:"";width:8px;height:8px;border-radius:50%;background:#7f8d99;box-shadow:0 0 0 3px rgba(127,141,153,.12)}
.sctm-app .sctm-footer [data-role="updated"].fresh:before{background:#39d98a;box-shadow:0 0 0 3px rgba(57,217,138,.13)}
.sctm-app .sctm-footer [data-role="updated"].stale:before,.sctm-app .sctm-footer [data-role="updated"].warn:before{background:#ffb020;box-shadow:0 0 0 3px rgba(255,176,32,.14)}
.sctm-app .sctm-footer [data-role="updated"].stale{color:#ffd28a}

/* v0.9.0 archive separation */
.sctm-system-list--archive .sctm-archive-row{cursor:default;text-decoration:none}
.sctm-system-list--archive .sctm-archive-row:hover{transform:none}
.sctm-promoted-note{display:block;margin-top:3px;font-weight:700;color:#6fd3ff!important}
.sctm-system-list--archive .sctm-system-cta{opacity:.72}

/* v0.9.8 Current position vs forecast initialization ----------------------
   Small clarity-only treatment: preserve all track geometry and map styling. */
.sctm-app .leaflet-marker-pane .sctm-current-divicon,
.sctm-app .leaflet-marker-pane .sctm-current-divicon .sctm-map-current {
  overflow:visible !important;
}
.sctm-current-map-label {
  position:absolute !important;
  left:50% !important;
  top:-16px !important;
  transform:translateX(-50%) !important;
  display:block !important;
  width:auto !important;
  height:auto !important;
  min-width:0 !important;
  max-width:none !important;
  padding:3px 6px !important;
  border-radius:999px !important;
  background:rgba(6,18,30,.94) !important;
  border:1px solid rgba(255,255,255,.78) !important;
  color:#fff !important;
  font-size:8px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:.08em !important;
  white-space:nowrap !important;
  box-shadow:0 2px 7px rgba(0,0,0,.34) !important;
  z-index:3 !important;
  pointer-events:none !important;
}
.sctm-current-init-connector { pointer-events:none; }


/* v0.9.9 — shaded NWS county/parish + marine warning areas */
.sctm-warning-area { transition: fill-opacity .12s ease, stroke-width .12s ease; }
.sctm-warning-area-tooltip.leaflet-tooltip {
  background:#081827;color:#fff;border:1px solid rgba(255,255,255,.22);
  border-radius:8px;box-shadow:0 6px 18px rgba(0,0,0,.28);padding:7px 9px;
}
.sctm-warning-area-tooltip.leaflet-tooltip:before { border-top-color:#081827; }
.sctm-warning-area-note { margin-top:7px;padding-top:7px;border-top:1px solid rgba(255,255,255,.14);font-size:10px;opacity:.78; }


/* v0.10.0 model layer controls -------------------------------------------
   The master Models toggle hides computer guidance only. Official NHC
   forecast guidance remains visible and its selector is intentionally locked. */
.sctm-model-official input[disabled]{opacity:.65;cursor:not-allowed}
.sctm-model-official{background:rgba(255,255,255,.025)}
.sctm-models-hidden .sctm-model:not(.sctm-model-official){opacity:.5}
.sctm-models-hidden .sctm-model:not(.sctm-model-official) .sctm-swatch{opacity:.45}

/* v0.10.1 control feedback */
.sctm-models-hidden [data-role="models"] .sctm-model:not(.sctm-model-official){opacity:.45}


/* v0.10.2 Hurricane Hunter reconnaissance layer */
.sctm-recon-plane-wrap,.sctm-recon-vortex-wrap,.sctm-recon-drop-wrap{background:transparent!important;border:0!important}
.sctm-recon-plane{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:900;color:#07111c;background:#58d3ff;border:2px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.38);transform:rotate(-10deg)}
.sctm-recon-plane.noaa{background:#ffbf47}
.sctm-recon-plane.usaf{background:#58d3ff}
.sctm-recon-vortex{position:relative;width:28px;height:28px;border:3px solid #fff;border-radius:50%;background:rgba(239,68,68,.2);box-shadow:0 0 0 3px rgba(239,68,68,.85),0 2px 8px rgba(0,0,0,.4)}
.sctm-recon-vortex:before,.sctm-recon-vortex:after{content:"";position:absolute;background:#fff;left:50%;top:50%;transform:translate(-50%,-50%)}
.sctm-recon-vortex:before{width:22px;height:2px}.sctm-recon-vortex:after{width:2px;height:22px}
.sctm-recon-vortex i{position:absolute;width:7px;height:7px;border-radius:50%;background:#ef4444;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2}
.sctm-recon-drop{width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-top:15px solid #38bdf8;filter:drop-shadow(0 2px 2px rgba(0,0,0,.45))}


/* v0.10.3 near-live Hurricane Hunter refresh */
.sctm-recon-toggle .sctm-live-dot{display:none;margin-left:5px;padding:1px 5px;border-radius:999px;font-size:8px;font-weight:900;letter-spacing:.08em;color:#07111c;background:#5eead4;vertical-align:1px}
.sctm-recon-toggle:has(input:checked) .sctm-live-dot{display:inline-block}


/* v0.10.4 St. Mary Weather branding + resilient live recon status */
.sctm-brand{display:flex;align-items:center;gap:15px;min-width:0}
.sctm-brand-logo{display:block!important;width:158px!important;height:auto!important;max-width:158px!important;min-width:0!important;object-fit:contain!important;margin:0!important;padding:0!important;border:0!important;filter:drop-shadow(0 5px 10px rgba(0,0,0,.24))}
.sctm-brand-copy{min-width:0}
.sctm-recon-toggle{gap:6px!important;white-space:nowrap}
.sctm-recon-status{display:none;margin-left:3px;padding-left:8px;border-left:1px solid #355267;color:#86a0b3;font-size:9px;font-weight:650;letter-spacing:0;text-transform:none}
.sctm-recon-toggle:has(input:checked) .sctm-recon-status{display:inline-block}
.sctm-recon-status.ok{color:#8eddb9}.sctm-recon-status.changed{color:#7de7ff}.sctm-recon-status.warn{color:#ffd28a}
@media(max-width:760px){.sctm-head{align-items:flex-start}.sctm-brand{gap:10px}.sctm-brand-logo{width:120px!important;max-width:120px!important}.sctm-head h2{font-size:20px}.sctm-eyebrow{font-size:9px}.sctm-subtitle{font-size:11px}}
@media(max-width:520px){.sctm-brand-logo{width:98px!important;max-width:98px!important}.sctm-badge{font-size:9px;padding:6px 8px}.sctm-head{padding:14px}.sctm-recon-status{display:none!important}}


/* v0.10.5 — Tropical Weather mobile layout + Central Time recon status */
.sctm-mobile-details-toggle{
  display:none;
  width:calc(100% - 20px);
  margin:10px;
  height:42px;
  border:1px solid #31536a;
  border-radius:9px;
  background:#10283a;
  color:#ecf7ff;
  font-weight:800;
  cursor:pointer;
}
.sctm-mobile-details-toggle:hover{background:#173b54}

@media(max-width:760px){
  .sctm-app{border-radius:12px;margin:10px 0}
  .sctm-head{padding:12px 13px;gap:10px}
  .sctm-brand{width:100%;gap:10px}
  .sctm-brand-logo{width:106px!important;max-width:106px!important;flex:0 0 auto}
  .sctm-brand-copy{overflow:hidden}
  .sctm-head h2{font-size:19px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .sctm-eyebrow{display:none}
  .sctm-subtitle{font-size:10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .sctm-badge{display:none!important}

  .sctm-toolbar{align-items:stretch;gap:8px;padding:10px}
  .sctm-toolbar label:not(.sctm-toggle){flex:1 1 calc(50% - 5px);min-width:135px}
  .sctm-toolbar select{width:100%;min-width:0}
  .sctm-toolbar button,.sctm-toggle{min-height:42px;height:auto;padding:8px 10px}
  .sctm-toggle{flex:1 1 auto;justify-content:center;white-space:normal;text-align:center}
  .sctm-recon-toggle{flex:1 1 100%;justify-content:flex-start;flex-wrap:wrap}
  .sctm-recon-status{display:none!important;flex:1 1 100%;margin:2px 0 0 24px;padding:0;border-left:0;line-height:1.35}
  .sctm-recon-toggle:has(input:checked) .sctm-recon-status{display:block!important}

  .sctm-mobile-details-toggle{display:block}
  .sctm-body{display:flex;flex-direction:column;min-height:0}
  .sctm-map{order:1;width:100%;height:min(62vh,560px);min-height:430px}
  .sctm-side{order:2;display:none;width:100%;max-height:none;overflow:visible;border-right:0;border-top:1px solid #203444;border-bottom:0;padding:10px}
  .sctm-mobile-details-open .sctm-side{display:block}
  .sctm-models{grid-template-columns:1fr 1fr}
  .sctm-spread-grid{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}
  .sctm-footer{padding:8px 10px;gap:5px;font-size:9px}

  .sctm-warning-legend{min-width:128px!important;max-width:155px;padding:7px!important;opacity:.94}
  .sctm-warning-title{font-size:8px!important;margin-bottom:5px!important}
  .sctm-warning-legend>div:not(.sctm-warning-title){font-size:8px!important;gap:5px!important;margin:3px 0!important}
  .sctm-warning-legend i{width:16px!important;height:5px!important}
  .sctm-warning-area-note{font-size:8px!important;margin-top:5px!important;padding-top:5px!important}

  .leaflet-control-zoom a{width:38px!important;height:38px!important;line-height:38px!important;font-size:22px!important}
}

@media(max-width:480px){
  .sctm-head{padding:10px}
  .sctm-brand-logo{width:88px!important;max-width:88px!important}
  .sctm-head h2{font-size:17px!important}
  .sctm-subtitle{font-size:9px!important}
  .sctm-toolbar{gap:7px;padding:8px}
  .sctm-toolbar label:not(.sctm-toggle){flex:1 1 100%;min-width:0}
  .sctm-toolbar button{flex:1 1 calc(50% - 4px)}
  .sctm-toggle{flex:1 1 calc(50% - 4px);font-size:11px!important}
  .sctm-recon-toggle{flex-basis:100%}
  .sctm-map{height:58vh;min-height:400px}
  .sctm-models{grid-template-columns:1fr}
  .sctm-storm-card{margin-bottom:12px}
  .sctm-footer span:last-child{line-height:1.35}
}


/* v0.10.6 — optional webcam layer */
.sctm-webcam-icon-wrap{background:transparent!important;border:0!important}
.sctm-webcam-icon{
  position:relative;width:28px;height:22px;border-radius:6px;
  background:#0ea5e9;border:2px solid #fff;
  box-shadow:0 2px 8px rgba(0,0,0,.42);
}
.sctm-webcam-icon:before{
  content:"";position:absolute;left:8px;top:5px;width:8px;height:8px;
  border:2px solid #fff;border-radius:50%;
}
.sctm-webcam-icon:after{
  content:"";position:absolute;left:5px;top:-6px;width:9px;height:6px;
  border-radius:3px 3px 0 0;background:#0ea5e9;border:2px solid #fff;border-bottom:0;
}
.sctm-webcam-popup{min-width:220px}
.sctm-webcam-thumb{
  width:100%;max-width:290px;max-height:180px;object-fit:cover;
  display:block;border-radius:7px 7px 0 0;background:#081925;
}
.sctm-webcam-popup-body{padding-top:7px}
.sctm-webcam-popup-body>b{display:block;font-size:14px;margin:3px 0}
.sctm-webcam-category{
  display:inline-block;padding:2px 6px;border-radius:999px;background:#0ea5e9;color:#04131d;
  font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.05em
}
.sctm-webcam-source,.sctm-webcam-coord{font-size:11px;color:#708292;margin-top:3px}
.sctm-webcam-open{
  display:inline-block;margin-top:9px;padding:6px 9px;border-radius:6px;
  background:#0d6d9e;color:#fff!important;text-decoration:none!important;font-weight:800
}
.sctm-webcam-open:hover{background:#0e85bf}

@media(max-width:760px){
  .sctm-webcam-popup{min-width:190px}
  .sctm-webcam-thumb{max-height:150px}
}


/* v0.10.7 — scalable Gulf Coast webcam manager */
.sctm-webcam-filter-control{display:none!important}
.sctm-webcams-on .sctm-webcam-filter-control{display:flex!important}
.sctm-webcam-filter-control select{min-width:130px}
.sctm-webcam-state{
  display:inline-block;margin-left:4px;padding:2px 5px;border-radius:999px;
  background:#20394c;color:#dff5ff;font-size:9px;font-weight:900;letter-spacing:.04em
}
.sctm-webcam-cluster-wrap{background:transparent!important;border:0!important}
.sctm-webcam-cluster{
  width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  color:#03121c;background:#38bdf8;border:3px solid #fff;font-weight:900;font-size:12px;
  box-shadow:0 3px 12px rgba(0,0,0,.45)
}
.sctm-origin-badge{
  display:inline-block;padding:3px 7px;border-radius:999px;background:#e9f4fb;color:#17465f;
  font-size:10px;font-weight:800
}
@media(max-width:760px){
  .sctm-webcam-filter-control{flex:1 1 calc(50% - 5px)!important;min-width:135px}
  .sctm-webcam-filter-control select{width:100%;min-width:0}
}
@media(max-width:480px){
  .sctm-webcam-filter-control{flex-basis:100%!important}
}


/* v0.10.8 — webcam playback */
.sctm-webcam-player{width:100%;background:#03111a;border-radius:8px 8px 0 0;overflow:hidden;position:relative}
.sctm-webcam-video,.sctm-webcam-stream-img,.sctm-webcam-iframe{display:block;width:100%;height:auto;max-height:220px;background:#02080d;object-fit:contain;border:0}
.sctm-webcam-video{aspect-ratio:16/9}
.sctm-webcam-stream-img{min-height:120px;object-fit:cover}
.sctm-webcam-iframe-wrap{aspect-ratio:16/9;min-height:180px}
.sctm-webcam-iframe{height:100%;min-height:180px}
.sctm-webcam-media-note{position:absolute;left:6px;bottom:6px;padding:3px 6px;border-radius:5px;background:rgba(0,0,0,.68);color:#fff;font-size:9px;font-weight:800;letter-spacing:.03em;pointer-events:none}
.sctm-webcam-fallback{margin-top:6px;font-size:10px;color:#8296a6;line-height:1.35}
.sctm-webcam-playback-failed .sctm-webcam-player:after{content:"Live playback blocked or unavailable — use camera link below";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:16px;background:rgba(3,17,26,.88);color:#fff;font-size:11px;font-weight:800}
@media(max-width:480px){.sctm-webcam-video,.sctm-webcam-stream-img{max-height:180px}.sctm-webcam-iframe-wrap,.sctm-webcam-iframe{min-height:160px}}
