/* D144: the Heritage look, one layer over both pages (the studio's and the client's).
   The founder held up Mythik+ as the bar: warm, painterly, the story's own world behind
   every screen, a serif wordmark, stone and parchment panels, pill actions, a floating
   tab bar, and the characters as faces with their names under them. The same in dark:
   night stone and lamplight instead of parchment and noon. Everything the page shows
   of the film comes from the film (its poster is the backdrop, its cast are the faces);
   nothing decorative is stock. Loaded after each page's own style, so it wins. */


:root, :root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c0906;
  --panel: rgba(33, 26, 18, .93);
  --panel-solid: #211a12;
  --field: rgba(18, 14, 9, .72);
  --raised: rgba(58, 45, 30, .55);
  --line: rgba(236, 206, 150, .13);
  --line-strong: rgba(236, 206, 150, .26);
  --ink: #f4e7c8;
  --muted: #c2ad86;
  --faint: #8f7d5f;
  --accent: #e4b664;
  --accent-ink: #1c1206;
  --accent-soft: rgba(228, 182, 100, .14);
  --bronze: #5b4630;
  --bronze-ink: #f7ead0;
  --royal: #2c5fd4;
  --royal-deep: #1b3f98;
  --ok: #8fd19e; --bad: #f08a72; --warn: #efc56a; --info: #8cb4ff;
  --ok-soft: rgba(143, 209, 158, .13); --bad-soft: rgba(240, 138, 114, .13);
  --radius: 26px; --radius-s: 18px; --radius-xs: 12px;
  --shadow: 0 1px 0 rgba(255, 236, 196, .06) inset, 0 18px 50px rgba(0, 0, 0, .45);
  --font: "Jost", "Mukta", ui-sans-serif, system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Noto Sans Devanagari", sans-serif;
  --display: "Cormorant Garamond", "Tiro Devanagari Hindi", "Iowan Old Style", Georgia, "Noto Serif Devanagari", serif;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .95  0 0 0 0 .85  0 0 0 0 .65  0 0 0 .07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #efe2c2;
  --panel: rgba(248, 236, 204, .95);
  --panel-solid: #f6e9c8;
  --field: rgba(255, 248, 228, .8);
  --raised: rgba(231, 214, 172, .6);
  --line: rgba(92, 66, 34, .16);
  --line-strong: rgba(92, 66, 34, .28);
  --ink: #3a2a18;
  --muted: #6d5638;
  --faint: #97805d;
  --accent: #8a5f1c;
  --accent-ink: #fff6e2;
  --accent-soft: rgba(138, 95, 28, .12);
  --bronze: #5b4630;
  --bronze-ink: #fbf0d6;
  --ok: #2f7a45; --bad: #b0442c; --warn: #94650f; --info: #1f4fae;
  --ok-soft: rgba(47, 122, 69, .12); --bad-soft: rgba(176, 68, 44, .12);
  --shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 16px 40px rgba(80, 56, 20, .18);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .32  0 0 0 0 .15  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---- the world behind every screen: the film's own poster, dimmed, with lamplight */
html { background: var(--bg); }
body { background: transparent !important; font-family: var(--font); color: var(--ink); letter-spacing: 0; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% -6%, rgba(236, 170, 80, .20), transparent 62%),
    radial-gradient(700px 480px at 0% 110%, rgba(120, 70, 30, .22), transparent 60%),
    linear-gradient(180deg, rgba(12, 9, 6, .55) 0%, rgba(12, 9, 6, .82) 45%, var(--bg) 100%),
    var(--backdrop, none) center top / cover no-repeat,
    var(--bg);
  filter: saturate(1.05);
}
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--grain); opacity: .9; }
:root[data-theme="light"] body::before {
  background:
    radial-gradient(900px 520px at 80% -8%, rgba(255, 214, 140, .55), transparent 60%),
    linear-gradient(180deg, rgba(239, 226, 194, .35) 0%, rgba(239, 226, 194, .88) 40%, var(--bg) 100%),
    var(--backdrop, none) center top / cover no-repeat,
    var(--bg);
}

