.seismic-page { width:min(100%,1320px); }
.seismic-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin:30px 0; }
.seismic-heading h1 { font-size:clamp(30px,4vw,46px); letter-spacing:-1.7px; margin-bottom:12px; }
.seismic-page .eyebrow { font-size:12px; margin-bottom:10px; }
.intro { margin:0; color:var(--muted); }
.panel { background:var(--panel); border:1px solid var(--line); border-radius:24px; }
.latest { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:24px 28px; border-left:4px solid #6f8aa2; }
.latest-reading { display:flex; align-items:center; gap:18px; }
.magnitude { font-variant-numeric:tabular-nums; font-size:28px; font-weight:500; white-space:nowrap; }
.latest-place { display:block; font-size:18px; font-weight:500; }
.meta { font-size:13px; color:var(--muted); margin:5px 0; }
.tsunami { padding:22px 28px; margin:16px 0 30px; }
.section-heading,.tsunami-bottom { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.seismic-page h2 { font-family:Montserrat,sans-serif; font-size:21px; font-weight:400; letter-spacing:-.5px; margin:0; }
.source-label { font-size:13px; color:var(--muted); }
#tsunami-status { margin:12px 0; }
.tsunami-bottom a { font-size:14px; }
.tsunami[data-state="active"] { border-color:#b44a3d; border-left-width:4px; }
.tsunami[data-state="unknown"] { border-left:4px solid #b58128; }
.alert-card { padding:16px 0; border-top:1px solid var(--line); }
.alert-card h3 { font-size:17px; margin:0 0 8px; }
.alert-card p { margin:6px 0; }
.alert-links { display:flex; flex-wrap:wrap; gap:10px 20px; font-size:14px; }
.alert-kind { color:#a73327; }
.dark-mode .alert-kind { color:#ffafa0; }
.map-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; }
.map-filters { display:flex; gap:18px; }
.map-filters label { display:flex; gap:9px; align-items:center; color:var(--muted); font-size:14px; }
select { font:inherit; color:var(--text); background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:11px 12px; min-height:44px; }
.map-layout { display:grid; grid-template-columns:minmax(0,1fr) 320px; overflow:hidden; }
.map-wrap { position:relative; min-width:0; }
#quake-map { height:510px; background:#dae3e7; z-index:0; }
.dark-mode #quake-map { background:#202b32; }
.dark-mode #quake-map .leaflet-tile-pane { filter:invert(1) hue-rotate(180deg) brightness(.8) contrast(.85); }
.map-views { position:absolute; z-index:401; top:16px; right:16px; display:flex; gap:8px; }
.map-views .pill { box-shadow:0 2px 10px #0001; }
.map-message { position:absolute; bottom:25px; left:15px; right:15px; z-index:401; background:var(--panel); padding:12px 16px; border-radius:12px; font-size:14px; }
.event-sidebar { height:510px; display:flex; flex-direction:column; border-left:1px solid var(--line); min-width:0; }
.event-list-heading { padding:22px 22px 14px; border-bottom:1px solid var(--line); }
.event-list-heading h3 { margin:0; font-size:16px; font-weight:500; }
.event-list { list-style:none; margin:0; padding:0; overflow:auto; }
.event-list li + li { border-top:1px solid var(--line); }
.event-button { display:flex; gap:14px; padding:17px 20px; width:100%; border:0; background:transparent; color:var(--text); text-align:left; align-items:flex-start; }
.event-button:hover,.event-button[aria-pressed="true"] { background:var(--soft); }
.event-mag { border:1px solid var(--line); border-radius:12px; min-width:46px; padding:5px 7px; text-align:center; font-size:19px; font-variant-numeric:tabular-nums; }
.event-place { display:block; font-size:14px; line-height:1.45; }
.event-button .meta { display:block; line-height:1.5; }
.event-empty { padding:22px; color:var(--muted); }
.map-caption { display:flex; justify-content:space-between; gap:16px; margin:14px 0 6px; flex-wrap:wrap; }
.legend { display:flex; gap:18px; align-items:center; flex-wrap:wrap; font-size:13px; color:var(--muted); }
.legend span { display:inline-flex; align-items:center; gap:7px; }
.dot { display:inline-block; border-radius:50%; }
.dot.small { width:9px; height:9px; background:#6288a1; }.dot.medium { width:12px; height:12px; background:#b38128; }.dot.large { width:16px; height:16px; background:#b94c3e; }
.tsunami-key { color:#b44a3d; font-style:normal; }
.tsunami-marker { color:#b44a3d; font-size:28px; text-shadow:0 0 3px white; line-height:1; }
.leaflet-popup-content-wrapper,.leaflet-popup-tip { background:var(--panel); color:var(--text); }
.leaflet-popup-content { font-family:inherit; font-size:14px; line-height:1.6; }
.leaflet-popup-content a { color:var(--text); }
.seismic-footer { font-size:13px; margin-top:26px; }
.seismic-footer p + p { margin-top:6px; }
.seismic-footer > a { white-space:nowrap; }
button:disabled { cursor:wait; opacity:.55; }
@media(max-width:900px) { .map-layout { grid-template-columns:minmax(0,1fr) 270px; } .seismic-heading { align-items:flex-start; } .map-toolbar { align-items:flex-start; flex-direction:column; } }
@media(max-width:680px) { .seismic-heading { margin-top:18px; gap:12px; flex-direction:column; } .latest { align-items:flex-start; flex-direction:column; gap:16px; padding:20px; } .latest-reading { gap:12px; align-items:flex-start; } .latest-place { font-size:16px; } .tsunami { padding:20px; } .section-heading,.tsunami-bottom { align-items:flex-start; flex-direction:column; gap:6px; } .map-layout { grid-template-columns:1fr; } #quake-map { height:380px; } .event-sidebar { height:310px; border-left:0; border-top:1px solid var(--line); } .map-filters { flex-wrap:wrap; gap:10px; } .map-filters label { flex-direction:column; align-items:flex-start; gap:4px; } .map-views { top:12px; right:12px; } .map-views .pill { padding:8px 12px; } .legend { gap:12px; } .seismic-heading h1 { letter-spacing:-1px; } }

.weather-shortcut { width:44px; min-height:44px; padding:10px; flex-shrink:0; }

@media(max-width:600px) { .topbar { padding:18px 14px; gap:8px; } .top-actions { gap:6px; } .top-actions > a:not(.weather-shortcut) { padding:9px 12px; } }
