/* Total solar eclipse 2027 (/solar-eclipse-2027-live/, public/next/eclipse-2027.js), on the Cinema/Atlas tokens
   (--panel, --line, --muted, --text, --accent). Panels reuse .p-panel, the breadcrumb .p-crumb and the eyebrow .eyebrow. */
.ec-wrap{max-width:1100px;margin:0 auto;min-width:0;line-height:1.6}
.ec-wrap :where(p){margin:0 0 10px}
.ec-wrap a{color:var(--text);text-decoration:underline;text-underline-offset:3px}
.ec-crumb{display:flex;flex-wrap:wrap;gap:6px;font-size:14px;color:var(--muted);margin:0 0 14px}
.ec-crumb a{color:var(--muted);text-decoration:none}
.ec-head{margin:0 0 22px;max-width:860px}
.ec-head h1{font-size:clamp(30px,5vw,50px);line-height:1.08;margin:8px 0 12px;letter-spacing:-.02em}
.ec-lede{font-size:17px;line-height:1.55;color:var(--muted);margin:0 0 12px}
.ec-count{font-size:18px;font-weight:650;margin:0;font-variant-numeric:tabular-nums}
.ec-wrap h2{font-size:24px;line-height:1.25;margin:0 0 10px}
.ec-wrap h3{font-size:18px;line-height:1.3;margin:18px 0 6px}
.ec-wrap .ec-panel{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:18px 20px;margin:0 0 28px;min-width:0}
.ec-section{margin:0 0 30px;min-width:0}
.ec-note{font-size:13px;color:var(--muted);margin:12px 0 0}
.ec-facts{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:10px 22px;margin:8px 0 0}
.ec-facts div{min-width:0;border-top:1px solid var(--line);padding-top:8px}
.ec-facts dt{font-size:13px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.ec-facts dd{margin:2px 0 0;overflow-wrap:anywhere}
.ec-stages{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:10px}
.ec-stages li{display:grid;grid-template-columns:minmax(0,15rem) minmax(0,1fr);gap:6px 18px;padding:12px 14px;border:1px solid var(--line);border-radius:8px;min-width:0;overflow-wrap:anywhere}
.ec-when{display:flex;flex-direction:column;gap:2px;font-size:14px;font-variant-numeric:tabular-nums}
.ec-when strong{font-size:16px}
.ec-local{font-weight:600}
.ec-until{color:var(--accent);font-weight:650}
.ec-local:empty,.ec-until:empty{display:none}
.ec-wrap .ec-stages h3{margin:0 0 2px;font-size:17px}
.ec-stages p{font-size:14px;margin:0;color:var(--muted)}
.ec-map{margin:14px 0;min-width:0}
.ec-map svg{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:8px}
.ec-map figcaption{font-size:13px;color:var(--muted);margin-top:6px}
.ec-bg{fill:color-mix(in srgb,var(--text) 3%,transparent)}
.ec-land{fill:color-mix(in srgb,var(--text) 9%,transparent);stroke:color-mix(in srgb,var(--text) 22%,transparent);stroke-width:.8;stroke-linejoin:round}
.ec-grid line{stroke:var(--line);stroke-width:1}
.ec-gl{fill:var(--muted);font-size:11px;font-family:inherit}
.ec-band{fill:color-mix(in srgb,var(--text) 34%,transparent);stroke:var(--text);stroke-width:1;stroke-opacity:.6}
.ec-centre{fill:none;stroke:var(--accent);stroke-width:1.6}
.ec-tick{fill:var(--accent)}
.ec-tl{fill:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}
.ec-ge path{fill:#eab308;stroke:#000;stroke-width:.6}
.ec-city circle{fill:var(--text);stroke:var(--bg,#000);stroke-width:1}
.ec-city text,.ec-cam text{fill:var(--text);font-size:12px;font-weight:600;paint-order:stroke;stroke:var(--bg,#000);stroke-width:3px;stroke-linejoin:round}
.ec-cam rect{fill:var(--accent);stroke:var(--bg,#000);stroke-width:1}
.ec-table-wrap{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch;margin:8px 0 0}
.ec-table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.45;font-variant-numeric:tabular-nums}
.ec-table th,.ec-table td{text-align:left;vertical-align:top;padding:9px 10px;border-top:1px solid var(--line)}
.ec-table thead th{font-size:13px;color:var(--muted);font-weight:600;border-top:0}
.ec-table small{display:block;font-size:12.5px;color:var(--muted);font-weight:400}
.ec-table tbody th{font-weight:650}
.ec-near{padding-left:1.2em;list-style:disc}
.ec-near li{margin:0 0 6px}
.ec-form{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:flex-end;margin:6px 0 12px}
.ec-form label{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--muted);min-width:0}
.ec-form select,.ec-form input{font:inherit;color:var(--text);background:var(--bg,#000);border:1px solid var(--line);border-radius:8px;padding:8px 10px;min-width:0;max-width:100%}
.ec-form input{width:8.5rem}
.ec-out{min-height:1em}
.ec-times{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:6px}
.ec-times li{display:grid;grid-template-columns:minmax(0,12rem) minmax(0,8rem) minmax(0,1fr);gap:4px 12px;border-top:1px solid var(--line);padding-top:6px;font-variant-numeric:tabular-nums}
.ec-times em{font-style:normal;color:var(--muted)}
.ec-cards{display:grid;gap:16px}
.ec-card{display:grid;grid-template-columns:12rem minmax(0,1fr);gap:16px;padding:14px;background:var(--panel);border:1px solid var(--line);border-radius:10px;min-width:0}
.ec-wrap .ec-card h3{margin-top:0}
.ec-thumb img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:8px;display:block;background:#111}
.ec-kind{font-size:13px;color:var(--muted)}
.ec-prose{max-width:860px;line-height:1.7}
.ec-prose ul{padding-left:1.3em;list-style:disc}
.ec-prose li{margin:0 0 8px}
.ec-next{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:8px}
.ec-next li{display:grid;grid-template-columns:minmax(0,10rem) minmax(0,1fr);gap:4px 14px;border-top:1px solid var(--line);padding-top:8px}
.ec-next li.is-this strong{color:var(--accent)}
.ec-next li.is-past{opacity:.75}
.ec-source{font-size:13px;color:var(--muted);margin:16px 0 0}
@media(max-width:760px){
 .ec-stages li,.ec-next li{grid-template-columns:1fr}
 .ec-card{grid-template-columns:1fr}
 .ec-times li{grid-template-columns:1fr 1fr}
 .ec-times em{grid-column:1/-1}
 .ec-map{overflow-x:auto;-webkit-overflow-scrolling:touch}
 .ec-map svg{min-width:720px}
 .ec-table{font-size:14px}
 .ec-table th,.ec-table td{padding:8px 6px}
}
