/* ─────────────────────────────────────────────────────────────────────────────
   SCARLETT — RED LACQUER (dir-8, chosen by Daniella 9.10.2026). Loaded LAST,
   scoped to html.lacquer (on top of html.light, whose structure it reuses).

   "She's typing": a lock screen at 1:07 on classic red nail lacquer #DA2B2D,
   coral only where the lamp hits (#E3443A), all type black, emphasis white,
   one cut through the tee when her reply lands. Black-tee portrait first,
   white-tee + chain on the second screen ("She's still up.").

   Daniella's note on dir-8: the diagonal light streak read too strong on the
   second screen → here it is half the opacity and twice as wide, with soft
   multi-stop edges. The reflection pools behind small type stay (black on the
   pool #EC3B3A ≈ 4.9:1); every block was re-measured on rendered pixels.
   ───────────────────────────────────────────────────────────────────────────── */
html.lacquer {
  --lacquer: #DA2B2D;        /* the body of the coat — pure red, slightly cool */
  --lacquer-hi: #E3443A;     /* where the lamp hits the wet coat, behind her */
  --lacquer-pool: #EC3B3A;   /* reflection pools the small print sits in — black ≥4.5:1 */
  --lacquer-pool-rgb: 236,59,58;
  --lacquer-mid: #C9202A;    /* the coat turning away */
  --lacquer-deep: #A8171F;   /* the edge of the nail: rich, never oxblood */
  --lacquer-edge: #98131B;
  --lq-ink: #0B0B0B;
  --lq-white: #FFFFFF;
  --lq-hair: rgba(11,11,11,.26);
  --lq-serif: 'Cormorant', 'EB Garamond', Georgia, serif;
  --lq-sans: 'Hanken Grotesk', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --lq-serif-he: 'Frank Ruhl Libre', 'Cormorant', Georgia, serif;
  --lq-sans-he: 'Heebo', 'Hanken Grotesk', Arial, sans-serif;
  --lq-serif-ar: 'Noto Naskh Arabic', 'Cormorant', Georgia, serif;
  --lq-sans-ar: 'Noto Sans Arabic', 'Hanken Grotesk', Arial, sans-serif;

  /* the conversation reuses the light structure — its tokens become lacquer */
  --g-face: #E3443A;  --g-face-rgb: 227,68,58;
  --ground: #DA2B2D;  --ground-rgb: 218,43,45;
  --ground-glow: #E3443A; --ground-mid: #C9202A; --ground-deep: #A8171F;
  --paper: #EC3B3A;   --paper-rgb: 236,59,58;
  --veil-rgb: 236,59,58;
  --card: #FFF8F6;
  --ink: #0B0B0B;     --ink-rgb: 11,11,11;
  --ink-soft: #0B0B0B; --ink-quiet: #0B0B0B;     /* hierarchy from size/weight, never a lighter grey on red */
  --white: #0B0B0B;
  --bronze: #0B0B0B;  --bronze-rgb: 11,11,11;
  --gold: #0B0B0B;    --gold-dim: rgba(11,11,11,.5);
  --accent: #0B0B0B;  --accent-rgb: 11,11,11;
  --hair: rgba(11,11,11,.26);
  --text-dim: #0B0B0B;
  --sans: var(--lq-sans);
  --serif: var(--lq-serif);
  --serif-he: var(--lq-serif-he);
}
html.lacquer[data-lq-script="ar"] { --serif-he: var(--lq-serif-ar); }
html.lacquer, html.lacquer body {
  background:
    linear-gradient(to bottom, var(--lacquer-pool) 0, var(--lacquer-pool) 96px, rgba(236,59,58,0) 170px),   /* the masthead's strip of lamp light */
    radial-gradient(90% 49% at 30% 0%, var(--lacquer-pool) 0, rgba(236,59,58,0) 100%),
    radial-gradient(98% 88% at 34% 46%, var(--lacquer) 0, var(--lacquer) 64%, var(--lacquer-mid) 80%, var(--lacquer-deep) 100%) fixed;
  background-color: var(--lacquer);
  color: var(--lq-ink);
}
html.lacquer ::selection { background: var(--lq-ink); color: var(--lq-white); }

/* the old door is logic only here — the lacquer entrance (#lq) is the door */
html.lacquer #scarlett-consent-gate { display: none !important; }
html.lacquer.lq-open #scarlett-masthead,
html.lacquer.lq-open #scarlett-legal-footer { display: none !important; }
#lq { display: none; }
html.lacquer #lq { display: block; }
html.lacquer #lq[hidden] { display: none !important; }

/* ═══════════════════════ THE ENTRANCE (dir-8) ═══════════════════════ */
#lq { position: fixed; inset: 0; z-index: 10003; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain; background: var(--lacquer-mid); color: var(--lq-ink);
  font-family: var(--lq-sans); -webkit-font-smoothing: antialiased; transition: opacity .6s ease; }
#lq.leaving { opacity: 0; pointer-events: none; }
#lq * { box-sizing: border-box; margin: 0; padding: 0; }
#lq a { color: inherit; text-decoration: none; }
#lq a:focus-visible, #lq .lq-cta:focus-visible, #lq select:focus-visible { outline: 2px solid var(--lq-ink); outline-offset: 3px; border-radius: 4px; }
#lq .cap { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }

/* lacquer ground: red coat + reflection pools (where the small print sits) + edge depth */
#lq .lac { position: relative; isolation: isolate;
  background:
    radial-gradient(70% 30% at 26% 100%, var(--lacquer-pool) 0, var(--lacquer-pool) 80%, rgba(236,59,58,0) 100%),
    radial-gradient(90% 49% at 30% 0%, var(--lacquer-pool) 0, var(--lacquer-pool) 80%, rgba(236,59,58,0) 100%),
    radial-gradient(52% 56% at 74% 30%, var(--lacquer-hi) 0, var(--lacquer-hi) 30%, rgba(227,68,58,0) 100%),
    radial-gradient(98% 88% at 34% 46%, var(--lacquer) 0, var(--lacquer) 64%, var(--lacquer-mid) 78%, var(--lacquer-deep) 92%, var(--lacquer-edge) 104%); }
/* the gloss — SOFTER than dir-8: half the opacity (peak .13 instead of .26), twice the width, feathered edges */
#lq .lac::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(64% 30% at 24% -4%, rgba(255,240,238,.16), rgba(255,240,238,0) 100%),
    linear-gradient(116deg, rgba(255,240,238,0) 31%, rgba(255,240,238,.025) 37%, rgba(255,242,240,.075) 42%, rgba(255,246,244,.13) 47%, rgba(255,242,240,.075) 52%, rgba(255,240,238,.025) 57%, rgba(255,240,238,0) 63%); }
#lq .lac::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ── screen 1: the lock screen ── */
#lq .lq-screen { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); overflow: hidden; }
#lq .lq-status { position: absolute; z-index: 6; left: 0; right: 0; top: 0; display: flex; align-items: baseline; justify-content: space-between; padding: max(26px, env(safe-area-inset-top)) 48px 0; }
#lq .lq-brand { display: flex; align-items: baseline; gap: 14px; }
#lq .lq-brand b { font-family: var(--lq-serif); font-weight: 500; font-size: 28px; letter-spacing: .01em; }
#lq .lq-brand span { font-size: 12px; letter-spacing: .06em; font-weight: 500; }
#lq .lq-unsaid { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; border-bottom: 1px solid rgba(11,11,11,.5); padding-bottom: 3px; transition: border-color .3s; }
#lq .lq-unsaid:hover { border-color: var(--lq-ink); }

#lq .lq-her { position: relative; grid-column: 2; grid-row: 1; overflow: hidden; isolation: isolate;
  /* EDITORIAL (10.10.2026): no fade of the body into the coat. The black tee leaves the frame through
     hard edges only — the right edge of the screen and the bottom of this column, which is set to fall
     at 84% of the photograph (below that the left sleeve would meet the photo's own edge). */
  --pw: calc(min(40.5vw, 57vh) * 1.2954); --ph: calc(var(--pw) * 1.351);
  --pt: min(22vh, calc(100vh - var(--ph) * .84));
  align-self: start; height: calc(var(--pt) + var(--ph) * .84); }
#lq .lq-glow { position: absolute; z-index: 0; left: 50%; top: 6vh; width: 120%; height: 90vh; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(236,62,58,.40), rgba(236,62,58,0)); }
#lq .lq-her::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(34% 62% at 100% 72%, rgba(124,10,20,.30), rgba(124,10,20,0) 100%), radial-gradient(60% 40% at 100% 100%, rgba(124,10,20,.22), rgba(124,10,20,0) 100%); }
#lq .lq-clock { position: absolute; z-index: 2; left: 0; right: 0; top: calc(var(--pt) - 4.3vh); text-align: center; pointer-events: none; direction: ltr; }
#lq .lq-clock .d { display: block; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }
#lq .lq-clock .t { display: block; font-family: 'Cormorant', Georgia, serif; font-weight: 500; font-size: clamp(116px,14.6vw,226px); line-height: .74; letter-spacing: -.02em; color: var(--lq-white); margin-top: -.16em; }
#lq .lq-pl { position: absolute; z-index: 3; left: 50%; top: var(--pt); width: var(--pw); aspect-ratio: 1228/1659; margin-left: calc(var(--pw) / -2);
  filter: drop-shadow(0 34px 60px rgba(96,6,14,.30)); }
