/* Watch: shared styles. Sandstone tokens (docs/brand/palette_tokens.py). No em dashes. */
:root{
  color-scheme:light only;
  --paper:#F4EEDE;--card:#FFFDF6;--sunk:#ECE3CF;--ink:#221D16;--muted:#6B6152;
  --clay:#AC3E1D;--clay-fill:#BF4A26;--line:#D9CDB3;
  --serif:"Fraunces",Charter,Georgia,serif;
  --sans:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 var(--sans)}
.wrap{width:70%;margin-inline:auto;padding-block:32px 64px}
@media (max-width:1000px){.wrap{width:100%;padding-inline:16px}}
/* the video pages run the full width of the window, the panel beside the video like Loom's
   (Rachel, 2026-11-25: "make it 100% vw"). Her exception to the 70% column, for these pages only. */
.wrap.full{width:100%;padding-inline:clamp(16px,2.5vw,40px)}
h1,h2,h3{font-family:var(--serif);font-weight:600;line-height:1.15;text-wrap:balance;margin:0 0 8px}
h1{font-size:clamp(1.6rem,3vw,2.4rem)}
h2{font-size:1.3rem;margin-top:40px}
p{text-wrap:pretty;margin:0 0 12px}
.muted,.fine{color:var(--muted)}
.fine{font-size:.85rem;text-wrap:balance}
a{color:var(--clay)}
button,.button{font:inherit;font-weight:600;color:var(--card);background:var(--clay);border:0;
  border-radius:6px;padding:9px 16px;cursor:pointer}
a.button{display:inline-block;text-decoration:none}
button.quiet{color:var(--ink);background:var(--sunk)}
button:disabled{opacity:.5;cursor:default}
input,textarea,select{font:inherit;color:var(--ink);background:var(--card);
  border:1px solid var(--line);border-radius:6px;padding:9px 12px}
textarea{width:100%;min-height:72px;resize:vertical}
.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.row .grow{flex:1;min-width:200px}
.top{display:flex;justify-content:space-between;align-items:baseline;gap:16px;flex-wrap:wrap;margin-bottom:24px}
.card{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:20px;margin-top:16px}
.error{color:var(--clay);font-weight:600}
table{width:100%;border-collapse:collapse;margin-top:12px}
th,td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top}
th{font-size:.8rem;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-weight:600}
.scroll{overflow-x:auto}

/* the player */
/* the video and its controls are one block, sized so the timeline sits above the fold on any
   screen (Rachel, 2026-11-16). watch.js measures and sets --fitw; the calc is the fallback. */
