/* Gelila's Music. A royal-blue night sky full of stars, and her music lighting it like a concert. Build a Holiday's
   type (Fraunces for the voice, Figtree for the hands) and its glowing lights.
   Layout: her name and her years, then a board of charts. Each chart answers one question, says its answer in one
   line at the top, and has its own time (all time, a year, a range) and its own genres. Nothing one chart does changes
   another. Every chart can be dragged to a new place on the board or folded away, and the board remembers. */
:root {
  --bg: #F3F5FB; --ink: #18213F; --ink-2: #4A5578; --ink-3: #7D88AA; --line: rgba(24, 33, 63, .12);
  --card: rgba(255, 255, 255, .9); --card-solid: #FFFFFF; --glass: rgba(255, 255, 255, .65); --shadow: 0 10px 34px rgba(20, 40, 110, .10);
  --hc: #2F5FE0; --hc2: #6E93FF; --hc-ink: #2348B8;
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --ui: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --sky: 0;
  --g1: #B8914F; --g2: #A07A35; --g3: #8A6A2E; --g4: #6E5222; --tg1: rgba(201, 162, 96, .45); --tg2: rgba(201, 162, 96, .25); --tg3: rgba(170, 122, 58, 0);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #030A26; --ink: #F1F5FF; --ink-2: #B4C2EA; --ink-3: #7F90C2; --line: rgba(180, 205, 255, .14);
  --card: rgba(6, 16, 58, .84); --card-solid: #0A1A55; --glass: rgba(14, 32, 92, .62); --shadow: 0 14px 44px rgba(0, 4, 20, .5);
  --hc: #4C7DFF; --hc2: #8FB4FF; --hc-ink: #A9C4FF; --sky: 1; color-scheme: dark;
  --g1: #FFF8E6; --g2: #F2E6C8; --g3: #D9B97A; --g4: #B8914F; --tg1: rgba(242, 230, 200, .7); --tg2: rgba(201, 162, 96, .75); --tg3: rgba(170, 122, 58, .45);
} }
:root[data-theme="dark"] {
  --bg: #030A26; --ink: #F1F5FF; --ink-2: #B4C2EA; --ink-3: #7F90C2; --line: rgba(180, 205, 255, .14);
  --card: rgba(6, 16, 58, .84); --card-solid: #0A1A55; --glass: rgba(14, 32, 92, .62); --shadow: 0 14px 44px rgba(0, 4, 20, .5);
  --hc: #4C7DFF; --hc2: #8FB4FF; --hc-ink: #A9C4FF; --sky: 1; color-scheme: dark;
  --g1: #FFF8E6; --g2: #F2E6C8; --g3: #D9B97A; --g4: #B8914F; --tg1: rgba(242, 230, 200, .7); --tg2: rgba(201, 162, 96, .75); --tg3: rgba(170, 122, 58, .45);
}
* { box-sizing: border-box }
[hidden] { display: none !important }
html, body { min-height: 100% }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--ui); font-size: 15px; line-height: 1.5; overflow-x: hidden }
button, select { font: inherit; color: inherit; cursor: pointer }
a { color: var(--hc-ink) }
button:focus-visible, a:focus-visible, select:focus-visible, [tabindex]:focus-visible, input:focus-visible { outline: 2px solid var(--hc2); outline-offset: 2px }

/* the night sky (dusk only), and a soft blue light drifting behind everything */
#sky, #twinkle { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: var(--sky); transition: opacity .6s }
#twinkle i { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: #fff;
  box-shadow: 0 0 6px 2px rgba(160, 196, 255, .8), 0 0 20px 7px rgba(80, 130, 255, .3); animation: tw var(--d) ease-in-out var(--dl) infinite }
#twinkle i.big::before, #twinkle i.big::after { content: ""; position: absolute; left: 50%; top: 50%; width: calc(var(--s) * 7); height: 1px;
  transform: translate(-50%, -50%); background: linear-gradient(90deg, transparent, rgba(210, 226, 255, .85), transparent) }
#twinkle i.big::after { transform: translate(-50%, -50%) rotate(90deg) }
@keyframes tw { 0%, 100% { opacity: .35; transform: scale(.75) } 50% { opacity: 1; transform: scale(1.1) } }
@media (prefers-reduced-motion: reduce) { #twinkle i { animation: none } }
#aura { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none }

.wrap { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; display: grid; gap: 18px;
  padding-left: max(clamp(16px, 3vw, 36px), env(safe-area-inset-left, 0px)); padding-right: max(clamp(16px, 3vw, 36px), env(safe-area-inset-right, 0px));
  padding-block: 16px 80px }

/* shared parts */
.ghost { background: var(--glass); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 13.5px }
.ghost.small { padding: 6px 12px; font-size: 12.5px; color: var(--ink-2) }
.ghost:hover { background: var(--card-solid); color: var(--ink) }
.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line) }
.seg button { background: transparent; border: 0; border-radius: 999px; padding: 5px 12px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap }
.seg button[aria-pressed="true"] { background: var(--card-solid); color: var(--ink); box-shadow: 0 1px 6px rgba(0, 0, 0, .18) }
h1, h2 { font-family: var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; text-wrap: balance; margin: 0 }
h2 { font-weight: 500; font-size: 24px; line-height: 1.15; letter-spacing: -.01em }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, #fff, var(--c) 55%); box-shadow: 0 0 8px color-mix(in oklab, var(--c) 60%, transparent) }
.key { font-size: 12px; color: var(--ink-3); margin: 10px 0 0; text-align: center }
.take { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 78ch; text-wrap: pretty }
.take b { color: var(--ink); font-weight: 600 }

