/* Point & Ask · "Glas": dark, frosted panels, hairline borders, soft springs. */
@font-face { font-family: "Geist"; src: url("/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/GeistMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg: #0b0c0e;
  --card: rgba(255, 255, 255, .055);
  --card-line: rgba(255, 255, 255, .10);
  --ink: #f4f4f2;
  --ink2: rgba(244, 244, 242, .82);
  --muted: rgba(244, 244, 242, .52);
  --line: rgba(255, 255, 255, .10);
  --accent: #ffb38a;
  --accent-ink: #1b0f08;
  --ring: rgba(255, 179, 138, .18);
  --gold: #f2c46a;
  --danger: #e5484d;
  --glass: rgba(255, 255, 255, .07);
  --glass-line: rgba(255, 255, 255, .12);
  --bar-bg: rgba(11, 12, 14, .62);
  --sheet: rgba(24, 24, 27, .9);
  --sk1: rgba(255, 255, 255, .06);
  --sk2: rgba(255, 255, 255, .16);
  --hair: .5px;
  --r-img: 26px;
  --r-card: 24px;
  --r-chip: 18px;
  --ease: cubic-bezier(.2, .9, .1, 1);
  --pop: cubic-bezier(.3, 1.5, .5, 1);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --bar: calc(env(safe-area-inset-top) + 58px);
  /* Text size from the settings: one multiplier for reading text and the space around it. */
  --k: 1;
  color-scheme: dark;
}
html[data-size="s"] { --k: .86; }
html[data-size="l"] { --k: 1.16; }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent); }
svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; display: block; flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.screen { display: none; min-height: 100dvh; }
.screen.active { display: block; }

