/* Pixel Code Policy project page.
   One typeface (Inter) and two sizes: 18px for every piece of text, 30px for the title and section headings.
   Light page, dark text, one accent colour; videos and pictures sit on soft shadows like in our videos. */

@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --fs: 18px;            /* all text */
  --fh: 30px;            /* title and section headings */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "DejaVu Sans Mono", monospace;

  --bg: #F9F9F9;
  --card: #FFFFFF;
  --text: #242424;
  --mute: #6B6B6B;
  --faint: #A3A3A3;
  --rule: #E4E4E4;
  --ink: #1F2933;        /* dark buttons and pills */
  --pill: rgba(31, 41, 51, .86);
  --accent: #0B7A75;
  --cyan: #22D3EE;
  --shadow: 0 2px 3px rgba(16, 24, 40, .06), 0 12px 14px -8px rgba(16, 24, 40, .10), 0 30px 42px -24px rgba(16, 24, 40, .16);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 6px 12px -6px rgba(16, 24, 40, .12);
  --r: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wide: 1120px;        /* videos and grids */
  --narrow: 780px;       /* running text */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: var(--fs); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-size: var(--fh); line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: var(--fs); font-weight: 600; }
b, strong { font-weight: 600; }
b.accent, .accent { color: var(--accent); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: rgba(34, 211, 238, .28); }
.muted { color: var(--mute); }
.wrap { width: min(var(--wide), 100% - 48px); margin: 0 auto; }
.text { max-width: var(--narrow); margin: 0 auto; }
.text p + p { margin-top: 14px; }
/* running text is justified (both edges straight), with hyphenation so no line opens wide gaps */
.text p, .abstract p, .beh-text, .story > p, #modal-text { text-align: justify; -webkit-hyphens: auto; hyphens: auto;
  hyphenate-limit-chars: 12 5 5; }               /* only long words may break */
sub, sup { line-height: 0; }                    /* keep line spacing even in justified text */
/* headings break into lines of similar length (also in the contents) */
h1, h2, .rail .t, .contents li a { text-wrap: balance; }

/* ---------- contents: a rail on the left on wide screens, a list in the page otherwise ---------- */
.rail { display: none; }
.contents { margin: 40px auto 0; padding-top: 22px; border-top: 1px solid var(--rule); }
.contents h2 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin: 0 0 10px; }
.contents ol { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 32px; }
.contents li { break-inside: avoid; padding: 3px 0; }
.contents a { text-decoration: none; }
.contents a:hover { text-decoration: underline; }
.contents .n { display: inline-block; width: 1.6em; color: var(--faint); font-variant-numeric: tabular-nums; }
@media (min-width: 1360px) {
  /* the rail shows each section heading in full (numbered), so it uses the whole left margin */
  .rail { display: block; position: fixed; top: 50%; left: 24px; transform: translateY(-50%); z-index: 40; font-size: 13.5px; line-height: 1.38;
          width: clamp(176px, calc((100vw - var(--wide)) / 2 - 56px), 300px); }
  .rail a { display: flex; gap: 8px; color: var(--faint); text-decoration: none; padding: 7px 0 7px 12px; border-left: 2px solid var(--rule); transition: color .2s, border-color .2s; }
  .rail .n { flex: none; min-width: .8em; font-variant-numeric: tabular-nums; }
  .rail a:hover { color: var(--text); }
  .rail a.on { color: var(--text); border-left-color: var(--text); font-weight: 600; }
  .wrap { width: min(var(--wide), 100vw - 448px); }
  .contents { display: none; }
}

