/* Raaya Jyoti landing page. Tokens mirror astro_ui's JyotiColors. */
:root {
  --bg: #0A0817;
  --surface: #0E0B1F;
  --raised: #16122D;
  --high: #211C3F;
  --outline: #332D5C;
  --text: #F5F1E6;
  --muted: #BDB7D6;
  --faint: #8A84A8;
  --gold: #E8B04A;
  --gold-soft: #F4D48F;
  --saffron: #F08A3C;
  --good: #74C7A0;
  --mixed: #E6BB62;
  --caution: #E0806F;
  --rahu: #C95C82;
  --yama: #9A7AD6;
  --gulika: #5B9CC0;
  --abhijit: #F4D48F;
  --night-a: #2B2A6E;
  --night-b: #1B1846;
  --star: #FFF7E0;
  --on-gold: #1A1306;
  --hero-glow: radial-gradient(ellipse 80% 70% at 70% 30%, #1B1640 0%, rgba(10, 8, 23, 0) 70%);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #F5EEDF;
    --surface: #FAF5EA;
    --raised: #FFFBF3;
    --high: #EFE3CA;
    --outline: #DCCAA6;
    --text: #3E1119;
    --muted: #6E3E44;
    --faint: #8E6E66;
    --gold: #A9781E;
    --gold-soft: #D9AE5C;
    --saffron: #C85A1E;
    --good: #2E7D5E;
    --mixed: #A67A1F;
    --caution: #AE4A3A;
    --rahu: #AD3F66;
    --yama: #6E4FAE;
    --gulika: #2B6F93;
    --abhijit: #C08A2A;
    --night-a: #4B3F7E;
    --night-b: #332A5E;
    --star: #A9781E;
    --on-gold: #FFFBF3;
    --hero-glow: radial-gradient(ellipse 80% 70% at 70% 30%, #FFF6E2 0%, rgba(245, 238, 223, 0) 70%);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--gold); }
q { font-style: italic; }
.muted { color: var(--faint); font-weight: 400; }
.fine { font-size: .85rem; color: var(--faint); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--on-gold); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; justify-content: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: var(--on-gold); font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 24px -8px rgba(232, 176, 74, .55);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -8px rgba(232, 176, 74, .7); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--outline); box-shadow: none; }
.btn-ghost:hover { border-color: var(--gold); box-shadow: none; }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--outline);
  background: var(--surface); color: var(--muted); display: grid; place-items: center; cursor: pointer;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { color: var(--gold); border-color: var(--gold); }
.icon-btn[aria-busy="true"] { animation: pulse 1s ease-in-out infinite alternate; }
@keyframes pulse { to { opacity: .4; } }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--outline) 50%, transparent);
}
.nav-row { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 500 1.15rem var(--serif); }
.brand-mark { width: 36px; height: 36px; color: var(--star); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-row .btn { margin-left: auto; }
}

/* Starfield */
.stars {
  position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image:
    radial-gradient(1px 1px at 12% 18%, var(--star) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 72%, var(--star) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 45% 12%, var(--star) 50%, transparent 51%),
    radial-gradient(1px 1px at 62% 58%, var(--star) 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 22%, var(--star) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 88% 76%, var(--star) 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 88%, var(--star) 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 92%, var(--star) 50%, transparent 51%),
    radial-gradient(1px 1px at 36% 40%, var(--star) 50%, transparent 51%),
    radial-gradient(1px 1px at 94% 44%, var(--star) 50%, transparent 51%);
  background-size: 420px 420px;
}
@media (prefers-color-scheme: light) { .stars { opacity: .25; } }

