
.ch-seg { display: flex; gap: 4px; padding: 3px; border-radius: 10px; background: var(--bg-alt); }
.ch-seg button { flex: 1; height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--text-3); font: 600 14.5px var(--f-body); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ch-seg button[aria-pressed="true"] { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.14); }
#chList.my > :not(.ch-head):not(.ch-seg):not(#chMy) { display: none !important; }
#chList:not(.my) > #chMy { display: none !important; }
.zsm-who { margin: -4px 0 0; font-size: 14px; color: var(--text-3); }
.zsm-wheel { width: 100%; max-width: 520px; margin: 0 auto; }
.zsm-wheel svg { display: block; width: 100%; height: auto; }
.zsm-wheel .pl-hit { cursor: pointer; }
.zsm-lab { margin: 6px 0 -6px; font: 600 12px var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
/* the Currently row, one row in the list shape (2026-10-17) */
.zsm-today { border-color: var(--accent); }
.zsm-crow { display: flex; align-items: center; padding-right: 14px; }
.zsm-crow .zsm-prow { flex: 1; min-width: 0; padding-right: 8px; }
.zsm-crow > svg { flex: none; width: 16px; height: 16px; margin-left: 10px; color: var(--accent); pointer-events: none; }
.zsm-jmini { flex: none; height: 26px; padding: 0 11px; border: 1px solid var(--accent); border-radius: 13px; background: transparent; color: var(--accent);
  font: 600 12px var(--f-body); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.zsm-jmini:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.zsm-today .zsm-note { padding: 0 14px 12px; margin: 0; }
.zsm-note textarea { width: 100%; box-sizing: border-box; margin-top: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-size: 15px; resize: vertical; }
.zsm-notes { display: flex; flex-direction: column; }
.zsm-nrow { position: relative; padding: 10px 28px 10px 0; border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.zsm-nrow small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.zsm-nrow p { margin: 4px 0 0; font-size: 15px; line-height: 1.45; white-space: pre-wrap; }
.zsm-nx { position: absolute; right: 0; top: 8px; background: none; border: 0; color: var(--text-3); font-size: 20px; cursor: pointer; }
.zsm-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.zsm-plist { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: var(--card); overflow: hidden; }
.zsm-prow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; border-top: 1px solid var(--line); background: transparent;
  color: var(--text); font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.zsm-prow:first-child { border-top: 0; }
.zsm-prow:hover { background: var(--bg-alt); }
.zsm-prow .pg { flex: none; width: 24px; height: 24px; }
/* the sign next to each placement (2026-10-06, Emilian: "Next to each planet place the sign they're in") */
.zsm-spd { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.zsm-spd-r { display: grid; grid-template-columns: 70px 1fr auto; align-items: baseline; gap: 10px; font-size: 15px; }
.zsm-spd-r > span:first-child { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.zsm-spd-r b { font: 600 17px/1.25 var(--f-display); }
.zsm-spd-r .num { font-size: 13.5px; color: var(--text-3); }
.zsm-spd-u { margin: 4px 0 0; font-size: 13.5px; color: var(--text-3); }
.zsm-ic { position: relative; flex: none; display: inline-flex; align-items: center; }
.zsm-ss { position: absolute; bottom: -6px; left: 21px; display: flex; gap: 1px; font: italic 600 14px/1 var(--f-display); pointer-events: none; }
.zsm-s-birth { color: var(--st); }
.zsm-s-sky { color: var(--accent); }
.zsm-pn b .zsm-sg { display: inline-block; width: 17px; height: 17px; vertical-align: -2px; margin-left: 2px; }
.zsm-pn { flex: 1; min-width: 0; }
.zsm-pn b { display: block; font: 600 18px/1.2 var(--f-display); }
.zsm-pn small { display: block; font-size: 13px; color: var(--text-3); }
.zsm-chev { flex: none; width: 14px; height: 14px; color: var(--text-3); }
/* Aspect figures and Aspects in Profile (2026-10-12, Emilian) */
.zsm-aic { flex: none; display: inline-flex; align-items: center; gap: 1px; min-width: 64px; }
.zsm-aic .pg { width: 20px; height: 20px; }
.zsm-aic .kind { font-size: 14px; margin: 0 2px; color: var(--text-3); }
.zsm-aic .zsm-cj { width: 15px; height: 15px; margin: 0 3px; color: var(--text-3); flex: none; }
.zsm-aic .zsm-an { font: 600 15px/1 var(--f-num, "EB Garamond", serif); letter-spacing: .02em; color: var(--accent); }
.zsm-aic .kind.hard { color: var(--hard); }
.zsm-aic .kind.soft { color: var(--soft); }
.zsm-arow .zsm-pn b { font-size: 17px; }
.zsm-fig { flex: none; width: 92px; height: 92px; margin: -10px -4px -10px -10px; overflow: visible; }
.zsm-fig .pg { width: 14px; height: 14px; }
.zsm-arow .zsm-pn small { line-height: 1.4; }
.zsm-arow.on { background: var(--bg-alt); }
.zsm-wheel :is([data-planet], [data-pp]) { transition: opacity .32s cubic-bezier(.32,.72,0,1); }
.zsm-wheel .zs-tdim { opacity: .01 !important; }
/* an aspect's encyclopedia page (2026-10-12, Emilian) */
.zap-hero .zap-syms { display: inline-flex; align-items: center; flex: none; }
.zap-hero .zap-syms .pg { width: 30px; height: 30px; }
.zap-hero .zap-syms .kind { font-size: 20px; margin: 0 3px; color: var(--text-3); }
.zap-hero .zap-syms .kind.hard { color: var(--hard); } .zap-hero .zap-syms .kind.soft { color: var(--soft); }
.zsm-hero.zap-hero { flex-direction: column; align-items: flex-start; gap: 10px; }
.zsm-hero.zap-hero h2 { font-size: 36px; line-height: 1.05; text-wrap: balance; }
/* the same spacing as the labels on Profile, 22px above and 6px to the card (2026-10-17, Emilian: "Padding is off here") */
#zsmBody .zsm-lab.zap-lab { margin: 22px 0 6px; }
.zap-thr { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--text); }
.zap-soon { color: var(--text-3); }
.zap-ln { padding: 10px 10px 10px 16px; border-top: 1px solid var(--line); }
.zap-ln:first-child { border-top: 0; }
.zap-lr { display: flex; align-items: center; gap: 6px; }
.zap-lt { flex: 1; min-width: 0; font: 500 17px/1.3 var(--f-display); }
.zap-mk { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--text-3); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .25s, color .25s, border-color .25s; }
.zap-mk svg { width: 15px; height: 15px; }
.zap-ln.yes .zap-y { background: var(--accent); border-color: var(--accent); color: var(--card); }
.zap-ln.no .zap-n { border-color: var(--text-3); color: var(--text); }
.zap-ln.no .zap-lt { color: var(--text-3); }
.zap-add, .zap-evt { display: block; margin: 6px 0 0; padding: 0; border: 0; background: none; color: var(--accent); font: 500 14px var(--f-body); text-align: left; cursor: pointer; }
.zap-evt { color: var(--text-2); font: italic 400 15px/1.4 var(--f-display); }
.zap-ev { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; margin: 8px 0 2px; }
.zap-ev textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-alt); color: var(--text); font: 15px/1.4 var(--f-body); resize: vertical; }

@media (prefers-reduced-motion: reduce) { .zsm-wheel :is([data-planet], [data-pp]) { transition: none; } }
.zsm-empty { padding: 18px 16px; border: 1px dashed var(--line); border-radius: 16px; text-align: center; color: var(--text-3); font-size: 15px; line-height: 1.45; }
.zsm-empty .zsm-pills { justify-content: center; margin-top: 12px; }
.zsm-sample { display: inline-block; padding: 2px 8px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent);
  font: 600 11px var(--f-body); letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; }