.player{width:max(min(100%,320px),min(100%,var(--fitw,calc((100svh - 300px) * 16 / 9))));margin-inline:auto}
.stage{position:relative;background:#000;border-radius:10px;overflow:hidden;aspect-ratio:16/9}
.stage video{width:100%;height:100%;display:block;object-fit:contain;background:#000}
.start{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;
  pointer-events:none}
.start[hidden]{display:none}
.start>*{pointer-events:auto}
/* a clay circle with a soft halo ring round it (Rachel, 2026-11-25: like Loom's) */
.bigplay{flex:none;width:clamp(64px,13%,112px);aspect-ratio:1;height:auto;padding:0;border-radius:50%;background:var(--clay-fill);
  display:flex;align-items:center;justify-content:center;cursor:pointer;line-height:0;
  box-shadow:0 0 0 clamp(6px,1.1vw,10px) rgba(236,160,132,.42),0 10px 30px -6px rgba(0,0,0,.45);
  transition:transform .15s ease,background .15s ease,box-shadow .15s ease}
.bigplay svg{width:44%;height:44%;fill:#fff;display:block}
.bigplay:hover{background:var(--clay);transform:scale(1.05);
  box-shadow:0 0 0 clamp(8px,1.4vw,13px) rgba(236,160,132,.5),0 12px 34px -6px rgba(0,0,0,.5)}
.bigplay:focus-visible{outline:3px solid #fff;outline-offset:clamp(10px,1.6vw,15px)}
/* the speed and how long it takes at that speed, one dark pill under the button */
.startinfo{display:flex;flex-direction:column;align-items:stretch;border-radius:8px;overflow:hidden;
  background:rgba(34,29,22,.86);color:#fff;box-shadow:0 6px 16px -8px rgba(0,0,0,.6);text-align:center;min-width:7em}
.startspeed{background:none;color:#fff;border:0;border-radius:0;padding:5px 12px 4px;font-size:.78rem;font-weight:700;
  font-variant-numeric:tabular-nums;border-bottom:1px solid rgba(255,255,255,.14)}
.startspeed:hover{background:rgba(255,255,255,.1)}
/* a small speedometer before the speed, as on Loom's start screen */
.startspeed{display:flex;align-items:center;justify-content:center;gap:5px}
.startspeed::before{content:"";flex:none;width:1.05em;height:1.05em;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M3.5 17.5a9 9 0 1 1 17 0'/%3E%3Cpath d='M12 15l4.5-5'/%3E%3Ccircle cx='12' cy='15' r='1.2' fill='%23000'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M3.5 17.5a9 9 0 1 1 17 0'/%3E%3Cpath d='M12 15l4.5-5'/%3E%3Ccircle cx='12' cy='15' r='1.2' fill='%23000'/%3E%3C/svg%3E") center/contain no-repeat}
.startlen{padding:4px 12px 6px;font-weight:600;font-size:.72rem;white-space:nowrap}
/* a short screen (a phone on its side): a compact title so the video keeps the room */
@media (max-height:520px){.wrap{padding-top:8px}.wrap>header h1{font-size:1.2rem;margin-bottom:2px}.wrap>header p{margin-bottom:8px;font-size:.85rem}}
.bar{position:relative;flex:1;min-width:80px;height:14px;background:var(--sunk);border-radius:7px;cursor:pointer}
/* a 14px bar is too thin for a thumb: this invisible band widens what a tap can land on
   without moving the bar, its marks or its ticks (the seek maths reads the bar's own box) */
.bar::before{content:"";position:absolute;left:0;right:0;top:-13px;bottom:-13px}
.bar .fill{position:absolute;inset:0 auto 0 0;width:0;background:var(--clay-fill);border-radius:7px}
.bar .mark{position:absolute;top:-22px;transform:translateX(-50%);font-size:.9rem;line-height:1;cursor:pointer;
  background:none;border:0;padding:0;color:var(--clay)}
.bar .mark.comment{top:-12px;width:8px;height:8px;border-radius:50%;background:var(--ink)}
/* chapter markers the sender added while recording: ticks under the bar, apart from the notes above it */
.bar .tick{position:absolute;top:100%;width:14px;height:14px;margin-top:2px;transform:translateX(-50%);
  background:none;border:0;padding:0;cursor:pointer}
.bar .tick::after{content:"";position:absolute;left:6px;top:0;width:2px;height:9px;border-radius:1px;background:var(--ink)}
.time{font-variant-numeric:tabular-nums;white-space:nowrap}
/* the one button a lead with a demo site gets, under the player */
.demo{margin:24px 0 0}
.demo .button{min-height:44px;display:inline-flex;align-items:center}
/* their demo line beside the demo site button (Studio Demos, 2026-11-16): tap to call on a phone */
.demo{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 20px}
/* Ring your demo line is a real button, the first thing under the video (Rachel, 2026-11-25) */
.demo .ring{display:inline-flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:4px 10px;min-height:52px;
  padding:12px 28px;border-radius:999px;background:var(--card);border:2px solid var(--clay-fill);color:var(--ink);
  font-family:var(--serif);font-weight:600;font-size:clamp(1.1rem,1.8vw,1.3rem);text-decoration:none;
  box-shadow:0 10px 24px -14px rgba(191,74,38,.6);transition:background .15s ease,color .15s ease,transform .15s ease}
.demo .ring span{color:var(--clay);font-variant-numeric:tabular-nums;white-space:nowrap;transition:color .15s ease}
.demo .ring:hover{background:var(--clay-fill);color:#fff;transform:translateY(-2px)}
.demo .ring:hover span{color:#fff}
@media (max-width:520px){.demo .ring{width:100%}}
.player{position:relative}

/* the layout: the title across the top, the video on the left, comments and transcript in a
   panel on the right that stays beside it (Rachel, 2026-11-25: like Loom's) */
.watch-head{margin-bottom:20px}
.watch-head h1{margin-bottom:4px}
.watch-head p{margin:0}
.watch-grid{display:grid;grid-template-columns:minmax(0,1fr) clamp(280px,30%,400px);gap:24px;align-items:start}
.watch-main{min-width:0}
.side{position:sticky;top:16px;display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);
  border-radius:12px;max-height:calc(100svh - 32px - var(--cta-h,0px));min-height:320px;overflow:hidden}
@media (max-width:1100px){.watch-grid{grid-template-columns:minmax(0,1fr)}.side{position:static;max-height:none;min-height:0}}
.tabs{display:flex;gap:22px;padding:0 20px;border-bottom:1px solid var(--line);flex:none}
.tabs button{background:none;color:var(--muted);border:0;border-radius:0;padding:14px 0 11px;border-bottom:3px solid transparent;font-weight:600}
.tabs button[aria-selected="true"]{color:var(--clay);border-bottom-color:var(--clay-fill)}
.tabs button:hover{color:var(--ink)}
.pane{padding:18px 20px 20px;overflow-y:auto;flex:1;min-height:0}
.pane[hidden]{display:none}
.say textarea{min-height:64px;background:#fff}
.say textarea:focus{outline:2px solid var(--clay-fill);outline-offset:0;border-color:transparent}
.say .row{margin-top:10px}
.small{font-size:.88rem}
.count{margin:20px 0 0;font-weight:600}
.count:empty{display:none}
.notes{list-style:none;padding:0;margin:8px 0 0}
.notes li{padding:12px 0;border-bottom:1px solid var(--line)}
.notes li:last-child{border-bottom:0}
.notes .meta{display:flex;align-items:baseline;gap:10px}
.notes .who{font-weight:700}
.notes .jump{background:none;color:var(--clay);padding:0 4px;min-height:40px;font-weight:600;font-variant-numeric:tabular-nums}
.notes .body{margin:0;overflow-wrap:anywhere;text-wrap:pretty}
.notes .reaction-body{font-size:1.3rem;line-height:1}
.empty{color:var(--muted);margin:16px 0 0;text-wrap:balance}
/* the transcript: a paragraph a stretch, its time beside it, the one playing now marked */
.words{list-style:none;margin:0;padding:0}
.words button{display:flex;gap:12px;align-items:baseline;width:100%;padding:10px 8px;background:none;color:var(--ink);
  border:0;border-radius:8px;text-align:left;font-weight:400;line-height:1.55}
.words button:hover{background:var(--sunk)}
.words button.now{background:var(--sunk)}
.words .at{color:var(--clay);font-weight:700;font-variant-numeric:tabular-nums;flex:none;min-width:2.8em}
.words .line{text-wrap:pretty}

/* analytics */
.strip{display:flex;height:12px;border-radius:6px;overflow:hidden;background:var(--sunk);min-width:160px}
.strip i{display:block;height:100%}
.strip .p1{background:#D9A48F}
.strip .p2{background:var(--clay-fill)}
.curve{width:100%;height:140px;display:block;background:var(--card);border:1px solid var(--line);border-radius:10px}
.curve polyline{fill:none;stroke:var(--clay);stroke-width:2;vector-effect:non-scaling-stroke}
.curve rect{fill:var(--clay-fill);opacity:.18}
.legend{display:flex;gap:16px;flex-wrap:wrap;font-size:.85rem;color:var(--muted);margin-top:8px}
.legend b{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:6px;vertical-align:-1px}

/* the foot of the recipient's page: book a demo, then where to follow us (from the AJV watch page) */
.cta-row{display:flex;flex-direction:column;align-items:center;gap:10px;margin:40px 0 8px;text-align:center}
.cta{display:inline-block;background:var(--clay-fill);color:#fff;text-decoration:none;font-family:var(--serif);font-weight:600;
  font-size:clamp(1.25rem,2.2vw,1.6rem);padding:20px 52px;border-radius:999px;box-shadow:0 14px 30px -14px rgba(191,74,38,.75);
  transition:transform .15s ease,box-shadow .15s ease}
.cta:hover{transform:translateY(-2px);box-shadow:0 18px 36px -14px rgba(191,74,38,.85)}
.cta-row p{margin:0;color:var(--muted);font-size:.95rem;text-wrap:balance}
@media (max-width:520px){.cta{width:100%;padding:18px 24px}}
.follow{margin-top:48px;padding-top:26px;border-top:1px solid var(--line);display:flex;flex-direction:column;align-items:center;gap:14px}
.follow p{margin:0;color:var(--muted);font-size:.92rem}
.socials{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.soc{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--card);
  border:1px solid var(--line);color:var(--ink);transition:background .15s ease,color .15s ease,border-color .15s ease,transform .15s ease}
.soc svg{width:21px;height:21px;display:block}
.soc .cut{fill:var(--card);transition:fill .15s ease}
.soc:hover{background:var(--clay-fill);border-color:var(--clay-fill);color:#fff;transform:translateY(-1px)}
.soc:hover .cut{fill:var(--clay-fill)}
/* Book a demo floats at the bottom right the whole way down the page (Rachel, 2026-11-16) */
.cta-row{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));
  z-index:20;margin:0;align-items:flex-end}
.cta-row p{display:none}
.cta-row .cta{width:auto;font-size:clamp(1.05rem,1.6vw,1.25rem);padding:14px 30px;box-shadow:0 10px 28px -8px rgba(34,29,22,.45)}
/* the demo line, smaller, stacked over Book a demo so it floats the whole way down too */
/* two lines, one width: RING YOUR LINE over the number; watch.js sets the label's letter spacing to match */
.ring-mini{display:inline-flex;flex-direction:column;align-items:center;gap:3px;min-height:44px;padding:9px 22px;
  border-radius:999px;background:var(--card);border:2px solid var(--clay-fill);color:var(--ink);text-decoration:none;
  box-shadow:0 10px 28px -8px rgba(34,29,22,.35);transition:background .15s ease,color .15s ease}
.ring-mini span{display:block;white-space:nowrap;line-height:1.1}
.ring-mini .rm-label{font-size:.6rem;font-weight:700;text-transform:uppercase;letter-spacing:.14em}
.ring-mini .rm-num{color:var(--clay);font-weight:700;font-size:1.05rem;font-variant-numeric:tabular-nums}
.ring-mini:hover{background:var(--clay-fill);color:#fff}
.ring-mini:hover .rm-num{color:#fff}
/* the floating pair is one size: same width and height, whichever is bigger (Rachel, 2026-11-25) */
.cta-row:has(.ring-mini){display:grid;grid-auto-rows:1fr;justify-items:stretch;align-items:stretch}
.cta-row:has(.ring-mini)>a{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
  box-sizing:border-box;width:100%}
.cta-row .ring-mini .rm-num{font-size:clamp(1.05rem,1.6vw,1.25rem)}
body:has(.cta-row) .wrap{padding-bottom:120px}
body:has(.ring-mini) .wrap{padding-bottom:180px}
.cta:focus-visible,.soc:focus-visible,.ring:focus-visible,.ring-mini:focus-visible{outline:2px solid var(--clay);outline-offset:3px}
@media (prefers-reduced-motion:reduce){.cta,.soc,.ring,.ring-mini{transition:none}.cta:hover,.soc:hover,.ring:hover{transform:none}}
/* the summary and chapters under the video: the time sits beside its title, one row each */
.about{margin-top:32px}
.about h2{margin-top:0}
.summary{font-size:1.05rem;line-height:1.55;margin:0;text-wrap:pretty}
.chapters{list-style:none;margin:12px 0 0;padding:0;border-top:1px solid var(--line)}
.chapters button{display:flex;align-items:center;gap:14px;width:100%;min-height:44px;padding:8px 4px;
  background:transparent;color:var(--ink);border:0;border-bottom:1px solid var(--line);border-radius:0;text-align:left;font-weight:500}
.chapters button:hover,.chapters button.now{background:var(--sunk)}
.chapters .at{color:var(--clay);font-weight:700;font-variant-numeric:tabular-nums;min-width:3.2em}
.chapters .name{text-wrap:balance}
.chapters button.now .name{font-weight:700}
/* the team's Client view: one thin strip saying it is not the link to send */
.previewbar{margin:0;padding:8px 16px;background:var(--ink);color:var(--card);font-size:.88rem;font-weight:600;text-align:center;text-wrap:balance}
.previewbar a{color:#fff}

/* finish (Rachel, 2026-11-25: "sleeker and more professional"): a shadow lifting the video off
   the page, a soft panel, and a response on every control under a pointer */
.stage{box-shadow:0 30px 60px -28px rgba(34,29,22,.6),0 12px 24px -14px rgba(34,29,22,.35)}
.watch-head h1{letter-spacing:-.012em}
.watch-head p{font-size:.95rem}
button,.button{transition:background .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease,border-color .18s ease}
button:not(:disabled):active,.button:active{transform:translateY(0) scale(.97)}
/* the clay buttons: a shade deeper and a lift */
:where(button:not(.quiet,.ctl,.bigplay,.startspeed,.mark,.tick,.jump)):not(:disabled):hover,a.button:hover{
  background:#962F12;box-shadow:0 8px 18px -10px rgba(172,62,29,.8);transform:translateY(-1px)}
.tabs button:not(:disabled):hover,.words button:not(:disabled):hover,.chapters button:not(:disabled):hover{background:none;box-shadow:none;transform:none}
.words button:not(:disabled):hover,.chapters button:not(:disabled):hover{background:var(--sunk)}
/* the timeline: slimmer, a handle at the playhead that shows under a pointer */
.bar{height:10px;border-radius:5px;transition:transform .15s ease}
.bar .fill{border-radius:5px;background:linear-gradient(90deg,#D2643E,var(--clay-fill))}
.bar .fill::after{content:"";position:absolute;right:-8px;top:50%;width:16px;height:16px;margin-top:-8px;border-radius:50%;
  background:#fff;border:3px solid var(--clay-fill);box-shadow:0 2px 6px rgba(34,29,22,.35);transform:scale(0);transition:transform .15s ease}
.bar:hover .fill::after{transform:scale(1)}
.bar .mark{transition:transform .15s ease}
.bar .mark:hover{transform:translateX(-50%) scale(1.3)}
/* the side panel: softer edges and a light lift */
.side{border-radius:16px;border-color:rgba(217,205,179,.8);box-shadow:0 20px 44px -30px rgba(34,29,22,.45),0 2px 8px -4px rgba(34,29,22,.1)}
.tabs button{transition:color .18s ease,border-color .18s ease}
.say textarea{border-radius:10px;transition:border-color .18s ease,box-shadow .18s ease}
.say textarea:focus{outline:0;border-color:var(--clay-fill);box-shadow:0 0 0 4px rgba(191,74,38,.14)}
.notes li{transition:background .15s ease;border-radius:8px}
.notes .jump{border-radius:6px}
.notes .jump:not(:disabled):hover{background:rgba(191,74,38,.1);box-shadow:none;transform:none}
@media (prefers-reduced-motion:reduce){button,.button,.bar .fill::after{transition:none}
  button:hover{transform:none !important}}

/* the controls sit IN the video, laid out like Loom (Rachel, 2026-11-25): a shade rising from the
   bottom edge, the timeline across the full width, then white icon buttons with the time in the
   middle. Hidden on the start screen; while it plays they fade after a still moment under a pointer. */
.controls{position:absolute;left:0;right:0;bottom:0;z-index:2;display:flex;flex-direction:column;gap:4px;
  padding:30px 10px 4px;color:#fff;background:linear-gradient(to top,rgba(0,0,0,.72),rgba(0,0,0,.38) 55%,transparent);
  transition:opacity .25s ease}
.start:not([hidden])~.controls{opacity:0;visibility:hidden}
@media (hover:hover){.player.idle .controls:not(:has(:focus-visible,.cc-pop:not([hidden]))){opacity:0;pointer-events:none}.player.idle .stage:not(:has(.cc-pop:not([hidden]))){cursor:none}}
.ctl-row{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
.ctl-side{display:flex;align-items:center;gap:2px}
.ctl-side.end{justify-content:flex-end}
.controls .time{font-size:.92rem;font-weight:600;color:rgba(255,255,255,.92);padding-inline:10px}
.controls .ctl{height:40px;min-width:40px;padding:0 8px;display:inline-flex;align-items:center;justify-content:center;
  background:none;color:#fff;border:0;border-radius:8px;box-shadow:none;transition:background .15s ease,opacity .15s ease}
.controls .ctl:not(:disabled):hover{background:rgba(255,255,255,.16);transform:none;box-shadow:none}
.controls .ctl:focus-visible{outline:2px solid #fff;outline-offset:-2px}
.controls .ctl svg{width:26px;height:26px;fill:currentColor;display:block}
.controls .ctl svg .ln{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.controls .skip svg text{font:800 8px Inter,system-ui,sans-serif;fill:currentColor}
#play .i-pause,#play.on .i-play{display:none}
#play.on .i-pause{display:block}
.controls .cc{font:800 .7rem/1 Inter,system-ui,sans-serif;letter-spacing:.02em}
.controls .cc{box-shadow:inset 0 0 0 2px #fff;height:22px;min-width:30px;padding:0 5px;border-radius:5px;margin-inline:6px}
.controls .cc:not(:disabled):hover{box-shadow:inset 0 0 0 2px #fff}
.controls .cc[aria-pressed="false"]{opacity:.55}
.controls .cc.off{opacity:.55}
.controls .cc[aria-expanded="true"]{background:rgba(255,255,255,.16)}
/* the caption language menu (2026-11-27): a plain card above the controls, one tall row a language */
.cc-wrap{position:relative;display:inline-flex}
/* --cc-lift is measured: the card's bottom sits about 10px over the timeline, never on it */
.cc-pop{position:absolute;right:0;bottom:calc(100% + var(--cc-lift,10px));z-index:30}
.cc-pop[hidden]{display:none}
.cc-head{display:none}
.cc-menu{min-width:190px;max-height:var(--cc-max,320px);overflow-y:auto;overscroll-behavior:contain;
  background:#fff;color:#1d1d1f;border-radius:12px;padding:6px;
  box-shadow:0 10px 30px rgba(0,0,0,.22),0 0 0 1px rgba(0,0,0,.06)}
.cc-menu button{all:unset;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;
  gap:16px;width:100%;min-height:44px;padding:0 12px;border-radius:8px;cursor:pointer;
  font:400 1rem/1.2 Inter,system-ui,sans-serif;text-align:start;white-space:nowrap}
.cc-menu button:hover,.cc-menu button:focus-visible{background:#f0f0f2}
.cc-menu button:not(:disabled):hover,.cc-menu button:not(:disabled):active{box-shadow:none;transform:none}
.cc-menu button[aria-checked="true"]{font-weight:600}
.cc-menu button[aria-checked="true"]::after{content:"";flex:none;width:6px;height:11px;margin-inline-end:3px;
  border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg) translateY(-2px)}
/* a wide player with more languages than one column has room for: two columns, read down the
   first and then the second, Off and the hairline across both (2026-11-28) */
.cc-menu.two .cc-langs{display:grid;grid-template-columns:repeat(2,minmax(160px,auto));
  grid-template-rows:repeat(var(--cc-rows,5),auto);grid-auto-flow:column;column-gap:4px}
.cc-menu hr{border:0;border-top:1px solid #e5e5ea;margin:4px 6px}
.cc-menu [lang="ur"],#words[lang="ur"]{font-family:"Noto Nastaliq Urdu",serif;line-height:1.9}
video::cue(:lang(ur)){font-family:"Noto Nastaliq Urdu",serif}
/* a phone or a short window: the languages rise as a sheet from the bottom of the screen
   (2026-11-27), every row in view at once. Never in full screen, where the card has the room. */
.cc-pop.sheet{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:1000;max-height:80vh;overflow-y:auto;
  overscroll-behavior:contain;background:#fff;color:#1d1d1f;border-radius:16px 16px 0 0;
  padding:6px 8px calc(env(safe-area-inset-bottom) + 8px);box-shadow:0 -12px 40px rgba(0,0,0,.25);
  animation:cc-up .18s ease-out}
.cc-pop.sheet .cc-head{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:0 4px 0 12px;
  border-bottom:1px solid #e5e5ea;margin-bottom:4px}
.cc-pop.sheet .cc-head span{font:600 .9rem/1.2 Inter,system-ui,sans-serif;color:#6e6e73}
.cc-done{all:unset;box-sizing:border-box;min-height:44px;padding:0 12px;border-radius:8px;cursor:pointer;
  font:600 1rem/44px Inter,system-ui,sans-serif;color:var(--clay,#AC3E1D)}
.cc-done:hover,.cc-done:focus-visible{background:#f0f0f2}
.cc-done:not(:disabled):hover,.cc-done:not(:disabled):active{box-shadow:none;transform:none}
.cc-pop.sheet .cc-menu{max-height:none;overflow:visible;box-shadow:none;border-radius:0;padding:0;min-width:0}
.cc-pop.sheet .cc-menu button{min-height:52px;font-size:1.05rem}
.cc-backdrop{position:fixed;inset:0;z-index:999;background:rgba(0,0,0,.35);animation:cc-fade .18s ease-out}
.cc-backdrop[hidden]{display:none}
@keyframes cc-up{from{transform:translateY(100%)}to{transform:none}}
@keyframes cc-fade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.cc-pop.sheet,.cc-backdrop{animation:none}}
#words[dir="rtl"] button{text-align:right}
#words[dir="rtl"] .line{text-align:right}
.controls select.ctl{appearance:none;-webkit-appearance:none;font:700 .95rem Inter,system-ui,sans-serif;cursor:pointer;text-align:center}
.controls select.ctl option{color:var(--ink);background:#fff}
/* the timeline: a thin line across the video that thickens under a pointer */
.controls .bar{flex:none;min-width:0;height:4px;border-radius:2px;background:rgba(255,255,255,.3);margin:0 6px;transition:height .15s ease}
.controls .bar:hover{height:6px}
.controls .bar .fill{border-radius:2px}
.controls .bar .mark.comment{background:#fff;box-shadow:0 0 0 2px rgba(0,0,0,.35)}
.controls .bar .tick::after{background:#fff}
@media (max-width:520px){.controls{padding:24px 4px 2px}.controls .ctl{min-width:36px;padding:0 5px}
  .controls .time{font-size:.8rem;padding-inline:4px}#back10,#fwd10{display:none}}
