/* The discovery homepage: the rails, their tiles, and the locked card a
 * personal rail shows a signed-out visitor. Reads the theme's tokens only
 * (one ground, hairlines, one accent — see docs/dark-mode.md), so dark mode
 * is free. The tile markup is assets/js/rail-tile.js, two-sided. */

/* The page track is theme.css's --page-track, one width for every page
   (2026-11-07, Reed's ask: the homepage sat at 72rem beside 60rem detail
   pages, so the same rail drew smaller tiles on /booster). */
.discover {
  max-width: var(--page-track, 60rem);
  margin: 0 auto;
  padding: 1.6rem 1rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

/* ── A rail ── */
.rail { min-width: 0; }
/* A language slot the edge found no language for renders empty (its marker
   pair is tight against the section); it takes no room. */
.rail:empty { display: none; }
.rail [id] { scroll-margin-top: 5rem; } /* the nav's Discover links land on a rail heading under the sticky bar */
.rail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.75rem;
}
.rail-head h2 {
  margin: 0;
  flex-shrink: 0; /* the explanation beside it wraps; the heading never does (Reed, 2026-11-08) */
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.rail-head h2 a { color: inherit; text-decoration: none; }
.rail-head h2 a:hover { color: var(--brand-dd); }
.rail-more {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-dd);
  text-decoration: none;
  white-space: nowrap;
}
.rail-more:hover { text-decoration: underline; }
/* The same link as a button (the imported list's Manage): no `font: inherit`,
   which would take the body serif over .rail-more's sans. */
.rail-more--btn { padding: 0; background: none; border: 0; cursor: pointer; }
/* A rail whose head explains it rather than linking a chart (New and
   Noteworthy, Movers): muted, and allowed to wrap on a phone. */
.rail-more--note { color: var(--muted); font-weight: 500; white-space: normal; text-align: right; font-size: 0.85rem; }
.rail-more--note:hover { text-decoration: none; }
.rail-note {
  margin: -0.35rem 0 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* The track: a sideways scroller at every width. A phone shows what fits;
   a desktop shows exactly five, then ten, across the track and scrolls for
   the rest (2026-11-07, Reed's ask: a rail of twenty on /booster wrapped to
   two rows of ten; now every rail is one row, however long). The column is
   sized off the track so ten tiles fill it edge to edge, which is what the
   ten-column grid did before. */
.rail-track { min-width: 0; }
.rail-list {
  --rail-cols: 1;
  --rail-gap: 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(118px, 1fr);
  gap: var(--rail-gap);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
}
@media (min-width: 900px) {
  .rail-list {
    --rail-cols: 5;
    grid-auto-columns: calc((100% - (var(--rail-cols) - 1) * var(--rail-gap)) / var(--rail-cols));
  }
}
@media (min-width: 1100px) {
  .rail-list { --rail-cols: 10; --rail-gap: 0.8rem; }
}
/* The search page's groups wrap instead of scrolling: every hit on screen. */
.rail-list--wrap,
.rail-list--wrap { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); overflow: visible; }
@media (min-width: 1100px) { .rail-list--wrap { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); } }
.rail-tile { min-width: 0; scroll-snap-align: start; }
.rt {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}
.rt-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--cream-d);
  border: 1px solid var(--border);
}
.rt-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* The View more tile at the end of the owner's Latest rail (/booster#latest,
   2026-11-08): a tile-sized button, the artwork square dashed, no title line. */
.rt-more { font: inherit; background: none; border: 0; padding: 0; margin: 0; width: 100%; cursor: pointer; }
.rt-media--more { display: flex; align-items: center; justify-content: center; border-style: dashed; background: var(--surface); font-family: var(--font-sans); font-weight: 600; font-size: 0.9rem; color: var(--brand-d); }
.rt-more:hover .rt-media--more { border-color: var(--brand); color: var(--brand-ddd, var(--brand-d)); }
.rt-more:disabled { cursor: progress; }
.rt-more:disabled .rt-media--more { color: var(--muted); }
.rt-media--none { display: flex; align-items: center; justify-content: center; }
.rt-glyph { font-size: 2rem; line-height: 1; }
.rt-rank {
  position: absolute;
  left: 6px;
  top: 6px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background: rgba(11, 58, 82, 0.86);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}
:root[data-theme="dark"] .rt-rank { background: rgba(0, 0, 0, 0.72); }
.rt-rank[data-tied="1"] { letter-spacing: 0.02em; }
/* The medium badge (rail-tile.js mediumBadge): icon and word on a LIGHT
   chip in the artwork's bottom-right corner, so it reads as a label and not
   as a second figure beside the dark rank badge (Reed, 2026-10-29). The
   same chip in both themes: it sits on artwork, not on the page's ground. */
