:root {
  color-scheme: dark;
  --background: #101217;
  --rail: #14171d;
  --panel: #191d25;
  --panel-hover: #1e232c;
  --border: #2b303a;
  --ink: #f2ece1;
  --muted: #a8a9b1;
  --dim: #818591;
  --gold: #e6b77e;
  --gold-light: #f6d4a4;
  --gold-ink: #24190e;
  --serif: "Noto Serif SC", "Songti SC", "STSong", SimSun, serif;
  --sans: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { --app-nav-height: 62px; min-width: 320px; scroll-padding-top: var(--app-nav-height); }
body { margin: 0; min-height: 100vh; background: var(--background); color: var(--ink); font: 14px/1.55 var(--sans); }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
.skip-link { position: fixed; z-index: 20; left: 12px; top: 12px; padding: 12px; color: var(--gold-ink); background: var(--gold); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.layout { display: grid; grid-template-columns: 218px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; background: var(--rail); border-right: 1px solid #262a33; padding: 27px 16px 20px; }
.brand { display: flex; align-items: center; gap: 12px; margin: 1px 10px 40px; width: fit-content; }
.brand-seal, .path-glyph, .metric-icon, .current-symbol {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: #2d2724; color: var(--gold); border: 1px solid #47372e;
}
.brand-seal { width: 43px; height: 43px; border-radius: 9px; font: bold 26px var(--serif); color: var(--gold-ink); background: #dbac72; box-shadow: inset 0 0 0 3px #cf9c65; }
.brand strong { display: block; font-size: 19px; letter-spacing: .1em; line-height: 1.2; }
.brand small { display: block; color: var(--dim); font-size: 11px; letter-spacing: .24em; margin-top: 5px; }
.navigation { display: grid; gap: 7px; }
.navigation a { height: 46px; display: flex; align-items: center; gap: 13px; border: 1px solid transparent; border-radius: 8px; padding: 0 13px; color: var(--muted); }
.navigation a:hover { color: var(--ink); background: #1b2028; }
.navigation a[aria-current] { color: var(--gold-light); border-color: #42352b; background: #26211f; font-weight: 650; }
.nav-icon { display: inline-grid; place-items: center; width: 19px; font: 19px/1 system-ui, sans-serif; color: var(--gold); }
.rail-foot { margin: auto 1px 0; border-top: 1px solid var(--border); padding: 14px 6px 0; }
.rail-foot p { color: var(--dim); font-size: 11px; margin: 5px 0 0 4px; }
.task-jump {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border: 1px solid #574638;
  border-radius: 8px; color: var(--gold-light); background: #25211f; font-size: 12px; font-weight: 650; white-space: nowrap;
}
.task-jump:is(:hover, [aria-current]) { background: #3a2d24; border-color: #99704e; }
.lan-demo-mark { color: var(--gold-light); font-size: 11px; white-space: nowrap; }
.demo-button { padding: 6px 4px; color: var(--muted); background: transparent; border: none; text-align: left; font-size: 12px; }
.demo-button:hover { color: var(--gold-light); }
.demo-button span { color: var(--gold); }
.workspace { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 6; height: var(--app-nav-height); border-bottom: 1px solid #252931; display: flex; align-items: center; justify-content: space-between; padding: 0 max(35px, calc((100% - 1140px) / 2)); background: var(--background); font-weight: 650; }
.date { font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: .04em; }
.main { max-width: 1210px; margin: 0 auto; padding: 26px 35px 42px; }
.main:focus { outline: none; }
.footer { display: flex; justify-content: space-between; gap: 12px; padding: 0 max(35px, calc((100% - 1140px) / 2)) 24px; color: var(--dim); font-size: 11px; }

.hero {
  isolation: isolate; position: relative; overflow: hidden; min-height: 252px; display: flex; align-items: center;
  border: 1px solid #464035; border-radius: 15px; background-color: #191e28;
  background-image: linear-gradient(90deg, rgba(12,14,19,.97), rgba(12,14,19,.76) 29%, rgba(13,15,21,.09) 68%), url("./mountain.webp");
  background-position: center, center 53%; background-size: cover;
}
.hero-content { min-width: 0; padding: 29px 44px 34px; }
.hero h1 { font: bold clamp(44px, 5.55vw, 74px)/1.13 var(--serif); letter-spacing: .075em; text-shadow: 0 4px 24px #0e111a; }
.hero-action { margin-top: 18px; }
.realm { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 9px; margin-top: 6px; }
.realm span { color: #d6c6b2; font-size: 12px; }
.realm strong { font: bold 19px/1.4 var(--serif); color: var(--gold-light); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 41px; padding: 8px 16px; border-radius: 8px; border: 1px solid transparent; color: var(--ink); font-weight: 650; white-space: nowrap; text-align: center; }
.button span { font-size: 15px; }
.primary { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.primary:hover { background: var(--gold-light); }
.secondary { background: #23262f; border-color: #3c3e49; color: #eee2cf; }
.secondary:hover { border-color: #a2896e; background: #292a32; }
.text-link { background: none; border: none; padding: 0; color: var(--gold); white-space: nowrap; font-size: 13px; }
.text-link:hover { color: var(--gold-light); text-decoration: underline; text-underline-offset: .25em; }
.metrics, .practice-grid, .path-grid, .duel-grid { display: grid; gap: 12px; }
.metrics, .path-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metrics { margin-top: 15px; }
.panel, .metric, .path-card { border: 1px solid var(--border); background: var(--panel); border-radius: 12px; }
.metric { display: flex; align-items: center; gap: 13px; padding: 12px 16px; min-height: 77px; }
.metric-icon { width: 36px; height: 36px; font: 17px system-ui, sans-serif; }
.metric div > span { display: block; color: var(--muted); font-size: 11px; }
.metric strong { display: block; font-size: 23px; line-height: 1.35; font-variant-numeric: tabular-nums; }
.metric strong.metric-text { font-size: 17px; padding-top: 3px; }
.metric small, .trial-count small, .challenger small { color: var(--muted); font-size: 11px; font-weight: 400; }
.section { margin-top: 26px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 10px; margin-bottom: 11px; }
.section-heading h2 { font-size: 24px; line-height: 1.3; letter-spacing: .04em; }
.section-description { color: var(--muted); margin-top: 5px; }
.section-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 7px; }
.eyebrow { display: block; color: var(--gold); font-size: 10px; font-weight: 650; letter-spacing: .115em; margin-bottom: 4px; }
.practice-grid { grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr); }
.current-practice { display: flex; align-items: center; gap: 14px; padding: 16px; }
.current-symbol { width: 57px; height: 57px; font: bold 25px var(--serif); }
.practice-copy { min-width: 0; }
.practice-copy h3, .trial-top h3 { font-size: 17px; margin-bottom: 2px; }
.practice-copy > p:last-child { color: var(--muted); font-size: 11px; }
.current-practice .button { margin-left: auto; }
.hall-rating { display: flex; min-width: 0; justify-content: space-between; align-items: center; gap: 8px 14px; padding: 12px 16px; }
.hall-rating h3 { font-size: 16px; }
.hall-rating p { color: var(--muted); font-size: 12px; }
.hall-rating > .text-link { flex: none; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
.trial-card { padding: 14px 17px; }
.trial-top, .trial-bottom { display: flex; justify-content: space-between; gap: 8px; align-items: end; }
.trial-count { color: var(--gold-light); font-weight: bold; font-size: 21px; white-space: nowrap; }
.meter { height: 5px; background: #33343c; border-radius: 8px; margin: 8px 0; overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ab7d50, #f3c489); }
.trial-bottom { font-size: 11px; color: var(--muted); }
.trial-bottom .text-link { font-size: 11px; }
.path-card { min-width: 0; display: flex; align-items: center; justify-content: start; gap: 10px; min-height: 66px; padding: 10px 12px; color: var(--ink); text-align: left; }
.path-card:hover, .path-selected { background: #242326; border-color: #6b523a; }
.path-glyph { width: 36px; height: 36px; font: bold 19px var(--serif); }
.path-name { min-width: 0; }
.path-name strong, .path-name small { display: block; }
.path-name strong { font-size: 14px; }
.path-name small { color: var(--muted); font-size: 10px; margin-top: 2px; }
.path-status, .quiet-tag { color: var(--muted); background: #222731; border: 1px solid #353945; border-radius: 5px; padding: 3px 6px; font-size: 10px; white-space: nowrap; }
.path-status { margin-left: auto; }
.path-status.available { color: var(--gold-light); background: #2c2523; border-color: #554231; }
.page-heading { margin: 9px 0 20px; }
.page-heading h1 { font: bold 44px/1.18 var(--serif); letter-spacing: .06em; margin: 7px 0 9px; }
.page-heading p:last-child { color: var(--muted); }
.levels, .journal { list-style: none; margin: 0; padding: 0; overflow: hidden; }
.level, .journal-row { min-width: 0; padding: 16px 19px; display: flex; gap: 13px; align-items: center; border-top: 1px solid var(--border); }
.level:first-child, .journal-row:first-child { border-top: none; }
.level-active { background: #242121; }
.level-locked .level-index { color: var(--muted); }
.level-locked .eyebrow { color: var(--muted); }
.level-lock-mark { display: grid; min-height: 47px; place-items: center; color: var(--muted); border-style: dashed; }
.level-index { font-size: 22px; letter-spacing: .025em; color: var(--gold); align-self: flex-start; font-variant-numeric: tabular-nums; }
.level-thumb { flex: 0 0 108px; overflow: hidden; border: 1px solid #3b444d; border-radius: 8px; }
.level-thumb img, .motion-frame img { display: block; width: 100%; height: auto; }
.level-copy { flex: 1; min-width: 0; }
.level-copy p:not(.eyebrow), .journal-row p, .level-copy small { color: var(--muted); }
.level-copy p:not(.eyebrow) { margin: 5px 0; }
.duel-banner { display: flex; align-items: center; gap: 18px; padding: 24px; background: linear-gradient(100deg, #272120, var(--panel)); }
.duel-symbol { color: var(--gold); font: 38px system-ui, sans-serif; }
.duel-banner h2 { margin: 7px 0 2px; }
.duel-banner p, .challenger p { color: var(--muted); }
.duel-banner .button { margin-left: auto; }
.duel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.challenger { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 17px; }
.challenger strong { color: var(--gold-light); font-size: 22px; white-space: nowrap; }
.challenger .meter { grid-column: 1 / -1; }
.rules { padding: 18px 20px; }
.rules ul, .exercise-box ul { padding-left: 1.3em; margin-bottom: 0; color: var(--muted); }
.rules li + li, .exercise-box li + li { margin-top: 5px; }
.journal-row time { margin-left: auto; white-space: nowrap; color: var(--muted); font-size: 11px; }
.empty { padding: 44px 18px; text-align: center; }
.empty > span { color: var(--gold); font-size: 33px; }
.empty p { color: var(--muted); margin: 6px 0 16px; }
.demo-banner { padding: 10px 13px; margin-bottom: 14px; background: #302722; border: 1px solid #755636; border-radius: 9px; color: #e9d3bd; font-size: 12px; }
.demo-banner > span { color: var(--gold-light); font-weight: 700; margin-right: 7px; }
.demo-banner button { margin-left: 6px; }

.dialog { background: #191d25; color: var(--ink); border: 1px solid #61503f; border-radius: 14px; width: min(510px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 23px; box-shadow: 0 12px 80px #000a; }
.dialog::backdrop { background: #08090dbd; backdrop-filter: blur(3px); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.modal-head h2 { font: bold 29px/1.25 var(--serif); }
.close { width: 36px; height: 36px; font-size: 23px; line-height: 1; color: var(--muted); background: #242831; border: 1px solid var(--border); border-radius: 8px; }
.close:hover { color: var(--ink); border-color: var(--gold); }
.motion-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 13px; }
.motion-frame { margin: 0; overflow: hidden; background: #222730; border: 1px solid #3b444d; border-radius: 8px; }
.motion-frame figcaption { display: flex; align-items: center; gap: 7px; padding: 6px 8px; min-height: 32px; color: var(--ink); font-size: 12px; }
.motion-frame figcaption span { display: grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 50%; color: var(--gold-light); background: #363029; font-size: 11px; }
.dialog-note.hand-view-note { margin-top: -7px; }
.details { margin-bottom: 14px; }
.details summary { padding: 9px 0; color: var(--gold-light); cursor: pointer; }
.exercise-box { color: #d5d4d6; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; background: #20242b; }
.exercise-box strong { display: block; margin-top: 6px; color: var(--gold-light); font-size: 12px; }
.exercise-box h3 { margin-bottom: 5px; color: var(--ink); }
.trial-standard { margin-block: 10px 0; }
.trial-standard p + p { margin-top: 4px; }
.trial-results { min-width: 0; margin: 0 0 10px; padding: 7px 10px 4px; border: 1px solid var(--border); border-radius: 8px; }
.trial-results legend { color: var(--gold-light); padding-inline: 3px; }
.measure-head, .timer { display: flex; justify-content: space-between; align-items: center; gap: 9px; }
.set-row { display: grid; grid-template-columns: 1fr minmax(55px, 112px) 18px; align-items: center; gap: 9px; padding: 6px 0; }
.set-row input { min-height: 36px; color: var(--ink); background: #12151a; border: 1px solid #4b4e57; border-radius: 6px; padding: 4px 9px; }
.timer { padding: 6px 0; }
.timer output { color: var(--gold-light); font-variant-numeric: tabular-nums; }
.quality { border: none; margin: 11px 0 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.quality legend { font-weight: 650; margin-bottom: 5px; }
.quality label, .confirm { display: flex; align-items: center; gap: 5px; padding: 7px 9px; background: #222630; border: 1px solid #393f4a; border-radius: 7px; cursor: pointer; }
.quality label:has(:checked), .confirm:has(:checked) { border-color: #9b734c; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--gold); }
.dialog-note { margin: 11px 0; font-size: 12px; color: var(--muted); }
.form-error { color: #ffb4a8; margin: 9px 0; font-size: 13px; }
.submit { width: 100%; margin-top: 9px; }
.breakthrough { padding: 12px 0 16px; text-align: center; }
.breakthrough span { display: inline-grid; place-items: center; width: 90px; height: 90px; font: bold 43px var(--serif); color: var(--gold-light); background: radial-gradient(#5c3f29, #282221 70%); border-radius: 50%; border: 1px solid #a7794f; margin-bottom: 12px; animation: reveal .35s ease-out both; }
@keyframes reveal { from { opacity: 0; transform: scale(.78); } to { opacity: 1; transform: scale(1); } }
.toast { position: fixed; z-index: 10; right: 20px; bottom: 20px; max-width: min(360px, calc(100vw - 40px)); padding: 11px 14px; border: 1px solid #795e42; border-radius: 8px; background: #272320; color: #f2dfc9; box-shadow: 0 10px 27px #0005; }

@media (max-width: 960px) {
  .layout { grid-template-columns: 175px minmax(0, 1fr); }
  .main { padding-inline: 23px; }
  .topbar, .footer { padding-inline: 23px; }
  .current-practice .button { padding-inline: 9px; }
  .path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  html { --app-nav-height: calc(50px + max(5px, env(safe-area-inset-top))); min-width: 0; }
  body { --mobile-gutter: 14px; --mobile-nav-height: calc(60px + env(safe-area-inset-bottom)); }
  body:has(.dialog[open]) { overflow: hidden; }
  .layout { display: block; }
  .sidebar {
    z-index: 6; height: auto; display: flex; flex-direction: row; align-items: center; justify-content: space-between;
    padding: max(5px, env(safe-area-inset-top)) max(var(--mobile-gutter), env(safe-area-inset-right)) 5px max(var(--mobile-gutter), env(safe-area-inset-left));
    gap: 10px;
    border: none; border-bottom: 1px solid var(--border);
  }
  .brand { margin: 0; gap: 8px; }
  .brand, .demo-button { min-height: 44px; }
  .brand-seal { width: 32px; height: 32px; font-size: 19px; }
  .brand strong { font-size: 16px; }
  .brand small, .rail-foot p { display: none; }
  .rail-foot { display: flex; align-items: center; gap: 7px; margin: 0; padding: 0; border: none; }
  .demo-button { padding: 6px 2px; }
  .navigation {
    position: fixed; inset: auto 0 0; z-index: 5; display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 3px;
    min-height: var(--mobile-nav-height); padding: 4px max(8px, env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    background: #14171def; border-top: 1px solid var(--border); backdrop-filter: blur(14px);
  }
  .navigation a { height: 50px; flex-direction: column; justify-content: center; gap: 3px; padding: 2px; font-size: 11px; line-height: 1.2; }
  .navigation .nav-icon { font-size: 17px; }
  .topbar { display: none; }
  .main, .footer { padding-inline: max(var(--mobile-gutter), env(safe-area-inset-left)) max(var(--mobile-gutter), env(safe-area-inset-right)); }
  .main { padding-block: 14px 24px; }
  .footer { padding-bottom: calc(var(--mobile-nav-height) + 10px); }
  .button { min-height: 44px; }

  .hero {
    min-height: 164px; padding: 16px;
    background-image: linear-gradient(90deg, #0d1017f5, #11141b8c 58%, #15162130), url("./mountain.webp");
    background-position: center, 66% 62%;
  }
  .hero-content { padding: 0; }
  .hero h1 { font-size: clamp(36px, 10vw, 58px); }
  .hero-action { margin-top: 13px; padding-inline: 12px; font-size: 13px; }
  .realm span { font-size: 11px; }
  .realm strong { font-size: 16px; }

  .metrics {
    gap: 0; margin-top: 10px; overflow: hidden; border: 1px solid var(--border);
    border-radius: 12px; background: var(--panel);
  }
  .metric { min-width: 0; min-height: 62px; padding: 8px clamp(7px, 2.4vw, 13px); gap: 6px; border: 0; border-radius: 0; }
  .metric + .metric { border-inline-start: 1px solid var(--border); }
  .metric:focus-visible { outline-offset: -3px; }
  .metric-icon { width: 21px; height: 21px; border-radius: 5px; font-size: 11px; }
  .metric strong, .metric strong.metric-text { font-size: 17px; }
  .metric div > span { font-size: 11px; line-height: 1.25; }
  .metric small { font-size: 10px; white-space: nowrap; }
  a.metric div > span { color: var(--gold-light); }

  .section { margin-top: 22px; }
  .section-heading { align-items: center; margin-bottom: 8px; }
  .section-heading h2 { font-size: 22px; }
  .section-heading > div > .eyebrow { display: none; }
  .section-heading > .text-link, .trial-bottom > .text-link { display: inline-flex; align-items: center; gap: 3px; min-height: 44px; }
  .practice-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .current-practice { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px; padding: 12px; }
  .current-symbol { width: 41px; height: 41px; font-size: 21px; }
  .practice-copy h3, .trial-top h3 { font-size: 16px; line-height: 1.35; }
  .current-practice .button { padding-inline: 9px; font-size: 12px; }
  .trial-card { padding: 12px; }
  .hall-rating { padding: 9px 12px; }
  .trial-bottom { align-items: center; }
  .path-grid { gap: 8px; }
  .path-card {
    display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; gap: 7px 8px;
    padding: 10px; min-height: 0;
  }
  .path-glyph { width: 32px; height: 32px; font-size: 17px; border-radius: 8px; }
  .path-name strong { line-height: 1.35; }
  .path-name small { font-size: 11px; }
  .path-status { grid-column: 2; justify-self: start; margin: 0; padding: 2px 5px; white-space: normal; }

  .page-heading { margin: 2px 0 15px; }
  .page-heading h1 { font-size: 33px; margin: 4px 0 6px; }
  .empty { padding: 28px 14px; }
  .journal-row { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 4px 10px; padding: 13px; }
  .journal-row time { grid-column: 2; margin: 0; white-space: normal; }
  .journal-row .button[data-local="true"] { grid-column: 2; justify-self: start; min-height: 44px; }
  .journal-row p, .journal-row h3 { overflow-wrap: anywhere; }
  .duel-banner { padding: 15px 12px; gap: 8px; }
  .duel-symbol { font-size: 25px; }
  .duel-banner .button { padding-inline: 7px; }
  .duel-grid { grid-template-columns: 1fr; }
  .level { display: grid; grid-template-columns: 24px 70px minmax(0, 1fr); align-items: start; padding: 12px 10px; gap: 8px; }
  .level .button { grid-column: 3; justify-self: start; padding: 4px 9px; }

  .dialog {
    inset: auto 0 0; margin: 0 auto; width: min(510px, 100%); max-width: none;
    max-height: calc(100dvh - 12px - env(safe-area-inset-top)); padding: 0 15px calc(15px + env(safe-area-inset-bottom));
    border-radius: 16px 16px 0 0; overscroll-behavior: contain; scroll-padding-top: 78px;
  }
  .modal-head {
    position: sticky; top: 0; z-index: 1; align-items: center; gap: 8px; margin: 0 -15px 12px;
    padding: 11px 15px; border-bottom: 1px solid var(--border); background: var(--panel);
  }
  .modal-head h2 { font-size: 24px; }
  .close { flex: none; width: 44px; height: 44px; }
  .dialog .details summary { min-height: 44px; padding-block: 11px; }
  .set-row { grid-template-columns: minmax(0, 1fr) minmax(55px, 30%) 18px; }
  .set-row input { min-height: 44px; min-width: 0; font-size: 16px; }
  .measure-head .text-link, .timer .text-link, .remove-set { min-height: 44px; }
  .timer { padding-block: 0; }
  .quality { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; min-width: 0; }
  .quality label { min-height: 44px; padding: 5px; font-size: 12px; }
  .quality input { flex: none; margin: 0; }
  .confirm { min-height: 44px; }
  .toast { right: var(--mobile-gutter); bottom: calc(var(--mobile-nav-height) + 8px); }
}
@media (max-width: 360px) {
  .metric { gap: 4px; }
  .metric-icon { display: none; }
  .current-symbol { width: 34px; height: 34px; }
  .motion-frame figcaption { padding-inline: 6px; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}

.app-client, .app-client .dialog { scrollbar-width: none; }
.app-client::-webkit-scrollbar, .app-client .dialog::-webkit-scrollbar { display: none; }
.app-client { overscroll-behavior-y: none; }
.app-native-nav .navigation { display: none; }
.app-native-nav body { --mobile-nav-height: 0px; }

@media (min-width: 721px) {
  .app-native-nav { --app-nav-height: 61px; }
  .app-native-nav .layout { display: block; }
  .app-native-nav .sidebar {
    z-index: 6; height: auto; flex-direction: row; align-items: center; justify-content: space-between;
    padding: 8px 23px; border-right: 0; border-bottom: 1px solid var(--border);
  }
  .app-native-nav .brand { margin: 0; }
  .app-native-nav .rail-foot { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; border: 0; }
  .app-native-nav :is(.rail-foot p, .topbar) { display: none; }
}
