/* ==========================================================================
   ui.css: the live Tino UI, as HTML. Owner: UI-KIT. Spec: design/foundation/UI-KIT.md
   Pixel references: design/boards/TinoOne*.dc.html, TinoCut*.dc.html, STUDIO.md.

   Everything inside a window is authored at the 1600 x 1000 board size and
   scaled by CSS to whatever width the frame gets, so it stays crisp (text is
   re-rasterised at the final size, never a bitmap) from 1440 down to phones.

     <div class="ui" data-phone="flow">          frame: sizes, clips, shadows
       <div class="ui-stage tw"> ... </div>       stage: 1600 x 1000, scaled
     </div>

   Needs tokens.css (and tino.css for the 2 px change line). Behaviour: js/ui.js.
   ========================================================================== */

/* Brand-kit type samples (.uc-type, brand-kits.css). The same file the films use
   (films/fonts, tools/import-films.mjs: Latin plus the site's set, variable wght kept;
   OFL beside it), so a page with a Casa Lume film fetches the face once.
   The browser fetches it only when a sample is rendered; it never blocks paint. */
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../films/fonts/HankenGrotesk/HankenGrotesk.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  /* Light window (Home, Library). Numbers from TinoOneThread / TinoOneHome. */
  --tw-side:     #F4F4F6;
  --tw-pane:     #FAFAFB;
  --tw-sel:      #E8E8EC;
  --tw-line:     #E3E3E8;
  --tw-outline:  #D4D4DA;
  --tw-card:     0 0 0 1px #E3E3E8, 0 1px 2px rgba(17, 17, 20, 0.05);
  /* Dark studio. STUDIO.md section 2. */
  --ts-well:     #0E0E10;
  --ts-ground:   #141416;
  --ts-panel:    #1E1E21;
  --ts-raised:   #2A2A2E;
  --ts-plate:    rgba(255, 255, 255, 0.14);
  --ts-glass:    rgba(255, 255, 255, 0.075);
  --ts-glass-e:  inset 0 0 0 0.5px rgba(255, 255, 255, 0.10), inset 0 0.5px 0 rgba(255, 255, 255, 0.10);
  --ts-field:    rgba(255, 255, 255, 0.05);
  --ts-line:     rgba(255, 255, 255, 0.08);
  --ts-line-2:   rgba(255, 255, 255, 0.14);
  --ts-t1:       #F5F5F7;
  --ts-t2:       #A8A8B0;
  --ts-t3:       #85858D;
  /* Window frames on the page */
  --ui-r:        12px;
  --shadow-window-light: 0 0 0 0.5px rgba(17, 17, 20, 0.16), 0 2px 6px rgba(17, 17, 20, 0.04), 0 24px 64px rgba(17, 17, 20, 0.12);
  --ui-travel:   cubic-bezier(0.32, 0.72, 0, 1);
  --ui-out:      cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================== The frame
   --sw/--sh: the stage size in board px (unitless). Default 1600 x 1000.
   --cx/--cy/--cw/--ch: the crop (board px). Default: the whole stage.
   The scale is computed in CSS from the frame width (100cqw / crop width);
   ui.js sets --s itself in browsers without trig functions.               */
.ui {
  --sw: 1600; --sh: 1000;
  --cx: 0; --cy: 0; --cw: var(--sw); --ch: var(--sh);
  position: relative;
  display: block;
  width: 100%;
  container-type: inline-size;
  aspect-ratio: var(--cw) / var(--ch);
  overflow: hidden;
  border-radius: var(--ui-r);
  background: #FFFFFF;
  box-shadow: var(--shadow-window-light);
  isolation: isolate;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-family: var(--font);
  text-align: left;
  user-select: none; -webkit-user-select: none;
}
.ui.is-dark { background: var(--ts-well); box-shadow: var(--shadow-window); }
.ui.is-bare { box-shadow: none; border-radius: 0; background: transparent; }
.ui-stage {
  --s: tan(atan2(100cqw, calc(var(--cw) * 1px)));
  position: absolute; left: 0; top: 0;
  width: calc(var(--sw) * 1px); height: calc(var(--sh) * 1px);
  transform-origin: 0 0;
  transform: scale(var(--s)) translate(calc(var(--cx) * -1px), calc(var(--cy) * -1px));
  overflow: hidden;
}
/* Named crops: data-crop on the frame (any width), data-phone on phones only. */
.ui[data-crop="panel"]     { --cx: 1200; --cy: 0;   --cw: 400;  --ch: 1000; }
.ui[data-crop="viewer"]    { --cx: 0;    --cy: 0;   --cw: 860;  --ch: 600; }
.ui[data-crop="timeline"]  { --cx: 0;    --cy: 600; --cw: 1200; --ch: 400; }
.ui[data-crop="work"]      { --cx: 0;    --cy: 0;   --cw: 1200; --ch: 1000; }
.ui[data-crop="convo"]     { --cx: 420;  --cy: 0;   --cw: 720;  --ch: 1000; }
@media (max-width: 733px) {
  .ui { --ui-r: 10px; }
  .ui[data-phone="panel"]    { --cx: 1200; --cy: 0;   --cw: 400;  --ch: 1000; }
  .ui[data-phone="viewer"]   { --cx: 0;    --cy: 0;   --cw: 860;  --ch: 600; }
  .ui[data-phone="timeline"] { --cx: 0;    --cy: 600; --cw: 1200; --ch: 400; }
  .ui[data-phone="crop"]     { --cx: var(--pcx, 0); --cy: var(--pcy, 0); --cw: var(--pcw, 1600); --ch: var(--pch, 1000); }
  /* Flow: on phones the window drops its scaling and reflows at real size:
     the conversation only, or the Library content only.                    */
  .ui[data-phone="flow"] { aspect-ratio: auto; container-type: normal; }
  .ui[data-phone="flow"] > .ui-stage { position: relative; width: auto; height: auto; transform: none; }
}

/* =========================================================== Icons (ui.js)
   <i class="ic" data-ic="undo"></i> becomes a 16px line icon in currentColor. */
.ic { display: inline-flex; flex: none; width: 16px; height: 16px; color: inherit; font-style: normal; }
.ic svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ic-12 { width: 12px; height: 12px; } .ic-14 { width: 14px; height: 14px; } .ic-10 { width: 10px; height: 10px; }

/* =================================================== Wordmark in a window
   <span class="ui-wm"></span> (ui.js draws it). .is-away: the i is a ring.   */