.rt-medium {
  position: absolute; right: 5px; bottom: 5px;
  display: inline-flex; align-items: center; gap: 3px;
  height: 17px; padding: 0 5px 0 4px; border-radius: 4px;
  background: rgba(255, 255, 255, 0.9); color: #0b3a52;
  font-family: var(--font-sans); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; line-height: 1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.rt-medium .rt-ico { width: 10px; height: 10px; opacity: 1; }
.rail-tile:first-child .rt-rank { background: var(--brand-dd); }
/* A #40HPW member who has cleared the goal this week: the board's gold. */
.rt-rank--gold { background: #b8860b; color: #ffffff; }
.rail-tile:first-child .rt-rank--gold { background: #b8860b; }

/* A PERSON is a circle, content is a square (Reed's call, 2026-10-18): the
   #40HPW faces read as individuals, not as shows. The media box keeps its
   overflow visible so the rank badge sits on the circle's shoulder rather
   than being clipped off at the corner; the image itself is what rounds.
   ⚠️ THE IMAGE IS ABSOLUTE, NOT IN FLOW. With overflow visible an aspect-ratio
   box takes the taller of the ratio and its content, so a portrait avatar
   grew the box past square and the circle became a tall ellipse (Reed saw it
   on the #40HPW rail, 2026-10-19). Out of flow it cannot size the box. */
.rail-tile--person .rt-media { border-radius: 50%; overflow: visible; }
.rail-tile--person .rt-media img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; }
.rail-tile--person .rt-media .rt-rank { left: 0; top: 0; }
.rail-tile--person .rt-title { text-align: center; }
.rail-tile--person .rt-sub { text-align: center; }
/* The rank triplet under a charted tile: "#6 / #2 / #3" in sats / boosts
   / boosters, the chart formula's order, each figure behind its icon
   (rail-tile.js FIGURE_ICONS). ⚠️ IT MAY NOT RUN WIDER THAN THE ARTWORK
   (Reed, 2026-10-29), and a tile is ~103px on a wide desktop's ten-up row.
   So the line is sized off the tile's own width (the .rt container) by its
   digit count, rt-d3..rt-d9: the fewer the digits, the larger it may be,
   never above the sub line's own size. Tabular figures, tight gaps, the
   number sign and the slashes muted so the places carry the line. */
.rt { container-type: inline-size; }
.rt-ranks { font-variant-numeric: tabular-nums; text-overflow: clip; }
.rt-trip { display: inline-flex; align-items: center; white-space: nowrap; font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.01em; }
.rt-trip .rt-fig { display: inline-flex; align-items: center; gap: 0.08em; }
.rt-trip .rt-ico { width: 0.88em; height: 0.88em; }
.rt-trip .rt-hash { opacity: 0.6; font-weight: 500; font-size: 0.86em; }
.rt-trip .rt-slash { opacity: 0.4; margin: 0 0.12em; font-weight: 400; }
.rt-ico { flex: none; width: 0.95em; height: 0.95em; opacity: 0.8; }
.rt-sub .rt-trip { font-size: min(0.8rem, 12.4cqi); }
.rt-sub .rt-trip.rt-d4 { font-size: min(0.8rem, 11.5cqi); }
.rt-sub .rt-trip.rt-d5 { font-size: min(0.8rem, 10.9cqi); }
.rt-sub .rt-trip.rt-d6 { font-size: min(0.8rem, 10.1cqi); }
.rt-sub .rt-trip.rt-d7 { font-size: min(0.8rem, 9.6cqi); }
.rt-sub .rt-trip.rt-d8 { font-size: min(0.8rem, 8.9cqi); }
.rt-sub .rt-trip.rt-d9 { font-size: min(0.8rem, 8.4cqi); }
/* A figure is pressable (discover.js, the rank explainer): a click opens
   .rt-note saying what the place means in the rail's window. */
.rt-ranks .rt-fig { cursor: pointer; border-radius: 4px; }
.rt-sub .rt-fig:hover { background: var(--tint, rgba(0, 175, 240, 0.12)); color: var(--text); }
.hero-ranks .rt-fig:hover { background: rgba(255, 255, 255, 0.18); }
.rt-note {
  position: absolute; z-index: 60; max-width: min(17rem, calc(100vw - 16px));
  padding: 0.6rem 0.75rem; border-radius: 8px;
  background: var(--surface, #fff); color: var(--text);
  border: 1px solid var(--border); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  font-family: var(--font-sans); font-size: 0.82rem; line-height: 1.4;
}
.rt-note strong { display: block; font-size: 0.88rem; margin-bottom: 0.2rem; }
.rt-note p { margin: 0 0 0.35rem; color: var(--muted); }
.rt-note a { color: var(--brand-dd); font-weight: 600; }
.rt-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.search-page h1 {
  margin: 0 0 0.25rem;
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.search-page h1 q { quotes: "\201C" "\201D"; }
.search-lead { margin: 0 0 0.5rem; color: var(--muted); }
.rail-head h2 small { font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-left: 0.4rem; }
.rt-title {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a.rt:hover .rt-title { color: var(--brand-dd); }
/* ⚠️ POSITIONED, because the triplet's visually-hidden .rt-sr spans are
   absolute: with nothing positioned between them and <body> they escaped the
   rail's scroller and widened a phone's page to 1295px (the Coordinator's
   pre-merge sweep, 2026-10-30). */
.rt-sub {
  position: relative;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rail-empty,
.rail-placeholder {
  margin: 0;
  padding: 1.1rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── A board rail (the #40HPW week) sits in the detail pages' box ── */
.rail-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1.1rem 0.6rem;
}
.rail-box .hpw-board { margin: 0; }

/* ── A personal rail, signed out: the carrot ── */
.rail-locked {
  position: relative;
  display: grid; /* the placeholder tiles and the card share one cell, so the track is as tall as the taller (the card overflowed it, Reed's screenshot 2026-11-08) */
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  overflow: hidden;
}
.rail-locked > * { grid-area: 1 / 1; min-width: 0; }
/* Signed in, while the follow list and the favorites are read: the
   placeholders breathe (the carrot's `loading` state in discover.js). */
.rail-locked.is-loading .rail-list { animation: rail-loading 1.4s ease-in-out infinite; }
@keyframes rail-loading { 0%, 100% { opacity: 0.28; } 50% { opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) { .rail-locked.is-loading .rail-list { animation: none; } }
.rail-locked .rail-list { opacity: 0.28; filter: grayscale(1); pointer-events: none; }
.rail-locked .rt-media { background: var(--border); border: 0; }
.rail-locked-ph {
  display: block;
  height: 0.7rem;
  border-radius: 0.35rem;
  background: var(--border);
}
.rail-locked-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.rail-locked-card > div {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 620px;
  padding: 1rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(11, 58, 82, 0.14);
}
:root[data-theme="dark"] .rail-locked-card > div { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5); }
.rail-locked-card svg { width: 32px; height: 32px; flex-shrink: 0; color: var(--brand-dd); }
.rail-locked-card h3 {
  margin: 0 0 0.2rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
}
.rail-locked-card p { margin: 0; font-size: 0.9rem; color: var(--muted); line-height: 1.4; }
.rail-locked-card .ob-cta {
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  color: #ffffff;
  background: var(--brand-dd);
  border: 0;
  border-radius: 18px;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.rail-locked-card .ob-cta:hover { background: var(--brand-ddd); }
@media (max-width: 640px) {
  .rail-locked-card > div { flex-direction: column; text-align: center; padding: 1rem; }
}

/* ── The search results page: a LIST, like the charts page ──────────────
   (Reed's call, 2026-10-18). Each group is a rail heading over the charts
   page's own .pcast-list of cards, at .show-main's track width; the tile
   rail is the homepage's shape only. The count sits beside the heading. */
.search-group { margin: 0 0 2.25rem; }
.search-group .rail-head h2 small { font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-left: 0.35rem; }
.search-wall .show-section-head h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ── The way into the boost feed from the front door ─────────────────────
   One strip at the foot of the rails (the Latest Boosts rows left on
   2026-10-18, Reed's call: the personal rails took the room). One click,
   the whole firehose. */
.rail-cta { margin: 0.5rem 0 0; }
.rail-cta a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface, var(--cream));
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-sans);
}
.rail-cta a:hover { border-color: var(--brand-dd); }
.rail-cta strong { font-size: 1.05rem; font-weight: 700; }
.rail-cta span { color: var(--muted); font-size: 0.92rem; }
.rail-cta b { color: var(--brand-dd); white-space: nowrap; font-weight: 700; }
@media (max-width: 640px) {
  .rail-cta a { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
}

/* The personal rails' one-line explanations, with their link to the method. */
.rail-head .rail-sub { font-family: var(--font-sans); font-size: 0.9rem; font-weight: 500; color: var(--muted); text-align: right; }
.rail-head .rail-sub a { color: var(--brand-dd); text-decoration: none; white-space: nowrap; }
.rail-head .rail-sub a:hover { text-decoration: underline; }
.rail-head .rail-sub .rail-more { white-space: nowrap; }
@media (max-width: 640px) {
  .rail-head { flex-wrap: wrap; }
  .rail-head .rail-sub { text-align: left; flex-basis: 100%; }
}

/* ── The featured carousel (Reed's call, 2026-10-19) ──────────────────────
   One slide per generic rail, that rail's first place, above the rails.
   Fountain's shape, since podcast art is square: the artwork blurred and
   darkened as the backdrop, the square art at left, the eyebrow (the rail's
   rule), the title, the figures, two lines of description, Open and Boost.
   The backdrop is an IMAGE, not a surface colour, so the dark band is the
   same in both themes and the one-ground grammar holds. The slides are a
   scroll-snap strip; discover.js adds the arrows, the dots and the
   seven-second rotation (paused on hover and focus, off under reduced
   motion), and on a phone the swipe is the native one. */
.hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0b3a52;
  color: #ffffff;
  font-family: var(--font-sans);
}
.hero-slides {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.hero-slides::-webkit-scrollbar { display: none; }
.hero-slide {
  position: relative;
  min-width: 0;
  min-height: 340px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  isolation: isolate;
  display: flex;
}
.hero-bg {
  position: absolute;
  inset: -12%;
  width: 124%;
  height: 124%;
  object-fit: cover;
  filter: blur(26px) saturate(1.15) brightness(0.5);
  z-index: 0;
  pointer-events: none;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(5, 20, 30, 0.72) 0%, rgba(5, 20, 30, 0.45) 55%, rgba(5, 20, 30, 0.2) 100%);
  pointer-events: none;
}
.hero-body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  width: 100%;
  padding: 2rem 4.5rem 2.6rem 2.25rem;
  box-sizing: border-box;
}
.hero-art-link { flex-shrink: 0; display: block; line-height: 0; }
.hero-art {
  width: 220px;
  height: 220px;
  flex-shrink: 0;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  background: rgba(255, 255, 255, 0.08);
  display: block;
}
.hero-art--none {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  line-height: 1;
}
.hero-slide--person .hero-art { border-radius: 50%; }
.hero-slide--gold .hero-eyebrow { color: #f2c75c; }
.hero-text { min-width: 0; flex: 1; }
.hero-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7fdcff;
}
.hero-title {
  margin: 0 0 0.3rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.12;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-title a { color: inherit; text-decoration: none; }
.hero-title a:hover { text-decoration: underline; }
.hero-from { margin: 0 0 0.25rem; font-size: 0.98rem; font-weight: 600; color: rgba(255, 255, 255, 0.88); }
.hero-from a { color: inherit; text-decoration: none; }
.hero-from a:hover { text-decoration: underline; }
.hero-line {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: baseline;
}
.hero-ranks { position: relative; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; font-weight: 700; color: #ffffff; }
.hero-desc {
  margin: 0 0 1rem;
  font-family: var(--font-body, inherit);
  font-size: 0.98rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 44rem;
}
.hero-actions { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.hero-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: #ffffff;
  color: #0b3a52;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.hero-btn:hover { background: #e6f7ff; }
.hero .ob-boost-pill.hero-boost { margin-left: 0; padding: 0.45rem 1rem; font-size: 0.85rem; }

/* The arrows: over the edges, shown when the page can drive them. */
.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(5, 20, 30, 0.55);
  color: #ffffff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 3px;
  opacity: 0.75;
  transition: opacity 0.12s, background 0.12s;
}
.hero-arrow[hidden] { display: none; }
.hero-arrow:hover { opacity: 1; background: rgba(5, 20, 30, 0.8); }
.hero-arrow:focus-visible { outline: 2px solid #7fdcff; outline-offset: 2px; opacity: 1; }
.hero-arrow--prev { left: 12px; }
.hero-arrow--next { right: 12px; }

/* The dots: bottom centre, the current one wide. */
.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 3;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.hero-dots[hidden] { display: none; }
.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.15s, background 0.15s;
}
.hero-dots button[aria-current="true"] { width: 22px; background: #ffffff; }
.hero-dots button:focus-visible { outline: 2px solid #7fdcff; outline-offset: 2px; }

@media (max-width: 640px) {
  .hero { border-radius: 12px; }
  .hero-slide { min-height: 0; }
  .hero-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1.1rem 1.1rem 2.1rem;
  }
  .hero-art { width: 112px; height: 112px; border-radius: 10px; }
  .hero-art--none { font-size: 2.4rem; }
  .hero-title { font-size: 1.35rem; }
  .hero-desc { -webkit-line-clamp: 3; font-size: 0.92rem; }
  .hero-arrow { display: none; }
}