#lq .lq-pl img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* the one cut (from dir-4): through the black tee at 71% — far below eyes and mouth */
#lq .lq-pl .up { clip-path: inset(0 0 28.6% 0); }
#lq .lq-pl .lo { clip-path: inset(71% 0 0 0); transform: translateX(0); transition: transform 1.05s cubic-bezier(.77,0,.18,1); }
#lq .lq-pl .seam { position: absolute; left: 0; right: 0; top: 71%; height: 1px; background: var(--lq-white); transform: scaleX(0); transform-origin: 0 50%; opacity: 0;
  transition: transform .7s cubic-bezier(.77,0,.18,1), opacity .9s ease; }
#lq .lq-pl.cutting .lo { transform: translateX(-6.5%); }
#lq .lq-pl.cutting .seam { transform: scaleX(1); opacity: .9; }

/* ── the thread ── */
#lq .lq-thread { position: relative; z-index: 5; grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: flex-end;
  padding-block: 112px 34px; padding-inline: 48px 40px; min-height: 100vh; min-height: 100svh; max-width: 820px; }
#lq .lq-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--lq-hair); padding-bottom: 12px; margin-bottom: 26px; }
#lq .lq-them { align-self: flex-end; max-width: min(430px,86%); background: rgba(255,255,255,.94); border-radius: 22px 22px 6px 22px; padding: 15px 20px 16px; font-size: 17px; line-height: 1.5;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 4px 14px rgba(110,8,16,.09); }
#lq .lq-receipt { align-self: flex-end; margin-top: 10px; font-size: 11px; letter-spacing: .06em; font-weight: 500; }
#lq .lq-who { display: flex; align-items: center; gap: 10px; margin: 28px 0 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
#lq .lq-who i { width: 7px; height: 7px; border-radius: 50%; background: var(--lq-white); display: block; }
#lq .lq-slot { position: relative; }
#lq .lq-reply { font-family: var(--lq-serif); font-weight: 500; font-size: clamp(26px,2.45vw,36px); line-height: 1.22; letter-spacing: -.003em; max-width: 660px; }
#lq em { font-style: italic; color: var(--lq-white); }
#lq .lq-typing { position: absolute; inset-inline-start: 0; top: 4px; display: flex; align-items: center; gap: 12px; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
#lq .lq-typing.on { opacity: 1; }
#lq .lq-typing .dots { display: flex; gap: 6px; background: rgba(255,255,255,.94); border-radius: 18px; padding: 13px 16px; }
#lq .lq-typing .dots b { width: 7px; height: 7px; border-radius: 50%; background: var(--lq-ink); display: block; animation: lq-dot 1.1s infinite ease-in-out; }
#lq .lq-typing .dots b:nth-child(2) { animation-delay: .16s; } #lq .lq-typing .dots b:nth-child(3) { animation-delay: .32s; }
#lq .lq-typing span { font-size: 12px; letter-spacing: .04em; font-style: italic; font-weight: 500; }
@keyframes lq-dot { 0%,60%,100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
#lq .lq-head { font-family: var(--lq-serif); font-weight: 500; font-size: clamp(50px,5.4vw,84px); line-height: .94; letter-spacing: -.022em; margin-top: 2px; max-width: 780px; }
#lq .lq-head-slot { margin-top: 30px; }

/* the composer = the way in (a real field: what is typed here becomes the first message) */
#lq .lq-composer { margin-top: 30px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(11,11,11,.5); border-radius: 999px;
  padding-block: 7px; padding-inline: 24px 7px; max-width: 560px; background: rgba(255,240,232,.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
#lq .lq-field { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--lq-ink); font: 500 15px/1.4 var(--lq-sans); outline: none; caret-color: var(--lq-ink); padding: 8px 0; }
#lq .lq-field::placeholder { color: var(--lq-ink); opacity: 1; }
#lq .lq-cta { flex: none; display: inline-flex; align-items: center; gap: 10px; background: var(--lq-ink); color: var(--lq-white); font: 600 15px/1 var(--lq-sans); letter-spacing: .01em;
  border: 0; border-radius: 999px; padding-block: 14px; padding-inline: 24px 22px; cursor: pointer; transition: background .3s, transform .3s; box-shadow: 0 1px 0 rgba(255,255,255,.14) inset; }
#lq .lq-cta svg { width: 15px; height: 15px; }
#lq .lq-cta:hover { background: #000; }
#lq .lq-cta:active { transform: scale(.98); }
#lq .lq-cta[disabled] { opacity: .75; cursor: progress; }
#lq .lq-dock { margin-top: 30px; max-width: 560px; }
#lq .lq-dock .lq-composer { margin-top: 0; }
#lq .lq-consent { margin-top: 14px; font-size: 12px; font-weight: 500; line-height: 1.5; }
#lq .lq-consent a { border-bottom: 1px solid rgba(11,11,11,.5); }
#lq .lq-dock .lq-safety { margin-top: 8px; padding-top: 0; border-top: 0; }
#lq .lq-safety-more { display: none; }
#lq .lq-under.lq-under-1 { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--lq-hair); }
#lq .lq-under { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 14px; max-width: 560px; font-size: 12px; font-weight: 500; line-height: 1.5; }
#lq .lq-under a, #lq .lq-legal a { border-bottom: 1px solid rgba(11,11,11,.5); }
#lq .lq-free { font-weight: 700; }
#lq .lq-safety { margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--lq-hair); max-width: 560px; font-size: 12px; line-height: 1.55; font-weight: 500; }
#lq .lq-safety b, #lq .lq-safety-2 b { font-weight: 700; }
#lq .lq-lang { margin-top: 14px; max-width: 560px; }
#lq #scarlett-lang-row { margin: 0; text-align: start; }
#lq #scarlett-lang-select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; border-bottom: 1px solid rgba(11,11,11,.5); border-radius: 0;
  color: var(--lq-ink); font: 500 12px/1.4 var(--lq-sans); letter-spacing: .04em; padding: 2px 16px 2px 0; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #0B0B0B 50%), linear-gradient(135deg, #0B0B0B 50%, transparent 50%);
  background-position: calc(100% - 6px) 55%, calc(100% - 2px) 55%; background-size: 4px 4px; background-repeat: no-repeat; }
#lq[dir="rtl"] #scarlett-lang-select { padding: 2px 0 2px 16px; background-position: 6px 55%, 2px 55%; }
#lq #scarlett-lang-select option { color: #0B0B0B; background: #FFF8F6; }

/* ── screen 2: she's still up (white tee, gold chain) ── */
#lq .lq-later { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); min-height: 100vh; overflow: hidden; border-top: 1px solid rgba(11,11,11,.16);
  background:
    radial-gradient(40% 22% at 66% 30%, var(--lacquer-pool) 0, var(--lacquer-pool) 70%, rgba(236,59,58,0) 100%),
    radial-gradient(56% 34% at 68% 72%, var(--lacquer-pool) 0, var(--lacquer-pool) 70%, rgba(236,59,58,0) 100%),
    radial-gradient(64% 70% at 24% 40%, var(--lacquer-hi) 0, rgba(227,68,58,0) 100%),
    radial-gradient(98% 88% at 66% 46%, var(--lacquer) 0, var(--lacquer) 66%, var(--lacquer-mid) 78%, var(--lacquer-deep) 92%, var(--lacquer-edge) 104%); }
