/* Design system.
 *
 * The renders are vivid, saturated and dark. The interface is the frame around
 * them, so it is deliberately quiet: a near neutral dark ground, one accent
 * used sparingly, and all of the colour on the page coming from the work
 * itself. Anything that competes with a thumbnail is wrong.
 *
 * Type carries the hierarchy, not decoration. Size and weight, generous space,
 * hairline borders rather than boxes drawn in hard lines. */

:root {
  /* ground */
  --bg:          #0a0a0c;
  --bg-soft:     #101013;
  --surface:     #121216;
  --surface-2:   #17171c;
  --surface-3:   #1e1e24;

  /* hairlines, not rules */
  --line:        rgba(255, 255, 255, .07);
  --line-strong: rgba(255, 255, 255, .13);

  /* text */
  --text:        #f4f4f5;
  --text-2:      #a4a4ae;
  --text-3:      #6e6e78;

  /* one accent, used sparingly */
  --accent:      #6d5ef8;
  --accent-soft: rgba(109, 94, 248, .14);
  --accent-line: rgba(109, 94, 248, .45);

  --good:        #34d399;
  --warn:        #fbbf24;
  --bad:         #fb7185;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --r-sm: 8px;
  --r:    12px;
  --r-lg: 16px;

  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -16px rgba(0,0,0,.7);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent-soft); }