/* Hero */
.hero { position: relative; padding: 56px 0 72px; background: var(--hero-glow); overflow: hidden; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr minmax(320px, 470px); gap: 56px; align-items: center; }
.eyebrow { font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
@media (max-width: 900px) {
  .hero { padding-top: 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

.ring-card {
  margin: 0; padding: 20px; border-radius: 28px;
  background: color-mix(in srgb, var(--raised) 78%, transparent);
  border: 1px solid var(--outline);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .55);
}
.ring-head { display: flex; gap: 10px; align-items: center; }
.city {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 6px 0 14px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--outline); color: var(--gold);
}
.city svg { width: 16px; height: 16px; flex: none; }
.city select { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: 500 14px var(--sans); height: 100%; cursor: pointer; }
.city select:focus { outline: none; }
.city:focus-within { border-color: var(--gold); }
.answer { font: 400 1.2rem/1.35 var(--serif); margin: 18px 4px 6px; min-height: 3.3em; }
.ring-wrap { position: relative; max-width: 420px; margin: 0 auto; }
#ring { display: block; width: 100%; height: auto; overflow: visible; }
#ring text { font-family: var(--sans); }
#ring .glyph { font-family: 'Noto Sans Symbols', 'Segoe UI Symbol', 'Apple Symbols', var(--sans); }
#ring .needle { transition: transform 1.2s var(--ease); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 10px 0 12px; justify-content: center; }
.chips li {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 13px;
  background: var(--surface); border: 1px solid var(--outline); color: var(--muted); white-space: nowrap;
}
.chips li.now { border-color: currentColor; color: var(--text); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.ring-card figcaption { margin: 0 4px; }

/* Bands */
.band { padding: 80px 0; position: relative; }
.band-raised { background: var(--surface); border-block: 1px solid color-mix(in srgb, var(--outline) 60%, transparent); }
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head p:not(.eyebrow) { color: var(--muted); }
.card { background: var(--raised); border: 1px solid var(--outline); border-radius: var(--radius); padding: 24px; }
@media (max-width: 600px) { .band { padding: 56px 0; } }

/* Panchang limbs */
.limbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 0; }
.limb { background: var(--raised); border: 1px solid var(--outline); border-radius: 18px; padding: 18px; position: relative; overflow: hidden; }
.limb::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--gold-soft), var(--saffron)); opacity: .8; }
.limb dt { font: 600 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.limb dt span { display: block; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--faint); }
.limb dd { margin: 10px 0 0; font: 500 1.3rem/1.2 var(--serif); }
.limb dd small { display: block; margin-top: 6px; font: 400 13px var(--sans); color: var(--muted); }
.sky-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; color: var(--muted); font-size: 15px; }
.sky-facts b { color: var(--text); font-weight: 500; }
@media (max-width: 980px) { .limbs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .limbs { grid-template-columns: repeat(2, 1fr); } .limb:last-child { grid-column: span 2; } }

/* Week chart */
.week { display: grid; gap: 8px; }
.wk-axis, .wk-row { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 12px; }
.wk-axis .track { height: 18px; background: none; border: 0; }
.wk-axis span { position: absolute; transform: translateX(-50%); font-size: 12px; color: var(--faint); top: 0; }
.wk-label { font-size: 14px; color: var(--muted); line-height: 1.2; }
.wk-label b { display: block; color: var(--text); font-weight: 500; }
.wk-row.today .wk-label b::after { content: ' · today'; color: var(--gold); font-weight: 400; font-size: 12px; }
.track { position: relative; height: 34px; border-radius: 10px; background: color-mix(in srgb, var(--night-b) 55%, transparent); border: 1px solid color-mix(in srgb, var(--outline) 60%, transparent); overflow: hidden; }
.seg { position: absolute; top: 0; bottom: 0; }
.seg.day { background: linear-gradient(90deg, color-mix(in srgb, var(--gold-soft) 22%, transparent), color-mix(in srgb, var(--gold) 28%, transparent), color-mix(in srgb, var(--saffron) 22%, transparent)); }
.seg.k { top: 5px; bottom: 5px; border-radius: 6px; }
.seg.rahu { background: var(--rahu); }
.seg.yama { background: var(--yama); }
.seg.gulika { background: var(--gulika); }
.seg.abhijit { top: 12px; bottom: 12px; background: var(--abhijit); border-radius: 4px; }
.seg.nowline { width: 2px; background: var(--text); top: 0; bottom: 0; box-shadow: 0 0 8px var(--text); }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 18px 0 0 104px; font-size: 13px; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 7px; }
.sw { width: 14px; height: 10px; border-radius: 3px; display: inline-block; }
.sw-day { background: color-mix(in srgb, var(--gold) 35%, transparent); }
.sw-rahu { background: var(--rahu); }
.sw-yama { background: var(--yama); }
.sw-gulika { background: var(--gulika); }
.sw-abhijit { background: var(--abhijit); }
.wk-times { display: none; }
@media (max-width: 640px) {
  .wk-axis, .wk-row { grid-template-columns: 58px 1fr; gap: 8px; }
  .wk-label { font-size: 12px; }
  .wk-row.today .wk-label b::after { content: ''; }
  .wk-row.today .wk-label b { color: var(--gold); }
  .legend { margin-left: 0; }
  .wk-times { display: block; grid-column: 2; font-size: 11.5px; color: var(--faint); margin-top: -2px; }
}