#lq .lq-her2 { position: relative; min-height: 100vh; }
#lq .lq-her2::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to right, rgba(124,10,20,.26) 0, rgba(124,10,20,0) 24%), radial-gradient(60% 40% at 0 100%, rgba(124,10,20,.22), rgba(124,10,20,0) 100%); }
#lq .lq-her2 .lq-glow { top: 4vh; height: 92vh; background: radial-gradient(closest-side, rgba(236,62,58,.30), rgba(236,62,58,0)); }
#lq .lq-p2 { position: absolute; left: 0; right: 0; margin: 0 auto; bottom: -14vh; width: min(86%,60vh); aspect-ratio: 768/1344; }
#lq .lq-p2 .arch { position: absolute; left: 0; right: 0; top: 13%; bottom: 0; border-radius: 50% 50% 0 0/32.8% 32.8% 0 0;
  background: linear-gradient(160deg, rgba(255,240,238,.12) 0, rgba(255,240,238,0) 30%), linear-gradient(to bottom, #C41F28 0, #AE1921 60%, #A0161E 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.26), 0 40px 80px rgba(96,6,14,.28); }
#lq .lq-p2 img { position: relative; width: 100%; height: 100%; display: block; filter: drop-shadow(0 24px 40px rgba(84,4,12,.30)); }
#lq .lq-copy { display: flex; flex-direction: column; justify-content: center; padding-block: 96px 64px; padding-inline: 40px 48px; max-width: 640px; }
#lq .lq-online { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
#lq .lq-online i { width: 7px; height: 7px; border-radius: 50%; background: var(--lq-white); display: block; box-shadow: 0 0 0 4px rgba(255,255,255,.22); }
#lq .lq-h2 { font-family: var(--lq-serif); font-weight: 500; font-size: clamp(60px,6.6vw,104px); line-height: .92; letter-spacing: -.024em; margin-top: 18px; }
#lq .lq-lede { font-family: var(--lq-serif); font-style: italic; font-weight: 500; font-size: clamp(22px,1.9vw,28px); line-height: 1.3; margin-top: 22px; max-width: 480px; }
#lq .lq-later .lq-composer { margin-top: 34px; }
#lq .lq-safety-2 { margin-top: 12px; max-width: 560px; font-size: 12px; line-height: 1.55; font-weight: 500; }
#lq .lq-foot { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 14px; border-top: 1px solid var(--lq-hair); max-width: 560px; font-size: 12px; font-weight: 500; }
#lq .lq-foot nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
#lq .lq-foot nav a { border-bottom: 1px solid rgba(11,11,11,.5); }
#lq .lq-social { display: flex; gap: 12px; }
#lq .lq-social a { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border: 1px solid rgba(11,11,11,.5); border-radius: 50%; }

/* ── motion (only when JS adds .play) ── */
#lq.play .lq-her .lq-pl { opacity: 0; transform: scale(1.045); transition: opacity 1.6s ease, transform 2.6s cubic-bezier(.2,.7,.2,1); }
#lq.play .lq-clock { opacity: 0; transform: translateY(10px); transition: opacity 1.4s ease .35s, transform 1.8s cubic-bezier(.2,.7,.2,1) .35s; }
#lq.play .lq-her.on .lq-pl { opacity: 1; transform: none; }
#lq.play .lq-her.on .lq-clock { opacity: 1; transform: none; }
#lq.play .fx { opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
#lq.play .fx.on { opacity: 1; transform: none; }
#lq.play .lq-them.fx { transform: translateY(16px) scale(.97); transform-origin: 100% 100%; }
#lq.play[dir="rtl"] .lq-them.fx { transform-origin: 0 100%; }
#lq.play .lq-them.fx.on { transform: none; }
#lq.play .w { opacity: 0; filter: blur(6px); transform: translateY(.12em); display: inline-block; transition: opacity .45s ease, filter .55s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
#lq.play .w.on { opacity: 1; filter: none; transform: none; }
#lq.play .lq-later .lq-p2 { opacity: 0; transform: translateY(3%) scale(1.03); transition: opacity 1.5s ease, transform 2.2s cubic-bezier(.2,.7,.2,1); }
#lq.play .lq-later.on .lq-p2 { opacity: 1; transform: none; }
#lq.play .lq-later .lx { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
#lq.play .lq-later.on .lx { opacity: 1; transform: none; }
#lq.play .lq-later.on .lx:nth-child(2) { transition-delay: .15s; } #lq.play .lq-later.on .lx:nth-child(3) { transition-delay: .3s; }
#lq.play .lq-later.on .lx:nth-child(4) { transition-delay: .45s; } #lq.play .lq-later.on .lx:nth-child(5) { transition-delay: .55s; }
#lq.play .lq-later.on .lx:nth-child(6) { transition-delay: .65s; } #lq.play .lq-later.on .lx:nth-child(7) { transition-delay: .72s; }

/* ── right-to-left (he, ar, fa, ur): the lock screen and the thread mirror ── */
#lq[dir="rtl"] { --lq-serif: var(--lq-serif-he); --lq-sans: var(--lq-sans-he); }
#lq[dir="rtl"][lang="ar"], #lq[dir="rtl"][lang="fa"], #lq[dir="rtl"][lang="ur"] { --lq-serif: var(--lq-serif-ar); --lq-sans: var(--lq-sans-ar); }
#lq[dir="rtl"] .cap, #lq[dir="rtl"] .lq-who, #lq[dir="rtl"] .lq-online, #lq[dir="rtl"] .lq-unsaid, #lq[dir="rtl"] .lq-brand span { letter-spacing: .02em; }
#lq[dir="rtl"] em, #lq[dir="rtl"] .lq-lede { font-style: normal; }
#lq[dir="rtl"] .lq-head, #lq[dir="rtl"] .lq-h2 { letter-spacing: 0; line-height: 1.08; }
#lq[dir="rtl"] .lq-reply { line-height: 1.38; letter-spacing: 0; }
#lq[dir="rtl"] .lq-them { border-radius: 22px 22px 22px 6px; }
#lq[dir="rtl"] .lq-cta svg { transform: none; }
#lq[dir="rtl"] .lq-pl.cutting .lo { transform: translateX(6.5%); }
#lq[dir="rtl"] .lq-pl .seam { transform-origin: 100% 50%; }
#lq[dir="rtl"] .lq-her::before { background: radial-gradient(34% 62% at 0 72%, rgba(124,10,20,.30), rgba(124,10,20,0) 100%), radial-gradient(60% 40% at 0 100%, rgba(124,10,20,.22), rgba(124,10,20,0) 100%); }
#lq[dir="rtl"] .lq-her2::before { background: linear-gradient(to left, rgba(124,10,20,.26) 0, rgba(124,10,20,0) 24%), radial-gradient(60% 40% at 100% 100%, rgba(124,10,20,.22), rgba(124,10,20,0) 100%); }
#lq[dir="rtl"] .lac::before { background:
    radial-gradient(64% 30% at 76% -4%, rgba(255,240,238,.16), rgba(255,240,238,0) 100%),
    linear-gradient(244deg, rgba(255,240,238,0) 31%, rgba(255,240,238,.025) 37%, rgba(255,242,240,.075) 42%, rgba(255,246,244,.13) 47%, rgba(255,242,240,.075) 52%, rgba(255,240,238,.025) 57%, rgba(255,240,238,0) 63%); }
#lq[dir="rtl"] .lq-screen.lac { background:
    radial-gradient(70% 30% at 74% 100%, var(--lacquer-pool) 0, var(--lacquer-pool) 80%, rgba(236,59,58,0) 100%),
    radial-gradient(90% 49% at 70% 0%, var(--lacquer-pool) 0, var(--lacquer-pool) 80%, rgba(236,59,58,0) 100%),
    radial-gradient(52% 56% at 26% 30%, var(--lacquer-hi) 0, var(--lacquer-hi) 30%, rgba(227,68,58,0) 100%),
    radial-gradient(98% 88% at 66% 46%, var(--lacquer) 0, var(--lacquer) 64%, var(--lacquer-mid) 78%, var(--lacquer-deep) 92%, var(--lacquer-edge) 104%); }
#lq[dir="rtl"] .lq-later { background:
    radial-gradient(40% 22% at 34% 30%, var(--lacquer-pool) 0, var(--lacquer-pool) 70%, rgba(236,59,58,0) 100%),
    radial-gradient(56% 34% at 32% 72%, var(--lacquer-pool) 0, var(--lacquer-pool) 70%, rgba(236,59,58,0) 100%),
    radial-gradient(64% 70% at 76% 40%, var(--lacquer-hi) 0, rgba(227,68,58,0) 100%),
    radial-gradient(98% 88% at 34% 46%, var(--lacquer) 0, var(--lacquer) 66%, var(--lacquer-mid) 78%, var(--lacquer-deep) 92%, var(--lacquer-edge) 104%); }

/* wide, right-to-left: the words mirror, the photograph does not move. The tee leaves through the RIGHT edge
   of the screen (that is where the photo's own edge is) — mirrored into the middle it would end on a vertical cut.
   So the lock screen keeps her on the right; the header and the thread stay right-to-left. (10.10.2026) */
@media (min-width: 901px) {
  #lq[dir="rtl"] .lq-screen { direction: ltr; }
  #lq[dir="rtl"] .lq-status, #lq[dir="rtl"] .lq-thread { direction: rtl; }
  #lq[dir="rtl"] .lq-thread { padding-inline: 40px 48px; }
  #lq[dir="rtl"] .lq-screen.lac { background:
    radial-gradient(70% 30% at 26% 100%, var(--lacquer-pool) 0, var(--lacquer-pool) 80%, rgba(236,59,58,0) 100%),
    radial-gradient(90% 49% at 30% 0%, var(--lacquer-pool) 0, var(--lacquer-pool) 80%, rgba(236,59,58,0) 100%),
    radial-gradient(52% 56% at 74% 30%, var(--lacquer-hi) 0, var(--lacquer-hi) 30%, rgba(227,68,58,0) 100%),
    radial-gradient(98% 88% at 34% 46%, var(--lacquer) 0, var(--lacquer) 64%, var(--lacquer-mid) 78%, var(--lacquer-deep) 92%, var(--lacquer-edge) 104%); }
  #lq[dir="rtl"] .lq-screen.lac::before { background:
    radial-gradient(64% 30% at 24% -4%, rgba(255,240,238,.16), rgba(255,240,238,0) 100%),
    linear-gradient(116deg, rgba(255,240,238,0) 31%, rgba(255,240,238,.025) 37%, rgba(255,242,240,.075) 42%, rgba(255,246,244,.13) 47%, rgba(255,242,240,.075) 52%, rgba(255,240,238,.025) 57%, rgba(255,240,238,0) 63%); }
  #lq[dir="rtl"] .lq-her::before { background: radial-gradient(34% 62% at 100% 72%, rgba(124,10,20,.30), rgba(124,10,20,0) 100%), radial-gradient(60% 40% at 100% 100%, rgba(124,10,20,.22), rgba(124,10,20,0) 100%); }
  #lq[dir="rtl"] .lq-pl.cutting .lo { transform: translateX(-6.5%); }
  #lq[dir="rtl"] .lq-pl .seam { transform-origin: 0 50%; }
}