/* ---- type: a serif for the film's words, a round sans for the rest */
.wordmark { font-family: var(--display); font-style: italic; font-weight: 700; letter-spacing: -.01em; line-height: 1;
            background: linear-gradient(180deg, #f7dca0, #d9a54c 60%, #b98434); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="light"] .wordmark { background: linear-gradient(180deg, #2c4fa0, #1b3f98); -webkit-background-clip: text; background-clip: text; }
.wordmark .plus { font-style: normal; font-weight: 600; }
.view-title h2, .card.hero h2, .headline, .sect h3, .sheetcard h3, .swlabel, #gate .headline, .castname, .film .bd b, h1#title {
  font-family: var(--display); letter-spacing: 0; }
.view-title h2 { font-size: 34px; font-weight: 700; }
.headline { font-size: 22px; font-weight: 700; line-height: 1.25; }
.card.hero h2 { font-size: 34px; font-weight: 700; }
.sect { display: flex; align-items: center; gap: 14px; margin: 34px 0 14px; }
.sect h3 { font-size: 24px; font-weight: 700; color: var(--ink); margin: 0; white-space: nowrap; }
.sect::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); order: 2; }
.sect span { order: 3; color: var(--faint); font-size: 13px; white-space: nowrap; }
.card h2 { font-family: var(--font); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 600; }

/* ---- panels: stone by night, parchment by day */
.card, .alert, .sheetcard, .swcard, #gate .card {
  background: var(--panel) !important; border: 1px solid var(--line) !important; border-radius: var(--radius) !important;
  box-shadow: var(--shadow); position: relative; }
/* no blur behind a card: a phone scrolling twenty blurred panels drops frames (D146);
   only the header, the tab bar and the sheet blur, and the panel is nearly opaque instead */
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 236, 196, .05), transparent 30%); }
.card.pending { border-color: color-mix(in srgb, var(--accent) 60%, transparent) !important;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent), 0 0 40px rgba(228, 182, 100, .12), var(--shadow); }
.card.pending h2::before { background: var(--accent); color: var(--accent-ink); border-radius: 999px; }
.row { border-bottom-color: var(--line); }

/* ---- actions: royal pills for the one thing to do, bronze pills for the rest */
button, a.btn { border-radius: 999px !important; font-family: var(--font); font-weight: 500; letter-spacing: .01em;
  background: var(--raised); border: 1px solid var(--line-strong); color: var(--ink); min-height: 44px; padding: 10px 20px; }