/* top bar and the name */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px }
.top-r { display: flex; gap: 8px; margin-left: auto }
.sample { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); padding: 6px 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line) }
.sample .dot { --c: var(--hc2) }
.hero { padding-block: clamp(18px, 7vh, 72px) clamp(8px, 3vh, 28px); text-align: center; display: grid; gap: 10px; justify-items: center }
/* the title, in the Gold map's antique gold (her asks, 25 Oct): "Gelila's" as a big handwritten signature that takes up
   space (after Havana Sunset), and "Music" beneath it in the same hand, smaller. Solid gold, lit from within. */
.hero .title { margin: 0; display: grid; justify-items: center; font-weight: 400; line-height: .9; padding-inline: 4vw }
.hero .title span { background: linear-gradient(175deg, var(--g1) 0%, var(--g2) 35%, var(--g3) 70%, var(--g4) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 3px var(--tg1)) drop-shadow(0 0 14px var(--tg2)) drop-shadow(0 0 42px var(--tg3)); padding-inline: .12em }
.hero .sig { font-family: "Babylonica", cursive; font-size: clamp(84px, 15vw, 200px); transform: rotate(-7deg) translateX(-.18em); position: relative; z-index: 1 }
.hero .mus { font-family: "Babylonica", cursive; font-size: clamp(52px, 8.5vw, 112px); line-height: 1; margin: -.32em 0 0 1.6em }
.when { margin: 0; font-size: clamp(13px, 1.6vw, 16px); letter-spacing: .26em; text-transform: uppercase; font-weight: 600; color: var(--ink-2) }

/* the board: every chart is a card you can move or fold */
.board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start }
@media (max-width: 980px) { .board { grid-template-columns: minmax(0, 1fr) } }
.card { container-type: inline-size; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 18px 20px 16px; transition: box-shadow .2s }
.card[data-span="2"] { grid-column: 1 / -1 }
.card.moving { box-shadow: 0 0 0 2px var(--hc), var(--shadow); opacity: .85 }
.card-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start }
.grip, .fold { width: 32px; height: 32px; border-radius: 11px; border: 1px solid var(--line); background: var(--glass); color: var(--ink-3); display: grid; place-items: center; padding: 0 }
.grip { cursor: grab; touch-action: none } .grip:active { cursor: grabbing }
/* the shared edition: no layout or theme buttons, no handles; each card is just its title */
.fixed .top-r, .fixed .sample, .fixed .grip, .fixed .fold { display: none }
.fixed .card-head { grid-template-columns: minmax(0, 1fr) }
.grip:hover, .fold:hover { color: var(--ink) }
.grip svg { width: 12px; height: 18px; fill: currentColor }
.fold svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .2s }
.card.folded .fold svg { transform: rotate(-90deg) }
.card.folded .card-tools, .card.folded .card-body, .card.folded > .gt, .card.folded .take { display: none }
.card-tools { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin: 14px 0 8px }
.card-body { position: relative; min-width: 0; margin-top: 10px }

/* time: all time, a year, or a range */
.ts { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center }
.ts-years { display: flex; flex-wrap: wrap; gap: 4px }
.ts-years button { border: 1px solid var(--line); background: transparent; color: var(--ink-2); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums }
.ts-years button[aria-pressed="true"] { background: var(--hc); border-color: var(--hc); color: #fff; box-shadow: 0 0 14px color-mix(in oklab, var(--hc) 60%, transparent) }
.ts-range { display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--ink-3) }
.ts-range select { background: var(--glass); border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; font-size: 12.5px; font-weight: 600 }

/* genre keys: real genres; tap one off or on, double-tap to see only it */
.gt { display: flex; flex-wrap: wrap; gap: 4px; align-items: center }
.gt button { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 10px 3px 7px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--ink-3); transition: background .15s, color .15s }
.gt button[aria-pressed="true"] { color: var(--ink); background: color-mix(in oklab, var(--c) 18%, transparent); border-color: color-mix(in oklab, var(--c) 45%, transparent) }
.gt button[aria-pressed="false"] .dot { opacity: .25; box-shadow: none }
.gt .gt-all { color: var(--ink-2); border-style: dashed }
.zoomers { display: inline-flex; gap: 4px; margin-left: auto }
.zoomers button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); font-weight: 700; font-size: 15px; line-height: 1; display: grid; place-items: center; padding: 0 }
.zoomers button:hover { background: var(--card-solid) }

/* the map */
.mapbox { position: relative; border-radius: 18px; overflow: hidden; background: color-mix(in oklab, var(--bg) 40%, transparent) }
#map { display: block; width: 100% }
#map.over { cursor: pointer }
.map-detail { position: absolute; top: 12px; right: 12px; width: min(290px, calc(100% - 24px)); max-height: calc(100% - 24px); overflow: auto; padding: 14px; border-radius: 16px;
  background: var(--card-solid); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px }
.map-detail .x, .acard .x { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); padding: 0; line-height: 1 }
.map-detail .t { font-family: var(--display); font-size: 21px; font-weight: 500; line-height: 1.15; padding-right: 28px; font-variation-settings: "SOFT" 100 }
.map-detail .m { color: var(--ink-2); font-weight: 600; margin: 2px 0 8px; font-variant-numeric: tabular-nums }
.map-detail .say { margin: 8px 0 0; color: var(--ink-2) }
.map-detail ol { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 2px }
.map-detail li button { width: 100%; display: flex; gap: 7px; align-items: center; background: none; border: 0; padding: 4px 6px; border-radius: 8px; text-align: left }
.map-detail li button:hover { background: var(--glass) }
.map-detail li span:last-child { margin-left: auto; color: var(--ink-3); font-variant-numeric: tabular-nums }

