/* Bragi, the Product page (2026-10-03). The front page's dark ground, Mandali and lime, told in
   seven scenes: the MacBook opening on the Dashboard, what Bragi does, one account's real
   numbers, the price against X Ads, the three app pages as floating displays, what Bragi does and the
   comparison. The app pages are the dashboard itself rebuilt in HTML at its own size (1512 x 945,
   the dashboard's tokens under .ui) and scaled into place, so the type stays sharp at any size.
   Motion lives in js/product.js; without it every scene is shown finished. */

.sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.page-product .nav { transition: background-color 300ms ease, border-color 300ms ease; }

/* ---------- the rolling number: one column of digits per place ---------- */
.roll { display: inline-flex; line-height: 1; font-variant-numeric: tabular-nums; }
.roll .rd { display: inline-block; height: 1em; overflow: hidden; }
.roll .rd > span { display: flex; flex-direction: column; }
.roll .rd > span > span { height: 1em; }

/* ---------- 1. hero: the MacBook ---------- */
.ph { position: relative; height: 290vh; height: 290svh; }
.ph-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.ph-copy {
  position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 20px;
  padding: calc(var(--nav-h) + clamp(28px, 7svh, 72px)) var(--gutter) 0; text-align: center;
}
.ph-title { margin: 0; font-size: clamp(46px, min(7.4vw, 11svh), 116px); line-height: 1; letter-spacing: -.04em; }
.ph-sub { margin: 0; max-width: 34ch; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; color: var(--ink-2); text-wrap: balance; }
.ph-stage { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.ph-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* The screen: laid onto the rendered display every frame by a matrix3d (js/frames.js). The render
   shows the display as dark glass; screen blending adds the picture to it, so the glass's
   reflections stay on top and the black notch and corners show the glass itself. */
.ph-glass {
  position: absolute; left: 0; top: 0; width: 1512px; height: 982px;
  transform-origin: 0 0; opacity: 0; visibility: hidden; pointer-events: none; overflow: hidden;
  border-radius: 18px 18px 0 0; mix-blend-mode: screen;
  backface-visibility: hidden; will-change: transform, opacity;
}
.ph-screen { position: absolute; inset: 0; }
.ph-screen .ui { height: 982px; box-shadow: none; }
.ph-notch {
  position: absolute; left: 50%; top: 0; width: 104px; height: 33px; margin-left: -52px;
  border-radius: 0 0 13px 13px; background: #000;
}
/* ?motion=off: one frame of the same story, the lid open, in the flow of the page */
html.rm .ph { height: auto; }
html.rm .ph-pin { position: relative; height: auto; overflow: visible; padding-bottom: 8svh; }
html.rm .ph-stage {
  position: relative; inset: auto; width: min(100%, 1240px); margin: clamp(8px, 3svh, 32px) auto 0;
  aspect-ratio: 1920 / 1200;
}

/* ---------- 2. what Bragi does ---------- */
.pd { display: grid; place-items: center; min-height: 100svh; padding: 18svh var(--gutter); }
.pd-text {
  margin: 0; max-width: 24ch; font-size: clamp(30px, 4.3vw, 66px); line-height: 1.12; letter-spacing: -.025em;
  color: var(--ink-1); text-wrap: pretty;
}
.pd-text .pw-word { opacity: .2; transition: opacity 120ms linear; }
html.rm .pd-text .pw-word { opacity: 1; }

/* ---------- 3. results ---------- */
.pr { padding: 14svh var(--gutter) 18svh; }
.pr-wrap { max-width: 1320px; margin: 0 auto; }
.pr-title { margin: 0 0 clamp(36px, 6svh, 72px); font-size: clamp(36px, 4.6vw, 72px); line-height: 1.02; letter-spacing: -.03em; }
.pr-grid { display: grid; gap: 40px; align-items: end; }
.pr-big { margin: 0; font-size: clamp(80px, 14vw, 232px); line-height: .9; letter-spacing: -.055em; }
.pr-cap { margin: 14px 0 0; font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-2); }
.pr-side { display: grid; gap: 28px; margin: 0; }
.pr-side div { display: flex; flex-direction: column-reverse; gap: 6px; }
.pr-side dt { font-size: 16px; color: var(--ink-2); }
.pr-side dd { margin: 0; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; letter-spacing: -.035em; }
.pr-chart { margin-top: clamp(48px, 8svh, 96px); }
.pr-bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: end; gap: clamp(3px, .45vw, 7px); height: clamp(120px, 20svh, 200px); }
.pr-bars i { display: block; min-height: 2px; border-radius: 4px 4px 1px 1px; background: var(--lime); transform-origin: 50% 100%; }
.pr-bars i.zero { background: rgba(244, 244, 239, .12); }
.pr-axis { display: flex; justify-content: space-between; margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.pr-note { max-width: 62ch; margin: 28px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
@media (min-width: 900px) { .pr-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }

/* ---------- 4. against X Ads ---------- */
.pa { padding: 12svh var(--gutter) 18svh; }
.pa-wrap { max-width: 1320px; margin: 0 auto; }
.pa-title { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .3em; font-size: clamp(36px, 4.6vw, 72px); line-height: 1; letter-spacing: -.03em; }
.pa-num { font-size: clamp(120px, 21vw, 340px); line-height: .82; letter-spacing: -.06em; color: var(--lime); }
.pa-line { flex-basis: 100%; margin-top: 18px; }
.pa-sub { max-width: 46ch; margin: 28px 0 0; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; color: var(--ink-2); }
.pa-bars { display: grid; gap: 26px; margin-top: clamp(44px, 7svh, 80px); }
.pa-row { display: grid; gap: 10px; }
.pa-label { font-size: 15px; color: var(--ink-2); }
.pa-bar { display: block; height: 14px; border-radius: 999px; transform-origin: 0 50%; }
.pa-bar-ads { background: rgba(244, 244, 239, .16); }
.pa-bar-bragi { width: calc(100% / 54); min-width: 10px; background: var(--lime); }
.pa-note { margin: 28px 0 0; font-size: 14px; color: var(--ink-3); }

/* ---------- 5. the app, on floating displays ---------- */
.pt { position: relative; height: 420vh; height: 420svh; }
.pt-pin {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; align-items: center; gap: 24px;
  padding: calc(var(--nav-h) + 16px) var(--gutter) 24px;
  max-width: 1480px; margin: 0 auto;
}
.pt-title { margin: 0 0 32px; font-size: clamp(34px, 3.8vw, 60px); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.pt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.pt-list li { opacity: .32; transition: opacity 400ms var(--ease-out); }
.pt-list li.is-on { opacity: 1; }
.pt-list h3 { margin: 0 0 6px; font-size: 22px; line-height: 1.2; }
.pt-list p { margin: 0; max-width: 34ch; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
/* The stage: Blender's three displays (render/displays) on a canvas, the live pages laid on
   their glass every frame (js/frames.js). The edges fade into the ground, screens and all. */
.pt-stage {
  position: relative; height: 100%; min-height: 0; overflow: hidden; isolation: isolate;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(180deg, transparent, #000 6%, #000 80%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(180deg, transparent, #000 6%, #000 80%, transparent);
  mask-composite: intersect;
}
.pt-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.disp {
  position: absolute; left: 0; top: 0; width: 1512px; height: 945px; overflow: hidden;
  transform-origin: 0 0; opacity: 0; visibility: hidden; pointer-events: none;
  border-radius: 5px; mix-blend-mode: screen; backface-visibility: hidden; will-change: transform, opacity;
}
.disp-glass, .disp-fit { position: absolute; inset: 0; }
.disp .ui { box-shadow: none; }
@media (min-width: 900px) {
  .pt-pin { grid-template-columns: minmax(260px, 4fr) minmax(0, 9fr); gap: clamp(24px, 4vw, 64px); }
  .pt-stage { height: min(80svh, 720px); }
}
@media (max-width: 899px) {
  .pt-pin { grid-template-rows: auto auto; align-content: center; align-items: start; gap: 28px; }
  .pt-stage { height: auto; aspect-ratio: 1920 / 1320; }
  .pt-title { margin-bottom: 14px; font-size: clamp(30px, 8vw, 40px); }
  .pt-list { display: block; position: relative; min-height: 96px; }
  .pt-list li { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(8px); transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out); }
  .pt-list li.is-on { opacity: 1; transform: none; }
  .pt-list h3 { font-size: 20px; }
  .pt-list p { font-size: 15px; }
}
/* static: the copy above one frame of the stage, all three displays in view */
html.rm .pt { height: auto; padding-bottom: 12svh; }
html.rm .pt-pin { display: block; position: relative; height: auto; overflow: visible; max-width: 1180px; }
html.rm .pt-list { display: grid; gap: 18px; margin-bottom: 32px; }
html.rm .pt-list li { position: static; opacity: 1; transform: none; }
html.rm .pt-stage { height: auto; aspect-ratio: 1920 / 1320; }

/* ---------- 6. what Bragi does for you ----------
   One card per job. Each card's top is a small X scene of the job being done (it plays once as the
   card comes into view, js/product.js jobs()); the bottom says it in one plain line. Without motion
   every scene is shown done. */
.pj { padding: 16svh var(--gutter) 12svh; }
.pj-wrap { max-width: 1320px; margin: 0 auto; }
.pj-head { display: grid; gap: 18px; margin: 0 0 clamp(36px, 6svh, 64px); }
.pj-title { margin: 0; font-size: clamp(38px, 5vw, 76px); line-height: 1; letter-spacing: -.035em; }
.pj-sub { margin: 0; max-width: 40ch; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; color: var(--ink-2); text-wrap: balance; }
.pj-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) {
  .pj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pj-wide, .pj-card[data-job="echo"] { grid-column: span 2; }
}
@media (min-width: 1100px) {
  .pj-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pj-card { grid-column: span 2; }
  .pj-wide { grid-column: span 3; }
  .pj-card[data-job="echo"] { grid-column: span 2; }
}
.pj-card {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: 22px; background: #111110;
}
.pj-copy { display: grid; gap: 10px; align-content: start; padding: 22px 26px 28px; }
.pj-copy h3 { margin: 4px 0 0; font-size: clamp(23px, 2vw, 30px); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.pj-copy p { margin: 0; max-width: 46ch; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.pj-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; line-height: 16px; color: var(--ink-2); }
.pj-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.pj-foot { display: flex; align-items: center; gap: 10px; margin: 28px 0 0; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.pj-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); flex: none; }

/* the scene: X's own black, a soft lime light behind whatever Bragi wrote */
.pj-vis {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 10px;
  flex: 1; min-height: 300px; padding: 26px clamp(18px, 2.4vw, 30px); background: var(--x-bg);
  border-bottom: 1px solid var(--line); overflow: hidden;
}
.pj-vis::after {
  content: ''; position: absolute; inset: auto -20% -60% -20%; height: 90%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(223, 255, 94, .09), transparent);
}
.jp { position: relative; z-index: 1; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; }
.jp .av { width: 34px; height: 34px; font-size: 12px; }
.jp .av-you .i { width: 20px; height: 20px; }
.jp-main { min-width: 0; }
.jp-head { display: flex; align-items: center; gap: 5px; min-width: 0; font-size: 14px; line-height: 18px; white-space: nowrap; }
.jp-head .x-sub { overflow: hidden; text-overflow: ellipsis; }
.jp-text { margin: 3px 0 0; font-size: 14px; line-height: 19px; color: var(--x-text); }
.jp-acts { display: flex; justify-content: space-between; max-width: 300px; margin-top: 10px; font-size: 13px; line-height: 16px; color: var(--x-sub); }
.jp-acts > span { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.jp-acts b { font-weight: 400; }
.jp-acts .i { width: 16px; height: 16px; }
.jp-heart { display: inline-grid; }
.jp-heart .i { grid-area: 1 / 1; }
.jp-heart .jh-f { opacity: 0; }
.jp-like.is-liked { color: var(--x-pink); }
.jp-like.is-liked .jh-f { opacity: 1; }
.jp-like.is-liked .jh-o { opacity: 0; }
/* what Bragi wrote: a reply in the user's name, marked by the lime rule at its left */
.jp-you { padding: 12px 14px; margin-left: 22px; border-radius: 16px; background: #16181C; box-shadow: inset 2px 0 0 var(--lime); }
.jp-you.jp-solo { margin-left: 0; }
.jp-hot { margin-left: auto; padding: 3px 9px; border-radius: 999px; background: rgba(223, 255, 94, .14); color: var(--lime); font: 600 12px/14px var(--x-font); }
.jp-follow { height: 28px; padding: 0 14px; font-size: 13px; }
.jp-steps { position: relative; z-index: 1; display: flex; gap: 8px; margin: 4px 0 0 22px; padding: 0; list-style: none; }
.jp-steps li { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(223, 255, 94, .35); color: var(--lime); font: 600 12px/14px var(--x-font); }
.jp-clock { position: relative; z-index: 1; align-self: flex-start; margin-left: 22px; padding: 4px 10px; border-radius: 999px; background: rgba(223, 255, 94, .14); color: var(--lime); font: 600 12px/14px var(--x-font); }
/* Insights: the sources being read, one picked */
.jn { position: relative; z-index: 1; display: grid; gap: 6px; margin: 0 0 4px; padding: 0; list-style: none; }
.jn li { display: grid; grid-template-columns: 22px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; row-gap: 6px; align-items: center; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--x-line); transition: border-color 300ms ease, background-color 300ms ease; }
.jn i { grid-row: span 2; width: 22px; height: 22px; border-radius: 6px; background: #2A2D31; }
.jn span { height: 7px; border-radius: 4px; background: #2F3336; }
.jn span.s { width: 55%; background: #24272B; }
.jn li.is-pick { border-color: rgba(223, 255, 94, .45); background: rgba(223, 255, 94, .05); }
.jn li.is-pick i { background: var(--lime); }
.jn-label { position: relative; z-index: 1; font: 600 12px/14px var(--x-font); }
/* Echo: a long LinkedIn post */
.jl { position: relative; z-index: 1; display: grid; gap: 7px; margin: 0 0 4px; padding: 14px 16px; border-radius: 14px; background: #1B1F23; }
.jl-name { margin-bottom: 3px; font: 600 12px/14px var(--x-font); color: #8C959F; height: auto !important; background: none !important; }
.jl span { height: 7px; border-radius: 4px; background: #30363D; }
.jl span.s { width: 40%; }

/* ---------- 7. why Bragi ---------- */
.pw { padding: 10svh var(--gutter) 18svh; }
.pw-wrap { max-width: 1320px; margin: 0 auto; }
.pw-title { margin: 0 0 clamp(32px, 6svh, 64px); font-size: clamp(36px, 4.6vw, 72px); line-height: 1; letter-spacing: -.03em; }
.pw-table { position: relative; display: grid; }
.pw-row { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 0 12px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); font-size: 16px; }
.pw-headrow { border-top: 0; padding-top: 0; color: var(--ink-2); font-size: 15px; }
.pw-headrow .pw-bragi { color: var(--ink-1); font-size: 18px; }
.pw-row [role="rowheader"] { color: var(--ink-1); }
.pw-row .y { color: var(--ink-1); }
.pw-row .n { color: var(--ink-3); }
.pw-row .pw-bragi { position: relative; }
.pw-row .pw-bragi.y { color: var(--lime); }
@media (max-width: 767px) {
  .pw-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 8px; font-size: 14px; }
  .pw-row [role="rowheader"] { grid-column: 1 / -1; font-size: 16px; }
  .pw-headrow > span:first-child { display: none; }
}

/* ---------- close ---------- */
.end-product {
  min-height: 78svh; justify-content: center; padding-bottom: clamp(96px, 16svh, 160px);
  background: var(--lime); color: var(--on-lime);
  box-shadow: 0 0 0 100vmax var(--lime); clip-path: inset(0 -100vmax);
}
.end-product :focus-visible { outline-color: var(--on-lime); }

/* =====================================================================
   The app, rebuilt: the dashboard's own tokens (bragi/app tailwind.config.ts) at its own size.
   ===================================================================== */
.ui {
  --a-canvas: #FAFBF6; --a-surface: #FFFFFF; --a-ink: #0F0E0C; --a-ink2: #3f453a; --a-muted: #5F6660;
  --a-faint: #6b7365; --a-faint2: #98a08f; --a-line: #E4E7DE; --a-line2: #f0f2ea; --a-acct: #1D4FA3; --a-acct-tint: #DCEBFF;
  --a-lime: #DFFF5E; --a-lime-c: #c3e831; --a-lime-tint: #F3FFC4; --a-olive: #4F6B00;
  --a-card: 0 0 0 1px rgba(15, 14, 12, .05), 0 1px 2px rgba(15, 14, 12, .04), 0 8px 24px -12px rgba(15, 14, 12, .08);
  position: relative; width: 1512px; height: 945px; overflow: hidden;
  display: grid; grid-template-columns: 230px minmax(0, 1fr);
  font: 400 16px/1.4 var(--font); color: var(--a-ink); letter-spacing: 0;
  background-color: #fff;
  background-image: radial-gradient(rgba(15, 14, 12, .1) 1.1px, transparent 1.3px);
  background-size: 28px 28px; background-position: 14px 14px;
  -webkit-font-smoothing: antialiased; text-align: left;
}
.ui b { font-weight: 700; }
.ui-i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ui-side { display: flex; flex-direction: column; gap: 2px; padding: 18px 14px; background: #fff; border-right: 1px solid var(--a-line); }
.ui-logo { display: flex; align-items: center; gap: 10px; margin: 0 4px 22px; font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.ui-logo img { width: 36px; height: 36px; border-radius: 50%; }
.ui-nav, .ui-leaf { display: flex; align-items: center; gap: 11px; height: 36px; padding: 0 10px; border-radius: 9px; font-size: 15px; color: var(--a-ink2); }
.ui-count { margin-left: auto; font-size: 13px; color: var(--a-faint); }
.ui-acct { display: flex; align-items: center; gap: 8px; height: 38px; margin-top: 10px; padding: 0 6px; font-size: 16px; color: var(--a-acct); }
.ui-acct .ui-chev { width: 14px; height: 14px; color: var(--a-faint); }
.ui-tree { margin-left: 13px; padding-left: 12px; border-left: 1px solid var(--a-line); display: grid; gap: 2px; }
.ui-head { margin: 12px 0 4px 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--a-faint); }
.ui-leaf.is-on { background: var(--a-acct-tint); color: var(--a-acct); font-weight: 700; }
.ui-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--a-line); }
.ui-main { min-width: 0; padding: 26px 48px 0 60px; }
.ui-h1 { margin: 0 0 22px; font-size: 38px; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
.ui-card { background: #fff; border-radius: 22px; box-shadow: var(--a-card); }

/* dashboard */
.ui-earned { padding: 30px 32px 30px 36px; }
.ui-earned-top { display: flex; align-items: center; justify-content: space-between; font-size: 18px; }
.ui-seg { display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--a-canvas); box-shadow: inset 0 0 0 1px var(--a-line); font-size: 15px; color: var(--a-muted); }
.ui-seg span { padding: 7px 14px; border-radius: 9px; }
.ui-seg .is-on { background: #fff; color: var(--a-ink); font-weight: 700; box-shadow: 0 1px 2px rgba(15, 14, 12, .1); }
.ui-earned-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 34px; align-items: end; margin-top: 16px; }
.ui-big { display: flex; align-items: baseline; font-size: 132px; line-height: 1; font-weight: 700; letter-spacing: -.05em; }
.ui-big .roll { font-weight: 700; }
.ui-unit { display: flex; flex-direction: column; margin-left: 18px; font-size: 34px; letter-spacing: -.02em; line-height: 1.1; }
.ui-unit small { font-size: 18px; font-weight: 400; color: var(--a-muted); letter-spacing: 0; }
.ui-earned-foot { margin: 18px 0 0; font-size: 17px; color: var(--a-ink2); }
.ui-chart { padding: 18px 20px 14px; border-radius: 16px; background: var(--a-canvas); }
.ui-chart-l { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.ui-chart-l i { width: 11px; height: 11px; border-radius: 3px; background: var(--a-lime-c); }
.ui-bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; align-items: end; height: 190px; margin-top: 12px; }
.ui-bars i { display: block; min-height: 3px; border-radius: 3px 3px 1px 1px; background: var(--a-lime-c); transform-origin: 50% 100%; }
.ui-bars i.zero { background: var(--a-line); }
.ui-bars i.today { background: repeating-linear-gradient(135deg, var(--a-lime-c) 0 4px, #e9f6b8 4px 8px); }
.ui-banners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.ui-ban { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 20px; background: #fff; box-shadow: var(--a-card); }
.ui-ban > div { display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 8px; justify-content: start; }
.ui-ban b { font-size: 34px; line-height: 1.05; letter-spacing: -.02em; }
.ui-ban em { font-style: normal; font-size: 14px; color: var(--a-olive); font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--a-lime-tint); }
.ui-ban span { grid-column: 1 / -1; font-size: 16px; color: var(--a-ink2); }
.ui-medal { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; flex: none; }
.ui-medal .ui-i { width: 24px; height: 24px; }
.ui-m-lime { background: #eef7cf; color: var(--a-olive); }
.ui-m-pink { background: #ffe4ef; color: #d6246e; }
.ui-m-blue { background: #e1f1fd; color: #1d8fe0; }
.ui-m-green { background: #dcf5ec; color: #0b9a68; }
.ui-m-ink { background: #f0f1ec; color: var(--a-ink); }
.ui-spark { position: absolute; right: 20px; top: 50%; width: 110px; height: 36px; margin-top: -18px; overflow: visible; }
.ui-spark path { fill: none; stroke: var(--a-faint2); stroke-width: 1.6; vector-effect: non-scaling-stroke; }

/* campaigns */
.ui-camp-top { display: flex; align-items: center; justify-content: space-between; }
.ui-camp-top .ui-h1 { margin-bottom: 6px; }
.ui-btn-o { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--a-line); background: #fff; font-size: 16px; }
.ui-hours { display: flex; align-items: center; justify-content: flex-end; gap: 7px; margin: 0; font-size: 15px; color: var(--a-muted); }
.ui-hours b { color: var(--a-ink); font-weight: 400; }
.ui-graph { position: relative; height: 492px; margin-top: 4px; }
.ui-edges { position: absolute; left: 0; top: 0; width: 100%; height: 470px; overflow: visible; }
.ui-edges path { fill: none; stroke: #c8cdbd; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.ui-dot { fill: #b7dd1e; }
.ui-presets { position: absolute; left: 0; top: 0; display: grid; gap: 11px; width: 300px; }
.ui-preset { position: relative; display: flex; align-items: center; gap: 14px; height: 84px; padding: 0 16px; border-radius: 18px; background: #fff; box-shadow: var(--a-card); }
.ui-preset > div { display: grid; }
.ui-preset b { font-size: 20px; font-weight: 400; }
.ui-preset span { font-size: 15px; color: var(--a-muted); }
.ui-preset i { font-style: normal; font-weight: 700; color: var(--a-ink); }
.ui-preset em { position: absolute; right: 14px; top: 14px; display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--a-line); font-style: normal; font-size: 12.5px; color: var(--a-muted); }
.ui-preset em .ui-i { width: 13px; height: 13px; }
.ui-preset em.ui-auto { border-color: var(--a-ink); background: var(--a-ink); color: var(--a-lime); }
.ui-pi { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--a-ink); color: var(--a-lime); flex: none; }
.ui-pi .ui-i { width: 22px; height: 22px; }
.ui-mark { position: absolute; left: calc(670 / 1100 * 100%); top: 210px; width: 120px; height: 120px; margin: -60px 0 0 -60px; display: grid; place-items: center; }
.ui-mark img { position: relative; width: 104px; height: 104px; border-radius: 50%; box-shadow: 0 0 0 10px rgba(223, 255, 94, .35), 0 10px 30px -8px rgba(120, 150, 0, .45); }
.ui-ripple { position: absolute; inset: 8px; border-radius: 50%; border: 2px solid rgba(195, 232, 49, .55); opacity: 0; }
@keyframes ui-rip { from { transform: scale(1); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
html.motion .disp.is-on .ui-ripple { animation: ui-rip 2.8s cubic-bezier(0.16, 1, 0.3, 1) infinite; }
html.motion .disp.is-on .ui-ripple + .ui-ripple { animation-delay: 1.4s; }
@keyframes ui-live { 50% { box-shadow: 0 0 0 7px rgba(223, 255, 94, .2); } }
html.motion .disp.is-on .ui-live { animation: ui-live 1.6s ease-in-out infinite; }
.ui-outs { position: absolute; right: 0; top: 92px; display: grid; gap: 10px; width: calc(100% - 900 / 1100 * 100%); min-width: 300px; }
.ui-out { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 16px; border-radius: 14px; background: #fff; box-shadow: var(--a-card); font-size: 18px; }
.ui-out b { font-weight: 400; }
.ui-out span { margin-left: auto; font-size: 14px; color: var(--a-muted); }
.ui-out i { font-style: normal; font-size: 20px; font-weight: 700; color: var(--a-ink); }
.ui-status { position: absolute; left: calc(500 / 1100 * 100%); top: 432px; display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; color: var(--a-muted); white-space: nowrap; }
.ui-status b { font-weight: 700; color: var(--a-ink); }
.ui-live { width: 14px; height: 14px; border-radius: 50%; background: var(--a-lime-c); box-shadow: 0 0 0 4px rgba(223, 255, 94, .45); }
.ui-h2 { margin: 6px 0 14px; font-size: 26px; font-weight: 400; letter-spacing: -.01em; }
.ui-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ui-tool { display: grid; gap: 4px; padding: 0 0 22px; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 0 0 2px #cfee5a, var(--a-card); font-size: 15px; color: var(--a-muted); }
.ui-tool b { padding: 0 20px; font-size: 19px; font-weight: 700; color: var(--a-ink); }
.ui-tool > span { padding: 0 20px; }
.ui-tool-top { position: relative; display: grid; place-items: center; height: 110px; margin-bottom: 14px; background-color: var(--a-lime-tint); background-image: radial-gradient(rgba(15, 14, 12, .08) 1px, transparent 1.2px); background-size: 16px 16px; }
.ui-pi-lg { width: 72px; height: 72px; border-radius: 18px; }
.ui-pi-lg .ui-i { width: 30px; height: 30px; }
.ui-switch { position: absolute; right: 16px; top: 14px; display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 4px 0 12px; border-radius: 999px; background: var(--a-ink); color: #fff; font-size: 12px; letter-spacing: .1em; }
.ui-switch i { width: 24px; height: 24px; border-radius: 50%; background: var(--a-lime); }

/* studio */
.ui-board {
  position: relative; height: 820px; border-radius: 26px; overflow: hidden;
  background-color: var(--a-canvas); box-shadow: inset 0 0 0 1px var(--a-line);
  background-image: radial-gradient(rgba(15, 14, 12, .12) 1px, transparent 1.3px); background-size: 26px 26px;
}
.ui-note, .ui-linkc { position: absolute; display: flex; gap: 12px; padding: 18px 20px; border-radius: 16px; background: #fff; box-shadow: var(--a-card); font-size: 19px; line-height: 1.4; }
.ui-note { left: 70px; top: 80px; width: 330px; background: #fffbe0; transform: rotate(-2deg); }
.ui-note p { margin: 0; }
.ui-note .ui-i, .ui-linkc .ui-i { margin-top: 3px; color: var(--a-muted); }
.ui-linkc { left: 120px; top: 330px; width: 330px; transform: rotate(1.5deg); }
.ui-linkc div { display: grid; }
.ui-linkc b { font-size: 17px; }
.ui-linkc span { font-size: 15px; color: var(--a-muted); }
.ui-draft { position: absolute; right: 90px; top: 140px; width: 560px; padding: 22px 24px 20px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(15, 14, 12, .05), 0 2px 4px rgba(15, 14, 12, .06), 0 30px 60px -24px rgba(15, 14, 12, .25); }
.ui-draft-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: #FFF4B8; color: #7A5A00; font-size: 14px; }
.ui-draft-chip .ui-i { width: 15px; height: 15px; }
.ui-xpost { display: flex; gap: 14px; margin-top: 18px; }
.ui-xav { width: 48px; height: 48px; border-radius: 50%; flex: none; }
.ui-xhead { display: flex; gap: 6px; margin: 0; font: 400 17px/1.3 var(--x-font); color: #536471; }
.ui-xhead b { color: #0F1419; }
.ui-xtext { margin: 4px 0 0; font: 400 24px/1.35 var(--x-font); color: #0F1419; }
.ui-draft-act { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--a-line2); }
.ui-when { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--a-lime-tint); font-size: 15px; color: var(--a-olive); }
.ui-ok { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--a-lime); font-size: 16px; }
.ui-taskbar { position: absolute; left: 50%; bottom: 26px; display: flex; align-items: center; gap: 22px; padding: 10px 10px 10px 26px; transform: translateX(-50%); border-radius: 999px; background: #fff; box-shadow: var(--a-card); color: var(--a-ink2); }
.ui-whip { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; background: var(--a-ink); color: #fff; font-size: 17px; }
.ui-whip .ui-i { color: var(--a-lime); }