/* ── tablet / phone ── */
@media (max-width: 900px) {
  /* clip (not hidden): a hidden overflow would become the sticky dock's scroller and pin it to nothing */
  #lq .lq-screen { display: block; overflow: clip; }
  #lq .lq-status { padding: max(18px, env(safe-area-inset-top)) 20px 0; }
  #lq .lq-brand { flex-direction: column; gap: 0; }
  #lq .lq-brand b { font-size: 26px; line-height: 1; }
  #lq .lq-brand span { font-size: 11px; margin-top: 3px; }
  #lq .lq-unsaid { font-size: 10.5px; letter-spacing: .12em; }
  /* EDITORIAL crop: the photograph is 109vw wide and set 8vw to the left (her face lands on the centre line,
     the right shoulder runs off the screen edge), and the column ends on a hard horizontal line at 82% of it —
     the left sleeve has left the frame by then, so the black tee is solid edge to edge down to the line */
  /* 10.10.2026 — the first message must sit whole above the docked bar on every phone. --lq-below (set by
     ScarlettLacquer.fit from the real heights: caption + bubble + dock) is what the thread needs under her; the
     column gives it up by cropping higher (to 78% at most) and then by setting the photograph smaller, its right
     shoulder still running off the screen edge. Never under 300px wide: a landscape phone simply scrolls. */
  #lq .lq-screen, #lq .lq-her { --pt: min(11vh, 78px); --avail: calc(100svh - var(--lq-below, 330px));
    --pw: clamp(min(109vw, 300px), calc((var(--avail) - var(--pt)) / 1.0538), 109vw); --ph: calc(var(--pw) * 1.351);
    --her-h: max(min(calc(var(--pt) + var(--ph) * .82), var(--avail)), calc(var(--pt) + var(--ph) * .74)); }
  #lq .lq-her { min-height: 0; max-height: none; height: var(--her-h); }
  #lq .lq-her .lq-glow { top: 4vh; height: 70vh; }
  #lq .lq-clock { top: calc(var(--pt) - 1.5vh); }
  #lq .lq-clock .d { display: none; }
  #lq .lq-clock .t { font-size: clamp(96px,30vw,150px); }
  #lq .lq-pl { left: max(calc(50% - var(--pw) * .533), calc(100% - var(--pw))); margin-left: 0; }
  /* the thread's box starts at the top of the screen (transparent, over her) so the docked bar may ride up over
     the black band on a short phone instead of being pushed below the fold; its words still start under the line */
  #lq .lq-thread { min-height: 0; margin-top: calc(var(--her-h) * -1); padding: 0 16px 34px; max-width: none; pointer-events: none; }
  #lq .lq-thread > .lq-meta { margin-top: calc(var(--her-h) + 22px); }   /* a margin, not padding: sticky is bound by the content box */
  #lq .lq-thread > * { pointer-events: auto; }
  #lq .lq-meta { margin-bottom: 18px; flex-direction: column; align-items: flex-start; gap: 6px; }
  #lq .lq-meta .cap { font-size: 10px; letter-spacing: .13em; }
  #lq[dir="rtl"] .lq-meta .cap { letter-spacing: .02em; font-size: 11px; }
  #lq .lq-head em { display: block; }
  #lq .lq-them { font-size: 15.5px; padding: 13px 17px 14px; max-width: 92%; }
  #lq .lq-who { margin-top: 22px; }
  #lq .lq-reply { font-size: 27px; line-height: 1.2; }
  #lq[dir="rtl"] .lq-reply { font-size: 25px; line-height: 1.36; }
  #lq .lq-head-slot { margin-top: 24px; }
  #lq .lq-head { font-size: clamp(44px,12.4vw,64px); line-height: .96; }
  #lq[dir="rtl"] .lq-head { font-size: clamp(40px,11.2vw,58px); line-height: 1.1; }
  #lq .lq-composer { padding-block: 5px; padding-inline: 18px 5px; }
  /* the dock: "Talk to her" is on screen from the first second — it rides the bottom edge (thumb reach) on the
     lamp's pool, a hard rule above it, until the thread scrolls up to meet it; then it simply stays in place */
  #lq .lq-dock { position: sticky; bottom: 0; z-index: 8; max-width: none; margin: 26px -16px 0;
    padding: 12px 16px max(12px, env(safe-area-inset-bottom)); background: var(--lacquer-pool); border-top: 1px solid rgba(11,11,11,.32); }
  #lq .lq-dock .lq-composer { background: rgba(255,240,232,.16); backdrop-filter: none; -webkit-backdrop-filter: none; }
  #lq .lq-consent { margin-top: 9px; font-size: 12px; line-height: 1.45; }
  #lq .lq-dock .lq-safety { margin-top: 3px; font-size: 12px; line-height: 1.45; }
  #lq .lq-dock .lq-s1 { display: none; }
  #lq .lq-safety-more { display: block; margin-top: 12px; max-width: 560px; font-size: 12px; line-height: 1.55; font-weight: 500; }
  #lq .lq-under.lq-under-1 { margin-top: 18px; }
  #lq .lq-field { font-size: 16px; }   /* 16px: iOS keeps the zoom where it is */
  #lq .lq-cta { padding-block: 13px; padding-inline: 20px 18px; font-size: 14.5px; }
  #lq .lq-under { flex-direction: column; gap: 8px; }
  #lq .lq-her::before, #lq .lq-her2::before, #lq[dir="rtl"] .lq-her::before, #lq[dir="rtl"] .lq-her2::before { display: none; }
  /* phone: one tall column — the coat centred, its depth only at the top/bottom, never at the side margins where the small print runs */
  #lq .lq-screen.lac, #lq[dir="rtl"] .lq-screen.lac { background:
    radial-gradient(160% 20% at 50% 51.8%, var(--lacquer-pool) 0, var(--lacquer-pool) 60%, rgba(236,59,58,0) 100%),
    radial-gradient(160% 22% at 50% 92%, var(--lacquer-pool) 0, var(--lacquer-pool) 60%, rgba(236,59,58,0) 100%),
    radial-gradient(140% 12% at 50% 0, var(--lacquer-pool) 0, var(--lacquer-pool) 50%, rgba(236,59,58,0) 100%),
    radial-gradient(110% 30% at 50% 22%, var(--lacquer-hi) 0, rgba(227,68,58,0) 100%),
    radial-gradient(150% 70% at 50% 50%, var(--lacquer) 0, var(--lacquer) 72%, var(--lacquer-mid) 86%, var(--lacquer-deep) 100%); }
  /* the streak, softer: peak .12 (dir-8 had .24), spread over ~30% instead of ~17% */
  #lq .lac::before, #lq[dir="rtl"] .lac::before { background:
    radial-gradient(80% 16% at 20% -2%, rgba(255,240,238,.16), rgba(255,240,238,0) 100%),
    linear-gradient(162deg, rgba(255,240,238,0) 47%, rgba(255,240,238,.025) 53%, rgba(255,242,240,.07) 58%, rgba(255,246,244,.12) 62.4%, rgba(255,242,240,.07) 67%, rgba(255,240,238,.025) 72%, rgba(255,240,238,0) 78%); }
  #lq .lq-later.lac::before, #lq[dir="rtl"] .lq-later.lac::before { background:
    radial-gradient(80% 16% at 20% -2%, rgba(255,240,238,.12), rgba(255,240,238,0) 100%),
    linear-gradient(162deg, rgba(255,240,238,0) 22%, rgba(255,240,238,.02) 28%, rgba(255,242,240,.06) 33.5%, rgba(255,246,244,.10) 38.5%, rgba(255,242,240,.06) 43.5%, rgba(255,240,238,.02) 49%, rgba(255,240,238,0) 55%); }
  #lq .lq-later, #lq[dir="rtl"] .lq-later { display: block; min-height: 0; background:
    radial-gradient(160% 50% at 50% 78%, var(--lacquer-pool) 0, var(--lacquer-pool) 66%, rgba(236,59,58,0) 100%),
    radial-gradient(110% 34% at 50% 26%, var(--lacquer-hi) 0, rgba(227,68,58,0) 100%),
    radial-gradient(150% 70% at 50% 50%, var(--lacquer) 0, var(--lacquer) 72%, var(--lacquer-mid) 86%, var(--lacquer-deep) 100%); }
  #lq .lq-her2 { min-height: 0; height: min(134vw,620px); overflow: hidden; }
  #lq .lq-her2 .lq-glow { top: 0; height: 100%; }
  #lq .lq-p2 { bottom: auto; top: 22px; left: 0; right: 0; margin: 0 auto; width: min(82vw,520px); }
  /* the window is cut by the same hard line as the tee: no cast shadow, or the line would read as a step in the coat */
  #lq .lq-p2 .arch { box-shadow: inset 0 0 0 1px rgba(255,255,255,.26); }
  #lq .lq-copy { margin-top: 22px; position: relative; z-index: 2; padding: 0 16px max(40px, env(safe-area-inset-bottom)); max-width: none; }
  #lq .lq-h2 { font-size: clamp(52px,15vw,72px); margin-top: 14px; }
  #lq[dir="rtl"] .lq-h2 { font-size: clamp(46px,13vw,64px); }
  #lq .lq-lede { font-size: 22px; }
  #lq .lq-foot { margin-top: 36px; flex-direction: column; align-items: flex-start; }
}
/* a short phone (iPhone SE, Safari with both toolbars): the caption keeps its first line, the gaps tighten,
   so the first message still sits whole above the docked bar with her face at a readable size */
@media (max-width: 900px) and (max-height: 760px) {
  #lq #lq-when, #lq #lq-receipt { display: none; }
  #lq .lq-meta .cap { color: #000; }   /* the caption lands lower in the coat's darker pool here: pure black keeps 10px caps at AA */
  #lq .lq-thread > .lq-meta { margin-top: calc(var(--her-h) + 16px); margin-bottom: 12px; }
  #lq .lq-screen, #lq .lq-her { --pw: clamp(min(109vw, 270px), calc((var(--avail) - var(--pt)) / 1.0538), 109vw); }
}
@media (max-width: 360px) {
  #lq .lq-field { display: none; } #lq .lq-composer { padding-inline-start: 5px; } #lq .lq-cta { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  #lq *, #lq *::before, #lq *::after { animation: none !important; transition: none !important; }
}

/* ═══════════════════════ THE CONVERSATION, ON LACQUER ═══════════════════════ */
html.lacquer body { font-family: var(--lq-serif); }
/* the face (EDITORIAL, 10.10.2026): the black-tee photograph in the arch window of "She's still up" —
   the tee runs to the window's straight sides and is cut by its flat bottom; nothing dissolves into the coat.
   The window is #scarlett-body itself (overflow hidden + an arch radius); the photograph sits at its foot
   with a breath of window above her hair. --cw = window width, the photo is --cw × 1.351 tall. */
