/* Discover (src/discover.html): the hologram fills the first screen under the site's header; every plan follows in
   the page's own words. Everything the stage draws is scoped under .dsc, so the site's styles and the stage's never
   meet. Without the 3D (.dsc.no3d) the stage keeps its panel and search; the list is the page. */
.dsc-top { position: relative; }
/* inside My Lifestyle Hub (html.in-app, set by the page's first script): the stage fills the frame, and the site's
   header, footer and the words below it aren't there; nor are the search and the chips (the app's own button takes
   them back to their room, top left, so the bar leaves room for it) */
html:not(.in-app) .dsc .d-app { display: none !important; }
html.in-app .dsc .d-site { display: none !important; }
html.in-app .nav, html.in-app .foot, html.in-app .amb, html.in-app .dsc-list, html.in-app main > section.close { display: none !important; }
html.in-app, html.in-app body { overflow: hidden; height: 100%; }
html.in-app .dsc-page .dsc { height: 100vh; height: 100dvh; min-height: 0; max-height: none; }
html.in-app .dsc .d-bar { padding-left: 196px; }
@media (max-width: 640px) { html.in-app .dsc .d-bar { padding-left: 132px; } }
.dsc-page .dsc { height: calc(100vh - 63px); height: calc(100svh - 63px); min-height: 560px; max-height: 980px; }
@media (max-width: 899px) { .dsc-page .dsc { min-height: 620px; } }
.dsc-list { padding-block: 84px 24px; scroll-margin-top: 70px; }
.dsc-list .lede { max-width: 42rem; }
.dsc-fam { margin-top: 44px; }
.dsc-fam > h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; margin: 0 0 14px; }
.dsc-fam > h3 i { width: 10px; height: 10px; border-radius: 50%; background: var(--fc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fc) 22%, transparent); }
.dsc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.dsc-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.dsc-card summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; }
.dsc-card summary::-webkit-details-marker { display: none; }
.dsc-card summary img { width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); padding: 4px; }
.dsc-card summary b { display: block; font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; }
.dsc-card summary small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.dsc-card ol { margin: 14px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.dsc-card ol li::marker { color: var(--muted); font-variant-numeric: tabular-nums; }
.dsc-card ol a { color: var(--muted); font-size: 12.5px; text-decoration: none; }
.dsc-card ol a:hover { color: var(--ink); text-decoration: underline; }
.dsc-card .dsc-open { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 500; color: var(--accent-ink); text-decoration: none; }
.dsc-card .dsc-open:hover { text-decoration: underline; }
/* Layout: the sea at dusk fills the screen; the hologram floats over it with anatomical-plate labels either side;
   the title sits bottom-left; a glass lesson panel docks right (a bottom sheet on phones). One deliberate look: dark. */
/* Layout: the sea at dusk fills the screen; the hologram floats over it with anatomical-plate labels either side;
   the title sits bottom-left; a glass lesson panel docks right (a bottom sheet on phones). One deliberate look: dark. */
.dsc {
  color-scheme: dark;
  --night: #060a14;
  --ink: #eef4ff;
  --ink-2: #bccadf;
  --muted: #8a9dba;
  --line: rgba(150, 205, 255, .17);
  --line-2: rgba(150, 205, 255, .3);
  --holo: #7fd6ff;
  --glass: rgba(9, 16, 31, .7);
  --glass-hi: rgba(140, 200, 255, .07);
  --chronic: #ff7d9c;
  --prevention: #5cc9f5;
  --lifestyle: #57d39a;
  --btn-ink: #07101f;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --top: calc(env(safe-area-inset-top, 0px) + 64px);
}
.dsc { position: relative; height: 100%; min-height: 100%; background: var(--night); color: var(--ink); font: 15px/1.5 var(--sans); overflow: hidden; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; box-sizing: border-box; isolation: isolate; text-align: left; }
.dsc *, .dsc *::before, .dsc *::after { box-sizing: border-box; }
.dsc [hidden] { display: none !important; }
.dsc button, .dsc input { font: inherit; color: inherit; }
.dsc button { cursor: pointer; border: 0; background: none; padding: 0; margin: 0; }
.dsc a { color: inherit; }
.dsc :focus-visible { outline: 2px solid var(--holo); outline-offset: 3px; border-radius: 6px; }
.dsc p, .dsc h1, .dsc h2, .dsc h3 { margin: 0; }
.dsc .d-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.dsc #gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; outline: none; }
.dsc .veil { position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(120% 70% at 0% 100%, rgba(3, 6, 14, .62), rgba(3, 6, 14, 0) 55%), linear-gradient(180deg, rgba(3, 6, 14, .45), rgba(3, 6, 14, 0) 16%); }

/* ------------------------------------------------------------ top bar */
.dsc .d-bar { position: absolute; z-index: 30; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 14px;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 22px 10px; pointer-events: none; }
.dsc .d-bar > * { pointer-events: auto; }
.dsc .d-brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; min-width: 0; }
.dsc .d-brand b { font-weight: 600; font-size: 16px; letter-spacing: -.02em; white-space: nowrap; }
.dsc .d-brand .short, .dsc .d-seg .narrow { display: none; }
.dsc .d-brand .tag { font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--holo); white-space: nowrap; }
.dsc .d-bar .d-sp { flex: 1; }
.dsc .d-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(8, 14, 28, .5); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.dsc .d-seg button { border: 0; background: none; padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: background .3s var(--ease), color .3s var(--ease); }
.dsc .d-seg button[aria-pressed="true"] { background: rgba(127, 214, 255, .16); color: var(--ink); }
.dsc .pill { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(8, 14, 28, .5); backdrop-filter: blur(10px); font-size: 13.5px; font-weight: 500; white-space: nowrap; transition: border-color .25s var(--ease), background .25s var(--ease); }
.dsc .pill:hover { border-color: var(--holo); background: rgba(127, 214, 255, .1); }
.dsc .pill b { font: 500 11.5px/1 var(--mono); color: var(--holo); }

