/* Kaal Chakra · night-sky palette from the prototype. The app is dark by design. */
:root {
  --bg: #16132B;
  --surface: #221E3D;
  --surface-2: #2A2550;
  --surface-3: #2E2950;
  --line: #3E3868;
  --line-2: #4A4378;
  --line-3: #7D75A8;
  --text: #F6F0E4;
  --text-2: #E4DEF2;
  --muted: #CFC8E0;
  --faint: #A9A2C4;
  --gold: #E8C77A;
  --accent: #F4A340;
  --teal: #7FD1C1;
  --ink: #1A1530;
  --radius: 18px;
  --serif: Marcellus, "Tiro Devanagari Sanskrit", Georgia, serif;
  --deva: "Tiro Devanagari Sanskrit", "Noto Serif Devanagari", serif;
  --sans: Inter, "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-text-size-adjust: 100%; }
body { min-height: 100dvh; }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #FFF3DC; outline-offset: 2px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Shell ---- */
.app { max-width: 480px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; position: relative; }
.topbar { display: flex; align-items: center; gap: 12px; padding: calc(14px + env(safe-area-inset-top)) 16px 8px; }
.brand { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-mark { flex: none; width: 40px; height: 53px; }
.brand-text { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.brand-name { display: flex; align-items: baseline; gap: 8px; }
.brand b { font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: .3px; }
.brand-name span { font-family: var(--deva); font-size: 17px; color: var(--accent); }
.brand-tag { font-family: var(--serif); font-size: 13px; letter-spacing: .3px; color: var(--gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-hi { font-family: var(--deva); font-size: 13px; line-height: 1.35; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 360px) {
  .topbar { gap: 8px; }
  .brand { gap: 8px; }
  .brand-mark { width: 30px; height: 40px; }
  .brand b { font-size: 22px; }
  .brand-tag { font-size: 11.5px; letter-spacing: 0; }
  .brand-hi { font-size: 12px; }
}
.icon-btn { width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--line); background: transparent; color: var(--text-2); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; flex-shrink: 0; }
.icon-btn svg { width: 20px; height: 20px; }
.preview-banner { margin: 0 16px 8px; padding: 8px 12px; border-radius: 12px; background: var(--surface-3); border: 1px dashed var(--line-3); color: var(--muted); font-size: 12px; line-height: 1.45; }
html[data-preview="false"] .preview-banner { display: none; }
#view { flex: 1; padding: 8px 16px calc(104px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px; outline: none; }

.tabbar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(22, 19, 43, .96); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); z-index: 10; backdrop-filter: blur(8px); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; min-height: 52px; justify-content: center; color: var(--faint); text-decoration: none; font-size: 11px; font-weight: 600; border-radius: 12px; }
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a[aria-current="page"] { color: var(--accent); }

#toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(88px + env(safe-area-inset-bottom)); width: calc(100% - 48px); max-width: 420px; padding: 12px 16px; border-radius: 14px; background: var(--text); color: var(--ink); font-size: 14px; font-weight: 500; text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,.35); z-index: 20; opacity: 0; pointer-events: none; transition: opacity .2s; }
#toast.show { opacity: 1; }

/* Text size (Settings): text is in rem, so this scales it. The top bar and tab bar stay fixed in px. */
html[data-text="large"] { font-size: 112.5%; }
html[data-text="larger"] { font-size: 125%; }

/* ---- Type ---- */
.eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: .8px; color: var(--faint); text-transform: uppercase; }
.title { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.2; }
.title-lg { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.15; }
.title-sm { font-family: var(--serif); font-weight: 400; font-size: 1.1875rem; line-height: 1.25; }
.deva { font-family: var(--deva); }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.gold { color: var(--gold); }
.accent { color: var(--accent); }
.small { font-size: 0.8125rem; line-height: 1.5; }
.tiny { font-size: 0.75rem; line-height: 1.5; }
.body { font-size: 0.9375rem; line-height: 1.6; color: var(--text-2); }
.story p { font-size: 1rem; line-height: 1.7; color: var(--text); }
.story { display: flex; flex-direction: column; gap: 12px; }
.center { text-align: center; }

/* ---- Layout ---- */
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-sm { display: flex; flex-direction: column; gap: 6px; }
.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.grow { flex: 1; min-width: 0; }
.wrap { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---- Surfaces ---- */
.card { padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.card.raised { background: var(--surface-2); border-color: var(--line-2); }
.card.gold-edge { border-color: #6A5F3A; background: var(--surface-2); }
.card.accent-edge { border-color: var(--accent); background: var(--surface-3); }
.card.dashed { border-style: dashed; border-color: var(--line-3); background: var(--surface-2); }
.card.flush { padding: 0; overflow: hidden; }
.stat { padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.stat b { font-weight: 600; font-size: 1.375rem; font-variant-numeric: tabular-nums; }
.stat span { font-size: 0.75rem; color: var(--faint); line-height: 1.35; }
.tile { min-height: 76px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.tile .eyebrow { letter-spacing: .8px; }
.tile b { font-size: 0.875rem; font-weight: 600; line-height: 1.3; }
.pill { font-size: 0.6875rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--surface-3); color: #DCD6EA; align-self: flex-start; white-space: nowrap; }
.pill.live { background: var(--teal); color: var(--ink); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); margin-right: 8px; vertical-align: middle; animation: live-blink 2s ease-in-out infinite; }
@keyframes live-blink { 50% { opacity: .3; } }
.pill.warn { background: #4A3A1E; color: var(--gold); }
.tag { font-size: 0.8125rem; padding: 6px 10px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--line); color: var(--text); }
.tag.text { border-radius: 8px; background: transparent; border-color: #6A5F3A; color: var(--gold); }

/* ---- Controls ---- */
.btn { min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); font-size: 0.875rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn svg { width: 18px; height: 18px; }
.btn.primary { border: none; background: var(--accent); color: var(--ink); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--text-2); }
.btn.dashed { background: transparent; border: 1px dashed var(--line-3); }
.btn.block { width: 100%; }
.btn.lg { min-height: 52px; font-size: 0.9375rem; border-radius: 14px; }
.btn:disabled { opacity: .4; cursor: default; }
.chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); font-size: 0.8125rem; font-weight: 600; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.seg { display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface); }
.seg.outline { background: transparent; border: 1px solid var(--line); padding: 3px; border-radius: 12px; }
.seg button { min-height: 38px; border: none; border-radius: 10px; background: transparent; color: #DCD6EA; font-size: 0.8125rem; font-weight: 600; padding: 0 6px; }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--ink); }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.input, select.input, textarea.input { width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font-size: 0.9375rem; }
textarea.input { resize: vertical; min-height: 84px; line-height: 1.5; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--faint) 50%), linear-gradient(135deg, var(--faint) 50%, transparent 50%); background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.radio-row { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); font-size: 0.875rem; color: var(--text-2); }
.radio-row input { accent-color: var(--accent); }

/* ---- Panchang ---- */
.panchang-main { font-family: var(--serif); font-size: 1.625rem; line-height: 1.15; }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.kv div { display: flex; flex-direction: column; gap: 2px; }
.kv dt { font-size: 0.75rem; color: var(--faint); }
.kv dd { margin: 0; font-size: 0.875rem; font-weight: 600; }

/* Full panchang */
.date-nav { display: flex; align-items: center; gap: 8px; }
.seg a { min-height: 38px; border-radius: 10px; color: #DCD6EA; font-size: 0.8125rem; font-weight: 600; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.seg a[aria-pressed="true"] { background: var(--accent); color: var(--ink); }
.pc { margin: 0; display: flex; flex-direction: column; }
.pc-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.pc-row:first-child { border-top: 0; }
.pc-row dt { font-size: 0.75rem; color: var(--faint); padding-top: 2px; }
.pc-row dd { margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: 0.875rem; font-weight: 600; }
.pc-row dd .faint { font-weight: 500; }
.timing { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--bg); border-left: 3px solid var(--line-2); font-size: 0.875rem; }
.timing.good { border-left-color: var(--gold); }
.timing.avoid { border-left-color: #9C6B8E; }
.timing.now { background: var(--surface-3); }
.timing .t { font-weight: 600; text-align: right; display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.timing b { font-weight: 600; }

.pc-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; }
.pc-actions .btn { padding: 0 8px; white-space: nowrap; }

.cal-toggle { width: 100%; color: var(--text); text-align: left; }
.cal-toggle svg { width: 22px; height: 22px; display: block; }
.cal-chev svg { width: 18px; height: 18px; color: var(--faint); transition: transform .15s; }
.cal-toggle[aria-expanded="true"] .cal-chev svg { transform: rotate(90deg); }

/* "Apps coming soon" banner on Aaj */
.app-soon { display: flex; align-items: center; gap: 12px; padding: 10px 8px 10px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2); }
.app-soon-icon { color: var(--accent); flex: none; display: flex; }
.app-soon-icon svg { width: 22px; height: 22px; }
.app-soon .small { color: var(--text-2); }
.app-soon-close { width: 36px; height: 36px; border: 0; }
.app-soon-close svg { width: 18px; height: 18px; }

/* Month calendar */
.cal-week, .cal-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-week span { text-align: center; font-size: 0.6875rem; font-weight: 600; color: var(--faint); padding: 4px 0; }
.cal-day { min-height: 58px; padding: 6px 2px 4px; border-radius: 10px; background: var(--bg); border: 1px solid transparent; color: var(--text); text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.cal-day b { font-size: 0.9375rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.cal-day.krishna { background: #120F24; }
.cal-day.today { border-color: var(--accent); }
.cal-t { font-size: 0.625rem; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 2px; max-width: 100%; overflow: hidden; }
.moon { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.moon.full { background: var(--gold); }
.moon.new { border: 1.5px solid var(--faint); }
.cal-dots { display: flex; gap: 3px; min-height: 6px; }
.cal-dots i { width: 6px; height: 6px; border-radius: 50%; }

/* Share picture sheet */
.sheet-overlay { position: fixed; inset: 0; z-index: 30; background: rgba(8, 6, 18, .78); display: flex; align-items: center; justify-content: center; padding: 16px; }
.sheet-box { width: 100%; max-width: 420px; max-height: 100%; overflow: auto; padding: 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line-2); }
.sheet-box img { display: block; width: 100%; height: auto; border-radius: 12px; max-height: 60vh; object-fit: contain; }

/* Welcome and About */
body[data-route="welcome"] .tabbar { display: none; }
body[data-route="welcome"] #view { max-width: 480px; margin: 0 auto; }
.welcome { padding-top: 8px; }
.welcome-mark { width: 96px; height: 126px; align-self: center; }
.about-mark { width: 48px; height: 63px; }
.welcome-tag { font-family: var(--serif); font-size: 1.125rem; color: var(--gold); }
.welcome-list, .plain-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.welcome-list { font-size: 0.9375rem; line-height: 1.5; color: var(--text-2); }
.plain-list { gap: 6px; }

/* ---- Mala ---- */
.mala-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mala { position: relative; width: 220px; height: 220px; }
.mala svg { position: absolute; inset: 0; }
.mala-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.mala-center b { font-weight: 500; font-size: 2.75rem; line-height: 1; font-variant-numeric: tabular-nums; }

/* ---- Steps ---- */
.step { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.step-head { width: 100%; min-height: 64px; padding: 12px 16px; border: none; background: transparent; display: flex; align-items: center; gap: 12px; text-align: left; color: var(--text); }
.step-mark { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8125rem; font-weight: 600; border: 2px solid var(--line-3); color: var(--muted); }
.step[data-state="open"] .step-mark { border-color: var(--text); color: var(--text); }
.step[data-state="done"] .step-mark { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.step-body { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.shloka-dev { font-family: var(--deva); font-size: 1.1875rem; line-height: 1.65; color: var(--gold); white-space: pre-line; }
.shloka-iast { font-size: 0.8125rem; line-height: 1.5; font-style: italic; color: var(--muted); }

/* ---- Leela ---- */
.ep-art { display: block; width: 100%; height: auto; background: #1C1838; }
.progress { height: 8px; border-radius: 4px; background: var(--bg); overflow: hidden; }
.progress > i { display: block; height: 100%; border-radius: 4px; background: var(--accent); }
.progress.thin { height: 6px; }
.progress.thin > i { background: var(--gold); }

/* ---- Kaal Chakra ---- */
.spiral { position: relative; width: 100%; max-width: 390px; aspect-ratio: 390 / 340; margin: 0 auto; }
.spiral svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.node { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: none; background: transparent; display: flex; align-items: center; justify-content: center; }
.node span { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 600; background: var(--surface-2); color: var(--text-2); border: 2px solid var(--line-3); }
.node.passed span { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.node[aria-current="true"] span { width: 36px; height: 36px; font-size: 0.9375rem; background: var(--accent); border-color: #FFF3DC; color: var(--ink); box-shadow: 0 0 0 7px rgba(244,163,64,.22); }
.sheet { border-radius: 24px; background: var(--surface); border: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 14px; }

/* ---- Japa ---- */
.japa { position: relative; width: 260px; height: 260px; margin: 0 auto; }
.japa svg { position: absolute; inset: 0; }
.japa-tap { position: absolute; left: 26px; top: 26px; width: 208px; height: 208px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); color: var(--text); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none; transition: box-shadow .12s, transform .08s; }
.japa-tap:active { transform: scale(.98); }
.japa-tap.pulse { box-shadow: 0 0 0 12px rgba(244,163,64,.18); }
.japa-tap .deva { color: var(--gold); line-height: 1.2; text-align: center; padding: 0 14px; }

/* ---- Yatra ---- */
.route-map { position: relative; width: 100%; aspect-ratio: 350 / 150; border-radius: var(--radius); background: #1C1838; border: 1px solid var(--line); overflow: hidden; }
.route-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stop { border-radius: 14px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.stop-head { width: 100%; min-height: 56px; padding: 10px 14px; border: none; background: transparent; display: flex; align-items: center; gap: 12px; text-align: left; color: var(--text); }
.stop-dot { width: 14px; height: 14px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--line-3); }
.stop-dot.reached { background: var(--gold); border-color: var(--gold); }
.stop-dot.next { border-color: var(--accent); }
.stop-body { padding: 0 14px 14px 40px; display: flex; flex-direction: column; gap: 10px; }
.walker { display: flex; align-items: center; gap: 10px; font-size: 0.8125rem; }

/* ---- Lists ---- */
.list-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.dot { width: 10px; height: 10px; flex-shrink: 0; border-radius: 50%; }
.avatar { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--line-3); background: var(--bg); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1rem; color: var(--muted); }
.avatar.memory { border-color: var(--gold); color: var(--gold); }
.when { font-size: 0.75rem; font-weight: 600; white-space: nowrap; text-align: right; }

/* Two-column screens: on phones the columns simply stack, so the order is unchanged. */
.cols, .col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* Keyboard hint on the japa button: "Tap to chant" on touch, "Click or press Space" with a mouse. */
.hint-key { display: none; }

@media (min-width: 520px) {
  body { background: #100E20; }
  .app { background: var(--bg); box-shadow: 0 0 0 1px #221E3D; }
}

/* ---- Desktop: top navigation, wider content, two columns ---- */
@media (min-width: 960px) {
  body { background: var(--bg); }
  .app {
    max-width: 1120px; padding: 0 32px; box-shadow: none;
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 24px;
    grid-template-rows: auto auto 1fr; grid-template-areas: "brand nav set" "banner banner banner" "view view view";
    align-content: start;
  }
  .topbar { display: contents; }
  .brand { grid-area: brand; align-self: center; padding: 20px 0 16px; }
  .topbar .icon-btn { grid-area: set; align-self: center; }
  .tabbar {
    grid-area: nav; position: static; transform: none; width: auto; max-width: none; align-self: center;
    display: flex; justify-content: center; gap: 4px; padding: 0; background: none; border: 0; backdrop-filter: none;
  }
  .tabbar a { flex-direction: row; gap: 8px; min-height: 40px; padding: 0 14px; font-size: 14px; color: var(--muted); }
  .tabbar a svg { width: 18px; height: 18px; }
  .tabbar a[aria-current="page"] { background: var(--surface); color: var(--accent); }
  .preview-banner { grid-area: banner; margin: 0 0 12px; }
  #view { grid-area: view; justify-self: center; width: 100%; max-width: 720px; padding: 8px 0 56px; }
  #view.wide { max-width: none; }
  .cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .cols.lean-right { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .cols.sticky-side > .col:last-child { position: sticky; top: 16px; }
  #toast { bottom: 32px; }
}

/* ---- Hover, only for devices with a real pointer ---- */
@media (hover: hover) and (pointer: fine) {
  .hint-touch { display: none; }
  .hint-key { display: inline; }
  .btn:hover:not(:disabled) { border-color: var(--line-3); background: var(--surface-3); }
  .btn.primary:hover:not(:disabled) { background: #F7B460; }
  .btn.ghost:hover:not(:disabled) { background: var(--surface); color: var(--text); }
  .chip:hover:not([aria-pressed="true"]) { border-color: var(--line-3); color: var(--text); }
  .seg button:hover:not([aria-pressed="true"]) { background: var(--surface-2); color: var(--text); }
  .icon-btn:hover { border-color: var(--line-3); color: var(--text); }
  .tabbar a:hover:not([aria-current="page"]) { color: var(--text); }
  .tile:hover, a.list-row:hover, button.list-row:hover { border-color: var(--line-3); }
  .step-head:hover, .stop-head:hover { background: var(--surface-2); }
  .japa-tap:hover { border-color: var(--line-3); }
  .node:hover span { border-color: var(--accent); }
  a:hover { text-decoration-thickness: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