:focus-visible {
  outline: 2px solid var(--accent-line);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------- layout */

.shell { max-width: 1120px; margin: 0 auto; padding: 0 28px 120px; }
.shell.narrow { max-width: 780px; }

header.bar {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: 9px;
}
.wordmark .mark {
  width: 22px; height: 22px; border-radius: 6px;
  background: linear-gradient(140deg, var(--accent), #a78bfa 70%, #f0abfc);
  box-shadow: 0 0 0 1px rgba(255,255,255,.09) inset;
}

nav.bar-nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
nav.bar-nav a {
  font-size: 14px;
  color: var(--text-2);
  padding: 7px 12px;
  border-radius: var(--r-sm);
  transition: color .15s var(--ease), background .15s var(--ease);
}
nav.bar-nav a:hover { color: var(--text); background: var(--surface-2); }
nav.bar-nav a.on { color: var(--text); }

/* ---------------------------------------------------------------- type */

h1 {
  font-size: 34px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.028em;
  margin: 0 0 10px;
}
h1.hero {
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.04;
  letter-spacing: -.035em;
  max-width: 15ch;
}
h2 {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: -.005em;
  margin: 0 0 18px;
}
h3 { font-size: 17px; font-weight: 600; letter-spacing: -.015em; margin: 0 0 6px; }

p { margin: 0 0 16px; color: var(--text-2); }
p:last-child { margin-bottom: 0; }
.lede { font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 46ch; }
.small { font-size: 13px; color: var(--text-3); }

.label { display: block; font-size: 13px; color: var(--text-3); margin-bottom: 3px; }
.value { font-size: 15px; color: var(--text); font-variant-numeric: tabular-nums; }
.value.big {
  font-size: 30px; font-weight: 600; letter-spacing: -.03em; line-height: 1.15;
}
.value.live { color: var(--warn); }
.mono { font-family: var(--mono); font-size: 12.5px; color: var(--text-3); }

/* ---------------------------------------------------------------- surfaces */

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.panel.flush { padding: 0; overflow: hidden; }
.panel.plain { background: transparent; border: none; box-shadow: none; padding: 0; }

.row { display: flex; gap: 20px; }
.row > * { flex: 1; min-width: 0; }
@media (max-width: 760px) { .row { flex-direction: column; } }

.stats { display: flex; gap: 44px; flex-wrap: wrap; }
.stat { min-width: 0; }

/* ---------------------------------------------------------------- buttons */

button, .btn {
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -.01em;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: background .15s var(--ease), border-color .15s var(--ease),
              opacity .15s var(--ease), transform .06s var(--ease);
  white-space: nowrap;
}
button:hover:not(:disabled), .btn:hover { background: var(--surface-3); }
button:active:not(:disabled) { transform: translateY(.5px); }
button:disabled { opacity: .42; cursor: not-allowed; }

button.primary {
  background: #fff;
  border-color: #fff;
  color: #0a0a0c;
  font-weight: 550;
}
button.primary:hover:not(:disabled) { background: #e9e9ee; border-color: #e9e9ee; }

button.accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
button.accent:hover:not(:disabled) { background: #7d70ff; border-color: #7d70ff; }

button.ghost { background: transparent; border-color: transparent; color: var(--text-2); }
button.ghost:hover { background: var(--surface-2); color: var(--text); }

button.danger { background: transparent; border-color: var(--line-strong); color: var(--bad); }
button.danger:hover:not(:disabled) { background: rgba(251,113,133,.09); }

button.wide, .btn.wide { width: 100%; }
button.lg, .btn.lg { height: 46px; padding: 0 24px; font-size: 15.5px; }

/* ---------------------------------------------------------------- forms */

input[type=text], input[type=email] {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
input:focus {
  outline: none;
  border-color: var(--accent-line);
  background: var(--surface);
}
input::placeholder { color: var(--text-3); }

.field { margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }

.switch {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 15px 0; cursor: pointer;
  border-top: 1px solid var(--line);
}
.switch:first-of-type { border-top: none; }
.switch input { margin: 2px 0 0; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.switch .t { font-size: 15px; color: var(--text); display: block; }
.switch .d { font-size: 13.5px; color: var(--text-3); }

details.disclosure { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 18px; }
details.disclosure summary {
  cursor: pointer; list-style: none; font-size: 14px; color: var(--text-2);
  display: inline-flex; align-items: center; gap: 7px;
  transition: color .15s var(--ease);
}
details.disclosure summary::-webkit-details-marker { display: none; }
details.disclosure summary::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background: currentColor;
  -webkit-mask: no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 4l4 4-4 4' stroke='black' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask: no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 4l4 4-4 4' stroke='black' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transition: transform .18s var(--ease);
}
details.disclosure[open] summary::before { transform: rotate(90deg); }
details.disclosure summary:hover { color: var(--text); }
.disclosure-body { padding-top: 20px; }

/* ---------------------------------------------------------------- upload */

.drop {
  border: 1px dashed var(--line-strong);
  border-radius: var(--r);
  padding: 48px 28px;
  text-align: center;
  cursor: pointer;
  background: var(--bg-soft);
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.drop:hover, .drop.over { border-color: var(--accent-line); background: var(--accent-soft); }
.drop .t { font-size: 15px; color: var(--text); }
.drop .hint { font-size: 13.5px; color: var(--text-3); margin-top: 5px; }

.track-card { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.track-card .name { font-size: 15.5px; font-weight: 500; }

/* ---------------------------------------------------------------- presets */

.preset-group { margin-bottom: 34px; }
.preset-group:last-child { margin-bottom: 0; }
.preset-group .gh { margin-bottom: 14px; }
.preset-group .gh h3 { margin-bottom: 2px; }
.preset-group .note { font-size: 13.5px; color: var(--accent); }

.preset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(216px, 1fr));
  gap: 14px;
}

.preset {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  background: var(--surface-2);
  transition: border-color .15s var(--ease), transform .15s var(--ease),
              box-shadow .15s var(--ease);
  position: relative;
}
.preset:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.preset.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.preset.on::after {
  content: ""; position: absolute; top: 10px; right: 10px;
  width: 20px; height: 20px; border-radius: 50%; background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 15px; background-repeat: no-repeat; background-position: center;
}
.preset .clip, .preset .noclip { display: block; width: 100%; aspect-ratio: 16/9; background: #000; }
.preset .clip { object-fit: cover; }
.preset .noclip {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, #17171c, #101013);
  color: var(--text-3); font-size: 12.5px; text-align: center; padding: 0 14px;
}
.preset .meta { padding: 13px 15px 15px; }
.preset .meta .n { font-size: 14.5px; font-weight: 500; }
.preset .meta .d { font-size: 12.5px; color: var(--text-3); line-height: 1.45;
  margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; }

/* ---------------------------------------------------------------- progress */

/* One block per segment, because that is what the work is: the bar moves once
 * per finished segment and each move is a real event. A smooth bar would be a
 * lie about a process that happens in ten discrete steps. */
.segments { display: flex; gap: 4px; margin: 4px 0 20px; }
.seg {
  flex: 1; height: 8px; border-radius: 999px;
  background: var(--surface-3);
  transition: background .35s var(--ease);
}
.seg.done { background: var(--good); }
.seg.doing { background: var(--accent); animation: breathe 1.8s var(--ease) infinite; }
.seg.failed { background: var(--bad); }
@keyframes breathe { 0%,100% { opacity: 1 } 50% { opacity: .45 } }

.job-head { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.job-head h1 { margin: 0; }

/* ---------------------------------------------------------------- table */

table.list { width: 100%; border-collapse: collapse; }
table.list th {
  text-align: left; font-size: 12.5px; font-weight: 500; color: var(--text-3);
  padding: 16px 18px 12px; border-bottom: 1px solid var(--line);
}
table.list td {
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  vertical-align: middle; font-size: 14.5px;
}
table.list tr:last-child td { border-bottom: none; }
table.list tr.clickable { cursor: pointer; transition: background .12s var(--ease); }
table.list tr.clickable:hover { background: var(--surface-2); }
table.list img.thumb {
  width: 104px; aspect-ratio: 16/9; object-fit: cover;
  border-radius: 6px; display: block; background: var(--surface-3);
}
table.list .ph { width: 104px; aspect-ratio: 16/9; border-radius: 6px; background: var(--surface-3); }
td.dim { color: var(--text-3); }

/* ---------------------------------------------------------------- bits */

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 500; padding: 4px 10px;
  border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-2);
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok   { color: var(--good); border-color: rgba(52,211,153,.3); background: rgba(52,211,153,.08); }
.pill.live { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.pill.bad  { color: var(--bad); border-color: rgba(251,113,133,.3); background: rgba(251,113,133,.08); }

.notice {
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: 15px 17px;
  font-size: 14.5px;
  color: var(--text);
  margin-bottom: 20px;
  background: var(--surface-2);
}
.notice strong { display: block; font-weight: 550; margin-bottom: 2px; }
.notice.bad  { border-color: rgba(251,113,133,.28); background: rgba(251,113,133,.07); }
.notice.ok   { border-color: rgba(52,211,153,.26); background: rgba(52,211,153,.06); }
.notice.info { border-color: var(--accent-line); background: var(--accent-soft); }
.notice a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.empty { text-align: center; padding: 72px 24px; }
.empty h3 { color: var(--text); }
.empty p { max-width: 34ch; margin: 0 auto 22px; }

video.result {
  width: 100%; display: block; border-radius: var(--r);
  background: #000; box-shadow: var(--shadow);
}

.thumbs { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; align-items: start; }
.thumbs img { width: 100%; border-radius: var(--r-sm); display: block; background: var(--surface-3); }
.thumbs a { display: block; transition: opacity .15s var(--ease); }
.thumbs a:hover { opacity: .85; }

.meter { height: 6px; background: var(--surface-3); border-radius: 999px; overflow: hidden; margin: 14px 0 8px; }
.meter > i { display: block; height: 100%; background: var(--accent); border-radius: 999px;
  transition: width .4s var(--ease); }
.meter > i.over { background: var(--bad); }

.spinner {
  display: inline-block; width: 15px; height: 15px; flex: none;
  border: 2px solid var(--line-strong); border-top-color: var(--text-2);
  border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg) } }

hr.rule { border: none; border-top: 1px solid var(--line); margin: 26px 0; }

.right { margin-left: auto; }
.mt { margin-top: 20px; }
.mt-sm { margin-top: 10px; }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.inline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- landing */

.hero { padding: 40px 0 56px; }
.hero .lede { margin-top: 18px; font-size: 19px; }
.hero .cta { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }

.signin { max-width: 400px; margin: 0 auto; }
.divider {
  display: flex; align-items: center; gap: 14px;
  color: var(--text-3); font-size: 13px; margin: 22px 0;
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}

.gallery { margin: 8px 0 64px; }
.gallery .preset-grid { gap: 12px; }
.gallery .preset { cursor: default; }
.gallery .preset:hover { transform: none; box-shadow: none; border-color: var(--line); }

.gicon { width: 17px; height: 17px; flex: none; }

/* ---------------------------------------------------------------- landing v2 */

/* Signed out, the page runs full width. The narrow column made a landing page
 * feel like a form. */
section.band { padding: 0 0 88px; }
section.band:last-child { padding-bottom: 0; }

.eyebrow {
  font-size: 13px; font-weight: 500; color: var(--accent);
  margin-bottom: 14px; letter-spacing: -.005em;
}

.section-head { max-width: 52ch; margin-bottom: 30px; }
.section-head h2 {
  font-size: 26px; font-weight: 600; color: var(--text);
  letter-spacing: -.025em; margin-bottom: 8px;
}
.section-head p { margin: 0; }

/* three up, the shape most of this page wants */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px) { .trio { grid-template-columns: 1fr; } }

.step { padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); }
.step .num {
  font-size: 12.5px; font-weight: 600; color: var(--accent);
  font-variant-numeric: tabular-nums; margin-bottom: 12px;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; font-size: 14.5px; }

.feature { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); }
.feature .ico {
  width: 34px; height: 34px; border-radius: 9px; margin-bottom: 16px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.feature .ico svg { width: 17px; height: 17px; }
.feature h3 { font-size: 15.5px; margin-bottom: 5px; }
.feature p { margin: 0; font-size: 14px; }

/* the claim nothing else on the market can make */
.claim {
  border: 1px solid var(--accent-line);
  background: linear-gradient(150deg, var(--accent-soft), transparent 65%);
  border-radius: var(--r-lg);
  padding: 40px;
}
.claim h2 {
  font-size: 26px; font-weight: 600; color: var(--text);
  letter-spacing: -.025em; margin-bottom: 10px; max-width: 24ch;
}
.claim p { max-width: 56ch; margin-bottom: 0; }
.claim .names {
  display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap;
}
.claim .names span {
  font-size: 13px; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--accent-line); color: var(--text);
  background: rgba(0,0,0,.25);
}

.closer {
  text-align: center; padding: 72px 40px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface);
}
.closer h2 {
  font-size: 32px; font-weight: 600; color: var(--text);
  letter-spacing: -.03em; margin-bottom: 10px;
}
.closer p { max-width: 40ch; margin: 0 auto 26px; }

/* Deterministic gradient per preset, so a grid of not yet rendered clips reads
 * as designed rather than as missing content. Replaced by the real clip the
 * moment one exists. */
.preset .noclip {
  position: relative; overflow: hidden;
  color: rgba(255,255,255,.82); font-size: 13px; font-weight: 500;
}
.preset .noclip::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 30% 10%, rgba(255,255,255,.14), transparent 60%);
}
.preset .noclip span { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- dialog */

/* One sign in surface, reached from the header or from a hero button. Having it
 * inline twice within one scroll was the thing to fix. */
dialog.sheet {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
  color: var(--text);
  padding: 32px;
  width: min(420px, calc(100vw - 40px));
  box-shadow: 0 24px 80px -20px rgba(0,0,0,.8);
}
dialog.sheet::backdrop { background: rgba(6,6,8,.72); backdrop-filter: blur(4px); }
dialog.sheet h3 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 4px; }
dialog.sheet .close {
  position: absolute; top: 16px; right: 16px;
  width: 30px; height: 30px; padding: 0; border-radius: 8px;
  border-color: transparent; background: transparent; color: var(--text-3);
}
dialog.sheet .close:hover { background: var(--surface-3); color: var(--text); }