button:hover, a.btn:hover { background: color-mix(in srgb, var(--raised) 70%, var(--accent) 12%); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
button.primary, .swacts .swok {
  background: linear-gradient(180deg, #3a70e6, var(--royal) 55%, var(--royal-deep)) !important; color: #fff !important;
  border: 1px solid rgba(236, 206, 150, .45) !important; font-weight: 600;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 10px 26px rgba(28, 63, 152, .45); text-shadow: 0 1px 0 rgba(0, 0, 0, .2); }
button.primary:hover { filter: brightness(1.08); }
button.danger { color: var(--bad); }
button.mini { min-height: 28px; padding: 0 12px; }
.themebtn, .swx { border-radius: 50% !important; padding: 0 !important; min-height: 38px; width: 38px; height: 38px; }
.chip { border-radius: 999px; background: var(--raised); border-color: var(--line); color: var(--muted); }
.chip.ok { background: var(--bronze); color: var(--bronze-ink); border-color: transparent; }
input, textarea, select, .lbl input, .lbl textarea, .lbl select, form.ask input {
  background: var(--field) !important; border: 1px solid var(--line-strong) !important; border-radius: 16px !important; color: var(--ink) !important; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent) !important; box-shadow: 0 0 0 3px var(--accent-soft); }
.ticks .tick, .filmticks .tick { border-radius: 16px; }
.bar { background: rgba(0, 0, 0, .28); border-radius: 999px; }
.bar > i { background: linear-gradient(90deg, #b98434, var(--accent), #f7dca0); border-radius: 999px; }

/* ---- the shell */
nav.rail { background: rgba(14, 10, 6, .62) !important; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-right: 1px solid var(--line) !important; }
:root[data-theme="light"] nav.rail { background: rgba(246, 233, 200, .7) !important; }
.brand { padding: 4px 10px 22px; flex-direction: column; align-items: flex-start; gap: 2px; }
.brand .wordmark { font-size: 36px; }
.brand small { color: var(--faint); letter-spacing: .22em; font-size: 10px; text-transform: uppercase; }
.navbtn { border-radius: 999px !important; min-height: 44px; }
.navbtn[aria-current="page"] { background: var(--accent-soft) !important; color: var(--ink) !important; box-shadow: none !important; }
.navbtn[aria-current="page"] svg { stroke: var(--accent); }
header.top { background: linear-gradient(180deg, rgba(12, 9, 6, .92), rgba(12, 9, 6, .72)) !important; border-bottom: 1px solid var(--line) !important;
             backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
:root[data-theme="light"] header.top { background: linear-gradient(180deg, rgba(239, 226, 194, .95), rgba(239, 226, 194, .78)) !important; }
header.top .wordmark { font-size: 30px; display: none; }
.pill { background: var(--panel) !important; border: 1px solid var(--line) !important; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.pill .dot.on { background: var(--ok); }

/* ---- the cast, as the founder's reference shows characters: faces with their names */
.castgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 22px 18px; padding: 6px 2px 4px; }
.castcell { display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; background: none; border: 0; padding: 0; min-height: 0; border-radius: 0 !important; }
.castcell:hover { background: none; }
.castface { width: 100%; aspect-ratio: 1; border-radius: 34% 34% 30% 30% / 30% 30% 34% 34%; background: var(--raised) center 18% / cover no-repeat;
  box-shadow: 0 0 0 1px var(--line-strong), 0 14px 30px rgba(0, 0, 0, .45); transition: transform .2s ease, box-shadow .2s ease; }
.castcell:hover .castface { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--accent), 0 18px 36px rgba(0, 0, 0, .5); }
.castface.none { display: grid; place-items: center; color: var(--faint); font-family: var(--display); font-size: 44px; }
.castname { font-size: 19px; font-weight: 700; padding: 3px 14px; border-radius: 999px; background: var(--raised); color: var(--ink); line-height: 1.3; }
.castcell.lead .castname { background: var(--bronze); color: var(--bronze-ink); }
.castlooks { font-size: 12.5px; color: var(--faint); margin-top: -6px; }

/* ---- the films, as posters */
.film { border-radius: var(--radius) !important; overflow: hidden; }

/* ---- the first screen: the wordmark over the world */
#gate { background: #0a0705 !important; overflow: hidden !important; }
#gate .card { padding: 34px 28px !important; }
.signin-brand { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; margin-bottom: 10px; }
.signin-brand .wordmark { font-size: 56px; }
.signin-brand small { letter-spacing: .24em; text-transform: uppercase; color: var(--muted); font-size: 11px; }
#gate .headline { text-align: center; }

/* ---- the phone: the wordmark on top, a floating tab bar, thumb-sized pills */
@media (max-width: 899px) {
  header.top { padding-top: calc(12px + env(safe-area-inset-top)) !important; }
  header.top .wordmark { display: inline-block; }
  header.top h1#viewName { display: none; }
  main { padding: 8px 16px calc(120px + env(safe-area-inset-bottom)) !important; }
  .card { border-radius: 28px !important; padding: 18px !important; }
  .headline { font-size: 21px; }
  .sect h3 { font-size: 22px; }
  .castgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 12px; }
  .castname { font-size: 16px; padding: 2px 11px; }
  nav.tabs {
    left: 14px !important; right: 14px !important; width: auto !important; bottom: calc(12px + env(safe-area-inset-bottom)) !important; top: auto !important;
    border-radius: 34px; border: 1px solid var(--line-strong) !important; padding: 6px !important;
    background: rgba(30, 23, 15, .78) !important; backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .55); }
  :root[data-theme="light"] nav.tabs { background: rgba(251, 241, 214, .86) !important; }
  nav.tabs .navbtn { border-radius: 28px !important; min-height: 58px; color: var(--muted); }
  nav.tabs .navbtn[aria-current="page"] { background: var(--accent-soft) !important; color: var(--accent) !important; }
  .actions button, .sheetacts button { min-height: 52px; }
}

/* ---- scenes as picture cards: play on the picture, the heading in the film's type */
.sc { position: relative; border-radius: var(--radius) !important; overflow: hidden; background: var(--panel) !important; border: 1px solid var(--line) !important; }
.sc .hd { font-family: var(--display); font-size: 19px; font-weight: 700; padding-right: 0; }
.sc .hd button.mini { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; min-height: 38px; padding: 0; float: none;
  background: rgba(12, 9, 6, .55) !important; border-color: rgba(236, 206, 150, .35) !important; color: #f7ead0; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sc .th .n { font-family: var(--font); font-weight: 600; }
.sc .strip img { height: 46px; border-radius: 10px; object-fit: cover; }
.alert .aw b, .alert .aw strong { font-family: var(--display); font-size: 22px; font-weight: 700; }
.hero .poster { border-radius: calc(var(--radius) - 8px); }
.reel .it .ph { border-radius: 20px; }
.sc .strip { display: flex; gap: 6px; overflow-x: auto; height: auto !important; padding: 8px 0 4px; scrollbar-width: none; }
.sc .strip img { flex: none; width: 74px; height: 46px; }

/* ---- smooth on a phone (D146): pictures fade in, off-screen sections skip layout,
   taps answer at once, nothing bounces the page behind a sheet */
html { -webkit-text-size-adjust: 100%; overscroll-behavior-y: none; }
button, a, .castcell, .sc .th, .zoom { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:active, .castcell:active .castface { transform: scale(.97); }
.sc, .reel .it, .donerow, .qcgrid > * { content-visibility: auto; contain-intrinsic-size: auto 320px; }
body::before { will-change: transform; transform: translateZ(0); }
.sheet.on, .sw.on, .lightbox.on { overscroll-behavior: contain; }
@media (display-mode: standalone) {
  header.top { padding-top: calc(14px + env(safe-area-inset-top)) !important; }
  #livePill { max-width: 48vw; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.offlinebar { position: fixed; left: 14px; right: 14px; top: calc(10px + env(safe-area-inset-top)); z-index: 90; display: none;
  padding: 12px 16px; border-radius: 18px; background: rgba(60, 30, 18, .96); color: #f7ead0; border: 1px solid rgba(240, 138, 114, .45);
  font-size: 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }
.offlinebar.on { display: block; }

/* ---- iPhone and Android alike (D149): the visible height, not the height behind the
   address bar; a field at 16px so Safari never zooms the page on a tap; no callout on a
   long press of a picture; videos play in the page, never forced full screen */
@supports (height: 100dvh) {
  .shell { min-height: 100dvh; }
  nav.rail { height: 100dvh; }
  .lightbox img { max-height: calc(100dvh - 110px); }
}
@media (max-width: 899px) {
  input, textarea, select, .lbl input, .lbl textarea, .lbl select, form.ask input { font-size: 16px !important; }
}
img, .castface, .sc .th { -webkit-user-drag: none; -webkit-touch-callout: none; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

/* ---- D151: the sign-in reel, a board of film-making photographs, every row a strip of
   film sliding left to right; nothing of the app shows behind the sign-in */
.reel-board { position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; overflow: hidden; pointer-events: none; }
.reel-board::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(10, 7, 5, .82), rgba(10, 7, 5, .35) 70%, rgba(10, 7, 5, .55)); }
.reel-strip { flex: none; height: var(--rowh); overflow: hidden; background: #050302; border-bottom: 2px solid #000; }
.reel-track { display: flex; gap: 5px; height: 100%; width: max-content; padding: 13px 0; box-sizing: border-box;
  animation: reel-lr 50s linear infinite; will-change: transform;
  background:
    repeating-linear-gradient(90deg, transparent 0 9px, rgba(236, 206, 150, .30) 9px 17px, transparent 17px 26px) left 3px / 100% 7px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 9px, rgba(236, 206, 150, .30) 9px 17px, transparent 17px 26px) left calc(100% - 3px) / 100% 7px no-repeat,
    #050302; }
@keyframes reel-lr { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
.reel-frame { flex: none; height: 100%; width: calc(var(--rowh) * 1.3); border-radius: 3px;
  background: #1c150d center / cover no-repeat; filter: saturate(.9) brightness(.8) contrast(1.05); }
.reel-frame.dim { filter: saturate(.55) brightness(.5) sepia(.3); }
#gate > form, #gate > .card { position: relative; z-index: 2; box-shadow: 0 30px 90px rgba(0, 0, 0, .75), 0 0 0 1px rgba(236, 206, 150, .18) !important; }
@media (prefers-reduced-motion: reduce) { .reel-track { animation: none; } }

/* ---- D152: the client's page, a live premiere of their own film */
.cx-hero { position: relative; border-radius: 30px; overflow: hidden; min-height: 420px; margin: 4px 0 18px;
  display: flex; align-items: flex-end; box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 0 1px var(--line); background: #120d08; }
.cx-poster { position: absolute; inset: 0; background: #1c150d center 30% / cover no-repeat; transform: scale(1.04);
  animation: cx-drift 28s ease-in-out infinite alternate; }
@keyframes cx-drift { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.12) translate3d(-2%, -1%, 0); } }
.cx-hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 9, 6, .05) 20%, rgba(12, 9, 6, .55) 55%, rgba(12, 9, 6, .96)); }
.cx-hero-in { position: relative; z-index: 1; padding: 28px 30px 30px; width: 100%; }
.cx-live { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--font); letter-spacing: .18em;
  color: #fff; background: rgba(12, 9, 6, .55); border: 1px solid rgba(255, 255, 255, .18); padding: 8px 12px; border-radius: 999px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.cx-live i { width: 9px; height: 9px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 0 rgba(255, 77, 77, .7); animation: cx-pulse 1.6s infinite; }
.cx-live span { letter-spacing: .02em; font-weight: 400; color: #d9c9a8; text-transform: none; }
@keyframes cx-pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 77, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); } }
.cx-title { font: 700 clamp(40px, 7vw, 72px)/1.02 var(--display); margin: 14px 0 8px; color: #f7ead0; text-shadow: 0 6px 30px rgba(0, 0, 0, .6); }
.cx-doing { font-size: 18px; color: #e8d8b6; margin: 0 0 18px; max-width: 60ch; }
.cx-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.cx-voice { margin: 0 0 18px; }
.cx-voice-in { position: relative; padding: 22px 24px 18px 26px; border-radius: 24px; background: linear-gradient(135deg, rgba(228, 182, 100, .16), rgba(33, 26, 18, .92) 55%);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); box-shadow: var(--shadow); animation: cx-in .6s ease both; }
.cx-voice-in small { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .16em; text-transform: uppercase; font-size: 11px; color: var(--accent); font-weight: 600; }
.cx-voice-in small i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: cx-pulse 1.6s infinite; }
.cx-voice-in .cx-q { margin: 10px 0 6px; font: italic 600 clamp(20px, 3.2vw, 27px)/1.35 var(--display); color: var(--ink); }
@keyframes cx-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cx-floor { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cx-tile { padding: 14px 16px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); animation: cx-in .5s ease both; }
.cx-tile b { display: block; font-weight: 500; margin-bottom: 10px; }
.cx-tile small { color: var(--faint); }
.cx-reel { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cx-reel figure { flex: none; width: min(260px, 70vw); margin: 0; scroll-snap-align: start; cursor: pointer; animation: cx-in .5s ease both; }
.cx-reel figure span { display: block; aspect-ratio: 16 / 10; border-radius: 18px; background: #1c150d center / cover; box-shadow: 0 12px 30px rgba(0, 0, 0, .45), 0 0 0 1px var(--line); }
.cx-reel figcaption { margin-top: 8px; font-size: 14px; display: flex; flex-direction: column; }
.cx-reel figcaption small { color: var(--faint); }
.cx-toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 80; transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 20px; min-width: 260px; max-width: 92vw;
  background: rgba(33, 26, 18, .96); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .6); transition: transform .45s cubic-bezier(.2, .9, .3, 1.2); cursor: pointer; }
.cx-toast.on { transform: translate(-50%, 0); }
.cx-toast .ph { width: 64px; height: 44px; border-radius: 10px; background: center / cover; flex: none; }
.cx-toast small { display: block; color: var(--accent); letter-spacing: .14em; text-transform: uppercase; font-size: 10.5px; font-weight: 600; }
.cx-toast b { font-weight: 500; }
body > header .brand.wordmark { font-size: 30px; text-transform: none; letter-spacing: 0; }
@media (max-width: 700px) {
  .cx-hero { min-height: 520px; border-radius: 26px; }
  .cx-hero-in { padding: 22px 20px 24px; }
  .cx-doing { font-size: 16px; }
  .cx-acts button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .cx-poster, .cx-live i, .cx-voice-in small i { animation: none; } }