/* the planet page: slides in over Charts, and back out the same way */
.zsm { position: fixed; inset: 0; z-index: 38; background: var(--bg); display: flex; flex-direction: column; overscroll-behavior: contain;
  padding: calc(18px + var(--sat, 0px)) 0 calc(var(--tab-h, 62px) + env(safe-area-inset-bottom, 0px) + 6px); }
.zsm[hidden] { display: none !important; }
.zsm-in { flex: 1; min-height: 0; overflow-y: auto; width: 100%; max-width: 560px; margin: 0 auto; padding: 0 16px 28px; scrollbar-width: none; }
.zsm-in::-webkit-scrollbar { display: none; }
.zsm-top { width: 100%; max-width: 560px; margin: 0 auto; }
.zsm-hero { display: flex; align-items: center; gap: 14px; margin: 2px 0 6px; }
.zsm-hero > .pg { width: 46px; height: 46px; flex: none; }
.zsm-hero .zsm-sg { width: 17px; height: 17px; vertical-align: -3px; }
.zsm-hero h2 { margin: 0; font: 500 40px/1 var(--f-display); }
.zsm-hero p { margin: 4px 0 0; font-size: 15px; color: var(--text-2); }
.zsm-hero .num { font: 500 17px var(--f-num); }
.zsm-sec { margin: 22px 0 0; }
.zsm-sh { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 10px; }
.zsm-sh h3 { margin: 0; font: 600 12px var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.zsm-link { border: 0; background: transparent; color: var(--accent); font: 600 14px var(--f-body); cursor: pointer; padding: 4px 0; }
.zsm-note { margin: 0 0 10px; font-size: 14px; line-height: 1.45; color: var(--text-3); }
.zsm-tl { display: flex; flex-direction: column; gap: 8px; }
.zsm-tr { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.zsm-tr .ic { flex: none; display: inline-flex; align-items: center; gap: 2px; }
.zsm-tr .ic .pg { width: 19px; height: 19px; }
.zsm-tr .ic .kind { font-size: 14px; color: var(--accent); margin: 0 2px; }
.zsm-tr .tx { flex: 1; min-width: 0; }
.zsm-tr .tx b { display: block; font: 600 16px/1.25 var(--f-display); }
.zsm-tr .tx small { display: block; font-size: 12.5px; color: var(--text-3); }
.zsm-ph { flex: none; font: 600 11.5px var(--f-body); padding: 3px 9px; border-radius: 10px; border: 1px solid var(--line); color: var(--text-2); white-space: nowrap; }
.zsm-ph.ap { border-color: var(--accent); color: var(--accent); }
.zsm-ph.st { border-color: var(--rx); color: var(--rx); }
.zsm-w { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--accent); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; }
.zsm-w svg { width: 15px; height: 15px; }
.zsm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.zsm-chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card);
  color: var(--text); font: 14.5px var(--f-body); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.zsm-chip[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }
.zsm-chip .x { display: none; width: 18px; height: 18px; margin-right: -6px; border-radius: 50%; background: var(--bg-alt); color: var(--text-3); font-size: 13px; line-height: 18px; text-align: center; }
.zsm.editing .zsm-chip .x { display: inline-block; }
.zsm-chip.add { border-style: dashed; color: var(--text-3); }
.zsm-chipin { height: 36px; width: 160px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--accent); background: var(--card); color: var(--text); font: 14.5px var(--f-body); }
.zsm-memo { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s cubic-bezier(.32,.72,0,1), margin .3s cubic-bezier(.32,.72,0,1); }
.zsm-memo.open { grid-template-rows: 1fr; margin-top: 10px; }
.zsm-memo > div { min-height: 0; overflow: hidden; }
.zsm-mem { padding: 11px 14px; margin-bottom: 8px; border-left: 2px solid var(--accent); border-radius: 0 14px 14px 0; background: var(--card); }
.zsm-mem small { display: block; font-size: 12px; color: var(--text-3); }
.zsm-mem p { margin: 3px 0 0; font: italic 400 17px/1.4 var(--f-display); }
.zsm-cl { display: flex; flex-direction: column; gap: 8px; }
.zsm-c { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.zsm-c.confirm { border-color: var(--hard); }
.zsm-ct { font-size: 15.5px; line-height: 1.45; outline: none; border-radius: 6px; }
.zsm-ct[contenteditable="true"] { box-shadow: 0 0 0 1px var(--accent); padding: 2px 4px; margin: -2px -4px; }
.zsm-src { display: block; margin-top: 4px; font-size: 12px; color: var(--text-3); }
.zsm-tools { display: none; flex: none; gap: 4px; }
.zsm.editing .zsm-tools { display: flex; }
.zsm-ib { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text-3); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; }
.zsm-ib svg { width: 14px; height: 14px; }
.zsm-conf { display: flex; gap: 8px; margin-top: 8px; }
.zsm-conf button { height: 32px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--text-2); font: 13.5px var(--f-body); cursor: pointer; }
.zsm-conf .del { border-color: var(--hard); color: var(--hard); }
.zsm-el { display: flex; flex-direction: column; gap: 8px; }
.zsm-e { padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.zsm-je { display: block; width: 100%; text-align: left; font: inherit; color: var(--text); cursor: pointer; }   /* a journal entry about this planet; opens it in the Journal (2026-10-31) */
.zsm-je + .zsm-je { margin-top: 10px; }
.zsm-e small { display: block; font-size: 12.5px; color: var(--text-3); }
.zsm-e b { display: block; margin-top: 3px; font: 600 17px/1.25 var(--f-display); }
.zsm-e p { margin: 4px 0 0; font-size: 14.5px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zsm-share { border: 1px solid var(--line); border-radius: 18px; background: var(--card); overflow: hidden; }
.zsm-sw { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); }
.zsm-sw:first-child { border-top: 0; }
.zsm-sw span { flex: 1; font-size: 15px; }
.zsm-sw span small { display: block; font-size: 12.5px; color: var(--text-3); }
.zsm-tg { flex: none; position: relative; width: 48px; height: 28px; border-radius: 999px; border: 0; background: var(--line); cursor: pointer; transition: background .25s ease; }
.zsm-tg::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--card);
  box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .25s cubic-bezier(.32,.72,0,1); }
