:root {
  --glass: rgba(9, 12, 28, .62); --glass-2: rgba(14, 18, 40, .9); --line: rgba(255, 255, 255, .12);
  --ink: #eeeadf; --soft: rgba(238, 234, 223, .64); --gold: #e9d3a0; --gold-ink: #17140e;
  --serif: "Cormorant Garamond", Georgia, serif; --sans: Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #060918; color: var(--ink); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
#sky { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; display: block; touch-action: none; cursor: grab; }
#sky:active { cursor: grabbing; }
button { font: 600 14px var(--sans); color: var(--ink); background: rgba(255, 255, 255, .08); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; cursor: pointer; }
button:hover { background: rgba(255, 255, 255, .14); }
button.primary { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
button.primary:hover { background: #f1dfb4; }
button.ghost { background: transparent; border-color: transparent; color: var(--soft); }
button.ghost:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
button.small { padding: 6px 12px; font-size: 12.5px; }
button.wide { width: 100%; margin-top: 8px; }
.glass, .moment, .info, .daypill, .sheet, .modal, .about { backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); }

.hud-top { position: fixed; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: max(14px, env(safe-area-inset-top)) 18px 0; pointer-events: none; }
.hud-top > * { pointer-events: auto; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font: 500 20px var(--serif); text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }

.hint { position: fixed; left: 16px; right: 16px; top: 64px; margin: 0 auto; width: fit-content; max-width: calc(100vw - 32px); text-align: center; font-size: 12.5px; color: var(--soft); background: rgba(0, 0, 0, .28); padding: 6px 14px; border-radius: 999px; transition: opacity .8s; pointer-events: none; }
.hint.gone { opacity: 0; }
.daypill { position: fixed; left: 16px; right: 16px; top: 60px; margin: 0 auto; width: fit-content; max-width: 520px; display: flex; align-items: center; gap: 10px; background: var(--glass); border: 1px solid var(--line); border-radius: 18px; padding: 7px 7px 7px 16px; font-size: 13px; line-height: 1.35; color: var(--ink); }
.daypill span { flex: 1 1 auto; min-width: 0; }
.daypill button { padding: 6px 12px; font-size: 12.5px; background: var(--gold); color: var(--gold-ink); border: 0; white-space: nowrap; }
.daypill[hidden], .hint.gone + .daypill[hidden] { display: none; }

.moment { position: fixed; left: 50%; bottom: calc(max(10px, env(safe-area-inset-bottom)) + 14px); transform: translateX(-50%); width: min(560px, calc(100vw - 24px)); background: var(--glass); border: 1px solid var(--line); border-radius: 22px; padding: 16px 18px 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.m-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.m-title { font: 500 26px/1.1 var(--serif); letter-spacing: .005em; }
.m-line { font-size: 13px; color: var(--soft); margin-top: 3px; }
.m-line .dot { margin: 0 6px; opacity: .6; }
.scrub { margin: 12px 0 10px; }
.scrub input { width: 100%; -webkit-appearance: none; appearance: none; height: 22px; background: transparent; margin: 0; }
.scrub input::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, rgba(255,255,255,.14), rgba(233,211,160,.55) 50%, rgba(255,255,255,.14)); }
.scrub input::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(255,255,255,.25); }
.scrub input::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8.5px; border-radius: 50%; background: var(--gold); border: 3px solid #0d1124; box-shadow: 0 0 0 1px var(--gold); }
.scrub input::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 3px solid #0d1124; }
.scrub-l { display: flex; justify-content: space-between; font-size: 11px; color: var(--soft); letter-spacing: .03em; }
.m-btns { display: flex; gap: 8px; }
.m-btns .primary { flex: 1; }

.info { position: fixed; right: 18px; top: 64px; width: min(340px, calc(100vw - 24px)); background: var(--glass); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: 0 12px 40px rgba(0, 0, 0, .35); }
.info-k { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); padding-right: 24px; }
.info-t { font: 500 30px/1.1 var(--serif); margin: 4px 0 6px; }
.info-b { font-size: 14px; color: var(--soft); }
.x { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; padding: 0; border-radius: 50%; background: transparent; border: 0; font-size: 22px; line-height: 1; color: var(--soft); }