/* everyone you love, as lights */
.stage { position: relative; border-radius: 20px; overflow: hidden; background: radial-gradient(ellipse at center, color-mix(in oklab, var(--hc) 10%, transparent), transparent 70%) }
#galaxy { display: block; width: 100%; cursor: default; touch-action: manipulation }
#galaxy.over { cursor: pointer }

/* the Gelila Charts: two calm columns, a pearl beside each name as big as its hours */
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px }
.list > li { border-radius: 14px }
.list .rowline { display: flex; align-items: center }
.list .row { flex: 1; min-width: 0; position: relative; isolation: isolate; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; text-align: left; background: none; border: 0; padding: 9px 8px; border-radius: 14px }
.list .row:hover .bar { filter: brightness(1.25) }
.list .rk { font-family: var(--display); font-size: 20px; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; text-align: right }
/* the bar: a soft shade of the genre's colour, as long as the hours, glowing faintly; never a solid block */
.list .bar { position: absolute; z-index: -1; left: 46px; top: 4px; bottom: 4px; width: calc((100% - 46px - 84px) * var(--w)); min-width: 6px; border-radius: 12px;
  background: linear-gradient(90deg, color-mix(in oklab, var(--c) 52%, transparent), color-mix(in oklab, var(--c) 16%, transparent));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c) 34%, transparent), 0 0 24px color-mix(in oklab, var(--c) 20%, transparent);
  transform-origin: left; animation: barGrow .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 45ms) }
@keyframes barGrow { from { transform: scaleX(0); opacity: 0 } }
@media (prefers-reduced-motion: reduce) { .list .bar { animation: none } }
.list .nm { min-width: 0; display: grid; line-height: 1.25; padding-left: 12px }
.list .nm b { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 8px rgba(0,0,0,.35) }
.list .nm small { color: var(--ink-2); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.list .mn { font-size: 13px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 72px; text-align: right }
.list .more { padding: 2px 12px 12px 58px; display: flex; flex-wrap: wrap; gap: 6px }
.sp-link { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-3); text-decoration: none; flex: none }
.sp-link:hover { color: var(--ink); background: var(--glass) }
.sp-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2 }
.empty { color: var(--ink-3); font-size: 14px; padding: 8px }
.mix { display: flex; height: 6px; border-radius: 3px; overflow: hidden; gap: 1px }
.mix span { background: var(--c) }

/* the Eras Tour: stops on a glowing route */
.slider { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-3); font-weight: 600 }
.slider input { width: 130px; accent-color: var(--hc) }
h2 em { font-style: italic; color: var(--hc-ink) }
.tour { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(92px, 1fr)); overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 4px 10px; margin-inline: -4px }
.tour::before { content: ""; position: absolute; left: 40px; right: 40px; top: 70px; height: 2px; border-radius: 1px; background: var(--route); opacity: .55;
  box-shadow: 0 0 12px rgba(120, 160, 255, .5); min-width: calc(var(--n) * 92px - 80px) }
.stop { position: relative; display: grid; justify-items: center; align-content: start; gap: 4px; background: none; border: 0; padding: 8px 4px 10px; border-radius: 18px; scroll-snap-align: start; text-align: center }
.stop:hover { background: color-mix(in oklab, var(--c) 9%, transparent) }
.stop[aria-pressed="true"] { background: color-mix(in oklab, var(--c) 15%, transparent) }
.stop .when { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--ink-3); text-transform: uppercase; white-space: nowrap }
.stop .pearl-box { height: 76px; display: grid; place-items: center }
.stop .pearl { width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(255,255,255,.92), color-mix(in oklab, var(--c) 55%, #fff) 22%, var(--c) 66%, color-mix(in oklab, var(--c) 55%, #000) 100%);
  box-shadow: 0 0 calc(var(--s) * .6) color-mix(in oklab, var(--c) 55%, transparent), inset 0 0 0 1px rgba(255,255,255,.14); transition: transform .3s }
.stop:hover .pearl, .stop[aria-pressed="true"] .pearl { transform: scale(1.08) }
.stop .name { font-family: var(--display); font-style: italic; font-size: 16px; line-height: 1.1; font-variation-settings: "SOFT" 100; color: color-mix(in oklab, var(--c) 45%, var(--ink)) }
.stop .star { font-size: 11.5px; color: var(--ink-3); line-height: 1.25; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.tour-stop { margin-top: 8px; padding: 20px 22px; border-radius: 22px; display: grid; gap: 10px;
  background: radial-gradient(ellipse at top left, color-mix(in oklab, var(--c) 18%, transparent), transparent 70%), var(--glass); border: 1px solid color-mix(in oklab, var(--c) 30%, var(--line)) }
.tour-stop .kicker { margin: 0; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-3) }
.tour-stop h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.05; font-variation-settings: "SOFT" 100, "WONK" 1; color: color-mix(in oklab, var(--c) 40%, var(--ink)) }
.tour-stop .line { margin: 0; color: var(--ink-2); max-width: 70ch }
.tour-stop .line b { color: var(--ink) }
.fams { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12.5px; color: var(--ink-2) }
.fams .fam { display: inline-flex; align-items: center; gap: 6px; font-weight: 600 }
.cast { display: flex; flex-wrap: wrap; gap: 6px }
.chip-btn { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--line); background: var(--glass); border-radius: 999px; padding: 4px 10px 4px 7px; font-size: 12.5px; font-weight: 600 }
.chip-btn:hover { background: var(--card-solid) }
.chip-btn small { color: var(--ink-3); font-weight: 600 }