/* ------------------------------------------------------------ the title, bottom left */
.dsc .d-hero { position: absolute; z-index: 10; left: 40px; bottom: calc(env(safe-area-inset-bottom, 0px) + 36px); width: min(560px, calc(100% - 80px));
  display: flex; flex-direction: column; gap: 14px; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.dsc .d-hero.d-off { opacity: 0; transform: translateY(14px); pointer-events: none; }
.dsc .d-eyebrow { margin: 0; font: 500 11px/1.3 var(--mono); letter-spacing: .15em; text-transform: uppercase; color: var(--holo); }
.dsc .d-hero h1 { margin: 0; font-weight: 500; font-size: clamp(34px, 2.2rem + 1.6vw, 60px); line-height: .98; letter-spacing: -.035em; text-wrap: balance; text-shadow: 0 2px 30px rgba(3, 6, 14, .55); }
.dsc .d-hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: #bfe6ff; }
.dsc .d-hero .d-lede { margin: 0; max-width: 46ch; color: var(--ink-2); font-size: 15.5px; text-shadow: 0 1px 16px rgba(3, 6, 14, .7); }
.dsc .goals { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-top: 4px; }
.dsc .goals .gl { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.dsc .goal { border: 1px solid var(--line-2); background: rgba(8, 14, 28, .45); backdrop-filter: blur(8px); border-radius: 999px; padding: 7px 13px; font-size: 13.5px; white-space: nowrap;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease); }
.dsc .goal:hover { border-color: var(--c, var(--holo)); background: rgba(127, 214, 255, .1); transform: translateY(-1px); }
.dsc .goal i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--c); margin-right: 7px; vertical-align: 1px; box-shadow: 0 0 10px var(--c); }