.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 5; height: var(--bar);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: env(safe-area-inset-top) 14px 0;
  color: #fff;
}
.topbar.solid {
  position: sticky; color: var(--ink); background: var(--bar-bg);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: var(--hair) solid var(--line);
}
.brand { font-weight: 600; letter-spacing: -.02em; font-size: 17px; display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.brand .mk { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.brand em, .brand span:not(.mk) { font-style: normal; color: var(--accent); }
.brand a { color: inherit; text-decoration: none; }
/* Beta sticker next to the brand: a tap opens the feedback sheet. */
.beta {
  margin-left: 4px; height: 20px; padding: 0 7px; border-radius: 999px; border: var(--hair) solid color-mix(in srgb, var(--accent) 60%, transparent);
  background: color-mix(in srgb, var(--accent) 16%, rgba(18, 18, 20, .3)); color: var(--accent); font: 600 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
}
.icon-btn {
  min-width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center;
  border: var(--hair) solid rgba(255, 255, 255, .18); color: #fff;
  background: rgba(30, 30, 32, .35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.topbar.solid .icon-btn { background: var(--glass); border-color: var(--glass-line); color: var(--ink); }
.icon-btn.round { width: 50px; height: 50px; }
.topbar-actions { display: flex; gap: 8px; }
.lang-btn { padding: 0 11px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; }
/* The webcam on a desktop was chosen, so it can be switched off again (back to the upload screen). */
.cam-off { padding: 0 14px; font-size: 13.5px; font-weight: 500; white-space: nowrap; }
#camera:not(.webcam) .cam-off { display: none; }

/* ---------- camera ---------- */
#camera { position: fixed; inset: 0; background: #000; overflow: hidden; }
#video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; touch-action: none; cursor: pointer; }
.draw-layer { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; overflow: visible; }
.draw-layer path {
  fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(255, 179, 138, .9)) drop-shadow(0 1px 2px rgba(0, 0, 0, .5));
}
.cam-hint {
  position: absolute; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom) + 212px); margin: 0;
  text-align: center; color: #fff; pointer-events: none; transition: opacity .25s;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.cam-hint span { font-weight: 600; font-size: 19px; letter-spacing: -.01em; text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.cam-hint small { font-size: 14px; opacity: .85; text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.cam-controls {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom) + 50px);
  display: flex; align-items: center; justify-content: space-evenly;
}
/* Gallery and keyboard either side of the shutter, each with a word under it. */
.side-btn { position: relative; }
.side-btn small {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-size: 11.5px; font-weight: 500; color: rgba(255, 255, 255, .78); text-shadow: 0 1px 8px rgba(0, 0, 0, .5); pointer-events: none;
}
#typeBtn[aria-expanded="true"] { background: rgba(255, 255, 255, .92); color: #111; }
/* In speak mode (and only where talking works) the keyboard button becomes "talk, no photo". */
#typeBtn .t-talk, #typeBtn.talk .t-type { display: none; }
#typeBtn.talk .t-talk { display: block; }
.shutter-wrap { position: relative; width: 78px; height: 78px; }
.shutter {
  width: 78px; height: 78px; border-radius: 50%; border: 0; padding: 0; position: relative; background: transparent; display: grid; place-items: center;
  touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.shutter::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff; transition: opacity .2s; }
.shutter span {
  position: relative; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; color: #1b1f24;
  background: rgba(255, 255, 255, .92); box-shadow: inset 0 -6px 14px rgba(0, 0, 0, .12);
  transition: transform .16s var(--ease), background-color .25s, box-shadow .25s;
}
.shutter span svg.i { position: absolute; width: 26px; height: 26px; stroke-width: 1.6; transition: opacity .2s, transform .3s var(--pop); }
.shutter .s-wave { opacity: 0; transform: scale(.5); color: #fff; }
.shutter:active span, #camera.press .shutter span { transform: scale(.9); }
/* What comes after the photo, on the shutter's shoulder: read (white) or speak (apricot). */
.mode-badge {
  position: absolute; z-index: 1; top: -2px; right: -4px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: #1b1f24; border: 2px solid rgba(20, 20, 22, .55); pointer-events: none; transition: background-color .25s, color .25s, opacity .2s;
}
.mode-badge svg.i { width: 14px; height: 14px; stroke-width: 2; }
.mode-badge.small { top: -5px; right: -6px; width: 20px; height: 20px; border-width: 1.5px; }
.mode-badge.small svg.i { width: 11px; height: 11px; stroke-width: 2.2; }
.mode-badge .b-speak, #camera.speak .mode-badge .b-read { display: none; }
#camera.speak .mode-badge .b-speak { display: block; }
#camera.speak .mode-badge { background: var(--accent); color: var(--accent-ink); }
/* Read / speak switch above the shutter (the .seg control, on the camera). */
#camera .mode-seg {
  --n: 2; position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: calc(env(safe-area-inset-bottom) + 150px);
  width: 236px; margin: 0; background: rgba(18, 18, 20, .42); border: var(--hair) solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); transition: opacity .25s;
}
#camera .mode-seg::before { background: rgba(255, 255, 255, .92); transition: transform .4s var(--pop), background-color .3s; }
#camera.speak .mode-seg::before { background: var(--accent); }
#camera .mode-seg button {
  display: flex; align-items: center; justify-content: center; gap: 6px; height: 34px; color: rgba(255, 255, 255, .78);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
}
#camera .mode-seg button svg.i { width: 15px; height: 15px; stroke-width: 1.8; }
#camera .mode-seg button[aria-pressed="true"] { color: #111; }
#camera.speak .mode-seg button[aria-pressed="true"] { color: var(--accent-ink); }
.gesture-hint {
  position: absolute; z-index: 3; left: 16px; right: 16px; bottom: calc(env(safe-area-inset-bottom) + 12px); margin: 0; text-align: center;
  font-size: 12.5px; color: rgba(255, 255, 255, .72); text-shadow: 0 1px 8px rgba(0, 0, 0, .5); pointer-events: none; transition: opacity .25s;
}
/* Holding the shutter: the ring fills while it is still a tap, then the shutter turns into the orb and listens. */
.hold-ring { position: absolute; inset: -9px; width: calc(100% + 18px); height: calc(100% + 18px); transform: rotate(-90deg); pointer-events: none; overflow: visible; }
.hold-ring circle { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transition: stroke-dashoffset .12s, opacity .12s; }
#camera.press .hold-ring circle { stroke-dashoffset: 0; opacity: 1; transition: stroke-dashoffset .4s linear, opacity .1s; }
#camera.holding .hold-ring circle { opacity: 0; transition-duration: .2s; }
#camera.holding .shutter span {
  transform: scale(1.18); background: radial-gradient(circle at 34% 30%, #ffe3d1, var(--accent) 55%, #d9763f);
  box-shadow: 0 0 0 10px var(--ring), 0 10px 32px -6px rgba(255, 179, 138, .8); animation: orb-breathe 1.6s ease-in-out infinite;
}
#camera.holding .shutter::before, #camera.holding .mode-badge { opacity: 0; }
#camera.holding .s-cam { opacity: 0; transform: scale(.5); }
#camera.holding .s-wave { opacity: 1; transform: none; }
#camera.holding .cam-controls .shutter::after { animation: none; opacity: 0; }
@keyframes orb-breathe { 50% { transform: scale(1.24); } }
.lockpill {
  position: absolute; left: 50%; bottom: calc(100% + 18px); width: 44px; margin-left: -22px; padding: 9px 0 11px; border-radius: 22px;
  display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff;
  background: rgba(18, 18, 20, .45); border: var(--hair) solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  opacity: 0; transform: translateY(12px) scale(.9); transition: opacity .2s, transform .3s var(--pop), background-color .2s; pointer-events: none;
}
.lockpill svg.i { width: 17px; height: 17px; }
.lockpill svg.i:last-child { animation: nudge-up 1.1s ease-in-out infinite; }
#camera.holding.can-lock .lockpill { opacity: 1; transform: translateY(calc(var(--pull, 0) * -10px)); background: color-mix(in srgb, var(--accent) calc(var(--pull, 0) * 70%), rgba(18, 18, 20, .45)); }
@keyframes nudge-up { 50% { transform: translateY(-3px); } }
.listen {
  position: absolute; z-index: 4; left: 16px; right: 16px; top: calc(var(--bar) + 40px); display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center; color: #fff; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .3s var(--ease); pointer-events: none;
}
.listen .orb { width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #ffe3d1, var(--accent) 55%, #d9763f); box-shadow: 0 10px 32px -8px rgba(255, 179, 138, .7); animation: orb-breathe 1.6s ease-in-out infinite; }
.listen-status { margin: 0; font-weight: 600; font-size: 19px; letter-spacing: -.01em; text-shadow: 0 1px 14px rgba(0, 0, 0, .45); }
.listen-text {
  margin: 0; max-width: 420px; font-size: 16px; line-height: 1.4; padding: 0; border-radius: 16px; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.listen-text:not(:empty) { padding: 8px 14px; background: rgba(18, 18, 20, .5); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
#camera.holding .listen { opacity: 1; transform: none; }
#camera.holding #video { filter: brightness(.55) blur(2px); }
#video { transition: filter .3s; }
#camera.holding .mode-seg, #camera.holding .cam-hint, #camera.holding .sample-btn, #camera.holding .side-btn, #camera.holding .gesture-hint { opacity: 0; pointer-events: none; }
/* Typing: the field is what matters now. */
#camera.typing .mode-seg, #camera.typing .cam-hint, #camera.typing .gesture-hint, #camera.typing .shutter-wrap { opacity: 0; pointer-events: none; }
/* No camera: the welcome screen offers photo, typing and talking itself. */
#camera.no-cam .cam-controls, #camera.no-cam .mode-seg, #camera.no-cam .gesture-hint, #camera.no-cam .listen { display: none; }
.cam-fallback .fb-row { display: flex; flex-wrap: wrap; column-gap: 10px; }
.cam-fallback .fb-row .btn { flex: 1 1 auto; width: auto; white-space: nowrap; }
/* The sample letter: the whole flow without a letter at hand. */
.sample-btn {
  position: absolute; z-index: 3; left: 50%; top: calc(var(--bar) + 6px); transform: translateX(-50%); white-space: nowrap;
  height: 38px; padding: 0 16px; border-radius: 999px; border: var(--hair) solid rgba(255, 255, 255, .24);
  background: rgba(18, 18, 20, .38); color: #fff; font-size: 14px; font-weight: 500;
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
}
.sample-btn:active { transform: translateX(-50%) scale(.95); }
#camera.leaving .sample-btn { opacity: 0; transition: opacity .2s; }
.cam-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; background: var(--bg); color: var(--ink); }
.cam-fallback .hello { max-width: 420px; text-align: center; }
.cam-fallback .big { font-size: 30px; font-weight: 650; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 12px; }
.fb-blocked {
  margin: 0 0 6px; padding: 12px 14px; border-radius: 16px; text-align: left; font-size: 14.5px; color: var(--ink) !important;
  background: color-mix(in srgb, var(--gold) 12%, transparent); border: var(--hair) solid color-mix(in srgb, var(--gold) 45%, transparent);
}
/* Phone or desktop: the start screens show what fits the device (class "desk" on a desktop). */
.cam-fallback.desk .touch-only, .welcome.desk .touch-only, .cam-fallback:not(.desk) .desk-only, .welcome:not(.desk) .desk-only { display: none; }
/* Desktop: a letter is dropped, pasted or picked; the webcam is one option among others. */
.cam-fallback.desk .hello { max-width: 640px; }
.drop {
  display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 18px 0 4px; padding: 40px 20px; cursor: pointer;
  border-radius: var(--r-card); border: 2px dashed rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .03);
  transition: border-color .2s, background-color .2s, transform .3s var(--pop);
}
.drop svg.i { width: 36px; height: 36px; stroke-width: 1.2; color: var(--accent); margin-bottom: 4px; }
.drop b { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.drop > span { color: var(--muted); font-size: 14.5px; }
.drop u { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.drop kbd { font-family: var(--mono); font-size: 12px; padding: 2px 6px; border-radius: 6px; border: var(--hair) solid var(--glass-line); background: var(--glass); color: var(--ink2); }
.drop:hover, .drop.over { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.drop.over { transform: scale(1.015); }
body.flash::after { content: ""; position: fixed; inset: 0; background: #fff; z-index: 99; animation: fade .3s forwards; }
/* While the photo flies into the answer, the camera's own buttons step back. */
#camera .topbar, #camera .cam-controls, #camera .cam-hint, #camera .cam-ask { transition: opacity .3s; }
#camera.leaving .topbar, #camera.leaving .cam-controls, #camera.leaving .cam-hint, #camera.leaving .cam-ask,
#camera.leaving .mode-seg, #camera.leaving .gesture-hint { opacity: 0; transition-duration: .2s; }

/* ---------- the question field: microphone inside while empty, send arrow once there is text ---------- */
.field-form { position: relative; flex: 1; min-width: 0; display: flex; }
.field-form input {
  flex: 1; min-width: 0; height: 44px; border-radius: 999px; padding: 0 50px 0 16px; outline: none;
  border: var(--hair) solid var(--glass-line); background: var(--glass); color: var(--ink);
  font-size: calc(15px * var(--k)); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field-form input::placeholder { color: var(--muted); }
.field-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
.field-btn {
  position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: transparent; color: var(--muted);
  transition: opacity .2s, transform .32s var(--pop), background-color .2s;
}
.field-btn svg.i { width: 20px; height: 20px; }
.field-btn.send { background: var(--accent); color: var(--accent-ink); }
.field-btn.mic.listening { background: var(--accent); color: var(--accent-ink); animation: micPulse 1.1s ease-out infinite; }
.field-form:not(.has-text) .send { opacity: 0; transform: scale(.3) rotate(-90deg); pointer-events: none; }
.field-form.has-text .mic:not(.listening), .field-form.has-text .close { opacity: 0; transform: scale(.3) rotate(90deg); pointer-events: none; }
/* The keyboard button's field: slides up and rides on the on-screen keyboard (--kb, set from visualViewport). */
.cam-ask {
  position: absolute; left: 12px; right: 12px; z-index: 5; max-width: 640px; margin: 0 auto;
  bottom: calc(max(env(safe-area-inset-bottom), var(--kb, 0px)) + 16px); animation: rise .35s var(--ease) both;
}
.cam-ask .close { color: rgba(255, 255, 255, .85); }
.cam-ask input { background: rgba(18, 18, 20, .38); border-color: rgba(255, 255, 255, .24); color: #fff; backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); }
.cam-ask input::placeholder { color: rgba(255, 255, 255, .72); }
.cam-ask input:focus { background: rgba(18, 18, 20, .6); }
.cam-ask .mic { color: rgba(255, 255, 255, .85); }

/* ---------- answer ---------- */
.wrap { max-width: 640px; margin: 0 auto; padding: 10px 16px 120px; }
.photo-space { height: var(--hero, 300px); margin-bottom: 14px; }
/* Placed by app.js every frame: hero size at the top, a thumbnail on the first card once you scroll. */
.photo-wrap {
  position: fixed; z-index: 4; left: 16px; top: 0; width: 0; height: 0; overflow: hidden;
  border-radius: var(--r-img); background: #1a1a1c;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8), 0 0 0 .5px rgba(255, 255, 255, .14);
}
#answer:not(.active) .photo-wrap { display: none; }
/* Asked without a photo: no picture, no space for one. */
#answer.no-photo .photo-wrap, #answer.no-photo .photo-space { display: none; }
#answer.no-photo .card.first .title, #answer.no-photo .card.first .status { padding-right: 0; }
.photo-wrap.docked { box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .6), 0 0 0 .5px rgba(255, 255, 255, .25); }
.photo-wrap.pinned { z-index: 6; }
.photo-wrap.hide .photo { visibility: hidden; }
.photo { display: block; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .5s var(--ease); }
.photo-wrap:active .photo { transform: scale(.98); }
.photo-zoom {
  position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: rgba(0, 0, 0, .4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); pointer-events: none;
}
.photo-zoom svg.i { width: 16px; height: 16px; }
.scan { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; pointer-events: none; overflow: hidden; border-radius: inherit; }
.scanning .scan { opacity: 1; }
.scan::before { content: ""; position: absolute; inset: -50%; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .35) 50%, transparent 60%); animation: sweep 1.6s ease-in-out infinite; }
.scan::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1.5px rgba(255, 179, 138, .7); animation: glow 1.6s ease-in-out infinite; }

#thread { display: flex; flex-direction: column; gap: calc(14px * var(--k)); }
#thread > .chips { margin-top: -4px; }
.bubble {
  align-self: flex-end; max-width: 82%; padding: calc(9px * var(--k)) calc(14px * var(--k)); border-radius: 20px;
  background: rgba(255, 255, 255, .12); color: #fff; font-size: calc(15px * var(--k)); font-weight: 500;
  animation: bubIn .4s var(--ease) both; transform-origin: 100% 100%;
}
.bubble img { display: block; width: 100%; max-width: 150px; aspect-ratio: 1; object-fit: cover; border-radius: 14px; margin: 2px 0 6px; }
.card {
  position: relative; background: var(--card); border: var(--hair) solid var(--card-line); border-radius: var(--r-card);
  padding: calc(18px * var(--k)) calc(18px * var(--k)) calc(14px * var(--k)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5);
  animation: rise .45s var(--ease) both;
}
.card .slot { position: absolute; top: 14px; right: 14px; width: calc(58px * var(--k)); height: calc(58px * var(--k)); pointer-events: none; }
.card.first .title, .card.first .status { padding-right: calc(14px + 58px * var(--k)); }
.card .q { margin: 0 0 6px; color: var(--muted); font-weight: 500; font-size: 14px; }
.card h2, .card h3 { line-height: 1.15; letter-spacing: -.025em; font-weight: 600; }
.card h2 { font-size: calc(25px * var(--k)); margin: 0 0 calc(10px * var(--k)); display: flex; gap: 10px; align-items: center; text-wrap: balance; transition: font-size .35s var(--ease); }
.card h3 { font-size: calc(19px * var(--k)); margin: 18px 0 6px; }
.card .emoji { font-size: .95em; display: inline-block; }
.card .t { animation: ttIn .5s var(--ease) both; }
.card p, .card li { font-size: calc(16px * var(--k)); color: var(--ink2); transition: font-size .35s var(--ease); }
.card p { margin: 0 0 calc(10px * var(--k)); }
.card ul { margin: 0 0 12px; padding-left: 1.1em; }
.card strong { color: var(--ink); font-weight: 650; }
.caret { display: inline-block; width: 2px; height: 1.05em; background: var(--accent); vertical-align: -3px; margin-left: 2px; animation: blink 1s steps(2) infinite; border-radius: 1px; }
.status { margin: 0 0 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.thinking { display: flex; flex-direction: column; gap: 9px; padding: 4px 0 10px; margin: 0; }
.thinking span { display: block; height: 11px; border-radius: 6px; background: linear-gradient(90deg, var(--sk1) 0%, var(--sk2) 50%, var(--sk1) 100%); background-size: 200% 100%; animation: shim 1.2s linear infinite; }
.thinking span:nth-child(1) { width: 92%; } .thinking span:nth-child(2) { width: 84%; } .thinking span:nth-child(3) { width: 60%; }
.err { color: var(--accent); }
.page-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 14px; float: right; margin: 0 0 8px 12px; }

.tools { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; animation: fade-in .4s ease both; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; height: calc(32px * var(--k)); padding: 0 11px; border-radius: 999px;
  border: var(--hair) solid var(--line); background: transparent; color: var(--muted); font-size: calc(13px * var(--k)); font-weight: 500;
}
.pill svg.i { width: 16px; height: 16px; }
.pill.on { color: var(--accent); border-color: var(--accent); }
.pill.private { border-style: dashed; }

/* The action card: "Do I have to do something, by when, how much?" before the explanation. */
.action {
  --tone: var(--accent); margin: 0 0 calc(14px * var(--k)); padding: calc(14px * var(--k)) calc(16px * var(--k));
  border-radius: 18px; border: var(--hair) solid color-mix(in srgb, var(--tone) 45%, transparent);
  background: color-mix(in srgb, var(--tone) 11%, transparent); animation: rise .45s var(--ease) both;
}
.action.act-no { --tone: #7fd1a0; }
.action.act-unsure { --tone: var(--gold); }
.action .verdict { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: calc(20px * var(--k)); font-weight: 650; letter-spacing: -.02em; color: var(--ink); line-height: 1.2; }
.action .dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--tone); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tone) 25%, transparent); }
.action .what { margin: 0 0 10px; color: var(--ink); font-weight: 500; }
.action .facts { display: grid; gap: 8px; margin: 0 0 10px; }
.action .facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 8px; border-top: var(--hair) solid var(--line); }
.action dt { color: var(--muted); font-size: calc(14px * var(--k)); }
.action dd { margin: 0; text-align: right; color: var(--ink); font-weight: 600; font-size: calc(17px * var(--k)); font-variant-numeric: tabular-nums; }
.action dd small { display: block; color: var(--tone); font-weight: 500; font-size: calc(13px * var(--k)); }
.action .note { margin: 0 0 6px; color: var(--muted); font-size: calc(13px * var(--k)); }
.action .acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.action .act-btn { color: var(--ink); border-color: color-mix(in srgb, var(--tone) 45%, transparent); background: rgba(255, 255, 255, .04); height: calc(36px * var(--k)); font-size: calc(14px * var(--k)); }
.action .act-btn:first-child { background: var(--tone); border-color: var(--tone); color: var(--accent-ink); }