/* twelve years of good taste, and who sends Gelila what */
.mx { overflow-x: auto; margin-inline: -4px; padding-inline: 4px }
#years { display: block; margin: 0 auto }
#years text { font-family: var(--ui) }
#years .yl { font-size: 13px; font-weight: 700; fill: var(--ink-2); font-variant-numeric: tabular-nums }
#years .ys { font-size: 10px; font-weight: 600; fill: var(--ink-3) }
#years .rl { font-size: 12.5px; font-weight: 600; fill: var(--ink) }
#years .rowbg { fill: transparent } #years g.r:hover .rowbg { fill: color-mix(in oklab, var(--hc) 9%, transparent) }
#years .crown { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1.2; stroke-dasharray: 2 3 }
#years .p { cursor: default }

/* meeting an artist */
.veil { position: fixed; inset: 0; z-index: 25; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: color-mix(in oklab, var(--bg) 70%, transparent); overflow-y: auto; overscroll-behavior: contain }
.acard { position: relative; width: min(560px, 100%); border-radius: 26px; padding: 26px 24px 22px; background: var(--card-solid); border: 1px solid var(--line);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--c) 30%, transparent), 0 30px 80px rgba(0, 0, 0, .45), 0 0 80px color-mix(in oklab, var(--c) 25%, transparent); display: grid; gap: 12px }
.acard .orb { width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--c) 50%, color-mix(in oklab, var(--c) 40%, #000) 100%); box-shadow: 0 0 34px var(--c) }
.acard .who { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; padding-right: 28px }
.acard h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 30px; line-height: 1.05; font-variation-settings: "SOFT" 100, "WONK" 1 }
.acard .from { color: var(--ink-2); font-size: 14px; margin-top: 4px }
.acard .vibe { margin: 0; font-family: var(--display); font-style: italic; font-size: 19px; line-height: 1.35; color: color-mix(in oklab, var(--c) 40%, var(--ink)); font-variation-settings: "SOFT" 100 }
.acard .story { margin: 0; color: var(--ink-2) }
.acard .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px }
.acard .stat { padding: 10px 12px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line) }
.acard .stat b { display: block; font-family: var(--display); font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums }
.acard .stat span { font-size: 12px; color: var(--ink-3) }
.acard .goat { margin: 0; font-size: 14px; color: var(--ink-2); border-left: 2px solid var(--c); padding-left: 12px }
.acard .tracks { margin: 0; padding: 0; list-style: none; display: grid; gap: 3px; font-size: 13.5px }
.acard .tracks li { display: flex; gap: 8px } .acard .tracks li span:last-child { margin-left: auto; color: var(--ink-3); font-variant-numeric: tabular-nums }
.acard .months { width: 100%; height: 40px; display: block }
.acard .src { font-size: 12px; color: var(--ink-3) }
.acard h4 { margin: 4px 0 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3) }

.foot { text-align: center; color: var(--ink-3); font-size: 13px; margin: 6px auto 0; max-width: 70ch }

/* tooltip and toast */
.tip { position: fixed; z-index: 30; pointer-events: none; min-width: 170px; max-width: 290px; padding: 11px 13px; border-radius: 15px;
  background: var(--card-solid); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; line-height: 1.4 }
.tip .t { font-family: var(--display); font-size: 17px; font-weight: 500; font-variation-settings: "SOFT" 100; line-height: 1.15 }
.tip .m { color: var(--ink-2); font-weight: 600; font-variant-numeric: tabular-nums; margin: 2px 0 6px }
.tip .hint { color: var(--ink-3); font-size: 12px; margin-top: 6px }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; max-width: calc(100% - 32px) }

