/* ════════════════════════════════════════════════════════════════════════
   PALM OS MOBILE SKIN — Stadium pages (index + individual), ≤ 720 px only.

   The site-wide bottom navigation is the shared global mweb-botnav (base.njk);
   stadium pages use it like every other page. (The old stadium-only
   .palm-cmd-bar was removed — it overlapped the global nav.) */

/* ════════════════════════════════════════════════════════════════════════

   Replaces the Win95 / CRT-arcade chrome with a Palm OS 5 "Tungsten T"
   aesthetic: light-gray system surface, white form cards, tight title bars,
   inline-list rows, pill category filter, bottom command bar.

   Technique: pure CSS override layer loaded after the page's own CSS.
   No template logic changes; the filter (radio :checked) and dialog
   (:target) mechanisms are DOM-order dependent and kept intact.
   ════════════════════════════════════════════════════════════════════════ */

@media (max-width: 720px) {

/* ─── Palm OS system palette (local to this skin) ────────────────────── */
:root {
  --palm-bg:    #c4c4c4;   /* classic 3Com/Handspring system gray */
  --palm-white: #ffffff;
  --palm-card:  #f8f8f8;   /* slightly off-white for form areas */
  --palm-title: #1c1c6e;   /* dark-navy title bar (Tungsten T) */
  --palm-fg:    #ffffff;   /* title bar foreground */
  --palm-text:  #000000;
  --palm-dim:   #555555;   /* secondary / label text */
  --palm-sep:   #bbbbbb;   /* list separators */
  --palm-bdr:   #888888;   /* card borders */
  --palm-face:  #d8d8d8;   /* button face */
  --palm-sel:   #1a4a8a;   /* selection / active pill */
  --palm-sfg:   #ffffff;   /* selection foreground */
  --palm-grn:   #1f5e1f;   /* past match accent (DateBook green) */
  --palm-org:   #883300;   /* upcoming match accent */
}


/* ════════════════════════════════════════════════════════════════════════
   PAGE SHELL
   ════════════════════════════════════════════════════════════════════════ */

/* Bottom clearance for the fixed nav is handled site-wide by `body { padding-bottom }`
   in global.css (the shared mweb-botnav) — no stadium-specific override needed. */


/* ════════════════════════════════════════════════════════════════════════
   SECTION PANELS  →  Palm white form cards
   ════════════════════════════════════════════════════════════════════════ */

.section-panel,
.section-panel.gold-border,
.section-panel.green-border {
  background: var(--palm-white);
  border: 1px solid var(--palm-bdr);
  border-radius: 3px;
  box-shadow: none;
  margin: 4px 0;
  padding: 0;
  overflow: hidden;
}

/* Section title → tight Palm header bar inside the card */
.section-title {
  display: block;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: bold;
  color: var(--palm-fg);
  background: var(--palm-title);
  padding: 3px 8px;
  margin: 0;
  letter-spacing: 0.3px;
  line-height: 18px;
  text-shadow: none;
  border: none;
}


/* ════════════════════════════════════════════════════════════════════════
   HERO — CRT ARCADE CABINET  →  Palm compact image frame
   ════════════════════════════════════════════════════════════════════════ */

.s3-cabinet {
  background: var(--palm-white);
  border: 1px solid var(--palm-bdr);
  border-radius: 3px;
  box-shadow: none;
  padding: 6px;
  margin: 4px 0;
  overflow: hidden;
}
/* CRT screen → flat light-gray frame, no glow */
.s3-crt {
  background: var(--palm-bg);
  border: 1px solid var(--palm-bdr);
  border-radius: 2px;
  box-shadow: none;
  padding: 6px 8px 8px;
}
/* Kill scanlines */
.s3-crt::after { display: none; }
/* Pixel stadium SVG: keep crispness, lose the neon drop-shadow */
.s3-stadium-svg {
  filter: none;
  max-width: 100%;
}
/* Stadium name: plain bold, no neon pulse */
.s3-hero-name {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: bold;
  color: var(--palm-text);
  letter-spacing: 0.2px;
  line-height: 1.3;
  margin-top: 6px;
  text-shadow: none;
  animation: none;
}
.s3-hero-sub {
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--palm-dim);
  letter-spacing: 0;
  margin-top: 2px;
  line-height: 1.3;
}
.s3-hero-tagline {
  font-family: var(--font-ui);
  font-size: 10px;
  color: var(--palm-dim);
  letter-spacing: 0;
  margin-top: 2px;
}