.zsm-tg[aria-checked="true"] { background: var(--accent); }
.zsm-tg[aria-checked="true"]::after { transform: translateX(20px); }
@media (prefers-reduced-motion: reduce) { .zsm-memo, .zsm-tg, .zsm-tg::after { transition: none; } }

/* Chart style line under the top menu, phones and the app (2026-10-04) */
.cs-line { display: none; }
@media (max-width: 760px) { html:not(.embed) .cs-line { display: block; } }
html.app:not(.embed) .cs-line { display: block; }
.cs-line { position: fixed; z-index: 30; top: calc(var(--tb-h, 64px) + 2px); left: 16px; }
/* tucked just under the top menu's bubble (2026-10-07, Emilian: "1st chart shoud go up just below the top menu"): the bar's measured
   height ends 13px below the bubble, so the names sit 5px under the bubble itself */
.cs-line { top: calc(var(--tb-h, 64px) - 8px); }
/* "Transits" above the zodiac and houses (2026-10-05, Emilian), same type as an open chart's name; when a saved chart is open, its name shows here instead */
.cs-title { display: block; margin: 0; padding: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; border-radius: 0 !important;
  font-family: var(--f-display); font-size: 19px; font-weight: 600; line-height: 1.2; color: var(--text); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cs-title[aria-expanded="true"] { color: var(--accent); }
/* the plus under the title adds another chart (2026-10-05, Emilian: "Remove the word Placidus, replace it with a plus where
   someone can add another chart"); the zodiac and houses stay in Settings */
.cs-plus { display: grid; place-items: center; width: 28px; height: 28px; margin: 0 0 0 -8px; padding: 0; border: 0 !important;
  background: transparent !important; box-shadow: none !important; color: var(--accent); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cs-plus svg { width: 8px; height: 8px; }   /* smaller (2026-10-06, Emilian: "Make the chart adding plus symbol smaller", then "Make the plus buttons for new charts on view screen smaller"; was 13px, then 10px); the 28px tap area stays */
.cs-plus[hidden], .cs-two[hidden] { display: none; }
/* once a second chart is chosen, its name takes the plus's place (2026-10-05, Emilian: "after choosing a saved chart, that
   chart name replaces the + button"); tap it to change it, swipe it right, off the edge, to remove it */
/* the second name sits across the screen from the first, at the right edge on the same line (2026-10-05, Emilian: "Have the
   second chart name directly opposite the screen of the first chart name") */
.cs-line { right: 16px; pointer-events: none; }
/* the tri-wheel line under the chart, right-aligned under the second chart's name (2026-10-05, Emilian: "The plus button to
   initiate a third wheel sits vertically opposite transits... the top chart words are equidistant from top of chart as bottom
   words are equidistant from bottom of chart"); top is set by placeLow() */
.cs-low { display: none; position: fixed; z-index: 30; right: 16px; top: 0; max-width: 60%; height: 23px; }
@media (max-width: 760px) { html:not(.embed) .cs-low:not([hidden]) { display: flex; align-items: center; justify-content: flex-end; } }
html.app:not(.embed) .cs-low:not([hidden]) { display: flex; align-items: center; justify-content: flex-end; }
.cs-low .cs-plus { margin: 0 -8px 0 0; }
/* Computers get the phone's chart names too (2026-10-07 20:00, Emilian: "In top left corner under the top menu there should be the
   name of this chart that is open, which is Transits, the default. The chart opening mechanism should be mirrored from mobile to
   desktop, adjusting for different dimensions"): the open chart's name at the top left under the menu strip ("Transits" by
   default; click it for Transits / saved charts / New chart), the right half of that line adds a second chart and shows its name,
   the spot under the wheel adds a third; drag a name out to remove it or towards the other to switch, as with a finger. A little
   larger type and more room from the edges than on a phone; the old name lines (#chartBar) are retired on computers. */
@media (min-width: 761px) {
  html:not(.embed):not(.app) .cs-line { display: block; top: calc(var(--tb-h, 58px) + 14px); left: 26px; right: auto; width: 300px; min-height: 30px; }
  /* one under the other down the left (2026-10-07 20:13, Emilian: "On desktop, place chart names under each other vertically on the
     left side"): the open chart, then the second, then the third, each on its own line; the empty line under the last name adds the next */
  html:not(.embed):not(.app) .cs-title { max-width: 100%; display: block; line-height: 34px; text-align: left; }
  html:not(.embed):not(.app) .cs-two { position: static; max-width: 100%; justify-content: flex-start; height: 34px; }
  html:not(.embed):not(.app) .cs-second { text-align: left; line-height: 34px; }
  html:not(.embed):not(.app) .cs-second .cs-ring { margin: 0 7px 0 0; order: -1; }
  html:not(.embed):not(.app) .cs-second:has(.cs-ring) { display: inline-flex; align-items: center; }
  html:root body:not(.x) #csPlus { position: static; display: block; width: 100%; height: 34px; top: auto; }
  html:not(.embed):not(.app) .cs-low:not([hidden]) { display: flex; align-items: center; justify-content: flex-start; left: 26px; right: auto; width: 300px; max-width: none;
    top: calc(var(--tb-h, 58px) + 14px + 68px) !important; height: 34px; }
  html:root body:not(.x) #csPlus3 { width: 100%; height: 34px; margin: 0; }
  html:not(.embed):not(.app) .cs-third { font-size: 22px; line-height: 34px; display: inline-flex; align-items: center; }
  html:not(.embed):not(.app) .cs-third .cs-ring { margin: 0 7px 0 0; order: -1; }
  html:not(.embed):not(.app) :is(.cs-title, .cs-second) { font-size: 22px; }
  html:not(.embed):not(.app) .cs-title:hover, html:not(.embed):not(.app) .cs-second:hover { color: var(--accent); }
  html:not(.embed):not(.app) #chartBar { display: none !important; }
  html:not(.embed):not(.app) #csPlus { cursor: pointer; }
}
#svg :is([data-planet], [data-tp], [data-pp]) { transition: opacity .32s cubic-bezier(.32,.72,0,1); }
/* New Moon spotlight (2026-10-09): everything but the Sun and Moon deep in shadow for a moment, then easing back */
#svg .nm-soft { animation: zsNewMoon 6s cubic-bezier(.37,0,.63,1) both; }
#nmSpot { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; opacity: 0; --nm-dark: rgba(8,8,10,.62); }
:root[data-theme="light"] #nmSpot { --nm-dark: rgba(30,24,14,.42); }
#nmSpot.on, #lunWord.on { animation: zsLunWord 6s cubic-bezier(.37,0,.63,1) both; }
#lunWord { position: fixed; left: 50%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; z-index: 61; opacity: 0;
  white-space: nowrap; font-family: var(--f-num); font-size: 18px; font-weight: 500; letter-spacing: .06em; color: var(--zs-label, var(--text)); }
/* in the chart's own type (2026-10-10 08:24, Emilian: "kind of shit. Does the font and Color match the rest of our chart?"): EB Garamond,
   the wheel's numbers font, in the soft cream of the chart names and the date at night (the ink of the text by day), not bright gold */
/* the grand trine under the chart (2026-10-14): the chart's own type; the element carried through the symbols and words below, not
   only the lines: each planet's sign and the triangles in the element's ink with a soft glow of it behind, the element's word in it
   too; three ways on, Enter the Stream first. Opens and closes with the same ease */
#gtWord { position: fixed; left: 50%; transform: translate(-50%, 6px); z-index: 30; pointer-events: none; opacity: 0; width: min(92vw, 420px);
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  transition: opacity .32s cubic-bezier(.32,.72,0,1), transform .32s cubic-bezier(.32,.72,0,1); }
#gtWord.on { opacity: 1; transform: translate(-50%, 0); }
#gtWord .gt-ic { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px; }
#gtWord .gt-ic::before { content: ""; position: absolute; inset: -8px -10px; border-radius: 999px; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--soft) 16%, transparent), transparent); }
#gtWord .gt-pic { display: block; overflow: visible; }
#elFx { position: fixed; inset: 0; z-index: 5; pointer-events: none; opacity: 0;
  background: radial-gradient(120% 60% at 50% 100%, color-mix(in srgb, var(--fx-ink) 30%, transparent), color-mix(in srgb, var(--fx-ink) 8%, transparent) 55%, transparent 80%); }
