/* SPW-Nav project page. One dark, cinematic theme: the results are 360° video. */
:root {
  --bg: #0a0b0d;
  --bg-2: #101215;
  --panel: #14171b;
  --line: rgb(255 255 255 / .09);
  --line-2: rgb(255 255 255 / .16);
  --ink: #f2efe8;
  --ink-2: #c9c5bc;
  --muted: #8a877f;
  --faint: #5d5b56;
  --accent: #e9a23b;
  --accent-ink: #f4be6b;
  --media: #000;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.locked { overflow: hidden; }
img, video, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #111; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ------------------------------------------------------------------ top bar */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: 60px;
  display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gutter);
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.topbar.solid { background: rgb(10 11 13 / .78); backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 500 15px/1 var(--sans); letter-spacing: -.01em; text-decoration: none; }
.brand img { width: 26px; height: 26px; }
.toplinks { display: flex; gap: clamp(14px, 2.4vw, 32px); }
.toplinks a { font: 400 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); transition: color .2s ease; }
.toplinks a:hover { color: var(--ink); }
.toplink-paper { color: var(--accent-ink) !important; }
.topbar { gap: clamp(14px, 2.4vw, 32px); }
.toplinks { margin-left: auto; }
.lang { display: flex; border: 1px solid var(--line-2); border-radius: 2px; overflow: hidden; }
.lang button {
  border: 0; background: transparent; color: var(--ink-2); cursor: pointer; padding: 6px 9px; min-width: 32px;
  font: 500 11.5px/1 var(--mono); letter-spacing: .04em; transition: background .2s ease, color .2s ease;
}
.lang button + button { border-left: 1px solid var(--line-2); }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* --------------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-inner { position: relative; margin-top: calc(-1 * clamp(70px, 13vh, 150px)); padding-bottom: clamp(40px, 7vh, 88px); }
.kicker { display: flex; gap: 18px; margin: 0 0 22px; font: 400 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.kicker span + span::before { content: ""; display: inline-block; width: 18px; height: 1px; background: var(--ink-2); vertical-align: middle; margin-right: 18px; opacity: .6; }
.title {
  margin: 0; font: 500 clamp(60px, 11vw, 168px)/.86 var(--sans); letter-spacing: -.055em;
  margin-left: -.04em;
}
.subtitle {
  margin: clamp(14px, 2vw, 26px) 0 0; max-width: 18em;
  font: 400 clamp(26px, 3.6vw, 52px)/1.06 var(--serif); letter-spacing: -.005em; color: var(--ink);
}
.subtitle em { font-style: italic; color: var(--accent-ink); }
.authors { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: clamp(30px, 4vh, 44px) 0 0; padding: 0; font-size: clamp(15px, 1.25vw, 17px); color: var(--ink); }
.authors li { white-space: nowrap; }
sup { font: 500 .62em/0 var(--mono); color: var(--muted); margin-left: 2px; vertical-align: .6em; }
.affils, .notes { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 12px 0 0; color: var(--ink-2); font-size: 14px; }
.notes { margin-top: 6px; color: var(--muted); font-size: 12.5px; font-family: var(--mono); letter-spacing: .01em; }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.link {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px;
  border: 1px solid var(--line-2); border-radius: 2px; background: rgb(255 255 255 / .03);
  font: 500 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  backdrop-filter: blur(8px); transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.link:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.link:first-child { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.link:first-child:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.link.is-disabled { color: var(--faint); cursor: default; }
.link.is-disabled:hover { background: rgb(255 255 255 / .03); color: var(--faint); border-color: var(--line-2); }
.soon { font-size: 10px; padding: 3px 6px; border: 1px solid var(--line-2); border-radius: 2px; }
.ribbon {
  position: relative; height: clamp(280px, 50vh, 640px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 62%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 62%, transparent 100%);
}
.ribbon canvas { width: 100%; height: 100%; }
.ribbon video { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ribbon-credit { margin-left: auto; font-style: normal; color: var(--ink-2); letter-spacing: .08em; }
.kicker { text-shadow: 0 1px 10px rgb(0 0 0 / .7); }

/* ----------------------------------------------------------------- sections */
.section { padding: clamp(80px, 11vw, 150px) 0 0; }
.sec-head {
  display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 24px clamp(24px, 4vw, 64px);
  align-items: start; margin-bottom: clamp(32px, 4vw, 52px);
}
.wrap.sec-head { margin-bottom: 0; }
.label {
  margin: 0; padding-top: 12px; border-top: 1px solid var(--line-2);
  font: 400 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
}
.label .num { display: block; color: var(--accent-ink); margin-bottom: 6px; }
h2 { margin: 0; font: 400 clamp(34px, 4.4vw, 64px)/1.02 var(--serif); letter-spacing: -.01em; }
.lede { margin: 18px 0 0; max-width: 62ch; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; color: var(--ink-2); }
h3.sub { margin: clamp(48px, 6vw, 72px) 0 18px; font: 400 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }

.statement { margin: 0; font: 400 clamp(28px, 3.4vw, 50px)/1.12 var(--serif); letter-spacing: -.008em; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(36px, 5vw, 64px) 0 0; border-top: 1px solid var(--line); }
.stats > div { padding: 22px 22px 0 0; }
.stats > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.stats dt { font: 300 clamp(40px, 4.6vw, 68px)/1 var(--sans); letter-spacing: -.04em; }
.stats dt small { font: 400 .3em/1 var(--mono); letter-spacing: .06em; margin-left: 6px; color: var(--ink-2); vertical-align: .2em; }
.stats dd { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); max-width: 22ch; }

.abstract { margin: 0; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
.abstract::first-line { color: var(--ink); }

/* ------------------------------------------------------------------ feature */
.feature { margin: clamp(72px, 9vw, 120px) 0 0; }
.feature-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: 24px; }
.feature-head h2 { font-size: clamp(30px, 3.4vw, 50px); }
.feature-head p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* ------------------------------------------------------------------- method */
.figure { margin: 0; background: #fbfaf7; border-radius: 4px; padding: clamp(14px, 2.5vw, 36px); }
.figure img { width: 100%; height: auto; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(32px, 4vw, 52px); border-top: 1px solid var(--line); }
.pillars article { padding: 26px 28px 0 0; }
.pillars article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.pillar-num { margin: 0; font: 400 12px/1 var(--mono); color: var(--accent-ink); letter-spacing: .1em; }
.pillars h3 { margin: 14px 0 10px; font: 500 19px/1.3 var(--sans); letter-spacing: -.01em; }
.pillars p:last-child { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink-2); }

/* ------------------------------------------------------------------ players */
.pano-player { background: var(--media); border-radius: 4px; overflow: hidden; border: 1px solid var(--line); }
.view { position: relative; aspect-ratio: 21 / 9; min-height: 300px; max-height: 78vh; width: 100%; }
.view canvas { width: 100%; height: 100%; cursor: grab; touch-action: pan-y; outline: none; }
.view canvas:active { cursor: grabbing; }
.view-shade { position: absolute; inset: auto 0 0 0; height: 55%; pointer-events: none; background: linear-gradient(180deg, transparent, rgb(0 0 0 / .72)); }
.chip {
  border: 1px solid rgb(255 255 255 / .22); background: rgb(0 0 0 / .42); color: #fff; border-radius: 2px;
  padding: 7px 11px; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
  backdrop-filter: blur(8px); transition: background .2s ease, color .2s ease;
}
.chip:hover { background: #fff; color: #000; }
.hint { position: absolute; left: 18px; top: 16px; pointer-events: none; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgb(255 255 255 / .85); padding: 7px 11px; background: rgb(0 0 0 / .35); border-radius: 2px; backdrop-filter: blur(8px); transition: opacity .5s ease; }
.hint.gone { opacity: 0; }
.reset { position: absolute; right: 16px; top: 14px; }
.flat {
  position: absolute; right: 16px; bottom: 16px; width: clamp(180px, 24%, 340px);
  border-radius: 3px; overflow: hidden; cursor: crosshair; box-shadow: 0 0 0 1px rgb(255 255 255 / .25), 0 12px 30px rgb(0 0 0 / .5);
}
.flat video { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; background: #000; }
.vbox { position: absolute; border: 1.5px solid #fff; border-radius: 1px; box-shadow: 0 0 0 1px rgb(0 0 0 / .4); pointer-events: none; display: none; }
.flat-label { position: absolute; left: 7px; top: 6px; font: 500 9.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 2px #000; }
.now { position: absolute; left: 22px; bottom: 20px; right: calc(clamp(180px, 24%, 340px) + 48px); color: #fff; pointer-events: none; }
.now:has(.text:empty) { display: none; }
.now .tag { display: block; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.now .text { display: block; margin-top: 10px; max-width: 26ch; font: 400 clamp(22px, 2.6vw, 38px)/1.1 var(--serif); text-shadow: 0 2px 18px rgb(0 0 0 / .6); text-wrap: balance; }
.now.swap { animation: swap .5s cubic-bezier(.2, .7, .2, 1); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.controls { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--bg-2); border-top: 1px solid var(--line); }
.controls.bar { margin-top: 14px; border: 1px solid var(--line); border-radius: 4px; }
.play { width: 34px; height: 34px; padding: 0; display: grid; place-items: center; flex: none; border: 0; border-radius: 50%; background: var(--ink); color: var(--bg); cursor: pointer; }
.play svg { width: 15px; height: 15px; fill: currentColor; }
.scrub { flex: 1; min-width: 0; height: 2px; appearance: none; -webkit-appearance: none; background: var(--line-2); border-radius: 2px; cursor: pointer; }
.scrub::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.scrub::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--ink); }
.time { font: 400 12px/1 var(--mono); color: var(--muted); white-space: nowrap; }

/* ----------------------------------------------------------------- timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); border-left: 1px solid var(--line); }
.timeline li { position: relative; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s ease; }
.timeline li button { all: unset; box-sizing: border-box; display: block; width: 100%; height: 100%; padding: 16px 18px 18px; cursor: pointer; }
.timeline .tag { display: block; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.timeline .text { display: block; margin-top: 9px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.timeline .progress { position: absolute; left: 0; top: -1px; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--accent); }
.timeline li:hover { background: rgb(255 255 255 / .025); }
.timeline li.active .tag { color: var(--accent-ink); }
.timeline li.active .text, .timeline li.done .text { color: var(--ink); }
.timeline li.done .tag { color: var(--ink-2); }

/* ----------------------------------------------------------------- choosers */
.tabs, .chooser { display: flex; gap: 8px; margin: 0 0 16px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar, .chooser::-webkit-scrollbar { display: none; }
.tabs button, .chooser button {
  flex: none; display: inline-flex; align-items: center; gap: 12px; cursor: pointer;
  border: 1px solid var(--line-2); background: transparent; border-radius: 2px; padding: 10px 16px;
  font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2);
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.tabs button:hover, .chooser button:hover { border-color: var(--ink-2); color: var(--ink); }
.tabs button[aria-selected="true"], .chooser button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chooser:not(.compact) button { padding: 6px 16px 6px 6px; }
.chooser button img { width: 76px; height: 38px; object-fit: cover; border-radius: 1px; }
.motion { margin: 0 0 18px; font-size: 15px; color: var(--ink-2); }
.motion-label { margin-right: 14px; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }

/* -------------------------------------------------------------------- grids */
.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
.grid.three { grid-template-columns: repeat(3, 1fr); gap: 24px 16px; }
.grid.cmp { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 14px; }
.grid.cmp > .tile { flex: 0 0 calc((100% - 3 * 14px) / 4); }
.grid.cmp.two-col > .tile { flex-basis: calc((100% - 14px) / 2); }
.tile { margin: 0; }
.media { position: relative; aspect-ratio: 2 / 1; background: var(--media); border-radius: 3px; overflow: hidden; }
.media video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.persp .media video { object-fit: contain; }
.media.clickable { cursor: zoom-in; }
.media.clickable:hover video { transform: scale(1.025); }
.open360 { position: absolute; right: 10px; top: 10px; opacity: 0; transform: translateY(-4px); transition: opacity .25s ease, transform .25s ease, background .2s ease, color .2s ease; }
.media.clickable:hover .open360, .open360:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .open360 { opacity: 1; transform: none; } }
.tile figcaption { display: flex; align-items: baseline; gap: 10px; margin-top: 11px; }
.tile .name { font-size: 15px; font-weight: 500; letter-spacing: -.005em; }
.tile .meta { font: 400 12px/1 var(--mono); color: var(--muted); }
.tile .badge { font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bg); background: var(--accent); padding: 4px 6px; border-radius: 2px; }
.tile.ours .media { box-shadow: 0 0 0 1.5px var(--accent); }

/* ------------------------------------------------------------------- bibtex */
.bib-wrap { position: relative; }
.bib { margin: 0; padding: 26px 28px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; font: 400 13.5px/1.7 var(--mono); color: var(--ink-2); overflow-x: auto; }
.copy {
  border: 1px solid var(--line-2); background: transparent; border-radius: 2px; padding: 9px 14px; cursor: pointer;
  font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
  transition: background .2s ease, color .2s ease;
}
.copy:hover { background: var(--ink); color: var(--bg); }
.bib-wrap .copy { position: absolute; right: 14px; top: 14px; background: var(--bg-2); }

/* ------------------------------------------------------------------- footer */
.foot { margin-top: clamp(100px, 12vw, 160px); padding: 48px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot .wrap { display: grid; grid-template-columns: minmax(150px, 220px) 1fr auto; gap: 12px clamp(24px, 4vw, 64px); align-items: baseline; }
.foot p { margin: 0; }
.aff-link { text-decoration: none; border-bottom: 1px solid var(--line-2); transition: color .2s ease, border-color .2s ease; }
.aff-link:hover { color: var(--ink); border-color: var(--accent); }
.foot-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 500; }
.foot-brand img { width: 22px; height: 22px; }
.foot-note { font-size: 12.5px; color: var(--faint); max-width: 44ch; text-align: right; }

/* -------------------------------------------------------------------- modal */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: var(--gutter); background: rgb(4 5 6 / .86); backdrop-filter: blur(10px); }
.modal[hidden] { display: none; }
.modal-box { width: min(1400px, 100%); }
.modal-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font: 400 26px/1.1 var(--serif); }
.modal .view { aspect-ratio: 16 / 9; max-height: 74vh; }

/* ---------------------------------------------------------- Chinese, Japanese */
/* Latin text keeps the page fonts; CJK characters fall through to Noto, and CJK lines get more air. */
:root:lang(zh) { --sans: "Geist", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; --serif: "Instrument Serif", "Noto Serif SC", "Songti SC", serif; --mono: "Geist Mono", "Noto Sans SC", ui-monospace, monospace; }
:root:lang(ja) { --sans: "Geist", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif; --serif: "Instrument Serif", "Noto Serif JP", "Hiragino Mincho ProN", serif; --mono: "Geist Mono", "Noto Sans JP", ui-monospace, monospace; }
:lang(zh) h2, :lang(ja) h2 { line-height: 1.3; letter-spacing: .01em; font-size: clamp(28px, 3.4vw, 48px); }
:lang(zh) .statement, :lang(ja) .statement { line-height: 1.5; font-size: clamp(22px, 2.5vw, 36px); }
:lang(zh) .subtitle, :lang(ja) .subtitle { line-height: 1.35; font-size: clamp(22px, 3vw, 42px); }
:lang(zh) .now .text, :lang(ja) .now .text { line-height: 1.3; }
:lang(zh) .abstract, :lang(ja) .abstract, :lang(zh) .lede, :lang(ja) .lede { line-height: 1.9; }
:lang(zh) .label, :lang(ja) .label, :lang(zh) .tabs button, :lang(ja) .tabs button,
:lang(zh) .chooser button, :lang(ja) .chooser button, :lang(zh) .link, :lang(ja) .link { letter-spacing: .04em; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(n + 3) { margin-top: 18px; border-top: 1px solid var(--line); }
  .pillars { grid-template-columns: 1fr; }
  .pillars article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 26px; }
  .grid.cmp > .tile { flex-basis: calc((100% - 14px) / 2); }
  .grid.three { grid-template-columns: repeat(2, 1fr); }
  .feature-head { grid-template-columns: 1fr; }
  .view { aspect-ratio: 16 / 9; }
}
@media (max-width: 760px) {
  .toplinks a:not(.toplink-paper) { display: none; }
  .lang button { padding: 6px 7px; min-width: 28px; }
  .sec-head, .foot .wrap { grid-template-columns: 1fr; }
  .label { display: flex; gap: 10px; padding-top: 10px; }
  .label .num { display: inline; margin: 0; }
  .foot-note { text-align: left; }
  .view { aspect-ratio: 4 / 3; min-height: 0; }
  .flat { width: 42%; right: 10px; bottom: 10px; }
  .now { left: 14px; bottom: 14px; right: calc(42% + 22px); }
  .now .text { font-size: 19px; }
  .hint { left: 12px; top: 12px; }
  .reset { right: 10px; top: 10px; }
  .timeline { grid-template-columns: 1fr; border-left: 0; }
  .timeline li { border-right: 0; }
  .timeline li:not(.active) .text { display: none; }
  .grid.two { grid-template-columns: 1fr; }
  .grid.three { grid-template-columns: repeat(2, 1fr); gap: 18px 10px; }
  .grid.three .tile .name { font-size: 13px; }
  .grid.cmp, .grid.cmp.two-col { gap: 16px 10px; }
  .grid.cmp > .tile, .grid.cmp.two-col > .tile { flex-basis: calc((100% - 10px) / 2); }
  .tile .meta { display: none; }
  .ribbon { height: 46vh; }
  .ribbon-credit { display: none; }
  .links .link { height: 40px; padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