/* ════════════════════════════════════════════════════════════════════════
   QUICK FACTS  →  Palm field-view rows (label on left, value on right)
   ════════════════════════════════════════════════════════════════════════ */

/* Remove the stacked 1-col override that kicks in at 420 px — Palm keeps 2 col */
.s1-fact {
  grid-template-columns: 96px 1fr;
  gap: 0 8px;
  padding: 5px 8px;
  border-bottom: 1px solid var(--palm-sep);
  align-items: baseline;
}
.s1-fact:last-child { border-bottom: none; }
.s1-fact dt {
  font-family: var(--font-ui);
  font-size: 10px;
  color: var(--palm-dim);
  letter-spacing: 0;
  line-height: 1.4;
}
.s1-fact dd {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--palm-text);
  line-height: 1.4;
}
.s1-fact-sub {
  font-family: var(--font-ui);
  font-size: 10px;
  color: var(--palm-dim);
  letter-spacing: 0;
}
.s1-fact-peak dd { color: var(--palm-sel); }


/* ════════════════════════════════════════════════════════════════════════
   STAT BARS  →  Palm compact progress rows
   ════════════════════════════════════════════════════════════════════════ */

.s1-stat-panel > *:not(.section-title) { padding: 0 8px; }
.bar-row { padding: 4px 0; border-bottom: 1px solid var(--palm-sep); }
.bar-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-ui);
  font-size: 10px;
  color: var(--palm-text);
  margin-bottom: 2px;
}
.bar-track {
  height: 6px;
  background: #d8d8d8;
  border: 1px solid var(--palm-bdr);
  border-radius: 2px;
}
/* Muted palette for Palm (no bright neon fills) */
.bar-fill          { border-radius: 1px; }
.bar-fill.green    { background: var(--palm-grn); }
.bar-fill.blue     { background: var(--palm-sel); }
.bar-fill.yellow   { background: #776600; }
.bar-fill.teal     { background: #006666; }
.bar-fill.orange   { background: var(--palm-org); }
.bar-fill.neutral  { background: var(--palm-bdr); }
.s1-stat-note {
  font-family: var(--font-ui);
  font-size: 10px;
  color: var(--palm-dim);
  line-height: 1.4;
  border-top: 1px solid var(--palm-sep);
  padding: 4px 0 4px;
  margin: 0;
}


/* ════════════════════════════════════════════════════════════════════════
   WC LEDGER  →  Palm "To Do" / DateBook match list
   ════════════════════════════════════════════════════════════════════════ */

/* The .s3-panel wraps the ledger section — give it the same white-card treatment */
.s3-panel {
  background: var(--palm-white);
  border: 1px solid var(--palm-bdr);
  border-radius: 3px;
  box-shadow: none;
  margin: 4px 0;
  overflow: hidden;
}
.s3-replay { display: flex; flex-direction: column; gap: 0; padding: 0; }
.s3-replay-row,
.s3-replay-soon {
  background: var(--palm-white);
  border: none;
  border-bottom: 1px solid var(--palm-sep);
  border-left: 3px solid var(--palm-grn);
  padding: 6px 8px 6px 10px;
}
.s3-replay-soon { border-left-color: var(--palm-org); }

.s3-replay-yr {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: bold;
  color: var(--palm-dim);
  display: block;
  margin-bottom: 2px;
  letter-spacing: 0.3px;
}
.s3-replay-mid {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
  margin-bottom: 3px;
}
.s3-vs-badge {
  font-family: var(--font-ui);
  font-size: 8px;
  font-weight: bold;
  color: var(--palm-text);
  background: var(--palm-face);
  border: 1px solid var(--palm-bdr);
  padding: 1px 4px;
  box-shadow: none;
  flex-shrink: 0;
}
.s3-vs-soon { background: var(--palm-org); color: var(--palm-white); border-color: #661100; }
.s3-replay-teams {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: bold;
  color: var(--palm-text);
  letter-spacing: 0;
  line-height: 1.2;
}
.s3-replay-score {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: bold;
  color: var(--palm-text);
  text-shadow: none;
  padding: 0 3px;
}
.s3-score-soon { color: var(--palm-org); }
.s3-replay-round {
  font-family: var(--font-ui);
  font-size: 8px;
  color: var(--palm-text);
  background: var(--palm-face);
  border: 1px solid var(--palm-bdr);
  padding: 1px 5px;
  border-radius: 1px;
}
.s3-replay-blurb {
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--palm-dim);
  line-height: 1.35;
  margin-top: 2px;
}


/* ════════════════════════════════════════════════════════════════════════
   RECORD CROWD  →  Palm "Number Lookup" card
   ════════════════════════════════════════════════════════════════════════ */

.s1-record {
  background: var(--palm-white);
  border: 1px solid var(--palm-bdr);
  border-radius: 3px;
  box-shadow: none;
  padding: 10px 8px 8px;
  margin: 4px 0;
  text-align: center;
}
.s1-record-tag {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: bold;
  color: var(--palm-dim);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.s1-record-big {
  font-family: var(--font-ui);
  font-size: 30px;
  font-weight: bold;
  color: var(--palm-text);
  text-shadow: none;
  letter-spacing: 0;
  line-height: 1.1;
}
.s1-record-line {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--palm-text);
  line-height: 1.35;
}
.s1-record-date { color: var(--palm-sel); font-weight: bold; }
.s1-record-foot {
  font-family: var(--font-ui);
  font-size: 10px;
  color: var(--palm-dim);
  line-height: 1.35;
  margin: 4px auto 0;
  max-width: none;
  border-top: 1px solid var(--palm-sep);
  padding-top: 4px;
}


/* ════════════════════════════════════════════════════════════════════════
   THE CITY CARDS  →  Palm "Memo Pad" section list
   ════════════════════════════════════════════════════════════════════════ */

.s5-section { margin: 0; }
.s5-poster-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}
.s5-card {
  background: var(--palm-white);
  border: none;
  border-bottom: 1px solid var(--palm-sep);
  border-left: 3px solid var(--palm-bdr);
  border-radius: 0;
  padding: 7px 8px;
}
.s5-card:last-child { border-bottom: none; }
.s5-card-teal   { border-left-color: #009988; }
.s5-card-orange { border-left-color: #cc5500; }
.s5-card-yellow { border-left-color: #776600; }
.s5-card-sky    { border-left-color: var(--palm-sel); }

.s5-card-flag { font-size: 18px; line-height: 1; margin-bottom: 2px; }
.s5-card-title {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: bold;
  color: var(--palm-text);
  text-shadow: none;
  letter-spacing: 0;
  margin-bottom: 4px;
}
.s5-card-list {
  font-family: var(--font-ui);
  font-size: 11px;
  line-height: 1.45;
  color: var(--palm-text);
}
.s5-card-list li { padding-left: 10px; }
.s5-card-list li::before { color: var(--palm-sel); }
.s5-fact-dl {
  font-family: var(--font-ui);
  font-size: 11px;
  gap: 2px 8px;
  line-height: 1.35;
}
.s5-fact-dl dt { color: var(--palm-dim); }
.s5-fact-dl dd { color: var(--palm-text); }
.s5-card-prose { font-family: var(--font-ui); font-size: 11px; color: var(--palm-text); line-height: 1.4; }
.s5-tip { color: var(--palm-dim); border-top: 1px solid var(--palm-sep); padding-top: 4px; margin-top: 4px; }


/* ════════════════════════════════════════════════════════════════════════
   CLIMATE  →  Palm compact weather card
   ════════════════════════════════════════════════════════════════════════ */

.s5-illustrative {
  font-family: var(--font-ui);
  font-size: 10px;
  color: var(--palm-text);
  background: #fff5f0;
  border: 1px solid #cc5500;
  border-left-width: 3px;
  padding: 4px 8px;
  margin: 0 0 1px;
  line-height: 1.4;
}
.s5-illustrative strong { color: var(--palm-org); letter-spacing: 0; }

.s5-climate-grid {
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 6px 8px 8px;
}
.s5-climate-prose {
  grid-column: 1 / -1;
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--palm-text);
  line-height: 1.4;
  min-width: 0;
}
.s5-temp-card {
  background: #eef2ff;
  border: 1px solid var(--palm-bdr);
  box-shadow: none;
  padding: 6px;
  min-width: 0;
}
.s5-temp-card-cool { background: #eef6ff; }
.s5-temp-label {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: bold;
  color: var(--palm-dim);
  letter-spacing: 0;
}
.s5-temp-card-cool .s5-temp-label { color: var(--palm-dim); }
.s5-temp-big {
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: bold;
  color: var(--palm-text);
  text-shadow: none;
  margin: 2px 0 1px;
}
.s5-temp-card-cool .s5-temp-big { color: var(--palm-text); text-shadow: none; }
.s5-temp-alt { font-family: var(--font-ui); font-size: 10px; color: var(--palm-dim); }
.s5-temp-card-cool .s5-temp-alt { color: var(--palm-dim); }
.s5-pack {
  background: #f4f8f4;
  border-left: 2px solid #006655;
  padding: 4px 6px;
  margin-top: 6px;
}
.s5-pack-head {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: bold;
  color: #006655;
  margin-bottom: 2px;
  letter-spacing: 0;
}
.s5-pack-list { font-family: var(--font-ui); font-size: 11px; color: var(--palm-text); line-height: 1.5; }


/* ════════════════════════════════════════════════════════════════════════
   FILE TIMELINE  →  Palm DateBook event list
   ════════════════════════════════════════════════════════════════════════ */

.section-panel .s1-timeline,
.s1-timeline {
  border-left: 2px solid var(--palm-sel);
  padding-left: 10px;
  margin: 0 8px 8px 18px;
}
.s1-tl-entry {
  grid-template-columns: 50px 1fr;
  gap: 0 8px;
  padding: 5px 0;
  border-bottom: 1px solid var(--palm-sep);
  align-items: baseline;
}
.s1-tl-entry:last-child { border-bottom: none; }
.s1-tl-entry::before {
  width: 7px;
  height: 7px;
  left: calc(-10px - 5px);
  top: 8px;
  background: var(--palm-sel);
  border: 1px solid #003399;
  box-shadow: none;
}
.s1-tl-hi::before { background: var(--palm-org); border-color: #661100; }
.s1-tl-year {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: bold;
  color: var(--palm-dim);
  letter-spacing: 0;
}
.s1-tl-hi .s1-tl-year { color: var(--palm-org); }
.s1-tl-text { font-family: var(--font-ui); font-size: 11px; color: var(--palm-text); line-height: 1.35; }

/* Cross-link match rows */
.s1-linkrow:hover { background: #e8eefc; }
.s1-linkrow:hover .s1-tl-text { color: var(--palm-sel); }


/* ════════════════════════════════════════════════════════════════════════
   VERDICT / OCTOPUS BOX  →  Palm "Memo" note card
   ════════════════════════════════════════════════════════════════════════ */

.octo-box,
.octo-box.s1-verdict,
.s1-verdict {
  background: var(--palm-white);
  border: 1px solid var(--palm-bdr);
  border-radius: 3px;
  box-shadow: none;
  padding: 0;
  margin: 4px 0;
  overflow: hidden;
}
.panel-title {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: bold;
  color: var(--palm-fg);
  background: var(--palm-title);
  padding: 3px 8px;
  line-height: 18px;
  letter-spacing: 0.3px;
  margin: 0;
  border: none;
  box-shadow: none;
}
.s1-verdict .panel-title { margin: 0; }   /* override the -1rem pull */
.s1-verdict-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  padding: 8px;
  align-items: start;
}
.s1-octo { font-size: 22px; line-height: 1; }
.octo-speech p,
.s1-octo-speech p { font-family: var(--font-ui); font-size: 11px; color: var(--palm-text); line-height: 1.4; margin: 0; }
.octo-name,
.s1-octo-name { font-family: var(--font-ui); font-size: 10px; color: var(--palm-dim); margin-top: 4px; }


/* ════════════════════════════════════════════════════════════════════════
   FOOTER  →  thin system bar
   ════════════════════════════════════════════════════════════════════════ */

.footer,
footer { background: var(--palm-bg); padding: 4px 8px; border: none; box-shadow: none; }
.footer * { font-family: var(--font-ui) !important; font-size: 10px !important; color: var(--palm-dim) !important; }


/* ════════════════════════════════════════════════════════════════════════
   STADIUMS INDEX — Win95 Explorer  →  Palm "Address Book" list
   ════════════════════════════════════════════════════════════════════════ */

/* Index header panel inner content */
.hb-desc {
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--palm-text);
  padding: 6px 8px 2px;
  margin: 0;
  line-height: 1.4;
}
.si-statline {
  font-family: var(--font-ui);
  font-size: 10px;
  padding: 2px 8px 6px;
  gap: 5px;
  margin-top: 0;
}
.si-stat { color: var(--palm-dim); }
.si-stat-sep { color: var(--palm-bdr); }
.si-stat--wc {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: bold;
  background: var(--palm-sel);
  color: var(--palm-sfg);
  padding: 1px 5px;
  border-radius: 2px;
}

/* ── Win95 Desktop container → Palm list surface ── */
.s5-desktop {
  display: flex;
  flex-direction: column;
  margin: 0;
  background: transparent;
}

/* ── "Drives" → Palm category pill row; visually reordered ABOVE the list ── */
.s5-drives {
  order: -1;   /* flex order: show before .s5-window */
  background: var(--palm-bg);
  border: none;
  box-shadow: none;
  padding: 5px 6px 4px;
  margin: 0;
}
.s5-drives-title { display: none; }
.s5-drives-row {
  display: flex;
  gap: 5px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.s5-drives-row::-webkit-scrollbar { display: none; }
/* Each drive → Palm pill button */
.s5-drive {
  flex: 0 0 auto;
  flex-direction: row;
  width: auto;
  min-width: 0;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: var(--palm-face);
  border: 1px solid var(--palm-bdr);
  border-radius: 10px;
  cursor: pointer;
}
.s5-drive:hover { background: #e8eefc; }
.s5-drive-ico { display: none; }
/* Country drives: hide full localized name, show flag + CC from data-* attributes */
.s5-drive:not(.s5-drive--total) .s5-drive-name { display: none; }
.s5-drive:not(.s5-drive--total)::before {
  content: attr(data-flag);
  font-size: 18px;
  line-height: 1;
  margin-right: 4px;
}
.s5-drive:not(.s5-drive--total)::after {
  content: attr(data-cc);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: bold;
  color: var(--palm-text);
  white-space: nowrap;
}
/* "All" drive: keep its name but trim it */
.s5-drive--total .s5-drive-name {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: bold;
  color: var(--palm-text);
  white-space: nowrap;
}
.s5-drive-meta { display: none; }

/* Active pill (the currently selected radio's label) */
#f-all:checked ~ .s5-drives label[for="f-all"],
#f-usa:checked ~ .s5-drives label[for="f-usa"],
#f-mex:checked ~ .s5-drives label[for="f-mex"],
#f-can:checked ~ .s5-drives label[for="f-can"] {
  background: var(--palm-sel);
  border-color: #003399;
}
#f-all:checked ~ .s5-drives label[for="f-all"] .s5-drive-name,
#f-usa:checked ~ .s5-drives label[for="f-usa"] .s5-drive-name,
#f-mex:checked ~ .s5-drives label[for="f-mex"] .s5-drive-name,
#f-can:checked ~ .s5-drives label[for="f-can"] .s5-drive-name { color: var(--palm-sfg); }
/* active CC pill: white text on the ::after pseudo too */
#f-usa:checked ~ .s5-drives label[for="f-usa"]::after,
#f-mex:checked ~ .s5-drives label[for="f-mex"]::after,
#f-can:checked ~ .s5-drives label[for="f-can"]::after { color: var(--palm-sfg); }

/* ── Win95 window → plain list wrapper ── */
.s5-window {
  background: var(--palm-white);
  border: 1px solid var(--palm-bdr);
  border-radius: 3px;
  box-shadow: none;
  padding: 0;
  overflow: hidden;
}
/* Hide all Win95 window chrome */
.s5-titlebar,
.s5-menubar,
.s5-toolbar,
.s5-winstatus { display: none !important; }

/* ── File list → Palm Address Book list ── */
.s5-filelist {
  background: var(--palm-white);
  border: none;
  max-height: none;
  overflow-y: visible;
  padding: 0;
  margin: 0;
}

/* Palm list row: 2-row grid — name+cap on row 1, city below */
.s5-rowlink {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  grid-template-areas:
    "name cap"
    "city city";
  gap: 0 6px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--palm-sep);
  color: var(--palm-text);
  min-height: 44px;  /* minimum touch target */
  align-items: start;
}
.s5-rowlink:hover  { background: #e8eefc; }
.s5-rowlink:focus-visible { background: var(--palm-sel); color: var(--palm-sfg); }
.s5-rowlink:focus-visible .s5-c-city { color: var(--palm-sfg); }

/* Row 1 — folder icon + bold name */
.s5-c-name {
  grid-area: name;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.s5-fname {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: bold;
  color: var(--palm-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
/* Capacity — top-right */
.s5-c-cap {
  grid-area: cap;
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--palm-dim);
  text-align: right;
  white-space: nowrap;
  align-self: start;
  padding-top: 2px;
}
/* Row 2 — city (with flag from country inline) */
.s5-c-city {
  grid-area: city;
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--palm-dim);
  display: block;
}
/* Country and opened: collapse into city row via pseudo-content */
.s5-c-country { display: none; }
.s5-c-opened  { display: none; }

/* Folder icons → tiny Palm bullet squares */
.s5-ico {
  width: 12px;
  height: 12px;
  border: 1px solid var(--palm-bdr);
  border-radius: 1px;
  flex-shrink: 0;
}
.s5-ico::before { background: var(--palm-face); border-top: none; }
.s5-ico::after { top: 2px; bottom: 2px; left: 2px; right: 2px; }
.s5-ico--opener::after { background: #776600; }
.s5-ico--final::after  { background: var(--palm-sel); }
.s5-ico--group::after  { background: var(--palm-grn); }

/* Role stars: muted */
.s5-star { color: #776600; font-size: 10px; }
.s5-star--opener { color: #776600; }
.s5-star--final  { color: var(--palm-sel); }

/* Featured rows (opener / final) */
.s5-row--feat .s5-rowlink { background: #f0f4ff; }
.s5-row--feat .s5-rowlink:hover { background: #e8eefc; }

/* Legend strip */
.si-legend {
  font-family: var(--font-ui);
  font-size: 10px;
  color: var(--palm-dim);
  margin: 6px 4px 2px;
  justify-content: flex-start;
}
.si-legend-label { color: var(--palm-dim); text-transform: none; letter-spacing: 0; }
.si-legend-item .s5-star { font-size: 11px; }

} /* end @media (max-width: 720px) */