.dsc .sun { position: absolute; z-index: 12; right: 26px; bottom: calc(env(safe-area-inset-bottom, 0px) + 30px); display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.dsc .sun-pill { height: 34px; padding: 0 13px; font-size: 13px; gap: 7px; }
.dsc .sun-pill b { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--ink); letter-spacing: .04em; }
.dsc .sun-pop { width: 260px; padding: 14px 16px 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(16px); display: flex; flex-direction: column; gap: 10px; animation: rise .3s var(--ease) both; }
.dsc .sun-pop label { display: flex; justify-content: space-between; font: 500 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dsc .sun-pop output { color: var(--ink); letter-spacing: .04em; }
.dsc .sun-pop input[type="range"] { width: 100%; accent-color: var(--holo); margin: 0; }
.dsc .sun-row { display: flex; flex-wrap: wrap; gap: 5px; }
.dsc .chip-s { border: 1px solid var(--line); background: none; border-radius: 999px; padding: 4px 10px; font-size: 12.5px; color: var(--ink-2); }
.dsc .chip-s:hover, .dsc .chip-s[aria-pressed="true"] { border-color: var(--holo); color: var(--ink); }
.dsc .d-hint { position: absolute; z-index: 10; right: 26px; bottom: calc(env(safe-area-inset-bottom, 0px) + 76px); margin: 0; font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
  text-align: right; transition: opacity .6s var(--ease); text-shadow: 0 1px 10px rgba(3, 6, 14, .8); }
.dsc .d-hint.d-off { opacity: 0; }
.dsc .loading { position: absolute; z-index: 10; left: 50%; top: 46%; transform: translate(-50%, -50%); margin: 0; font: 500 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--holo);
  animation: breathe 1.6s ease-in-out infinite; transition: opacity .6s; }
.dsc .loading.d-off { opacity: 0; animation: none; }
@keyframes breathe { 50% { opacity: .45; } }

/* ------------------------------------------------------------ plate labels on the figure */
.dsc .plate { position: absolute; inset: 0; z-index: 8; pointer-events: none; }
.dsc .plate svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dsc .plate svg line { stroke: rgba(170, 220, 255, .38); stroke-width: 1; transition: opacity .3s; }
.dsc .plate svg path.lead { fill: none; stroke-width: 1.6; stroke-linecap: round; filter: drop-shadow(0 0 6px currentColor); }
.dsc .plate svg circle.lead { stroke: none; }
.dsc .d-dot { position: absolute; left: 0; top: 0; width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 0; padding: 0; background: none; pointer-events: auto; opacity: 0; transition: opacity .35s var(--ease); }
.dsc .d-dot.vis { opacity: 1; }
.dsc .d-dot::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 1.5px solid var(--c, var(--holo)); box-shadow: 0 0 12px var(--c, var(--holo)); transition: transform .3s var(--ease); }
.dsc .d-dot::after { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: var(--c, var(--holo)); animation: pulse 2.4s ease-in-out infinite; }
.dsc .d-dot:hover::before, .dsc .d-dot.hov::before, .dsc .d-dot.d-sel::before { transform: scale(1.35); }
@keyframes pulse { 50% { transform: scale(.55); opacity: .6; } }
.dsc .lab { position: absolute; left: 0; top: 0; display: flex; align-items: baseline; gap: 8px; padding: 5px 9px; margin-top: -14px; border: 0; border-radius: 8px; background: none; pointer-events: auto;
  font-size: 13px; font-weight: 500; letter-spacing: -.005em; color: var(--ink); white-space: nowrap; opacity: 0; transition: opacity .35s var(--ease), background .25s var(--ease); text-shadow: 0 1px 12px rgba(3, 6, 14, .85); }
.dsc .lab.vis { opacity: 1; }
.dsc .lab small { font: 500 11px/1 var(--mono); color: var(--holo); }
.dsc .lab:hover, .dsc .lab.hov { background: rgba(127, 214, 255, .12); }
.dsc .lab.d-sel { background: rgba(8, 14, 28, .6); }
.dsc .lab.d-sel small { color: var(--c); }
.dsc .lab.r { transform-origin: left center; }

