/* Roadyom's one visual spirit (ADR-0088, evolved to Liquid Glass in ADR-0247): light glass, as on roadyom.com's reading
   page, now with iOS-26 Liquid-Glass depth — a softly vivid ambient the glass refracts, a brighter lit top edge, a faint
   inner floor for depth, stronger-but-legible frost. Every Roadyom interface takes its surfaces, type and signal colour
   from here, so the products read as one family. A governing file: change a value here, never in an app. No dark
   full-screen backgrounds (owner, 2026-11-10); glass stays tinted enough to keep ink text legible; rose only where it
   carries meaning. */
:root {
  --ry-ink: #1d1d1f; --ry-graphite: #151719; --ry-paper: #fbfbfd; --ry-mineral: #F3F1EC; --ry-silver: #C9CED1; --ry-rose: #8A1F3D; --ry-mute: #5c6166;
  --ry-ambient: linear-gradient(165deg,#FBFAFC,#F4F3F8);
  --ry-glass: rgba(255,255,255,.94); --ry-glass-clear: rgba(255,255,255,.14); --ry-glass-blur: blur(32px) saturate(195%);
  /* Liquid Glass material (ADR-0249): a lensy sheen with a top-left specular bloom, kept translucent so the ambient refracts through. */
  --ry-glass-sheen: linear-gradient(160deg, rgba(255,255,255,.2), rgba(255,255,255,.06));
  --ry-edge: 1px solid rgba(21,23,25,.05); --ry-edge-top: rgba(255,255,255,.95);
  /* top specular line + a bright rim all around (the glass edge catching light) + inner depth floor + two float layers */
  --ry-shadow: inset 0 1.5px 0 rgba(255,255,255,.95), inset 0 0 0 1px rgba(255,255,255,.4), inset 0 -10px 24px rgba(120,100,160,.08), 0 1px 2px rgba(25,20,40,.05), 0 14px 30px -12px rgba(45,35,70,.16), 0 42px 80px -34px rgba(45,35,70,.2);
  --ry-shadow-lg: inset 0 2px 0 rgba(255,255,255,.96), inset 0 0 0 1px rgba(255,255,255,.45), inset 0 -12px 30px rgba(120,100,160,.1), 0 2px 3px rgba(25,20,40,.06), 0 22px 44px -14px rgba(45,35,70,.2), 0 60px 110px -40px rgba(45,35,70,.26);
  --ry-radius: 28px; --ry-radius-s: 22px; --ry-chip-soft: rgba(21,23,25,.05);
  --ry-tight: -.03em; --ry-tighter: -.05em;
}
.ry-ambient { color: var(--ry-ink); background: var(--ry-ambient); }
.ry-glass { background: var(--ry-glass); border: var(--ry-edge); border-top-color: var(--ry-edge-top); box-shadow: var(--ry-shadow); border-radius: var(--ry-radius); }
.ry-glass-lg { box-shadow: var(--ry-shadow-lg); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { @media all {
  .ry-glass { background: var(--ry-glass-sheen, var(--ry-glass-clear)); -webkit-backdrop-filter: var(--ry-glass-blur); backdrop-filter: var(--ry-glass-blur); } } }
.ry-title { font-weight: 600; letter-spacing: var(--ry-tight); color: var(--ry-ink); }
.ry-num { font-weight: 600; letter-spacing: var(--ry-tighter); color: var(--ry-ink); font-variant-numeric: tabular-nums; }
.ry-kicker { font-size: 12px; font-weight: 600; color: var(--ry-rose); }
.ry-chip { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--ry-chip-soft); color: var(--ry-ink); }
.ry-chip-signal { background: var(--ry-rose); color: #fff; } .ry-chip-ink { background: var(--ry-ink); color: #fff; }

/* Bottom tab bar and its "More" sheet (ADR-0090): a floating glass capsule, icon above label, up to five places.
   The selected place is ink on a soft chip; rose is kept for the badge alone. */
.ry-tabbar { position: fixed; inset-inline: 0; bottom: calc(10px + env(safe-area-inset-bottom)); margin-inline: auto; width: min(440px, calc(100% - 24px)); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; padding: 6px; border-radius: 30px; z-index: 5; box-shadow: var(--ry-shadow-lg); }
.ry-tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; padding: 6px 2px 5px; border: 0; background: none; color: var(--ry-mute); font: inherit; font-size: 11px; font-weight: 600; line-height: 1.2; border-radius: 24px; cursor: pointer; transition: background .25s ease, color .25s ease, transform .15s ease; -webkit-tap-highlight-color: transparent; }
.ry-tab:active { transform: scale(.96); }
.ry-tab[aria-current], .ry-sheet-row[aria-current] { color: var(--ry-ink); background: var(--ry-chip-soft); }
.ry-tab svg, .ry-sheet-row svg { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ry-tab svg.ry-dots, .ry-sheet-row svg.ry-dots { stroke-width: 2.6; }
.ry-tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ry-badge { min-width: 18px; padding: 0 5px; border-radius: 999px; background: var(--ry-rose); color: #fff; font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.ry-tab .ry-badge { position: absolute; top: 1px; inset-inline-start: calc(50% + 9px); }
.ry-sheet-back { position: fixed; inset: 0; z-index: 4; display: flex; align-items: flex-end; justify-content: center; background: rgba(21,23,25,.18); animation: ry-fade .2s ease; }
.ry-sheet { width: min(440px, calc(100% - 24px)); margin-bottom: calc(84px + env(safe-area-inset-bottom)); padding: 8px; max-height: calc(100dvh - 180px); overflow: auto; display: flex; flex-direction: column; gap: 2px; animation: ry-rise .32s cubic-bezier(.19,1,.22,1); }
.ry-grab { align-self: center; width: 36px; height: 4px; margin: 2px 0 6px; border-radius: 999px; background: rgba(21,23,25,.14); }
.ry-sheet-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; padding: 12px 14px; border: 0; background: none; color: var(--ry-ink); font: inherit; font-weight: 600; text-align: start; border-radius: 18px; cursor: pointer; }
.ry-sheet-row span { flex: 1; }
@keyframes ry-rise { from { transform: translateY(18px); opacity: 0; } } @keyframes ry-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ry-sheet, .ry-sheet-back { animation: none; } }

/* Reduce Transparency: opaque surfaces. Written as an override because Safari does not know this media feature —
   gating the glass on `no-preference` switched it off on every iPhone. */
@media (prefers-reduced-transparency: reduce) {
  .ry-glass, .glass, .v3-card, .v3-flat, .v3-dis, .gl-card, .ch-neo .co-tile, .ch-neo .co-cell, .ch-neo .co-end, .ch-neo .ch-ovd li, .ch-neo .ch-card:not(.ch-orgc) { background: var(--ry-glass); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .v3-hero { background: linear-gradient(155deg, #A02A4E 0%, #7A1834 70%, #5E1229 100%); } .v3-today { background: linear-gradient(160deg, #9C2547 0%, #741631 100%); } .rounds.hero { background: linear-gradient(150deg, #8A1F3D 0%, #6E1830 100%); }
  .v3-hero, .v3-today, .rounds.hero { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