nav.bar-nav .sep { width: 1px; height: 20px; background: var(--line); margin: 0 6px; }
nav.bar-nav button { height: 34px; padding: 0 14px; font-size: 14px; }

/* ---------------------------------------------------------------- hero */

.hero-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  /* Shows through if the clip is missing, still loading, or refused by a
   * reduced motion preference. The hero is never an empty box. */
  background: radial-gradient(120% 100% at 78% 20%, #241c5c, #0c0b1a 55%, #08080c);
  margin-bottom: 88px;
}
.hero-wrap video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero-wrap video.ready { opacity: 1; }

/* Two scrims. One darkens the left so the headline always has contrast
 * whatever the clip is doing; one lifts the bottom edge off the section
 * below it. */
.hero-wrap::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,8,12,.94) 0%, rgba(8,8,12,.82) 38%, rgba(8,8,12,.35) 72%, rgba(8,8,12,.5) 100%),
    linear-gradient(0deg, rgba(8,8,12,.7), transparent 45%);
}

.hero-inner {
  position: relative; z-index: 1;
  padding: 108px 56px 104px;
  max-width: 760px;
}
@media (max-width: 760px) { .hero-inner { padding: 68px 28px 64px; } }

.hero-wrap h1.hero { margin-bottom: 0; }
.hero-wrap .lede { color: #c9cbd6; }
.hero-wrap .cta { margin-top: 36px; }

@media (prefers-reduced-motion: reduce) {
  .hero-wrap video { display: none; }
}

/* ---------------------------------------------------------------- pricing */

.panel.current { border-color: var(--accent-line); box-shadow: 0 0 0 1px var(--accent-line); }

table.plan-rows { width: 100%; border-collapse: collapse; font-size: 14px; }
table.plan-rows td { padding: 9px 0; border-bottom: 1px solid var(--line); }
table.plan-rows tr:last-child td { border-bottom: none; }
table.plan-rows td:first-child { color: var(--text-3); }
table.plan-rows td:last-child { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- frame picker */

.picker-stage {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
}
.picker-stage canvas { display: block; width: 100%; aspect-ratio: 16/9; }
.picker-stage .stage-note {
  position: absolute; left: 14px; bottom: 12px;
  font-size: 12.5px; padding: 5px 10px; border-radius: 999px;
  background: rgba(8,8,12,.72); backdrop-filter: blur(6px);
  font-variant-numeric: tabular-nums;
}

/* The strip. Horizontally scrollable, frames butted together, the chosen one
 * lifted out of the row the way a physical filmstrip would be. */
.strip-wrap { position: relative; margin-top: 14px; }
.strip {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  padding: 10px 0 12px;
  scrollbar-width: thin;
  scroll-behavior: smooth;
  cursor: pointer;
  -webkit-overflow-scrolling: touch;
}
.strip::-webkit-scrollbar { height: 5px; }
.strip::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }

.strip .cell {
  flex: none;
  width: 88px;
  aspect-ratio: 16/9;
  background: var(--surface-2);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  transition: transform .14s var(--ease), box-shadow .14s var(--ease),
              opacity .3s var(--ease);
  opacity: .55;
}
.strip .cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.strip .cell.loaded { opacity: 1; }
.strip .cell:hover { opacity: 1; }
.strip .cell.on {
  opacity: 1;
  transform: scale(1.14);
  z-index: 1;
  box-shadow: 0 0 0 2px var(--accent), 0 8px 20px -8px rgba(0,0,0,.8);
}

.picker-transport {
  display: flex; align-items: center; gap: 12px; margin-top: 6px;
}
.picker-transport .t {
  font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums;
  min-width: 44px;
}
.picker-transport input[type=range] {
  flex: 1; accent-color: var(--accent); height: 4px; cursor: pointer;
}
.step {
  width: 34px; height: 34px; padding: 0; flex: none;
  font-size: 15px; line-height: 1;
}

.picker-actions { display: flex; gap: 10px; align-items: center; margin-top: 20px; }
.picker-actions .right { margin-left: auto; }
.picker-hint { font-size: 13px; color: var(--text-3); }