#elFx.on { animation: zsElFx 2.8s cubic-bezier(.37,0,.63,1) 1 both; }
#fireFx { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 5; pointer-events: none; }
@keyframes zsElFx { 0% { opacity: 0; transform: translateY(12%); } 35% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-4%); } }
/* one slow lap as the figure opens, then still: the beads ease to a stop and fade, the arrowheads stay (2026-10-15, Emilian: "the
   animation is too much movement, that makes me nervous when it doesnt stop moving") */
.fig-flow { opacity: 0; animation: zsFigFlow 2.6s cubic-bezier(.37,0,.63,1) .3s 1 both; }
@keyframes zsFigFlow { 0% { stroke-dashoffset: 0; opacity: 0; } 15% { opacity: 1; } 75% { opacity: 1; } 100% { stroke-dashoffset: -22.5; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fig-flow { animation: none; opacity: 0; } }
#gtWord .gt-tx { pointer-events: auto; border: 0; background: transparent; padding: 2px 6px; cursor: pointer; color: inherit; -webkit-tap-highlight-color: transparent;
  text-decoration: underline dotted color-mix(in srgb, var(--text-3) 60%, transparent); text-underline-offset: 5px; text-decoration-thickness: 1px; }
#gtWord .gt-tip { display: block; max-width: 300px; margin-top: -4px; font: 500 14px/1.4 var(--f-body); color: var(--text-2); opacity: 0; max-height: 0; overflow: hidden;
  transform: translateY(-4px); transition: opacity .32s cubic-bezier(.32,.72,0,1), transform .32s cubic-bezier(.32,.72,0,1), max-height .32s cubic-bezier(.32,.72,0,1); }
#gtWord.tip .gt-tip { opacity: 1; max-height: 80px; transform: none; }
#gtWord .gt-tw { font-style: normal; color: var(--soft); }
#gtWord .gt-tx { font-family: var(--f-num); font-size: 18px; font-weight: 500; letter-spacing: .06em; color: var(--zs-label, var(--text)); }
#gtWord .gt-tx::first-letter { text-transform: uppercase; }
#gtWord .gt-tx em { font-style: normal; color: var(--gt-ink); text-shadow: 0 0 10px color-mix(in srgb, var(--gt-ink) 40%, transparent); }
/* the three ways on as plain small words, no pill or outline (2026-10-15, Emilian: "Buttons are too big and I don't like the bubbles nor the outline") */
#gtWord .gt-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: -10px; max-height: 0; opacity: 0; overflow: hidden; transform: translateY(-4px);
  transition: opacity .32s cubic-bezier(.32,.72,0,1), transform .32s cubic-bezier(.32,.72,0,1), max-height .32s cubic-bezier(.32,.72,0,1); }
#gtWord.acts .gt-acts { max-height: 60px; opacity: 1; transform: none; }
#gtWord.acts:not(.on) .gt-acts { pointer-events: none; }
#gtWord.on.acts .gt-b { pointer-events: auto; }
#gtWord .gt-b { min-height: 32px; padding: 0 10px; border-radius: 8px; border: 0; background: transparent; color: var(--text-2);
  font: 500 13px/1 var(--f-body); letter-spacing: .02em; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background .2s cubic-bezier(.32,.72,0,1), border-color .2s cubic-bezier(.32,.72,0,1); }
#gtWord .gt-b.gt-main { color: var(--text); background: transparent; }
#gtWord .gt-b:active { background: color-mix(in srgb, var(--gt-ink) 18%, transparent); }
#gtWord .gt-b:focus-visible { outline: 2px solid var(--gt-ink); outline-offset: 2px; }
html.zsj-on #gtWord, html.chs-on #gtWord { display: none; }
#svg .gt-lit, #svg .gt-lit * { stroke: var(--gt-line) !important; transition: stroke .32s cubic-bezier(.32,.72,0,1); }
@media (prefers-reduced-motion: reduce) { #gtWord { transition: none; } }
/* one aspect under the chart (2026-10-14): the grand trine's type and its ease; the aspect's symbol in the line's own red or blue;
   applying or separating with the orb in the chart's numbers; under half a degree the orb turns gold with a slow glow and "Nearly exact" */
#aspWord { position: fixed; left: 50%; transform: translate(-50%, 6px); z-index: 30; pointer-events: none; opacity: 0; width: min(92vw, 420px);
  display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain;
  transition: opacity .32s cubic-bezier(.32,.72,0,1), transform .32s cubic-bezier(.32,.72,0,1); }
#aspWord.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
/* nothing hidden catches a tap: the words of a closed aspect, figure or planet card stay where they were, invisible, and used to open
   things when someone tapped the empty space under the chart (2026-10-17, Emilian: "the moon Mars quincunx opens when I just hit the
   empty space below the chart") */
#aspWord:not(.on), #aspWord:not(.on) *, #gtWord:not(.on), #gtWord:not(.on) *, #plInfo:not(.on), #plInfo:not(.on) * { pointer-events: none !important; }
/* computers: the aspect and the figure take the right-hand column, as a card like the planet's (2026-10-16) */
#aspWord.col, #gtWord.col { left: auto; right: var(--side-in); width: var(--side-w); top: var(--side-top, 124px); z-index: 41; transform: translateX(28px);
  padding: 26px 24px 22px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); background: var(--card);
  transition: opacity .28s cubic-bezier(.32,.72,0,1), transform .28s cubic-bezier(.32,.72,0,1); }
