/* ==========================================================================
   Forecast page
   ========================================================================== */

.fc{padding:40px 0 64px}
.fc__hd{margin-bottom:22px}
.fc__pick{margin:6px 0 6px}
.fc__station{
  font-family:var(--disp);font-weight:700;font-size:30px;letter-spacing:-.02em;color:var(--ink);
  background:transparent;border:0;border-bottom:2px solid var(--gold);padding:2px 30px 4px 0;cursor:pointer;
  appearance:none;-webkit-appearance:none;max-width:100%;
  background-image:linear-gradient(45deg,transparent 50%,var(--gold) 50%),linear-gradient(135deg,var(--gold) 50%,transparent 50%);
  background-position:calc(100% - 14px) 55%,calc(100% - 8px) 55%;background-size:6px 6px;background-repeat:no-repeat;
}
.fc__station option{font-size:16px;color:var(--ink);background:var(--surface)}
.fc__meta{font-size:13.5px;color:var(--muted);margin:6px 0 0}
.fc__meta b{color:var(--ink)}
.fc__empty{color:var(--muted);margin:20px 0}

/* Alerts ------------------------------------------------------------------ */
.fc__alerts{display:grid;gap:10px;margin:0 0 22px}
.fc__alert{
  --sev:#e8c547;
  background:var(--surface);border:1px solid var(--panel-line);border-left:5px solid var(--sev);
  border-radius:var(--r-md);padding:0 16px;
}
.sev--high{--sev:#e5484d}
.sev--mid{--sev:#f08c2e}
.sev--low{--sev:#e8c547}
.fc__alert summary{
  display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;padding:12px 0;cursor:pointer;list-style:none;
}
.fc__alert summary::-webkit-details-marker{display:none}
.fc__alert summary::after{content:"Details";margin-left:auto;font-size:12.5px;font-weight:600;color:var(--muted);text-decoration:underline}
.fc__alert[open] summary::after{content:"Hide"}
.fc__alert-event{font-family:var(--disp);font-weight:700;font-size:16px;color:var(--ink)}
.fc__alert-when{font-size:13.5px;color:var(--tundora)}
.fc__alert-head{font-weight:600;color:var(--ink);margin:0 0 8px}
.fc__alert-text{white-space:pre-line;font-size:14px;line-height:1.55;color:var(--tundora);margin:0 0 10px;max-width:860px}
.fc__alert-area{font-size:12.5px;color:var(--muted);margin:0 0 14px}

/* Seven days ----------------------------------------------------------- */
.fc__days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}
.fc__day{position:relative;background:var(--surface);border:1px solid var(--panel-line);border-radius:var(--r-md);overflow:hidden;min-width:0}
.fc__dname{
  font-size:14px;margin:0;padding:10px 10px 8px;text-align:center;border-bottom:1px solid var(--panel-line);color:var(--ink);
}
.fc__dname small{font-family:var(--body);font-weight:400;font-size:12px;color:var(--muted);margin-left:3px}
.fc__half{padding:10px 8px 12px;text-align:center}
.fc__half--night{background:var(--surface-2);border-top:1px solid var(--panel-line)}
.fc__half--none{min-height:40px}
.fc__pname{font-size:11.5px;font-weight:600;color:var(--muted);margin:0 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fc__ic{display:block;width:34px;height:34px;margin:0 auto 4px;color:var(--gold)}
.fc__half--night .fc__ic{color:var(--tundora)}
.fc__temp{font-family:var(--disp);font-weight:700;font-size:24px;color:var(--ink);margin:0;line-height:1.1}
.fc__half--night .fc__temp{color:var(--tundora)}
.fc__short{font-size:12.5px;line-height:1.35;color:var(--tundora);margin:5px 0 0;min-height:2.7em}
.fc__pop{font-size:12px;font-weight:600;color:#4ea3e0;margin:4px 0 0}

/* Detail --------------------------------------------------------------- */
.fc__section{font-size:19px;margin:34px 0 12px}
.fc__detail dl{margin:0;display:grid;gap:10px;max-width:900px}
.fc__detail dl div{display:grid;grid-template-columns:150px 1fr;gap:14px;padding:10px 0;border-bottom:1px solid var(--panel-line)}
.fc__detail dt{font-family:var(--disp);font-weight:700;font-size:14px;color:var(--ink)}
.fc__detail dd{margin:0;font-size:14px;line-height:1.55;color:var(--tundora)}
.fc__note{font-size:13px;color:var(--muted);max-width:860px;margin:26px 0 0;line-height:1.6}
.fc__note a{color:inherit;text-decoration:underline}

@media (max-width:1000px){
  .fc__days{grid-template-columns:repeat(7,minmax(118px,1fr));overflow-x:auto;padding-bottom:6px;scroll-snap-type:x mandatory}
  .fc__day{scroll-snap-align:start}
}
@media (max-width:640px){
  .fc{padding-top:26px}
  .fc__station{font-size:24px}
  .fc__detail dl div{grid-template-columns:1fr;gap:4px}
}
