/* PROTOTYPE — overpass/lists.css: the storm roll call (#roll) and the regulars (#regs) (the direction's §8.11 and §8.12).
   Task B2c, with overpass/lists.js. On overcast, in the lower sections (at most 1180 px wide, left at the gutter). */
.roll-wrap, .regs-wrap { margin-top: 22px; }

/* the lines the two sections show before and instead of their lists */
.lst-msg { color: var(--ink-2); font-size: .95rem; }
.lst-retry { font-weight: 600; color: var(--ink); background: none; border: 0; padding: 4px 0; margin-left: 4px; cursor: pointer; text-decoration: underline; text-decoration-color: var(--track); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.lst-credit { font-size: var(--fs-small); color: var(--ink-2); }

/* ---- the storm roll call: a table where its column has the room, a list per season where it has not ----
   The table needs about 950 to 1,000 px (each letter's widest name; 991 px at this size on 16 Nov 2026). The direction
   gave it the viewport's 1140 px, when the sections had the full width; the prototype line's own column now narrows
   them (overpass.css), so the switch follows the room the roll call really has: a container query, never a table wider
   than its column (no sideways scroll). */
.roll-wrap { container-type: inline-size; }
.roll { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.2; }
.roll thead th { font-weight: 500; color: var(--ink-2); text-align: left; padding: 0 4px 6px; font-size: var(--fs-key); white-space: nowrap; }
.roll tbody th { font-weight: 500; color: var(--ink-2); text-align: left; padding: 10px 10px 0 0; white-space: nowrap; font-size: .86rem; vertical-align: top; border-top: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.roll td { padding: 3px 1px 2px; vertical-align: top; border-top: 1px solid var(--rule); }
.roll .roll-offh, .roll .roll-off { padding-left: 10px; }
/* a storm: its name, and under it a bar leaning as the satellite flies, as wide as its own days' backed water */
.st { position: relative; display: inline-block; min-width: calc(var(--bw, 0px) + 12px); font-weight: 650; color: var(--ink); background: none; border: 0; border-radius: 4px; padding: 6px 4px 13px; cursor: pointer; text-align: left; white-space: nowrap; line-height: 1.2; }
.st:hover { background: rgba(21, 34, 75, .07); }
.st > i { position: absolute; left: 5px; bottom: 5px; width: var(--bw); height: 4px; background: var(--water-ink); transform: skewX(var(--lean)); transform-origin: 0 100%; }
/* the storms off their season's list: the satellite's own Caslon italic */
.st-off { font-family: var(--font-log); font-style: italic; font-weight: 400; color: var(--ink-2); font-size: 1.02em; }
.st[aria-disabled="true"]:hover { background: none; }
.roll-list { display: none; }
.roll-season { border-top: 1px solid var(--rule); padding: 8px 0 4px; }
.roll-season h3 { font-size: .86rem; font-weight: 500; line-height: 1.3; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.roll-season ul { list-style: none; margin: 2px 0 0 -4px; padding: 0; display: flex; flex-wrap: wrap; gap: 0 2px; }
.roll-notes { margin-top: 12px; display: grid; gap: 4px; max-width: 52em; font-size: .86rem; color: var(--ink-2); text-wrap: pretty; }
@media (max-width: 1279px) { .roll { font-size: .86rem; } }
@container (max-width: 999px) {
  .roll { display: none; }
  .roll-list { display: block; }
  .roll-season:last-child { border-bottom: 1px solid var(--rule); }
}
@media (pointer: coarse) { .st { min-height: var(--hit); } }

/* ---- the regulars: three lists side by side from 1180 px, one under another below that ---- */
.regs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px 40px; }
@media (min-width: 1180px) { .regs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.reg-list { min-width: 0; }
@media (max-width: 1179px) { .reg-list { max-width: 38rem; } }   /* one column: lines stay near the measure (about 70 characters) */
.reg-list > h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.25; margin-bottom: 8px; }
.reg-rows { list-style: none; margin: 0; padding: 0; }
.reg { display: grid; grid-template-columns: 24px 52px minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 12px 0 14px; border-top: 1px solid var(--rule); }
.reg-rank { font-size: 26px; font-weight: 700; font-stretch: 78%; line-height: 1; color: var(--ink-2); font-variant-numeric: tabular-nums; }
/* the crop: a corner of the map, drawn when the squares are in (reserved meanwhile, never a dark square standing for "nothing") */
.reg-crop { display: block; width: 52px; height: 52px; visibility: hidden; }
.reg-crop.on { visibility: visible; }
.no-crops .reg { grid-template-columns: 24px minmax(0, 1fr); }
.no-crops .reg-crop { display: none; }
.reg-body { min-width: 0; }
.reg-name { font-size: 1.06rem; font-weight: 700; line-height: 1.3; color: var(--ink); background: none; border: 0; padding: 0; margin: -1px 0 0; cursor: pointer; text-align: left; text-decoration: underline; text-decoration-color: var(--track); text-decoration-thickness: 2px; text-underline-offset: 4px; text-wrap: pretty; }
.reg-line { margin-top: 4px; font-size: .92rem; line-height: 1.42; color: var(--ink-2); text-wrap: pretty; }
/* the gauge: the record's months, its ends cut at 13 degrees */
.gauge { display: flex; height: 9px; margin: 8px 6px 0 2px; background: rgba(21, 34, 75, .11); transform: skewX(var(--lean)); }
.gauge > span { display: block; flex: none; height: 100%; }
.g-backed { background: var(--water-ink); }
.g-seen { background: #9BD0EE; }
.g-unchk { background: radial-gradient(circle, var(--water-ink) .95px, transparent 1.25px) 0 0 / 3px 3px; }
.g-tide { background: var(--steel); }
.reg-note { margin-top: 10px; font-size: .86rem; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.regs + .lst-credit { margin-top: 14px; }
@media (pointer: coarse) {
  .reg-name { min-height: var(--hit); padding: 6px 0; margin: -6px 0 -4px; }
}
@media (max-width: 760px) {
  .reg { column-gap: 10px; }
}