html.lacquer #scarlett-still { object-fit: contain !important; object-position: 50% 100% !important; background: transparent !important; transform: none !important;
  inset: auto !important; left: 0 !important; top: calc(var(--cw) * .081) !important; width: 100% !important; height: calc(var(--cw) * 1.351) !important;
  -webkit-mask-image: none !important; mask-image: none !important; }
html.lacquer #scarlett-body {
  -webkit-mask-image: none !important; mask-image: none !important;
  border-radius: 50% 50% 0 0 / calc(var(--cw) * .5) calc(var(--cw) * .5) 0 0;
  background: linear-gradient(160deg, rgba(255,240,238,.12) 0, rgba(255,240,238,0) 30%), linear-gradient(to bottom, #C41F28 0, #AE1921 60%, #A0161E 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.26);
}
html.lacquer #scarlett-body.state-idle { filter: drop-shadow(0 30px 50px rgba(96,6,14,.28)); }
html.lacquer #scarlett-body.state-listening { filter: brightness(1.03) drop-shadow(0 30px 50px rgba(96,6,14,.28)); }
html.lacquer #scarlett-body.state-thinking { filter: brightness(.97) saturate(.94) drop-shadow(0 30px 50px rgba(96,6,14,.28)); }
html.lacquer #scarlett-body.state-speaking { filter: brightness(1.04) drop-shadow(0 30px 50px rgba(96,6,14,.28)); }
html.lacquer #scarlett-overlay { background: none; }
/* no cinema vignette on the lacquer: the coat's own depth does it, and the small print at the edges stays on the pool */
html.lacquer #scarlett-vignette.state-idle, html.lacquer #scarlett-vignette.state-listening,
html.lacquer #scarlett-vignette.state-thinking, html.lacquer #scarlett-vignette.state-speaking { box-shadow: none; }
html.lacquer #scarlett-aura.thinking { animation-name: none; }

/* wide screens: the window stands in its own column and runs off the bottom of the screen (hard edge);
   the conversation in a reflection pool to its side */
@media (min-aspect-ratio: 1/1) {
  html.lacquer { --cw: min(calc((100vh - 96px) / 1.351), calc(100vw - var(--col) - 4vw)); --face-w: var(--cw); }
  html.lacquer #scarlett-body {
    top: auto !important; bottom: 0 !important; height: min(calc(100vh - 96px), calc(var(--cw) * 1.351)) !important; width: var(--cw) !important;
    left: max(0px, calc((100% - var(--col) - var(--cw)) / 2)) !important; right: auto !important;
  }
}
/* phone: the window in the upper half, cut flat at 80% of the photograph (mid-sleeve, never at the shoulder);
   from that same line down, the conversation on a solid pool — one hard horizontal edge, no red rising over the tee */
@media (max-aspect-ratio: 1/1) {
  html.lacquer { --cw: min(86vw, 43vh); --ct: max(30px, calc(env(safe-area-inset-top) + 18px)); --cut-y: calc(var(--ct) + var(--cw) * 1.162); --face-h: calc(var(--cw) * 1.162); }
  /* while the masthead shows (before the first words, returning visitor) the window starts under it */
  html.lacquer:not(:has(#scarlett-transcript.visible)) { --ct: max(76px, calc(env(safe-area-inset-top) + 60px)); }
  html.lacquer #scarlett-body {
    top: var(--ct) !important; bottom: auto !important; height: calc(var(--cw) * 1.162) !important;
    width: var(--cw) !important; left: calc(50% - var(--cw) / 2) !important; right: auto !important;
  }
  html.lacquer #scarlett-transcript {
    top: var(--cut-y) !important; bottom: 0 !important; height: auto !important; padding-top: 26px !important;
    background: transparent !important; -webkit-mask-image: none !important; mask-image: none !important;
  }
  /* a line scrolling up melts into the pool (an overlay of the pool's own colour) — the pool's edge itself stays hard */
  html.lacquer #scarlett-transcript.visible::before { content: ""; position: sticky; top: -26px; display: block; height: 40px; margin: -26px 0 -14px;
    background: linear-gradient(to bottom, #EC3B3A 0, #EC3B3A 45%, rgba(236,59,58,0) 100%); z-index: 2; pointer-events: none; }
  html.lacquer #scarlett-text-fallback { background: #EC3B3A !important; border-top: 1px solid rgba(11,11,11,.14) !important; }
}

/* masthead on lacquer */
html.lacquer #sm-wordmark { font-family: 'Cormorant', Georgia, serif; font-style: normal; font-weight: 500; font-size: 30px; color: var(--lq-ink); }
html.lacquer #sm-tagline { font-family: var(--lq-sans); font-weight: 500; font-size: 11px; letter-spacing: .06em; text-transform: none; color: var(--lq-ink); margin-top: 6px; }
html.lacquer #sm-unsaid { font: 600 12px var(--lq-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--lq-ink); border-bottom-color: rgba(11,11,11,.5); }

/* the words */
html.lacquer #scarlett-transcript .scarlett-turn,
html.lacquer #scarlett-transcript.visible .scarlett-turn.scarlett { color: var(--lq-ink); }
html.lacquer #scarlett-transcript.visible .scarlett-turn.scarlett { font-family: var(--lq-serif); font-weight: 500; }
@media (min-width: 641px) { html.lacquer #scarlett-transcript.visible .scarlett-turn.scarlett { font-size: 25px; line-height: 1.32; } }
@media (max-width: 640px) { html.lacquer #scarlett-transcript.visible .scarlett-turn.scarlett { font-size: 22px; line-height: 1.32; } }
html.lacquer #scarlett-transcript .scarlett-turn.scarlett::before { color: var(--lq-ink) !important; font: 600 10.5px/1 var(--lq-sans) !important; letter-spacing: .16em !important; }
/* what they write: the white bubble from the lock screen */
html.lacquer #scarlett-transcript .scarlett-turn.user {
  color: var(--lq-ink) !important; font: 400 16px/1.5 var(--lq-sans) !important; background: rgba(255,255,255,.94); border: 0 !important;
  border-radius: 20px 20px 6px 20px; padding: 12px 17px 13px !important; margin-inline-start: auto; width: fit-content; max-width: 86%;
  box-shadow: 0 4px 14px rgba(110,8,16,.09);
}
html.lacquer #scarlett-transcript .scarlett-turn.user[dir="rtl"] { border-radius: 20px 20px 20px 6px; }
html.lacquer #scarlett-transcript .scarlett-turn.user::before { display: none !important; }
html.lacquer #scarlett-transcript .scarlett-turn[dir="rtl"] { font-family: var(--serif-he); }
html.lacquer #scarlett-transcript .scarlett-turn.user[dir="rtl"] { font-family: var(--lq-sans-he) !important; }
html.lacquer .scarlett-opener { color: var(--lq-ink) !important; background: rgba(255,240,232,.16) !important; border: 1px solid rgba(11,11,11,.5) !important; border-radius: 999px !important;
  font: 500 14px/1.2 var(--lq-sans) !important; padding: 10px 16px !important; }
html.lacquer .scarlett-opener:hover, html.lacquer .scarlett-opener:focus-visible { background: rgba(11,11,11,.08) !important; border-color: var(--lq-ink) !important; }
html.lacquer .scarlett-share-btn { color: rgba(11,11,11,0); }
html.lacquer .scarlett-turn.scarlett:hover .scarlett-share-btn, html.lacquer .scarlett-share-btn:focus { color: var(--lq-ink); }
@media (hover: none) { html.lacquer .scarlett-share-btn { color: var(--lq-ink); } }
html.lacquer #scarlett-invite-line { font-family: var(--lq-serif) !important; }
html.lacquer #scarlett-invite-line a, html.lacquer #scarlett-ask-cta, html.lacquer #scarlett-voice-offer { color: var(--lq-ink) !important; text-decoration-color: rgba(11,11,11,.55) !important; }
html.lacquer #scarlett-voice-reassure, html.lacquer #scarlett-msg-counter, html.lacquer #scarlett-status, html.lacquer #scarlett-mode-toggle { color: var(--lq-ink) !important; }
html.lacquer #scarlett-msg-counter { font: 600 11px/1 var(--lq-sans); letter-spacing: .08em; }

/* the composer: the same pill as the door */
html.lacquer #scarlett-text-input { background: rgba(255,240,232,.16) !important; border: 1px solid rgba(11,11,11,.5) !important; border-radius: 26px !important; color: var(--lq-ink) !important;
  font: 500 16px/1.45 var(--lq-sans) !important; }
html.lacquer #scarlett-text-input::placeholder { color: var(--lq-ink) !important; opacity: 1; }
html.lacquer #scarlett-text-input:focus { border-color: var(--lq-ink) !important; }
html.lacquer #scarlett-text-send { background: var(--lq-ink) !important; color: var(--lq-white) !important; border: 0 !important; border-radius: 50% !important; }
html.lacquer #scarlett-text-send:hover { background: #000 !important; }
html.lacquer #scarlett-voice-float, html.lacquer #scarlett-mic-btn, html.lacquer #scarlett-reconnect-btn { color: var(--lq-ink) !important; border-color: rgba(11,11,11,.5) !important; background: rgba(255,240,232,.16) !important; }
html.lacquer #scarlett-mode-toggle { background: rgba(255,240,232,.16) !important; border-color: rgba(11,11,11,.4) !important; }

/* returning visitor: "Talk to her", the black pill from the door */
html.lacquer #scarlett-begin-overlay { background: transparent !important; }
html.lacquer #scarlett-begin-overlay button { background: var(--lq-ink) !important; color: var(--lq-white) !important; border: 0 !important; border-radius: 999px !important;
  font: 600 15px/1 var(--lq-sans) !important; letter-spacing: .01em !important; padding: 17px 40px !important; box-shadow: 0 10px 30px rgba(96,6,14,.28) !important; }
