/* Copyright (c) 2026 Jared Almoete. All rights reserved. See LICENSE. */
/* FACETS: the whole look. 1) tokens  2) page chrome  3) screen layout (.yv ...)  4) the observatory layer on top. */
@font-face { font-family: 'Tenor Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/tenor-sans-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Tenor Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/tenor-sans-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../assets/fonts/jost-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../assets/fonts/jost-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jost'; font-style: italic; font-weight: 100 900; font-display: swap; src: url('../assets/fonts/jost-latin-wght-italic.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: italic; font-weight: 100 900; font-display: swap; src: url('../assets/fonts/jost-latin-ext-wght-italic.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('../assets/fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('../assets/fonts/atkinson-hyperlegible-next-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* 1) Tokens. One palette: black, ivory and antique gold. Lenses are told apart by shades of gold, bronze and pewter, never by new hues. */
:root {
  color-scheme: light;
  --bg: #EFEBE2; --surface: #F8F5EE; --panel: #E4DED2; --ink: #0F0E0C; --ink-2: #4D473D;
  --rule: #D6CFC1; --rule-strong: #8B8273; --gold: #7A5A1C; --gold-soft: rgba(122, 90, 28, .12); --on-gold: #F8F5EE;
  --serif: 'Tenor Sans', 'Optima', 'Candara', 'Avenir Next', system-ui, sans-serif;     /* display: refined, without serifs */
  --sans: 'Atkinson Hyperlegible Next', system-ui, -apple-system, 'Segoe UI', sans-serif;   /* text */
  --mono: 'Jost', 'Futura', 'Avenir Next', system-ui, sans-serif;                        /* small capitals for labels */
  --radius: 6px; --wrap: 1120px; --gutter: clamp(18px, 4vw, 44px); --header-h: 64px; --fs-ui: .9375rem;
  --err: #A3261E; --moon-l: #F5EFDF; --moon-d: #3A352E;
  --glass: color-mix(in srgb, var(--surface) 78%, transparent);
}
:root[data-theme="dark"] { color-scheme: dark; --bg: #080808; --surface: #0F0E0C; --panel: #171512; --ink: #EDE6D6; --ink-2: #A39A88; --rule: #262320; --rule-strong: #5E574C; --gold: #C9A45C; --gold-soft: rgba(201, 164, 92, .13); --on-gold: #0B0A08; --err: #FF8F86; --moon-l: #EDE6D6; --moon-d: #2B2824; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: dark; --bg: #080808; --surface: #0F0E0C; --panel: #171512; --ink: #EDE6D6; --ink-2: #A39A88; --rule: #262320; --rule-strong: #5E574C; --gold: #C9A45C; --gold-soft: rgba(201, 164, 92, .13); --on-gold: #0B0A08; --err: #FF8F86; --moon-l: #EDE6D6; --moon-d: #2B2824; } }

/* 2) Page chrome */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); overflow-x: hidden; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { top: 10px; }
.bar { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.bar__in { max-width: var(--wrap); height: 100%; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.375rem/1 var(--serif); letter-spacing: -.03em; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand svg { width: 26px; height: 26px; }
.bar__r { display: flex; gap: 8px; align-items: center; }
.iconbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); color: var(--ink); font: 600 var(--fs-ui)/1 var(--sans); cursor: pointer; }
.iconbtn:hover { border-color: var(--ink); }
.iconbtn svg { width: 18px; height: 18px; }
.loading { max-width: var(--wrap); margin: 0 auto; padding: 80px var(--gutter); font: 800 2rem/1.1 var(--serif); letter-spacing: -.03em; }
.foot { border-top: 1px solid var(--rule); margin-top: 40px; }
.foot__in { max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gutter) 48px; display: grid; gap: 10px; color: var(--ink-2); font-size: .9375rem; }
.foot__by { font: 700 1.0625rem/1.3 var(--serif); letter-spacing: -.01em; color: var(--ink); margin: 0; }
.foot p { margin: 0; max-width: 76ch; }
.foot details summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; color: var(--ink); }
.foot details ul { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 6px; max-width: 80ch; }

/* 3) Screen layout */
.yv {
  --on-ink: var(--bg); --muted: var(--ink-2); --line: var(--rule); --soft: var(--panel); --on-lens: var(--bg);
  --f-display: var(--serif); --f-body: var(--sans); --f-mono: var(--sans); --accent: var(--ink);
}
.yv * { box-sizing: border-box; }
.yv {
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.yv button, .yv input, .yv textarea { font: inherit; color: inherit; }
.yv button { cursor: pointer; }
.yv :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.yv [tabindex="-1"]:focus { outline: none; }
.yv h1, .yv h2, .yv h3, .yv p { margin: 0; }
.yv p { max-width: 64ch; }
.yv .display { font-family: var(--f-display); font-weight: 500; letter-spacing: -0.01em; text-wrap: balance; }
.yv .mono { font: 500 12px/1.4 var(--f-mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.yv .muted { color: var(--muted); }
.yv {
  max-width: 1040px;
  margin: 0 auto;
  padding-block: 16px 112px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.yv .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin-bottom: 18px; }
.yv .brand { display: flex; align-items: center; gap: 10px; font: italic 500 26px/1 var(--f-display); letter-spacing: -0.01em; }
.yv .brand svg { width: 26px; height: 26px; display: block; }
.yv .top-r { display: flex; align-items: center; gap: 10px; }
.yv .theme-btn { width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; }
.yv .theme-btn .ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.yv .theme-btn:hover { border-color: var(--muted); }
.yv .tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; gap: 6px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-top: 8px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.yv .tabs button {
  flex: 1; min-height: 44px; border: 0; border-radius: 999px; background: transparent;
  font-weight: 600; font-size: 15px; color: var(--muted);
}
.yv .tabs button[aria-current="page"] { background: var(--ink); color: var(--on-ink); }
@media (min-width: 860px) {
.yv { padding-block: 24px 80px; }
.yv .tabs { position: static; background: none; border: 0; padding: 0; }
.yv .tabs button { flex: none; padding: 0 18px; }
}
.yv .btn {
  appearance: none; border: 1px solid var(--ink); background: var(--ink); color: var(--on-ink);
  min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 16px;
}
.yv .btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.yv .btn.sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.yv .btn[disabled] { opacity: 0.5; cursor: default; }
.yv .link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; font-weight: 500; color: var(--ink); }
.yv .back { background: none; border: 0; padding: 8px 0; margin-bottom: 8px; color: var(--muted); font-weight: 500; font-size: 15px; }
.yv .actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.yv .field { display: grid; gap: 6px; margin-bottom: 18px; }
.yv .field > label { font-weight: 600; font-size: 14px; }
.yv .field small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.yv .field input[type="text"], .yv .field input[type="date"], .yv .field input[type="time"], .yv .field input[type="search"] {
  width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); font-size: 16px;
}
.yv .field input[disabled] { opacity: 0.5; }
.yv .err { color: var(--err); font-size: 14px; font-weight: 500; min-height: 20px; }
.yv .check { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.yv .check input { width: 20px; height: 20px; accent-color: var(--ink); }
.yv .wheel { display: block; width: 100%; height: auto; }
.yv .wheel .tick { stroke: var(--line); stroke-width: 1; }
.yv .wheel .tick.major { stroke: var(--muted); }
.yv .seg { stroke-width: 1.4; transition: opacity 0.15s; }
.yv .seg.on { fill: var(--c); stroke: var(--c); }
.yv .seg.off { fill: var(--soft); stroke: var(--c); stroke-dasharray: 3 3; }
.yv .seg.mini { stroke: none; }
.yv .seg[data-act] { cursor: pointer; }
.yv .seg[data-act]:hover { opacity: 0.82; }
.yv .seg:focus-visible { outline: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: none; }
.yv .w-num { font: 500 12px var(--f-mono); text-anchor: middle; pointer-events: none; }
.yv .w-num.on { fill: var(--on-lens); }
.yv .wheel .w-arc { fill: var(--c); opacity: 0.9; }
.yv .wheel.dense .w-num { font-size: 9px; letter-spacing: -0.2px; }
.yv .wheel.dense .seg { stroke-width: 1; }
.yv .wheel.dense .w-big { font-size: 40px; }
.yv .w-num.off { fill: var(--ink); }
.yv .w-big { font: 500 66px var(--f-display); fill: var(--ink); text-anchor: middle; }
.yv .w-small { font: 500 11px var(--f-mono); letter-spacing: 0.12em; fill: var(--muted); text-anchor: middle; text-transform: uppercase; }
.yv .hero-title { font-size: clamp(52px, 15vw, 92px); line-height: 0.92; margin: 6px 0 16px; }
.yv .lede { font-size: 19px; line-height: 1.45; color: var(--muted); max-width: 30ch; }
.yv .setup { display: grid; gap: 36px; margin-top: 28px; }
.yv .preview { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: grid; gap: 16px; }
.yv .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.yv .fact .v { font: 500 26px/1.1 var(--f-display); margin-top: 4px; overflow-wrap: anywhere; }
.yv .privacy { font-size: 13px; color: var(--muted); margin-top: 14px; }
@media (min-width: 860px) {
.yv .setup { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
}
.yv .hub { display: grid; gap: 22px; }
.yv .hub-title { font-size: clamp(38px, 10vw, 56px); line-height: 1; margin-top: 4px; }
.yv .wheel-wrap { max-width: 360px; width: 100%; margin: 0 auto; }
.yv .notice {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.5;
  background: var(--soft); background: color-mix(in srgb, var(--c, var(--ink)) 9%, var(--surface));
}
.yv .notice + .notice { margin-top: 8px; }
.yv .rows { border-top: 1px solid var(--line); }
.yv .row-group { padding: 18px 2px 8px; border-bottom: 1px solid var(--line); }
.yv .row-group:first-child { padding-top: 10px; }
.yv .lens-row {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line);
  padding: 15px 2px; color: inherit;
}
.yv .lens-row:hover { background: var(--soft); background: color-mix(in srgb, var(--c) 7%, transparent); }
.yv .idx {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font: 500 12px var(--f-mono); border: 1.5px solid var(--c); color: var(--ink);
}
.yv .idx.done { background: var(--c); color: var(--on-lens); }
.yv .lr-name { display: block; font-weight: 600; }
.yv .lr-meta { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.yv .lr-result { font: 500 18px/1.2 var(--f-display); text-align: right; max-width: 11em; overflow-wrap: anywhere; }
.yv .lr-result.todo { font: 600 13px/1.3 var(--f-body); color: var(--muted); }
@media (min-width: 860px) {
.yv .hub { grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 56px; align-items: start; }
.yv .hub-side { position: sticky; top: 24px; }
}
.yv .lens-wrap, .yv .mirror-wrap, .yv .you-wrap, .yv .quiz-wrap { max-width: 720px; margin: 0 auto; }
.yv .eyebrow { display: flex; align-items: center; gap: 8px; }
.yv .eyebrow .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.yv .result-title { font-size: clamp(46px, 14vw, 88px); line-height: 0.95; margin: 12px 0 8px; }
.yv .result-sub { margin-bottom: 20px; }
.yv .block { padding: 22px 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.yv .block h2 { font: 500 30px/1.1 var(--f-display); letter-spacing: -0.01em; }
.yv .block .words { font: italic 500 18px/1.35 var(--f-display); color: var(--muted); }
.yv .block p.edge { color: var(--ink); }
.yv .block p.edge b { font-weight: 700; }
.yv .fit { padding: 22px 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.yv .fit h2, .yv .reflect h2 { font: 600 15px/1.3 var(--f-body); }
.yv .seg-ctl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.yv .seg-ctl button { min-height: 46px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; font-weight: 600; font-size: 14px; padding: 0 6px; }
.yv .seg-ctl button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.yv .reflect { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: grid; gap: 14px; }
.yv .reflect .prompt { font: italic 500 22px/1.3 var(--f-display); text-wrap: balance; }
.yv .reflect textarea {
  width: 100%; min-height: 96px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); font-size: 16px; line-height: 1.5; resize: vertical;
}
.yv details.about { border-top: 1px solid var(--line); padding: 18px 0; margin-top: 22px; }
.yv details.about summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.yv details.about .about-body { display: grid; gap: 12px; margin-top: 12px; color: var(--muted); font-size: 15px; }
.yv details.about .about-body b { color: var(--ink); }
.yv .pager { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 8px; }
.yv .pager button { background: none; border: 0; text-align: left; font-weight: 500; color: var(--ink); max-width: 48%; padding: 6px 0; }
.yv .pager button:last-child { text-align: right; margin-left: auto; }
.yv .pager small { display: block; color: var(--muted); font: 500 11px var(--f-mono); letter-spacing: 0.07em; text-transform: uppercase; }
.yv .intro-box { display: grid; gap: 16px; margin: 8px 0 24px; }
.yv .intro-box p { font-size: 18px; line-height: 1.5; }
.yv .viz { display: grid; gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); }
.yv .track { position: relative; height: 10px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.yv .track > i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--c); border-radius: 999px; }
.yv .track.axis { overflow: visible; }
.yv .track .mid { position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--muted); opacity: 0.6; }
.yv .track .pin { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--c); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--c); }
.yv .fill-row, .yv .axis-row, .yv .score-row { display: grid; gap: 8px; }
.yv .fr-head, .yv .ax-names { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.yv .fill-row p { font-size: 14px; color: var(--muted); }
.yv .score-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; align-items: baseline; }
.yv .score-row .track { grid-column: 1 / -1; }
.yv .score-row.lead .sr-label { font-weight: 700; }
.yv .viz-note { font-size: 13px; color: var(--muted); }
.yv .plot { width: 100%; max-width: 360px; height: auto; display: block; margin: 0 auto; }
.yv .plot .axis-line { stroke: var(--line); stroke-width: 1; }
.yv .plot .mid-line { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 4; }
.yv .plot .q-label { font: 500 10px var(--f-mono); letter-spacing: 0.08em; fill: var(--muted); text-transform: uppercase; }
.yv .plot .q-label.hot { fill: var(--ink); font-weight: 700; }
.yv .plot .dot { fill: var(--c); stroke: var(--surface); stroke-width: 3; }
.yv .plot .ax-title { font: 500 10px var(--f-mono); letter-spacing: 0.08em; fill: var(--muted); text-transform: uppercase; }
.yv .plot .region { fill: var(--c); opacity: 0.1; }
.yv .quiz-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.yv .progress { height: 4px; border-radius: 99px; background: var(--soft); overflow: hidden; margin: 14px 0 30px; }
.yv .progress i { display: block; height: 100%; background: var(--c); transition: width 0.2s; }
.yv .q { font: 500 clamp(26px, 7vw, 38px)/1.15 var(--f-display); letter-spacing: -0.01em; text-wrap: balance; margin-bottom: 26px; }
.yv .opts { display: grid; gap: 10px; }
.yv .opt {
  min-height: 54px; text-align: left; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 14px;
  background: var(--surface); font-weight: 500; font-size: 16px; line-height: 1.35;
}
.yv .opt:hover { background: var(--soft); }
.yv .opt[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--surface); }
.yv .opt.choice { padding: 18px 16px; font-size: 17px; }
.yv .opt .tag { display: block; font: 500 11px var(--f-mono); letter-spacing: 0.08em; color: var(--muted); margin-bottom: 4px; text-transform: uppercase; }
.yv .mirror-title, .yv .you-title { font-size: clamp(40px, 11vw, 64px); line-height: 1; margin: 4px 0 10px; }
.yv .section { padding: 26px 0; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.yv .section > h2 { font: 500 28px/1.1 var(--f-display); letter-spacing: -0.01em; }
.yv .legend { display: flex; flex-wrap: wrap; gap: 8px; }
.yv .chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-size: 13px; line-height: 1.3;
  background: var(--soft); background: color-mix(in srgb, var(--c) 14%, var(--surface));
  border: 1px solid var(--line); border-color: color-mix(in srgb, var(--c) 40%, var(--line));
}
.yv .chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.yv .tmap { display: grid; gap: 4px; }
.yv .theme-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) 22px; gap: 12px; align-items: center; padding: 5px 0; }
.yv .theme-row .tn { font-weight: 600; font-size: 15px; }
.yv .stack { display: flex; height: 16px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.yv .stack i { display: block; height: 100%; background: var(--c); border-right: 2px solid var(--surface); }
.yv .stack i:last-child { border-right: 0; }
.yv .theme-row .n { font: 500 12px var(--f-mono); color: var(--muted); text-align: right; }
.yv .top-theme { display: grid; gap: 10px; padding: 4px 0 14px; }
.yv .top-theme h3 { font: 500 32px/1.05 var(--f-display); letter-spacing: -0.01em; }
.yv .tension h3 { font: 500 28px/1.1 var(--f-display); }
.yv .tension .vs { font-family: var(--f-mono); font-size: 14px; color: var(--muted); padding: 0 6px; }
.yv .qs { display: grid; gap: 0; }
.yv .qs p { font: italic 500 21px/1.35 var(--f-display); padding: 16px 0; border-top: 1px solid var(--line); text-wrap: balance; }
.yv .qs p:first-child { border-top: 0; padding-top: 4px; }
.yv .status { font-size: 14px; color: var(--muted); min-height: 20px; }
.yv .copybox { width: 100%; min-height: 150px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font: 14px/1.5 var(--f-mono); }
.yv .dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 18px; margin: 0; }
.yv .dl dt { color: var(--muted); font-size: 14px; }
.yv .dl dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.yv .read-guide { display: grid; gap: 12px; }
.yv .read-guide p { color: var(--muted); }
.yv .read-guide b { color: var(--ink); }
@media (max-width: 380px) {
.yv .facts { grid-template-columns: 1fr 1fr; }
.yv .theme-row { grid-template-columns: 78px minmax(0, 1fr) 20px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
.yv *, .yv *::before, .yv *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.yv .block { scroll-margin-top: 12px; gap: 10px; }
.yv .block .lead { display: grid; gap: 10px; }
.yv .block .lead p { font-size: 18px; line-height: 1.55; }
.yv .deep { display: grid; gap: 26px; margin-top: 18px; }
.yv .deep-sec { display: grid; gap: 9px; }
.yv .deep-sec h3 { font: 600 17px/1.3 var(--f-body); letter-spacing: 0; }
.yv .deep-sec p { line-height: 1.7; }
.yv .jumps { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 8px; }
.yv button.chip { font: inherit; font-size: 13px; color: inherit; cursor: pointer; min-height: 36px; padding: 5px 13px; }
.yv button.chip:hover { border-color: var(--c); }
.yv details.more { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
.yv details.more > summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.yv details.more .deep { margin-top: 20px; }
.yv details.about.inner { margin-top: 14px; padding: 14px 0 0; }
.yv .top-theme { gap: 12px; }
.yv .plate { margin: 6px 0 22px; padding: 18px 16px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; display: grid; gap: 14px; justify-items: center; }
.yv .plate figcaption { font-size: 13px; line-height: 1.5; color: var(--muted); justify-self: stretch; max-width: 56ch; }
.yv svg.fz { display: block; width: 100%; max-width: 400px; height: auto; overflow: visible; }
.yv svg.fz.fig-sm { width: 88px; max-width: 88px; }
.yv svg.fz.strip { max-width: 400px; margin: 4px 0 6px; }
.yv .fz text { font-family: var(--f-mono); fill: var(--ink); }
.yv .fz .st-ink { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.yv .fz .st-line { fill: none; stroke: var(--line); stroke-width: 1; }
.yv .fz .dash { stroke-dasharray: 3 4; }
.yv .fz .t-mono { font: 500 10px/1 var(--f-mono); letter-spacing: 0.07em; fill: var(--muted); text-transform: uppercase; }
.yv .fz .t-on { fill: var(--on-lens); }
.yv .fz .t-hot { fill: var(--ink); font-weight: 700; }
.yv .fz .t-acc { fill: var(--c); font-weight: 700; }
.yv .fz .t-bold { font-weight: 700; }
.yv .fz .t-val { fill: var(--ink); font-weight: 600; }
.yv .fz .t-num { font: 500 30px var(--f-display); fill: var(--ink); }
.yv .fz .tint { fill: var(--soft); fill: color-mix(in srgb, var(--c, var(--ink)) 12%, var(--surface)); }
.yv .moon-l { fill: var(--moon-l); stroke: none; }
.yv .moon-d { fill: var(--moon-d); stroke: none; }
.yv .ph-on { fill: var(--soft); fill: color-mix(in srgb, var(--c) 18%, var(--surface)); stroke: var(--c); stroke-width: 1.5; }
.yv .stamp-bg { fill: var(--soft); fill: color-mix(in srgb, var(--c) 10%, var(--surface)); }
.yv .gl { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.yv .gl path { vector-effect: non-scaling-stroke; }
.yv .gl.gl-on { stroke: var(--c); stroke-width: 2; }
.yv .gl.gl-big { stroke: var(--c); }
.yv .gl.on { stroke: var(--on-lens); stroke-width: 1.7; }
.yv .seg-a { fill: var(--soft); stroke: var(--line); }
.yv .seg-b { fill: var(--surface); stroke: var(--line); }
.yv .seg-sun { fill: var(--soft); fill: color-mix(in srgb, var(--c) 24%, var(--surface)); stroke: var(--c); stroke-width: 1.5; }
.yv .seg-moon { fill: var(--soft); fill: color-mix(in srgb, var(--c) 9%, var(--surface)); stroke: var(--muted); stroke-dasharray: 3 3; }
.yv .tick { stroke: var(--line); stroke-width: 1; }
.yv .tick-m { stroke: var(--muted); stroke-width: 1; }
.yv .wedge { fill: var(--soft); fill: color-mix(in srgb, var(--c) 14%, transparent); }
.yv .spoke { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 2 3; }
.yv .lead-a { stroke: var(--c); stroke-width: 1.6; }
.yv .lead-b { stroke: var(--ink); stroke-width: 1.2; }
.yv .ray { stroke: var(--c); stroke-width: 1.8; stroke-linecap: round; }
.yv .sun-d { fill: var(--surface); stroke: var(--c); stroke-width: 2.2; }
.yv .sun-c { fill: var(--c); }
.yv .moon-bg { fill: var(--surface); stroke: none; }
.yv .hub-dot { fill: var(--ink); }
.yv .key { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; font-size: 14px; justify-self: stretch; }
.yv .key li { display: inline-flex; align-items: center; gap: 8px; }
.yv .key .mono { font-size: 11px; }
.yv .key i { width: 11px; height: 11px; flex: none; border-radius: 50%; display: inline-block; }
.yv .k-sun { background: var(--c); }
.yv .k-moon { background: var(--moon-l); box-shadow: inset 0 0 0 1.5px var(--ink); }
.yv .k-wedge { background: var(--soft); background: color-mix(in srgb, var(--c) 30%, var(--surface)); border-radius: 3px !important; }
.yv .k-me { background: var(--c); }
.yv .k-mate { background: var(--soft); background: color-mix(in srgb, var(--c) 18%, var(--surface)); box-shadow: inset 0 0 0 1.5px var(--c); }
.yv .k-clash { background: none; border-top: 2px dashed var(--c); border-radius: 0 !important; height: 0 !important; width: 16px !important; }
.yv .k-wing { background: var(--soft); background: color-mix(in srgb, var(--c) 18%, var(--surface)); box-shadow: inset 0 0 0 2px var(--c); }
.yv .k-size { background: var(--muted); width: 7px !important; height: 7px !important; box-shadow: 8px 0 0 -1px var(--muted); margin-right: 8px; }
.yv .k-band { background: var(--soft); border-radius: 2px !important; box-shadow: inset 0 0 0 1px var(--muted); }
.yv .key-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.yv .key .kb { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--soft); border: 1px solid var(--line); font: 700 12px var(--f-mono); }
.yv .bh { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.yv .bh-t { display: grid; gap: 8px; min-width: 0; }
.yv .bh-f { flex: none; }
.yv .scale { display: grid; gap: 6px; margin: 4px 0 6px; }
.yv .scale .zones { position: relative; display: grid; grid-template-columns: 35fr 30fr 35fr; gap: 3px; height: 12px; }
.yv .scale .zones i { display: block; border-radius: 99px; background: var(--soft); }
.yv .scale .zones i.z-mid { background: var(--line); }
.yv .scale .pin { position: absolute; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--c); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--c); }
.yv .scale .zl { display: grid; grid-template-columns: 35fr 30fr 35fr; font: 500 11px var(--f-mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.yv .scale .zl span:nth-child(2) { text-align: center; }
.yv .scale .zl span:nth-child(3) { text-align: right; }
.yv .num-top { display: flex; align-items: center; gap: 18px; justify-self: center; }
.yv .num-top .fig-sm { width: 150px; max-width: 150px; }
.yv .num-big { font: 500 72px/1 var(--f-display); }
.yv .ledger { display: grid; gap: 0; justify-self: stretch; border-top: 1px solid var(--line); }
.yv .lg-row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.yv .lg-row > .mono { font-size: 10.5px; letter-spacing: 0.04em; }
.yv .lg-calc { font: 500 13px/1.45 var(--f-mono); overflow-wrap: anywhere; }
.yv .lg-total .lg-calc { font-weight: 600; }
.yv .ntile { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 10px; font: 500 20px var(--f-display); background: var(--soft); border: 1px solid var(--line); }
.yv .ntile.master { background: var(--c); color: var(--on-lens); border-color: var(--c); }
.yv .namesheet { justify-self: stretch; display: grid; gap: 10px; }
.yv .letters { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.yv .word { display: inline-flex; gap: 3px; }
.yv .ltr { display: grid; justify-items: center; gap: 1px; width: 24px; padding: 4px 0 3px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.yv .ltr b { font: 600 12px var(--f-mono); }
.yv .ltr i { font: 500 14px var(--f-display); font-style: normal; color: var(--muted); }
.yv .ltr.v { background: var(--soft); background: color-mix(in srgb, var(--c) 18%, var(--surface)); border-color: var(--c); }
.yv .key-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.yv .key-line i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.yv .k-vowel { background: var(--soft); background: color-mix(in srgb, var(--c) 18%, var(--surface)); border: 1px solid var(--c); }
.yv .k-cons { background: var(--surface); border: 1px solid var(--line); margin-left: 8px; }
.yv .tri { fill: none; stroke: var(--line); stroke-width: 1; }
.yv .tri-on { fill: var(--soft); fill: color-mix(in srgb, var(--c) 9%, transparent); stroke: var(--c); stroke-width: 1.6; }
.yv .clash { stroke: var(--c); stroke-width: 1.4; stroke-dasharray: 4 4; }
.yv .an-n { fill: var(--surface); stroke: var(--muted); stroke-width: 1; }
.yv .an-opp { fill: var(--surface); stroke: var(--c); stroke-width: 1.4; stroke-dasharray: 3 3; }
.yv .an-mate { fill: var(--soft); fill: color-mix(in srgb, var(--c) 16%, var(--surface)); stroke: var(--c); stroke-width: 1.4; }
.yv .an-me { fill: var(--c); stroke: var(--c); }
.yv .t-an { font: 500 10px var(--f-mono) !important; letter-spacing: 0; }
.yv .core-bg { fill: var(--surface); }
.yv .cyc { stroke: var(--muted); stroke-width: 1.2; }
.yv .arrow-h { fill: var(--muted); }
.yv .el-n { fill: var(--muted); }
.yv .el-me { fill: var(--c); }
.yv .t-el { font: 500 10px var(--f-mono) !important; fill: var(--muted); letter-spacing: 0.03em; }
.yv .t-el.t-bold { fill: var(--ink); }
.yv .yy-base { fill: var(--surface); }
.yv .yy-base.on { fill: var(--c); }
.yv .yy-part { fill: var(--ink); }
.yv .yy-part.on { fill: var(--c); }
.yv .yy-dot { fill: var(--ink); }
.yv .yy-dot.on { fill: var(--surface); }
.yv .tc-row { display: flex; justify-content: center; gap: 18px; width: 100%; }
.yv .tc { display: grid; gap: 8px; justify-items: center; }
.yv .tc-card { width: 216px; max-width: 100%; }
.yv .tc-2 .tc-card { width: 150px; }
.yv .tcard { max-width: none; filter: drop-shadow(0 6px 14px rgba(16, 21, 30, 0.12)); }
.yv .t-card { fill: var(--surface); stroke: var(--ink); stroke-width: 2; }
.yv .t-face { fill: var(--soft); fill: color-mix(in srgb, var(--c) 9%, var(--surface)); stroke: var(--line); stroke-width: 1; }
.yv .t-rom { font: 500 26px var(--f-display) !important; letter-spacing: 0.04em; }
.yv .t-cname { font: 500 12.5px var(--f-mono) !important; letter-spacing: 0.12em; }
.yv .t-dot { fill: var(--c); }
.yv .emb .e { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.yv .emb .a { fill: var(--c); stroke: var(--c); stroke-width: 1.8; stroke-linejoin: round; }
.yv .emb .a-o { fill: none; stroke: var(--c); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.yv .emb .a-l { stroke: var(--c); stroke-width: 2; stroke-linecap: round; }
.yv .emb .a-s { fill: var(--soft); fill: color-mix(in srgb, var(--c) 28%, transparent); stroke: var(--c); stroke-width: 1.8; stroke-linejoin: round; }
.yv .ring { fill: none; stroke: var(--line); stroke-width: 1; }
.yv .ring-mid { fill: none; stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 4; }
.yv .axis { stroke: var(--line); stroke-width: 1; }
.yv .radar { fill: var(--soft); fill: color-mix(in srgb, var(--c) 22%, transparent); stroke: var(--c); stroke-width: 2.4; stroke-linejoin: round; }
.yv .rd-dot { fill: var(--c); stroke: var(--surface); stroke-width: 2.5; }
.yv .rd-badge { fill: var(--soft); stroke: var(--line); }
.yv .t-badge { font: 700 12px var(--f-mono) !important; }
.yv .lt-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: 100%; }
.yv .lt { display: grid; justify-items: center; gap: 3px; padding: 12px 4px 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); background: color-mix(in srgb, var(--c) var(--k, 20%), var(--surface)); text-align: center; }
.yv .lt-l { font: 500 46px/1 var(--f-display); }
.yv .lt .mono { font-size: 10px; letter-spacing: 0.04em; color: var(--ink); overflow-wrap: anywhere; }
.yv .lt .lt-p { color: var(--muted); }
.yv .tmap16 { display: grid; gap: 6px; width: 100%; }
.yv .tm-row { display: grid; grid-template-columns: minmax(84px, 120px) minmax(0, 1fr); gap: 10px; align-items: center; }
.yv .tm-h { display: grid; line-height: 1.25; }
.yv .tm-h b { font: 700 12px var(--f-mono); letter-spacing: 0.06em; }
.yv .tm-h span { font-size: 12px; color: var(--muted); }
.yv .tm-cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.yv .tm-c { font: 500 12px var(--f-mono); text-align: center; padding: 8px 0; border-radius: 8px; background: var(--soft); color: var(--muted); }
.yv .tm-c.me { background: var(--c); color: var(--on-lens); font-weight: 700; }
.yv .triad { fill: none; stroke: var(--muted); stroke-width: 3; stroke-linecap: round; opacity: 0.45; }
.yv .ln-e { stroke: var(--line); stroke-width: 1.4; }
.yv .en-n { fill: var(--surface); stroke: var(--muted); stroke-width: 1.4; }
.yv .en-me { fill: var(--c); stroke: var(--c); stroke-width: 1.5; }
.yv .en-wing { fill: var(--soft); fill: color-mix(in srgb, var(--c) 20%, var(--surface)); stroke: var(--c); stroke-width: 2.4; }
.yv .t-en { font: 700 13px var(--f-mono) !important; }
.yv .t-center { font: 500 56px var(--f-display) !important; }
.yv .base { stroke: var(--ink); stroke-width: 1.2; }
.yv .grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 4; }
.yv .col .bar { fill: var(--muted); opacity: 0.4; }
.yv .col-top .bar { fill: var(--c); }
.yv .ic-g path { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.yv .col-top .ic-g path { stroke: var(--c); }
.yv .t-lab { font: 500 10.5px var(--f-body) !important; }
.yv .col-top .t-lab { font-weight: 700 !important; }
.yv .plot-bg { fill: var(--soft); }
.yv .fz .region { fill: var(--soft); fill: color-mix(in srgb, var(--c) 16%, transparent); }
.yv .band { fill: var(--ink); opacity: 0.07; }
.yv .mid-l { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 4; }
.yv .fz .q-lab { font: 500 10px var(--f-mono); letter-spacing: 0.06em; fill: var(--muted); text-transform: uppercase; }
.yv .fz .q-lab.hot { fill: var(--ink); font-weight: 700; }
.yv .halo { fill: var(--c); opacity: 0.2; }
.yv .fz .me { fill: var(--c); stroke: var(--surface); stroke-width: 3; }
.yv .plate-mirror .fz { max-width: 440px; }
.yv .edge:not(p) { fill: none; stroke: var(--c); opacity: 0.55; stroke-linecap: round; }
.yv .th { fill: var(--surface); stroke: var(--ink); stroke-width: 1.5; }
.yv .th-top { fill: var(--ink); }
.yv .th-none { stroke: var(--muted); stroke-dasharray: 2 3; stroke-width: 1; }
.yv .fz .ln { fill: var(--c); stroke: var(--surface); stroke-width: 2.5; }
.yv .fz .ln.off { fill: var(--surface); stroke: var(--c); stroke-dasharray: 3 3; stroke-width: 1.4; }
.yv .fz .t-ln { font: 700 11px var(--f-mono); fill: var(--on-lens); }
.yv .fz .t-ln.off { fill: var(--muted); font-weight: 500; }
.yv .fz .t-th { font: 500 10.5px var(--f-mono); letter-spacing: 0.03em; paint-order: stroke; stroke: var(--surface); stroke-width: 3px; stroke-linejoin: round; }
.yv .fz .t-th.t-bold { font-weight: 700; }
.yv .tug { display: grid; gap: 6px; }
.yv .tug-bar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: var(--soft); gap: 3px; }
.yv .tug-bar i { display: block; height: 100%; }
.yv .tug-a { background: var(--ink); }
.yv .tug-b { background: var(--muted); }
.yv .tug-l { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; font-size: 14px; }
.yv .tug-l .mono { font-weight: 500; }
.yv .w-tok { font: 500 11px var(--f-mono); fill: var(--on-lens); pointer-events: none; letter-spacing: 0; }
.yv .w-tok.sm { font-size: 9.5px; }
.yv .w-num.mini { font-size: 9px; opacity: 0.85; }
.yv .ar-q { stroke: none; }
.yv .ar-q0 { fill: var(--soft); opacity: 0.9; }
.yv .ar-q1 { fill: var(--soft); opacity: 0.45; }
.yv .ar-ring { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 4; }
.yv .ar-v { fill: var(--muted); opacity: 0.4; stroke: none; }
.yv .ar-v.second { fill: var(--c); opacity: 0.55; stroke: var(--c); stroke-width: 1.5; }
.yv .ar-v.top { fill: var(--c); opacity: 1; }
.yv .fz .ar-l { font: 500 11px var(--f-body); fill: var(--ink); }
.yv .fz .ar-l.dim { fill: var(--muted); }
.yv .fz .ar-l.hot { font-weight: 700; }
.yv .fz .ar-s { font: 500 10.5px var(--f-mono); fill: var(--muted); }
.yv .fz .ar-p { fill: var(--muted); }
.yv .fz .ar-p.hot { fill: var(--ink); font-weight: 700; }
.yv .fz .ar-c { font-size: 30px !important; }
.yv .k-dim { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--muted); opacity: 0.4; }
.yv .fz .kw-l { font: 600 12px var(--f-body); fill: var(--ink); }
.yv .fz .kw-l.dim { fill: var(--muted); font-weight: 500; }
.yv .fz .kw-l.hot { font-weight: 700; }
.yv .rd-dot.top { stroke: var(--surface); stroke-width: 3; }
.yv .lean-box { display: grid; gap: 10px; margin-top: 8px; }
.yv .lean-h { display: flex; justify-content: space-between; gap: 8px; margin: 0 128px 0 84px; font-size: 11px; white-space: nowrap; text-transform: none; letter-spacing: 0; }
.yv .lean { display: grid; grid-template-columns: 74px minmax(0, 1fr) 118px; align-items: center; gap: 10px; }
.yv .lean-n { font: 600 14px var(--f-body); }
.yv .lean-t { position: relative; height: 12px; border-radius: 99px; background: var(--soft); }
.yv .lean-mid { position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1.5px; background: var(--muted); opacity: 0.6; }
.yv .lean-pin { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--c); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--c); }
.yv .lean-pin.faint { background: var(--surface); box-shadow: 0 0 0 1.5px var(--muted); }
.yv .lean-v { font-size: 11px; text-transform: none; letter-spacing: 0.02em; }
@media (max-width: 420px) {
.yv .lean { grid-template-columns: 62px minmax(0, 1fr) 96px; }
.yv .lean-h { margin: 0 106px 0 72px; font-size: 10px; }
.yv .lean-v { font-size: 10px; }
}
.yv .w-tok.xs { font-size: 8.5px; }
.yv .deep-sec h3 { display: flex; align-items: center; gap: 9px; }
.yv .sec-ic { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--c, var(--muted)); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.yv .deep-sec[data-k="q"] { padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.yv .deep-sec[data-k="q"] p { font: italic 500 21px/1.4 var(--f-display); text-wrap: balance; }
.yv .deep-sec[data-k="edge"] { padding: 16px 18px 18px; border-radius: 14px; background: var(--soft); background: color-mix(in srgb, var(--c, var(--ink)) 7%, var(--surface)); border: 1px solid var(--line); }
.yv .rp { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 3px; z-index: 30; pointer-events: none; }
.yv .rp i { display: block; height: 100%; background: var(--c); transform-origin: left; transform: scaleX(0); }
@media (max-width: 400px) {
.yv .tc-card { width: 198px; }
.yv .tc-2 .tc-card { width: 132px; }
.yv .lg-row { grid-template-columns: 82px minmax(0, 1fr) auto; gap: 8px; }
.yv .lg-calc { font-size: 12.5px; }
.yv .num-big { font-size: 60px; }
.yv .num-top .fig-sm { width: 128px; max-width: 128px; }
}
.yv .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.yv .save-block h3 { font: 600 16px/1.3 var(--f-body); margin-top: 8px; }
.yv .save-block .check .muted { font-size: 13px; }
.yv .file-in { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.yv .file-btn { display: inline-flex; align-items: center; cursor: pointer; }
.yv .file-in:focus-visible + .file-btn { outline: 2px solid var(--ink); outline-offset: 3px; }
.yv .ar-v.quiet { fill: var(--muted); opacity: 0.18; }
.yv .k-quiet { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--muted); opacity: 0.18; }
.yv .fz .sk-l { font: 600 11px var(--f-body); fill: var(--ink); }
.yv .fz .sk-l.dim { fill: var(--muted); font-weight: 500; }
.yv .fz .sk-l.hot { font-weight: 700; }
.yv .sk-dot { fill: var(--muted); opacity: 0.55; }
.yv .sk-dot.next { fill: var(--c); opacity: 0.6; }
.yv .sk-dot.hot { fill: var(--c); opacity: 1; }
.yv .sk-fol { margin-top: 12px; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; }
.yv .sk-fh { font-size: 11px; text-transform: none; letter-spacing: 0.02em; margin-bottom: 4px; }
.yv .fz .so-g { font: 500 11px var(--f-mono); fill: var(--muted); }
.yv .fz .so-l { font: 600 12px var(--f-body); fill: var(--ink); }
.yv .fz .so-l.dim { fill: var(--muted); font-weight: 500; }
.yv .fz .so-l.hot { font-weight: 700; }
.yv .so-track { fill: var(--soft); }
.yv .so-bar { fill: var(--muted); opacity: 0.4; }
.yv .so-bar.second { fill: var(--c); opacity: 0.55; }
.yv .so-bar.top { fill: var(--c); opacity: 1; }
.yv .bal { display: grid; gap: 6px; margin-top: 12px; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; }
.yv .bal-h { display: flex; justify-content: space-between; font-size: 11px; text-transform: none; letter-spacing: 0; }
.yv .bal-t { position: relative; height: 12px; border-radius: 99px; background: var(--soft); }
.yv .bal-mid { position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1.5px; background: var(--muted); opacity: 0.6; }
.yv .bal-pin { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--c); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--c); }
.yv .bal-v { font-size: 11px; text-transform: none; letter-spacing: 0.02em; text-align: center; }
.yv .row-group { padding: 24px 2px 10px; border-bottom: 1px solid var(--line); }
.yv .row-group:first-child { padding-top: 10px; }
.yv .rg-q { font: 500 25px/1.15 var(--f-display); letter-spacing: -0.01em; text-wrap: balance; }
.yv .rg-d { font-size: 14px; color: var(--muted); margin-top: 4px; }
.yv .lr-main { min-width: 0; display: block; }
.yv .lr-poss {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 12.5px; line-height: 1.45; color: var(--muted); margin-top: 6px; max-width: 46ch;
}
.yv .lr-poss b { font: 600 10.5px var(--f-mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink); margin-right: 4px; }
.yv .badge {
  display: inline-block; font: 600 10px/1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px; border: 1px solid var(--muted); color: var(--muted); vertical-align: 1px; white-space: nowrap;
}
.yv .b-research { border-style: solid; color: var(--ink); border-color: var(--ink); }
.yv .b-popular { border-style: solid; }
.yv .b-tradition { border-style: dashed; }
.yv .b-reflect { border-style: dotted; border-width: 1.5px; }
.yv .hub-foot { margin-top: 18px; font-size: 14px; color: var(--muted); }
.yv .start { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin-bottom: 20px; display: grid; gap: 12px; }
.yv .start h2 { font: 500 26px/1.1 var(--f-display); letter-spacing: -0.01em; }
.yv .start p { font-size: 15px; color: var(--muted); }
.yv .st-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.yv .st-item { width: 100%; display: flex; gap: 12px; align-items: center; text-align: left; background: none; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-weight: 600; }
.yv .st-item:hover { background: var(--soft); background: color-mix(in srgb, var(--c) 8%, transparent); }
.yv .st-item small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.yv .st-tick { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1.5px solid var(--c); display: grid; place-items: center; font-size: 13px; line-height: 1; }
.yv .st-item.done .st-tick { background: var(--c); color: var(--on-lens); }
.yv .manage-row { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; align-items: center; padding: 13px 2px; border-bottom: 1px solid var(--line); cursor: pointer; position: relative; }
.yv .manage-row input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; left: 2px; top: 50%; transform: translateY(-50%); cursor: pointer; }
.yv .mr-box { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--c); display: grid; place-items: center; }
.yv .manage-row input:checked + .mr-box { background: var(--c); }
.yv .manage-row input:checked + .mr-box::after { content: "✓"; color: var(--on-lens); font-size: 14px; line-height: 1; }
.yv .manage-row input:focus-visible + .mr-box { outline: 2px solid var(--ink); outline-offset: 3px; }
.yv .manage > p { margin-bottom: 8px; }
.yv .browse-wrap { max-width: 720px; margin: 0 auto; }
.yv .b-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 190px); gap: 10px; margin: 20px 0 10px; }
.yv .b-tools input, .yv .b-tools select { min-height: 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 0 14px; font-size: 16px; width: 100%; }
.yv .b-count { margin: 10px 0 12px; }
.yv .b-none { padding: 18px 0; }
.yv .b-lens { border-top: 1px solid var(--line); }
.yv .b-lens > summary { display: flex; align-items: center; gap: 10px; padding: 16px 2px; cursor: pointer; list-style: none; }
.yv .b-lens > summary::-webkit-details-marker { display: none; }
.yv .b-lens > summary::after { content: "+"; font: 500 20px/1 var(--f-mono); color: var(--muted); width: 18px; text-align: center; }
.yv .b-lens[open] > summary::after { content: "\2212"; }
.yv .b-lens > summary .mono { margin-left: auto; }
.yv .b-lens .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.yv .b-lname { font-weight: 600; }
.yv .b-sec { padding: 12px 2px 4px; }
.yv .b-item { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 12px 6px 12px 14px; }
.yv .b-item:hover { background: var(--soft); background: color-mix(in srgb, var(--c) 7%, transparent); }
.yv .b-item:has(.b-sym) { align-items: center; }
.yv .b-item .b-n { flex: 1; }
.yv .b-n { font-weight: 600; }
.yv .b-m { font-size: 13px; color: var(--muted); text-align: right; }
.yv .ref-cta { margin-top: 26px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); display: grid; gap: 10px; }
.yv .ref-cta h2 { font: 500 24px/1.1 var(--f-display); }
.yv .ref-cta p { color: var(--muted); font-size: 15px; }
.yv .poss-box { margin-top: 8px; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.yv .poss-box p { font-size: 15px; color: var(--muted); line-height: 1.5; }
.yv .q-part { margin-bottom: 12px; }
.yv .plate-pair { display: grid; }
.yv .plate-t { margin: 8px 0 -2px; }
.yv .plate-pair .plate { margin-top: 10px; }
.yv .sym { display: block; width: 100%; height: auto; max-width: 100%; }
.yv .sym-bg { fill: var(--soft); fill: color-mix(in srgb, var(--c, var(--muted)) 8%, var(--surface)); }
.yv .sym-rim { fill: none; stroke: var(--line); stroke-width: 1.5; }
.yv .sy { fill: none; stroke: none; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.yv .sy.k { stroke: var(--ink); }
.yv .sy.h { stroke: var(--c, var(--ink)); }
.yv .sy.m { stroke: var(--muted); }
.yv .sy.t1 { stroke-width: 2; }
.yv .sy.t2 { stroke-width: 5; }
.yv .sy.t3 { stroke-width: 7.5; }
.yv .sy.t4 { stroke-width: 14; }
.yv .sy.t5 { stroke-width: 8.6; }
.yv .sy.d { stroke-dasharray: 0.1 7; }
.yv .sy.dd { stroke-dasharray: 8 7; }
.yv .sy.hf { fill: var(--c, var(--ink)); stroke: none; }
.yv .sy.hs { fill: var(--c, var(--ink)); fill-opacity: 0.2; }
.yv .sy.kf { fill: var(--ink); stroke: none; }
.yv .sy.sk { stroke: var(--surface); }
.yv .sy.sf { fill: var(--surface); }
.yv .sy.o6 { opacity: 0.6; }
.yv .sy.o4 { opacity: 0.4; }
.yv .sy.o2 { opacity: 0.22; }
.yv .sym-mk circle { fill: var(--surface); stroke: var(--ink); stroke-width: 1.4; }
.yv .sym-mk text { font: 600 11px var(--f-mono); fill: var(--ink); }
.yv .sym-card { margin: 22px 0 6px; padding: 18px 16px 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); display: grid; gap: 18px; }
.yv .sym-fig { width: min(240px, 72%); margin: 0 auto; }
.yv .sym-txt h3 { font: 500 24px/1.2 var(--f-display); margin: 6px 0 14px; }
.yv .sym-txt ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.yv .sym-txt li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; }
.yv .sym-txt li b { display: block; font-weight: 600; font-size: 16px; line-height: 1.3; margin-bottom: 2px; }
.yv .sym-txt li p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); }
.yv .sym-n { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--ink)); margin: 7px 0 0 4px; }
@media (min-width: 640px) {
.yv .sym-card { grid-template-columns: 220px 1fr; align-items: center; }
.yv .sym-fig { width: 100%; }
}
.yv .b-sym { width: 40px; height: 40px; flex: none; }
.yv .b-sym .sym { width: 40px; height: 40px; }
.yv .hist h3 { font: 500 20px var(--f-display); margin: 22px 0 8px; }
.yv .hist p b { font-weight: 600; }
.yv .h-list { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line); }
.yv .h-list li { display: grid; grid-template-columns: 112px 1fr auto; gap: 10px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); }
.yv .h-d { font: 500 12px var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.yv .h-now .h-d { color: var(--c); font-weight: 600; }
.yv .h-now .h-t { font-weight: 600; }
.yv .h-x { font-size: 13px; color: var(--muted); }
.yv .chgs { margin-top: 12px; display: grid; gap: 10px; }
.yv .chg { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) 36px; gap: 10px; align-items: center; }
.yv .chg .cn { font-size: 15px; line-height: 1.3; }
.yv .cbar { position: relative; height: 18px; }
.yv .cbar i { position: absolute; left: 0; height: 7px; border-radius: 99px; }
.yv .cbar .then { top: 0; background: var(--line); background: color-mix(in srgb, var(--muted) 45%, var(--surface)); }
.yv .cbar .nowb { top: 10px; background: var(--c); }
.yv .chg .cd { font: 600 13px var(--f-mono); text-align: right; }
.yv .chg-key { display: flex; gap: 16px; }
.yv .chg-key i { display: inline-block; width: 14px; height: 7px; border-radius: 99px; margin-right: 6px; vertical-align: middle; }
.yv .k-then { background: color-mix(in srgb, var(--muted) 45%, var(--surface)); }
.yv .k-now { background: var(--c); }
@media (max-width: 380px) {
.yv .h-list li { grid-template-columns: 1fr auto; }
.yv .h-d { grid-column: 1 / -1; }
}
.yv .rf { margin: 18px 0 22px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.yv .rf-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.yv .rf-top h2 { margin: 0; font-weight: 500; }
.yv .rf-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.yv .rf-seg button { border: 0; background: none; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); min-height: 32px; }
.yv .rf-seg button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.yv .rf-q { font: 500 24px/1.25 var(--f-display); margin: 14px 0 6px; }
.yv .rf-th { margin: 0 0 10px; }
.yv .rf textarea { width: 100%; min-height: 88px; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; resize: vertical; }
.yv .rf-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 14px; }
.yv .rl summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
.yv .rl-list { list-style: none; margin: 8px 0 0; padding: 0; }
.yv .rl-list li { padding: 12px 0; border-top: 1px solid var(--line); }
.yv .rl-q { margin: 4px 0; font-weight: 600; }
.yv .rl-a { margin: 0 0 4px; white-space: pre-wrap; color: var(--muted); }
.yv .portrait .pt-fig { margin: 18px 0 16px; max-width: 460px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #F2F5FA; box-shadow: 0 1px 2px rgba(16, 21, 30, 0.06), 0 10px 28px rgba(16, 21, 30, 0.1); }
.yv .portrait .pt-fig img { display: block; width: 100%; height: auto; }
.yv .cmp-box h3 { font: 600 16px/1.3 var(--f-body); margin-top: 20px; }
.yv .cmp-code { min-height: 84px; font-size: 12.5px; word-break: break-all; resize: vertical; margin-top: 6px; }
.yv .cmp-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.yv .cmp-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.yv .cmp-act { display: flex; gap: 8px; flex-shrink: 0; }
.yv .cmp-wrap { max-width: 760px; margin: 0 auto; padding: 8px 20px 90px; }
.yv .cmp-title { margin: 6px 0 12px; }
.yv .cmp-chart { display: grid; gap: 9px; margin-top: 16px; }
.yv .cmp-row { display: grid; grid-template-columns: 1fr 88px 1fr; gap: 8px; align-items: center; }
.yv .cmp-row .cn { text-align: center; font-size: 14px; }
.yv .cmp-row .cb { height: 12px; border-radius: 6px; background: var(--soft); display: flex; overflow: hidden; }
.yv .cmp-row .cb.l { justify-content: flex-end; }
.yv .cmp-row .cb i { display: block; height: 100%; min-width: 4px; border-radius: 6px; }
.yv .cmp-row .cb.l i { background: var(--l1); }
.yv .cmp-row .cb.r i { background: var(--l8); }
.yv .cmp-lenses { display: grid; gap: 10px; }
.yv .cmp-lens { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--surface); }
.yv .cl-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.yv .cl-h i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.yv .cl-same { margin-left: auto; font: 500 11px/1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 8px; border-radius: 99px; background: var(--soft); background: color-mix(in srgb, var(--c) 16%, var(--surface)); color: var(--ink); }
.yv .cl-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.yv .cl-side .mono { font-size: 11px; }
.yv .cl-res { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.yv .cl-res b { font: 600 16px/1.3 var(--f-body); overflow-wrap: anywhere; }
.yv .cl-sym { flex: none; display: block; width: 40px; height: 40px; }
.yv .cl-sym svg { display: block; }
@media (max-width: 420px) {
.yv .cl-cols { gap: 10px; }
.yv .cl-res b { font-size: 15px; }
.yv .cmp-row { grid-template-columns: 1fr 76px 1fr; }
}
.yv .qs .cmp-lead { display: block; margin-bottom: 8px; font-style: normal; }
/* the domain chips stay just under the header while the lens list scrolls; on a phone they are one row you swipe sideways,
   so they never cover more than a thin strip of the screen */
.yv .cat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0 6px; position: sticky; top: var(--header-h); z-index: 3; background: var(--bg); }
.yv .row-group, .yv .dom-fold { scroll-margin-top: calc(var(--header-h) + 64px); }
@media (max-width: 859px) {
  .yv .cat-chips { contain: inline-size; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter) !important; padding-right: var(--gutter) !important; scroll-padding-inline: var(--gutter); }
  .yv .cat-chips::-webkit-scrollbar { display: none; }
  .yv .cat-chip { flex: 0 0 auto; white-space: nowrap; }
}
.yv .cat-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 600; }
.yv .cat-chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.yv .cat-chip .mono { font-size: 11px; color: var(--muted); }
.yv .cat-chip:hover { border-color: var(--c); }
.yv .rg-n { margin-left: 6px; font-size: 11px; white-space: nowrap; }
.yv .sy.ol { stroke: #2A2230; stroke-width: 2; }
.yv .sy.ol1 { stroke: #2A2230; stroke-width: 1.2; }
.yv .sy.ol3 { stroke: #2A2230; stroke-width: 3.2; }
.yv .sy.fr { fill: #C0392B; }
.yv .sy.fb { fill: #2F63A8; }
.yv .sy.fy { fill: #E3B53C; }
.yv .sy.fg { fill: #3F8F58; }
.yv .sy.fk { fill: #F1CDA6; }
.yv .sy.fw { fill: #F8F2E4; }
.yv .sy.fp { fill: #6D419E; }
.yv .sy.fo { fill: #E6812F; }
.yv .sy.fd { fill: #2B2838; }
.yv .sy.fn { fill: #7B4F2E; }
.yv .sy.fs { fill: #BFE3F4; }
.yv .sy.fz { fill: #A5AEB8; }
.yv .sy.fm { fill: #C9568A; }
.yv .sy.fl { fill: #8FBF4A; }
.yv .sy.ft { fill: #2A8C94; }
.yv .sy.nofill { fill: none; }
.yv .art { display: block; max-width: 100%; height: auto; }
.yv .art-bg { fill: var(--soft); fill: color-mix(in srgb, var(--c, var(--muted)) 9%, var(--surface)); stroke: var(--line); stroke-width: 1.5; }
.yv .art-fig { width: min(210px, 62vw); }
.yv .art-fig.art-sm { width: 128px; max-width: 128px; }
.yv .art-fig.art-moon .art { filter: saturate(0.85) brightness(0.96); }
.yv .tcard .sym-art .sy { vector-effect: non-scaling-stroke; }
.yv .tcard .t-card { fill: #E9DCB8; stroke: #2A2230; stroke-width: 2; }
.yv .tcard .t-face { fill: #F6EDD6; stroke: #8A6E3B; stroke-width: 1.5; }
.yv .tcard text { fill: #2A2230; }
.yv .tcard .st-line { stroke: #8A6E3B; }
.yv .tcard .t-dot { fill: #8A6E3B; }
.yv .tcard .t-win { fill: none; stroke: #2A2230; stroke-width: 2; }
.yv .sy.emo-shadow { fill: #000; opacity: .13; stroke: none; }
.yv .cn-panel { margin: 0; width: 150px; max-width: 40vw; border-radius: 6px; overflow: hidden; border: 2px solid #C9A24B; box-shadow: 0 10px 28px rgba(0,0,0,.35); }
.yv .cn-panel img { display: block; width: 100%; height: auto; }
.yv .tcard-img { filter: drop-shadow(0 10px 22px rgba(0,0,0,.4)); }

/* 4) The observatory layer: a night sky, one serif voice, small instrument labels, gold for the house. */
html { font-synthesis-weight: none; }
body { background: var(--bg); }
/* the sky behind everything: fixed stars at night, a warm glow by day */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 90% 60% at 50% -12%, var(--gold-soft), transparent 70%); }
:root[data-theme="dark"] body::before { background:
  radial-gradient(ellipse 90% 55% at 50% -15%, rgba(201, 164, 92, .10), transparent 70%),
  radial-gradient(1.2px 1.2px at 23px 41px, rgba(237, 230, 214, .8), transparent 60%),
  radial-gradient(1px 1px at 131px 97px, rgba(237, 230, 214, .6), transparent 60%),
  radial-gradient(1.5px 1.5px at 197px 23px, rgba(237, 230, 214, .6), transparent 60%),
  radial-gradient(1px 1px at 61px 173px, rgba(237, 230, 214, .55), transparent 60%),
  radial-gradient(1px 1px at 251px 211px, rgba(201, 164, 92, .5), transparent 60%),
  radial-gradient(1px 1px at 311px 139px, rgba(237, 230, 214, .4), transparent 60%),
  radial-gradient(1.5px 1.5px at 389px 281px, rgba(237, 230, 214, .5), transparent 60%),
  radial-gradient(1px 1px at 157px 337px, rgba(237, 230, 214, .55), transparent 60%);
  background-size: 100% 100%, 420px 360px, 420px 360px, 420px 360px, 420px 360px, 420px 360px, 420px 360px, 420px 360px, 420px 360px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body::before { background:
  radial-gradient(ellipse 90% 55% at 50% -15%, rgba(201, 164, 92, .10), transparent 70%),
  radial-gradient(1.2px 1.2px at 23px 41px, rgba(237, 230, 214, .8), transparent 60%),
  radial-gradient(1px 1px at 131px 97px, rgba(237, 230, 214, .6), transparent 60%),
  radial-gradient(1.5px 1.5px at 197px 23px, rgba(237, 230, 214, .6), transparent 60%),
  radial-gradient(1px 1px at 61px 173px, rgba(237, 230, 214, .55), transparent 60%),
  radial-gradient(1px 1px at 251px 211px, rgba(201, 164, 92, .5), transparent 60%),
  radial-gradient(1px 1px at 311px 139px, rgba(237, 230, 214, .4), transparent 60%),
  radial-gradient(1.5px 1.5px at 389px 281px, rgba(237, 230, 214, .5), transparent 60%),
  radial-gradient(1px 1px at 157px 337px, rgba(237, 230, 214, .55), transparent 60%);
  background-size: 100% 100%, 420px 360px, 420px 360px, 420px 360px, 420px 360px, 420px 360px, 420px 360px, 420px 360px, 420px 360px; } }
::selection { background: var(--gold-soft); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
main#app { overflow-x: clip; }

/* chrome: a quiet bar, a lettered wordmark, an engraved footer */
.bar { background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--rule); }
.brand { font: 500 1.125rem/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; gap: 12px; }
.brand svg { width: 22px; height: 22px; }
.iconbtn { background: none; border-color: var(--rule); font: 500 .75rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.iconbtn:hover { border-color: var(--gold); color: var(--gold); }
.loading { font: 400 clamp(2rem, 5vw, 3rem)/1.1 var(--serif); font-style: italic; letter-spacing: 0; color: var(--ink-2); }
.foot { border-top: 1px solid var(--rule); margin-top: 64px; }
.foot__in { gap: 12px; font-size: .875rem; }
.foot__by { font: 400 1.5rem/1.2 var(--serif); letter-spacing: 0; }
.foot__by::before { content: "— "; color: var(--gold); }
.foot details summary { font: 500 .75rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }

/* the screen */
.yv { --muted: var(--ink-2); --line: var(--rule); --soft: var(--panel); --on-ink: var(--bg); --f-display: var(--serif);
  max-width: var(--wrap); margin: 0 auto; padding: 36px var(--gutter) 80px; background: none; font-size: 1.0625rem; }
.yv p { max-width: 68ch; }
.yv :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.yv .mono { font: 500 .71875rem/1.45 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.yv .lean-h, .yv .lean-v, .yv .sk-fh, .yv .bal-h, .yv .bal-v { text-transform: none; letter-spacing: .02em; }
.yv .kicker { color: var(--gold); display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 18px; }

/* type: one serif voice, big and calm, with gold italics for the word that matters */
.yv .display, .yv h1, .yv h2, .yv h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
.yv .display { line-height: .98; }
.yv .display em, .yv h2 em { font-style: italic; color: var(--gold); }
.yv .hero-title { font-size: clamp(3rem, 8.4vw, 6.5rem); margin: 0 0 24px; max-width: 13ch; }
.yv .result-title { font-size: clamp(3.5rem, 12vw, 8.5rem); margin: 6px 0 12px; overflow-wrap: anywhere; line-height: .92; }
.yv .hub-title, .yv .mirror-title, .yv .you-title { font-size: clamp(2.75rem, 7vw, 4.75rem); line-height: .96; }
.yv .lede { font-size: clamp(1.125rem, 2vw, 1.3125rem); line-height: 1.55; color: var(--ink-2); max-width: 52ch; }
.yv .result-sub { font: 500 .8125rem/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.yv .block h2, .yv .section > h2, .yv .start h2, .yv .ref-cta h2 { font-weight: 500; font-size: clamp(1.75rem, 3.6vw, 2.25rem); line-height: 1.05; }
.yv .block h3, .yv .deep-sec h3 { font: 400 1.5rem/1.15 var(--serif); letter-spacing: -.005em; }
.yv .block .words, .yv .reflect .prompt, .yv .qs p, .yv .deep-sec[data-k="q"] p, .yv .rf-q { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: 1.625rem; line-height: 1.3; }
.yv .q { font: 400 clamp(1.875rem, 5vw, 2.75rem)/1.12 var(--serif); }
.yv .top-theme h3, .yv .tension h3 { font-weight: 500; font-size: 2.25rem; }
.yv .fact .v, .yv .num-big, .yv .lt-l, .yv .ntile, .yv .lr-result { font-weight: 500; }

/* tabs: an instrument switch */
.yv .top { margin: 0 0 32px; min-height: 0; }
.yv .top--mounted .top-r { width: 100%; }
.yv .tabs { position: static; display: inline-flex; gap: 2px; padding: 4px; background: var(--glass); border: 1px solid var(--rule); border-radius: 999px; max-width: 100%; overflow-x: auto; backdrop-filter: blur(8px); }
.yv .tabs button { flex: none; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font: 500 .75rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.yv .tabs button:hover { color: var(--ink); }
.yv .tabs button[aria-current="page"] { background: var(--ink); color: var(--bg); }

/* buttons and fields */
.yv .btn { min-height: 54px; padding: 0 28px; border-radius: 999px; border: 1px solid var(--gold); background: var(--gold); color: var(--on-gold); font: 700 1rem/1 var(--sans); letter-spacing: .01em; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease; }
.yv .btn:hover { transform: translateY(-1px); background: var(--gold); color: var(--on-gold); box-shadow: 0 8px 30px -8px var(--gold); }
.yv .btn:active { transform: none; }
.yv .btn.ghost { background: none; color: var(--ink); border-color: var(--rule-strong); }
.yv .btn.ghost:hover { background: none; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.yv .btn.sm { min-height: 44px; padding: 0 20px; font-size: var(--fs-ui); }
.yv .link { color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 1px; }
.yv .back { font: 500 .75rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.yv .field { width: auto; min-height: 0; padding: 0; border: 0; background: none; margin-bottom: 22px; }
.yv .field > label { font: 500 .71875rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.yv .field input[type="text"], .yv .field input[type="date"], .yv .field input[type="time"], .yv .field input[type="search"], .yv .field select, .yv .b-tools input, .yv .b-tools select {
  width: 100%; height: 56px; padding: 0 16px; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--glass); color: var(--ink); font: 500 1.125rem/1 var(--sans); }
.yv .field input:focus, .yv .field select:focus, .yv .b-tools input:focus, .yv .b-tools select:focus { border-color: var(--gold); outline: 3px solid var(--gold-soft); outline-offset: 0; }
.yv .field select[disabled], .yv .field input[disabled] { opacity: .5; }
.yv .field small, .yv .privacy { color: var(--ink-2); font-size: .875rem; }
.yv .privacy { font: 500 .6875rem/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; margin-top: 18px; }
.yv .check input { accent-color: var(--gold); }

/* start screen */
.yv .setup { align-items: start; gap: clamp(28px, 6vw, 80px); margin-top: 40px; }
.yv .preview { position: relative; border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--rule)); border-radius: var(--radius); background: var(--glass); color: var(--ink); padding: 24px; box-shadow: 0 30px 80px -40px var(--gold-soft); backdrop-filter: blur(6px); }
.yv .preview::before, .sky::before { content: ""; position: absolute; top: -1px; left: 24px; width: 48px; height: 2px; background: var(--gold); }
.yv .preview .mono { color: var(--ink-2); }
.yv .preview #pv-label { color: var(--gold); }
.yv .preview .fact { padding-top: 12px; border-top: 1px solid var(--rule); }
.yv .preview .fact .v { font: 400 clamp(1.5rem, 3vw, 2rem)/1.05 var(--serif); letter-spacing: 0; color: var(--ink); }

/* the sky right now, worked out on this device */
.sky { position: relative; margin-top: 22px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--glass); padding: 20px 22px 18px; display: grid; gap: 12px; backdrop-filter: blur(6px); }
.sky-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.sky-h .sky-name { color: var(--gold); }
.sky-l { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 18px; }
.sky-l li { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--rule); }
.sky-l b { font: 400 1.375rem/1.1 var(--serif); }
.sky-l small { font: 500 .6875rem/1.4 var(--mono); letter-spacing: .06em; color: var(--ink-2); }
.sky-l .rx { color: var(--gold); }
.sky-src { font-size: .8125rem; line-height: 1.5; color: var(--ink-2); margin: 0; }

/* a lens page glows in its own colour; the rest of the sky shows through */
.yv .lens-wrap, .yv .quiz-wrap { position: relative; background: none; box-shadow: none; clip-path: none; padding-bottom: 8px; }
.yv .lens-wrap::before, .yv .quiz-wrap::before { content: ""; position: absolute; z-index: -1; pointer-events: none; top: -120px; left: 50%; width: 100vw; height: 640px; transform: translateX(-50%);
  background: radial-gradient(ellipse 55% 60% at 50% 0, color-mix(in srgb, var(--c) 20%, transparent), transparent 72%); }
.yv .r-lens.lens-wrap::before { display: none; }
.yv .rp { top: var(--header-h); }
.yv .rp i { background: linear-gradient(90deg, var(--c), var(--gold)); }
.yv .eyebrow { flex-wrap: wrap; }
.yv .eyebrow .dot, .yv .dot { background: var(--c); box-shadow: 0 0 10px var(--c); }
.yv .block { border-top-color: var(--rule); }
.yv .plate, .yv .sym-card, .yv .notice, .yv .reflect, .yv .viz, .yv .explain, .yv .fx-wideblock, .yv .rf, .yv .ref-cta, .yv .start, .yv .cmp-lens, .yv .cmp-list li { border-radius: var(--radius); box-shadow: none; }
.yv .viz, .yv .plate, .yv .explain, .yv .fx-wideblock, .yv .sym-card { background: var(--glass); border: 1px solid color-mix(in srgb, var(--c, var(--gold)) 28%, var(--rule)); }
.yv .reflect, .yv .rf, .yv .ref-cta, .yv .start, .yv .cmp-lens { background: var(--glass); border: 1px solid var(--rule); }
.yv .notice { background: color-mix(in srgb, var(--c, var(--gold)) 8%, var(--surface)); border-color: color-mix(in srgb, var(--c, var(--gold)) 30%, var(--rule)); }
.yv .deep-sec[data-k="edge"] { border-radius: var(--radius); border-left: 2px solid var(--c, var(--gold)); }
.yv .deep-sec[data-k="q"] { border-color: var(--rule); }
.yv .explain > summary, .yv details.about.explain > summary { font: 400 1.375rem/1.2 var(--serif); letter-spacing: 0; }
.yv details.about summary, .yv details.more > summary, .yv .rl summary, .yv .codebox summary { font: 500 .75rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.yv .opt { border-radius: var(--radius); border-width: 1px; background: var(--glass); }
.yv .opt:hover { border-color: var(--c, var(--gold)); background: color-mix(in srgb, var(--c, var(--gold)) 7%, var(--surface)); }
.yv .opt[aria-pressed="true"] { border-color: var(--c, var(--ink)); box-shadow: inset 0 0 0 1px var(--c, var(--ink)); background: color-mix(in srgb, var(--c, var(--gold)) 10%, var(--surface)); }
.yv .seg-ctl button, .yv .rf-seg button { border-radius: var(--radius); }
.yv .seg-ctl button[aria-pressed="true"], .yv .rf-seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* hub: domains numbered like a catalogue, lenses as record cards */
.yv .hub-side .wheel-wrap { filter: drop-shadow(0 0 40px var(--gold-soft)); }
@media (min-width: 860px) { .yv .hub-side { position: static; } }
.yv .rows { border-top: 0; counter-reset: dom; }
.yv .row-group { counter-increment: dom; border-bottom: 0; padding: 40px 2px 14px; }
.yv .row-group:first-child { padding-top: 16px; }
.yv .row-group::before { content: counter(dom, decimal-leading-zero) " / " attr(data-chip); display: block; margin-bottom: 8px; font: 500 .71875rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.yv .row-group .rg-q { font: 400 clamp(2rem, 4.2vw, 2.75rem)/1 var(--serif); letter-spacing: -.012em; }
.yv .rg-d { margin-top: 8px; }
.yv .lens-row { margin-top: 8px; border-radius: var(--radius); border: 1px solid var(--rule); background: var(--glass); transition: transform .15s ease, border-color .15s ease, box-shadow .2s ease; }
.yv .lens-row:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--c) 70%, var(--rule)); box-shadow: 0 10px 40px -20px var(--c); background: var(--glass); }
.yv .lr-no { display: block; margin-bottom: 2px; font-size: .65625rem; letter-spacing: .16em; color: var(--ink-2); }
.yv .lens-row .lr-name { font: 400 1.625rem/1.05 var(--serif); letter-spacing: -.005em; }
.yv .lr-meta { margin-top: 4px; }
.yv .lr-result { font: 400 1.375rem/1.15 var(--serif); }
.yv .lr-result.todo { font: 500 .6875rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.yv .lr-poss b { font-family: var(--mono); }
.yv .badge { font: 500 .625rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; border-radius: 999px; padding: 4px 8px; }
.yv .chip, .yv .cat-chip { border-radius: 999px; }
.yv .cat-chips { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); padding: 8px 0; }
.yv .cat-chip { background: var(--glass); font: 500 .6875rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.yv .cat-chip .mono { font-size: .6875rem; }
.yv .start h2 em { font-style: italic; color: var(--gold); }
.yv .st-item { border-radius: var(--radius); background: var(--glass); }
.yv .st-item:hover { border-color: var(--c); }
.yv .b-lens > summary .b-lname { font: 400 1.375rem/1.1 var(--serif); }
.yv .b-item .b-n { font-weight: 600; }

/* big numerals in the drawings use the display face */
.yv .w-big { font-family: var(--serif); font-weight: 500; }
.yv .fz .t-num, .yv .t-center, .yv .t-rom { font-family: var(--serif) !important; font-weight: 500 !important; }

@media (max-width: 859px) { .yv { padding-top: 22px; } .yv .top { margin-bottom: 22px; } :root { --header-h: 56px; } }
@media (max-width: 560px) { .yv .row-group { padding-top: 32px; } .yv .lens-row .lr-name { font-size: 1.375rem; } }
@media print { .bar, .foot, .yv .top, .sky { display: none; } body::before { display: none; } }

/* start from a share code */
.yv .codebox { margin: 0 0 26px; border: 1px dashed var(--rule-strong); border-radius: var(--radius); padding: 4px 16px; }
.yv .codebox[open] { padding-bottom: 16px; border-style: solid; }
.yv .codebox summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; }
.yv .codebox textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--glass); color: var(--ink); font: 500 .9375rem/1.4 ui-monospace, Consolas, 'SF Mono', monospace; resize: vertical; overflow-wrap: anywhere; }
.yv .codebox .ok { margin: 8px 0 0; font-weight: 700; }

/* icons and drawn figures */
.yv .ico { display: block; }
.yv .lens-row .idx, .yv .lens-row .idx.done { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 12%, transparent); color: var(--ink); }
.yv .lens-row .idx.done { background: var(--c); border-color: var(--c); color: var(--surface); }
.yv .lens-ico { width: 60px; height: 60px; display: grid; place-items: center; border-radius: var(--radius); background: var(--c); color: var(--surface); margin: 6px 0 16px; box-shadow: 0 0 40px -6px var(--c); }
.yv .fx { display: block; width: 100%; height: auto; max-width: 300px; margin: 0 auto; font-family: var(--sans); }
.yv .fx.fx-sm { width: 112px; }
.yv .fx.fx-wide { max-width: 640px; }
.yv .fx-fig { width: 128px; display: grid; place-items: center; }
/* Birth place in setup */
.place-more { margin-top: 8px; }
.place-more summary { cursor: pointer; font-size: .875rem; color: var(--muted); }
.place-xy { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 4px; }
.place-xy label { display: grid; gap: 4px; font-size: .8125rem; }
/* The full birth chart wheel (core/chart.js) */
.yv .fx-wide { margin: 14px 0 6px; }
.yv .fx-wide .ch { display: block; width: 100%; max-width: 460px; height: auto; margin: 0 auto; }
.yv .ch-seg { stroke: var(--rule); stroke-width: 1; }
.yv .ch-seg-a { fill: color-mix(in srgb, var(--c, var(--ink)) 12%, transparent); }
.yv .ch-seg-b { fill: transparent; }
.yv .ch-ring { fill: none; stroke: var(--rule); stroke-width: 1; }
.yv .ch-tick { stroke: var(--muted); stroke-width: 1; }
.yv .ch-lead { stroke: var(--c, var(--ink)); stroke-width: 1.6; }
.yv .ch-cusp { stroke: var(--muted); stroke-width: .8; }
.yv .ch-axis { stroke: var(--ink); stroke-width: 1.8; }
.yv .ch-hn { fill: var(--muted); font: 500 10px var(--mono); }
.yv .ch-axl { fill: var(--ink); font: 600 10px var(--mono); letter-spacing: .08em; }
.yv .ch-pl { fill: var(--ink); font: 16px 'Segoe UI Symbol', 'Apple Symbols', 'Noto Sans Symbols', 'DejaVu Sans', sans-serif; }
.yv .ch-pl.ch-faint { opacity: .5; }
.yv .ch-rx { fill: var(--muted); font: 600 8px var(--mono); }
.yv .ch-pt { fill: var(--c, var(--ink)); }
.yv .ch-asp-soft { stroke: var(--c, var(--ink)); stroke-width: 1.1; opacity: .75; }
.yv .ch-asp-hard { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; opacity: .55; }
.yv .fx-tint { display: grid; place-items: center; width: 128px; height: 128px; border-radius: 50%; background: var(--surface); border: 1px solid color-mix(in srgb, var(--c) 30%, var(--rule)); }
.yv .fx-wideblock { margin: 18px 0; padding: 16px; }
.yv .plate-fx { padding: 20px; }
@media (max-width: 560px) { .yv .fx-fig, .yv .fx-tint { width: 96px; } .yv .fx-tint { height: 96px; } .yv .fx-tint .ico { width: 68px; height: 68px; } }
.yv .lens-row { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 18px; padding: 18px 20px; }
@media (max-width: 560px) { .yv .lens-row { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px; } .yv .lens-row .idx, .yv .lens-row .idx.done { width: 40px; height: 40px; } .yv .lens-row .lr-result { grid-column: 2; text-align: left; } }
.yv .fx.fx-rose { max-width: 640px; }
.yv .explain { margin: 18px 0 22px; padding: 6px 18px 14px; }
.yv .explain > summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; }
.yv .explain:not([open]) { padding-bottom: 6px; }
.yv details.about.explain { padding: 6px 20px 16px; }
.yv details.about.explain > summary { padding: 0; }

/* Real glyph drawings sit on a white plate in both themes, like a rubbing on paper. */
.yv .fx-plate { display: grid; place-items: center; width: 128px; height: 128px; padding: 12px; border-radius: var(--radius); background: #fff; border: 1px solid color-mix(in srgb, var(--c) 30%, var(--rule)); }
.yv .fx-plate img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (max-width: 560px) { .yv .fx-plate { width: 96px; height: 96px; padding: 9px; } }

/* the start screen opens on the sky at this moment */
.yv .hero { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .yv .hero { grid-template-columns: minmax(0, 1.25fr) minmax(280px, .85fr); gap: 48px; } }
.yv .dial-fig { margin: 0; display: grid; gap: 14px; justify-items: center; }
.yv .dial { width: 100%; max-width: 440px; height: auto; display: block; overflow: visible; }
@media (max-width: 859px) { .yv .dial { max-width: 300px; } }
.yv .dial-fig figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; color: var(--ink-2); text-align: center; }
.yv .dial-fig figcaption span:first-child { color: var(--gold); }
.yv .dial-ring { fill: none; stroke: var(--rule-strong); stroke-width: 1; opacity: .7; }
.yv .dial-ring.dash { stroke-dasharray: 2 5; opacity: .5; }
.yv .dial-tick { stroke: var(--rule-strong); stroke-width: 1; opacity: .55; }
.yv .dial-cusp { stroke: var(--rule-strong); stroke-width: 1; opacity: .6; }
.yv .dial-spoke { stroke: var(--gold); stroke-width: 1; stroke-dasharray: 2 4; opacity: .6; }
.yv .dial .gl { stroke: var(--ink-2); stroke-width: 1.4; }
.yv .dial .gl.dial-sun-sign { stroke: var(--gold); stroke-width: 2; }
.yv .dial-sun { fill: var(--gold); }
.yv .dial-sun-glow { fill: var(--gold); opacity: .18; }
.yv .dial-halo { fill: var(--gold-soft); }
.yv .dial-spin { transform-origin: 200px 200px; animation: dial-turn 240s linear infinite; }
@keyframes dial-turn { to { transform: rotate(360deg); } }
.yv .kicker span::before { content: "✦"; margin-right: 8px; font-size: .8em; }
.yv .hero-wheel { margin: 0; display: grid; gap: 14px; justify-items: center; }
.yv .hero-wheel .wheel-wrap { max-width: 440px; filter: drop-shadow(0 0 50px var(--gold-soft)); }
@media (max-width: 859px) { .yv .hero-wheel .wheel-wrap { max-width: 320px; } }
.yv .hero-wheel figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; color: var(--ink-2); text-align: center; }
.yv .hero-wheel figcaption span:first-child { color: var(--gold); }
.sky .dial-fig { margin-bottom: 4px; }
.sky .dial { max-width: 360px; }
.sky .dial-fig figcaption { display: none; }
/* drawn figures keep the lettering they were measured for */
.yv svg text, .yv .scale .zl { text-transform: none; }
.yv .w-small { letter-spacing: .04em; }
.sky--end { margin-top: 32px; }
@media (min-width: 860px) { .sky--end { display: none; } }
@media (max-width: 859px) { .sky--side { display: none; } }
@media (max-width: 560px) { .yv .tabs { display: flex; width: 100%; } .yv .tabs button { flex: 1; padding: 0 8px; letter-spacing: .06em; font-size: .6875rem; } }

/* engraved zodiac rings */
.yv .zname { font: 500 8.5px var(--mono); letter-spacing: .28em; fill: var(--ink-2); }
.yv .bead { fill: var(--rule-strong); }
.yv .fz-zodiac .zname { fill: var(--muted); }
.yv .dial .zname { fill: var(--gold); opacity: .85; font-size: 9px; }
.yv .dial .bead { fill: var(--gold); opacity: .55; }

/* tabs carry icons */
.yv .tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.yv .tab-ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* on phones the tabs float at the bottom, within reach of a thumb */
@media (max-width: 859px) {
  .yv .top--mounted { position: fixed; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; margin: 0; }
  .yv .top--mounted .tabs { display: flex; width: 100%; padding: 6px; gap: 4px; background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .55); border-color: var(--rule); }
  .yv .top--mounted .tabs button { flex: 1; flex-direction: column; gap: 4px; min-height: 56px; padding: 6px 4px; border-radius: 999px; font-size: .625rem; letter-spacing: .1em; }
  .yv .top--mounted .tab-ic { width: 20px; height: 20px; }
  .yv .top--mounted .tabs button[aria-current="page"] { background: var(--gold); color: var(--on-gold); }
  .yv { padding-bottom: 120px; }
  .foot__in { padding-bottom: 120px; }
}

/* the web of lenses and themes, lit like a knowledge graph */
.yv .plate-web { background: var(--glass); }
.yv .plate-web .fz { max-width: 520px; }
.yv .plate-web .edge { opacity: .5; }
.yv .plate-web .th-top { fill: var(--gold); stroke: var(--gold); }
:root[data-theme="dark"] .yv .plate-web { background: radial-gradient(circle at 50% 50%, rgba(201, 164, 92, .07), transparent 65%), var(--surface); }
:root[data-theme="dark"] .yv .plate-web .edge { opacity: .7; mix-blend-mode: screen; filter: drop-shadow(0 0 2px var(--c)); }
:root[data-theme="dark"] .yv .plate-web .th-top { filter: drop-shadow(0 0 6px var(--gold)); }
:root[data-theme="dark"] .yv .plate-web .ln:not(.off) { filter: drop-shadow(0 0 4px var(--c)); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .yv .plate-web { background: radial-gradient(circle at 50% 50%, rgba(201, 164, 92, .07), transparent 65%), var(--surface); }
  :root:not([data-theme="light"]) .yv .plate-web .edge { opacity: .7; mix-blend-mode: screen; filter: drop-shadow(0 0 2px var(--c)); }
  :root:not([data-theme="light"]) .yv .plate-web .th-top { filter: drop-shadow(0 0 6px var(--gold)); }
  :root:not([data-theme="light"]) .yv .plate-web .ln:not(.off) { filter: drop-shadow(0 0 4px var(--c)); }
}

/* one palette everywhere: drawings and artwork take an antique, engraved tone */
.yv .sym, .yv .art, .yv .tcard-img, .yv .cn-panel img, .yv .portrait .pt-fig img { filter: sepia(.5) saturate(.55) contrast(1.02); }
.yv .fx-plate { background: #F3EDE0; }
.yv .fx-plate img { filter: sepia(.35); }
.yv .portrait .pt-fig { background: var(--surface); }
.yv .cn-panel { border-color: var(--gold); }
.yv .hero-title, .yv .result-title { letter-spacing: -.015em; }
.yv .hero-title em, .yv .display em { font-weight: 500; }
.yv .wheel .w-small { text-transform: none; letter-spacing: .01em; font: 400 15px var(--serif); }

/* Jost: light display, upright gold accents, wide capitals for labels */
.yv .display, .yv h1, .yv h2, .yv h3 { font-weight: 400; letter-spacing: -.02em; }
.yv .display, .yv .hero-title, .yv .result-title, .yv .hub-title, .yv .mirror-title, .yv .you-title, .yv .row-group .rg-q { font-weight: 300; }
.yv .display em, .yv h2 em, .yv .hero-title em, .yv .start h2 em { font-style: normal; font-weight: inherit; color: var(--gold); }
.yv .block .words, .yv .reflect .prompt, .yv .qs p, .yv .deep-sec[data-k="q"] p, .yv .rf-q { font-style: normal; font-weight: 300; font-size: 1.5rem; }
.yv .mono, .yv .field > label, .yv .privacy, .yv .badge, .yv .cat-chip, .yv .tabs button, .yv .back, .yv .lr-result.todo, .yv .row-group::before,
.yv details.about summary, .yv details.more > summary, .yv .rl summary, .yv .codebox summary, .brand, .iconbtn, .foot details summary { letter-spacing: .2em; }
.brand { letter-spacing: .38em; font-weight: 400; }
.yv .lens-row .lr-name { font-weight: 400; font-size: 1.5rem; }
.yv .lr-result { font-weight: 300; }
.yv .wheel .w-small { font: 400 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.yv .w-big, .yv .fz .t-num, .yv .t-center, .yv .t-rom { font-weight: 300 !important; }
.foot__by { font-weight: 300; }
.yv .wheel .w-small { font: 400 12px var(--mono); letter-spacing: .04em; text-transform: none; }
.yv .preview .fact .v { font-size: clamp(1.25rem, 2.3vw, 1.625rem); font-weight: 300; }

/* Tenor Sans has one weight; letter spacing stays close, nothing wide */
.yv .display, .yv h1, .yv h2, .yv h3, .yv .hero-title, .yv .result-title, .yv .hub-title, .yv .mirror-title, .yv .you-title, .yv .row-group .rg-q,
.yv .lens-row .lr-name, .yv .lr-result, .yv .w-big, .yv .fz .t-num, .yv .t-center, .yv .t-rom, .yv .preview .fact .v, .foot__by,
.yv .block .words, .yv .reflect .prompt, .yv .qs p, .yv .deep-sec[data-k="q"] p, .yv .rf-q { font-weight: 400 !important; letter-spacing: -.01em; }
.yv .hero-title { font-size: clamp(2.75rem, 7.4vw, 5.75rem); }
.yv .result-title { font-size: clamp(3rem, 10.5vw, 7.25rem); }
.yv .mono, .yv .field > label, .yv .privacy, .yv .badge, .yv .cat-chip, .yv .tabs button, .yv .back, .yv .lr-result.todo, .yv .row-group::before,
.yv details.about summary, .yv details.more > summary, .yv .rl summary, .yv .codebox summary, .iconbtn, .foot details summary, .sky-l small { letter-spacing: .06em; }
.brand { letter-spacing: .14em; font: 400 1.125rem/1 var(--serif); }
.yv .zname { letter-spacing: .12em; }

/* ---------- Sun and Moon markers: a matching pair in one ink (the lens colour on a lens page, the house colour elsewhere) ---------- */
.yv .mk { --mk: var(--c, var(--gold)); }
.yv .dial .mk { --mk: var(--gold); }
.yv .mk-bg { fill: var(--surface); }
.yv .mk-ring { fill: none; stroke: var(--mk); stroke-width: 1.8; }
.yv .mk-fill { fill: var(--mk); }
.yv .mk-line { fill: none; stroke: var(--mk); stroke-width: 1.6; stroke-linecap: round; }
.yv .mk-moon .moon-l { fill: var(--mk); }
.yv .mk-moon .moon-d { fill: color-mix(in srgb, var(--mk) 14%, var(--surface)); }
.yv .k-sun { background: var(--c, var(--gold)); }
.yv .k-moon { background: linear-gradient(90deg, color-mix(in srgb, var(--c, var(--gold)) 14%, var(--surface)) 50%, var(--c, var(--gold)) 50%); box-shadow: inset 0 0 0 1.5px var(--c, var(--gold)); }

/* ---------- Tarot cards (core/visuals.js, tarotCard), drawn for FACETS; their inks follow the look ---------- */
.yv .tcard { --tc-bg: #100F0C; --tc-face: #17150F; --tc-ink: #EDE6D6; --tc-acc: #C9A45C; max-width: 230px; filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .35)); }
:root[data-look="classic"] .yv .tcard { --tc-bg: #1A1724; --tc-face: #221E30; --tc-ink: #F3F1F9; --tc-acc: #B69CFF; }
:root[data-look="mono"] .yv .tcard { --tc-bg: #FFFFFF; --tc-face: #FFFFFF; --tc-ink: #0A0A0A; --tc-acc: #0A0A0A; filter: none; }
:root[data-look="paper"] .yv .tcard { --tc-bg: #FFFFFF; --tc-face: #F6F4EE; --tc-ink: #141414; --tc-acc: #1F3A5F; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .12)); }
:root[data-look="occult"] .yv .tcard { --tc-bg: #E4D3AE; --tc-face: #EADCBB; --tc-ink: #110D0A; --tc-acc: #17120E; filter: url(#ink-rough) drop-shadow(0 6px 14px rgba(20, 12, 6, .3)); }
.yv .tcard .tc-bg { fill: var(--tc-bg); stroke: var(--tc-acc); stroke-width: 1.5; }
.yv .tcard .tc-fr { fill: none; stroke: var(--tc-acc); stroke-width: 1.2; }
.yv .tcard .tc-fr2 { fill: none; stroke: var(--tc-acc); stroke-width: .5; opacity: .7; }
.yv .tcard .tc-orn { fill: var(--tc-acc); }
.yv .tcard .tc-rule { stroke: var(--tc-acc); stroke-width: 1; }
.yv .tcard .tc-num { fill: var(--tc-ink); font: 400 24px var(--serif) !important; letter-spacing: .06em; }
.yv .tcard .tc-win { fill: var(--tc-face); stroke: var(--tc-acc); stroke-width: 1.4; }
.yv .tcard .tc-win2 { fill: none; stroke: var(--tc-acc); stroke-width: .6; stroke-dasharray: 2 3; opacity: .8; }
.yv .tcard .tc-ray { stroke: var(--tc-acc); stroke-width: .6; opacity: .28; }
.yv .tcard .tc-st { fill: var(--tc-ink); opacity: .55; }
.yv .tcard .tc-rib { fill: var(--tc-bg); stroke: var(--tc-acc); stroke-width: 1.2; }
.yv .tcard .tc-name { fill: var(--tc-ink); font: 500 11.5px var(--mono) !important; letter-spacing: .16em; }
.yv .tcard .emb .e { stroke: var(--tc-ink); }
.yv .tcard .emb .a { fill: var(--tc-acc); stroke: var(--tc-acc); }
.yv .tcard .emb .a-o, .yv .tcard .emb .a-l { stroke: var(--tc-acc); }
.yv .tcard .emb .a-s { fill: color-mix(in srgb, var(--tc-acc) 25%, transparent); stroke: var(--tc-acc); }

/* ---------- FACETS icons (js/lenses/pictures/icons.js): single strokes, filled accents, a ghost for shadows ---------- */
.ico .if { fill: currentColor; stroke: none; }
.ico .it { fill: currentColor; fill-opacity: .22; stroke: none; }
.ico .ih { opacity: .45; stroke-dasharray: 1.6 1.8; }

/* ---------- The Web: how everything connects ---------- */
.yv .web-wrap { max-width: var(--wrap); margin: 0 auto; }
.yv .web-title { font-size: clamp(2.75rem, 7vw, 4.75rem); line-height: .96; margin: 4px 0 12px; }
.yv .web-lede { font-size: 17px; max-width: 62ch; }
.yv .web { margin-top: 22px; }
.yv .web-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 12px; }
.yv .web-filters { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; align-items: center; gap: 10px; }
.yv .web-filters legend { float: left; margin: 0 4px 0 0; padding: 0; font-size: .6875rem; line-height: 36px; color: var(--ink-2); }
.yv .web-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.yv .web-chip { position: relative; display: inline-flex; }
.yv .web-chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.yv .web-chip span { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink-2); font: 500 .6875rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.yv .web-chip span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid currentColor; }
.yv .web-chip input:checked + span { color: var(--ink); border-color: var(--rule-strong); }
.yv .web-chip input:checked + span::before { background: var(--gold); border-color: var(--gold); }
.yv .web-chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.yv .web-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.yv .web-find { display: flex; align-items: center; gap: 10px; min-width: 0; }
.yv .web-find .mono { font-size: .6875rem; color: var(--ink-2); }
.yv .web-find select { min-height: 44px; width: 210px; max-width: 100%; padding: 0 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); color: var(--ink); font: 400 .9375rem var(--sans); }
.yv .web-zoom { display: flex; gap: 6px; }
.yv .web-zoom .iconbtn { font-size: 1.125rem; letter-spacing: 0; }
.yv .web-zoom .web-fit { font-size: .75rem; letter-spacing: .1em; }
.yv .web-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.yv .web-stage { position: relative; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; background: radial-gradient(circle at 50% 50%, var(--gold-soft), transparent 62%), var(--surface); }
.yv .web-svg { display: block; width: 100%; height: clamp(440px, 72vh, 760px); touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.yv .web-svg:active { cursor: grabbing; }
.yv .web-hint { position: absolute; left: 14px; bottom: 10px; margin: 0; font-size: .625rem; color: var(--ink-2); pointer-events: none; }
.yv .web-info { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--glass); padding: 20px; max-height: clamp(440px, 72vh, 760px); overflow-y: auto; }
.yv .web-info h2 { font-size: 1.75rem; line-height: 1.05; margin: 4px 0 10px; }
.yv .web-info h3 { font-size: .6875rem; color: var(--ink-2); margin: 18px 0 6px; }
.yv .web-info p { font-size: .9375rem; }
.yv .web-kick { font-size: .6875rem; color: var(--gold); margin: 0; }
.yv .web-info .actions { margin-top: 18px; }
.yv .web-info .btn { min-height: 46px; padding: 0 20px; font-size: .9375rem; }
.yv .web-nbs { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.yv .web-nb { display: grid; grid-template-columns: 10px 1fr; column-gap: 10px; align-items: baseline; width: 100%; min-height: 36px; padding: 7px 8px; border: 0; border-radius: 4px; background: none; color: var(--ink); text-align: left; font: 400 .9375rem/1.3 var(--sans); cursor: pointer; }
.yv .web-nb:hover { background: var(--gold-soft); }
.yv .web-nb i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--gold)); align-self: center; }
.yv .web-nb.k-group i { background: none; border: 1.5px solid var(--gold); }
.yv .web-nb.k-result i { width: 6px; height: 6px; background: var(--ink-2); justify-self: center; }
.yv .web-nb small { grid-column: 2; color: var(--ink-2); font-size: .8125rem; }
.yv .web-words ul { margin: 10px 0 14px; padding-left: 20px; }
.yv .web-words li { margin: 4px 0; }
.yv .web-words details.more { padding-bottom: 10px; }
.yv .web-words h3 { font-size: .6875rem; color: var(--ink-2); margin: 26px 0 10px; }

/* the drawing */
.yv .web-svg .we { stroke: var(--rule-strong); stroke-width: .8; opacity: .55; transition: opacity .15s; }
.yv .web-svg .e-spine { stroke: var(--gold); opacity: .45; stroke-width: 1.1; }
.yv .web-svg .e-leaf { opacity: .5; }
.yv .web-svg .e-vote { stroke: var(--c); opacity: .38; }
.yv .web-svg .e-pull { stroke: var(--gold); stroke-dasharray: 4 4; opacity: .7; stroke-width: 1.2; }
.yv .web-svg .wn { cursor: pointer; transition: opacity .15s; }
.yv .web-svg .wn .dot { stroke: var(--surface); stroke-width: 1.5; }
.yv .web-svg .k-you .dot { fill: var(--gold); stroke: var(--surface); stroke-width: 2; }
.yv .web-svg .k-you .halo { fill: none; stroke: var(--gold); stroke-width: 1; opacity: .5; }
.yv .web-svg .k-you .star { fill: var(--on-gold); }
.yv .web-svg .k-group .dot { fill: var(--surface); stroke: var(--gold); stroke-width: 1.6; }
.yv .web-svg .k-group .core { fill: var(--gold); }
.yv .web-svg .k-lens.on .dot { fill: var(--c); }
.yv .web-svg .k-lens.off .dot { fill: var(--surface); stroke: var(--c); stroke-dasharray: 2 2; stroke-width: 1.2; }
.yv .web-svg .k-result .dot { fill: var(--ink-2); stroke-width: 1; }
.yv .web-svg .k-theme .dot { fill: var(--gold-soft); stroke: var(--gold); stroke-width: 1.4; }
.yv .web-svg .k-theme.best .dot { fill: var(--gold); }
.yv .web-svg .wn .hit { fill: transparent; stroke: none; }
.yv .web-svg .wn[display="none"] { display: none; }
.yv .web-svg .k-theme.none .dot { stroke-dasharray: 2 2; opacity: .6; }
.yv .web-svg .wn.sel .dot { stroke: var(--ink); stroke-width: 2.5; }
.yv .web-svg .wl { font: 400 calc(10.5px / var(--k, 1)) var(--sans); fill: var(--ink-2); paint-order: stroke; stroke: var(--surface); stroke-width: calc(3px / var(--k, 1)); stroke-linejoin: round; pointer-events: none; }
.yv .web-svg .k-you .wl { font: 400 calc(15px / var(--k, 1)) var(--serif); fill: var(--ink); }
.yv .web-svg .k-group .wl { font: 500 calc(10px / var(--k, 1)) var(--mono); letter-spacing: .08em; text-transform: uppercase; fill: var(--gold); }
.yv .web-svg .k-theme .wl { font: 400 calc(13px / var(--k, 1)) var(--serif); fill: var(--ink); }
/* names: core/web.js decides which to show (by zoom and importance) and skips any that would overlap */
.yv .web-svg .wl { opacity: 0; }
.yv .web-svg .wn.show .wl { opacity: 1; }
.yv .web-svg[data-mode="lens"] .k-lens .wl { font-size: calc(11.5px / var(--k, 1)); fill: var(--ink); }
.yv .web-svg .e-agree { stroke: var(--gold); opacity: .32; stroke-linecap: round; }/* hovering or choosing a point lights it, its neighbours and the lines between */
.yv .web-svg.hl .wn:not(.nb) { opacity: .16; }
.yv .web-svg.hl .we:not(.on) { opacity: .05; }
.yv .web-svg.hl .we.on { opacity: .95; }
:root[data-theme="dark"] .yv .web-svg .e-vote { opacity: .5; mix-blend-mode: screen; }
:root[data-theme="dark"] .yv .web-svg .k-lens.on .dot, :root[data-theme="dark"] .yv .web-svg .k-theme.best .dot, :root[data-theme="dark"] .yv .web-svg .k-you .dot { filter: drop-shadow(0 0 5px var(--c, var(--gold))); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .yv .web-svg .e-vote { opacity: .5; mix-blend-mode: screen; }
  :root:not([data-theme="light"]) .yv .web-svg .k-lens.on .dot, :root:not([data-theme="light"]) .yv .web-svg .k-theme.best .dot, :root:not([data-theme="light"]) .yv .web-svg .k-you .dot { filter: drop-shadow(0 0 5px var(--c, var(--gold))); }
}
@media (max-width: 959px) {
  .yv .web-body { grid-template-columns: minmax(0, 1fr); }
  .yv .web-svg { height: clamp(400px, 68vh, 640px); }
  .yv .web-info { max-height: none; }
}
@media (max-width: 560px) {
  .yv .web-filters { display: block; }
  .yv .web-filters legend { float: none; line-height: 1; margin-bottom: 8px; }
  .yv .web-chip span { min-height: 34px; padding: 0 11px; }
  .yv .web-tools { width: 100%; }
  .yv .web-find { flex: 1; }
  .yv .web-find select { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .yv .web-svg .we, .yv .web-svg .wn { transition: none; } }

/* the map by domain */
.yv .web-bar { align-items: flex-end; }
.yv .web-pick { margin: 0; flex: 1 1 520px; }
.yv .web-svg .e-spine { stroke: var(--gold); opacity: .35; stroke-width: 1; }
.yv .web-svg .e-branch { stroke: var(--rule-strong); opacity: .5; stroke-width: .8; }
.yv .web-svg .e-dom { fill: none; stroke: var(--gold); opacity: .32; stroke-linecap: round; }
.yv .web-svg.no-dom .e-dom, .yv .web-svg.no-dom .t-dom { display: none; }
.yv .web-svg .e-agree { fill: none; stroke: var(--gold); opacity: 0; stroke-linecap: round; pointer-events: none; }
.yv .web-svg .e-pull { fill: none; stroke: var(--gold); stroke-dasharray: 5 5; stroke-width: 1.4; opacity: 0; pointer-events: none; }
.yv .web-svg.show-pull .e-pull { opacity: .55; pointer-events: stroke; }
.yv .web-svg .k-group .dot { fill: var(--surface); stroke: var(--gold); stroke-width: 1.8; }
.yv .web-svg .k-group.empty .dot { stroke-dasharray: 3 3; opacity: .6; }
.yv .web-svg .k-group.empty .core { opacity: .3; }
.yv .web-svg .k-group .wl { font: 500 calc(11px / var(--k, 1)) var(--mono); letter-spacing: .1em; text-transform: uppercase; fill: var(--gold); }
.yv .web-svg .k-lens .wl { font: 400 calc(10.5px / var(--k, 1)) var(--sans); fill: var(--ink); }
.yv .web-svg .wr { font: 400 calc(9.5px / var(--k, 1)) var(--sans); fill: var(--ink-2); opacity: 0; paint-order: stroke; stroke: var(--surface); stroke-width: calc(3px / var(--k, 1)); stroke-linejoin: round; pointer-events: none; }
.yv .web-svg .wn.show-res .wr { opacity: 1; }
.yv .web-svg .wt { font: 500 calc(9.5px / var(--k, 1)) var(--mono); letter-spacing: .04em; fill: var(--gold); opacity: 0; paint-order: stroke; stroke: var(--surface); stroke-width: calc(3.5px / var(--k, 1)); stroke-linejoin: round; pointer-events: none; }
.yv .web-svg .wt.show { opacity: 1; }
.yv .web-svg .k-you .wl { font-size: calc(15px / var(--k, 1)); }
/* lit: the chosen point, what it touches, and the lines between */
.yv .web-svg.hl .wn:not(.nb) { opacity: .14; }
.yv .web-svg.hl .e-branch:not(.on), .yv .web-svg.hl .e-spine { opacity: .06; }
.yv .web-svg.hl .e-dom:not(.on) { opacity: .06; }
.yv .web-svg .e-dom.on { opacity: .85; }
.yv .web-svg .e-agree.on { opacity: .8; pointer-events: stroke; }
.yv .web-svg.hl .e-agree:not(.on), .yv .web-svg.hl .e-pull:not(.on) { opacity: 0; }
.yv .web-svg .e-pull.on { opacity: .9; }
.yv .web-svg .e-branch.on { opacity: .9; }
.yv .web-sum { font-size: 1.0625rem; }
.yv .web-res { font: 400 1.25rem/1.3 var(--serif); margin: 0 0 8px; }
.yv .web-tip { font-size: .8125rem; margin: 0 0 4px; }
.yv .web-badge { display: inline-block; margin-left: 4px; padding: 1px 7px; border: 1px solid var(--rule-strong); border-radius: 999px; font: 500 .625rem/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); vertical-align: 1px; }
.yv .web-badge.hot { border-color: var(--gold); color: var(--gold); }
.yv .web-nb.web-pairbtn i, .yv .web-nb.web-pullbtn i { background: none; border: 1.5px solid var(--gold); }
.yv .web-nb.web-pullbtn i { border-style: dashed; }
.yv .web-nb.k-theme i { background: var(--gold); border-radius: 2px; transform: rotate(45deg); width: 7px; height: 7px; }
.yv .web-info h2 em { font-style: normal; color: var(--gold); }

/* ---------- Domain rose (core/app.js, domainRose): 14 wedges that fill as you open lenses ---------- */
.yv .rose .rw-ring { fill: none; stroke: var(--rule); stroke-width: 1; }
.yv .rose .rw-base { fill: color-mix(in srgb, var(--c) 10%, var(--surface)); stroke: var(--c); stroke-width: 1.2; stroke-opacity: .55; }
.yv .rose .rw-empty .rw-base { fill: none; stroke-dasharray: 3 3; stroke-opacity: .5; }
.yv .rose .rw-fill { fill: var(--c); stroke: var(--c); stroke-width: 1.2; }
.yv .rose .rw-lab { font: 500 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; fill: var(--ink-2); }
.yv .rose .rw-full .rw-lab { fill: var(--ink); }
.yv .rose .rw[data-act] { cursor: pointer; }
.yv .rose .rw[data-act]:hover .rw-base { stroke-opacity: 1; fill: color-mix(in srgb, var(--c) 22%, var(--surface)); }
.yv .rose .rw:focus { outline: none; }
.yv .rose .rw:focus-visible .rw-base { stroke: var(--ink); stroke-width: 2.5; stroke-opacity: 1; }

/* ---------- The Web's four views (core/web.js) ---------- */
.yv .web-view { margin-top: 4px; }
.yv .web-bar { margin-bottom: 14px; }
.yv .web-svg.cs, .yv .web-svg.ec { height: auto; aspect-ratio: 640 / 430; cursor: default; touch-action: pan-y; }
.yv .web-svg.ec { aspect-ratio: 640 / 450; }
.yv .cs-sky { fill: var(--ink-2); opacity: .35; }
.yv .cs-line { stroke: var(--gold); stroke-width: 1.1; opacity: .55; }
.yv .cs-star, .yv .ec-node { cursor: pointer; }
.yv .cs-hit { fill: transparent; }
.yv .cs-glow { fill: var(--c); opacity: .16; }
.yv .cs-dot { fill: var(--c); stroke: var(--surface); stroke-width: 1; }
.yv .cs-star:hover .cs-dot, .yv .cs-star:focus-visible .cs-dot, .yv .ec-node:hover .ec-dot, .yv .ec-node:focus-visible .ec-dot { stroke: var(--ink); stroke-width: 2; }
.yv .cs-star:focus, .yv .ec-node:focus { outline: none; }
.yv .cs-lab { font: 400 11.5px var(--sans); fill: var(--ink); paint-order: stroke; stroke: var(--surface); stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
.yv .cs-name { font: 400 26px var(--serif); fill: var(--gold); }
.yv .cs-count { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; fill: var(--ink-2); }
.yv .cs-nav { position: absolute; right: 12px; bottom: 10px; display: flex; align-items: center; gap: 8px; }
.yv .cs-nav .iconbtn { min-width: 40px; height: 40px; font-size: 1rem; background: var(--surface); }
.yv .ec-ring { fill: none; stroke: var(--rule); stroke-dasharray: 2 4; }
.yv .ec-line { stroke: var(--gold); opacity: .5; }
.yv .ec-line.t1 { opacity: .3; } .yv .ec-line.t2 { opacity: .16; }
.yv .ec-dot { fill: var(--c); stroke: var(--surface); stroke-width: 1.5; }
.yv .ec-core { fill: var(--c); stroke: var(--gold); stroke-width: 2; }
.yv .ec-name { font: 400 18px var(--serif); fill: var(--ink); paint-order: stroke; stroke: var(--surface); stroke-width: 4px; }
.yv .ec-pick { margin-bottom: 12px; }
.yv .web-back { margin-bottom: 8px; }
/* the loom: one thread per theme, woven from a strand per domain */
.yv .lm-wrap { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); padding: 18px 20px 10px; }
.yv .lm { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.yv .lm-row { display: grid; gap: 6px; transition: opacity .2s; }
.yv .lm-body:has(.lm-cell.on) .lm-row:not(.lit) .lm-bar { opacity: .4; }
.yv .lm-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0; }
.yv .lm-name { font: 400 1.125rem/1.2 var(--serif); color: var(--ink); }
.yv .lm-n { font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.yv .lm-bar { display: flex; flex-wrap: wrap; gap: 3px; min-width: min(100%, 220px); max-width: 100%; }
.yv .lm-cell { flex: 1 1 24px; min-width: 24px; height: 26px; padding: 0; border: 0; border-radius: 3px; cursor: pointer; background:
  repeating-linear-gradient(115deg, transparent 0 5px, rgba(255, 255, 255, .16) 5px 6px, transparent 6px 8px, rgba(0, 0, 0, .14) 8px 9px), var(--c); transition: transform .15s, box-shadow .15s; }
.yv .lm-cell:first-child { border-radius: 13px 3px 3px 13px; }
.yv .lm-cell:last-child { border-radius: 3px 13px 13px 3px; }
.yv .lm-cell:only-child { border-radius: 13px; }
.yv .lm-cell:hover { transform: translateY(-2px); }
.yv .lm-cell.on { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.yv .lm-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; font: 500 .6875rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.yv .lm-key { display: inline-flex; align-items: center; gap: 6px; }
.yv .lm-key i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.yv .lm-key.on { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.yv .lm-quiet { margin: 18px 0 6px; font-size: .875rem; }
/* story cards */
.yv .sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.yv .sc { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--glass); padding: 18px 20px; }
.yv .sc-wide { grid-column: 1 / -1; }
.yv .sc h3 { margin: 4px 0 6px; font-size: 1.25rem; }
.yv .sc p { font-size: .9375rem; }
.yv .sc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.yv .sc-list { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 8px; font-size: .9375rem; }
.yv .sc-more summary { cursor: pointer; font: 500 .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); min-height: 36px; display: inline-flex; align-items: center; }
.yv .sc-more ul { margin: 6px 0 0; padding-left: 18px; font-size: .875rem; display: grid; gap: 4px; }
.yv .sc-info { margin-top: 14px; max-height: none; }
@media (max-width: 560px) { .yv .web-mode { flex-wrap: wrap; border-radius: 18px; } .yv .web-mode button { flex: 1 1 45%; } }
/* on a phone the constellation and echo drawings shrink to fit, so their names are drawn larger and the hint moves below */
@media (max-width: 559px) {
  .yv .cs-lab { font-size: 20px; stroke-width: 5px; }
  .yv .cs-name { font-size: 42px; }
  .yv .cs-count { font-size: 19px; }
  .yv .ec-name { font-size: 30px; stroke-width: 6px; }
  .yv .web-stage:has(.cs, .ec) .web-hint { position: static; padding: 0 12px 10px; }
  .yv .cs-nav { position: static; justify-content: flex-end; padding: 0 12px 10px; }
}
@media (max-width: 559px) { .yv .lm-wrap { padding: 14px 14px 8px; } .yv .lm-bar { width: 100% !important; } }

/* ---------- Today (core/today.js): a daily reading with its reasons ---------- */
.yv .today-wrap { max-width: 1000px; margin: 0 auto; }
.yv .today-wrap .lede { max-width: 720px; }
.yv .td-sum { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--glass); padding: 22px 24px; margin-top: 28px; }
.yv .td-lean { font: 400 1.375rem/1.35 var(--serif); margin: 4px 0 16px; }
.yv .td-lean b { font-weight: inherit; color: var(--gold); }
.yv .td-themes { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.yv .td-themes li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 14px; align-items: center; }
.yv .td-tn { font: 500 .8125rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.yv .td-bar { height: 10px; border-radius: 5px; background: var(--gold-soft); overflow: hidden; }
.yv .td-bar i { display: block; height: 100%; border-radius: 5px; background: var(--gold); }
.yv .td-from { grid-column: 2; font-size: .875rem; color: var(--ink-2); }
.yv .td-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; border-top: 1px solid var(--rule); padding-top: 14px; }
.yv .td-two h3 { margin: 0 0 6px; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.yv .td-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: .9375rem; }
.yv .td-list small { color: var(--ink-2); }
.yv .td-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 12px; }
.yv .td-card { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--glass); padding: 16px 18px; }
.yv .td-card p { font-size: .9375rem; margin: 0 0 8px; }
.yv .td-k { font-size: .6875rem !important; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 4px !important; }
.yv .td-t { margin: 0 0 2px; font-size: 1.25rem; }
.yv .td-m { color: var(--ink-2); font-size: .8125rem !important; }
.yv .td-why { border-top: 1px dashed var(--rule); padding-top: 8px; color: var(--ink-2); font-size: .875rem !important; margin-bottom: 0 !important; }
.yv .td-why b { color: var(--ink); font-weight: 600; }
.yv .td-note { margin-top: 26px; font-size: .875rem; }
@media (max-width: 559px) {
  .yv .td-sum { padding: 18px 16px; }
  .yv .td-themes li { grid-template-columns: 1fr; }
  .yv .td-from { grid-column: 1; }
  .yv .td-two { grid-template-columns: 1fr; }
  .yv .td-grid { grid-template-columns: 1fr; }
}

/* Today, redrawn 2026-11-21 (Jared: "make the today look better"): the Moon in its phase beside the day's themes, a glance row,
   coloured Good for / Go easy on panels, a header icon per strand, an emblem on every card and a wave chart for the cycles. */
.yv .td-sum { position: relative; overflow: hidden; padding: 26px 28px;
  background: radial-gradient(90% 120% at 0% 0%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 60%), var(--glass); }
.yv .td-sum-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; }
.yv .td-moon { margin: 0; display: grid; justify-items: center; gap: 10px; text-align: center; min-width: 150px; }
.yv .td-moon svg { filter: drop-shadow(0 0 22px color-mix(in srgb, var(--moon-l) 35%, transparent)); }
.yv .td-moon-c { display: grid; gap: 2px; }
.yv .td-moon-c b { font-weight: 600; }
.yv .td-moon-c span { font-size: .8125rem; color: var(--ink-2); }
.yv .td-moon-rim { stroke: var(--rule-strong); stroke-width: .6; }
.yv .td-sum h2 { margin: 0; }
.yv .td-tn { display: inline-flex; align-items: center; gap: 8px; }
.yv .td-rank { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--on-gold); font-size: .6875rem; letter-spacing: 0; }
.yv .td-bar { height: 12px; border-radius: 6px; }
.yv .td-bar i { border-radius: 6px; background: linear-gradient(90deg, var(--gold), color-mix(in srgb, var(--gold) 55%, var(--ink))); }
.yv .td-glance { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.yv .td-glance li { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; gap: 0 10px; align-items: center; padding: 10px 12px;
  border: 1px solid var(--rule); border-radius: var(--radius); background: color-mix(in srgb, var(--c) 9%, var(--surface)); }
.yv .td-gi { grid-row: 1 / span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); }
.yv .td-gk { font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.yv .td-gv { font-weight: 600; font-size: .9375rem; }
.yv .td-two { border-top: 0; padding-top: 0; margin-top: 14px; gap: 12px; }
.yv .td-two > div { border-radius: var(--radius); padding: 14px 16px; border: 1px solid var(--rule); }
.yv .td-good { background: color-mix(in srgb, #3DBE8B 9%, var(--surface)); border-color: color-mix(in srgb, #3DBE8B 35%, var(--rule)) !important; }
.yv .td-care { background: color-mix(in srgb, #E0A23B 9%, var(--surface)); border-color: color-mix(in srgb, #E0A23B 35%, var(--rule)) !important; }
.yv .td-two h3 { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.yv .td-two h3 span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: .75rem; color: #fff; }
.yv .td-good h3 span { background: #2E9E72; }
.yv .td-care h3 span { background: #B7791F; }
.yv .td-list { list-style: none; padding-left: 0; gap: 8px; }
.yv .td-list li { display: grid; gap: 1px; }
.yv .td-list small { font-size: .75rem; }
.yv .td-sh { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; }
.yv .td-si { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: var(--c);
  background: color-mix(in srgb, var(--c) 15%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 40%, var(--rule)); }
.yv .td-sh h2 { margin: 0 0 2px; }
.yv .td-sh p { margin: 0; }
.yv .td-grid { margin-top: 16px; }
.yv .td-card { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 18px 18px 14px;
  background: radial-gradient(120% 70% at 100% 0%, color-mix(in srgb, var(--c) 13%, transparent), transparent 62%), var(--glass);
  border-color: color-mix(in srgb, var(--c) 28%, var(--rule)); }
.yv .td-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c); opacity: .8; }
.yv .td-ch { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; margin-bottom: 10px; }
.yv .td-em { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 40%, var(--rule)); }
.yv .td-hd .td-k, .yv .td-hd .td-m { margin: 0 !important; }
.yv .td-t { font-size: 1.3125rem; line-height: 1.15; }
.yv .td-read { flex: 1; }
.yv .td-why { margin-top: 4px; }
.yv .td-num { font: 500 1.875rem/1 var(--f-display, var(--serif)); color: var(--c); }
.yv .td-hanzi { font-size: 1.25rem; font-weight: 600; letter-spacing: .02em; color: var(--c); }
.yv .td-glyph { font-size: 1.75rem; line-height: 1; color: var(--c); }
.yv .td-ang-o { fill: none; stroke: var(--rule-strong); stroke-width: 1.2; }
.yv .td-ang-l { fill: none; stroke: var(--c); stroke-width: 2; stroke-linejoin: round; }
.yv .td-ang-p { fill: var(--c); }
.yv .td-wm-0 { stroke: var(--rule-strong); stroke-width: 1; stroke-dasharray: 2 3; }
.yv .td-wm-l { fill: none; stroke: var(--wc, var(--c)); stroke-width: 2; }
.yv .td-wm-p { fill: var(--wc, var(--c)); stroke: var(--surface); stroke-width: 1.5; }
.yv .td-w-p { --wc: #E8616B; }
.yv .td-w-e { --wc: #3BA2E0; }
.yv .td-w-i { --wc: #D9A23A; }
.yv .td-chart { margin: 18px 0 0; padding: 14px 16px 10px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--glass); }
.yv .td-waves { display: block; width: 100%; height: auto; }
.yv .td-wv-g { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 3 5; fill: none; }
.yv .td-wv-0 { stroke: var(--rule-strong); stroke-width: 1; fill: none; }
.yv .td-wv-l { fill: none; stroke: var(--wc); stroke-width: 2.5; stroke-linecap: round; }
.yv .td-wv-p { fill: var(--wc); stroke: var(--surface); stroke-width: 2; }
.yv .td-wv-now { stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 4 4; opacity: .6; }
.yv .td-wv-t { font: 500 11px var(--mono); fill: var(--ink-2); letter-spacing: .05em; }
.yv .td-wv-tn { fill: var(--ink); }
.yv .td-keys { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 6px; font-size: .8125rem; }
.yv .td-key { display: inline-flex; align-items: center; gap: 7px; }
.yv .td-key i { width: 18px; height: 3px; border-radius: 2px; background: var(--wc); }
@media (max-width: 559px) {
  .yv .td-sum { padding: 20px 16px; }
  .yv .td-sum-top { grid-template-columns: 1fr; gap: 14px; }
  .yv .td-moon { grid-template-columns: auto minmax(0, 1fr); justify-items: start; text-align: left; min-width: 0; }
  .yv .td-moon svg { width: 72px; height: 72px; }
  .yv .td-glance { grid-template-columns: 1fr 1fr; }
  .yv .td-gv { white-space: normal; }
}

.yv .pt-style { margin: 4px 0 16px; }

/* ---------- Domain ribbons on the Mirror (visuals.js, ribbons) ---------- */
.yv .fz-ribbons { max-width: 480px; margin: 0 auto; display: block; }
.yv .fz-ribbons .rb-ring { fill: none; stroke: var(--rule); stroke-width: 1; stroke-dasharray: 2 4; }
.yv .fz-ribbons .rb { fill: none; stroke: var(--c); stroke-linecap: round; }
.yv .fz-ribbons .rb-dot { fill: var(--c); stroke: var(--surface); stroke-width: 2; }
.yv .fz-ribbons .rb-dot.off { fill: var(--surface); stroke: var(--rule-strong); stroke-width: 1; stroke-dasharray: 2 2; }
.yv .fz-ribbons .rb-lab { font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; fill: var(--ink); }
.yv .fz-ribbons .rb-lab.off { fill: var(--ink-2); }

/* ---------- Calculation methods: the table under a result and the chooser on the You page ---------- */
.yv .mt { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: .9375rem; }
.yv .mt th, .yv .mt td { text-align: left; vertical-align: top; padding: 10px 10px 10px 0; border-bottom: 1px solid var(--rule); }
.yv .mt thead th { font: 500 .6875rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); border-bottom-color: var(--rule-strong); }
.yv .mt tbody th { font-weight: 400; color: var(--ink-2); width: 58%; }
.yv .mt .mt-main th, .yv .mt .mt-main td { color: var(--ink); font-weight: 600; }
.yv .mt-diff { display: inline-block; margin-left: 6px; padding: 0 7px; border: 1px solid var(--gold); border-radius: 999px; font: 500 .625rem/1.6 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.yv .mt-pick { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 12px; max-width: 640px; }
.yv .mt-pick select { width: 100%; }
@media (max-width: 560px) { .yv .mt tbody th { width: 50%; } }

/* ---------- Folding: sections start shut (core/app.js, foldAll) ---------- */
.yv details.fold { border-top: 1px solid var(--rule); padding-bottom: 4px; }
.yv details.fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 12px 0; }
.yv details.fold > summary::-webkit-details-marker { display: none; }
.yv details.fold > summary > h2, .yv details.fold > summary .row-group { margin: 0; }
.yv details.fold > summary::after { content: ""; flex: none; width: 9px; height: 9px; margin: 0 8px 4px 0; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); transition: transform .2s; }
.yv details.fold[open] > summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
.yv details.fold > summary:hover h2, .yv details.fold > summary:hover .rg-q { color: var(--gold); }
.yv details.fold-more { margin-top: 8px; }
/* "Read the full reading": a pill in the lens's colour with a round + and the reading time (2026-11-21: Jared found the small caps
   line too easy to miss; kept different from the Mirror's "Go deeper" cards) */
.yv details.fold-more > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 6px 18px 6px 6px;
  border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c, var(--gold)) 50%, var(--rule)); background: color-mix(in srgb, var(--c, var(--gold)) 13%, transparent);
  font: 600 .9375rem/1.2 var(--sans); letter-spacing: normal; text-transform: none; color: var(--ink); transition: background .2s, border-color .2s, transform .15s; }
.yv details.fold-more > summary:hover { background: color-mix(in srgb, var(--c, var(--gold)) 22%, transparent); border-color: var(--c, var(--gold)); transform: translateY(-1px); }
.yv details.fold-more > summary::-webkit-details-marker { display: none; }
.yv details.fold-more > summary::before { content: "+"; flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--c, var(--gold)); color: var(--bg); font: 700 1.125rem/1 var(--sans); }
.yv details.fold-more[open] > summary::before { content: "−"; }
.yv details.fold-more[open] > summary .fm-t { font-size: 0; }
.yv details.fold-more[open] > summary .fm-t::after { content: "Hide the full reading"; font-size: .9375rem; }
.yv .fm-min { font-weight: 400; color: var(--ink-2); }
.yv .fm-min::before { content: "· "; }
.yv details.dom-fold > summary { padding: 6px 0; }
.yv details.dom-fold > summary .row-group { flex: 1; }
@media (prefers-reduced-motion: reduce) { .yv details.fold > summary::after { transition: none; } }
/* credits */
.yv .cr-doms { margin-top: 24px; }
.yv .cr-dom h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.yv .cr-no { color: var(--gold); }
.yv .cr-c { font-size: .6875rem; }
.yv .cr-lens { border-top: 1px solid var(--rule); }
.yv .cr-lens > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 0; }
.yv .cr-lens > summary::-webkit-details-marker { display: none; }
.yv .cr-ic { display: inline-grid; place-items: center; width: 30px; height: 30px; color: var(--gold); }
.yv .cr-n { flex: 1; font-weight: 600; }
.yv .cr-dl { display: grid; gap: 4px; margin: 4px 0 16px 42px; }
.yv .cr-dl dt { font: 500 .6875rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-top: 8px; }
.yv .cr-dl dd { margin: 0; max-width: 64ch; }
.yv .cr-list { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 6px; }
.yv .cr-by { margin-top: 32px; }
@media (max-width: 560px) { .yv .cr-dl { margin-left: 0; } }

/* ==========================================================================================================
   9) Looks. <html data-look="..."> picks one (js/boot.js; the picker is in the header). Each look brings its
   own light or dark, fonts, colours (lens colours come from core/app.js) and the way pictures are drawn.
   observatory: the night-sky look (the default, dark only). classic: FACETS's original purple and rainbow
   (dark only). mono: black and white. paper: a research paper. occult: an old occult manuscript.
   ========================================================================================================== */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('../assets/fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('../assets/fonts/bricolage-grotesque-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 200 900; font-display: swap; src: url('../assets/fonts/source-serif-4-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 200 900; font-display: swap; src: url('../assets/fonts/source-serif-4-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 200 900; font-display: swap; src: url('../assets/fonts/source-serif-4-latin-wght-italic.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IM Fell English'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/im-fell-english-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IM Fell English'; font-style: italic; font-weight: 400; font-display: swap; src: url('../assets/fonts/im-fell-english-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'IM Fell English SC'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/im-fell-english-sc-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'UnifrakturMaguntia'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/unifrakturmaguntia-latin-400-normal.woff2') format('woff2'); }

.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.brand .bm1 { fill: var(--bm1, #E4C887); } .brand .bm2 { fill: var(--bm2, #C9A45C); } .brand .bm3 { fill: var(--bm3, #8E6F35); } .brand .bm4 { fill: var(--bm4, #5E4A26); }
/* the prism mark (2026-11-21): the fan takes --bs1 to --bs7, which Prism sets to the domain rainbow; other looks use their own shades */
.brand .bm-glass { fill: var(--bm3, #8E6F35); fill-opacity: .62; stroke: var(--bm1, #E4C887); stroke-width: 1.5; stroke-linejoin: round; }
.brand .bm-shine { fill: var(--bm1, #E4C887); opacity: .22; }
.brand .bm-beam { stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; fill: none; }
.brand .bm-in { stroke: var(--ink); stroke-width: 1.2; opacity: .3; fill: none; }
.brand .bs1 { fill: var(--bs1, var(--bm1, #E4C887)); } .brand .bs2 { fill: var(--bs2, var(--bm1, #E4C887)); } .brand .bs3 { fill: var(--bs3, var(--bm2, #C9A45C)); }
.brand .bs4 { fill: var(--bs4, var(--bm2, #C9A45C)); } .brand .bs5 { fill: var(--bs5, var(--bm3, #8E6F35)); } .brand .bs6 { fill: var(--bs6, var(--bm3, #8E6F35)); } .brand .bs7 { fill: var(--bs7, var(--bm4, #5E4A26)); }
/* the look picker in the header */
.look-pick { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 30px 0 14px; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink); cursor: pointer; }
.look-pick:hover { border-color: var(--gold); }
.look-pick:focus-within { outline: 2px solid var(--gold); outline-offset: 3px; }
.look-pick svg { width: 16px; height: 16px; flex: none; }
.look-pick::after { content: ""; position: absolute; right: 14px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); pointer-events: none; }
.look-pick select { appearance: none; -webkit-appearance: none; border: 0; background: none; color: inherit; height: 100%; padding: 0; font: 500 .75rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.look-pick select:focus { outline: none; }
.look-pick option { color: #111; background: #fff; text-transform: none; letter-spacing: 0; }
@media (max-width: 420px) { .look-pick { padding-left: 12px; } .look-pick select { max-width: 132px; } }

/* --- classic: the original purple, with the original rainbow of lens colours (dark only) --- */
:root[data-look="classic"] {
  color-scheme: dark; --bg: #100E17; --surface: #1A1724; --panel: #242031; --ink: #F3F1F9; --ink-2: #B4AFC6; --rule: #2F2B3F; --rule-strong: #6C6785;
  --gold: #B69CFF; --gold-soft: rgba(182, 156, 255, .14); --on-gold: #100E17; --moon-l: #ECE7D3; --moon-d: #3A4666; --radius: 14px;
  --serif: 'Bricolage Grotesque', 'Arial Narrow', Arial, sans-serif; --mono: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  --glass: color-mix(in srgb, var(--surface) 80%, transparent); --bm1: #D8CCFF; --bm2: #B69CFF; --bm3: #7C5CE0; --bm4: #4E3A9A; --bs1: #FF6B8B; --bs2: #FF9F5A; --bs3: #FFD25A; --bs4: #6EE7A8; --bs5: #5AC8FF; --bs6: #8A7CFF; --bs7: #C77DFF;
}
:root[data-look="classic"] body::before { background: radial-gradient(ellipse 90% 55% at 50% -15%, rgba(182, 156, 255, .16), transparent 70%), radial-gradient(ellipse 60% 40% at 100% 100%, rgba(120, 200, 255, .06), transparent 70%); background-size: auto; }
:root[data-look="classic"] .yv .display, :root[data-look="classic"] .yv h1, :root[data-look="classic"] .yv h2, :root[data-look="classic"] .yv h3, :root[data-look="classic"] .yv .hero-title,
:root[data-look="classic"] .yv .result-title, :root[data-look="classic"] .yv .row-group .rg-q, :root[data-look="classic"] .yv .lens-row .lr-name, :root[data-look="classic"] .brand, :root[data-look="classic"] .foot__by { font-weight: 800 !important; letter-spacing: -.03em; }
:root[data-look="classic"] .yv .display em, :root[data-look="classic"] .yv h2 em { font-style: normal; }
:root[data-look="classic"] .yv .mono, :root[data-look="classic"] .brand { letter-spacing: .04em; }
:root[data-look="classic"] .brand { text-transform: none; font-size: 1.375rem; }
:root[data-look="classic"] .yv .sym, :root[data-look="classic"] .yv .art, :root[data-look="classic"] .yv .tcard-img, :root[data-look="classic"] .yv .portrait .pt-fig img { filter: none; }

/* --- mono: black and white, nothing else --- */
:root[data-look="mono"] {
  color-scheme: light; --bg: #FFFFFF; --surface: #FFFFFF; --panel: #F3F3F3; --ink: #0A0A0A; --ink-2: #595959; --rule: #E2E2E2; --rule-strong: #0A0A0A;
  --gold: #0A0A0A; --gold-soft: rgba(0, 0, 0, .06); --on-gold: #FFFFFF; --moon-l: #FFFFFF; --moon-d: #1A1A1A; --radius: 0px;
  --serif: 'Jost', 'Futura', system-ui, sans-serif; --mono: 'Jost', 'Futura', system-ui, sans-serif; --glass: #FFFFFF;
  --bm1: #D9D9D9; --bm2: #A6A6A6; --bm3: #4D4D4D; --bm4: #0A0A0A; --bs1: #8C8C8C; --bs2: #737373; --bs3: #5E5E5E; --bs4: #474747; --bs5: #333333; --bs6: #1F1F1F; --bs7: #0A0A0A;
}
:root[data-look="mono"] body::before { display: none; }
:root[data-look="mono"] .yv .display, :root[data-look="mono"] .yv h1, :root[data-look="mono"] .yv h2, :root[data-look="mono"] .yv h3, :root[data-look="mono"] .yv .hero-title, :root[data-look="mono"] .yv .result-title,
:root[data-look="mono"] .yv .row-group .rg-q, :root[data-look="mono"] .yv .lens-row .lr-name { font-weight: 300 !important; letter-spacing: -.02em; }
:root[data-look="mono"] .yv .display em, :root[data-look="mono"] .yv h2 em { font-style: normal; font-weight: 500; color: var(--ink); }
:root[data-look="mono"] .yv .sym, :root[data-look="mono"] .yv .art, :root[data-look="mono"] .yv .tcard-img, :root[data-look="mono"] .yv .portrait .pt-fig img, :root[data-look="mono"] .yv .fx-plate img { filter: grayscale(1) contrast(1.08); }
:root[data-look="mono"] .yv .btn, :root[data-look="mono"] .iconbtn, :root[data-look="mono"] .look-pick, :root[data-look="mono"] .yv .tabs, :root[data-look="mono"] .yv .tabs button, :root[data-look="mono"] .yv .web-chip span,
:root[data-look="mono"] .yv .web-th, :root[data-look="mono"] .yv .web-mode, :root[data-look="mono"] .yv .web-mode button { border-radius: 0; }
:root[data-look="mono"] .yv .hero-wheel .wheel-wrap { filter: none; }

/* --- paper: a research paper, set in one serif, with numbered figures --- */
:root[data-look="paper"] {
  color-scheme: light; --bg: #FBFAF6; --surface: #FFFFFF; --panel: #F1EFE8; --ink: #141414; --ink-2: #4A4A4A; --rule: #DAD6CB; --rule-strong: #3A3A3A;
  --gold: #1F3A5F; --gold-soft: rgba(31, 58, 95, .08); --on-gold: #FFFFFF; --moon-l: #FFFFFF; --moon-d: #2A2A2A; --radius: 2px;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif; --sans: 'Source Serif 4', Georgia, 'Times New Roman', serif; --mono: 'Source Serif 4', Georgia, serif;
  --glass: #FFFFFF; --bm1: #8FA3BD; --bm2: #536C8E; --bm3: #2C4466; --bm4: #14243B;
}
:root[data-look="paper"] body::before { display: none; }
:root[data-look="paper"] body { line-height: 1.65; }
:root[data-look="paper"] .yv .display, :root[data-look="paper"] .yv h1, :root[data-look="paper"] .yv h2, :root[data-look="paper"] .yv h3, :root[data-look="paper"] .yv .hero-title, :root[data-look="paper"] .yv .result-title,
:root[data-look="paper"] .yv .row-group .rg-q, :root[data-look="paper"] .yv .lens-row .lr-name, :root[data-look="paper"] .foot__by { font-weight: 600 !important; letter-spacing: -.005em; }
:root[data-look="paper"] .yv .display em, :root[data-look="paper"] .yv h2 em { font-style: italic; font-weight: 500; color: var(--ink); }
:root[data-look="paper"] .yv .mono, :root[data-look="paper"] .brand, :root[data-look="paper"] .iconbtn, :root[data-look="paper"] .look-pick select, :root[data-look="paper"] .yv .tabs button, :root[data-look="paper"] .yv .row-group::before,
:root[data-look="paper"] .yv .web-chip span, :root[data-look="paper"] .yv .web-mode button, :root[data-look="paper"] .foot details summary { text-transform: none; font-variant-caps: all-small-caps; letter-spacing: .05em; font-size: .9375rem; }
:root[data-look="paper"] .yv .deep p, :root[data-look="paper"] .yv .block p { text-align: justify; hyphens: auto; }
:root[data-look="paper"] .yv .sym, :root[data-look="paper"] .yv .art, :root[data-look="paper"] .yv .tcard-img, :root[data-look="paper"] .yv .portrait .pt-fig img, :root[data-look="paper"] .yv .fx-plate img { filter: grayscale(1) contrast(1.12); }
:root[data-look="paper"] .yv .btn, :root[data-look="paper"] .iconbtn, :root[data-look="paper"] .look-pick, :root[data-look="paper"] .yv .tabs, :root[data-look="paper"] .yv .tabs button, :root[data-look="paper"] .yv .web-chip span,
:root[data-look="paper"] .yv .web-th, :root[data-look="paper"] .yv .web-mode, :root[data-look="paper"] .yv .web-mode button { border-radius: 2px; }
:root[data-look="paper"] .yv .hero-wheel .wheel-wrap { filter: none; }
/* figures are numbered, as in a paper */
:root[data-look="paper"] .yv #main { counter-reset: fig; }
:root[data-look="paper"] .yv figure > figcaption::before, :root[data-look="paper"] .yv .plate figcaption::before { counter-increment: fig; content: "Figure " counter(fig) ". "; font-weight: 600; font-style: normal; color: var(--ink); }

/* --- occult: an old occult manuscript, on coffee-stained, scorched paper, in black ink with a red rubric for accents
   (black only from 2026-11-18; red allowed again by Jared on 2026-11-21) --- */
:root[data-look="occult"] {
  color-scheme: light; --bg: #E4D3AE; --surface: #EADCBB; --panel: #D8C49A; --ink: #110D0A; --ink-2: #3A3129; --rule: #B5A07A; --rule-strong: #2E261F;
  --gold: #7A1F14; --gold-soft: rgba(122, 31, 20, .09); --on-gold: #EADCBB; --moon-l: #EFE3C6; --moon-d: #1A1511; --radius: 2px;
  --serif: 'IM Fell English', Georgia, serif; --sans: 'IM Fell English', Georgia, serif; --mono: 'IM Fell English SC', 'IM Fell English', Georgia, serif;
  --glass: color-mix(in srgb, #EADCBB 84%, transparent); --bm1: #7A7168; --bm2: #4E463E; --bm3: #2C2620; --bm4: #0E0B08;
}
:root[data-look="occult"] body { font-size: 1.125rem; }
/* aged paper that scrolls with the page, like one long sheet (Jared, 2026-11-18: not a fixed picture behind the text).
   Bottom layer: a seamless tile cut from a real stained-paper scan ("various old paper stains" by Q_x, CC0, OpenGameArt),
   assets/grimoire-tile.jpg. Over it, big coffee stains and rings drawn in CSS, each repeating at its own long interval so the
   same mark does not come round with the tile; uneven scorching down both sides; and a charred edge at the foot of the page.
   Everything here sits on the page itself (no fixed layer), so it moves as you scroll. */
:root[data-look="occult"] body::before { display: none; }
:root[data-look="occult"] body { background-color: #E4D3AE; background:
  linear-gradient(0deg, rgba(18, 10, 4, .7), rgba(60, 34, 12, .3) 34px, transparent 120px) bottom / 100% 120px no-repeat,
  radial-gradient(closest-side, rgba(28, 15, 6, .5), rgba(60, 34, 12, .2) 55%, transparent) -70px 40px / 170px 560px repeat-y,
  radial-gradient(closest-side, rgba(28, 15, 6, .42), rgba(60, 34, 12, .16) 55%, transparent) -50px 330px / 130px 730px repeat-y,
  radial-gradient(closest-side, rgba(28, 15, 6, .5), rgba(60, 34, 12, .2) 55%, transparent) calc(100% + 70px) 200px / 170px 620px repeat-y,
  radial-gradient(closest-side, rgba(28, 15, 6, .42), rgba(60, 34, 12, .16) 55%, transparent) calc(100% + 50px) 0 / 130px 810px repeat-y,
  linear-gradient(90deg, rgba(30, 17, 6, .38), rgba(70, 40, 14, .1) 2.5%, transparent 8%, transparent 92%, rgba(70, 40, 14, .1) 97.5%, rgba(30, 17, 6, .38)),
  radial-gradient(ellipse 50px 47px at calc(72% + 6px) calc(38% + 4px), transparent 93%, rgba(80, 46, 14, .2) 97%, transparent 100%) 0 0 / 1500px 2300px,
  radial-gradient(ellipse 55px 52px at 72% 38%, transparent 89%, rgba(92, 54, 18, .1) 94%, rgba(70, 40, 12, .3) 98%, transparent 100%) 0 0 / 1500px 2300px,
  radial-gradient(ellipse 40px 38px at 22% 64%, transparent 88%, rgba(92, 54, 18, .1) 93%, rgba(70, 40, 12, .26) 97.5%, transparent 100%) 0 0 / 1100px 3100px,
  radial-gradient(ellipse 260px 190px at 30% 20%, rgba(110, 66, 26, .22), transparent) 0 0 / 1300px 1900px,
  radial-gradient(ellipse 330px 230px at 78% 70%, rgba(110, 66, 26, .2), transparent) 0 0 / 1700px 2700px,
  radial-gradient(ellipse 180px 140px at 60% 10%, rgba(80, 46, 16, .2), transparent) 0 0 / 900px 1500px,
  linear-gradient(rgba(228, 211, 174, .28), rgba(228, 211, 174, .28)),
  url('../assets/grimoire-tile.jpg') center top / 1400px auto repeat;
  background-color: #E4D3AE; }
@media (max-width: 759px) { :root[data-look="occult"] body { background-size: 100% 120px, 120px 560px, 90px 730px, 120px 620px, 90px 810px, auto, 1500px 2300px, 1500px 2300px, 1100px 3100px, 1300px 1900px, 1700px 2700px, 900px 1500px, auto, 900px auto; } }
:root[data-look="occult"] .yv h1, :root[data-look="occult"] .yv .display, :root[data-look="occult"] .yv .hero-title, :root[data-look="occult"] .yv .result-title { font-family: 'UnifrakturMaguntia', var(--serif) !important; font-weight: 400 !important; letter-spacing: 0; line-height: 1.02; }
:root[data-look="occult"] .yv h2, :root[data-look="occult"] .yv h3, :root[data-look="occult"] .yv .row-group .rg-q, :root[data-look="occult"] .yv .lens-row .lr-name, :root[data-look="occult"] .foot__by { font-family: 'IM Fell English SC', var(--serif); font-weight: 400 !important; letter-spacing: .01em; }
:root[data-look="occult"] .yv .display em, :root[data-look="occult"] .yv h2 em { font-style: normal; color: var(--gold); }
:root[data-look="occult"] .yv .mono, :root[data-look="occult"] .brand, :root[data-look="occult"] .iconbtn, :root[data-look="occult"] .look-pick select, :root[data-look="occult"] .yv .tabs button, :root[data-look="occult"] .yv .row-group::before,
:root[data-look="occult"] .yv .web-chip span, :root[data-look="occult"] .yv .web-mode button, :root[data-look="occult"] .foot details summary { text-transform: none; letter-spacing: .06em; font-size: .9375rem; }
:root[data-look="occult"] .yv svg.fz, :root[data-look="occult"] .yv svg.wheel, :root[data-look="occult"] .yv .ico, :root[data-look="occult"] .yv .fx, :root[data-look="occult"] .yv .web-svg .web-vp { filter: url(#ink-rough); }
:root[data-look="occult"] .yv .sym, :root[data-look="occult"] .yv .art, :root[data-look="occult"] .yv .tcard-img, :root[data-look="occult"] .yv .portrait .pt-fig img, :root[data-look="occult"] .yv .fx-plate img { filter: grayscale(1) contrast(1.15) brightness(.92); mix-blend-mode: multiply; }
:root[data-look="occult"] .yv .fx-plate { background: transparent; }
:root[data-look="occult"] .yv .plate, :root[data-look="occult"] .yv .web-stage, :root[data-look="occult"] .yv .web-info { border: 1px solid var(--rule-strong); box-shadow: inset 0 0 0 3px var(--surface), inset 0 0 0 4px var(--rule); }
:root[data-look="occult"] .yv .btn, :root[data-look="occult"] .iconbtn, :root[data-look="occult"] .look-pick, :root[data-look="occult"] .yv .tabs, :root[data-look="occult"] .yv .tabs button, :root[data-look="occult"] .yv .web-chip span,
:root[data-look="occult"] .yv .web-th, :root[data-look="occult"] .yv .web-mode, :root[data-look="occult"] .yv .web-mode button { border-radius: 2px; }
:root[data-look="occult"] .yv .hero-wheel .wheel-wrap { filter: url(#ink-rough) drop-shadow(0 0 30px rgba(20, 12, 6, .14)); }
@media print { :root[data-look="occult"] body::before { display: none; } }
/* printed looks have no light behind them */
:root[data-look="paper"] .yv .lens-wrap::before, :root[data-look="paper"] .yv .quiz-wrap::before, :root[data-look="mono"] .yv .lens-wrap::before, :root[data-look="mono"] .yv .quiz-wrap::before,
:root[data-look="occult"] .yv .lens-wrap::before, :root[data-look="occult"] .yv .quiz-wrap::before { display: none; }
:root[data-look="paper"] .yv .lens-ico, :root[data-look="mono"] .yv .lens-ico, :root[data-look="occult"] .yv .lens-ico { box-shadow: none; filter: none; }
.yv .web-mode { display: inline-flex; gap: 2px; padding: 4px; border: 1px solid var(--rule); border-radius: 999px; background: var(--glass); }
.yv .web-mode button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font: 500 .75rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.yv .web-mode button:hover { color: var(--ink); }
.yv .web-mode button[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); }
.yv .web-mode button:disabled { opacity: .5; cursor: default; }
.yv .web-pick { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.yv .web-pick[hidden], .yv .web-filters[hidden] { display: none; }
.yv .web-pick > .mono { flex: none; font-size: .6875rem; color: var(--ink-2); }
.yv .web-filters { margin-bottom: 12px; }
.yv .web-th { min-height: 36px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 999px; background: none; color: var(--ink); font: 400 .875rem/1 var(--sans); cursor: pointer; }
.yv .web-th b { margin-left: 4px; color: var(--gold); font-weight: 600; }
.yv .web-th:hover { border-color: var(--gold); }
.yv .web-th[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.yv .web-th[aria-pressed="true"] b { color: var(--on-gold); }
.yv .web-th:disabled { color: var(--ink-2); cursor: default; border-style: dashed; }
.yv .web-more { font-size: .8125rem; margin: 6px 0 0; }
@media (max-width: 560px) {
  .yv .web-pick { display: block; }
  .yv .web-pick > .mono { display: block; margin-bottom: 8px; }
  .yv .web-mode { width: 100%; }
  .yv .web-mode button { flex: 1; padding: 0 8px; }
  .yv .web-th { min-height: 34px; padding: 0 10px; }
}

/* ---------- Mirror: every opposing pair, lens by lens (2026-11-21) ---------- */
.yv .top-theme.is-quiet h3 { color: var(--muted); }
.yv .tv-note { font-size: 14px; }
.yv .lbl-find { max-width: 440px; margin: 8px 0 2px; }
.yv .lbl-none:empty { display: none; }
.yv .lbl-doms { margin-top: 10px; border-bottom: 1px solid var(--rule); }
.yv .lbl-dom { border-top: 1px solid var(--rule); }
.yv .lbl-dom[hidden], .yv .lbl-row[hidden] { display: none; }
.yv .lbl-dom > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 0; font-weight: 600; }
.yv .lbl-dom > summary::-webkit-details-marker { display: none; }
.yv .lbl-dom > summary::after { content: ""; flex: none; width: 8px; height: 8px; margin: 0 8px 4px 0; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); transition: transform .2s; }
.yv .lbl-dom[open] > summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
.yv .lbl-dom > summary:hover .lbl-dn { color: var(--gold); }
.yv .lbl-dom .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.yv .lbl-dn { flex: 1; }
.yv .lbl-c { color: var(--muted); font-size: 13px; }
.yv .lbl-list { list-style: none; margin: 0 0 12px; padding: 0; }
.yv .lbl-row { display: grid; grid-template-columns: minmax(8rem, 13rem) minmax(0, 1fr); gap: 2px 16px; padding: 10px 0; border-top: 1px dashed var(--rule); }
.yv .lbl-name { grid-row: span 2; justify-self: start; text-align: left; min-height: 24px; }
.yv .lbl-th { grid-column: 2; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 600px) {
  .yv .lbl-row { grid-template-columns: minmax(0, 1fr); }
  .yv .lbl-th { grid-column: 1; }
  .yv .lbl-name { grid-row: auto; }
}
.yv .teaser { display: block; margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.yv details.fold > summary > .fold-head { display: grid; gap: 2px; }
.yv details.fold > summary > .fold-head > h2 { margin: 0; }
.yv details.fold > summary:hover .fold-head h2 { color: var(--gold); }
/* The "Go deeper" toggle under each theme and pull on the Mirror: a card that says what is inside and how long it is */
.yv details.more.rm { border-top: 0; padding-top: 0; margin-top: 10px; }
.yv details.more.rm > summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center;
  padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); background: color-mix(in srgb, var(--gold) 7%, var(--surface));
  font: inherit; letter-spacing: normal; text-transform: none; cursor: pointer; transition: border-color .2s, background .2s; }
.yv details.more.rm > summary::-webkit-details-marker { display: none; }
.yv details.more.rm > summary::after { content: ""; grid-column: 2; grid-row: 1 / span 2; width: 10px; height: 10px; margin: 0 6px 5px 0;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .2s; }
.yv details.more.rm[open] > summary::after { transform: rotate(-135deg); margin-bottom: -5px; }
.yv details.more.rm > summary:hover { border-color: var(--gold); }
.yv .rm-k { grid-column: 1; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.yv .rm-t { grid-column: 1; font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--ink); }
/* Start here on the Lenses page: two to a row where there is room (2026-11-21) */
.yv .st-list { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.yv .st-n { display: inline-block; margin-left: 6px; font-size: 12px; letter-spacing: .08em; color: var(--gold); white-space: nowrap; }
/* The portrait picker on the You page (2026-11-21) */
.yv .pt-pick { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--rule); display: grid; gap: 10px; }
.yv .pt-pick h3 { margin: 0; font: 500 1.375rem/1.2 var(--f-display, var(--serif)); }
.yv .pt-pick .pt-h2 { margin-top: 14px; }
.yv .pt-pick p { margin: 0; }
.yv .pt-count { margin-left: 4px; color: var(--gold); font-size: .75rem; letter-spacing: .08em; white-space: nowrap; }
.yv .pt-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.yv .pt-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 10px 8px 12px;
  border: 1px solid var(--rule); border-left: 3px solid var(--c); border-radius: var(--radius); background: var(--glass); }
.yv .pt-n { color: var(--ink-2); font-size: .8125rem; text-align: center; }
.yv .pt-l { display: grid; min-width: 0; }
.yv .pt-l small { color: var(--ink-2); font-size: .8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yv .pt-mvs { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.yv .pt-mv { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--rule-strong); background: transparent; color: var(--ink); font: 600 1rem/1 var(--sans); cursor: pointer; }
.yv .pt-mv:hover:not([disabled]) { border-color: var(--gold); color: var(--gold); }
.yv .pt-mv[disabled], .yv .pt-add[disabled] { opacity: .35; cursor: default; }
.yv .pt-sub { margin-top: 6px !important; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.yv .pt-add { font: inherit; font-size: 13px; color: inherit; cursor: pointer; min-height: 36px; padding: 5px 13px; }
.yv .pt-save-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.yv .pt-save-row input { flex: 1 1 220px; min-width: 0; }
.yv .pt-pstatus:empty { display: none; }
.yv .pt-pres { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.yv .pt-pre { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--rule); border-radius: var(--radius); }
.yv .pt-pre.on { border-color: var(--gold); }
@media (max-width: 559px) {
  .yv .pt-row { grid-template-columns: 16px minmax(0, 1fr) auto; gap: 8px; padding: 8px 8px 8px 10px; }
  .yv .pt-mvs { gap: 4px; flex-wrap: nowrap; }
  .yv .pt-mv { width: 36px; height: 36px; }
}
/* Terms of use, the community card and the setup note (2026-11-21) */
.yv .terms-sec p, .yv .terms-sec li { max-width: 72ch; }
.yv .terms-sec ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.yv .terms-note { margin-top: 14px; font-size: .875rem; }
.yv .community .actions { flex-wrap: wrap; }
.yv .hub-community { margin-top: 18px; padding: 14px 16px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--glass); display: grid; gap: 8px; justify-items: start; }
.yv .hub-community p { margin: 0; font-size: .9375rem; }
.yv .hub-community .mono { font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.foot__by a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.foot__links a { white-space: nowrap; }
/* links styled as buttons (the Discord and socials links): centred like a real button, no underline */
.yv a.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; text-align: center; }
.yv a.btn:hover, .yv a.btn:focus-visible { text-decoration: none; }
/* the community cards stand out: a tinted panel with a chat icon (2026-11-21) */
.yv .hub-community, .yv .community { position: relative; border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--rule)); border-radius: calc(var(--radius) + 6px);
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--gold) 20%, transparent), transparent 65%), color-mix(in srgb, var(--gold) 6%, var(--surface)); }
.yv .hub-community { padding: 18px 18px 18px; }
.yv .community { padding: 24px 26px; margin-top: 28px; }
.yv .community h2 { margin-top: 0; }
.yv .hc-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--on-gold); background: var(--gold); }
.yv .hub-community .hc-ic { width: 40px; height: 40px; border-radius: 12px; }
.yv .hub-community .hc-t { font-weight: 600; color: var(--ink); }
.yv .community .hc-ic { margin-bottom: 12px; }

/* date and time boxes on iPhone: Safari gives them a minimum width and centres their text, so they ran off the screen (2026-11-22) */
.yv .field input[type="date"], .yv .field input[type="time"] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; box-sizing: border-box; text-align: left; }
.yv .field input[type="date"]::-webkit-date-and-time-value, .yv .field input[type="time"]::-webkit-date-and-time-value { text-align: left; }
/* iPhone Safari gives date and time boxes a wide natural width, and grid columns sized "auto" grew to fit it, pushing the boxes off
   the screen. The columns may now shrink below their content, and the boxes' own natural width is zeroed (2026-11-22). */
.yv .setup { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .yv .setup { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.yv .field { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.yv #setup-form, .yv .setup > * { min-width: 0; }
.yv .field input[type="date"], .yv .field input[type="time"] { -webkit-min-logical-width: 0; width: 100%; }
/* The welcome gate, the manifesto and the What next cards (2026-11-22) */
.yv .welcome, .yv .manifesto-wrap { max-width: 760px; }
.yv .mf-sub { margin: 6px 0 22px; color: var(--ink-2); }
.yv .mf-short p { font: 400 1.25rem/1.6 var(--serif); margin: 0 0 16px; max-width: 64ch; }
.yv .mf-short p:first-child { font-size: 1.5rem; line-height: 1.45; }
.yv .mf-sign { font: italic 500 1.25rem/1.3 var(--serif); color: var(--gold); margin: 18px 0 0; }
.yv .mf-sign::before { content: "— "; }
.yv .mf-motto { font: 500 1.375rem/1.4 var(--f-display, var(--serif)); margin: 28px 0 0; }
.yv .mf-sec p, .yv .mf-sec li { max-width: 66ch; font-size: 1.0625rem; line-height: 1.65; }
.yv .mf-list { padding-left: 20px; display: grid; gap: 8px; }
.yv details.mf-more { margin: 26px 0 8px; border: 1px solid var(--rule); border-radius: var(--radius); padding: 4px 18px; background: var(--glass); }
.yv details.mf-more > summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; font-weight: 600; color: var(--gold); }
.yv details.mf-more[open] { padding-bottom: 18px; }
.yv .w-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.yv .w-points li { padding: 14px 16px 14px 44px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--glass); position: relative; line-height: 1.5; }
.yv .w-points li::before { content: "✓"; position: absolute; left: 16px; top: 14px; color: var(--gold); font-weight: 700; }
.yv .w-agree { display: grid; gap: 10px; margin: 22px 0 6px; }
.yv .welcome .btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.yv .nx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 14px; }
.yv .nx { display: grid; gap: 4px; align-content: start; text-align: left; padding: 16px 18px; border: 1px solid var(--rule); border-radius: calc(var(--radius) + 4px);
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--c, var(--gold)) 16%, transparent), transparent 65%), var(--glass);
  color: var(--ink); text-decoration: none; cursor: pointer; font: inherit; transition: transform .15s, border-color .2s; }
.yv .nx:hover { transform: translateY(-2px); border-color: var(--c, var(--gold)); }
.yv .nx-k { font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c, var(--gold)); }
.yv .nx-t { font: 600 1.125rem/1.25 var(--sans); }
.yv .nx-t::after { content: " →"; color: var(--c, var(--gold)); }
.yv .nx-d { font-size: .875rem; color: var(--ink-2); line-height: 1.45; }
/* the entrance: one question per screen, large and quiet (2026-11-22) */
.yv .th { max-width: 680px; min-height: 62vh; display: flex; flex-direction: column; justify-content: center; }
.yv .th-dots { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 40px; }
.yv .th-dots li { width: 22px; height: 3px; border-radius: 2px; background: var(--rule-strong); opacity: .5; }
.yv .th-dots li.done { background: var(--gold); opacity: .55; }
.yv .th-dots li.on { background: var(--gold); opacity: 1; width: 34px; }
.yv .th-screen { animation: th-in .5s ease both; }
@keyframes th-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .yv .th-screen { animation: none; } }
.yv .th-q { font: 500 clamp(1.9rem, 5vw, 2.9rem)/1.15 var(--f-display, var(--serif)); letter-spacing: -.01em; margin: 0 0 22px; }
.yv .th-p { font: 400 1.25rem/1.6 var(--serif); color: var(--ink); max-width: 56ch; margin: 0 0 14px; }
.yv .th-last .th-q { color: var(--gold); }
.yv .th-note { margin: 30px 0 0; font-size: 1rem; color: var(--ink-2); max-width: 52ch; }
.yv .th-actions { margin-top: 34px; }
.yv .th-more { margin-top: 18px; font-size: .9375rem; }
/* space between Jared's name and the button under it (2026-11-22) */
.yv .mf-sign { margin-bottom: 30px; }
.yv .manifesto-wrap .actions { margin-top: 36px; }

/* the welcome, improved (2026-11-22): a full-height stage with a soft glow, a step counter and progress bar, the logo on the first
   and last screens, tap answers, the footer hidden, a two-column rules screen */
body.welcome-on .foot { display: none; }
.yv .welcome.th { position: relative; min-height: calc(100vh - var(--header-h) - 60px); max-width: 720px; justify-content: flex-start; padding-top: 6px; }
.yv .welcome.th::before { content: ""; position: absolute; inset: -40px -20vw auto auto; width: 70vw; max-width: 760px; height: 520px; pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--gold) 22%, transparent), transparent); filter: blur(10px); }
.yv .th-top { display: flex; align-items: center; gap: 14px; margin: 0 0 clamp(36px, 9vh, 90px); }
.yv .th-count { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.yv .th-bar { flex: 1; max-width: 220px; height: 4px; border-radius: 2px; background: var(--rule); overflow: hidden; }
.yv .th-bar i { display: block; height: 100%; border-radius: 2px; background: var(--gold); transition: width .45s ease; }
.yv .th-exit { margin-left: auto; font-size: .875rem; }
.yv .th-dots { display: none; }
.yv .th-mark { display: block; margin: 0 0 26px; }
.yv .th-mark svg { width: 64px; height: 64px; filter: drop-shadow(0 0 22px color-mix(in srgb, var(--gold) 45%, transparent)); }
.yv .th-q { font-size: clamp(2.1rem, 6vw, 3.4rem); line-height: 1.08; margin-bottom: 20px; max-width: 16ch; }
.yv .th-last .th-q { max-width: 18ch; }
.yv .th-p { font-size: 1.3125rem; }
.yv .th-echo { font: 500 1.3125rem/1.5 var(--serif); color: var(--gold); margin: 0 0 14px; }
.yv .th-choices { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.yv .th-choice { min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--rule-strong); background: var(--glass); color: var(--ink);
  font: 600 1.0625rem/1 var(--sans); cursor: pointer; transition: border-color .2s, background .2s, transform .15s; }
.yv .th-choice:hover { border-color: var(--gold); transform: translateY(-1px); }
.yv .th-choice.on { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.yv .th-from { margin-top: 34px; padding-left: 16px; border-left: 2px solid var(--gold); }
.yv .th-from .th-note { margin: 0; }
.yv .th-from .mf-sign { margin: 8px 0 0; }
.yv .th-actions { margin-top: 40px; }
.yv .th-hint { margin-top: 22px; font-size: .875rem; }
.yv .welcome.th-rules { max-width: 860px; }
@media (min-width: 760px) { .yv .th-rules .w-points { grid-template-columns: 1fr 1fr; } }
.yv .th-rules .w-agree { padding: 16px 18px; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--glass); }
@media (max-width: 559px) {
  .yv .th-top { margin-bottom: 28px; }
  .yv .th-p, .yv .th-echo { font-size: 1.1875rem; }
  .yv .th-choice { flex: 1 1 auto; }
  .yv .th-hint { display: none; }
}
/* the welcome, stronger (2026-11-22): each line arrives in turn, a reaction to your last answer, a ring of lens icons */
.yv .th-screen { animation: none; }
.yv .th-screen > * { animation: th-in .6s ease both; }
.yv .th-screen > *:nth-child(2) { animation-delay: .12s; } .yv .th-screen > *:nth-child(3) { animation-delay: .35s; }
.yv .th-screen > *:nth-child(4) { animation-delay: .7s; } .yv .th-screen > *:nth-child(5) { animation-delay: 1.05s; }
.yv .th-screen > *:nth-child(6) { animation-delay: 1.4s; } .yv .th-screen > *:nth-child(7) { animation-delay: 1.75s; }
.yv .th-screen > *:nth-child(n+8) { animation-delay: 2s; }
@media (prefers-reduced-motion: reduce) { .yv .th-screen > * { animation: none; } }
.yv .th-q em { font-style: normal; color: var(--gold); }
.yv .th-react { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.yv .th-p { margin-bottom: 6px; }
.yv .th-ring { position: relative; width: 240px; height: 240px; margin: 0 0 30px; }
.yv .th-orbit { position: absolute; inset: 0; animation: th-spin 80s linear infinite; }
@keyframes th-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .yv .th-orbit { animation: none; } }
.yv .th-ic { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; display: grid; place-items: center; border-radius: 50%;
  color: var(--c); background: color-mix(in srgb, var(--c) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 45%, var(--rule));
  transform: rotate(var(--a)) translate(98px) rotate(calc(-1 * var(--a))); }
.yv .th-n { position: absolute; inset: 0; display: grid; place-items: center; font: 600 3.4rem/1 var(--f-display, var(--serif)); color: var(--gold);
  text-shadow: 0 0 30px color-mix(in srgb, var(--gold) 45%, transparent); }
@media (max-width: 559px) { .yv .th-ring { width: 200px; height: 200px; } .yv .th-ic { transform: rotate(var(--a)) translate(80px) rotate(calc(-1 * var(--a))); width: 34px; height: 34px; margin: -17px 0 0 -17px; } }
/* the welcome's flowing paragraphs: a readable line length and spacing (2026-11-22) */
.yv .th-p { max-width: 52ch; line-height: 1.6; margin-bottom: 12px; }
/* ===== The landing page, the Help page and button, the first-steps panel, larger text (2026-11-22) ===== */
.help-link { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px; margin-right: 8px; border: 1px solid var(--rule); border-radius: 999px;
  color: var(--ink); text-decoration: none; font: 600 .875rem/1 var(--sans); }
.help-link span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: var(--on-gold); font-size: .75rem; font-weight: 800; }
.help-link:hover { border-color: var(--gold); }
.bar__r { display: flex; align-items: center; }
html.big-text .yv #main { zoom: 1.16; }

.yv .landing { max-width: 1080px; margin: 0 auto; }
.yv .ld-exit { margin: 0 0 10px; }
.yv .ld-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; min-height: 66vh; padding: 10px 0 30px; position: relative; }
.yv .ld-hero::before { content: ""; position: absolute; right: -10%; top: 0; width: 60%; height: 100%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--gold) 22%, transparent), transparent); }
.yv .ld-title { font-size: clamp(2.6rem, 6.5vw, 4.6rem); line-height: 1.02; letter-spacing: -.02em; margin: 6px 0 18px; }
.yv .ld-lede { font: 400 1.25rem/1.6 var(--serif); max-width: 52ch; margin: 0 0 26px; }
.yv .ld-small { margin-top: 14px; font-size: .875rem; }
.yv .ld-art { display: grid; place-items: center; }
.yv .ld-art .th-ring { width: 340px; height: 340px; margin: 0; }
.yv .ld-art .th-ic { width: 52px; height: 52px; margin: -26px 0 0 -26px; transform: rotate(var(--a)) translate(138px) rotate(calc(-1 * var(--a))); }
.yv .ld-art .th-n { font-size: 5rem; }
.yv .ld-sec { padding: 46px 0 10px; border-top: 1px solid var(--rule); }
.yv .ld-sec h2 { font: 500 clamp(1.7rem, 3.6vw, 2.4rem)/1.15 var(--f-display, var(--serif)); margin: 0 0 22px; }
.yv .ld-sec h2 em, .yv .ld-final h2 em { color: var(--gold); font-style: normal; }
.yv .ld-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.yv .ld-steps li, .yv .ld-card { padding: 22px; border: 1px solid var(--rule); border-radius: calc(var(--radius) + 6px); background: var(--glass); }
.yv .ld-num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--on-gold); font: 700 1.125rem/1 var(--sans); margin-bottom: 14px; }
.yv .ld-steps h3, .yv .ld-card h3 { font: 600 1.25rem/1.25 var(--sans); margin: 0 0 8px; }
.yv .ld-steps p, .yv .ld-card p { margin: 0; color: var(--ink-2); line-height: 1.55; }
.yv .ld-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.yv .ld-doms .chip { font-size: .9375rem; padding: 8px 14px; }
.yv .ld-founder blockquote { margin: 0 0 14px; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); }
.yv .ld-founder blockquote p { font: 400 1.5rem/1.5 var(--serif); margin: 0 0 12px; max-width: 46ch; }
.yv .ld-final { text-align: center; padding: 60px 0 30px; margin-top: 40px; border-top: 1px solid var(--rule); }
.yv .ld-final h2 { font: 500 clamp(2rem, 5vw, 3.2rem)/1.1 var(--f-display, var(--serif)); margin: 0 0 22px; }
.yv .ld-final .actions { justify-content: center; }
@media (max-width: 859px) {
  .yv .ld-hero { grid-template-columns: 1fr; min-height: 0; gap: 24px; }
  .yv .ld-art { order: -1; }
  .yv .ld-art .th-ring { width: 230px; height: 230px; }
  .yv .ld-art .th-ic { width: 38px; height: 38px; margin: -19px 0 0 -19px; transform: rotate(var(--a)) translate(92px) rotate(calc(-1 * var(--a))); }
  .yv .ld-art .th-n { font-size: 3.4rem; }
  .yv .ld-steps, .yv .ld-cards { grid-template-columns: 1fr; }
  .help-link { padding: 0 10px; margin-right: 6px; }
}
@media (max-width: 420px) { .help-link { font-size: 0; gap: 0; padding: 0 12px; } .help-link span { font-size: .75rem; } }

.yv .help-wrap { max-width: 820px; }
.yv .help-intro { font: 400 1.25rem/1.6 var(--serif); max-width: 60ch; }
.yv .help-tools { margin: 18px 0 8px; }
.yv .help-steps { padding-left: 22px; display: grid; gap: 12px; font-size: 1.125rem; line-height: 1.55; }
.yv .help-tabs { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.yv .help-tabs li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--glass); }
.yv .help-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: color-mix(in srgb, var(--gold) 16%, var(--surface)); color: var(--gold); }
.yv .help-ic .tab-ic { width: 26px; height: 26px; }
.yv .help-tabs h3 { margin: 0 0 4px; font: 600 1.25rem/1.2 var(--sans); }
.yv .help-tabs p, .yv .help-faq dd { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--ink-2); }
.yv .help-faq { display: grid; gap: 6px; margin: 0 0 20px; }
.yv .help-faq dt { font: 600 1.125rem/1.35 var(--sans); margin-top: 14px; }
.yv .tips { margin: 0 0 18px; padding: 18px 20px; border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--rule)); border-radius: calc(var(--radius) + 6px);
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 65%), var(--glass); }
.yv .tips h2 { font: 600 1.25rem/1.2 var(--sans); margin: 0 0 10px; }
.yv .tips h2 em { color: var(--gold); font-style: normal; }
.yv .tips ol { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 6px; line-height: 1.5; }
.yv .tips .actions { align-items: center; }
/* ===== Progress and rewards (2026-11-22) ===== */
.yv details.more-details { margin: 4px 0 22px; border: 1px solid var(--rule); border-radius: var(--radius); padding: 2px 16px; background: var(--glass); }
.yv details.more-details > summary { cursor: pointer; min-height: 52px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-weight: 600; }
.yv details.more-details[open] { padding-bottom: 6px; }
.yv details.more-details[open] > summary { margin-bottom: 12px; }
.yv .prog { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 6px 18px; padding: 20px; margin: 0 0 16px; border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--rule));
  border-radius: calc(var(--radius) + 8px); background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 60%), var(--glass); }
.yv .prog-gem { display: grid; place-items: center; }
.yv .gem { filter: drop-shadow(0 0 16px color-mix(in srgb, var(--gold) 40%, transparent)); }
.yv .gem-lines path { stroke: var(--ink); stroke-opacity: .55; stroke-width: 1.2; stroke-linejoin: round; }
.yv .prog-k { font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 0 0 4px; }
.yv .prog-h { font: 600 1.5rem/1.2 var(--sans); margin: 0 0 10px; }
.yv .prog-h em { font-style: normal; color: var(--gold); margin-left: 6px; }
.yv .pb { position: relative; height: 10px; border-radius: 5px; background: var(--rule); margin: 0 0 10px; }
.yv .pb > i:first-child { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--gold), color-mix(in srgb, var(--gold) 55%, var(--ink))); }
.yv .pb-tick { position: absolute; top: -3px; width: 2px; height: 16px; background: var(--ink); opacity: .5; }
.yv .prog-n { margin: 0 0 8px; font-size: .9375rem; }
.yv .prog-tease { margin: 0 0 10px; font-size: .9375rem; color: var(--gold); font-weight: 600; }
.yv .prog .actions { align-items: center; margin-top: 6px; }
.yv .prog-badges { grid-column: 1 / -1; margin-top: 10px; }
.yv .bdgs { display: flex; flex-wrap: wrap; gap: 6px; }
.yv .bdg { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: .8125rem; border: 1px solid var(--rule); color: var(--ink-2); }
.yv .bdg small { opacity: .75; }
.yv .bdg.done { background: color-mix(in srgb, var(--c) 22%, var(--surface)); border-color: var(--c); color: var(--ink); font-weight: 600; }
@media (max-width: 559px) { .yv .prog { grid-template-columns: 72px minmax(0, 1fr); padding: 16px; } .yv .prog .gem { width: 72px; height: 72px; } .yv .prog-h { font-size: 1.25rem; } }
.yv .insight { padding: 16px 18px; margin: 0 0 16px; border-left: 3px solid var(--c); border-radius: var(--radius); background: var(--glass); }
.yv .insight .mono { font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c); margin: 0 0 4px; }
.yv .insight h2 { font: 600 1.125rem/1.3 var(--sans); margin: 0 0 6px; }
.yv .insight p:not(.mono) { margin: 0 0 6px; color: var(--ink-2); line-height: 1.55; }
.yv details.start-fold { margin: 0 0 16px; }
.yv details.start-fold > summary { cursor: pointer; min-height: 46px; display: flex; align-items: center; font-weight: 600; color: var(--gold); }
.yv .lr-blur { filter: blur(5px); opacity: .7; margin-right: 8px; user-select: none; }
.yv .rarity { display: inline-block; margin: 4px 0 14px; padding: 6px 14px; border-radius: 999px; font-size: .875rem; font-weight: 600; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.yv .reveal-banner { display: flex; gap: 14px; align-items: flex-start; margin: 6px 0 18px; padding: 16px 18px; border-radius: calc(var(--radius) + 6px); border: 1px solid var(--c);
  background: color-mix(in srgb, var(--c) 14%, var(--surface)); animation: rb-in .6s ease .5s both; }
.yv .reveal-banner p { margin: 0 0 4px; font-weight: 600; }
.yv .rb-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: var(--bg); font-size: 1rem; }
@keyframes rb-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.yv .is-reveal .result-title { animation: rv-title .9s cubic-bezier(.2, .8, .2, 1) both; }
.yv .is-reveal .lens-ico { animation: rv-flip .8s ease both; }
@keyframes rv-title { 0% { opacity: 0; transform: scale(.92); filter: blur(10px); } 60% { opacity: 1; filter: blur(0); } 100% { transform: none; } }
@keyframes rv-flip { from { transform: rotateY(90deg); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .yv .is-reveal .result-title, .yv .is-reveal .lens-ico, .yv .reveal-banner { animation: none; } }
.yv .next-step { text-align: left; }
.yv .next-big { display: grid; justify-items: start; gap: 2px; width: 100%; max-width: 520px; min-height: 0; padding: 18px 24px; border-radius: calc(var(--radius) + 10px); text-align: left; }
.yv .next-big .mono { font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.yv .next-big b { font: 700 1.5rem/1.2 var(--sans); }
.yv .next-links { margin: 14px 0 0; font-size: .9375rem; }
.yv .sc-status:empty { display: none; }
.yv .locked-pulls { padding: 18px 20px; border: 1px dashed var(--rule-strong); border-radius: calc(var(--radius) + 6px); background: var(--glass); }
.yv .locked-pulls p { margin: 0 0 10px; }
.yv .lp-k { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.yv .match { display: flex; align-items: center; gap: 18px; margin: 8px 0 22px; padding: 18px 22px; border-radius: calc(var(--radius) + 8px); border: 1px solid var(--gold); background: color-mix(in srgb, var(--gold) 10%, var(--surface)); }
.yv .match-n { font: 700 3.4rem/1 var(--f-display, var(--serif)); color: var(--gold); }
.yv .match-t { font-weight: 600; font-size: 1.0625rem; }
.yv .match-t small { font-weight: 400; color: var(--ink-2); }
.yv .guess-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.yv .guess-r { font-size: 1.125rem; }
.yv .guess-r.ok b { color: var(--gold); }
/* contrast: the label on the big next button takes the button's own text colour; the rarity pill uses ink text */
.yv .next-big .mono, .yv .next-big span { color: inherit !important; opacity: 1; }
.yv .rarity { color: var(--ink); }

/* ===== Home and the book of lenses (2026-11-22, Jared: "lenses is read like a book. Like minimalist book style") ===== */
.yv .home-book { margin: 18px 0 0; }
.yv .book { max-width: 760px; margin: 0 auto; }
.yv .book-head { text-align: center; padding: 6px 0 26px; margin-bottom: 18px; border-bottom: 1px solid var(--rule); }
.yv .book-head .hub-title { font-size: clamp(2.4rem, 6vw, 3.6rem); margin: 6px 0 8px; }
.yv .book .start { background: none; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; box-shadow: none; padding: 6px 0 22px; text-align: center; }
.yv .book .start .st-list { text-align: left; }
.yv .book .start .actions { justify-content: center; }
.yv .book .rows { counter-reset: ch; }
.yv .book .cat-chips { display: none; }
.yv .book .row-group { counter-increment: ch; text-align: center; padding: 30px 0 6px; border: 0; }
.yv .book .row-group .rg-q { font: 500 clamp(1.5rem, 3.6vw, 1.9rem)/1.15 var(--f-display, var(--serif)); letter-spacing: 0; text-transform: none; }
.yv .book .row-group .rg-q::before { content: "Chapter " counter(ch, upper-roman); display: block; margin-bottom: 10px; font: 500 .75rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.yv .book .row-group .rg-d { font-style: italic; color: var(--ink-2); max-width: 52ch; margin: 8px auto 0; }
.yv .book details.dom-fold { border-top: 0; }
.yv .book details.dom-fold > summary { justify-content: center; }
.yv .book details.dom-fold > summary::after { display: none; }
.yv .book .lens-row { display: flex !important; align-items: baseline; gap: 12px; width: 100%; margin: 0; padding: 13px 2px; min-height: 0; text-align: left;
  background: none !important; border: 0 !important; border-bottom: 1px dotted var(--rule-strong) !important; border-radius: 0 !important; box-shadow: none !important; transform: none !important; }
.yv .book .lens-row .idx, .yv .book .lens-row .lr-meta, .yv .book .lens-row .lr-poss, .yv .book .lens-row .lr-no { display: none !important; }
.yv .book .lens-row .lr-main { flex: 1; min-width: 0; display: block; }
.yv .book .lens-row .lr-name { font: 400 1.125rem/1.35 var(--serif); letter-spacing: 0; text-transform: none; }
.yv .book .lens-row .lr-result { flex: none; max-width: 52%; margin: 0; text-align: right; font-size: .9375rem; color: var(--ink-2); background: none; }
.yv .book .lens-row:hover .lr-name { color: var(--gold); }
.yv .book .hub-foot { text-align: center; margin-top: 30px; }
/* a lens page opens like a chapter */
.yv .lens-wrap .chap { margin: 8px 0 14px; text-align: center; font: 500 .75rem/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.yv .lens-wrap > .lens-ico { margin-left: auto; margin-right: auto; }
.yv .lens-wrap > .eyebrow { justify-content: center; text-align: center; }
.yv .lens-wrap > .result-title, .yv .lens-wrap > .result-sub { text-align: center; }
.yv .lens-wrap > .result-sub::after { content: "✦"; display: block; margin: 16px auto 4px; font-size: .875rem; letter-spacing: 0; color: var(--gold); }
.yv .lens-wrap > .rarity { display: table; margin-left: auto; margin-right: auto; }
.yv .lens-wrap section.block { background: transparent !important; border-left: 0 !important; border-right: 0 !important; box-shadow: none !important; border-radius: 0 !important; }

/* ===== Grimoire as minimalist ancient scripture (2026-11-22, Jared: "minimalist ancient scripture, no fancy things"): plain parchment, black
   ink, one red for chapter numbers and the current page. No frames, shadows, glows, stains, ribbons or seals. ===== */
:root[data-look="occult"] { --bg: #EFE6D2; --surface: #F3EBD8; --panel: #E8DEC6; --glass: transparent; --gold: #8A1C10; --gold-soft: rgba(138, 28, 16, .08); --on-gold: #F3EBD8;
  --rule: rgba(26, 18, 11, .2); --rule-strong: rgba(26, 18, 11, .5); --radius: 0px; }
:root[data-look="occult"] body { background: #EFE6D2 !important; }
:root[data-look="occult"] main#app { background: none; box-shadow: none; margin: 0; max-width: none; }
:root[data-look="occult"] .bar { background: #EFE6D2; border-bottom: 1px solid var(--rule-strong); box-shadow: none; }
:root[data-look="occult"] .brand { color: var(--ink); text-shadow: none; }
:root[data-look="occult"] .yv :is(.prog, .insight, .hub-community, .community, .notice, details.about, .viz, .plate, .pt-pick, .cmp-box, .save-block, .read-guide, .lbl, .nx, .ld-card, .ld-steps li,
  .help-tabs li, .w-points li, .w-agree, .reveal-banner, .locked-pulls, .match, details.mf-more, details.more-details, .td-card, .web-stage, .web-info, .st-item, .chip, .cat-chip, .bdg, .th-choice,
  .rarity, .hc-ic, .help-ic, .lens-ico, .start, .sky, .tips, .seg-ctl, .seg-ctl button, details.more.rm > summary, details.fold-more > summary) {
  background: transparent !important; box-shadow: none !important; border-radius: 0 !important; border-color: var(--rule-strong) !important; filter: none !important; }
:root[data-look="occult"] .yv :is(.hc-ic, .help-ic, .lens-ico) { color: var(--ink) !important; border: 0 !important; }
:root[data-look="occult"] .yv details.fold-more > summary::before { background: var(--ink); color: #F3EBD8; border-radius: 0; }
:root[data-look="occult"] .yv :is(svg.fz, svg.wheel, .ico, .fx, .web-svg .web-vp), :root[data-look="occult"] .yv .hero-wheel .wheel-wrap { filter: none !important; }
:root[data-look="occult"] .yv .btn { background: transparent; color: var(--ink); border: 1px solid var(--ink); border-radius: 0; box-shadow: none; transform: none; font-family: 'IM Fell English SC', var(--serif); letter-spacing: .06em; }
:root[data-look="occult"] .yv .btn:not(.ghost) { background: #1A120B; color: #F3EBD8; border-color: #1A120B; }
:root[data-look="occult"] .yv .btn:hover { box-shadow: none; transform: none; }
:root[data-look="occult"] .yv .btn:not(.ghost):hover { background: var(--gold); border-color: var(--gold); color: #F3EBD8; }
:root[data-look="occult"] .yv .btn.ghost:hover { color: var(--gold); border-color: var(--gold); }
:root[data-look="occult"] .yv .tabs { background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--rule-strong) !important; border-radius: 0 !important; padding: 0 !important; backdrop-filter: none !important; box-shadow: none !important; }
:root[data-look="occult"] .yv .tabs button { background: transparent !important; border: 0 !important; border-radius: 0 !important; color: var(--ink-2); box-shadow: none; }
:root[data-look="occult"] .yv .tabs button[aria-current="page"] { color: var(--gold) !important; box-shadow: inset 0 -2px 0 var(--gold) !important; }
@media (max-width: 859px) {
  :root[data-look="occult"] .yv .top--mounted { left: 0; right: 0; bottom: 0; }
  :root[data-look="occult"] .yv .top--mounted .tabs { background: #EFE6D2 !important; border-bottom: 0 !important; border-top: 1px solid var(--rule-strong) !important; padding: 4px 6px calc(4px + env(safe-area-inset-bottom, 0px)) !important; }
  :root[data-look="occult"] .yv .top--mounted .tabs button[aria-current="page"] { box-shadow: inset 0 2px 0 var(--gold) !important; }
}
:root[data-look="occult"] .look-pick, :root[data-look="occult"] .help-link { background: transparent; border-color: var(--rule-strong); border-radius: 0; box-shadow: none; color: var(--ink); }
:root[data-look="occult"] .help-link span { background: var(--ink); color: #F3EBD8; border-radius: 0; }
:root[data-look="occult"] .foot { border-top: 1px solid var(--rule-strong); }
:root[data-look="occult"] .foot a { color: var(--ink); text-decoration-color: var(--gold); }
:root[data-look="occult"] .yv .pb > i:first-child { background: var(--ink); }
:root[data-look="occult"] .yv .th-ring .th-ic { background: transparent; border-color: var(--rule-strong); color: var(--ink); }
:root[data-look="occult"] .yv .welcome.th::before, :root[data-look="occult"] .yv .ld-hero::before { display: none; }
/* the book: one chapter label only, and centred lines centred (paragraphs keep their reading width, so they need auto margins) */
.yv .book .row-group::before { display: none !important; }
.yv .book-head > *, .yv .book .start > p, .yv .book .row-group .rg-d,
.yv .lens-wrap > .chap, .yv .lens-wrap > .eyebrow, .yv .lens-wrap > .result-title, .yv .lens-wrap > .result-sub { margin-left: auto !important; margin-right: auto !important; text-align: center; }
.yv .book-head .kicker, .yv .lens-wrap > .eyebrow { display: flex; justify-content: center; flex-wrap: wrap; }
/* Grimoire in a plain book serif (2026-11-22, Jared: the old-style and blackletter fonts were hard to read, "nothing fancy") */
:root[data-look="occult"] { --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif; --sans: 'Source Serif 4', Georgia, 'Times New Roman', serif; --mono: 'Source Serif 4', Georgia, 'Times New Roman', serif; --f-display: 'Source Serif 4', Georgia, serif; }
:root[data-look="occult"] body, :root[data-look="occult"] .yv, :root[data-look="occult"] .yv p, :root[data-look="occult"] .yv li { font-family: 'Source Serif 4', Georgia, serif; }
:root[data-look="occult"] .yv h1, :root[data-look="occult"] .yv .display, :root[data-look="occult"] .yv .hero-title, :root[data-look="occult"] .yv .result-title { font-family: 'Source Serif 4', Georgia, serif !important; font-weight: 600 !important; letter-spacing: -.01em; line-height: 1.12; }
:root[data-look="occult"] .yv h2, :root[data-look="occult"] .yv h3, :root[data-look="occult"] .yv .row-group .rg-q, :root[data-look="occult"] .yv .lens-row .lr-name, :root[data-look="occult"] .foot__by, :root[data-look="occult"] .yv .btn { font-family: 'Source Serif 4', Georgia, serif; }
:root[data-look="occult"] .yv h2, :root[data-look="occult"] .yv h3 { font-weight: 600 !important; letter-spacing: 0; }
:root[data-look="occult"] .yv .btn { font-weight: 600; letter-spacing: .02em; }
:root[data-look="occult"] .yv p, :root[data-look="occult"] .yv li { line-height: 1.7; }
/* Grimoire titles at book size (2026-11-22, Jared: "the big titles/fonts is what bothers me with grimoire").
   Body text is 18px; titles sit a step or two above it, as in a printed book, instead of poster size. */
:root[data-look="occult"] .yv h1, :root[data-look="occult"] .yv h1.display, :root[data-look="occult"] .yv .display,
:root[data-look="occult"] .yv .result-title, :root[data-look="occult"] .yv .hero-title, :root[data-look="occult"] .yv .hub-title,
:root[data-look="occult"] .yv .mirror-title, :root[data-look="occult"] .yv .you-title { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.375rem) !important; line-height: 1.2 !important; letter-spacing: 0 !important; }
:root[data-look="occult"] .yv h2, :root[data-look="occult"] .yv .row-group .rg-q { font-size: clamp(1.25rem, 1.15rem + .4vw, 1.5rem) !important; line-height: 1.3 !important; }
:root[data-look="occult"] .yv h3 { font-size: 1.1875rem !important; line-height: 1.35 !important; }
:root[data-look="occult"] .yv .lead, :root[data-look="occult"] .yv .result-sub, :root[data-look="occult"] .yv .hub-sub { font-size: 1.1875rem !important; }
/* ---------- Reading tools (2026-11-22, Jared: readings "a bit hard to read... like a wall of text"; always in full) ----------
   The bar that stays at the top while you read, shorter paragraphs, key lines, text settings, the reading ruler, read aloud,
   highlights and "That's me" lines. Drawn by core/reader.js. */
.yv .lens-wrap.rd { position: relative; }
.yv .rbar-slot { position: sticky; top: var(--header-h); z-index: 20; margin: 6px 0 14px; }
.yv .rbar { background: var(--bg); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: 0 6px 18px -14px rgba(0,0,0,.45); }
.yv .rb-row { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 8px; min-height: 48px; }
.yv .rb-toc { flex: 1 1 auto; min-width: 0; display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--ink); font: inherit; font-size: .9375rem; font-weight: 600; text-align: left; padding: 8px 6px; min-height: 40px; cursor: pointer; border-radius: var(--radius); }
.yv .rb-toc.rb-static { cursor: default; }
.yv .rb-toc .rb-cur { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yv .rb-toc .rb-tic { color: var(--ink-2); font-weight: 400; }
.yv button.rb-toc:hover, .yv .rb-btn:hover { background: color-mix(in srgb, var(--c, var(--gold)) 12%, transparent); }
.yv .rb-left { flex: none; font-size: .875rem; color: var(--ink-2); white-space: nowrap; padding: 0 4px; }
.yv .rb-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; min-width: 44px; justify-content: center; padding: 0 12px; background: transparent; color: var(--ink);
  border: 1px solid var(--rule-strong); border-radius: 999px; font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; }
.yv .rb-btn[aria-pressed="true"], .yv .rb-btn[aria-expanded="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.yv .rb-aa span { font-family: var(--serif); font-size: 1.0625rem; }
.yv .rb-pi { font-size: .75rem; }
.yv .rb-prog { height: 3px; background: color-mix(in srgb, var(--ink) 10%, transparent); overflow: hidden; border-radius: 0 0 var(--radius) var(--radius); }
.yv .rb-prog i { display: block; height: 100%; width: 0; background: var(--c, var(--gold)); transition: width .15s linear; }
.yv .rb-say { margin: 0; padding: 8px 12px; font-size: .9375rem; border-top: 1px solid var(--rule); color: var(--ink); }
.yv .rb-say:empty { display: none; }
.yv .rbar.rb-done .rb-left { color: var(--ink); font-weight: 600; }
.yv .rb-list { list-style: none; margin: 0; padding: 6px; border-top: 1px solid var(--rule); max-height: min(60vh, 460px); overflow: auto; }
.yv .rb-list button { width: 100%; display: flex; align-items: baseline; gap: 12px; text-align: left; background: none; border: 0; color: var(--ink); font: inherit; font-size: 1rem; padding: 10px 10px; border-radius: var(--radius); cursor: pointer; }
.yv .rb-list button:hover { background: color-mix(in srgb, var(--c, var(--gold)) 10%, transparent); }
.yv .rb-list button[aria-current="true"] { background: color-mix(in srgb, var(--c, var(--gold)) 16%, transparent); font-weight: 600; }
.yv .rb-n { flex: none; width: 1.6em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.yv .rb-l { flex: 1; } .yv .rb-l small { display: block; color: var(--ink-2); font-size: .875rem; font-weight: 400; }
.yv .rb-m { flex: none; color: var(--ink-2); font-size: .875rem; }
.yv .rb-aa-p { border-top: 1px solid var(--rule); padding: 12px 14px 10px; display: grid; gap: 12px; max-height: min(70vh, 560px); overflow: auto; }
.yv .rb-aa-p[hidden], .yv .rb-list[hidden] { display: none; }
.yv .rb-set { display: grid; gap: 6px; }
.yv .rb-set-k { font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.yv .rb-seg { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.yv .rb-seg button { min-height: 40px; padding: 0 14px; background: transparent; color: var(--ink); border: 1px solid var(--rule-strong); border-radius: 999px; font: inherit; font-size: .9375rem; cursor: pointer; }
.yv .rb-seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 600; }
.yv .rb-seg button:disabled { opacity: .4; cursor: default; }
.yv .rb-size-n { min-width: 6em; text-align: center; font-weight: 600; }
.yv .rb-foot { display: flex; justify-content: space-between; gap: 12px; }
/* shorter paragraphs and key lines */
.yv .block .deep-sec p.rpar + p.rpar { margin-top: .9em; }
.yv .lens-wrap.rd > .rp { display: none; }
/* text settings: size, spacing, width, font */
.yv .lens-wrap.rd .block .lead p, .yv .lens-wrap.rd .block p.edge { font-size: calc(var(--rd-b1) * var(--rd-k, 1)); }
.yv .lens-wrap.rd .block .deep p { font-size: calc(var(--rd-b2) * var(--rd-k, 1)); }
.yv .lens-wrap.rd-lh .block p { line-height: var(--rd-lh) !important; }
.yv .lens-wrap.rd-narrow .block .lead, .yv .lens-wrap.rd-narrow .block .deep, .yv .lens-wrap.rd-narrow .block > p.edge { max-width: 34em; margin-left: auto; margin-right: auto; }
/* the reading ruler */
.yv .lens-wrap.rd-ruler .block p { opacity: .3; transition: opacity .2s ease; }
.yv .lens-wrap.rd-ruler .block p.rd-now { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .yv .lens-wrap.rd-ruler .block p { transition: none; } }
/* sentences: highlights, "That's me", the one being read aloud */
@media (hover: hover) { .yv .lens-wrap.rd .block .s:hover { background: color-mix(in srgb, var(--c, var(--gold)) 10%, transparent); cursor: pointer; border-radius: 2px; } }
.yv .rd-speak { background: color-mix(in srgb, var(--c, var(--gold)) 24%, transparent); border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
  box-shadow: 0 14px 34px -16px rgba(0,0,0,.55); padding: 10px 12px; display: grid; gap: 8px; }
/* your lines on the You page, and "read to the end" */
/* Grimoire and Monolith keep their square corners */
:root[data-look="occult"] .yv .rbar, :root[data-look="occult"] .yv .rb-btn, :root[data-look="occult"] .yv .rb-seg button { border-radius: 0; box-shadow: none; }
:root[data-look="occult"] .yv .rbar { border-left: 0; border-right: 0; }
:root[data-look="mono"] .yv .rbar, :root[data-look="mono"] .yv .rb-btn, :root[data-look="mono"] .yv .rb-seg button { border-radius: 0; }
@media print { .yv .rbar-slot { display: none !important; } }
/* ==========================================================================================================================
   The five looks, overhauled (2026-11-23, Jared: "complete overhauls of all themes, improve them and make them all better").
   Each look now has its own shapes and details, not only its own colours:
   Nocturne  an observatory at night: midnight blue, a fine star field, gold hairlines with corner ticks like an instrument.
   Prism     light through glass: soft glass panels, a spectrum edge on every card, spectrum buttons and tabs.
   Monolith  Swiss poster: pure white and black, thick rules, square everything, no shadows or gradients.
   Monograph a printed journal: no boxes, hairline rules above and below, small capitals, navy ink.
   Grimoire  plain scripture: parchment and black ink, red only for headings and numbers, no boxes and no glows.
   ========================================================================================================================== */

/* how FACETS was made, in Jared's words (landing page and Credits) */

/* ---------------------------------------------- Nocturne ---------------------------------------------- */
:root[data-look="observatory"] {
  --bg: #070912; --surface: #0D1020; --panel: #131729; --ink: #ECE6D8; --ink-2: #A9A496; --rule: #1F2438; --rule-strong: #4A4E66;
  --gold: #D4B26E; --gold-soft: rgba(212, 178, 110, .13); --on-gold: #0A0B12; --glass: color-mix(in srgb, #0D1020 78%, transparent); --radius: 4px;
  --hair: rgba(212, 178, 110, .30);
}
:root[data-look="observatory"] body { background: #070912; }
:root[data-look="observatory"] body::before {
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(236, 230, 216, .75), transparent 60%), radial-gradient(1px 1px at 37% 72%, rgba(236, 230, 216, .55), transparent 60%),
    radial-gradient(1.5px 1.5px at 68% 34%, rgba(212, 178, 110, .8), transparent 60%), radial-gradient(1px 1px at 84% 82%, rgba(236, 230, 216, .6), transparent 60%),
    radial-gradient(1px 1px at 52% 8%, rgba(236, 230, 216, .5), transparent 60%), radial-gradient(1px 1px at 91% 12%, rgba(236, 230, 216, .55), transparent 60%),
    radial-gradient(1px 1px at 6% 58%, rgba(212, 178, 110, .6), transparent 60%), radial-gradient(1px 1px at 26% 92%, rgba(236, 230, 216, .45), transparent 60%),
    radial-gradient(ellipse 70% 45% at 75% -10%, rgba(88, 104, 190, .22), transparent 70%), radial-gradient(ellipse 60% 40% at 0% 110%, rgba(212, 178, 110, .08), transparent 70%);
  background-size: 420px 420px, 380px 380px, 520px 520px, 460px 460px, 340px 340px, 600px 600px, 500px 500px, 360px 360px, 100% 100%, 100% 100%;
}
/* instrument cards: transparent, a gold hairline and small corner ticks */
:root[data-look="observatory"] .yv .prog, :root[data-look="observatory"] .yv .hub-community, :root[data-look="observatory"] .yv .community,
:root[data-look="observatory"] .yv .notice, :root[data-look="observatory"] .yv .insight, :root[data-look="observatory"] .yv .ld-card, :root[data-look="observatory"] .yv .made-note {
  border: 1px solid var(--hair); border-radius: 2px;
  background:
    linear-gradient(var(--gold), var(--gold)) 0 0 / 14px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) 0 0 / 1px 14px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 100% 0 / 14px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) 100% 0 / 1px 14px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 0 100% / 14px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) 0 100% / 1px 14px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 100% 100% / 14px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) 100% 100% / 1px 14px no-repeat,
    linear-gradient(180deg, rgba(20, 25, 48, .72), rgba(10, 12, 24, .55));
}
:root[data-look="observatory"] .yv .insight { border-left: 1px solid var(--hair); }
:root[data-look="observatory"] .yv .hc-ic { border-radius: 50%; background: transparent; color: var(--gold); border: 1px solid var(--gold); }
:root[data-look="observatory"] .yv .display, :root[data-look="observatory"] .yv h1 { font-weight: 400; letter-spacing: .01em; }
:root[data-look="observatory"] .yv .display em, :root[data-look="observatory"] .yv h2 em { font-style: normal; color: var(--gold); }
:root[data-look="observatory"] .yv h2 { letter-spacing: .02em; }
:root[data-look="observatory"] .yv .btn { border-radius: 2px; font: 500 .875rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; min-height: 52px; padding: 0 30px;
  background: linear-gradient(180deg, #E3C484, #C29E58); border-color: #E3C484; color: #0A0B12; box-shadow: 0 0 0 1px rgba(212, 178, 110, .25), 0 10px 30px -12px rgba(212, 178, 110, .45); }
:root[data-look="observatory"] .yv .btn.ghost, :root[data-look="observatory"] .yv .btn.sm.ghost { background: transparent; color: var(--gold); border-color: var(--hair); box-shadow: none; }
:root[data-look="observatory"] .yv .btn.ghost:hover { border-color: var(--gold); color: var(--ink); }
:root[data-look="observatory"] .yv .bdg { border-radius: 2px; border-color: var(--hair); background: transparent; }
:root[data-look="observatory"] .yv .bdg.done { background: rgba(212, 178, 110, .08); border-color: rgba(212, 178, 110, .55); color: var(--ink); }
:root[data-look="observatory"] .yv .pb { background: rgba(212, 178, 110, .14); }
:root[data-look="observatory"] .help-link, :root[data-look="observatory"] .look-pick { border-radius: 2px; border-color: var(--hair); }
:root[data-look="observatory"] .bar { background: color-mix(in srgb, #070912 80%, transparent); border-bottom-color: var(--hair); }
:root[data-look="observatory"] .yv .lens-row { border-radius: 2px; }
:root[data-look="observatory"] .yv .block { border-top: 1px solid var(--hair); }
:root[data-look="observatory"] .yv .rbar { border-radius: 2px; border-color: var(--hair); background: #0A0D1A; }
@media (min-width: 860px) {
  :root[data-look="observatory"] .yv .tabs { background: transparent; border: 0; border-bottom: 1px solid var(--hair); border-radius: 0; padding: 0; gap: 6px; backdrop-filter: none; }
  :root[data-look="observatory"] .yv .tabs button { border-radius: 0; color: var(--ink-2); padding: 0 16px; }
  :root[data-look="observatory"] .yv .tabs button[aria-current="page"] { background: transparent; color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); }
}
@media (max-width: 859px) {
  :root[data-look="observatory"] .yv .top--mounted .tabs { border-radius: 4px; border-color: var(--hair); background: color-mix(in srgb, #0D1020 90%, transparent); }
  :root[data-look="observatory"] .yv .top--mounted .tabs button { border-radius: 2px; }
  :root[data-look="observatory"] .yv .top--mounted .tabs button[aria-current="page"] { background: transparent; color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
}

/* ---------------------------------------------- Prism ---------------------------------------------- */
:root[data-look="classic"] { --bg: #0D0B14; --surface: #17141F; --panel: #201C2B; --radius: 18px;
  --spectrum: linear-gradient(90deg, #FF6B8B, #FF9F5A, #FFD25A, #6EE7A8, #5AC8FF, #8A7CFF, #C77DFF); }
:root[data-look="classic"] body::before { background:
  radial-gradient(ellipse 50% 32% at 15% -6%, rgba(255, 107, 139, .16), transparent 70%), radial-gradient(ellipse 50% 32% at 50% -10%, rgba(255, 210, 90, .10), transparent 70%),
  radial-gradient(ellipse 50% 34% at 88% -6%, rgba(90, 200, 255, .16), transparent 70%), radial-gradient(ellipse 70% 40% at 100% 105%, rgba(199, 125, 255, .10), transparent 70%); }
/* glass cards with a spectrum edge along the top */
:root[data-look="classic"] .yv .prog, :root[data-look="classic"] .yv .hub-community, :root[data-look="classic"] .yv .community, :root[data-look="classic"] .yv .ld-card, :root[data-look="classic"] .yv .made-note {
  border: 1px solid rgba(255, 255, 255, .09); border-radius: 22px;
  background: var(--spectrum) top / 100% 3px no-repeat, linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .04); }
:root[data-look="classic"] .yv .insight { border-radius: 18px; border: 1px solid rgba(255, 255, 255, .08); border-left: 4px solid var(--c); background: linear-gradient(90deg, color-mix(in srgb, var(--c) 12%, transparent), rgba(255, 255, 255, .02) 60%); }
:root[data-look="classic"] .yv .notice { border-radius: 16px; }
:root[data-look="classic"] .yv .hc-ic { background: var(--spectrum); color: #100E17; border-radius: 14px; }
:root[data-look="classic"] .yv .btn { border: 0; border-radius: 999px; color: #100E17; background: linear-gradient(100deg, #FF9F5A, #FFD25A 30%, #6EE7A8 55%, #5AC8FF 78%, #B69CFF);
  box-shadow: 0 10px 30px -10px rgba(140, 124, 255, .55); font-weight: 800; }
:root[data-look="classic"] .yv .btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
:root[data-look="classic"] .yv .btn.ghost, :root[data-look="classic"] .yv .btn.sm.ghost { background: rgba(255, 255, 255, .04); color: var(--ink); border: 1px solid rgba(255, 255, 255, .16); box-shadow: none; font-weight: 700; }
:root[data-look="classic"] .yv .btn.ghost:hover { border-color: rgba(255, 255, 255, .4); }
:root[data-look="classic"] .yv .pb { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
:root[data-look="classic"] .yv .pb > i { background: var(--spectrum); border-radius: 999px; }
:root[data-look="classic"] .yv .bdg.done { border-radius: 999px; }
:root[data-look="classic"] .yv .lens-row { border-radius: 16px; }
:root[data-look="classic"] .yv .rbar { border-radius: 16px; background: #15121D; border-color: rgba(255, 255, 255, .1); }
:root[data-look="classic"] .yv .rb-prog i { background: var(--spectrum); }
:root[data-look="classic"] .bar { border-bottom: 0; box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
:root[data-look="classic"] .bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--spectrum); opacity: .55; }
:root[data-look="classic"] .help-link span { background: var(--spectrum); color: #100E17; }
@media (min-width: 860px) {
  :root[data-look="classic"] .yv .tabs { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); padding: 5px; }
  :root[data-look="classic"] .yv .tabs button { text-transform: none; letter-spacing: .01em; font: 700 .9375rem/1 var(--mono); }
  :root[data-look="classic"] .yv .tabs button[aria-current="page"] { background: linear-gradient(100deg, #FFD25A, #6EE7A8 45%, #5AC8FF 75%, #B69CFF); color: #100E17; }
}
@media (max-width: 859px) {
  :root[data-look="classic"] .yv .top--mounted .tabs { background: color-mix(in srgb, #17141F 88%, transparent); border-color: rgba(255, 255, 255, .1); }
  :root[data-look="classic"] .yv .top--mounted .tabs button[aria-current="page"] { background: linear-gradient(135deg, #FFD25A, #6EE7A8 45%, #5AC8FF 75%, #B69CFF); color: #100E17; }
}

/* ---------------------------------------------- Monolith ---------------------------------------------- */
:root[data-look="mono"] { --rule: #0A0A0A; --rule-strong: #0A0A0A; --ink-2: #4D4D4D; }
:root[data-look="mono"] .yv .prog, :root[data-look="mono"] .yv .hub-community, :root[data-look="mono"] .yv .community, :root[data-look="mono"] .yv .notice,
:root[data-look="mono"] .yv .insight, :root[data-look="mono"] .yv .ld-card, :root[data-look="mono"] .yv .made-note, :root[data-look="mono"] .yv .lens-row {
  border: 2px solid #0A0A0A; border-radius: 0; background: #FFFFFF; box-shadow: none; }
:root[data-look="mono"] .yv .insight { border-left-width: 10px; }
:root[data-look="mono"] .yv .notice { background: #F3F3F3; border-width: 0 0 0 6px; }
:root[data-look="mono"] .yv .prog { box-shadow: 8px 8px 0 #0A0A0A; }
:root[data-look="mono"] .yv .hc-ic { border-radius: 0; background: #0A0A0A; color: #FFF; }
:root[data-look="mono"] .yv .gem, :root[data-look="mono"] .yv .hub-side .wheel-wrap { filter: none; }
:root[data-look="mono"] .yv .display, :root[data-look="mono"] .yv h1 { font-weight: 300 !important; letter-spacing: -.035em; line-height: .98; }
:root[data-look="mono"] .yv .display em { font-weight: 600; }
:root[data-look="mono"] .yv h2 { font-weight: 600 !important; letter-spacing: -.01em; text-transform: none; }
:root[data-look="mono"] .yv .mono, :root[data-look="mono"] .yv .prog-k, :root[data-look="mono"] .yv .insight .mono { font-weight: 600; letter-spacing: .18em; color: #0A0A0A; }
:root[data-look="mono"] .yv .section, :root[data-look="mono"] .yv .block { border-top: 2px solid #0A0A0A; }
:root[data-look="mono"] .yv .btn { border-radius: 0; background: #0A0A0A; border: 2px solid #0A0A0A; color: #FFF; text-transform: uppercase; letter-spacing: .14em; font: 600 .875rem/1 var(--mono); box-shadow: none; }
:root[data-look="mono"] .yv .btn:hover { background: #FFF; color: #0A0A0A; transform: none; }
:root[data-look="mono"] .yv .btn.ghost, :root[data-look="mono"] .yv .btn.sm.ghost { background: #FFF; color: #0A0A0A; }
:root[data-look="mono"] .yv .btn.ghost:hover { background: #0A0A0A; color: #FFF; }
:root[data-look="mono"] .yv .bdg { border-radius: 0; border: 1.5px solid #0A0A0A; color: #0A0A0A; }
:root[data-look="mono"] .yv .bdg.done { background: #0A0A0A; color: #FFF; border-color: #0A0A0A; }
:root[data-look="mono"] .yv .pb { height: 12px; border-radius: 0; background: #E6E6E6; }
:root[data-look="mono"] .yv .pb > i { border-radius: 0; background: #0A0A0A; }
:root[data-look="mono"] .help-link, :root[data-look="mono"] .look-pick { border-radius: 0; border: 2px solid #0A0A0A; }
:root[data-look="mono"] .help-link span { border-radius: 0; background: #0A0A0A; color: #FFF; }
:root[data-look="mono"] .bar { background: #FFFFFF; border-bottom: 2px solid #0A0A0A; backdrop-filter: none; }
:root[data-look="mono"] .yv .rbar { border: 2px solid #0A0A0A; box-shadow: none; }
:root[data-look="mono"] .yv .rb-prog { background: #E6E6E6; } :root[data-look="mono"] .yv .rb-prog i { background: #0A0A0A; }
:root[data-look="mono"] .yv .insight h2 { font-weight: 700 !important; }
@media (min-width: 860px) {
  :root[data-look="mono"] .yv .tabs { border: 0; border-bottom: 2px solid #0A0A0A; padding: 0; gap: 0; background: transparent; }
  :root[data-look="mono"] .yv .tabs button { color: #0A0A0A; font-weight: 600; }
  :root[data-look="mono"] .yv .tabs button[aria-current="page"] { background: #0A0A0A; color: #FFF; }
}
@media (max-width: 859px) {
  :root[data-look="mono"] .yv .top--mounted .tabs { border: 2px solid #0A0A0A; border-radius: 0; background: #FFF; box-shadow: 6px 6px 0 #0A0A0A; backdrop-filter: none; }
  :root[data-look="mono"] .yv .top--mounted .tabs button { border-radius: 0; color: #0A0A0A; }
  :root[data-look="mono"] .yv .top--mounted .tabs button[aria-current="page"] { background: #0A0A0A; color: #FFF; }
}

/* ---------------------------------------------- Monograph ---------------------------------------------- */
:root[data-look="paper"] { --bg: #FAF8F2; --rule: #D9D3C4; --rule-strong: #1F3A5F; }
/* no boxes: each panel is set off by a navy rule above and a hairline below, as on a printed page */
:root[data-look="paper"] .yv .prog, :root[data-look="paper"] .yv .hub-community, :root[data-look="paper"] .yv .community, :root[data-look="paper"] .yv .notice,
:root[data-look="paper"] .yv .insight, :root[data-look="paper"] .yv .ld-card, :root[data-look="paper"] .yv .made-note {
  border: 0; border-top: 2px solid #1F3A5F; border-bottom: 1px solid var(--rule); border-radius: 0; background: transparent; box-shadow: none; padding-left: 0; padding-right: 0; }
:root[data-look="paper"] .yv .notice { border-top-width: 1px; font-style: italic; }
:root[data-look="paper"] .yv .hc-ic { border-radius: 0; background: transparent; color: #1F3A5F; border: 1px solid #1F3A5F; }
:root[data-look="paper"] .yv .gem, :root[data-look="paper"] .yv .hub-side .wheel-wrap { filter: none; }
:root[data-look="paper"] .yv .prog-k, :root[data-look="paper"] .yv .insight .mono, :root[data-look="paper"] .yv .hub-community .mono { text-transform: none; font-variant-caps: all-small-caps; letter-spacing: .08em; font-size: .9375rem; color: #1F3A5F; }
:root[data-look="paper"] .yv .display, :root[data-look="paper"] .yv h1 { font-weight: 500 !important; letter-spacing: -.015em; }
:root[data-look="paper"] .yv .btn { border-radius: 0; background: #1F3A5F; border: 1px solid #1F3A5F; color: #FFF; font: 600 1rem/1 var(--serif); letter-spacing: .02em; box-shadow: none; }
:root[data-look="paper"] .yv .btn:hover { background: #142842; transform: none; }
:root[data-look="paper"] .yv .btn.ghost, :root[data-look="paper"] .yv .btn.sm.ghost { background: transparent; color: #1F3A5F; border-color: #1F3A5F; }
:root[data-look="paper"] .yv .bdg, :root[data-look="paper"] .yv .bdg.done { border-radius: 0; border: 0; border-bottom: 1px solid var(--rule); background: transparent; color: var(--ink); padding: 2px 4px; font-weight: 400; }
:root[data-look="paper"] .yv .bdg.done { border-bottom-color: #1F3A5F; }
:root[data-look="paper"] .yv .pb { height: 4px; border-radius: 0; background: var(--rule); }
:root[data-look="paper"] .yv .pb > i { border-radius: 0; background: #1F3A5F; }
:root[data-look="paper"] .help-link, :root[data-look="paper"] .look-pick { border-radius: 0; }
:root[data-look="paper"] .help-link span { border-radius: 0; background: #1F3A5F; }
:root[data-look="paper"] .bar { background: #FAF8F2; border-bottom: 1px solid #1F3A5F; backdrop-filter: none; }
:root[data-look="paper"] .yv .lens-row { border-radius: 0; border: 0; border-bottom: 1px solid var(--rule); background: transparent; }
:root[data-look="paper"] .yv .rbar { border-radius: 0; border: 0; border-top: 2px solid #1F3A5F; border-bottom: 1px solid var(--rule); background: #FAF8F2; box-shadow: none; }
:root[data-look="paper"] .yv .rb-btn, :root[data-look="paper"] .yv .rb-seg button { border-radius: 0; }
@media (min-width: 860px) {
  :root[data-look="paper"] .yv .tabs { border: 0; border-bottom: 1px solid #1F3A5F; border-radius: 0; padding: 0; gap: 4px; background: transparent; }
  :root[data-look="paper"] .yv .tabs button { border-radius: 0; color: var(--ink-2); }
  :root[data-look="paper"] .yv .tabs button[aria-current="page"] { background: transparent; color: #1F3A5F; box-shadow: inset 0 -3px 0 #1F3A5F; font-weight: 600; }
}
@media (max-width: 859px) {
  :root[data-look="paper"] .yv .top--mounted .tabs { border-radius: 0; border: 1px solid #1F3A5F; background: #FAF8F2; box-shadow: 0 10px 30px -18px rgba(31, 58, 95, .6); backdrop-filter: none; }
  :root[data-look="paper"] .yv .top--mounted .tabs button { border-radius: 0; }
  :root[data-look="paper"] .yv .top--mounted .tabs button[aria-current="page"] { background: #1F3A5F; color: #FFF; }
}

/* ---------------------------------------------- Grimoire ---------------------------------------------- */
/* no boxes: a rule above and below, as on a page; no glows; red only where a scribe would put it */
:root[data-look="occult"] .yv .prog, :root[data-look="occult"] .yv .hub-community, :root[data-look="occult"] .yv .community, :root[data-look="occult"] .yv .notice,
:root[data-look="occult"] .yv .insight, :root[data-look="occult"] .yv .ld-card, :root[data-look="occult"] .yv .made-note {
  border: 0 !important; border-top: 1px solid var(--rule-strong) !important; border-bottom: 1px solid var(--rule) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; padding-left: 0 !important; padding-right: 0 !important; }
:root[data-look="occult"] .yv .gem, :root[data-look="occult"] .yv .hub-side .wheel-wrap, :root[data-look="occult"] .yv .prog-gem { filter: none !important; }
:root[data-look="occult"] .yv .prog-gem svg { filter: grayscale(1) contrast(1.1); }
:root[data-look="occult"] .yv .hc-ic { background: transparent; color: var(--ink); border: 1px solid var(--ink); border-radius: 0; }
:root[data-look="occult"] .yv .bdg, :root[data-look="occult"] .yv .bdg.done { border: 0 !important; border-radius: 0 !important; background: transparent !important; color: var(--ink); padding: 2px 6px 2px 0; font-weight: 400; }
:root[data-look="occult"] .yv .bdg.done::first-letter { color: var(--gold); }
:root[data-look="occult"] .yv .pb { height: 2px; background: var(--rule); border-radius: 0; }
:root[data-look="occult"] .yv .pb > i { background: var(--ink); border-radius: 0; }
:root[data-look="occult"] .yv .pb-tick { background: var(--gold); }
:root[data-look="occult"] .yv .prog-k, :root[data-look="occult"] .yv .insight .mono, :root[data-look="occult"] .yv .hub-community .mono { color: var(--gold) !important; letter-spacing: .16em; }
:root[data-look="occult"] .yv .notice { font-style: italic; }
:root[data-look="occult"] .yv .lens-row { border: 0 !important; background: transparent !important; box-shadow: none !important; }
:root[data-look="occult"] .yv .rbar { background: #EFE6D2; }
:root[data-look="occult"] .help-link span { border-radius: 0; background: var(--ink); color: #EFE6D2; }
:root[data-look="occult"] .yv .home-book .btn, :root[data-look="occult"] .yv .btn.ghost { background: transparent; }
/* lens-page titles at a reading size in every look, not poster size (Grimoire already has its own) */
:root:not([data-look="occult"]) .yv .lens-wrap h1.result-title { font-size: clamp(2.25rem, 1.4rem + 2.8vw, 4rem) !important; line-height: 1.04 !important; max-width: 16ch; margin-left: auto; margin-right: auto; }
/* the lens icon, in each look's own way */
:root[data-look="observatory"] .yv .lens-ico { background: transparent !important; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); box-shadow: 0 0 0 6px rgba(212, 178, 110, .06), 0 0 30px -6px rgba(212, 178, 110, .5); }
:root[data-look="classic"] .yv .lens-ico { border-radius: 18px; box-shadow: 0 10px 30px -10px var(--c); }
:root[data-look="mono"] .yv .lens-ico { background: #0A0A0A !important; color: #FFF; border-radius: 0; box-shadow: none; }
:root[data-look="paper"] .yv .lens-ico { background: transparent !important; color: #1F3A5F; border: 1px solid #1F3A5F; border-radius: 0; box-shadow: none; }
:root[data-look="observatory"] .yv .lens-ico svg, :root[data-look="paper"] .yv .lens-ico svg { color: inherit; fill: currentColor; }
/* ==========================================================================================================================
   Motion, a clearer Home, living backgrounds (2026-11-23, Jared: "make it better, even more... animations, graphics, UI design,
   UX, effects, coloring, structure, location"). Everything that moves sits under html.anim, which core/motion.js sets only when
   the device has not asked for reduced motion.
   ========================================================================================================================== */

/* ---- screens ease in, one part after another ---- */
@keyframes en-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
html.anim .yv #main.enter .en { animation: en-up .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 55ms); }
/* ---- sections reveal as you reach them ---- */
html.anim .yv .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
html.anim .yv .rv.in { opacity: 1; transform: none; }
@media print { html.anim .yv .rv { opacity: 1 !important; transform: none !important; } }
/* ---- the domain wheel draws itself, wedge by wedge ---- */
@keyframes rw-in { from { opacity: 0; transform: scale(.55) rotate(-8deg); } to { opacity: 1; transform: none; } }
html.anim .yv #main.enter .rose .rw { transform-box: view-box; transform-origin: 160px 160px; animation: rw-in .7s cubic-bezier(.2, .9, .25, 1.15) both; animation-delay: calc(180ms + var(--i, 0) * 45ms); }
@keyframes ring-in { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
html.anim .yv #main.enter .rose .rw-ring { transform-box: view-box; transform-origin: 160px 160px; animation: ring-in .9s ease both; }
/* the wheel's wedges answer the pointer */
.yv .rose .rw[data-act] { cursor: pointer; transition: transform .25s cubic-bezier(.2, .9, .25, 1.2), filter .25s ease; transform-box: view-box; transform-origin: 160px 160px; }
.yv .rose .rw[data-act]:hover, .yv .rose .rw[data-act]:focus-visible { transform: scale(1.045); filter: brightness(1.12); }
/* ---- the progress bar fills, the gem catches the light and floats ---- */
@keyframes pb-grow { from { width: 0; } }
html.anim .yv #main.enter .pb > i, html.anim .yv #main.enter .rb-prog i { animation: pb-grow 1.3s cubic-bezier(.2, .8, .2, 1) .25s both; }
.yv .gem-shine { opacity: 0; }
@keyframes gem-shine { 0%, 62% { transform: translateX(0) skewX(-18deg); opacity: 0; } 66% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateX(170px) skewX(-18deg); opacity: 0; } }
html.anim .yv .gem-shine { animation: gem-shine 5.5s ease-in-out infinite; }
@keyframes gem-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
html.anim .yv .prog-gem .gem { animation: gem-float 5s ease-in-out infinite; }
/* ---- buttons press in ---- */
html.anim .yv .btn, html.anim .yv .hs, html.anim .yv .lens-row, html.anim .yv .st-item { transition: transform .18s ease, box-shadow .25s ease, background-color .2s ease, border-color .2s ease, filter .2s ease; }
html.anim .yv .btn:active, html.anim .yv .hs:active, html.anim .yv .st-item:active { transform: scale(.97); }
/* ---- a burst of light when you finish something ---- */
.burst { position: fixed; z-index: 90; width: 0; height: 0; pointer-events: none; }
.burst i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c);
  animation: burst-out var(--t, .7s) cubic-bezier(.15, .7, .3, 1) forwards; }
.burst i.st { width: 10px; height: 10px; border-radius: 0; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); box-shadow: none; }
@keyframes burst-out { 0% { transform: rotate(var(--a)) translateX(0) scale(.4); opacity: 1; } 70% { opacity: 1; } 100% { transform: rotate(var(--a)) translateX(var(--d)) scale(1); opacity: 0; } }
/* ---- back to the top ---- */
.to-top { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 45; width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--rule-strong); background: var(--surface); color: var(--ink); cursor: pointer; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5); }
.to-top[hidden] { display: none; }
.to-top:hover { border-color: var(--gold); color: var(--gold); }
@keyframes pop-in { from { opacity: 0; transform: translateY(10px) scale(.9); } }
html.anim .to-top:not([hidden]) { animation: pop-in .3s ease both; }
@media (max-width: 859px) { .to-top { bottom: calc(104px + env(safe-area-inset-bottom, 0px)); right: 16px; width: 44px; height: 44px; } }
:root[data-look="mono"] .to-top, :root[data-look="paper"] .to-top, :root[data-look="occult"] .to-top { border-radius: 0; box-shadow: none; }
:root[data-look="mono"] .to-top { border: 2px solid #0A0A0A; background: #FFF; }
:root[data-look="occult"] .to-top { background: #EFE6D2; border-color: var(--ink); }
@media print { .to-top, .burst { display: none !important; } }

/* ---- Home: a banner for notices, a card to carry on, and your numbers ---- */
.yv .home > .home-banner { grid-column: 1 / -1; }
.yv .home > .home-banner .notice { margin: 0; }
.yv .home-main { min-width: 0; }
.yv .home-cont { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px 20px; margin: 0 0 16px;
  border: 1px solid color-mix(in srgb, var(--c) 45%, var(--rule)); border-radius: calc(var(--radius) + 8px);
  background: radial-gradient(120% 140% at 0% 50%, color-mix(in srgb, var(--c) 18%, transparent), transparent 60%), var(--glass); }
.yv .hcn-ic { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--c); color: var(--bg); box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 14%, transparent); }
.yv .hcn-t .mono { margin: 0 0 2px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.yv .hcn-t h2 { margin: 0 0 2px; font-size: 1.375rem; line-height: 1.2; }
.yv .hcn-t p:not(.mono) { margin: 0; color: var(--ink-2); font-size: .9375rem; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.yv .home-cont .btn { white-space: nowrap; }
@media (max-width: 559px) { .yv .home-cont { grid-template-columns: auto minmax(0, 1fr); } .yv .home-cont .btn { grid-column: 1 / -1; width: 100%; } }
.yv .home-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
@media (max-width: 1099px) { .yv .home-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.yv .hs { display: grid; gap: 2px; align-content: start; text-align: left; padding: 14px 14px 12px; min-height: 104px; border: 1px solid var(--rule); border-radius: calc(var(--radius) + 4px); background: var(--glass); color: var(--ink); font: inherit; cursor: pointer; }
.yv .hs:hover { border-color: var(--gold); transform: translateY(-2px); }
.yv .hs b { font: 600 2rem/1.05 var(--serif); font-variant-numeric: tabular-nums; }
.yv .hs b.hs-word { font-size: 1.25rem; line-height: 1.25; padding-top: 6px; overflow-wrap: anywhere; }
.yv .hs span { font-weight: 600; font-size: .9375rem; margin-top: 4px; }
.yv .hs small { color: var(--ink-2); font-size: .8125rem; }
/* each look's take on the new parts */
:root[data-look="observatory"] .yv .home-cont, :root[data-look="observatory"] .yv .hs { border-radius: 2px; border-color: var(--hair); background: linear-gradient(180deg, rgba(20, 25, 48, .72), rgba(10, 12, 24, .55)); }
:root[data-look="observatory"] .yv .hs b { color: var(--gold); font-weight: 400; }
:root[data-look="observatory"] .yv .hcn-ic { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
:root[data-look="classic"] .yv .home-cont { border-radius: 22px; border-color: rgba(255, 255, 255, .1); }
:root[data-look="classic"] .yv .hs { border-radius: 18px; border-color: rgba(255, 255, 255, .08); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); }
:root[data-look="classic"] .yv .hs:nth-child(1) b { color: #FF8BA5; } :root[data-look="classic"] .yv .hs:nth-child(2) b { color: #FFD25A; }
:root[data-look="classic"] .yv .hs:nth-child(3) b { color: #6EE7A8; } :root[data-look="classic"] .yv .hs:nth-child(4) b { color: #8FD3FF; }
:root[data-look="mono"] .yv .home-cont, :root[data-look="mono"] .yv .hs { border: 2px solid #0A0A0A; border-radius: 0; background: #FFF; }
:root[data-look="mono"] .yv .hs:hover { background: #0A0A0A; color: #FFF; }
:root[data-look="mono"] .yv .hs:hover small { color: #D9D9D9; }
:root[data-look="mono"] .yv .hcn-ic { border-radius: 0; background: #0A0A0A; color: #FFF; box-shadow: none; }
:root[data-look="mono"] .yv .hs b { font-weight: 300; font-size: 2.5rem; }
:root[data-look="paper"] .yv .home-cont { border: 0; border-top: 2px solid #1F3A5F; border-bottom: 1px solid var(--rule); border-radius: 0; background: transparent; padding-left: 0; padding-right: 0; }
:root[data-look="paper"] .yv .hs { border: 0; border-top: 1px solid #1F3A5F; border-radius: 0; background: transparent; padding-left: 0; }
:root[data-look="paper"] .yv .hcn-ic { border-radius: 0; background: transparent; color: #1F3A5F; border: 1px solid #1F3A5F; box-shadow: none; }
:root[data-look="paper"] .yv .hs b { color: #1F3A5F; }
:root[data-look="occult"] .yv .home-cont { border: 0 !important; border-top: 1px solid var(--rule-strong) !important; border-bottom: 1px solid var(--rule) !important; border-radius: 0 !important; background: transparent !important; padding-left: 0; padding-right: 0; }
:root[data-look="occult"] .yv .hs { border: 0; border-top: 1px solid var(--rule-strong); border-radius: 0; background: transparent; padding-left: 0; }
:root[data-look="occult"] .yv .hcn-ic { background: transparent; color: var(--ink); border: 1px solid var(--ink); border-radius: 0; box-shadow: none; }
:root[data-look="occult"] .yv .hs b { font-weight: 600; } :root[data-look="occult"] .yv .hs b:not(.hs-word) { color: var(--gold); }

/* ---- living backgrounds: stars that twinkle and now and then fall in Nocturne, light that drifts in Prism ---- */
@keyframes twinkle { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
html.anim[data-look="observatory"] body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1.5px 1.5px at 22% 31%, #F3E7C9, transparent 60%), radial-gradient(1px 1px at 63% 61%, #ECE6D8, transparent 60%),
    radial-gradient(1.5px 1.5px at 81% 22%, #F3E7C9, transparent 60%), radial-gradient(1px 1px at 44% 86%, #ECE6D8, transparent 60%),
    radial-gradient(1px 1px at 9% 79%, #F3E7C9, transparent 60%);
  background-size: 560px 560px, 470px 470px, 650px 650px, 390px 390px, 720px 720px;
  animation: twinkle 4.8s ease-in-out infinite; }
@keyframes shoot { 0%, 86% { transform: translate(0, 0) rotate(-24deg); opacity: 0; } 88% { opacity: 1; } 96% { opacity: 0; } 100% { transform: translate(-520px, 230px) rotate(-24deg); opacity: 0; } }
html.anim[data-look="observatory"] .bar::after { content: ""; position: fixed; right: 8%; top: 120px; width: 140px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(243, 231, 201, 0), rgba(243, 231, 201, .95)); animation: shoot 13s ease-in infinite; animation-delay: 3s; opacity: 0; }
@keyframes drift { 0% { transform: translate3d(-4%, 0, 0) scale(1); } 50% { transform: translate3d(4%, 3%, 0) scale(1.08); } 100% { transform: translate3d(-4%, 0, 0) scale(1); } }
html.anim[data-look="classic"] body::after { content: ""; position: fixed; inset: -10%; z-index: -1; pointer-events: none; opacity: .7;
  background: radial-gradient(30% 22% at 22% 14%, rgba(255, 107, 139, .13), transparent 70%), radial-gradient(28% 20% at 74% 10%, rgba(90, 200, 255, .13), transparent 70%),
    radial-gradient(30% 24% at 60% 92%, rgba(199, 125, 255, .10), transparent 70%);
  animation: drift 26s ease-in-out infinite; }
/* in the two dark looks, the lens page carries a soft glow of the lens's own colour behind its title */
:root[data-look="observatory"] .yv .lens-wrap, :root[data-look="classic"] .yv .lens-wrap { background: radial-gradient(60% 340px at 50% 120px, color-mix(in srgb, var(--c) 14%, transparent), transparent 70%) no-repeat; }
/* Home: the banner sits close above the two columns; on a phone the card to carry on and your numbers come straight after the greeting */
.yv .home > .home-banner { margin-bottom: -30px; }
@media (max-width: 859px) {
  .yv .hub.home { display: flex; flex-direction: column; gap: 0; }
  .yv .hub.home > .hub-side, .yv .hub.home > .home-main { display: contents; }
  .yv .home > .home-banner { order: 0; margin-bottom: 14px; }
  .yv .home .hub-title { order: 1; } .yv .home .hub-side > .muted { order: 2; }
  .yv .home .home-cont { order: 3; } .yv .home .home-stats { order: 4; }
  .yv .home .hub-side > .wheel-wrap { order: 5; } .yv .home .hub-side > .actions { order: 6; margin-bottom: 18px; }
  .yv .home .prog { order: 7; } .yv .home .insight { order: 8; } .yv .home .home-book { order: 9; } .yv .home .hub-community { order: 10; }
}
/* the reading bar steps out of the way once the reading is behind you */
.yv .rbar-slot { transition: opacity .25s ease, transform .25s ease, visibility 0s linear 0s; }
.yv .rbar-slot.rb-off { opacity: 0; transform: translateY(-10px); visibility: hidden; pointer-events: none; transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; }
:root[data-look="mono"] .yv .hs b.hs-word { font-size: 1.375rem; font-weight: 500; letter-spacing: -.01em; }
/* ==========================================================================================================================
   The design brief (2026-11-23, Jared: "i dont like the gradient on prism. make everything better", then "make use of all our
   plugins"). Worked through the frontend-design brief, the no-UI-slop review (no decorative gradients, glass or glow on content),
   Liquid Glass's material rules (glass only on the chrome that floats over content, never on content, never glass on glass),
   the UX copy and accessibility reviews.
   ========================================================================================================================== */

/* ---- labels in sentence case everywhere; Monograph keeps its real small capitals (font-variant, not text-transform) ---- */
.yv *, .foot *, .bar .help-link, .bar .look-pick select { text-transform: none !important; }
.yv .mono, .yv .eyebrow, .yv .chap, .yv .kicker, .yv .prog-k, .yv .tabs button, .yv .back, .yv .badge, .yv .cat-chip, .yv .lr-result.todo,
.yv details.about summary, .yv details.more > summary, .yv .insight .mono, .yv .hub-community .mono, .yv .hcn-t .mono, .yv .rw-lab, .foot details summary, .look-pick select { letter-spacing: .01em !important; }
.yv .eyebrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; }

/* ---- the refraction band is Prism's; the constellation is Nocturne's ---- */
.yv .pbs, .yv .rose .rw-star, .yv .rose .rw-const { display: none; }

/* ---------------------------------------------- Prism, rebuilt: pure colours, never blended ---------------------------------------------- */
:root[data-look="classic"] { --bg: #121018; --surface: #1B1824; --panel: #221E2D; --ink: #F4F2FA; --ink-2: #B4AFC6; --rule: #2B2738; --rule-strong: #5C5672;
  --glass: #1B1824; --radius: 12px; }
:root[data-look="classic"] body { background: #121018; }
:root[data-look="classic"] body::before, html.anim[data-look="classic"] body::after { display: none !important; }
/* content: flat panels, three sizes of corner for three levels of importance */
:root[data-look="classic"] .yv .prog, :root[data-look="classic"] .yv .hub-community, :root[data-look="classic"] .yv .community, :root[data-look="classic"] .yv .ld-card,
:root[data-look="classic"] .yv .made-note, :root[data-look="classic"] .yv .hs, :root[data-look="classic"] .yv .insight, :root[data-look="classic"] .yv .notice,
:root[data-look="classic"] .yv .lens-row, :root[data-look="classic"] .yv .plate, :root[data-look="classic"] .yv .viz {
  background: #1B1824 !important; border: 1px solid #2B2738 !important; box-shadow: none !important; filter: none; }
:root[data-look="classic"] .yv .prog, :root[data-look="classic"] .yv .hub-community, :root[data-look="classic"] .yv .community { border-radius: 16px !important; }
:root[data-look="classic"] .yv .hs, :root[data-look="classic"] .yv .notice, :root[data-look="classic"] .yv .lens-row { border-radius: 12px !important; }
:root[data-look="classic"] .yv .insight { border-radius: 12px !important; border-left: 4px solid var(--c) !important; }
:root[data-look="classic"] .yv .hs b, :root[data-look="classic"] .yv .hs:nth-child(n) b { color: var(--ink); }
:root[data-look="classic"] .yv .hs:hover { border-color: #5C5672 !important; }
/* the one thing to do next is the only coloured block on the page: a solid slab in its lens's colour */
:root[data-look="classic"] .yv .home-cont { background: var(--c) !important; border: 0 !important; border-radius: 22px !important; box-shadow: none !important; color: #121018; }
:root[data-look="classic"] .yv .home-cont .hcn-t .mono, :root[data-look="classic"] .yv .home-cont .hcn-t p { color: #121018 !important; opacity: .82; }
:root[data-look="classic"] .yv .home-cont .hcn-t h2 { color: #121018; }
:root[data-look="classic"] .yv .home-cont .hcn-ic { background: #121018; color: var(--c); box-shadow: none; }
:root[data-look="classic"] .yv .home-cont .btn { background: #121018 !important; color: #F4F2FA !important; }
/* buttons: solid white; on a lens page, solid in the lens's colour */
:root[data-look="classic"] .yv .btn { background: #F4F2FA !important; color: #121018 !important; border: 0 !important; box-shadow: none !important; filter: none !important; font-weight: 700; }
:root[data-look="classic"] .yv .btn:hover { background: #FFFFFF !important; }
:root[data-look="classic"] .yv .lens-wrap .btn:not(.ghost) { background: var(--c) !important; }
:root[data-look="classic"] .yv .btn.ghost, :root[data-look="classic"] .yv .btn.sm.ghost { background: transparent !important; color: var(--ink) !important; border: 1px solid #5C5672 !important; }
:root[data-look="classic"] .yv .btn.ghost:hover { border-color: #F4F2FA !important; }
:root[data-look="classic"] .yv .hc-ic, :root[data-look="classic"] .help-link span { background: #F4F2FA !important; color: #121018 !important; }
/* no glow anywhere */
:root[data-look="classic"] .yv .gem, :root[data-look="classic"] .yv .hub-side .wheel-wrap, :root[data-look="classic"] .yv .prog-gem { filter: none !important; }
:root[data-look="classic"] .yv .lens-ico { box-shadow: none !important; }
:root[data-look="classic"] .yv .lens-wrap { background: none !important; }
/* the signature: the refraction band. Progress is 13 solid segments, one per area of life, each lit in its own colour */
:root[data-look="classic"] .yv .prog .pb { display: none; }
:root[data-look="classic"] .yv .pbs { display: flex; gap: 4px; margin: 4px 0 12px; }
:root[data-look="classic"] .yv .pbs span { flex: 1; height: 12px; border-radius: 3px; background: #2B2738; overflow: hidden; }
:root[data-look="classic"] .yv .pbs i { display: block; height: 100%; background: var(--c); }
/* the same band, as seven solid stripes, under the header (hard colour stops: bands side by side, nothing blended) */
:root[data-look="classic"] .bar::after { height: 3px; opacity: 1; bottom: -1px;
  background: linear-gradient(90deg, #FF6B8B 0 14.28%, #FF9F5A 0 28.57%, #FFD25A 0 42.85%, #6EE7A8 0 57.14%, #5AC8FF 0 71.42%, #8A7CFF 0 85.71%, #C77DFF 0) !important; }
/* chrome: the header, the phone tab bar and the reading bar float over the content, so they are glass (and only they are) */
:root[data-look="classic"] .bar { background: rgba(18, 16, 24, .66); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); }
:root[data-look="classic"] .yv .rbar { background: rgba(27, 24, 36, .72) !important; backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .12) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07) !important; }
:root[data-look="classic"] .yv .rb-prog i { background: #F4F2FA !important; }
@media (min-width: 860px) {
  :root[data-look="classic"] .yv .tabs { background: #1B1824 !important; border: 1px solid #2B2738 !important; }
  :root[data-look="classic"] .yv .tabs button[aria-current="page"] { background: #F4F2FA !important; color: #121018 !important; }
}
@media (max-width: 859px) {
  :root[data-look="classic"] .yv .top--mounted .tabs { background: rgba(27, 24, 36, .62) !important; backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, .12) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 40px -16px rgba(0, 0, 0, .7) !important; }
  :root[data-look="classic"] .yv .top--mounted .tabs button[aria-current="page"] { background: #F4F2FA !important; color: #121018 !important; }
}

/* ---------------------------------------------- Nocturne: the wheel as a star chart ---------------------------------------------- */
:root[data-look="observatory"] .yv .rose .rw-base { fill: rgba(212, 178, 110, .04); stroke: rgba(212, 178, 110, .22); stroke-width: .8; }
:root[data-look="observatory"] .yv .rose .rw-fill { fill: rgba(212, 178, 110, .16); stroke: rgba(212, 178, 110, .45); stroke-width: .8; }
:root[data-look="observatory"] .yv .rose .rw-const { display: block; fill: none; stroke: #D4B26E; stroke-width: .9; stroke-opacity: .7; stroke-linejoin: round; }
:root[data-look="observatory"] .yv .rose .rw-star { display: block; fill: #FFF4DA; filter: drop-shadow(0 0 3px rgba(255, 236, 190, .9)); }
@keyframes star-tw { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
html.anim[data-look="observatory"] .yv .rose .rw-star { animation: star-tw 3.2s ease-in-out infinite; }
html.anim[data-look="observatory"] .yv .rose .rw-star:nth-of-type(3n) { animation-delay: -1.1s; } html.anim[data-look="observatory"] .yv .rose .rw-star:nth-of-type(3n+1) { animation-delay: -2.2s; }
:root[data-look="observatory"] .yv .hub-side .wheel-wrap { filter: none; }

/* ---------------------------------------------- Monolith: the hard shadow marks only the next thing to do ---------------------------------------------- */
:root[data-look="mono"] .yv .prog { box-shadow: none !important; }
:root[data-look="mono"] .yv .home-cont { box-shadow: 8px 8px 0 #0A0A0A !important; }

/* ---------------------------------------------- Monograph: key lines become margin notes on wide screens ---------------------------------------------- */
@media (min-width: 1240px) {
  :root[data-look="paper"] .yv .deep-sec { position: relative; }
}

/* ---------------------------------------------- Grimoire: a red initial and red verse numbers ---------------------------------------------- */
:root[data-look="occult"] .yv .block .deep { counter-reset: verse; }
:root[data-look="occult"] .yv .block .deep-sec { counter-increment: verse; }
:root[data-look="occult"] .yv .block .deep-sec h3::before { content: counter(verse, lower-roman) "."; color: var(--gold); font-weight: 600; margin-right: 10px; font-size: .9em; }

/* ---------------------------------------------- accessibility ---------------------------------------------- */
/* touch targets of at least 44px in the reading tools */
.yv .rb-btn, .yv .rb-seg button, .yv .rb-list button { min-height: 44px; }
/* a sentence reached with the keyboard shows where you are */
.yv .s[tabindex]:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 2px; }
/* asked for more contrast: stronger lines and solid chrome */
@media (prefers-contrast: more) {
  :root { --rule: var(--rule-strong); }
  .bar, .yv .rbar, .yv .top--mounted .tabs { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: var(--bg) !important; border-color: var(--ink) !important; }
  .yv .muted, .yv .hs small, .yv .rb-left { color: var(--ink) !important; }
}
/* asked for less transparency: the glass frosts into a solid bar */
@media (prefers-reduced-transparency: reduce) {
  .bar, .yv .rbar, .yv .top--mounted .tabs { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: var(--surface) !important; }
}
/* Prism: no glow behind the lens page either; Nocturne's buttons are solid gold, not a metallic gradient */
:root[data-look="classic"] .yv .lens-wrap::before, :root[data-look="classic"] .yv .quiz-wrap::before { display: none; }
:root[data-look="observatory"] .yv .btn:not(.ghost) { background: #D4B26E !important; border-color: #D4B26E !important; box-shadow: none !important; }
:root[data-look="observatory"] .yv .btn:not(.ghost):hover { background: #E3C484 !important; }
/* Monolith stays black and white, wheel labels included; buttons in sentence case lose the wide tracking that suited capitals */
:root[data-look="mono"] .yv .rose .rw-lab { fill: #0A0A0A !important; }
:root[data-look="mono"] .yv .btn, :root[data-look="observatory"] .yv .btn { letter-spacing: .02em !important; }
/* ==========================================================================================================================
   Calm (2026-11-23, Jared: "it looks super tacky", asked what: "all, and nothing looks smooth"). Fewer colours, fewer boxes,
   less on Home, lighter type and quieter buttons, and every change eased. One rule above the rest: colour only where it means
   something (the wheel, a lens, the logo); everything else is ink, grey and space.
   ========================================================================================================================== */

/* ---- smooth: everything you can press eases between states ---- */
.yv a, .yv button, .yv summary, .yv .btn, .yv .hs, .yv .lens-row, .bar a, .bar .look-pick { transition: background-color .22s ease, color .22s ease, border-color .22s ease, opacity .22s ease, box-shadow .22s ease, transform .22s ease; }

/* ---- Home, calmer (every look) ---- */
@media (min-width: 860px) { .yv .home > .home-banner { margin-bottom: -36px; } }
.yv .home-note { margin: 0; font-size: .9375rem; color: var(--ink-2); }
.yv .home-note .link { margin-left: 4px; }
.yv .home .hub-title { font-size: clamp(2.5rem, 1.6rem + 3vw, 3.75rem) !important; line-height: 1.02; }
.yv .home .hub-side > .muted { font-size: 1.0625rem; }
.yv .home-mirror { justify-content: center; margin-top: 18px; }
.yv .home-main { display: grid; gap: 28px; align-content: start; }
.yv .home-main > * { margin: 0 !important; }
/* your numbers: a row of figures, divided by space, not boxes */
.yv .home-stats { gap: 0 !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; padding: 18px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.yv .home-stats .hs { min-height: 0 !important; padding: 2px 16px 2px 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.yv .home-stats .hs + .hs { padding-left: 16px !important; border-left: 1px solid var(--rule) !important; }
.yv .home-stats .hs:hover { transform: none !important; background: transparent !important; }
.yv .home-stats .hs:hover span { text-decoration: underline; text-underline-offset: 3px; }
.yv .home-stats .hs b { font-size: 1.75rem !important; font-weight: 500 !important; color: var(--ink) !important; }
.yv .home-stats .hs b.hs-word { font-size: 1.125rem !important; padding-top: 8px; }
.yv .home-stats .hs span { font-weight: 500; font-size: .875rem; }
.yv .home-stats .hs small { display: none; }
@media (max-width: 1099px) and (min-width: 860px) { .yv .home-stats .hs b { font-size: 1.5rem !important; } }
@media (max-width: 559px) { .yv .home-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; row-gap: 16px !important; }
  .yv .home-stats .hs:nth-child(3) { padding-left: 0 !important; border-left: 0 !important; } }
/* the gem: no box, no badges on show (they fold under "Areas of life") */
.yv .home .prog { padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; grid-template-columns: 84px minmax(0, 1fr) !important; }
.yv .home .prog .gem { width: 76px; height: 76px; }
.yv .home .prog-h { font-size: 1.375rem !important; font-weight: 500 !important; }
.yv .home .prog-h em { color: var(--ink-2) !important; font-weight: 400; }
.yv .home .prog-tease { color: var(--ink-2) !important; font-weight: 400 !important; }
.yv .prog-badges { margin-top: 4px; }
.yv .prog-badges > summary { cursor: pointer; font-size: .9375rem; color: var(--ink-2); list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.yv .prog-badges > summary::-webkit-details-marker { display: none; }
.yv .prog-badges > summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .22s ease; }
.yv .prog-badges[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.yv .prog-badges .bdgs { padding-top: 6px; }
/* something to read: plain text with a quiet label */
.yv .home .insight { padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.yv .home .insight .mono { color: var(--ink-2) !important; }
.yv .home .insight h2 { font-size: 1.125rem !important; font-weight: 600 !important; }
/* the foot of Home: two plain lines */
.yv .home-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: .9375rem; color: var(--ink-2); }
.yv .home-foot p { margin: 0; }
.yv .home-foot .hub-community { padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; margin: 0 !important; display: block; }
/* the one next step: the only panel on Home */
.yv .home-cont { grid-template-columns: auto minmax(0, 1fr) auto; padding: 18px 20px !important; }
.yv .home-cont .hcn-ic { width: 44px; height: 44px; box-shadow: none !important; }
.yv .home-cont .hcn-t h2 { font-size: 1.25rem !important; font-weight: 600 !important; }
/* phone order, for the new Home */
@media (max-width: 859px) {
  .yv .home .home-main { gap: 22px; }
  .yv .home .home-cont { order: 3; } .yv .home .home-stats { order: 4; } .yv .home .hub-side > .wheel-wrap { order: 5; } .yv .home .home-mirror { order: 6; }
  .yv .home .prog { order: 7; margin-top: 22px !important; } .yv .home .insight { order: 8; margin-top: 22px !important; } .yv .home .home-foot { order: 9; margin-top: 22px !important; }
}

/* ---- buttons and tabs, quieter in every look ---- */
.yv .btn { min-height: 46px !important; padding: 0 22px !important; font-size: .9375rem !important; font-weight: 600 !important; }
.yv .btn.sm { min-height: 44px !important; padding: 0 18px !important; }
@media (min-width: 860px) { .yv .tabs button { min-height: 40px !important; padding: 0 16px !important; font-size: .875rem !important; } }

/* ---------------------------------------------- Prism, calm ---------------------------------------------- */
:root[data-look="classic"] { --ink-2: #A9A3BB; --rule: #262230; --gold: #D9D3EA; }
/* headings lighter */
:root[data-look="classic"] .yv .display, :root[data-look="classic"] .yv h1, :root[data-look="classic"] .yv h2, :root[data-look="classic"] .yv h3, :root[data-look="classic"] .yv .hero-title,
:root[data-look="classic"] .yv .result-title, :root[data-look="classic"] .yv .row-group .rg-q, :root[data-look="classic"] .yv .lens-row .lr-name { font-weight: 600 !important; letter-spacing: -.02em !important; }
:root[data-look="classic"] .yv .display em, :root[data-look="classic"] .yv h2 em, :root[data-look="classic"] .yv h1 em { color: inherit !important; }
/* the stripes under the header go; the logo carries the spectrum */
:root[data-look="classic"] .bar::after { display: none !important; }
:root[data-look="classic"] .bar { border-bottom: 1px solid #1F1C28; }
/* the next step: a soft panel, not a coloured slab; its lens's colour only on the small icon */
:root[data-look="classic"] .yv .home-cont { background: #1A1722 !important; border: 0 !important; border-radius: 20px !important; color: var(--ink); }
:root[data-look="classic"] .yv .home-cont .hcn-t h2 { color: var(--ink) !important; }
:root[data-look="classic"] .yv .home-cont .hcn-t .mono, :root[data-look="classic"] .yv .home-cont .hcn-t p { color: var(--ink-2) !important; opacity: 1; }
:root[data-look="classic"] .yv .home-cont .hcn-ic { background: var(--c) !important; color: #121018 !important; }
:root[data-look="classic"] .yv .home-cont .btn { background: #F4F2FA !important; color: #121018 !important; }
/* the refraction band: thinner and rounded, the one place progress has colour */
:root[data-look="classic"] .yv .pbs { gap: 3px; margin: 8px 0 10px; }
:root[data-look="classic"] .yv .pbs span { height: 6px; border-radius: 999px; background: #262230; }
/* panels: no borders; a slightly lighter surface does the separating */
:root[data-look="classic"] .yv .community, :root[data-look="classic"] .yv .ld-card, :root[data-look="classic"] .yv .made-note,
:root[data-look="classic"] .yv .notice, :root[data-look="classic"] .yv .lens-row, :root[data-look="classic"] .yv .plate, :root[data-look="classic"] .yv .viz {
  border: 0 !important; background: #1A1722 !important; border-radius: 18px !important; }
:root[data-look="classic"] .yv .insight { border-left: 0 !important; }
:root[data-look="classic"] .yv .lens-row:hover { background: #211D2B !important; }
/* buttons: soft pills; secondary ones are a quiet tint, not an outline */
:root[data-look="classic"] .yv .btn { border-radius: 999px !important; }
:root[data-look="classic"] .yv .btn.ghost, :root[data-look="classic"] .yv .btn.sm.ghost { background: #1F1C28 !important; border: 0 !important; color: var(--ink) !important; }
:root[data-look="classic"] .yv .btn.ghost:hover { background: #2A2635 !important; }
:root[data-look="classic"] .yv .lens-wrap .btn:not(.ghost) { background: #F4F2FA !important; }
/* tabs: no frame; the current tab sits on a soft tint */
@media (min-width: 860px) {
  :root[data-look="classic"] .yv .tabs { background: transparent !important; border: 0 !important; padding: 0 !important; gap: 4px !important; }
  :root[data-look="classic"] .yv .tabs button { color: var(--ink-2) !important; border-radius: 999px !important; font-weight: 500 !important; }
  :root[data-look="classic"] .yv .tabs button:hover { color: var(--ink) !important; background: #1A1722 !important; }
  :root[data-look="classic"] .yv .tabs button[aria-current="page"] { background: #221F2C !important; color: var(--ink) !important; }
}
@media (max-width: 859px) {
  :root[data-look="classic"] .yv .top--mounted .tabs button[aria-current="page"] { background: rgba(255, 255, 255, .1) !important; color: var(--ink) !important; }
}
:root[data-look="classic"] .help-link, :root[data-look="classic"] .look-pick { border-color: #262230; }
:root[data-look="classic"] .yv .bdg.done { background: transparent; }
:root[data-look="classic"] .yv .chap, :root[data-look="classic"] .yv .kicker, :root[data-look="classic"] .yv .prog-k { color: var(--ink-2) !important; }

/* ---------------------------------------------- Nocturne, calm ---------------------------------------------- */
/* the corner ticks stay only on the next step; other panels lose their frames */
:root[data-look="observatory"] .yv .prog, :root[data-look="observatory"] .yv .insight, :root[data-look="observatory"] .yv .notice { background: transparent !important; border: 0 !important; padding-left: 0; padding-right: 0; }
:root[data-look="observatory"] .yv .home-cont { border-radius: 2px; }
:root[data-look="observatory"] .yv .display, :root[data-look="observatory"] .yv h1 { font-weight: 400 !important; }
:root[data-look="observatory"] .yv .home-stats .hs b { color: var(--gold) !important; font-weight: 400 !important; }
:root[data-look="observatory"] .yv .btn.ghost { color: var(--ink) !important; }

/* ---------------------------------------------- Monolith, Monograph, Grimoire: the shared calm, in their own terms ---------------------------------------------- */
:root[data-look="mono"] .yv .home-stats { border-top: 2px solid #0A0A0A; border-bottom: 2px solid #0A0A0A; }
:root[data-look="mono"] .yv .home-stats .hs b { font-weight: 300 !important; font-size: 2.25rem !important; }
:root[data-look="mono"] .yv .home-stats .hs:hover { background: transparent !important; color: inherit !important; }
:root[data-look="paper"] .yv .home-stats { border-top: 2px solid #1F3A5F; }
:root[data-look="paper"] .yv .home-stats .hs b { color: #1F3A5F !important; }
:root[data-look="occult"] .yv .home-stats { border-top: 1px solid var(--rule-strong); }
:root[data-look="occult"] .yv .home-stats .hs b:not(.hs-word) { color: var(--gold) !important; }
/* Home's figures, gem and reading suggestion carry no box in any look (these outrank each look's own panel rules) */
:root[data-look] .yv .home-stats .hs { min-height: 0 !important; padding: 2px 16px 2px 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
:root[data-look] .yv .home-stats .hs + .hs { padding-left: 16px !important; border-left: 1px solid var(--rule) !important; }
@media (max-width: 559px) { :root[data-look] .yv .home-stats .hs:nth-child(3) { padding-left: 0 !important; border-left: 0 !important; } }
:root[data-look] .yv .home .prog, :root[data-look] .yv .home .insight { padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; border-radius: 0 !important; }
:root[data-look="mono"] .yv .home-stats .hs + .hs, :root[data-look="paper"] .yv .home-stats .hs + .hs { border-left-color: var(--rule) !important; }
/* ==========================================================================================================================
   Moments and styling (2026-11-23, Jared: "it's like PLAIN", then "ALL" of the ideas). The reveal ceremony, holding to cut
   your gem, a birthday, the landing's opening, the hours of the day, and the styling from the approved mockup: a fine grain,
   a layered next-step panel, a dot under the current tab, figures in even columns, today's reading set as a quote.
   ========================================================================================================================== */

/* ---- the reveal ceremony ---- */
body.cer-on { overflow: hidden; }
.cer { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 20px; background: rgba(6, 5, 10, .82); opacity: 0; transition: opacity .35s ease; }
.cer.in { opacity: 1; } .cer.out { opacity: 0; }
.cer-card { --cer-foil: #2A2636; position: relative; width: min(440px, 100%); max-height: calc(100vh - 40px); overflow: auto; text-align: center; padding: 34px 30px 30px;
  border-radius: 28px; background: var(--surface, #1A1722); color: var(--ink); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 6px color-mix(in srgb, var(--c) 10%, transparent), inset 0 1px 0 rgba(255, 255, 255, .08); }
@keyframes cer-deal { 0% { transform: translateY(60px) rotate(-7deg) scale(.86); opacity: 0; } 60% { transform: translateY(-6px) rotate(1.5deg) scale(1.01); opacity: 1; } 100% { transform: none; } }
.cer.in .cer-card { animation: cer-deal .75s cubic-bezier(.2, .9, .25, 1) both; }
.cer-ic { width: 68px; height: 68px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 20px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent); }
.cer-k { margin: 0 0 14px; font-size: .9375rem; color: var(--ink-2); }
.cer-veil { position: relative; padding: 18px 12px; border-radius: 16px; min-height: 120px; display: grid; align-content: center; }
.cer-t { margin: 0; font: 600 clamp(1.75rem, 1.2rem + 2vw, 2.25rem)/1.1 var(--f-display, var(--serif)); letter-spacing: -.02em; }
.cer-s { margin: 8px 0 0; color: var(--ink-2); font-size: 1rem; }
.cer-scratch { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 16px; cursor: grab; touch-action: none; transition: opacity .6s ease; }
.cer.revealed .cer-scratch { opacity: 0; pointer-events: none; }
@keyframes cer-glow { from { text-shadow: 0 0 0 transparent; } 40% { text-shadow: 0 0 28px color-mix(in srgb, var(--c) 70%, transparent); } to { text-shadow: 0 0 0 transparent; } }
.cer.revealed .cer-t { animation: cer-glow 1.4s ease both; }
.cer-hint { margin: 14px 0 0; font-size: .9375rem; color: var(--ink-2); display: flex; gap: 12px; justify-content: center; align-items: center; }
.cer-hint .link { color: var(--ink); min-height: 44px; }
.cer-seal { margin: 22px 0 0; display: grid; justify-items: center; gap: 8px; }
.cer-hold { position: relative; width: 132px; height: 132px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; touch-action: none; -webkit-user-select: none; user-select: none; }
.cer-gem { display: grid; place-items: center; transition: transform .3s ease, filter .3s ease; }
.cer-hold.holding .cer-gem { transform: scale(.94); }
@keyframes cer-shake { 0%, 100% { transform: translateX(0) scale(.94); } 25% { transform: translateX(-1.5px) scale(.94); } 75% { transform: translateX(1.5px) scale(.94); } }
html.anim .cer-hold.holding .cer-gem { animation: cer-shake .12s linear infinite; }
.cer-hold.cut .cer-gem { transform: scale(1.08); filter: drop-shadow(0 0 22px color-mix(in srgb, var(--c) 70%, transparent)); }
.cer-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.cer-ring circle { fill: none; stroke: var(--c); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; }
.cer-sh { margin: 0; font-size: .9375rem; color: var(--ink-2); }
.cer-sn { margin: 0; font-weight: 600; max-width: 30ch; }
.cer-x { list-style: none; margin: 20px 0 0; padding: 14px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 6px; font-size: .9375rem; color: var(--ink-2); }
.cer-go { margin-top: 22px; }
.cer-go .btn { width: 100%; justify-content: center; }
:root[data-look="mono"] .cer-card, :root[data-look="paper"] .cer-card, :root[data-look="occult"] .cer-card { border-radius: 0; box-shadow: none; --cer-foil: #CFC8B8; }
:root[data-look="mono"] .cer-card { border: 2px solid #0A0A0A; box-shadow: 10px 10px 0 #0A0A0A; --cer-foil: #1A1A1A; }
:root[data-look="occult"] .cer-card { background: #EFE6D2; --cer-foil: #3A2E22; }
:root[data-look="paper"] .cer-card { --cer-foil: #1F3A5F; }
:root[data-look="observatory"] .cer-card { border-radius: 4px; --cer-foil: #1C2036; }
:root[data-look="mono"] .cer, :root[data-look="paper"] .cer, :root[data-look="occult"] .cer { background: rgba(20, 16, 12, .55); }
@media (prefers-reduced-motion: reduce) { .cer.in .cer-card, .cer.revealed .cer-t { animation: none; } .cer, .cer-scratch { transition: none; } }

/* ---- a birthday on Home ---- */
.yv .home-bday { padding: 20px 22px; border-radius: 20px; background: color-mix(in srgb, var(--gold) 12%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 35%, transparent); }
.yv .home-bday h2 { margin: 0 0 6px; font-size: 1.5rem !important; }
.yv .home-bday p { margin: 0; color: var(--ink-2); max-width: 52ch; }
:root[data-look="mono"] .yv .home-bday, :root[data-look="paper"] .yv .home-bday, :root[data-look="occult"] .yv .home-bday { border-radius: 0; }

/* ---- the landing page opens with light reaching the ring ---- */
.yv .ld-art { position: relative; }
.yv .ld-beam { position: absolute; left: -40%; top: 50%; width: 0; height: 2px; background: var(--ink); opacity: 0; pointer-events: none; }
@keyframes ld-beam { 0% { width: 0; opacity: 0; } 15% { opacity: .9; } 70% { width: 72%; opacity: .9; } 100% { width: 72%; opacity: 0; } }
@keyframes ld-ring { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
html.anim .yv .landing .ld-beam { animation: ld-beam 1.6s cubic-bezier(.4, 0, .2, 1) .2s both; }
html.anim .yv .landing .ld-art .th-ring { animation: ld-ring 1.1s cubic-bezier(.2, .9, .25, 1) 1.15s both; }

/* ---- the hours of the day ---- */
:root[data-look="classic"][data-tod="night"] body { background-color: #0E0C13 !important; }
:root[data-look="classic"][data-tod="morning"] body { background-color: #15121B !important; }
html.anim[data-look="observatory"][data-tod="night"] body::after { animation-duration: 3.6s; }
:root[data-look="observatory"][data-tod="day"] body::after { opacity: .55; }
:root[data-look="occult"][data-tod="evening"] body, :root[data-look="occult"][data-tod="night"] body { background-color: #E9DDC3 !important; }
:root[data-look="paper"][data-tod="evening"] body, :root[data-look="paper"][data-tod="night"] body { background-color: #F6F2E8 !important; }

/* ---- styling, from the approved mockup ---- */
/* a fine grain on the dark looks: texture, not a gradient */
:root[data-look="classic"] body, :root[data-look="observatory"] body {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E") !important; }
/* the greeting at a confident size, on two lines on wide screens */
@media (min-width: 860px) { :root[data-look="classic"] .yv .home .hub-title { font-size: 5rem !important; line-height: .95 !important; letter-spacing: -.045em !important; } }
/* the next step: layered, with a shadow tinted by its lens */
:root[data-look="classic"] .yv .home-cont { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 1px 0 rgba(0, 0, 0, .4), 0 24px 48px -28px color-mix(in srgb, var(--c) 45%, transparent) !important; border-radius: 22px !important; }
:root[data-look="classic"] .yv .home-cont .hcn-ic { width: 52px !important; height: 52px !important; border-radius: 15px !important; background: color-mix(in srgb, var(--c) 14%, transparent) !important; color: var(--c) !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 35%, transparent) !important; }
:root[data-look="classic"] .yv .home-cont .btn { box-shadow: 0 8px 20px -10px rgba(244, 242, 250, .5) !important; }
/* the current tab: a dot of colour under plain text */
@media (min-width: 860px) {
  :root[data-look="classic"] .yv .tabs button[aria-current="page"] { background: transparent !important; position: relative; font-weight: 600 !important; }
  :root[data-look="classic"] .yv .tabs button[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #FF6B8B; }
}
/* figures in even columns */
.yv .home-stats .hs b { font-variant-numeric: tabular-nums; }
:root[data-look="classic"] .yv .home-stats .hs b { font-size: 2.25rem !important; letter-spacing: -.03em; }
/* today's reading, set as a quote */
:root[data-look="classic"] .yv .home .insight, :root[data-look="observatory"] .yv .home .insight { position: relative; padding-left: 34px !important; }
:root[data-look="classic"] .yv .home .insight::before, :root[data-look="observatory"] .yv .home .insight::before { content: "\201C"; position: absolute; left: -4px; top: -14px; font: 600 64px/1 var(--f-display, var(--serif)); color: var(--c); }
:root[data-look="classic"] .yv .home .insight h2, :root[data-look="observatory"] .yv .home .insight h2 { font-size: 1rem !important; color: var(--ink-2); font-weight: 500 !important; order: 2; }
:root[data-look="classic"] .yv .home .insight p:not(.mono), :root[data-look="observatory"] .yv .home .insight p:not(.mono) { font-size: 1.1875rem; color: var(--ink); }
/* the ceremony sits outside the app's frame, so it carries its own button styles; hidden steps stay hidden */
.cer [hidden] { display: none !important; }
.cer .link { background: none; border: 0; padding: 0 4px; color: var(--ink); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.cer .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--ink); color: var(--bg); font: 600 1rem/1 var(--sans); }
:root[data-look="mono"] .cer .btn, :root[data-look="paper"] .cer .btn, :root[data-look="occult"] .cer .btn { border-radius: 0; }
:root[data-look="paper"] .cer .btn { background: #1F3A5F; color: #FFF; }
:root[data-look="observatory"] .cer .btn { background: #D4B26E; color: #0A0B12; border-radius: 2px; }
.cer .btn:focus-visible, .cer .link:focus-visible, .cer-hold:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.cer-veil > .cer-t, .cer-veil > .cer-s { position: relative; z-index: 1; }
.cer-scratch { z-index: 2; }
:root[data-look="mono"] .cer-ic, :root[data-look="paper"] .cer-ic, :root[data-look="occult"] .cer-ic, :root[data-look="mono"] .cer-veil, :root[data-look="paper"] .cer-veil, :root[data-look="occult"] .cer-veil, :root[data-look="mono"] .cer-scratch, :root[data-look="paper"] .cer-scratch, :root[data-look="occult"] .cer-scratch { border-radius: 0; }
:root[data-look="classic"] .yv .home-stats .hs b.hs-word { font-size: 1.25rem !important; letter-spacing: -.01em; }
/* ==========================================================================================================================
   Progress as art (2026-11-23, phase 2 of "ALL"): Home's picture of your progress, one per look. Drawn by pictures/progress-art.js.
   ========================================================================================================================== */
.yv .pa { width: 100%; height: auto; display: block; overflow: visible; }
.yv .pa .pa-d[data-act] { cursor: pointer; outline: none; }
.yv .pa .pa-d[data-act]:focus-visible .pa-lab { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.yv .pa .pa-lab { font: 500 11px var(--sans); fill: var(--ink-2); }
.yv .pa .pa-lab.lit { fill: var(--ink); font-weight: 700; }
.yv .pa .w-big { font: 600 40px var(--f-display, var(--serif)); fill: var(--ink); text-anchor: middle; letter-spacing: -.03em; }
.yv .pa .w-small { font: 500 11px var(--sans); fill: var(--ink-2); text-anchor: middle; }
.yv .pa .pa-hub { fill: var(--bg); stroke: var(--rule); }
/* a draw-in for each area, as the screen opens */
@keyframes pa-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
html.anim .yv #main.enter .pa .pa-d { transform-box: view-box; transform-origin: 180px 180px; animation: pa-in .8s cubic-bezier(.2, .9, .25, 1.1) both; animation-delay: calc(160ms + var(--i, 0) * 55ms); }
html.anim .yv #main.enter .pa-tree .pa-d { transform-origin: 180px 350px; }

/* Prism: the rose window */
.yv .pa-glass .pg-rim { fill: #0D0B12; }
.yv .pa-glass .pg-pane { fill: #1C1925; stroke: #0D0B12; stroke-width: 3; stroke-linejoin: round; transition: fill .3s ease; }
.yv .pa-glass .pg-pane.on.r0 { fill: var(--c); }
.yv .pa-glass .pg-pane.on.r1 { fill: color-mix(in srgb, var(--c) 82%, #121018); }
.yv .pa-glass .pg-pane.on.r2 { fill: color-mix(in srgb, var(--c) 66%, #121018); }
.yv .pa-glass .pg-bead { fill: #1C1925; stroke: #0D0B12; stroke-width: 2.5; }
.yv .pa-glass .pg-bead.on { fill: #F4F2FA; }
.yv .pa-glass .pg-lead { fill: none; stroke: #0D0B12; stroke-width: 5; }
.yv .pa-glass .pa-hub { fill: #121018; stroke: #0D0B12; stroke-width: 5; }
.yv .pa-glass .pa-d[data-act]:hover .pg-pane.on { fill: color-mix(in srgb, var(--c) 85%, #FFFFFF); }
/* light coming through: the panes glow a little, slowly, one area after another */
@keyframes pg-glint { 0%, 88%, 100% { filter: none; } 94% { filter: brightness(1.35); } }
html.anim .yv .pa-glass .pa-d { animation: pg-glint 9s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .69s); }
html.anim .yv #main.enter .pa-glass .pa-d { animation: pa-in .8s cubic-bezier(.2, .9, .25, 1.1) both, pg-glint 9s ease-in-out 2s infinite; animation-delay: calc(160ms + var(--i, 0) * 55ms), calc(2s + var(--i, 0) * .69s); }

/* Nocturne: the constellation */
.yv .pa-stars .ps-sky { fill: rgba(212, 178, 110, .025); stroke: rgba(212, 178, 110, .14); stroke-width: .8; }
.yv .pa-stars .ps-star { fill: rgba(236, 230, 216, .35); }
.yv .pa-stars .ps-star.on { fill: #FFF4DA; filter: drop-shadow(0 0 3px rgba(255, 236, 190, .95)); }
.yv .pa-stars .ps-line { fill: none; stroke: #D4B26E; stroke-width: .9; stroke-opacity: .65; stroke-linejoin: round; }
.yv .pa-stars .pa-d[data-act]:hover .ps-line { stroke-opacity: 1; stroke-width: 1.4; }
.yv .pa-stars .pa-hub { fill: #070912; stroke: rgba(212, 178, 110, .5); }
.yv .pa-stars .w-big { fill: #D4B26E; font-weight: 400; }
@keyframes ps-tw { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
html.anim .yv .pa-stars .ps-star.on { animation: ps-tw 3.4s ease-in-out infinite; }
html.anim .yv .pa-stars .ps-star.on:nth-of-type(3n) { animation-delay: -1.2s; } html.anim .yv .pa-stars .ps-star.on:nth-of-type(3n+1) { animation-delay: -2.3s; }

/* Monolith: the cut stone */
.yv .pa-stone .pm-facet { stroke: #FFFFFF; stroke-width: 1; transition: fill .2s ease; }
.yv .pa-stone .pm-girdle { fill: none; stroke: #0A0A0A; stroke-width: 2.5; stroke-linejoin: round; }
.yv .pa-stone { cursor: grab; touch-action: pan-y; }
.yv .pa-stone:active { cursor: grabbing; }
.yv .pa-stone .w-big { font-weight: 300; font-size: 44px; }
.yv .pa-stone .pa-d[data-act]:hover .pm-facet, .yv .pa-stone .pa-d[data-act]:focus-visible .pm-facet { fill: #595959; }

/* Monograph: the botanical tree; Grimoire: the ink tree with red fruit */
.yv .pa-tree .pt-trunk { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.yv .pa-tree .pt-ground { fill: none; stroke: var(--rule-strong); stroke-width: 1.5; }
.yv .pa-tree .pt-branch { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.yv .pa-tree .pt-leaf { fill: var(--bg); stroke: #1F3A5F; stroke-width: 1.1; }
.yv .pa-tree .pt-leaf.on { fill: #1F3A5F; }
.yv .pa-tree .pt-fruit { fill: var(--bg); stroke: var(--ink); stroke-width: 1; }
.yv .pa-tree .pt-fruit.on { fill: var(--gold); stroke: var(--gold); }
.yv .pa-tree .pa-lab { font-family: var(--serif); font-size: 12px; }
.yv .pa-tree .pa-d[data-act]:hover .pt-branch { stroke-width: 2.6; }
@keyframes pt-sway { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(.6deg); } }
html.anim .yv .pa-tree .pa-d { transform-box: view-box; transform-origin: 180px 350px; animation: pt-sway 7s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.5s); }
html.anim .yv #main.enter .pa-tree .pa-d { animation: pa-in .8s cubic-bezier(.2, .9, .25, 1.1) both, pt-sway 7s ease-in-out 2s infinite; animation-delay: calc(160ms + var(--i, 0) * 55ms), calc(var(--i, 0) * -.5s); }
@media (prefers-reduced-motion: reduce) { .yv .pa .pa-d, .yv .pa-stars .ps-star.on { animation: none !important; } }
:root[data-look] .yv .home-stats .hs b.hs-word { font-size: 1.25rem !important; font-weight: 500 !important; letter-spacing: -.01em !important; line-height: 1.2 !important; }
/* ==========================================================================================================================
   Yours alone (2026-11-23, phase 3 of "ALL"): your sigil, your colours, your birthday sky, your name lettered in each look,
   and a portrait that gains colour as you open lenses.
   ========================================================================================================================== */
.yv .yours-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; align-items: start; }
.yv .yours figure { margin: 0; display: grid; gap: 10px; justify-items: center; text-align: center; }
.yv .yours figcaption { font-size: .9375rem; color: var(--ink-2); max-width: 32ch; }
.yv .yours figcaption b { color: var(--ink); }
.yv .yours .sigil { color: var(--ink); width: 220px; height: 220px; }
.yv .yours-cols h3 { margin: 0 0 4px; }
.yv .swatches { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.yv .swatches li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.yv .swatches i { width: 44px; height: 28px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
:root[data-look="mono"] .yv .swatches i, :root[data-look="paper"] .yv .swatches i, :root[data-look="occult"] .yv .swatches i { border-radius: 0; }
.yv svg.sky { width: 100%; max-width: 300px; height: auto; }
.yv .sky .sk-ring { fill: none; stroke: var(--rule-strong); stroke-width: 1; }
.yv .sky .sk-in { fill: none; stroke: var(--rule); stroke-dasharray: 2 4; }
.yv .sky .sk-div { stroke: var(--rule-strong); stroke-width: 1; }
.yv .sky .sk-sign { font: 500 9.5px var(--sans); fill: var(--ink-2); }
.yv .sky .sk-b circle { fill: var(--bg); stroke: var(--ink); stroke-width: 1.2; }
.yv .sky .sk-b text { font: 13px "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols", sans-serif; fill: var(--ink); }
.yv .sky .sk-sun circle { fill: var(--gold); stroke: var(--gold); } .yv .sky .sk-sun text { fill: var(--bg); }
.yv .sky .sk-moon circle { fill: var(--ink); } .yv .sky .sk-moon text { fill: var(--bg); }
.yv .sky .sk-c { font: 600 13px var(--sans); fill: var(--ink); } .yv .sky .sk-c2 { font: 11px var(--sans); fill: var(--ink-2); }
@keyframes sk-turn { to { transform: rotate(360deg); } }
html.anim .yv svg.sky { animation: sk-turn 240s linear infinite; transform-origin: 50% 50%; }
html.anim .yv .sky .sk-c, html.anim .yv .sky .sk-c2, html.anim .yv .sky .sk-b text, html.anim .yv .sky .sk-sign { animation: sk-turn 240s linear infinite reverse; transform-box: fill-box; transform-origin: center; }

/* the name on Home, lettered in each look's own way */
.yv .name-band { display: none; }
:root[data-look="classic"] .yv .home .name-band { display: flex; gap: 4px; margin: 10px 0 0; width: min(260px, 70%); }
:root[data-look="classic"] .yv .home .name-band i { flex: 1; height: 5px; border-radius: 9px; }
:root[data-look="observatory"] .yv .home .hub-title em::after { content: "\2726"; font-size: .32em; vertical-align: super; margin-left: .12em; color: #FFF4DA; text-shadow: 0 0 10px rgba(255, 236, 190, .9); }
:root[data-look="occult"] .yv .home .hub-title em { display: inline-block; }
:root[data-look="occult"] .yv .home .hub-title em::first-letter { font-size: 1.35em; color: var(--gold); }
:root[data-look="paper"] .yv .home .hub-title em { font-style: italic; letter-spacing: -.02em; }
:root[data-look="mono"] .yv .home .hub-title em { font-weight: 600; letter-spacing: -.05em; }

/* the portrait gains colour as you open lenses (on screen; the saved picture is in full colour) */
.yv .pt-painted { margin: 0; font-size: .9375rem; color: var(--ink-2); }
.yv .pt-fig img { filter: grayscale(calc(1 - var(--painted, 1))); transition: filter .6s ease; }

/* your first colour is FACETS' small accent: the dot under the current tab in Prism */
@media (min-width: 860px) { :root[data-look="classic"] .yv .tabs button[aria-current="page"]::after { background: var(--you, #FF6B8B) !important; } }
/* ==========================================================================================================================
   Lens worlds (2026-11-23, phase 4 of "ALL"): the stage at the top of six lens pages, and title pages for the book's chapters.
   ========================================================================================================================== */
.yv .stage { margin: 10px 0 22px; display: grid; gap: 12px; justify-items: center; }
.yv .stage figcaption { font-size: .9375rem; color: var(--ink-2); text-align: center; max-width: 52ch; }
.yv .stage figcaption b { color: var(--ink); }

/* astrology: a night sky in every look (ink on paper in the light ones) */
.yv .st-astro svg { width: 100%; height: auto; border-radius: 18px; background: #090B18; }
.yv .st-astro .as-bg { fill: #ECE6D8; opacity: .5; }
.yv .st-astro .as-line { stroke: #D4B26E; stroke-width: 1.4; stroke-linecap: round; opacity: .85; }
.yv .st-astro .as-star { fill: #FFF4DA; filter: drop-shadow(0 0 4px rgba(255, 236, 190, .9)); }
@keyframes as-draw { from { stroke-dasharray: 0 400; } to { stroke-dasharray: 400 0; } }
@keyframes as-pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
@keyframes as-tw { 0%, 100% { opacity: .55; } 50% { opacity: .15; } }
html.anim .yv .st-astro .as-line { animation: as-draw 1.2s ease both; animation-delay: calc(.6s + var(--k) * .18s); }
html.anim .yv .st-astro .as-star { transform-box: fill-box; transform-origin: center; animation: as-pop .5s cubic-bezier(.2, .9, .3, 1.4) both; animation-delay: calc(.2s + var(--k) * .12s); }
html.anim .yv .st-astro .as-bg { animation: as-tw 4s ease-in-out infinite; animation-delay: calc(var(--d) * -1); }
:root[data-look="paper"] .yv .st-astro svg, :root[data-look="occult"] .yv .st-astro svg, :root[data-look="mono"] .yv .st-astro svg { background: transparent; border-radius: 0; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); }
:root[data-look="paper"] .yv .st-astro .as-bg, :root[data-look="occult"] .yv .st-astro .as-bg, :root[data-look="mono"] .yv .st-astro .as-bg { fill: var(--ink); opacity: .35; }
:root[data-look="paper"] .yv .st-astro .as-line, :root[data-look="occult"] .yv .st-astro .as-line, :root[data-look="mono"] .yv .st-astro .as-line { stroke: var(--gold); }
:root[data-look="paper"] .yv .st-astro .as-star, :root[data-look="occult"] .yv .st-astro .as-star, :root[data-look="mono"] .yv .st-astro .as-star { fill: var(--ink); filter: none; }

/* tarot: the card dealt face down, turned with a 3D flip */
.yv .st-tarot { perspective: 1400px; }
.yv .st-flip { position: relative; display: grid; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.3, .8, .25, 1); }
.yv .st-flip > * { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.yv .st-back { display: grid; place-items: center; z-index: 1; }
.yv .st-back svg { width: min(220px, 60vw); height: auto; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35)); }
.yv .st-back .tb-edge { fill: var(--gold); } .yv .st-back .tb-in { fill: var(--surface, var(--bg)); stroke: var(--gold); stroke-width: 1.5; }
.yv .st-back .tb-star path { fill: var(--gold); } .yv .st-back .tb-ring { fill: none; stroke: var(--gold); stroke-width: 1; opacity: .6; }
.yv .st-face { transform: rotateY(180deg); }
.yv .st-tarot.turned .st-flip { transform: rotateY(180deg); }
.yv .st-tarot:not(.turned) .st-face { visibility: hidden; transition: visibility 0s .45s; }
.yv .st-tarot.turned .st-back { visibility: hidden; transition: visibility 0s .45s; }
.yv .st-turn-p { margin: 0; }
@keyframes tb-breathe { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-6px) rotate(1deg); } }
html.anim .yv .st-tarot:not(.turned) .st-back svg { animation: tb-breathe 4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .yv .st-flip { transition: none; } }

/* numerology: the monument */
.yv .st-num .sn-mon { font: 700 clamp(7rem, 4rem + 14vw, 12rem)/.9 var(--f-display, var(--serif)); letter-spacing: -.06em; color: var(--ink);
  text-shadow: 1px 1px 0 var(--rule-strong), 2px 2px 0 var(--rule-strong), 3px 3px 0 var(--rule-strong), 4px 4px 0 var(--rule-strong), 5px 5px 0 var(--rule-strong), 6px 6px 0 var(--rule-strong), 14px 18px 0 color-mix(in srgb, var(--ink) 8%, transparent); }
.yv .st-num .sn-sum { margin: 0; font: 500 1rem/1.5 var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; text-align: center; letter-spacing: .02em; }
@keyframes sn-rise { from { opacity: 0; transform: translateY(40px) scale(.9); } to { opacity: 1; transform: none; } }
html.anim .yv .st-num .sn-mon { animation: sn-rise 1s cubic-bezier(.2, .9, .25, 1) .3s both; }
:root[data-look="classic"] .yv .st-num .sn-mon { color: var(--c); text-shadow: 1px 1px 0 #0D0B12, 2px 2px 0 #0D0B12, 3px 3px 0 #0D0B12, 4px 4px 0 #0D0B12, 5px 5px 0 #0D0B12, 6px 6px 0 #0D0B12; }
:root[data-look="observatory"] .yv .st-num .sn-mon { color: #D4B26E; font-weight: 400; }
:root[data-look="occult"] .yv .st-num .sn-mon { color: var(--gold); }

/* Big Five: the personality file */
.yv .st-file .sf-paper { position: relative; width: min(560px, 100%); padding: 22px 24px 26px; background: #F4EFE3; color: #1C1A16; border-radius: 4px; box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(0, 0, 0, .08); text-align: left; }
.yv .st-file .sf-top { display: flex; justify-content: space-between; font: 600 .875rem/1 var(--sans); letter-spacing: .02em; border-bottom: 2px solid #1C1A16; padding-bottom: 10px; }
.yv .st-file .sf-sub { margin: 12px 0 14px; font-size: .9375rem; color: #4A463E; }
.yv .st-file .sf-sub b { color: #1C1A16; }
.yv .st-file .sf-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.yv .st-file .sf-rows li { display: grid; grid-template-columns: 150px 1fr 34px; align-items: center; gap: 12px; font-size: .9375rem; }
.yv .st-file .sf-bar { height: 12px; background: repeating-linear-gradient(90deg, #DDD5C3 0 6px, #E8E1D1 6px 12px); }
.yv .st-file .sf-bar i { display: block; height: 100%; background: #1C1A16; }
.yv .st-file .sf-v { font-variant-numeric: tabular-nums; text-align: right; font-weight: 600; }
.yv .st-file .sf-stamp { position: absolute; right: 18px; top: 46px; padding: 6px 12px; border: 3px solid #A3261E; color: #A3261E; font: 800 1rem/1 var(--sans); letter-spacing: .08em; transform: rotate(-12deg); opacity: .85; border-radius: 4px; }
@keyframes sf-stamp { 0% { opacity: 0; transform: rotate(-12deg) scale(2.2); } 70% { opacity: .9; transform: rotate(-12deg) scale(.95); } 100% { opacity: .85; transform: rotate(-12deg) scale(1); } }
@keyframes sf-fill { from { width: 0; } }
html.anim .yv .st-file .sf-stamp { animation: sf-stamp .5s cubic-bezier(.3, .8, .3, 1.2) 1.4s both; }
html.anim .yv .st-file .sf-bar i { animation: sf-fill .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.3s + var(--k) * .15s); }
@media (max-width: 559px) { .yv .st-file .sf-rows li { grid-template-columns: 1fr 34px; } .yv .st-file .sf-bar { grid-column: 1 / -1; grid-row: 2; } .yv .st-file .sf-stamp { top: auto; bottom: 14px; } }

/* Chinese zodiac: brush character and seal on rice paper */
.yv .st-ink .si-paper { position: relative; width: min(300px, 80vw); aspect-ratio: 1; display: grid; place-items: center; background: #F2EBDD; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), 0 18px 40px -26px rgba(0, 0, 0, .55); }
.yv .st-ink .si-ch { font: 400 clamp(8rem, 5rem + 12vw, 11rem)/1 "Ma Shan Zheng", "KaiTi", "STKaiti", "Kaiti SC", "BiauKai", serif; color: #14110D; }
.yv .st-ink .si-seal { position: absolute; right: 18px; bottom: 18px; width: 54px; height: 54px; display: grid; place-items: center; background: #B3261E; color: #F2EBDD; font: 400 2rem/1 "KaiTi", "STKaiti", "Kaiti SC", serif; border-radius: 6px; transform: rotate(-3deg); }
@keyframes si-brush { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes si-press { 0% { opacity: 0; transform: rotate(-3deg) scale(1.8); } 100% { opacity: 1; transform: rotate(-3deg) scale(1); } }
html.anim .yv .st-ink .si-ch { animation: si-brush 1.4s cubic-bezier(.5, 0, .3, 1) .3s both; }
html.anim .yv .st-ink .si-seal { animation: si-press .45s cubic-bezier(.3, .8, .3, 1.3) 1.7s both; }

/* archetypes: the hero card */
.yv .st-hero { perspective: 1000px; }
.yv .sh-card { position: relative; width: min(300px, 78vw); aspect-ratio: 5 / 7; padding: 18px; display: grid; grid-template-rows: auto 1fr auto auto auto; text-align: center; border-radius: 18px; overflow: hidden;
  background: var(--surface, var(--bg)); color: var(--ink); box-shadow: inset 0 0 0 2px var(--c), inset 0 0 0 7px var(--surface, var(--bg)), inset 0 0 0 8px color-mix(in srgb, var(--c) 50%, transparent), 0 26px 50px -26px rgba(0, 0, 0, .7);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease; transform-style: preserve-3d; }
.yv .sh-foil { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: .55;
  background: conic-gradient(from 0deg at var(--px, 50%) var(--py, 30%), #FF6B8B, #FFD25A, #6EE7A8, #5AC8FF, #C77DFF, #FF6B8B); }
.yv .sh-top { display: flex; justify-content: space-between; font: 600 .8125rem/1 var(--sans); color: var(--ink-2); padding: 4px 4px 0; }
.yv .sh-art { display: grid; place-items: center; color: var(--c); }
.yv .sh-art svg { width: 110px; height: 110px; filter: drop-shadow(0 8px 18px color-mix(in srgb, var(--c) 50%, transparent)); }
.yv .sh-name { margin: 0; font: 600 1.625rem/1.1 var(--f-display, var(--serif)); letter-spacing: -.02em; }
.yv .sh-words { margin: 6px 0 0; font-size: .875rem; color: var(--ink-2); }
.yv .sh-sub { margin: 10px 0 4px; font-size: .875rem; color: var(--ink-2); }
:root[data-look="mono"] .yv .sh-card, :root[data-look="paper"] .yv .sh-card, :root[data-look="occult"] .yv .sh-card { border-radius: 2px; }
:root[data-look="mono"] .yv .sh-foil, :root[data-look="paper"] .yv .sh-foil, :root[data-look="occult"] .yv .sh-foil { opacity: .22; filter: grayscale(1); }
@media (prefers-reduced-motion: reduce) { .yv .sh-card { transform: none !important; } }

/* the book: each chapter's title page shows its lenses, lit when open */
.yv .book .rg-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 10px 0 0; }
.yv .book .rg-icons span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule); opacity: .6; }
.yv .book .rg-icons span.on { color: var(--c); opacity: 1; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 50%, transparent); background: color-mix(in srgb, var(--c) 10%, transparent); }
:root[data-look="mono"] .yv .book .rg-icons span, :root[data-look="paper"] .yv .book .rg-icons span, :root[data-look="occult"] .yv .book .rg-icons span { border-radius: 0; }
:root[data-look="mono"] .yv .book .rg-icons span.on { color: #FFF; background: #0A0A0A; }
:root[data-look="occult"] .yv .book .rg-icons span.on { color: var(--gold); background: transparent; }
:root[data-look="paper"] .yv .book .rg-icons span.on { color: #1F3A5F; background: transparent; }
/* ==========================================================================================================================
   Touch and texture, things to show off (2026-11-23, phases 5 and 6 of "ALL"): a material for each look, magazine-style
   openings to readings, your deck of cards, who you are most like, and your FACETS so far.
   ========================================================================================================================== */
/* materials */
:root[data-look="observatory"] .yv .home .hub-title em { background: linear-gradient(100deg, #B8914A 0%, #F3DEA6 38%, #C9A45C 52%, #FBEBC0 70%, #B8914A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-look="observatory"] .yv .home-cont, :root[data-look="observatory"] .yv .stage .sh-card { box-shadow: inset 0 0 40px rgba(0, 0, 0, .55) !important; }
:root[data-look="occult"] body { background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .12 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E") !important; }
:root[data-look="occult"] .yv p, :root[data-look="occult"] .yv li { text-shadow: 0 0 .35px rgba(26, 18, 11, .55); }
:root[data-look="paper"] body { background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.3' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .2 0 0 0 0 .2 0 0 0 .04 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E") !important; }
:root[data-look="paper"] .yv h1, :root[data-look="paper"] .yv h2 { text-shadow: 0 1px 0 rgba(255, 255, 255, .7), 0 -.5px 0 rgba(0, 0, 0, .18); }
:root[data-look="mono"] .yv .btn:not(.ghost) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18) !important; }

/* readings open like a magazine feature: a drop cap on the first paragraph (Grimoire has its own red initial) */

/* your deck */
.yv .deck-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 12px; }
.yv .dk { width: 100%; min-height: 176px; display: grid; grid-template-rows: auto 1fr auto auto; justify-items: center; gap: 6px; padding: 12px 10px; text-align: center; cursor: pointer;
  border-radius: 14px; border: 1px solid color-mix(in srgb, var(--c) 45%, var(--rule)); background: color-mix(in srgb, var(--c) 7%, var(--surface, var(--bg))); color: var(--ink); font: inherit;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 10px 20px -16px rgba(0, 0, 0, .7); transition: transform .2s ease, box-shadow .2s ease; }
.yv .dk:hover { transform: translateY(-3px) rotate(-.6deg); box-shadow: 0 16px 26px -16px color-mix(in srgb, var(--c) 60%, transparent); }
.yv .dk-n { font-size: .75rem; font-weight: 600; color: var(--ink-2); }
.yv .dk-ic { display: grid; place-items: center; color: var(--c); }
.yv .dk-h { font: 600 .9375rem/1.25 var(--f-display, var(--serif)); }
.yv .dk-r { font-size: .6875rem; color: var(--ink-2); }
@keyframes dk-deal { from { opacity: 0; transform: translateY(14px) rotate(-3deg); } to { opacity: 1; transform: none; } }
html.anim .yv .deck .dk { animation: dk-deal .45s cubic-bezier(.2, .9, .3, 1.1) both; animation-delay: calc(min(var(--k), 24) * 30ms); }
:root[data-look="mono"] .yv .dk, :root[data-look="paper"] .yv .dk, :root[data-look="occult"] .yv .dk { border-radius: 2px; box-shadow: none; }
:root[data-look="mono"] .yv .dk { border: 2px solid #0A0A0A; background: #FFF; } :root[data-look="mono"] .yv .dk-ic { color: #0A0A0A; }
:root[data-look="occult"] .yv .dk { background: transparent; border-color: var(--rule-strong); } :root[data-look="occult"] .yv .dk-ic { color: var(--gold); }
:root[data-look="paper"] .yv .dk { background: #FFF; border-color: var(--rule); } :root[data-look="paper"] .yv .dk-ic { color: #1F3A5F; }

/* who you are most like */
.yv .like-who { margin: 0; font: 600 clamp(2rem, 1.4rem + 2vw, 2.75rem)/1.05 var(--f-display, var(--serif)); letter-spacing: -.02em; }
.yv .like-why { margin: 6px 0 0; font-size: 1.125rem; max-width: 52ch; }

/* your FACETS so far */
.yv .sf-slides { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.yv .sf-slides li { display: grid; gap: 4px; align-content: end; min-height: 118px; padding: 14px; border-radius: 14px; background: var(--surface, var(--bg)); box-shadow: inset 0 0 0 1px var(--rule); }
.yv .sf-slides span { font-size: .8125rem; color: var(--ink-2); }
.yv .sf-slides b { font: 600 1.375rem/1.15 var(--f-display, var(--serif)); letter-spacing: -.01em; }
.yv .sf-slides li:first-child { background: var(--ink); color: var(--bg); box-shadow: none; } .yv .sf-slides li:first-child span { color: color-mix(in srgb, var(--bg) 70%, transparent); }
@keyframes sf-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
html.anim .yv .sofar .sf-slides li { animation: sf-in .5s ease both; animation-delay: calc(var(--k) * 90ms); }
:root[data-look="mono"] .yv .sf-slides li, :root[data-look="paper"] .yv .sf-slides li, :root[data-look="occult"] .yv .sf-slides li { border-radius: 0; }
:root[data-look="paper"] .yv .sf-slides li:first-child { background: #1F3A5F; color: #FFF; }
:root[data-look="occult"] .yv .sf-slides li:first-child { background: var(--ink); color: #EFE6D2; }
/* ==========================================================================================================================
   Depth (2026-11-23, Jared: "it's all flat. In every aspect... that applies to the colour, the pictures, images, background").
   Light falls from the top left in every look. Backgrounds have atmosphere (a light pool and a vignette), surfaces have a lit
   top edge and layered shadows, buttons are pressable, icon tiles are dimensional, and pictures cast shadows. The gem is a
   topaz: its only lines are the edges between lenses.
   ========================================================================================================================== */
:root { --grain-dark: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---- backgrounds with atmosphere ---- */
:root[data-look="classic"] body { background-color: #110F17 !important; background-attachment: fixed !important; background-image: var(--grain-dark),
  radial-gradient(1000px 560px at 12% -6%, rgba(150, 120, 255, .17), transparent 62%), radial-gradient(760px 480px at 96% 4%, rgba(90, 190, 255, .08), transparent 60%),
  radial-gradient(900px 600px at 70% 70%, rgba(255, 107, 139, .05), transparent 60%), radial-gradient(1500px 800px at 50% 118%, rgba(0, 0, 0, .7), transparent 60%) !important; }
:root[data-look="observatory"] body { background-color: #060811 !important; background-attachment: fixed !important; background-image: var(--grain-dark),
  radial-gradient(900px 560px at 86% 6%, rgba(96, 104, 210, .22), transparent 62%), radial-gradient(700px 460px at 8% 78%, rgba(212, 178, 110, .08), transparent 60%),
  radial-gradient(1400px 800px at 50% 120%, rgba(0, 0, 0, .75), transparent 60%) !important; }
:root[data-look="mono"] body { background-color: #FFFFFF !important; background-attachment: fixed !important;
  background-image: radial-gradient(1400px 700px at 30% -12%, #FFFFFF, transparent 70%), radial-gradient(1600px 900px at 50% 120%, rgba(0, 0, 0, .07), transparent 62%), linear-gradient(180deg, #FFFFFF, #F3F3F3) !important; }
:root[data-look="paper"] body { background-attachment: fixed !important; background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.3' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .2 0 0 0 0 .2 0 0 0 .04 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E"),
  radial-gradient(1200px 700px at 20% -10%, rgba(255, 255, 255, .9), transparent 65%), radial-gradient(1600px 900px at 50% 125%, rgba(70, 50, 20, .1), transparent 60%) !important; }
:root[data-look="occult"] body { background-attachment: fixed !important; background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .12 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"),
  radial-gradient(1100px 700px at 35% 15%, rgba(255, 250, 235, .55), transparent 65%), radial-gradient(1800px 1000px at 50% 50%, transparent 55%, rgba(90, 60, 25, .22) 100%) !important; }

/* ---- surfaces: a lit top edge and layered shadows ---- */
:root[data-look="classic"] .yv .home-cont, :root[data-look="classic"] .yv .dk, :root[data-look="classic"] .yv .sf-slides li:not(:first-child), :root[data-look="classic"] .yv .plate,
:root[data-look="classic"] .yv .viz, :root[data-look="classic"] .yv .ld-card, :root[data-look="classic"] .yv .community, :root[data-look="classic"] .yv .notice, :root[data-look="classic"] .yv details.about, :root[data-look="classic"] .cer-card {
  background: linear-gradient(180deg, #24202F 0%, #1B1824 55%, #17141F 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 -1px 0 rgba(0, 0, 0, .45), 0 2px 4px rgba(0, 0, 0, .35), 0 22px 44px -20px rgba(0, 0, 0, .8) !important; border: 0 !important; }
:root[data-look="classic"] .yv .home-cont { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), inset 0 -1px 0 rgba(0, 0, 0, .45), 0 2px 4px rgba(0, 0, 0, .35), 0 26px 50px -22px color-mix(in srgb, var(--c) 55%, transparent) !important; }
:root[data-look="observatory"] .yv .home-cont, :root[data-look="observatory"] .yv .dk, :root[data-look="observatory"] .yv .sf-slides li:not(:first-child), :root[data-look="observatory"] .yv .plate, :root[data-look="observatory"] .yv .viz, :root[data-look="observatory"] .cer-card {
  background: linear-gradient(180deg, rgba(30, 36, 66, .92) 0%, rgba(14, 17, 34, .92) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(212, 178, 110, .28), inset 0 0 0 1px rgba(212, 178, 110, .14), 0 2px 4px rgba(0, 0, 0, .4), 0 24px 48px -22px rgba(0, 0, 0, .85) !important; }
:root[data-look="mono"] .yv .home-cont, :root[data-look="mono"] .yv .dk, :root[data-look="mono"] .yv .sf-slides li:not(:first-child), :root[data-look="mono"] .yv .plate, :root[data-look="mono"] .yv .viz {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F5 100%) !important; }
:root[data-look="mono"] .yv .dk, :root[data-look="mono"] .yv .sf-slides li:not(:first-child), :root[data-look="mono"] .yv .plate, :root[data-look="mono"] .yv .viz { box-shadow: 0 1px 0 #0A0A0A, 0 14px 28px -18px rgba(0, 0, 0, .45) !important; }
:root[data-look="paper"] .yv .dk, :root[data-look="paper"] .yv .sf-slides li:not(:first-child), :root[data-look="paper"] .yv .plate, :root[data-look="paper"] .yv .viz, :root[data-look="paper"] .yv .st-file .sf-paper {
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF8F1 100%) !important; box-shadow: 0 1px 2px rgba(40, 30, 10, .08), 0 16px 32px -18px rgba(40, 30, 10, .35) !important; }
:root[data-look="occult"] .yv .dk, :root[data-look="occult"] .yv .sf-slides li:not(:first-child) { background: linear-gradient(180deg, rgba(255, 250, 235, .55), rgba(232, 220, 195, .35)) !important; box-shadow: 0 1px 1px rgba(60, 40, 15, .12), 0 12px 24px -16px rgba(60, 40, 15, .4) !important; }
:root[data-look="occult"] .yv .plate, :root[data-look="occult"] .yv .viz { box-shadow: 0 1px 1px rgba(60, 40, 15, .1), 0 14px 28px -20px rgba(60, 40, 15, .38) !important; }
.yv .dk:hover { transform: translateY(-4px) rotate(-.6deg) !important; }

/* ---- buttons you can press ---- */
:root[data-look="classic"] .yv .btn:not(.ghost), :root[data-look="classic"] .cer .btn { background: linear-gradient(180deg, #FFFFFF 0%, #E6E2F0 100%) !important; color: #121018 !important;
  box-shadow: inset 0 1px 0 #FFFFFF, inset 0 -2px 0 rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .45), 0 12px 24px -12px rgba(244, 242, 250, .45) !important; }
:root[data-look="classic"] .yv .btn.ghost, :root[data-look="classic"] .yv .btn.sm.ghost { background: linear-gradient(180deg, #2A2636 0%, #1D1A27 100%) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 1px 2px rgba(0, 0, 0, .45), 0 10px 20px -14px rgba(0, 0, 0, .8) !important; }
:root[data-look="classic"] .yv .home-cont .btn { background: linear-gradient(180deg, #FFFFFF 0%, #E6E2F0 100%) !important; }
:root[data-look="observatory"] .yv .btn:not(.ghost), :root[data-look="observatory"] .cer .btn { background: linear-gradient(180deg, #EDD39A 0%, #D4B26E 45%, #B8914A 100%) !important; color: #0A0B12 !important;
  box-shadow: inset 0 1px 0 rgba(255, 248, 225, .8), inset 0 -2px 0 rgba(90, 60, 20, .25), 0 1px 2px rgba(0, 0, 0, .5), 0 12px 26px -12px rgba(212, 178, 110, .55) !important; }
:root[data-look="mono"] .yv .btn:not(.ghost) { background: linear-gradient(180deg, #2E2E2E 0%, #0A0A0A 100%) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .4), 0 12px 22px -14px rgba(0, 0, 0, .6) !important; }
:root[data-look="paper"] .yv .btn:not(.ghost), :root[data-look="paper"] .cer .btn { background: linear-gradient(180deg, #2C4C78 0%, #1F3A5F 100%) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 2px rgba(20, 30, 50, .35), 0 12px 22px -14px rgba(31, 58, 95, .6) !important; }
:root[data-look="occult"] .yv .btn:not(.ghost), :root[data-look="occult"] .cer .btn { background: linear-gradient(180deg, #3C2C1E 0%, #1A120B 100%) !important; box-shadow: inset 0 1px 0 rgba(255, 240, 210, .18), 0 1px 2px rgba(40, 25, 10, .35), 0 12px 22px -14px rgba(40, 25, 10, .55) !important; }
html.anim .yv .btn:hover { transform: translateY(-1px); }
html.anim .yv .btn:active { transform: translateY(1px) scale(.99); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .25) !important; }

/* ---- icon tiles with volume ---- */
:root[data-look="classic"] .yv .lens-ico { background: linear-gradient(160deg, color-mix(in srgb, var(--c) 72%, #FFFFFF) 0%, var(--c) 48%, color-mix(in srgb, var(--c) 72%, #000000) 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(0, 0, 0, .2), 0 2px 4px rgba(0, 0, 0, .4), 0 18px 34px -14px var(--c) !important; }
:root[data-look="classic"] .yv .home-cont .hcn-ic, :root[data-look="classic"] .cer-ic { background: linear-gradient(160deg, color-mix(in srgb, var(--c) 30%, transparent), color-mix(in srgb, var(--c) 10%, transparent)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent), 0 8px 16px -10px var(--c) !important; }
:root[data-look="observatory"] .yv .lens-ico { background: radial-gradient(circle at 35% 30%, rgba(212, 178, 110, .28), rgba(13, 16, 32, .9) 70%) !important; }
:root[data-look="paper"] .yv .lens-ico, :root[data-look="mono"] .yv .lens-ico, :root[data-look="occult"] .yv .lens-ico { box-shadow: 0 10px 18px -12px rgba(0, 0, 0, .45) !important; }

/* ---- pictures cast shadows; headlines sit above the page ---- */
:root[data-look="classic"] .yv .pa, :root[data-look="classic"] .yv .wheel, :root[data-look="observatory"] .yv .pa, :root[data-look="observatory"] .yv .wheel { filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .5)); }
:root[data-look="mono"] .yv .pa, :root[data-look="paper"] .yv .pa, :root[data-look="occult"] .yv .pa, :root[data-look="mono"] .yv .wheel, :root[data-look="paper"] .yv .wheel { filter: drop-shadow(0 16px 20px rgba(50, 35, 10, .16)); }
.yv .pt-fig img { box-shadow: 0 2px 4px rgba(0, 0, 0, .25), 0 34px 60px -30px rgba(0, 0, 0, .7); }
.yv .gem { filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .35)) drop-shadow(0 16px 22px rgba(0, 0, 0, .25)) !important; }
.yv .gem .gem-e, .cer .gem .gem-e { fill: none; stroke: rgba(0, 0, 0, .34); stroke-width: .45; }
:root[data-look="mono"] .yv .gem .gem-e { stroke: rgba(255, 255, 255, .5); }
.yv .home .prog .gem { width: 96px !important; height: 96px !important; }
:root[data-look="classic"] .yv .display, :root[data-look="classic"] .yv h1 { text-shadow: 0 1px 0 rgba(0, 0, 0, .5), 0 16px 36px rgba(0, 0, 0, .45); }
:root[data-look="observatory"] .yv .display, :root[data-look="observatory"] .yv h1 { text-shadow: 0 1px 0 rgba(0, 0, 0, .6), 0 0 30px rgba(212, 178, 110, .12); }
:root[data-look="classic"] .yv .home-stats .hs b, :root[data-look="observatory"] .yv .home-stats .hs b { text-shadow: 0 1px 0 rgba(0, 0, 0, .5), 0 10px 22px rgba(0, 0, 0, .4); }

/* ---- the pictures: light through the window, a glassy rim; the stone's light ---- */
.yv .pa-glass .pg-light { mix-blend-mode: soft-light; pointer-events: none; }
.yv .pa-glass .pg-pane.on { filter: saturate(1.15); }
.yv .pa-stone .pm-light { mix-blend-mode: soft-light; pointer-events: none; }
.yv .pa-stone .pm-facet { stroke: rgba(255, 255, 255, .55); stroke-width: .8; }
.yv .pa-tree .pt-leaf.on { fill: #2C4C78; }
/* ==========================================================================================================================
   Prism, "Play" (2026-11-23): quick, bright, game-like, and different to use, not only to look at. A dock at the bottom on every
   screen, Home as a stack of cards you swipe, readings as cards you swipe sideways, questionnaires that cheer you on in colour,
   springy motion and floating prism shards. Moving parts in core/play.js.
   ========================================================================================================================== */
:root[data-look="classic"] { --spring: cubic-bezier(.34, 1.56, .64, 1); }

/* ---- the dock, on every screen size ---- */
@media (min-width: 860px) {
  :root[data-look="classic"] .yv .tabs { position: fixed !important; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 40; display: flex !important; gap: 4px !important; padding: 8px !important;
    border-radius: 26px !important; background: rgba(27, 24, 36, .7) !important; backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, .12) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 24px 50px -18px rgba(0, 0, 0, .85) !important; }
  :root[data-look="classic"] .yv .tabs button { flex-direction: column; gap: 5px !important; min-width: 78px; min-height: 60px !important; padding: 8px 10px !important; border-radius: 18px !important; font-size: .75rem !important; }
  :root[data-look="classic"] .yv .tabs button .tab-ic { width: 22px; height: 22px; }
  :root[data-look="classic"] .yv .tabs button[aria-current="page"] { background: linear-gradient(180deg, #FFFFFF, #E6E2F0) !important; color: #121018 !important; box-shadow: 0 6px 16px -8px rgba(244, 242, 250, .6); }
  :root[data-look="classic"] .yv .tabs button[aria-current="page"]::after { display: none; }
  :root[data-look="classic"] .yv .tabs button:hover { transform: translateY(-3px); transition: transform .3s var(--spring); }
  :root[data-look="classic"] .yv { padding-bottom: 130px; }
  :root[data-look="classic"] .foot__in { padding-bottom: 120px; }
}

/* ---- Home: a stack of cards ---- */
:root[data-look="classic"] .yv .home { position: relative; }
:root[data-look="classic"] .yv .home > :not(.shards) { position: relative; z-index: 1; }
.yv .pstack { position: relative; margin: 0 0 8px; }
.yv .ps-deck { display: grid; padding-bottom: 34px; touch-action: pan-y; }
.yv .pc { grid-area: 1 / 1; position: relative; min-height: 270px; padding: 24px 24px 22px; border-radius: 26px; display: grid; align-content: start; gap: 8px;
  background: linear-gradient(180deg, #26222F 0%, #1C1925 60%, #18151F 100%); color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 2px 4px rgba(0, 0, 0, .35), 0 26px 50px -24px rgba(0, 0, 0, .85);
  z-index: calc(20 - var(--pos, 0));
  transform: translateX(var(--dx, 0)) translateY(calc(var(--pos, 0) * 14px)) rotate(calc(var(--rot, 0deg) + var(--pos, 0) * -2.2deg)) scale(calc(1 - var(--pos, 0) * .045));
  transform-origin: 50% 100%; transition: transform .55s var(--spring, ease), opacity .3s ease, filter .3s ease; }
.yv .pc:not(.top) { filter: brightness(calc(1 - var(--pos, 0) * .12)); }
.yv .pc.hidden { opacity: 0; pointer-events: none; }
.yv .pc.dragging { transition: none; cursor: grabbing; }
@keyframes fling-l { to { transform: translateX(-120%) rotate(-16deg); opacity: 0; } }
@keyframes fling-r { to { transform: translateX(120%) rotate(16deg); opacity: 0; } }
.yv .pc.fling-l { animation: fling-l .38s ease-in both; } .yv .pc.fling-r { animation: fling-r .38s ease-in both; }
.yv .pc > .home-cont, .yv .pc > .insight { background: transparent !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; border: 0 !important; }
.yv .pc .home-cont { grid-template-columns: auto minmax(0, 1fr); }
.yv .pc .home-cont .btn { grid-column: 1 / -1; justify-self: start; margin-top: 12px; }
.yv .pc .insight::before { display: none; }
.yv .pc .pc-k, .yv .pc .insight .mono, .yv .pc .hcn-t .mono { margin: 0; font-size: .8125rem !important; font-weight: 600; color: var(--ink-2) !important; }
.yv .pc h3 { margin: 0; font: 600 1.5rem/1.15 var(--f-display, var(--serif)); letter-spacing: -.02em; }
.yv .pc .pc-big { font-size: 2.25rem; letter-spacing: -.035em; }
.yv .pc p { margin: 0; color: var(--ink-2); max-width: 46ch; }
.yv .pc .btn { justify-self: start; margin-top: 10px; }
.yv .pc-gem { justify-self: start; }
.yv .pc-sticker { justify-self: start; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; transform: rotate(-8deg); color: #121018;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 70%, #fff), var(--c) 55%, color-mix(in srgb, var(--c) 75%, #000)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 10px 22px -10px var(--c); }
.yv .pc-ups { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.yv .pc-ups button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; border-radius: 16px; cursor: pointer; text-align: left; color: var(--ink); font: inherit; font-weight: 600;
  background: linear-gradient(180deg, #2C2838, #221F2C); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); transition: transform .3s var(--spring); }
.yv .pc-ups button:hover { transform: translateX(4px); }
.yv .pc-ups small { display: block; font-weight: 500; font-size: .8125rem; color: var(--ink-2); }
.yv .pc-ui { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: #121018; background: var(--c); }
.yv .ps-ctl { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: -10px; }
.yv .ps-b { width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; font: 600 1.375rem/1 var(--sans); color: var(--ink);
  background: linear-gradient(180deg, #2C2838, #1D1A27); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 8px 18px -10px rgba(0, 0, 0, .8); transition: transform .3s var(--spring); }
.yv .ps-b:hover { transform: scale(1.1); } .yv .ps-b:active { transform: scale(.92); }
.yv .ps-dots { display: flex; gap: 6px; } .yv .ps-dots i { width: 7px; height: 7px; border-radius: 9px; background: #3A3548; transition: width .35s var(--spring), background .2s; }
.yv .ps-dots i.on { width: 22px; background: #F4F2FA; }
.yv .ps-hint { margin: 8px 0 0; text-align: center; font-size: .8125rem; color: var(--ink-2); }
@keyframes pc-deal { from { transform: translateY(80px) rotate(8deg) scale(.9); opacity: 0; } }
html.anim .yv #main.enter .pc { animation: pc-deal .7s var(--spring) both; animation-delay: calc(.15s + var(--k, 0) * 90ms); }
@media (prefers-reduced-motion: reduce) { .yv .pc { transition: none; } }

/* ---- readings: cards you swipe sideways ---- */
:root[data-look="classic"] .yv .lens-wrap .block .deep.pcards { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; margin: 0 -2px; scrollbar-width: none; overscroll-behavior-x: contain; }
:root[data-look="classic"] .yv .lens-wrap .block .deep.pcards::-webkit-scrollbar { display: none; }
:root[data-look="classic"] .yv .lens-wrap .block .deep.pcards:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 22px; }
:root[data-look="classic"] .yv .lens-wrap .block .deep.pcards > .deep-sec { flex: 0 0 min(88%, 600px); scroll-snap-align: start; margin: 0 !important; padding: 22px 22px 20px; border-radius: 22px;
  background: linear-gradient(180deg, #26222F 0%, #1B1824 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 3px 0 -1px var(--c), 0 18px 36px -22px rgba(0, 0, 0, .85); }
:root[data-look="classic"] .yv .lens-wrap .block .deep.pcards > .deep-sec h3 { margin-top: 0; }
.yv .pc-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 2px 0 6px; }
.yv .pc-b { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; font: 600 1.25rem/1 var(--sans); color: var(--ink); background: linear-gradient(180deg, #2C2838, #1D1A27);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 8px 16px -10px rgba(0, 0, 0, .8); transition: transform .3s var(--spring); }
.yv .pc-b:active { transform: scale(.9); }
.yv .pc-n { font-size: .875rem; color: var(--ink-2); font-variant-numeric: tabular-nums; min-width: 5em; text-align: center; }

/* ---- questionnaires that cheer you on, in colour ---- */
.yv .q-play { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; margin: 10px 0 4px; }
.yv .q-praise { font: 700 1.125rem/1.2 var(--f-display, var(--serif)); color: #FFD25A; }
.yv .q-streak { padding: 4px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 700; color: #121018; background: #6EE7A8; box-shadow: 0 6px 14px -8px #6EE7A8; }
@keyframes q-pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
html.anim .yv .q-praise:not(:empty), html.anim .yv .q-streak { animation: q-pop .45s var(--spring) both; }
:root[data-look="classic"] .yv .quiz-wrap .opts .opt { border: 0 !important; border-radius: 18px !important; font-weight: 700 !important; color: #121018 !important; min-height: 58px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -3px 0 rgba(0, 0, 0, .15), 0 10px 20px -14px rgba(0, 0, 0, .9) !important; transition: transform .3s var(--spring), filter .2s; }
:root[data-look="classic"] .yv .quiz-wrap .opts .opt:nth-child(5n+1) { background: linear-gradient(180deg, #FF8FA6, #FF6B8B) !important; }
:root[data-look="classic"] .yv .quiz-wrap .opts .opt:nth-child(5n+2) { background: linear-gradient(180deg, #FFB781, #FF9F5A) !important; }
:root[data-look="classic"] .yv .quiz-wrap .opts .opt:nth-child(5n+3) { background: linear-gradient(180deg, #FFE08A, #FFD25A) !important; }
:root[data-look="classic"] .yv .quiz-wrap .opts .opt:nth-child(5n+4) { background: linear-gradient(180deg, #96F0C2, #6EE7A8) !important; }
:root[data-look="classic"] .yv .quiz-wrap .opts .opt:nth-child(5n+5) { background: linear-gradient(180deg, #8DD9FF, #5AC8FF) !important; }
:root[data-look="classic"] .yv .quiz-wrap .opts .opt:hover { transform: translateY(-3px) scale(1.02); filter: brightness(1.06); }
:root[data-look="classic"] .yv .quiz-wrap .opts .opt[aria-pressed="true"] { transform: scale(1.04); box-shadow: 0 0 0 3px #F4F2FA, 0 14px 26px -12px rgba(0, 0, 0, .9) !important; }
:root[data-look="classic"] .yv .quiz-wrap .progress { height: 10px; border-radius: 99px; background: #262230; }
:root[data-look="classic"] .yv .quiz-wrap .progress i { border-radius: 99px; background: linear-gradient(90deg, #FF6B8B 0 20%, #FF9F5A 0 40%, #FFD25A 0 60%, #6EE7A8 0 80%, #5AC8FF 0) fixed; transition: width .5s var(--spring); }
:root[data-look="classic"] .yv .quiz-wrap h1.q { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem) !important; letter-spacing: -.025em; }

/* ---- floating prism shards behind Home ---- */
.yv .shards { position: absolute; inset: -40px -20px; z-index: 0; pointer-events: none; overflow: hidden; }
.yv .shard { position: absolute; transform: rotate(var(--r)); opacity: .5; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .5)); }
@keyframes shard-float { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-18px) rotate(calc(var(--r) + 25deg)); } }
html.anim .yv .shard { animation: shard-float 9s ease-in-out infinite; animation-delay: calc(var(--d) * -1); }
@media (max-width: 859px) { .yv .shards { opacity: .6; } }
/* Play fixes: the next step sits plainly inside its card; the stack's controls clear the cards behind; the stack follows the greeting on phones */
:root[data-look="classic"] .yv .pc > .home-cont, :root[data-look="classic"] .yv .pc > .insight { background: transparent !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important; }
:root[data-look="classic"] .yv .pc > .home-cont .hcn-t h2 { font-size: 1.75rem !important; letter-spacing: -.025em; }
.yv .ps-deck { padding-bottom: 64px; }
.yv .ps-ctl { margin-top: 0; position: relative; z-index: 30; }
@media (max-width: 859px) { .yv .home .pstack { order: 3; margin-bottom: 18px; } }
@media (max-width: 859px) { .yv .home .name-band { order: 1; } }
/* ==========================================================================================================================
   Grimoire, "Ritual" (2026-11-23): the whole app is a book you page through. Each screen turns in like a page, Home is the
   title page, a reading goes one page at a time with the ink bleeding in, and questionnaires are an oracle with a candle that
   burns down as you answer. Moving parts in core/ritual.js.
   ========================================================================================================================== */
/* the page-turn animations were removed on 2026-11-29 (Jared: "Remove the page flip animation completely") */
html.anim[data-look="occult"] .yv #main.enter .en { animation: none !important; }

/* the tabs: a running head across the top of the book */
@media (min-width: 860px) {
  :root[data-look="occult"] .yv .tabs { justify-content: center; border-bottom: 1px solid var(--rule-strong) !important; padding-bottom: 2px !important; }
  :root[data-look="occult"] .yv .tabs button { font-variant-caps: small-caps; letter-spacing: .06em !important; }
}

/* Home: the title page */
:root[data-look="occult"] .yv .home .hub-side { text-align: center; }
:root[data-look="occult"] .yv .rt-kicker { margin: 18px 0 6px; font-variant-caps: all-small-caps; letter-spacing: .2em; color: var(--gold); font-size: 1.125rem; }
:root[data-look="occult"] .yv .home .rt-h1 { font-size: clamp(2.6rem, 1.8rem + 2.6vw, 3.6rem) !important; line-height: 1.08 !important; }
:root[data-look="occult"] .yv .home .rt-h1 em { display: inline-block; }
:root[data-look="occult"] .yv .rt-sub { margin: 14px auto 18px !important; max-width: 30ch; font-style: italic; }
:root[data-look="occult"] .yv .rt-begin { margin: 0 0 10px; }
:root[data-look="occult"] .yv .home .hub-side .wheel-wrap { margin-top: 26px !important; }
@keyframes rt-ink { from { opacity: 0; filter: blur(3px); letter-spacing: .04em; } to { opacity: 1; filter: none; } }
html.anim[data-look="occult"] .yv .home .rt-h1, html.anim[data-look="occult"] .yv .home .rt-kicker { animation: rt-ink 1.4s ease both; }
html.anim[data-look="occult"] .yv .home .rt-kicker { animation-delay: .3s; } html.anim[data-look="occult"] .yv .home .rt-h1 { animation-delay: .6s; }

/* a reading, one page at a time */
.yv .rt-pages { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 22px 0 8px; padding: 14px 0; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule); }
.yv .rt-b { min-height: 46px; padding: 0 18px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 600 1rem/1 var(--serif); cursor: pointer; border-radius: 0; }
.yv .rt-b:first-child { justify-self: start; } .yv .rt-b.rt-next { justify-self: end; background: var(--ink); color: #EFE6D2; }
.yv .rt-b:disabled { opacity: .45; cursor: default; }
.yv .rt-n { font-variant-caps: all-small-caps; letter-spacing: .14em; color: var(--gold); font-size: 1.0625rem; text-align: center; }
html.anim[data-look="occult"] .yv .lens-wrap[data-paged] section.block.rt-in p { animation: rt-ink 1.1s ease both; }
html.anim[data-look="occult"] .yv .lens-wrap[data-paged] section.block.rt-in .deep-sec:nth-child(2) p { animation-delay: .25s; }
html.anim[data-look="occult"] .yv .lens-wrap[data-paged] section.block.rt-in .deep-sec:nth-child(n+3) p { animation-delay: .45s; }
@media (max-width: 559px) { .yv .rt-pages { grid-template-columns: 1fr 1fr; } .yv .rt-n { grid-column: 1 / -1; grid-row: 1; } }

/* questionnaires: an oracle, with a candle burning down */
.yv .rt-oracle { display: flex; align-items: flex-end; justify-content: center; gap: 18px; margin: 12px 0 4px; }
.yv .rt-candle { width: 54px; height: auto; }
.yv .rt-qn { margin: 0 0 10px; font-variant-caps: all-small-caps; letter-spacing: .16em; color: var(--gold); font-size: 1.125rem; }
@keyframes rt-flicker { 0%, 100% { transform: scaleY(1) skewX(0); } 25% { transform: scaleY(1.08) skewX(-3deg); } 50% { transform: scaleY(.94) skewX(2deg); } 75% { transform: scaleY(1.05) skewX(-1deg); } }
@keyframes rt-glow { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
html.anim .yv .rt-candle .rt-flame { transform-box: fill-box; transform-origin: 50% 100%; animation: rt-flicker 1.6s ease-in-out infinite; }
html.anim .yv .rt-candle .rt-glow { animation: rt-glow 2.2s ease-in-out infinite; }
:root[data-look="occult"] .yv .quiz-wrap h1.q { text-align: center; }
:root[data-look="occult"] .yv .quiz-wrap h1.q::first-letter { color: var(--gold); font-size: 1.3em; }
:root[data-look="occult"] .yv .quiz-wrap .opts { counter-reset: opt; }
:root[data-look="occult"] .yv .quiz-wrap .opts .opt { counter-increment: opt; justify-content: flex-start; text-align: left; border: 0 !important; border-bottom: 1px solid var(--rule) !important; border-radius: 0 !important; background: transparent !important; font-size: 1.125rem; }
:root[data-look="occult"] .yv .quiz-wrap .opts .opt::before { content: counter(opt, upper-roman) "."; color: var(--gold); min-width: 2.4em; font-weight: 600; }
:root[data-look="occult"] .yv .quiz-wrap .opts .opt[aria-pressed="true"] { background: color-mix(in srgb, var(--gold) 10%, transparent) !important; }
:root[data-look="occult"] .yv .quiz-wrap .progress { display: none; }
@media (prefers-reduced-motion: reduce) { html.anim[data-look="occult"] .yv #main.enter, html.anim[data-look="occult"] .yv .lens-wrap[data-paged] section.block.rt-in, html.anim[data-look="occult"] .yv .lens-wrap[data-paged] section.block.rt-in p { animation: none; } }
/* Ritual fixes: the title page keeps its order on phones; answers keep a gap after their numeral */
@media (max-width: 859px) { :root[data-look="occult"] .yv .home .rt-kicker { order: 1; } :root[data-look="occult"] .yv .home .rt-begin { order: 2; margin-top: 4px; } :root[data-look="occult"] .yv .home .rt-sub { order: 2; } }
:root[data-look="occult"] .yv .quiz-wrap .opts .opt { display: flex !important; align-items: center; gap: 12px; }
/* ==========================================================================================================================
   Nocturne, "Observatory" (2026-11-24): slow and explorative. Home is a night sky with a star for every lens; readings sit in a
   narrow column with lines appearing like stars; each answer in a questionnaire lights a star. Moving parts in core/sky.js.
   ========================================================================================================================== */
/* Home: the sky first, then one quiet column */
:root[data-look="observatory"] .yv .nhome { display: block !important; }
:root[data-look="observatory"] .yv .nhome > .home-banner { margin: 0 0 14px !important; }
.yv .nsky { position: relative; text-align: center; margin: 0 0 34px; }
.yv .ns-kicker { margin: 4px 0 6px; font: 500 .9375rem/1 var(--mono); letter-spacing: .14em !important; color: var(--gold); }
.yv .nsky h1 { margin: 0; }
.yv .ns-sub { margin: 10px auto 18px; max-width: 46ch; color: var(--ink-2); }
.yv .ns-view { position: relative; height: clamp(380px, 56vw, 560px); border-radius: 6px; overflow: hidden; cursor: grab; touch-action: pan-y;
  background: radial-gradient(120% 90% at 50% 0%, #121733 0%, #0A0D1E 45%, #05060D 100%);
  box-shadow: inset 0 0 0 1px rgba(212, 178, 110, .22), inset 0 0 80px rgba(0, 0, 0, .7), 0 30px 60px -30px rgba(0, 0, 0, .9); }
.yv .ns-view.dragging { cursor: grabbing; }
.yv .ns-sky { width: 100%; height: 100%; display: block; }
.yv .ns-sky.ns-anim { transition: none; }
.yv .ns-deep circle { fill: #ECE6D8; }
.yv .ns-line { fill: none; stroke: rgba(212, 178, 110, .16); stroke-width: 1; stroke-dasharray: 2 5; }
.yv .ns-line.on { stroke: rgba(243, 222, 166, .72); stroke-width: 1.3; stroke-dasharray: none; }
.yv .ns-name { font: 500 13px var(--mono); letter-spacing: .12em; fill: rgba(236, 230, 216, .45); text-transform: none; }
.yv .ns-name.all { fill: #F3DEA6; }
.yv .ns-star { cursor: pointer; outline: none; }
.yv .ns-hit { fill: transparent; }
.yv .ns-core { fill: rgba(236, 230, 216, .5); transition: r .2s ease; }
.yv .ns-star.on .ns-core { fill: #FFF4DA; }
.yv .ns-star:hover .ns-core, .yv .ns-star:focus-visible .ns-core { fill: #FFFFFF; }
.yv .ns-star:focus-visible .ns-hit { stroke: #F3DEA6; stroke-width: 1.5; }
.yv .ns-ring { fill: none; stroke: #D4B26E; stroke-width: 1.2; }
@keyframes ns-tw { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes ns-ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes ns-drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-10px, 6px); } }
html.anim .yv .ns-star.on .ns-halo { animation: ns-tw 4s ease-in-out infinite; }
html.anim .yv .ns-star.on:nth-child(3n) .ns-halo { animation-delay: -1.4s; } html.anim .yv .ns-star.on:nth-child(3n+1) .ns-halo { animation-delay: -2.6s; }
html.anim .yv .ns-ring { transform-box: fill-box; transform-origin: center; animation: ns-ring 2.4s ease-out infinite; }
html.anim .yv .ns-drift { animation: ns-drift 40s ease-in-out infinite; }
.yv .ns-tip { position: absolute; z-index: 3; transform: translate(-50%, calc(-100% - 10px)); padding: 6px 10px; border-radius: 4px; pointer-events: none; opacity: 0; transition: opacity .2s ease;
  background: rgba(13, 16, 32, .92); color: #ECE6D8; font-size: .875rem; white-space: nowrap; max-width: 80vw; overflow: hidden; text-overflow: ellipsis; box-shadow: inset 0 0 0 1px rgba(212, 178, 110, .4); }
.yv .ns-tip.on { opacity: 1; }
.yv .ns-ctl { position: absolute; right: 12px; bottom: 12px; display: grid; gap: 6px; z-index: 2; }
.yv .ns-b { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; color: #F3DEA6; background: rgba(13, 16, 32, .8); border: 1px solid rgba(212, 178, 110, .4); }
.yv .ns-b svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.yv .ns-b:hover { background: rgba(30, 36, 66, .95); }
.yv .ns-tonight { margin: 18px 0 0; font-size: 1.0625rem; color: var(--ink-2); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; }
.yv .ns-tonight b { color: var(--ink); font-weight: 600; }
:root[data-look="observatory"] .yv .nhome .home-main { max-width: 760px; margin: 0 auto; }
@keyframes ns-in { from { opacity: 0; } to { opacity: 1; } }
html.anim[data-look="observatory"] .yv #main.enter .ns-view { animation: ns-in 1.6s ease both; }
@media (prefers-reduced-motion: reduce) { .yv .ns-drift, .yv .ns-ring, .yv .ns-halo { animation: none !important; } }

/* readings: a narrow centred column; lines appear like stars as you reach them */
:root[data-look="observatory"] .yv .lens-wrap .block { max-width: 36em; margin-left: auto; margin-right: auto; }
:root[data-look="observatory"] .yv .lens-wrap .block p { line-height: 1.85; }
html.anim[data-look="observatory"] .yv .lens-wrap.nread .block p, html.anim[data-look="observatory"] .yv .lens-wrap.nread .block h3 { transition: opacity 1.2s ease, filter 1.2s ease, text-shadow 2s ease; transition-delay: calc(var(--lk, 0) * 120ms); }
html.anim[data-look="observatory"] .yv .lens-wrap.nread .block p:not(.lit), html.anim[data-look="observatory"] .yv .lens-wrap.nread .block h3:not(.lit) { opacity: 0; filter: blur(3px); }
html.anim[data-look="observatory"] .yv .lens-wrap.nread .block p.lit { text-shadow: 0 0 0 transparent; }
@media print { .yv .lens-wrap .block p, .yv .lens-wrap .block h3 { opacity: 1 !important; filter: none !important; } }

/* questionnaires: each answer lights a star */
.yv .nq { margin: 14px 0 6px; text-align: center; }
.yv .nq-sky { width: 100%; max-width: 640px; height: auto; }
.yv .nq-star { fill: rgba(236, 230, 216, .35); }
.yv .nq-star.on { fill: #FFF4DA; filter: drop-shadow(0 0 4px rgba(255, 236, 190, .95)); }
.yv .nq-star.now { fill: #D4B26E; }
@keyframes nq-now { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
html.anim .yv .nq-star.now { animation: nq-now 1.6s ease-in-out infinite; }
.yv .nq-line { fill: none; stroke: rgba(243, 222, 166, .6); stroke-width: 1; }
.yv .nq-p { margin: 4px 0 0; font-size: .875rem; color: var(--ink-2); }
:root[data-look="observatory"] .yv .quiz-wrap .progress { display: none; }
:root[data-look="observatory"] .yv .quiz-wrap h1.q { text-align: center; font-weight: 400 !important; }
:root[data-look="observatory"] .yv .quiz-wrap .opts .opt { border-radius: 2px !important; background: rgba(13, 16, 32, .6) !important; border: 1px solid rgba(212, 178, 110, .3) !important; }
:root[data-look="observatory"] .yv .quiz-wrap .opts .opt[aria-pressed="true"] { border-color: #F3DEA6 !important; box-shadow: 0 0 18px -4px rgba(243, 222, 166, .55) !important; }
/* ==========================================================================================================================
   Monograph, "Journal" (2026-11-24): scholarly and deep. Home is a journal's front page with an abstract and contents; the book
   of lenses carries page numbers; a reading has its source in the margin, numbered sections, a contents sidebar and a citation;
   questionnaires are a numbered survey; screens fade in quietly.
   ========================================================================================================================== */
/* quiet fades */
@keyframes jn-fade { from { opacity: 0; } to { opacity: 1; } }
html.anim[data-look="paper"] .yv #main.enter { animation: jn-fade .6s ease both; }
html.anim[data-look="paper"] .yv #main.enter .en { animation: none !important; }

/* Home: the front page */
:root[data-look="paper"] .yv .jhome { display: block !important; }
:root[data-look="paper"] .yv .jhome > .home-banner { margin: 0 0 18px !important; }
.yv .jn-mast { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 18px; padding: 10px 0; margin: 0 0 30px; border-top: 3px double #1F3A5F; border-bottom: 1px solid #1F3A5F;
  font-variant-caps: all-small-caps; letter-spacing: .08em; font-size: 1.0625rem; color: #1F3A5F; }
.yv .jn-mast span:first-child { font-weight: 700; }
.yv .jn-front { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 48px; align-items: start; margin-bottom: 40px; }
.yv .jn-kind { margin: 0 0 10px; font-variant-caps: all-small-caps; letter-spacing: .1em; color: var(--ink-2); font-size: 1rem; }
.yv .jhome .hub-title { font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.6rem) !important; line-height: 1.06 !important; margin: 0; }
.yv .jhome .hub-title em { font-style: italic; }
.yv .jn-by { margin: 10px 0 26px; font-style: italic; color: var(--ink-2); }
.yv .jn-abs { padding: 18px 0 4px; border-top: 1px solid var(--rule); }
.yv .jn-abs h2 { margin: 0 0 8px; font-variant-caps: all-small-caps; letter-spacing: .1em; font-size: 1.0625rem !important; color: #1F3A5F; font-weight: 700 !important; }
.yv .jn-abs p { margin: 0 0 12px; font-size: 1.125rem; line-height: 1.7; text-align: justify; hyphens: auto; max-width: 62ch; }
.yv .jn-keys { font-size: 1rem !important; color: var(--ink-2); }
.yv .jn-keys b { color: var(--ink); font-weight: 600; }
.yv .jn-go { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.yv .jn-contents { position: sticky; top: calc(var(--header-h) + 16px); }
.yv .jn-contents h2 { margin: 0 0 8px; padding-bottom: 8px; border-bottom: 2px solid #1F3A5F; font-variant-caps: all-small-caps; letter-spacing: .1em; font-size: 1.125rem !important; color: #1F3A5F; }
.yv .jn-contents ol { list-style: none; margin: 0; padding: 0; }
.yv .jn-contents button { width: 100%; display: grid; grid-template-columns: 2.6em minmax(0, 1fr) auto; align-items: baseline; gap: 6px; padding: 7px 0; border: 0; border-bottom: 1px solid var(--rule); background: none; cursor: pointer; color: var(--ink); font: inherit; text-align: left; }
.yv .jn-contents button:hover .jc-t { text-decoration: underline; text-underline-offset: 3px; }
.yv .jc-r { color: #1F3A5F; font-weight: 600; } .yv .jc-t small { display: block; color: var(--ink-2); font-size: .8125rem; font-style: italic; }
.yv .jc-p { font-variant-numeric: oldstyle-nums tabular-nums; color: var(--ink-2); }
:root[data-look="paper"] .yv .jhome .home-main { max-width: 760px; }
@media (max-width: 859px) { .yv .jn-front { grid-template-columns: 1fr; gap: 28px; } .yv .jn-contents { position: static; } :root[data-look="paper"] .yv .jhome .home-main { display: block !important; } }

/* the book of lenses: page numbers, as on a contents page */
.yv .lr-pg { display: none; }
:root[data-look="paper"] .yv .book .lr-pg { display: block; min-width: 2.2em; text-align: right; font-variant-numeric: oldstyle-nums tabular-nums; color: var(--ink-2); }

/* a reading: numbered sections, a source in the margin, a contents sidebar, a citation */
:root[data-look="paper"] .yv .lens-wrap { counter-reset: jsec; }
:root[data-look="paper"] .yv .lens-wrap section.block { counter-increment: jsec; counter-reset: jsub; }
:root[data-look="paper"] .yv .lens-wrap section.block > h2::before, :root[data-look="paper"] .yv .lens-wrap section.block .bh-t > h2::before { content: counter(jsec) ". "; color: #1F3A5F; }
:root[data-look="paper"] .yv .lens-wrap .deep-sec { counter-increment: jsub; }
:root[data-look="paper"] .yv .lens-wrap .deep-sec > h3::before { content: counter(jsec) "." counter(jsub) "\00a0\00a0"; color: #1F3A5F; font-weight: 600; font-variant-numeric: tabular-nums; }
:root[data-look="paper"] .yv .lens-wrap .deep-sec > h3 .ic, :root[data-look="paper"] .yv .lens-wrap .deep-sec > h3 svg { display: none; }
.yv .jn-src { margin: 10px auto 16px; max-width: 36em; padding: 8px 0 8px 12px; border-left: 2px solid #1F3A5F; font-size: .875rem; line-height: 1.5; color: var(--ink-2); font-style: italic; }
.yv .jn-src b { font-style: normal; font-variant-caps: all-small-caps; letter-spacing: .06em; color: #1F3A5F; }
@media (min-width: 1240px) { :root[data-look="paper"] .yv .lens-wrap { position: relative; } .yv .jn-src { position: absolute; right: -250px; top: 120px; width: 210px; margin: 0; } }
.yv .jn-toc { display: none; }
@media (min-width: 1240px) {
  .yv .jn-toc { display: block; position: fixed; left: max(16px, calc(50% - 600px)); top: calc(var(--header-h) + 90px); width: 210px; max-height: calc(100vh - var(--header-h) - 130px); overflow: auto; font-size: .875rem; scrollbar-width: thin; }
  .yv .jn-toc-h { margin: 0 0 6px; padding-bottom: 6px; border-bottom: 2px solid #1F3A5F; font-variant-caps: all-small-caps; letter-spacing: .1em; color: #1F3A5F; font-size: 1rem; }
  .yv .jn-toc ol { list-style: none; margin: 0; padding: 0; }
  .yv .jn-toc ol ol { padding-left: 10px; margin: 2px 0 6px; border-left: 1px solid var(--rule); }
  .yv .jn-toc button { width: 100%; display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; border: 0; background: none; cursor: pointer; color: var(--ink-2); font: inherit; text-align: left; line-height: 1.35; }
  .yv .jn-toc button:hover { color: var(--ink); text-decoration: underline; }
  .yv .jn-toc li.here > .jn-c { color: #1F3A5F; font-weight: 600; }
  .yv .jn-toc [aria-current="page"] { color: var(--ink); font-weight: 700; }
  .yv .jn-p { font-variant-numeric: oldstyle-nums tabular-nums; }
}
.yv .jn-cite .jn-ref { padding: 14px 18px; background: #FFFFFF; box-shadow: inset 3px 0 0 #1F3A5F, 0 10px 22px -18px rgba(31, 58, 95, .5); font-size: 1rem; line-height: 1.6; }

/* questionnaires: a numbered survey */
.yv .jq-head { display: flex; justify-content: space-between; gap: 12px; margin: 14px 0 10px; padding-bottom: 6px; border-bottom: 1px solid #1F3A5F; font-variant-caps: all-small-caps; letter-spacing: .06em; color: #1F3A5F; font-size: 1rem; }
:root[data-look="paper"] .yv .quiz-wrap .progress { height: 3px; background: var(--rule); }
:root[data-look="paper"] .yv .quiz-wrap .progress i { background: #1F3A5F; }
:root[data-look="paper"] .yv .quiz-wrap h1.q { font-weight: 500 !important; font-style: italic; }
:root[data-look="paper"] .yv .quiz-wrap h1.q::before { content: "\201C"; } :root[data-look="paper"] .yv .quiz-wrap h1.q::after { content: "\201D"; }
.yv .jq-scale { display: flex; justify-content: space-between; margin: 18px 0 6px; font-size: .875rem; font-style: italic; color: var(--ink-2); }
:root[data-look="paper"] .yv .quiz-wrap .opts.lk { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; counter-reset: lk; }
:root[data-look="paper"] .yv .quiz-wrap .opts.lk .opt { counter-increment: lk; display: grid !important; justify-items: center; align-content: start; gap: 8px; min-height: 100px; padding: 12px 4px !important;
  text-align: center; font-size: .8125rem !important; line-height: 1.25; background: #FFFFFF !important; border: 1px solid var(--rule) !important; border-radius: 0 !important; color: var(--ink) !important; }
:root[data-look="paper"] .yv .quiz-wrap .opts.lk .opt::before { content: counter(lk); display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid #1F3A5F; border-radius: 50%; font: 600 1.125rem/1 var(--serif); color: #1F3A5F; }
:root[data-look="paper"] .yv .quiz-wrap .opts.lk .opt[aria-pressed="true"] { border-color: #1F3A5F !important; }
:root[data-look="paper"] .yv .quiz-wrap .opts.lk .opt[aria-pressed="true"]::before { background: #1F3A5F; color: #FFFFFF; }
:root[data-look="paper"] .yv .quiz-wrap .opts.lk .opt:hover::before { background: color-mix(in srgb, #1F3A5F 12%, transparent); }
@media (max-width: 420px) { :root[data-look="paper"] .yv .quiz-wrap .opts.lk { gap: 4px; } :root[data-look="paper"] .yv .quiz-wrap .opts.lk .opt { font-size: .75rem !important; padding: 10px 2px !important; } :root[data-look="paper"] .yv .quiz-wrap .opts.lk .opt::before { width: 34px; height: 34px; } }
/* ==========================================================================================================================
   Monolith, "Index" (2026-11-24): fast and factual. A command bar on every screen ("/" or Ctrl+K), Home as numbers and one
   sortable table of every lens, scores first in a reading with an index of its parts, questionnaires as one form, and almost no
   motion. Moving parts in core/index.js.
   ========================================================================================================================== */
html.anim[data-look="mono"] .yv #main.enter, html.anim[data-look="mono"] .yv #main.enter .en { animation: none !important; }
:root[data-look="mono"] .shards, :root[data-look="mono"] .burst { display: none !important; }

/* the command bar */
.yv .ix-cmd { position: relative; margin: 0 0 22px; }
.yv .ix-cmd input { width: 100%; height: 50px; padding: 0 48px 0 16px; border: 2px solid #0A0A0A; border-radius: 0; background: #FFFFFF; color: #0A0A0A; font: 500 1rem var(--sans); }
.yv .ix-cmd input::placeholder { color: #595959; }
.yv .ix-cmd input:focus { outline: none; box-shadow: 6px 6px 0 #0A0A0A; }
.yv .ix-cmd kbd { position: absolute; right: 12px; top: 13px; min-width: 24px; height: 24px; display: grid; place-items: center; border: 1.5px solid #0A0A0A; font: 600 .8125rem var(--sans); }
.yv .ix-cmd ul { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; margin: 0; padding: 0; list-style: none; background: #FFFFFF; border: 2px solid #0A0A0A; border-top: 0; box-shadow: 6px 6px 0 #0A0A0A; }
.yv .ix-cmd li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 16px; cursor: pointer; border-top: 1px solid #E6E6E6; }
.yv .ix-cmd li small { color: #595959; }
.yv .ix-cmd li[aria-selected="true"], .yv .ix-cmd li:hover { background: #0A0A0A; color: #FFFFFF; } .yv .ix-cmd li[aria-selected="true"] small, .yv .ix-cmd li:hover small { color: #D9D9D9; }

/* Home: numbers, then the table */
:root[data-look="mono"] .yv .ihome { display: block !important; }
:root[data-look="mono"] .yv .ihome > .home-banner { margin: 0 0 16px !important; }
.yv .ix-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin: 0 0 18px; border-bottom: 2px solid #0A0A0A; padding-bottom: 12px; }
.yv .ix-k { margin: 0; font: 700 .875rem var(--sans); letter-spacing: .1em; }
.yv .ihome .hub-title { font-size: clamp(2rem, 1.4rem + 2vw, 3rem) !important; font-weight: 300 !important; margin: 0; }
.yv .ix-figs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 2px solid #0A0A0A; margin: 0 0 22px; }
.yv .ix-f { padding: 14px 14px 12px; display: grid; gap: 4px; align-content: start; }
.yv .ix-f + .ix-f { border-left: 1px solid #0A0A0A; }
.yv .ix-f b { font: 300 2rem/1 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.yv .ix-f span { font-size: .8125rem; font-weight: 600; color: #4D4D4D; }
@media (max-width: 859px) { .yv .ix-figs { grid-template-columns: repeat(3, minmax(0, 1fr)); } .yv .ix-f:nth-child(4) { border-left: 0; } .yv .ix-f:nth-child(n+4) { border-top: 1px solid #0A0A0A; } .yv .ix-f b { font-size: 1.5rem; } }
.yv .ihome .home-cont { margin: 0 0 22px !important; }
.yv .ix-tablebox { margin: 0 0 30px; }
.yv .ix-tbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 10px; }
.yv .ix-tbar h2 { margin: 0; font-size: 1.25rem !important; }
.yv .ix-filter { display: flex; }
.yv .ix-filter button { min-height: 40px; padding: 0 14px; border: 2px solid #0A0A0A; background: #FFFFFF; color: #0A0A0A; font: 600 .875rem var(--sans); cursor: pointer; border-radius: 0; }
.yv .ix-filter button + button { border-left: 0; }
.yv .ix-filter button[aria-pressed="true"] { background: #0A0A0A; color: #FFFFFF; }
.yv .ix-scroll { overflow-x: auto; border: 2px solid #0A0A0A; }
.yv .ix-scroll:focus-visible { outline: 3px solid #0A0A0A; outline-offset: 3px; }
.yv .ix-table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 760px; }
.yv .ix-table th, .yv .ix-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid #E6E6E6; vertical-align: top; }
.yv .ix-table thead th { position: sticky; top: 0; background: #0A0A0A; color: #FFFFFF; padding: 0; border: 0; }
.yv .ix-table thead button { width: 100%; min-height: 42px; padding: 0 12px; display: flex; align-items: center; gap: 6px; border: 0; background: none; color: inherit; font: 700 .8125rem var(--sans); letter-spacing: .04em; cursor: pointer; text-align: left; }
.yv .ix-table thead th[aria-sort="ascending"] button::after { content: "\25B2"; font-size: .625rem; } .yv .ix-table thead th[aria-sort="descending"] button::after { content: "\25BC"; font-size: .625rem; }
.yv .ix-table tbody tr:hover { background: #F3F3F3; }
.yv .ix-table tbody tr[data-open="0"] { color: #595959; }
.yv .ix-table .ix-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.yv .ix-table thead .ix-num button { justify-content: flex-end; }
.yv .ix-lens { border: 0; background: none; padding: 0; color: #0A0A0A; font: 600 .9375rem var(--sans); text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.yv .ix-res { max-width: 320px; }
:root[data-look="mono"] .yv .ihome .home-main { max-width: 760px; }

/* a reading: scores first, and an index of its parts on wide screens */
.yv .ix-side { display: none; }
@media (min-width: 1240px) {
  :root[data-look="mono"] .yv .ix-side { display: block; position: fixed; left: max(16px, calc(50% - 600px)); top: calc(var(--header-h) + 90px); width: 200px; max-height: calc(100vh - var(--header-h) - 130px); overflow: auto; border: 2px solid #0A0A0A; background: #FFFFFF; }
  .yv .ix-side-h { margin: 0; padding: 8px 12px; background: #0A0A0A; color: #FFFFFF; font: 700 .8125rem var(--sans); letter-spacing: .1em; }
  .yv .ix-side ol { list-style: none; margin: 0; padding: 0; }
  .yv .ix-side button { width: 100%; display: flex; gap: 10px; padding: 9px 12px; border: 0; border-top: 1px solid #E6E6E6; background: none; color: #0A0A0A; font: 500 .875rem/1.3 var(--sans); text-align: left; cursor: pointer; }
  .yv .ix-side button:hover { background: #0A0A0A; color: #FFFFFF; }
  .yv .ix-i { min-width: 1.4em; font-weight: 700; font-variant-numeric: tabular-nums; }
}

/* questionnaires: one form */
.yv .qf-h { margin: 8px 0 6px; font: 300 clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem)/1.1 var(--sans); letter-spacing: -.02em; }
.yv .qf-intro { margin: 0 0 20px; color: #4D4D4D; }
.yv .qform { display: grid; gap: 0; border-top: 2px solid #0A0A0A; }
.yv .qf-i { margin: 0; padding: 16px 0 18px; border: 0; border-bottom: 1px solid #D9D9D9; min-width: 0; }
.yv .qf-i legend { display: flex; gap: 12px; padding: 0; margin: 0 0 12px; font-weight: 600; font-size: 1.0625rem; line-height: 1.4; }
.yv .qf-n { flex: none; min-width: 32px; height: 26px; display: grid; place-items: center; border: 2px solid #0A0A0A; font: 700 .8125rem var(--sans); font-variant-numeric: tabular-nums; }
.yv .qf-i.done .qf-n { background: #0A0A0A; color: #FFFFFF; }
.yv .qf-o { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 44px; }
.yv .qf-o label { position: relative; cursor: pointer; }
.yv .qf-o input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.yv .qf-o span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1.5px solid #0A0A0A; font-size: .875rem; font-weight: 500; background: #FFFFFF; }
.yv .qf-o input:checked + span { background: #0A0A0A; color: #FFFFFF; }
.yv .qf-o input:focus-visible + span { outline: 3px solid #0A0A0A; outline-offset: 2px; }
.yv .qf-o label:hover span { background: #F3F3F3; } .yv .qf-o input:checked + span:hover { background: #2E2E2E; }
.yv .qf-bar { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 0; background: #FFFFFF; border-top: 2px solid #0A0A0A; z-index: 5; }
.yv .qf-count { margin: 0; }
.yv .qf-bar .btn[aria-disabled="true"] { opacity: .55; }
/* the questionnaire screen has no tab bar, so the bar sits right at the bottom of the screen (it used to be lifted 86px for a tab
   bar that is not there, and floated mid-screen with answers showing below it; Jared's iPhone screenshot, 2026-11-29). Its white
   reaches both edges of the screen so nothing shows beside it. */
@media (max-width: 559px) { .yv .qf-o { padding-left: 0; } .yv .qf-bar { bottom: 0; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 0 0 100vmax #FFFFFF; clip-path: inset(0 -100vmax); } }
.yv .ix-f:nth-child(n+5) b { font-size: 1.375rem; font-weight: 400; padding-top: .35em; overflow-wrap: normal; word-break: normal; }
@media (max-width: 859px) { .yv .ix-f:nth-child(n+5) b { font-size: 1.0625rem; } }
/* master numbers on the numerology monument (2026-11-25) */
.yv .sn-master { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0; font-weight: 600; font-size: .9375rem; }
.yv .sn-m { min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 8px; border-radius: 50%; font: 700 1.125rem/1 var(--f-display, var(--serif)); color: var(--bg); background: var(--c, var(--gold));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, var(--gold)) 30%, transparent), 0 10px 22px -10px var(--c, var(--gold)); }
@keyframes sn-glow { 0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, var(--gold)) 30%, transparent), 0 10px 22px -10px var(--c, var(--gold)); } 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--c, var(--gold)) 14%, transparent), 0 10px 26px -8px var(--c, var(--gold)); } }
html.anim .yv .sn-m { animation: sn-glow 3s ease-in-out infinite; }
:root[data-look="mono"] .yv .sn-m, :root[data-look="paper"] .yv .sn-m, :root[data-look="occult"] .yv .sn-m { border-radius: 0; box-shadow: none; animation: none; }
:root[data-look="mono"] .yv .sn-m { background: #0A0A0A; color: #FFF; } :root[data-look="paper"] .yv .sn-m { background: #1F3A5F; color: #FFF; } :root[data-look="occult"] .yv .sn-m { background: var(--gold); color: #EFE6D2; }
/* ==========================================================================================================================
   Astrology up front, and the house system (2026-11-28, Jared: "add the house system choices as well as the Venus, Mars, and
   rising and all of that"). The stage shows the chart at a glance; the Houses part has a chooser.
   ========================================================================================================================== */
.yv .as-glance { list-style: none; margin: 4px 0 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.yv .as-glance li { display: grid; justify-items: center; gap: 4px; padding: 12px 6px; text-align: center; border-radius: 14px; background: var(--surface, var(--bg)); box-shadow: inset 0 0 0 1px var(--rule), 0 10px 20px -16px rgba(0, 0, 0, .6); }
.yv .as-glance .ag-g { font: 1.375rem/1 "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols", var(--serif); color: var(--gold); }
.yv .as-glance .ag-k { font-size: .75rem; font-weight: 600; color: var(--ink-2); }
.yv .as-glance b { font: 600 1rem/1.2 var(--f-display, var(--serif)); }
.yv .as-glance li.miss b { font: 500 .75rem/1.25 var(--sans); color: var(--ink-2); }
@media (max-width: 559px) { .yv .as-glance { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
:root[data-look="mono"] .yv .as-glance li, :root[data-look="paper"] .yv .as-glance li, :root[data-look="occult"] .yv .as-glance li { border-radius: 0; box-shadow: inset 0 0 0 1px var(--rule-strong); }
:root[data-look="classic"] .yv .as-glance li { background: linear-gradient(180deg, #24202F, #1A1722); }
:root[data-look="observatory"] .yv .as-glance li { background: rgba(13, 16, 32, .8); box-shadow: inset 0 0 0 1px rgba(212, 178, 110, .3); }
.yv .house-sys { margin: 14px 0 4px; display: grid; gap: 8px; }
.yv .hs-l { margin: 0; font-weight: 600; font-size: .9375rem; }
.yv .hs-n { margin: 0; font-size: .875rem; color: var(--ink-2); max-width: 60ch; }
.yv .house-sys .seg-ctl { flex-wrap: wrap; }
/* ==========================================================================================================================
   Search in every look, and feedback (2026-11-28). A search button in the header opens a palette ("/" or Ctrl+K anywhere); in
   Monolith the bar stays inline. Every lens page ends with "Spotted something?".
   ========================================================================================================================== */
.search-btn { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px; margin-right: 8px; border: 1px solid var(--rule); border-radius: 999px; background: transparent; color: var(--ink); font: 600 .875rem var(--sans); cursor: pointer; }
.search-btn:hover { border-color: var(--gold); }
@media (max-width: 559px) { .search-btn .sb-t { display: none; } .search-btn { padding: 0 12px; margin-right: 6px; } }
:root[data-look="mono"] .search-btn, :root[data-look="paper"] .search-btn, :root[data-look="occult"] .search-btn { border-radius: 0; }
:root[data-look="mono"] .search-btn { border: 2px solid #0A0A0A; }
.ix-pal { position: fixed; inset: 0; z-index: 96; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; background: rgba(6, 5, 10, .55); }
.ix-pal[hidden] { display: none; }
body.pal-on { overflow: hidden; }
.ix-pal-card { width: min(620px, 100%); padding: 16px; background: var(--surface, var(--bg)); color: var(--ink); border-radius: 18px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .8), inset 0 0 0 1px var(--rule); }
.ix-pal .ix-cmd { margin: 0; position: relative; }
.ix-pal .ix-cmd input { width: 100%; height: 54px; padding: 0 48px 0 16px; border: 1px solid var(--rule-strong); border-radius: 12px; background: var(--bg); color: var(--ink); font: 500 1.0625rem var(--sans); }
.ix-pal .ix-cmd input:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
.ix-pal .ix-cmd kbd { position: absolute; right: 14px; top: 15px; min-width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--rule-strong); border-radius: 6px; font: 600 .8125rem var(--sans); color: var(--ink-2); }
.ix-pal .ix-cmd ul { position: static; list-style: none; margin: 10px 0 0; padding: 0; max-height: 50vh; overflow: auto; }
.ix-pal .ix-cmd li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 10px; cursor: pointer; }
.ix-pal .ix-cmd li small { color: var(--ink-2); }
.ix-pal .ix-cmd li[aria-selected="true"], .ix-pal .ix-cmd li:hover { background: color-mix(in srgb, var(--gold) 16%, transparent); }
.ix-pal-hint { margin: 10px 2px 0; font-size: .8125rem; color: var(--ink-2); }
:root[data-look="paper"] .ix-pal-card, :root[data-look="occult"] .ix-pal-card, :root[data-look="paper"] .ix-pal .ix-cmd input, :root[data-look="occult"] .ix-pal .ix-cmd input, :root[data-look="paper"] .ix-pal .ix-cmd li, :root[data-look="occult"] .ix-pal .ix-cmd li { border-radius: 0; }
:root[data-look="observatory"] .ix-pal-card { border-radius: 4px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(212, 178, 110, .35); }
.yv .fbk h2 { font-size: 1.25rem !important; }
@media (max-width: 420px) { .search-btn { padding: 0 10px; margin-right: 4px; } .help-link { margin-right: 4px !important; padding: 0 10px !important; } .bar .look-pick { padding-left: 10px; padding-right: 26px; } }

/* ==========================================================================================================================
   Plug and play (2026-11-28, Jared: new visitors were unsure where to go). The start screen asks one question first, then a
   first look at three readings with two ways on; "Guide me" walks through the Start here lenses with a bar at the top of each
   reading and a strip at the top of Home. Monograph's Home is its front page (findings, what to read next) and its Lenses page is
   the contents.
   ========================================================================================================================== */
/* the start screen */
.yv .setup-new { display: grid; gap: 56px; }
.yv .sq { max-width: 640px; }
.yv .sq .kicker { margin-bottom: 14px; }
.yv .sq-title { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem) !important; line-height: 1.04 !important; margin: 0 0 14px; }
.yv .sq-lede { margin: 0 0 26px; font-size: 1.1875rem; line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.yv .sq-form { display: grid; gap: 16px; }
.yv .sq-form > .field { margin: 0; }
.yv .sq-date label { font-size: 1.125rem; font-weight: 600; }
.yv .sq-date input { height: 58px; font-size: 1.1875rem; max-width: 340px; }
.yv .sq-form .preview { margin: 0; }
.yv .sq-form .preview[hidden] { display: none; }
.yv .sq-form > .actions { margin: 4px 0 0; }
.yv .sq-form .more-details, .yv .sq-form .codebox { margin: 0; }
.yv .sq-form .terms-note, .yv .sq-form .privacy { margin: 0; font-size: .9375rem; }
.yv .sq-about { padding-top: 32px; border-top: 1px solid var(--rule); }
.yv .sq-about > h2 { margin: 0 0 18px; font-size: 1.375rem; }
.yv .sq-about .sky { margin-top: 32px; }
@media (max-width: 559px) {
  .yv .setup-new { gap: 36px; }
  .yv .sq-title { font-size: 2.25rem !important; }
  .yv .sq-lede { font-size: 1.0625rem; margin-bottom: 18px; }
  .yv .sq-date input { max-width: none; }
  .yv .sq-form > .actions .btn { flex: 1 1 100%; }
}

/* the first look */
.yv .first-look { max-width: 1040px; }
.yv .fl-head { max-width: 640px; margin-bottom: 26px; }
.yv .fl-kick { margin: 0 0 8px; font-weight: 600; color: var(--ink-2); }
.yv .fl-title { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem) !important; line-height: 1.05 !important; margin: 0 0 12px; }
.yv .fl-lede { margin: 0; font-size: 1.1875rem; line-height: 1.55; color: var(--ink-2); }
.yv .fl-cards { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.yv .fl-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 20px 20px; border: 1px solid color-mix(in srgb, var(--c) 45%, var(--rule)); border-radius: calc(var(--radius) + 8px);
  background: color-mix(in srgb, var(--c) 9%, var(--surface)); box-shadow: 0 14px 34px -22px rgba(0, 0, 0, .6); }
.yv .fl-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--c); color: var(--bg); margin-bottom: 8px; }
.yv .fl-k { margin: 0; font-size: .9375rem; font-weight: 600; color: var(--ink-2); }
.yv .fl-h { margin: 0; font-size: 1.625rem !important; line-height: 1.15; }
.yv .fl-s { margin: 0 0 12px; color: var(--ink-2); font-size: .9375rem; line-height: 1.45; flex: 1; }
.yv .fl-card .btn { align-self: flex-start; }
.yv .fl-doors h2 { margin: 0 0 14px; font-size: 1.375rem; }
.yv .fl-door-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.yv .fl-door { display: grid; gap: 6px; padding: 20px 22px; min-height: 112px; text-align: left; border: 1px solid var(--rule-strong); border-radius: calc(var(--radius) + 8px); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.yv .fl-door b { font-size: 1.3125rem; }
.yv .fl-door span { color: var(--ink-2); line-height: 1.45; }
.yv .fl-door:hover { border-color: var(--gold); }
.yv .fl-door:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.yv .fl-guide { border: 2px solid var(--gold); background: color-mix(in srgb, var(--gold) 12%, var(--surface)); }
.yv .fl-note { margin: 14px 0 0; color: var(--ink-2); font-size: .9375rem; }
@media (max-width: 759px) { .yv .fl-cards, .yv .fl-door-row { grid-template-columns: 1fr; } .yv .fl-cards { margin-bottom: 30px; } }

/* the guide's bar on a reading and strip on Home */
.yv .guide-bar, .yv .guide-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 12px 16px; margin: 0 0 18px; border: 1px solid color-mix(in srgb, var(--gold) 55%, var(--rule)); border-radius: calc(var(--radius) + 4px);
  background: color-mix(in srgb, var(--gold) 9%, var(--surface)); }
.yv .home > .guide-strip, .yv .hub > .guide-strip { grid-column: 1 / -1; order: 0; margin-bottom: 0; }
.yv .gd-t { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.yv .gd-t b { font-weight: 700; }
.yv .gd-t span { color: var(--ink-2); }
.yv .gd-meter { flex: 1 1 120px; min-width: 100px; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 12%, transparent); overflow: hidden; }
.yv .gd-meter i { display: block; height: 100%; background: var(--gold); border-radius: inherit; }
.yv .gd-a { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.yv .gd-end .gd-t { flex: 1 1 260px; }
.yv .hcn-guide { grid-column: 1 / -1; margin: 2px 0 0; font-size: .9375rem; }
@media (max-width: 559px) { .yv .gd-a { width: 100%; } .yv .gd-a .btn { flex: 1 1 auto; } }

/* each look keeps its own manner */
:root[data-look="classic"] .yv .fl-card, :root[data-look="classic"] .yv .fl-door { border-radius: 22px; }
:root[data-look="classic"] .yv .guide-bar, :root[data-look="classic"] .yv .guide-strip { border-radius: 18px; }
:root[data-look="mono"] .yv .fl-card, :root[data-look="mono"] .yv .fl-door, :root[data-look="mono"] .yv .guide-bar, :root[data-look="mono"] .yv .guide-strip { border-radius: 0; box-shadow: none; border: 2px solid currentColor; background: transparent; }
:root[data-look="mono"] .yv .fl-guide { background: color-mix(in srgb, var(--gold) 14%, transparent); }
:root[data-look="mono"] .yv .gd-meter, :root[data-look="mono"] .yv .gd-meter i { border-radius: 0; }
:root[data-look="paper"] .yv .fl-card, :root[data-look="paper"] .yv .fl-door, :root[data-look="paper"] .yv .guide-bar, :root[data-look="paper"] .yv .guide-strip,
:root[data-look="occult"] .yv .fl-card, :root[data-look="occult"] .yv .fl-door, :root[data-look="occult"] .yv .guide-bar, :root[data-look="occult"] .yv .guide-strip { border-radius: 0; box-shadow: none; }
:root[data-look="paper"] .yv .fl-card { background: transparent; border: 0; border-top: 3px solid var(--c); padding-left: 0; padding-right: 0; }
:root[data-look="paper"] .yv .fl-ic { display: none; }
:root[data-look="paper"] .yv .fl-kick, :root[data-look="paper"] .yv .fl-k { font-variant-caps: all-small-caps; letter-spacing: .1em; font-size: 1.0625rem; }
:root[data-look="paper"] .yv .guide-bar, :root[data-look="paper"] .yv .guide-strip { background: transparent; border: 0; border-top: 1px solid #1F3A5F; border-bottom: 1px solid #1F3A5F; padding-left: 0; padding-right: 0; }
:root[data-look="paper"] .yv .gd-meter, :root[data-look="paper"] .yv .gd-meter i { border-radius: 0; height: 4px; }
:root[data-look="paper"] .yv .gd-meter i { background: #1F3A5F; }
:root[data-look="observatory"] .yv .fl-card, :root[data-look="observatory"] .yv .fl-door, :root[data-look="observatory"] .yv .guide-bar, :root[data-look="observatory"] .yv .guide-strip { border-radius: 4px; border-color: var(--hair, var(--rule)); }
:root[data-look="observatory"] .yv .fl-guide { border-color: var(--gold); }

/* Monograph's front page: findings and what to read next beside the abstract */
.yv .jn-side { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 22px; }
.yv .jn-find h2 { margin: 0 0 8px; padding-bottom: 8px; border-bottom: 2px solid #1F3A5F; font-variant-caps: all-small-caps; letter-spacing: .1em; font-size: 1.125rem !important; color: #1F3A5F; }
.yv .jn-find ol { margin: 0; padding-left: 1.4em; }
.yv .jn-find li { margin: 0 0 10px; line-height: 1.5; }
.yv .jn-find li::marker { color: #1F3A5F; font-weight: 600; }
.yv .jn-find .jf-n { color: var(--ink-2); font-style: italic; }
.yv .jn-find p { margin: 0; color: var(--ink-2); }
.yv .jn-side .home-cont { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 14px 0; margin: 0; border: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); border-radius: 0; background: none; }
.yv .jn-side .hcn-ic { display: none; }
.yv .jn-side .home-cont .btn { justify-self: start; }
.yv .jn-toc-link { margin: 0; }
@media (max-width: 859px) { .yv .jn-side { position: static; } }
/* Monograph's Lenses page: the contents */
.yv .rg-ch { display: none; }
:root[data-look="paper"] .yv .jbook .rg-ch { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 4px; font-variant-caps: all-small-caps; letter-spacing: .1em; font-size: 1.0625rem; color: #1F3A5F; font-weight: 600; }
:root[data-look="paper"] .yv .jbook .rg-ch span { font-weight: 400; color: var(--ink-2); font-variant-numeric: oldstyle-nums tabular-nums; }
:root[data-look="paper"] .yv .jbook .start { background: transparent; border: 0; border-top: 3px double #1F3A5F; border-bottom: 1px solid #1F3A5F; border-radius: 0; padding: 16px 0; }
:root[data-look="paper"] .yv .jbook .st-list { grid-template-columns: 1fr !important; gap: 0; counter-reset: jst; }
:root[data-look="paper"] .yv .jbook .st-list li { counter-increment: jst; }
:root[data-look="paper"] .yv .jbook .st-item { border: 0; border-bottom: 1px dotted var(--rule-strong); border-radius: 0; padding: 8px 0; background: none; }
:root[data-look="paper"] .yv .jbook .st-item::before { content: counter(jst) "."; min-width: 1.8em; color: #1F3A5F; font-weight: 600; font-variant-numeric: tabular-nums; }
:root[data-look="paper"] .yv .jbook .st-tick { border-radius: 0; }
:root[data-look="paper"] .yv .jbook .row-group { text-align: left; padding: 34px 0 8px; border-bottom: 2px solid #1F3A5F; }
:root[data-look="paper"] .yv .jbook .row-group .rg-q::before, :root[data-look="paper"] .yv .jbook .rg-icons { display: none !important; }
:root[data-look="paper"] .yv .jbook .row-group .rg-q { font-size: clamp(1.375rem, 3vw, 1.625rem); }
:root[data-look="paper"] .yv .jbook .row-group .rg-d { margin: 4px 0 0; max-width: 60ch; }
:root[data-look="paper"] .yv .jbook .book-head { text-align: left; }
.yv .home > .guide-strip { margin-bottom: 18px; }
.yv .fl-door { align-content: start; }
:root[data-look="paper"] .yv .jbook .row-group .rg-d, :root[data-look="paper"] .yv .jbook .book-head > * { text-align: left !important; margin-left: 0 !important; }
@media (max-width: 559px) {
  .yv .fl-cards { gap: 10px; }
  .yv .fl-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 14px 16px; }
  .yv .fl-ic { display: none; }
  .yv .fl-k, .yv .fl-h, .yv .fl-s { grid-column: 1; }
  .yv .fl-h { font-size: 1.3125rem !important; }
  .yv .fl-s { margin: 0; }
  .yv .fl-card .btn { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
}
:root[data-look="paper"] .yv .jbook .row-group { max-width: none; width: 100%; } :root[data-look="paper"] .yv .jbook .rg-ch { width: 100%; }
@media (max-width: 559px) { .yv .jn-abs p { text-align: left; hyphens: manual; font-size: 1.0625rem; } }
:root[data-look="paper"] .yv .jbook .start h2, :root[data-look="paper"] .yv .jbook .start > p { text-align: left; }

/* ==========================================================================================================================
   The Mirror's strongest themes and pulls, rebuilt (2026-11-28, Jared: "overhaul completely"). A theme says how far it reaches and
   names the lenses it shows most in; a pull sets its two sides next to each other. The deck on You folds away under the portrait.
   ========================================================================================================================== */
.yv .mx-themes { display: grid; gap: 18px; }
.yv .mx-theme { padding: 22px 24px; border: 1px solid var(--rule); border-radius: calc(var(--radius) + 6px); background: var(--surface); }
.yv .mx-theme:first-child { border-color: color-mix(in srgb, var(--gold) 60%, var(--rule)); }
.yv .mx-rank { margin: 0 0 2px; font-size: .9375rem; font-weight: 600; color: var(--ink-2); }
.yv .mx-theme h3, .yv .mx-pull h3 { margin: 0 0 6px; font-size: 1.75rem; line-height: 1.15; }
.yv .mx-d, .yv .mx-q { margin: 0 0 16px; font-size: 1.0625rem; line-height: 1.5; }
.yv .mx-reach { display: grid; gap: 8px; margin: 0 0 18px; }
.yv .mx-reach p { margin: 0; color: var(--ink-2); }
.yv .mx-bar, .yv .mx-bal { height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--ink) 12%, transparent); overflow: hidden; }
.yv .mx-bar i { display: block; height: 100%; background: var(--gold); border-radius: inherit; }
.yv .mx-h, .yv .mx-side h4 { margin: 0 0 8px; font-size: 1rem; font-weight: 700; }
.yv .mx-from { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.yv .mx-from li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 7px 0 7px 14px; border-left: 3px solid var(--c, var(--gold)); }
.yv .mx-from .link { font-weight: 600; min-height: 0; }
.yv .mx-from span { color: var(--ink-2); }
.yv .mx-intro { margin: 0 0 16px; }
.yv .mx-pulls { display: grid; gap: 18px; }
.yv .mx-pull { padding: 22px 24px; border: 1px solid var(--rule); border-radius: calc(var(--radius) + 6px); background: var(--surface); }
.yv .mx-and { font-weight: 400; color: var(--ink-2); font-size: .7em; }
.yv .mx-bal { position: relative; height: 10px; border-radius: 5px; background: color-mix(in srgb, var(--ink) 30%, transparent); }
.yv .mx-bal i { display: block; height: 100%; background: var(--gold); }
.yv .mx-bal::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; background: var(--ink); opacity: .5; }
.yv .mx-lean { margin: 8px 0 16px; font-weight: 600; }
.yv .mx-sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.yv .mx-side + .mx-side { padding-left: 20px; border-left: 1px solid var(--rule); }
.yv .mx-n { margin: -4px 0 8px; color: var(--ink-2); font-size: .9375rem; }
.yv .mx-quiet { margin: 16px 0 0; }
.yv .mx-theme .more, .yv .mx-pull .more { margin-top: 18px; }
@media (max-width: 559px) {
  .yv .mx-theme, .yv .mx-pull { padding: 18px 16px; }
  .yv .mx-sides { grid-template-columns: 1fr; gap: 14px; }
  .yv .mx-side + .mx-side { padding-left: 0; border-left: 0; padding-top: 14px; border-top: 1px solid var(--rule); }
}
/* the deck, folded */
.yv .deck-fold > summary { display: grid; gap: 4px; cursor: pointer; list-style: none; padding-right: 40px; position: relative; }
.yv .deck-fold > summary::-webkit-details-marker { display: none; }
.yv .deck-fold > summary h2 { margin: 0; }
.yv .deck-fold > summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.75rem; line-height: 1; color: var(--ink-2); }
.yv .deck-fold[open] > summary::after { content: "\2212"; }
.yv .deck-fold[open] > summary { margin-bottom: 18px; }
.yv .deck-fold > summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

/* ==========================================================================================================================
   Monograph as a research paper or assessment report (2026-11-28, Jared: "like some sort of scientific research paper or
   assessment"). A report header and abstract on every reading, a Method section on Home, the Mirror as the cross-lens analysis
   with a results table, numbered sections, and limitations before the citation. Tables are ruled the way papers rule them:
   a heavy rule above and below, a light one under the column heads, nothing between rows.
   ========================================================================================================================== */
:root[data-look="paper"] .yv .lens-wrap > .eyebrow, :root[data-look="paper"] .yv .lens-wrap > .lens-ico { display: none; }
.yv .jr-head { max-width: 760px; margin: 22px auto 28px; text-align: left; }
.yv .jr-run { width: 100%; max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 1px solid #1F3A5F;
  font-variant-caps: all-small-caps; letter-spacing: .08em; font-size: 1rem; color: #1F3A5F; font-weight: 600; }
.yv .jr-run span:last-child { font-weight: 400; color: var(--ink-2); font-variant-numeric: oldstyle-nums; }
.yv .jr-meta { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: .9375rem; line-height: 1.5; }
.yv .jr-meta caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.yv .jr-meta th { width: 8.5em; padding: 6px 14px 6px 0; text-align: left; vertical-align: top; font-weight: 600; font-variant-caps: all-small-caps; letter-spacing: .06em; font-size: 1.0625rem; color: #1F3A5F; }
.yv .jr-meta td { padding: 6px 0; vertical-align: top; }
.yv .jr-meta tr + tr th, .yv .jr-meta tr + tr td { border-top: 1px dotted var(--rule-strong); }
.yv .jr-meta tbody { border-bottom: 2px solid #1F3A5F; }
.yv .jr-abs { padding: 16px 20px; background: #FFFFFF; box-shadow: inset 3px 0 0 #1F3A5F; }
.yv .jr-abs h2, .yv .jn-meth h2 { margin: 0 0 6px !important; font-variant-caps: all-small-caps; letter-spacing: .1em; font-size: 1.0625rem !important; color: #1F3A5F; font-weight: 700 !important; }
.yv .jr-abs p { margin: 0 0 10px; font-size: 1.0625rem; line-height: 1.65; }
.yv .jr-abs p:last-child { margin-bottom: 0; }
.yv .jn-meth { padding: 14px 0 4px; border-top: 1px solid var(--rule); }
.yv .jn-meth p { margin: 0 0 12px; line-height: 1.65; max-width: 62ch; }
.yv .jn-meth b { font-variant-caps: all-small-caps; letter-spacing: .05em; color: #1F3A5F; }
.yv .jr-lim p { max-width: 62ch; line-height: 1.65; }
/* the results table */
.yv .jt { margin: 0; }
.yv .jt > figcaption { margin: 0 0 8px; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
:root[data-look="paper"] .yv .jt > figcaption::before { content: none; counter-increment: none; }
.yv .jt-scroll { overflow-x: auto; }
.yv .jt-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; font-size: 1rem; }
.yv .jt-table thead tr { border-top: 2px solid #1F3A5F; border-bottom: 1px solid #1F3A5F; }
.yv .jt-table tbody { border-bottom: 2px solid #1F3A5F; }
.yv .jt-table th, .yv .jt-table td { padding: 7px 10px; text-align: left; white-space: nowrap; }
.yv .jt-table thead th { font-weight: 600; font-variant-caps: all-small-caps; letter-spacing: .06em; font-size: 1.0625rem; color: #1F3A5F; }
.yv .jt-table tbody th { font-weight: 600; }
.yv .jt-table .num { text-align: right; }
.yv .jt-table .jt-top th, .yv .jt-table .jt-top td { background: rgba(31, 58, 95, .06); }
.yv .jt-bar { width: 32%; min-width: 80px; }
.yv .jt-bar i { display: block; height: 6px; background: #1F3A5F; }
/* numbered sections in the cross-lens analysis */
.yv .jmirror, :root[data-look="paper"] .yv #main.jmirror { counter-reset: fig jsec; }
.yv .jmirror > .section > h2::before { counter-increment: jsec; content: counter(jsec) ". "; color: #1F3A5F; }
@media (max-width: 559px) {
  .yv .jr-meta th { width: 6.5em; }
  .yv .jr-abs { padding: 14px 14px; }
  .yv .jt-table th, .yv .jt-table td { padding: 6px 6px; }
  .yv .jt-bar { display: none; }
}
.yv .jmirror .jm-meth { border-top: 0; padding-top: 0; }
.yv .jmirror .jm-meth h2 { font-variant-caps: normal; letter-spacing: 0; font-size: inherit !important; color: inherit; font-weight: 600 !important; margin: 0 0 12px !important; }
.yv .jmirror > .section, .yv .jt, .yv .jt-scroll { min-width: 0; max-width: 100%; }
@media (max-width: 400px) { .yv .jt-table th, .yv .jt-table td { padding: 6px 4px; font-size: .9375rem; } }

/* ---------- The Mirror's strongest themes and pulls, drawn differently in each look (2026-11-28) ---------- */
/* shared: a plain lens table (Monolith, Monograph) and verses (Grimoire) */
.yv .mx-lt { width: 100%; border-collapse: collapse; font-size: 1rem; }
.yv .mx-lt th, .yv .mx-lt td { padding: 8px 10px 8px 0; text-align: left; vertical-align: baseline; }
.yv .mx-lt thead th { font-weight: 600; font-size: .9375rem; color: var(--ink-2); }
.yv .mx-lt tbody th { font-weight: 600; white-space: nowrap; }
.yv .mx-lt .link { min-height: 0; font-weight: 600; text-align: left; }
.yv .mx-lt .num { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; }
.yv .mx-verse { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.yv .mx-verse li { display: block; padding-left: 30px; position: relative; line-height: 1.5; }
.yv .mx-verse .mx-vn { position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 600; }
.yv .mx-verse .link { min-height: 0; font-weight: 600; }
.yv .mx-verse i { color: var(--ink-2); }
.yv .mx-rt { margin: 0 0 18px; color: var(--ink-2); }

/* Nocturne: each theme has its own constellation; a pull is two orbs on a line, sized by each side's share */
.yv .mx-theme.mx-noc { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 8px 28px; align-items: start; border-radius: 4px; }
.yv .mx-theme.mx-noc > .more { grid-column: 1 / -1; }
.yv .mx-sky { width: 200px; height: 140px; display: block; border-radius: 4px; background: radial-gradient(ellipse at 50% 50%, color-mix(in srgb, var(--gold) 10%, transparent), transparent 70%); }
.yv .mx-sky .s-bg { fill: var(--ink); opacity: .35; }
.yv .mx-sky .s-ln { fill: none; stroke: var(--gold); stroke-width: .8; stroke-opacity: .55; }
.yv .mx-sky .s-glow { fill: var(--gold); opacity: .16; }
.yv .mx-sky .s-st { fill: var(--gold); }
.yv .mx-noc .mx-rank { color: var(--gold); letter-spacing: .04em; }
.yv .mx-pull.mx-noc { border-radius: 4px; }
.yv .mx-orbs { display: flex; align-items: center; height: 104px; margin: 4px 0 6px; padding: 0 8px; }
.yv .mx-orbs .o-a, .yv .mx-orbs .o-b { flex: none; width: calc(66px * var(--s)); height: calc(66px * var(--s)); border-radius: 50%; }
.yv .mx-orbs .o-a { background: radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--gold) 70%, #fff), var(--gold) 60%); box-shadow: 0 0 24px color-mix(in srgb, var(--gold) 45%, transparent); }
.yv .mx-orbs .o-b { border: 2px solid var(--gold); background: color-mix(in srgb, var(--gold) 12%, transparent); }
.yv .mx-orbs .o-line { flex: 1; height: 1px; margin: 0 10px; background: repeating-linear-gradient(90deg, var(--gold) 0 3px, transparent 3px 8px); opacity: .7; }

/* Prism: a big numeral in the colour of the area the theme comes from most, and a strip of every area's colour */
.yv .mx-theme.mx-pri { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 24px; border-color: color-mix(in srgb, var(--c) 55%, var(--rule)); background: color-mix(in srgb, var(--c) 7%, var(--surface)); }
.yv .mx-theme.mx-pri > .more { grid-column: 1 / -1; }
.yv .mx-pri .mx-num { font-family: var(--f-display, var(--serif)); font-size: 5.5rem; line-height: .85; font-weight: 800; color: var(--c); min-width: .7em; }
.yv .mx-spec { display: flex; height: 14px; gap: 2px; margin: 0 0 10px; border-radius: 7px; overflow: hidden; }
.yv .mx-spec i { display: block; min-width: 4px; background: var(--c); }
.yv .mx-tug { display: flex; gap: 4px; margin: 6px 0 8px; min-height: 64px; }
.yv .mx-tug span { display: flex; flex-direction: column; justify-content: center; padding: 8px 14px; background: color-mix(in srgb, var(--c) 30%, var(--surface)); border-top: 4px solid var(--c); min-width: 0; }
.yv .mx-tug span:first-child { border-radius: 10px 0 0 10px; }
.yv .mx-tug span:last-child { border-radius: 0 10px 10px 0; text-align: right; }
.yv .mx-tug b { font-size: .9375rem; font-weight: 600; overflow-wrap: anywhere; }
.yv .mx-tug em { font-style: normal; font-size: 1.75rem; font-weight: 800; line-height: 1.1; }

/* Monolith: a Swiss grid with a big number, the share as a fraction, and a pull as a ratio */
.yv .mx-theme.mx-mon, .yv .mx-pull.mx-mon { border: 0; border-top: 6px solid currentColor; border-radius: 0; background: transparent; padding: 18px 0 8px; }
.yv .mx-mh { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 24px; align-items: start; margin: 0 0 14px; }
.yv .mx-mon .mx-num { font-size: 4.5rem; line-height: .82; font-weight: 800; letter-spacing: -.04em; }
.yv .mx-mon .mx-mt .mx-d { margin: 0; }
.yv .mx-frac { margin: 0; text-align: right; line-height: 1; }
.yv .mx-frac b { display: block; font-size: 3.25rem; font-weight: 800; letter-spacing: -.03em; }
.yv .mx-frac span { font-size: .9375rem; color: var(--ink-2); }
.yv .mx-mon .mx-bar { height: 12px; border-radius: 0; margin: 0 0 10px; background: transparent; border: 2px solid currentColor; }
.yv .mx-mon .mx-bar i { background: currentColor; border-radius: 0; }
.yv .mx-mon .mx-lt thead tr, .yv .mx-mon .mx-lt tbody tr { border-bottom: 1px solid currentColor; }
.yv .mx-ratio { display: flex; align-items: baseline; gap: 10px; margin: 4px 0 8px; font-size: 4rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.yv .mx-ratio span { font-weight: 400; }
.yv .mx-mon .mx-bal { height: 16px; border-radius: 0; background: transparent; border: 2px solid currentColor; }
.yv .mx-mon .mx-bal i { background: currentColor; }
.yv .mx-mon .mx-bal::after { display: none; }
.yv .mx-mon .mx-side { border-top: 2px solid currentColor; padding-top: 10px; }
.yv .mx-mon .mx-side + .mx-side { border-left: 0; }

/* Monograph: findings with a ruled table, and pairs as a diverging bar (blue for the first theme, red for the second) */
.yv .mx-theme.mx-pap, .yv .mx-pull.mx-pap { border: 0; border-top: 1px solid #1F3A5F; border-radius: 0; background: transparent; padding: 18px 0 6px; }
.yv .mx-pap h3 .mx-rank { display: inline; font-variant-caps: normal; letter-spacing: 0; font-size: inherit; color: #1F3A5F; }
.yv .mx-cap { margin: 14px 0 6px; font-size: .9375rem; font-style: italic; color: var(--ink-2); }
.yv .mx-cap b { font-style: normal; color: var(--ink); }
.yv .mx-pap .mx-lt { font-variant-numeric: tabular-nums lining-nums; }
.yv .mx-pap .mx-lt thead tr { border-top: 2px solid #1F3A5F; border-bottom: 1px solid #1F3A5F; }
.yv .mx-pap .mx-lt tbody { border-bottom: 2px solid #1F3A5F; }
.yv .mx-pap .mx-lt thead th { color: #1F3A5F; font-variant-caps: all-small-caps; letter-spacing: .06em; font-size: 1.0625rem; }
.yv .mx-div { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; gap: 0 10px; margin: 8px 0 0; }
.yv .mx-div .dn { font-weight: 600; }
.yv .mx-div .da { display: flex; justify-content: flex-end; border-right: 2px solid var(--ink); margin-right: -10px; padding: 4px 0; }
.yv .mx-div .db { display: flex; padding: 4px 0; }
.yv .mx-div i { display: block; height: 24px; line-height: 24px; font-style: normal; font-size: .8125rem; font-weight: 600; color: #fff; padding: 0 6px; overflow: hidden; }
.yv .mx-div .da i { background: #1F3A5F; text-align: left; }
.yv .mx-div .db i { background: #A1301F; text-align: right; }
.yv .mx-pap .mx-side:first-child h4 { color: #1F3A5F; }
.yv .mx-pap .mx-side + .mx-side h4 { color: #A1301F; }

/* Grimoire: themes as verses with a red initial, and each pull as a pair of scales that leans the way you do */
.yv .mx-theme.mx-occ, .yv .mx-pull.mx-occ { border: 0; border-top: 3px double var(--ink); border-radius: 0; background: transparent; padding: 20px 0 10px; }
.yv .mx-occ .mx-rank { color: var(--gold); font-variant-caps: all-small-caps; letter-spacing: .14em; font-size: 1.0625rem; }
:root[data-look="occult"] .yv .mx-occ h3 { font-size: 2rem !important; line-height: 1.15; }
.yv .mx-occ .mx-h { font-variant-caps: all-small-caps; letter-spacing: .1em; font-size: 1.0625rem; font-weight: 600; }
.yv .mx-occ .mx-init { color: var(--gold); font-size: 1.35em; line-height: 0; }
.yv .mx-occ .mx-rt { font-style: italic; }
.yv .mx-sh { display: flex; gap: 18px; align-items: center; margin: 0 0 10px; }
.yv .mx-sh h3 { margin: 0; }
.yv .mx-sh .mx-lean { margin: 4px 0 0; font-weight: 400; font-style: italic; }
.yv .mx-scales { flex: none; width: 80px; height: 62px; }
.yv .mx-scales .sc-ln { stroke: var(--ink); stroke-width: 1.4; fill: none; }
.yv .mx-scales .sc-post, .yv .mx-scales .sc-beam { stroke-width: 2.2; }
.yv .mx-scales .sc-a { fill: var(--gold); }
.yv .mx-scales .sc-b { fill: var(--ink); }
.yv .mx-occ .mx-side + .mx-side { border-left-color: var(--gold); }
.yv .mx-occ .mx-side h4 { font-variant-caps: all-small-caps; letter-spacing: .1em; font-size: 1.0625rem; }

@media (max-width: 600px) {
  .yv .mx-theme.mx-noc { grid-template-columns: 1fr; }
  .yv .mx-sky { width: 100%; height: auto; aspect-ratio: 200 / 140; max-height: 160px; }
  .yv .mx-theme.mx-pri { gap: 0 14px; }
  .yv .mx-pri .mx-num { font-size: 3.5rem; }
  .yv .mx-mh { grid-template-columns: auto minmax(0, 1fr); }
  .yv .mx-frac { grid-column: 1 / -1; text-align: left; display: flex; align-items: baseline; gap: 8px; }
  .yv .mx-frac b { display: inline; font-size: 2.25rem; }
  .yv .mx-mon .mx-num { font-size: 3rem; }
  .yv .mx-ratio { font-size: 3rem; }
  .yv .mx-div { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 4px; }
  .yv .mx-div .dn:first-child { grid-column: 1; grid-row: 1; }
  .yv .mx-div .dn:last-child { grid-column: 2; grid-row: 1; text-align: right; }
  .yv .mx-div .da, .yv .mx-div .db { grid-row: 2; }
  .yv .mx-lt tbody th { white-space: normal; }
}

/* the header fits a 360px phone: the look picker drops its icon (2026-11-28; it stuck out by up to 26px) */
@media (max-width: 380px) { .bar__r { gap: 6px; } .look-pick { gap: 0; padding: 0 26px 0 10px; } .look-pick svg { display: none; } .look-pick::after { right: 11px; } }

/* ---------- 2026-11-28: Jared's reading and settings round ---------- */

/* Astrology: just the chart at a glance at the top now */
.yv .st-astro.st-plain { margin: 6px 0 18px; }

/* The Chinese zodiac card takes each look's colours (it was always cream paper) */
.yv .st-ink .si-paper { background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule), 0 18px 40px -26px rgba(0, 0, 0, .55); }
.yv .st-ink .si-ch { color: var(--ink); }
:root[data-look="observatory"] .yv .st-ink .si-paper { background: radial-gradient(circle at 50% 40%, #1A1830, #0B0A14 75%); box-shadow: inset 0 0 0 1px rgba(212, 178, 110, .4), 0 18px 40px -20px rgba(0, 0, 0, .8); }
:root[data-look="observatory"] .yv .st-ink .si-ch { color: #E2C58A; text-shadow: 0 0 24px rgba(212, 178, 110, .35); }
:root[data-look="observatory"] .yv .st-ink .si-seal { background: transparent; color: #E2C58A; box-shadow: inset 0 0 0 2px #E2C58A; }
:root[data-look="classic"] .yv .st-ink .si-paper { background: #1C1826; border-radius: 26px; box-shadow: inset 0 0 0 2px var(--c, #B69CFF), 0 18px 40px -20px rgba(0, 0, 0, .8); }
:root[data-look="classic"] .yv .st-ink .si-ch { color: var(--c, #B69CFF); }
:root[data-look="classic"] .yv .st-ink .si-seal { background: #FF8FC7; color: #1C1826; border-radius: 14px; }
:root[data-look="mono"] .yv .st-ink .si-paper { background: #FFFFFF; border-radius: 0; box-shadow: inset 0 0 0 3px #0A0A0A; }
:root[data-look="mono"] .yv .st-ink .si-ch { color: #0A0A0A; }
:root[data-look="mono"] .yv .st-ink .si-seal { background: #0A0A0A; color: #FFFFFF; border-radius: 0; transform: none; }
:root[data-look="paper"] .yv .st-ink .si-paper { background: #FFFFFF; border-radius: 0; box-shadow: inset 0 0 0 1px #1F3A5F; }
:root[data-look="paper"] .yv .st-ink .si-ch { color: #1F3A5F; }
:root[data-look="paper"] .yv .st-ink .si-seal { background: #A1301F; color: #FFFFFF; }
:root[data-look="occult"] .yv .st-ink .si-paper { background: #F3EBD8; border-radius: 0; box-shadow: inset 0 0 0 1px #1A120B, inset 0 0 0 6px #F3EBD8, inset 0 0 0 7px #1A120B; }
:root[data-look="occult"] .yv .st-ink .si-ch { color: #1A120B; }
:root[data-look="occult"] .yv .st-ink .si-seal { background: #8A1C10; color: #F3EBD8; }

/* "New to ...? Start here": centred, with how long it takes; the open text reads left to right as usual */
.yv details.about.explain { text-align: left; }
.yv details.about.explain > summary { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 14px 8px; min-height: 0; list-style: none; position: relative; }
.yv details.about.explain > summary::-webkit-details-marker { display: none; }
.yv details.about.explain > summary::after { display: none; }
.yv .explain .ex-q { font: inherit; }
.yv .explain .ex-go { display: inline-flex; align-items: center; gap: 10px; font: 600 .9375rem/1.2 var(--sans); color: var(--gold); padding: 8px 16px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); }
.yv .explain .ex-go::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); }
.yv .explain[open] .ex-go::after { transform: rotate(-135deg) translate(-2px, -2px); }
.yv .explain .ex-m { font-weight: 400; color: var(--ink-2); }
.yv .explain[open] > summary { border-bottom: 1px solid var(--rule); margin-bottom: 12px; }
:root[data-look="mono"] .yv .explain .ex-go, :root[data-look="paper"] .yv .explain .ex-go, :root[data-look="occult"] .yv .explain .ex-go { border-radius: 0; }
:root[data-look="paper"] .yv .explain .ex-go { color: #1F3A5F; border-color: #1F3A5F; }
:root[data-look="mono"] .yv .explain .ex-go { color: #0A0A0A; border: 2px solid #0A0A0A; }

/* The guided start: everything centred, the next step and "Stop the guide" in one centred row */
.yv .guide-bar, .yv .guide-strip { flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 16px 18px; }
.yv .guide-bar .gd-t, .yv .guide-strip .gd-t { justify-content: center; }
.yv .guide-bar .gd-meter, .yv .guide-strip .gd-meter { flex: none; width: min(100%, 420px); }
.yv .guide-bar .gd-a, .yv .guide-strip .gd-a { justify-content: center; width: auto; }
.yv .guide-bar .gd-a .btn, .yv .guide-strip .gd-a .btn { flex: 0 1 auto; justify-content: center; text-align: center; }
.yv .gd-end .gd-t { flex: none; }
:root[data-look="paper"] .yv .guide-bar, :root[data-look="paper"] .yv .guide-strip { padding: 16px 0; }
@media (max-width: 559px) { .yv .guide-bar .gd-a, .yv .guide-strip .gd-a { flex-direction: column; width: 100%; } .yv .guide-bar .gd-a .btn, .yv .guide-strip .gd-a .btn { width: 100%; } }

/* ---------- Theme audit, 2026-11-28 (Jared: "if something doesn't match the theme, color icon or anything, fix it") ---------- */
/* The Personality file (Big Five and other questionnaires) was cream paper in every look; now it takes each look's colours */
.yv .st-file .sf-paper { background: var(--sf-bg, #F4EFE3); color: var(--sf-ink, #1C1A16); }
.yv .st-file .sf-top { border-bottom-color: var(--sf-ink, #1C1A16); }
.yv .st-file .sf-sub { color: var(--sf-mu, #4A463E); }
.yv .st-file .sf-sub b { color: var(--sf-ink, #1C1A16); }
.yv .st-file .sf-bar { background: repeating-linear-gradient(90deg, var(--sf-t1, #DDD5C3) 0 6px, var(--sf-t2, #E8E1D1) 6px 12px); }
.yv .st-file .sf-bar i { background: var(--sf-bar, #1C1A16); }
.yv .st-file .sf-stamp { border-color: var(--sf-st, #A3261E); color: var(--sf-st, #A3261E); }
:root[data-look="observatory"] .yv .st-file .sf-paper { --sf-bg: #12101C; --sf-ink: #EDE6D6; --sf-mu: #A39A88; --sf-t1: #2A2636; --sf-t2: #221F2C; --sf-bar: #D4B26E; --sf-st: #E2C58A; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(212, 178, 110, .35); }
:root[data-look="classic"] .yv .st-file .sf-paper { --sf-bg: #1C1826; --sf-ink: #F5F3FB; --sf-mu: #B4AFC6; --sf-t1: #2D2838; --sf-t2: #26222F; --sf-bar: var(--c, #B69CFF); --sf-st: #FF8FC7; border-radius: 22px; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .8), inset 0 0 0 2px color-mix(in srgb, var(--c, #B69CFF) 60%, transparent); }
:root[data-look="mono"] .yv .st-file .sf-paper { --sf-bg: #FFFFFF; --sf-ink: #0A0A0A; --sf-mu: #4D4D4D; --sf-t1: #E6E6E6; --sf-t2: #F2F2F2; --sf-bar: #0A0A0A; --sf-st: #0A0A0A; border-radius: 0; box-shadow: inset 0 0 0 3px #0A0A0A; }
:root[data-look="paper"] .yv .st-file .sf-paper { --sf-bg: #FFFFFF; --sf-ink: #141414; --sf-mu: #4A4A4A; --sf-t1: #E3E8EF; --sf-t2: #EEF2F7; --sf-bar: #1F3A5F; --sf-st: #A1301F; }
:root[data-look="occult"] .yv .st-file .sf-paper { --sf-bg: #F3EBD8; --sf-ink: #1A120B; --sf-mu: #4A3F33; --sf-t1: #E2D6BC; --sf-t2: #EBE1CA; --sf-bar: #1A120B; --sf-st: #8A1C10; border-radius: 0; box-shadow: inset 0 0 0 1px #1A120B, inset 0 0 0 6px #F3EBD8, inset 0 0 0 7px #1A120B; }
/* The Maya day sign drawings are black ink on white: on the dark looks they become light lines on the night page */
:root[data-look="observatory"] .yv .fx-plate, :root[data-look="classic"] .yv .fx-plate { background: #000; border-color: color-mix(in srgb, var(--c, var(--gold)) 45%, transparent); }
:root[data-look="observatory"] .yv .fx-plate img { filter: invert(1) sepia(1) saturate(1.6) hue-rotate(-8deg) brightness(.95); mix-blend-mode: screen; }
:root[data-look="classic"] .yv .fx-plate img { filter: invert(1) sepia(1) saturate(3) hue-rotate(210deg) brightness(1.05); mix-blend-mode: screen; }
:root[data-look="classic"] .yv .fx-plate { border-radius: 22px; }
/* The birthstone and birth flower icons keep their real colours only where a look has colour to spare: Monolith draws them in black,
   Monograph in its blue, Grimoire in ink */
:root[data-look="mono"] .yv .fx-tint { color: #0A0A0A !important; }
:root[data-look="paper"] .yv .fx-tint { color: #1F3A5F !important; }
:root[data-look="occult"] .yv .fx-tint { color: #1A120B !important; }

/* ---------- The launch (2026-11-28): releases, quick takes, and "made for you" ---------- */
/* "New" on a lens released in the last two weeks, and the card on Home */
.yv .new-b { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--gold); color: var(--on-gold, var(--bg)); font: 700 .6875rem/1.4 var(--sans); letter-spacing: .04em; vertical-align: middle; }
.yv .new-card { margin: 0 0 18px; padding: 16px 18px; border: 1px solid color-mix(in srgb, var(--gold) 55%, var(--rule)); border-radius: calc(var(--radius) + 4px); background: color-mix(in srgb, var(--gold) 7%, var(--surface)); text-align: center; }
.yv .new-card .nc-k { margin: 0 0 10px; font-weight: 700; color: var(--gold); }
.yv .new-card .nc-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.yv .new-card .muted { margin: 10px 0 0; }
.yv .home > .new-card { grid-column: 1 / -1; }
:root[data-look="mono"] .yv .new-b, :root[data-look="paper"] .yv .new-b, :root[data-look="occult"] .yv .new-b { border-radius: 0; }
:root[data-look="mono"] .yv .new-card, :root[data-look="paper"] .yv .new-card, :root[data-look="occult"] .yv .new-card { border-radius: 0; }

/* The quick take at the top of a reading */
.yv .qtake { margin: 18px 0 22px; padding: 14px 20px 16px; border: 1px solid color-mix(in srgb, var(--c, var(--gold)) 40%, var(--rule)); border-left: 4px solid var(--c, var(--gold)); border-radius: var(--radius); background: color-mix(in srgb, var(--c, var(--gold)) 6%, var(--surface)); text-align: left; }
.yv .qtake > summary { cursor: pointer; font-weight: 700; min-height: 32px; display: flex; align-items: center; }
.yv .qtake ul { margin: 8px 0 0; padding: 0 0 0 18px; display: grid; gap: 8px; }
.yv .qtake li { line-height: 1.55; }
:root[data-look="mono"] .yv .qtake, :root[data-look="paper"] .yv .qtake, :root[data-look="occult"] .yv .qtake { border-radius: 0; }
:root[data-look="paper"] .yv .qtake { border-color: #1F3A5F; border-left-color: #1F3A5F; background: #FFFFFF; }

/* The first-visit questions: one at a time, big answers to tap */
.yv .tune { max-width: 640px; margin: 0 auto; padding: 28px 0 48px; text-align: center; }
.yv .tune-intro { margin: 0 0 18px; color: var(--ink-2); font-size: 1.0625rem; }
.yv .tune-k { margin: 0 0 8px; font-weight: 600; color: var(--gold); }
.yv .tune-bar { height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 12%, transparent); overflow: hidden; margin: 0 auto 26px; max-width: 360px; }
.yv .tune-bar i { display: block; height: 100%; background: var(--gold); border-radius: inherit; transition: width .3s ease; }
.yv .tune-q { margin: 0 0 24px; font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem); line-height: 1.15; }
.yv .tune-opts { display: grid; gap: 10px; }
.yv .tune-o { min-height: 56px; padding: 12px 18px; border: 1px solid var(--rule-strong, var(--rule)); border-radius: calc(var(--radius) + 4px); background: var(--surface); color: var(--ink); font: 500 1.0625rem/1.35 var(--sans); cursor: pointer; text-align: center; transition: border-color .15s, background .15s, transform .15s; }
.yv .tune-o:hover { border-color: var(--gold); }
.yv .tune-o:active { transform: scale(.98); }
.yv .tune-o[aria-pressed="true"] { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 14%, var(--surface)); }
.yv .tune-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
:root[data-look="mono"] .yv .tune-o, :root[data-look="paper"] .yv .tune-o, :root[data-look="occult"] .yv .tune-o { border-radius: 0; }
:root[data-look="mono"] .yv .tune-o { border: 2px solid #0A0A0A; }
:root[data-look="classic"] .yv .tune-o { border-radius: 18px; }

/* The reveal: four lines appear one by one */
.yv .reveal { padding-top: 60px; }
.yv .rv-steps { list-style: none; margin: 18px auto 28px; padding: 0; display: grid; gap: 10px; max-width: 360px; text-align: left; }
.yv .rv-steps li { padding-left: 30px; position: relative; color: var(--ink-2); }
.yv .rv-steps li::before { content: ""; position: absolute; left: 6px; top: .45em; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
html.anim .yv .rv-steps li { opacity: 0; animation: rv-in .5s ease forwards; }
html.anim .yv .rv-steps li:nth-child(2) { animation-delay: .6s; }
html.anim .yv .rv-steps li:nth-child(3) { animation-delay: 1.2s; }
html.anim .yv .rv-steps li:nth-child(4) { animation-delay: 1.8s; }
@keyframes rv-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* The hidden page and its quiet link */
.yv .made-list { margin: 18px 0; padding: 0 0 0 20px; display: grid; gap: 10px; font-size: 1.0625rem; line-height: 1.55; }
.yv .made-link { margin: 26px 0 0; text-align: center; font-size: .875rem; }
.yv .made-link .link { color: var(--ink-2); }
@media (max-width: 559px) { .yv .tune { padding-top: 12px; } .yv .tune-q { margin-bottom: 18px; } }

.yv .ch .ch-pnt { opacity: .8; font-size: .85em; }

/* Prism's dock sized to its tabs on wide screens (2026-11-29) */
@media (min-width: 860px) {
  :root[data-look="classic"] .yv .tabs, :root[data-look="classic"] .yv .top--mounted .tabs { width: max-content !important; max-width: calc(100vw - 32px) !important; justify-content: center; overflow: visible; }
}

/* The landing page's sky card: full width, the dial beside the list on wide screens (2026-11-29) */
.yv .sq-about .sky { max-width: none; }
@media (min-width: 720px) {
  .yv .sq-about .sky { grid-template-columns: minmax(220px, 300px) 1fr; grid-template-rows: auto 1fr; column-gap: 36px; align-items: start; align-content: start; }
  .yv .sq-about .sky > .dial-fig { grid-column: 1; grid-row: 1 / span 2; align-self: center; margin: 0; }
  .yv .sq-about .sky > .sky-h, .yv .sq-about .sky > .sky-l { grid-column: 2; }
}

/* The optional birth details, shown openly instead of folded (2026-11-29) */
.yv fieldset.more-details { margin: 4px 0 22px; border: 1px solid var(--rule); border-radius: var(--radius); padding: 6px 16px 10px; background: var(--glass); min-width: 0; }
.yv fieldset.more-details > legend { padding: 0 6px; font-weight: 600; max-width: 100%; }
.yv fieldset.more-details > legend .muted { font-weight: 400; }
:root[data-look="mono"] .yv fieldset.more-details, :root[data-look="paper"] .yv fieldset.more-details, :root[data-look="occult"] .yv fieldset.more-details { border-radius: 0; }
.yv fieldset.more-details > .md-note { margin: 0 0 12px; font-size: .9375rem; }
@media (max-width: 719px) { .yv .sq-about .sky-l { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Prism: the lens circle stays at the top of Home on every screen, straight after the greeting (Jared, 2026-11-29) */
@media (max-width: 859px) {
  :root[data-look="classic"] .yv .home .hub-side > .wheel-wrap { order: 3; margin-top: 4px !important; }
  :root[data-look="classic"] .yv .home .hub-side > .actions { order: 4; }
  :root[data-look="classic"] .yv .home .home-cont { order: 5; } :root[data-look="classic"] .yv .home .home-stats { order: 6; }
}

/* "Making your FACETS": the gem puts itself together facet by facet while the steps tick off, flashes once when it is whole,
   then the button comes in (2026-11-29). With reduced motion (and in the checks) it shows finished. */
.yv .rv-gem { width: 190px; height: 190px; margin: 0 auto 18px; }
.yv .rv-gem svg { width: 100%; height: 100%; overflow: visible; }
.yv .rv-ring { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 3 9; opacity: .8; }
.yv .rv-ring2 { fill: none; stroke: var(--rule-strong, var(--rule)); stroke-width: 1; }
.yv .rv-f { fill: var(--c); stroke: var(--bg); stroke-width: 2; stroke-linejoin: round; }
.yv .rv-fi { fill: #fff; opacity: .16; pointer-events: none; }
.yv .rv-core { fill: var(--bg); stroke: var(--gold); stroke-width: 2; }
.yv .rv-steps li::after { content: "✓"; position: absolute; left: 0; top: .1em; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: var(--bg); font: 700 12px/20px var(--sans); text-align: center; }
html.anim .yv .rv-ring { transform-box: view-box; transform-origin: 100px 100px; animation: rv-spin 14s linear infinite; }
html.anim .yv .rv-f, html.anim .yv .rv-fi { transform-box: view-box; transform-origin: 100px 100px; opacity: 0; animation: rv-facet .6s cubic-bezier(.2, .9, .25, 1.15) forwards; animation-delay: calc(var(--i) * .3s + .15s); }
html.anim .yv .rv-fi { animation-name: rv-facet-i; }
html.anim .yv .rv-core { transform-box: view-box; transform-origin: 100px 100px; animation: rv-core 2.6s ease-in-out both; }
html.anim .yv .rv-gem svg { animation: rv-flash 1s ease 2.6s both; }
html.anim .yv .rv-steps li::after { opacity: 0; animation: rv-in .3s ease forwards; animation-delay: inherit; }
html.anim .yv .rv-steps li:nth-child(1)::after { animation-delay: .55s; } html.anim .yv .rv-steps li:nth-child(2)::after { animation-delay: 1.15s; }
html.anim .yv .rv-steps li:nth-child(3)::after { animation-delay: 1.75s; } html.anim .yv .rv-steps li:nth-child(4)::after { animation-delay: 2.45s; }
/* the reveal keeps its own timing: the screen's general entrance (.en, core/motion.js) must not take over and restart it */
html.anim .yv #main.reveal .rv-gem, html.anim .yv #main.reveal.enter .rv-gem.en { animation: none; }
html.anim .yv #main.reveal .rv-t, html.anim .yv #main.reveal.enter .rv-t.en { animation: rv-in .6s ease both; }
html.anim .yv #main.reveal .rv-steps, html.anim .yv #main.reveal.enter .rv-steps.en { animation: none; }
html.anim .yv #main.reveal > .actions, html.anim .yv #main.reveal.enter > .actions.en { animation: rv-in .5s ease 2.9s both; }
@keyframes rv-spin { to { transform: rotate(360deg); } }
@keyframes rv-facet { from { opacity: 0; transform: rotate(-30deg) scale(.3); } to { opacity: 1; transform: none; } }
@keyframes rv-facet-i { from { opacity: 0; transform: rotate(-30deg) scale(.3); } to { opacity: .16; transform: none; } }
@keyframes rv-core { 0% { transform: scale(.4); } 90% { transform: scale(1); } 95% { transform: scale(1.5); } 100% { transform: scale(1); } }
@keyframes rv-flash { 0% { filter: none; transform: scale(1); } 35% { filter: brightness(1.35) drop-shadow(0 0 18px var(--gold)); transform: scale(1.06); } 100% { filter: none; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .yv .rv-gem *, .yv .rv-gem svg, .yv .rv-steps li, .yv .rv-steps li::after, .yv .reveal > .actions { animation: none !important; } }

/* The birthday greeting always comes straight after the main graphic of Home, in every look and at every width (Jared, 2026-11-29).
   In the Home that Prism and Grimoire share it sits at the foot of the left column, under the circle and Open the Mirror; on a
   phone, where the columns become one ordered list, it takes the same place as the Mirror button so it follows it. */
.yv .home .hub-side > .home-bday { margin: 22px 0 0 !important; }
@media (max-width: 859px) {
  .yv .home .hub-side > .home-bday { order: 6; margin: 0 0 18px !important; }
  :root[data-look="classic"] .yv .home .hub-side > .home-bday { order: 4; }
}
/* the birthday greeting is plain text, not a box, in every look (Jared, 2026-11-29) */
.yv .home-bday, :root[data-look] .yv .home-bday { padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
/* iPhone and iPad (Safari) draw a date or time value at the top of a fixed-height box and ignore centring for these two box types
   (Jared's screenshots, 2026-11-29). So on iOS the box gets its height from equal padding above and below the value instead of a
   fixed height. Only iOS matches this @supports; desktop browsers are untouched. */
@supports (-webkit-touch-callout: none) {
  .yv .field input[type="date"], .yv .field input[type="time"] { height: auto !important; min-height: 0; padding: 15px 16px !important; line-height: 1.4 !important; display: block; }
  .yv .sq-date input[type="date"] { padding: 16px 16px !important; }
  .yv .field input[type="date"]::-webkit-date-and-time-value, .yv .field input[type="time"]::-webkit-date-and-time-value { margin: 0; padding: 0; min-height: 1.4em; line-height: 1.4; text-align: left; }
  .yv .field input[type="date"]::-webkit-datetime-edit, .yv .field input[type="time"]::-webkit-datetime-edit { padding: 0; line-height: 1.4; }
}

/* No empty band between the end of a page and the footer (Jared, 2026-11-29: "Remove this gap completely across all pages").
   The space the fixed tab bar needs is already under the footer (.foot__in), so the page itself only needs a normal gap. */
.yv, :root[data-look] .yv { padding-bottom: 24px !important; }
.foot { margin-top: 32px; }

/* Monolith's Home (2026-11-29): centred, with the monolith (one black stone that fills from the ground up as lenses open) */
:root[data-look="mono"] .yv .ihome { text-align: center; }
:root[data-look="mono"] .yv .ihome .ix-head { justify-content: center; }
:root[data-look="mono"] .yv .ihome .home-main { max-width: 640px; margin: 0 auto; }
:root[data-look="mono"] .yv .ihome .home-bday p { margin-left: auto; margin-right: auto; }
:root[data-look="mono"] .yv .ihome .home-foot { justify-content: center; text-align: center; }
:root[data-look="mono"] .yv .ihome .home-foot p { margin-left: auto; margin-right: auto; }
.yv .mono-hero { margin: 4px auto 48px; text-align: center; }
.yv .mm-wrap { width: min(100%, 360px); margin: 0 auto; }
.yv .mm-art { display: block; width: 100%; height: auto; overflow: visible; }
.yv .mm-tally { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px; margin: 18px auto 0; max-width: 320px; }
.yv .mm-tally i { width: 10px; height: 10px; border: 1.5px solid #0A0A0A; background: transparent; }
.yv .mm-tally i.on { background: #0A0A0A; }
.yv .mm-n { margin: 18px 0 0; line-height: .9; color: #0A0A0A; font-family: var(--serif); }
.yv .mm-n b { font-weight: 300; font-size: clamp(4rem, 3rem + 4vw, 6rem); letter-spacing: -.05em; }
.yv .mm-n span { font-weight: 400; font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); letter-spacing: -.02em; margin-left: 2px; }
.yv .mono-hero .mm-cap { margin: 10px 0 0; font: 500 1rem/1.3 var(--sans) !important; letter-spacing: .02em !important; color: #4D4D4D; }
html.anim .yv .mm-stone { animation: mm-rise 1.4s cubic-bezier(.2, .7, .1, 1) both .1s; }
html.anim .yv .mm-tally i { animation: mm-fade .4s ease both; animation-delay: calc(.9s + var(--k, 0) * 40ms); }
@keyframes mm-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes mm-fade { from { opacity: 0; } to { opacity: 1; } }
:root[data-look="mono"] .yv .ihome .mono-hero { margin: 0 auto 44px !important; }
@media (min-width: 860px) { .yv .mm-wrap { width: min(100%, 440px); } }

/* ---------- 10. Simple view (2026-11-30, Jared's mom: "too complicated for old people"). The first question after Start asks Simple
   or Full; Simple is <html data-mode="simple">: big type, two tabs, Home as colour bands, the short version of each reading first.
   Every rule uses the look's own variables, so it works in all five looks. ---------- */
html[data-mode="simple"] .search-btn { display: none; }
html[data-mode="simple"] .yv .ix-cmd { display: none; }
html[data-mode="simple"] .yv #main:not(.sm) { zoom: 1.12; }
html[data-mode="simple"].big-text .yv #main:not(.sm) { zoom: 1.3; }
.yv .sm { box-sizing: border-box; max-width: 640px; margin: 0 auto; padding: 20px 20px 140px; font-size: 20px; line-height: 1.55; color: var(--ink); }
.yv .sm .sm-h1 { font-family: var(--serif); font-size: clamp(32px, 8vw, 44px); font-weight: 700; line-height: 1.12; letter-spacing: 0; margin: 10px 0 10px; text-transform: none; }
.yv .sm .sm-h2 { font-family: var(--serif); font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: 0; margin: 36px 0 12px; text-transform: none; }
.yv .sm .sm-lede { color: var(--ink-2); font-size: 20px; margin: 0 0 6px; }
.yv .sm .sm-small { color: var(--ink-2); font-size: 18px; margin: 12px 0 0; }
.yv .sm .sm-big { font-size: 22px; line-height: 1.6; margin: 0; }
.yv .sm .link { font-size: inherit; }
.yv .sm .sm-card { background: var(--surface); border: 2px solid var(--rule); border-radius: 22px; padding: 20px; margin-top: 18px; }
.yv .sm .sm-card h2, .yv .sm .sm-card h3 { font-family: var(--serif); font-size: 25px; font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none; margin: 0 0 6px; }
.yv .sm .sm-card p { margin: 0; }
.yv .sm .btn.sm-go { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 62px !important; padding: 8px 22px !important; margin-top: 16px; font-size: 21px !important; font-weight: 700 !important; line-height: 1.25; text-align: center; }
.yv .sm .btn.sm-ghost { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 58px !important; padding: 8px 22px !important; margin-top: 12px; font-size: 20px !important; font-weight: 700 !important; line-height: 1.25; text-align: center; background: transparent !important; color: var(--ink) !important; border: 2px solid var(--rule-strong) !important; box-shadow: none !important; text-transform: none; letter-spacing: 0; }
.yv .sm .sm-back { display: inline-flex; align-items: center; min-height: 52px; padding: 0 20px; margin: 0 0 14px; border: 2px solid var(--rule-strong); border-radius: 999px; background: transparent; color: var(--ink); font: 700 19px/1 var(--sans); cursor: pointer; }
.yv .sm .sm-center { text-align: center; }
.yv .sm .sm-center .link { display: inline-flex; align-items: center; min-height: 48px; }

/* the readings as colour bands, each in its lens's colour for this look; the page colour is the text colour, which every look keeps
   at 3:1 or more against its lens colours (the band text is large) */
.yv .sm .sm-bands { display: flex; flex-direction: column; gap: 10px; }
.yv .sm .sm-band { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 86px; box-sizing: border-box; padding: 14px 18px 14px 20px; border: 0; border-radius: 20px; background: var(--c); color: var(--bg); text-align: left; font: inherit; cursor: pointer; box-shadow: none; }
.yv .sm .sm-band:hover { filter: brightness(1.06); }
.yv .sm .sm-band:focus-visible, .yv .sm .sm-quiz:focus-visible, .yv .sm .sm-mode:focus-visible, .yv .sm .sm-pick button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.yv .sm .sm-band-t { display: flex; flex-direction: column; min-width: 0; }
.yv .sm .sm-band-k { margin: 0; font: 700 20px/1.3 var(--sans); letter-spacing: 0; text-transform: none; }
.yv .sm .sm-band-v { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 700; line-height: 1.15; letter-spacing: 0; text-transform: none; overflow-wrap: anywhere; }
.yv .sm .sm-band svg { flex: none; width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.yv .sm .sm-band-big { display: block; padding: 26px 24px 28px; border-radius: 26px; cursor: default; }
.yv .sm .sm-band-big:hover { filter: none; }
.yv .sm .sm-band-big .sm-band-v { font-size: clamp(44px, 12vw, 68px); line-height: 1.05; margin-top: 2px; }
.yv .sm .sm-band-s { margin: 10px 0 0; font: 700 21px/1.35 var(--sans); }

/* the quizzes still to take */
.yv .sm .sm-quizzes { display: flex; flex-direction: column; gap: 10px; }
.yv .sm .sm-quiz { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 80px; box-sizing: border-box; padding: 14px 18px 14px 20px; border: 2px solid var(--rule-strong); border-radius: 20px; background: var(--surface); color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.yv .sm .sm-quiz svg { flex: none; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.yv .sm .sm-quiz-n { display: block; font-family: var(--serif); font-size: 24px; font-weight: 700; line-height: 1.2; }
.yv .sm .sm-quiz-m { display: block; color: var(--ink-2); font-size: 18px; }

/* the first question: Simple or Full */
.yv .sm .sm-modes { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.yv .sm .sm-mode { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; width: 100%; padding: 20px; border: 3px solid var(--rule-strong); border-radius: 22px; background: var(--surface); color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.yv .sm .sm-mode:hover { border-color: var(--gold); }
.yv .sm .sm-mode-name { font-family: var(--serif); font-size: 30px; font-weight: 700; line-height: 1.2; }
.yv .sm .sm-art { display: flex; flex-direction: column; gap: 6px; width: 150px; }
.yv .sm .sm-art i { display: block; height: 12px; border-radius: 6px; }
.yv .sm .sm-art i:nth-child(1) { background: var(--l1); } .yv .sm .sm-art i:nth-child(2) { background: var(--l6); }
.yv .sm .sm-art i:nth-child(3) { background: var(--l11); } .yv .sm .sm-art i:nth-child(4) { background: var(--l16); }
.yv .sm .sm-art-full { width: 64px; height: 64px; color: var(--ink-2); }

/* the birthday in three boxes */
.yv .sm .sm-form { margin-top: 18px; }
.yv .sm .sm-date { display: grid; grid-template-columns: 4.6em minmax(0, 1fr); gap: 14px 12px; margin: 0; padding: 0; border: 0; min-width: 0; }
.yv .sm .sm-f { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; }
.yv .sm .sm-f label { font-weight: 700; font-size: 19px; color: var(--ink); }
.yv .sm .sm-f input, .yv .sm .sm-f select { box-sizing: border-box; width: 100%; min-height: 62px; padding: 0 12px; border: 2px solid var(--rule-strong); border-radius: 14px; background: var(--surface); color: var(--ink); font: 700 22px/1.2 var(--sans); }
.yv .sm .sm-f input { text-align: center; }
.yv .sm .sm-f-year { grid-column: 1 / -1; max-width: 8em; }
.yv .sm .sm-name { margin-top: 18px; }
.yv .sm .sm-name input { text-align: left; }
.yv .sm .sm-form .err { margin-top: 10px; font-size: 19px; }
.yv .sm .sm-preview { margin: 16px 0 0; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 2px solid var(--rule); font-size: 20px; }
.yv .sm .sm-preview:empty { display: none; }

/* one reading at a time after the birthday */
.yv .sm .sm-steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; margin: 8px 0 20px; }
.yv .sm .sm-steps i { display: block; height: 8px; border-radius: 4px; background: var(--rule); }
.yv .sm .sm-steps i.on { background: var(--c); }
.yv .sm .sm-count { margin: 0; font-weight: 700; }
.yv .sm .sm-tag { margin: 18px 0 0; font-family: var(--serif); font-size: 26px; font-weight: 700; line-height: 1.25; }

/* Settings */
.yv .sm .sm-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.yv .sm .sm-switch { position: relative; flex: none; width: 84px; height: 48px; padding: 0; border: 2px solid var(--rule-strong); border-radius: 999px; background: var(--panel); cursor: pointer; }
.yv .sm .sm-switch::after { content: ""; position: absolute; top: 4px; left: 4px; width: 36px; height: 36px; border-radius: 50%; background: var(--ink-2); transition: left .2s; }
.yv .sm .sm-switch[aria-checked="true"] { background: var(--gold); border-color: var(--gold); }
.yv .sm .sm-switch[aria-checked="true"]::after { left: 40px; background: var(--on-gold); }
.yv .sm .sm-state { font-weight: 700; margin: 4px 0 6px !important; }
.yv .sm-pick { display: grid; gap: 10px; margin-top: 12px; }
.yv .sm-pick.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.yv .sm-pick button { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; box-sizing: border-box; padding: 10px 16px; border: 2px solid var(--rule-strong); border-radius: 16px; background: var(--surface); color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.yv .sm-pick button[aria-pressed="true"] { border: 3px solid var(--gold); padding: 9px 15px; }
.yv .sm-pick .lk-sw { flex: none; width: 44px; height: 44px; border-radius: 12px; border: 2px solid var(--rule-strong); }
.yv .sm-pick .lk-t { display: flex; flex-direction: column; min-width: 0; }
.yv .sm-pick .lk-n { font-weight: 700; font-size: 1.05em; }
.yv .sm-pick .lk-d { color: var(--ink-2); font-size: .85em; line-height: 1.35; }
.yv .sm-pick .lk-on { margin-left: auto; flex: none; font-weight: 700; font-size: .8em; color: var(--ink); }
.yv .sm-pick.two button { justify-content: center; font-weight: 700; }

/* the tip about looks: on Home until it is hidden, in both views */
.yv .look-tip-wrap { box-sizing: border-box; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.yv .look-tip { margin: 8px 0 18px; padding: 18px 20px; border: 1px solid var(--rule); border-radius: var(--radius, 14px); background: var(--surface); color: var(--ink); }
.yv .look-tip h2 { margin: 0 0 6px; font-family: var(--serif); font-size: 1.35rem; line-height: 1.25; letter-spacing: 0; text-transform: none; }
.yv .look-tip p { margin: 0; color: var(--ink-2); }
.yv .look-tip .sm-pick { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.yv .look-tip .lt-hide { margin-top: 10px; display: inline-flex; align-items: center; min-height: 44px; }
.yv .sm .look-tip { margin: 18px 0 0; border-width: 2px; border-radius: 22px; }
.yv .sm .look-tip h2 { font-size: 25px; }
.yv .sm .look-tip .sm-pick { grid-template-columns: 1fr; }

/* the tabs: two, with words */
html[data-mode="simple"] .yv .tabs button { min-height: 56px; font-size: .95rem; letter-spacing: .02em; text-transform: none; padding: 0 26px; }
/* the Simple view switch and the looks on the full You page */
.yv .sm.sm-inline { max-width: none; margin: 0; padding: 0; font-size: inherit; }
.yv .sm.sm-inline .sm-card { margin: 0 0 18px; }
