/* Taktus Light (light.html): the body full height, one panel with Pain / Symptom / Ask the Sage. Phones: the panel is a
   sheet under the body. Wide screens: a column on the side. Same paper, ink and indigo as Taktus. */
:root {
  --bg: #eceef2; --panel: #fff; --panel2: #f6f7fb; --ink: #141821; --muted: #646b7a; --line: #dde1e8;
  --indigo: #4b5bdc; --indigo-soft: #e8eafc; --pain: #e5484d; --spot: #f08a24; --warn: #fff6dc; --warn-ink: #7a5600;
  /* Taktus's stages (d-orbit.html on main, owner's tuner picks 2026-11-30): a warm glow at the feet, a pale backlight, the base colour. */
  --stage: radial-gradient(ellipse at 50% 92%, hsl(32 45% 30% / .08) 0%, transparent 45%), radial-gradient(ellipse 140% 86.8% at 50% 40%, #d7e4eaa0 0%, #d7e4ea37 45%, transparent 100%), radial-gradient(ellipse at 50% 40%, #378bae 0%, #327e9f 78%);
  --ctl: 124px; /* the stage buttons start under Settings and the menu */
  --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px);
}
:root[data-theme="dark"] {
  --bg: #0d1120; --panel: #161b2e; --panel2: #1d2338; --ink: #e8ebf5; --muted: #a0a7bd; --line: #2a3150;
  --indigo: #6676f5; --indigo-soft: #232a4a; --warn: #3a2f12; --warn-ink: #f3d27a;
  --stage: radial-gradient(ellipse at 50% 92%, hsl(32 45% 30% / .35) 0%, transparent 45%), radial-gradient(ellipse 107% 66.3% at 50% 40%, #b3bcd66b 0%, #b3bcd625 45%, transparent 100%), radial-gradient(ellipse at 50% 40%, #314272 0%, #1e2947 78%);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 "Plus Jakarta Sans", system-ui, sans-serif; overscroll-behavior: none; }
:lang(he) body, body:lang(he) { font-family: "Heebo", "Plus Jakarta Sans", system-ui, sans-serif; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* Taktus's dropdowns (dropdown.css) read its token names; Light's own colours, in both themes. */
:root { --d-panel: var(--panel); --d-glass: var(--panel); --d-line: var(--muted); --r: 10px; --ease: 160ms ease; }

/* Logo: the Taktus wordmark with "Light" beside it. */
.lt-logo { display: inline-flex; align-items: flex-end; gap: .18em; direction: ltr; }
.lt-logo img { height: 26px; width: auto; display: block; }
.lt-logo em { font: italic 600 19px/1 "Plus Jakarta Sans", system-ui, sans-serif; color: var(--indigo); letter-spacing: .01em; padding-bottom: 1px; }
/* The bar floats on the stage, which is dark in both themes: the wordmark in white, "Light" in Taktus's dark-stage indigo. */
.lt-bar .lt-logo { filter: drop-shadow(0 1px 3px #000a); }
.lt-bar .lt-logo img { filter: invert(1) hue-rotate(180deg); }
.lt-bar .lt-logo em { color: #a9b3ff; }
.lt-logo-big img { height: 51px; }
.lt-logo-big em { font-size: 36px; padding-bottom: 2px; }
.si-min .si-taktus .lt-logo-big img { display: block !important; } /* account.css hides the welcome's own logo image */
/* The opening: the wordmark and "Light" shrink together (splash.css shrinks .sp-logo alone). */
.sp-logo-wrap { display: flex; justify-content: center; width: 100%; transform: scale(.415); transform-origin: 50% 100%; transition: transform 1s cubic-bezier(.4, 0, .2, 1); }
.sp-logo-wrap .sp-logo { transform: none !important; height: min(82px, 15vw); margin: 0; } /* splash.css centres it with auto margins, which in this row push "Light" off to the right */
.sp-logo-wrap em { font-size: min(60px, 11vw); color: #4b5bdc; padding-bottom: 4px; }
#splash.intro .sp-logo-wrap { transform: none; }
@media (min-aspect-ratio: 1/1) { .sp-logo-wrap .sp-logo { height: 106px; } .sp-logo-wrap em { font-size: 78px; } }

/* Layout */
.lt-app { display: grid; grid-template: "stage" minmax(0, 1fr) "panel" auto / 100%; height: 100vh; height: 100dvh; }
/* No bar strip: the logo, Settings and the menu float on the stage; Settings and the menu head the stage buttons' column. */
.lt-bar { grid-area: stage; align-self: start; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: calc(12px + var(--sat)) 12px 0 16px; z-index: 5; pointer-events: none; }
.lt-bar > * { pointer-events: auto; }
.lt-bar .lt-logo { margin-top: 8px; }
.lt-stage { grid-area: stage; position: relative; min-height: 0; background: var(--stage); overflow: hidden; touch-action: none; }
.lt-stage canvas { display: block; }
.lt-panel { grid-area: panel; display: flex; flex-direction: column; max-height: 52vh; max-height: 52dvh; background: var(--panel); border-top: 1px solid var(--line); border-radius: 18px 18px 0 0; margin-top: -14px; z-index: 4; box-shadow: 0 -10px 30px #1418210f; padding-bottom: var(--sab); }
@media (min-width: 900px) {
  .lt-app { grid-template: "stage panel" minmax(0, 1fr) / minmax(0, 1fr) 420px; }
  .lt-panel { max-height: none; margin: 0; border-radius: 0; border-top: 0; border-inline-start: 1px solid var(--line); box-shadow: none; }
}

.lt-bar-end { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 44px; }
.lt-bar-end > :is(.lt-icon, .set-open) { width: 44px; height: 44px; background: color-mix(in srgb, var(--panel) 85%, transparent); border-color: var(--line); color: var(--ink); }
.lt-bar-end > :is(.lt-icon, .set-open):hover { background: var(--indigo-soft); }
.lt-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); cursor: pointer; }
.lt-icon svg, .lt-tabs svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lt-menu { position: fixed; z-index: 50; top: calc(64px + var(--sat)); inset-inline-end: 64px; width: min(280px, calc(100vw - 24px)); padding: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px #14182133; display: grid; gap: 2px; }
.lt-menu > button, .lt-menu > a, .lt-menu-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: none; text-align: start; cursor: pointer; font-weight: 600; font-size: 15px; }
.lt-menu > button:hover, .lt-menu > a:hover { background: var(--panel2); }

/* The stage */
.lt-loading { position: absolute; inset: 0; display: grid; place-items: center; color: #e6eef2; font-size: 14px; }
.lt-turn { position: absolute; top: calc(var(--ctl) + var(--sat)); inset-inline-end: 12px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 12px; background: color-mix(in srgb, var(--panel) 85%, transparent); border: 1px solid var(--line); color: var(--ink); cursor: pointer; }
.lt-turn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lt-turn:hover { background: var(--indigo-soft); }
.lt-hint { position: absolute; inset: auto 12px 26px; margin: 0; text-align: center; pointer-events: none; z-index: 2; }
.lt-hint span { display: inline-block; padding: 8px 14px; border-radius: 99px; background: color-mix(in srgb, var(--panel) 90%, transparent); border: 1px solid var(--line); font-size: 14px; font-weight: 600; box-shadow: 0 6px 20px #14182118; }
@media (min-width: 900px) { .lt-hint { bottom: 20px; } }

/* Marks on the body */
.lt-pain { width: 0; height: 0; }
.lt-pain i { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--pain); border: 3px solid #fff; box-shadow: 0 0 0 6px #e5484d40; }
.lt-spot { width: 0; height: 0; }
.lt-spot i { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--spot); background: #f08a2433; animation: lt-pulse 1.8s ease-out infinite; }
.lt-spot b { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--spot); color: #fff; font: 800 12px/1 "Plus Jakarta Sans", sans-serif; box-shadow: 0 2px 6px #0004; }
.lt-spot.away { opacity: .25; }
.lt-spot.away i { animation: none; }
@keyframes lt-pulse { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lt-spot i { animation: none; } }

/* The panel */
.lt-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 10px 12px 6px; }
.lt-tabs button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); font-weight: 700; font-size: 14px; cursor: pointer; padding: 0 6px; }
.lt-tabs button[aria-selected="true"] { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.lt-body { flex: 1; min-height: 0; overflow-y: auto; padding: 6px 16px 10px; }
.lt-safe { margin: 0; padding: 8px 16px 10px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
.lt-body h2 { margin: 6px 0 4px; font-size: 18px; letter-spacing: -.01em; }
.lt-lead { margin: 0 0 10px; color: var(--muted); font-size: 14.5px; }
.lt-empty { display: grid; gap: 6px; padding: 8px 0; color: var(--muted); font-size: 14.5px; }
.lt-empty b { color: var(--ink); font-size: 16px; }

.lt-spots { display: grid; gap: 10px; margin: 8px 0; }
.lt-card { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 4px 10px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.lt-card .n { grid-row: span 9; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--spot); color: #fff; font-weight: 800; font-size: 13px; }
.lt-card .where { margin: 0; font-weight: 600; font-size: 15px; }
.lt-card .side { margin: 0; color: var(--indigo); font-weight: 700; font-size: 13px; }
.lt-card .how { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.lt-card .care { margin: 4px 0 0; padding: 6px 10px; border-radius: 9px; background: var(--warn); color: var(--warn-ink); font-size: 13px; font-weight: 600; }
.lt-card .acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.lt-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); font-weight: 700; font-size: 14px; cursor: pointer; color: var(--indigo); }
.lt-btn.main { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.lt-btn:hover { filter: brightness(.97); }
.lt-btn:focus-visible, .lt-tabs button:focus-visible, .lt-chip:focus-visible { outline: 3px solid #f5b400; outline-offset: 2px; }
.lt-tip, .lt-note { margin: 6px 0; padding: 8px 12px; border-radius: 10px; background: var(--indigo-soft); font-size: 13.5px; }
.lt-note { background: var(--warn); color: var(--warn-ink); font-weight: 600; }

.lt-search { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; background: var(--panel); color: var(--ink); font: inherit; font-size: 15px; }
.lt-search:focus { outline: 2px solid var(--indigo); outline-offset: 1px; border-color: transparent; }
.lt-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.lt-chip { min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--panel); font-weight: 600; font-size: 14px; cursor: pointer; }
.lt-chip[aria-pressed="true"] { background: var(--indigo-soft); border-color: var(--indigo); color: var(--indigo); }
.lt-chip.refer { border-style: dashed; }
.lt-back { margin: 2px 0 6px; padding: 0; border: 0; background: none; color: var(--indigo); font-weight: 700; font-size: 14px; cursor: pointer; }

.lt-refer { padding: 14px; border-radius: 14px; background: var(--warn); color: var(--warn-ink); }
.lt-refer h2 { color: inherit; }

.lt-ask { display: grid; gap: 8px; }
.lt-ask textarea { width: 100%; min-height: 76px; resize: vertical; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--panel); color: var(--ink); font: inherit; font-size: 15px; }
.lt-ask textarea:focus { outline: 2px solid var(--indigo); outline-offset: 1px; border-color: transparent; }
.lt-ask-row { display: flex; justify-content: flex-end; }
.lt-answer { margin: 12px 0; padding: 12px 14px; border-radius: 14px; background: var(--panel2); font-size: 15px; white-space: pre-line; }
.lt-q { margin: 12px 0 0; font-weight: 700; }
.lt-offer { margin: 10px 0; padding: 14px; border-radius: 14px; background: var(--indigo-soft); border: 1px solid var(--indigo); }
.lt-offer h2 { margin-top: 0; }
.lt-offer .acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

/* Welcome (the Taktus welcome screen, account.css .si-min) */
.lt-welcome { z-index: 300; }
.lt-welcome .lt-wlead { margin: 0 0 14px; color: #3a2c1c; font-size: 15px; }
.lt-welcome h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lt-start { background: #3a2c1c !important; color: #fff !important; border-color: #3a2c1c !important; }

/* About dialog */
.lt-dialog { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 16px; background: #0e112a8f; }
.lt-dialog > div { width: min(460px, 100%); max-height: 85vh; overflow-y: auto; padding: 20px; border-radius: 18px; background: var(--panel); box-shadow: 0 20px 60px #0006; }
.lt-dialog h2 { margin: 0 0 8px; }
.lt-dialog p, .lt-dialog li { font-size: 14.5px; color: var(--muted); }

/* Language picker (i18n.js langPicker) */
.lang-pick select { min-height: 36px; padding: 0 28px 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--ink); font: 600 14px "Plus Jakarta Sans", system-ui, sans-serif; cursor: pointer; }
.lt-welcome .lang-pick select { background: #fffffff0; border-color: #3a2c1c33; color: #3a2c1c; }

/* The tour card is white in both themes: Light's dark --ink would make its title vanish. */
.tour-card { color: #14162b; }

/* The account row of the menu (signed in), and the owner's point codes in place of the spot numbers. */
.lt-me span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; font-size: 13px; color: var(--muted); }
.lt-me button { flex: none; min-height: 36px; padding: 0 8px; border: 0; border-radius: 8px; background: none; color: var(--indigo); font: inherit; font-weight: 600; cursor: pointer; }
.lt-spots.codes .lt-card { grid-template-columns: auto minmax(0, 1fr); }
.lt-card .n.code, .lt-spot b.code { width: auto; min-width: 28px; padding: 0 8px; border-radius: 14px; white-space: nowrap; direction: ltr; }
.lt-spot b.code { left: 0; min-width: 22px; padding: 0 6px; border-radius: 11px; transform: translateX(-50%); }

/* Taktus's stage buttons (body-tools.css, share.css, view-turn.js), in a column under Front / Back / Side:
   Whole body, Turning (camera moves / body turns), Share. */
.lt-stage > :is(.home, .shr) { --bt-card: var(--panel); --bt-ink: var(--ink); --bt-line: var(--line); --bt-acc: var(--indigo); }
.lt-stage > .home { top: calc(var(--ctl) + 54px + var(--sat)); bottom: auto; inset-inline-end: 12px; }
.lt-stage > .turn-btn { top: calc(var(--ctl) + 106px + var(--sat)); }
.lt-stage > .turn-btn circle { fill: none; stroke: currentColor; }
.lt-stage > .turn-btn[aria-pressed="true"], .lt-stage > .turn-btn[aria-pressed="true"]:hover { background: #4b5bdc; border-color: #4b5bdc; color: #fff; }
.lt-stage > .shr { top: calc(var(--ctl) + 158px + var(--sat)); inset-inline-end: 12px; z-index: 3; }

/* "Tap where it hurts", shown (tap-hint.js): Taktus's finger, ring, dot and tag (phone.css .tap-hint). */
.lt-stage > .tap-hint { position: absolute; z-index: 6; width: 0; height: 0; pointer-events: none; }
.lt-stage.hinting .lt-hint { visibility: hidden; }
.tap-hint i, .tap-hint b, .tap-hint .th-finger { position: absolute; }
.tap-hint .th-ring { left: -22px; top: -22px; width: 44px; height: 44px; box-sizing: border-box; border: 3px solid #fff; border-radius: 50%; opacity: 0; animation: th-ring 4.2s ease-out 2; }
.tap-hint .th-dot { left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: #ff5a4f; box-shadow: 0 0 0 6px #ff5a4f4d; opacity: 0; animation: th-dot 4.2s ease-out 2; }
.tap-hint .th-tag { left: -18px; top: 18px; padding: 9px 14px; border-radius: 4px 16px 16px 16px; background: #141a30eb; box-shadow: 0 6px 20px #0006; color: #eef0fa;
  font: 700 15px "Plus Jakarta Sans", system-ui, sans-serif; white-space: nowrap; opacity: 0; animation: th-tag 4.2s ease-out 2; }
:lang(he) .tap-hint .th-tag { font-family: "Heebo", "Plus Jakarta Sans", system-ui, sans-serif; }
.tap-hint .th-finger { left: -27px; top: -14px; width: 56px; height: 56px; opacity: 0; transform-origin: 27px 14px; filter: drop-shadow(0 3px 6px #0009); animation: th-finger 4.2s ease-in-out 2; }
.tap-hint .th-finger svg { display: block; width: 100%; height: 100%; fill: #fff; }
@keyframes th-finger {
  0% { opacity: 0; transform: translate(80px, 110px); }
  12% { opacity: 1; transform: translate(80px, 110px); }
  34% { opacity: 1; transform: translate(0, 0); }
  40% { opacity: 1; transform: scale(.84); }
  47% { opacity: 1; transform: scale(1); }
  62% { opacity: 1; transform: translate(46px, 70px); }
  72%, 100% { opacity: 0; transform: translate(46px, 70px); }
}
@keyframes th-ring { 0%, 39% { opacity: 0; transform: scale(.3); } 41% { opacity: .9; transform: scale(.4); } 70%, 100% { opacity: 0; transform: scale(2.6); } }
@keyframes th-dot { 0%, 39% { opacity: 0; transform: scale(.2); } 44% { opacity: 1; transform: scale(1.25); } 50%, 88% { opacity: 1; transform: scale(1); } 96%, 100% { opacity: 0; } }
@keyframes th-tag { 0%, 44% { opacity: 0; transform: translateY(8px); } 52%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .tap-hint .th-finger, .tap-hint .th-ring { display: none; }
  .tap-hint .th-dot, .tap-hint .th-tag { animation: none; opacity: 1; }
}

/* Before any pain, phones and wide screens (app.js render, lt-first): Taktus's start screen (phone.css .pstart) — no
   sheet or side column, the whole body, the ways in as circles at its foot with Pain lit. */
.pstart { display: none; }
.lt-app.lt-first .lt-panel, .lt-app.lt-first .lt-hint { display: none; }
@media (min-width: 900px) { .lt-app.lt-first :is(.lt-stage, .lt-bar) { grid-column: 1 / -1; } }
@media (min-width: 900px) { .lt-app:not(.lt-first) .lt-menu { inset-inline-end: calc(420px + 64px); } } /* beside the menu button, which the side column pushes in */
.lt-app.lt-first .pstart { position: absolute; z-index: 5; left: 0; right: 0; bottom: calc(16px + var(--sab)); display: flex; justify-content: center; gap: 14px; pointer-events: none; }
.pstart .ps-c { pointer-events: auto; width: 76px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer;
  color: #eef0fa; font: 700 12px "Plus Jakarta Sans", system-ui, sans-serif; text-shadow: 0 1px 3px #000c; text-align: center; }
:lang(he) .pstart .ps-c { font-family: "Heebo", "Plus Jakarta Sans", system-ui, sans-serif; }
.pstart .ps-c span { display: grid; place-items: center; width: 58px; height: 58px; box-sizing: border-box; border: 2.5px solid #8c93f5; border-radius: 50%; background: #141a30d9; box-shadow: 0 2px 8px #0008; }
.pstart .ps-c.on span { background: var(--indigo); border-color: #fff; }
.pstart .ps-c svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* "Guide me" (light/guide.js): the guided press takes the dock — a ring for the hold, dots for the rounds, chips to switch
   spot. The spot being pressed is lit on the body, the others dimmed. */
.lt-panel.guiding > :not(.lt-guide) { display: none; }
.lt-guide { padding: 12px 16px 14px; overflow-y: auto; }
.lg-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.lg-top h2 { flex: 1; min-width: 0; margin: 0; font-size: 17px; line-height: 1.3; }
.lg-x { width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--panel2); color: var(--ink); font-size: 16px; cursor: pointer; }
.lg-chips { flex: none; display: flex; gap: 6px; }
.lg-chips button { width: 38px; height: 38px; border: 2px solid var(--spot); border-radius: 50%; background: var(--panel); color: var(--spot); font-weight: 800; font-size: 15px; cursor: pointer; }
.lg-chips button[aria-pressed="true"] { background: var(--spot); color: #fff; }
.lg-press { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: center; }
.lg-ring { position: relative; width: 92px; height: 92px; }
.lg-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.lg-ring circle { fill: none; stroke-width: 9; }
.lg-ring .bg { stroke: var(--line); }
.lg-ring .fg { stroke: var(--spot); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.lg-ring.rest .fg, .lg-ring.done .fg { stroke: #12a26b; }
.lg-ring .c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.lg-ring .c b { font-size: 26px; line-height: 1; }
.lg-ring .c small { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.lg-say { margin: 0; font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.lg-say:empty, .lg-how:empty { display: none; }
.lg-how { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.lg-rounds[hidden] { display: none; }
.lg-rounds { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; }
.lg-rounds i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.lg-rounds i.on { background: var(--spot); }
.lg-rtxt { margin-inline-start: 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.lg-acts { display: flex; gap: 8px; margin-top: 10px; }
.lg-acts .lt-btn { flex: 1; min-height: 44px; }
.lt-spot.lt-dim { opacity: .3; }
.lt-spot.lt-hot b { background: var(--pain); }
.lt-spot.lt-hot i { border-color: var(--pain); background: #e5484d33; }
@media (prefers-reduced-motion: reduce) { .lg-ring .fg { transition: none; } }
/* In the Pain dock itself (not over it): the chosen spot's words, Show me, and the ring waiting on "Start pressing". */
.lt-guide:not(.over) { padding: 2px 0 4px; overflow: visible; }
.lg-spot { margin: 0 0 10px; }
.lg-spot .where { margin: 0; font-weight: 700; font-size: 15px; line-height: 1.4; }
.lg-spot .side { margin: 2px 0 0; color: var(--indigo); font-weight: 700; font-size: 13px; }
.lg-spot .how { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.lg-spot .care { margin: 6px 0 0; padding: 6px 10px; border-radius: 9px; background: var(--warn); color: var(--warn-ink); font-size: 13px; font-weight: 600; }
.lg-show { padding: 0; border: 0; background: none; color: var(--indigo); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.lg-ring.idle .fg { stroke: var(--line); }
.lg-acts .lt-btn:only-child { flex: 1 1 100%; }
/* Phones: the card folds down to its tabs (the grab bar: tap, or swipe down / up), leaving the body the room. */
.lt-grab { display: grid; place-items: center; height: 22px; margin: 0 auto -6px; padding: 0 40px; border: 0; background: none; cursor: pointer; touch-action: none; }
.lt-grab span { width: 40px; height: 5px; border-radius: 3px; background: var(--line); transition: background .15s; }
.lt-grab:hover span, .lt-grab:focus-visible span { background: var(--muted); }
.lt-grab:focus-visible { outline: 3px solid #f5b400; outline-offset: -3px; border-radius: 8px; }
.lt-panel.folded > :is(.lt-body, .lt-safe) { display: none; }
@media (min-width: 900px) { .lt-grab { display: none; } .lt-panel.folded > :is(.lt-body, .lt-safe) { display: revert; } }
/* Taktus's beta marks (light/beta.js, ../beta.css): the bar's logo with the BETA pill beside it and the line under it. */
.lt-beta { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: end; column-gap: 8px; row-gap: 5px; margin-top: 8px; }
.lt-bar .lt-beta .lt-logo { margin-top: 0; }
.lt-beta .beta-line { grid-column: 1; width: 100%; }
.lt-beta .beta-pill { margin-bottom: 3px; padding: 2px 5px 2px 6px; border: 1.2px solid var(--beta-ink); border-radius: 99px; background: none; color: var(--beta-ink); font: 800 8px/1 system-ui, sans-serif; letter-spacing: .09em; cursor: pointer; filter: drop-shadow(0 1px 2px #0008); }
.lt-beta .beta-pill:focus-visible { outline: 2px solid var(--beta); outline-offset: 2px; }
.lt-bar .beta-pill { --beta-ink: #ff9a3c; } /* on the stage's dark blue in either theme */
#menuBtn { position: relative; }
#welcome .si-taktus > .beta-line { width: min(50vw, 200px); height: 3px; margin: 2px auto 0; background: linear-gradient(90deg, transparent, var(--beta) 25%, #ffb15c 75%, transparent); }
#welcome .si-taktus > .beta-word { display: block; font: 800 12px/1 system-ui, sans-serif; letter-spacing: .34em; color: var(--beta-ink); }
/* The quiet ways to Taktus (light/api.js taktusLink): a line under the guide's last buttons and under the Sage's spots. */
.lt-more { flex: 1 1 100%; margin: 10px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.lt-more a { color: var(--indigo); font-weight: 700; }
.lg-acts:has(.lt-more) { flex-wrap: wrap; }
.lt-menu a[role="menuitem"] { color: inherit; text-decoration: none; }