.scrim { position: fixed; inset: 0; background: rgba(2, 4, 12, .45); }
.sheet, .modal, .about { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(480px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); overflow: auto; background: var(--glass-2); border: 1px solid var(--line); border-radius: 22px; padding: 24px 22px 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.sheet h1, .sheet h2, .modal h2, .about h2 { font: 500 32px/1.08 var(--serif); margin: 0 0 6px; padding-right: 28px; }
.lede { color: var(--soft); margin: 0 0 16px; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chips button { padding: 7px 12px; font-weight: 500; font-size: 13px; }
.chips button.on { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.f { display: block; margin-bottom: 12px; }
.f > span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--soft); margin-bottom: 5px; }
.f > span em { text-transform: none; letter-spacing: 0; font-weight: 400; font-style: normal; opacity: .8; }
.f2 { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 10px; }
.f2 > .f { min-width: 0; }
input[type="date"], input[type="time"] { min-width: 0; max-width: 100%; display: block; -webkit-appearance: none; appearance: none; min-height: 44px; }
input::-webkit-date-and-time-value { text-align: left; }
#place { padding-right: 40px; }
.search .clear { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--soft); font-size: 18px; line-height: 30px; }
.search .clear:hover { color: var(--ink); background: rgba(255, 255, 255, .2); }
input { width: 100%; font: 15px var(--sans); color: var(--ink); background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; outline: none; color-scheme: dark; }
input:focus { border-color: var(--gold); }
.search { position: relative; }
#suggest { position: absolute; z-index: 3; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; background: #151a33; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px rgba(0, 0, 0, .4); }
#suggest li { padding: 9px 10px; border-radius: 7px; cursor: pointer; font-size: 14px; }
#suggest li:hover { background: rgba(255, 255, 255, .08); }
.fine { font-size: 12px; color: var(--soft); margin: 10px 0 0; }

.modal img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); display: block; margin-bottom: 12px; background: #0b1026; aspect-ratio: 1200/630; }
.linkrow { display: flex; gap: 8px; }
.linkrow input { font-size: 13px; }