@media (max-aspect-ratio: 1/1) {
  html.lacquer #scarlett-begin-overlay { align-items: flex-start !important; padding-top: calc(var(--cut-y) + 30px) !important; }
}

/* footer on lacquer (returning visitor screen) */
html.lacquer #scarlett-legal-footer { color: var(--lq-ink); font-family: var(--lq-sans); font-style: normal; }
html.lacquer #scarlett-legal-footer .slf-invite { color: var(--lq-ink); font-family: var(--lq-serif); font-style: italic; }
html.lacquer #scarlett-legal-footer .slf-invite a, html.lacquer #scarlett-legal-footer .slf-links a { border-bottom-color: rgba(11,11,11,.5); text-decoration-color: rgba(11,11,11,.5); }
html.lacquer #scarlett-legal-footer .slf-links { font-size: 12.5px; letter-spacing: .04em; }
html.lacquer #scarlett-legal-footer .slf-social a { color: var(--lq-ink); border-color: rgba(11,11,11,.5); background: transparent; }

/* the membership card: a white card on the lacquer, black type, one black button */
html.lacquer #scarlett-limit-modal { background: rgba(168,23,31,.55) !important; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
html.lacquer #scarlett-limit-card { background: #FFF8F6 !important; border: 0 !important; border-radius: 22px; box-shadow: 0 40px 90px -30px rgba(84,4,12,.55) !important; color: var(--lq-ink); }
html.lacquer #scarlett-limit-card .sl-eyebrow { color: #B0141C !important; font-family: var(--lq-sans); font-weight: 600; }
html.lacquer #scarlett-limit-card h2 { font-family: var(--lq-serif) !important; font-weight: 500 !important; font-size: 38px !important; color: var(--lq-ink) !important; }
html.lacquer #scarlett-limit-card .sl-intro { font-family: var(--lq-serif) !important; font-size: 20px !important; color: #2A2222 !important; }
html.lacquer #scarlett-limit-card .sl-benefits, html.lacquer #scarlett-limit-card .sl-billing, html.lacquer #scarlett-limit-card .sl-cardnote { font-family: var(--lq-sans) !important; color: #2A2222 !important; }
html.lacquer #scarlett-limit-card .sl-benefits li { border-bottom-color: rgba(11,11,11,.12) !important; }
html.lacquer #scarlett-limit-card .sl-price { font-family: var(--lq-sans) !important; color: #2A2222 !important; }
html.lacquer #scarlett-limit-card .sl-price strong { font-family: var(--lq-serif) !important; font-weight: 500 !important; font-size: 44px !important; color: var(--lq-ink) !important; }
html.lacquer #scarlett-membership-btn { background: var(--lq-ink) !important; color: var(--lq-white) !important; border-radius: 999px !important; font-family: var(--lq-sans) !important; font-weight: 600 !important; }
html.lacquer #scarlett-membership-btn:hover { background: #000 !important; }
html.lacquer #scarlett-membership-btn-yearly, html.lacquer #scarlett-limit-card .sl-privacy { color: var(--lq-ink) !important; text-decoration-color: rgba(11,11,11,.45) !important; font-family: var(--lq-sans) !important; }
html.lacquer #scarlett-limit-card .sl-referral { border-top-color: rgba(11,11,11,.12) !important; }
html.lacquer #scarlett-referral-btn, html.lacquer #scarlett-limit-card .sl-later { font-family: var(--lq-serif) !important; color: #2A2222 !important; }
html.lacquer #scarlett-limit-card[dir="rtl"] h2, html.lacquer #scarlett-limit-card[dir="rtl"] .sl-intro,
html.lacquer #scarlett-limit-card[dir="rtl"] #scarlett-referral-btn, html.lacquer #scarlett-limit-card[dir="rtl"] .sl-later { font-family: var(--serif-he) !important; font-style: normal !important; }
html.lacquer #scarlett-limit-card[dir="rtl"] .sl-benefits, html.lacquer #scarlett-limit-card[dir="rtl"] .sl-billing,
html.lacquer #scarlett-limit-card[dir="rtl"] .sl-cardnote, html.lacquer #scarlett-limit-card[dir="rtl"] #scarlett-membership-btn { font-family: var(--lq-sans-he) !important; }

/* the inline pages (manifesto, and the fallbacks for privacy/terms/about) */
html.lacquer #scarlett-legal-overlay {
  background: radial-gradient(90% 40% at 30% 0%, #EC3B3A 0, #EC3B3A 70%, rgba(236,59,58,0) 100%), linear-gradient(#EC3B3A, #EC3B3A) !important;
  color: var(--lq-ink) !important; font-family: var(--lq-serif) !important; }
html.lacquer #scarlett-legal-overlay > div > div:first-child { background: var(--lq-white) !important; }
html.lacquer #scarlett-legal-overlay > div > div:last-child { color: var(--lq-ink) !important; border-top-color: rgba(11,11,11,.26) !important; font-family: var(--lq-sans); font-style: normal !important; }
html.lacquer #scarlett-legal-content, html.lacquer #scarlett-legal-content p, html.lacquer #scarlett-legal-content li,
html.lacquer #scarlett-legal-content h1, html.lacquer #scarlett-legal-content h2, html.lacquer #scarlett-legal-content strong { color: var(--lq-ink) !important; }
html.lacquer #scarlett-legal-content p, html.lacquer #scarlett-legal-content li { font-style: normal !important; font-weight: 500; font-size: 19px !important; }
html.lacquer #scarlett-legal-content h1, html.lacquer #scarlett-legal-content h2 { font-weight: 500 !important; }
html.lacquer #scarlett-legal-content .updated { color: var(--lq-ink) !important; font-family: var(--lq-sans); font-size: 13px !important; }
html.lacquer #scarlett-legal-content a { color: var(--lq-ink) !important; text-decoration-color: rgba(11,11,11,.55) !important; }
html.lacquer #scarlett-legal-content [style*="rgba(212,175,122"] { color: var(--lq-white) !important; opacity: 1 !important; }

/* the pool the words sit on (10.10.2026: a hard-edged sheet, never a gradient over her) —
   phone: from the window's flat foot to the bottom of the screen; wide: the words' column, its edge a straight line */
html.lacquer body::after { content: ""; position: fixed; left: 0; right: 0; bottom: 0; top: var(--cut-y, 60vh); z-index: 2; pointer-events: none;
  background: #EC3B3A; border-top: 1px solid rgba(11,11,11,.14); }
@media (min-aspect-ratio: 1/1) {
  html.lacquer body::after { top: 0; left: auto; width: var(--col); border-top: 0; }
  html.lacquer #scarlett-transcript, html.lacquer[dir="rtl"] #scarlett-transcript, html.lacquer #scarlett-transcript[dir="rtl"],
  html.lacquer #scarlett-text-fallback.visible { background: transparent !important; }
  /* wide screens: the returning visitor's footer sits in the words' column, beside her — never across the black tee */
  html.lacquer #scarlett-legal-footer { left: auto; right: 0; width: var(--col); padding: 0 5vw 0 24px; }
}

/* ═══════════════════════ THE LIVE FACE, ON LACQUER (10.10.2026) ═══════════════════════
   LiveAvatar renders her from SITE-RED-LIVE-2026-10-10/liveface/scarlett-live-red-1080x1920.png: the same black-tee cutout on the
   window's own red, placed so the window's top edge sits 300 px down the 1080-wide frame (their validator wants
   the face centred). The video takes the window's exact rect and arch, shifted up by 300/1080 of its width, so
   the photograph and the live face line up; the window itself (its red, its 1px line, its shadow) stays. */
html.light.lacquer:not(.live-red) #scarlett-live { display: none !important; }
html.light.lacquer.live-red #scarlett-live {
  display: block !important; position: fixed !important; inset: auto !important; z-index: 1;
  width: var(--cw) !important; border-radius: 50% 50% 0 0 / calc(var(--cw) * .5) calc(var(--cw) * .5) 0 0;
  object-fit: cover !important; object-position: 50% calc(var(--cw) * -.2778) !important; background: transparent !important;
  outline: 1px solid rgba(255,255,255,.26); outline-offset: -1px;
  -webkit-mask-image: none !important; mask-image: none !important; transition: opacity .9s ease !important;
}
html.light.lacquer.live-on #scarlett-body { opacity: 1 !important; }
html.light.lacquer.live-on #scarlett-deep { opacity: 0; transition: opacity .9s ease; }
@media (min-aspect-ratio: 1/1) {
  html.light.lacquer.live-red #scarlett-live { top: auto !important; bottom: 0 !important; height: min(calc(100vh - 96px), calc(var(--cw) * 1.351)) !important;
    left: max(0px, calc((100% - var(--col) - var(--cw)) / 2)) !important; right: auto !important; }
}
@media (max-aspect-ratio: 1/1) {
  html.light.lacquer.live-red #scarlett-live { top: var(--ct) !important; bottom: auto !important; height: calc(var(--cw) * 1.162) !important;
    left: calc(50% - var(--cw) / 2) !important; right: auto !important; }
}