/* Gelila's Clock and Seasons */
.square { display: grid; place-items: center }
#clock { display: block; max-width: 100% }
.week { display: flex; justify-content: center; gap: 14px; margin-top: 8px; flex-wrap: wrap }
.week .day { display: grid; justify-items: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--ink-3); text-transform: uppercase }
.week .day i { width: var(--s); height: var(--s); border-radius: 50%; margin-top: calc((32px - var(--s)) / 2);
  background: radial-gradient(circle at 34% 30%, rgba(255,255,255,.92), #9DB8FF 24%, #4C7DFF 68%, #1E3A99 100%); box-shadow: 0 0 calc(var(--s) * .6) rgba(76,125,255,.5) }

/* on repeat, first loves */
#repeat, #firsts, #artistTime { display: block; margin: 0 auto }
#repeat text, #firsts text, #artistTime text { font-family: var(--ui) }
#repeat .gl, #firsts .gl { stroke: var(--line); stroke-dasharray: 2 4 }
#repeat .gy, #repeat .gx, #firsts .gx { font-size: 11px; font-weight: 600; fill: var(--ink-3) }
#repeat .lb, #firsts .lb { font-size: 12px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: var(--card-solid); stroke-width: 3px }
#firsts .rl { font-size: 12.5px; font-weight: 600; fill: var(--ink-2) }
#repeat .p, #firsts .p { cursor: pointer; transition: opacity .2s }
#repeat .p:hover, #firsts .p:hover { filter: brightness(1.25) }

/* Gelila abroad */
#abroadMap { display: block; width: 100% }
#journeys { margin-top: 12px }
.tour-stop .sub-h { margin: 6px 0 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3) }
.tour-stop .tracks { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px }
.tour-stop .tracks button { width: 100%; display: flex; gap: 8px; align-items: center; background: none; border: 0; padding: 5px 8px; border-radius: 10px; text-align: left; font-size: 13.5px }
.tour-stop .tracks button:hover { background: var(--glass) }
.tour-stop .tracks span:last-child { margin-left: auto; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap }

/* the constellation */
#constellation { display: block; width: 100%; cursor: default; touch-action: none }
#constellation.over { cursor: grab }

/* Gelila Wrapped */
.wrapped-card { background: radial-gradient(ellipse at 80% 0%, rgba(108,91,212,.35), transparent 60%), radial-gradient(ellipse at 0% 100%, rgba(176,58,97,.25), transparent 60%), var(--card) }
.wrapped-card .card-body { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between }
.wrap-pick { display: flex; flex-wrap: wrap; gap: 6px }
.wrap-pick button { border: 1px solid var(--line); background: var(--glass); color: var(--ink-2); border-radius: 999px; padding: 6px 13px; font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums }
.wrap-pick button[aria-pressed="true"] { background: var(--hc); border-color: var(--hc); color: #fff; box-shadow: 0 0 18px color-mix(in oklab, var(--hc) 60%, transparent) }
.go { border: 0; border-radius: 999px; padding: 14px 28px; font-weight: 700; font-size: 16px; color: #fff; background: linear-gradient(120deg, #6C5BD4, #4C7DFF 60%, #B03A61); box-shadow: 0 8px 30px rgba(76,125,255,.45) }
.go:hover { filter: brightness(1.08) }
.wrap-story { position: fixed; inset: 0; z-index: 35; background: #01040F; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; justify-items: center; gap: 10px;
  padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)) }
.story-bars { display: flex; gap: 4px; width: min(560px, 100%) }
.story-bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.2); overflow: hidden }
.story-bars i b { display: block; height: 100%; width: 0; background: #fff }
.story-bars i.done b { width: 100% }
.story-bars i.now b { animation: storybar 7s linear forwards }
@keyframes storybar { to { width: 100% } }
@media (prefers-reduced-motion: reduce) { .story-bars i.now b { animation: none; width: 100% } }
#wrapCanvas { height: 100%; max-height: calc(100dvh - 110px); max-width: 100%; aspect-ratio: 4 / 5; width: auto; border-radius: 18px; box-shadow: 0 20px 80px rgba(40,80,255,.25); cursor: pointer }
.story-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center }
.story-nav .ghost { color: #E6ECFF; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18) }

/* ---------- round four ---------- */
.go.small { padding: 8px 18px; font-size: 13.5px; box-shadow: 0 4px 18px rgba(76,125,255,.35) }
.go[aria-pressed="true"] { background: linear-gradient(120deg, #3E4C9C, #4C7DFF) }

/* the aura */
.aura-grid { display: grid; gap: 18px; align-items: center }
@container (min-width: 760px) { .aura-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) } }
.aura-box { display: grid; place-items: center; min-width: 0; overflow: hidden }
.aura-stage { position: relative; display: grid; place-items: center }
.aura-stage canvas { display: block; cursor: crosshair }
.aura-axes { position: absolute; inset: 0; pointer-events: none }
.aura-axes span { position: absolute; transform: translate(-50%, -50%); font-size: 10.5px; font-weight: 700; letter-spacing: .04em; color: color-mix(in oklab, var(--c) 45%, var(--ink)); opacity: .75; white-space: nowrap; text-shadow: 0 1px 6px rgba(0,0,0,.5) }
.aura-read { margin-top: 0 }
.aura-read .mixline { margin: 0; color: var(--ink-2) }
.aura-read .cast, .season .cast { display: flex; flex-wrap: wrap; gap: 6px }
.aura-read .sub-h { margin: 4px 0 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3) }
.aura-strip { display: flex; gap: 6px; overflow-x: auto; padding: 14px 2px 6px; scroll-snap-type: x proximity }
.aura-strip button { flex: 0 0 auto; display: grid; justify-items: center; gap: 2px; background: none; border: 1px solid transparent; border-radius: 16px; padding: 6px 6px 8px; scroll-snap-align: start }
.aura-strip button:hover { background: var(--glass) }
.aura-strip button[aria-pressed="true"] { background: var(--glass); border-color: var(--line) }
.aura-strip span { font-size: 11.5px; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums }
/* on a phone the small auras sit in rows of four instead of a sideways strip */
@media (max-width: 560px) { .aura-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible } .aura-strip button { justify-self: center } }
#auraYear { margin: -4px 0 10px }

/* the eras: one line through time, an aura for each era */
.era-scroll { overflow-x: auto; padding: 4px 0 6px; margin-inline: -4px }
.era-track { position: relative; height: 196px; min-width: 100% }
.era-line { position: absolute; left: 24px; right: 24px; top: 62px; height: 2px; border-radius: 1px; opacity: .6; box-shadow: 0 0 12px rgba(140,180,255,.25) }
.era-year { position: absolute; top: 180px; transform: translateX(-50%); font-size: 10.5px; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums }
.era { position: absolute; top: 24px; transform: translateX(-50%); display: grid; justify-items: center; gap: 2px; width: 92px; background: none; border: 0; padding: 0 0 6px; border-radius: 18px; text-align: center }
.era canvas { display: block; transition: transform .25s, filter .25s }
.era:hover canvas, .era[aria-pressed="true"] canvas { transform: scale(1.12); filter: brightness(1.2) }
.era[aria-pressed="true"] { background: color-mix(in oklab, var(--c) 12%, transparent) }
.era .name { font-family: var(--display); font-style: italic; font-size: 15px; line-height: 1.1; font-variation-settings: "SOFT" 100; color: color-mix(in oklab, var(--c) 45%, var(--ink)); margin-top: -4px }
.era .when { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; color: var(--ink-3); text-transform: uppercase; white-space: nowrap }
.era .star { font-size: 11px; color: var(--ink-3); max-width: 88px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }

