/* ROMA project page. Palette is taken from the four modality colours of the logo. */
:root {
  --ink: #0f1b2d;
  --ink-2: #33415a;
  --muted: #667389;
  --bg: #fbfaf6;
  --tint: #f3f1ea;
  --card: #ffffff;
  --line: #e4e0d5;

  --blue: #2b7fe0;    /* vision */
  --orange: #f5921e;  /* audio  */
  --green: #3fa46a;   /* touch  */
  --purple: #7a63cc;  /* force  */
  --brand: linear-gradient(90deg, var(--blue), var(--orange) 36%, var(--green) 68%, var(--purple));

  --sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 12px 32px -18px rgba(15, 27, 45, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
code { font-family: var(--mono); font-size: .88em; background: #eef0f5; padding: .08em .38em; border-radius: 6px; color: #4b3fa0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
::selection { background: #cfe2fb; }

.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.wrap.narrow { width: min(820px, calc(100% - 48px)); }
.center { text-align: center; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(251, 250, 246, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { max-width: 1480px; margin-inline: auto; padding: 14px 36px; display: flex; align-items: center; gap: 32px; }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 24px; font-weight: 800; letter-spacing: .05em; }
.nav-brand img { width: 42px; height: 42px; }
.nav-links { display: flex; gap: 6px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { padding: 9px 16px; border-radius: 999px; font-size: 16.5px; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.nav-links a:hover { background: #ece9df; color: var(--ink); }
.nav-links a.active { background: var(--ink); color: #fff; }
.nav-lab img { height: 46px; width: auto; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 46px 0 84px; text-align: center; overflow: hidden; }
.hero-glow { position: absolute; inset: -10% -10% auto -10%; height: 760px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(420px 320px at 14% 22%, rgba(43, 127, 224, .16), transparent 70%),
    radial-gradient(420px 320px at 88% 14%, rgba(245, 146, 30, .17), transparent 70%),
    radial-gradient(380px 300px at 6% 78%, rgba(63, 164, 106, .12), transparent 70%),
    radial-gradient(420px 320px at 94% 74%, rgba(122, 99, 204, .15), transparent 70%); }
.hero-inner { position: relative; z-index: 1; }
.brand-row { display: flex; align-items: center; justify-content: center; gap: .17em; font-size: clamp(64px, 11vw, 124px); line-height: 1; }
.hero-logo { width: .86em; height: .86em; flex: none; transform: translateY(.06em); }
.kicker { margin-top: 14px; font-size: 14px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.title { margin-top: 6px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.wordmark { font-size: 1em; font-weight: 800; letter-spacing: .06em; line-height: 1; padding-left: .06em; }
.wordmark span:nth-child(1) { color: var(--blue); }
.wordmark span:nth-child(2) { color: var(--orange); }
.wordmark span:nth-child(3) { color: var(--green); }
.wordmark span:nth-child(4) { color: var(--purple); }
.subtitle { font-size: clamp(19px, 2.4vw, 30px); font-weight: 500; line-height: 1.4; color: #000; letter-spacing: -.01em; }

.authors { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin-top: 30px; font-size: 18px; font-weight: 500; }
.authors a { text-decoration: none; border-bottom: 1.5px solid #c9d7ee; }
.authors a:hover { border-color: var(--blue); }
sup { font-size: .62em; line-height: 0; color: var(--muted); margin-left: 2px; font-weight: 500; }
.affils { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 18px; margin: 14px auto 0; max-width: 940px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.affils sup { margin: 0 4px 0 0; }
.notes { margin-top: 8px; font-size: 13.5px; color: var(--muted); }

.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 11px 22px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; box-shadow: 0 10px 22px -12px rgba(15, 27, 45, .7); transition: transform .2s, background .2s, box-shadow .2s; }
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); background: #1c2e4a; box-shadow: 0 14px 26px -12px rgba(15, 27, 45, .7); }
.btn[aria-disabled="true"] { background: #e9e6db; color: #7c8496; box-shadow: none; cursor: default; }
.btn[aria-disabled="true"]:hover { transform: none; background: #e9e6db; }
.btn em { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: #fff; color: var(--muted); padding: 2px 8px; border-radius: 999px; }

/* teaser: a bare rounded clip inside a gradient ring, no player chrome */
.teaser { margin: 52px auto 0; max-width: 1040px; }
.teaser-frame { padding: 3px; border-radius: 26px; background: var(--brand); box-shadow: 0 30px 60px -30px rgba(15, 27, 45, .45); }
.teaser video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 23px; background: #10192b; pointer-events: none; user-select: none; }
.teaser video::-webkit-media-controls { display: none !important; }
.teaser-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.ctl { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-2); box-shadow: 0 1px 2px rgba(15, 27, 45, .05); transition: transform .18s, border-color .18s, color .18s, box-shadow .18s; }
.ctl svg { width: 18px; height: 18px; fill: currentColor; }
.ctl svg.stroke { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ctl:hover { transform: translateY(-2px); color: var(--ink); box-shadow: 0 10px 20px -12px rgba(15, 27, 45, .4); }
.ctl:active { transform: translateY(0); }
#ctl-play:hover { border-color: var(--blue); }
#ctl-back:hover { border-color: var(--orange); }
#ctl-fwd:hover { border-color: var(--green); }
#ctl-replay:hover { border-color: var(--purple); }
#ctl-play .i-play { display: none; }
#ctl-play.is-paused .i-play { display: block; }
#ctl-play.is-paused .i-pause { display: none; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section.tint { background: var(--tint); }
.sec-head { max-width: 780px; margin-bottom: 44px; }
.eyebrow { display: flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: #2a374d; margin-bottom: 14px; }
.eyebrow i { width: 30px; height: 5px; border-radius: 3px; background: var(--brand); }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.16; font-weight: 750; letter-spacing: -.025em; text-wrap: balance; }
h3 { font-size: 20px; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; }
.lead { margin-top: 18px; font-size: 18px; line-height: 1.75; color: var(--ink-2); max-width: 760px; text-wrap: pretty; }
.lead.small { font-size: 17px; margin-top: 8px; }
.fine { margin-top: 16px; font-size: 14px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.panel-label, .chart-title { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.chart-title { margin-bottom: 14px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; background: #eef0f5; color: var(--ink-2); }
.tag.c-blue { background: #e3eefc; color: #1a5fb4; }
.tag.c-orange { background: #fdeed9; color: #a95d05; }
.tag.c-green { background: #e0f2e8; color: #23764a; }
.tag.c-purple { background: #ebe6f9; color: #5a44ae; }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
.panel + .panel { margin-top: 24px; }
.acol .panel + .panel { margin-top: 0; }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card p, .subset p, .chain p:last-child { color: var(--ink-2); font-size: 15.5px; margin-top: 10px; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- abstract ---------- */
.abstract-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.abstract-text p { font-size: 17.5px; color: var(--ink-2); text-wrap: pretty; }
.abstract-text p + p { margin-top: 16px; }
.abstract-text strong { color: var(--ink); }
.abstract-text em { font-style: italic; color: var(--ink); }
.three-asks { display: grid; gap: 12px; }
.three-asks li { display: flex; align-items: baseline; gap: 14px; padding: 16px 20px; background: var(--card); border: 1px solid var(--line); border-left-width: 5px; border-radius: 14px; box-shadow: var(--shadow); }
.three-asks li:nth-child(1) { border-left-color: var(--blue); }
.three-asks li:nth-child(2) { border-left-color: var(--orange); }
.three-asks li:nth-child(3) { border-left-color: var(--green); }
.three-asks b { font-size: 24px; letter-spacing: -.02em; }
.three-asks span { color: var(--ink-2); font-size: 16px; }

.stats { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 56px; border-block: 1px solid var(--line); }
.stats li { padding: 26px 12px; text-align: center; }
.stats li + li { border-left: 1px solid var(--line); }
.stats b { display: block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats li:nth-child(1) b { color: var(--blue); }
.stats li:nth-child(2) b { color: var(--orange); }
.stats li:nth-child(3) b { color: var(--green); }
.stats li:nth-child(4) b { color: var(--purple); }
.stats li:nth-child(5) b { color: var(--ink); }
.stats span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }

.contribs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.contrib { position: relative; display: block; padding: 26px 26px 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); text-decoration: none; box-shadow: var(--shadow); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.contrib::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--c); }
.contrib:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 22px 40px -20px rgba(15, 27, 45, .3); }
.contrib h3 { margin-top: 14px; font-size: 26px; letter-spacing: -.02em; }
.contrib p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }
.contrib .tag { color: var(--c); background: color-mix(in srgb, var(--c) 12%, white); }
.c-blue { --c: var(--blue); } .c-orange { --c: var(--orange); } .c-green { --c: var(--green); } .c-purple { --c: var(--purple); }
.contrib.c-orange .tag { color: #a95d05; }
.contrib.c-green .tag { color: #23764a; }

/* ---------- system loop ---------- */
.loop { position: relative; display: grid; grid-template-columns: 1fr 44px 1fr 44px 1fr; align-items: stretch; padding-bottom: 76px; }
.loop-node { display: block; color: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s; position: relative; padding: 24px 24px 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 5px solid var(--c); }
.loop-node p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.loop-node .step { position: absolute; top: -17px; right: 18px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--c); color: #fff; font-weight: 700; font-size: 14px; }
.n-llm { --c: var(--blue); } .n-act { --c: var(--orange); } .n-fb { --c: var(--green); }
.loop-arrow { align-self: center; height: 22px; background: var(--ink-2); opacity: .35; clip-path: polygon(0 40%, 62% 40%, 62% 12%, 100% 50%, 62% 88%, 62% 60%, 0 60%); }
.loop-back { position: absolute; left: 0; right: 0; bottom: 20px; width: 100%; height: 46px; overflow: visible; }
.loop-back path { fill: none; stroke: var(--purple); stroke-width: 2.4; stroke-dasharray: 7 6; vector-effect: non-scaling-stroke; opacity: .75; }
.loop-back .head { stroke-dasharray: none; stroke-linecap: round; stroke-linejoin: round; }
.loop-back-label { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); font-size: 13px; font-weight: 600; letter-spacing: .04em; color: #5a44ae; background: var(--bg); padding: 0 14px; }


/* ---------- data ---------- */
.subsets { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.subset { padding: 26px 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.subset h3 { margin-top: 14px; font-size: 23px; letter-spacing: -.02em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips li { font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; color: var(--c); background: color-mix(in srgb, var(--c) 11%, white); border: 1px solid color-mix(in srgb, var(--c) 30%, white); }
.chips .vision { --c: #1a5fb4; } .chips .audio { --c: #a95d05; } .chips .touch { --c: #23764a; } .chips .force { --c: #5a44ae; }

.explorer { margin-top: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px 30px; box-shadow: var(--shadow); }
.explorer-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #efece3; border-radius: 999px; }
.tab { border: 0; background: transparent; padding: 7px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: background .2s, color .2s, box-shadow .2s; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(15, 27, 45, .18); }
.explorer-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.explorer-side { padding-left: 44px; border-left: 1px solid var(--line); }

/* horizontal bars (divs, animated on reveal) */
.hbars { display: grid; gap: 7px; }
.hbar { display: grid; grid-template-columns: 78px 1fr 46px; align-items: center; gap: 10px; font-size: 13.5px; }
.hbar span { color: var(--ink-2); text-transform: capitalize; }
.hbar .track { height: 15px; border-radius: 4px; background: transparent; }
.hbar .track i { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--c, var(--blue)); transition: width .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.hbar b { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; font-size: 13px; }
.go .hbar .track i { width: calc(var(--v) * 1%); }
.hbars.neg .hbar { grid-template-columns: 150px 1fr 46px; }
.hbars.neg .hbar span { text-transform: none; }

/* donut */
.donut-wrap { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.donut { position: relative; width: 168px; height: 168px; flex: none; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 24; stroke-dasharray: 0 100; transition: stroke-dasharray 1s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.go .donut circle { stroke-dasharray: var(--seg) 100; }
.donut .center-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.2; }
.donut .center-label b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.donut .center-label small { font-size: 12px; color: var(--muted); }
.donut-legend { display: grid; gap: 10px; font-size: 14px; }
.donut-legend li { display: flex; align-items: center; gap: 9px; }
.donut-legend i { width: 12px; height: 12px; border-radius: 4px; background: var(--c); flex: none; }
.donut-legend b { font-variant-numeric: tabular-nums; }
.donut-legend small { color: var(--muted); font-size: 12.5px; }

/* ---------- method ---------- */
.figure { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 14px 14px 18px; box-shadow: var(--shadow); }
.figure img { width: 100%; height: auto; border-radius: 12px; }
.figure figcaption { padding: 14px 12px 0; font-size: 14.5px; color: var(--muted); text-align: center; }
.method-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.method-grid.three { grid-template-columns: repeat(3, 1fr); }
.card .num { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c, var(--blue)); margin-bottom: 8px; }
.eq { font-family: "Cambria Math", "Times New Roman", serif; font-style: italic; font-size: 17px !important; padding: 12px 16px; background: #f4f1fb; border-radius: 12px; color: #3d2f85 !important; overflow-x: auto; white-space: nowrap; }
.eq sub, .eq sup { font-size: .68em; color: inherit; }
.curriculum { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; align-items: center; margin-top: 28px; padding: 28px 32px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.curriculum h3 { margin-top: 8px; font-size: 22px; }
.curriculum p:last-child { margin-top: 10px; font-size: 15.5px; color: var(--ink-2); }
.beta svg { width: 100%; height: auto; overflow: visible; }
.beta .axis { stroke: var(--line); stroke-width: 1.5; }
.beta text { font-family: var(--sans); font-size: 12px; fill: var(--muted); }
.beta .lbl { font-weight: 700; font-size: 12.5px; }
.beta .area { opacity: 0; transition: opacity 1s .2s; }
.go .beta .area, .beta.go .area { opacity: 1; }

/* ---------- bench ---------- */
.chains { display: flex; gap: 20px; align-items: stretch; }
.chain.c-single { flex: 274 1 0; } .chain.c-multi { flex: 364 1 0; } .chain.c-intent { flex: 454 1 0; }
.chain { min-width: 0; padding: 24px 22px 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.chain .q { margin-top: 14px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.bench-charts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 22px; margin-top: 26px; }
.bench-charts .panel + .panel { margin-top: 0; }
.chord svg { width: 100%; height: auto; display: block; margin-inline: auto; max-width: 560px; }
.chord .ribbon { transition: opacity .25s; opacity: .55; }
.chord.hover .ribbon { opacity: .07; }
.chord.hover .ribbon.on { opacity: .8; }
.chord .arc { cursor: pointer; transition: opacity .25s; }
.chord text { font-family: var(--sans); font-size: 13px; font-weight: 600; fill: var(--ink-2); }
.chord text small { font-weight: 500; fill: var(--muted); }

/* ---------- results ---------- */
.cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; min-width: 560px; overflow: visible; }
.panel:has(.cols) { overflow-x: auto; }
.col-group { display: flex; flex-direction: column; }
.col-plot { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 5px; height: 230px; border-bottom: 1.5px solid var(--line); padding: 0 4px; }
.col-plot::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(to top, transparent 0, transparent calc(25% - 1px), #efece3 calc(25% - 1px), #efece3 25%); pointer-events: none; }
.bar { position: relative; z-index: 1; flex: 1; max-width: 42px; height: 100%; display: flex; align-items: flex-end; }
.bar i { font-style: normal; display: block; width: 100%; height: 0; border-radius: 6px 6px 0 0; background: var(--c); transition: height 1s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); position: relative; }
.bar i.roma { background: linear-gradient(to top, var(--blue), var(--purple) 62%, var(--orange)); }
.go .bar i { height: calc(var(--v) * 1%); }
.bar b { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 4px; font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.bar b.roma { color: var(--ink); font-size: 12.5px; }
.col-name { margin-top: 10px; text-align: center; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.model-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 18px; font-size: 13.5px; color: var(--ink-2); }
.model-legend li { display: flex; align-items: center; gap: 8px; }
.model-legend i { width: 13px; height: 13px; border-radius: 4px; background: var(--c); }
.model-legend i.roma { background: linear-gradient(135deg, var(--blue), var(--purple) 62%, var(--orange)); }
.model-legend li.roma { font-weight: 700; color: var(--ink); }

.table-scroll { overflow-x: auto; margin-top: 16px; }
.heat { width: 100%; min-width: 880px; border-collapse: separate; border-spacing: 3px; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.heat th { font-weight: 600; color: var(--muted); font-size: 12px; padding: 4px 4px; }
.heat thead .grp { color: var(--ink); font-size: 13px; border-bottom: 2px solid var(--line); padding-bottom: 6px; }
.heat tbody th { text-align: left; color: var(--ink); padding-right: 12px; white-space: nowrap; font-size: 13.5px; }
.heat td { text-align: center; padding: 8px 4px; border-radius: 7px; background: rgba(43, 127, 224, calc(var(--a) * .62 + .03)); color: var(--ink); }
.heat td.dark { color: #fff; }
.heat td.best { font-weight: 800; }
.heat td.all { outline: 1.5px solid rgba(15, 27, 45, .16); }
.heat tr.roma th { font-weight: 800; }
.heat tr.roma td:not(.gap) { box-shadow: inset 0 0 0 1.5px rgba(43, 127, 224, .85); }
.heat .gap { width: 8px; background: none; padding: 0; }

.wins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.win { padding: 22px 22px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.win b { display: block; font-size: 40px; line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
.win:nth-child(1) b { color: var(--orange); } .win:nth-child(2) b { color: var(--green); } .win:nth-child(3) b { color: var(--blue); }
.win span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* ---------- analysis ---------- */
.analysis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.acol { display: grid; gap: 24px; min-width: 0; }
.scatter svg { width: 100%; height: auto; overflow: visible; }
.scatter text { font-family: var(--sans); font-size: 13.5px; fill: var(--muted); }
.scatter .pt-label { font-size: 14.5px; font-weight: 700; fill: var(--ink); }
.scatter .grid { stroke: #efece3; stroke-width: 1; }
.scatter .axis { stroke: var(--line); stroke-width: 1.5; }
.scatter circle.pt { transition: r .25s; }
.stack { display: grid; gap: 16px; }
.stack-row { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.stack-bar { display: flex; height: 34px; border-radius: 8px; overflow: hidden; background: #efece3; }
.stack-bar i { display: block; width: 0; background: var(--c); transition: width 1s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); border-right: 1.5px solid #fff; position: relative; }
.stack-bar i span { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; overflow: hidden; white-space: nowrap; }
.go .stack-bar i { width: calc(var(--v) * 1%); }
.stack-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-size: 13px; color: var(--ink-2); }
.stack-legend li::before { content: ""; display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; background: var(--c); vertical-align: -1px; }
.dumbbells { display: grid; gap: 18px; }
.db-row { display: grid; grid-template-columns: 1fr; gap: 6px; }
.db-label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.db-label small { font-weight: 500; color: var(--muted); }
.db-track { position: relative; height: 26px; margin-top: 24px; }
.db-track::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 2px; background: #eae6db; }
.db-line { position: absolute; top: 10.5px; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--c) 35%, white); left: calc(var(--lo) * 1%); width: 0; transition: width .9s cubic-bezier(.2, .7, .2, 1) .1s; }
.go .db-line { width: calc((var(--hi) - var(--lo)) * 1%); }
.db-dot { position: absolute; top: 3px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: #fff; border: 4px solid var(--c); left: calc(var(--x) * 1%); }
.db-dot.full { background: var(--ink); border-color: var(--ink); }
.db-dot em { position: absolute; top: -21px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 12px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.db-dot.drop em { color: color-mix(in srgb, var(--c) 70%, black); }

.sub-h { margin-top: 64px; font-size: 28px; letter-spacing: -.02em; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.case { padding: 22px 24px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 5px solid #d1465f; display: flex; flex-direction: column; }
.case.good { border-top-color: var(--green); }
.case header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.case h4 { font-size: 18px; font-weight: 700; }
.verdict { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #fbe4e8; color: #a92440; white-space: nowrap; }
.case.good .verdict { background: #dff1e6; color: #1e6b43; }

/* ---------- cite / footer ---------- */
.bib { position: relative; background: #0f1b2d; border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); }
.bib pre { margin: 0; overflow-x: auto; font-family: var(--mono); font-size: 13.5px; line-height: 1.75; color: #dbe5f5; }
.copy { position: absolute; top: 14px; right: 14px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #e6eefc; padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; transition: background .2s; }
.copy:hover { background: rgba(255, 255, 255, .18); }
.bib + .fine { margin-top: 28px; }
.footer { padding: 30px 0 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer .wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer a { margin-left: auto; text-decoration: none; font-weight: 600; }
.footer a:hover { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .abstract-grid, .explorer-body, .curriculum, .bench-charts, .analysis-grid { grid-template-columns: 1fr; }
  .explorer-side { padding-left: 0; border-left: 0; padding-top: 24px; border-top: 1px solid var(--line); }
  .contribs, .chains, .cases { grid-template-columns: 1fr; }
  .wins { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats li:nth-child(4) { border-left: 0; }
  .stats li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .loop { grid-template-columns: 1fr; gap: 18px; padding-bottom: 0; }
  .loop-arrow, .loop-back, .loop-back-label { display: none; }
  .method-grid, .subsets { grid-template-columns: 1fr; }
  .nav-lab { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .hero { padding-top: 30px; }
  .authors { font-size: 16px; gap: 2px 16px; }
  .nav-inner { padding-inline: 14px; gap: 10px; }
  .nav-brand b { display: none; }
  .panel, .explorer, .trace, .acts, .curriculum { padding: 20px 18px; }
  .act-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(n) { border-left: 0; border-top: 1px solid var(--line); }
  .stats li:nth-child(1), .stats li:nth-child(2) { border-top: 0; }
  .stats li:nth-child(even) { border-left: 1px solid var(--line); }
  .hbar { grid-template-columns: 66px 1fr 40px; }
  .hbars.neg .hbar { grid-template-columns: 110px 1fr 40px; }
  .ctl { padding: 9px 14px; font-size: 13px; }
  .stack-row { grid-template-columns: 1fr; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .reveal, .trace .msg { opacity: 1; transform: none; }
}

/* bench side panel */
.chart-title.spaced { margin-top: 26px; }
.chips.neutral li { --c: #33415a; }
.facts { margin-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.facts li { display: grid; grid-template-columns: 148px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid #efece3; line-height: 1.5; }
.facts b { color: var(--ink); font-weight: 600; }

/* ---------- method stages (Reason / Interact / Sense) ---------- */
.loop-node:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 20px 36px -20px rgba(15, 27, 45, .3); }
.figure { margin-top: 44px; }
.stage { margin-top: 68px; scroll-margin-top: 90px; }
.stage-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 2px solid color-mix(in srgb, var(--c) 30%, white); }
.stage-head .step { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--c); color: #fff; font-weight: 800; font-size: 17px; }
.stage-head h3 { font-size: 26px; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.stage-head p { margin-top: 4px; font-size: 16px; color: var(--ink-2); max-width: 720px; }
.stage .card .num { color: var(--c); }
.stage .curriculum { margin-top: 22px; }
.interact-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.interact-grid .panel { margin: 0; }
.act-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.act-grid li { padding: 13px 15px; border-radius: 13px; background: #f6f4ec; border: 1px solid var(--line); }
.act-grid code { background: var(--ink); color: #fff; font-weight: 600; }
.act-grid span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.mod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mod-card { padding: 20px 22px 22px; background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--c); border-radius: var(--radius); box-shadow: var(--shadow); }
.mod-card h4 { font-size: 19px; font-weight: 700; color: color-mix(in srgb, var(--c) 78%, black); }
.mod-card p { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--ink-2); }
.m-vision { --c: var(--blue); } .m-audio { --c: var(--orange); } .m-touch { --c: var(--green); } .m-force { --c: var(--purple); }
.eq-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.eq-line .eq { padding: 8px 14px; font-size: 17px; }

/* ---------- perception chain diagrams ---------- */
.svg-defs { position: absolute; }
.chain-svg { display: block; width: 100%; height: auto; margin-top: 14px; overflow: visible; }
.chain-svg .k { fill: #edf0f6; stroke: #dbe0ea; stroke-width: 1.2; }
.chain-svg .k.act { fill: #fff; stroke: #c6cddb; }
.chain-svg .k.ans { fill: var(--ink); stroke: var(--ink); }
.chain-svg .k.intent { fill: #e3eefc; stroke: #bcd5f6; }
.chain-svg .k.reuse { fill: #f3f0fb; stroke: var(--purple); stroke-dasharray: 4 3; }
.chain-svg .t { font: 600 11.5px var(--sans); fill: var(--ink-2); }
.chain-svg .t.w { fill: #fff; }
.chain-svg .t.p { fill: #5a44ae; }
.chain-svg .ln { fill: none; stroke: #98a2b5; stroke-width: 1.6; stroke-linecap: round; }
.chain-svg .reuse-ln { stroke: var(--purple); stroke-dasharray: 4 3.5; }
.chain-svg .bd.a { fill: var(--orange); } .chain-svg .bd.f { fill: var(--purple); }
.chain-svg .bt { font: 800 9.5px var(--sans); fill: #fff; }

/* ---------- case study ---------- */


.case { display: flex; flex-direction: column; padding: 22px 24px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 5px solid #d1465f; }
.case.good { border-top-color: var(--green); }
.case header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.case h4 { font-size: 18px; font-weight: 700; }
.verdict { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #fbe4e8; color: #a92440; white-space: nowrap; }
.case.good .verdict { background: #dff1e6; color: #1e6b43; }
.script { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #f6f4ec; font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.script .tk { font-family: var(--mono); font-size: .9em; font-weight: 600; color: #5a44ae; }
.script .use { color: #cf3b3b; font-weight: 600; }
.script b { color: var(--ink); }
.flags { display: grid; gap: 8px; margin-top: auto; padding-top: 16px; }
.flags li { font-size: 13.5px; font-weight: 600; color: #a92440; padding-left: 20px; position: relative; line-height: 1.5; }
.flags li::before { content: "\2715"; position: absolute; left: 0; font-size: 11px; top: 2px; }
.flags.good li { color: #1e6b43; }
.flags.good li::before { content: "\2713"; }

/* analysis: columns end on the same line */
.analysis-grid { align-items: stretch; }
.acol { display: flex; flex-direction: column; gap: 24px; }
.acol .panel:last-child { flex: 1; }

@media (max-width: 980px) {
  .method-grid.three, .interact-grid { grid-template-columns: 1fr; }
  .mod-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .mod-grid { grid-template-columns: 1fr; }
  .stage-head h3 { font-size: 22px; }
}
@media (min-width: 900px) { .subtitle { white-space: nowrap; } }

/* case study: initial scene */
.case-intro { display: grid; grid-template-columns: minmax(0, 480px) 1fr; gap: 32px; align-items: center; margin-top: 22px; }
.case-scene { position: relative; margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.case-scene img { width: 100%; height: auto; }
.case-scene i { position: absolute; transform: translateX(-50%); font-style: normal; font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: rgba(15, 27, 45, .82); color: #fff; white-space: nowrap; }
.case-scene figcaption { position: absolute; left: 10px; top: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 9px; border-radius: 6px; background: rgba(255, 255, 255, .9); color: var(--ink-2); }
.case-q { margin: 0; display: grid; gap: 14px; font-size: 18px; }
.case-q p { display: flex; flex-direction: column; gap: 2px; }
.case-q b { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cases { margin-top: 28px; }
@media (max-width: 980px) {
  .chains { flex-direction: column; }
  .case-intro { grid-template-columns: 1fr; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
}

/* figures inside cards */
.card-fig { margin: 18px 0 0; }
.card-fig img { width: 100%; height: auto; display: block; }
.card-fig figcaption { margin-top: 8px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.mod-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 14px; background: #fff; }

/* contents donut: centred in its box */
.explorer-side { display: flex; flex-direction: column; align-self: stretch; }
.explorer-side .donut-wrap { flex: 1; flex-direction: column; justify-content: center; align-items: center; gap: 22px; }
.explorer-side .donut-legend { justify-items: start; }
.interact-grid .panel { display: flex; flex-direction: column; }
.interact-grid .act-grid { flex: 1; grid-auto-rows: 1fr; }

/* ---------- example clips ---------- */
.ex-media { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.ex-media video, .ex-media img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; user-select: none; background: #fff; }
.ex-media video::-webkit-media-controls { display: none !important; }
.examples { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.examples .chart-title { margin-bottom: 16px; }
.ex-hint { margin-left: 10px; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 12.5px; color: var(--muted); }
.ex-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ex { margin: 0; min-width: 0; }
.ex figcaption { margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.ex figcaption code { background: var(--ink); color: #fff; font-weight: 600; }
.ex .m { font-weight: 600; }
.m.vision { color: #1a5fb4; } .m.audio { color: #a95d05; } .m.touch { color: #23764a; } .m.force { color: #5a44ae; }
.ex .rate { margin-left: 6px; font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: #ebe6f9; color: #4c379f; }
.audio-tile { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer; background: linear-gradient(135deg, #fdeed9, #fff7ea); display: grid; place-items: center; }
.audio-tile .wave { position: absolute; left: 6%; top: 14%; width: 88%; height: 72%; fill: #f5921e; opacity: .55; transition: opacity .2s; }
.audio-tile .ap { position: relative; width: 54px; height: 54px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px -8px rgba(245, 146, 30, .9); transition: transform .2s; }
.audio-tile:hover .ap { transform: scale(1.07); }
.audio-tile .ap svg { width: 24px; height: 24px; fill: currentColor; }
.audio-tile .i-pause { display: none; }
.audio-tile.is-playing .i-pause { display: block; }
.audio-tile.is-playing .i-play { display: none; }
.audio-tile.is-playing .wave { opacity: .95; animation: wave 1s ease-in-out infinite alternate; transform-origin: center; }
@keyframes wave { to { transform: scaleY(.78); } }
.act-grid li .ex-media { margin-bottom: 12px; }
@media (max-width: 980px) { .ex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .audio-tile.is-playing .wave { animation: none; } }

/* example layouts */
.ex-grid.rows { display: flex; flex-direction: column; gap: 18px; }
.ex-row { display: flex; justify-content: center; gap: 16px; }
.ex-row .ex { flex: 0 0 calc((100% - 48px) / 4); }
.ex-grid.split .ex-lead { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
@media (max-width: 980px) {
  .ex-row { flex-wrap: wrap; }
  .ex-row .ex { flex: 0 0 calc((100% - 16px) / 2); }
  .ex-grid.split .ex-lead { grid-column: auto; grid-row: auto; }
}

/* modality-removal arrows */
.db-line::before { content: ""; position: absolute; left: 5px; top: 50%; width: 20px; height: 22px; margin-top: -11px; background: var(--c); clip-path: polygon(0 50%, 100% 0, 100% 100%); opacity: 0; transition: opacity .3s .9s; }
.go .db-line::before { opacity: 1; }
.db-line { background: color-mix(in srgb, var(--c) 55%, white); height: 6px; top: 10px; }
@media (max-width: 980px) { .nav-inner { padding: 10px 18px; gap: 14px; } .nav-brand { font-size: 20px; } .nav-brand img { width: 34px; height: 34px; } .nav-links a { font-size: 15px; padding: 7px 12px; } }
@media (max-width: 640px) { .nav-links a { font-size: 14px; padding: 6px 10px; } }

/* real-robot demo videos (with player controls) */
.realworld { margin-top: 56px; }
.realworld .sub-h { margin-top: 0; }
.rw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 22px; }
.rw { margin: 0; min-width: 0; }
.rw video { width: 100%; aspect-ratio: 16 / 9; display: block; background: #10192b; border-radius: 14px 14px 0 0; cursor: pointer; }
@media (max-width: 980px) { .rw-grid { grid-template-columns: 1fr; } }

/* custom player: the control bar sits below the picture so burned-in subtitles stay visible */
.rw-head { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 12px; }
.rw-q { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.rw-q b { display: block; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1px; }
.ph { display: inline-block; padding: 1px 8px; border: 1.5px dashed #c9a26a; border-radius: 6px; background: #fff7e8; color: #8a5a12; font-weight: 600; }
.rw-player { border-radius: 14px; overflow: hidden; background: #10192b; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.rw-bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #10192b; color: #e6edf9; }
.rw-bar button { flex: none; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: inherit; display: grid; place-items: center; }
.rw-bar button:hover { background: rgba(255, 255, 255, .14); }
.rw-bar svg { width: 20px; height: 20px; fill: currentColor; }
.rw-play .i-pause, .rw-mute .i-muted { display: none; }
.rw-player.is-playing .rw-play .i-pause { display: block; }
.rw-player.is-playing .rw-play .i-play { display: none; }
.rw-player.is-muted .rw-mute .i-muted { display: block; }
.rw-player.is-muted .rw-mute .i-vol { display: none; }
.rw-time { flex: none; font-size: 12px; font-variant-numeric: tabular-nums; color: #b8c4da; }
.rw-seek { flex: 1; min-width: 40px; height: 4px; -webkit-appearance: none; appearance: none; border-radius: 2px; background: linear-gradient(to right, var(--orange) var(--p, 0%), rgba(255, 255, 255, .22) var(--p, 0%)); cursor: pointer; }
.rw-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 0; }
.rw-seek::-moz-range-thumb { width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 0; }
.rw-player:fullscreen { border-radius: 0; background: #000; }
.rw-player:fullscreen video { flex: 1; min-height: 0; aspect-ratio: auto; object-fit: contain; border-radius: 0; }
.rw-player:fullscreen .rw-bar { padding: 12px 20px; }
.rw-qt { color: var(--ink); font-weight: 600; font-size: 16px; }
.rw-q { padding-left: 11px; }
