/* add-sound.css - Add sound's walkthrough (web/add-sound.js; Grady, 2026-10-08): the snpz guy and his cream bubble over a dark
   screen, the reel's numbers big, one picture of the app's screen (thin cream lines, the one thing to tap in yellow), Back and Next.
   Dark on every phone, like the first open: the guy is lit for the dark page and the drawings are cream lines. */
dialog.snd { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: calc(12px + env(safe-area-inset-top)) 16px calc(12px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: center; gap: 10px; border: 0; background: #111111; color: #fbf4ea; overflow: hidden; }
dialog.snd:not([open]) { display: none; }
dialog.snd::backdrop { background: #111111; }
.snd > * { width: 100%; max-width: 420px; }
button.snd-x { align-self: flex-end; width: 44px; min-height: 44px; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; color: #fbf4ea; font-size: 1.8rem; line-height: 1; }
.snd-top { display: flex; align-items: flex-end; gap: 8px; }
.snd-guy { flex: none; width: 128px; aspect-ratio: 538 / 324; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .5)); }
.snd-say { flex: 1; margin: 0; padding: 12px 16px; border-radius: 22px 22px 22px 6px; background: #fbf4ea; color: #111111; font-size: 1.2rem; font-weight: 700; line-height: 1.15; }
.snd-nums { display: grid; gap: 6px; margin: 0; }
.snd-nums div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 8px 14px; border: 1.5px solid #fbf4ea55; border-radius: 16px; }
.snd-nums dt { color: #bdb6ab; font-size: .9rem; font-weight: 700; }
.snd-nums dd { margin: 0; color: #f7c429; font-size: 2rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.snd-picbox { position: relative; flex: 1 1 auto; min-height: 0; display: flex; justify-content: center; }
.snd-pic { flex: 1 1 auto; min-height: 0; width: 100%; height: 100%; object-fit: contain; }
/* one picture a step, or two side by side (a step with a second tap, add-sound.js pic2), each with its own numbered arrow */
.snd-pane { position: relative; flex: 1 1 0; min-width: 0; display: flex; }
.snd-picbox.two { gap: 10px; }
/* a step's second tap: its line under the numbers, each bubble numbered as its picture */
.snd-tag { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #f8f6f1; color: #0a0a0a;
  font-size: .95rem; font-weight: 700; line-height: 1; }
.snd-says { flex: 1; display: grid; gap: 8px; }
.snd-says .snd-say:has(.snd-tag) { display: flex; align-items: center; gap: 10px; }
.snd-picbox.two .snd-pic { object-position: top; }
.snd-act { display: grid; gap: 10px; }
.snd-act:empty { display: none; }
.snd-song { margin: 0; color: #bdb6ab; font-size: .95rem; font-weight: 700; text-align: center; }
.snd-song:empty { display: none; }
.snd-act .button, .snd-act button { margin: 0; }
.snd-bar { display: flex; align-items: center; gap: 10px; }
.snd-bar button { flex: 1; margin: 0; }
.snd-bar button.ghost { color: #fbf4ea; border-color: #fbf4ea55; }
.snd-count { flex: none; color: #bdb6ab; font-size: .85rem; font-weight: 700; }
/* Record voiceover (web/voiceover.js; Grady, 2026-10-08): the same dark screen, the reel filling the middle, his line under it, the buttons.
   2026-11-12 (Grady: "less slop, more detailed"): a title and how it works on top, the parts he has listed under the strip, each with
   Retry and x */
.vo-reel { flex: 1 1 auto; min-height: 0; height: 100%; object-fit: contain; border-radius: 16px; background: #000000; }
.snd.vo .snd-say { flex: none; padding: 0; border-radius: 0; background: none; color: #fbf4ea; font-size: 1.05rem; text-align: center; }   /* no bubble, as the camera's line since 2026-11-11 and the quick card */
.vo-top { display: grid; gap: 4px; }
.vo-top h2 { margin: 0; color: #fbf4ea; font-size: 1.6rem; letter-spacing: -.02em; }
.vo-sub { margin: 0; color: #bdb6ab; font-size: .95rem; font-weight: 500; line-height: 1.35; }
.snd.vo .vo-stage { min-height: 150px; }
.snd.vo button.ghost { color: #fbf4ea; border-color: #fbf4ea55; }
/* the round record button (the editing apps' way, 2026-11-12): the camera's Record since 2026-11-13 (capture.css): the sweep disc with an ink
   dot; recording, the dot is a small square (stop). Only transform moves (selfcheck-screens) */
.vo-rec-wrap { display: grid; justify-items: center; gap: 4px; }
button.vo-rec { width: 76px; height: 76px; min-height: 0; margin: 0; padding: 0; border-radius: 50%; border: 0; background: var(--grad);
  box-shadow: none; display: grid; place-items: center; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.vo-rec i { display: block; width: 30px; height: 30px; border-radius: 50%; background: #0a0a0a; transition: transform var(--t-press) var(--ease-out); }
.vo-rec.on i { border-radius: 7px; transform: scale(.9); }
.vo-rec-l { color: #bdb6ab; font-size: .85rem; font-weight: 700; }
.vo-ctl { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.vo-ctl > :first-child { justify-self: end; }
.vo-ctl > :last-child { justify-self: start; }
button.vo-play { width: 56px; height: 56px; min-height: 0; margin: 0 18px; padding: 0; border-radius: 50%; border: 1.5px solid #fbf4ea55; background: transparent;
  color: #fbf4ea; box-shadow: none; display: grid; place-items: center; }
.vo-play svg { width: 26px; height: 26px; }
.vo-play svg path { fill: currentColor; stroke: none; }
.vo-play[disabled], .vo-again[disabled] { opacity: .35; }
.snd.vo button.vo-again { width: auto; min-height: 40px; margin: 0 18px; padding: 0 14px; border: 1.5px solid #fbf4ea66; font-size: .85rem; font-weight: 700; }   /* the shot list's chip */
.vo-act { display: flex; flex-direction: column; gap: 10px; }
.vo-act > button { margin: 0; }
/* the voice memo look while recording (vo-meter.js; Grady, 2026-10-09: "add a little voice memo ui thing"): a red dot, the bars, the clock */
.vo-meter { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 16px; background: #fbf4ea14; }
.vo-bars { flex: 1 1 auto; min-width: 0; height: 56px; }
.vo-clock { flex: none; min-width: 44px; text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 1.05rem; color: var(--cream); }
.vo-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); animation: vo-blink 1s steps(2, end) infinite; }
@keyframes vo-blink { to { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .vo-dot { animation: none; } }
/* the count and the reveal's mark (voiceover.js V1, docs/voiceover-plan.md): 3, 2, 1 big over the first frame; a thin bar under the reel
   with a yellow mark where the finished cut first shows */
.vo-stage { position: relative; flex: 1 1 auto; min-height: 0; display: flex; justify-content: center; }
.vo-stage .vo-reel { height: auto; }
.vo-stage .vo-reel { width: 100%; }
.vo-count { position: absolute; inset: 0; display: grid; place-items: center; color: #f7c429; font-size: 6rem; font-weight: 700;
  font-variant-numeric: tabular-nums; text-shadow: 0 2px 12px rgba(0, 0, 0, .7); pointer-events: none; }
.vo-count[hidden] { display: none; }
.vo-track { position: relative; flex: none; height: 6px; border-radius: 999px; background: #fbf4ea33; }
.vo-fill { position: absolute; inset: 0; border-radius: 999px; background: #fbf4ea; transform: scaleX(0); transform-origin: left; }
/* the strip (vo-recorder.js V8): a fat touch area round the bar, the pieces he has in yellow, where the reel stands as a cream mark */
.vo-strip { position: relative; flex: none; padding: 12px 0; touch-action: none; cursor: pointer; }
.vo-segs { position: absolute; inset: 0; }
.vo-seg { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: #f7c429aa; }
.vo-head { position: absolute; top: -7px; width: 4px; height: 20px; margin-left: -2px; border-radius: 2px; background: #fbf4ea; }
/* his captions (voiceover.js V9b): three looks drawn as themselves, one box a line */
dialog.vo-cap { overflow-y: auto; }
.vo-cap h2 { margin: 0; color: #fbf4ea; }
.vo-looks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
button.vo-look { min-height: 72px; margin: 0; border: 2px solid #fbf4ea33; border-radius: 16px; background: #2a2a2a; box-shadow: none; }
button.vo-look[aria-pressed="true"] { border-color: #f7c429; }
.vo-look.bold span { color: #ffffff; font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000; }
.vo-look.clean span { padding: 2px 8px; border-radius: 6px; background: #111111; color: #ffffff; font-weight: 700; }
.vo-look.off span { color: #bdb6ab; font-weight: 700; }
.vo-lines { display: grid; gap: 6px; }
.vo-line { display: flex; align-items: center; gap: 10px; }
.vo-at { flex: none; min-width: 36px; color: #bdb6ab; font-size: .85rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.vo-line input { flex: 1; min-width: 0; margin: 0; }
/* Type it and Write my lines (web/vo-ai.js V15, V16): the Captions sheet's look, the reel small over the boxes */
.vo-ai .vo-stage { flex: none; height: 30vh; }
.vo-ai .vo-lines .snd-say { flex: none; font-size: 1rem; }
.vo-ai .small { margin: 0; color: #bdb6ab; text-align: center; }
.vo-ai .vo-look span { color: #fbf4ea; font-weight: 700; }
/* the mic that hears him (voiceover.js V12): one small line under the bars */
.vo-mic { margin: 0; color: #bdb6ab; font-size: .85rem; font-weight: 700; text-align: center; }
/* Pick a sound (web/pick-sound.js; Grady, 2026-10-09 22:30): the same dark screen, one row a song, the one picked outlined in yellow.
   A row (.pick-item): the song to tap on the left, its plays and Listen on the right, TikTok's own player under them when open
   (Grady, 2026-10-10: "a button where I can play the audio ... how many views it has"); nothing of ours lies over TikTok's frame. */
dialog.pick { overflow-y: auto; }
.pick h2 { margin: 0; color: #fbf4ea; }
/* the colours: the dark sheet's cream on black; on the page (the step before the first preview) the theme's own ink on its cards, since
   cream on the cream page could not be read in light mode (found 10-10) */
.pick-list { --pk: #fbf4ea; --pk-dim: #bdb6ab; --pk-line: #fbf4ea55; --pk-on: #111111; display: grid; gap: 8px; padding-bottom: 12px; }
.pick-page .pick-list { --pk: var(--ink); --pk-dim: var(--muted); --pk-line: var(--line-strong); --pk-on: var(--bg); }
.pick-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border: 1.5px solid var(--pk-line); border-radius: 16px; color: var(--pk); }
.pick-page .pick-item { background: var(--surface); }
.pick-item:has(> .pick-row[aria-pressed="true"]) { border-color: var(--pk); box-shadow: 0 0 0 1.5px var(--pk); }   /* picked = the row's own ink, never the yellow (2026-11-13) */
/* a row's picture (Grady, 2026-10-11: "a little thumbnail for each audio like on tiktok"): a 52 px square that is always there, a
   music note on it; TikTok's cover of the row's video (covers.js .tile-cover) fades in over the note once it has loaded, so no row
   moves as pictures arrive and one with no picture, or one that fails, is the note */
.pick-thumb { position: relative; flex: none; display: grid; place-items: center; width: 52px; height: 52px; overflow: hidden; border-radius: 10px;
  background: color-mix(in srgb, var(--pk) 14%, transparent); color: var(--pk-dim); }
.pick-note svg { display: block; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pick-thumb .tile-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; transition: opacity var(--t-fade) var(--ease-out); }
.pick-thumb.has-cover .tile-cover { opacity: 1; }
.pick-words { display: grid; justify-items: start; gap: 2px; min-width: 0; }
button.pick-row { display: grid; justify-content: stretch; justify-items: start; gap: 2px; min-width: 0; margin: 0; padding: 12px 6px 12px 14px; text-align: left; border: 0; border-radius: 16px; background: none; box-shadow: none; color: inherit; }
button.pick-row { grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; }   /* the picture, then the words */
.pick-side { display: grid; justify-items: end; gap: 6px; padding: 10px 12px 10px 0; }
.pick-plays { font-size: 1rem; font-weight: 700; white-space: nowrap; }
button.pick-listen { min-height: 44px; margin: 0; padding: 0 16px; border: 1.5px solid var(--pk); border-radius: 999px; background: none; box-shadow: none; color: var(--pk); font-size: .95rem; font-weight: 700; }
button.pick-listen[aria-expanded="true"] { background: var(--pk); color: var(--pk-on); }
.pick-player { grid-column: 1 / -1; display: grid; justify-items: center; gap: 6px; padding: 0 12px 12px; }
.pick-player[hidden] { display: none; }
.pick-player .player { width: min(100%, 180px); border-radius: 14px; }
/* the line waits half a second: a pause the re-asked play clears at once never flashes it (opacity only) */
.pick-hint { margin: 0; font-weight: 700; animation: pick-hint-in .01s .5s both; }
@keyframes pick-hint-in { from { opacity: 0; } to { opacity: 1; } }
.pick-title { font-size: 1.1rem; font-weight: 700; }
.pick-sub { color: var(--pk-dim); font-size: .9rem; font-weight: 700; }
.pick-tag { justify-self: start; margin-top: 4px; padding: 2px 10px; border-radius: 999px; background: #f8f6f1; color: #0a0a0a; font-size: .8rem; font-weight: 700; }
.pick-now:empty { display: none; }
.pick-page { display: grid; gap: 12px; padding-bottom: 12px; }
.pick-page .pick-go, .pick .pick-go { margin: 0; }
/* the one button stays in reach over a long list: the template's song is chosen at the top, so one tap goes on (Grady, 23:10) */
.pick-page .pick-go, .pick .pick-go { position: sticky; bottom: calc(12px + var(--tabs, 0px) + env(safe-area-inset-bottom)); z-index: 2; }
.pick .pick-go { bottom: 0; }
.snd > .sheet-wrap { max-width: none; }
.snd .sheet { color: #111111; }
/* the first step when this phone already saved the video (add-sound.js SAVED_STEP), animated once (Aiden, 2026-10-14: "a green check mark
   that kindve quickly fills in then does a little hop like a verrification check mark"): the ring fills green from its centre, the
   tick draws itself left to right, then the whole badge hops once. Reduced motion: the finished badge, still. */
.snd-act:has(.snd-done) { flex: 1 1 auto; align-content: center; }   /* it takes the picture's room, so Back and Next stay at the foot */
.snd-done { position: relative; display: grid; place-items: center; width: 132px; height: 132px; margin: 18px auto; border-radius: 50%;
  box-shadow: inset 0 0 0 5px #3ccf7a; color: #0d2a18; animation: snd-hop 420ms cubic-bezier(.3, 1.6, .5, 1) 760ms both; }
.snd-done::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #3ccf7a;
  animation: snd-fill 340ms var(--ease-out, ease-out) 80ms both; }
.snd-done .ck { position: relative; width: 60%; height: 60%; }
.snd-done .ck-draw::after { background: #3ccf7a; animation-delay: 420ms; }   /* motion.css's own wipe draws the tick, after the fill */
@keyframes snd-fill { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes snd-hop { 0% { transform: translateY(0) scale(1); } 35% { transform: translateY(-18px) scale(1.06); }
  70% { transform: translateY(0) scale(.97, 1.03); } 100% { transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .snd-done, .snd-done::before { animation: none; } }
/* Save again (the already-saved step only): small, under the guy's bubble, so it never competes with Next */
button.snd-again { align-self: flex-end; width: auto; max-width: none; min-height: 38px; margin: 0; padding: 6px 16px; border-radius: 999px;
  background: transparent; color: #fbf4ea; border: 1.5px solid #fbf4ea55; box-shadow: none; font-size: .95rem; font-weight: 700; }
/* Open the song, when the song is lined up as it opens (add-sound.js STILL): a green tick and "Audio is already set." */
.snd-nums .snd-still { justify-content: flex-start; gap: 12px; border-color: #3ccf7a; background: #3ccf7a1f; }
.snd-nums .snd-still .ck { flex: none; width: 30px; height: 30px; color: #3ccf7a; }
.snd-nums .snd-still dd { color: #fbf4ea; font-size: 1.15rem; font-weight: 700; letter-spacing: 0; white-space: normal; line-height: 1.2; }
/* Open the song (Aiden, 2026-10-14): our button glows on a loop, so it is tapped first. Reduced motion: the glow stays, still. */
.snd-glow { position: relative; }
.snd-glow::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 3px #f7c42966, 0 0 26px 8px #f7c429aa; opacity: .25; animation: snd-glow 1.6s ease-in-out infinite; }
@keyframes snd-glow { 0%, 100% { opacity: .25; transform: scale(1); } 50% { opacity: 1; transform: scale(1.03); } }
/* The numbered steps on a picture (add-sound.js stepMarks; Grady, 2026-10-23: "a snpz gradient color large arrow with a numbered process
   with each screenshot"): a layer laid exactly over the picture as drawn, everything in % of it, so a small picture gets small marks.
   The arrow's tip on the button (rotated about it, --r), yellow to cyan; the step's number and words in a pill at the far end. */
.snd-marks { position: absolute; inset: 0; pointer-events: none; container-type: inline-size; }
.gd-arrow { position: absolute; width: 13%; aspect-ratio: 5 / 8; transform-origin: 50% 100%;
  transform: translate(-50%, -100%) rotate(var(--r, 0deg)) translateY(-5%); filter: drop-shadow(0 0 1.5px #111111) drop-shadow(0 2px 5px rgba(0, 0, 0, .55)); }
.gd-arrow > span { display: block; width: 100%; height: 100%; background: var(--yellow);
  clip-path: polygon(30% 0, 70% 0, 70% 56%, 100% 56%, 50% 100%, 0 56%, 30% 56%); animation: gd-bob 1.1s ease-in-out infinite; }
@keyframes gd-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9%); } }
.gd-step { position: absolute; left: 50%; top: 3%; transform: translateX(-50%); display: flex; align-items: center; gap: 2.4cqw; max-width: 94%;
  padding: 1.6cqw 4.5cqw 1.6cqw 1.6cqw; border-radius: 999px; background: rgba(17, 17, 17, .9); color: #fbf4ea; font-size: 6.4cqw;
  font-weight: 700; line-height: 1.1; white-space: nowrap; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.gd-step.at { transform: translate(-50%, -50%); }
.gd-step.at.r { transform: translate(calc(-100% + 9cqw), -50%); }   /* a button on the right: the words end just past the tail */
.gd-step.at.l { transform: translate(-9cqw, -50%); }
.gd-step b { display: grid; place-items: center; flex: none; width: 10.5cqw; height: 10.5cqw; border-radius: 50%; color: #111111; font-size: 6.8cqw;
  font-weight: 700; background: var(--yellow); }
@media (prefers-reduced-motion: reduce) { .snd-glow::after, .gd-arrow > span { animation: none; } .snd-glow::after { opacity: .8; } }
.qp .gd-step { font-weight: 600; box-shadow: none; }
/* the last step's caption box (add-sound.js capBox): copy it here, paste it in the app's caption on the next screen (Aiden, 2026-10-14) */
.snd-cap { position: relative; }
.snd-cap-text { width: 100%; min-height: 96px; margin: 0; padding: 12px 14px 50px; border-radius: 16px; border: 1.5px solid #fbf4ea55;
  background: #1c1d20; color: #fbf4ea; font: inherit; font-size: 1rem; resize: none; }
button.snd-cap-copy { position: absolute; right: 10px; bottom: 10px; width: auto; min-height: 36px; margin: 0; padding: 6px 16px; gap: 6px;
  border-radius: 999px; background: #f8f6f1; color: #0a0a0a; border: 0; box-shadow: none; font-size: .95rem; font-weight: 700; }
button.snd-cap-copy .ck { width: 16px; height: 16px; }

/* quick-post.js: the one card before the hop (Aiden, 2026-10-19): the slide second big, every step on one page (Grady, 2026-10-23: "all
   the screenshots should ideally be on one page"; since 2026-11-21 one line a step, the whole post on one screen), the caption */
dialog.snd.qp { overflow: hidden; gap: 8px; }   /* ONE SCREEN, no scrolling (Grady, 2026-11-21): the steps are lines, never crops */
.qp > * { flex: none; }
/* the Format Finder look on this card (Grady, 2026-11-12: "This entire page looks like AI slop"; research/23): no mascot, no speech
   bubble, no glow, the song or the second one plain line, the words at 400 */
.qp .snd-guy { display: none; }
.qp .snd-top { align-items: stretch; }
.qp .snd-top:not(:has(.snd-say:not([hidden]))) { display: none; }
.qp .snd-say { padding: 0; border-radius: 0; background: none; color: #fbf4ea; font-size: 1rem; font-weight: 400; text-align: center; }
.qp .qp-num { text-align: center; font-size: .95rem; font-weight: 400; color: #bdb6ab; margin: 8px 0 2px; }
.qp .qp-num b { font-weight: 600; color: #fbf4ea; }
.qp .qp-more { font-weight: 400; }
.qp .snd-act .button.off { opacity: .4; }   /* Open TikTok / Use audio before the video is saved: there, not yet live */
.qp .snd-act { display: grid; gap: 10px; }
.qp-foot { display: grid; gap: 8px; position: sticky; bottom: calc(-12px - env(safe-area-inset-bottom)); z-index: 2;
  padding: 10px 0 calc(12px + env(safe-area-inset-bottom)); background: #111111; }
/* the steps (add-sound.js stepCrop; Grady, 2026-10-23: one column, "be descriptive"): each a full-width row, its number and plain
   instruction, then a wide crop of the real screen with the big arrow on the button, then the taps that close the screen. The slide is
   its own block: IMPORTANT, its second big in yellow. */
/* the steps share what is left of the screen, each row a small crop round its button and its words (2026-11-21) */
.qp .qp-list { list-style: none; margin: 4px 0 0; padding: 0; flex: 1 1 auto; min-height: 0; display: grid; grid-auto-rows: minmax(0, 1fr); gap: 6px; }
.qs { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; min-width: 0; min-height: 0; }
.qs-pic { position: relative; height: 100%; max-height: 88px; min-height: 48px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: #000; border: 1.5px solid #fbf4ea33; }
.qs-pic .qs-img { position: absolute; max-width: none; height: auto; }
.qs-pic .snd-marks { inset: 0; }
.qs-pic .gd-arrow { width: 26%; }
.qs-key .qs-key-tag { grid-column: 1 / -1; }
.qs-cap { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: .95rem; font-weight: 700; line-height: 1.2; }
.qs-cap > b { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; color: #111111; font-size: .95rem;
  font-weight: 700; background: #f8f6f1; }
.qs-cap > span { padding-top: 3px; }
.qs-then { font-style: normal; font-weight: 500; color: #bdb6ab; }
.qs-crop { position: relative; aspect-ratio: 10 / 6; overflow: hidden; border-radius: 14px; background: #000; border: 1.5px solid #fbf4ea33; }
.qs-img { position: absolute; max-width: none; height: auto; }
.qs-crop .snd-marks { inset: 0; }
.qs-crop .gd-arrow { width: 11%; }
.qs-key { padding: 6px 8px; gap: 4px 10px; border-radius: 14px; border: 2px solid var(--yellow, #f7c429); background: #f7c42914; }
.qs-key-tag { justify-self: start; margin: 0; padding: 3px 10px; border-radius: 999px; background: var(--yellow, #f7c429); color: #111111;
  font-size: .85rem; font-weight: 700; letter-spacing: .08em; }
.qs-sec { color: var(--yellow, #f7c429); font-size: 1.5rem; font-weight: 700; line-height: 1; white-space: nowrap; }
/* more steps below (quick-post.js): a cue over Open until he scrolls */
.qp-more { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; color: #fbf4ea; font-size: .95rem; font-weight: 700;
  transition: opacity 300ms var(--ease-out); }
.qp-chev { width: 10px; height: 10px; margin-top: -4px; border: solid currentColor; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.qp-more.gone { opacity: 0; pointer-events: none; }
.qp-more[hidden] { display: none; }

/* Grady's how-to videos (web/tutorials.js, 2026-10-23): a small "Watch how" under the quick card's Open, "How to post on ..." under the
   Post page's buttons, "How to film" on the camera's first clip; each only once its file is on the server. The player: his video, dark,
   full screen, its own controls. */
.tut-row, .tut-links, .cap-how { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tut-row:not(:has(button:not([hidden]))), .tut-links:not(:has(button:not([hidden]))), .cap-how:not(:has(button:not([hidden]))) { display: none; }
.cap-how { margin-bottom: 6px; }
button.tut-how { width: auto; min-height: 44px; margin: 0; padding: 6px 16px; border: 1.5px solid #fbf4ea55; border-radius: 999px; background: none;
  box-shadow: none; color: inherit; font-size: .95rem; font-weight: 700; }
.tut-links { margin-top: 4px; }
.tut-links button.tut-how { border-color: currentColor; opacity: .85; }
dialog.tut { justify-content: center; }
.tut-video { flex: 1 1 auto; min-height: 0; width: 100%; max-height: 100%; object-fit: contain; background: #000; border-radius: 16px; }