.modal.print { width: min(980px, calc(100vw - 24px)); padding: 0; overflow: hidden; }
.print-grid { display: grid; grid-template-columns: 1fr 360px; max-height: calc(100dvh - 32px); }
.print-stage { background: #05070f; display: grid; place-items: center; padding: 20px; min-height: 480px; height: min(760px, calc(100dvh - 32px)); }
.print-stage canvas { box-shadow: 0 16px 50px rgba(0, 0, 0, .6); }
.print-side { padding: 24px 22px; overflow: auto; }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sw { display: flex; align-items: center; gap: 7px; border-radius: 10px; padding: 6px 8px; font-weight: 500; font-size: 12.5px; }
.sw i { width: 16px; height: 22px; border-radius: 3px; border: 1px solid; flex: none; }
.sw.on, .size.on { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.size { padding: 6px 11px; font-weight: 500; font-size: 12.5px; }
.soon { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; }
.soon p { color: var(--soft); margin: 4px 0 10px; }
.soon form { display: flex; gap: 6px; }
.soon form button { white-space: nowrap; }

.about { width: min(640px, calc(100vw - 24px)); }
.about h2 { font-size: 26px; margin-top: 18px; }
.about h2:first-of-type { margin-top: 0; font-size: 32px; }
.about p { color: rgba(238, 234, 223, .82); margin: 0 0 12px; }
.about a { color: var(--gold); }

@media (max-width: 760px) {
  .moment { border-radius: 20px; padding: 14px 14px 12px; }
  .m-title { font-size: 23px; }
  .m-btns button { padding: 10px 12px; }
  .info { left: 12px; right: 12px; width: auto; top: auto; bottom: calc(max(18px, env(safe-area-inset-bottom)) + 186px); }
  .sheet, .modal, .about { top: auto; bottom: 0; transform: translateX(-50%); width: 100vw; border-radius: 22px 22px 0 0; max-height: 92dvh; padding-bottom: max(20px, env(safe-area-inset-bottom)); }
  .print-grid { grid-template-columns: 1fr; max-height: 92dvh; overflow: auto; }
  .print-stage { height: 52dvh; min-height: 0; }
  .hint { top: 58px; }
}

body.day .hint { top: 140px; }

/* ---------- nights: keep, list, compare, share ---------- */
.hud-r { display: flex; gap: 2px; align-items: center; }
#nightsBtn b { display: inline-block; min-width: 20px; margin-left: 4px; padding: 1px 6px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-size: 11.5px; line-height: 18px; }
#nightsBtn b:empty { display: none; }
.m-act { display: flex; gap: 6px; align-items: center; flex: none; }
.keep { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; font-size: 12.5px; color: var(--gold); border-color: rgba(233, 211, 160, .45); background: rgba(233, 211, 160, .08); }
.keep.on { background: rgba(233, 211, 160, .2); border-color: var(--gold); }
#keepChips button { padding: 7px 12px; font-weight: 500; font-size: 13px; }
#keepChips button.on { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }

.sharebtns { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 8px; margin-bottom: 10px; }
.sharebtns button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.sharebtns .fb { background: #1877f2; border-color: #1877f2; color: #fff; }
.sharebtns .fb:hover { background: #2d86f5; }
#storyNote { margin: -2px 0 10px; }

.modal.nights, .modal.compare { width: min(620px, calc(100vw - 24px)); }
.n-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: rgba(233, 211, 160, .08); border: 1px solid rgba(233, 211, 160, .3); border-radius: 14px; padding: 10px 12px; margin-bottom: 12px; font-size: 13.5px; }
.n-banner span { flex: 1 1 200px; }
.n-banner[hidden] { display: none; }
.n-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.n-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 8px; align-items: center; border: 1px solid var(--line); border-radius: 16px; padding: 8px 10px 6px 8px; background: rgba(255, 255, 255, .03); }
.n-list li.picked { border-color: var(--gold); background: rgba(233, 211, 160, .07); }
.n-go { display: flex; align-items: center; gap: 12px; text-align: left; background: transparent; border: 0; border-radius: 12px; padding: 2px; font-weight: 400; min-width: 0; }
.n-go:hover { background: transparent; }
.n-disc { flex: none; width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(233, 211, 160, .45); }
.n-words { min-width: 0; display: flex; flex-direction: column; }
.n-words b { font: 500 21px/1.15 var(--serif); }
.n-words span { font-size: 12.5px; color: var(--soft); }
.n-words em { font-style: normal; font-size: 12px; color: rgba(233, 211, 160, .85); margin-top: 2px; }
.n-pick { width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); background: transparent; }
.picked .n-pick { background: var(--gold); border-color: var(--gold); box-shadow: inset 0 0 0 4px #141a36; }
.n-tools { grid-column: 1 / -1; display: flex; gap: 2px; padding-left: 78px; }
.n-tools button { background: transparent; border: 0; padding: 4px 8px; font-weight: 500; font-size: 12px; color: var(--soft); }
.n-tools button:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
.n-foot { display: flex; flex-wrap: wrap; gap: 8px; }
.n-foot button[hidden] { display: none; }
.n-foot .primary:disabled { opacity: .45; cursor: default; }

.c-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 12px; }
.c-grid figure { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.c-grid canvas { border-radius: 50%; box-shadow: 0 0 0 1px rgba(233, 211, 160, .5); max-width: 100%; }
.c-grid figcaption { margin-top: 8px; display: flex; flex-direction: column; }
.c-grid b { font: 500 21px/1.15 var(--serif); }
.c-grid span { font-size: 12px; color: var(--soft); }
.c-facts { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 7px; }
.c-facts li { font-size: 14px; color: rgba(238, 234, 223, .86); padding-left: 18px; position: relative; }
.c-facts li::before { content: '✦'; position: absolute; left: 0; top: 0; color: var(--gold); font-size: 11px; line-height: 21px; }
@media (max-width: 520px) {
  .brand span { font-size: 18px; }
  #nightsBtn .lbl { display: none; }
  #nightsBtn::before { content: '★'; color: var(--gold); margin-right: 2px; }
  #aboutBtn { padding-left: 10px; padding-right: 10px; }
  #nowBtn .lg { display: none; }
  #nowBtn { padding: 6px 8px; }
  .m-act { gap: 2px; }
}
#nowBtn .sm { display: none; }
@media (max-width: 520px) { #nowBtn .sm { display: inline; } }
@media (max-width: 760px) {
  .modal.nights, .modal.compare { width: 100vw; }
  .c-grid { gap: 10px; }
  .c-grid b { font-size: 18px; }
}

/* ---------- threshold: the way in ---------- */
body.threshold-on .hud-top, body.threshold-on .moment, body.threshold-on .hint, body.threshold-on .daypill,
body.arriving .moment, body.arriving .hint, body.arriving .daypill { opacity: 0; pointer-events: none; }
.hud-top, .moment { transition: opacity .9s ease; }
.threshold { position: fixed; inset: 0; z-index: 20; overflow-y: auto; display: flex; align-items: center; justify-content: center;
  padding: max(28px, env(safe-area-inset-top)) 22px max(28px, env(safe-area-inset-bottom));
  background: radial-gradient(ellipse 80% 70% at 50% 45%, rgba(6, 9, 24, .78), rgba(6, 9, 24, .5) 70%, rgba(6, 9, 24, .3)); transition: opacity .7s ease; }
.threshold.out { opacity: 0; pointer-events: none; }
.threshold[hidden] { display: none; }
.th-step { width: min(560px, 100%); text-align: center; margin: auto 0; }
.th-step[hidden] { display: none; }
.th-kicker { font: 600 11.5px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; opacity: .9; }
.th-h { font: 500 clamp(40px, 9vw, 64px)/1.02 var(--serif); margin: 0 0 22px; letter-spacing: -.005em; text-shadow: 0 2px 24px rgba(0, 0, 0, .6); }
.th-step[data-step]:not([data-step="intro"]) .th-h { font-size: clamp(34px, 7.5vw, 48px); margin-bottom: 10px; }
.th-prose p { font: 400 clamp(19px, 4.6vw, 22px)/1.45 var(--serif); color: rgba(238, 234, 223, .86); margin: 0 0 12px; text-shadow: 0 1px 14px rgba(0, 0, 0, .7); }
.th-prose .th-turn { font-style: italic; color: var(--ink); margin-top: 20px; }
.th-sub { color: var(--soft); margin: 0 0 22px; font-size: 15px; }
.th-go { min-width: 220px; padding: 14px 26px; font-size: 15px; margin-top: 18px; }
.th-skip, .th-back { display: block; margin: 12px auto 0; background: transparent; border: 0; color: var(--soft); font-weight: 500; font-size: 13.5px; text-decoration: underline; text-decoration-color: rgba(238, 234, 223, .3); text-underline-offset: 3px; }
.th-skip:hover, .th-back:hover { background: transparent; color: var(--ink); }
.th-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 6px; }
.th-kinds button { padding: 16px 14px; font: 500 21px/1.2 var(--serif); border-radius: 16px; background: rgba(14, 18, 40, .55); border-color: rgba(233, 211, 160, .28); }
.th-kinds button:hover { background: rgba(233, 211, 160, .14); border-color: var(--gold); }
.th-kinds button:last-child { grid-column: 1 / -1; }
.threshold .f { text-align: left; }
.threshold input { background: rgba(14, 18, 40, .7); font-size: 16px; }
.threshold input.need { border-color: #e9a0a0; }
.th-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 10px; }
.th-row .f { min-width: 0; }
.th-check { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--soft); font-size: 14px; cursor: pointer; }
.th-check input { width: 18px; height: 18px; accent-color: #e9d3a0; }
.th-err { color: #e9b8a0; font-size: 13.5px; margin: -4px 0 0; }
.suggest { position: absolute; z-index: 3; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; background: #151a33; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px rgba(0, 0, 0, .4); text-align: left; }
.suggest li { padding: 10px; border-radius: 7px; cursor: pointer; font-size: 15px; }
.suggest li:hover { background: rgba(255, 255, 255, .08); }
.suggest[hidden] { display: none; }
input:disabled { opacity: .4; }

.th-step.in > * { animation: thIn .9s ease both; }
.th-step.in > :nth-child(2) { animation-delay: .15s; }
.th-step.in > :nth-child(3) { animation-delay: .3s; }
.th-step.in > :nth-child(n+4) { animation-delay: .45s; }
.th-step[data-step="intro"].in .th-prose p { animation: thIn 1.4s ease both; }
.th-step[data-step="intro"].in .th-prose p:nth-child(1) { animation-delay: .5s; }
.th-step[data-step="intro"].in .th-prose p:nth-child(2) { animation-delay: 1.4s; }
.th-step[data-step="intro"].in .th-prose p:nth-child(3) { animation-delay: 2.3s; }
.th-step[data-step="intro"].in .th-prose p:nth-child(4) { animation-delay: 3.2s; }
.th-step[data-step="intro"].in .th-prose p:nth-child(5) { animation-delay: 4.3s; }
.th-step[data-step="intro"].in .th-go { animation-delay: 5.1s; }
.th-step[data-step="intro"].in .th-skip { animation-delay: 5.5s; }
.th-step[data-step="intro"].in .th-prose { animation: none; }
@keyframes thIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .th-step.in > *, .th-step.in .th-prose p { animation: none !important; } }

.arrival { position: fixed; left: 12px; right: 12px; top: 30%; z-index: 15; margin: 0 auto; width: min(600px, calc(100vw - 24px)); padding: 34px 26px; text-align: center; pointer-events: none; border-radius: 40px;
  background: radial-gradient(ellipse 70% 65% at 50% 50%, rgba(6, 9, 24, .78), rgba(6, 9, 24, .45) 60%, rgba(6, 9, 24, 0) 100%); animation: thIn 1.6s ease .5s both; transition: opacity .8s ease; }
.arrival.out { opacity: 0; }
.arrival[hidden] { display: none; }
.ar-t { font: 500 clamp(36px, 8vw, 56px)/1.05 var(--serif); text-shadow: 0 2px 26px rgba(0, 0, 0, .8); }
.ar-w { font-size: 14px; color: var(--soft); margin-top: 8px; text-shadow: 0 1px 10px rgba(0, 0, 0, .8); }
.ar-l { font: italic 400 clamp(18px, 4.4vw, 21px)/1.45 var(--serif); color: rgba(238, 234, 223, .9); margin: 18px auto 0; max-width: 460px; text-shadow: 0 1px 14px rgba(0, 0, 0, .9); }
.ar-l:empty { display: none; }
.arrival button { pointer-events: auto; margin-top: 16px; color: var(--gold); }

/* ---------- order a print ---------- */
.order { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; }
.order > p { color: var(--soft); margin: 4px 0 12px; }
.oframes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.oframes button { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 8px 4px; border-radius: 10px; font-weight: 500; font-size: 12px; }
.oframes i { width: 22px; height: 22px; border-radius: 4px; border: 2px solid rgba(255,255,255,.35); }
.oframes button.on { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
#orderBtn:disabled { opacity: .6; }

/* the place suggestions sit above the buttons below them (each animated row is its own layer) */
.th-placef { position: relative; z-index: 6; }
.info { max-height: min(62dvh, 520px); overflow-y: auto; overscroll-behavior: contain; }
.info-m { font: 400 17.5px/1.45 var(--serif); color: rgba(238, 234, 223, .92); margin: 0 0 10px; }
.info-m[hidden] { display: none; }
@media (max-width: 760px) { .info { top: calc(max(14px, env(safe-area-inset-top)) + 46px); bottom: auto; max-height: 44dvh; } }

/* when: a slider through the day */
.th-clock { margin: 4px 0 14px; padding: 14px 16px 10px; border: 1px solid var(--line); border-radius: 16px; background: rgba(14, 18, 40, .55); }
.th-clock.off { opacity: .45; }
.th-time { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.th-time b { font: 500 36px/1 var(--serif); }
.th-time span { font: italic 400 17px var(--serif); color: var(--gold); }
#thSlide { width: 100%; margin: 14px 0 4px; -webkit-appearance: none; appearance: none; height: 30px; background: transparent; padding: 0; border: 0; }
#thSlide::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, #0b1030 0%, #27346a 20%, #e6b980 26%, #8fb7e6 38%, #9cc3ee 50%, #8fb7e6 62%, #e6a070 74%, #27346a 80%, #0b1030 100%); }
#thSlide::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, #0b1030 0%, #27346a 20%, #e6b980 26%, #8fb7e6 38%, #9cc3ee 50%, #8fb7e6 62%, #e6a070 74%, #27346a 80%, #0b1030 100%); }
#thSlide::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--gold); border: 4px solid #0d1124; box-shadow: 0 0 0 1px var(--gold), 0 2px 10px rgba(0,0,0,.5); }
#thSlide::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); border: 4px solid #0d1124; }
.th-ticks { display: flex; justify-content: space-between; font-size: 11px; color: var(--soft); letter-spacing: .03em; }
.th-exact { display: block; margin: 8px auto 0; background: transparent; border: 0; padding: 4px; font-weight: 500; font-size: 12.5px; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.th-exact:hover { background: transparent; color: var(--ink); }
.th-exact[hidden], #thTime[hidden] { display: none; }
#thTime { margin-top: 8px; }