#aspWord.col.on, #gtWord.col.on { transform: none; pointer-events: auto; }
#aspWord::-webkit-scrollbar { display: none; }
#aspWord.col { max-height: calc(100vh - var(--side-top, 124px) - 20px); }
#aspWord.col { gap: 12px; }
#aspWord.col .aw-tx { font-size: 23px; line-height: 1.25; }
#aspWord.col .aw-st { font-size: 16px; }
#aspWord.col .aw-ic .pg { width: 30px; height: 30px; }
#aspWord.col .aw-acts { margin-top: 8px; }
#gtWord.col .gt-b { pointer-events: auto; }
/* small gold dots between Enter Stream · Journal · Encyclopedia (2026-10-16 11:56, Emilian: "place dots in between these") */
:is(#gtWord, #aspWord) .gt-acts .gt-b { position: relative; }
:is(#gtWord, #aspWord) .gt-acts .gt-b + .gt-b::before { content: ""; position: absolute; left: -2px; top: 50%; width: 3px; height: 3px; border-radius: 50%;
  background: var(--accent); opacity: .7; transform: translate(-50%, -50%); pointer-events: none; }
#aspWord .aw-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin: -12px 0 2px -8px; padding: 6px 8px; border: 0;
  border-radius: 10px; background: transparent; color: var(--text-3); font: 500 14px var(--f-body); cursor: pointer; }
#aspWord .aw-back:hover { color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); }
#aspWord .aw-back svg { width: 14px; height: 14px; }
#gtWord .aw-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin: -12px 0 2px -8px; padding: 6px 8px; border: 0;
  border-radius: 10px; background: transparent; color: var(--text-3); font: 500 14px var(--f-body); cursor: pointer; }
#gtWord .aw-back:hover { color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); }
#gtWord .aw-back svg { width: 14px; height: 14px; }
#gtWord .aw-back .pg { width: 17px; height: 17px; }
#aspWord .aw-back .pg { width: 17px; height: 17px; }
#aspWord .aw-ic { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 4px 16px; }
#aspWord .aw-pair { display: inline-flex; align-items: center; gap: 1px; }
#aspWord .aw-i { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 1px; padding: 4px 6px; border-radius: 9px; cursor: pointer;
  pointer-events: auto; -webkit-tap-highlight-color: transparent; transition: background .2s ease; }
#aspWord .aw-i:hover, #aspWord .aw-i[aria-expanded="true"] { background: color-mix(in srgb, var(--accent) 12%, transparent); }
#aspWord .aw-i:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
#aspWord .aw-info { display: grid; grid-template-rows: 0fr; opacity: 0; width: 100%; transition: grid-template-rows .3s cubic-bezier(.32,.72,0,1), opacity .3s cubic-bezier(.32,.72,0,1); }
#aspWord .aw-info.open { grid-template-rows: 1fr; opacity: 1; }
#aspWord .aw-info.swap .aw-info-in { opacity: 0; }
#aspWord .aw-info-in { overflow: hidden; min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: opacity .16s cubic-bezier(.32,.72,0,1); }
#aspWord .aw-info.open .aw-info-in { padding: 4px 6px 6px; }
#aspWord .aw-info-t { font: 500 17px/1.2 var(--f-display); color: var(--text); }
#aspWord .aw-info-in p { margin: 0; font: 400 14.5px/1.5 var(--f-body); color: var(--text-2, var(--text)); max-width: 34em; }
#aspWord .aw-info-go { all: unset; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 8px; cursor: pointer; pointer-events: auto;
  font: 500 13.5px var(--f-body); letter-spacing: .03em; color: var(--accent); }
#aspWord .aw-info-go:hover { background: color-mix(in srgb, var(--accent) 9%, transparent); }
#aspWord .aw-info-go svg { width: 13px; height: 13px; }
#aspWord .aw-pair > svg { width: 22px; height: 22px; }
#aspWord .aw-pair > svg.aw-sg { width: 15px; height: 15px; color: var(--text-2, var(--text)); }
#aspWord .aw-ag { width: 18px; height: 18px; color: var(--aw-ink); fill: none; stroke: currentColor; stroke-width: 1.8; }
#aspWord .aw-tx { font-family: var(--f-num); font-size: 18px; font-weight: 500; letter-spacing: .04em; color: var(--zs-label, var(--text)); }
#aspWord .aw-acts { margin-top: 6px; --gt-ink: var(--accent); }
#aspWord .gt-b { pointer-events: auto; min-height: 32px; padding: 0 10px; border-radius: 8px; border: 0; background: transparent; color: var(--text-2);
  font: 500 13px/1 var(--f-body); letter-spacing: .02em; cursor: pointer; -webkit-tap-highlight-color: transparent; }
#aspWord .gt-b.gt-main { color: var(--text); background: transparent; }
#aspWord .gt-b:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
#aspWord .aw-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
#aspWord .aw-st { font-family: var(--f-num); font-size: 16px; letter-spacing: .05em; color: var(--text-2, var(--text)); font-variant-numeric: tabular-nums; }
#aspWord .aw-near { font: 600 11px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  padding: 6px 12px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent); }
#aspWord.aw-near .aw-st, #aspWord.aw-exact .aw-st { color: var(--accent); text-shadow: 0 0 10px color-mix(in srgb, var(--accent) 45%, transparent); }
#aspWord.aw-near .aw-ic::before, #aspWord.aw-exact .aw-ic::before { content: ""; position: absolute; inset: -8px -10px; border-radius: 999px; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 26%, transparent), transparent); animation: awGlow 2.8s cubic-bezier(.37,0,.63,1) infinite; }
@keyframes awGlow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
html.zsj-on #aspWord, html.chs-on #aspWord { display: none; }
@media (prefers-reduced-motion: reduce) { #aspWord { transition: none; } #aspWord .aw-ic::before { animation: none; } }
/* a planet's card under the chart on phones (2026-10-14): the planet in its sign, then its aspects, in the chart's card look; the
   chevron folds it to a small round button at the bottom right, which opens it again. Opens and closes with the same ease */
#plInfo { position: fixed; left: 0; right: 0; z-index: 30; pointer-events: none; display: flex; flex-direction: column; align-items: center;
  padding: 0 max(14px, env(safe-area-inset-left, 0px)) 0 max(14px, env(safe-area-inset-right, 0px)); opacity: 0; transform: translateY(6px);
  transition: opacity .3s cubic-bezier(.32,.72,0,1), transform .3s cubic-bezier(.32,.72,0,1); }
#plInfo.on { opacity: 1; transform: none; }
/* computers: beside the chart, centred on it (2026-10-15) */
#plInfo.col { left: auto; right: var(--side-in); width: var(--side-w); top: var(--side-top, 124px); bottom: 16px; padding: 0; z-index: 41;
  transform: translateX(24px); transition: opacity .28s cubic-bezier(.32,.72,0,1), transform .28s cubic-bezier(.32,.72,0,1); }
/* one movement (2026-10-16 12:00, Emilian: "the whole movement of the chart to the left, and the menu that opens, it's all not smooth"):
   opening, the chart starts gliding and the card follows it in a beat later on the same curve; closing, the card leaves first and
   the chart glides back after it */