/* ═══════════════════════ THE LETTER DOOR (12.10.2026, A/B arm b and /dear) ═══════════════════════
   The way in is a letter: "Dear Scarlett," printed in the serif on a sheet of paper (#FFF8F6, the
   membership card's paper), one real question at any length under it, the black pill below. Long text
   never sits on the saturated red: the letter and her letter back are both paper. No italics. */
#lq .lq-letterbox { display: none; }
html.lq-letter #lq .lq-dock .lq-composer:not(.lq-letterbox) { display: none; }
html.lq-letter #lq .lq-letterbox { display: block; border: 0; border-radius: 0; padding: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; max-width: 560px; }
#lq .lq-paper { background: #FFF8F6; border-radius: 4px; padding: 20px 24px 16px;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 14px 34px -12px rgba(96,6,14,.32); }
#lq .lq-dear { display: block; font-family: var(--lq-serif); font-weight: 500; font-size: 28px; line-height: 1.1; letter-spacing: -.005em; color: var(--lq-ink);
  margin-bottom: 10px; -webkit-user-select: none; user-select: none; }
#lq .lq-letter-field { display: block; flex: none; width: 100%; min-height: calc(2 * 1.5em); max-height: 300px; resize: none; border: 0; background: transparent; padding: 0;
  font: 500 19px/1.5 var(--lq-serif); color: var(--lq-ink); caret-color: var(--lq-ink); outline: none; overflow-y: auto; unicode-bidi: plaintext; text-align: start;
  transition: min-height .35s cubic-bezier(.2,.7,.2,1); }
/* wide screens: the sheet opens at two lines (button + consent above the fold) and makes room for a letter once someone starts */
@media (min-width: 901px) { #lq .lq-letter-field:focus, #lq .lq-letter-field:not(:placeholder-shown) { min-height: calc(4 * 1.5em); } }
#lq .lq-letter-field::placeholder { color: rgba(11,11,11,.62); opacity: 1; }
#lq .lq-paper:focus-within { box-shadow: 0 0 0 2px var(--lq-ink), 0 14px 34px -12px rgba(96,6,14,.32); }
#lq .lq-letter-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; }
#lq .lq-letter-row .lq-cta { margin-inline-start: auto; }
#lq .lq-letter-hint { font-size: 12.5px; font-weight: 700; line-height: 1.35; }
/* its headline: two clean lines ("One real question." / "A letter back."), a size smaller than the chat door's,
   so the sheet, the button and the consent line all sit above the fold on a laptop */
html.lq-letter #lq .lq-head { font-size: clamp(44px, 4.3vw, 66px); }
html.lq-letter #lq .lq-head em { display: block; }
html.lq-letter #lq .lq-head-slot { margin-top: 22px; }
html.lq-letter #lq .lq-dock { margin-top: 24px; }
/* the second screen on the letter door: the button only, it brings the letter box forward */
html.lq-letter #lq .lq-later .lq-field { display: none; }
html.lq-letter #lq .lq-later .lq-composer { border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; }
#lq[dir="rtl"] .lq-dear { letter-spacing: 0; line-height: 1.25; }
#lq[dir="rtl"] .lq-letter-field { line-height: 1.6; }
@media (max-width: 900px) {
  /* the docked bar stays one glance tall: a two-line sheet that scrolls inside, the button beside the hint */
  #lq .lq-paper { padding: 12px 15px 10px; }
  #lq .lq-dear { font-size: 22px; margin-bottom: 4px; }
  #lq .lq-letter-field { font-size: 17px; min-height: 0; height: calc(2 * 1.5em + 2px); max-height: calc(2 * 1.5em + 2px); }
  #lq[dir="rtl"] .lq-letter-field { height: calc(2 * 1.6em + 2px); max-height: calc(2 * 1.6em + 2px); }
  #lq .lq-letter-row { margin-top: 10px; }
}
@media (max-width: 360px) {
  #lq .lq-letter-field { display: block; }
  #lq .lq-letter-row .lq-cta { flex: none; }
}

/* the letter in the conversation: theirs (with the printed salutation) and her letter back, both on paper */
html.lacquer #scarlett-transcript .scarlett-turn.user.letter { border-radius: 4px !important; background: #FFF8F6; max-width: min(92%, 560px); padding: 16px 20px 17px !important; }
html.lacquer #scarlett-transcript .scarlett-turn .turn-dear { display: block; font: 500 20px/1.2 var(--lq-serif); margin-bottom: 8px; color: var(--lq-ink); }
html.lacquer #scarlett-transcript .scarlett-turn[dir="rtl"] .turn-dear { font-family: var(--serif-he); }
html.lacquer #scarlett-transcript.visible .scarlett-turn.scarlett.letter,
html.lacquer #scarlett-transcript .scarlett-turn.scarlett.letter { background: #FFF8F6; border-radius: 4px; padding: 20px 24px 18px; max-width: 640px;
  font-size: 20px; line-height: 1.5; box-shadow: 0 14px 34px -14px rgba(96,6,14,.30); }
html.lacquer #scarlett-transcript .scarlett-turn.scarlett.letter .turn-p + .turn-p { margin-top: .7em; }
html.lacquer #scarlett-transcript .scarlett-turn .turn-sign { display: block; text-align: end; margin-top: 14px; font: 500 24px/1 var(--lq-serif); letter-spacing: .01em; }
html.lacquer #scarlett-transcript .scarlett-turn[dir="rtl"] .turn-sign { font-family: var(--serif-he); }
@media (max-width: 640px) {
  html.lacquer #scarlett-transcript.visible .scarlett-turn.scarlett.letter,
  html.lacquer #scarlett-transcript .scarlett-turn.scarlett.letter { font-size: 18px; padding: 16px 18px 15px; }
}
/* the column opt-in under her letter back: unticked, small, black on the pool */
html.lacquer #scarlett-column-optin { max-width: 640px; margin: -8px 0 22px; font: 500 13px/1.45 var(--lq-sans); color: var(--lq-ink); }
html.lacquer #scarlett-column-optin[dir="rtl"] { font-family: var(--lq-sans-he); }
html.lacquer #scarlett-column-optin[lang="ar"], html.lacquer #scarlett-column-optin[lang="fa"], html.lacquer #scarlett-column-optin[lang="ur"] { font-family: var(--lq-sans-ar); }
#scarlett-column-optin label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-weight: 600; }
#scarlett-column-optin input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #0B0B0B; cursor: pointer; }
#scarlett-column-optin .sco-note, #scarlett-column-optin .sco-status { margin: 4px 0 0; padding-inline-start: 28px; font-size: 12px; }
#scarlett-column-optin .sco-status { font-weight: 700; }
#scarlett-column-optin .sco-status:empty { display: none; }
/* wide screens: the composer stands on the pool itself (the colour of the words' column behind it), a hairline
   above it — the conversation scrolled UNDER a transparent composer and the words were drawn through each other
   (glaring with a paper letter; true of every long reply). The phone has had this since 10.10. */