/* Birth finder */
.birth-grid { display: grid; grid-template-columns: minmax(280px, 360px) 1fr; gap: 24px; align-items: start; }
.birth-form { display: grid; gap: 14px; }
.birth-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.birth-form label.check { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.birth-form input[type=date], .birth-form input[type=time], .birth-form select {
  height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--outline);
  background: var(--surface); color: var(--text); font: 400 15px var(--sans); color-scheme: dark light; width: 100%;
}
.birth-form input:disabled { opacity: .45; }
.birth-form input:focus, .birth-form select:focus { outline: none; border-color: var(--gold); }
.birth-form input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--gold); }
.birth-form .btn { margin-top: 4px; }
.birth-form .fine { margin: 0; }
.birth-out { display: grid; gap: 16px; min-width: 0; }
.placeholder { display: grid; place-items: center; text-align: center; min-height: 320px; color: var(--faint); }
.moon-art { width: 110px; height: 110px; color: var(--gold-soft); }
.moon-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.moon-card { padding: 18px; }
.moon-card h3 { font: 600 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }
.moon-card .big { font: 500 1.6rem/1.15 var(--serif); }
.moon-card p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.note { padding: 12px 16px; border-radius: 12px; font-size: 14px; background: color-mix(in srgb, var(--mixed) 14%, transparent); border: 1px solid color-mix(in srgb, var(--mixed) 40%, transparent); }
.note.err { background: color-mix(in srgb, var(--caution) 14%, transparent); border-color: color-mix(in srgb, var(--caution) 40%, transparent); }
.river h3 { margin-bottom: 4px; }
.river-now { color: var(--muted); margin-bottom: 16px; }
.river-now b { color: var(--text); font-weight: 500; }
.river-svg { width: 100%; height: auto; display: block; overflow: visible; }
.river-svg text { font-family: var(--sans); }
.river-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 16px; font-size: 13px; color: var(--muted); }
.river-list li { display: flex; align-items: center; gap: 8px; }
.river-list li.cur { color: var(--text); font-weight: 500; }
@media (max-width: 860px) {
  .birth-grid { grid-template-columns: 1fr; }
  .moon-cards { grid-template-columns: 1fr 1fr; }
  .moon-cards .moon-card:first-child { grid-column: span 2; }
}

/* Kinship tree */
.lang-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.lang-chips button {
  height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--outline);
  background: var(--surface); color: var(--muted); font: 500 14px var(--sans); cursor: pointer;
}
.lang-chips button[aria-checked="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.kin { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.kin-side { padding: 20px; border-radius: var(--radius); border: 1px dashed var(--outline); }
.kin-side h3 { font: 600 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.kin-row { display: flex; flex-wrap: wrap; gap: 10px; }
.kin-row + .kin-row { margin-top: 12px; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--outline) 50%, transparent); }
.kin-node {
  flex: 1 1 120px; min-width: 0; padding: 12px 14px; border-radius: 14px; background: var(--raised); border: 1px solid var(--outline);
  transition: transform .35s var(--ease), border-color .35s;
}
.kin-node .t { font: 500 1.15rem/1.2 var(--serif); display: block; }
.kin-node .r { font-size: 12.5px; color: var(--faint); display: block; margin-top: 4px; }
.kin-node.flip { animation: flip .45s var(--ease); }
@keyframes flip { from { opacity: 0; transform: translateY(6px); } }
.kin-parent { border-color: color-mix(in srgb, var(--gold) 60%, var(--outline)); }
.kin-self { grid-column: 1 / -1; display: flex; justify-content: center; position: relative; padding-top: 10px; }
.kin-self::before { content: ''; position: absolute; top: -18px; left: 50%; height: 28px; width: 1px; background: var(--gold); opacity: .5; }
.kin-you { flex: 0 1 220px; text-align: center; background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 18%, var(--raised)), var(--raised)); border-color: var(--gold); }
@media (max-width: 760px) { .kin { grid-template-columns: 1fr; } .kin-node { flex-basis: 40%; } }
@media (prefers-reduced-motion: reduce) { .kin-node.flip { animation: none; } }