/* ---------- title block ---------- */
.hero { padding: 64px 0 36px; text-align: center; }
.hero h1.title { max-width: none; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.wordmark { width: min(880px, 94%); height: auto; }
.subtitle { display: block; max-width: 900px; font-size: var(--fh); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.struck-line b { color: var(--text); }
.authors { margin: 26px auto 0; max-width: 1240px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
.author { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; white-space: nowrap; }
.author .av { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none;
              box-shadow: 0 0 0 2px #fff, 0 1px 3px 2px rgba(16, 24, 40, .14); }       /* a white ring and a soft shadow, as on the end card */
a.author:hover .nm { text-decoration: underline; text-underline-offset: 3px; }
.authors sup, .affils sup { font-size: .62em; margin-left: 1px; color: var(--mute); }
.author sup { align-self: flex-start; margin: 1px 0 0 -7px; }
.hero .wrap { container-type: inline-size; }
@container (max-width: 1100px) { .authors { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; } }   /* 3 + 3 when six do not fit */
@media (max-width: 640px) { .authors { grid-template-columns: repeat(2, auto); gap: 10px 22px; } }                                  /* 2 + 2 + 2 */
.affils { margin: 16px auto 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 30px; color: var(--mute); }
.affils .aff { display: inline-flex; align-items: center; white-space: nowrap; }
.affils .logo { height: 34px; width: auto; margin-right: 10px; }
.affils sup { margin: 0 2px 0 0; align-self: flex-start; margin-top: 4px; }
.affils .equal { font-size: .8em; }                 /* the equal-contribution note, smaller than the affiliations */
.links { margin-top: 18px; }
.links a { font-weight: 600; text-decoration: underline; }
.links a:hover { color: var(--accent); }
.links .dot { margin: 0 12px; color: var(--faint); }
.links .soon { color: var(--faint); }

/* ---------- teaser and summary ---------- */
.intro { padding-bottom: 12px; }
.teaser { margin-bottom: 36px; }
.player-host.gen { margin-top: 28px; }     /* section 2 has no text: 28px under its heading (collapses with the heading's 16px), like text-to-video elsewhere */
.struck-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 18px !important; color: var(--mute); }
.struck { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.struck s { position: relative; text-decoration: none; padding: 2px 12px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); color: var(--text); }
.struck s::after { content: ""; position: absolute; left: 8px; right: 8px; top: 52%; height: 2px; background: #D33A3A; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.struck.on s::after { transform: scaleX(1); }
.struck.on s { color: var(--faint); transition: color .4s .2s; }
.struck s:nth-child(2)::after { transition-delay: .15s; } .struck s:nth-child(3)::after { transition-delay: .3s; }
.struck s:nth-child(4)::after { transition-delay: .45s; } .struck s:nth-child(5)::after { transition-delay: .6s; }
.abstract { margin-top: 22px; border-top: 1px solid var(--rule); padding-top: 14px; }
.abstract summary { cursor: pointer; font-weight: 600; list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.abstract summary::-webkit-details-marker { display: none; }
.abstract summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.abstract[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.abstract p { margin-top: 14px; color: var(--text); }

/* ---------- sections ---------- */
.section { padding: 32px 0 36px; }
.section > .wrap { border-top: 1px solid var(--rule); padding-top: 44px; }
.section h2 { max-width: var(--narrow); margin: 0 auto 16px; }
#bibtex h2 { max-width: var(--wide); }
.section h2 .n { color: var(--faint); margin-right: 14px; font-weight: 600; }
@media (min-width: 900px) {
  /* section headings break between phrases, never inside one; a heading may run 40px past the text column on the right */
  .section h2.ph { max-width: calc(var(--narrow) + 40px); margin-left: calc((100% - var(--narrow)) / 2); margin-right: auto; }
  .section h2.ph .ln { display: inline-block; }
}
.section .text { margin-bottom: 28px; }
.arrow-link { font-weight: 600; color: var(--accent); text-decoration: none; }
.arrow-link::after { content: " \2192"; }
.arrow-link:hover { text-decoration: underline; }

/* ---------- filters and task gallery ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 26px; }
.chip { height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1px var(--rule); transition: background .2s, color .2s, box-shadow .2s; }
.chip:hover { box-shadow: inset 0 0 0 1px #C9C9C9; }
.chip.on { background: var(--ink); color: #fff; box-shadow: none; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; align-items: start; }
.task-card { display: block; padding: 0; border: 0; background: none; text-align: left; }
.task-card.hide { display: none; }
.task-card .thumb { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #E9E9E9; box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s var(--ease); }
.task-card video { width: 100%; height: 100%; object-fit: cover; }
.task-card:hover .thumb { box-shadow: var(--shadow); transform: translateY(-2px); }
.task-card .name { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 10px; font-weight: 600; }
.task-card .name .len { flex: none; font-weight: 400; color: var(--mute); font-variant-numeric: tabular-nums; }
.task-card:hover .name > span:first-child { color: var(--accent); }

/* ---------- video player ---------- */
.player-host { position: relative; }
.player { position: relative; border-radius: var(--r); overflow: hidden; background: #111; box-shadow: var(--shadow); isolation: isolate; }
.player video { width: 100%; height: auto; display: block; background: #111; }
.player.contain video { object-fit: contain; }
/* the last frame, held over the video while it switches to the copy for another speed */
.player .still { position: absolute; left: 0; top: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; background: #111; display: none; pointer-events: none; }
.player .still.on { display: block; }
.tag { position: absolute; top: 12px; left: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 2px 12px; border-radius: 999px; background: var(--pill); color: #fff; line-height: 1.6; pointer-events: none; backdrop-filter: blur(4px); }
.tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.tag .spd { color: #FACC15; font-weight: 600; }
.task-card .tag { top: 10px; left: 10px; padding: 0 9px; gap: 4px; font-size: 13px; line-height: 1.75; white-space: nowrap; }
.play-overlay { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; border: 0; background: transparent; opacity: 0; transition: opacity .2s; }
.player.paused .play-overlay { opacity: 1; }
.play-overlay span { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); transition: transform .2s var(--ease); }
.play-overlay:hover span { transform: scale(1.06); }
.play-overlay svg { width: 30px; height: 30px; fill: var(--ink); margin-left: 4px; }
.controls { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; align-items: center; gap: 14px; padding: 28px 16px 12px; background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); color: #fff; opacity: 0; transition: opacity .25s; }
.player:hover .controls, .player.paused .controls, .player:focus-within .controls { opacity: 1; }
/* the teaser: its bar only while the pointer is over it (keyboard focus still shows it); touch screens keep the rule above */
@media (hover: hover) {
  .player.autohide.paused .controls, .player.autohide:focus-within .controls { opacity: 0; }
  .player.autohide:hover .controls, .player.autohide:has(:focus-visible) .controls { opacity: 1; }
}
.controls > button { width: 36px; height: 36px; border: 0; background: none; padding: 6px; display: grid; place-items: center; flex: none; }
.controls svg { width: 22px; height: 22px; fill: #fff; }
.bar { position: relative; flex: 1; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .35); cursor: pointer; touch-action: none; }
.bar::before { content: ""; position: absolute; inset: -10px 0; }
.fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: #fff; }
.mark { position: absolute; top: -3px; width: 3px; height: 12px; margin-left: -1px; border-radius: 2px; background: var(--cyan); }
.time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.rates { display: flex; gap: 2px; padding: 2px; border-radius: 999px; background: rgba(255, 255, 255, .16); }
.rates button { border: 0; background: none; color: #fff; padding: 0 10px; border-radius: 999px; line-height: 1.7; }
.rates button.on { background: #fff; color: var(--ink); }
.sound-pill { position: absolute; top: 12px; right: 12px; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 4px 16px 4px 12px; border: 0; border-radius: 999px; background: var(--pill); color: #fff; backdrop-filter: blur(6px); box-shadow: 0 2px 10px rgba(0, 0, 0, .18); transition: background .2s; }
.sound-pill:hover { background: rgba(31, 41, 51, .95); }
.sound-pill svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.player.unmuted .sound-pill { background: rgba(255, 255, 255, .94); color: var(--ink); }

/* ---------- task window ---------- */
.modal { width: min(1240px, 100% - 40px); max-width: none; max-height: calc(100% - 40px); padding: 0; border: 0; border-radius: 18px; background: var(--card); color: var(--text); box-shadow: 0 40px 120px rgba(16, 24, 40, .35); overflow: hidden; }
.modal::backdrop { background: rgba(17, 24, 39, .55); backdrop-filter: blur(4px); }
.modal[open] { animation: pop .25s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.modal-inner { display: grid; grid-template-columns: minmax(0, 1fr) 400px; max-height: calc(100vh - 40px); }
.modal-player { padding: 20px; background: #F1F1F1; display: flex; align-items: center; }
.modal-player .player { width: 100%; }
.modal-side { padding: 28px 26px 24px; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; }
.modal-side h3 { font-size: var(--fh); line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; padding-right: 36px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { border: 0; border-radius: 999px; padding: 4px 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--rule); }
.seg button.on { background: var(--ink); color: #fff; box-shadow: none; }
.seg[hidden] { display: none; }
.modal-nav { margin-top: auto; display: flex; justify-content: space-between; gap: 8px; padding-top: 8px; }
.pill-button { border: 0; border-radius: 999px; padding: 6px 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); }
.pill-button:hover { box-shadow: inset 0 0 0 1px #C9C9C9; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 10; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--card); box-shadow: var(--shadow-sm); font-size: var(--fh); line-height: 1; display: grid; place-items: center; padding: 0 0 3px; }

/* ---------- memory, checks and retries ---------- */
.behaviors { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.beh-list { display: flex; flex-direction: column; gap: 6px; }
.beh-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 0; border-radius: 12px; background: none; text-align: left; transition: background .2s; }
.beh-item:hover { background: rgba(0, 0, 0, .04); }
.beh-item.on { background: var(--card); box-shadow: var(--shadow-sm); font-weight: 600; }
.beh-item .ic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #EDEDED; }
.beh-item.on .ic { background: var(--ink); }
.beh-item .ic svg { width: 20px; height: 20px; fill: none; stroke: var(--text); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.beh-item.on .ic svg { stroke: #fff; }
.beh-text { margin: 16px 0 12px; }
.beh-item .two { display: flex; flex-direction: column; line-height: 1.3; }
.beh-item .two .sub { color: var(--mute); font-weight: 400; }
.chapters { display: flex; flex-wrap: wrap; gap: 8px; }
.chapter { border: 0; border-radius: 999px; padding: 4px 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); transition: background .2s, color .2s; }
.chapter:hover { box-shadow: inset 0 0 0 1px #C9C9C9; }
.chapter.on { background: var(--ink); color: #fff; box-shadow: none; }
.chapters.digits .chapter { min-width: 46px; font-variant-numeric: tabular-nums; }

/* ---------- inside a policy ---------- */
.picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.pick { display: flex; flex-direction: column; gap: 8px; padding: 0; border: 0; background: none; text-align: left; }
.pick img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; opacity: .55; filter: saturate(.7); transition: opacity .2s, filter .2s, box-shadow .2s; }
.pick:hover img { opacity: .85; filter: none; }
.pick.on img { opacity: 1; filter: none; box-shadow: 0 0 0 3px var(--ink); }
.pick span { line-height: 1.35; color: var(--mute); }
.pick.on span { color: var(--text); font-weight: 600; }

/* ---------- how it works ---------- */
.explorer { max-width: 980px; margin: 0 auto; }
.tabs { display: flex; justify-content: center; gap: 6px; }
.tabs button { border: 0; border-radius: 999px; padding: 6px 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); font-weight: 600; }
.tabs button.on { background: var(--ink); color: #fff; box-shadow: none; }
.mx-blurb { text-align: center; color: var(--mute); margin: 14px 0 20px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #EDEDED; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s var(--ease); }
.tile img, .tile video { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tile .tag { top: 10px; left: 10px; padding: 0 10px; }
.tile .lb { position: absolute; left: 10px; bottom: 10px; padding: 0 12px; border-radius: 999px; background: var(--pill); color: #fff; }
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.tile.on { box-shadow: 0 0 0 3px var(--ink), var(--shadow); }
.tile-cap { text-align: center; margin-top: 18px; min-height: 3.2em; }
.stories { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.story h3 { margin-bottom: 10px; }
.story-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sframe .sthumb { position: relative; display: block; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); background: #EDEDED; }
.sframe img, .sframe video { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sframe .tag { top: 8px; left: 8px; padding: 0 9px; }
.sframe figcaption { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.story > p { margin-top: 12px; color: var(--mute); }
.badge { width: 24px; height: 24px; flex: none; display: grid; place-items: center; color: #fff; }
.badge.circle { border-radius: 50%; background: var(--ink); line-height: 1; }
.badge.diamond { transform: rotate(45deg); border-radius: 5px; width: 20px; height: 20px; margin: 2px; background: var(--accent); }
.badge.diamond.fail { background: #C2410C; }
.badge.diamond i { transform: rotate(-45deg); font-style: normal; line-height: 1; }

/* ---------- BibTeX, footer ---------- */
.bib { position: relative; max-width: var(--wide); margin: 0 auto; padding: 22px 24px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--rule); }
.bib pre { margin: 0; font-family: var(--mono); font-size: var(--fs); line-height: 1.6; white-space: pre; overflow-x: auto; }
.copy { position: absolute; top: 14px; right: 14px; border: 0; border-radius: 999px; padding: 4px 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--rule); }
.footer { padding: 20px 0 56px; color: var(--mute); text-align: center; }
.footer .wrap { border-top: 1px solid var(--rule); padding-top: 28px; }
.footer p + p { margin-top: 6px; }

/* ---------- narrower screens ---------- */
@media (max-width: 1080px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .behaviors { grid-template-columns: 1fr; }
  .beh-list { display: grid; grid-template-columns: 1fr 1fr; }
  .picker { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .modal-inner { grid-template-columns: 1fr; overflow-y: auto; }
  .modal-side { overflow: visible; }
}
@media (max-width: 860px) {
  .task-card .tag .pre { display: none; }        /* narrow cards: only the speed */
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stories { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .hero { padding-top: 36px; }
  .contents ol { columns: 1; }
  .section { padding: 36px 0 44px; }
  .section > .wrap { padding-top: 36px; }
  .gallery { gap: 20px 12px; }
  .beh-list { grid-template-columns: 1fr; }
  .picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .controls { gap: 8px; padding: 24px 10px 8px; }
  .time { display: none; }
  .modal { width: calc(100% - 16px); max-height: calc(100% - 16px); }
  .modal-player { padding: 10px; }
  .modal-side { padding: 20px 18px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
