:root {
  color-scheme: light;
  --ghost-white: #fdfbfe;
  --cool-gray: #3e4044;
  --freezing-blue: #074963;
  --page: #e8eef3;
  --page-wash: radial-gradient(ellipse at 92% 6%, #bed3df, transparent 56rem),
    linear-gradient(155deg, #f1f3f8, var(--page) 66%, #dbe7ee);
  --surface: #fff;
  --surface-raised: color-mix(in srgb, var(--ghost-white) 94%, var(--cool-gray));
  --line: color-mix(in srgb, var(--ghost-white) 83%, var(--cool-gray));
  --text: var(--cool-gray);
  --muted: color-mix(in srgb, var(--cool-gray) 82%, var(--ghost-white));
  --accent: var(--freezing-blue);
  --accent-soft: color-mix(in srgb, var(--ghost-white) 88%, var(--freezing-blue));
  --accent-line: color-mix(in srgb, var(--ghost-white) 66%, var(--freezing-blue));
  --card-wash: linear-gradient(135deg, #f4f7fb, #dce8f0);
  --card-blue: linear-gradient(140deg, #e5eef5, #c8dce8);
  --ink-shadow: rgb(62 64 68 / 10%);
  --spring: cubic-bezier(.22, .76, .24, 1);
  --display: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --gutter: clamp(24px, 5vw, 78px);
  font-family: "Geist", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100dvh; background: var(--page-wash) var(--page); color: var(--text); }
h1, h2, p { margin: 0; }
button, select, input { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .52; cursor: default; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
a { color: inherit; }
.skip-link { position: absolute; top: 4px; left: 16px; z-index: 3; padding: 10px 14px; border-radius: 12px; background: var(--accent); color: var(--ghost-white); transform: translateY(-130%); }
.skip-link:focus { transform: none; }
.masthead, main, .site-footer { width: min(1600px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--display); font-size: 32px; line-height: 1; letter-spacing: -.08em; }
.brand strong { font-weight: 600; }
.brand strong span, .section-intro h1 span { color: var(--accent); }
.brand-mark { width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); }
.brand-mark::after { content: ""; border-block: 5px solid transparent; border-left: 8px solid var(--ghost-white); margin-left: 2px; }
.masthead nav { display: flex; justify-content: center; gap: 3px; padding: 4px; border-radius: 99px; background: var(--surface-raised); box-shadow: inset 0 1px 2px var(--ink-shadow); }
.nav-button { color: var(--muted); border-radius: 99px; padding: 9px 13px; white-space: nowrap; font-size: 13px; font-weight: 600; text-decoration: none; }
.nav-button:hover, .nav-button[aria-current] { background: var(--surface); color: var(--text); }
.nav-button[aria-current] { color: var(--accent); box-shadow: 0 2px 6px var(--ink-shadow); }
.run-label { display: grid; gap: 3px; color: var(--muted); font-size: 11px; font-weight: 650; }
.run-label select { width: 174px; font-size: 11px; padding: 5px 8px; }
.view { padding: 16px 0 42px; }
.view:not([hidden]) { animation: enter .78s var(--spring) both; }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(26px, 5vw, 78px); margin-block: clamp(16px, 5vh, 60px) 28px; }
.hero-content { display: flex; flex-direction: column; justify-content: center; padding-block: clamp(12px, 2.8vw, 40px); }
h1 { font-family: var(--display); font-weight: 500; font-size: clamp(52px, 6.7vw, 108px); letter-spacing: -.075em; line-height: .96; }
.hero h1 em { color: var(--accent); font-weight: 400; }
.hero-content p { max-width: 41ch; margin-top: clamp(14px, 2vw, 22px); color: var(--muted); font-size: clamp(15px, 1.4vw, 17px); line-height: 1.6; }
.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
}
.mode-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(128px, 15vw, 210px);
  padding: 18px;
  border-radius: 22px;
  color: #233d4d;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgb(253 251 254 / 54%), 0 6px 16px var(--ink-shadow);
  transition: transform .32s var(--spring), box-shadow .32s var(--spring);
}
.mode-card:is(:hover, :focus-visible) { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgb(253 251 254 / 54%), 0 12px 24px var(--ink-shadow); }
.mode-solo { color: var(--ghost-white); background: linear-gradient(140deg, #276781, var(--freezing-blue) 56%, #113443); }
.mode-group { color: var(--ghost-white); background: linear-gradient(140deg, #566f86, #314c65 59%, #223d54); }
.mode-benchmark { background: linear-gradient(140deg, #edf5f9, #c8dfe8); }
.mode-guide { background: linear-gradient(140deg, #f1f3f8, #d6deed); }
.mode-icon {
  width: clamp(58px, 8vw, 110px);
  height: auto;
  fill: rgb(22 69 94 / 13%);
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--freezing-blue);
  transition: transform .32s var(--spring);
}
.mode-solo .mode-icon, .mode-group .mode-icon {
  fill: rgb(255 255 255 / 17%);
  color: var(--ghost-white);
}
.icon-secondary { opacity: .73; }
.mode-label {
  position: absolute;
  inset: auto 8px 11px;
  text-align: center;
  font-size: 12px;
  font-weight: 650;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity .32s var(--spring), transform .32s var(--spring);
}
.mode-card:is(:hover, :focus-visible) .mode-icon { transform: translateY(-8px); }
.mode-card:is(:hover, :focus-visible) .mode-label { opacity: 1; transform: none; }
.back-to-home { display: inline-flex; gap: 8px; align-items: center; margin: 15px 0 0; color: var(--accent); font-size: 13px; font-weight: 650; text-underline-offset: 4px; }
.back-to-home + .view .section-intro { padding-top: 15px; }

.primary, .secondary, .icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: 8px 13px; min-height: 36px; border-radius: 99px; font-size: 13px; font-weight: 650; }
button { transition: background-color .25s var(--spring), color .25s var(--spring), transform .38s var(--spring); }
button:active:not(:disabled) { transform: scale(.98); }
.secondary:hover:not(:disabled), .icon-button:hover:not(:disabled) { color: var(--accent); background: var(--accent-soft); }
.primary, #example { background: var(--accent); color: var(--ghost-white); border-color: transparent; }
.primary { width: 100%; justify-content: space-between; padding: 7px 8px 7px 16px; min-height: 43px; }
.primary:hover:not(:disabled), #example:hover:not(:disabled) { background: var(--cool-gray); color: var(--ghost-white); }
.primary span, #example span, #group-example span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink-shadow); transition: transform .42s var(--spring); }
.primary span, #example span { background: rgb(253 251 254 / 18%); }
.primary:hover span, #example:hover span, #group-example:hover span { transform: translate(2px, -1px); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.5vw, 22px); margin: 0 0 24px; }
.stats:empty { display: none; }
.stats > div { min-width: 0; display: grid; align-content: start; padding: 13px clamp(10px, 2vw, 26px); border-radius: 17px; background: var(--card-wash); box-shadow: inset 0 1px rgb(253 251 254 / 65%), 0 4px 12px var(--ink-shadow); }
.stats > div:nth-child(2) { background: var(--card-blue); }
.stats small, .stats span { display: block; color: var(--muted); font-size: 12px; line-height: 1.4; }
.stats strong { font-family: var(--display); font-size: clamp(24px, 3.2vw, 45px); letter-spacing: -.05em; font-weight: 500; line-height: 1.05; margin-block: 4px; font-variant-numeric: lining-nums tabular-nums; }
.stats span:empty { display: none; }
.stats span { color: var(--accent); font-size: 11px; font-weight: 650; }

.workspace { display: grid; gap: clamp(14px, 2.5vw, 35px); grid-template-columns: minmax(260px, .75fr) minmax(0, 1.65fr); align-items: start; }
.panel { position: relative; isolation: isolate; min-width: 0; padding: clamp(19px, 2.25vw, 32px); background: var(--card-blue); border-radius: 23px; box-shadow: 0 9px 25px var(--ink-shadow); }
.panel::before { content: ""; position: absolute; z-index: -1; inset: 5px; border-radius: 18px; background: var(--card-wash); box-shadow: inset 0 1px rgb(253 251 254 / 65%), 0 0 0 1px var(--ink-shadow); }
.profile::before, .guide-card:nth-child(even)::before { background: var(--card-blue); }
h2 { font-family: var(--display); font-size: clamp(23px, 2.3vw, 34px); letter-spacing: -.045em; font-weight: 500; line-height: 1.05; }
.profile h2 { margin-bottom: 15px; }
.segmented { display: flex; padding: 4px; gap: 3px; border-radius: 18px; background: var(--surface-raised); margin-bottom: 17px; }
.segmented button { flex: 1; border: 0; border-radius: 14px; background: transparent; color: var(--muted); padding: 8px 6px; font-size: 12px; font-weight: 600; }
.segmented button.selected { background: var(--surface); color: var(--accent); box-shadow: 0 2px 4px var(--ink-shadow); }
.profile label, .field-label { display: block; font-size: 13px; font-weight: 650; margin-bottom: 7px; }
.profile label span { float: right; color: var(--muted); font-weight: 400; }
input:not([type=checkbox]), select { color: var(--text); border: 1px solid var(--line); background: var(--surface-raised); border-radius: 11px; padding: 9px 10px; }
input:not([type=checkbox]) { width: 100%; }
input::placeholder { color: var(--muted); }
.search-wrap { position: relative; margin-bottom: 13px; }
.search-results { position: absolute; inset: calc(100% + 5px) 0 auto; z-index: 3; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px var(--ink-shadow); max-height: 285px; overflow: auto; }
.search-results button { display: block; width: 100%; padding: 9px 12px; text-align: left; background: transparent; color: var(--text); border: 0; }
.search-results button:hover, .search-results button:focus-visible { background: var(--accent-soft); }
.search-results p { padding: 10px; color: var(--muted); font-size: 13px; }
.rated-row { display: grid; grid-template-columns: minmax(0, 1fr) 29px; gap: 2px 7px; align-items: center; font-size: 13px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.rated-title { font-weight: 650; overflow-wrap: anywhere; }
.star-rating { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 1px; }
.star-cell { position: relative; display: grid; place-items: center; width: 32px; height: 36px; border-radius: 6px; }
.star-cell:hover { background: var(--accent-soft); }
.star-cell:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: -2px; }
.star-glyph {
  --unrated-star: #7996a7;
  width: 25px;
  height: 25px;
  background: var(--unrated-star);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' stroke='black' stroke-width='2' stroke-linejoin='round' d='m12 2.8 2.8 5.7 6.3.9-4.6 4.5 1.1 6.2-5.6-2.9-5.6 2.9 1.1-6.2-4.6-4.5 6.3-.9z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.star-cell[data-fill="1"] .star-glyph { background: var(--freezing-blue); }
.star-cell[data-fill="0.5"] .star-glyph { background: linear-gradient(90deg, var(--freezing-blue) 50%, var(--unrated-star) 50%); }
.star-cell input[type="radio"] { position: absolute; inset: 0 auto 0 0; appearance: none; width: 50%; height: 100%; margin: 0; padding: 0; cursor: pointer; opacity: 0; }
.star-cell input[type="radio"]:last-child { left: 50%; }
.star-value { padding-inline: 5px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.clear-ratings { display: inline-block; margin-bottom: 14px; font-size: 12px; }
.rated-row button, .friend-head button { padding: 1px 6px; min-height: 29px; font-size: 17px; }
#rated:not(:empty) { margin-bottom: 8px; }
#viewer-field { margin-bottom: 16px; }
.chips, .model-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button, .model-tabs button { border: 1px solid var(--line); background: transparent; color: var(--muted); padding: 5px 9px; min-height: 28px; border-radius: 99px; font-size: 12px; }
.chips button:hover, .model-tabs button:hover, .chips button[aria-pressed=true], .model-tabs button[aria-pressed=true] { border-color: var(--accent-line); color: var(--accent); background: var(--accent-soft); }
.profile .check { display: flex; align-items: flex-start; gap: 8px; margin: 16px 0; color: var(--muted); font-weight: 500; font-size: 12px; line-height: 1.4; }
input[type=checkbox] { accent-color: var(--accent); margin: 2px 0 0; }
.form-status { font-size: 13px; color: var(--muted); line-height: 1.5; margin-top: 10px; }
.form-status:empty { display: none; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.panel-head p { margin-top: 6px; color: var(--muted); font-size: 12px; }
.panel-head button { white-space: nowrap; }
.model-tabs { margin: 17px 0 11px; }
.movie-card { display: grid; grid-template-columns: 35px minmax(0, 1fr) auto; align-items: center; gap: 11px; min-height: 65px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.movie-card:last-child { border-bottom: 0; }
.movie-rank { color: var(--accent); font: 400 20px/1 var(--display); font-variant-numeric: lining-nums tabular-nums; text-align: center; }
.movie-title { font-weight: 650; font-size: 15px; overflow-wrap: anywhere; }
.movie-meta { color: var(--muted); font-size: 12px; margin-top: 4px; line-height: 1.4; overflow-wrap: anywhere; }
.movie-card button { padding: 5px 10px; min-height: 31px; }
.all-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-top: 16px; }
.all-lists > div { background: var(--card-blue); padding: 13px; border-radius: 14px; min-width: 0; }
.all-lists h3 { margin: 0 0 6px; font-size: 14px; color: var(--accent); }
.all-lists .movie-card { grid-template-columns: 22px minmax(0, 1fr) auto; gap: 5px; }
.all-lists .movie-title { font-size: 13px; }
.all-lists .movie-card button { padding: 3px 6px; }

.section-intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; padding: 35px 0 32px; }
.section-intro p { margin-top: 14px; color: var(--muted); line-height: 1.55; }
.section-intro h1 { font-size: clamp(49px, 6vw, 91px); }
.benchmark-controls { display: grid; gap: 14px; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; }
.benchmark-controls label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 600; min-width: 0; }
.benchmark-controls select { width: 100%; min-width: 0; }
#benchmark-stats { margin-block: 24px; }
.chart { display: grid; gap: 13px; margin: 22px 0 8px; }
.bar-row, .chart-key { display: grid; grid-template-columns: 92px minmax(0, 1fr) 58px 75px; align-items: center; gap: 12px; font-size: 13px; }
.chart-key { color: var(--muted); font-size: 11px; }
.bar-track { display: block; height: 14px; border-radius: 99px; overflow: hidden; background: var(--surface-raised); }
.bar { display: block; height: 100%; background: linear-gradient(90deg, var(--freezing-blue), #367795); border-radius: inherit; }
.bar-row.baseline .bar { background: var(--muted); }
.chart-scope { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.chart-scope input { margin: 0; }
.benchmark-extremes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.benchmark-extremes > div { display: grid; align-content: start; gap: 4px; padding: 13px; border-radius: 14px; overflow-wrap: anywhere; }
.benchmark-extremes > p { grid-column: 1 / -1; }
.benchmark-best { background: var(--accent); color: var(--ghost-white); }
.benchmark-worst { background: var(--card-blue); }
.benchmark-extremes strong { font: 500 clamp(23px, 3vw, 36px)/1 var(--display); }
.benchmark-extremes span { font-size: 13px; font-weight: 650; }
.bar-value, .bar-delta { text-align: right; font-variant-numeric: tabular-nums; }
.bar-delta { color: var(--muted); font-size: 12px; }
.bar-delta.positive { color: var(--accent); font-weight: 700; }
.evidence { margin-top: 17px; border-radius: 15px; background: var(--card-blue); padding: 16px 21px; }
.evidence strong { color: var(--accent); }
.evidence p { margin-top: 5px; font-size: 13px; line-height: 1.45; }
.guide-picker { max-width: 280px; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr)); gap: 14px; margin: 18px 0 20px; }
.guide-card { scroll-margin-block: 18px; }
.guide-card h3, .guide-context h3 { margin: 0 0 9px; font-size: 16px; }
.guide-card p, .guide-context dd { font-size: 14px; line-height: 1.55; }
.guide-card p + p { margin-top: 9px; }
.guide-direction { color: var(--accent); font-weight: 650; }
.guide-example, .guide-context dd { color: var(--muted); }
.guide-context dl { margin-bottom: 0; }
.guide-context dt { margin-top: 12px; font-weight: 650; font-size: 13px; }
.guide-context dd { margin: 3px 0 0; }
.guide-link { padding: 0; border: 0; background: transparent; color: inherit; text-align: inherit; text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; }
.guide-link:hover, #metric-guide .guide-link { color: var(--accent); }
.protocol summary, .movie-fit summary { color: var(--accent); cursor: pointer; font-size: 13px; }
.group-workspace { grid-template-columns: minmax(270px, .85fr) minmax(0, 1.35fr); }
.group-workspace .panel-head h2 { margin: 0; }
#friends { display: grid; gap: 10px; margin: 17px 0; }
.friend-card { background: var(--card-wash); border-radius: 14px; padding: 11px; display: grid; gap: 7px; }
.friend-head { display: grid; grid-template-columns: minmax(0, 1fr) 29px; align-items: center; gap: 7px; }
.friend-card .search-wrap { margin: 0; }
.friend-card input, .friend-card select { background: var(--surface); font-size: 13px; }
#group-genre { width: 100%; }
.strategy-picker { margin: 15px 0 8px; }
.vote-summary { font-size: 13px; background: var(--accent-soft); color: var(--accent); border-radius: 10px; padding: 9px 11px; margin-top: 12px; }
.group-movie { border-top: 1px solid var(--line); padding: 14px 0 12px; margin-top: 9px; }
.group-movie-head { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.group-movie h3 { font-size: 16px; margin: 0; overflow-wrap: anywhere; }
.group-score { color: var(--accent); text-align: right; font-variant-numeric: tabular-nums; }
.group-score strong { font-size: 22px; }
.group-score small { display: block; font-size: 11px; color: var(--muted); }
.group-summary, .movie-fit { margin: 7px 0 0 38px; }
.group-summary { color: var(--muted); font-size: 12px; }
.fit-row { display: grid; grid-template-columns: minmax(75px, 1fr) minmax(20px, .8fr) 29px auto; align-items: center; gap: 7px; font-size: 12px; margin-top: 10px; }
.fit-row .bar-track { height: 6px; }
.fit-row div { overflow-wrap: anywhere; }
.fit-row small { display: block; color: var(--muted); }
.fit-row button { padding: 3px 7px; min-height: 28px; font-size: 11px; }
.fit-row button[aria-pressed=true] { border-color: var(--accent-line); color: var(--accent); background: var(--accent-soft); }
.metrics-panel { margin-top: 18px; }
.table-wrap { overflow-x: auto; margin: 12px 0; }
table { border-collapse: collapse; width: 100%; white-space: nowrap; }
th, td { padding: 10px; text-align: right; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; font-size: 13px; }
th { color: var(--muted); }
th:first-child, td:first-child { text-align: left; }
.table-wrap th:first-child { position: sticky; left: 0; background: #e5eef5; z-index: 1; box-shadow: 1px 0 var(--line); }
.table-wrap tbody tr:nth-child(even) :is(th, td) { background: #d6e5ef; }
.notice { margin-block: 14px 0; }
.error { color: #922f21; }
dialog { padding: 23px; width: min(540px, calc(100% - 24px)); border: 5px solid var(--accent-soft); border-radius: 24px; background: var(--surface); color: var(--text); }
dialog::backdrop { background: rgb(62 64 68 / 78%); }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.dialog-head button { padding: 1px 8px; font-size: 20px; min-height: 33px; }
#dialog-content p { margin: 10px 0; line-height: 1.5; }
#dialog-content li { margin: 7px 0; }
.site-footer { padding-block: 8px 26px; color: var(--muted); font-size: 12px; }
.data-panel + .data-panel { margin-top: 18px; }
.data-panel p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.data-panel code { color: var(--accent); overflow-wrap: anywhere; }
.data-stats { margin: 18px 0 0; }
.data-pipeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 18px 0 0; list-style: none; }
.data-pipeline li { padding: 15px; border-radius: 14px; background: var(--card-blue); }
.data-pipeline h3 { margin: 0 0 7px; font-size: 16px; }
.data-pipeline code { font-size: 13px; }
#data .secondary { text-decoration: none; }

@media (max-width: 980px) {
  .masthead { display: grid; grid-template-columns: 1fr auto; gap: 13px; }
  .masthead nav { grid-row: 2; grid-column: 1 / -1; width: fit-content; flex-wrap: wrap; }
  .all-lists { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .masthead { padding-block: 15px 8px; }
  .hero, .workspace { grid-template-columns: 1fr; gap: 16px; }
  .hero { margin-block: 4px 20px; }
  .hero-content { padding-block: 13px 4px; }
  .hero h1 br { display: none; }
  .section-intro { padding-top: 19px; }
  .benchmark-controls { grid-template-columns: 1fr 1fr; }
  .data-pipeline { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .mode-card { min-height: 115px; padding: 15px; border-radius: 17px; }
  .masthead nav { flex-wrap: wrap; justify-content: flex-start; }
  .nav-button { padding: 8px; font-size: 11px; }
  .stats small { font-size: 11px; }
  .stats strong { font-size: clamp(18px, 5.7vw, 26px); }
  .bar-row, .chart-key { grid-template-columns: 66px minmax(0, 1fr) 44px 51px; gap: 6px; font-size: 11px; }
  .bar-delta { font-size: 11px; }
  .group-summary, .movie-fit { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