/* A drafted reply letter: a sheet of paper to copy, mail or print. */
.letter { margin: 6px 0 12px; border-radius: 14px; background: #fbfaf6; color: #1d1d1f; padding: 16px 16px 12px; }
.letter pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: calc(14px * var(--k))/1.5 Georgia, "Times New Roman", serif; }
.letter-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(0, 0, 0, .1); }
.letter-tools .pill { color: #1d1d1f; border-color: rgba(0, 0, 0, .18); text-decoration: none; }
.letter-tools p { flex-basis: 100%; margin: 4px 0 0 !important; color: #666 !important; font-size: 12.5px !important; }
.sheet .reply-other { margin-top: 10px; }
.sheet input[type=date] { width: 100%; height: 52px; border-radius: 16px; border: var(--hair) solid var(--glass-line); padding: 0 16px; background: var(--glass); color: var(--ink); font: inherit; font-size: 17px; color-scheme: dark; }

.chips { display: flex; flex-direction: column; gap: 8px; }
.levels { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.chip {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; width: 100%;
  min-height: calc(48px * var(--k)); padding: calc(11px * var(--k)) 14px calc(11px * var(--k)) 16px; border-radius: var(--r-chip);
  border: var(--hair) solid var(--glass-line); background: rgba(255, 255, 255, .04); color: var(--ink);
  font-size: calc(15px * var(--k)); font-weight: 500; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  animation: rise .45s var(--ease) both;
}
.chip:nth-child(2) { animation-delay: .06s; } .chip:nth-child(3) { animation-delay: .12s; } .chip:nth-child(4) { animation-delay: .18s; }
.chip svg.i { width: 18px; height: 18px; color: var(--accent); transition: transform .25s var(--ease); pointer-events: none; }
.chip:hover svg.i { transform: translateX(3px); }
.levels .chip { width: auto; min-height: 38px; padding: 0 14px; font-size: 14px; }
.chip.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.chip.sel { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.chips.picked .chip:not(.sel) { opacity: 0; transform: translateY(-4px) scale(.98); transition: opacity .2s, transform .2s; }

.askbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 6;
  display: flex; gap: 8px; align-items: center;
  /* The glass spans the window; its content keeps the 640 px column of the cards and of the camera's field. */
  padding: 10px max(12px, calc((100% - 640px) / 2)) calc(env(safe-area-inset-bottom) + 16px);
  background: var(--bar-bg); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-top: var(--hair) solid var(--line);
}
.askbar.voice-on { visibility: hidden; }
.askbar .addpage { width: 44px; height: 44px; flex: none; background: var(--glass); border-color: var(--glass-line); color: var(--ink); }

.nudge {
  border-radius: var(--r-card); padding: 16px; margin-top: 14px; border: var(--hair) dashed rgba(255, 255, 255, .22);
  display: flex; flex-direction: column; gap: 12px; animation: rise .5s .2s var(--ease) both;
}
.nudge p { margin: 0; font-size: calc(14.5px * var(--k)); font-weight: 500; }
.nudge div { display: flex; gap: 8px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: var(--hair) solid var(--glass-line);
  background: var(--glass); font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink);
}
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted); }
.btn.huge { width: 100%; min-height: 52px; font-size: 15.5px; margin-top: 10px; }
.btn.loading { opacity: .7; pointer-events: none; }
.btn:disabled { opacity: .4; pointer-events: none; }
/* Deleting: the first tap turns the button into the question, the second deletes. */
.btn.armed, .album-del.armed { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn.danger-soft { color: #ff9b9b; }


/* ---------- sheet ---------- */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 20; animation: fade-in .3s ease both; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 21; max-height: 88dvh; overflow: auto;
  background: var(--sheet); backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-radius: 30px 30px 0 0; border-top: var(--hair) solid var(--glass-line);
  padding: 8px 18px calc(env(safe-area-inset-bottom) + 22px);
  animation: up .5s cubic-bezier(.2, .95, .15, 1); max-width: 640px; margin: 0 auto;
}
.sheet .grab { width: 38px; height: 5px; border-radius: 3px; background: var(--line); margin: 4px auto 14px; }
.sheet h2 { font-size: 24px; font-weight: 600; letter-spacing: -.025em; line-height: 1.15; margin: 4px 0 8px; }
.sheet p { color: var(--ink2); margin: 0 0 12px; }
.sheet input[type=email] { width: 100%; height: 52px; border-radius: 16px; border: var(--hair) solid var(--glass-line); padding: 0 16px; background: var(--glass); font-size: 16px; outline: none; }
.sheet input[type=email]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
.sheet .small { font-size: 14px; color: var(--muted); margin: 0 0 4px; }
.sheet .price-line { color: var(--ink); font-weight: 600; margin: 14px 0 2px; }
.sheet .legal-links { text-align: center; font-size: 13px; color: var(--muted); margin: 22px 0 0; line-height: 1.9; }
.legal-links a, .w-foot a { color: var(--muted); }
.addr-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 14px 0 0; padding: 6px 6px 6px 16px;
  border-radius: 999px; border: var(--hair) solid var(--glass-line); background: var(--glass);
}
.addr { font-family: var(--mono); font-size: 14px; user-select: all; -webkit-user-select: all; overflow-wrap: anywhere; }
.addr-row .btn { min-height: 38px; flex: none; }
.sheet .label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 16px 0 6px; }
.perks { list-style: none; padding: 0; margin: 0 0 8px; }
.perks li { padding: 9px 0; border-bottom: var(--hair) solid var(--line); color: var(--ink2); }
.album { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.album-item { position: relative; border: var(--hair) solid var(--glass-line); background: var(--card); border-radius: 18px; overflow: hidden; }
.album-open { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.album-del {
  position: absolute; top: 6px; right: 6px; min-width: 32px; height: 32px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center;
  border: var(--hair) solid rgba(255, 255, 255, .22); background: rgba(18, 18, 20, .55); color: #fff; font-size: 13px; font-weight: 600;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.album-del svg.i { width: 16px; height: 16px; }
.album-item img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.album-ph { width: 100%; aspect-ratio: 1; display: grid; place-items: center; color: var(--muted); background: var(--sk1); }
.album-ph svg.i { width: 34px; height: 34px; stroke-width: 1.2; }
.album-item span { display: block; padding: 8px 10px; font-size: 14px; font-weight: 500; }
.langs { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 0; }
/* Segmented control, used for the text size. */
.seg { position: relative; display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); padding: 3px; border-radius: 999px; background: var(--sk1); margin: 0 0 8px; }
.seg::before {
  content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / var(--n, 3)); border-radius: 999px;
  background: rgba(255, 255, 255, .16); transform: translateX(calc(var(--i, 1) * 100%)); transition: transform .4s var(--pop);
}
.seg button { position: relative; border: 0; background: transparent; height: 36px; font-size: 13.5px; font-weight: 600; border-radius: 999px; color: var(--muted); transition: color .25s; }
.seg button[aria-pressed="true"] { color: var(--ink); }
.size-preview { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px; color: var(--muted); font-size: 13px; }
.size-preview b { color: var(--ink); font-weight: 500; font-size: calc(16px * var(--k)); transition: font-size .35s var(--ease); }

.toast {
  position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 92px); transform: translateX(-50%); z-index: 60;
  background: rgba(255, 255, 255, .92); color: #111; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 500;
  max-width: calc(100% - 32px); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); animation: toastIn .45s var(--pop) both;
}