#plInfo.col.on, #aspWord.col.on, #gtWord.col.on { transition: opacity .32s cubic-bezier(.32,.72,0,1) .14s, transform .36s cubic-bezier(.32,.72,0,1) .14s; }
#plInfo.col.on { transform: none; }
#plInfo.col .pli-card { width: 100%; padding: 20px 22px 16px; border-radius: 18px; }
#plInfo.col .pli-t { font-size: 24px; }
#plInfo.col .pli-head .pli-pl .pg { width: 30px; height: 30px; }
#plInfo.col .pli-row { padding: 10px 0; cursor: pointer; }
#plInfo.col .pli-row:hover { background: color-mix(in srgb, var(--accent) 6%, transparent); }
#plInfo.col .pli-nm { font-size: 16px; }
#plInfo.col .pli-pic { width: 110px; height: 110px; margin: 2px 4px 2px -4px; }
#plInfo.col .pli-fig { gap: 16px; padding: 12px 0 8px; }
#plInfo.col .pli-fig .pli-nm { font-size: 21px; }
#plInfo.col .pli-fig + .pli-more .pli-nm { padding-left: 126px; }
#plInfo .pli-card { pointer-events: auto; width: min(100%, 420px); max-height: 100%; overflow-y: auto; overscroll-behavior: contain; border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); background: var(--card); padding: 10px 14px 6px;
  transition: opacity .3s cubic-bezier(.32,.72,0,1), transform .3s cubic-bezier(.32,.72,0,1); transform-origin: 100% 100%; }
#plInfo .pli-head { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
  /* the planet's name stays in view while its aspects scroll (2026-10-15) */
  position: sticky; top: -10px; z-index: 1; background: var(--card); margin-top: -10px; padding-top: 10px; }
#plInfo .pli-pl .pg { width: 24px; height: 24px; }
#plInfo .pli-t { flex: 1; min-width: 0; display: flex; flex-direction: column; font: 500 19px/1.15 var(--f-display); color: var(--text); }
#plInfo .pli-nm small .pg { width: 1.15em; height: 1.15em; vertical-align: -.2em; }
#plInfo .pli-nm .pg { width: .92em; height: .92em; vertical-align: -.12em; }   /* the sign after the other planet's place (2026-10-31 10:36, Emilian: "symbols of leo and aquarius still need to be there") */
#plInfo .pli-t .pg { width: .92em; height: .92em; vertical-align: -.12em; }   /* the sign beside the title larger (2026-10-31 10:26, Emilian: "the libra icon should be larger"); was 15px */
#plInfo .pli-t small, #plInfo small { font: 500 12.5px/1.3 var(--f-num); letter-spacing: .03em; color: var(--text-3); }
#plInfo .pli-rx { color: var(--rx); }
#plInfo .pli-x, #plInfo .pli-open { flex: none; border: 0; background: transparent; color: var(--text-3); cursor: pointer; -webkit-tap-highlight-color: transparent; }
#plInfo .pli-x { width: 34px; height: 34px; margin-right: -8px; display: inline-flex; align-items: center; justify-content: center; }
#plInfo .pli-x svg { width: 17px; height: 17px; }
#plInfo .pli-list { display: flex; flex-direction: column; }
#plInfo .pli-spd[data-avg] { cursor: help; } #plInfo .pli-spd.avg { color: var(--accent); }   /* the average on hover (2026-11-16) */
#plInfo .pli-rxgo { all: unset; cursor: pointer; color: var(--rx); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px;
  text-decoration-color: color-mix(in srgb, var(--rx) 45%, transparent); }
#plInfo .pli-rxgo:hover { text-decoration-color: var(--rx); }
#plInfo .pli-enc { all: unset; cursor: pointer; font: inherit; color: inherit; border-radius: 6px; }
#plInfo .pli-enc:hover { color: var(--accent); }
#plInfo .pli-enc:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
#plInfo .pli-voc { margin: 10px 0 4px; display: flex; flex-direction: column; gap: 3px; font: 500 17px/1.25 var(--f-display); color: var(--text); }
#plInfo .pli-voc .pg { width: 13px; height: 13px; vertical-align: -1px; }
#plInfo .pli-none:empty { display: none; }
#plInfo .pli-row { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 0; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background: transparent; color: inherit; text-align: left; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
#plInfo .pli-row:active { background: color-mix(in srgb, var(--accent) 8%, transparent); }
#plInfo .pli-chev { flex: none; width: 13px; height: 13px; color: var(--text-3); margin-left: -2px; }
#plInfo .pli-row:last-child { border-bottom: 0; }
#plInfo .pli-more .pli-nm { color: var(--text-2); }
#plInfo .pli-n { flex: none; font: 500 14px/1 var(--f-num); color: var(--text-3); }
#plInfo .pli-dn { transition: transform .32s cubic-bezier(.32,.72,0,1); }
#plInfo .pli-more[aria-expanded="true"] .pli-dn { transform: rotate(180deg); }
/* each figure with its own Aspects row right under it, the two read as one group (2026-10-15) */
#plInfo .pli-fig { border-bottom: 0; padding-bottom: 0; }
#plInfo .pli-fig + .pli-more { padding-top: 2px; min-height: 0; }
#plInfo .pli-fig + .pli-more .pli-nm { font-size: 13.5px; color: var(--text-3); padding-left: 60px; }
#plInfo .pli-list > .pli-more:nth-last-child(2)[aria-expanded="false"] { border-bottom: 0; }
#plInfo .pli-fold { overflow: hidden; }
#plInfo .pli-fold .pli-row:last-child { border-bottom: 0; }
#plInfo .pli-ic { flex: none; display: inline-flex; align-items: center; gap: 3px; }
#plInfo .pli-pic { flex: none; width: 50px; height: 50px; margin: -6px 0 -6px -2px; overflow: visible; }
#plInfo .pli-fig .pli-nm { font: 500 17px/1.2 var(--f-display); }
#plInfo .pli-ic .pg { width: 18px; height: 18px; }
#plInfo .pli-ag .pg { width: 13px; height: 13px; color: var(--accent); stroke: var(--accent); }
#plInfo .pli-ag .kind { font-size: 14px; color: var(--accent); }
#plInfo .pli-nm { flex: 1; min-width: 0; display: flex; flex-direction: column; font: 500 15px/1.25 var(--f-body); color: var(--text); }
#plInfo .pli-orb { flex: none; display: flex; flex-direction: column; align-items: flex-end; font: 500 14px/1.25 var(--f-num); color: var(--text); }
#plInfo .pli-none { margin: 10px 0 6px; font-size: 14px; color: var(--text-3); }
#plInfo .pli-open { pointer-events: auto; position: absolute; right: calc(max(14px, env(safe-area-inset-right, 0px)) + 34px); bottom: 0;   /* clear of the colour dot */ width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); background: var(--card); display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0; opacity: 0; transform: scale(.8); pointer-events: none;
  transition: opacity .3s cubic-bezier(.32,.72,0,1), transform .3s cubic-bezier(.32,.72,0,1); }
