:root {
  color-scheme: dark;
  --fg: #595959;
  --accent: #36a7c2;
  --line: rgba(158, 176, 233, .15);
  font-family: Helvetica, Arial, sans-serif;
  letter-spacing: 1px;
  -webkit-text-stroke: 2px #000;
  paint-order: stroke fill;
  background: #02030d;
  color: var(--fg);
}
* { box-sizing: border-box; }
body { position: relative; margin: 0; min-height: 100svh; background: radial-gradient(ellipse at 28% 45%, #080d26 0%, #040616 38%, #02030d 75%); }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; letter-spacing: inherit; cursor: pointer; }
a { color: inherit; }
button:hover, button:focus-visible, a:hover, a:focus-visible { color: var(--accent); }
button:focus-visible, a:focus-visible { outline: 1px solid var(--accent); outline-offset: 7px; }
button { border: 0; }
[hidden] { display: none !important; }
#orb-clock { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.screen-texture { position: fixed; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0px, transparent 3px, rgba(0,0,0,.09) 4px); opacity: .4; }
.interface { transition: opacity .7s; }
.masthead { position: absolute; z-index: 1; top: 0; width: 100%; padding: 36px 4.4%; }
.wordmark { font-size: 24px; text-decoration: none; }
main { min-height: 100svh; display: flex; align-items: center; justify-content: flex-end; padding: 130px 9% 150px 52%; }
.system-menu { position: relative; width: 100%; max-width: 470px; }
.menu-options { display: flex; flex-direction: column; align-items: center; gap: 23px; }
.menu-option { background: none; padding: 4px 0; text-align: center; font-size: clamp(24px, 2.6vw, 35px); font-weight: 400; white-space: nowrap; transition: color .2s; }
.menu-option.selected { color: var(--accent); }
.configuration-menu { display: flex; flex-direction: column; align-items: center; width: 100%; color: #fff; text-align: center; touch-action: none; }
.configuration-menu h1 { margin: 2px 0 12px; color: #e5d44a; font-size: clamp(24px, 2.6vw, 35px); font-weight: 400; line-height: 1.2; }
.configuration-menu button { background: none; color: #fff; }
.configuration-menu button:is(:hover, :focus-visible) { color: #fff; }
.configuration-menu :is(button, output):focus-visible { outline: 1px solid #fff9; outline-offset: 2px; }
.configuration-menu:focus { outline: none; }
.configuration-options { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; width: min(100%, 320px); }
.setting-value-window { position: relative; height: 56px; overflow: hidden; }
.setting-value-window > :is(span, output) { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: clamp(28px, 3vw, 38px); font-weight: 400; white-space: nowrap; font-variant-numeric: tabular-nums; }
.setting-value-window > output:focus-visible { outline-offset: -3px; }
.option-control, .section-control { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 12px; }
.option-control span, .section-control span { display: block; width: 0; height: 0; border: 5px solid transparent; opacity: .65; }
.option-previous span { border-right: 7px solid currentColor; border-left: 0; }
.option-next span { border-left: 7px solid currentColor; border-right: 0; }
.section-previous span { border-bottom: 6px solid currentColor; border-top: 0; }
.section-next span { border-top: 6px solid currentColor; border-bottom: 0; }
.configuration-menu button:disabled { cursor: default; }
.configuration-menu button:disabled span { opacity: .2; }
#section-indicators { display: flex; gap: 7px; justify-content: center; margin-top: 10px; height: 4px; }
#section-indicators span { width: 10px; height: 2px; background: #fff; opacity: .18; }
#section-indicators .current { opacity: .6; }
.configuration-back { min-height: 44px; min-width: 66px; padding: 10px 12px; font-size: 14px; }
.configuration-menu .setting-error { max-width: 100%; margin: 6px 0 0; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
footer { position: absolute; z-index: 1; width: 100%; bottom: 0; padding: 25px 4.4%; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 10px; }
.footer-left { font-variant-numeric: tabular-nums; }
.screen-controls { display: flex; gap: 14px; }
.quiet-button { background: none; padding: 7px; border-radius: 3px; transition: color .2s; }
.quiet-button svg { display: block; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.sound-waves, .play-symbol { display: none; }
#sound-button[aria-pressed="true"] .sound-waves, #pause-button[aria-pressed="true"] .play-symbol { display: initial; }
#sound-button[aria-pressed="true"] .sound-muted, #pause-button[aria-pressed="true"] .pause-symbol { display: none; }
.return-button { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); background: rgba(6,10,26,.75); border: 1px solid var(--line); padding: 12px 20px; border-radius: 3px; font-size: 12px; }
.return-button span { margin-left: 16px; }
.clock-only .interface { opacity: 0; pointer-events: none; visibility: hidden; }
dialog { color: #fff; background: linear-gradient(135deg, rgba(13,21,49,.97), rgba(5,9,25,.98)); border: 1px solid rgba(132,157,225,.2); border-radius: 4px; padding: 32px; width: min(490px, calc(100% - 36px)); max-height: calc(100svh - 48px); box-shadow: 0 25px 100px #0009, inset 0 1px 0 #bdcfff0a; }
dialog::backdrop { background: #01030ab8; backdrop-filter: blur(6px); }
dialog :is(button, a):is(:hover, :focus-visible) { color: inherit; }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.close-button { background: none; font-size: 24px; line-height: 1; padding: 3px 6px; }
dialog h1 { font-size: 26px; font-weight: 400; margin: 0; }
.browser-links { display: flex; flex-direction: column; gap: 9px; }
.browser-link { display: flex; align-items: center; gap: 20px; text-decoration: none; border: 1px solid var(--line); background: #b0caff04; padding: 18px; transition: background .2s, border-color .2s; }
.browser-link:hover { background: #98b4ff0b; border-color: #7d92c855; }
.link-symbol { font-size: 18px; width: 27px; }
.link-arrow { margin-left: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.no-script { position: absolute; bottom: 100px; left: 5%; right: 5%; text-align: center; font-size: 14px; }
@media (max-width: 700px) {
  .masthead { padding: 25px 7%; }
  .wordmark { font-size: 22px; }
  main { justify-content: center; align-items: flex-start; padding: 57svh 10% 135px 17%; }
  .system-menu { max-width: 360px; }
  .menu-options { gap: 16px; }
  .menu-option { font-size: clamp(20px, 5.8vw, 29px); }
  body.configuration-open main { padding: 44svh 7% 88px; }
  .configuration-menu h1 { font-size: clamp(22px, 5.8vw, 29px); margin-bottom: 6px; }
  .setting-value-window { height: 48px; }
  .setting-value-window > :is(span, output) { font-size: clamp(28px, 7vw, 34px); }
  footer { padding: 22px 6%; }
  .footer-left { font-size: 10px; }
  .screen-controls { gap: 13px; }
  dialog { padding: 25px; }
  dialog h1 { font-size: 24px; }
}
@media (max-height: 550px) and (min-width: 701px) {
  .masthead { padding-top: 22px; }
  main { padding-top: 90px; padding-bottom: 90px; }
  .menu-options { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