/* ---------- share page ---------- */
body.share .wrap { padding-top: 16px; }
body.share .brand { padding: 0 0 14px; }
body.share .photo { border-radius: var(--r-img); max-height: 52vh; margin-bottom: 14px; cursor: default; }
body.share .card { margin-bottom: 14px; }
.cta { display: block; margin: 24px 0 8px; text-align: center; padding: 16px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 650; font-size: 17px; text-decoration: none; }
.fine { text-align: center; color: var(--muted); font-size: 13px; }
.sheet .fine { margin-top: 12px; }

/* ---------- motion ---------- */
button, .btn, .chip, .pill, .icon-btn { transition: transform .18s var(--ease), background-color .2s, border-color .2s, color .2s, opacity .2s; }
button:active, .btn:active, .pill:active, .icon-btn:active, .chip:active { transform: scale(.95); }
.fly-photo { position: fixed; z-index: 40; object-fit: cover; pointer-events: none; }
.flytext { position: fixed; z-index: 41; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: flex; align-items: center; pointer-events: none; box-sizing: border-box; }
.flybtn { position: fixed; z-index: 42; pointer-events: none; display: grid; place-items: center; }
.particle { position: fixed; z-index: 45; font-size: 22px; pointer-events: none; will-change: transform, opacity; }
.emoji.pop { display: inline-block; animation: pop .6s var(--pop); }
.card.streaming .body { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 2.2em), rgba(0,0,0,.35)); mask-image: linear-gradient(180deg, #000 calc(100% - 2.2em), rgba(0,0,0,.35)); }
.cam-controls .shutter::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); animation: ring 2.4s ease-out infinite; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

