@font-face { font-family: 'Noto Sans'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/NotoSans-normal-latin.woff2) format('woff2'); }

:root {
  --ink: #1c2029;
  --ink-2: #565d6c;
  --rule: #e2e4ea;
  --wash: #f5f5f5;
  --ours: #8a63d2;
  --ours-wash: #f1ecfa;
  --gt: #e4572e;
  --base: #6b7280;
  --input: #e8900f;
  --draft-bg: #fff2c7;
  --draft-ink: #6e4a00;
  --mono: ui-monospace, "DejaVu Sans Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

html, body { background: #ffffff; }
[hidden] { display: none !important; }
body { font-family: 'Noto Sans', sans-serif; color: var(--ink); }

.link-block a { margin-top: 5px; margin-bottom: 5px; }
.dnerf { font-variant: small-caps; }
.teaser .hero-body { padding-top: 0; padding-bottom: 3rem; }
.publication-title, .publication-authors, .teaser { font-family: 'Noto Sans', sans-serif; }
.publication-title { font-weight: 600; text-wrap: balance; }
.publication-venue { color: #555; width: fit-content; font-weight: bold; }
.author-block { display: inline-block; }
.footer .content { font-size: 0.9rem; color: var(--ink-2); }

.speed { margin-left: auto; display: flex; align-items: center; gap: 0.3rem; white-space: nowrap; font-size: 0.85rem;
  color: var(--ink-2); }
.speed .button[aria-pressed="true"] { background: var(--ours-wash); border-color: var(--ours); color: var(--ours); }

.title .ref { font-size: 0.8rem; font-weight: 400; vertical-align: middle; margin-left: 0.6rem; }
.draft { }

.legend .timeline { width: 100%; max-width: 640px; height: auto; display: block; margin: 0 auto 0.75rem; }
.keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.5rem 1.4rem; margin: 0;
  padding: 0; list-style: none; font-size: 0.92rem; }
.keys li { display: flex; gap: 0.6rem; align-items: flex-start; min-width: 0; }
.sw { flex: none; width: 22px; height: 14px; margin-top: 4px; border-radius: 3px; border: 2.5px solid currentColor;
  background: #ffffff; }
.sw.ours { color: var(--ours); } .sw.gt { color: var(--gt); } .sw.base { color: var(--base); }
.sw.input { color: var(--input); background: var(--input); border-radius: 2px; }
.sw.rgb { border: 0; background: linear-gradient(90deg, #6ea8d6, #9a8cde, #d684c4, #f0a87a); }
.trackkey { position: relative; flex: none; width: 26px; height: 14px; margin-top: 4px; }
.trackkey::before { content: ""; position: absolute; left: 0; right: 7px; top: 6px; height: 2px;
  background: linear-gradient(90deg, #d9cdf1 0 45%, var(--ours) 45%); }
.trackkey::after { content: ""; position: absolute; right: 2px; top: 3px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ours); }

.player { display: grid; gap: 0.7rem; min-width: 0; }
.stage { position: relative; background: #ffffff; border: 1px solid #dbdbdb; border-radius: 10px; overflow: hidden; }
.stage video { display: block; width: 100%; height: auto; max-width: 100%; background: #ffffff; }
.ph { aspect-ratio: var(--ar, 16 / 9); max-width: 100%; display: grid; place-items: center; padding: 1.2rem;
  background: repeating-linear-gradient(-45deg, var(--wash) 0 12px, #ffffff 12px 24px); }
.ph p { margin: 0; max-width: 58ch; font: 0.85rem/1.5 var(--mono); color: var(--ink-2); text-align: center;
  background: #ffffff; border: 1px dashed #c9ccd4; border-radius: 6px; padding: 0.75rem 0.9rem; }
.ph p b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 0.25rem; }
.badge { position: absolute; left: 10px; bottom: 10px; font: 0.78rem/1.3 var(--mono); color: var(--draft-ink);
  background: var(--draft-bg); border-radius: 4px; padding: 5px 8px; max-width: calc(100% - 20px); }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.chips .group { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2);
  margin: 0 0.2rem 0 0.6rem; }
.chips .group:first-child { margin-left: 0; }
.chips .button[aria-pressed="true"] { background: var(--ours-wash); border-color: var(--ours); color: var(--ours); }
.todo-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #c9ccd4; margin-left: 6px; }
.switch-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.8rem; }
.switch-row .lab { font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-2); }
.switch-row .buttons { margin-bottom: 0; }
.switch-row .buttons .button { margin-bottom: 0; }
.switch-row .button[aria-pressed="true"] { background: var(--ours-wash); border-color: var(--ours); color: var(--ours);
  z-index: 1; }
.cap { margin: 0; font-size: 0.9rem; color: var(--ink-2); min-height: 1.4em; }
.stage canvas.hold { position: absolute; left: 0; top: 0; width: 100%; height: auto; pointer-events: none; }
.switch-row .ctx-lab { margin-left: auto; }
.badge.badge-tr { left: auto; bottom: auto; right: 10px; top: 10px; }
.switch-row .methods .button { font-weight: 600; }
.switch-row .methods .button[data-method="trackcast"][aria-pressed="true"] { background: var(--ours-wash);
  border-color: var(--ours); color: var(--ours); }
.switch-row .methods .button:not([data-method="trackcast"])[aria-pressed="true"] { background: #eef0f3;
  border-color: var(--base); color: var(--ink); }
.chips .lab { font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-2);
  margin-right: 0.3rem; }
:focus-visible { outline: 2px solid var(--ours); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.intro { max-width: 760px; margin: 0 auto 1.2rem; color: var(--ink-2); }
.gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; min-width: 0; max-width: 1180px;
  margin: 0 auto; }
.gallery .methods { margin: 0; justify-content: center; }
.gallery .methods .button { margin-bottom: 0; font-weight: 600; min-width: 9.5rem; }
.gallery .methods .button[aria-pressed="true"] { background: #eef0f3; border-color: var(--base); color: var(--ink); z-index: 1; }
.gallery .methods .button[data-method="trackcast"][aria-pressed="true"] { background: var(--ours-wash);
  border-color: var(--ours); color: var(--ours); }
.gstage { border: 0; border-radius: 12px; box-shadow: 0 6px 30px rgba(50, 75, 130, 0.16); }
.v3d { position: relative; display: grid; grid-template-columns: 3fr 1fr; grid-template-rows: 1fr 1fr;
  aspect-ratio: 2 / 1; max-width: 100%; background: #ffffff; cursor: grab; touch-action: pan-y; user-select: none; }
.v3d:active { cursor: grabbing; }
.v3d > canvas, .v3d > #g-video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.v3d > #g-video { object-fit: cover; }
.no3d .v3d, .no3d .v3d:active { cursor: default; touch-action: auto; }
.no3d .s-in { background: transparent; }
.no3d #g-gl, .no3d #g-input, .no3d .only3d { display: none; }
.slot { position: relative; min-width: 0; min-height: 0; pointer-events: none; }
.s-main { grid-column: 1; grid-row: 1 / span 2; }
.s-in { grid-column: 2; grid-row: 1; border-left: 2px solid var(--rule); background: #ffffff; }
.s-gt { grid-column: 2; grid-row: 2; border-left: 2px solid var(--rule); border-top: 2px solid var(--rule); }
.s-in video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.vlab { position: absolute; top: 10px; left: 12px; font: 600 1rem/1.2 var(--mono); background: rgba(255, 255, 255, 0.9);
  border-radius: 5px; padding: 3px 8px; color: var(--ink-2); }
.vl-m.stack .lq { display: block; }
.vl-m.ours { color: var(--ours); }
.vl-gt, .vl-in { font-size: 0.8rem; top: 7px; left: 8px; padding: 2px 6px; color: var(--gt); }
.vl-in { color: var(--input); }
.vtag { position: absolute; left: 8px; bottom: 7px; max-width: calc(100% - 16px); font: 0.72rem/1.25 var(--mono);
  color: var(--ink-2); background: rgba(255, 255, 255, 0.9); border-radius: 4px; padding: 2px 6px; }
.gallery:not(.in-forecast) .vtag { color: var(--input); }
.h-short { display: none; }
.hint { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); white-space: nowrap;
  font: 0.8rem/1.2 var(--mono); color: var(--ink-2); background: rgba(255, 255, 255, 0.9); border-radius: 999px;
  padding: 4px 12px; transition: opacity 0.6s; }
.v3d.touched .hint { opacity: 0; }
.glmsg { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 1rem; text-align: center;
  background: #ffffff; color: var(--ink-2); font-size: 0.9rem; z-index: 2; }
@media (max-width: 700px) {
  .v3d { grid-template-columns: 1fr 1fr; grid-template-rows: 3fr 2fr; aspect-ratio: 4 / 5; }
  .s-main { grid-column: 1 / span 2; grid-row: 1; }
  .s-in { grid-column: 1; grid-row: 2; border-left: 0; border-top: 2px solid var(--rule); }
  .s-gt { grid-column: 2; grid-row: 2; border-top: 2px solid var(--rule); }
  .v3d > #g-video { opacity: 0; }
  .h-long { display: none; } .h-short { display: inline; }
  .gallery .methods { flex-wrap: nowrap; }
  .gallery .methods .button { min-width: 0; flex: 1 1 0; padding-left: 0.4em; padding-right: 0.4em; font-size: 0.82rem; }
  .vtag { font-size: 0.62rem; }
  .gallery .vlab, .gallery .vtime { font-size: 0.85rem; }
  .tl-labs { font-size: 0.68rem; }
}
.tline { display: flex; align-items: flex-start; gap: 0.8rem; padding: 0 0.2rem; }
.tline .button { margin: 0; min-width: 2.6rem; }
.tl-track { position: relative; flex: 1; min-width: 0; padding-top: 0.45rem; }
.tl-track input[type=range] { --trk: var(--rule); -webkit-appearance: none; appearance: none; width: 100%; height: 18px;
  margin: 0; background: transparent; cursor: pointer; display: block; }
.tl-track input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: var(--trk); }
.tl-track input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--trk); }
.tl-track input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -5px;
  border-radius: 50%; background: #ffffff; border: 2px solid var(--ink); }
.tl-track input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #ffffff;
  border: 2px solid var(--ink); }
.tl-labs { position: relative; height: 1.2rem; font: 0.75rem/1.2 var(--mono); }
.tl-labs > span { position: absolute; top: 2px; transform: translateX(-50%); white-space: nowrap; }
.l-ctx { color: var(--input); }
.vtime { position: absolute; top: 10px; right: 12px; font: 600 1rem/1.2 var(--mono); color: var(--input);
  background: rgba(255, 255, 255, 0.9); border-radius: 5px; padding: 3px 8px; }
.gallery.in-forecast .vtime { color: var(--ours); }
.gallery.in-forecast.is-baseline .vtime { color: var(--ink-2); }
.subrow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.3rem 1rem;
  margin-top: -0.4rem; padding: 0 0.2rem; }
.gallery .cap { margin: 0; font-size: 0.88rem; color: var(--ink-2); }
.ctxsw { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: var(--ink-2); cursor: pointer;
  white-space: nowrap; }
.ctxsw input { accent-color: var(--ours); width: 15px; height: 15px; margin: 0; }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; width: 100%; max-width: 820px;
  margin: 0.3rem auto 0; }
.thumb { position: relative; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden;
  background: #ffffff; cursor: pointer; display: flex; flex-direction: column; min-width: 0; font: inherit; opacity: 0.8;
  transition: opacity 0.15s; }
.thumb img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.thumb .tds { position: absolute; top: 4px; right: 4px; font: 600 0.62rem/1 var(--mono); letter-spacing: 0.04em;
  color: #ffffff; background: rgba(28, 32, 41, 0.72); border-radius: 3px; padding: 2px 3px; }
.thumb:hover { opacity: 1; border-color: #c9ccd4; }
.thumb[aria-pressed="true"] { opacity: 1; border-color: var(--ink); }
.review-row { display: grid; gap: 0.35rem; justify-items: center; margin-top: 0.4rem; }
.review-lab { margin: 0; max-width: 760px; text-align: center; font-size: 0.82rem; color: var(--ink-2); }
.thumbs.review { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 820px; margin-top: 0; }
.gallery.all-ours .methods .button[aria-pressed="true"] { background: var(--ours-wash); border-color: var(--ours);
  color: var(--ours); }
.gallery.all-ours .methods .button { min-width: 0; font-size: 0.85rem; white-space: normal; height: auto;
  line-height: 1.25; padding-top: 0.35em; padding-bottom: 0.35em; }
.keys-line { margin: 0.2rem auto 0; max-width: 760px; text-align: center; font-size: 0.82rem; color: var(--ink-2); }
.keys-line .trackkey { display: inline-block; vertical-align: -2px; margin-right: 0.4rem; }

.stage.banner { border: 0; border-radius: 0; background: #ffffff; }
.stage.figvid { border: 0; border-radius: 0; max-width: 1180px; margin: 0 auto; }
.xh { margin-top: 2.6rem !important; margin-bottom: 0.6rem !important; }
.intro.xi { margin-top: 1.6rem; }
.credit { margin-top: 0.8rem; font-size: 0.82rem; color: var(--ink-2); }
.stage.banner video { display: block; width: 100%; height: auto; }
.teaser .subtitle .hl { border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone;
  transition: background-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease; }
.teaser .subtitle .hl-inp.on { background: #fdebd0; box-shadow: 0 0 0 0.12em #fdebd0; color: #9a5800; }
.teaser .subtitle .hl-out.on { background: var(--ours-wash); box-shadow: 0 0 0 0.12em var(--ours-wash); color: #6340b0; }
.bspeed { position: absolute; right: 2%; bottom: 4%; margin: 0; pointer-events: none; padding: 0.15em 0.45em;
  font: 500 clamp(0.7rem, 0.85vw, 0.8rem)/1.25 var(--mono); color: var(--ink-2); background: rgba(245, 245, 245, 0.9);
  border-radius: 4px; opacity: 0; transition: opacity 0.35s ease; }
.bspeed.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .teaser .subtitle .hl, .bspeed { transition: none; } }

@media (max-width: 600px) { .tl-labs .ldur { display: none; }
  .thumb .tds { top: 2px; right: 2px; font-size: 0.48rem; padding: 1px 2px; } }
.dwall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem 0.7rem; max-width: 1180px; margin: 0 auto; }
.dtile { margin: 0; min-width: 0; }
.dtile video { display: block; width: 100%; height: auto; background: #ffffff; }
@media (max-width: 900px) { .dwall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .dwall { grid-template-columns: minmax(0, 1fr); } }

:root { --page: 1480px; --vh: 100vh; }
@supports (height: 100svh) { :root { --vh: 100svh; } }
.section .container.is-max-widescreen { max-width: min(var(--page), 100%); }

.hero:not(.teaser) .hero-body { padding-top: 2rem; padding-bottom: 0.4rem; }
.hero:not(.teaser) .container.is-max-desktop { max-width: min(1180px, 100%); }
.publication-title.title.is-1 { font-size: clamp(1.7rem, 1.1rem + 1.5vw, 2.6rem); line-height: 1.2; margin-bottom: 0.6rem; }
.publication-authors .venue-sep { margin: 0 0.55rem; color: var(--ink-2); }
.hero:not(.teaser) .publication-links { margin-top: -0.2rem; }
.hero:not(.teaser) .column .column { padding-top: 0.4rem; padding-bottom: 0; }

.teaser .container.is-max-desktop { max-width: min(1320px, 100%); }
.teaser .hero-body { padding-bottom: 2rem; }
.stage.banner { width: clamp(min(100%, 560px), calc((var(--vh) - 23rem) * 2), min(100%, 1320px)); margin: 0 auto; }
.teaser h2.subtitle { max-width: 900px; margin-left: auto; margin-right: auto; }

.stage.figvid { max-width: none; width: min(var(--w, 100%), var(--nat, 100%), calc((var(--vh) - 17rem) * var(--ar, 3))); }

@media (min-width: 701px) {
  .gallery { max-width: min(var(--page), 100%, calc((var(--vh) - 21rem) * 2)); }
  .thumbs { grid-template-columns: repeat(10, minmax(0, 1fr)); max-width: min(100%, 1000px); gap: 0.4rem; }
}
.dwall { max-width: min(var(--page), 100%, calc((var(--vh) - 14rem) * 3)); }
@media (max-width: 560px) {
  .publication-authors .venue-sep { display: none; }
  .publication-authors .author-block { display: block; }
}
@media (max-width: 420px) {
  .gallery .methods .button { font-size: 0.74rem; padding-left: 0.25em; padding-right: 0.25em; }
}
.teaser .subtitle .kc { font-weight: 600; }
.teaser .subtitle .kc-inp { color: #a35f00; }
.teaser .subtitle .kc-out { color: #6340b0; }
.teaser h2.subtitle { text-wrap: balance; }

:root { --rail: 10.5rem; --bar: 2.5rem; }
html { scroll-behavior: smooth; }
.section { scroll-margin-top: calc(var(--bar) - 2rem); }
.rail { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: #ffffff;
  border-bottom: 1px solid var(--rule); }
.rail .rail-h { display: none; }
.rail ul { display: flex; justify-content: safe center; gap: 0.15rem; margin: 0; padding: 0.3rem 0.5rem; list-style: none;
  overflow-x: auto; scrollbar-width: none; }
.rail ul::-webkit-scrollbar { display: none; }
.rail a { display: block; padding: 0.3rem 0.6rem; border-radius: 6px; color: var(--ink-2); font-size: 0.88rem;
  line-height: 1.4; white-space: nowrap; }
.rail a:hover { color: var(--ink); background: var(--wash); }
.rail a[aria-current] { color: #6340b0; background: var(--ours-wash); }
@media (max-width: 480px) {
  .rail ul { gap: 0.1rem; padding: 0.3rem 0.25rem; }
  .rail a { padding: 0.3rem 0.4rem; font-size: 0.84rem; }
}
@media (min-width: 1100px) {
  :root { --bar: 0rem; }
  body { padding-left: var(--rail); }
  .rail { position: fixed; top: 0; bottom: 0; left: 0; width: var(--rail); padding: 2.2rem 0.8rem 1rem;
    border-bottom: 0; border-right: 1px solid var(--rule); overflow-y: auto; }
  .rail .rail-h { display: block; margin: 0 0 0.6rem 0.75rem; font-size: 0.74rem; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--ink-2); }
  .rail ul { flex-direction: column; justify-content: flex-start; gap: 0.2rem; padding: 0; overflow: visible; }
  .rail a { padding: 0.4rem 0.75rem; font-size: 0.95rem; }
  .rail a[aria-current] { box-shadow: inset 3px 0 0 var(--ours); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