/* the clock and its bars */
.clock-grid { display: grid; gap: 22px; align-items: start }
@container (min-width: 760px) { .clock-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) } }
.hourbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px }
.hourbars li { display: grid; grid-template-columns: 62px minmax(0, 1fr) 44px; gap: 10px; align-items: center; padding: 2px 4px; border-radius: 10px; cursor: pointer }
.hourbars li:hover { background: var(--glass) }
.hourbars .hr { font-size: 11.5px; font-weight: 700; color: var(--ink-3); text-align: right; font-variant-numeric: tabular-nums }
.hourbars .track { position: relative; height: 19px; display: flex; align-items: center }
.hourbars .bar, .sbars .bar { position: absolute; left: 0; top: 0; bottom: 0; width: calc(100% * var(--w)); min-width: 3px; border-radius: 8px;
  background: linear-gradient(90deg, color-mix(in oklab, var(--c) 55%, transparent), color-mix(in oklab, var(--c) 18%, transparent));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c) 34%, transparent), 0 0 16px color-mix(in oklab, var(--c) 18%, transparent);
  transform-origin: left; animation: barGrow .8s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 20ms) }
.hourbars .g { position: relative; padding-left: 8px; font-size: 11.5px; font-weight: 600; color: var(--ink); white-space: nowrap; text-shadow: 0 1px 6px rgba(0,0,0,.4) }
.hourbars .n { font-size: 11.5px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums }
.tip .who { margin-top: 6px; line-height: 1.6 } .tip .who small { color: var(--ink-3) }
@media (prefers-reduced-motion: reduce) { .hourbars .bar, .sbars .bar { animation: none } }

/* the seasons */
.seasons { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) }
.season { padding: 16px 16px 14px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(var(--t), .10), rgba(var(--t), 0) 70%), var(--glass); display: grid; gap: 8px; align-content: start }
.season .kicker { margin: 0; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: rgba(var(--t), .85) }
.season h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 26px; line-height: 1 }
.season .tot { margin: 0; font-size: 13px; color: var(--ink-3); font-weight: 600 }
.sbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px }
.sbars li { position: relative; display: flex; align-items: center; justify-content: space-between; height: 24px; padding: 0 8px }
.sbars .g, .sbars .n { position: relative; font-size: 12px; font-weight: 600 }
.sbars .g { color: var(--ink); text-shadow: 0 1px 6px rgba(0,0,0,.4) } .sbars .n { color: var(--ink-3); font-variant-numeric: tabular-nums }

/* on repeat: stems of light */
#repeat .gy.big { font-size: 13.5px; font-weight: 700; fill: var(--ink-2) }
#repeat .gy.cap { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase }
#repeat .stem { stroke-width: 1.4; stroke-opacity: .55; stroke-linecap: round }
#repeat .lolly { cursor: pointer }
#repeat .lolly:hover .stem { stroke-opacity: 1; stroke-width: 2 }
#repeat .lolly:hover .p { filter: brightness(1.3) }

/* first listens: one line */
#firsts .fl-line { stroke: var(--ink-3); stroke-opacity: .5; stroke-width: 1.5 }
#firsts .fl-lit { fill: #8FB4FF; fill-opacity: .28 }
#firsts .fl { cursor: pointer }
#firsts .lead { stroke: var(--c); stroke-opacity: .5; stroke-width: 1 }
#firsts .dotp { stroke: rgba(255,255,255,.7); stroke-width: 1.2; filter: drop-shadow(0 0 6px var(--c)) }
#firsts .fn { font-size: 12.5px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: var(--card-solid); stroke-width: 3px }
#firsts .fs { font-size: 10.5px; font-weight: 600; fill: var(--ink-3); paint-order: stroke; stroke: var(--card-solid); stroke-width: 3px }
#firsts .fl:hover .fn { fill: color-mix(in oklab, var(--c) 35%, var(--ink)) }

/* Gelila and one artist */
#artistName .link { background: none; border: 0; padding: 0; font: inherit; color: color-mix(in oklab, var(--c) 40%, var(--ink)); cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: color-mix(in oklab, var(--c) 60%, transparent) }
.seg.wrap { flex-wrap: wrap; border-radius: 20px }
.seg.wrap button { display: inline-flex; gap: 6px; align-items: center }
.find { border: 1px solid var(--line); background: var(--glass); color: var(--ink); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 13px; min-width: 180px }
.find::placeholder { color: var(--ink-3) }
#artistTime .band { fill: var(--ink); fill-opacity: .03 }
#artistTime .gx { font-size: 11px; font-weight: 600; fill: var(--ink-3) }
#artistTime .yt { font-size: 11px; font-weight: 700; fill: var(--ink-2); font-variant-numeric: tabular-nums }
#artistTime .gl { stroke: var(--line) }
#artistTime .mbar { cursor: pointer }
#artistTime .mbar:hover { filter: brightness(1.35) }

/* ---------- round five: ten more ---------- */
.time-slider { flex: 1 1 220px; min-width: 160px; accent-color: #8FB4FF }
.pair { display: grid; gap: 18px; align-items: center }
@container (min-width: 760px) { .pair { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) } }
.pair .tour-stop { margin-top: 0 }

/* the universe */
.uni-stage { position: relative; border-radius: 22px; overflow: hidden; background: radial-gradient(ellipse at center, #0A1650 0%, #030820 70%) }
.uni-stage:fullscreen { border-radius: 0; height: 100vh !important }
.uni-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y }
.uni-stage canvas.over { cursor: pointer }
.uni-hud { position: absolute; left: 18px; bottom: 14px; display: grid; gap: 2px; pointer-events: none }
.uni-hud b { font-family: var(--display); font-weight: 500; font-size: clamp(20px, 3vw, 32px); color: #F1F5FF; text-shadow: 0 2px 18px rgba(0,0,0,.6) }
.uni-hud span { font-size: 12.5px; font-weight: 600; color: rgba(225,232,255,.75) }

/* rings, year in light, spiral, globe */
#rings, #yearlight, #spiral, #globe { display: block; max-width: 100% }
#rings, #spiral { cursor: pointer }
#globe { cursor: grab; touch-action: pan-y }
.globe-hud { display: grid; gap: 6px; align-content: center }
.globe-hud .kicker { margin: 0; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-3) }
.globe-hud h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(32px, 5vw, 54px); line-height: 1 }
.globe-hud p { margin: 0; color: var(--ink-2) }
#ylYears { margin-bottom: 4px }