/* ------------------------------------------------------------ the panel */
.dsc .d-panel { position: absolute; z-index: 20; top: var(--top); right: 20px; bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); width: min(460px, 38vw);
  background: linear-gradient(180deg, rgba(14, 24, 46, .76), rgba(7, 13, 27, .82)); backdrop-filter: blur(20px) saturate(1.25); -webkit-backdrop-filter: blur(20px) saturate(1.25);
  border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06);
  opacity: 0; transform: translateX(26px); pointer-events: none; transition: opacity .45s var(--ease), transform .45s var(--ease); display: flex; flex-direction: column; }
.dsc .d-panel.d-on { opacity: 1; transform: none; pointer-events: auto; }
.dsc .d-panel .x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: rgba(8, 14, 28, .6); display: grid; place-items: center; color: var(--ink-2); }
.dsc .d-panel .x:hover { color: var(--ink); border-color: var(--line-2); }
.dsc .pb { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 16px; scrollbar-width: thin; scrollbar-color: rgba(150, 205, 255, .25) transparent; }
.dsc .pb > * { min-width: 0; }
.dsc .fresh > * { animation: rise .5s var(--ease) both; animation-delay: calc(var(--d, 0) * 45ms); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.dsc .d-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 6px 10px 6px 4px; margin: -4px 0 -6px -4px; border-radius: 8px; color: var(--ink-2); font-size: 13.5px; font-weight: 500; }
.dsc .d-back:hover { color: var(--ink); background: var(--glass-hi); }
.dsc .d-back svg { width: 16px; height: 16px; }
.dsc .head { display: flex; flex-direction: column; gap: 8px; padding-right: 30px; }
.dsc .head h2 { margin: 0; font-weight: 500; font-size: 28px; line-height: 1.05; letter-spacing: -.03em; text-wrap: balance; }
.dsc .head p.d-lede { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.dsc .h3 { margin: 6px 0 -4px; font: 500 11px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dsc .legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--ink-2); }
.dsc .legend span { display: inline-flex; align-items: center; gap: 6px; }
.dsc .legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }

.dsc .bite { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--glass-hi); border: 1px solid var(--line); }
.dsc .bite b { font: 400 44px/0.9 var(--serif); letter-spacing: -.02em; color: #c9ecff; font-variant-numeric: tabular-nums; }
.dsc .bite span { font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.dsc .bite small { display: block; margin-top: 3px; font: 500 10.5px/1.3 var(--mono); letter-spacing: .06em; color: var(--muted); }

.dsc .bubs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dsc .bub { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px 10px 8px 8px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); text-align: left;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease); }
.dsc .bub:hover { border-color: var(--c); background: rgba(255, 255, 255, .05); transform: translateY(-1px); }
.dsc .bub .nm { font-size: 13.5px; line-height: 1.25; font-weight: 500; }
.dsc .bub .nm small { display: block; margin-top: 2px; font: 500 10px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
.dsc .d-orb { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .22), rgba(255, 255, 255, .03) 60%), rgba(8, 14, 28, .6);
  box-shadow: inset 0 0 0 1.5px var(--c), 0 0 18px -4px var(--c); }
.dsc .d-orb img { width: 74%; height: 74%; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35)); }
.dsc .d-orb.big { width: 76px; height: 76px; box-shadow: inset 0 0 0 2px var(--c), 0 0 34px -6px var(--c); }
.dsc .d-also { display: flex; flex-wrap: wrap; gap: 6px; }
.dsc .chip { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: none; font-size: 13px; }
.dsc .chip:hover { border-color: var(--c); }
.dsc .chip .d-orb { width: 26px; height: 26px; }