.sky-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: center; margin-top: 56px; }
.sky-grid p { color: var(--muted); }
.family-sky { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 14px; }
.family-sky li { text-align: center; }
.avatar {
  --ring: var(--good);
  width: 72px; height: 72px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center;
  font: 500 1.3rem var(--serif); color: var(--text);
  background: radial-gradient(circle at 35% 30%, var(--high), var(--raised));
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--ring), 0 0 22px -2px var(--ring);
}
.avatar.mixed { --ring: var(--mixed); }
.avatar.caution { --ring: var(--caution); }
.family-sky .n { display: block; font-weight: 500; font-size: 14px; }
.family-sky .h { display: block; font-size: 12.5px; color: var(--faint); line-height: 1.35; margin-top: 2px; }
@media (max-width: 760px) { .sky-grid { grid-template-columns: 1fr; } }

/* Features */
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.features svg { width: 40px; height: 40px; color: var(--gold); margin-bottom: 12px; }
.features p { color: var(--muted); margin: 0; font-size: 15px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.facts { padding: 0; margin: 0; list-style: none; display: grid; gap: 14px; }
.facts li { padding-left: 28px; position: relative; color: var(--muted); }
.facts li::before { content: ''; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px; transform: rotate(45deg); background: var(--gold); }
.facts strong { color: var(--text); font-weight: 600; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--outline); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font: 500 1.15rem var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font: 300 1.6rem var(--sans); color: var(--gold); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 8px; }

/* Closing + footer */
.closing { position: relative; padding: 96px 0; background: radial-gradient(ellipse 60% 80% at 50% 100%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 70%); overflow: hidden; }
.closing .lede { margin: 0 auto; }
.footer { padding: 36px 0 48px; border-top: 1px solid var(--outline); }
.footer-row p { max-width: 760px; }

/* Life River */
:root {
  --p-sun: #F0A040; --p-moon: #D9DEF2; --p-mars: #E06C5C; --p-mercury: #6CC79A; --p-jupiter: #F2C85B;
  --p-venus: #E79BC4; --p-saturn: #7C8FD6; --p-rahu: #8E7BB8; --p-ketu: #B98E6A;
}
@media (prefers-color-scheme: light) {
  :root {
    --p-sun: #D9822B; --p-moon: #8A93B8; --p-mars: #C0503F; --p-mercury: #3F9A6E; --p-jupiter: #C99A2E;
    --p-venus: #C26A9A; --p-saturn: #4F62B0; --p-rahu: #6D5A9A; --p-ketu: #94694A;
  }
}
.rv { position: relative; margin-top: 30px; }
.rv-band { position: relative; height: 54px; }
.rv-seg {
  position: absolute; top: 0; bottom: 0; padding: 0 2px;
  animation: rv-in .6s var(--ease) both;
}
.rv-seg::before {
  content: ''; position: absolute; inset: 6px 1px; border-radius: 27px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 85%, white 15%), color-mix(in srgb, var(--c) 70%, var(--bg)));
  opacity: .78;
}
.rv-seg.cur::before { opacity: 1; inset: 0 1px; box-shadow: 0 0 24px -4px var(--c); }
.rv-seg span {
  position: relative; display: flex; align-items: center; justify-content: center; height: 100%;
  font: 600 13px var(--sans); color: #160F22; white-space: nowrap; overflow: hidden;
}
.rv-seg span em { font-style: normal; font-weight: 500; }
.rv-seg.tight span em { display: none; }
.rv-now { position: absolute; top: -26px; bottom: -6px; width: 2px; margin-left: -1px; background: var(--text); border-radius: 2px; }
.rv-now b { position: absolute; top: 0; left: 50%; transform: translateX(-50%); font: 600 11px var(--sans); color: var(--text); background: var(--raised); padding: 1px 6px; border-radius: 6px; letter-spacing: .04em; }
.rv-antar { position: relative; height: 8px; margin-top: 8px; }
.rv-sub { position: absolute; top: 0; bottom: 0; background: var(--c); opacity: .55; border-right: 1px solid var(--raised); }
.rv-sub.cur { opacity: 1; top: -2px; bottom: -2px; border-radius: 2px; }
.rv-ticks { position: relative; height: 18px; margin-top: 6px; border-top: 1px solid var(--outline); }
.rv-ticks span { position: absolute; top: 4px; transform: translateX(-50%); font-size: 11px; color: var(--faint); }
.rv-ticks span:first-child { transform: none; }
.rv-ticks span:last-child { transform: translateX(-100%); }
.rv-cap { margin: 12px 0 0; }
@keyframes rv-in { from { opacity: 0; transform: scaleX(.6); transform-origin: left; } }
@media (prefers-reduced-motion: reduce) { .rv-seg { animation: none; } }
@media (max-width: 640px) {
  .rv-seg span em { display: none; }
  .rv-band { height: 44px; }
}