@media (min-aspect-ratio: 1/1) {
  html.lacquer #scarlett-text-fallback.visible { background: #EC3B3A !important; border-top: 1px solid rgba(11,11,11,.14) !important; }
  /* and at the top, under the masthead (it ends at ~73px; the column's padding is 112px): a line scrolling up melts
     into the pool before it reaches "The Unsaid", as on the phone */
  html.lacquer #scarlett-transcript.visible::before { content: ""; position: sticky; top: -112px; display: block; height: 100px; margin: -112px 0 12px;
    background: linear-gradient(to bottom, #EC3B3A 0, #EC3B3A 76%, rgba(236,59,58,0) 100%); z-index: 2; pointer-events: none; }
}

/* ═══════════════════════ THE CLOCK, READABLE (15.10.2026) ═══════════════════════
   "1:07" sat behind her crown and read as "1:?7". Two compositions, three colours only (lacquer, black, white).
   Her crown starts at 4.94% of the photograph's height (measured on l3-black-tee-cut.webp), centred.
   A · mast: the clock rides above her head like a magazine masthead; the crown may cover at most the bottom
       fifth of the digits. On a phone the photograph starts a little lower to make the room.
   B · side: the clock moves to the upper corner beside her head and touches nothing. */
html[data-clock="mast"] #lq .lq-her { --clk-fs: clamp(116px, 12.5vw, 196px); }
html[data-clock="mast"] #lq .lq-clock .t { font-size: var(--clk-fs); }
html[data-clock="mast"] #lq .lq-clock { top: max(66px, calc(var(--pt) + var(--ph) * .0494 + var(--clk-fs) * var(--clk-k, -.62))); }
html[data-clock="side"] #lq .lq-clock { left: auto; right: 48px; top: 88px; text-align: right; }
html[data-clock="side"] #lq .lq-clock .t { font-size: clamp(96px, 9.5vw, 150px); }
@media (max-width: 900px) {
  html[data-clock="mast"] #lq .lq-screen, html[data-clock="mast"] #lq .lq-her { --pt: min(10.5vh, 88px); }
  html[data-clock="mast"] #lq .lq-her { --clk-fs: clamp(72px, 21vw, 100px); --clk-k: -.64; }
  html[data-clock="mast"] #lq .lq-clock { top: max(calc(max(18px, env(safe-area-inset-top)) + 46px), calc(var(--pt) + var(--ph) * .0494 + var(--clk-fs) * var(--clk-k))); }
  html[data-clock="side"] #lq .lq-clock { right: 16px; top: calc(max(18px, env(safe-area-inset-top)) + 58px); }
  html[data-clock="side"] #lq .lq-clock .t { font-size: clamp(50px, 15vw, 64px); }
}
/* the letter door on a short phone (Safari with both toolbars, iPhone SE): the demo exchange cannot sit above a
   letter-sized dock with her face at a readable size, so the first screen is her face and the letter box; the
   headline and the demo follow on scroll (ScarlettLacquer.fit gives the photograph the rest of the screen) */
@media (max-width: 900px) {
  /* 17.10.2026 — measured by ScarlettLacquer.fit (html.lq-letter-compact), on any phone where the demo and the
     dock would overlap: the dock is in the flow right under her face (not docked — nothing can scroll under it),
     the demo and the headline follow it */
  html.lq-letter-compact #lq .lq-thread > * { order: 3; }
  html.lq-letter-compact #lq .lq-thread > .lq-dock { order: 1; position: relative; bottom: auto; margin-top: calc(var(--her-h) + 16px); border-top: 0; background: transparent; }
  html.lq-letter-compact #lq .lq-thread > .lq-meta { order: 2; margin-top: 30px; }
}
@media (max-width: 900px) and (max-height: 760px) {
  /* a short phone gives her photograph more of the screen, so the crown rises into the digits: start it lower */
  html[data-clock="mast"] #lq .lq-screen, html[data-clock="mast"] #lq .lq-her { --pt: 82px; }
}

/* ═══ 15.10.2026 — three colours, three floors (html[data-floors="on"]; ?floors=now = 10.10) ═══
   Floor 1, the door: red, the letter on white paper. Floor 2, "She's still up.": the night floor — black, her
   arch window in lacquer red, the words white, the emphasis in red (≥ 52px, 4.1:1 on black), the button
   inverted to a white pill; the footer lives on this floor. The conversation stays on the red pool. */
html[data-floors="on"] #lq .lq-later, html[data-floors="on"] #lq[dir="rtl"] .lq-later { background: #0B0B0B; color: #fff; border-top: 0; }
html[data-floors="on"] #lq .lq-later.lac::before, html[data-floors="on"] #lq .lq-later.lac::after,
html[data-floors="on"] #lq .lq-her2::before, html[data-floors="on"] #lq .lq-her2 .lq-glow { display: none; }
html[data-floors="on"] #lq .lq-p2 .arch { background: linear-gradient(160deg, rgba(255,240,238,.12) 0, rgba(255,240,238,0) 30%), #DA2B2D; box-shadow: none; }
html[data-floors="on"] #lq .lq-later em { color: #DA2B2D; }
html[data-floors="on"] #lq .lq-online i { background: #DA2B2D; box-shadow: 0 0 0 4px rgba(218,43,45,.28); }
html[data-floors="on"] #lq .lq-later .lq-composer { border-color: rgba(255,255,255,.55); background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
html[data-floors="on"].lq-letter #lq .lq-later .lq-composer { border: 0; }
html[data-floors="on"] #lq .lq-later .lq-field { color: #fff; caret-color: #fff; }
html[data-floors="on"] #lq .lq-later .lq-field::placeholder { color: #fff; }
html[data-floors="on"] #lq .lq-later .lq-cta { background: #fff; color: #0B0B0B; box-shadow: none; }
html[data-floors="on"] #lq .lq-later .lq-cta:hover { background: #F2F2F2; }
html[data-floors="on"] #lq .lq-later a, html[data-floors="on"] #lq .lq-later .lq-legal a, html[data-floors="on"] #lq .lq-foot nav a { border-bottom-color: rgba(255,255,255,.5); }
html[data-floors="on"] #lq .lq-foot { border-top-color: rgba(255,255,255,.22); }
html[data-floors="on"] #lq .lq-social a { border-color: rgba(255,255,255,.5); color: #fff; }
html[data-floors="on"] #lq .lq-later a:focus-visible, html[data-floors="on"] #lq .lq-later .lq-cta:focus-visible { outline-color: #fff; }
/* her shadow was a maroon haze on the black: none on the night floor */
html[data-floors="on"] #lq .lq-p2 img { filter: none; }

/* ═══════════════════════ COMPLIANCE (15.10.2026) — SB 243 · NY · EU AI Act art. 50 ═══════════════════════
   Black type on the lacquer, nothing louder than the words; the crisis line one tap away. */
#scarlett-ai-label { position: fixed; z-index: 120; top: max(7px, env(safe-area-inset-top)); left: 0; right: 0; text-align: center; pointer-events: none;
  font: 600 10.5px/1.3 var(--lq-sans, 'Hanken Grotesk', Arial, sans-serif); letter-spacing: .05em; color: #0B0B0B; }
#scarlett-ai-label > * { pointer-events: auto; }
#scarlett-ai-label[dir="rtl"] { font-family: var(--lq-sans-he, 'Heebo', Arial, sans-serif); letter-spacing: 0; }
#scarlett-ai-label[lang="ar"], #scarlett-ai-label[lang="fa"], #scarlett-ai-label[lang="ur"] { font-family: var(--lq-sans-ar, 'Noto Sans Arabic', Arial, sans-serif); }
#scarlett-ai-label .sal-crisis { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-decoration-color: rgba(11,11,11,.55); text-underline-offset: 3px; }
html.lq-open #scarlett-ai-label { display: none; }
@media (min-aspect-ratio: 1/1) {
  #scarlett-ai-label { top: 78px; left: auto; right: 0; width: var(--col, 48vw); padding: 0 5vw 0 24px; text-align: start; }
}
#scarlett-crisis-panel { position: fixed; z-index: 10050; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(92vw, 440px);
  background: #FFF8F6; color: #0B0B0B; border-radius: 4px; padding: 26px 26px 22px; box-shadow: 0 30px 80px -20px rgba(84,4,12,.55);
  font: 500 15px/1.55 var(--lq-sans, 'Hanken Grotesk', Arial, sans-serif); }
#scarlett-crisis-panel[dir="rtl"] { font-family: var(--lq-sans-he, 'Heebo', Arial, sans-serif); }
#scarlett-crisis-panel b { display: block; margin-bottom: 6px; font-weight: 700; }
#scarlett-crisis-panel bdi { font-size: 18px; font-weight: 600; }
#scarlett-crisis-panel a { color: #0B0B0B; text-underline-offset: 3px; }
#scarlett-crisis-panel .scp-x { position: absolute; top: 6px; inset-inline-end: 10px; background: none; border: 0; font-size: 24px; line-height: 1; cursor: pointer; color: #0B0B0B; }
html.lacquer #scarlett-transcript .scarlett-ai-reminder { margin: 4px 0 22px; padding: 10px 0; border-top: 1px solid rgba(11,11,11,.22); border-bottom: 1px solid rgba(11,11,11,.22);
  font: 600 12.5px/1.5 var(--lq-sans); color: #0B0B0B; }
html.lacquer #scarlett-transcript .scarlett-ai-reminder[dir="rtl"] { font-family: var(--lq-sans-he); }
.scarlett-report-btn { background: none; border: 0; cursor: pointer; padding: 2px 8px; font-size: 13px; line-height: 1; color: rgba(11,11,11,0); transition: color .3s; vertical-align: baseline; }
.scarlett-turn.scarlett:hover .scarlett-report-btn, .scarlett-report-btn:focus { color: rgba(11,11,11,.7); }
@media (hover: none) { .scarlett-report-btn { color: rgba(11,11,11,.45); } }
.scarlett-reported { display: inline-block; margin-inline-start: 8px; font: 600 11.5px/1.3 var(--lq-sans, Arial, sans-serif); color: #0B0B0B; }
/* the door: the letter note under the sheet, and the crisis line for this country under the safety words */
#lq .lq-letter-note { margin-top: 8px; font: 500 12px/1.45 var(--lq-sans); color: rgba(11,11,11,.72); }
#lq .lq-crisis { margin-top: 10px; max-width: 560px; font-size: 12px; line-height: 1.55; font-weight: 500; }
#lq .lq-crisis b { font-weight: 700; }
#lq .lq-crisis a { border-bottom: 1px solid rgba(11,11,11,.5); }
@media (max-width: 900px) { #lq .lq-letter-note { font-size: 11.5px; margin-top: 6px; } }
/* 17.10.2026 — in the compact letter door the "one cut" lands a hair above the photograph's own hard edge, right
   over the letter box, and read as a glitch ("a white line across her chest"): no cut there */
html.lq-letter-compact #lq .lq-pl .seam { display: none; }
html.lq-letter-compact #lq .lq-pl.cutting .lo { transform: none; }
/* 17.10.2026 — wide screens: the microphone, its label and the message counter float just above the composer; a
   paper letter scrolling under them read as clutter. The composer carries a fade of the pool upward (it is always
   pinned to the bottom), so the words melt before they reach them; the column keeps room at its end for that. */
@media (min-aspect-ratio: 1/1) {
  html.lacquer #scarlett-text-fallback.visible::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 76px; pointer-events: none;
    background: linear-gradient(to bottom, rgba(236,59,58,0) 0, #EC3B3A 70%); }
  html.lacquer #scarlett-transcript { padding-bottom: 190px !important; }
  /* the top fade stays solid down past the AI label (it sits at 78–92px) */
  html.lacquer #scarlett-transcript.visible::before { height: 118px; background: linear-gradient(to bottom, #EC3B3A 0, #EC3B3A 82%, rgba(236,59,58,0) 100%); }
}
/* 17.10.2026 — the minor close: links in the notes stay black (three colours), the closed composer looks closed */
html.lacquer #scarlett-transcript .scarlett-ai-reminder a { color: #0B0B0B; text-decoration: underline; text-decoration-color: rgba(11,11,11,.55); text-underline-offset: 3px; }
html.minor-closed #scarlett-text-input, html.minor-closed #scarlett-text-send { opacity: .35 !important; cursor: not-allowed !important; }
html.minor-closed #scarlett-voice-float, html.minor-closed #scarlett-mode-toggle { display: none !important; }