/* a lesson */
.dsc .lesson-top { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: center; padding-right: 30px; }
.dsc .lesson-top .d-eyebrow { color: var(--c); }
.dsc .lesson-top .pn { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.dsc .lesson h2 { margin: 0; font-weight: 500; font-size: 30px; line-height: 1.04; letter-spacing: -.032em; text-wrap: balance; }
.dsc .lesson h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.dsc .factors { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.dsc .factors li { border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); transition: border-color .25s var(--ease), background .25s var(--ease); }
.dsc .factors li.open { border-color: color-mix(in srgb, var(--c) 55%, transparent); background: rgba(255, 255, 255, .045); }
.dsc .fresh .factors li { animation: rise .55s var(--ease) both; animation-delay: calc(200ms + var(--i) * 70ms); }
.dsc .factors > li > button { width: 100%; display: grid; grid-template-columns: 30px minmax(0, 1fr) 18px; gap: 10px; align-items: start; padding: 11px 12px; border: 0; background: none; text-align: left; border-radius: 14px; }
.dsc .factors .d-n { font: 500 12px/1.6 var(--mono); color: var(--c); font-variant-numeric: tabular-nums; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.dsc .factors .d-n .has-ref { width: 5px; height: 5px; border-radius: 50%; background: var(--holo); box-shadow: 0 0 6px var(--holo); margin-left: 6px; }
.dsc .factors .t { font-size: 14.5px; line-height: 1.38; font-weight: 500; }
.dsc .factors .chev { width: 18px; height: 18px; margin-top: 1px; color: var(--muted); transition: transform .3s var(--ease); }
.dsc .factors li.open .chev { transform: rotate(90deg); color: var(--c); }
.dsc .factors .d-why { padding: 0 14px 13px 52px; display: flex; flex-direction: column; gap: 10px; animation: rise .35s var(--ease) both; }
.dsc .factors .d-why p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
/* a research reference */
.dsc .ref { display: flex; flex-direction: column; gap: 5px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(3, 7, 16, .35); border-left: 2px solid var(--holo); }
.dsc .ref-src { margin: 0; font: 500 10.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--holo); }
.dsc .ref-t { font-size: 13.5px; line-height: 1.4; font-weight: 500; color: var(--ink); text-decoration: none; }
.dsc .ref-t:hover { text-decoration: underline; text-underline-offset: 3px; }
.dsc .ref-t svg { display: inline; vertical-align: -1px; margin-left: 2px; color: var(--muted); }
.dsc .ref-more { align-self: flex-start; border: 0; background: none; padding: 2px 0; font-size: 12.5px; font-weight: 500; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(188, 202, 223, .4); }
.dsc .ref-more:hover { color: var(--ink); }
.dsc .ref-body { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; animation: rise .3s var(--ease) both; }
.dsc .ref-body p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.dsc .ref-body ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.dsc .ref-go { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--holo); text-decoration: none; }
.dsc .ref-go:hover { text-decoration: underline; text-underline-offset: 3px; }
.dsc .refs { display: flex; flex-direction: column; gap: 8px; }
.dsc .refs .ref { border-left-color: var(--c, var(--holo)); }
.dsc .linkish { align-self: flex-start; border: 0; background: none; padding: 4px 2px; font-size: 13px; font-weight: 500; color: var(--holo); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(127, 214, 255, .4); }
.dsc .cta { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 16px; border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(127, 214, 255, .1), rgba(127, 214, 255, .02)); }
.dsc .cta h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.dsc .cta p { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.dsc .cta .d-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.dsc .d-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; border: 1px solid transparent; white-space: nowrap; }
.dsc .d-btn.pri { background: var(--ink); color: var(--btn-ink); }
.dsc .d-btn.pri:hover { background: #ffffff; }
.dsc .d-btn.sec { border-color: var(--line-2); color: var(--ink); }
.dsc .d-btn.sec:hover { border-color: var(--holo); }
.dsc .fine { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }

/* the full list */
.dsc .hero-find { width: min(420px, 100%); margin-top: 2px; background: rgba(8, 14, 28, .55); backdrop-filter: blur(10px); }
.dsc .find { display: flex; align-items: center; gap: 9px; padding: 0 14px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(3, 7, 16, .45); }
.dsc .find svg { width: 17px; height: 17px; color: var(--muted); flex: none; }
.dsc .find input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 15px; }
.dsc .find input::placeholder { color: var(--muted); }
.dsc .regs { display: flex; flex-wrap: wrap; gap: 6px; }
.dsc .reg { border: 1px solid var(--line); background: none; border-radius: 999px; padding: 6px 12px; font-size: 13px; display: inline-flex; gap: 7px; align-items: baseline; }
.dsc .reg:hover { border-color: var(--holo); }
.dsc .reg small { font: 500 11px/1 var(--mono); color: var(--holo); }
.dsc .rows { display: flex; flex-direction: column; gap: 2px; }
.dsc .row-p { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 6px 8px; border: 0; border-radius: 12px; background: none; text-align: left; }
.dsc .row-p:hover { background: var(--glass-hi); }
.dsc .row-p .d-orb { width: 34px; height: 34px; }
.dsc .row-p .nm { font-size: 14px; font-weight: 500; line-height: 1.25; }
.dsc .row-p .nm small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 400; margin-top: 1px; }
.dsc .row-p svg { width: 16px; height: 16px; color: var(--muted); }
.dsc .empty { margin: 0; font-size: 14px; color: var(--ink-2); }

