
:root {
  /* heatline palette: deeper rating shades, >=3:1 against the light rail (#ece3d2) */
  --h-rail: #ece3d2; --h-night: #e2d8c6; --h-great: #1a7f45; --h-good: #4f8a3a; --h-meh: #a86a12; --h-nope: #c0392b;
  --sand: #f6f1e7;
  --sand-2: #ece3d2;
  --card: #fffdf8;
  --ink: #12323a;
  --muted: #5d7377;
  --sea: #0f4c5c;
  --teal: #1b7f79;
  --foam: #e3f1ee;
  --accent: #ff7a2f;
  --great: #1f9d55;
  --good: #6aa84f;
  --meh: #e0a526;
  --nope: #d0533f;
  --line: #e2d8c6;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(18, 50, 58, .06), 0 6px 20px rgba(18, 50, 58, .07);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--sand); color: var(--ink);
  font: 16px/1.4 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }
.ic { width: 1.1em; height: 1.1em; vertical-align: -0.18em; flex: none; }
.ic.arrow { transition: transform .3s; }

/* header */
.top { background: linear-gradient(180deg, #0f4c5c 0%, #15606c 100%); color: #f6f1e7; padding: max(18px, calc(env(safe-area-inset-top) + 8px)) 0 16px; }
.eyebrow { margin: 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.top h1 { margin: 2px 0 4px; font-size: clamp(1.6rem, 6.5vw, 2.4rem); line-height: 1.05; letter-spacing: -.02em; }
.sub { margin: 0; font-size: .92rem; opacity: .9; display: flex; flex-wrap: wrap; gap: 2px 4px; align-items: center; }
.sub .ic { margin: 0 2px 0 4px; opacity: .85; }

/* prefs bar */
.prefs { position: sticky; top: 0; z-index: 10; background: rgba(246, 241, 231, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.prefs-inner { padding-top: 10px; padding-bottom: 8px; display: grid; gap: 8px; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--sand-2); border-radius: 14px; padding: 3px; gap: 3px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.seg span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 1px 6px; border-radius: 11px; font-size: .74rem; font-weight: 600; color: var(--muted); cursor: pointer; text-align: center; line-height: 1.1; min-height: 48px; justify-content: center; }
.seg span .ic { width: 22px; height: 22px; }
.seg input:checked + span { background: var(--sea); color: #fff; box-shadow: 0 2px 6px rgba(15, 76, 92, .3); }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 1px; }
.row2 { display: flex; gap: 14px; align-items: center; }
.drive { flex: 1; min-width: 0; }
.mini { display: inline-flex; gap: 5px; align-items: center; font-size: .85rem; font-weight: 600; }
.drive input[type=range] { width: 100%; margin: 4px 0 0; accent-color: var(--sea); height: 28px; }
.ticks { display: flex; justify-content: space-between; font-size: .68rem; color: var(--muted); margin-top: -4px; }
.switch { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 6px 0 6px 4px; position: relative; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.track { width: 50px; height: 30px; border-radius: 15px; background: #cbbfa9; position: relative; transition: background .2s; flex: none; }
.knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch input:checked + .track { background: var(--teal); }
.switch input:checked + .track .knob { transform: translateX(20px); }
.switch input:focus-visible + .track { outline: 3px solid var(--accent); outline-offset: 2px; }

main.wrap { padding-top: 16px; padding-bottom: 0; }
.side > .sec { margin-bottom: 12px; }
footer.foot.wrap { margin-top: 8px; padding-top: 18px; }   /* + its 18px padding = 26px, same as before a section heading */
/* One vertical rhythm for every top-level block: 12px between blocks, 26px before a section heading. */
#app { display: flex; flex-direction: column; gap: 12px; }
#app > * { margin-top: 0; margin-bottom: 0; }
#app > .sec { margin: 14px 2px 0; }
#app > .card.live { margin-top: 14px; }
.loading { display: flex; gap: 12px; align-items: center; padding: 40px 4px; color: var(--muted); }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--teal); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.sec { margin: 22px 2px 10px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; }
.muted { color: var(--muted); }

/* notices */
.notice { display: flex; gap: 10px; align-items: flex-start; background: var(--foam); border-radius: 14px; padding: 10px 12px; margin-bottom: 12px; font-size: .92rem; }
.notice .ic { margin-top: 2px; color: var(--teal); }
.notice.warn { background: #fff3d6; } .notice.warn .ic { color: #b07c00; }
.notice.bad { background: #fde6e1; } .notice.bad .ic { color: var(--nope); }

/* hero */
.hero { position: relative; background: var(--card); border-radius: 24px; box-shadow: var(--shadow); padding: 16px 16px 14px; overflow: hidden; }
.hero-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.hero-head > div { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.badge { background: var(--accent); color: #fff; font-weight: 700; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.hero h2 { margin: 2px 0 6px; font-size: clamp(2.1rem, 10vw, 3.3rem); line-height: 1; letter-spacing: -.03em; color: var(--sea); }
.when { display: flex; gap: 8px; align-items: center; margin: 0 0 12px; font-size: 1.15rem; }
.when .ic { color: var(--accent); width: 1.25em; height: 1.25em; }
.when.sm { font-size: .98rem; margin-bottom: 8px; }
.when.sm .ic { width: 1.1em; height: 1.1em; }
.lownote { margin: 10px 0 0; color: var(--muted); font-size: .9rem; }
.ring { width: 64px; height: 64px; flex: none; margin-top: -4px; }
.ring-bg { fill: none; stroke: var(--sand-2); stroke-width: 7; }
.ring-fg { fill: none; stroke-width: 7; stroke-linecap: round; }
.ring text { font: 700 19px system-ui, sans-serif; fill: var(--ink); }
.k-great .ring-fg { stroke: var(--great); } .k-good .ring-fg { stroke: var(--good); }
.k-meh .ring-fg { stroke: var(--meh); } .k-nope .ring-fg { stroke: var(--nope); }

/* pills + chips */
.pill { display: inline-block; font-weight: 700; font-size: .78rem; padding: 3px 9px; border-radius: 999px; color: #fff; white-space: nowrap; }
.p-great { background: var(--great); } .p-good { background: var(--good); }
.p-meh { background: var(--meh); color: #3a2a00; } .p-nope { background: var(--nope); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 12px; font-weight: 650; font-size: .92rem; background: var(--sand-2); color: var(--ink); white-space: nowrap; }
.chip small { font-weight: 500; font-size: .75em; opacity: .8; margin-left: 1px; }
.chip .ic { width: 1.05em; height: 1.05em; }
.c-good { background: #dff3e6; color: #135f35; }
.c-mid { background: #fdf0cf; color: #6b4b00; }
.c-bad { background: #fbe1db; color: #8e2c1c; }
.c-plain { background: #e8eef0; color: #2c4a52; }

/* bullets */
.reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.reasons li { display: flex; gap: 8px; align-items: flex-start; font-size: .97rem; }
.reasons .ic { margin-top: 2px; width: 1.05em; height: 1.05em; }
.reasons li.r-good .ic { color: var(--great); } .reasons li.r-bad .ic { color: var(--nope); } .reasons li.r-mid .ic { color: var(--meh); }

/* runner-ups */
.runners { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.runner { padding: 12px; }
.rhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; margin-bottom: 4px; }
.runner h4, .day h4 { margin: 0; font-size: 1.08rem; line-height: 1.15; color: var(--sea); }
.runner .chip { font-size: .82rem; padding: 4px 8px; }
.runner .reasons li { font-size: .86rem; }

/* today strip */
.strip { padding: 12px 12px 8px; }
.hours { position: relative; height: 92px; margin: 0 4px; }
.hr { position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .78rem; width: 50px; }
.hr .t { color: var(--muted); font-size: .72rem; white-space: nowrap; }
.hr .sky { width: 22px; height: 22px; }
.sky-sun { color: #f2a516; } .sky-partly { color: #9fb3b8; } .sky-cloud { color: #9fb3b8; } .sky-rain, .sky-showers, .sky-storm { color: #4f8db3; } .sky-fog { color: #b8c4c6; }
.hr .arrow { width: 20px; height: 20px; color: var(--sea); }
.hr b { font-size: .95rem; line-height: 1; }
.hr .d { font-size: .65rem; color: var(--muted); }
.hr .pp { font-size: .62rem; color: #4f8db3; font-weight: 700; line-height: 1; min-height: .7rem; }
.hr .lt { font-size: .62rem; color: var(--muted); height: 20px; display: flex; align-items: center; }
.hours { height: 104px !important; }
.hr.past { opacity: .4; }
.tidewrap { position: relative; height: 92px; margin: 2px 4px 0; }
.tidecurve, .tidelabels { position: absolute; inset: 0; width: 100%; height: 100%; }
.tfill { fill: rgba(27, 127, 121, .16); }
.tline { fill: none; stroke: var(--teal); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.night { fill: rgba(15, 76, 92, .07); }
.nowline { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.nowlbl { position: absolute; top: 0; transform: translateX(-50%); font-size: .68rem; font-weight: 700; color: var(--accent); background: var(--card); padding: 0 3px; border-radius: 4px; }
.tidelabels { position: absolute; inset: 0; }
.tdot { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--card); border: 2px solid var(--teal); }
.tdot.high { background: var(--teal); }
.tlbl { position: absolute; transform: translate(-50%, -150%); font-size: .7rem; font-weight: 700; color: var(--sea); white-space: nowrap; }
.tlbl.low { transform: translate(-50%, 45%); }
.legend { display: flex; justify-content: space-between; margin: 4px 4px 0; font-size: .72rem; color: var(--muted); }
.legend .ic { color: var(--teal); margin-right: 3px; }

/* next days */
.days { display: grid; gap: 12px; }
.day { }
.dhead { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.dhead > div { display: flex; align-items: baseline; gap: 6px; }
.dhead .muted { font-size: .85rem; }
.tag { background: #fdf0cf; color: #6b4b00; font-size: .7rem; font-weight: 700; padding: 2px 7px; border-radius: 6px; text-transform: uppercase; letter-spacing: .05em; }
.wx { margin-left: auto; display: inline-flex; gap: 4px; align-items: center; font-weight: 700; }
.wx .sky { width: 24px; height: 24px; }
.dpick { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.dname { font-size: 1.35rem; font-weight: 750; color: var(--sea); letter-spacing: -.01em; line-height: 1.1; }
.day .chip { font-size: .85rem; padding: 4px 8px; }
.day .reasons li { font-size: .9rem; }

/* all beaches list */
.list { display: grid; gap: 6px; }
.row { background: var(--card); border-radius: 14px; box-shadow: 0 1px 2px rgba(18,50,58,.06); }
.row summary { list-style: none; display: grid; grid-template-columns: 1fr 70px 26px auto; align-items: center; gap: 8px; padding: 10px 12px; cursor: pointer; min-height: 52px; }
.row summary::-webkit-details-marker { display: none; }
.rname { display: flex; flex-direction: column; min-width: 0; }
.rname b { font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rname small { color: var(--muted); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar { height: 8px; background: var(--sand-2); border-radius: 4px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 4px; background: var(--muted); }
.row.r-great .bar i { background: var(--great); } .row.r-good .bar i { background: var(--good); }
.row.r-meh .bar i { background: var(--meh); } .row.r-nope .bar i { background: var(--nope); }
.rs { font-weight: 700; font-size: .9rem; text-align: right; }
.row.off { opacity: .55; background: transparent; box-shadow: none; border: 1px dashed var(--line); }
.row.off summary { grid-template-columns: 1fr auto; }
.why { font-size: .78rem; font-weight: 700; color: #8e2c1c; background: #fbe1db; padding: 3px 8px; border-radius: 8px; }
.rbody { padding: 2px 12px 12px; border-top: 1px solid var(--line); }
.rbody .when { margin-top: 10px; }
.rbody .chip { font-size: .82rem; padding: 4px 8px; }
.notes { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: .88rem; }
.dogrule { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; margin: 8px 0 0; color: var(--ink); }
.dogrule .ic { margin-top: 2px; color: var(--teal); }

/* footer */
.foot { padding-top: 18px; padding-bottom: 40px; font-size: .82rem; color: var(--muted); }
.foot .upd { display: flex; gap: 6px; align-items: center; font-weight: 600; color: var(--ink); }
.srcs { padding-left: 18px; margin: 8px 0; display: grid; gap: 3px; }

.errorcard { text-align: left; }
.errorcard h2 { margin: 0 0 6px; color: var(--nope); }
.errorcard button { margin-top: 6px; font: inherit; font-weight: 700; padding: 10px 18px; border-radius: 12px; border: 0; background: var(--sea); color: #fff; cursor: pointer; }

@media (max-width: 380px) {
  .runners { grid-template-columns: 1fr; }
  .seg span { font-size: .66rem; }
}
@media (min-width: 760px) {
  .wrap { padding: 0 24px; }
  .top { padding: 26px 0 22px; }
  .prefs-inner { grid-template-columns: 1.25fr 1fr; align-items: center; gap: 18px; }
  .seg span { flex-direction: row; gap: 7px; font-size: .9rem; min-height: 44px; }
  .topgrid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; align-items: start; }
  .side .sec:first-child { margin-top: 0; }
  .hero { padding: 22px; }
  .hero h2 { font-size: 3.4rem; }
  .runners { grid-template-columns: 1fr; }
  .days { grid-template-columns: repeat(3, 1fr); }
  .list { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* now vs later */
.nlgrid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; }
@media (max-width: 600px) { .nlgrid { grid-template-columns: minmax(0,1fr); } .nl .rhead { flex-wrap: wrap; gap: 6px; } .nl .chip { white-space: nowrap; } }
.nl .rhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.nl { padding: 12px; }
.nl.dark { background: #16343c; color: #e9efe9; }
.nl.dark .muted { color: #a9bfc0; }
.nl-tag { display: inline-flex; gap: 5px; align-items: center; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.nl h4 { margin: 0; font-size: 1.15rem; line-height: 1.15; color: var(--sea); }
.nl.dark h4 { color: #fff; font-size: 1.3rem; }
.nl { min-width: 0; }
.nl .chip { font-size: .8rem; padding: 4px 7px; white-space: normal; max-width: 100%; }
.nl .chips { flex-wrap: wrap; }
.nl p { margin: 4px 0 8px; }
.nl-next { font-size: .92rem; }
.nl-next span { display: inline-flex; gap: 4px; align-items: center; margin-top: 4px; }
.tl { padding: 12px 12px 8px; }
.tl-axis { position: relative; height: 16px; margin-left: 92px; font-size: .66rem; color: var(--muted); }
.tl-axis span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.tl-row { display: flex; align-items: center; gap: 8px; margin: 5px 0; }
.tl-name { width: 84px; flex: none; font-size: .8rem; font-weight: 700; line-height: 1.1; color: var(--sea); }
.tl-bar { position: relative; flex: 1; height: 22px; border-radius: 6px; background: var(--h-rail); overflow: hidden; }
.tl-b { position: absolute; top: 0; bottom: 0; border-right: 1px solid var(--card); }
.tl-b.k-great { background: var(--h-great); } .tl-b.k-good { background: var(--h-good); }
.tl-b.k-meh { background: var(--h-meh); } .tl-b.k-nope { background: var(--h-nope); }
.tl-b.wet { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.55) 0 2px, transparent 2px 5px); }
.tl-b.past { opacity: .55; }
.tl.full .tl-b.past { opacity: .75; }
.tl-night { position: absolute; top: 0; bottom: 0; background: var(--h-night); }
.tl-now { position: absolute; top: -2px; bottom: -2px; width: 3px; margin-left: -1.5px; background: var(--ink); border-radius: 2px; box-shadow: 0 0 0 1.5px var(--card); }
.tl-legend { flex-wrap: wrap; gap: 4px 10px; justify-content: flex-start !important; }
.tl-legend span { display: inline-flex; align-items: center; gap: 4px; }
.tl-legend i { display: inline-block; width: 12px; height: 10px; border-radius: 3px; }
.tl-legend .k-great { background: var(--h-great); } .tl-legend .k-good { background: var(--h-good); }
.tl-legend .k-meh { background: var(--h-meh); } .tl-legend .k-nope { background: var(--h-nope); }
.tl-legend .wetkey { background: var(--h-good) repeating-linear-gradient(135deg, rgba(255,255,255,.6) 0 2px, transparent 2px 5px); }
@media (min-width: 760px) { .tl-name { width: 130px; font-size: .9rem; } .tl-axis { margin-left: 138px; } }
.nl:only-child { grid-column: 1 / -1; }

/* favourites */
.favs { margin-top: 8px; background: var(--sand-2); border-radius: 12px; padding: 6px 10px; }
.favs summary { cursor: pointer; font-weight: 600; font-size: .85rem; list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 32px; }
.favs summary::-webkit-details-marker { display: none; }
.favs small { color: var(--muted); font-weight: 500; }
.favlist { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 0 4px; }
.fav { position: relative; }
.fav input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.fav span { display: inline-block; padding: 6px 10px; border-radius: 999px; background: #fff; font-size: .8rem; border: 1px solid rgba(0,0,0,.08); cursor: pointer; }
.fav input:checked + span { background: var(--accent); color: #fff; border-color: transparent; }
.fav input:checked + span::before { content: "★ "; }
.fav input:focus-visible + span { outline: 3px solid var(--sea); }
/* live station card */
.card.live { margin-bottom: 12px; }
.card.live h3 { margin: 0 0 6px; font-size: 1rem; display: flex; align-items: center; gap: 6px; }
.card.live ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 14px; }
.card.live li a { color: inherit; text-decoration: none; }
.card.live .chips { margin-top: 3px; }
.card.live .sm { font-size: .78rem; margin: 6px 0 0; }
.chip.c-act { background: var(--sea); color: #fff; }
.favs { grid-column: 1 / -1; }
.basis { margin: 8px 0 0; font-size: .76rem; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.basis.live { color: var(--sea); font-weight: 600; }
/* actual vs forecast wind */
.wpair { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 6px; margin: 2px 0 8px; }
.wcell { min-width: 0; background: var(--sand-2); border-radius: 12px; padding: 6px 8px; display: flex; flex-direction: column; gap: 1px; }
.wcell.act { background: #e3f1ef; }
.wlbl { font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.wval { display: flex; align-items: center; gap: 4px; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wval .ic { width: 1.1em; height: 1.1em; flex: none; }
.wval small { font-size: .72em; opacity: .8; margin-left: 1px; }
.wgust { font-size: .72rem; color: var(--muted); }
.wcell.none .wval { color: var(--muted); }
.wpair.one { grid-template-columns: minmax(0,1fr); max-width: 60%; }
.wgust { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 600px) {
  .wpair.one { max-width: none; }
  /* live card: one line per station */
  .card.live ul { grid-template-columns: minmax(0,1fr); gap: 4px; }
  .card.live li { display: flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; }
  .card.live li > a { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: .85rem; }
  .card.live li > small { flex: none; font-size: .7rem; }
  .card.live li .chips { margin: 0 0 0 auto; flex-wrap: nowrap; gap: 3px; flex: none; }
  .card.live li .chip { font-size: .72rem; padding: 2px 5px; gap: 3px; }
  .card.live li .chip.c-pres { display: none; }
}
@media (max-width: 600px) {
  .card.live li > a { flex: 1 1 auto; min-width: 72px; }
}
@media (max-width: 420px) { .card.live li .chip.c-temp { display: none; } }
@media (max-width: 480px) { .runners { grid-template-columns: minmax(0,1fr); } }

/* ---------- card heatline (inset bottom rail; replaces the old coloured top borders) ---------- */
.hero, .card.runner, .card.day, .card.nl { position: relative; padding-bottom: 24px; }
.heat { position: absolute; left: 14px; right: 14px; bottom: 10px; }
.hero .heat { left: 16px; right: 16px; }
.hrail { position: relative; height: 5px; border-radius: 3px; background: var(--h-rail); overflow: hidden; }
.hrail i { position: absolute; top: 0; bottom: 0; box-sizing: border-box; border-right: 1px solid var(--card); }
.hrail i.k-great { background: var(--h-great); } .hrail i.k-good { background: var(--h-good); }
.hrail i.k-meh { background: var(--h-meh); } .hrail i.k-nope { background: var(--h-nope); }
.hrail i.past { opacity: .55; }
.heat { overflow: visible; }
.hrail { overflow: visible; }
.hdot { position: absolute; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--card); z-index: 1; }
.hero:has(.heat) { padding-bottom: 40px; }
.hax { display: flex; justify-content: space-between; font-size: .62rem; color: var(--muted); margin-bottom: 3px; line-height: 1; }
.nl.dark .hrail { background: #2c4a52; }
.nl.dark .hrail i { border-right-color: #16343c; }
.nl.dark .hdot { background: #f6f1e7; box-shadow: 0 0 0 2px #16343c; }
.row summary { position: relative; padding-bottom: 16px; }
.row .heat { left: 12px; right: 12px; bottom: 6px; grid-column: 1 / -1; }
.row .hrail { height: 4px; }
.row .hdot { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; }
.notice.offline { background: var(--sand-2); color: var(--muted); }
.foot { padding-bottom: max(40px, env(safe-area-inset-bottom)); }