/* ---------- full-screen photo ---------- */
.viewer { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .94); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); touch-action: none; overflow: hidden; user-select: none; -webkit-user-select: none; }
.viewer img, .viewer .region { position: absolute; transform-origin: 0 0; will-change: transform; -webkit-user-drag: none; }
.viewer img { cursor: zoom-in; transition: filter .55s ease; }
.viewer .lit, .viewer .region { pointer-events: none; display: none; }
.viewer.has-region .lit, .viewer.has-region .region { display: block; }
/* The circled part stays bright, the rest of the photo steps back. */
.viewer.has-region.show-region #viewerImg { filter: brightness(.32) saturate(.55) blur(1.5px); }
.viewer .region { overflow: visible; }
.viewer .region path {
  fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke;
  opacity: 0; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .8)) drop-shadow(0 0 18px var(--accent));
}
.viewer.show-region .region path { opacity: 1; animation: drawReg .7s .1s var(--ease) forwards; }
.viewer.zoomed img { cursor: grab; }
.viewer.drawing img { cursor: crosshair; }
.viewer .anim { transition: transform .28s cubic-bezier(.2, .9, .25, 1), filter .55s ease; }
.viewer .draw-layer { z-index: 51; }
.viewer-close { position: absolute; z-index: 52; top: calc(env(safe-area-inset-top) + 9px); right: 14px; background: rgba(255, 255, 255, .12); }
.viewer-circle {
  position: absolute; z-index: 52; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 24px); transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 14px; border-radius: 999px;
  border: var(--hair) solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .12); color: #fff;
  font-weight: 500; font-size: 15px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); white-space: nowrap;
}
.viewer-circle svg.i { width: 18px; height: 18px; }
.viewer-circle:active { transform: translateX(-50%) scale(.95); }
.viewer-circle.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.viewer-hint {
  position: absolute; z-index: 52; left: 16px; right: 16px; top: calc(env(safe-area-inset-top) + 70px); margin: 0;
  text-align: center; color: #fff; font-weight: 500; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); pointer-events: none; animation: rise .3s ease-out;
}
body.viewing { overflow: hidden; }