/* the tapestry */
#tapestry { display: block; cursor: crosshair }

/* evergreens and marathons */
#evergreens, #marathons, #explorer { display: block; margin: 0 auto }
#evergreens text, #marathons text, #explorer text { font-family: var(--ui) }
#evergreens .gx, #explorer .gx { font-size: 11px; font-weight: 600; fill: var(--ink-3) }
#evergreens .ev, #marathons .mar { cursor: pointer }
#evergreens .hit, #marathons .hit { fill: transparent }
#evergreens .ev:hover .hit, #marathons .mar:hover .hit, #marathons .mar.open .hit { fill: rgba(255,255,255,.035) }
#evergreens .thread { stroke-width: 2; stroke-opacity: .35; stroke-linecap: round }
#evergreens .ev:hover .thread { stroke-opacity: .8 }
#evergreens .nm, #marathons .nm { font-size: 13px; font-weight: 700; fill: var(--ink) }
#evergreens .sub, #marathons .sub { font-size: 11px; font-weight: 600; fill: var(--ink-3) }
#evergreens .yrs { font-size: 12px; font-weight: 700; fill: var(--ink-2); font-variant-numeric: tabular-nums }
#marathons .string { fill: none; stroke: rgba(200,215,255,.22); stroke-width: 1 }
#marathons circle:hover { filter: brightness(1.4) }

/* the explorer */
#explorer .gl { stroke: var(--line); stroke-dasharray: 2 4 }
#explorer .gy { font-size: 11px; font-weight: 600; fill: var(--ink-3) }
#explorer .gy.cap { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase }
#explorer .tideline { fill: none; stroke: #BFD3FF; stroke-width: 2; filter: drop-shadow(0 0 6px rgba(143,180,255,.7)) }
#explorer .veil { fill: var(--ink); fill-opacity: .04 }
#explorer .met { fill: #8FB4FF; fill-opacity: .55 }
#explorer .peak { stroke: #fff; stroke-width: 1.2; filter: drop-shadow(0 0 6px rgba(255,255,255,.6)) }
#explorer .lb { font-size: 12px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: var(--card-solid); stroke-width: 3px }
#explorer .hitall { fill: transparent; cursor: crosshair }

/* the record collection */
.records { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(176px, calc(50% - 6px)), 1fr)); gap: 14px 10px }
.record { display: grid; justify-items: center; gap: 4px; background: none; border: 1px solid transparent; border-radius: 20px; padding: 10px 6px 12px; text-align: center }
.record:hover, .record[aria-pressed="true"] { background: color-mix(in oklab, var(--c) 10%, transparent); border-color: var(--line) }
.record canvas { display: block; border-radius: 50%; box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 26px color-mix(in oklab, var(--c) 25%, transparent) }
.record b { font-size: 13px; font-weight: 700; line-height: 1.25; max-width: 168px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 6px }
.record small { font-size: 11.5px; color: var(--ink-3) }
#recRead .sbars, #ringRead .cast { margin-top: 4px }

.aura-strip canvas, .era canvas { cursor: pointer }

/* pointing at a colour in the aura: its genre's name lights up, the others step back */
.aura-axes span { transition: opacity .3s, color .3s }
.aura-axes.focusing span { opacity: .25 }
.aura-axes.focusing span.on { opacity: 1; color: color-mix(in oklab, var(--c) 25%, #fff); font-size: 12px }

/* the genre keys, folded: one pill with a dot per genre */
.gt .gt-toggle { gap: 8px; padding: 4px 10px 4px 8px; color: var(--ink-2); background: var(--glass); border: 1px solid var(--line) }
.gt .gt-toggle svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s }
.gt .gt-toggle.less svg { transform: rotate(180deg) }
.gt .gt-toggle:hover { color: var(--ink) }
.gt-dots { display: inline-flex; gap: 3px }
.gt-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 6px color-mix(in oklab, var(--c) 60%, transparent) }
.gt-dots i.off { opacity: .2; box-shadow: none }

/* an open genre key: its own soft tray, with room below it, so it never crowds the chart */
.gt.gt-open { padding: 8px; margin-bottom: 10px; border-radius: 16px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); animation: keyIn .25s ease both }
@keyframes keyIn { from { opacity: 0; transform: translateY(-4px) } }
@media (prefers-reduced-motion: reduce) { .gt.gt-open { animation: none } }

/* the record sleeve: slides out beside the shelf and stays in view while she scrolls; below the shelf on a phone */
.rec-wrap { display: grid; gap: 16px; align-items: start }
@container (min-width: 760px) { .rec-wrap.has-sleeve { grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr) } }
.sleeve { position: relative; margin-top: 0; animation: sleeveIn .35s cubic-bezier(.2, .8, .2, 1) both }
@container (min-width: 760px) { .sleeve { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto } }
.sleeve .x { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); color: var(--ink-2); padding: 0; line-height: 1; font-size: 18px }
.sleeve .x:hover { color: var(--ink) }
.sleeve h3 { padding-right: 34px }
@keyframes sleeveIn { from { opacity: 0; transform: translateX(18px) } }
@media (prefers-reduced-motion: reduce) { .sleeve { animation: none } }