.ui-wm { display: inline-block; height: 19px; line-height: 0; color: #111114; }
.ui-wm svg { display: block; height: 100%; width: auto; overflow: visible; }
.ui-wm path { fill: currentColor; }
.ui-wm .ui-i {
  fill: var(--pink); stroke: transparent; stroke-width: 1.25px; vector-effect: non-scaling-stroke;
  transform-box: fill-box; transform-origin: center;
  transition: fill 160ms ease, stroke 160ms ease;
}
.ui-wm.is-away .ui-i { fill: transparent; stroke: currentColor; stroke-opacity: 0.28; }
.ts .ui-wm { color: var(--ts-t1); }
.ts .ui-wm.is-away .ui-i { stroke-opacity: 0.32; }
.ui-wm.is-landing .ui-i { animation: ui-settle 180ms var(--ui-out); }
.ui-wm.is-thinking .ui-i { animation: ui-think 1600ms ease-in-out infinite alternate; }
@keyframes ui-settle { 45% { transform: scale(0.94); } }
@keyframes ui-think  { to { opacity: 0.4; } }

/* =========================================================== Tino, parked
   The dot, its tool and its label. A 0 x 0 anchor on the dot's centre.
     <span class="ui-at" style="left:..;top:..">
       <i class="ui-dot"></i><i class="ui-tool"></i>
       <span class="ui-label"><b>Tino</b> trimming Hall</span></span>
   Size: --d (12 default). Tool height: --th. Label side: data-side="left".  */
.ui-at {
  --d: 12px; --th: 0px; --kn: #FFFFFF;
  position: absolute; width: 0; height: 0; z-index: 6; pointer-events: none;
}
.ts .ui-at { --kn: var(--ts-ground); }
.ui-dot {
  position: absolute; left: calc(var(--d) / -2); top: calc(var(--d) / -2);
  width: var(--d); height: var(--d); border-radius: 50%;
  background: var(--pink); box-shadow: 0 0 0 2px var(--kn);
  z-index: 2;
}
.ui-tool {
  position: absolute; top: 0; left: -0.75px; width: 1.5px; height: var(--th);
  background: var(--pink); border-radius: 1px; z-index: 1;
  transform-origin: top; transition: transform 240ms var(--ui-out);
}
.ui-at[data-tool="caret"] .ui-tool { left: -1px; width: 2px; top: calc(var(--th) / -2); }
.ui-at:not([data-tool]) .ui-tool { display: none; }
.ui-at.is-tool-off .ui-tool { transform: scaleY(0); }
.ui-label {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px;
  border-radius: 11px; background: #FFFFFF;
  box-shadow: inset 0 0 0 1px var(--tw-line), 0 1px 2px rgba(17, 17, 20, 0.06);
  font: 400 12px/22px var(--font); letter-spacing: 0; white-space: nowrap; color: #46464C;
}
.ui-label b { font-weight: 600; color: #111114; margin-right: 4px; }
.ts .ui-label { background: var(--ts-raised); color: var(--ts-t2); box-shadow: inset 0 0 0 1px var(--ts-line-2), 0 4px 12px rgba(0, 0, 0, 0.35); }
.ts .ui-label b { color: var(--ts-t1); }
.ui-at > .ui-label {
  position: absolute; top: -11px; left: calc(var(--d) / 2 + 8px); z-index: 3;
  transition: opacity 160ms ease, transform 160ms var(--ui-out);
}
.ui-at[data-side="left"] > .ui-label { left: auto; right: calc(var(--d) / 2 + 8px); }
.ui-at.is-quiet > .ui-label { opacity: 0; transform: translateX(-4px); transition-duration: 90ms; }
.ui-at[data-side="left"].is-quiet > .ui-label { transform: translateX(4px); }
.ui-at.is-flying { z-index: 40; }
.ui-at.is-flying .ui-dot { box-shadow: none; }
.ui-at.is-flying .ui-tool { display: none; }
.ui-at.is-yield .ui-tool { opacity: 0.5; }
/* Inline (in the prompt, at the end of your sentence): 8 px, with the chip. */
.ui-listen { display: inline; white-space: nowrap; }
.ui-listen > .ui-dot-in {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--pink); box-shadow: 0 0 0 2px #FFFFFF;
  margin: 0 0 0 6px; vertical-align: 1px;
  transform: scale(calc(1 + var(--lvl, 0) * 0.6)); transition: transform 60ms linear;
}
.ui-listen > .ui-label { margin-left: 8px; vertical-align: 0; line-height: 22px; }
.ui-listen.is-gone > * { visibility: hidden; }

/* =================================================== Buttons (window size)
   .ub = 30 high pill. .ub-ink filled ink, .ub-line outlined, .ub-text plain. */
.ub {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 30px; padding: 0 14px; border: 0; border-radius: 15px; margin: 0;
  font: 500 13px/1 var(--font); letter-spacing: -0.005em; white-space: nowrap;
  color: #111114; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--tw-outline);
  cursor: default;
  transition: background-color 120ms ease, transform 120ms var(--ease-snap, ease), box-shadow 120ms ease;
}
.ub-ink  { background: #111114; color: #FFFFFF; box-shadow: none; }
.ub-text { background: transparent; box-shadow: none; padding: 0 8px; }
.ub-strong { font-weight: 600; }
button.ub, a.ub { cursor: pointer; }
button.ub:hover, a.ub:hover { background: #F4F4F6; }
button.ub-ink:hover, a.ub-ink:hover { background: #2A2A30; }
button.ub-text:hover { background: rgba(17, 17, 20, 0.05); }
button.ub:active { transform: scale(0.97); }
.ub:focus-visible { outline: none; box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px #111114; }
.ub.is-press { transform: scale(0.96); }
.ub-ink.is-press { background: #2A2A30; }

/* ========================================================== Light window */
.tw {
  display: grid; grid-template-columns: 240px minmax(0, 1fr) auto;
  background: #FFFFFF; color: #111114;
  font-family: var(--font); font-size: 13px; line-height: 18px;
}
.tw-lights { position: absolute; left: 14px; top: 20px; display: flex; gap: 8px; z-index: 5; }
.tw-lights i, .ts-lights i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.18); }
.tw-lights i:nth-child(2), .ts-lights i:nth-child(2) { background: #FEBC2E; }
.tw-lights i:nth-child(3), .ts-lights i:nth-child(3) { background: #28C840; }

/* Sidebar (240) */
.tw-side {
  position: relative; height: 100%;
  background: var(--tw-side); box-shadow: inset -1px 0 0 var(--tw-line);
  padding-top: 60px;
}
.tw-side-tog { position: absolute; left: 200px; top: 12px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; color: #46464C; }
.tw-nav { list-style: none; margin: 0; padding: 0 12px; }
.tw-row {
  display: flex; align-items: center; gap: 10px;
  height: 32px; padding: 0 10px; border-radius: 8px;
  font-size: 13px; letter-spacing: -0.01em; white-space: nowrap; color: #111114;
}
.tw-row > .ic { color: #46464C; }
.tw-row.is-on { background: var(--tw-sel); font-weight: 500; }
.tw-row.is-on > .ic { color: #111114; }
.tw-row.is-soon > .ic, .tw-row.is-soon > span:first-of-type { opacity: 0.48; }
.tw-row em { margin-left: auto; font-style: normal; font-size: 11px; color: #6B6B73; letter-spacing: 0; font-weight: 400; }
.tw-row.is-all { color: #6B6B73; padding-left: 36px; }
.tw-row.is-two { height: 44px; }
.tw-row.is-two small { display: block; font-size: 11px; line-height: 14px; color: #6B6B73; letter-spacing: 0; margin-top: 1px; }
.tw-row.is-two span { line-height: 17px; }
.tw-h { margin: 20px 22px 6px; height: 16px; font-size: 11px; font-weight: 600; line-height: 16px; letter-spacing: 0.01em; color: #6B6B73; }
.tw-side-foot { position: absolute; left: 0; right: 1px; bottom: 0; height: 56px; box-shadow: inset 0 1px 0 var(--tw-line); padding: 20px 22px 0; font-size: 11px; line-height: 16px; color: #6B6B73; }
.tw-side-foot.is-two { height: 70px; padding-top: 14px; }
.tw-side-foot .ic { width: 12px; height: 12px; margin-right: 6px; vertical-align: -2px; }
.tw-side-foot p { margin: 0 0 4px; }

/* Main column */
.tw-main { position: relative; height: 100%; min-width: 0; overflow: hidden; }
.tw-bar { position: absolute; left: 0; right: 0; top: 0; height: 52px; display: flex; align-items: center; justify-content: center; background: #FFFFFF; z-index: 4; }
.tw-bar.is-line { box-shadow: 0 1px 0 var(--tw-line); }
.tw-bar .ui-wm { margin-top: 1px; }
.tw-bar-end { position: absolute; right: 16px; top: 12px; display: flex; gap: 8px; }
.tw-icon { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; color: #46464C; border-radius: 7px; }

/* Conversation: newest at the bottom, older lines leave under the title bar. */
.tw-convo { position: absolute; left: 0; right: 0; top: 53px; bottom: 0; }
.tw-feed {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 640px; margin-left: -320px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 11px 0 107px;
}
.tw-feed > * { flex: none; }
.tw-feed > * + * { margin-top: 20px; }
.tw-feed > .tw-tino + .tw-you { margin-top: 30px; }
.tw-feed > * + .tw-ask { margin-top: 16px; }
.tw-feed > * + .tw-hint { margin-top: 8px; }
.tw-feed > * + .tw-day { margin-top: 28px; }
.tw-feed > .tw-day + * { margin-top: 26px; }

.tw-you {
  align-self: flex-end; max-width: 460px;
  padding: 10px 16px; border-radius: 18px 18px 6px 18px; background: var(--tw-side);
  font-size: 15px; line-height: 23px; letter-spacing: -0.006em; color: #111114;
}
.tw-tino .tw-who { font-size: 13px; font-weight: 600; line-height: 18px; }
.tw-tino p { margin: 4px 0 0; font-size: 15px; line-height: 23px; letter-spacing: -0.006em; }
.tw-tino > .uc, .tw-tino > .tw-olders { margin-top: 24px; }
.tw-tino > .tw-olders:first-child { margin-top: 0; }
.tw-hint { align-self: stretch; text-align: right; padding-right: 16px; font-size: 12px; line-height: 16px; color: #6B6B73; }
.tw-note { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; color: #6B6B73; }
.tw-note .ic { width: 12px; height: 12px; }
.tw-day { display: flex; align-items: center; gap: 12px; font-size: 11px; line-height: 14px; color: #6B6B73; }
.tw-day::before, .tw-day::after { content: ""; flex: 1; height: 1px; background: var(--tw-line); }

/* An older version, folded to a 48 px row */
.tw-older { display: flex; align-items: center; gap: 12px; height: 48px; }
.tw-older + .tw-older { box-shadow: 0 -1px 0 0 var(--tw-line); margin-top: 1px; }
.tw-olders .tw-older + .tw-older { box-shadow: none; position: relative; }
.tw-olders .tw-older + .tw-older::before { content: ""; position: absolute; left: 76px; right: 0; top: -1px; height: 1px; background: var(--tw-line); }
.tw-thumb { width: 64px; height: 36px; flex: none; border-radius: 5px; overflow: hidden; box-shadow: 0 0 0 1px var(--tw-line); background: #2E2924 center 58% / cover no-repeat; }
.tw-older b { display: block; font-size: 13px; font-weight: 500; line-height: 17px; }
.tw-older small { display: block; margin-top: 1px; font-size: 12px; line-height: 16px; color: #6B6B73; }
.tw-olders.is-flat .tw-older b { font-weight: 500; }

/* The asking card: a still 2 px pink rule, neutral buttons */
.tw-ask {
  position: relative; display: flex; align-items: center; gap: 12px;
  min-height: 64px; padding: 12px 16px 12px 20px;
  border-radius: 14px; background: #FFFFFF; box-shadow: var(--tw-card);
}
.tw-ask::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; border-radius: 1px; background: var(--pink); }
.tw-ask-q { flex: 1; min-width: 0; }
.tw-ask-q b { display: block; font-size: 15px; font-weight: 600; line-height: 20px; letter-spacing: -0.01em; }
.tw-ask-q small { display: block; margin-top: 1px; font-size: 13px; line-height: 18px; color: #6B6B73; }
.tw-ask-a { display: flex; gap: 8px; flex: none; }
.tw-ask.is-rising { animation: ui-rise 240ms var(--ui-out) both; }
@keyframes ui-rise { from { opacity: 0; transform: translateY(8px); } }

/* Ask field (in a conversation) */
.tw-field {
  position: absolute; left: 50%; bottom: 24px; width: 640px; margin-left: -320px; height: 64px;
  display: flex; align-items: center; gap: 12px; padding: 0 18px 0 18px;
  border-radius: 18px; background: #FFFFFF;
  box-shadow: 0 0 0 1px var(--tw-line), 0 1px 2px rgba(17, 17, 20, 0.04), 0 8px 24px rgba(17, 17, 20, 0.06);
  font-size: 15px; line-height: 20px; color: #6B6B73; z-index: 3;
}
.tw-field > .ic { color: #46464C; }
.tw-field-text { flex: 1; min-width: 0; color: #6B6B73; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tw-field-text.is-typed { color: #111114; }
.tw-send { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--tw-line); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; transition: background-color 160ms ease; }
.tw-send.is-ready { background: #111114; }
.tw-field .ic[data-ic="mic"] { margin-right: 0; }

/* Home: What shall we make? */
.tw-home { position: absolute; inset: 0; }
.tw-home-h { position: absolute; left: 0; right: 0; top: 208px; text-align: center; font-size: 32px; font-weight: 600; line-height: 40px; letter-spacing: -0.022em; margin: 0; }
.tw-prompt {
  position: absolute; left: 50%; top: 280px; width: 760px; margin-left: -380px; min-height: 148px;
  border-radius: 18px; background: #FFFFFF;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 20, 0.20), 0 0 0 4px rgba(17, 17, 20, 0.035), 0 1px 2px rgba(17, 17, 20, 0.04), 0 8px 24px rgba(17, 17, 20, 0.06);
  padding: 18px 22px 56px;
}
.tw-prompt.is-quiet { box-shadow: inset 0 0 0 1px rgba(17, 17, 20, 0.14), 0 1px 2px rgba(17, 17, 20, 0.04), 0 8px 24px rgba(17, 17, 20, 0.06); }
.tw-prompt-text { min-height: 54px; font-size: 17px; line-height: 27px; letter-spacing: -0.008em; color: #111114; }
.tw-prompt-text:empty::before, .tw-prompt-text.is-empty::before { content: attr(data-placeholder); color: #A1A1A8; }
.tw-prompt-tools { position: absolute; left: 10px; right: 12px; bottom: 12px; height: 32px; display: flex; align-items: center; gap: 2px; }
.tw-attach { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; color: #46464C; }
.tw-opt { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 9px; border-radius: 15px; font-size: 12px; font-weight: 500; color: #46464C; white-space: nowrap; transition: background-color 120ms ease; }
.tw-opt .ic-10 { opacity: 0.7; }
.tw-opt.is-press, button.tw-opt:hover { background: rgba(17, 17, 20, 0.05); }
.tw-wide { display: block; width: 15px; height: 9px; border: 1.5px solid #46464C; border-radius: 2px; }
.tw-wide.is-tall { width: 9px; height: 15px; }
.tw-kit { display: inline-flex; width: 13px; height: 13px; border-radius: 4px; overflow: hidden; box-shadow: inset 0 0 0 0.5px rgba(17, 17, 20, 0.16); }
.tw-kit i { flex: 1; }
.tw-prompt-go { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.tw-mic { width: 32px; height: 32px; border-radius: 16px; background: rgba(17, 17, 20, 0.06); color: #111114; display: inline-flex; align-items: center; justify-content: center; }
.tw-make { width: 92px; height: 32px; border-radius: 16px; padding: 0; font-weight: 600; }
.tw-home-note { position: absolute; left: 0; right: 0; top: 444px; text-align: center; font-size: 12px; line-height: 16px; color: #6B6B73; }
.tw-recent { position: absolute; left: 50%; top: 508px; width: 1064px; margin-left: -532px; }
.tw-recent-h { display: flex; align-items: center; height: 20px; font-size: 13px; line-height: 20px; }
.tw-recent-h b { font-weight: 600; letter-spacing: -0.01em; }
.tw-recent-h span { margin-left: auto; font-size: 12px; color: #6B6B73; }
.tw-grid { display: grid; grid-template-columns: repeat(4, 248px); gap: 16px 24px; margin-top: 12px; }
.tw-tile-art { position: relative; height: 140px; border-radius: 10px; background: var(--tw-side); box-shadow: inset 0 0 0 1px #EDEDF0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tw-tile-art img, .tw-tile-art .sl { max-width: 208px; max-height: 124px; width: auto; height: auto; border-radius: 3px; box-shadow: 0 0 0 0.5px rgba(17, 17, 20, 0.12), 0 2px 6px rgba(17, 17, 20, 0.10); }
.tw-tile-art .sl { width: 208px; }
.tw-tile-cap { padding: 10px 2px 0; }
.tw-tile-cap b { display: block; font-size: 13px; font-weight: 600; line-height: 18px; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-meta { display: flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 12px; line-height: 16px; color: #6B6B73; white-space: nowrap; }
.ui-meta .ic { width: 12px; height: 12px; }
.ui-meta i.sep { font-style: normal; color: #A1A1A8; }

/* Right pane: the project (280) */
.tw-pane { position: relative; width: 280px; height: 100%; background: var(--tw-pane); box-shadow: inset 1px 0 0 var(--tw-line); padding: 68px 20px 0; }
.tw-pane-end { position: absolute; right: 16px; top: 12px; display: flex; gap: 8px; }
.tw-pane h4 { margin: 0; font-size: 17px; font-weight: 600; line-height: 22px; letter-spacing: -0.015em; }
.tw-crumb { margin-top: 2px; font-size: 12px; line-height: 16px; color: #6B6B73; }
.tw-ph { display: flex; margin: 24px 0 8px; font-size: 11px; font-weight: 600; line-height: 14px; letter-spacing: 0.01em; color: #6B6B73; }
.tw-ph span { margin-left: auto; font-family: var(--font-mono); font-weight: 400; }
.tw-now { position: relative; height: 135px; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px rgba(17, 17, 20, 0.08); background: #2E2924 center / cover no-repeat; }
.tw-pane-t { margin-top: 10px; font-size: 13px; font-weight: 600; line-height: 17px; }
.tw-pane-m { margin-top: 1px; font-size: 12px; line-height: 16px; color: #6B6B73; }
.tw-made { display: flex; align-items: center; gap: 12px; height: 48px; }
.tw-made span { display: block; font-size: 13px; line-height: 17px; }
.tw-made small { display: block; font-size: 12px; line-height: 16px; color: #6B6B73; margin-top: 1px; }
.tw-sw, .tw-made .tw-sw { display: inline-flex; gap: 3px; }
.tw-sw i { display: block; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(17, 17, 20, 0.08); }
.tw-src { display: flex; align-items: center; gap: 10px; height: 28px; font-size: 13px; color: #46464C; white-space: nowrap; }
.tw-src .ic { width: 15px; height: 15px; color: #6B6B73; }
.tw-pane-foot { position: absolute; left: 0; right: 0; bottom: 0; height: 70px; box-shadow: inset 0 1px 0 var(--tw-line); padding: 16px 20px 0; font-size: 11px; line-height: 16px; color: #6B6B73; }
.tw-pane-foot b { display: block; margin-top: 4px; font-weight: 500; color: #46464C; }

/* ===================================================== Cards (.uc): 640 wide
   Film .uc-film, deck .uc-deck, stills .uc-stills, brand kit .uc-kit.
   Fluid: they fill their column (max 640) in a window or on a page.       */
.uc {
  position: relative; width: 100%; max-width: 640px;
  border-radius: 14px; background: #FFFFFF; box-shadow: var(--tw-card);
  overflow: hidden; color: #111114; font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
.uc-media { position: relative; aspect-ratio: 16 / 9; background: var(--ts-well); overflow: hidden; }
.uc-media > .film, .uc-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film { background: var(--ts-well) center / cover no-repeat; }
/* Tino's change on a film: the 2 px line along the foot of the picture. */
.uc-media[data-tino-line]::after { left: 0; right: 0; z-index: 3; }
.uc-strip { position: relative; display: flex; gap: 2px; height: 28px; margin-top: 2px; }
.uc-strip > span:not(.ui-at) { flex: var(--d, 1) 1 0; min-width: 0; padding-left: 8px; background: var(--tw-side); font-size: 11px; line-height: 28px; color: #46464C; white-space: nowrap; overflow: hidden; }
.uc-strip > .ui-at { top: -2px; }
.uc-strip > .ui-at .ui-dot { --d: 10px; }
.uc-bar {
  display: flex; align-items: center; gap: 12px; height: 56px; margin-top: 2px;
  padding: 0 12px 0 16px; box-shadow: inset 0 1px 0 var(--tw-line); background: #FFFFFF;
}
.uc-media + .uc-bar { margin-top: 0; }
.uc-play { width: 32px; height: 32px; flex: none; border: 0; padding: 0; border-radius: 50%; background: #111114; color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; }
.uc-play svg { width: 12px; height: 12px; margin-left: 2px; }
.uc-play.is-playing svg { margin-left: 0; }
button.uc-play { cursor: pointer; }
.uc-play:focus-visible { outline: none; box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px #111114; }
.uc-t { flex: 1; min-width: 0; }
.uc-t b { display: block; font-size: 14px; font-weight: 600; line-height: 18px; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uc-t small { display: block; margin-top: 1px; font-size: 12px; line-height: 16px; color: #6B6B73; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uc-tc { font-family: var(--font-mono); font-size: 13px; color: #46464C; letter-spacing: 0; white-space: nowrap; margin-right: 4px; font-variant-numeric: tabular-nums; }
.uc-keep { width: 64px; padding: 0; }

/* Narrow cards (phones): the bar keeps the title and the action. */
.uc-film, .uc-deck, .uc-stills { container-type: inline-size; }
@container (max-width: 480px) {
  .uc-bar { padding: 0 10px 0 12px; gap: 10px; }
  .uc-bar:has(.ub) .uc-tc { display: none; }
  .uc-strip > span:not(.ui-at) { font-size: 10px; padding-left: 5px; }
  .uc-flip { display: none; }
  .uc-thumbs { gap: 6px; padding: 0 12px; }
  .uc-thumbs > .sl { width: 48px; }
  .uc-thumbs > .sl:nth-of-type(n+6) { display: none; }
}
@media (max-width: 733px) {
  .tw-ask { flex-wrap: wrap; }
  .tw-ask-a { width: 100%; }
}

/* Deck card: the slide, a strip of thumbnails, the bar */
.uc-thumbs { position: relative; display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 16px; box-shadow: inset 0 1px 0 var(--tw-line); }
.uc-thumbs > .sl { width: 64px; flex: none; border-radius: 4px; box-shadow: 0 0 0 1px var(--tw-line); }
.uc-thumbs > .sl.is-on { box-shadow: 0 0 0 1.5px #111114, 0 0 0 3px #FFFFFF; }
button.sl { padding: 0; border: 0; cursor: pointer; background: none; }
.uc-thumbs > .sl:focus-visible { outline: none; box-shadow: 0 0 0 1.5px #111114, 0 0 0 3px #FFFFFF, 0 0 0 5px #111114; }
.uc-flip { margin-left: auto; font-size: 12px; color: #6B6B73; white-space: nowrap; }
.uc-deck .uc-media { background: #EEE7DC; }
.uc-deck .uc-media > .sl { position: absolute; inset: 0; width: 100%; transition: opacity 220ms ease; }
.uc-deck .uc-media > .sl.is-out { opacity: 0; }

/* Stills picker: your choice is ink, never pink */
.uc-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.uc-pick { position: relative; aspect-ratio: 205 / 256; background: #2E2924 center / cover no-repeat; border: 0; padding: 0; display: block; width: 100%; }
button.uc-pick { cursor: pointer; }
.uc-pick::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1.5px #111114, inset 0 0 0 3px #FFFFFF; opacity: 0; transition: opacity 120ms ease; }
.uc-pick .uc-check { position: absolute; right: 12px; top: 12px; width: 20px; height: 20px; border-radius: 50%; background: #111114; box-shadow: 0 0 0 1.5px #FFFFFF; color: #FFFFFF; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(0.8); transition: opacity 120ms ease, transform 160ms var(--ui-out); }
.uc-pick .uc-check svg { width: 12px; height: 12px; }
.uc-pick.is-on::after, .uc-pick.is-on .uc-check { opacity: 1; transform: none; }
.uc-pick:focus-visible { outline: 2px solid #111114; outline-offset: 2px; }
.uc-stills .uc-bar { margin-top: 0; }
.uc-keepn { min-width: 76px; }

/* Brand kit card */
.uc-kitbody { position: relative; display: flex; align-items: center; height: 128px; padding: 0 16px; }
.uc-logo { width: 96px; height: 96px; flex: none; border-radius: 8px; background: #EEE7DC; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px rgba(17, 17, 20, 0.06); }
.uc-logo svg { width: 46px; height: auto; }
.uc-sws { display: flex; margin-left: 16px; }
.uc-sw { width: 60px; text-align: center; font-size: 11px; line-height: 14px; color: #6B6B73; }
.uc-sw i { display: block; width: 28px; height: 28px; margin: 0 auto 8px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(17, 17, 20, 0.08); }
.uc-type { margin-left: 24px; padding-left: 24px; box-shadow: inset 1px 0 0 var(--tw-line); height: 68px; padding-top: 0; font-family: "Hanken Grotesk", var(--font); }
.uc-type b { display: block; font-size: 24px; line-height: 30px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }
.uc-type b span { font-weight: 400; }
.uc-kit { container-type: inline-size; }
@container (max-width: 630px) { .uc-sws { margin-left: 8px; } .uc-sw { width: 54px; } .uc-type { margin-left: 16px; padding-left: 16px; } .uc-type b { font-size: 21px; } }
@container (max-width: 520px) { .uc-kitbody { height: auto; flex-wrap: wrap; padding: 14px; gap: 14px 0; } .uc-logo { width: 64px; height: 64px; } .uc-logo svg { width: 30px; } .uc-sw { width: 50px; } .uc-type { margin: 0; padding: 0; box-shadow: none; height: auto; width: 100%; } }
.uc-type small { display: block; margin-top: 8px; font-size: 11px; letter-spacing: 0.3em; font-weight: 500; color: #46464C; }
.uc-kit .uc-bar { margin-top: 0; }

/* ==================================================== Slides (.sl): 640 x 360
   <div class="sl" data-slide="casa-3"></div>  (ui.js fills and scales it).
   Any width; the slide is authored at 640 x 360 and scaled like a window.   */
.sl { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; container-type: inline-size; background: #EEE7DC; }
.sl-in {
  position: absolute; left: 0; top: 0; width: 640px; height: 360px; overflow: hidden;
  transform-origin: 0 0; transform: scale(var(--sls, tan(atan2(100cqw, 640px))));
  font-family: "Hanken Grotesk", var(--font); color: #1E2230; background: #EEE7DC;
  -webkit-font-smoothing: antialiased;
}
.sl-in > * { position: absolute; margin: 0; }
.sl-img { background: #2E2924 center / cover no-repeat; }
.sl-eye { font-size: 10px; letter-spacing: 0.24em; color: #8A7F70; font-weight: 500; text-transform: uppercase; }
.sl-h { font-size: 30px; font-weight: 500; letter-spacing: -0.015em; line-height: 36px; }
.sl-p { font-size: 13px; line-height: 20px; color: #4A4840; }
.sl-foot { left: 40px; right: 40px; top: 326px; display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.14em; color: #8A7F70; }
.sl-in.is-night { background: #1E2230; color: #EEE7DC; }
.sl-in.is-night .sl-foot { color: rgba(238, 231, 220, 0.5); }

/* ========================================================= Dark studio .ts
   Absolute layout at 1600 x 1000 (STUDIO.md section 3).                    */
.ts {
  background: var(--ts-well); color: var(--ts-t1);
  font-family: var(--font); font-size: 13px; line-height: 18px;
}
.ts-lights { position: absolute; left: 14px; top: 20px; display: flex; gap: 8px; z-index: 5; }
.ts-insp { position: absolute; left: 860px; top: 0; width: 340px; height: 600px; background: var(--ts-panel); box-shadow: inset 1px 0 0 var(--ts-line); padding-top: 52px; overflow: hidden; }
.ts-viewer { position: absolute; left: 0; top: 0; width: 860px; height: 600px; background: var(--ts-well); }
.ts-frame { position: absolute; left: 38px; top: 105px; width: 784px; height: 441px; background: #000; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.10), 0 18px 48px rgba(0, 0, 0, 0.55); overflow: hidden; }
.ts-frame > .film, .ts-frame > img, .ts-frame > .sl { position: absolute; inset: 0; width: 100%; height: 100%; }
.ts-lower { position: absolute; left: 0; top: 600px; width: 1200px; height: 400px; background: var(--ts-ground); box-shadow: inset 0 1px 0 var(--ts-line-2); overflow: hidden; }
.ts-panel { position: absolute; left: 1200px; top: 0; width: 400px; height: 1000px; background: var(--ts-panel); box-shadow: inset 1px 0 0 var(--ts-line-2); overflow: hidden; }

/* Toolbar capsules (52 high; capsules 32 at y 10) */
.ts-cap { position: absolute; top: 10px; height: 32px; border-radius: 16px; background: var(--ts-glass); box-shadow: var(--ts-glass-e); display: flex; align-items: center; padding: 0 2px; gap: 2px; z-index: 5; }
.ts-cap > span { height: 28px; min-width: 28px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; color: var(--ts-t1); font-size: 13px; letter-spacing: -0.005em; }
.ts-cap > span.is-on { background: var(--ts-plate); font-weight: 600; }
.ts-cap > span.is-off { color: var(--ts-t2); }
.ts-mode { left: 84px; }
.ts-mode > span { width: 44px; }
.ts-doc { position: absolute; left: 192px; top: 10px; height: 32px; display: flex; align-items: center; gap: 8px; white-space: nowrap; z-index: 5; }
.ts-doc b { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.ts-doc small { font-size: 12px; color: var(--ts-t3); }
.ts-back { left: 84px; width: 32px; }
.ts.has-back .ts-mode { left: 128px; }
.ts.has-back .ts-doc { left: 236px; }
.ts-transport { left: 500px; }
.ts-readout { position: absolute; left: 636px; top: 10px; width: 96px; height: 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; white-space: nowrap; z-index: 5; }
.ts-readout b { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.01em; line-height: 15px; font-variant-numeric: tabular-nums; }
.ts-readout small { font-size: 10.5px; line-height: 13px; color: var(--ts-t2); }
.ts-trail { position: absolute; right: 412px; top: 10px; display: flex; gap: 12px; z-index: 5; }
.ts-trail .ts-cap { position: static; }
.ts-export { width: 84px; font-weight: 600; justify-content: center; font-size: 13px; }
.ts-tip { position: absolute; left: 84px; top: 48px; height: 24px; padding: 0 9px; border-radius: 6px; background: var(--ts-raised); box-shadow: inset 0 0 0 0.5px var(--ts-line-2), 0 4px 12px rgba(0, 0, 0, 0.35); font-size: 12px; line-height: 24px; color: var(--ts-t1); white-space: nowrap; z-index: 8; }
.ts-tip kbd { font: inherit; color: var(--ts-t3); margin-left: 8px; }

/* Inspector */
.ts-ih { padding: 16px 16px 14px; box-shadow: inset 0 -1px 0 var(--ts-line); position: relative; }
.ts-kind { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ts-t3); letter-spacing: 0.01em; line-height: 14px; }
.ts-kind .ic { width: 12px; height: 12px; }
.ts-ih b { display: block; margin-top: 5px; font-size: 15px; font-weight: 600; letter-spacing: -0.012em; line-height: 20px; }
.ts-seg { position: absolute; right: 16px; top: 16px; }
.ts-seg.ts-cap { top: 18px; height: 28px; }
.ts-seg.ts-cap > span { height: 24px; font-size: 12px; padding: 0 10px; }
.ts-sec { padding: 12px 16px 10px; box-shadow: inset 0 -1px 0 var(--ts-line); }
.ts-sec:last-child { box-shadow: none; }
.ts-st { display: flex; align-items: center; gap: 6px; height: 24px; margin-bottom: 2px; font-size: 12px; font-weight: 600; }
.ts-st .ic { width: 12px; height: 12px; color: var(--ts-t3); }
.ts-r { position: relative; display: flex; align-items: center; justify-content: space-between; height: 30px; font-size: 12px; }
.ts-r > span:first-child { color: var(--ts-t2); }
.ts-v { display: inline-flex; align-items: center; gap: 6px; color: var(--ts-t1); }
.ts-f { padding: 4px 8px; border-radius: 6px; background: var(--ts-field); box-shadow: inset 0 0 0 0.5px var(--ts-line-2); font-size: 12px; line-height: 14px; }
.ts-f.is-num { font-family: var(--font-mono); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.ts-chip { display: inline-block; width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.2); }
.ts-tick { position: relative; }
.ts-tick::before { content: ""; position: absolute; left: -9px; top: 50%; width: 2px; height: 16px; margin-top: -8px; border-radius: 1px; background: var(--pink); }
.ts-foot { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 11px; color: var(--ts-t3); }
.ts-foot .ic { width: 12px; height: 12px; }

/* Lower editor: name column 260, track area with 12 px inset.
   Time on a lane: --a (start s), --b (end s); track: --t0, --pps (px/s).   */
.ts-tl { --t0: 0; --pps: 100; position: absolute; inset: 0; }
.ts-tl-h { position: relative; height: 32px; box-shadow: inset 0 -1px 0 var(--ts-line); }
.ts-names-h { position: absolute; left: 0; top: 0; width: 260px; height: 32px; display: flex; align-items: center; gap: 8px; padding: 0 12px 0 16px; font-size: 12px; box-shadow: inset -1px 0 0 var(--ts-line); }
.ts-names-h b { font-weight: 600; }
.ts-names-h em { font-style: normal; color: var(--ts-t3); font-variant-numeric: tabular-nums; }
.ts-names-h .ic { width: 14px; height: 14px; color: var(--ts-t2); }
.ts-fit { padding: 2px 8px; border-radius: 5px; background: var(--ts-field); box-shadow: inset 0 0 0 0.5px var(--ts-line-2); color: var(--ts-t2); font-size: 11px; line-height: 14px; }
.ts-cols { margin-left: auto; display: flex; gap: 9px; color: var(--ts-t2); }
.ts-ruler { position: absolute; left: 260px; right: 0; top: 0; height: 32px; overflow: hidden; }
.ts-ruler i { position: absolute; top: 14px; bottom: 0; width: 1px; background: rgba(255, 255, 255, 0.14); }
.ts-ruler i.q { top: 26px; background: rgba(255, 255, 255, 0.08); }
.ts-ruler span:not(.ts-range) { position: absolute; top: 6px; font-family: var(--font-mono); font-size: 10px; line-height: 12px; color: var(--ts-t3); letter-spacing: 0; }
.ts-ruler .ts-range { position: absolute; top: auto; bottom: 0; height: 2px; border-radius: 1px; background: var(--pink); left: calc((var(--a) - var(--t0)) * var(--pps) * 1px + 12px); width: calc((var(--b) - var(--a)) * var(--pps) * 1px); transform-origin: left; transition: transform 240ms var(--ui-out), opacity 240ms ease; }
.ts-lane { position: relative; display: flex; box-shadow: inset 0 -1px 0 var(--ts-line); }
.ts-lane.is-sel { background: rgba(255, 255, 255, 0.055); }
.ts-name { position: relative; width: 260px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 16px; font-size: 12.5px; white-space: nowrap; box-shadow: inset -1px 0 0 var(--ts-line); }
.ts-name .ic { width: 14px; height: 14px; color: var(--ts-t2); }
.ts-name .ic.ts-eye { margin-left: auto; }
.ts-name small { color: var(--ts-t3); font-size: 11.5px; }
.ts-name.is-sub { font-size: 12px; color: var(--ts-t2); }
.ts-name .ts-disc { width: 12px; margin-left: -4px; margin-right: -4px; color: var(--ts-t3); }
.ts-name .ts-disc.is-none { visibility: hidden; }
.ts-lane.is-sel .ts-name { font-weight: 600; }
.ts-track { position: relative; flex: 1; }
.ts-lane-m { height: 24px; } .ts-lane-h { height: 24px; } .ts-lane-a { height: 44px; } .ts-lane-l { height: 36px; } .ts-lane-n { height: 72px; }
.ts-flag { position: absolute; top: 0; bottom: 0; left: calc((var(--a) - var(--t0)) * var(--pps) * 1px + 12px); font-size: 10.5px; line-height: 24px; color: var(--ts-t2); padding-left: 5px; white-space: nowrap; }
.ts-flag::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 4px; width: 1px; background: var(--ts-t3); }
.ts-flag::after { content: ""; position: absolute; left: 1px; top: 6px; width: 4px; height: 4px; background: var(--ts-t3); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.ts-hit { position: absolute; top: 9px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--ts-t3); left: calc((var(--a) - var(--t0)) * var(--pps) * 1px + 12px); }
.ts-wave { position: absolute; left: 12px; right: 12px; top: 4px; height: 36px; border-radius: 5px; background: rgba(255, 255, 255, 0.05); overflow: hidden; }
.ts-wave canvas, .ts-wave svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ts-clip {
  position: absolute; top: 5px; height: 26px; border-radius: 5px;
  left: calc((var(--a) - var(--t0)) * var(--pps) * 1px + 12px);
  width: calc((var(--b) - var(--a)) * var(--pps) * 1px);
  background: #383843; color: var(--ts-t1); font-size: 11.5px; line-height: 26px; padding: 0 9px; white-space: nowrap; overflow: hidden;
}
.ts-clip small { color: var(--ts-t2); font-size: 11.5px; margin-left: 6px; }
.ts-clip.is-shape { background: #33383C; } .ts-clip.is-fx { background: #2B2B30; } .ts-clip.is-3d { background: #3B3631; }
.ts-clip.is-cut { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.ts-clip.is-sel { box-shadow: inset 0 0 0 1.5px #FFFFFF; }
.ts-clip.is-ghost { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); color: var(--ts-t3); background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 6px); }
.ts-clip[data-tino-line]::after { left: 6px; right: 6px; }
.ts-name[data-tino-line]::after { left: 4px; }
/* Your playhead (white) and Tino's (pink, 1.5 px, with the dot on the ruler) */
.ts-ph { position: absolute; top: 0; bottom: 0; width: 1px; margin-left: -0.5px; background: rgba(255, 255, 255, 0.9); left: calc(260px + (var(--t) - var(--t0)) * var(--pps) * 1px + 12px); z-index: 4; pointer-events: none; }
.ts-ph::before { content: ""; position: absolute; left: -5.5px; top: 2px; width: 12px; height: 15px; background: #FFFFFF; clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); }
.ts-tl > .ui-at { left: calc(260px + (var(--t) - var(--t0)) * var(--pps) * 1px + 12px); top: 16px; --d: 14px; --th: 384px; }
/* A zoomed timeline (--t0 > 0): what starts before the view is cut at the track's
   edge, and a clip that runs into view keeps its name at the edge, as in the app. */
.ts-track { overflow: hidden; }
.ts-clip {
  left: calc((max(var(--a), var(--t0)) - var(--t0)) * var(--pps) * 1px + 12px);
  width: max(0px, calc((var(--b) - max(var(--a), var(--t0))) * var(--pps) * 1px));
  padding-left: clamp(0px, calc((var(--b) - var(--t0)) * var(--pps) * 1px), 9px);
  padding-right: clamp(0px, calc((var(--b) - var(--t0)) * var(--pps) * 1px), 9px);
}
/* When Tino is the playhead (the dot on the ruler, its 2 px tool down the lanes),
   your white playhead steps aside: one line, Tino's (VEHICLE.md, STUDIO.md). */
.ts-ph { transition: opacity 200ms ease; opacity: clamp(0, calc((var(--t) - var(--t0)) * 100 + 1), 1); }   /* before the view: gone, never over the names */
.ts.is-tino-ph .ts-ph,
.ui:has(.ui-at.is-dk[data-tool="playhead"]:not([hidden])) .ts-ph { opacity: 0; }
/* Its verb label sits in the ruler row, opaque, above the tick numbers, on the
   side away from the work (left, as on the board). */
.ui-at.is-dk[data-tool="playhead"] { z-index: 30; }
.ui-at.is-dk[data-tool="playhead"] > .ui-label {
  left: auto; right: calc(var(--d) / 2 + 8px); background: var(--ts-raised);
  box-shadow: inset 0 0 0 1px var(--ts-line-2), 0 0 0 7px var(--ts-ground);   /* knocks the ticks out around it */
}
/* Home, Step inside: the sequence's studio zooms the way the board does (0:07.5 on),
   so the clips Tino changes read at size. Phones keep the whole film (home.js). */
@media (min-width: 734px) {
  .ts-tl[data-sq-tl] { --t0: 7.5 !important; --pps: 122 !important; }
}
.ts-notes { padding: 16px 16px 0 456px; font-size: 13px; line-height: 20px; color: var(--ts-t1); }

/* Tino panel (400) */
.ts-ph-head { position: absolute; left: 0; right: 0; top: 0; height: 52px; display: flex; align-items: center; padding: 0 16px 0 20px; }
.ts-ph-head .ui-wm { height: 19px; }
.ts-ph-end { margin-left: auto; display: flex; gap: 4px; color: var(--ts-t2); }
.ts-ph-end .ic { width: 28px; height: 28px; padding: 6px; }
.ts-prog { position: absolute; left: 20px; right: 20px; top: 52px; height: 2px; display: flex; gap: 4px; }
.ts-prog i { position: relative; flex: 1; border-radius: 1px; background: var(--ts-line-2); overflow: hidden; }
.ts-prog i::after { content: ""; position: absolute; inset: 0; background: var(--pink); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 300ms linear; }
.ts-prog i.is-done { --p: 1; }
.ts-prog i.is-queued::after { --p: 1; opacity: 0.35; }
.ts-prog.is-rest { height: 1px; }
.ts-prog.is-rest i { background: var(--ts-line); }
.ts-prog.is-rest i::after { display: none; }
.ts-status { position: absolute; left: 0; right: 0; top: 54px; height: 38px; display: flex; align-items: center; gap: 10px; padding: 0 20px; font-size: 12.5px; box-shadow: inset 0 -1px 0 var(--ts-line); }
.ts-status em { font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--ts-t3); }
.ts-status b { margin-left: auto; font-weight: 600; }
.ts-feed { position: absolute; left: 0; right: 0; top: 92px; bottom: 116px; padding: 0 20px 20px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.ts-feed.is-top { justify-content: flex-start; padding-top: 24px; }
.ts-feed > * { flex: none; }
.ts-feed > * + * { margin-top: 20px; }
.ts-you { align-self: flex-end; max-width: 292px; padding: 10px 14px; border-radius: 16px 16px 6px 16px; background: var(--ts-raised); font-size: 13px; line-height: 19px; letter-spacing: -0.003em; }
.ts-tino .tw-who, .ts-tino b.who { display: block; font-size: 12px; font-weight: 600; line-height: 16px; }
.ts-tino p { margin: 4px 0 0; font-size: 13px; line-height: 20px; }
.ts-day { display: flex; align-items: center; gap: 12px; font-size: 11px; line-height: 14px; color: var(--ts-t3); }
.ts-day::before, .ts-day::after { content: ""; flex: 1; height: 1px; background: var(--ts-line); }
.ts-changes { border-radius: 12px; background: rgba(255, 255, 255, 0.035); box-shadow: inset 0 0 0 1px var(--ts-line); }
.ts-chg { position: relative; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 16px; font-size: 12.5px; box-shadow: inset 0 -1px 0 var(--ts-line); }
.ts-chg:last-child { box-shadow: none; }
.ts-chg b { font-weight: 600; }
.ts-chg span { color: var(--ts-t2); }
.ts-chg em { margin-left: auto; font-style: normal; font-weight: 500; }
.ts-chg[data-tino-line]::after { left: 0; top: 10px; bottom: 10px; }
.ts-chg.is-kept em { color: var(--ts-t3); font-weight: 400; }
.ts-ref { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.035); }
.ts-ref .tw-thumb { width: 48px; height: 27px; box-shadow: 0 0 0 0.5px var(--ts-line-2); border-radius: 4px; }
.ts-ref b { display: block; font-size: 12.5px; font-weight: 500; line-height: 16px; }
.ts-ref small { display: block; font-size: 11.5px; line-height: 15px; color: var(--ts-t3); }
.ts-file { align-self: flex-end; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.035); box-shadow: inset 0 0 0 1px var(--ts-line); font-size: 12px; }
.ts-file em { font-style: normal; color: var(--ts-t3); }
.ts-ask { position: absolute; left: 16px; right: 16px; bottom: 16px; height: 84px; border-radius: 14px; background: var(--ts-field); box-shadow: inset 0 0 0 1px var(--ts-line-2); padding: 13px 14px; font-size: 13px; color: var(--ts-t3); }
.ts-ask-text.is-typed { color: var(--ts-t1); }
.ts-ask-row { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 4px; color: var(--ts-t2); }
.ts-ask-row .ic { width: 28px; height: 28px; padding: 6px; }
.ts-ask-row .ts-send { margin-left: 0; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, 0.10); color: var(--ts-t3); display: inline-flex; align-items: center; justify-content: center; }
.ts-ask-row .ts-send .ic { padding: 0; width: 16px; height: 16px; }
.ts-ask-row > span.sp { margin-left: auto; }

/* The pointer (macOS arrow), for compositions */
.ui-pointer { position: absolute; width: 22px; height: 24px; z-index: 30; pointer-events: none; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.45)); transition: transform 500ms var(--ui-travel); }

/* Canvas selection (yours: white) and a canvas object Tino changed */
.ts-sel { position: absolute; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85); }
.ts-sel i { position: absolute; width: 6px; height: 6px; background: #F5F5F7; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55); border-radius: 1px; margin: -3px 0 0 -3px; }
.ts-under { position: absolute; height: 2px; border-radius: 1px; background: var(--pink); transform-origin: left; transition: transform 240ms var(--ui-out), opacity 240ms ease; }
.ts-range.is-off, .ts-under.is-off { transform: scaleX(0); }
.ts-range.is-tino-kept, .ts-under.is-tino-kept { opacity: 0; }
.ts-range.is-tino-queued, .ts-under.is-tino-queued { opacity: 0.35; }

/* Deck studio variant: rail (180) | stage | inspector | panel; builds below */
.ts.is-deck .ts-viewer { left: 180px; width: 680px; }
.ts.is-deck .ts-frame { left: 28px; top: 151px; width: 624px; height: 351px; background: #EEE7DC; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.10), 0 18px 48px rgba(0, 0, 0, 0.55); }
.ts.is-deck .ts-lower { left: 180px; width: 1020px; }
.ts-rail { position: absolute; left: 0; top: 0; width: 180px; height: 1000px; background: var(--ts-ground); box-shadow: inset -1px 0 0 var(--ts-line); padding-top: 60px; overflow: hidden; }
.ts-rail ol { list-style: none; margin: 0; padding: 0 12px 0 30px; }
.ts-rail li { position: relative; margin-bottom: 14px; }
.ts-rail li > span { position: absolute; left: -18px; top: 0; font-size: 11px; color: var(--ts-t3); font-variant-numeric: tabular-nums; }
.ts-rail li .sl { width: 136px; border-radius: 3px; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.14); }
.ts-rail li.is-on .sl { box-shadow: 0 0 0 2px var(--ts-t1), 0 0 0 4px var(--ts-ground); }
.ts-rail li.is-on > span { color: var(--ts-t1); font-weight: 600; }
.ts-rail li .sl[data-tino-line]::after { left: 0; right: 0; bottom: 0; top: auto; z-index: 2; }
.ts-rail-foot { position: absolute; left: 0; right: 1px; bottom: 0; height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 16px; font-size: 12px; color: var(--ts-t2); box-shadow: inset 0 1px 0 var(--ts-line); background: var(--ts-ground); }
.ts.is-deck .ts-mode { left: 84px; }
.ts.is-deck .ts-transport { left: 500px; }

/* ================================================================ Library */
.tw-lib { position: absolute; inset: 0; }
.lib-h { position: absolute; left: 48px; top: 74px; }
.lib-h h4 { margin: 0; font-size: 24px; font-weight: 600; line-height: 30px; letter-spacing: -0.02em; }
.lib-h p { margin: 4px 0 0; font-size: 13px; line-height: 18px; color: #6B6B73; }
.lib-h p i { font-style: normal; color: #A1A1A8; padding: 0 2px; }
.lib-tools { position: absolute; right: 48px; top: 82px; display: flex; gap: 12px; align-items: center; z-index: 6; }
.lib-search { position: relative; width: 300px; height: 32px; border-radius: 8px; background: #FFFFFF; box-shadow: inset 0 0 0 1px #DADADF; display: flex; align-items: center; gap: 7px; padding: 0 8px 0 10px; font-size: 13px; color: #A1A1A8; white-space: nowrap; letter-spacing: -0.005em; }
.lib-search.is-on { box-shadow: inset 0 0 0 1px #C9C9CF, 0 0 0 3.5px rgba(17, 17, 20, 0.07); color: #111114; }
.lib-search .ic { color: #6B6B73; width: 14px; height: 14px; }
.lib-search-text { flex: 1; min-width: 0; overflow: hidden; }
.lib-caret { display: inline-block; width: 1.5px; height: 16px; background: #111114; vertical-align: -3px; margin-left: 1px; animation: ui-blink 1s steps(1) infinite; }
@keyframes ui-blink { 50% { opacity: 0; } }
.lib-split { position: absolute; left: 0; right: 0; top: 148px; bottom: 0; box-shadow: inset 0 1px 0 var(--tw-line); }
.lib-list { position: absolute; left: 0; top: 0; bottom: 0; width: 320px; box-shadow: inset -1px 0 0 var(--tw-line); padding: 12px 12px 0; }
.lib-proj { display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 12px; border-radius: 10px; }
.lib-proj.is-on { background: var(--tw-side); }
.lib-proj .lib-art { width: 48px; height: 48px; flex: none; border-radius: 6px; background: #2E2924 center / cover no-repeat; box-shadow: inset 0 0 0 0.5px rgba(17, 17, 20, 0.14); }
.lib-proj b { display: block; font-size: 14px; font-weight: 600; line-height: 18px; letter-spacing: -0.01em; }
.lib-proj small { display: block; margin-top: 2px; font-size: 12px; line-height: 16px; color: #6B6B73; }
.lib-proj > div { flex: 1; min-width: 0; }
.lib-proj time { align-self: flex-start; margin-top: 14px; font-size: 12px; color: #6B6B73; white-space: nowrap; }
.lib-detail { position: absolute; left: 360px; right: 40px; top: 0; bottom: 0; padding-top: 26px; }
.lib-detail h5 { margin: 0; font-size: 32px; font-weight: 600; line-height: 40px; letter-spacing: -0.022em; }
.lib-detail > p { margin: 6px 0 0; font-size: 15px; line-height: 22px; color: #46464C; }
.lib-acts { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.lib-acts .ub-ink { font-weight: 600; padding: 0 22px; }
.lib-kit { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px 0 7px; border-radius: 13px; background: var(--tw-side); font-size: 12px; font-weight: 500; color: #46464C; white-space: nowrap; }
.lib-kit .tw-kit { width: 14px; height: 14px; }
.lib-path { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #6B6B73; white-space: nowrap; }
.lib-path .ic { width: 14px; height: 14px; }
.lib-sh { display: flex; align-items: baseline; gap: 8px; margin: 34px 0 10px; font-size: 13px; line-height: 18px; }
.lib-sh b { font-weight: 600; letter-spacing: -0.01em; }
.lib-sh em { font-style: normal; font-family: var(--font-mono); font-size: 12px; color: #6B6B73; }
.lib-sh span { margin-left: auto; font-size: 12px; color: #6B6B73; }
.lib-works { display: grid; grid-template-columns: repeat(4, 216px); gap: 0 32px; }
.lib-work .tw-tile-art { height: 136px; background: #F5F5F7; box-shadow: inset 0 0 0 1px #EFEFF2; }
.lib-work .tw-tile-art img, .lib-work .tw-tile-art .sl { max-width: 192px; max-height: 108px; }
.lib-work .tw-tile-art .sl { width: 192px; }
.lib-work .tw-tile-cap { padding-top: 9px; }
.lib-row2 { display: grid; grid-template-columns: 424px 1fr; gap: 32px; }
.lib-stills { display: flex; gap: 16px; }
.lib-still { width: 120px; }
.lib-still i { display: block; height: 120px; border-radius: 8px; background: #2E2924 center / cover no-repeat; box-shadow: inset 0 0 0 0.5px rgba(17, 17, 20, 0.14); }
.lib-still span { display: block; margin-top: 8px; font-size: 12px; line-height: 16px; color: #46464C; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-file { display: flex; align-items: center; gap: 10px; height: 36px; font-size: 13px; line-height: 18px; white-space: nowrap; box-shadow: inset 0 -1px 0 var(--tw-line); }
.lib-file .ic { width: 15px; height: 15px; color: #6B6B73; }
.lib-file > span { letter-spacing: -0.005em; }
.lib-file small { font-size: 12px; color: #6B6B73; }
.lib-file .mono { margin-left: auto; width: 76px; text-align: right; font-family: var(--font-mono); font-size: 12px; color: #46464C; }
.lib-file time { width: 72px; text-align: right; font-size: 12px; color: #6B6B73; }
/* Search results: a popover under the field */
.lib-results { position: absolute; right: 48px; top: 124px; width: 430px; border-radius: 12px; background: rgba(255, 255, 255, 0.98); box-shadow: 0 0 0 0.5px rgba(17, 17, 20, 0.16), 0 2px 6px rgba(17, 17, 20, 0.06), 0 16px 40px rgba(17, 17, 20, 0.14); padding: 14px 0 0; z-index: 7; transform-origin: top right; }
.lib-results.is-rising { animation: ui-rise 240ms var(--ui-out) both; }
.lib-rh { padding: 0 16px; font-size: 11px; font-weight: 600; line-height: 16px; letter-spacing: 0.01em; color: #6B6B73; }
.lib-best { padding: 6px 16px 14px; box-shadow: inset 0 -1px 0 var(--tw-line); }
.lib-best-t { display: flex; align-items: baseline; gap: 6px; font-size: 13px; line-height: 18px; white-space: nowrap; }
.lib-best-t b { font-weight: 600; letter-spacing: -0.01em; }
.lib-best-t small { font-size: 12px; color: #6B6B73; }
.lib-best-t em { margin-left: auto; font-style: normal; font-family: var(--font-mono); font-size: 12px; color: #46464C; }
.lib-shots { display: flex; gap: 6px; margin-top: 8px; }
.lib-shots i { width: 74px; height: 54px; border-radius: 5px; background: #2E2924 center / cover no-repeat; box-shadow: inset 0 0 0 0.5px rgba(17, 17, 20, 0.14); }
.lib-best p { margin: 8px 0 0; font-size: 12px; line-height: 16px; color: #6B6B73; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-from { padding: 12px 8px 8px; box-shadow: inset 0 -1px 0 var(--tw-line); }
.lib-from .lib-rh { padding: 0 8px 6px; }
.lib-hit { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 8px; border-radius: 8px; }
.lib-hit.is-on { background: var(--tw-side); }
.lib-hit .tw-thumb { width: 50px; height: 28px; border-radius: 4px; }
.lib-hit b { display: block; font-size: 13px; font-weight: 500; line-height: 17px; }
.lib-hit small { display: block; font-size: 12px; line-height: 15px; color: #6B6B73; }
.lib-results > p { margin: 0; padding: 12px 16px 14px; font-size: 11px; line-height: 15px; color: #6B6B73; }

/* ============================================================ Phone flow
   The window drops its chrome and reflows at real size (390 wide phones).   */
@media (max-width: 733px) {
  .ui[data-phone="flow"] { border-radius: 20px; }
  .ui[data-phone="flow"] .tw { display: block; }
  .ui[data-phone="flow"] .tw-side, .ui[data-phone="flow"] .tw-pane, .ui[data-phone="flow"] .tw-lights { display: none; }
  .ui[data-phone="flow"] .tw-main { height: auto; overflow: visible; }
  .ui[data-phone="flow"] .tw-bar { position: relative; height: 48px; }
  .ui[data-phone="flow"] .tw-bar-end { top: 10px; right: 10px; }
  .ui[data-phone="flow"] .tw-convo { position: relative; top: auto; }
  .ui[data-phone="flow"] .tw-feed { position: relative; left: auto; width: auto; margin: 0; padding: 12px 14px 0; }
  .ui[data-phone="flow"] .tw-feed > .is-desk { display: none; }
  .ui[data-phone="flow"] .tw-field { position: relative; left: auto; bottom: auto; width: auto; margin: 16px 14px 14px; height: 52px; padding: 0 12px 0 14px; border-radius: 16px; }
  .ui[data-phone="flow"] .tw-you { max-width: 86%; font-size: 15px; }
  .ui[data-phone="flow"] .tw-hint { display: none; }
  .ui[data-phone="flow"] .uc-flip { display: none; }
  /* Home */
  .ui[data-phone="flow"] .tw-home { position: relative; inset: auto; padding: 28px 14px 18px; }
  .ui[data-phone="flow"] .tw-home > * { position: relative; left: auto; top: auto; right: auto; width: auto; margin: 0; }
  .ui[data-phone="flow"] .tw-home-h { font-size: 24px; line-height: 30px; }
  .ui[data-phone="flow"] .tw-prompt { margin-top: 18px; min-height: 0; padding: 14px 14px 54px; }
  .ui[data-phone="flow"] .tw-prompt-text { font-size: 16px; line-height: 24px; }
  .ui[data-phone="flow"] .tw-prompt-tools { left: 6px; right: 8px; bottom: 8px; }
  .ui[data-phone="flow"] .tw-prompt-tools .tw-opt:has(+ .tw-opt) { display: none; }
  .ui[data-phone="flow"] .tw-opt.is-desk { display: none; }
  .ui[data-phone="flow"] .tw-home-note { margin-top: 12px; }
  .ui[data-phone="flow"] .tw-recent { margin-top: 28px; }
  .ui[data-phone="flow"] .tw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .ui[data-phone="flow"] .tw-grid > :nth-child(n+5) { display: none; }
  .ui[data-phone="flow"] .tw-tile-art { height: auto; aspect-ratio: 248 / 140; }
  .ui[data-phone="flow"] .tw-tile-art img, .ui[data-phone="flow"] .tw-tile-art .sl { max-width: 84%; max-height: 88%; }
  /* Library */
  .ui[data-phone="flow"] .tw-lib { position: relative; inset: auto; padding: 18px 14px 18px; }
  .ui[data-phone="flow"] .tw-lib > * { position: relative; left: auto; right: auto; top: auto; }
  .ui[data-phone="flow"] .lib-tools { margin-top: 14px; }
  .ui[data-phone="flow"] .lib-search { width: 100%; }
  .ui[data-phone="flow"] .lib-tools .ub { display: none; }
  .ui[data-phone="flow"] .lib-results { width: auto; margin-top: 10px; }
  .ui[data-phone="flow"] .lib-shots i { flex: 1; width: auto; height: 46px; }
  .ui[data-phone="flow"] .lib-best p { white-space: normal; }
  .ui[data-phone="flow"] .lib-split { position: relative; inset: auto; margin-top: 18px; box-shadow: none; }
  .ui[data-phone="flow"] .lib-list { display: none; }
  .ui[data-phone="flow"] .lib-detail { position: relative; left: auto; right: auto; padding-top: 0; }
  .ui[data-phone="flow"] .lib-detail h5 { font-size: 26px; line-height: 32px; }
  .ui[data-phone="flow"] .lib-acts { flex-wrap: wrap; gap: 10px; }
  .ui[data-phone="flow"] .lib-path { display: none; }
  .ui[data-phone="flow"] .lib-works { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .ui[data-phone="flow"] .lib-work .tw-tile-art { height: auto; aspect-ratio: 216 / 136; }
  .ui[data-phone="flow"] .lib-work .tw-tile-art img, .ui[data-phone="flow"] .lib-work .tw-tile-art .sl { max-width: 84%; max-height: 80%; }
  .ui[data-phone="flow"] .lib-row2 { grid-template-columns: 1fr; gap: 0; }
  .ui[data-phone="flow"] .lib-stills { gap: 10px; }
  .ui[data-phone="flow"] .lib-still { flex: 1; width: auto; }
  .ui[data-phone="flow"] .lib-still i { height: auto; aspect-ratio: 1; }
  .ui[data-phone="flow"] .lib-file time { display: none; }
  .ui[data-phone="flow"] .lib-file > span { overflow: hidden; text-overflow: ellipsis; }
  .ui[data-phone="flow"] .is-desk { display: none; }
}

/* ========================================================= Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ui *, .uc * { transition-duration: 0ms !important; }
  .ui-wm.is-thinking .ui-i { animation: none; opacity: 0.6; }
  .lib-caret { animation: none; }
  .tw-ask.is-rising, .lib-results.is-rising { animation-duration: 1ms; }
  .ui-listen > .ui-dot-in { transform: none; box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 3.25px var(--pink); }
}
.is-shot .ui *, .is-shot .uc * { transition: none !important; }