[hidden] { display: none !important; }

@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes bubIn { from { opacity: 0; transform: translateY(8px) scale(.92); } }
@keyframes ttIn { from { opacity: 0; transform: translateX(-6px); filter: blur(4px); } }
@keyframes up { from { transform: translateY(100%); } }
@keyframes fade { 0% { opacity: .9; } 100% { opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 14px) scale(.9); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes shim { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes micPulse { 0% { box-shadow: 0 0 0 0 var(--ring); } 100% { box-shadow: 0 0 0 14px transparent; } }
@keyframes sweep { from { transform: translateX(-40%); } to { transform: translateX(40%); } }
@keyframes glow { 50% { opacity: .3; } }
@keyframes pop { 0% { transform: scale(0) rotate(-25deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes ring { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.3); opacity: 0; } }
@keyframes drawReg { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* ---------- voice conversation ---------- */
.pill.voice { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); font-weight: 600; }
/* The call fills the screen: nothing to read or scroll while talking. */
body.calling { overflow: hidden; }
.voicebar {
  --bot: 0; --user: 0;
  position: fixed; inset: 0; z-index: 8;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px;
  padding: calc(env(safe-area-inset-top) + 24px) 24px calc(env(safe-area-inset-bottom) + 48px);
  background: var(--bg); text-align: center; animation: fade-in .3s ease both;
}
.voicebar .orb {
  width: 168px; height: 168px; flex: none; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ffe3d1, var(--accent) 55%, #d9763f);
  transform: scale(calc(1 + var(--bot) * .3));
  box-shadow: 0 0 0 calc(var(--user) * 36px) var(--ring), 0 10px 32px -8px rgba(255, 179, 138, .7);
  transition: transform .09s linear, box-shadow .09s linear;
}
.voicebar.checking .orb { animation: orb-think 1.3s ease-in-out infinite; }
@keyframes orb-think { 50% { transform: scale(.86); filter: brightness(1.18) saturate(1.2); } }
.voice-status { margin: 0; font-weight: 600; font-size: calc(20px * var(--k)); }
.voice-ai { margin: -28px 0 0; color: var(--muted); font-size: 13.5px; }
.voice-end { position: absolute; bottom: calc(env(safe-area-inset-bottom) + 48px); left: 50%; translate: -50% 0; width: 72px; height: 72px; flex: none; border-radius: 50%; border: 0; background: #e5484d; color: #fff; display: grid; place-items: center; }
.voice-end svg.i { width: 28px; height: 28px; }
@media (prefers-reduced-motion: reduce) { #camera.holding .shutter span, .listen .orb, .lockpill svg.i:last-child { animation: none; } }
@media (prefers-reduced-motion: reduce) { .voicebar .orb { transition: none; transform: none; } .voicebar.checking .orb { animation: none; opacity: .7; } }

/* ---------- welcome: consent, and why camera and microphone ---------- */
.welcome {
  position: fixed; inset: 0; z-index: 15; overflow-y: auto; display: flex; justify-content: center;
  padding: calc(env(safe-area-inset-top) + 26px) 20px calc(env(safe-area-inset-bottom) + 26px);
  background: radial-gradient(120% 55% at 50% -12%, rgba(255, 179, 138, .16), transparent 62%), var(--bg); animation: fade-in .3s ease both;
}
body.welcoming { overflow: hidden; }
.w-inner { width: 100%; max-width: 460px; margin: auto 0; }
.welcome .brand { margin: 0 0 26px; }
.welcome h1 { font-size: clamp(28px, 7.4vw, 36px); font-weight: 650; letter-spacing: -.025em; line-height: 1.1; margin: 0 0 22px; text-wrap: balance; }
.w-why { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.w-why li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink2); font-size: 15px; line-height: 1.45; }
.w-ic { flex: none; width: 36px; height: 36px; margin-top: -6px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; background: var(--glass); border: var(--hair) solid var(--glass-line); }
.w-consent { padding: 12px 16px 2px; margin: 0 0 6px; border-radius: 20px; background: var(--card); border: var(--hair) solid var(--card-line); }
.welcome:not(.ask) .w-consent { display: none; }
.w-check { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0 8px; font-size: 14.5px; line-height: 1.45; cursor: pointer; }
.w-check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.w-links { margin: 0 0 10px; padding-left: 34px; font-size: 13.5px; color: var(--muted); }
.w-fine { margin: 8px 0 0; text-align: center; color: var(--muted); font-size: 13px; }
.w-foot { margin: 22px 0 0; text-align: center; color: var(--muted); font-size: 12.5px; }

/* Welcome: language row and country, before anything else is asked. */
.w-langs { display: flex; flex-wrap: wrap; gap: 6px; margin: -10px 0 22px; }
.w-langs button { height: 32px; padding: 0 11px; border-radius: 999px; border: var(--hair) solid var(--glass-line); background: var(--glass); color: var(--ink2); font: inherit; font-size: 13px; }
.w-langs button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
.w-country { margin: 0 0 12px; font-size: 14.5px; color: var(--ink2); }
.w-country-btn { border: 0; background: none; padding: 0; color: var(--accent); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