/* the constellations: a line for each, and the chosen one's reading beside them */
.con-wrap { margin-top: 14px }
.con-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 6px }
.con-wrap.has-sleeve .con-groups { grid-template-columns: 1fr }
.con-g { display: flex; gap: 12px; align-items: center; text-align: left; background: none; border: 1px solid transparent; border-radius: 16px; padding: 9px 12px }
.con-g:hover { background: color-mix(in oklab, var(--c) 9%, transparent) }
.con-g[aria-pressed="true"] { background: color-mix(in oklab, var(--c) 14%, transparent); border-color: color-mix(in oklab, var(--c) 35%, transparent) }
.con-g .glow { flex: none; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle, color-mix(in oklab, var(--c) 40%, #fff) 0%, var(--c) 35%, transparent 72%); box-shadow: 0 0 18px color-mix(in oklab, var(--c) 55%, transparent) }
.con-g .t { display: grid; line-height: 1.3; min-width: 0 }
.con-g b { font-size: 13.5px; font-weight: 700 }
.con-g small { font-size: 12px; color: var(--ink-3) }
#conRead .sub-h { margin: 4px 0 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3) }
#conRead .cast { display: flex; flex-wrap: wrap; gap: 6px }

/* constellations through time: a timeline in each line, and the reading's months and seasons */
.con-g .t { flex: 1 }
.con-g .spark { display: block; width: 100%; height: 26px; margin-top: 4px }
.con-time { display: block; width: 100%; height: 80px }
.con-time text { font: 600 9px Figtree, system-ui, sans-serif; fill: var(--ink-3) }
.seasons-mini { gap: 3px } .seasons-mini li { height: 22px }

/* the page on the right: slides in over a dimmed page (the artist card still opens above it) */
.drawer { position: fixed; inset: 0; z-index: 24; pointer-events: none }
.drawer-back { position: absolute; inset: 0; background: rgba(2, 6, 24, .55); opacity: 0; transition: opacity .35s }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); overflow-y: auto; overscroll-behavior: contain; padding: 30px 28px 40px;
  background: radial-gradient(120% 60% at 100% 0%, color-mix(in oklab, var(--c) 26%, transparent), transparent 70%), var(--card-solid);
  border-left: 1px solid var(--line); box-shadow: -30px 0 80px rgba(0, 0, 0, .45); transform: translateX(104%); transition: transform .45s cubic-bezier(.2, .8, .2, 1) }
.drawer.is-open { pointer-events: auto }
.drawer.is-open .drawer-back { opacity: 1 }
.drawer.is-open .drawer-panel { transform: none }
.drawer-x { position: sticky; top: 0; float: right; margin: -12px -10px 0 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); color: var(--ink-2); font-size: 20px; line-height: 1; padding: 0; z-index: 2 }
.drawer-x:hover { color: var(--ink) }
.drawer-body { display: grid; gap: 14px }
.drawer-body .kicker { margin: 0; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-3) }
.drawer-body h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(28px, 4vw, 40px); line-height: 1.05; font-variation-settings: "SOFT" 100, "WONK" 1; color: color-mix(in oklab, var(--c) 30%, var(--ink)) }
.drawer-body .line { margin: 0; color: var(--ink-2); line-height: 1.55 }
.drawer-body .line b { color: var(--ink) }
.drawer-body .sub-h { margin: 6px 0 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3) }
.drawer-body .cast { display: flex; flex-wrap: wrap; gap: 6px }
.drawer-nav { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px }
@media (prefers-reduced-motion: reduce) { .drawer-panel, .drawer-back { transition: none } }

/* a record's page: the record large and turning, then its songs as clean rows */
.rec-hero { display: grid; justify-items: center; gap: 6px; margin: 4px 0 6px }
.rec-hero canvas { display: block; border-radius: 50%; box-shadow: 0 18px 50px rgba(0, 0, 0, .55), 0 0 60px color-mix(in oklab, var(--c) 30%, transparent) }
.rec-pre { margin: 0; font-size: 13px; color: var(--ink-3) }
.tracks-x { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px }
.tracks-x li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; padding: 8px 6px; border-radius: 12px }
.tracks-x li:hover { background: color-mix(in oklab, var(--c) 9%, transparent) }
.tracks-x .n { font-family: var(--display); font-size: 15px; color: var(--ink-3); text-align: right; font-variant-numeric: tabular-nums; line-height: 1.35 }
.tracks-x .nm { font-size: 14px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere }
.tracks-x .nm i { display: block; height: 3px; margin-top: 6px; border-radius: 2px; width: calc(100% * var(--w)); min-width: 6px;
  background: linear-gradient(90deg, color-mix(in oklab, var(--c) 85%, #fff), color-mix(in oklab, var(--c) 30%, transparent)); box-shadow: 0 0 10px color-mix(in oklab, var(--c) 45%, transparent) }
.tracks-x .p { font-size: 12.5px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.6 }

/* the first map as a globe: drag to turn it */
#map.globe { cursor: grab; touch-action: pan-y }
#map.globe:active { cursor: grabbing }


/* the music timeline always fits: no sideways scrolling */
.era-scroll { overflow: visible }
.era-track { width: 100% }
.era { width: var(--gap) }
.era-track.compact .era .star { display: none }
.era-track.compact .era .name { font-size: 13px }
.era-track.tiny .era .name, .era-track.tiny .era .when { display: none }
.era-track.tiny { height: 130px } .era-track.tiny .era-year { top: 114px }

/* one artist: the quick picks and the search on one line */
.card[data-id="artist"] .card-tools { flex-wrap: wrap; align-items: center }
.card[data-id="artist"] .find { flex: 1 1 200px; max-width: 320px }

#map.network { cursor: pointer }