#plInfo .pli-open .pg { width: 19px; height: 19px; }
#plInfo .pli-open .pli-up { width: 12px; height: 12px; margin-top: -2px; }
#plInfo.quiet .pli-card { opacity: 0; transform: scale(.92); pointer-events: none; }
#plInfo.quiet .pli-open { opacity: 1; transform: none; pointer-events: auto; }
#plInfo .pli-x:focus-visible, #plInfo .pli-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
html.zsj-on #plInfo, html.chs-on #plInfo { display: none; }
@media (prefers-reduced-motion: reduce) { #plInfo, #plInfo .pli-card, #plInfo .pli-open { transition: none; } }
@keyframes zsLunWord { 0% { opacity: 0; } 14%, 70% { opacity: 1; } 100% { opacity: 0; } }
html.zsj-on #nmSpot, html.chs-on #nmSpot, html.zsj-on #lunWord, html.chs-on #lunWord { display: none; }
@keyframes zsNewMoon { 0%, 35% { filter: blur(3.5px); opacity: .1; } }
@media (prefers-reduced-motion: reduce) { #nmSpot.on, #lunWord.on { animation: zsLunWord 6s steps(1, end) both; } }
#svg .zs-tdim { opacity: .01 !important; }   /* 1% (2026-10-29 10:02, Emilian: "can you make hidden planets like... 1% visible?"); was 8% */
/* phones and the app: the planet / aspect box sits in the space under the chart, no dimming, the chart stays tappable (2026-10-07 22:17) */
html body .desc-veil.below { inset: auto 0; background: transparent !important; padding: 0 10px; align-items: flex-start; pointer-events: none; }
html body .desc-veil.below .desc-card { pointer-events: auto; width: 100%; max-height: 100%; padding: 18px 18px 16px; gap: 12px; border-radius: 18px; overscroll-behavior: contain; }
html body .desc-veil.below .desc-top h3 { font-size: 20px; }
html body .desc-veil.below .desc-x:focus { outline: none; }
/* in the theme: by day the chosen page colour lifted toward white, at night the dark tone with a touch of gold and the gold edge */
html:root:not([data-theme="dark"]) body .desc-veil.below .desc-card { background: color-mix(in srgb, var(--pgl, var(--card)) 70%, var(--zs-lift, #fff));
  border: 1px solid color-mix(in srgb, var(--pgl, var(--line)) 80%, #000); box-shadow: 0 10px 30px rgba(60, 45, 20, .14); }
html:root[data-theme="dark"] body .desc-veil.below .desc-card { background: color-mix(in srgb, var(--pagebg, var(--card)) 93%, var(--zs-gold, #b89a5e));
  border: 1px solid color-mix(in srgb, var(--zs-gold, #b89a5e) 38%, transparent); box-shadow: 0 0 18px color-mix(in srgb, var(--zs-gold, #b89a5e) 14%, transparent); }   /* hidden even more (2026-10-07 21:17, Emilian: "Hide other planets even more"; was .2) */
#svg.zs-tinst :is([data-planet], [data-tp], [data-pp]) { transition: none !important; }
/* one panel to the next: the panel stays, its new words fade in where the old ones faded out */
html body .desc-veil.zs-swap { animation: none !important; }
html body .desc-veil.zs-swap .desc-card { animation: zsSwapIn .28s ease-out .1s both !important; }
@keyframes zsSwapIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html body .desc-veil.zs-swap .desc-card { animation: none !important; } #svg :is([data-planet], [data-tp], [data-pp]) { transition: none; } }
.cs-third { touch-action: none; -webkit-user-select: none; user-select: none; max-width: 100%; }
/* the full screens (Journal, Charts, Stream...) cover the names instead of hiding them, so they're already there when a screen slides
   away (2026-10-06, Emilian: swiping back to View the charts "take a moment to load in. Make it seamless") */
html:has(.panel.asp-shown) .cs-low { visibility: hidden; }
/* which ring each chart is in a tri-wheel (2026-10-05, Emilian: "a small icon next to the open chart names that indicates
   which chart they are in the triwheel"): three rings, the chart's own one in gold; inner = top name, middle = second, outer = bottom */
.cs-ring { display: inline-block; width: 17px; height: 17px; vertical-align: -2px; flex: none; }
.cs-title .cs-ring { margin-right: 7px; }
.cs-second .cs-ring { margin-left: 7px; }
/* chart menus: swipe a chart left for Edit and Delete (2026-10-05, Emilian) */
.pm .pm-row { position: relative; overflow: hidden; border-radius: 10px; }
.pm .pm-row > button[data-id] { position: relative; z-index: 1; width: 100%; background: var(--card); touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.pm .pm-acts { position: absolute; top: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 6px; width: 116px; padding: 0 6px 0 2px; transform-origin: right center; }
.pm .pm-row > button[data-id] { will-change: transform; }
.pm .pm-row.rt .pm-acts { right: auto; left: 0; }
/* smaller (2026-10-05 13:02, Emilian: "Make delete and edit buttons smaller"): two small rounded buttons */
.pm .pm-acts button { flex: 1; display: grid; place-items: center; height: 34px; margin: 0; padding: 0; border: 0; border-radius: 9px; cursor: pointer;
  font: 600 12px var(--f-body); -webkit-tap-highlight-color: transparent; }
html:root .f-menu.pm .pm-acts button { min-height: 0 !important; height: 34px !important; padding: 0 !important; margin: 0 !important; font: 600 12px var(--f-body) !important;
  border-radius: 9px !important; justify-content: center; text-align: center; width: auto; }
.pm .pm-acts .pm-edit { background: color-mix(in srgb, var(--accent) 28%, var(--card)) !important; color: var(--text) !important; }
.pm .pm-acts .pm-del { background: color-mix(in srgb, #c0392b 72%, var(--card)) !important; color: #fff !important; }
.pm .pm-acts .pm-del.sure { background: #c0392b !important; }
.pm .pm-row:not(.open) .pm-acts { visibility: hidden; }
.pm .pm-row.open .pm-acts, .pm .pm-row:has(> button[style*="translateX"]) .pm-acts { visibility: visible; }
.cs-line > * { pointer-events: auto; }
.cs-title { max-width: 48%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-two { position: absolute; top: 0; right: 0; max-width: 48%; display: flex; align-items: center; justify-content: flex-end; }
/* the plus sits across from the first name too, at the right edge of the same line, where the second chart's name will appear
   (2026-10-05, Emilian: "move the plus beneath the first chart directly opposite horizontally") */
.cs-plus { position: absolute; top: calc((19px * 1.2 - 28px) / 2); right: 0; margin: 0 -8px 0 0; }
.cs-second { text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
/* No plus (2026-10-06 22:35, Emilian: "Remove the plus. Instead, users can just tap in those areas to open a new chart"): the plus
   buttons stay as invisible tap areas, the right half of the names' line above the chart (second chart) and the same spot under the
   chart (third chart); a tap opens the same menu. */
html:root body .cs-plus svg { display: none; }
html:root body #csPlus { top: -10px; right: 0; width: 46%; height: 44px; margin: 0; }
html:root body #csPlus3 { width: min(46vw, 200px); height: 44px; margin: 0; }
html:root body .cs-plus, html:root body .cs-plus:active { background: transparent !important; filter: none !important; }
/* the second chart's name looks the same as the first (2026-10-05, Emilian: "Second chart should have same font size and everything") */
.cs-second { margin: 0; padding: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; border-radius: 0 !important; color: var(--text);
  font-family: var(--f-display); font-size: 19px; font-weight: 600; line-height: 1.2; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cs-second[aria-expanded="true"] { color: var(--accent); }
/* swipe a chart's name to the left to remove it (2026-10-05, Emilian: "Remove the x... Users can just swipe charts away") */
.cs-title, .cs-second { touch-action: none; -webkit-user-select: none; user-select: none; }
/* the old name and plus under the wheel are gone on phones and in the app; the top left does their job now
   (2026-10-05, Emilian: "remove the text at the bottom, that's old code") */
@media (max-width: 760px) { html:not(.embed) #chartBar { display: none !important; } }
html.app:not(.embed) #chartBar { display: none !important; }
html:has(.panel.asp-shown) .cs-line { visibility: hidden; }
/* Profile tab (2026-10-04) */
.zsp .zst-head .zsp-gear svg { width: 20px; height: 20px; }
.zsp .zst-head .zsp-gear { border: 0; color: var(--accent); }
/* Settings opens from More now, not from Profile (2026-10-05, Emilian); the gear is kept in the page, hidden */
.zsp .zst-head .zsp-gear { display: none !important; }
.zsp-x { display: none !important; }
@media (min-width: 761px) { html:not(.app) .zsp-x { display: inline-flex !important; } }
#zspMy { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
/* Same rhythm as the chart card in Charts (2026-10-06, Emilian: "More space between the chart and the information below... Consistent with padding elsewhere"): 16px between parts, 24px around the wheel and before each section. */
#zspMy { margin-bottom: 32px; }
#zspMy .ch-list { gap: 16px; }
#zspMy .zsm-who { margin: 0; }
#zspMy .zsm-wheel { margin: 8px auto 0; }
#zspMy .zsm-lab { margin: 8px 0 -8px; }
.zsp-acct { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.zsp-acct .zsp-who { flex: 1; min-width: 0; }
.zsp-acct .zsp-who b { display: block; font: 600 18px/1.2 var(--f-display); }
.zsp-acct .zsp-who small { display: block; font-size: 13px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; }
.zsp-acct p { flex: 1; margin: 0; font-size: 14.5px; line-height: 1.4; color: var(--text-2); }
#zspHome .pf-home { margin-top: 16px; padding: 4px 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
#zspHome .pf-home .ch-label { display: block; padding-top: 10px; }
/* room under the Account heading, like the other headings (2026-10-06, Emilian: "Towards the bottom, under account, things get squished") */
#zspScroll > .zsm-lab { margin: 0 0 12px; }
.zsp-acct { padding: 14px 16px; }
#zspHome .pf-home { padding: 6px 16px 8px; }
#settingsSheet > .sheet-prof { display: none !important; }   /* the profile is its own tab now */
/* the encyclopedia entries on a planet page: empty until Emilian has taught them */
.zsm-enc { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: var(--card); overflow: hidden; }
.zsm-enc > div { padding: 12px 14px; border-top: 1px solid var(--line); }
.zsm-enc > div:first-child { border-top: 0; }
.zsm-enc b { display: block; font: 600 17px/1.25 var(--f-display); }
.zsm-enc p { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--text-2); white-space: pre-line; }
.zsm-enc p.none { color: var(--text-3); font-size: 14px; }
.zsm-enc ul { margin: 6px 0 0; padding: 0; list-style: none; }
.zsm-enc li { position: relative; padding-left: 14px; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.zsm-enc li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.zsm-encrow { all: unset; box-sizing: border-box; display: block; width: 100%; padding: 12px 14px; border-top: 1px solid var(--line); cursor: pointer; }
.zsm-encrow:first-child { border-top: 0; }
.zsm-encrow:hover, .zsm-encrow:focus-visible { background: var(--bg-alt); }
.zsm-encrow p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; }
.zsm-encmore { display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; color: var(--accent); font: 600 14px var(--f-body); }
.zsm-encmore svg { width: 14px; height: 14px; }
.zsm-encchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.zsm-encchip { border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--text); font: 500 14px var(--f-body); padding: 6px 12px; cursor: pointer; }
.zsm-encchip:hover, .zsm-encchip:focus-visible { border-color: var(--accent); color: var(--accent); }
/* Computers: the Journal, the Stream and a planet page from My chart open as a panel down the left, like Charts (2026-10-04) */
@media (min-width: 761px) {
  html:not(.app):not(.embed) .zst, html:not(.app):not(.embed) .zsm { inset: auto; top: calc(var(--tb-h, 60px) + 8px); left: var(--wheel-in, 16px); bottom: 16px;
    width: min(420px, calc(100vw - 32px)); padding: 18px 0 16px; background: var(--card); border: 1px solid var(--line); border-radius: 18px;
    box-shadow: var(--sh-pop, 0 16px 40px rgba(0,0,0,.18)); z-index: 45; }
  html:not(.app):not(.embed) .zsm { z-index: 46; }
}
/* Profile in Onyx at night on computers (2026-10-06 21:18, Emilian: "Make profile in night mode onyx"): the panel and the boxes
   inside it (account, home location, your chart) take the Onyx tone #121216 instead of Charcoal, on every page tone; so does the
   planet page that opens from it. Edges stay the thin lines. Phones and the app too (21:28, Emilian: "On mobile as well"). */
html[data-theme="dark"]:not(.embed) #profileScr,
html[data-theme="dark"]:not(.embed) #zsm { --card: var(--bgd-onyx, #121216); --bg: var(--bgd-onyx, #121216); background: var(--bgd-onyx, #121216); }
/* Top bar in Onyx at night (2026-10-06 21:32, Emilian: "Make top bar onyx"): the computer strip (still slightly see-through and
   blurred) and the phone/app floating bar (its gold-tinted edge stays) are Onyx #121216 instead of Charcoal. */
@media (min-width: 761px) {
  html:root[data-theme="dark"]:not(.app):not(.embed) .timebar { background: color-mix(in srgb, var(--pagebg, var(--bgd-onyx, #121216)) 92%, transparent) !important; }
}
html:root[data-theme="dark"]:not(.embed) body .timebar::before { background: var(--pagebg, var(--bgd-onyx, #121216)) !important; }
/* the strip follows the chosen night tone (2026-10-21 10:48, Emilian: "with the night mode palettes, the top menu bar is not changing its
   color"): the Onyx of 2026-10-06 was the only night tone then; now it is the night tone itself (--pagebg), Onyx when none is set */
/* Every top bar button gold at night (2026-10-06 21:32, Emilian: "Make all buttons gold"): menu, arrows, Day, search, refresh,
   Install app and its ×, planets, profile, settings. The date stays in the text colour; in the open step-size list only the
   chosen word is gold. Computers, phones and the app. */
html:root[data-theme="dark"]:not(.embed) body .timebar :is(button, .step, .icon-btn, .pop-btn, .now):not(.units[data-open="true"] button:not([aria-pressed="true"])) { color: var(--accent) !important; }
html:root[data-theme="dark"]:not(.embed) body .timebar #bNow, html:root[data-theme="dark"]:not(.embed) body .timebar #bNow svg { color: var(--accent) !important; }
html:root[data-theme="dark"]:not(.embed) body .timebar #plBtn, html:root[data-theme="dark"]:not(.embed) body .timebar #findBtn { color: var(--accent) !important; }