/* no 3D: the panel carries everything */
.dsc.no3d .loading, .dsc.no3d .d-hint, .dsc.no3d .plate { display: none; }
.dsc.no3d #gl { display: none; }
.dsc.no3d { background: radial-gradient(120% 80% at 70% 20%, #18304f, #060a14 70%); }

/* ------------------------------------------------------------ phones */
@media (max-width: 899px) {
  .dsc .d-bar { padding: calc(env(safe-area-inset-top, 0px) + 10px) 14px 8px; gap: 10px; }
  .dsc .d-brand .tag { display: none; }
  .dsc .d-brand b { font-size: 15px; }
  .dsc .d-seg .d-wide { display: none; }
  .dsc .d-seg .narrow { display: inline; }
  .dsc .d-seg button { padding: 6px 10px; font-size: 12.5px; }
  .dsc .pill { height: 34px; padding: 0 12px; font-size: 13px; }
  .dsc .pill .d-wide { display: none; }
  .dsc .d-hero { left: 16px; right: 16px; width: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); gap: 9px; }
  .dsc .d-hero .d-lede { display: none; }
  .dsc .d-hero h1 { font-size: clamp(30px, 8.4vw, 40px); }
  .dsc .d-hero .d-lede { font-size: 14px; }
  .dsc .goals { flex-wrap: nowrap; overflow-x: auto; margin: 2px -16px 0; padding: 2px 16px 6px; scrollbar-width: none; }
  .dsc .goals::-webkit-scrollbar { display: none; }
  .dsc .goals .gl { display: none; }
  .dsc .d-hint { right: 0; left: 0; text-align: center; top: calc(env(safe-area-inset-top, 0px) + 58px); bottom: auto; font-size: 10px; }
  .dsc .sun { right: 12px; top: calc(env(safe-area-inset-top, 0px) + 56px); bottom: auto; }
  .dsc .sun-pill { height: 30px; padding: 0 10px; font-size: 12px; }
  .dsc .sun-pop { width: min(260px, calc(100% - 24px)); }
  .dsc .hero-find { width: 100%; }
  .dsc .d-panel { left: 0; right: 0; bottom: 0; top: auto; width: auto; height: 60%; border-radius: 22px 22px 0 0; border-bottom: 0; transform: translateY(40px); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .dsc .d-panel::before { content: ""; position: absolute; top: 7px; left: 50%; width: 38px; height: 4px; margin-left: -19px; border-radius: 4px; background: rgba(255, 255, 255, .22); }
  .dsc .pb { padding: 20px 16px 22px; }
  .dsc .lab { display: none; }
  .dsc .head h2, .dsc .lesson h2 { font-size: 25px; }
  .dsc .lesson-top { grid-template-columns: 60px minmax(0, 1fr); }
  .dsc .d-orb.big { width: 60px; height: 60px; }
}
@media (max-width: 420px) {
  .dsc .d-brand .full { display: none; }
  .dsc .d-brand .short { display: inline; }
}
@media (max-width: 380px) {
  .dsc .d-seg button { padding: 6px 8px; }
  .dsc .bubs { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .dsc *, .dsc *::before, .dsc *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}

/* screenshots in tests: no transitions to catch half way */
.still .dsc *, .still .dsc *::before, .still .dsc *::after { transition: none !important; animation: none !important; }
