/* Fastbreak's member page (white almost always, more contrast, entrances like our website).
   White and paper surfaces, forest green for what you press, each plugin in its own color, never green on green. */

@font-face { font-family: 'Geist'; src: url('../fonts/geist-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('../fonts/geist-mono-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Inter Tight'; src: url('../fonts/inter-tight-latin-wght-italic.woff2') format('woff2'); font-weight: 700 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('../fonts/playfair-display-latin-600-italic.woff2') format('woff2'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('../fonts/instrument-serif-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('../fonts/instrument-serif-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --nv: 0px;   /* the height the "newer version" bar takes when it shows (html.has-newver); 0 otherwise */
  --hl: #13A06C;
  --night: #041B12;
  --deep: #062B1D;
  --forest: #0A4A33;
  --green: #0B7A53;
  --spark: #3EE0A6;
  --ground: #F5F7F6;
  --paper: #FFFFFF;
  --ink: #0A120F;
  --ink-2: #33433C;
  --muted: #5F6F68;   /* 4.5:1 or better on every tinted chip and panel (was #66766F) */
  --line: rgba(10,18,15,.08);
  --on-deep: #F1F7F4;
  --on-deep-2: rgba(241,247,244,.62);
  --red: #C2362B;

  --ui: 'Geist', system-ui, -apple-system, sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --mono: 'Geist Mono', ui-monospace, Menlo, monospace;

  --lift-1: 0 1px 1px rgba(10,18,15,.03), 0 6px 14px -8px rgba(10,18,15,.12);
  --lift-2: 0 1px 2px rgba(10,18,15,.04), 0 22px 44px -22px rgba(6,43,29,.28);
  --lift-3: 0 2px 6px rgba(10,18,15,.05), 0 40px 80px -30px rgba(6,43,29,.45);

  --glide: cubic-bezier(.22, 1, .36, 1);
  --soft: cubic-bezier(.45, 0, .2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ground); scroll-padding-bottom: 104px; }  /* Tab never parks a control under the bottom bar */
body { margin: 0; min-height: 100vh; color: var(--ink); font: 400 15.5px/1.5 var(--ui); -webkit-font-smoothing: antialiased; letter-spacing: -.011em;
  background: radial-gradient(70vw 50vh at 50% -18%, rgba(11,122,83,.10), transparent 70%), var(--ground); background-attachment: fixed; }
body.at-welcome { overflow: hidden; }
.light { position: fixed; z-index: 0; left: 0; top: 0; width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,255,255,.7), rgba(255,255,255,.18) 50%, transparent 100%); transform: translate3d(var(--lx, 50vw), var(--ly, 30vh), 0); }
body.at-welcome .light { z-index: 1; opacity: .5; }
button, input, textarea, label.btn { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li, small, .b { text-wrap: pretty; }
em { font-family: 'Inter Tight', var(--ui); font-style: italic; font-weight: 800; letter-spacing: -.04em; padding-right: .04em; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
/* a screen's heading gets the focus when it opens (so the keyboard starts there), but never shows a box: nobody pressed a
   key to put it there (every page opened from a link or a reload drew a green box round its headline) */
:is(h1, h2, h3)[tabindex="-1"]:focus { outline: none; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--ui); letter-spacing: .02em; color: var(--green); }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--spark)); box-shadow: 0 0 12px var(--c, var(--spark)); }

/* ---------- the logo: the loop, and the line that breaks out of it straight to the value ---------- */
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; padding: 9px 14px; border-radius: 99px; }
.logo { height: 26px; width: auto; flex: none; overflow: visible; color: var(--ink); }
.mark { width: 30px; height: 34px; flex: none; overflow: visible; color: var(--ink); }
.logo .arw, .mark .arw { transition: filter 900ms var(--glide); }
/* one piece now, so the arrow can't slide: on hover its green glows up instead */
.brand:hover .arw, .home:hover .arw { filter: brightness(1.7) saturate(1.2); }

/* ================= the welcome ================= */
.welcome { position: fixed; inset: 0; z-index: 2; overflow: hidden; color: var(--ink); isolation: isolate;
  background: linear-gradient(180deg, #FFFFFF 0%, #FBFAF7 100%); }
/* a soft, warm light behind the F and the plugins, like late sun on
   white, breathing very slowly. The left side, where the words are, stays clean white. */
.welcome::before { content: ''; position: absolute; inset: -10%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(30vw 30vw at 65.5% 47%, rgba(255,196,148,.26), rgba(255,214,176,.10) 45%, transparent 72%),
    radial-gradient(26vw 22vw at 77.5% 64%, rgba(62,224,166,.13), transparent 70%),
    radial-gradient(22vw 20vw at 55.5% 28%, rgba(255,231,196,.22), transparent 70%);
  animation: warm 14s ease-in-out infinite alternate; }
@keyframes warm { from { transform: translate3d(0, 0, 0) scale(1); opacity: .85; } to { transform: translate3d(-1.2%, .8%, 0) scale(1.05); opacity: 1; } }
[data-calm] .welcome::before { animation: none; }
.welcome canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.w-top { position: absolute; z-index: 4; top: 22px; left: 28px; right: 28px; display: flex; align-items: center; justify-content: space-between; }
.w-copy { position: absolute; z-index: 2; left: max(56px, 5vw); top: 14vh; width: min(640px, 44vw); }
.w-kicker { display: block; font: 500 13px/1 var(--ui); letter-spacing: .02em; color: var(--green); }
.w-copy h1 { font: 650 clamp(44px, 4.9vw, 78px)/1 var(--ui); letter-spacing: -.055em; margin-top: 20px; color: var(--ink); }
/* the name: back to a serif italic (the old serif was closer), fuller and sleeker than Instrument Serif */
.w-copy h1 em { color: var(--green); font-family: 'Playfair Display', var(--serif); font-weight: 600; letter-spacing: -.035em; padding-right: .06em; }
/* the headline's words rise one by one out of a mask, like our website */
.wd { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .04em .12em; margin: -.06em -.04em -.12em; }
.wd > span { display: inline-block; }
.welcome.play .wd > span { animation: word 1000ms var(--glide) both; animation-delay: calc(260ms + var(--w, 0) * 90ms); }
.welcome.quick .wd > span { animation: word 700ms var(--glide) both; animation-delay: calc(var(--w, 0) * 60ms); }
@keyframes word { from { transform: translateY(110%) rotate(4deg); } }
.reveal { display: block; }
.welcome.play .reveal { animation: reveal 1000ms var(--glide) both; animation-delay: 160ms; }
.welcome.quick .reveal { animation: reveal 700ms var(--glide) both; }
.welcome.play .since { animation-delay: 620ms; } .welcome.quick .since { animation-delay: 160ms; }
@keyframes reveal { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } }
/* since you were last here: a short list, each line takes you there */
.since { margin-top: 28px; max-width: 420px; }
.since-head { display: block; font: 500 13px/1 var(--ui); color: var(--muted); margin: 0 0 8px 12px; }
.since-sub { font: 500 13px/1 var(--ui); color: var(--muted); margin: 14px 0 6px 12px; }
/* first steps stay until done or hidden here */
/* follows the heading instead of the column's far edge, where the 3D tiles fly at 1,100 wide */
.since-top { display: flex; align-items: baseline; justify-content: flex-start; gap: 6px; }
.since-close { font: 500 13px/1 var(--ui); color: var(--muted); padding: 4px 8px; margin: -4px 4px 4px 0; border-radius: 8px; }
.since-close:hover { color: var(--ink); background: #fff; }
.since-close:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.since ul, .newspop ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.since li button, .newspop li button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 16px; text-align: left; font-size: 15px; color: var(--ink-2);
  transition: background-color 500ms var(--glide), color 500ms var(--glide); transform: scale(var(--ps, 1)); }
.since li button b, .newspop li button b { color: var(--ink); font-weight: 600; }
.since li button:hover, .newspop li button:hover { background: #fff; color: var(--ink); box-shadow: var(--lift-1); }
.since li button > span:not(.av):not(.thumb):not(.app-ic) { flex: 1; }
/* a long word (a pasted link) wraps inside the panel instead of pushing every line past its edge */
.since .nt, .newspop .nt, .newslist .nt { min-width: 0; overflow-wrap: anywhere; }
.since .arrow, .newspop .arrow { width: 17px; height: 17px; opacity: 0; transform: translateX(-6px); transition: opacity 400ms var(--glide), transform 600ms var(--glide); color: var(--green); }
.since li button:hover .arrow, .newspop li button:hover .arrow { opacity: 1; transform: none; }
.since .av, .newspop .av, .since .thumb.xs, .newspop .thumb.xs, .since .app-ic.xs, .newspop .app-ic.xs, .newslist .app-ic.xs { width: 32px; height: 32px; font-size: 10.5px; }
.welcome.play .since li { animation: reveal 900ms var(--glide) both; animation-delay: calc(760ms + var(--i, 0) * 90ms); }
.welcome.quick .since li { animation: reveal 600ms var(--glide) both; animation-delay: calc(200ms + var(--i, 0) * 60ms); }

/* the doors: the three places, big and plain, on white, each with its own color and a live peek inside */
.doors { position: absolute; z-index: 2; left: max(28px, 3vw); right: max(28px, 3vw); bottom: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; perspective: 1200px; }
.door { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 150px; padding: 24px 26px 22px; border-radius: 30px; text-align: left; color: var(--ink);
  background: #fff; box-shadow: inset 0 0 0 1px rgba(10,18,15,.06), var(--lift-2);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)) scale(var(--ps, 1));
  transition: box-shadow 700ms var(--glide); }
.door::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: calc(var(--gl, 0) * .9); pointer-events: none;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), color-mix(in srgb, var(--hl) 14%, transparent), transparent 62%); }
.door::after { content: ''; position: absolute; left: 26px; right: 26px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--hl); opacity: calc(.6 + var(--gl, 0) * .4);
  transform: scaleX(calc(.14 + var(--gl, 0) * .86)); transform-origin: left; }
.door:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hl) 40%, transparent), var(--lift-3); }
.d-name { display: flex; align-items: center; justify-content: space-between; font: 650 30px/1 var(--ui); letter-spacing: -.045em; }
.d-name .arrow { width: 26px; height: 26px; stroke-width: 1.7; opacity: .35; transform: translateX(calc(var(--gl, 0) * 6px)); transition: opacity 500ms var(--glide), color 500ms var(--glide); }
.door:hover .d-name .arrow { opacity: 1; color: var(--hl); }
/* the bell's new-news dot, on the welcome too, where there's no bell */
.d-name .d-pip { position: static; flex: none; width: 9px; height: 9px; margin: 0 auto 0 9px; align-self: flex-start; border-radius: 50%; background: #FF6F4F; box-shadow: 0 0 0 2px #fff; }
.d-peek { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.d-peek b { color: var(--ink); font-weight: 600; }
.d-thumbs { display: flex; }
.d-thumbs .thumb { margin-right: -10px; }
.d-avs { display: flex; }
.d-avs .av { width: 30px; height: 30px; border-radius: 50%; margin-right: -8px; font-size: 10px; box-shadow: 0 0 0 2px #fff; }
.d-avs .av:last-child { margin-right: 0; }
.d-count { min-width: 30px; height: 30px; padding: 0 9px; border-radius: 15px; display: grid; place-items: center; background: var(--green); color: #fff; font: 650 14px/1 var(--ui); }
.welcome.play .door { animation: door-in 1200ms var(--glide) both; }
.welcome.quick .door { animation: door-in 760ms var(--glide) both; }
.welcome.play .door:nth-child(1) { animation-delay: 900ms; } .welcome.play .door:nth-child(2) { animation-delay: 980ms; } .welcome.play .door:nth-child(3) { animation-delay: 1060ms; } .welcome.play .door:nth-child(4) { animation-delay: 1140ms; }
.welcome.quick .door:nth-child(2) { animation-delay: 50ms; } .welcome.quick .door:nth-child(3) { animation-delay: 100ms; } .welcome.quick .door:nth-child(4) { animation-delay: 150ms; }
@keyframes door-in { from { opacity: 0; translate: 0 70px; rotate: x 24deg; scale: .94; filter: blur(8px); } }
.door[data-go="apps"] { view-transition-name: nav-apps; }
.door[data-go="plugins"] { view-transition-name: nav-plugins; }
.door[data-go="community"] { view-transition-name: nav-community; }
.door[data-go="messages"] { view-transition-name: nav-messages; }

/* the plugin names that ride along under each 3D object */
.olabels { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.olabel { position: absolute; left: 0; top: 0; pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 13px 0 11px; border-radius: 99px; white-space: nowrap;
  color: var(--ink); font: 550 13px/1 var(--ui); letter-spacing: -.01em; will-change: transform, opacity;
  background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(10,18,15,.07), 0 6px 16px -10px rgba(4,27,18,.4);
  transition: background-color 500ms var(--glide), box-shadow 500ms var(--glide); }
.olabel i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.olabel span { max-width: 0; overflow: hidden; opacity: 0; color: var(--green); transition: max-width 500ms var(--glide), opacity 400ms var(--glide); }
.olabel.on { background: #fff; box-shadow: inset 0 0 0 1px rgba(10,18,15,.1), 0 12px 28px -12px rgba(4,27,18,.45); }
.olabel.on span { max-width: 96px; opacity: 1; }

/* ================= the app ================= */
.app { position: relative; z-index: 2; }
.top { position: absolute; z-index: 30; top: 18px; left: 28px; right: 28px; height: 52px; display: flex; align-items: center; justify-content: space-between; }
.top .brand { color: var(--ink); }
.top .left { display: flex; align-items: center; gap: 6px; }
.backbtn { height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 0 16px 0 12px; border-radius: 99px; color: var(--ink-2); font-weight: 550; font-size: 14.5px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--lift-1); transform: translate3d(var(--mx, 0), var(--my, 0), 0) scale(var(--ps, 1));
  transition: color 500ms var(--glide), box-shadow 600ms var(--glide); }
.backbtn svg.i { transition: transform 600ms var(--glide); }
.backbtn:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), var(--lift-2); }
.backbtn:hover svg.i { transform: translateX(-3px); }
.right { display: flex; align-items: center; gap: 6px; }
.pill { height: 44px; display: inline-flex; align-items: center; gap: 9px; padding: 0 16px; border-radius: 99px; color: var(--ink-2); font-weight: 500; font-size: 14.5px; position: relative;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--lift-1);
  transition: color 600ms var(--glide), box-shadow 700ms var(--glide); transform: translate3d(var(--mx, 0), var(--my, 0), 0) scale(var(--ps, 1)); }
.pill:hover { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(10,18,15,.1), var(--lift-2); }
.pill.round svg.i { transition: transform 700ms var(--glide); }
.pill.round:hover svg.i { transform: rotate(-12deg); }
.pill.round { width: 44px; padding: 0; justify-content: center; }
/* "Get help" stays on one line in its pill at every width (it wrapped to two at 720 px and below) */
#get-help { white-space: nowrap; }
.pill .pip { position: absolute; top: 10px; right: 11px; width: 8px; height: 8px; border-radius: 50%; background: #FF6F4F; box-shadow: 0 0 0 2px #fff; }
.search { width: 210px; transition: width 600ms var(--glide), background-color 400ms var(--glide); cursor: text; }
.search:focus-within { width: 320px; background: #fff; }
.search input { border: 0; background: none; flex: 1; min-width: 0; height: 100%; color: var(--ink); }
.search input::placeholder { color: var(--muted); }
.search kbd { font: 500 11px/1 var(--mono); color: var(--muted); padding: 4px 6px; border-radius: 6px; background: rgba(10,18,15,.05); }
.top .me, .w-top .me { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 var(--ui); color: #fff; letter-spacing: 0;
  background: var(--forest); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line), 0 10px 20px -10px rgba(4,27,18,.6);
  transform: translate3d(var(--mx, 0), var(--my, 0), 0) scale(var(--ps, 1)); transition: box-shadow 700ms var(--glide); }
.top .me:hover, .w-top .me:hover { box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px rgba(11,122,83,.45), 0 14px 26px -10px rgba(4,27,18,.6); }
/* what's new, under the bell */
.news-chips { margin: 0 0 10px 10px; }
.news-chips:empty { display: none; }
.news-chips .chip { cursor: pointer; transition: background-color 700ms var(--glide), color 700ms var(--glide); }
.news-chips .chip b { font-weight: 650; opacity: .55; }
.news-chips .chip:hover { color: var(--ink); background: rgba(10,18,15,.08); }
.allnew { width: min(520px, calc(100vw - 32px)); }
.allnew .news-chips { margin: 18px 0 12px; }
.newslist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 50vh; overflow: auto; }
.newslist li button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 8px; border-radius: 16px; text-align: left; font-size: 15px; color: var(--ink-2); transition: background-color 600ms var(--glide), box-shadow 600ms var(--glide); }
.newslist .nt { flex: 1; }
.newslist .av, .newslist .thumb.xs { flex: none; }
.newslist li button:hover { background: #fff; color: var(--ink); box-shadow: var(--lift-1); }
.newslist .av, .newslist .thumb.xs { width: 32px; height: 32px; font-size: 10.5px; }
.newslist .arrow { width: 17px; height: 17px; color: var(--green); opacity: 0; transition: opacity 500ms var(--glide); }
.newslist li button:hover .arrow { opacity: 1; }
.since li.more button { color: var(--green); font-weight: 600; font-size: 14px; padding-left: 12px; }
.since li.more .arrow { opacity: .7; transform: none; }
.newspop { position: absolute; top: 58px; right: 52px; width: 360px; padding: 14px 8px 8px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--lift-3);
  transform-origin: top right; transform: translateY(-6px) scale(.97); opacity: 0; transition: transform 600ms var(--glide), opacity 300ms var(--glide); }
.newspop.open { transform: none; opacity: 1; }
.pop-head { display: block; font: 600 13px/1 var(--ui); color: var(--muted); margin: 0 0 8px 12px; }

/* the island: a floating bar at the bottom, the doors become it */
.island { position: fixed; z-index: 35; left: 50%; bottom: 22px; translate: -50% 0; display: flex; align-items: center; gap: 6px; padding: 7px; border-radius: 99px;
  background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(10,18,15,.07), 0 24px 50px -18px rgba(4,27,18,.35), 0 2px 6px rgba(4,27,18,.08); }
.island .home { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; transform: translate3d(var(--mx, 0), var(--my, 0), 0) scale(var(--ps, 1)); }
.island .home .mark { width: 34px; height: 34px; }
.tabs { position: relative; display: flex; gap: 2px; }
.island .tab { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 99px; font-weight: 550; font-size: 15px; letter-spacing: -.015em;
  color: var(--ink-2); transition: color 500ms var(--glide); transform: translate3d(var(--mx, 0), var(--my, 0), 0) scale(var(--ps, 1)); }
.island .tab:hover { color: var(--ink); }
.island .tab[aria-selected="true"] { color: #fff; }
.island .tab[data-tab="apps"] { view-transition-name: nav-apps; }
.island .tab { white-space: nowrap; }   /* "Mini apps" stays on one line at every width */
.island .tab[data-tab="plugins"] { view-transition-name: nav-plugins; }
.island .tab[data-tab="community"] { view-transition-name: nav-community; }
.island .tab[data-tab="messages"] { view-transition-name: nav-messages; }
.island .count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #F2B233; color: #3A2600; font: 650 11.5px/20px var(--ui); text-align: center; }
.island .pip { width: 7px; height: 7px; border-radius: 50%; background: #7C83F7; }
/* the liquid: the leading edge moves first and the trailing edge follows, so it stretches between tabs */
.blob { position: absolute; z-index: 0; top: 0; bottom: 0; left: var(--l, 0); right: var(--r, 0); border-radius: 99px;
  background: linear-gradient(180deg, #11603F, var(--forest)); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 8px 18px -8px rgba(10,74,51,.7);
  transition: left var(--tl, 520ms) var(--glide), right var(--tr, 520ms) var(--glide); }
.ghost-hl { position: absolute; z-index: 0; top: 0; bottom: 0; left: var(--hl, 0); width: var(--hw, 0); border-radius: 99px; background: rgba(10,18,15,.05); opacity: 0;
  transition: left 520ms var(--glide), width 520ms var(--glide), opacity 400ms var(--glide); pointer-events: none; }
.ghost-hl.on { opacity: 1; }

/* ---------- the page ---------- */
.screen { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 92px 32px 150px; }
.h1 { font: 600 54px/1 var(--ui); letter-spacing: -.055em; }
.h1 em, .h2 em, h1 em, h2 em, h3 em { font-size: 1em; }
.h2 { font: 600 30px/1.1 var(--ui); letter-spacing: -.045em; }
.grid { perspective: 1400px; }
.label { font-size: 13.5px; font-weight: 500; color: var(--muted); }
.row { display: flex; align-items: center; gap: 10px; }
.section { margin-top: 64px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; gap: 16px; }
/* a list or grid steps in about 60 to 80 ms apart, the first six only; the rest arrive with the sixth (a long list never
   keeps its lower rows waiting). Only the first time a screen shows: a revisit is already drawn (lab.js, render). */
.rise { animation: rise 820ms var(--glide) both; animation-delay: calc(min(var(--i, 0), 6) * 60ms); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); filter: blur(10px); } }
/* cards fly up and tip forward into place, one after another */
.fly { animation: fly 1100ms var(--glide) both; animation-delay: calc(180ms + min(var(--i, 0), 6) * 80ms); }
@keyframes fly { from { opacity: 0; translate: 0 90px; rotate: x 28deg; scale: .92; filter: blur(6px); } }
.page-head { margin-top: 26px; }
.page-head .kicker { font-size: 13px; }
.h1.big { font-size: clamp(54px, 5.6vw, 82px); line-height: 1; letter-spacing: -.058em; margin-top: 16px; }
.h1.big em { color: var(--green); }
.lede { font-size: 18.5px; color: var(--ink-2); margin-top: 16px; max-width: 520px; }
.lede.wide { max-width: 640px; }
.lede.wider { max-width: 790px; }   /* the Plugins lede reads as one wide paragraph */
.page-head .actions { display: flex; gap: 10px; margin-top: 28px; }
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.kicker .live, .room-dot.live { width: 8px; height: 8px; border-radius: 50%; background: #19B57A; box-shadow: 0 0 0 0 rgba(25,181,122,.5); animation: live 2.2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(25,181,122,.45); } 70%, 100% { box-shadow: 0 0 0 9px rgba(25,181,122,0); } }

/* ---------- buttons: they lean toward the mouse, carry a light, press dips at once and eases back ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding: 0 22px; border-radius: 99px;
  font-weight: 550; font-size: 15px; letter-spacing: -.015em; white-space: nowrap; user-select: none; -webkit-user-select: none;
  transform: translate3d(var(--mx, 0), var(--my, 0), 0) scale(var(--ps, 1));
  transition: box-shadow 600ms var(--glide), background-color 500ms var(--glide), color 500ms var(--glide); }
.btn svg.i { width: 19px; height: 19px; stroke-width: 1.9; }
.btn svg.arrow { transition: transform 900ms var(--glide); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn.primary { color: #F3FFF9; background: linear-gradient(180deg, #11603F, var(--forest) 60%, #073826);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 1px 2px rgba(4,27,18,.3), 0 14px 28px -14px rgba(10,74,51,.8); }
.btn.primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 1px 2px rgba(4,27,18,.3), 0 22px 40px -14px rgba(10,74,51,.85), 0 0 0 5px rgba(11,122,83,.12); }
.btn.bright { color: var(--night); background: linear-gradient(180deg, #FFFFFF, #E4F5EC);
  box-shadow: inset 0 -1px 0 rgba(4,27,18,.08), 0 14px 34px -14px rgba(62,224,166,.6), 0 0 0 1px rgba(255,255,255,.4); }
.btn.bright:hover { box-shadow: inset 0 -1px 0 rgba(4,27,18,.08), 0 20px 46px -12px rgba(62,224,166,.75), 0 0 0 6px rgba(62,224,166,.14); }
.btn.soft { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), var(--lift-1); }
.btn.soft:hover { box-shadow: inset 0 0 0 1px var(--line), var(--lift-2); }
.btn.dark-soft { background: rgba(255,255,255,.07); color: var(--on-deep); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.btn.dark-soft:hover { background: rgba(255,255,255,.12); }
.btn.ghost { color: var(--ink-2); }
.btn.ghost:hover { color: var(--ink); background: rgba(10,18,15,.04); }
.btn.big { height: 56px; padding: 0 28px; font-size: 16px; }
.btn.wide { width: 100%; }
.btn.s { height: 38px; padding: 0 16px; font-size: 14px; }
.btn.done { background: rgba(11,122,83,.08); color: var(--green); box-shadow: inset 0 0 0 1.5px rgba(11,122,83,.25); }

.btn[disabled] { cursor: default; }
/* a button that can't send yet looks it; pressing it says what's missing */
.btn[aria-disabled="true"]:not(.wait-btn):not(.done) { opacity: .45; cursor: not-allowed; box-shadow: none; filter: saturate(.35); }
.btn .arrow { transition: transform 600ms var(--glide); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- a plugin's own stage: light, tinted with its color, its object arriving on the right ---------- */
.stage { position: relative; isolation: isolate; height: 580px; margin-top: 20px; border-radius: 40px; overflow: hidden; color: var(--ink);
  background:
    radial-gradient(42% 60% at 72% 46%, color-mix(in srgb, var(--c, #2FCB8F) 22%, transparent), transparent 72%),
    radial-gradient(80% 90% at 70% 40%, #FFFFFF 0%, #F4F7F5 100%);
  box-shadow: inset 0 0 0 1px rgba(10,18,15,.05), var(--lift-2); animation: stage-in 900ms var(--glide) both; }
@keyframes stage-in { from { opacity: 0; transform: translateY(30px) scale(.985); } }
.stage canvas { position: absolute; inset: 0 0 0 30%; width: 70%; height: 100%; display: block; }
.stage-copy { position: absolute; z-index: 2; left: 56px; top: 0; bottom: 0; width: 470px; display: flex; flex-direction: column; justify-content: center; pointer-events: none; }
.stage-copy > * { pointer-events: auto; }
.stage-copy .kicker { color: var(--muted); }
.stage-copy h1 { font: 650 58px/1 var(--ui); letter-spacing: -.058em; margin-top: 14px; }
.stage-copy p { color: var(--ink-2); font-size: 17.5px; margin-top: 14px; max-width: 400px; }
.stage-copy .actions { display: flex; gap: 10px; margin-top: 28px; align-items: center; }
.stage-copy .chips { margin-top: 18px; }
.stage-copy .back { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 14px 0 8px; margin: 0 0 16px -8px; border-radius: 99px; color: var(--ink-2); font-weight: 500; font-size: 14px;
  transition: background-color 500ms var(--glide), color 500ms var(--glide); transform: scale(var(--ps, 1)); }
.stage-copy .back:hover { background: rgba(10,18,15,.05); color: var(--ink); }
.swap > * { animation: rise 820ms var(--glide) both; }
.swap > *:nth-child(2) { animation-delay: 60ms; } .swap > *:nth-child(3) { animation-delay: 120ms; } .swap > *:nth-child(4) { animation-delay: 180ms; } .swap > *:nth-child(n+5) { animation-delay: 240ms; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 99px; font: 500 12.5px/1 var(--ui); background: rgba(10,18,15,.05); color: var(--ink-2); }
.chip svg.i { width: 14px; height: 14px; stroke-width: 2.2; }
.stage .chip { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.chip.on { background: rgba(11,122,83,.1); color: var(--green); }

/* ---------- the plugins as their 3D objects, in still pictures ---------- */
.thumb { position: relative; display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 30%, transparent), transparent); }
.thumb:empty::after { content: ''; width: 46%; height: 46%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--c) 45%, color-mix(in srgb, var(--c) 60%, #000)); }
.thumb img { width: 118%; height: 118%; object-fit: contain; display: block; filter: drop-shadow(0 8px 10px rgba(4,27,18,.18)); }
.thumb.xs { width: 34px; height: 34px; background: color-mix(in srgb, var(--c) 14%, #fff); box-shadow: 0 0 0 2px #fff; }
.thumb.xs img { width: 130%; height: 130%; filter: none; }
.thumb.s { width: 46px; height: 46px; }

/* ---------- cards: no borders; they float, tilt toward the mouse, carry a light, and settle slowly ---------- */
.obj { position: relative; isolation: isolate; border-radius: 30px; background: var(--paper); box-shadow: var(--lift-2); transform-style: preserve-3d;
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)) scale(var(--ps, 1));
  transition: box-shadow 700ms var(--glide); }
.obj:hover { box-shadow: var(--lift-3); }
.obj::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: calc(var(--gl, 0) * .9); z-index: 3;
  background: radial-gradient(480px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.9), rgba(255,255,255,.2) 35%, transparent 62%); mix-blend-mode: soft-light; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-none { padding: 28px 4px 8px; font-size: 17px; color: var(--ink-2); text-wrap: balance; }
.gn-go { font: inherit; color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.gn-go:hover { text-decoration-thickness: 2.5px; }
.pcard { min-width: 0; width: 100%; display: flex; flex-direction: column; text-align: left; padding: 0 0 18px; overflow: visible; min-height: 330px; }
.pc-art { position: relative; display: grid; place-items: center; height: 168px; margin: 8px 8px 0; border-radius: 24px; overflow: visible;
  background: radial-gradient(90% 90% at 50% 40%, color-mix(in srgb, var(--c) 22%, #fff), color-mix(in srgb, var(--c) 7%, #F5F7F6) 70%); }
.pc-art .thumb { width: 150px; height: 150px; background: none; transform: translateZ(30px) translateY(calc(var(--gl, 0) * -8px)) rotate(calc(var(--gl, 0) * -4deg)) scale(calc(1 + var(--gl, 0) * .08)); }
.pc-art .thumb img { width: 100%; height: 100%; filter: drop-shadow(0 calc(14px + var(--gl, 0) * 12px) calc(16px + var(--gl, 0) * 10px) color-mix(in srgb, var(--c) 45%, rgba(4,27,18,.35))); }
.pc-art .thumb:empty::after { width: 40%; height: 40%; }
.pc-body { padding: 18px 20px 0; flex: 1; }
.pcard h3 { font: 600 19px/1.15 var(--ui); letter-spacing: -.035em; }
.pcard p { color: var(--ink-2); font-size: 14px; line-height: 1.45; margin-top: 7px; }
.pc-foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 0; }
.pcard .go { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--hl);
  opacity: calc(.0 + var(--gl, 0)); transform: translateX(calc((1 - var(--gl, 0)) * -8px)) scale(calc(.7 + var(--gl, 0) * .3)); box-shadow: 0 8px 18px -8px var(--hl); }
.pcard .go svg.i { width: 17px; height: 17px; stroke-width: 2.2; }

/* ---------- Your plugins: rich cards, a real empty state, a 3D plug ---------- */
.yours-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.yours-plug { position: relative; flex: none; width: 300px; height: 88px; margin: -14px 0 -14px 4px; }
.plug-cv { display: block; width: 100%; height: 100%; }
.ygrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; perspective: 1400px; }
.ycard { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-height: 156px; padding: 10px 24px 12px; text-align: left; border-radius: 30px; }
.ycard::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: calc(var(--gl, 0) * .9); pointer-events: none;
  background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 0%), color-mix(in srgb, var(--hl) 12%, transparent), transparent 62%); }
.ycard:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hl) 34%, transparent), var(--lift-3); }
.yc-art { display: grid; place-items: center; border-radius: 22px;
  background: radial-gradient(90% 90% at 50% 40%, color-mix(in srgb, var(--c) 22%, #fff), color-mix(in srgb, var(--c) 7%, #F5F7F6) 70%); }
.yc-art .thumb { width: 108px; height: 108px; background: none;
  transform: translateY(calc(var(--gl, 0) * -5px)) rotate(calc(var(--gl, 0) * -4deg)) scale(calc(1 + var(--gl, 0) * .07)); }
.yc-art .thumb img { width: 100%; height: 100%; filter: drop-shadow(0 calc(10px + var(--gl, 0) * 8px) calc(12px + var(--gl, 0) * 6px) color-mix(in srgb, var(--c) 40%, rgba(4,27,18,.35))); }
.yc-body { display: flex; flex-direction: column; min-width: 0; padding: 10px 0 4px; }
.yc-ver { display: flex; align-items: center; gap: 8px; font: 500 12px/1 var(--ui); letter-spacing: .02em; color: var(--muted); }
.yc-ver i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.yc-body b { font: 600 19px/1.15 var(--ui); letter-spacing: -.035em; margin-top: 8px; }
.yc-line { font-size: 13.5px; line-height: 1.42; color: var(--ink-2); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.yc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.yc-open { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 14px; border-radius: 99px; font-weight: 600; font-size: 14px; color: var(--ink);
  background: color-mix(in srgb, var(--hl) 8%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hl) 16%, transparent);
  transition: background-color 900ms var(--glide), color 900ms var(--glide), box-shadow 900ms var(--glide); }
.yc-open svg.i { width: 16px; height: 16px; transition: transform 900ms var(--glide); }
.ycard:hover .yc-open, .ycard:focus-visible .yc-open { background: var(--forest); color: #fff; box-shadow: 0 10px 20px -10px rgba(10,74,51,.8); }
.ycard:hover .yc-open svg.i { transform: translateX(3px); }
.yadd { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 156px; border-radius: 30px; color: var(--ink-2);
  background: rgba(255,255,255,.5); box-shadow: inset 0 0 0 1px var(--line); transform: scale(var(--ps, 1));
  transition: background-color 800ms var(--glide), box-shadow 800ms var(--glide), color 800ms var(--glide); }
.yadd b { font: 600 15px/1 var(--ui); letter-spacing: -.02em; }
.ya-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--forest); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--lift-1);
  transition: background-color 800ms var(--glide), color 800ms var(--glide), transform 1000ms var(--glide); }
.yadd:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hl) 30%, transparent), var(--lift-2); }
.yadd:hover .ya-ic { background: var(--forest); color: #fff; transform: rotate(90deg); }
/* none added: the first slot says so, quietly, and doesn't react like a card you can open */
.ynone { box-shadow: var(--lift-1); } .ynone:hover { box-shadow: var(--lift-1); } .ynone .yc-body { justify-content: center; }

.c-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff;
  background: linear-gradient(180deg, #11603F, var(--forest)); box-shadow: 0 12px 26px -12px rgba(10,74,51,.8); }
.c-icon svg.i { width: 28px; height: 28px; stroke-width: 1.8; }
.c-icon.s { width: 44px; height: 44px; } .c-icon.s svg.i { width: 20px; height: 20px; }
.custom { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 34px 38px; border-radius: 36px; color: var(--ink);
  background: #fff; box-shadow: inset 0 0 0 1px rgba(10,18,15,.05), var(--lift-2); }
.custom::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(300px circle at 96% 10%, rgba(124,131,247,.12), transparent 70%), radial-gradient(260px circle at 72% 120%, rgba(242,178,51,.12), transparent 70%); }
/* the ask: the words on the left, the button filling the right half, a current of light running through it toward the arrow */
#custom-slot { margin-top: 24px; }
/* full width under the five cards, the cards' white and radius, set apart by a soft green edge and glow */
#all .custom.offer { border-radius: 30px; box-shadow: inset 0 0 0 1.5px rgba(11,122,83,.22), 0 24px 50px -30px rgba(10,74,51,.45), var(--lift-1); }
/* the Custom row. "Custom" leads, big, in the logo's italic; one line; a normal button on the right */
.custom.offer { grid-template-columns: auto minmax(0, 1fr) auto; gap: 30px; align-items: center; padding: 28px 30px 28px 28px; }
.custom.offer::before { border-radius: inherit; background: radial-gradient(420px circle at 0% 50%, rgba(62,224,166,.14), transparent 70%), radial-gradient(360px circle at 100% 120%, rgba(255,196,148,.12), transparent 70%); }
.cu-art { position: relative; width: 84px; height: 84px; display: grid; place-items: center; }
.cu-ring { position: absolute; inset: 0; border-radius: 28px; background: linear-gradient(145deg, #0E5A40, #0A3F2C); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 18px 30px -16px rgba(10,74,51,.8); }
.cu-ring::after { content: ''; position: absolute; inset: -8px; border-radius: 34px; box-shadow: 0 0 0 1px rgba(11,122,83,.16); animation: cu-breathe 4.8s var(--glide) infinite; }
@keyframes cu-breathe { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.06); opacity: .35; } }
.cu-ic { position: relative; color: #fff; display: grid; place-items: center; }
.cu-ic svg.i { width: 36px; height: 36px; }
.custom.offer:hover .cu-ic { animation: cu-wave 900ms var(--glide); }
@keyframes cu-wave { 0% { transform: rotate(0); } 40% { transform: rotate(-14deg); } 100% { transform: rotate(0); } }
.cu-copy h3 { font: 650 40px/1.02 var(--ui); letter-spacing: -.05em; margin: 0; }
.cu-copy h3 em { font: inherit; font-style: italic; color: var(--green); padding-right: .04em; }   /* black first, green italic after, like every title here */
.cu-copy p { margin-top: 8px; color: var(--ink-2); }
.custom.offer .cu-copy p { max-width: none; }   /* one line, both sentences */
.cu-go { white-space: nowrap; }
.cu-go svg.i { transition: transform 900ms var(--glide); }
.cu-go:hover svg.i { transform: translateX(3px); }
[data-calm] .cu-ring::after, [data-calm] .custom.offer:hover .cu-ic { animation: none; }
.custom .kicker { color: var(--green); }
.custom h3 { font: 650 30px/1.08 var(--ui); letter-spacing: -.05em; margin-top: 10px; }
.custom h3 em { color: var(--green); }
.custom p { color: var(--ink-2); margin-top: 8px; max-width: 560px; }
.cu-sent { margin-top: 12px; max-width: 620px; }
.cu-sent summary { cursor: pointer; width: max-content; font-weight: 550; font-size: 14px; color: var(--green); list-style: none; }
.cu-sent summary::-webkit-details-marker { display: none; }
.cu-sent summary::after { content: ' ›'; display: inline-block; transition: transform 300ms var(--glide); }
.cu-sent[open] summary::after { transform: rotate(90deg); }
.cu-sent dl { margin-top: 10px; padding: 14px 18px; border-radius: 18px; background: var(--ground); display: grid; gap: 4px; }
.cu-sent dt { font-size: 12.5px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.cu-sent dt:first-child { margin-top: 0; }
.cu-sent dd { margin: 0; color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 9.5em; overflow: auto; }
.track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 18px; }
.track div { font-size: 12.5px; font-weight: 550; color: var(--muted); padding-top: 12px; position: relative; }
.track div::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 2px; background: rgba(10,18,15,.08); }
.track div.done { color: var(--green); } .track div.done::before { background: var(--green); }
.track div.now { color: var(--ink); } .track div.now::before { background: linear-gradient(90deg, var(--green), rgba(11,122,83,.15)); }
.ask { margin-top: 16px; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 18px; border-radius: 99px; background: var(--ground); }
.ask b { flex: 1; font-weight: 550; }
/* a lone Clear or Cancel is a plain button, not a full-width pill that reads like a text box */
.ask.ask-solo { background: none; padding: 0; border-radius: 0; }
/* Cancel this request asks first */
.ask-q { font-weight: 550; color: var(--ink); margin-right: 2px; }
.btn.req-gone { color: #B3372B; background: rgba(194,54,43,.07); box-shadow: inset 0 0 0 1px rgba(194,54,43,.2); }
.btn.req-gone:hover { background: rgba(194,54,43,.12); }

/* ---------- plugin page (the stage stays; this sits under it) ---------- */
.under { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 24px; margin-top: 24px; align-items: start; }
.panel { padding: 30px; }
.panel h3, .panel .steps-h { font: 600 21px/1.2 var(--ui); letter-spacing: -.035em; margin-top: 10px; } /* steps-h: an h2 under the page's h1 */
.panel p { color: var(--ink-2); margin-top: 8px; }
.video { aspect-ratio: 16 / 10; border-radius: 22px; display: grid; place-items: center; position: relative; overflow: hidden; margin: -14px -14px 20px;
  background: radial-gradient(80% 90% at 50% 30%, color-mix(in srgb, var(--c) 30%, #fff), color-mix(in srgb, var(--c) 12%, #F4F7F5) 80%); color: var(--ink); cursor: pointer; }
.video .play { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: var(--lift-2);
  transition: transform 700ms var(--glide), background-color 500ms var(--glide); }
.video:hover .play { transform: scale(1.1); }
.video .play svg { width: 26px; height: 26px; fill: var(--ink); stroke: none; margin-left: 4px; }
.video .cap { position: absolute; left: 18px; bottom: 16px; font: 500 12px/1 var(--ui); color: var(--ink-2); }
.progress .fill { position: absolute; inset: 0; z-index: -1; transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 300ms var(--glide);
  background: linear-gradient(90deg, rgba(62,224,166,0), rgba(62,224,166,.45)); }
.steps ol { list-style: none; margin: 18px 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps li { border-radius: 20px; padding: 12px 12px 14px; background: var(--ground); font-size: 14px; font-weight: 500; }
.steps li .n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--forest); color: #fff; font: 600 11px/1 var(--ui); margin-right: 7px; }
.shot { height: 78px; margin-bottom: 12px; border-radius: 12px; background: #fff; position: relative; overflow: hidden; box-shadow: var(--lift-1); }
.shot i { position: absolute; display: block; border-radius: 5px; background: #E4EAE7; }
.shot i.hl { background: var(--green); box-shadow: 0 0 0 4px rgba(62,224,166,.35); }
/* the three install pictures: small, clean copies of Claude's own screens in our colors */
.shot.cm { height: 132px; display: flex; background: #FBFCFB; font: 500 10px/1.2 var(--ui); color: var(--ink-2); letter-spacing: -.005em; user-select: none; }
.cm-side { flex: none; width: 40%; padding: 10px 7px; display: flex; flex-direction: column; gap: 2px; background: var(--ground); box-shadow: inset -1px 0 0 var(--line); }
.cm-side > span { padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.cm-side > .cm-logo { display: flex; align-items: center; gap: 5px; padding: 0 4px 4px; font: 600 11.5px/1 var(--ui); color: var(--ink); }
.cm-logo i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.cm-main { flex: 1; min-width: 0; padding: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; }
.cm-hi { font: 400 13px/1.15 var(--serif); color: var(--ink); text-align: center; }
.cm-box { width: 92%; height: 22px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--lift-1); }
.cm-main.full { align-items: stretch; justify-content: flex-start; gap: 8px; position: relative; }
.cm-top { display: flex; align-items: center; justify-content: space-between; }
.cm-top b { font: 600 12.5px/1 var(--ui); color: var(--ink); }
.cm-tabs { display: flex; gap: 3px; }
.cm-tabs span { padding: 3px 7px; border-radius: 999px; color: var(--muted); }
.cm-tabs .on { background: var(--ground); color: var(--ink); }
.cm-btn { padding: 4px 9px; border-radius: 7px; background: #fff; box-shadow: 0 0 0 1px var(--line); white-space: nowrap; }
.cm-menu { position: absolute; right: 12px; top: 38px; width: 54%; padding: 4px; border-radius: 9px; background: #fff;
  box-shadow: 0 0 0 1px var(--line), var(--lift-2); display: flex; flex-direction: column; gap: 1px; }
.cm-menu span { padding: 4px 7px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-dim { flex: 1; min-width: 0; display: grid; place-items: center; background: rgba(10,18,15,.05); }
.cm-modal { width: 80%; padding: 11px 12px; border-radius: 11px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--lift-2);
  display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cm-modal b { font: 600 11.5px/1 var(--ui); color: var(--ink); }
.cm-file { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 7px; border: 1px dashed rgba(10,18,15,.18); min-width: 0; }
.cm-file span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-file i { flex: none; width: 9px; height: 11px; border-radius: 2px; background: #DCE5E0; }
.cm-acts { display: flex; justify-content: flex-end; gap: 5px; }
.shot.cm i { position: static; display: block; }
.shot.cm .cm-hl { background: var(--green); color: #fff; box-shadow: 0 0 0 3px rgba(62,224,166,.35); font-weight: 600; }
/* the Start here page link, in the install panel (every plugin comes with one) */
.starthere { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin: 0 0 16px; padding: 14px 16px; border-radius: 20px; text-decoration: none; color: var(--ink);
  background: color-mix(in srgb, var(--spark) 12%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--green) 18%, transparent); transition: transform 300ms var(--glide), box-shadow 300ms var(--glide); }
.starthere:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--green) 32%, transparent), var(--lift-1); }
.starthere .sh-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--green); }
.starthere b { display: block; font-weight: 620; font-size: 15px; }
.starthere > span:nth-child(2) > span { display: block; color: var(--ink-2); font-size: 13.5px; margin-top: 2px; text-wrap: pretty; }
.starthere .arrow { color: var(--green); }
.chip-link { text-decoration: none; color: var(--green); background: color-mix(in srgb, var(--spark) 14%, #fff); }
.codeline { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 8px 8px 8px 18px; border-radius: 99px; background: var(--ground); }
.codeline code { flex: 1; font: 500 13px/1.3 var(--mono); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- segmented switch (same liquid as the island) ---------- */
.seg { position: relative; display: inline-flex; padding: 5px; border-radius: 99px; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px var(--line), var(--lift-1); }
.seg button { position: relative; z-index: 1; white-space: nowrap; height: 40px; padding: 0 20px; border-radius: 99px; font-weight: 550; color: var(--ink-2); transition: color 500ms var(--glide); transform: scale(var(--ps, 1)); }
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"] { color: #fff; }
.seg .blob { top: 5px; bottom: 5px; background: linear-gradient(180deg, #11603F, var(--forest)); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 8px 18px -8px rgba(10,74,51,.7); }
.seg .ghost-hl { top: 5px; bottom: 5px; background: rgba(10,18,15,.05); }

/* ---------- community ---------- */
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; perspective: 1400px; }
.room { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 22px 24px 20px; border-radius: 28px; text-align: left; background: #fff;
  box-shadow: inset 0 0 0 1px rgba(10,18,15,.05), var(--lift-2); transition: box-shadow 700ms var(--glide);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)) scale(var(--ps, 1)); }
.room::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: calc(.5 + var(--gl, 0) * .5);
  background: radial-gradient(380px circle at var(--gx, 90%) var(--gy, 0%), color-mix(in srgb, var(--hl) 14%, transparent), transparent 65%); }
.room[data-room="night"] { --hl: var(--c); }
.room:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hl) 40%, transparent), var(--lift-3); }
.room-top { display: inline-flex; align-items: center; gap: 8px; font: 550 12.5px/1 var(--ui); color: var(--muted); }
.room-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.room b { font: 650 23px/1.1 var(--ui); letter-spacing: -.04em; margin-top: 8px; }
.room-line { font-size: 14px; color: var(--ink-2); }
.room-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; }   /* every card's foot on one line, short description or long */
.room .stack .av { width: 28px; height: 28px; margin-right: -8px; box-shadow: 0 0 0 2.5px #fff; }
.room-go { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 99px; font-weight: 600; font-size: 14px; color: var(--ink);
  background: color-mix(in srgb, var(--hl) 10%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hl) 18%, transparent);
  transition: background-color 1100ms var(--glide), box-shadow 1100ms var(--glide); }
.room-go svg.i { width: 16px; height: 16px; transition: transform 1100ms var(--glide); }
.room:hover .room-go { background: color-mix(in srgb, var(--hl) 18%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hl) 34%, transparent); }
.room:hover .room-go svg.i { transform: translateX(3px); }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; margin-top: 32px; align-items: start; }
.feed { display: flex; flex-direction: column; gap: 16px; }
.composer { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 99px; }
.composer input { flex: 1; border: 0; background: none; height: 44px; min-width: 0; font-size: 16px; }
.composer input::placeholder { color: var(--muted); }
.av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 600 12px/1 var(--ui); letter-spacing: 0; color: #fff; flex: none;
  background: var(--forest) center / cover no-repeat; box-shadow: inset 0 1px 0 rgba(255,255,255,.22); }
.av.xl { width: 96px; height: 96px; font-size: 26px; }
.av.a2 { background: radial-gradient(120% 120% at 30% 15%, #9AA0FF, #5B62D9 60%, #353A8F); }
.av.a3 { background: radial-gradient(120% 120% at 30% 15%, #FF9F86, #E2563A 60%, #9B3020); }
.av.a4 { background: radial-gradient(120% 120% at 30% 15%, #8CC7FF, #2F86E0 60%, #1A548F); }
.av.grp { background: radial-gradient(120% 120% at 30% 15%, #43D9A0, var(--green) 55%, #063322); }
.post { padding: 24px 26px 16px; }
.post-head { display: flex; align-items: center; gap: 12px; }
.post-head b { font-weight: 600; }
.post-head .when { display: block; color: var(--muted); font-size: 13px; }
.post p.body { margin: 12px 0 0; font-size: 16px; line-height: 1.55; }
.mention { margin-top: 14px; display: flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; border-radius: 99px; max-width: 380px; width: 100%; text-align: left;
  background: color-mix(in srgb, var(--c) 9%, var(--ground)); transition: background-color 600ms var(--glide), box-shadow 600ms var(--glide); transform: scale(var(--ps, 1)); }
.mention:hover { background: #fff; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hl) 35%, transparent), var(--lift-2); }
.mention b { display: block; font: 600 14.5px/1.2 var(--ui); letter-spacing: -.025em; }
.mention .m-sub { font-size: 12.5px; color: var(--muted); }
.post-actions { display: flex; gap: 4px; margin: 12px 0 0 -8px; }
.react { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 99px; color: var(--ink-2); font-weight: 500; font-size: 14px;
  transition: background-color 500ms var(--glide), color 500ms var(--glide); transform: scale(var(--ps, 1)); }
.react:hover { background: rgba(255,111,79,.08); color: #E2563A; }
.react svg.i { width: 19px; height: 19px; transition: transform 600ms var(--glide), fill 300ms linear; }
.react:hover svg.i { transform: scale(1.12); }
.react.on { color: #E2563A; }
.react.on svg.i { fill: #FF6F4F; stroke: #E2563A; }
/* small and frequent: one crisp pop as the heart fills (115% and back in about 300 ms) */
.react.pop svg.i { animation: pop 320ms var(--glide); }
@keyframes pop { 35% { transform: scale(1.15); } }
.count { display: inline-block; overflow: hidden; height: 20px; line-height: 20px; font-variant-numeric: tabular-nums; }
.count span { display: block; }
.count.tick span { animation: tick 420ms var(--glide); }
@keyframes tick { from { transform: translateY(80%); opacity: 0; } }
.joinstage { padding: 28px; border-radius: 32px; position: relative; overflow: hidden; isolation: isolate; }
.joinstage::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(320px circle at 100% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); }
.joinstage .kicker { color: #5B62D9; }
.joinstage h3 { font: 650 30px/1.05 var(--ui); letter-spacing: -.05em; margin-top: 12px; }
.joinstage p { color: var(--ink-2); margin-top: 8px; font-size: 15px; }
.stack { display: flex; margin-top: 18px; }
.stack .av { width: 36px; height: 36px; margin-right: -9px; box-shadow: 0 0 0 3px #fff; font-size: 11px; }
.stack .more { margin-left: 20px; align-self: center; font-size: 13px; color: var(--muted); }
.joinstage .btn { margin-top: 22px; }
.glist { margin-top: 16px; position: relative; padding: 6px; border-radius: 28px; background: rgba(255,255,255,.65); box-shadow: inset 0 0 0 1px var(--line), var(--lift-1); }
.gitem { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 22px; }
.gitem b { display: block; font: 600 15px/1.2 var(--ui); letter-spacing: -.025em; }
.gitem .g-sub { font-size: 12.5px; color: var(--muted); }
.gitem .btn { margin-left: auto; }
.glider { position: absolute; z-index: 0; left: 6px; right: 6px; top: var(--gt, 0); height: var(--gh, 0); border-radius: 22px; background: #fff; box-shadow: var(--lift-1); opacity: 0; pointer-events: none;
  transition: top 560ms var(--glide), height 560ms var(--glide), opacity 400ms var(--glide); }
.glider.on { opacity: 1; }
.soon { padding: 90px 24px; text-align: center; color: var(--ink-2); border-radius: 34px; margin-top: 32px; background: #fff; box-shadow: inset 0 0 0 1px rgba(10,18,15,.05), var(--lift-2); }
.soon .h2 { color: var(--ink); margin-bottom: 8px; }

/* ---------- messages ---------- */
/* up a little (less blank space under the top bar) and ending 20 px above the bottom bar, never under it */
.msgs { display: grid; grid-template-columns: 330px minmax(0, 1fr); height: calc(100vh - 202px); margin-top: 6px; border-radius: 32px; overflow: hidden; background: #fff;
  box-shadow: inset 0 0 0 1px rgba(10,18,15,.05), var(--lift-2); }
body.no-scroll .screen { padding-bottom: 110px; }
.convos { padding: 16px 12px; display: flex; flex-direction: column; min-height: 0; background: #FAFBFA; box-shadow: inset -1px 0 0 var(--line); }
.convos-top { display: flex; gap: 8px; padding: 0 2px 12px; }
.find { flex: 1; height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); cursor: text; }
.find input { border: 0; background: none; flex: 1; min-width: 0; height: 100%; color: var(--ink); }
.find input:focus-visible { outline: none; }
.find:focus-within { box-shadow: inset 0 0 0 1.5px var(--green); }
.clist { position: relative; overflow: auto; }
.clist .glider { left: 0; right: 0; }
.convo { position: relative; z-index: 1; width: 100%; display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 20px; text-align: left; transition: background-color 500ms var(--glide); transform: scale(var(--ps, 1)); }
.convo[aria-current="true"] { background: #fff; box-shadow: var(--lift-1); }
.convo .who { flex: 1; min-width: 0; }
.convo b { display: block; font-weight: 600; font-size: 15px; letter-spacing: -.02em; }
.convo .last { display: block; font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.convo.unread .last { color: var(--ink); font-weight: 550; }
.convo .badge { flex: none; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--forest); color: #fff; font: 650 12px/22px var(--ui); text-align: center; }
.thread { position: relative; display: flex; flex-direction: column; min-height: 0; background: #fff; }
.thread.in .thread-head, .thread.in .bubbles .b { animation: rise 640ms var(--glide) both; }
.thread.in .bubbles .b:nth-child(n+2) { animation-delay: 50ms; } .thread.in .bubbles .b:nth-child(n+3) { animation-delay: 100ms; } .thread.in .bubbles .b:nth-child(n+4) { animation-delay: 150ms; }
.thread-head { display: flex; align-items: center; gap: 12px; padding: 16px 24px; box-shadow: inset 0 -1px 0 var(--line); }
.thread-head .av { width: 44px; height: 44px; }
.thread-head b { font: 650 18px/1.2 var(--ui); letter-spacing: -.03em; }
.thread-head .who-sub { font-size: 13px; color: var(--muted); display: block; }
.thread-head .online { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.thread-head .online i { width: 7px; height: 7px; border-radius: 50%; background: #19B57A; }
.bubbles { flex: 1; overflow: auto; padding: 8px 28px 120px; display: flex; flex-direction: column; gap: 6px; scroll-padding-bottom: 120px; } /* a focused line clears the message box */
.day { align-self: center; font: 500 12px/1 var(--ui); color: var(--muted); margin: 10px 0 12px; }
.b { max-width: 62%; padding: 11px 17px; border-radius: 22px; font-size: 15.5px; line-height: 1.42; white-space: pre-wrap; overflow-wrap: anywhere; }
.b.them { align-self: flex-start; background: #F0F3F1; border-bottom-left-radius: 8px; }
.b.them.new { animation: rise 600ms var(--glide) both; }
.b.me { align-self: flex-end; color: #F3FFF9; border-bottom-right-radius: 8px; background: linear-gradient(180deg, #11603F, var(--forest)); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 10px 22px -12px rgba(10,74,51,.7); }
.b.flying { position: fixed; z-index: 50; margin: 0; pointer-events: none; max-width: none; transform-origin: 100% 100%; box-shadow: 0 10px 24px -14px rgba(4,27,18,.35); }
.b.me.failed { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--red); }
.status { align-self: flex-end; font-size: 12.5px; color: var(--muted); font-weight: 500; margin: -1px 6px 6px; display: flex; align-items: center; gap: 8px; }
.status.err { color: var(--red); }
.status.pending { min-height: 15px; }
.status.in { animation: st-in 360ms var(--glide) both; }
@keyframes st-in { from { opacity: 0; transform: translateY(-3px); } }
[data-calm] .status.in { animation: none; }
.status .retry { color: var(--red); text-decoration: underline; font-weight: 650; padding: 2px 0; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 14px 16px; border-radius: 22px; border-bottom-left-radius: 8px; background: var(--ground); animation: rise 500ms var(--glide) both; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #93A39C; animation: blink 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .18s; } .typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
.send-row { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; gap: 8px; align-items: flex-end; padding: 8px; border-radius: 30px;
  background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line), var(--lift-2);
  transition: box-shadow 500ms var(--glide); }
.send-row:focus-within { box-shadow: inset 0 0 0 1.5px var(--green), 0 0 0 6px rgba(11,122,83,.1), var(--lift-2); }
.send-row textarea { flex: 1; resize: none; min-height: 46px; max-height: 160px; padding: 12px 14px; border: 0; background: none; line-height: 1.4; font-size: 15.5px; }
.send-row textarea::placeholder { color: var(--muted); }
.send-row .btn { width: 46px; padding: 0; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 100px; z-index: 60; display: flex; align-items: center; gap: 10px; padding: 13px 22px 13px 16px; border-radius: 99px;
  background: rgba(4,27,18,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--on-deep); font-weight: 500;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), var(--lift-3); transform: translate(-50%, 16px) scale(.97); opacity: 0; pointer-events: none;
  transition: transform 600ms var(--glide), opacity 400ms var(--glide); }
.at-welcome .toast { bottom: 200px; }
.toast.on { transform: translate(-50%, 0); opacity: 1; }
.toast svg.i { color: var(--spark); stroke-width: 2.4; }

/* ---------- a newer version is ready: a strip across the top that takes its own room ----------
 * It never covers anything: with html.has-newver the page starts below it (--nv), and so do the layers that fill the
 * screen (the welcome, the front door and Settings, sheets) and everything stuck to the top; full-height boxes are --nv
 * shorter. Never a reload by itself. */
html.has-newver { --nv: 48px; scroll-padding-top: var(--nv); }
.newver { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nv); display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 0 16px; background: #0B2A1E; color: var(--on-deep); font-weight: 500; font-size: 14.5px; text-align: center; opacity: 0; transition: opacity 400ms var(--glide); }
.newver.on { opacity: 1; }
.newver .btn.s { flex: none; height: 32px; padding: 0 14px; font-size: 13.5px; }
html.has-newver body { padding-top: var(--nv); }
html.has-newver .top { top: calc(18px + var(--nv)); }
html.has-newver .welcome, html.has-newver .fd, html.has-newver .fd-loading, html.has-newver .sheet, html.has-newver .moment { top: var(--nv); }
html.has-newver .newpill-slot { top: calc(84px + var(--nv)); }
html.has-newver .cols > aside { top: calc(24px + var(--nv)); max-height: calc(100vh - 24px - 108px - var(--nv)); }
html.has-newver .msgs { height: calc(100vh - 202px - var(--nv)); }
html.has-newver .sheet-card { max-height: calc(100vh - 48px - var(--nv)); }
html.has-newver .sheet-card.ep { height: min(780px, calc(100vh - 48px - var(--nv))); }
@media (min-width: 1101px) { html.has-newver .kn-pin { top: calc(96px + var(--nv)); } }
html.has-newver .ma-art { top: calc(96px + var(--nv)); }
@media (max-width: 720px) {
  html.has-newver { --nv: 64px; }
  .newver { gap: 10px; font-size: 13.5px; text-wrap: balance; }
  html.has-newver .msgs { height: calc(100dvh - 76px - var(--nv)); }
  html.has-newver .phone-conversation .msgs { height: calc(100dvh - var(--nv)); }
  html.has-newver .cols > aside { top: auto; max-height: none; }
}

/* ---------- the reward moment ---------- */
.moment { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(4,27,18,0); transition: background-color 500ms var(--glide); }
.moment.open { background: rgba(4,27,18,.28); }
.moment-card { width: 520px; max-width: calc(100vw - 32px); border-radius: 40px; overflow: hidden; color: var(--on-deep); text-align: center; padding: 0 32px 30px; position: relative; isolation: isolate;
  color: var(--ink); background: radial-gradient(90% 60% at 50% 25%, #EAF6F0 0%, #FFFFFF 70%); box-shadow: 0 40px 100px -20px rgba(4,27,18,.45);
  transform: scale(.95) translateY(14px); opacity: 0; transition: transform 800ms var(--glide), opacity 400ms var(--glide); }
.moment.open .moment-card { transform: none; opacity: 1; }
.moment-stage { position: relative; height: 300px; margin: 0 -32px; isolation: isolate; }

.moment-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.moment-fallback { position: absolute; left: 50%; top: 50%; width: 180px; transform: translate(-50%, -50%); }
.moment-card h2 { font: 600 32px/1.05 var(--ui); letter-spacing: -.05em; }
.moment-card h2 em { color: var(--green); }
.moment-card p { color: var(--ink-2); margin: 12px auto 0; max-width: 380px; }
.moment-actions { display: flex; flex-direction: column; gap: 6px; margin-top: 26px; }


/* ---------- sheets (the look, the custom request) ---------- */
.sheet { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: rgba(4,27,18,0); transition: background-color 500ms var(--glide); }
.sheet.open { background: rgba(4,27,18,.35); }
.sheet-card { width: 780px; max-width: calc(100vw - 32px); max-height: calc(100vh - 48px); overflow: auto; border-radius: 36px; background: var(--paper); padding: 34px 36px; box-shadow: 0 40px 100px -20px rgba(4,27,18,.5);
  transform: translateY(20px) scale(.975); opacity: 0; transition: transform 800ms var(--glide), opacity 400ms var(--glide); }
.sheet.open .sheet-card { transform: none; opacity: 1; }
.sheet-card h2 { font: 600 36px/1.04 var(--ui); letter-spacing: -.05em; margin-top: 10px; }
.sheet-card h2 em { color: var(--green); }
.sheet-card h3 { font: 600 13px/1 var(--ui); color: var(--muted); margin: 28px 0 12px; }
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.swatches.five { margin-top: 10px; }
.swatch { border-radius: 18px; overflow: hidden; font-size: 12.5px; background: var(--ground); }
.swatch i { display: block; height: 56px; }
.swatch div { padding: 9px 11px; }
.swatch b { display: block; font-size: 13px; }
.typeset { display: grid; gap: 8px; }
.typeset .h1 { font-size: 40px; }
.tokens-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tokens-table td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.tokens-table td:last-child { text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sheet-foot { margin-top: 24px; }
.req { width: 720px; }
.picard { width: 560px; }
.pic-row { display: flex; align-items: center; gap: 24px; margin: 24px 0 26px; }
.pic-row .btn { cursor: pointer; }
/* Upload a photo (its hover wasn't good enough): it rises a touch, a soft green light follows the mouse
   inside it like the welcome doors, and its icon turns white with the arrow lifting, all slow, nothing flashes */
.btn.upload { gap: 12px; padding: 0 26px 0 10px; translate: 0 0;
  transition: box-shadow 900ms var(--glide), translate 900ms var(--glide), background-color 500ms var(--glide), color 500ms var(--glide); }
.btn.upload::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 900ms var(--glide);
  background: radial-gradient(150px circle at var(--px, 70%) var(--py, 40%), rgba(62,224,166,.3), transparent 70%); }
.btn.upload:hover, .btn.upload:focus-visible { translate: 0 -2px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 1px 2px rgba(4,27,18,.3), 0 28px 46px -16px rgba(10,74,51,.9), 0 0 0 6px rgba(11,122,83,.12); }
.btn.upload:hover::before, .btn.upload:focus-visible::before { opacity: 1; }
.up-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  transition: background-color 900ms var(--glide), color 900ms var(--glide), box-shadow 900ms var(--glide); }
.up-ic svg.i { width: 18px; height: 18px; stroke-width: 2; }
.up-ic path { transition: transform 1000ms var(--glide); transform-box: fill-box; transform-origin: center; }
.btn.upload:hover .up-ic, .btn.upload:focus-visible .up-ic { background: #fff; color: var(--forest); box-shadow: 0 6px 14px -6px rgba(0,0,0,.45); }
.btn.upload:hover .up-arrow, .btn.upload:focus-visible .up-arrow { transform: translateY(-2.5px); }
.btn.upload:hover .up-ic path:not(.up-arrow), .btn.upload:focus-visible .up-ic path:not(.up-arrow) { transform: scaleX(1.18); }
.pic-note { font-size: 14px; color: var(--muted); margin-top: 10px; max-width: 300px; }
.pic-colors { display: flex; gap: 10px; margin-top: 10px; }
.pic-colors button { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); transition: box-shadow 500ms var(--glide), transform 600ms var(--glide); }
.pic-colors button:hover { transform: scale(1.08); }
.pic-colors button[aria-pressed="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--green); }
.sheet-foot.row { justify-content: flex-end; }
.req .lede { font-size: 15.5px; margin-top: 10px; color: var(--ink-2); }
.field { margin-top: 22px; }
.field > label, .field .lbl { display: block; font: 600 16px/1.3 var(--ui); letter-spacing: -.025em; }
.field small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 3px; }
.field textarea { width: 100%; margin-top: 10px; min-height: 88px; resize: vertical; padding: 14px 18px; border: 0; border-radius: 22px; background: var(--ground); line-height: 1.45;
  transition: box-shadow 500ms var(--glide), background-color 500ms var(--glide); }
.field textarea:focus { background: #fff; box-shadow: 0 0 0 1.5px var(--green), 0 0 0 6px rgba(11,122,83,.1); }
.field textarea::placeholder { color: var(--muted); }
.drop { margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 22px 14px; border-radius: 26px; text-align: left; border: 1.5px dashed rgba(11,122,83,.3); cursor: pointer; position: relative;
  transition: border-color 500ms var(--glide), background-color 500ms var(--glide); }
.drop:hover, .drop.over { border-color: var(--green); background: rgba(11,122,83,.05); }
/* Tab to "Add files" and the box shows it (the focus was on the hidden file input, so nothing showed) */
.drop:has(input:focus-visible) { border-color: var(--green); background: rgba(11,122,83,.05); outline: 2px solid var(--green); outline-offset: 3px; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-t { display: flex; flex-direction: column; gap: 2px; }
.drop-t b { font-weight: 600; }
/* was turning it back into a plain block; now it's a
   centered stack, the clip on top, the words under it */
.field > label.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px 14px 22px; text-align: center;
  font: 400 14px/1.3 var(--ui); letter-spacing: 0; }
.field > label.drop .drop-t { align-items: center; }
.field > label.drop .drop-t b { font: 600 15.5px/1.2 var(--ui); letter-spacing: -.02em; }
.field > label.drop .c-icon { transition: transform 500ms var(--glide); }
.field > label.drop:hover .c-icon, .field > label.drop.over .c-icon { transform: translateY(-2px) rotate(-8deg); }
/* a "?" beside "Where will you use it?" opens what each one is */
.lbl-q { display: flex !important; align-items: center; gap: 8px; }
.q-help { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font: 700 12.5px/1 var(--ui); color: var(--green); background: rgba(11,122,83,.09);
  box-shadow: inset 0 0 0 1.5px rgba(11,122,83,.28); transition: background-color 300ms var(--glide), color 300ms var(--glide), transform 300ms var(--glide); }
.q-help:hover, .q-help[aria-expanded="true"] { background: var(--green); color: #fff; }
.q-help:active { transform: scale(.92); }
.q-help-box { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; opacity: 0; transform: translateY(-4px); transition: opacity 260ms var(--glide), transform 260ms var(--glide); }
.q-help-box.open { opacity: 1; transform: none; }
.q-help-lede { grid-column: 1 / -1; margin: 0 0 -2px; color: var(--muted); font-size: 13.5px; }
.q-help-box > div { padding: 12px 14px 13px; border-radius: 18px; background: var(--ground); }
.q-help-box b { display: block; font: 600 14px/1.25 var(--ui); letter-spacing: -.01em; }
.q-help-box p { margin: 4px 0 0; font-size: 13px; line-height: 1.42; color: var(--ink-2); text-wrap: pretty; }
@media (max-width: 720px){ .q-help-box { grid-template-columns: 1fr; } }
.files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pick { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.pick button { height: 40px; padding: 0 18px; border-radius: 99px; background: var(--ground); font-weight: 500; font-size: 14px; color: var(--ink-2);
  transition: background-color 500ms var(--glide), color 500ms var(--glide), box-shadow 500ms var(--glide); transform: scale(var(--ps, 1)); }
.pick button:hover { color: var(--ink); background: #E9EEEB; }
.pick button[aria-pressed="true"] { background: rgba(11,122,83,.08); color: var(--green); box-shadow: inset 0 0 0 1.5px var(--green); }
/* the field with the keyboard scrolls clear of the sticky bar at the bottom (lab.js openRequest makes sure) */
.sheet-card.req { scroll-padding-bottom: 130px; }
.req-foot { position: sticky; bottom: -34px; margin: 26px -36px -34px; padding: 18px 36px 22px; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 -1px 0 var(--line); display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.meter-bar { height: 8px; border-radius: 4px; background: var(--ground); overflow: hidden; margin-top: 8px; }
.meter-bar i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--m, 0)); border-radius: 4px;
  background: linear-gradient(90deg, var(--green), var(--spark)); box-shadow: 0 0 14px rgba(62,224,166,.5); transition: transform 900ms var(--glide); }
.meter-txt { font: 600 14.5px/1.2 var(--ui); letter-spacing: -.02em; }
.meter-txt span { font-weight: 400; color: var(--muted); letter-spacing: 0; }

/* ---------- the feel lab panel: dark, so it's clearly not part of the app ---------- */
.lab { position: fixed; left: 16px; bottom: 16px; z-index: 40; width: 244px; border-radius: 22px; padding: 14px 16px 16px; font-size: 13.5px; color: var(--on-deep);
  background: rgba(4,27,18,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), var(--lift-3);
  transform-origin: bottom left; transition: transform 600ms var(--glide), opacity 300ms var(--glide); }
.lab.shut { transform: scale(.92) translateY(10px); opacity: 0; pointer-events: none; }
.lab-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.lab-head .kicker { color: var(--spark); }
.lab-head .x { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--on-deep-2); }
.lab-head .x:hover { background: rgba(255,255,255,.07); color: #fff; }
.lab-head .x svg.i { width: 16px; height: 16px; }
.sw { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; font-weight: 500; cursor: pointer; }
.sw small { display: block; font-weight: 400; color: var(--on-deep-2); font-size: 12px; line-height: 1.3; }
.sw input { flex: none; appearance: none; -webkit-appearance: none; margin: 0; width: 42px; height: 26px; border-radius: 13px; background: rgba(255,255,255,.14); position: relative; cursor: pointer;
  transition: background-color 400ms var(--glide); }
.sw input::before { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3);
  transition: transform 500ms var(--glide); }
.sw input:checked { background: var(--green); }
.sw input:checked::before { transform: translateX(16px); }
.lab hr { border: 0; border-top: 1px solid rgba(255,255,255,.08); margin: 8px 0; }
.meter { display: flex; justify-content: space-between; align-items: baseline; padding: 3px 0; color: var(--on-deep-2); }
.meter b { font: 600 13px var(--mono); color: #fff; }
.meter b.good { color: var(--spark); } .meter b.bad { color: #FF9A8F; }
.buzz { margin-top: 6px; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.05); color: var(--on-deep-2); font-size: 12.5px; transition: background-color 500ms linear, color 500ms linear; }
.buzz.flash { background: rgba(62,224,166,.2); color: #fff; transition: none; }
.lab-btns { display: flex; gap: 6px; margin-top: 10px; }
.lab-btns .btn { flex: 1; height: 36px; padding: 0 8px; font-size: 13px; }
.lab-open { position: fixed; left: 16px; bottom: 16px; z-index: 39; height: 36px; padding: 0 14px; border-radius: 99px; font: 500 12.5px/1 var(--ui); color: var(--on-deep-2);
  background: rgba(4,27,18,.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: color 400ms var(--glide); }
.lab-open:hover { color: #fff; }

/* ---------- moving between places ---------- */
::view-transition-group(*) { animation-duration: 760ms; animation-timing-function: var(--glide); }
html[data-vt="enter"]::view-transition-old(root) { animation: 700ms var(--soft) both vt-away; }
html[data-vt="enter"]::view-transition-new(root) { animation: 760ms var(--glide) 120ms both vt-arrive; }
html[data-vt="home"]::view-transition-old(root) { animation: 520ms var(--soft) both vt-sink; }
html[data-vt="home"]::view-transition-new(root) { animation: 900ms var(--glide) both vt-zoomin; }
html[data-vt="tab"]::view-transition-old(root), html[data-vt="tab"]::view-transition-new(root) { animation-duration: 240ms; animation-timing-function: linear; }
html[data-vt="tab"]::view-transition-group(*) { animation-duration: 0ms; }
@keyframes vt-away { to { opacity: 0; transform: scale(1.08); filter: blur(14px); } }
@keyframes vt-arrive { from { opacity: 0; transform: translateY(36px) scale(.985); filter: blur(8px); } }
@keyframes vt-sink { to { opacity: 0; transform: translateY(24px) scale(.98); filter: blur(8px); } }
@keyframes vt-zoomin { from { opacity: 0; transform: scale(1.06); filter: blur(14px); } }

/* ---------- plugin cards show the plugin working: a clip of our real work or a live scene, never an icon ---------- */
.pcard { min-height: 0; padding-bottom: 20px; }
.pc-media { min-width: 0; position: relative; display: block; aspect-ratio: 4 / 3; margin: 10px 10px 0; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: color-mix(in srgb, var(--c) 8%, #F5F7F6); box-shadow: inset 0 0 0 1px rgba(10,18,15,.05);
  transform: translateZ(24px); transition: box-shadow 900ms var(--glide); }
.pcard:hover .pc-media { box-shadow: inset 0 0 0 1px rgba(10,18,15,.05), 0 24px 40px -26px color-mix(in srgb, var(--c) 70%, rgba(4,27,18,.5)); }
.pc-media .sc-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(calc(1.02 + var(--gl, 0) * .03)); transition: transform 1400ms var(--glide); }
.pc-body { padding: 20px 22px 0; }
.pcard h3 { font-size: 21px; }
.pcard p { font-size: 14.5px; text-wrap: wrap; }   /* fill the card's width; glue keeps the last three words together */
.pc-foot { padding: 16px 22px 0; }

/* the website in a browser window */
.sc-browser { position: absolute; inset: 9% 7% 0; display: block; border-radius: 12px 12px 0 0; overflow: hidden; background: #0B1418;
  box-shadow: 0 30px 50px -24px rgba(6,43,29,.55), 0 0 0 1px rgba(10,18,15,.08);
  transform: translateY(calc(var(--gl, 0) * -6px)); transition: transform 1400ms var(--glide); }
.sc-bar { position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 22px; display: flex; align-items: center; gap: 5px; padding: 0 10px; background: #F4F6F5; }
.sc-bar i { width: 7px; height: 7px; border-radius: 50%; background: #D5DCD9; }
.sc-url { margin-left: 10px; flex: 1; max-width: 46%; height: 13px; border-radius: 7px; background: #fff; font: 500 8px/13px var(--ui); color: var(--muted); padding: 0 8px; }
.sc-browser .sc-vid { top: 22px; height: calc(100% - 22px); object-position: top; transform: none; }

/* the live scenes: drawn at 400 x 300, scaled to fit with zoom */
.sc { position: absolute; inset: 0; display: block; overflow: hidden; }
.sc .z { position: absolute; left: 0; top: 0; width: 400px; height: 300px; display: block; font-family: var(--ui); color: var(--ink); }
.sc .z * { position: absolute; display: block; }
.off .z, .off .z * { animation-play-state: paused !important; }

/* The three drawn scenes are real-looking app windows, framed like the Website card's browser.
   Each scene's resting style is its finished frame, so calm motion (every animation at 0 ms) shows the whole story still. */
.scw { overflow: hidden; border-radius: 12px 12px 0 0; background: #fff;
  box-shadow: 0 30px 50px -24px rgba(6,43,29,.55), 0 0 0 1px rgba(10,18,15,.08);
  translate: 0 calc(var(--gl, 0) * -6px); transition: translate 1400ms var(--glide); }
.off .z *::before, .off .z *::after { animation-play-state: paused !important; }
.scw-bar { left: 0; right: 0; top: 0; height: 22px; display: flex !important; align-items: center; gap: 5px; padding: 0 10px; background: #F4F6F5; }
.sc .scw-bar > * { position: relative; }
.sc .scw-bar i { width: 7px; height: 7px; border-radius: 50%; background: #D5DCD9; }
.sc .scw-url { margin-left: 10px; flex: 1; max-width: 50%; height: 13px; border-radius: 7px; background: #fff; font: 500 8px/13px var(--ui); color: var(--muted); padding: 0 8px; white-space: nowrap; overflow: hidden; }

/* Usage saver: the week draws itself on a usage chart; Opus alone hits zero on Wednesday, Usage saver lasts to Sunday */
.sc-usage { background: radial-gradient(60% 70% at 88% 0%, rgba(47,203,143,.20), transparent 70%), color-mix(in srgb, var(--c, #2FCB8F) 8%, #F5F7F6); }
.uw { left: 28px; top: 27px; width: 344px; height: 290px; }
.uw-title { left: 20px; top: 38px; font: 650 15px/1 var(--ui); letter-spacing: -.02em; }
.uw-key { right: 20px; top: 40px; display: flex !important; gap: 12px; }
.sc .uw-key span { position: relative; padding-left: 12px; font: 550 10.5px/12px var(--ui); color: var(--ink-2); white-space: nowrap; }
.uw-key span::before { content: ''; position: absolute; left: 0; top: 2.5px; width: 7px; height: 7px; border-radius: 50%; }
.uw-key .k-a::before { background: #E8735A; } .uw-key .k-b::before { background: #13A06C; }
.uw-chart { left: 20px; top: 66px; width: 304px; height: 110px; }
.uw-grid { inset: 0; border-bottom: 1px solid rgba(10,18,15,.12);
  background: linear-gradient(rgba(10,18,15,.06) 1px, transparent 1px) 0 0 / 100% 52px, linear-gradient(90deg, rgba(10,18,15,.035) 1px, transparent 1px) 0 0 / 50.66px 100%; }
.uw-draw { left: -12px; top: -12px; width: 328px; height: 134px; animation: uw-draw 10s linear infinite; }
.uw-draw svg { left: 12px; top: 12px; overflow: visible; filter: drop-shadow(0 4px 6px rgba(6,43,29,.16)); }
.uw-area { fill: url(#uw-fill); }
.uw-line-a, .uw-line-b { fill: none; stroke-width: 2.6; stroke-linecap: round; }
.uw-line-a { stroke: #E8735A; } .uw-line-b { stroke: #13A06C; }
.uw-now { left: -1px; top: -6px; width: 2px; height: 122px; border-radius: 2px; opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(11,122,83,.7) 30%, rgba(11,122,83,.7) 70%, transparent); box-shadow: 0 0 12px rgba(47,203,143,.6); animation: uw-now 10s linear infinite; }
.uw-out, .uw-last { width: 0; height: 0; }
.uw-out { left: 112px; top: 106px; animation: uw-out 10s var(--glide) infinite; }
.uw-last { left: 304px; top: 86px; animation: uw-last 10s var(--glide) infinite; }
.uw-out i, .uw-last i { left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2.5px solid; }
.uw-out i { border-color: #E8735A; } .uw-last i { border-color: #13A06C; }
.uw-out i::after, .uw-last i::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid currentColor; opacity: 0; animation: uw-ping 2.4s var(--glide) infinite; }
.uw-out i::after { color: #E8735A; } .uw-last i::after { color: #13A06C; }
.uw-out b, .uw-last b { top: -10px; height: 20px; padding: 0 8px; border-radius: 99px; background: #fff; font: 650 10.5px/20px var(--ui); white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(10,18,15,.07), 0 8px 16px -10px rgba(6,43,29,.45); }
.uw-out b { left: 12px; color: #C4553D; }
.uw-last b { right: 12px; top: 8px; color: var(--green); }
.uw-days { left: 20px; top: 184px; width: 304px; display: flex !important; justify-content: space-between; }
.sc .uw-days span { position: relative; font: 500 10px/12px var(--ui); color: var(--muted); }
/* the three chips fit the 328 px row with room to spare (the third ran 56 to 102 px past the card) */
.uw-flow { left: 8px; right: 8px; top: 214px; height: 32px; display: flex !important; align-items: center; gap: 4px; }
.sc .uw-flow > * { position: relative; }
.uw-flow b { height: 26px; padding: 0 7px; border-radius: 99px; font: 600 9.5px/26px var(--ui); letter-spacing: -.01em; white-space: nowrap; background: #fff; color: var(--ink-2);
  box-shadow: 0 0 0 1px rgba(10,18,15,.08), 0 8px 16px -12px rgba(6,43,29,.4); animation: uw-chip 5s var(--soft) infinite; }
.uw-flow .f2 { animation-delay: 1.667s; } .uw-flow .f3 { animation-delay: 3.333s; }
.uw-flow em { flex: 1; min-width: 6px; height: 2px; border-radius: 2px; background: rgba(11,122,83,.18); }
.uw-flow em::after { content: ''; position: absolute; left: 0; top: -2px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--spark);
  box-shadow: 0 0 10px 2px rgba(62,224,166,.8); opacity: 0; animation: uw-dot 5s var(--soft) infinite; }
.uw-flow em + b + em::after { animation-delay: 1.667s; }
@keyframes uw-draw { 0%, 6% { clip-path: inset(0 316px 0 0); opacity: 1; } 80% { clip-path: inset(0 12px 0 0); } 81%, 96% { clip-path: inset(0 0 0 0); } 90% { opacity: 1; } 96%, 100% { opacity: 0; } 100% { clip-path: inset(0 316px 0 0); } }
@keyframes uw-now { 0%, 3% { transform: translateX(0); opacity: 0; } 6% { transform: translateX(0); opacity: 1; } 80% { transform: translateX(304px); opacity: 1; } 86%, 100% { transform: translateX(304px); opacity: 0; } }
@keyframes uw-out { 0%, 32% { opacity: 0; transform: scale(.6); } 37%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes uw-last { 0%, 79% { opacity: 0; transform: scale(.6); } 84%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes uw-ping { 0% { opacity: .7; transform: scale(.5); } 70%, 100% { opacity: 0; transform: scale(1.4); } }
@keyframes uw-chip { 0% { background: #fff; color: var(--ink-2); } 4%, 26% { background: var(--forest); color: #fff; box-shadow: 0 0 0 1px var(--forest), 0 10px 22px -10px rgba(11,122,83,.8); } 34%, 100% { background: #fff; color: var(--ink-2); } }
@keyframes uw-dot { 0%, 22% { left: 0; opacity: 0; } 25% { left: 0; opacity: 1; } 33% { left: 100%; opacity: 1; } 36%, 100% { left: 100%; opacity: 0; } }

/* Run while you sleep: a whole night in twelve seconds; stars and moon, dawn, the sun up, the window turns from dark to light */
@property --sl-day { syntax: '<number>'; inherits: true; initial-value: 1; }
@property --sl-r { syntax: '<number>'; inherits: true; initial-value: 1; }
.sc-sleep { background: #0B1033; }
.sc-sleep .z { --sl-day: 1; animation: sl-day 12s var(--soft) infinite; }
.sl-sky { inset: 0; }
.sl-night { background: linear-gradient(180deg, #070B2A 0%, #141A52 55%, #2E3180 100%); }
.sl-dawn { opacity: 0; background: linear-gradient(180deg, #2A2765 0%, #6F4F9F 36%, #E2808A 66%, #FFBA78 100%); animation: sl-dawn 12s var(--soft) infinite; }
.sl-day { background: linear-gradient(180deg, #B9DBF7 0%, #E2F0FB 46%, #FFF3DF 100%); animation: sl-dayl 12s var(--soft) infinite; }
.sl-stars { left: 0; top: 0; width: 1px; height: 1px; border-radius: 50%; opacity: 0; }
.sl-st1 { box-shadow: 339px 153px 0 0 rgba(255,255,255,0.82), 158px 115px 0 0 rgba(255,255,255,0.98), 163px 180px 0 0.5px rgba(255,255,255,0.43), 33px 150px 0 0 rgba(255,255,255,0.39), 279px 85px 0 0.5px rgba(255,255,255,0.38), 134px 117px 0 0 rgba(255,255,255,0.60), 188px 177px 0 0 rgba(255,255,255,0.80), 340px 64px 0 0 rgba(255,255,255,0.36), 187px 37px 0 0 rgba(255,255,255,0.65), 318px 10px 0 0.5px rgba(255,255,255,0.60), 104px 104px 0 0 rgba(255,255,255,0.67), 335px 151px 0 0 rgba(255,255,255,0.56), 302px 69px 0 0 rgba(255,255,255,0.95), 56px 24px 0 0 rgba(255,255,255,0.91), 284px 194px 0 0.5px rgba(255,255,255,0.57), 232px 165px 0 0 rgba(255,255,255,0.39), 281px 109px 0 0 rgba(255,255,255,0.42), 246px 44px 0 0.5px rgba(255,255,255,0.79), 375px 183px 0 0 rgba(255,255,255,0.86), 259px 76px 0 0 rgba(255,255,255,0.91), 27px 70px 0 0 rgba(255,255,255,0.76), 209px 190px 0 0 rgba(255,255,255,0.83), 388px 168px 0 0 rgba(255,255,255,0.54);
  animation: sl-st1 12s var(--soft) infinite; }
.sl-st2 { box-shadow: 264px 44px 0 0 rgba(255,255,255,0.61), 369px 5px 0 0 rgba(255,255,255,0.36), 351px 180px 0 0 rgba(255,255,255,0.55), 287px 171px 0 0 rgba(255,255,255,0.88), 321px 27px 0 0.5px rgba(255,255,255,0.81), 24px 34px 0 0 rgba(255,255,255,0.79), 289px 27px 0 0 rgba(255,255,255,0.45), 123px 161px 0 0 rgba(255,255,255,0.56), 316px 64px 0 0 rgba(255,255,255,0.50), 21px 167px 0 0 rgba(255,255,255,0.77), 367px 186px 0 0.5px rgba(255,255,255,0.83), 285px 181px 0 0 rgba(255,255,255,0.81), 129px 54px 0 0 rgba(255,255,255,0.49), 244px 35px 0 0.5px rgba(255,255,255,0.76), 365px 23px 0 0 rgba(255,255,255,0.55), 266px 93px 0 0 rgba(255,255,255,0.49), 49px 162px 0 0.5px rgba(255,255,255,0.61), 314px 76px 0 0 rgba(255,255,255,0.50), 11px 169px 0 0 rgba(255,255,255,0.36), 190px 127px 0 0 rgba(255,255,255,0.42), 103px 191px 0 0.5px rgba(255,255,255,0.63), 363px 181px 0 0 rgba(255,255,255,0.37), 109px 112px 0 0 rgba(255,255,255,0.39);
  animation: sl-st2 12s linear infinite; }
.sl-shoot { left: 300px; top: 28px; width: 74px; height: 1.5px; border-radius: 2px; opacity: 0; background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); transform-origin: left center;
  transform: rotate(-21deg); animation: sl-shoot 12s var(--soft) infinite; }
.sl-moon-arm { left: 200px; top: 420px; width: 0; height: 0; opacity: 0; transform: rotate(32deg); animation: sl-moon 12s var(--soft) infinite; }
.sl-moon { left: -14px; top: -394px; width: 28px; height: 28px; border-radius: 50%;
  background: radial-gradient(circle at 62% 64%, rgba(170,165,145,.35) 0 3px, transparent 3.5px), radial-gradient(circle at 36% 58%, rgba(170,165,145,.3) 0 2px, transparent 2.5px), radial-gradient(circle at 38% 34%, #FFFDF4, #E6E0CA 72%);
  box-shadow: 0 0 16px 3px rgba(255,248,222,.45), 0 0 60px 14px rgba(170,180,255,.22); }
.sl-sun { left: 258px; top: 90px; width: 120px; height: 120px; animation: sl-sun 12s var(--glide) infinite; }
.sl-rays { inset: -30px; border-radius: 50%; opacity: .9;
  background: repeating-conic-gradient(rgba(255,214,140,.30) 0 5deg, transparent 5deg 18deg);
  -webkit-mask: radial-gradient(closest-side, #000 22%, transparent 100%); mask: radial-gradient(closest-side, #000 22%, transparent 100%); animation: sl-spin 40s linear infinite; }
.sl-disc { left: 41px; top: 41px; width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #FFFBEF, #FFD88E 58%, #FFB55A);
  box-shadow: 0 0 24px 8px rgba(255,205,120,.65), 0 0 90px 34px rgba(255,186,96,.38); }
.sl-glow { left: -40px; right: -40px; top: 140px; height: 160px; opacity: .3; background: radial-gradient(48% 52% at 78% 62%, rgba(255,168,104,.85), transparent 72%); animation: sl-glow 12s var(--soft) infinite; }
.sl-hills { left: 0; top: 196px; overflow: visible; }
.sl-far { fill: color-mix(in srgb, #A6D3B6 calc(var(--sl-day) * 100%), #20256A); }
.sl-near { fill: color-mix(in srgb, #3E8F67 calc(var(--sl-day) * 100%), #0D1138); }
.sl-lights { inset: 0; opacity: calc(1 - var(--sl-day)); }
.sl-lights i { width: 3px; height: 3px; border-radius: 50%; background: #FFD891; box-shadow: 0 0 6px 1.5px rgba(255,200,110,.75); }
.sl-lights i:nth-child(1) { left: 296px; top: 238px; } .sl-lights i:nth-child(2) { left: 308px; top: 235px; } .sl-lights i:nth-child(3) { left: 321px; top: 240px; }
.sl-lights i:nth-child(4) { left: 342px; top: 236px; } .sl-lights i:nth-child(5) { left: 358px; top: 241px; }
.sl-clock { left: 24px; top: 20px; width: 150px; height: 36px; }
.sl-clock span { left: 0; top: 0; font: 650 30px/36px var(--ui); letter-spacing: -.045em; white-space: nowrap; opacity: 0;
  color: color-mix(in srgb, var(--ink) calc(var(--sl-day) * 100%), #FFFFFF); animation: sl-clk 12s var(--soft) infinite; }
.sl-clock span:nth-child(2) { animation-delay: 1.56s; } .sl-clock span:nth-child(3) { animation-delay: 3.12s; } .sl-clock span:nth-child(4) { animation-delay: 4.68s; }
.sl-clock span:nth-child(5) { opacity: 1; animation-name: sl-clk-last; }
.sl-win { left: 24px; top: 84px; width: 238px; height: 240px;
  background: color-mix(in srgb, rgba(255,255,255,.96) calc(var(--sl-day) * 100%), rgba(20,24,66,.82));
  box-shadow: 0 30px 50px -24px rgba(4,8,30,.6), 0 0 0 1px color-mix(in srgb, rgba(10,18,15,.08) calc(var(--sl-day) * 100%), rgba(255,255,255,.14)); }
.sl-win .scw-bar { background: color-mix(in srgb, #F4F6F5 calc(var(--sl-day) * 100%), rgba(255,255,255,.06)); }
.sc .sl-win .scw-bar i { background: color-mix(in srgb, #D5DCD9 calc(var(--sl-day) * 100%), rgba(255,255,255,.22)); }
.sc .sl-win .scw-url { background: color-mix(in srgb, #fff calc(var(--sl-day) * 100%), rgba(255,255,255,.08)); color: color-mix(in srgb, var(--muted) calc(var(--sl-day) * 100%), rgba(255,255,255,.62)); }
.sl-row { left: 14px; right: 12px; height: 34px; --sl-r: 1; }
.sl-row.r1 { top: 36px; animation: sl-r1 12s var(--glide) infinite; } .sl-row.r2 { top: 74px; animation: sl-r2 12s var(--glide) infinite; }
.sl-row.r3 { top: 112px; animation: sl-r3 12s var(--glide) infinite; } .sl-row.r4 { top: 150px; animation: sl-r4 12s var(--glide) infinite; }
.sl-row i { left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, rgba(124,131,247,.5) calc(var(--sl-day) * 100%), rgba(255,255,255,.3)), 0 0 0 calc(var(--sl-r) * 4px) rgba(124,131,247,.22); }
.sl-row i::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #7C83F7; transform: scale(var(--sl-r)); opacity: var(--sl-r); }
.sl-row i::after { content: ''; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(var(--sl-r)); opacity: var(--sl-r); }
.sl-row b { left: 28px; top: 1px; font: 600 12.5px/16px var(--ui); letter-spacing: -.01em; white-space: nowrap; opacity: calc(.42 + var(--sl-r) * .58);
  color: color-mix(in srgb, var(--ink) calc(var(--sl-day) * 100%), #FFFFFF); }
.sl-row small { left: 28px; top: 18px; font: 500 10px/14px var(--mono); opacity: calc(.3 + var(--sl-r) * .7);
  color: color-mix(in srgb, var(--muted) calc(var(--sl-day) * 100%), rgba(255,255,255,.6)); }
.sl-note { left: 136px; top: 14px; width: 252px; height: 52px; border-radius: 15px; background: rgba(255,255,255,.94);
  box-shadow: 0 0 0 1px rgba(10,18,15,.05), 0 18px 34px -16px rgba(6,43,29,.5); animation: sl-note 12s var(--glide) infinite; }
.sl-note i { left: 11px; top: 12px; width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(160deg, #9BA1FF, #5A60DF); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.sl-note i::after { content: ''; position: absolute; left: 9px; top: 7px; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset -4px 3px 0 0 #fff; transform: rotate(-20deg); }
.sl-note b { left: 48px; top: 9px; font: 650 12.5px/16px var(--ui); color: var(--ink); }
.sl-note span { left: 48px; top: 26px; font: 500 11px/15px var(--ui); color: var(--ink-2); white-space: nowrap; }
@keyframes sl-day { 0%, 42% { --sl-day: 0; } 66%, 93% { --sl-day: 1; } 100% { --sl-day: 0; } }
@keyframes sl-dawn { 0%, 36% { opacity: 0; } 54%, 70% { opacity: 1; } 78%, 100% { opacity: 0; } }
@keyframes sl-dayl { 0%, 52% { opacity: 0; } 70%, 93% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sl-st1 { 0%, 42% { opacity: 1; } 58%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes sl-st2 { 0% { opacity: .35; } 8% { opacity: 1; } 16% { opacity: .45; } 25% { opacity: 1; } 34% { opacity: .5; } 42% { opacity: .9; } 56%, 92% { opacity: 0; } 100% { opacity: .35; } }
@keyframes sl-shoot { 0%, 17% { opacity: 0; transform: translate(0, 0) rotate(-21deg) scaleX(.4); } 19% { opacity: 1; } 24%, 100% { opacity: 0; transform: translate(-110px, 42px) rotate(-21deg) scaleX(1); } }
@keyframes sl-moon { 0% { opacity: 1; transform: rotate(0deg); } 34% { opacity: 1; } 46% { opacity: 0; } 54% { opacity: 0; transform: rotate(30deg); } 93% { opacity: 0; transform: rotate(-5deg); } 100% { opacity: 1; transform: rotate(0deg); } }
@keyframes sl-sun { 0%, 44% { opacity: 0; transform: translateY(120px); } 48% { opacity: 1; transform: translateY(110px); } 70%, 93% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(40px); } }
@keyframes sl-spin { to { transform: rotate(360deg); } }
@keyframes sl-glow { 0%, 36% { opacity: 0; } 56% { opacity: 1; } 74%, 93% { opacity: .3; } 100% { opacity: 0; } }
@keyframes sl-clk { 0% { opacity: 0; transform: translateY(10px); } 2.5%, 11% { opacity: 1; transform: none; } 13.5%, 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes sl-clk-last { 0%, 52.5% { opacity: 0; transform: translateY(10px); } 55%, 93% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes sl-r1 { 0%, 9% { --sl-r: 0; } 13%, 94% { --sl-r: 1; } 99%, 100% { --sl-r: 0; } }
@keyframes sl-r2 { 0%, 21% { --sl-r: 0; } 25%, 94% { --sl-r: 1; } 99%, 100% { --sl-r: 0; } }
@keyframes sl-r3 { 0%, 33% { --sl-r: 0; } 37%, 94% { --sl-r: 1; } 99%, 100% { --sl-r: 0; } }
@keyframes sl-r4 { 0%, 45% { --sl-r: 0; } 49%, 94% { --sl-r: 1; } 99%, 100% { --sl-r: 0; } }
@keyframes sl-note { 0%, 69% { opacity: 0; transform: translateY(-16px) scale(.96); } 74%, 93% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }

/* SEO and AEO: a search page where the business climbs to first, then Claude names it when asked who to call (fake names; no search-engine logos) */
.sc-seo { background: radial-gradient(60% 70% at 0% 0%, rgba(242,178,51,.20), transparent 70%), color-mix(in srgb, var(--c, #F2B233) 8%, #F5F7F6); }
.se-web { left: 34px; top: 20px; width: 292px; height: 300px; font-family: Arial, Helvetica, sans-serif; transform-origin: 30% 0; transform: translate(-6px, -4px) scale(.97);
  animation: se-web 11s var(--glide) infinite; }
.se-box { left: 14px; top: 34px; width: 264px; height: 28px; border-radius: 14px; background: #fff; box-shadow: 0 1px 5px rgba(32,33,36,.16), 0 0 0 1px rgba(218,220,224,.9); }
.se-mag { left: 11px; top: 8px; width: 9px; height: 9px; border-radius: 50%; border: 1.6px solid #70757A; }
.se-mag::after { content: ''; position: absolute; left: 7.5px; top: 8px; width: 1.6px; height: 4.5px; border-radius: 1px; background: #70757A; transform: rotate(-45deg); }
.se-q { left: 30px; top: 0; font: 400 12px/28px Arial, Helvetica, sans-serif; color: #202124; white-space: nowrap; animation: se-q 11s steps(23) infinite; }
.se-tabs { left: 14px; top: 70px; display: flex !important; gap: 16px; }
.sc .se-tabs span { position: relative; font: 400 10.5px/18px Arial, Helvetica, sans-serif; color: #5F6368; }
.sc .se-tabs .on { color: #1A0DAB; }
.se-tabs .on::after { content: ''; position: absolute; left: -2px; right: -2px; bottom: -4px; height: 2px; border-radius: 2px; background: #1A0DAB; }
.se-list { left: 0; right: 0; top: 94px; height: 210px; border-top: 1px solid #ECEDEF; animation: se-list 11s var(--glide) infinite; }
.se-res { left: 14px; width: 264px; height: 54px; }
/* while the search is typed, grey stand-in rows hold the page, so the window is never an empty white box (the first
   frame members see); they fade as the real results arrive. Hidden when still (reduced motion shows the finished picture) */
.se-skel { left: 0; right: 0; top: 94px; height: 210px; border-top: 1px solid #ECEDEF; opacity: 0; animation: se-skel 11s var(--glide) infinite; }
.se-skel i { left: 14px; width: 264px; height: 54px; background:
  linear-gradient(#ECEEF0, #ECEEF0) 25px 3px / 84px 6px no-repeat, linear-gradient(#E4E7EA, #E4E7EA) 0 24px / 188px 11px no-repeat,
  linear-gradient(#ECEEF0, #ECEEF0) 0 43px / 112px 6px no-repeat; }
.se-skel i::before { content: ''; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: #ECEEF0; }
.se-skel i:nth-child(1) { top: 12px; } .se-skel i:nth-child(2) { top: 70px; } .se-skel i:nth-child(3) { top: 128px; }
.se-bay { top: 12px; animation: se-bay 11s var(--glide) infinite; }
.se-r1 { top: 70px; animation: se-down 11s var(--glide) infinite; } .se-r2 { top: 128px; animation: se-down 11s var(--glide) infinite; }
.se-bay::before { content: ''; position: absolute; left: -8px; right: -6px; top: -6px; bottom: -4px; border-radius: 10px; background: rgba(242,178,51,.13); box-shadow: inset 0 0 0 1px rgba(242,178,51,.35);
  animation: se-glowrow 11s var(--glide) infinite; }
.se-fav { left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; font: 700 9px/18px Arial, Helvetica, sans-serif; text-align: center; color: #fff; font-style: normal; }
.se-bay .se-fav { background: #0B7A53; } .se-r1 .se-fav { background: #5B6F8A; } .se-r2 .se-fav { background: #A4744B; }
.se-site { left: 25px; top: -1px; font: 400 10.5px/12px Arial, Helvetica, sans-serif; color: #202124; white-space: nowrap; }
.se-url { left: 25px; top: 11px; font: 400 9px/10px Arial, Helvetica, sans-serif; color: #4D5156; white-space: nowrap; }
.se-t { left: 0; top: 22px; font: 400 14px/18px Arial, Helvetica, sans-serif; color: #1A0DAB; white-space: nowrap; }
.se-rate { left: 0; top: 41px; font: 400 10px/12px Arial, Helvetica, sans-serif; color: #70757A; white-space: nowrap; }
.sc .se-rate em { position: static; display: inline; font-style: normal; color: #E8A317; letter-spacing: .5px; margin-right: 4px; }
.se-up { left: 6px; top: 128px; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(160deg, #19B57B, #0B7A53); color: #fff;
  box-shadow: 0 0 0 3px #fff, 0 12px 22px -8px rgba(11,122,83,.7); animation: se-up 11s var(--glide) infinite; }
.se-up::before { content: ''; position: absolute; left: 12px; top: 4px; border: 4px solid transparent; border-bottom: 4px solid rgba(255,255,255,.85); border-top: 0; }
.sc .se-up b { left: 0; right: 0; top: 11px; font: 750 10.5px/13px var(--ui); letter-spacing: -.02em; text-align: center; }
.se-ai { left: 148px; top: 104px; width: 236px; height: 220px; background: #FAF9F5; animation: se-ai 11s var(--glide) infinite; }
.se-ai .scw-bar { background: #F0EEE6; }
.se-ask { right: 14px; top: 34px; padding: 7px 11px; border-radius: 14px; background: #EAE7DD; animation: se-ask 11s var(--glide) infinite; }
.sc .se-ask span { position: relative; font: 450 11.5px/16px var(--ui); color: #2B2A27; white-space: nowrap; }
.se-mark { left: 13px; top: 89px; width: 18px; height: 18px; border-radius: 50%;
  background: repeating-conic-gradient(#D97757 0 13deg, transparent 13deg 30deg);
  -webkit-mask: radial-gradient(circle, #000 0 8.5px, transparent 9px); mask: radial-gradient(circle, #000 0 8.5px, transparent 9px);
  animation: se-mark 11s var(--soft) infinite; }
.se-ans { left: 38px; top: 86px; width: 186px; height: 60px; font: 400 12.5px/19px Georgia, 'Times New Roman', serif; color: #1F1E1C; }
.se-ans > span { left: 0; white-space: nowrap; }
.se-ans .a1 { top: 0; animation: se-a1 11s steps(27) infinite; } .se-ans .a2 { top: 19px; animation: se-a2 11s steps(29) infinite; } .se-ans .a3 { top: 38px; animation: se-a3 11s steps(27) infinite; }
.sc .se-ans b { position: relative; display: inline; font-weight: 700; background: linear-gradient(transparent 58%, rgba(242,178,51,.5) 58%) no-repeat 0 0 / 100% 100%; animation: se-hl 11s var(--glide) infinite; }
.se-src { left: 38px; top: 156px; height: 20px; padding: 0 9px 0 23px; border-radius: 99px; background: #fff; font: 500 10px/20px var(--ui); color: #5F5B52; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(31,30,28,.1); animation: se-src 11s var(--glide) infinite; }
.se-src i { left: 4px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #0B7A53; color: #fff; font: 700 8px/14px var(--ui); font-style: normal; text-align: center; }
@keyframes se-web { 0%, 42% { transform: none; } 52%, 94% { transform: translate(-6px, -4px) scale(.97); } 100% { transform: none; } }
@keyframes se-q { 0%, 3% { clip-path: inset(0 100% 0 0); } 16%, 95% { clip-path: inset(0 0 0 0); } 99%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes se-skel { 0%, 14% { opacity: 1; } 19%, 94% { opacity: 0; } 99%, 100% { opacity: 1; } }
@keyframes se-list { 0%, 15% { opacity: 0; transform: translateY(8px); } 21%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: none; } }
@keyframes se-bay { 0%, 25% { transform: translateY(116px); } 36%, 98% { transform: none; } 100% { transform: translateY(116px); } }
@keyframes se-down { 0%, 25% { transform: translateY(-58px); } 36%, 98% { transform: none; } 100% { transform: translateY(-58px); } }
@keyframes se-glowrow { 0%, 30% { opacity: 0; } 38%, 100% { opacity: 1; } }
@keyframes se-up { 0%, 33% { opacity: 0; transform: translateY(46px) scale(.5); } 36% { opacity: 1; } 40%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: none; } }
@keyframes se-ai { 0%, 42% { opacity: 0; transform: translate(36px, 28px) scale(.94); } 52%, 93% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; transform: translate(0, 10px); } }
@keyframes se-ask { 0%, 49% { opacity: 0; transform: translateY(8px); } 54%, 100% { opacity: 1; transform: none; } }
@keyframes se-mark { 0%, 53% { transform: rotate(0deg) scale(.6); opacity: 0; } 55% { opacity: 1; transform: rotate(0deg) scale(1); } 62% { transform: rotate(150deg) scale(1.15); } 66%, 100% { opacity: 1; transform: rotate(180deg) scale(1); } }
@keyframes se-a1 { 0%, 57% { clip-path: inset(0 100% 0 0); } 64%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes se-a2 { 0%, 64% { clip-path: inset(0 100% 0 0); } 71%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes se-a3 { 0%, 71% { clip-path: inset(0 100% 0 0); } 77%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes se-hl { 0%, 64% { background-size: 0 100%; } 70%, 100% { background-size: 100% 100%; } }
@keyframes se-src { 0%, 77% { opacity: 0; transform: translateY(6px); } 81%, 100% { opacity: 1; transform: none; } }

/* ---------- a plugin's own page opens on our best example ---------- */
.stage[data-ex] { height: 660px; background: radial-gradient(46% 70% at 74% 50%, color-mix(in srgb, var(--c, #2FCB8F) 16%, transparent), transparent 72%), linear-gradient(180deg, #FFFFFF, #F6F8F7); }
.stage-ex { position: absolute; inset: 0 0 0 44%; display: grid; place-items: center; pointer-events: none; }
.stage-ex > * { pointer-events: auto; animation: ex-in 1400ms var(--glide) both 120ms; }
@keyframes ex-in { from { opacity: 0; transform: translateY(40px) scale(.94) rotateX(10deg); filter: blur(10px); } }
.ex-media { position: relative; width: min(600px, 88%); aspect-ratio: 4 / 3; border-radius: 30px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(10,18,15,.05), 0 50px 90px -40px color-mix(in srgb, var(--c) 60%, rgba(6,43,29,.6)); }
.ex-media .sc-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ex-media .sc-browser { inset: 7% 6% 0; }
.ex-film { position: relative; height: 600px; aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden; background: #0A120F;
  box-shadow: 0 0 0 1px rgba(10,18,15,.08), 0 60px 100px -40px color-mix(in srgb, var(--c) 70%, rgba(6,43,29,.7)); }
.ex-film video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.film-sound { position: absolute; left: 14px; bottom: 22px; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px 0 12px; border-radius: 99px;
  font: 600 13px/1 var(--ui); color: var(--ink); background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: 0 10px 24px -12px rgba(0,0,0,.6);
  transition: background-color 600ms var(--glide), color 600ms var(--glide); transform: translate(var(--mx, 0), var(--my, 0)); }
.film-sound svg.i { width: 18px; height: 18px; stroke-width: 2; }
.film-sound:hover { background: #fff; }
.film-sound.on { background: var(--hl); color: #fff; }
.film-time { position: absolute; left: 14px; right: 14px; bottom: 10px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.25); overflow: hidden; }
.film-time i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); transition: transform 250ms linear; }
.stage[data-ex] .stage-copy { width: 440px; }
.stage[data-ex] .stage-copy h1 { font-size: 54px; }
.stage[data-ex] .stage-copy h1 em { color: var(--green); }
.under .panel .chips { margin-top: 16px; }

/* ---------- a plugin's own page ----------
   The stage is a grid that fills its width and is only as tall as its example: words on the left, the example on the
   right, no tall empty band above. One way back: the Back in the top bar. */
.stage[data-ex] { height: auto; display: grid; grid-template-columns: minmax(0, 1fr) 560px; align-items: center; gap: 48px; padding: 44px 48px 44px 56px; margin-top: 12px;
  background: radial-gradient(40% 80% at 78% 50%, color-mix(in srgb, var(--c, #2FCB8F) 18%, transparent), transparent 72%), linear-gradient(180deg, #FFFFFF, #F6F8F7); }
.stage[data-ex="3d-videos"] { grid-template-columns: minmax(0, 1fr) 420px; }
.stage[data-ex] .stage-copy { position: relative; inset: auto; width: auto; max-width: 600px; grid-column: 1; grid-row: 1; padding: 8px 0; }
.stage[data-ex] .stage-ex { position: relative; inset: auto; grid-column: 2; grid-row: 1; }
.stage[data-ex] .stage-copy h1 { font-size: 56px; text-wrap: balance; }
.stage[data-ex] .stage-copy p { max-width: 500px; text-wrap: wrap; }
.stage[data-ex] .ex-media { width: 100%; }

/* the film in a phone: a dark frame, the island, the screen at 9:16, not taller than the words need */
.ex-film { height: auto; aspect-ratio: auto; padding: 9px; border-radius: 46px; background: linear-gradient(160deg, #26302C, #0A120F 40%, #050907);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.1), 0 0 0 1px rgba(10,18,15,.12), 0 60px 90px -40px color-mix(in srgb, var(--c) 70%, rgba(6,43,29,.7)); }
.ex-film video { height: 500px; width: auto; aspect-ratio: 9 / 16; border-radius: 37px; background: #0A120F; }
.ph-island { position: absolute; z-index: 2; top: 19px; left: 50%; width: 82px; height: 22px; margin-left: -41px; border-radius: 99px; background: #000; pointer-events: none; }
.ex-film .film-sound { left: 23px; bottom: 32px; }
.ex-film .film-time { left: 23px; right: 23px; bottom: 20px; }

/* the website in a browser window sized to its clip (1200 x 866): nothing cut off, no white mat around it */
.ex-browser { aspect-ratio: auto; border-radius: 16px; background: #0B1418;
  box-shadow: 0 0 0 1px rgba(10,18,15,.1), 0 2px 6px rgba(10,18,15,.06), 0 50px 90px -40px color-mix(in srgb, var(--c) 70%, rgba(6,43,29,.6)); }
.eb-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #F4F6F5; box-shadow: inset 0 -1px 0 rgba(10,18,15,.08); }
.eb-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5DCD9; }
.eb-bar i:nth-child(1) { background: #FF6159; } .eb-bar i:nth-child(2) { background: #FFBD2E; } .eb-bar i:nth-child(3) { background: #28C941; }
.eb-url { margin: 0 auto; width: 46%; height: 22px; border-radius: 7px; background: #fff; font: 500 11.5px/22px var(--ui); color: var(--muted); text-align: center; box-shadow: inset 0 0 0 1px rgba(10,18,15,.06); }
.ex-browser .sc-vid { position: static; display: block; width: 100%; height: auto; aspect-ratio: 1200 / 866; object-fit: cover; }

/* the two ways in: a big verb, and under it where it's for */
.stage[data-ex] .stage-copy .actions { flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn.path { height: 64px; padding: 0 26px 0 9px; gap: 13px; }
.path-t { display: grid; text-align: left; line-height: 1.12; }
.path-t b { font-weight: 620; font-size: 16.5px; letter-spacing: -.02em; }
.path-t small { font-size: 12.5px; font-weight: 500; opacity: .7; margin-top: 3px; letter-spacing: -.005em; }
.path-ic { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.path-note { flex-basis: 100%; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
/* once a plugin's added, its long section folds to one line */
/* where a plugin works: Chat & Cowork, and Code, each on or off */
.use-in { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; margin-top: 16px; }
.use-in b { font-weight: 550; color: var(--ink-2); margin-right: 2px; }
/* The place it doesn't work read as half there (a faint fill, no edge) and sat too close to Install. Both places are now
   the same full chip, each with its own clear edge: green with a check where it works, white
   with a gray edge and a gray cross where it doesn't, never faded. A little more room under Install. */
.use-in > span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px 5px 8px; border-radius: 999px; font-weight: 550; }
.use-in > span .i { width: 13px; height: 13px; stroke-width: 2.4; }
.use-in .yes { background: color-mix(in srgb, var(--green) 11%, #fff); color: var(--green); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--green) 26%, transparent); }
.use-in .no { background: #fff; color: var(--muted); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 13%, transparent); }
.use-in .no .i { color: color-mix(in srgb, var(--ink) 38%, transparent); }
/* before Install: the steps in one quiet row */
.steps-peek { padding: 20px 26px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 28px; box-shadow: var(--lift-1); }
.steps-peek ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.steps-peek li { display: flex; align-items: flex-start; gap: 10px; }
.steps-peek .n { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--forest) 14%, #fff); color: var(--forest); font: 600 11px/1 var(--ui); margin-top: 1px; }
.steps-peek b { display: block; font: 600 14.5px/1.3 var(--ui); letter-spacing: -.015em; color: var(--ink); }
.steps-peek small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 2px; }
@media (max-width: 1100px) { .steps-peek { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
/* a coming plugin: what you can do today; each row is a button */
.today-peek .tp-go { display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 10px 12px; margin: -10px -12px; border: 0; border-radius: 14px; background: none;
  text-align: left; font: inherit; color: inherit; cursor: pointer; transition: background-color 400ms var(--glide); }
.today-peek .tp-go:hover { background: color-mix(in srgb, var(--forest) 6%, #fff); }
.today-peek .tp-go:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.today-peek .n svg.i { width: 12px; height: 12px; stroke-width: 2.4; }
.wait-btn svg.i { width: 19px; height: 19px; }
.wait-btn[aria-disabled="true"] { cursor: default; }
.wait-off { font: inherit; color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 2px 0; }
.wait-off:hover { color: var(--ink); }
@media (max-width: 720px) { .steps-peek ol { grid-template-columns: minmax(0, 1fr); } }
.stage[data-ex] .actions .btn.done, .stage[data-ex] .actions .progress { height: 68px; }

/* ---------- .btn.hero: the button for an exciting action (share your work, ask for a custom plugin) ----------
   our dark forest pill with light words. Mint is only a
   hint: the icon, a hairline on the top edge, and a soft light that follows your pointer across the button.
   Use: <button class="btn hero big"><span class="hero-ic">icon</span>Words</button>. style="--hero-dir:-1" drifts the icon
   up on hover (upload, share), 1 down (install, copy), 0 right (go, send).
   Hover, all on one slow glide (900 ms, no overshoot): the pill rises 2 px, its shadow deepens, the pointer light fades in
   and follows the pointer (lab.js sets --lx / --ly), the icon drifts 3 px. Press: it settles a touch smaller and a faint
   ring drifts out (lab.js adds .rang). Calm and reduced motion keep only the colors. */
.btn.hero { color: #F3FFF9; background: linear-gradient(180deg, #11603F 0%, var(--forest) 58%, #073826 100%); font-weight: 620; letter-spacing: -.012em;
  padding: 0 26px 0 21px; gap: 11px; translate: 0 0;
  transform: translate3d(calc(var(--mx, 0px) * 1.2), calc(var(--my, 0px) * 1.2 + var(--hy, 0px)), 0) scale(calc(var(--ps, 1) * var(--hs, 1)));
  box-shadow: inset 0 1px 0 rgba(62,224,166,.24), inset 0 -1px 0 rgba(0,0,0,.2), 0 1px 2px rgba(4,27,18,.24), 0 14px 30px -16px rgba(6,43,29,.7);
  transition: transform 900ms var(--glide), box-shadow 900ms var(--glide), translate 900ms var(--glide); }
.btn.hero::before { content: ''; position: absolute; z-index: -1; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(150px circle at var(--lx, 50%) var(--ly, 50%), rgba(62,224,166,.26), rgba(62,224,166,.07) 45%, rgba(62,224,166,0) 75%);
  transition: opacity 900ms var(--glide); }
.btn.hero:hover, .btn.hero:focus-visible { --hy: -2px;
  box-shadow: inset 0 1px 0 rgba(62,224,166,.36), inset 0 -1px 0 rgba(0,0,0,.2), 0 1px 2px rgba(4,27,18,.2), 0 26px 46px -20px rgba(6,43,29,.78), 0 0 0 1px rgba(62,224,166,.12); }
.btn.hero:hover::before, .btn.hero:focus-visible::before { opacity: 1; }
.btn.hero:active { --hs: .975; --hy: 0px; transition-duration: 260ms;
  box-shadow: inset 0 2px 6px rgba(0,0,0,.28), 0 1px 2px rgba(4,27,18,.2), 0 8px 16px -10px rgba(6,43,29,.7); }
.btn.hero.rang { animation: hero-ring 1100ms var(--glide); }
@keyframes hero-ring { from { outline: 1.5px solid rgba(62,224,166,.4); outline-offset: 0; } to { outline: 1.5px solid rgba(62,224,166,0); outline-offset: 12px; } }
.btn.hero:focus-visible { outline: 2px solid var(--spark); outline-offset: 3px; }
.btn.hero.big { height: 58px; font-size: 16.5px; }
.btn.hero[disabled] { --hs: 1; opacity: .5; cursor: default; }
.btn.hero .hero-ic { position: relative; display: grid; place-items: center; flex: none; width: 22px; height: 22px; color: #7FF0C6; }
.btn.hero .hero-ic svg.i, .btn.hero .hero-ic svg { width: 19px; height: 19px; stroke-width: 2.1; transition: transform 900ms var(--glide); }
.btn.hero:hover .hero-ic svg, .btn.hero:focus-visible .hero-ic svg { transform: translate(calc((1 - var(--hero-dir, 1) * var(--hero-dir, 1)) * 3px), calc(var(--hero-dir, 1) * 3px)); }
.btn.hero svg.arrow { display: none; }
[data-calm] .btn.hero, [data-calm] .btn.hero:hover, [data-calm] .btn.hero:active { translate: none; transform: none; }
[data-calm] .btn.hero::before { display: none; }
@media (prefers-reduced-motion: reduce) {
  .btn.hero, .btn.hero:hover, .btn.hero:active { translate: none; transform: none; }
  .btn.hero::before { display: none; } .btn.hero.rang { animation: none !important; } .btn.hero .hero-ic svg { transition: none; transform: none !important; }
}
}

/* the panel under the stage once you've picked a way in */
#steps-slot:empty { display: none; }
#steps-slot { margin-top: 24px; }
.steps-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.steps-head .starthere { margin: 0; max-width: 420px; }
.steps ol.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps ol.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps ol.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; }
.steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; align-content: start; column-gap: 8px; line-height: 1.35; }
.steps li .shot { grid-column: 1 / -1; }
.steps li .n { margin: 0; }
.steps-done q { display: block; margin-top: 12px; font: 500 19px/1.35 var(--ui); letter-spacing: -.02em; color: var(--ink); }

/* everything you need to know: a summary on the left, five short answers on the right */
.know { display: grid; grid-template-columns: 370px minmax(0, 1fr); margin-top: 24px; padding: 0; overflow: hidden; }
.kn-side { padding: 36px 34px; display: flex; flex-direction: column; gap: 14px; position: relative; isolation: isolate;
  background: radial-gradient(120% 70% at 0% 0%, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%), var(--ground); box-shadow: inset -1px 0 0 var(--line); }
.kn-side .h2 { font-size: 32px; }
/* a plugin page's copy wraps plainly; glue() keeps the last words together. "pretty" moved words down a line
   and left gaps page-check counts ("fits on the line above but dropped down") */
.kn-line { color: var(--ink-2); text-wrap: wrap; }
.kn-facts { margin: 6px 0 0; display: grid; gap: 0; }
.kn-facts > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 11px 0; box-shadow: inset 0 1px 0 var(--line); font-size: 14.5px; }
.kn-facts dt { color: var(--muted); }
.kn-facts dd { margin: 0; font-weight: 550; color: var(--ink); }
.kn-facts .kn-cost { display: block; margin-top: 4px; font-size: 13px; font-weight: 450; line-height: 1.45; color: var(--muted); }
.kn-try { margin-top: auto; padding: 16px 18px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--lift-1); }
.kn-try span { display: block; font: 500 12px/1 var(--ui); color: var(--green); letter-spacing: .02em; }
.kn-try q { display: block; margin-top: 8px; font: 550 16px/1.35 var(--ui); letter-spacing: -.02em; color: var(--ink); text-wrap: pretty; }
.kn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; padding: 20px 44px 30px; align-content: start; }
.kn-row { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding: 22px 0; box-shadow: inset 0 -1px 0 var(--line); }
.kn-row.kn-wide { grid-column: 1 / -1; box-shadow: none; }
.kn-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 var(--ui); color: var(--forest);
  background: color-mix(in srgb, var(--c) 18%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent); }
.kn-row h3 { font: 600 18px/1.25 var(--ui); letter-spacing: -.03em; margin-top: 4px; }
.kn-row p { color: var(--ink-2); margin-top: 6px; font-size: 15px; line-height: 1.5; text-wrap: wrap; }
.kn-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; height: 36px; padding: 0 14px 0 11px; border-radius: 99px; text-decoration: none; font: 550 14px/1 var(--ui); color: var(--green);
  background: color-mix(in srgb, var(--spark) 14%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--green) 20%, transparent); transition: box-shadow 400ms var(--glide), translate 400ms var(--glide); }
.kn-link svg.i { width: 17px; height: 17px; }
.kn-soon { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.kn-link:hover { translate: 0 -1px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--green) 36%, transparent), var(--lift-1); }
.kn-asks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.kn-ask { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 99px; font-size: 14px; color: var(--ink); background: var(--ground); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- the plugin page uses the screen ----------
   Wider page, a shorter example at the top, and the left column of Everything you need to know filled with how we use it. */
@media (min-width: 721px) {
  body[data-view="plugin"] .screen { max-width: 1380px; padding-top: 84px; }
  .stage[data-ex] { padding: 30px 40px 30px 52px; gap: 40px; }
  .stage[data-ex="3d-videos"] { grid-template-columns: minmax(0, 1fr) 380px; }
  .stage[data-ex] .ex-film video { height: 440px; }
}
.stage[data-ex] .stage-copy .actions { margin-top: 24px; }
/* the left column stays in view while you read the right, so it never sits there as an empty band */
.know { grid-template-columns: 340px minmax(0, 1fr); }
.kn-side { padding: 32px 30px 30px; }
.kn-pin { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 1101px) { .know { overflow: clip; } .kn-pin { position: sticky; top: 96px; } }
.kn-grid { padding: 14px 40px 26px; }
/* how we use it, taught: one card across the section, the tips in two columns */
.kn-ours { margin: 22px 0 4px; padding: 20px 24px 10px; border-radius: 24px;
  background: radial-gradient(70% 120% at 0% 0%, color-mix(in srgb, var(--c) 10%, transparent), transparent 70%), var(--ground); box-shadow: inset 0 0 0 1px var(--line); }
.kn-ours.kn-wide { grid-column: 1 / -1; }
.kn-ours ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.kn-ours li { position: relative; padding: 10px 0 11px 22px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); text-wrap: wrap; }
.kn-ours li::before { content: ''; position: absolute; left: 3px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 22%, transparent); }
.kn-asks-l { flex-basis: 100%; font: 500 12px/1 var(--ui); color: var(--green); letter-spacing: .02em; margin-bottom: 2px; }
/* the top: words and example sit together in the middle instead of at the two far edges */
@media (min-width: 1101px) { .stage[data-ex] { grid-template-columns: minmax(0, 600px) 560px; justify-content: center; column-gap: clamp(48px, 7vw, 120px); }
  .stage[data-ex="3d-videos"] { grid-template-columns: minmax(0, 600px) 380px; } }

/* ---------- your first prompt, taken apart ----------
   A message to Claude on the left, each part tinted in its own color with a small number; the same numbers on the right say
   what each part is for. Pointing at either lights both. */
.fp { margin-top: 24px; padding: 34px 40px 28px; position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(60% 90% at 0% 0%, color-mix(in srgb, var(--c) 12%, transparent), transparent 70%), radial-gradient(50% 80% at 100% 100%, rgba(62,224,166,.12), transparent 70%), #fff; }
.fp.ping { animation: fp-ping 1100ms var(--glide); }
@keyframes fp-ping { 0% { box-shadow: 0 0 0 0 rgba(62,224,166,.55), var(--lift-2); } 100% { box-shadow: 0 0 0 18px rgba(62,224,166,0), var(--lift-2); } }
.fp-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 40px; align-items: end; }
.fp-head .h2 { font-size: 38px; margin-top: 6px; text-wrap: balance; }
.fp-head .h2 em { color: var(--green); }
.fp-lede { color: var(--ink-2); font-size: 16px; line-height: 1.5; text-wrap: pretty; margin: 0; }
.fp-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; margin-top: 26px; align-items: start; }
.fp-card { border-radius: 26px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(10,18,15,.05), 0 30px 60px -34px rgba(10,74,51,.45); overflow: hidden; }
.fp-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; box-shadow: inset 0 -1px 0 var(--line); font-size: 13.5px; }
.fp-bar b { font-weight: 600; color: var(--ink); }
.fp-av { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #0B7A53, #3EE0A6); box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.fp-chip { margin-left: auto; flex-shrink: 0; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 99px; background: var(--ground); color: var(--ink-2); font-size: 12.5px; font-weight: 550; }
.fp-chip i { width: 7px; height: 7px; border-radius: 50%; }
/* phone: the chip drops under "Your message to Claude" instead of squeezing it onto three lines */
@media (max-width: 480px) { .fp-bar { flex-wrap: wrap; row-gap: 8px; } .fp-bar b { white-space: nowrap; } .fp-chip { margin-left: 36px; } }
.fp-text { margin: 0; padding: 22px 24px 20px; font: 450 17.5px/1.75 var(--ui); letter-spacing: -.012em; color: var(--ink); text-wrap: pretty; }
.fp-part { border-radius: 6px; padding: 2px 3px; margin: 0 -1px; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: color-mix(in srgb, var(--pc) 9%, transparent); box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--pc) 55%, transparent);
  transition: background-color 260ms var(--glide), box-shadow 260ms var(--glide), opacity 260ms var(--glide); }
.fp-part sup { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 4px; border-radius: 50%; vertical-align: 3px;
  font: 700 10.5px/1 var(--ui); color: #fff; background: var(--pc); }
.fp-swap { font-weight: 620; color: color-mix(in srgb, var(--pc) 72%, var(--ink)); }
/* the brackets the copy carries show on screen too, faintly, so what you copy is what you see */
.fp-swap::before { content: '['; opacity: .55; font-weight: 500; }
.fp-swap::after { content: ']'; opacity: .55; font-weight: 500; }
.fp-text:has(.fp-part.lit) .fp-part:not(.lit) { opacity: .38; }
.fp-part.lit { background: color-mix(in srgb, var(--pc) 18%, transparent); box-shadow: inset 0 -2px 0 var(--pc); }
.fp-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px 16px 24px; background: var(--ground); box-shadow: inset 0 1px 0 var(--line); }
.fp-hint { color: var(--muted); font-size: 13.5px; }
.fp-copy svg.i, .steps-done .btn svg.i { width: 18px; height: 18px; }
.fp-parts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
/* the short title over the four parts */
.fp-head { display: block; }
.fp-mini { font: 600 17px/1.25 var(--ui); letter-spacing: -.025em; color: var(--ink); margin: 2px 0 12px 12px; }
.fp-parts li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 12px 14px 13px 12px; border-radius: 18px; cursor: default; outline: none;
  transition: background-color 260ms var(--glide), box-shadow 260ms var(--glide), opacity 260ms var(--glide); }
.fp-parts li:hover, .fp-parts li.lit, .fp-parts li:focus-visible { background: color-mix(in srgb, var(--pc) 8%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pc) 30%, transparent); }
.fp-parts:has(li.lit) li:not(.lit) { opacity: .5; }
.fp-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 13px/1 var(--ui); color: #fff; background: var(--pc); box-shadow: 0 6px 14px -8px var(--pc); }
.fp-parts b { display: block; font: 600 15.5px/1.3 var(--ui); letter-spacing: -.02em; color: var(--ink); margin-top: 4px; }
.fp-parts li span > span { display: block; color: var(--ink-2); font-size: 14px; line-height: 1.45; margin-top: 3px; text-wrap: pretty; }
.fp-src { margin: 20px 0 0; color: var(--muted); font-size: 13.5px; }
.fp-src a { color: var(--green); font-weight: 550; text-decoration: none; box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--green) 40%, transparent); }
.fp-src a:hover { box-shadow: inset 0 -2px 0 var(--green); }

/* after it's in: one line, and the prompt one click away */
.sd-main { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.steps-done h3, .steps-done .steps-h { margin-top: 8px; }
.steps-done p { color: var(--ink-2); margin-top: 8px; text-wrap: pretty; }
.sd-acts { display: flex; gap: 8px; flex: none; }
/* the how-to line stays on one line: once the buttons would squeeze it, they move under it */
@media (max-width: 1320px) and (min-width: 721px) { .sd-main { flex-direction: column; align-items: flex-start; gap: 20px; } }
/* the second, shorter way in: its own quiet row, clearly an alternative to the prompt above */
.sd-alt { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding: 16px 16px 16px 20px; border-radius: 20px; background: var(--ground); }
/* the short way's mark: a dark prompt whose cursor dashes in with a short streak, then blinks,
   in the plugin's own color (--c); calm motion and reduced motion show it still, the cursor resting after the › */
.sd-ic { flex: none; display: flex; align-items: center; justify-content: center; gap: 2px; width: 44px; height: 44px; border-radius: 12px;
  background: radial-gradient(120% 90% at 30% 0%, #1C2B25, #0A120F 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 10px 17px -9px color-mix(in oklab, var(--c, #2FCB8F) 80%, transparent); }
.sd-ic .pr { font: 600 19px/1 var(--mono); color: rgba(241,247,244,.9); transform: translateY(-1px); }
.sd-ic .trail { position: relative; width: 17px; height: 15px; }
.sd-ic .trail i { position: absolute; right: 0; top: 0; width: 7px; height: 15px; border-radius: 1.5px; background: var(--c, #2FCB8F);
  box-shadow: 0 0 8px var(--c, #2FCB8F); animation: sd-dash 3.2s cubic-bezier(.2, .8, .2, 1) infinite; }
.sd-ic .trail i::before { content: ''; position: absolute; right: 7px; top: 4.5px; height: 6px; width: 0; border-radius: 3px; opacity: 0;
  background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--c, #2FCB8F) 70%, transparent)); animation: sd-streak 3.2s ease infinite; }
@keyframes sd-dash { 0% { transform: translateX(-13px); opacity: 0; } 10% { opacity: 1; } 22%, 100% { transform: none; }
  40%, 50%, 70%, 80% { opacity: 1; } 45%, 75% { opacity: .15; } }
@keyframes sd-streak { 0%, 8% { opacity: 0; width: 0; } 14% { opacity: 1; width: 14px; } 30%, 100% { opacity: 0; width: 0; } }
[data-calm] .sd-ic *, [data-calm] .sd-ic *::before { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .sd-ic *, .sd-ic *::before { animation: none !important; } }
.sd-alt-txt { flex: 1; min-width: 0; }
.sd-alt-k { display: block; font: 600 15px/1.3 var(--ui); letter-spacing: -.015em; color: var(--ink); }
.steps-done .sd-alt p { margin-top: 2px; font-size: 14.5px; }
.sd-alt .btn { flex: none; }
.sd-alt .btn svg.i { width: 16px; height: 16px; }

@media (max-width: 1100px) and (min-width: 721px) {
  .stage[data-ex] { grid-template-columns: minmax(0, 1fr) 460px; padding: 36px 36px 36px 44px; gap: 36px; }
  .stage[data-ex] .stage-copy h1 { font-size: 46px; }
  .know { grid-template-columns: minmax(0, 1fr); }
  .kn-side { box-shadow: inset 0 -1px 0 var(--line); }
  .fp-head, .fp-body { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .sd-main { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .stage[data-ex] .stage-copy { padding: 0; }
  .stage[data-ex] .stage-copy h1 { font-size: clamp(34px, 9vw, 46px); }
  .ex-film { padding: 7px; border-radius: 34px; }
  #stage[data-ex] .ex-film { width: auto; max-width: 300px; height: auto; border-radius: 34px; margin: 0 auto; }
  .ex-film video { height: min(520px, 60vh); border-radius: 28px; }
  .ph-island { top: 15px; width: 66px; height: 18px; margin-left: -33px; }
  .stage[data-ex] .ex-browser { border-radius: 14px; }
  .eb-bar { height: 28px; } .eb-url { font-size: 10px; height: 18px; line-height: 18px; }
  .btn.path { flex: 1 1 100%; justify-content: flex-start; }
  .steps-head { flex-direction: column; align-items: stretch; }
  .steps ol.four, .steps ol.three, .steps ol.two { grid-template-columns: minmax(0, 1fr); }
  .steps .codeline { flex-wrap: wrap; } .steps code { overflow-wrap: anywhere; white-space: normal; }
  .know { grid-template-columns: minmax(0, 1fr); border-radius: 26px; }
  .kn-side { padding: 26px 22px; box-shadow: inset 0 -1px 0 var(--line); }
  .kn-grid { grid-template-columns: minmax(0, 1fr); padding: 6px 22px 20px; }
  .kn-ours ul { grid-template-columns: minmax(0, 1fr); }
  .fp { padding: 24px 20px 20px; border-radius: 26px; }
  .fp-head, .fp-body { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .fp-head .h2 { font-size: 30px; }
  .fp-text { padding: 18px; font-size: 16px; }
  .fp-foot { flex-direction: column; align-items: stretch; padding: 14px; }
  .sd-main { flex-direction: column; align-items: stretch; } .sd-acts { flex-direction: column; }
  .sd-alt { flex-wrap: wrap; padding: 16px; } .sd-alt .btn { flex: 1 1 100%; justify-content: center; }
}

/* calm motion: no springs, no movement, fades of 100 ms or less */
[data-calm] *, [data-calm] *::before, [data-calm] *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; animation-delay: 0ms !important; }
[data-calm] .moment, [data-calm] .moment-card, [data-calm] .sheet, [data-calm] .sheet-card, [data-calm] .toast { transition: opacity 100ms linear !important; transform: none !important; }
[data-calm] .toast { transform: translate(-50%, 0) !important; }
[data-calm] .obj, [data-calm] .door, [data-calm] .room { transform: none !important; }
[data-calm] .light { display: none; }
[data-calm] .btn.upload { translate: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; } .light { display: none; } }

@media (max-width: 720px) { html { scrollbar-width: none; } html::-webkit-scrollbar { display: none; } }

/* text boxes inside a styled field show focus on the field itself, not a second box */
.send-row textarea:focus-visible, .composer input:focus-visible, .search input:focus-visible { outline: none; }

/* =================== Community and Messages =================== */
/* people: two more sample members, and any picture you can tap opens that person's profile */
.av.a5 { background: radial-gradient(120% 120% at 30% 15%, #FFD27A, #D9961C 60%, #8F5F0A); }
.av.a6 { background: radial-gradient(120% 120% at 30% 15%, #FF9CC0, #C2477A 60%, #7E2449); }
button.av { cursor: pointer; transition: box-shadow 500ms var(--glide), scale 500ms var(--glide); }
button.av:hover { scale: 1.06; }
button.av:active { scale: .94; transition-duration: 120ms; }
.av.xs { width: 22px; height: 22px; font-size: 8.5px; }
/* a public group's own mark: a rounded square (people are round), in the group's color */
.gav { position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; color: #fff;
  background: radial-gradient(120% 120% at 25% 10%, color-mix(in srgb, var(--c) 55%, #fff), var(--c) 55%, color-mix(in srgb, var(--c) 70%, #000));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 6px 14px -8px color-mix(in srgb, var(--c) 80%, #000); }
.gav svg.i { width: 21px; height: 21px; stroke-width: 1.8; }
.gav.s { width: 28px; height: 28px; border-radius: 9px; }
.gav.s svg.i { width: 15px; height: 15px; }
.gav.l { width: 44px; height: 44px; border-radius: 14px; }
/* a private group chat shows two faces, tucked together */
.duo { position: relative; flex: none; width: 40px; height: 40px; }
.duo .av { position: absolute; width: 28px; height: 28px; font-size: 9.5px; box-shadow: 0 0 0 2px #FAFBFA; }
.duo .av:first-child { left: 0; top: 0; }
.duo .av:last-child { right: 0; bottom: 0; }
.duo.l { width: 44px; height: 44px; }
.duo.l .av { width: 31px; height: 31px; box-shadow: 0 0 0 2.5px #fff; }
.pav-wrap { position: relative; flex: none; display: grid; }
.dot-on { position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border-radius: 50%; background: #19B57A; box-shadow: 0 0 0 2.5px #FAFBFA; }
.convo[aria-current="true"] .dot-on, .convo[aria-current="true"] .duo .av { box-shadow: 0 0 0 2.5px #fff; }

/* ---------- community: the group cards ---------- */
.room-top .gav { margin-right: 2px; }
.room-top .room-dot:not(.live) { display: none; }
.room-go.joined { color: var(--green); background: rgba(11,122,83,.1); box-shadow: inset 0 0 0 1.5px rgba(11,122,83,.25); }

/* ---------- community: the feed ---------- */
#posts { display: flex; flex-direction: column; gap: 18px; }
.post { padding: 22px 24px 18px; }
.post.pre { opacity: 0; translate: 0 56px; scale: .97; filter: blur(8px); }
.post.in { opacity: 1; translate: 0 0; scale: 1; filter: none;
  transition: opacity 900ms var(--glide), translate 1200ms var(--glide), scale 1200ms var(--glide), filter 900ms var(--glide), box-shadow 700ms var(--glide);
  transition-delay: calc(var(--d, 0) * 110ms), calc(var(--d, 0) * 110ms), calc(var(--d, 0) * 110ms), calc(var(--d, 0) * 110ms), 0ms; }
.post.fresh { animation: fresh 2600ms var(--glide) 400ms both; }
@keyframes fresh { 0% { box-shadow: 0 0 0 0 rgba(62,224,166,0), var(--lift-2); } 20% { box-shadow: 0 0 0 5px rgba(62,224,166,.35), var(--lift-3); } 100% { box-shadow: 0 0 0 0 rgba(62,224,166,0), var(--lift-2); } }
.post-head { display: flex; align-items: center; gap: 12px; }
.post-head .ph-who { min-width: 0; }
.ph-name { display: block; font-weight: 600; font-size: 15.5px; letter-spacing: -.02em; text-align: left; transition: color 400ms var(--glide); }
button.ph-name:hover { color: var(--green); }
.post-head .when { display: block; color: var(--muted); font-size: 13px; }
.ph-group { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 99px; font: 550 12.5px/1 var(--ui); color: var(--ink-2);
  background: color-mix(in srgb, var(--c) 9%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 18%, transparent);
  transition: background-color 600ms var(--glide), box-shadow 600ms var(--glide), color 600ms var(--glide), scale 300ms var(--glide); }
.ph-group i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.ph-group:hover { color: var(--ink); background: color-mix(in srgb, var(--c) 16%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 34%, transparent); }
.ph-group:active, .gchip:active, .pchip:active, .share:active, .prow:active, .newpill:active, .run-name:active { scale: .96; transition-duration: 120ms; }
.post p.body { margin: 14px 0 0; font-size: 16.5px; line-height: 1.55; color: var(--ink); }
.post .mention { margin-top: 12px; }
.post-art { margin-top: 16px; border-radius: 22px; overflow: hidden; isolation: isolate; }
.art { position: relative; display: block; overflow: hidden; }
.art-k { display: block; font: 600 12px/1 var(--ui); letter-spacing: .01em; color: var(--muted); }
/* the picture settles as the post arrives: a slow zoom from a touch closer */
.post.pre .art > * { scale: 1.05; }
.post.in .art > * { scale: 1; transition: scale 1800ms var(--glide) calc(var(--d, 0) * 110ms + 100ms); }

/* a usage post: the two numbers as bars that fill when the post arrives */
.art-usage { display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: center; gap: 8px; padding: 20px 28px 20px 12px; min-height: 184px;
  background: radial-gradient(70% 120% at 12% 50%, color-mix(in srgb, var(--c) 26%, #fff), color-mix(in srgb, var(--c) 6%, #F7FAF8) 70%); }
.au-obj { display: grid; place-items: center; }
.au-obj .thumb { width: 148px; height: 148px; background: none; }
.au-obj .thumb img { width: 100%; height: 100%; filter: drop-shadow(0 16px 18px color-mix(in srgb, var(--c) 45%, rgba(4,27,18,.35))); animation: bob 6s var(--soft) infinite alternate; }
@keyframes bob { to { translate: 0 -6px; rotate: -2deg; } }
.au-body { display: flex; flex-direction: column; gap: 12px; }
.au-row { display: grid; grid-template-columns: 128px minmax(0, 1fr) 44px; align-items: center; gap: 12px; font-size: 13.5px; color: var(--ink-2); }
.au-row b { font: 650 15px/1 var(--ui); font-variant-numeric: tabular-nums; text-align: right; color: var(--ink-2); }
.au-row.on { color: var(--ink); font-weight: 550; }
.au-row.on b { color: var(--green); font-size: 17px; }
.au-bar { height: 12px; border-radius: 99px; background: rgba(10,18,15,.07); overflow: hidden; }
.au-bar i { display: block; height: 100%; border-radius: inherit; transform-origin: left; transform: scaleX(var(--w)); background: linear-gradient(90deg, #B9C4BF, #95A39C); }
.au-row.on .au-bar i { background: linear-gradient(90deg, #3EE0A6, var(--green)); box-shadow: 0 0 14px rgba(62,224,166,.5); }
.post.pre .au-bar i { transform: scaleX(0); }
.post.in .au-bar i { transition: transform 1600ms var(--glide) calc(var(--d, 0) * 110ms + 450ms); }
.post.in .au-row.on .au-bar i { transition-delay: calc(var(--d, 0) * 110ms + 750ms); }
.au-note { font-size: 13px; color: var(--muted); }

/* a website post: a small live preview of the site; point at it and the page scrolls */
.art-site { height: 268px; padding: 24px 40px 0; background: radial-gradient(80% 90% at 50% 0%, var(--s0), var(--s1)); }
.look-bakery { --s0: #FFF4E6; --s1: #F3DFC7; --ac: #B4602A; --dk: #3B2416; --p1: #E9A35F; --p2: #C97A3A; --p3: #F6CF94; }
.look-clean { --s0: #EEF7FD; --s1: #D5E9F7; --ac: #2F86E0; --dk: #12324A; --p1: #8CC7FF; --p2: #BFE3FF; --p3: #E6F4FF; }
.as-frame { position: relative; display: block; height: 100%; border-radius: 16px 16px 0 0; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(10,18,15,.06), 0 30px 60px -24px color-mix(in srgb, var(--ac) 50%, rgba(4,27,18,.5)); }
.as-bar { position: relative; z-index: 2; display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #F4F5F4; box-shadow: inset 0 -1px 0 rgba(10,18,15,.06); }
.as-bar > i { width: 9px; height: 9px; border-radius: 50%; background: #DADFDC; }
.as-url { margin: 0 auto; padding: 3px 14px; border-radius: 99px; background: #fff; font: 500 11px/1.2 var(--ui); color: var(--muted); box-shadow: inset 0 0 0 1px rgba(10,18,15,.06); }
.as-page { display: block; padding: 0 22px 22px; color: var(--dk); transition: translate 2600ms var(--soft); }
.post-art:hover .as-page { translate: 0 -96px; }
.as-nav { display: flex; align-items: center; gap: 16px; height: 46px; font-size: 11.5px; color: color-mix(in srgb, var(--dk) 70%, #fff); white-space: nowrap; }
.as-nav b { font: 700 14px/1 var(--ui); letter-spacing: -.03em; color: var(--dk); margin-right: auto; }
.as-cta { padding: 6px 12px; border-radius: 99px; color: #fff; background: var(--ac); font-weight: 600; }
.as-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: center; padding: 14px 0 18px; }
.as-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.as-h { font: 400 30px/1.02 var(--serif); letter-spacing: -.01em; color: var(--dk); }
.as-sub { font-size: 12px; color: color-mix(in srgb, var(--dk) 65%, #fff); white-space: nowrap; }
.as-btn { margin-top: 4px; padding: 8px 16px; border-radius: 99px; background: var(--dk); color: #fff; font: 600 11.5px/1 var(--ui); white-space: nowrap; }
.as-pic { position: relative; display: block; height: 128px; border-radius: 14px; overflow: hidden; background: radial-gradient(120% 100% at 30% 20%, var(--p3), var(--p1)); }
.as-pic i { position: absolute; display: block; border-radius: 50%; }
.look-bakery .as-pic i { width: 74px; height: 40px; background: radial-gradient(90% 80% at 40% 30%, #F9C98A, var(--p2) 60%, #8A4A1F); box-shadow: 0 8px 12px -6px rgba(59,36,22,.5); rotate: -14deg; }
.look-bakery .as-pic i:nth-child(1) { left: 14%; top: 22%; }
.look-bakery .as-pic i:nth-child(2) { left: 46%; top: 44%; rotate: 10deg; width: 82px; }
.look-bakery .as-pic i:nth-child(3) { left: 18%; top: 62%; rotate: 4deg; width: 60px; height: 32px; }
.look-clean .as-pic i { background: radial-gradient(circle at 35% 30%, #fff, rgba(255,255,255,.4) 60%, rgba(255,255,255,0)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.look-clean .as-pic i:nth-child(1) { left: 16%; top: 18%; width: 52px; height: 52px; }
.look-clean .as-pic i:nth-child(2) { left: 52%; top: 40%; width: 70px; height: 70px; }
.look-clean .as-pic i:nth-child(3) { left: 30%; top: 64%; width: 30px; height: 30px; }
.as-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.as-cards span { height: 84px; border-radius: 12px; background: linear-gradient(160deg, var(--p3), color-mix(in srgb, var(--p1) 60%, #fff)); }

/* a "what I made" post: a strip of the videos, each a still with its length */
.art-strip { padding: 16px 16px 18px; background: linear-gradient(180deg, #FFF6F2, #FBF1EC); }
.art-strip .art-k { margin: 0 0 12px 4px; color: #B5462C; }
.ms-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ms-tile { position: relative; display: block; height: 236px; border-radius: 16px; overflow: hidden; background: #2A1A14 center / cover no-repeat;
  box-shadow: 0 14px 30px -18px rgba(90,30,10,.6); transition: translate 900ms var(--glide), box-shadow 900ms var(--glide); }
.ms-tile:hover { translate: 0 -5px; box-shadow: 0 26px 40px -20px rgba(90,30,10,.7); }
.ms-split { background: #6B5A3A; }
.ms-before { position: absolute; inset: 0; background: radial-gradient(40% 30% at 30% 40%, #9C8455, transparent), radial-gradient(30% 25% at 70% 70%, #8A7448, transparent), linear-gradient(180deg, #A89462, #7D6A42); }
.ms-after { position: absolute; inset: 0; clip-path: inset(0 0 0 52%); background: repeating-linear-gradient(90deg, #3FA35F 0 22px, #2F8A4C 22px 44px); }
.ms-line { position: absolute; top: 0; bottom: 0; left: 52%; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.35); }
.ms-line::after { content: ''; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.post.pre .ms-after { clip-path: inset(0 0 0 100%); }
.post.pre .ms-line { left: 100%; }
.post.in .ms-after { transition: clip-path 2000ms var(--glide) calc(var(--d, 0) * 110ms + 500ms); }
.post.in .ms-line { transition: left 2000ms var(--glide) calc(var(--d, 0) * 110ms + 500ms); }
.ms-dawn { background: linear-gradient(180deg, #6E6FD8 0%, #E98BA0 52%, #FFC98A 78%); }
.ms-sun { position: absolute; left: 50%; top: 52%; width: 74px; height: 74px; margin-left: -37px; border-radius: 50%; background: radial-gradient(circle, #FFF6D8, #FFD27A 60%, rgba(255,210,122,0) 72%); }
.post.pre .ms-sun { translate: 0 40px; }
.post.in .ms-sun { transition: translate 2800ms var(--glide) calc(var(--d, 0) * 110ms + 400ms); }
.ms-hill { position: absolute; left: -20%; right: -20%; border-radius: 50% 50% 0 0; }
.ms-hill.h1 { bottom: -40px; height: 110px; background: #3E9B5A; }
.ms-hill.h2 { bottom: -70px; left: 10%; right: -40%; height: 120px; background: #2C7A45; }
.ms-lawn { background: #2F8F4E; }
.ms-stripes { position: absolute; inset: -20%; rotate: -24deg; background: repeating-linear-gradient(90deg, #379A57 0 28px, #2C8148 28px 56px); }
.ms-cap { position: absolute; left: 14px; right: 14px; bottom: 16px; z-index: 1; font: 700 17px/1.1 var(--ui); letter-spacing: -.03em; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.ms-play { position: absolute; left: 12px; top: 12px; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.88); color: #1C1410; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ms-play svg.i { width: 15px; height: 15px; fill: currentColor; stroke-width: 1; margin-left: 2px; }
.ms-dur { position: absolute; right: 10px; top: 14px; z-index: 1; padding: 4px 8px; border-radius: 99px; background: rgba(0,0,0,.45); color: #fff; font: 600 11px/1 var(--ui); font-variant-numeric: tabular-nums; }

/* an overnight post: night turns to morning behind the note Claude left */
.art-note { height: 236px; }
.an-sky { position: absolute; inset: 0; background: linear-gradient(120deg, #15173F 0%, #2B2F78 48%, #5B4FA8 100%); }
.an-dawn { position: absolute; inset: 0; background: radial-gradient(70% 90% at 100% 100%, #FFB98A, rgba(255,140,120,.55) 40%, transparent 72%); opacity: .25; }
.post.in .an-dawn { opacity: 1; transition: opacity 3600ms var(--soft) calc(var(--d, 0) * 110ms + 300ms); }
.an-moon { position: absolute; left: 30px; top: 26px; color: #F4F1FF; }
.an-moon svg.i { width: 34px; height: 34px; fill: #F4F1FF; stroke: none; filter: drop-shadow(0 0 14px rgba(200,190,255,.8)); }
.an-stars { position: absolute; inset: 0; opacity: .8;
  background: radial-gradient(1.5px 1.5px at 18% 62%, #fff, transparent), radial-gradient(1.5px 1.5px at 30% 30%, #fff, transparent), radial-gradient(1px 1px at 42% 70%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 12% 84%, #fff, transparent), radial-gradient(1px 1px at 36% 12%, #fff, transparent), radial-gradient(1.5px 1.5px at 52% 22%, #fff, transparent); }
.an-card { position: absolute; right: 26px; top: 50%; width: 360px; translate: 0 -50%; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border-radius: 18px;
  background: rgba(255,255,255,.96); box-shadow: 0 30px 50px -24px rgba(10,8,40,.7); }
.an-h { font: 650 19px/1.2 var(--ui); letter-spacing: -.035em; margin: 2px 0 4px; }
.an-row { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink); }
.an-row i { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: rgba(11,122,83,.12); color: var(--green); font: 700 11px/1 var(--ui); font-style: normal; }
.an-row i svg.i { width: 13px; height: 13px; stroke-width: 2.6; }
.an-row small { margin-left: auto; color: var(--muted); font-size: 12px; white-space: nowrap; }
.an-row.flag i { background: rgba(242,178,51,.2); color: #A86F05; }
.an-row.flag small { color: #A86F05; font-weight: 600; }

/* replies: the faces of who answered, the best answer inline, and a box to add yours */
.post-actions { align-items: center; }
.react.rp:hover { background: rgba(11,122,83,.07); color: var(--green); }
.rstack { display: inline-flex; }
.rstack .av { width: 22px; height: 22px; font-size: 8.5px; margin-right: -6px; box-shadow: 0 0 0 2px #fff; }
.rstack .av:last-child { margin-right: 2px; }
.replies:not(:empty) { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.reply { display: flex; align-items: flex-start; gap: 10px; }
.reply .av { width: 30px; height: 30px; font-size: 10px; }
.r-bub { padding: 8px 14px; border-radius: 18px; border-top-left-radius: 6px; background: #F2F5F3; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.r-bub b, .r-name { font-weight: 600; color: var(--ink); }
.r-name { transition: color 400ms var(--glide); }
.r-name:hover { color: var(--green); }
.reply.fresh { animation: rise 700ms var(--glide) both; }
/* the reply a notice opened: it glows green once, so the eye lands on it */
.reply.r-just > .r-main > .r-bub { animation: r-just 2.4s var(--glide) 300ms both; }
@keyframes r-just { 0% { box-shadow: 0 0 0 0 rgba(62,224,166,0); } 18% { box-shadow: 0 0 0 3px rgba(62,224,166,.6); background: #E3F7EE; } 100% { box-shadow: 0 0 0 0 rgba(62,224,166,0); } }
[data-calm] .reply.r-just > .r-main > .r-bub { animation: none; box-shadow: 0 0 0 2px rgba(62,224,166,.6); }
.reply-box { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 6px 6px 6px 8px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.reply-box:focus-within { box-shadow: inset 0 0 0 1.5px var(--green), 0 0 0 5px rgba(11,122,83,.08); }
.reply-box.in { animation: rise 600ms var(--glide) both; }
.reply-box .av { width: 30px; height: 30px; font-size: 10px; }
.reply-box input { flex: 1; min-width: 0; height: 38px; border: 0; background: none; font-size: 15px; }
.reply-box input:focus-visible { outline: none; }

/* someone is writing a post, then the pill that brings it in */
.posting { display: grid; grid-template-rows: 0fr; margin-top: -18px; opacity: 0; transition: grid-template-rows 800ms var(--glide), margin-top 800ms var(--glide), opacity 500ms var(--glide); }
.posting > div { min-height: 0; overflow: hidden; display: flex; align-items: center; gap: 10px; padding: 0 16px; font-size: 14px; color: var(--muted); }
.posting > div > .av { width: 28px; height: 28px; font-size: 9.5px; }
.posting b { color: var(--ink-2); font-weight: 600; }
.posting.on { grid-template-rows: 1fr; margin-top: -4px; opacity: 1; }
.posting .dots, .typing .dots { display: inline-flex; gap: 4px; }
.posting .dots i { width: 6px; height: 6px; border-radius: 50%; background: #93A39C; animation: blink 1.2s infinite ease-in-out; }
.posting .dots i:nth-child(2) { animation-delay: .18s; } .posting .dots i:nth-child(3) { animation-delay: .36s; }
.newpill-slot { position: sticky; top: 84px; z-index: 6; height: 0; margin-top: -18px; }
.newpill { position: absolute; left: 50%; top: 4px; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 9px; border-radius: 99px; white-space: nowrap;
  color: #F3FFF9; font: 600 14px/1 var(--ui); background: linear-gradient(180deg, #11603F, var(--forest)); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 18px 34px -12px rgba(10,74,51,.75);
  translate: -50% -14px; scale: .92; opacity: 0; transition: translate 800ms var(--glide), scale 800ms var(--glide), opacity 400ms var(--glide), box-shadow 600ms var(--glide); }
.newpill.on { translate: -50% 0; scale: 1; opacity: 1; }
.newpill:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 22px 40px -12px rgba(10,74,51,.85), 0 0 0 5px rgba(11,122,83,.12); }
.newpill .av { box-shadow: 0 0 0 2px rgba(255,255,255,.9); }
.newpill svg.i { width: 16px; height: 16px; stroke-width: 2.2; }

/* the side: a group for you, and people near you */
/* people first, groups below, and the column rides close to the top of the screen */
.cols > aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 24px; }
.joinstage .stack .av { cursor: pointer; }
.people { padding: 24px 16px 14px; border-radius: 30px; }
.people .kicker { padding: 0 10px; }
.plist { position: relative; margin-top: 10px; }
/* no glider here; each row warms in place, the same soft tint, thin
   edge and small lift as the other rows (shares, news, plugin chips), slow in and slow out */
.plist .glider { display: none; }
.prow { position: relative; z-index: 1; width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 18px; text-align: left; translate: 0 0;
  transition: background-color 500ms var(--glide), box-shadow 500ms var(--glide), translate 600ms var(--glide), scale 300ms var(--glide); }
.prow:hover, .prow:focus-visible { background: var(--ground); box-shadow: inset 0 0 0 1px var(--line), var(--lift-1); translate: 0 -1px; }
[data-calm] .prow { translate: none !important; }
.prow .av { width: 38px; height: 38px; }
.prow b { display: block; font: 600 14.5px/1.25 var(--ui); letter-spacing: -.02em; }
.prow .p-sub { display: block; font-size: 12.5px; color: var(--muted); }
.prow > span:not(.av) { flex: 1; min-width: 0; }
.prow i.on { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #19B57A; margin-right: 6px; }

/* Groups for you: the three best fits as rows, each opens the group, Join right there */
.gfy { padding: 22px 16px 12px; border-radius: 30px; flex: none; }
.gfy .kicker { padding: 0 10px; color: #5B62D9; }
.gfy-list { display: flex; flex-direction: column; margin-top: 10px; }
.gfy-row { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 18px; cursor: pointer;
  transition: background-color 500ms var(--glide), box-shadow 500ms var(--glide), translate 600ms var(--glide); }
.gfy-row:hover, .gfy-row:focus-visible { background: var(--ground); box-shadow: inset 0 0 0 1px var(--line), var(--lift-1); translate: 0 -1px; }
[data-calm] .gfy-row { translate: none !important; }
.gfy-row .mg-badge { width: 38px; height: 38px; border-radius: 13px; flex: none; }
.gfy-row .mg-badge svg.i { width: 19px; height: 19px; }
.gfy-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gfy-t b { font: 600 14.5px/1.25 var(--ui); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* a long name ends in an ellipsis before Join, never under it: the name's button is a block, so it can be cut */
.gfy-t .row-open { display: block; min-width: 0; max-width: 100%; }
.gfy-t .row-open b { display: block; }
.gfy-t span { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gfy-join { flex: none; height: 32px; padding: 0 14px; font-size: 13px; }
.gfy .p-all { margin-top: 6px; }

/* ---------- a member's profile ---------- */
.sheet-card.prof { position: relative; width: 470px; padding: 0 0 28px; }
.prof > :not(.prof-cover):not(.prof-x) { margin-left: 30px; margin-right: 30px; }
.prof-cover { position: relative; height: 124px; overflow: hidden;
  background: radial-gradient(60% 120% at 15% 0%, color-mix(in srgb, var(--c) 55%, #fff), transparent 70%), radial-gradient(70% 140% at 100% 100%, color-mix(in srgb, var(--c) 35%, #fff), transparent 70%), color-mix(in srgb, var(--c) 14%, #fff); }
.pc-glow { position: absolute; width: 260px; height: 260px; right: -60px; top: -120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.75), transparent); }
.prof-sheet.open .pc-glow { animation: drift 9s var(--soft) infinite alternate; }
@keyframes drift { to { translate: -120px 40px; } }
.prof-x { position: absolute; z-index: 2; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2);
  background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color 400ms var(--glide); }
.prof-x:hover { background: #fff; color: var(--ink); }
.prof-x svg.i { width: 17px; height: 17px; }
.prof-top { display: flex; align-items: flex-end; justify-content: space-between; margin-top: -50px; }
.prof-top .av.xl { box-shadow: 0 0 0 5px #fff, 0 18px 30px -14px rgba(4,27,18,.5); font-size: 28px; }
.prof-sheet.open .prof-top .av { animation: popin 900ms var(--glide) 80ms both; }
@keyframes popin { from { scale: .82; opacity: 0; } }
.prof-on { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 99px; font: 550 12.5px/1 var(--ui); color: var(--green); background: rgba(11,122,83,.08); margin-bottom: 6px; }
.prof-on::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #19B57A; }
.sheet-card.prof h2 { font-size: 30px; margin-top: 14px; }
.prof-role { margin-top: 4px; font-size: 15.5px; color: var(--ink-2); }
.prof-role b { color: var(--ink); font-weight: 600; }
.prof-meta { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.prof-meta svg.i { width: 16px; height: 16px; }
.prof-bio { margin-top: 14px; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.prof-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
/* a button is never narrower than its words ("Message Corinne" clipped); a long name puts the next button on its own row */
.prof-actions .btn { flex: 1 1 0; min-width: min(max-content, 100%); }
.sheet-card.prof h3 { margin: 24px 0 10px; }
.shares { display: grid; gap: 8px; }
.share { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; text-align: left; background: var(--ground);
  transition: background-color 500ms var(--glide), box-shadow 500ms var(--glide), scale 300ms var(--glide); }
.share:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--lift-1); }
.share svg.i { color: var(--green); }
.share b { display: block; font: 600 14.5px/1.25 var(--ui); }
.share small { display: block; font-size: 12px; color: var(--muted); }
.prof-private { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.prof-private svg.i { width: 15px; height: 15px; }
.gchips, .pchips { display: flex; flex-wrap: wrap; gap: 8px; }
.gchip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 16px; text-align: left;
  background: color-mix(in srgb, var(--c) 8%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 18%, transparent); transition: box-shadow 500ms var(--glide), scale 300ms var(--glide); }
.gchip:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent), var(--lift-1); }
.gchip b { display: block; font: 600 14px/1.2 var(--ui); }
.gchip small { display: block; font-size: 12px; color: var(--muted); }
.pchip { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 4px; border-radius: 99px; font-size: 14px;
  background: color-mix(in srgb, var(--c) 10%, #fff); transition: box-shadow 500ms var(--glide), scale 300ms var(--glide); }
.pchip:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent), var(--lift-1); }
.pchip b { font-weight: 600; }

/* ---------- messages: three quiet sections ---------- */
.csec { padding-bottom: 6px; }
.csec-h { display: block; padding: 12px 12px 6px; font: 600 12px/1 var(--ui); letter-spacing: .01em; color: var(--muted); }
.csec:first-child .csec-h { padding-top: 4px; }
/* Show older conversations, under the direct messages */
.c-more { display: block; margin: 6px 12px 12px; }
.convo { padding: 8px 10px; }
.convo .c-top { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.convo .c-top b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-count { flex: none; display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.c-count svg.i { width: 13px; height: 13px; }

/* the thread: who you're talking to, with faces you can tap */
.thread-head > span:nth-child(2) { min-width: 0; }
.th-name { display: block; font: 650 18px/1.2 var(--ui); letter-spacing: -.03em; text-align: left; transition: color 400ms var(--glide); }
.th-name:hover { color: var(--green); }
.th-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.thread-head .th-right .online { margin-left: 0; }
.thread-head .online.off { color: var(--muted); }
.th-stack { display: inline-flex; }
.thread-head .th-stack .av { width: 32px; height: 32px; font-size: 10.5px; margin-right: -7px; box-shadow: 0 0 0 2.5px #fff; }
.thread-head .th-stack .av:hover { position: relative; z-index: 1; }
.th-more { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.thread-head .duo .av { width: 31px; height: 31px; }

/* iMessage-style runs: a face beside the last message, a first name small above the first */
.bubbles { gap: 3px; }
.run { display: flex; align-items: flex-end; gap: 8px; max-width: 68%; }
.run + .run, .day + .run { margin-top: 10px; }
.run.theirs { align-self: flex-start; }
.run.mine { align-self: flex-end; }
.run-col { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.run.mine .run-col { align-items: flex-end; }
.run .b { max-width: 100%; }
.run .b.them + .b.them { border-top-left-radius: 8px; }
.run .b.me + .b.me { border-top-right-radius: 8px; }
.run-av { width: 30px; height: 30px; font-size: 10px; margin-bottom: 1px; }
.run-name { margin: 0 0 1px 14px; font: 550 12px/1.3 var(--ui); color: var(--muted); transition: color 400ms var(--glide); }
.run-name:hover { color: var(--ink); }
.thread.in .bubbles .run .b { animation: none; }
.thread.in .run { animation: rise 640ms var(--glide) both; animation-delay: calc(var(--k, 0) * 45ms); }
.run.new { animation: rise 600ms var(--glide) both; }
.thread .run .b.new { animation: rise 600ms var(--glide) both; }
.typing.with-av { gap: 8px; align-items: flex-end; padding: 0; background: none; border-radius: 0; }
.typing.with-av .run-av { width: 30px; height: 30px; font-size: 10px; }
.typing.with-av .dots { padding: 14px 16px; border-radius: 22px; border-bottom-left-radius: 8px; background: var(--ground); }
.hello-dm { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 34px 0 6px; text-align: center; }
.hello-dm .av.xl { margin-bottom: 10px; box-shadow: 0 18px 30px -16px rgba(4,27,18,.45); }
.hello-dm b { font: 650 20px/1.2 var(--ui); letter-spacing: -.035em; }
.hello-dm span { font-size: 13.5px; color: var(--muted); }
.hello-dm .hd-note { margin-top: 8px; color: var(--ink-2); }
/* a public group you haven't joined: a Join bar where the message box goes */
.join-row { align-items: center; gap: 12px; padding: 8px 8px 8px 12px; }
.join-row .jr-copy { flex: 1; font-size: 14.5px; color: var(--ink-2); }
.join-row .jr-copy b { color: var(--ink); font-weight: 600; }
.send-row.join-row .btn { width: auto; padding: 0 22px; }
.send-row.swap-in { animation: rise 600ms var(--glide) both; }

[data-calm] .post.pre { opacity: 1; translate: none; scale: none; filter: none; }
[data-calm] .post-art:hover .as-page, [data-calm] .ms-tile:hover { translate: none; }
[data-calm] .au-obj .thumb img, [data-calm] .prof-sheet .pc-glow { animation: none; }

/* the plugin a post used: a small pill at the end of the actions, so the picture does the talking */
.mini-plug { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 3px; border-radius: 99px; font-size: 13.5px; color: var(--ink-2);
  background: color-mix(in srgb, var(--c) 9%, #fff); transition: background-color 600ms var(--glide), box-shadow 600ms var(--glide), color 600ms var(--glide), scale 300ms var(--glide); }
.mini-plug .thumb.xs { width: 30px; height: 30px; box-shadow: none; }
.mini-plug b { font-weight: 600; color: var(--ink); }
.mini-plug svg.i { width: 15px; height: 15px; opacity: .5; transition: transform 700ms var(--glide), opacity 500ms var(--glide); }
.mini-plug:hover { background: #fff; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 35%, transparent), var(--lift-1); color: var(--ink); }
.mini-plug:hover svg.i { transform: translateX(3px); opacity: 1; }
.mini-plug:active { scale: .96; transition-duration: 120ms; }
/* stacked faces overlap a little less, so every set of initials stays readable */
.room .stack .av { margin-right: -5px; }
.stack .av { margin-right: -6px; }
.rstack .av { margin-right: -4px; }
.thread-head .th-stack .av { margin-right: -5px; }
[data-calm] .post.pre .ms-after { clip-path: inset(0 0 0 52%); }
[data-calm] .post.pre .ms-line { left: 52%; }
/* a long message wraps a little sooner, so bubbles stay bubble-shaped */
.run { max-width: min(64%, 540px); }
/* the two faces of a group chat overlap just enough that both sets of initials read */
.duo { width: 42px; height: 42px; }
.duo .av { width: 26px; height: 26px; font-size: 9px; }
.duo.l { width: 46px; height: 46px; }
.duo.l .av, .thread-head .duo .av { width: 29px; height: 29px; font-size: 10px; }

/* =================== group backgrounds =================== */
/* Behind the messages only, never behind a bubble's own color: bubbles keep their solid fills, so their contrast is unchanged.
   Tints stay light enough that names and "Today" still read. Motion is one slow drift (30 s and up) or a faint twinkle,
   and none at all in calm mode or with reduced motion. Layers: the base on .gbg, a drifting glow on its <i> (12 % bigger
   than the chat on every side, so glow centers sit 10 to 12 % in), a pattern on ::before, stars on ::after. */
.thread > .thread-head { position: relative; z-index: 1; background: #fff; }
.thread > .bubbles { position: relative; z-index: 1; }
/* the header's menu (Report, Block) opens over the messages, never under them */
.thread > .thread-head { z-index: 2; }
.thread > .send-row { z-index: 2; }
.gbg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: #fff; animation: gbg-in 1400ms var(--glide) both; }
.gbg.out { animation: gbg-out 900ms var(--glide) both; }
.gbg > i { position: absolute; inset: -12%; display: block; animation: gbg-drift 38s var(--soft) infinite alternate; }
.gbg::before, .gbg::after { content: ''; position: absolute; pointer-events: none; }
@keyframes gbg-in { from { opacity: 0; } }
@keyframes gbg-out { to { opacity: 0; } }
@keyframes gbg-drift { 0% { translate: -2% 1%; } 100% { translate: 2.5% -1.5%; } }
@keyframes gbg-twinkle { 0%, 100% { opacity: .35; } 50% { opacity: .9; } }
@keyframes gbg-flow { to { translate: 240px 0; } }

/* Night shift: a calm dusk, lavender at the top easing to a warm horizon, a few faint stars that barely twinkle */
.gbg.g-night { background: linear-gradient(180deg, #F2F2FE 0%, #F7F6FE 42%, #FFF9F5 82%, #FFFFFF 100%); }
.gbg.g-night > i { background: radial-gradient(55% 42% at 84% 10%, rgba(124,131,247,.17), transparent 70%), radial-gradient(45% 36% at 14% 12%, rgba(91,98,217,.08), transparent 70%),
  radial-gradient(70% 30% at 50% 92%, rgba(255,166,128,.12), transparent 70%); }
.gbg.g-night::before, .gbg.g-night::after, .gbg.stars::after { inset: 0 0 45% 0; -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.gbg.g-night::before { background:
  radial-gradient(circle at 46px 38px, rgba(91,98,217,.42) 0 1.1px, transparent 1.7px), radial-gradient(circle at 212px 92px, rgba(91,98,217,.34) 0 1px, transparent 1.6px),
  radial-gradient(circle at 330px 24px, rgba(91,98,217,.38) 0 1.2px, transparent 1.8px), radial-gradient(circle at 128px 150px, rgba(91,98,217,.28) 0 .9px, transparent 1.5px);
  background-size: 420px 190px; opacity: .7; }
.gbg.g-night::after, .gbg.stars::after { background:
  radial-gradient(circle at 150px 54px, rgba(91,98,217,.5) 0 1.3px, transparent 2px), radial-gradient(circle at 300px 128px, rgba(91,98,217,.36) 0 1px, transparent 1.6px),
  radial-gradient(circle at 390px 70px, rgba(91,98,217,.4) 0 1.1px, transparent 1.7px);
  background-size: 460px 210px; background-position: 90px 10px; animation: gbg-twinkle 26s ease-in-out infinite; }

/* Tampa Bay owners: soft water and a sunset glow, fading into the bottom */
.gbg.g-tampa { background: linear-gradient(180deg, #FFF8F2 0%, #FFFFFF 38%, #FFFFFF 58%, #EFF9F6 100%); }
.gbg.g-tampa > i { background: radial-gradient(52% 40% at 86% 10%, rgba(255,166,108,.17), transparent 70%), radial-gradient(60% 38% at 10% 90%, rgba(47,203,143,.13), transparent 70%),
  radial-gradient(48% 32% at 72% 92%, rgba(61,155,255,.10), transparent 70%); animation-duration: 44s; }
/* the wave lines are gone, here and in the Soft fade style; only the fading color stays */

/* Restaurants and food: warm, like a kitchen in the morning, with a faint scatter of flour */
.gbg.g-food { background: linear-gradient(180deg, #FFF7F0 0%, #FFFFFF 52%, #FFFAF2 100%); }
.gbg.g-food > i { background: radial-gradient(52% 44% at 88% 10%, rgba(255,111,79,.13), transparent 70%), radial-gradient(46% 40% at 10% 36%, rgba(242,178,51,.12), transparent 70%),
  radial-gradient(60% 36% at 62% 92%, rgba(255,140,90,.10), transparent 70%); animation-duration: 34s; }
.gbg.g-food::before { inset: 0; background: radial-gradient(circle at 30px 40px, rgba(201,138,18,.22) 0 1.2px, transparent 1.8px), radial-gradient(circle at 150px 110px, rgba(226,86,58,.16) 0 1px, transparent 1.6px),
  radial-gradient(circle at 240px 30px, rgba(201,138,18,.18) 0 .9px, transparent 1.5px); background-size: 300px 160px; opacity: .8; }

/* made by Claude for a group's owner: --a is their color, --b the feel's second color, --k how strong (12 to 22 %) */
.gbg.made { background: #fff; }
.gbg.s-glow > i { background: radial-gradient(58% 46% at 84% 12%, color-mix(in srgb, var(--a) calc(var(--k) * 1.5), transparent), transparent 70%),
  radial-gradient(54% 42% at 12% 88%, color-mix(in srgb, var(--b) calc(var(--k) * 1.3), transparent), transparent 70%); }
.gbg.s-wash { background: linear-gradient(180deg, color-mix(in srgb, var(--a) calc(var(--k) * .7), #fff) 0%, #fff 62%, color-mix(in srgb, var(--b) calc(var(--k) * .5), #fff) 100%); }
.gbg.s-wash > i { background: linear-gradient(115deg, transparent 30%, color-mix(in srgb, var(--b) var(--k), transparent) 50%, transparent 70%); opacity: .8; animation-duration: 46s; }
.gbg.s-waves { background: linear-gradient(180deg, #fff 0%, #fff 50%, color-mix(in srgb, var(--a) calc(var(--k) * .55), #fff) 100%); }
.gbg.s-waves > i { background: radial-gradient(50% 36% at 84% 12%, color-mix(in srgb, var(--b) var(--k), transparent), transparent 70%); }

/* the small gray words that sit straight on a background (names, "Today") go a shade darker, so they keep the contrast they have on white */
.gbg ~ .bubbles .run-name, .gbg ~ .bubbles .day { color: #55645E; }
.gbg ~ .bubbles .run-name:hover { color: var(--ink); }

/* no motion in calm mode or with reduced motion: the same picture, standing still */
[data-calm] .gbg, [data-calm] .gbg > i, [data-calm] .gbg::before, [data-calm] .gbg::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .gbg, .gbg > i, .gbg::before, .gbg::after { animation: none !important; } }

/* the owner's button in the group's header */
.gbg-btn svg.i { width: 17px; height: 17px; stroke-width: 1.8; color: var(--green); }

/* the owner's sheet: three short steps */
.sheet-card.bgs { width: 580px; }
.bgs-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bgs-steps { display: inline-flex; gap: 6px; }
.bgs-steps i { width: 22px; height: 6px; border-radius: 3px; background: var(--ground); box-shadow: inset 0 0 0 1px var(--line); transition: background-color 700ms var(--glide), width 700ms var(--glide); }
.bgs-steps i.done { background: rgba(11,122,83,.35); box-shadow: none; }
.bgs-steps i.on { width: 34px; background: var(--green); box-shadow: none; }
.bgs .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bgs-body > * { animation: rise 700ms var(--glide) both; }
.bgs-body > :nth-child(2) { animation-delay: 50ms; } .bgs-body > :nth-child(3) { animation-delay: 100ms; } .bgs-body > :nth-child(4) { animation-delay: 150ms; }
.bgs .lede { font-size: 15.5px; margin-top: 10px; max-width: 470px; }
.bgs .pick { margin-top: 22px; }
.bgs .field input { width: 100%; height: 50px; margin-top: 10px; padding: 0 18px; border: 0; border-radius: 18px; background: var(--ground); font-size: 15.5px;
  transition: background-color 400ms var(--glide), box-shadow 400ms var(--glide); }
.bgs .field input::placeholder { color: var(--muted); }
.bgs .field input:focus { outline: none; background: #fff; box-shadow: 0 0 0 1.5px var(--green), 0 0 0 6px rgba(11,122,83,.1); }
.bgs-foot { margin-top: 28px; }
.bgs-foot .btn[disabled] { opacity: .4; box-shadow: none; transition: opacity 500ms var(--glide); }
.bgs h2.bgs-h-sm { font-size: 29px; white-space: nowrap; }
.bgs-foot .bgs-remove { margin-right: auto; color: var(--red); }
.bgs-foot .bgs-remove:hover { color: var(--red); background: rgba(194,54,43,.06); }
.bgs-colors { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; }
.bgs-colors button { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 60px; white-space: nowrap; font-size: 12.5px; color: var(--ink-2); }
.bgs-colors i { width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(120% 120% at 30% 20%, color-mix(in srgb, var(--sw) 60%, #fff), var(--sw) 65%);
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); transition: box-shadow 500ms var(--glide), scale 600ms var(--glide); }
.bgs-colors button:hover i { scale: 1.06; }
.bgs-colors button[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
.bgs-colors button[aria-pressed="true"] i { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--green); }
.bgs-making { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.bgs-making .dots { display: inline-flex; gap: 4px; }
.bgs-making .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: blink 1.2s infinite ease-in-out; }
.bgs-making .dots i:nth-child(2) { animation-delay: .18s; } .bgs-making .dots i:nth-child(3) { animation-delay: .36s; }
.bgs-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.bgs-opt { display: flex; flex-direction: column; gap: 10px; padding: 8px 8px 12px; border-radius: 22px; text-align: left; background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 500ms var(--glide), translate 600ms var(--glide); translate: 0 0; }
.bgs-opt b { padding: 0 6px; font: 600 14px/1.2 var(--ui); letter-spacing: -.02em; }
button.bgs-opt:hover { box-shadow: inset 0 0 0 1px var(--line), var(--lift-1); translate: 0 -1px; }
button.bgs-opt[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--green), 0 0 0 5px rgba(11,122,83,.1); }
.bgs-prev { position: relative; isolation: isolate; display: block; height: 128px; border-radius: 15px; overflow: hidden; background: var(--ground); box-shadow: inset 0 0 0 1px var(--line); }
.bgs-prev .gbg { z-index: 0; }
.bgs-prev .mb { position: absolute; z-index: 1; height: 16px; border-radius: 8px; }
.bgs-prev .mb.them { left: 12px; top: 18px; width: 58%; background: #F0F3F1; }
.bgs-prev .mb.me { right: 12px; top: 44px; width: 46%; background: linear-gradient(180deg, #11603F, var(--forest)); }
.bgs-prev .mb.them.short { top: 70px; width: 38%; }
.bgs-opts.making .bgs-prev { background: linear-gradient(100deg, var(--ground) 30%, #fff 50%, var(--ground) 70%) 0 0 / 300% 100%; animation: gbg-shimmer 1.6s var(--soft) infinite; }
.bgs-opts.making .bgs-opt { box-shadow: inset 0 0 0 1px var(--line); }
@keyframes gbg-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
[data-calm] .bgs-opts.making .bgs-prev, [data-calm] .bgs-making .dots i { animation: none !important; }
[data-calm] button.bgs-opt { translate: none !important; }

/* ---------- more page details ---------- */
.w-kicker { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.w-members { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); padding-left: 14px; border-left: 1px solid var(--line); }
.w-members .live { width: 8px; height: 8px; border-radius: 50%; background: #19B57A; box-shadow: 0 0 0 0 rgba(25,181,122,.5); animation: live 2.2s infinite; }
.h1.big.one-line { white-space: nowrap; font-size: clamp(44px, 4.4vw, 72px); }
.p-tabs { display: flex; gap: 4px; padding: 4px; margin: 0 6px; border-radius: 99px; background: var(--ground, #F2F5F3); }
.p-tabs button { flex: 1; height: 34px; border-radius: 99px; font: 600 13px/1 var(--ui); color: var(--muted); transition: background-color 240ms var(--glide), color 240ms var(--glide), box-shadow 240ms var(--glide); }
.p-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(4,27,18,.08), 0 6px 14px -8px rgba(4,27,18,.3); }
.p-note { display: block; padding: 4px 10px 2px; font: 500 12px/1.3 var(--ui); color: var(--muted); }
.plist.swap .prow { animation: p-swap 420ms var(--glide) both; }
.plist.swap .prow:nth-child(3) { animation-delay: 40ms; } .plist.swap .prow:nth-child(4) { animation-delay: 80ms; } .plist.swap .prow:nth-child(5) { animation-delay: 120ms; }
@keyframes p-swap { from { opacity: 0; transform: translateY(6px); } }
.mine-menu { position: relative; flex: none; }
.post-head .mine-menu { margin-left: 4px; }
.reply .mine-menu { align-self: center; opacity: 0; transition: opacity 200ms var(--glide); }
.reply:hover .mine-menu, .reply .mine-menu.open, .reply .mine-menu:focus-within { opacity: 1; }
.mm-btn { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.mm-btn:hover, .mine-menu.open .mm-btn { background: var(--ground, #F2F5F3); color: var(--ink); }
.mm-btn svg.i { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.mm-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 132px; padding: 6px; border-radius: 16px; background: #fff; display: flex; flex-direction: column;
  box-shadow: inset 0 0 0 1px var(--line), 0 18px 36px -18px rgba(4,27,18,.45); opacity: 0; transform: translateY(-4px) scale(.98); transform-origin: top right; pointer-events: none;
  transition: opacity 180ms var(--glide), transform 220ms var(--glide); }
.mine-menu.open .mm-pop { opacity: 1; transform: none; pointer-events: auto; }
.mm-pop button { text-align: left; padding: 9px 12px; border-radius: 10px; font: 550 14px/1 var(--ui); color: var(--ink); white-space: nowrap; }   /* "Take it down (team)" on one line */
.mm-pop button:hover { background: var(--ground, #F2F5F3); }
.mm-pop .danger { color: var(--red, #D9363E); }
.edit-box { width: 100%; margin-top: 8px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); font: inherit; font-size: 15px; line-height: 1.45; resize: vertical; background: #fff; }
.reply .edit-box { margin-top: 0; padding: 6px 12px; }
.edit-bar { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.post.leaving, .reply.leaving { animation: leave 320ms var(--glide) both; }
@keyframes leave { to { opacity: 0; transform: scale(.98); } }
[data-calm] .post.leaving, [data-calm] .reply.leaving, [data-calm] .plist.swap .prow { animation: none; }
.post-head { position: relative; z-index: 6; }
.reply { position: relative; }
.reply:has(.mine-menu.open) { z-index: 6; }

/* ================= more page details ================= */
/* 5: the Plugins lede ends inside the title's green word, like Community's (the paragraph takes the title's width) */
.page-head.fit { width: fit-content; max-width: 100%; }
.page-head.fit .lede { width: 0; min-width: calc(100% - .9em); max-width: none; }

/* 7: group cards, no little icon; Live now and Public group side by side */
.room-top { gap: 10px; }
.room-top .gav { display: none; }
.room-live { display: inline-flex; align-items: center; gap: 7px; height: 22px; padding: 0 9px 0 8px; border-radius: 99px; color: #0E7A50; background: rgba(25,181,122,.1); font-weight: 600; }

/* 11: My groups */
.mygroups { margin-top: 30px; }
.mg-head .h2 { color: var(--ink); }
.mg-head p { margin-top: 6px; color: var(--ink-2); font-size: 16px; }
.mg-rooms { margin-top: 22px; }
.mg-find { align-items: flex-start; justify-content: center; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(10,18,15,.12); }
.mg-find::before { display: none; }
.mg-find:hover { background: #fff; }
.mg-plus { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(11,122,83,.1); color: var(--green); }
.mg-plus svg.i { width: 20px; height: 20px; }

/* 6: people in your trade, near you first */
.p-near-n, .p-near { display: inline-flex; align-items: center; gap: 3px; color: var(--green); font-weight: 600; }
.p-near-n svg.i, .p-near svg.i { width: 12px; height: 12px; stroke-width: 2.2; }
.prow.is-near .av { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px rgba(11,122,83,.35); }
.p-all { display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 2px 10px; padding: 6px 2px; font: 600 13.5px/1 var(--ui); color: var(--green); }
.p-all svg.i { width: 15px; height: 15px; transition: transform 600ms var(--glide); }
.p-all:hover svg.i { transform: translateX(3px); }

/* 9: Showcase */
.showcase { margin-top: 30px; }
.sh-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sh-head .h2 { color: var(--ink); }
.sh-head .h2 em { color: var(--green); font-family: 'Playfair Display', var(--serif); font-style: italic; font-weight: 600; letter-spacing: -.02em; }
.sh-head p { margin-top: 6px; color: var(--ink-2); font-size: 16px; }
.sh-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 22px; perspective: 1400px; }
.shcard { display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: #fff; text-align: left;
  box-shadow: inset 0 0 0 1px rgba(10,18,15,.06), var(--lift-2);
  transform: perspective(1200px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(var(--ty, 0)) scale(var(--ps, 1)); transition: box-shadow 600ms var(--glide); }
.shcard:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 35%, transparent), var(--lift-3); }
.shcard.sh-pick { grid-column: 1 / -1; flex-direction: row; }
.shcard.sh-pick .sh-body { width: 38%; flex: none; padding: 30px 32px 26px; justify-content: center; gap: 14px; }
.sh-media { aspect-ratio: auto; margin: 0; border-radius: 0; position: relative; height: 230px; overflow: hidden; isolation: isolate; background: #EEF2F0; }
.shcard.sh-pick .sh-media { height: 400px; flex: 1; }
.sh-media .art { height: 100%; }
.sh-media .art-site { height: 100%; }
.sh-media:hover .as-page { translate: 0 -96px; }
.sh-film, .sh-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sh-play { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 9px; border-radius: 99px;
  background: rgba(4,27,18,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font: 600 12.5px/1 var(--ui); }
.sh-play svg.i { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.sh-badge { position: absolute; top: 16px; left: 16px; height: 28px; padding: 0 12px; border-radius: 99px; display: inline-flex; align-items: center;
  background: #fff; color: var(--ink); font: 650 12.5px/1 var(--ui); box-shadow: var(--lift-1); }
.sh-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #F2B233; margin-right: 7px; }
.sh-body { padding: 18px 20px 16px; display: flex; flex-direction: column; gap: 10px; }
.sh-who { display: flex; align-items: center; gap: 10px; }
.sh-who .av { width: 34px; height: 34px; font-size: 11px; }
.sh-name { font: 600 14.5px/1.2 var(--ui); color: var(--ink); letter-spacing: -.02em; }
.sh-name:hover { color: var(--green); }
.sh-sub { display: block; font-size: 12.5px; color: var(--muted); }
.sh-body h3 { font: 650 20px/1.15 var(--ui); letter-spacing: -.04em; color: var(--ink); }
.shcard.sh-pick .sh-body h3 { font-size: 26px; }
.sh-win { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; height: 28px; padding: 0 12px 0 10px; border-radius: 99px;
  background: color-mix(in srgb, var(--c) 11%, #fff); color: var(--ink); font: 600 13px/1 var(--ui); }
.sh-win i { width: 7px; height: 7px; border-radius: 50%; }
.sh-note { font-size: 14.5px; color: var(--ink-2); }
/* a caption that leads alone (its title was only its shortened start): the card's main words, a little larger */
.sh-note.sh-lead { font-size: 16.5px; line-height: 1.4; font-weight: 500; color: var(--ink); text-wrap: pretty; }
.sh-foot { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.sh-foot .mini-plug { margin-left: 0; }
.sh-foot .react { margin-left: auto; }
[data-calm] .sh-media:hover .as-page { translate: none; }

/* 8: the map's frame while map.js loads */
.mapwrap { margin-top: 30px; min-height: 420px; }
.map-loading { display: grid; place-items: center; height: 420px; }

/* 12: the bubble that flies from the box into the thread */
.b.flying { position: fixed; z-index: 50; margin: 0; pointer-events: none; max-width: none; overflow: hidden; background: none; box-shadow: none; color: inherit; will-change: transform, width, height; }
.b.flying .fl-bg { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, #11603F, var(--forest)); box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
.b.flying .fl-t { position: relative; display: block; }

/* 13: the F sits clear of the bar's rounded left edge */
.island { padding-left: 15px; gap: 8px; }
.island .home .mark { translate: 3px 0; }
.room-top { min-height: 22px; }
.prow .p-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.prow .p-name b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prow .p-near { flex: none; font-size: 11.5px; }
.prow .p-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* feedback, from your picture's menu */
.me-menu { position: fixed; z-index: 60; width: 248px; padding: 8px; border-radius: 22px; background: #fff;
  box-shadow: inset 0 0 0 1px rgba(10,18,15,.06), 0 24px 48px -18px rgba(4,27,18,.3), 0 2px 6px rgba(4,27,18,.06);
  transform-origin: top right; transform: translateY(-6px) scale(.97); opacity: 0; transition: transform 500ms var(--glide), opacity 220ms var(--glide); }
.me-menu.open { transform: none; opacity: 1; }
.mmn-who { display: flex; align-items: center; gap: 10px; padding: 8px 10px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.mmn-who .av { width: 36px; height: 36px; font-size: 11.5px; }
.mmn-who > span { min-width: 0; }
.mmn-who b, .ph-name { overflow-wrap: anywhere; white-space: normal; text-overflow: clip; }
.mmn-who b { display: block; font: 600 14.5px/1.2 var(--ui); letter-spacing: -.02em; }
.mmn-who small { display: block; font-size: 12.5px; color: var(--muted); }
.me-menu [role="menuitem"] { width: 100%; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; border-radius: 14px; font-weight: 550; font-size: 14.5px; color: var(--ink-2); text-align: left; }
.me-menu [role="menuitem"]:hover, .me-menu [role="menuitem"]:focus-visible { background: var(--ground); color: var(--ink); outline: none; }
.me-menu [role="menuitem"] svg.i { width: 19px; height: 19px; color: var(--green); }
.me-menu a[role="menuitem"] { text-decoration: none; }
/* Sign out sits last, under a thin line, apart from the places the menu opens */
.me-menu .mm-out { margin-top: 4px; position: relative; }
.me-menu .mm-out::before { content: ''; position: absolute; left: 10px; right: 10px; top: -3px; border-top: 1px solid var(--line); }
.fbs .fb-kind { margin-top: 18px; }
.fbs textarea { min-height: 110px; }
.fb-shot { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.fb-shot input { width: 17px; height: 17px; accent-color: var(--green); }
.sheet-card.fbs { width: 560px; }
.help-how { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
/* the free ways to get help, before the paid session */
.help-sub { margin: 18px 0 8px; font: 600 12px/1 var(--ui); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.help-ways { display: grid; gap: 8px; }
.help-way { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 16px; text-align: left; background: rgba(11,122,83,.05); border: 1px solid rgba(11,122,83,.14); color: var(--ink-2); }
.help-way:hover { background: #fff; box-shadow: var(--lift-1); color: var(--ink); }
.help-way:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.help-way b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }
.help-way small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.4; }
.help-way .av { width: 36px; height: 36px; flex: none; }
.lede.help-paid { margin-top: 0; }
/* the paid session is its own choice, set apart from the free ways */
.help-way.paid { background: rgba(242,178,51,.08); border-color: rgba(178,120,10,.24); }
.help-way.paid .av { background: #F2B233; }
#help-sheet p, #help-sheet small { text-wrap: wrap; }   /* glue() keeps the tails; pretty pulled "video" down a line early (orphans.md, layer 1) */
.trial-when { margin: 14px 0 0; text-align: right; font-size: 13.5px; color: var(--muted); }
#trial-go[disabled] { opacity: 1; cursor: default; background: var(--ground); color: var(--ink-2); box-shadow: none; }

/* ================= more page details ================= */
/* People near you / In your trade: the side column never runs under the bottom bar; the list scrolls inside its
   own box, with a soft fade where more names wait below */
.cols > aside { max-height: calc(100vh - 24px - 108px); }
.cols > aside > .joinstage { flex: none; }
.people { flex: none; display: flex; flex-direction: column; }
.people .plist { flex: none; }   /* three people in full, nothing cut (rounds 8.9 and 9.2); See everyone has the rest */
.people .p-all { flex: none; margin-top: 6px; }
.p-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 10px 6px; color: var(--ink-2); font-size: 14px; }
.p-empty b { color: var(--ink); font: 600 15px/1.2 var(--ui); letter-spacing: -.02em; }
.p-empty .btn { margin-top: 6px; }

/* Edit profile: a live card of how members see you on the left, the fields on the right, one Save */
.sheet-card.ep { width: 980px; max-width: calc(100vw - 48px); height: min(780px, calc(100vh - 48px)); padding: 0; overflow: hidden; display: grid; grid-template-columns: 330px minmax(0, 1fr); }
.ep-side { padding: 34px 30px; background: var(--ground); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.ep-side .kicker { color: var(--muted); }
.ep-card { position: relative; border-radius: 26px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--lift-2); overflow: hidden; padding: 0 22px 22px; display: flex; flex-direction: column; }
.epc-cover { height: 86px; margin: 0 -22px; background: radial-gradient(120% 140% at 85% 0%, color-mix(in srgb, var(--c) 34%, #fff), color-mix(in srgb, var(--c) 8%, #F5F7F6) 75%); }
.epc-av { margin-top: -38px; }
.epc-av .av.xl { box-shadow: 0 0 0 4px #fff, 0 14px 24px -12px rgba(4,27,18,.45); }
.epc-name { margin-top: 12px; font: 650 22px/1.1 var(--ui); letter-spacing: -.04em; overflow-wrap: anywhere; }
.epc-role { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.epc-meta { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.epc-meta svg.i { width: 14px; height: 14px; flex: none; }
.epc-build { margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--spark) 12%, #fff); font-size: 13.5px; color: var(--ink); }
.epc-build small, .prof-build small { display: block; font: 600 11px/1 var(--ui); letter-spacing: .02em; color: var(--green); margin-bottom: 4px; }
.epc-plugs { display: flex; gap: 6px; margin-top: 12px; }
.ep-note { display: flex; gap: 8px; font-size: 12.5px; color: var(--muted); margin-top: auto; }
.ep-note svg.i { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.ep-main { display: flex; flex-direction: column; min-height: 0; }
.ep-head { position: relative; padding: 32px 36px 14px; border-bottom: 1px solid transparent; }
.ep-x { position: absolute; top: 20px; right: 20px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); }
.ep-x:hover { background: var(--ground); color: var(--ink); }
.ep-x svg.i { width: 18px; height: 18px; }
.ep-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 36px 10px; scrollbar-width: thin; }
.ep-sec h3 { margin: 22px 0 10px; }
.ep-sec:first-child h3 { margin-top: 8px; }
.ep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.ep-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ep-f.full { grid-column: 1 / -1; }
.ep-f > span, .ep-f > .ep-fl { font: 550 13px/1 var(--ui); color: var(--ink-2); } /* ep-fl: First name's own label, its error outside it */
.ep-f input, .ep-f select, .ep-f textarea { width: 100%; height: 46px; padding: 0 16px; border: 0; border-radius: 15px; background: var(--ground); color: var(--ink); font: inherit; font-size: 15px;
  transition: background-color 300ms var(--glide), box-shadow 300ms var(--glide); }
.ep-f select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2366766F' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.ep-f textarea { height: auto; min-height: 96px; padding: 13px 16px; resize: vertical; line-height: 1.45; }
.ep-f input:focus, .ep-f select:focus, .ep-f textarea:focus { outline: none; background: #fff; box-shadow: 0 0 0 1.5px var(--green), 0 0 0 6px rgba(11,122,83,.1); }
.ep-f small { font-size: 12.5px; color: var(--muted); }
.ep-count { align-self: flex-end; }
.ep-photo { display: flex; align-items: center; gap: 18px; }
.ep-pic .av.l { width: 72px; height: 72px; font-size: 24px; }
.ep-photo-r { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ep-photo-r .btn svg.i { width: 17px; height: 17px; }
.ep-colors { display: flex; gap: 7px; }
.ep-colors button { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); transition: transform 300ms var(--glide), box-shadow 300ms var(--glide); }
.ep-colors button:hover { transform: scale(1.1); }
.ep-colors button[aria-pressed="true"] { box-shadow: 0 0 0 2.5px #fff, 0 0 0 4px var(--ink); }
.ep-init { font: 550 13px/1 var(--ui); color: var(--ink-2); padding: 8px 4px; }
.ep-init:hover { color: var(--ink); }
.ep-plugs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.ep-plug { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 12px 0 8px; border-radius: 15px; background: var(--ground); text-align: left; font-size: 14px; color: var(--ink-2);
  transition: background-color 300ms var(--glide), box-shadow 300ms var(--glide), color 300ms var(--glide); }
.ep-plug b { flex: 1; font-weight: 550; }
.ep-plug .ep-ok { width: 18px; height: 18px; opacity: 0; color: var(--green); transition: opacity 240ms var(--glide); }
.ep-plug:hover { color: var(--ink); background: #EDF1EF; }
.ep-plug[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 70%, var(--ink)); }
.ep-plug[aria-pressed="true"] .ep-ok { opacity: 1; }
.ep-help { font-size: 13.5px; color: var(--muted); margin: -4px 0 0; }
.ep-ints button { height: 36px; padding: 0 15px; font-size: 13.5px; }
.ep-foot { margin: 0; padding: 16px 36px 22px; border-top: 1px solid var(--line); background: #fff; }
.ichips { display: flex; flex-wrap: wrap; gap: 6px; }
.ichip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 99px; background: var(--ground); font: 500 13px/1 var(--ui); color: var(--ink-2); }
.prof-build { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--spark) 11%, #fff); font-size: 14.5px; color: var(--ink); }
.prof-build svg.i { width: 18px; height: 18px; flex: none; color: var(--green); margin-top: 1px; }
.prof-you { color: var(--ink-2); background: var(--ground); }
.prof-you::before { display: none; }

/* My groups: your groups as cards, then every other public group as a ranked list with search and sort */
.mg-rooms { margin-top: 30px; }
.mg-more { margin-top: 44px; }
.mg-more-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.mg-more-head p { margin-top: 6px; color: var(--ink-2); font-size: 16px; }
.mg-tools { display: flex; align-items: center; gap: 12px; }
.mg-q { width: 240px; }
.mg-sort { display: flex; gap: 4px; padding: 4px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.mg-sort button { height: 34px; padding: 0 14px; border-radius: 99px; font: 550 13px/1 var(--ui); color: var(--muted); white-space: nowrap; transition: background-color 260ms var(--glide), color 260ms var(--glide); }
.mg-sort button:hover { color: var(--ink); }
.mg-sort button[aria-pressed="true"] { background: var(--forest); color: #fff; }
.mg-list { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.mg-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 18px; padding: 16px 18px; border-radius: 24px; background: #fff; cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line), var(--lift-1); transition: box-shadow 400ms var(--glide), translate 400ms var(--glide), opacity 400ms var(--glide); }
.mg-row:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent), var(--lift-2); translate: 0 -1px; }
.mg-row.leaving { opacity: 0; translate: 0 -6px; }
.mg-badge { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(150deg, color-mix(in srgb, var(--c) 82%, #fff), var(--c)); box-shadow: 0 8px 16px -10px var(--c); }
.mg-badge svg.i { width: 22px; height: 22px; }
.mg-name { display: flex; align-items: center; gap: 10px; }
.mg-name b { font: 600 16.5px/1.2 var(--ui); letter-spacing: -.025em; }
.mg-name .room-live { font-size: 12px; }
.mg-about { display: block; margin-top: 3px; font-size: 14px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* who started a member's group: a long name ends in an ellipsis on the card instead of running past it */
.room-top { max-width: 100%; }
.room-top > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mg-by { display: block; margin-top: 2px; font: 550 12.5px/1.3 var(--ui); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-why { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.mg-why span { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 99px; background: rgba(11,122,83,.08); color: var(--green); font: 550 12px/1 var(--ui); }
.mg-side { display: flex; align-items: center; gap: 10px; }
.mg-n { font-size: 13px; color: var(--muted); white-space: nowrap; }
.mg-row .btn { min-width: 92px; }
.mg-none { padding: 30px; text-align: center; color: var(--ink-2); border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.mg-list.swap .mg-row { animation: p-swap 420ms var(--glide) both; animation-delay: calc(min(var(--i), 8) * 30ms); }
[data-calm] .mg-list.swap .mg-row { animation: none; }
.mg-name .room-live { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font: 550 12px/1 var(--ui); }
.mg-side .stack { margin: 0; display: flex; align-items: center; }
.mg-side .stack .av { width: 26px; height: 26px; font-size: 10px; margin-left: -8px; box-shadow: 0 0 0 2px #fff; }
.mg-side .stack .av:first-child { margin-left: 0; }
/* the greeting (notes 1-2): "Good afternoon," always on one line, the name on the line below */
.w-copy h1 #w-hello { display: block; white-space: nowrap; }
.w-copy h1 em { display: block; margin-top: .02em; }
/* replies like Instagram: a heart on every reply, time · likes · Reply under it, replies to a reply one step in,
   "View N more replies" and "Hide replies" as quiet lines, and a reply box that's always there */
.replies:not(:empty) { gap: 12px; margin-top: 10px; }
.reply { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.reply.child { margin-top: 10px; }
.reply.child .av { width: 24px; height: 24px; font-size: 8.5px; }
.r-main { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.r-bub { max-width: 100%; }
.r-meta { display: flex; align-items: center; gap: 14px; margin: 4px 0 0 14px; font: 500 12.5px/1 var(--ui); color: var(--muted); }
.r-meta .r-likes { font-weight: 600; color: var(--ink-2); }
.r-reply { font: 600 12.5px/1 var(--ui); color: var(--ink-2); padding: 4px 0; transition: color 300ms var(--glide); }
.r-reply:hover { color: var(--green); }
.r-meta .mine-menu { opacity: 0; transition: opacity 200ms var(--glide); }
.reply:hover > .r-main > .r-meta .mine-menu, .r-meta .mine-menu.open, .r-meta .mine-menu:focus-within { opacity: 1; }
.r-meta .mm-btn { width: 24px; height: 24px; }
.r-heart { width: 30px; height: 30px; margin-top: 4px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: color 300ms var(--glide), transform 300ms var(--glide); }
.r-heart svg.i { width: 15px; height: 15px; }
.r-heart:hover { color: var(--ink); }
.r-heart.on { color: #E2453C; }
.r-heart.on svg.i { fill: currentColor; }
.r-heart.pop { animation: r-pop 320ms var(--glide); }   /* the same crisp pop as a post's heart */
@keyframes r-pop { 35% { transform: scale(1.15); } 100% { transform: none; } }
.r-kids { align-self: stretch; }
.r-more { display: inline-flex; align-items: center; gap: 12px; margin: 2px 0 0 40px; padding: 4px 0; font: 600 13px/1 var(--ui); color: var(--muted); transition: color 300ms var(--glide); }
.r-main .r-more { margin: 10px 0 0 14px; }
.r-more i { width: 24px; height: 1px; background: currentColor; opacity: .6; }
.r-more:hover { color: var(--ink); }
.reply-box { display: flex !important; margin-top: 14px; }
.rb-to { display: inline-flex; align-items: center; gap: 4px; flex: none; height: 28px; padding: 0 4px 0 10px; border-radius: 99px; background: var(--ground); font: 500 12.5px/1 var(--ui); color: var(--ink-2); white-space: nowrap; }
.rb-to[hidden] { display: none; }
.rb-to b { font-weight: 600; color: var(--ink); }
.rb-x { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.rb-x:hover { background: #fff; color: var(--ink); }
.rb-x svg.i { width: 12px; height: 12px; }
.rb-post { padding: 0 14px; height: 36px; border-radius: 99px; font: 650 14px/1 var(--ui); color: var(--green); transition: opacity 250ms var(--glide), background-color 250ms var(--glide); }
.rb-post:disabled { opacity: .35; cursor: default; }
.rb-post:not(:disabled):hover { background: rgba(11,122,83,.08); }

/* posting (notes 8-9): the composer grows when you start, with Photo or file, Background and Stickers under it, and a
   live preview that is exactly what posts. Stickers drag anywhere on the preview. */
.composer { display: block; padding: 10px 12px; border-radius: 30px; transition: border-radius 400ms var(--glide); }
.cp-row { display: flex; align-items: center; gap: 12px; }
.cp-row textarea { flex: 1; min-width: 0; border: 0; background: none; resize: none; font: inherit; font-size: 16px; line-height: 1.45; padding: 11px 0; color: var(--ink); max-height: 180px; }
.cp-row textarea::placeholder { color: var(--muted); }
.cp-row textarea:focus-visible { outline: none; }
.cp-bar { display: flex; align-items: center; gap: 6px; margin: 6px 0 0 50px; }
.cp-bar #post-send { margin-left: auto; }
.cp-tool { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border-radius: 99px; font: 550 13.5px/1 var(--ui); color: var(--ink-2); cursor: pointer;
  transition: background-color 300ms var(--glide), color 300ms var(--glide); }
.cp-tool:hover, .cp-tool[aria-expanded="true"] { background: var(--ground); color: var(--ink); }
.cp-tool.on { color: var(--green); }
.cp-tool svg.i { width: 17px; height: 17px; }
.cp-dot { width: 15px; height: 15px; border-radius: 50%; background: conic-gradient(#2FCB8F, #3D9BFF, #7C83F7, #FF6F4F, #F2B233, #2FCB8F); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.cp-stage { position: relative; margin: 10px 0 4px 50px; }
.cp-tip { display: block; margin-top: 6px; font: 500 12px/1 var(--ui); color: var(--muted); }
.cp-filechip, .post-file { display: inline-flex; align-items: center; gap: 10px; margin: 10px 0 0 50px; padding: 8px 8px 8px 12px; border-radius: 14px; background: var(--ground); }
.post-file { margin: 14px 0 0; padding-right: 16px; }
.cp-filechip[hidden] { display: none; }
.cp-filechip svg.i, .post-file svg.i { width: 20px; height: 20px; color: var(--green); }
.cp-filechip b, .post-file b { display: block; font: 600 13.5px/1.2 var(--ui); color: var(--ink); }
.cp-filechip small, .post-file small { font-size: 12px; color: var(--muted); }
/* the canvas: a background, the words big when there's a background, a photo, and stickers on top */
.cp-canvas { position: relative; overflow: hidden; border-radius: 22px; min-height: 120px; background: var(--ground); isolation: isolate; container-type: inline-size; }
.cp-canvas.has-bg { aspect-ratio: 16 / 8; display: grid; place-items: center; padding: 34px 44px; }
.cp-canvas.has-img:not(.has-bg) { background: #0A120F; }
.cp-canvas .cp-img { display: block; width: 100%; max-height: 460px; object-fit: cover; }
.cp-canvas.has-bg .cp-img { position: relative; z-index: 0; width: auto; max-width: 62%; max-height: 64%; border-radius: 14px; box-shadow: 0 24px 40px -20px rgba(0,0,0,.5); grid-row: 1; grid-column: 1; align-self: start; }
.cp-canvas.has-bg.has-img { place-items: center; grid-template-rows: 1fr auto; gap: 14px; aspect-ratio: 16 / 10; }
.cp-words { position: relative; z-index: 1; margin: 0; text-align: center; font: 650 clamp(20px, 4.4cqw, 34px)/1.15 var(--ui); letter-spacing: -.035em; color: var(--ink); text-wrap: balance; max-width: 26ch; }
.cp-canvas.dark .cp-words { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.bg-mint { background: radial-gradient(70% 90% at 80% 10%, #C9F6E3, transparent 70%), radial-gradient(60% 80% at 10% 90%, #DDF3FF, transparent 70%), #F1FBF6; }
.bg-forest { background: radial-gradient(60% 80% at 85% 0%, rgba(62,224,166,.45), transparent 70%), linear-gradient(160deg, #041B12, #0A4A33 55%, #0B7A53); }
.bg-night { background: radial-gradient(1.5px 1.5px at 20% 30%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 70% 20%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 45% 60%, #fff 50%, transparent 51%),
  radial-gradient(1.4px 1.4px at 85% 70%, #fff 50%, transparent 51%), radial-gradient(60% 70% at 80% 10%, rgba(124,131,247,.6), transparent 70%), linear-gradient(170deg, #0E1238, #262B78 60%, #4B4FB0); }
.bg-sunrise { background: radial-gradient(50% 70% at 50% 110%, #FFE29A, transparent 70%), linear-gradient(170deg, #C2477A, #FF6F4F 55%, #FFB27A); }
.bg-ocean { background: radial-gradient(60% 80% at 15% 0%, rgba(143,211,255,.7), transparent 70%), linear-gradient(165deg, #0B3A66, #1D6FC4 55%, #3D9BFF); }
.bg-paper { background: radial-gradient(rgba(10,18,15,.07) 1px, transparent 1.2px) 0 0 / 14px 14px, #F7F2E8; }
/* stickers */
.cp-fx { position: absolute; z-index: 2; translate: -50% -50%; touch-action: none; user-select: none; }
#composer .cp-fx { cursor: grab; }
#composer .cp-fx:hover { filter: drop-shadow(0 0 0 #fff) drop-shadow(0 4px 12px rgba(0,0,0,.18)); }
.cp-fx.dragging { cursor: grabbing; scale: 1.06; z-index: 3; }
.fx-x { position: absolute; top: -10px; right: -10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: var(--lift-1); opacity: 0; transition: opacity 200ms; }
.cp-fx:hover .fx-x { opacity: 1; }
#q-list .fx-x { position: static; opacity: 1; box-shadow: none; background: transparent; flex: none; }
.cp-filechip .fx-x { position: static; opacity: 1; box-shadow: none; background: transparent; }
.fx-x svg.i { width: 12px; height: 12px; }
.fx-pill { display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border-radius: 99px; background: #fff; color: var(--ink); font: 700 14px/1 var(--ui); letter-spacing: -.01em; white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.4); rotate: -4deg; }
.fx-pill.ba { background: #F2B233; color: #2B1E00; rotate: 3deg; }
.fx-pill.cl { background: #0A4A33; color: #fff; rotate: -2deg; box-shadow: inset 0 0 0 1px rgba(62,224,166,.5), 0 10px 24px -10px rgba(0,0,0,.4); }
.fx-star { display: grid; place-items: center; width: 52px; height: 52px; color: #F2B233; filter: drop-shadow(0 6px 10px rgba(242,178,51,.45)); }
.fx-star svg.i { width: 52px; height: 52px; fill: currentColor; stroke: #fff; stroke-width: .8; animation: fx-turn 6s linear infinite; }
@keyframes fx-turn { to { rotate: 360deg; } }
.fx-spk, .fx-conf { position: relative; display: block; width: 120px; height: 70px; pointer-events: none; }
.cp-fx .fx-spk, .cp-fx .fx-conf { pointer-events: auto; }
.fx-spk i { position: absolute; width: 10px; height: 10px; background: #fff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: fx-tw 1.8s ease-in-out infinite; }
.fx-spk i:nth-child(1) { left: 8%; top: 20%; } .fx-spk i:nth-child(2) { left: 30%; top: 62%; animation-delay: .3s; scale: .7; } .fx-spk i:nth-child(3) { left: 52%; top: 10%; animation-delay: .6s; scale: 1.3; }
.fx-spk i:nth-child(4) { left: 70%; top: 55%; animation-delay: .9s; } .fx-spk i:nth-child(5) { left: 88%; top: 18%; animation-delay: 1.2s; scale: .8; } .fx-spk i:nth-child(6) { left: 18%; top: 85%; animation-delay: .5s; scale: .6; } .fx-spk i:nth-child(7) { left: 80%; top: 88%; animation-delay: 1s; scale: .7; }
.cp-canvas:not(.dark) .fx-spk i { background: #F2B233; }
@keyframes fx-tw { 0%, 100% { opacity: .3; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.1); } }
.fx-conf i { position: absolute; width: 7px; height: 11px; border-radius: 2px; animation: fx-fall 2.6s ease-in-out infinite; }
.fx-conf i:nth-child(5n+1) { background: #2FCB8F; } .fx-conf i:nth-child(5n+2) { background: #3D9BFF; } .fx-conf i:nth-child(5n+3) { background: #FF6F4F; } .fx-conf i:nth-child(5n+4) { background: #F2B233; } .fx-conf i:nth-child(5n) { background: #7C83F7; }
.fx-conf i:nth-child(1) { left: 4%; top: 10%; } .fx-conf i:nth-child(2) { left: 14%; top: 60%; animation-delay: -.4s; } .fx-conf i:nth-child(3) { left: 24%; top: 25%; animation-delay: -.9s; }
.fx-conf i:nth-child(4) { left: 33%; top: 75%; animation-delay: -1.3s; } .fx-conf i:nth-child(5) { left: 42%; top: 5%; animation-delay: -1.7s; } .fx-conf i:nth-child(6) { left: 50%; top: 50%; animation-delay: -.2s; }
.fx-conf i:nth-child(7) { left: 58%; top: 18%; animation-delay: -2.1s; } .fx-conf i:nth-child(8) { left: 66%; top: 70%; animation-delay: -.7s; } .fx-conf i:nth-child(9) { left: 74%; top: 30%; animation-delay: -1.5s; }
.fx-conf i:nth-child(10) { left: 82%; top: 80%; animation-delay: -.3s; } .fx-conf i:nth-child(11) { left: 90%; top: 12%; animation-delay: -1.1s; } .fx-conf i:nth-child(12) { left: 96%; top: 55%; animation-delay: -1.9s; }
.fx-conf i:nth-child(13) { left: 10%; top: 90%; animation-delay: -2.3s; } .fx-conf i:nth-child(14) { left: 62%; top: 92%; animation-delay: -.5s; }
@keyframes fx-fall { 0%, 100% { transform: translateY(-4px) rotate(0); } 50% { transform: translateY(5px) rotate(160deg); } }
[data-calm] .fx-spk i, [data-calm] .fx-conf i, [data-calm] .fx-star svg.i { animation: none; }
.art-custom { padding: 0; background: none; }
.art-custom .cp-canvas { border-radius: 22px; }
.cp-canvas.has-bg.has-img { grid-template-rows: auto auto; align-content: center; gap: 18px; aspect-ratio: auto; min-height: 340px; }
.cp-canvas.has-bg .cp-img { align-self: center; max-height: 240px; }
.fx-spk i { width: 13px; height: 13px; }
/* sending: the flying copy is the real bubble at its real size, moved and scaled only, from the send arrow */
.b.me.sending { position: fixed; z-index: 50; margin: 0; max-width: none; box-sizing: border-box; pointer-events: none; transform-origin: 100% 100%; will-change: transform, opacity; animation: none; }
/* Phones: the home starts right under its top bar, the plugin web sits
   fully between the greeting and the doors, and the doors are small and tidy. Desktop is untouched. */
@media (max-width: 720px) {
  .w-copy { left: 24px; right: 24px; top: 80px; width: auto; }
  .since { display: none; }
  .w-members { border-left: 0; padding-left: 0; } /* it wraps under the date on a phone, so no divider */
  .olabel { height: 26px; padding: 0 10px 0 9px; font-size: 11.5px; gap: 6px; } /* the doors' peeks carry what's new on a phone; See all lives in the bell */
  /* On a phone, orbit() places nodes across a portrait canvas, not a cropped desktop square.
     Settled 4s pose at 393x852 / 360x780 / 430x932: x19–376 / 16–346 / 23–409 (alpha > 35/255).
     It fills the measured height above bottom-anchored doors. phoneSpacing() keeps
     card sizes and horizontal positions; short screens keep the earlier minimum and scroll.
     Labels stay at least 14px inside each edge (measured minimum 14.77px). Keep this camera
     placement paired with phonePlacement() in stage3d.js; never scale the bitmap with a transform. */
  .welcome { --wa: 236px; --wb: 190px; container-type: size; }
  .welcome { overflow-y: auto; scrollbar-width: none; }
  .welcome::-webkit-scrollbar { display: none; }
  .w-top { left: 24px; }
  .w-top .brand { padding-left: 0; }
  .welcome[data-phone-spaced] #hero-canvas, .welcome[data-phone-spaced] #hero-labels { top: var(--phone-web-top); height: var(--phone-web-height); }
  .welcome[data-phone-spaced]:not([data-phone-scroll]) { overflow-y: hidden; }
  .welcome[data-phone-spaced] .doors { top: var(--phone-doors-top); bottom: auto; margin-bottom: 20px; }
  #hero-canvas, #hero-labels { inset: auto; left: 0; top: calc(var(--wa) + 24px); width: 100cqw;
    height: calc(100cqh - var(--wa) - var(--wb) - 56px); }
  .doors { left: 16px; right: 16px; bottom: 20px; gap: 10px; align-items: stretch; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .door { justify-content: flex-start; gap: 14px; min-height: 0; padding: 18px 16px 20px 18px; border-radius: 24px; }
  .door::after { left: 18px; right: 18px; }
  .d-name { font-size: 22px; line-height: 1; letter-spacing: -.035em; gap: 6px; }
  .d-name .arrow { width: 18px; height: 18px; flex: none; }
  .d-peek { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.3; }
  .d-peek > :first-child { height: 32px; display: flex; align-items: center; }
  .d-peek > span:last-child { text-wrap: balance; }
  .d-peek b { white-space: nowrap; }
  .screen { padding-top: 76px; }
  .page-head { margin-top: 8px; }
}
/* narrow phones: the three doors become a tidy stack, one slim row each (name and one line left, its picture right) */
@media (max-width: 480px) {
  .welcome { --wb: 252px; }
  .doors { grid-template-columns: 1fr; gap: 8px; bottom: 16px; }
  .door { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; row-gap: 5px; padding: 13px 16px 14px 18px; border-radius: 20px; }
  .door::after { left: 18px; right: auto; width: 40px; }
  .d-name { grid-column: 1; grid-row: 1; font-size: 18px; justify-content: flex-start; }
  .d-name .arrow { display: none; }
  .d-peek { display: contents; }
  .d-peek > :first-child { grid-column: 2; grid-row: 1 / span 2; height: auto; }
  .d-peek > span:last-child { grid-column: 1; grid-row: 2; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
/* the plugin cards (and Your plugins) two to a row on small tablets, three only from 721 px */
@media (max-width: 720px) { .grid, .ygrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
/* phone bars: the top bar and the bottom tab bar fit a phone screen. Back and Search become round icons
   (Search opens full width when tapped), Get help steps aside (it would push the bar off the screen), and the tab bar
   drops its home button (the logo up top goes home too). */
@media (max-width: 560px) {
  .top { left: 16px; right: 16px; }
  .w-top { left: 24px; right: 16px; }
  .top .logo { height: 20px; }
  .top .brand { padding: 9px 8px; }
  .top .right { gap: 4px; }
  .backbtn { width: 44px; padding: 0; justify-content: center; }
  .backbtn span { display: none; }
  #get-help, .search kbd { display: none; }
  .search { width: 44px; padding: 0; gap: 0; justify-content: center; }
  .search input { flex: 0 0 0; width: 0; }
  .search:focus-within { position: absolute; z-index: 3; left: 0; right: 0; width: auto; padding: 0 16px; gap: 9px; justify-content: flex-start; }
  .search:focus-within input { flex: 1; width: auto; }
  .island { bottom: 16px; padding: 5px; max-width: calc(100% - 24px); }
  .island .home { display: none; }
  .island .tab { height: 44px; padding: 0 14px; gap: 6px; font-size: 14px; }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 16px; } /* the plugin cards: one column, the third no longer sits off the screen */
  .yours-head { flex-wrap: wrap; row-gap: 0; }
  .yours-plug { width: min(300px, 100%); height: auto; aspect-ratio: 300 / 88; margin: 2px 0 -10px -4px; } /* the 3D plug drops under Your plugins, same shape */
  .ygrid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  /* Custom plugins: picture and words side by side, the button full width under them */
  .custom, .custom.offer { grid-template-columns: auto minmax(0, 1fr); gap: 18px 16px; padding: 22px 22px 22px 20px; border-radius: 28px; }
  .custom > .btn { grid-column: 1 / -1; justify-content: center; }
  .cu-art { width: 64px; height: 64px; }
  .cu-ring { border-radius: 22px; }
  .cu-ic svg.i { width: 28px; height: 28px; }
  .cu-copy h3 { font-size: 30px; }
  .custom h3 { font-size: 24px; }
  .cu-copy p { text-wrap: pretty; }
}
/* a laptop window zoomed in (at 200% a 1280 px window is 640 px wide, and the bar ran 47 px off the right
   edge, the account button with it): Back and Search take the phone's round icons, Search opening across the bar when it's
   clicked, so Get help, the bell and your picture all stay on screen. Nothing else changes from the laptop view. */
@media (min-width: 561px) and (max-width: 760px) {
  .backbtn { width: 44px; padding: 0; justify-content: center; }
  .backbtn span, .search kbd { display: none; }
  .search { width: 44px; padding: 0; gap: 0; justify-content: center; }
  .search input { flex: 0 0 0; width: 0; }
  .search:focus-within { position: absolute; z-index: 3; left: 0; right: 0; width: auto; padding: 0 16px; gap: 9px; justify-content: flex-start; }
  .search:focus-within input { flex: 1; width: auto; }
}
/* a laptop window zoomed to 200% on a short screen (at 640x400 the doors sat on the greeting, and the first
   steps and the news had no room and no way to reach them): the welcome is one column that scrolls, the greeting, then
   Your first steps and Since you were last here, then the doors. The 3D art steps aside; there's no room for it. */
@media (min-width: 561px) and (max-width: 760px) and (max-height: 560px) {
  .welcome, .welcome[data-phone-spaced]:not([data-phone-scroll]) { overflow-y: auto; }
  .w-copy { position: relative; left: auto; right: auto; top: auto; width: auto; padding: 84px 28px 0; }
  .since { display: block; }
  .doors, .welcome[data-phone-spaced] .doors { position: relative; inset: auto; margin: 28px 16px 20px; }
  #hero-canvas, #hero-labels, .welcome[data-phone-spaced] #hero-canvas, .welcome[data-phone-spaced] #hero-labels { visibility: hidden; }
}
/* Edit profile in a laptop window zoomed to 200% (the preview kept half the sheet and the form ran off its
   right edge): one column that scrolls as a whole, the form first with Save held at the foot, the preview under it */
@media (min-width: 561px) and (max-width: 760px) {
  .sheet-card.ep, html.has-newver .sheet-card.ep { display: flex; flex-direction: column; height: auto; overflow-y: auto; scroll-padding-bottom: 96px; }
  .ep-main { order: 1; min-height: auto; }
  .ep-side { order: 2; border-right: 0; border-top: 1px solid var(--line); padding: 24px; }
  .ep-head { padding: 24px 24px 10px; }
  .ep-scroll { flex: none; overflow: visible; padding: 0 24px 10px; }
  .ep-foot { position: sticky; bottom: 0; z-index: 1; padding: 14px 24px 16px; }
}
/* the narrowest phones: three door pictures instead of five, so the door's line isn't cut short */
@media (max-width: 380px) { .d-thumbs .thumb:nth-child(n+4) { display: none; } }

/* On a phone the home uses a width-sized camera with its own node arrangement.
   Canvas pixels and label clearance are measured by a phone check script. */
@media (max-width: 720px) {
  /* A plugin's example, then its words. Back remains above both in the top bar. */
  body[data-view="plugin"] .screen { padding-left: 16px; padding-right: 16px; }
  .stage[data-ex] { height: auto; display: flex; flex-direction: column; padding: 18px; gap: 28px; border-radius: 28px; }
  .stage[data-ex] .stage-ex { position: relative; inset: auto; width: 100%; }
  .stage[data-ex] .stage-copy { position: relative; inset: auto; width: 100%; }
  .stage[data-ex] .stage-copy h1 { font-size: clamp(34px, 9vw, 46px); overflow-wrap: break-word; text-wrap: balance; }
  .stage[data-ex] .stage-copy p { max-width: none; text-wrap: pretty; }
  .stage[data-ex] .ex-media { width: 100%; border-radius: 20px; }
  .stage[data-ex] .ex-film { height: auto; width: 100%; max-width: 360px; border-radius: 20px; }
  .stage-copy .actions { flex-wrap: wrap; }
  .under { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .under .panel { padding: 24px; }
  .under .steps ol { grid-template-columns: minmax(0, 1fr); }
  .under .codeline { flex-wrap: wrap; }
  .under code { overflow-wrap: anywhere; white-space: normal; }

  /* Community: full-width groups and feed, then the suggestions and people. */
  body[data-view="community"] .screen { padding-left: 20px; padding-right: 20px; }
  body[data-view="community"] .row-head { flex-direction: column; align-items: stretch; gap: 24px; }
  body[data-view="community"] .h1.big.one-line { white-space: normal; font-size: clamp(36px, 10vw, 48px); text-wrap: balance; }
  body[data-view="community"] .lede { font-size: 17px; text-wrap: pretty; }
  #seg { width: 100%; align-self: stretch; }
  #seg button { flex: none; min-width: 0; padding: 0; font-size: var(--phone-seg-font, 13px); }
  /* Phone bars: measured word gaps, with five pixels above/below the pill. */
  .island { width: calc(100% - 40px); max-width: none; padding: 5px; gap: 0; }
  .island .home { display: none; }
  .island .tabs { width: 100%; gap: 0; }
  .seg { display: flex; width: 100%; gap: 0; }
  .island .tab, .seg > button { flex: none; width: var(--phone-tab-width, auto); margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; gap: 0; }
  .seg > button { font-size: var(--phone-seg-font, inherit); }
  .island .tab:first-of-type, .seg > button:first-of-type { margin-left: var(--phone-end-space, 0px); }
  .island .tab:last-of-type, .seg > button:last-of-type { margin-right: var(--phone-end-space, 0px); }
  .island .tab .pip, .island .tab .count { position: absolute; left: calc(50% + var(--phone-word-width, 0px) / 2 + 2px); top: 2px; }
  .island .tab .pip { top: 7px; }
  .rooms { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 24px; }
  .room { padding: 16px 18px; border-radius: 22px; gap: 6px; }
  .room b { margin-top: 3px; font-size: 21px; }
  .room-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .room-foot { margin-top: 2px; padding-top: 0; }
  .room-foot .stack { margin-top: 0; }
  .cols { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 24px; }
  .cols > aside { position: static; max-height: none; }
  .cols > *, .feed, .post, .composer { min-width: 0; }
  .post { padding: 18px 16px 16px; }
  .post-head { flex-wrap: wrap; gap: 8px; }
  .post-head > span:not(.av) { min-width: 0; }
  .post-head .mine-menu { margin-left: auto; }
  .post-actions { flex-wrap: wrap; }
  .r-meta .mm-pop { left: 0; right: auto; }
  .post-actions .mini-plug { margin-left: 0; }
  .post p.body, .r-bub, .joinstage p { text-wrap: pretty; overflow-wrap: break-word; }
  .art-usage { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .au-obj .thumb { width: 100px; height: 100px; }
  .au-row { grid-template-columns: 104px minmax(0, 1fr) 38px; gap: 8px; font-size: 12px; }
  .art-note { height: 280px; }
  .an-card { left: 12px; right: 12px; width: auto; padding: 16px; }
  .an-row { flex-wrap: wrap; gap: 6px; font-size: 12px; }
  .an-row small { margin-left: 26px; }
  .art-site { padding: 16px 12px 0; }
  .as-page { padding-left: 14px; padding-right: 14px; }
  .as-nav { gap: 8px; font-size: 10px; }
  .as-nav b { font-size: 12px; }
  .as-hero { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .as-h { font-size: 26px; }
  .ms-row { grid-template-columns: minmax(0, 1fr); }
  .ms-tile { height: 260px; }
  .cp-bar { margin-left: 0; flex-wrap: wrap; }
  .cp-tool { padding-left: 8px; padding-right: 8px; }
  .cp-pick, .cp-stage, .cp-filechip { margin-left: 0; }
  .cp-canvas.has-bg { padding: 24px; }
  .sh-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sh-grid { grid-template-columns: minmax(0, 1fr); }
  .shcard.sh-pick { flex-direction: column; }
  .shcard.sh-pick .sh-media { flex: none; height: 300px; }
  .shcard.sh-pick .sh-body { width: 100%; padding: 20px; }
  .sh-foot { flex-wrap: wrap; }
  .sh-win { height: auto; min-height: 28px; padding-top: 6px; padding-bottom: 6px; }
  .sh-win i { flex: none; }
  .mg-tools { flex-direction: column; align-items: stretch; width: 100%; }
  .mg-q { width: 100%; flex: none; }
  .mg-sort { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 20px; }
  .mg-row { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 18px; }
  .mg-badge { display: none; }
  .mg-txt { grid-column: 1 / -1; min-width: 0; }
  .mg-name { flex-wrap: wrap; gap: 6px; }
  .mg-about { white-space: normal; text-wrap: pretty; }
  .mg-side { flex-wrap: wrap; gap: 8px; }
  .mg-row .btn { min-width: 76px; }

  /* Messages: a native-scrolling list; a separate, edge-to-edge conversation. */
  body[data-view="messages"]:not(.at-welcome) .screen { padding: 76px 0 0; max-width: none; }
  .msgs { display: block; height: calc(100dvh - 76px); margin: 0; border-radius: 0; box-shadow: none; }
  .convos { height: 100%; padding: 12px 16px 0; box-shadow: none; }
  .convos-top { flex: none; }
  .clist { flex: 1; min-height: 0; padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
  .clist, .bubbles { scrollbar-width: none; }
  .clist::-webkit-scrollbar, .bubbles::-webkit-scrollbar { display: none; }
  .msgs .thread { display: none; }
  body.phone-conversation:not(.at-welcome) .top, body.phone-conversation:not(.at-welcome) .island { display: none; }
  body.phone-conversation:not(.at-welcome) .screen { padding-top: 0; }
  .phone-conversation .msgs { height: 100dvh; }
  .phone-conversation .convos { display: none; }
  .phone-conversation .msgs .thread { display: flex; height: 100%; }
  .phone-conversation .thread-head { flex: none; padding: calc(12px + env(safe-area-inset-top)) 16px 12px 8px; gap: 10px; flex-wrap: wrap; }
  .phone-conversation .thread-head > span:not([class]) { flex: 1; min-width: 0; }
  .phone-conversation .thread-head .th-right { width: 100%; justify-content: flex-end; gap: 10px; }
  .phone-conversation .thread-head .who-sub { text-wrap: pretty; }
  .phone-conversation .bubbles { padding: 12px 16px 20px; min-height: 0; }
  .phone-conversation .run { max-width: 88%; }
  .phone-conversation .send-row { position: relative; inset: auto; flex: none; border-radius: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .phone-send-strip { position: relative; z-index: 2; flex: none; padding: 0 12px calc(12px + env(safe-area-inset-bottom)); background: #fff; }
  .phone-conversation .phone-send-strip .send-row { border-radius: 30px; padding: 8px; align-items: center; }
  .phone-conversation #draft { min-width: 0; font-size: 16px; }
  #phone-thread-back { flex: none; width: 38px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
  .join-row { flex-wrap: wrap; }
  .join-row .jr-copy { min-width: 0; }
}
/* the Feel lab button on phones: above the tab bar instead of on its Plugins tab, and out of the way inside a chat */
@media (max-width: 720px) { .lab-open { bottom: 84px; left: 12px; } body.phone-conversation .lab-open { display: none; } }

/* ---------- the background and sticker tray ---------- */
.cp-pick { margin: 12px 0 2px 50px; padding: 12px 12px 10px; border-radius: 22px; background: var(--ground); box-shadow: inset 0 0 0 1px var(--line); animation: rise 420ms var(--glide) both; }
.cp-pick[hidden] { display: none; }
.cp-tray-h { display: flex; align-items: baseline; gap: 10px; padding: 0 4px 10px; }
.cp-tray-h b { font: 600 14px/1 var(--ui); letter-spacing: -.01em; color: var(--ink); }
.cp-tray-h span { font-size: 12.5px; color: var(--muted); }
.cp-tray-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.cp-sw, .cp-st { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 6px 6px 8px; border-radius: 16px; font: 550 12px/1.15 var(--ui); color: var(--ink-2); text-align: center;
  transition: background-color 300ms var(--glide), color 300ms var(--glide), translate 400ms var(--glide); }
.cp-sw:hover, .cp-st:hover { background: #fff; color: var(--ink); translate: 0 -2px; }
.cp-sw:active, .cp-st:active { translate: 0 0; scale: .97; }
.cp-sw i { display: block; width: 100%; height: 56px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(10,18,15,.08); transition: box-shadow 300ms var(--glide); }
.cp-sw[aria-pressed="true"] { color: var(--green); }
.cp-sw[aria-pressed="true"] i { box-shadow: 0 0 0 2.5px var(--ground), 0 0 0 4.5px var(--green); }
.cp-sw i.bg-none { background: #fff repeating-linear-gradient(135deg, transparent 0 9px, rgba(10,18,15,.06) 9px 10px); }
.cp-st-prev { position: relative; display: block; width: 100%; height: 56px; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #0A4A33, #0B7A53); }
/* each preview is drawn full size in the middle of its tile, then shrunk around that middle, so every one sits dead center */
.cp-st-in { position: absolute; left: 50%; top: 50%; translate: -50% -50%; scale: .56; display: grid; place-items: center; }
.cp-st-in > * { rotate: 0deg !important; animation: none !important; }
/* the new backgrounds */
.bg-aurora { background: radial-gradient(60% 90% at 15% 10%, rgba(62,224,166,.75), transparent 65%), radial-gradient(55% 80% at 90% 30%, rgba(124,131,247,.8), transparent 65%), linear-gradient(170deg, #06221A, #0E1238); }
.bg-ink { background: radial-gradient(50% 70% at 85% 0%, rgba(62,224,166,.22), transparent 70%), linear-gradient(170deg, #0A120F, #17211D); }
.bg-blueprint { background: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(165deg, #0B3A66, #134E8A); }
.bg-citrus { background: radial-gradient(60% 80% at 85% 10%, #FFF3B0, transparent 70%), linear-gradient(160deg, #E9FBD9, #C8F2A8); }
.bg-lavender { background: radial-gradient(60% 80% at 15% 10%, #FFFFFF, transparent 70%), linear-gradient(165deg, #EEEBFF, #D9D5FF); }
.bg-sand { background: radial-gradient(60% 80% at 85% 0%, #FFF8EC, transparent 70%), linear-gradient(170deg, #F4E6CF, #E8D3B0); }
.cp-sw i.bg-mint, .cp-sw i.bg-paper, .cp-sw i.bg-citrus, .cp-sw i.bg-lavender, .cp-sw i.bg-sand { box-shadow: inset 0 0 0 1px rgba(10,18,15,.1); }
/* the new stickers */
.fx-pill svg { width: 16px; height: 16px; margin-right: 7px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fx-pill.sh { background: #19B57A; color: #fff; rotate: 2deg; }
.fx-pill.lv { background: #fff; rotate: -3deg; }
.fx-pill.lv i { width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: #E2563A; box-shadow: 0 0 0 0 rgba(226,86,58,.5); animation: fx-live 1.6s ease-out infinite; }
@keyframes fx-live { 0% { box-shadow: 0 0 0 0 rgba(226,86,58,.55); } 100% { box-shadow: 0 0 0 9px rgba(226,86,58,0); } }
.fx-pill.hr { background: #3D9BFF; color: #fff; rotate: -3deg; }
.fx-pill.nt { background: #262B78; color: #fff; rotate: 2deg; box-shadow: inset 0 0 0 1px rgba(154,160,255,.5), 0 10px 24px -10px rgba(0,0,0,.45); }
.fx-pill.nt svg { fill: #FFD27A; stroke: none; }
.fx-wow { display: grid; place-items: center; width: 84px; height: 84px; background: #F2B233; rotate: -8deg;
  clip-path: polygon(50% 0, 61% 18%, 82% 10%, 80% 32%, 100% 40%, 85% 56%, 96% 76%, 74% 78%, 68% 100%, 50% 86%, 32% 100%, 26% 78%, 4% 76%, 15% 56%, 0 40%, 20% 32%, 18% 10%, 39% 18%); }
.fx-wow b { font: 800 22px/1 var(--ui); letter-spacing: -.04em; color: #2B1E00; }
.fx-hearts { position: relative; display: block; width: 90px; height: 80px; }
.fx-hearts svg { position: absolute; width: 22px; height: 22px; fill: #FF6F8A; stroke: #fff; stroke-width: 1.2; animation: fx-rise 2.8s ease-in-out infinite; }
.fx-hearts svg:nth-child(1) { left: 6%; bottom: 0; } .fx-hearts svg:nth-child(2) { left: 32%; bottom: 20%; scale: .8; animation-delay: -.6s; }
.fx-hearts svg:nth-child(3) { left: 58%; bottom: 4%; scale: 1.15; animation-delay: -1.2s; } .fx-hearts svg:nth-child(4) { left: 78%; bottom: 30%; scale: .7; animation-delay: -1.8s; }
.fx-hearts svg:nth-child(5) { left: 44%; bottom: 52%; scale: .6; animation-delay: -2.3s; }
@keyframes fx-rise { 0%, 100% { translate: 0 4px; opacity: .55; } 50% { translate: 0 -8px; opacity: 1; } }
.fx-arrow { display: block; width: 110px; height: 64px; }
.fx-arrow svg { width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 4px 8px rgba(0,0,0,.25)); }
.cp-canvas:not(.dark) .fx-arrow svg { stroke: var(--ink); filter: none; }
.cp-st-prev .fx-arrow svg { stroke: #fff; }
/* every sticker on a post drifts a little on its own clock, so the post feels alive without anything jumping */
.cp-fx > * { animation: fx-drift 5.5s ease-in-out infinite; }
.cp-fx:nth-child(3n+1) > * { animation-duration: 6.4s; animation-delay: -1.3s; }
.cp-fx:nth-child(3n+2) > * { animation-duration: 4.9s; animation-delay: -2.6s; }
@keyframes fx-drift { 0%, 100% { translate: 0 0; } 33% { translate: 3px -4px; } 66% { translate: -2px 3px; } }
.cp-fx.dragging > * { animation-play-state: paused; }
[data-calm] .cp-fx > *, [data-calm] .fx-hearts svg, [data-calm] .fx-pill.lv i { animation: none; }

/* ---------- the post draft edits like the apps people know ----------
   An edit bar over the preview (Undo, Redo, Remove photo, Remove background), Start over beside Post, every sticker with
   its own remove button in view, and a picked sticker outlined so Delete knows which one. */
#composer:focus { outline: none; }
.cp-edit { display: flex; align-items: center; gap: 4px; margin: 12px 0 0 50px; }
.cp-edit[hidden] { display: none; }
.cp-edit-l { font: 600 12.5px/1 var(--ui); color: var(--muted); letter-spacing: .01em; margin-right: auto; }
.cp-edit-l[hidden] { display: block; visibility: hidden; }
.cp-eb { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px 0 9px; border-radius: 99px; font: 550 13px/1 var(--ui); color: var(--ink-2);
  background: var(--ground); box-shadow: inset 0 0 0 1px var(--line); transition: background-color 200ms, color 200ms, box-shadow 200ms, opacity 200ms; }
.cp-eb:hover:not(:disabled) { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), var(--lift-1); }
.cp-eb:disabled { opacity: .4; cursor: default; }
.cp-eb[hidden] { display: none; }
.cp-eb svg.i { width: 16px; height: 16px; stroke-width: 2; }
.cp-eb .cp-dot { width: 13px; height: 13px; }
.cp-edit-sep { width: 1px; height: 18px; margin: 0 4px; background: var(--line); }
.cp-edit-sep:last-child, .cp-edit-sep:has(~ .cp-eb[hidden]:last-of-type) { }
.cp-over { margin-left: auto; color: var(--muted); }
.cp-over[hidden] { display: none; }
.cp-over:hover { color: #C0392B; background: rgba(224,83,63,.08); }
.cp-over + #post-send { margin-left: 4px; }
.cp-done { margin-left: auto; height: 28px; padding: 0 12px; border-radius: 99px; font: 600 12.5px/1 var(--ui); color: var(--forest); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.cp-done:hover { box-shadow: inset 0 0 0 1px var(--line), var(--lift-1); }
#composer .cp-fx .fx-x { opacity: .92; width: 24px; height: 24px; top: -11px; right: -11px; box-shadow: 0 0 0 1px rgba(10,18,15,.08), 0 4px 10px -2px rgba(10,18,15,.3); }
#composer .cp-fx .fx-x:hover { background: #E0533F; color: #fff; }
#composer .cp-fx.sel { outline: 2px dashed rgba(255,255,255,.9); outline-offset: 6px; border-radius: 10px; filter: drop-shadow(0 0 0 #fff) drop-shadow(0 6px 16px rgba(0,0,0,.22)); }
#composer .cp-canvas:not(.dark) .cp-fx.sel { outline-color: rgba(11,122,83,.75); }
@media (max-width: 720px) { .cp-edit { margin-left: 0; flex-wrap: wrap; } .cp-eb span:not(.cp-dot) { display: none; } .cp-eb { padding: 0 9px; } }

/* ================= more page details ================= */
/* Note 7: nothing was
   slow to load (no long tasks, posts in the page at once); the entrance was. The composer took about 1 s to fade up and the
   posts blurred in one after another. Now the composer and the first post are in by about 0.5 s, with no blur. */
@keyframes rise-quick { from { opacity: 0; transform: translateY(12px); } }
.feed > .composer.rise { animation: rise-quick 520ms var(--glide) both; }
.cols > aside > .rise { animation: rise-quick 560ms var(--glide) both; animation-delay: 60ms; }
.post.pre { translate: 0 28px; scale: .985; filter: none; }
.post.in { transition: opacity 560ms var(--glide), translate 760ms var(--glide), scale 760ms var(--glide), box-shadow 700ms var(--glide);
  transition-delay: calc(var(--d, 0) * 70ms), calc(var(--d, 0) * 70ms), calc(var(--d, 0) * 70ms), 0ms; }
.rooms .room.fly { animation-duration: 760ms; animation-delay: calc(40ms + min(var(--i, 0), 6) * 50ms); }

/* ================= Mini apps: a fourth section, first in line. Breakaway Permits first, more to come.
   Its colors are Breakaway Permits' own (the --pm set just below: its blue first, then green and salmon). Built from the same pieces as Plugins: page head, white floating
   cards, the green buttons, the sliding switch. Laptop first; new grids drop to one column under 900 px. ================= */
/* Breakaway Permits' own colors, in the order of its three number boxes: primary blue, secondary green,
   tertiary salmon, mixed throughout. The blue (its cyan #5DDDEE) leads:
   --pm is mid, --pm-2 dark, --pm-hi light, --pm-text for words on white, --pm-tint a wash. --pg is its lime, --ps its peach,
   each with a dark for words and gradients. */
:root { --pm: #17B3CA; --pm-2: #0B8597; --pm-hi: #5DDDEE; --pm-text: #08788A; --pm-tint: #E2F8FB;
  --pg: #8FD12C; --pg-2: #4F8A0E; --pg-tint: #EEF9DC; --ps: #FF9A5C; --ps-2: #D35E28; --ps-tint: #FFF0E5; --pm-ink: #0F1E29; }
/* the mix: the three facts and the twelve trades go blue, green, salmon, like his boxes */
.mf-facts li:nth-child(2) { --pm: var(--pg); --pm-2: var(--pg-2); }
.mf-facts li:nth-child(3) { --pm: var(--ps); --pm-2: var(--ps-2); }
.ma-trades span:nth-child(3n+2) { --pm: var(--pg-2); --pm-tint: var(--pg-tint); }
.ma-trades span:nth-child(3n) { --pm: var(--ps-2); --pm-tint: var(--ps-tint); }
.ma-know li::marker { color: var(--pg-2); }
.app-ic { --c: var(--pm); width: 44px; height: 44px; border-radius: 13px; display: inline-grid; place-items: center; flex: none; color: #fff;
  background: linear-gradient(150deg, color-mix(in srgb, var(--c) 72%, #fff), var(--c) 46%, color-mix(in srgb, var(--c) 62%, #04241f));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 20px -10px color-mix(in srgb, var(--c) 80%, #000); }
.app-ic svg.i { width: 24px; height: 24px; stroke-width: 1.9; }
.app-ic.xs { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 0 0 2px #fff, 0 6px 12px -6px color-mix(in srgb, var(--c) 80%, #000); }
.app-ic.xs svg.i { width: 19px; height: 19px; }
.app-ic.l { width: 60px; height: 60px; border-radius: 18px; }
.app-ic.l svg.i { width: 32px; height: 32px; stroke-width: 1.8; }
.kicker .app-ic.xs { width: 24px; height: 24px; border-radius: 7px; box-shadow: none; }
.kicker .app-ic.xs svg.i { width: 15px; height: 15px; }

/* the featured app: words and your code on the left, the app on a phone on the right */
.mfeat { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: center; padding: 40px 44px; border-radius: 36px; overflow: hidden;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 26%, transparent), 0 30px 60px -32px color-mix(in srgb, var(--c) 55%, rgba(4,27,18,.5)), var(--lift-1); }
.mfeat::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(520px circle at 88% 40%, color-mix(in srgb, var(--c) 20%, transparent), transparent 70%), radial-gradient(420px circle at 0% 0%, rgba(62,224,166,.10), transparent 70%); }
.mf-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip.new { background: var(--forest); color: #fff; font-weight: 600; }
/* Breakaway Permits: the member trial isn't open yet, said as loudly as New */
.chip.soon-loud { gap: 7px; font-weight: 600; color: #7A4B00; background: #FFF1D6; box-shadow: inset 0 0 0 1px #F2C46D; }
.chip.soon-loud i { width: 7px; height: 7px; border-radius: 50%; background: #E39A12; }
.ma-price .mp-k .chip.soon-loud { margin-left: 8px; height: 26px; font-size: 12.5px; vertical-align: middle; }
.half { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 99px; font: 650 12.5px/1 var(--ui); color: var(--pm-2);
  background: color-mix(in srgb, var(--pm) 16%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pm) 34%, transparent); }
.mf-name { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.mf-name .h2 { font-size: 46px; line-height: 1; letter-spacing: -.055em; }
.mf-name .h2 em, .ma-copy .h1 em { color: var(--green); }
.mf-line { font-size: 18px; color: var(--ink-2); margin-top: 16px; max-width: 560px; }
.mf-facts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 600px; }
.mf-facts li { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border-radius: 18px; background: rgba(10,18,15,.035); }
.mf-facts b { font: 650 16px/1.15 var(--ui); letter-spacing: -.03em; }
.mf-facts span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.mf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; }
.mf-actions .btn .av.xs { width: 24px; height: 24px; font-size: 9px; }
.mf-art { display: grid; place-items: center; }

/* your member code: one box, the code in big plain letters and a Copy button */
.codebox { display: grid; gap: 8px; max-width: 520px; margin-top: 24px; padding: 16px 16px 16px 20px; border-radius: 22px; background: #fff;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--pm) 30%, transparent), 0 14px 30px -20px color-mix(in srgb, var(--pm-2) 50%, transparent);
  background-image: linear-gradient(90deg, color-mix(in srgb, var(--pm) 7%, #fff), #fff 70%); }
.cb-label { font: 600 12.5px/1 var(--ui); color: var(--pm-text); letter-spacing: .01em; }
.cb-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cb-code { font: 650 24px/1.1 var(--mono); letter-spacing: .04em; color: var(--ink); }
.cb-note { font-size: 13.5px; color: var(--muted); }
/* Tell me when it opens, under the member code */
.ma-wait { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; max-width: 520px; margin-top: 14px; }
.cb-copy.done { color: var(--green); }

/* the app on a phone: a real-looking screen with sample leads */
.mphone { --c: var(--pm); position: relative; width: 300px; padding: 10px; border-radius: 46px; background: linear-gradient(160deg, #1C2A26, #0A120F);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.08), 0 40px 70px -30px rgba(4,27,18,.6), 0 12px 24px -12px rgba(4,27,18,.3); transform: rotate(2deg); }
.mphone.big { width: 340px; transform: none; }
.mp-screen { position: relative; overflow: hidden; border-radius: 37px; background: #F7FAF9; padding: 14px 16px 18px; min-height: 540px; display: flex; flex-direction: column; }
.mphone.big .mp-screen { min-height: 600px; }
.mp-status { display: flex; justify-content: space-between; align-items: center; padding: 2px 10px 12px; font: 650 13px/1 var(--ui); }
.mp-sig { display: flex; gap: 2px; align-items: flex-end; } .mp-sig i { width: 3px; border-radius: 1px; background: var(--ink); }
.mp-sig i:nth-child(1) { height: 5px; } .mp-sig i:nth-child(2) { height: 7px; } .mp-sig i:nth-child(3) { height: 9px; }

/* On the way: the apps we're thinking about, quieter than the real one, each with a vote */
.soon-grid { gap: 20px; }
.soon { display: flex; flex-direction: column; text-align: left; padding: 22px 22px 20px; border-radius: 28px; background: rgba(255,255,255,.66); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 700ms var(--glide), background-color 700ms var(--glide); }
.soon:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--lift-2); }
.soon .app-ic { filter: saturate(.55); opacity: .82; transition: filter 600ms var(--glide), opacity 600ms var(--glide); }
.soon:hover .app-ic, .soon.wanted .app-ic { filter: none; opacity: 1; }
.so-top { display: flex; align-items: center; justify-content: space-between; }
.soon h3 { font: 600 19px/1.15 var(--ui); letter-spacing: -.035em; margin-top: 18px; }
.soon p { color: var(--ink-2); font-size: 14px; line-height: 1.45; margin-top: 7px; flex: 1; }
.so-trades { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.so-trades span { font-size: 12px; color: var(--muted); padding: 4px 9px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); }
.vote { align-self: flex-start; margin-top: 18px; }
.vote b { font-weight: 650; padding-left: 8px; margin-left: 2px; border-left: 1px solid currentColor; border-left-color: color-mix(in srgb, currentColor 25%, transparent); }
.vote svg.i { width: 16px; height: 16px; }

/* how member pricing works: three steps in a row */
.psteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.psteps li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; border-radius: 26px; background: #fff; box-shadow: var(--lift-1), inset 0 0 0 1px var(--line); }
.psteps .ps-n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 650 14px/1 var(--ui); color: #fff;
  background: linear-gradient(180deg, #11603F, var(--forest)); margin-bottom: 6px; }
.psteps b { font: 600 18px/1.2 var(--ui); letter-spacing: -.03em; }
.psteps p { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; text-wrap: wrap; }   /* `pretty` pulled "included." down early (page-check orphans.md) */
.psteps code { font: 600 13px/1 var(--mono); color: var(--pm-text); background: color-mix(in srgb, var(--pm) 12%, #fff); padding: 3px 6px; border-radius: 6px; white-space: nowrap; }
.psteps.tight { grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
.psteps.tight li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 4px; padding: 16px 20px; box-shadow: inset 0 0 0 1px var(--line); }
.psteps.tight .ps-n { grid-row: span 2; margin: 0; }
.sheet-card.trial { width: 560px; }

/* the app's own page */
.ma-hero { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: start; margin-top: 26px; }
.ma-copy .kicker { font-size: 13px; }
.ma-copy .lede { max-width: 560px; }
.ma-price { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 12px; row-gap: 2px; margin-top: 28px; }
.ma-price .mp-k { width: 100%; font: 600 12.5px/1 var(--ui); color: var(--muted); margin-bottom: 6px; }
.ma-price b { font: 650 40px/1 var(--ui); letter-spacing: -.055em; color: var(--ink); }
.ma-price .mp-v { font-size: 16px; color: var(--ink-2); }
.ma-art { display: flex; flex-direction: column; align-items: center; gap: 16px; position: sticky; top: 96px; }
.ma-art .seg button { padding: 0 16px; font-size: 14.5px; }
.ma-sample { font-size: 12.5px; color: var(--muted); }
.ma-two, .ma-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ma-door, .ma-card { padding: 28px 30px 30px; border-radius: 30px; }
.ma-door::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(360px circle at 100% 0%, color-mix(in srgb, var(--c) 14%, transparent), transparent 70%); }
.md-k { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--ui); color: var(--pm-text); }
.md-k svg.i { width: 17px; height: 17px; }
.ma-door h3, .ma-card h3 { font: 600 24px/1.15 var(--ui); letter-spacing: -.045em; margin-top: 14px; }
.ma-door p, .ma-card p { color: var(--ink-2); margin-top: 10px; max-width: 460px; }
.md-sig { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.md-sig li { display: grid; grid-template-columns: 110px 20px minmax(0, 1fr); align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; background: rgba(10,18,15,.035); }
.md-sig b { font-weight: 600; font-size: 14.5px; }
.md-sig span { color: var(--pm); display: grid; } .md-sig span svg.i { width: 17px; height: 17px; }
.md-sig em { font: 500 14.5px/1.3 var(--ui); font-style: normal; letter-spacing: -.01em; color: var(--ink-2); padding: 0; }
.ma-trades { display: flex; flex-wrap: wrap; gap: 10px; }
.ma-trades span { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 99px; background: #fff; font-weight: 550; box-shadow: var(--lift-1), inset 0 0 0 1px var(--line); }
.ma-know { margin: 14px 0 0; padding-left: 18px; display: grid; gap: 8px; color: var(--ink-2); }

.ma-ask { display: flex; align-items: center; gap: 18px; padding: 22px 26px; border-radius: 28px; background: #fff; box-shadow: var(--lift-1), inset 0 0 0 1px var(--line); }
.ma-ask-t { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.ma-ask-t b { font: 600 18px/1.2 var(--ui); letter-spacing: -.03em; }
.ma-ask-t span { color: var(--ink-2); font-size: 14.5px; }

/* the welcome's fourth door: smaller name and peek so four fit in a row */
.d-peek .app-ic.xs { box-shadow: 0 6px 12px -6px color-mix(in srgb, var(--c) 80%, #000); }
/* four doors in a row: a peek's words may take two lines, split evenly, with the bold part kept whole */
@media (min-width: 721px) { .d-peek > span:last-child { line-height: 1.4; } .d-peek .sep { display: none; } .d-peek .sep + b { display: block; } .d-peek b { white-space: nowrap; } }
.d-peek .sep { font-style: normal; }
@media (min-width: 721px) { .door { padding-left: 22px; padding-right: 22px; } .door .d-thumbs .thumb.xs { width: 30px; height: 30px; margin-right: -13px; } .door .d-thumbs .thumb.xs:last-child { margin-right: 0; } }
.since .app-ic.xs, .newslist .app-ic.xs, .newspop .app-ic.xs { box-shadow: none; }

@media (max-width: 1100px) {
  .mfeat { grid-template-columns: minmax(0, 1fr) 320px; padding: 32px; gap: 28px; }
  .mfeat .mphone { width: 280px; }
  .ma-hero { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; }
  .mphone.big { width: 320px; }
}
@media (max-width: 900px) {
  .mfeat, .ma-hero, .ma-two, .ma-pair, .psteps { grid-template-columns: minmax(0, 1fr); }
  .ma-art { position: static; }
  .mf-facts { grid-template-columns: minmax(0, 1fr); }
}

/* the contractor side shows three sample builders; the postcard card carries a little postcard */
.md-sig.pros li { grid-template-columns: 30px minmax(0, 1fr) auto; }
.md-sig.pros .av { width: 30px; height: 30px; font-size: 10px; color: #fff; }
.md-sig.pros em { font-size: 13.5px; color: var(--muted); }
.ma-both { margin-top: 16px; font-size: 14.5px; color: var(--ink-2); }
.ma-card.post { display: grid; grid-template-columns: minmax(0, 1fr) 210px; column-gap: 24px; align-content: start; }
.ma-card.post > :not(.pcard-art) { grid-column: 1; }
.ma-card .pc-note { font-size: 14px; color: var(--pm-text); font-weight: 550; }
.pcard-art { grid-column: 2; grid-row: 1 / span 4; align-self: center; position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 14px; border-radius: 10px; min-height: 150px;
  background: linear-gradient(160deg, #FFFDF7, #F6F1E4); box-shadow: 0 1px 2px rgba(10,18,15,.08), 0 18px 30px -16px rgba(60,40,10,.35); transform: rotate(-3deg); font-size: 12px; color: var(--ink-2); line-height: 1.35; }
.pcard-art b { font: 650 16px/1.1 var(--ui); color: var(--ink); letter-spacing: -.03em; padding-right: 40px; }
.pcard-art i { margin-top: auto; font-style: normal; font-size: 10.5px; color: var(--muted); }
.pa-stamp { position: absolute; top: 12px; right: 12px; width: 32px; height: 38px; display: grid; place-items: center; border-radius: 3px; color: #fff;
  background: var(--pm); box-shadow: 0 0 0 2px #FFFDF7, 0 0 0 3px color-mix(in srgb, var(--pm) 40%, transparent); }
.pa-stamp svg.i { width: 18px; height: 18px; }
@media (max-width: 1100px) { .ma-card.post { grid-template-columns: minmax(0, 1fr); } .pcard-art { grid-column: 1; grid-row: auto; margin-top: 18px; max-width: 260px; } }

/* Second pass ------------------------------------------------------------------------- */
/* app icons: a drawn scene on a deep two-tone tile, a soft top light, one slow movement each */
.app-ic { position: relative; overflow: hidden; background: linear-gradient(155deg, color-mix(in srgb, var(--c) 82%, #fff) 0%, var(--c) 42%, var(--c2, var(--c)) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -2px 6px rgba(0,0,0,.12), 0 12px 22px -12px color-mix(in srgb, var(--c2, var(--c)) 85%, #000); }
.app-ic::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 70% at 30% 0%, rgba(255,255,255,.38), transparent 60%); }
.app-ic svg.art { position: relative; z-index: 1; width: 100%; height: 100%; display: block; }
.soon .app-ic { width: 54px; height: 54px; border-radius: 16px; filter: none; opacity: 1; }
.app-ic .ar-fan, .app-ic .ar-needle, .app-ic .ar-key, .app-ic .ar-stamp { transform-box: view-box; }
.ar-fan { transform-origin: 32px 33px; animation: ar-spin 9s linear infinite; }
@keyframes ar-spin { to { transform: rotate(360deg); } }
.ar-shine { animation: ar-shine 6.5s var(--soft) infinite; }
@keyframes ar-shine { 0%, 55% { transform: translateX(-34px) rotate(20deg); opacity: 0; } 62% { opacity: .55; } 85%, 100% { transform: translateX(46px) rotate(20deg); opacity: 0; } }
.ar-shine { transform-box: view-box; transform-origin: 32px 32px; }
.ar-stamp { transform-origin: 47px 46px; animation: ar-breathe 4.6s var(--soft) infinite; }
@keyframes ar-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.ar-rain path { animation: ar-rain 2.6s linear infinite; } .ar-rain path:nth-child(2) { animation-delay: -.9s; } .ar-rain path:nth-child(3) { animation-delay: -1.7s; }
@keyframes ar-rain { 0% { transform: translateY(-5px); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(9px); opacity: 0; } }
.ar-bolt { animation: ar-flick 5s ease-in-out infinite; }
@keyframes ar-flick { 0%, 100% { opacity: 1; } 46% { opacity: .82; } 50% { opacity: 1; } 53% { opacity: .78; } 57% { opacity: 1; } }
.ar-waves { animation: ar-drift 6s linear infinite; }
@keyframes ar-drift { to { transform: translateX(-12px); } }
.ar-ping { transform-box: fill-box; transform-origin: center; animation: ar-ping 3.2s var(--soft) infinite; }
@keyframes ar-ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.1); opacity: 0; } }
.ar-glow { animation: ar-glow 4.2s var(--soft) infinite; } .ar-glow.b { animation-delay: -2.1s; }
@keyframes ar-glow { 0%, 100% { opacity: 1; } 50% { opacity: .62; } }
.ar-key { transform-origin: 50px 37px; animation: ar-swing 4.8s var(--soft) infinite; }
@keyframes ar-swing { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
.ar-needle { transform-origin: 32px 42px; animation: ar-sway 5.4s var(--soft) infinite; }
@keyframes ar-sway { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(4deg); } }
.ar-level { animation: ar-drift 4.4s linear infinite; }
.ar-tag { animation: ar-bob 4s var(--soft) infinite; }
@keyframes ar-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.2px); } }
[data-calm] .app-ic svg.art * { animation: none !important; }

/* the deal, on the same line as the words: a small badge that reads as a good deal without shouting */
.apps-lede { display: flex; flex-wrap: wrap; align-items: center; column-gap: 14px; row-gap: 10px; max-width: none; }
.deal { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 9px; height: 36px; padding: 0 16px; border-radius: 99px;
  font: 650 15px/1 var(--ui); letter-spacing: -.015em; color: var(--pm-2);
  background: linear-gradient(180deg, color-mix(in srgb, var(--pm) 13%, #fff), color-mix(in srgb, var(--pm) 22%, #fff));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pm) 38%, transparent), 0 10px 22px -14px color-mix(in srgb, var(--pm-2) 80%, transparent); }
.deal-x { width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 15px/1 var(--ui);
  background: linear-gradient(155deg, var(--pm-hi), var(--pm) 55%, var(--pm-2)); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.deal::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -50%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent); animation: deal-sheen 7s var(--soft) 1.4s infinite; }
@keyframes deal-sheen { 0% { left: -50%; } 18%, 100% { left: 130%; } }
[data-calm] .deal::after { animation: none; display: none; }

/* the three facts: a big word or number you can't skip, then what it means */
.mf-facts { gap: 12px; max-width: 660px; }
.mf-facts li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 18px 15px; border-radius: 20px; background: #fff;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pm) 22%, transparent), 0 12px 24px -18px color-mix(in srgb, var(--pm-2) 55%, transparent); }
.mf-facts .mff-big { flex: none; display: inline-flex; align-items: baseline; gap: 6px; font: 750 30px/1 var(--ui); letter-spacing: -.06em;
  background: linear-gradient(170deg, var(--pm), var(--pm-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* the dot sits centered on "New" but stays out of the baseline, so "every morning" lines up with the word's bottom like
   the other two boxes */
.mff-big.live i { width: 9px; height: 9px; border-radius: 50%; background: #19B57A; flex: none; align-self: center; animation: live 2.2s infinite; }
.mff-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mf-facts .mff-t b { font: 650 14.5px/1.1 var(--ui); letter-spacing: -.02em; color: var(--ink); }
.mf-facts .mff-t span { font-size: 12.5px; color: var(--muted); line-height: 1.3; }

/* the label sits on the big number's line; the middle box is wider so "New every morning" fits */
@media (min-width: 901px) { .mf-facts { grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr) minmax(0, 1.05fr); } }
.mf-facts li { gap: 7px; }
.mff-row { display: flex; align-items: baseline; gap: 7px; white-space: nowrap; }
.mf-facts .mff-row b { font: 650 15px/1 var(--ui); letter-spacing: -.02em; color: var(--ink); }
.mf-facts .mff-s { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
/* note 11: the step's number and its title share the top line */
.psteps .ps-top { display: flex; align-items: center; gap: 12px; }
.psteps .ps-top .ps-n { flex: none; margin: 0; }
/* ask either founder */
.ma-ask > .stack { margin: 0; flex: none; }
.ma-ask-b { display: flex; gap: 10px; flex-wrap: wrap; }
/* Messages always fits the screen, so the page itself never scrolls; only the chat and the
   list of conversations do (laptop and desktop; the phone layout has its own full-screen chat) */
@media (min-width: 721px) {
  html:has(body[data-view="messages"]:not(.at-welcome)) { overflow: hidden; overscroll-behavior: none; }
}

/* Third pass ----------------------------------------------------------- */
/* notes 7 and 10: the icons get more depth and a second slow movement each, never a blink or a bounce; calm turns them still */
.app-ic { box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 0 0 1px rgba(255,255,255,.12), inset 0 -3px 8px rgba(0,0,0,.14),
  0 14px 24px -12px color-mix(in srgb, var(--c2, var(--c)) 85%, #000); }
.app-ic .ar-float, .app-ic .ar-ring, .app-ic .ar-air path, .app-ic .ar-cloud, .app-ic .ar-cloud-b { transform-box: view-box; }
.ar-float { animation: ar-float 6s var(--soft) infinite; }
@keyframes ar-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.1px); } }
.ar-ring { transform-origin: 47.5px 46.5px; animation: ar-ring 5.6s var(--soft) 1s infinite; }
@keyframes ar-ring { 0% { transform: scale(1); opacity: .75; } 55%, 100% { transform: scale(1.75); opacity: 0; } }
.ar-win { animation: ar-glow 4.8s var(--soft) infinite; }
.ar-air path { animation: ar-air 3.4s var(--soft) infinite; } .ar-air path:nth-child(2) { animation-delay: -1.1s; } .ar-air path:nth-child(3) { animation-delay: -2.3s; }
@keyframes ar-air { 0% { transform: translateY(-2px); opacity: 0; } 40% { opacity: .85; } 100% { transform: translateY(3px); opacity: 0; } }
.ar-bolt { animation: ar-glow 4.6s var(--soft) infinite; }   /* was a flicker: now a slow, smooth glow */
.ar-cloud { animation: ar-sway-x 7s var(--soft) infinite; }
.ar-cloud-b { animation: ar-sway-x 8.5s var(--soft) infinite reverse; }
@keyframes ar-sway-x { 0%, 100% { transform: translateX(-.8px); } 50% { transform: translateX(1.2px); } }
.ar-spark, .ar-puff, .ar-halo, .ar-bub { transform-box: fill-box; transform-origin: center; }
.ar-spark { animation: ar-spark 4.4s var(--soft) infinite; }
@keyframes ar-spark { 0%, 100% { transform: scale(.45) rotate(0deg); opacity: .25; } 50% { transform: scale(1) rotate(45deg); opacity: 1; } }
.ar-puff { opacity: 0; animation: ar-puff 5.2s var(--soft) infinite; } .ar-puff.b { animation-delay: -2.6s; }
@keyframes ar-puff { 0% { transform: translateY(1px) scale(.6); opacity: 0; } 30% { opacity: .85; } 100% { transform: translate(1.5px, -8px) scale(1.4); opacity: 0; } }
.ar-halo { animation: ar-halo 4.8s var(--soft) infinite; }
@keyframes ar-halo { 0%, 100% { transform: scale(1); opacity: .22; } 50% { transform: scale(1.4); opacity: .06; } }
.ar-bub { animation: ar-bub 4.2s var(--soft) infinite; } .ar-bub.b { animation-delay: -1.1s; } .ar-bub.c { animation-delay: -2.2s; } .ar-bub.d { animation-delay: -3.2s; }
@keyframes ar-bub { 0% { transform: translateY(2px); opacity: 0; } 35% { opacity: .95; } 100% { transform: translateY(-7px); opacity: 0; } }
[data-calm] .ar-puff { opacity: .6; }
.soon .app-ic { width: 58px; height: 58px; border-radius: 17px; transition: transform 900ms var(--glide), box-shadow 900ms var(--glide); }
.soon:hover .app-ic { transform: translateY(-2px) rotate(-4deg) scale(1.04); }
.soon .so-top .app-ic::before { content: ''; position: absolute; inset: auto 12% -10px; height: 12px; border-radius: 50%; z-index: -1;
  background: color-mix(in srgb, var(--c2, var(--c)) 45%, transparent); filter: blur(8px); }

/* the phone shows real screens of the app, four trades in turn, with a chip naming the one on screen */
.mp-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.mphone, .mphone.big { width: 290px; }
.mp-screen, .mphone.big .mp-screen { display: grid; padding: 0; min-height: 0; background: #fff; }
.mp-status { grid-area: 1 / 1; padding: 13px 24px 7px; }
.mp-shots { grid-area: 2 / 1; position: relative; aspect-ratio: 600 / 1108; background: #fff; overflow: hidden; }
/* Changing trades: the old screen drifts up, softens and lets go
   while the next one rises in from a little below, coming into focus; a soft band of light passes over the glass as they
   trade places. One long eased move, no snap; calm motion turns it into a plain fade. */
.mp-shots img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transform: translate3d(0, 22px, 0) scale(.975);
  filter: blur(10px) saturate(1.15); transition: opacity 900ms var(--soft), transform 1400ms var(--glide), filter 1000ms var(--soft); will-change: transform, opacity, filter; }
.mp-shots img.on { z-index: 1; opacity: 1; transform: none; filter: none; transition-delay: 120ms, 60ms, 120ms; }
.mp-shots img.out { opacity: 0; transform: translate3d(0, -16px, 0) scale(1.02); filter: blur(8px); transition-duration: 800ms, 1200ms, 800ms; }
.mp-shots::after { content: ''; position: absolute; z-index: 2; inset: -20% -60%; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.55) 48%, rgba(255,255,255,.12) 54%, transparent 62%); transform: translate3d(-55%, 0, 0); }
.mp-shots.sweep::after { animation: mp-sweep 1500ms var(--soft) both; }
@keyframes mp-sweep { 0% { opacity: 0; transform: translate3d(-55%, 0, 0); } 25% { opacity: 1; } 80% { opacity: .8; } 100% { opacity: 0; transform: translate3d(55%, 0, 0); } }
[data-calm] .mp-shots img, [data-calm] .mp-shots img.on, [data-calm] .mp-shots img.out { transform: none; filter: none; transition: opacity 600ms var(--soft); }
[data-calm] .mp-shots.sweep::after { animation: none; }
.mp-shots.in { animation: mp-fade 650ms var(--soft) both; }
@keyframes mp-fade { from { opacity: 0; } }
.mp-trades { display: flex; gap: 4px; padding: 4px; border-radius: 99px; background: rgba(255,255,255,.78);
  box-shadow: inset 0 0 0 1px var(--line), 0 10px 22px -16px rgba(10,18,15,.3); }
.mp-trades button { position: relative; overflow: hidden; height: 28px; padding: 0 11px; border-radius: 99px; white-space: nowrap;
  font: 600 12px/1 var(--ui); letter-spacing: -.01em; color: var(--muted); transition: color 500ms var(--glide), background-color 500ms var(--glide); }
.mp-trades button:hover { color: var(--ink); }
.mp-trades button[aria-pressed="true"] { color: #fff; background: linear-gradient(180deg, var(--pm), var(--pm-2)); }
.mp-trades button.timing::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 1.5px; border-radius: 2px;
  background: rgba(255,255,255,.75); transform-origin: left; animation: mp-run 4200ms linear both; }
@keyframes mp-run { from { transform: scaleX(0); } }
[data-calm] .mp-trades button.timing::after { display: none; }
.mf-art { gap: 12px; } .mf-art .ma-sample { text-align: center; }

/* note 14: the hero's words sit centered beside the phone, so no big gap opens under the buttons */
.ma-hero { align-items: center; }
.ma-art { gap: 14px; }
@media (max-width: 1100px) { .mfeat .mphone, .mphone.big { width: 270px; } }

/* note 15: the two doors get an icon tile, a soft wash of their color and clean ruled rows */
.ma-two { gap: 24px; }
.ma-door { padding: 30px 32px 26px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 6%, #fff), #fff 42%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 14%, var(--line)), 0 30px 54px -38px color-mix(in srgb, var(--c) 70%, rgba(4,27,18,.4)), var(--lift-1); }
.ma-door .md-k { gap: 12px; font-size: 13.5px; color: var(--c); }
.ma-door .md-k svg.i { width: 38px; height: 38px; padding: 9.5px; border-radius: 12px; color: #fff; stroke-width: 2.1;
  background: linear-gradient(155deg, color-mix(in srgb, var(--c) 68%, #fff), var(--c) 55%, color-mix(in srgb, var(--c) 72%, #000));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 18px -10px color-mix(in srgb, var(--c) 90%, #000); }
.ma-door h3 { font-size: 26px; margin-top: 18px; }
.ma-door .md-sig { gap: 0; margin-top: 20px; border-top: 1px solid var(--line); }
.ma-door .md-sig li { grid-template-columns: 116px 26px minmax(0, 1fr); padding: 13px 8px; border-radius: 0; background: none;
  border-bottom: 1px solid var(--line); transition: background-color 500ms var(--glide); }
.ma-door .md-sig li:last-child { border-bottom: 0; }
.ma-door .md-sig li:hover { background: color-mix(in srgb, var(--c) 5%, transparent); }
.ma-door .md-sig b { font-size: 15px; letter-spacing: -.02em; }
.ma-door .md-sig li > span:not(.av) { width: 26px; height: 26px; border-radius: 50%; place-items: center; color: var(--c);
  background: color-mix(in srgb, var(--c) 11%, #fff); transition: translate 500ms var(--glide); }
.ma-door .md-sig li:hover > span:not(.av) { translate: 2px 0; }
.ma-door .md-sig li > span:not(.av) svg.i { width: 14px; height: 14px; stroke-width: 2.2; }
.ma-door .md-sig.pros li { grid-template-columns: 32px minmax(0, 1fr) auto; }
.ma-door .md-sig.pros em { padding: 6px 11px; border-radius: 99px; font: 600 12.5px/1 var(--ui); color: var(--c); background: color-mix(in srgb, var(--c) 8%, #fff); }

/* note 15: the 12 trades in an even, centered grid, each with its own mark */
.ma-tr .section-head { justify-content: center; text-align: center; }
.ma-trades { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 1040px; margin: 0 auto; }
.ma-trades span { height: 62px; gap: 12px; padding: 0 16px 0 12px; border-radius: 18px; white-space: nowrap; font: 600 15px/1.2 var(--ui); letter-spacing: -.015em;
  transition: box-shadow 600ms var(--glide); }
.ma-trades i { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 12px; color: var(--pm); background: var(--pm-tint);
  transition: background-color 600ms var(--glide), color 600ms var(--glide); }
.ma-trades i svg.i { width: 20px; height: 20px; stroke-width: 1.9; }
.ma-trades span:hover { box-shadow: var(--lift-2), inset 0 0 0 1px color-mix(in srgb, var(--pm) 28%, transparent); }
.ma-trades span:hover i { color: #fff; background: var(--pm); }
@media (max-width: 1100px) { .ma-trades { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .ma-trades { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ma-trades span { height: auto; min-height: 62px; padding-block: 10px; white-space: normal; text-wrap: balance; } }
/* the postcard's words stay clear of the stamp; it spans the card's five rows now that the copy is two paragraphs */
.pcard-art > span:not(.pa-stamp) { padding-right: 36px; }
.pcard-art { grid-row: 1 / span 5; }
@media (max-width: 1100px) { .pcard-art { grid-row: auto; } }
@media (max-width: 720px) { .ma-ask { flex-wrap: wrap; } .ma-ask-b { width: 100%; } .ma-ask-b .btn { flex: 1 1 auto; } }

/* ---------- Layups: small, easy skills under the big plugins ----------
   Smaller and lighter than a plugin card: an icon in a tinted tile, the name, one line. No 3D, no scene. */
.layups { margin-top: 64px; }
.lu-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 20px; }
.lu-head p { color: var(--ink-2); font-size: 17px; }
.lu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lcard { display: grid; grid-template-columns: 46px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 14px; align-items: start; padding: 20px 20px 16px; border-radius: 24px;
  text-align: left; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), var(--lift-1);
  transform: scale(var(--ps, 1)); transition: box-shadow 600ms var(--glide), translate 600ms var(--glide); }
.lcard:hover { translate: 0 -2px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 34%, transparent), var(--lift-2); }
.lcard:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.lu-ic { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; flex: none;
  color: color-mix(in srgb, var(--c) 72%, #062B1D); background: color-mix(in srgb, var(--c) 15%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 28%, transparent); }
.lu-ic svg.i { width: 23px; height: 23px; stroke-width: 1.8; }
.lu-ic.big { width: 64px; height: 64px; border-radius: 20px; }
.lu-ic.big svg.i { width: 31px; height: 31px; }
.lu-ic.s { width: 30px; height: 30px; border-radius: 10px; }
.lu-ic.s svg.i { width: 16px; height: 16px; }
.lu-body { min-width: 0; padding-top: 2px; }
.lu-body b { display: block; font: 600 17px/1.2 var(--ui); letter-spacing: -.03em; color: var(--ink); }
.lu-body span { display: block; margin-top: 5px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.lu-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
.lcard .go { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); background: var(--ground);
  transition: background-color 500ms var(--glide), color 500ms var(--glide); }
.lcard .go svg.i { width: 16px; height: 16px; stroke-width: 2.2; transition: transform 600ms var(--glide); }
.lcard:hover .go { background: var(--hl); color: #fff; }
.lcard:hover .go svg.i { transform: translateX(2px); }
.lu-soon { color: var(--muted); }
.lu-soon i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); opacity: .75; }
.lcard.lu-wip .lu-ic { filter: saturate(.6); }
.lcard.lu-wip .lu-body b { color: var(--ink-2); }
#layups[hidden] { display: none; }

/* a layup's page: the plugin page's top with a small Claude chat beside the name, then its Start here */
.stage[data-ex="layup"] { grid-template-columns: minmax(0, 1fr) 500px; }
.ex-layup { aspect-ratio: 4 / 3; background: radial-gradient(70% 80% at 70% 30%, color-mix(in srgb, var(--c) 22%, #fff), #F6F8F7 75%); }
.sc .lu-win { left: 36px; right: 36px; top: 38px; bottom: 0; }
.sc .lu-win .scw-bar { position: absolute; }
.sc .lu-you { right: 18px; top: 46px; max-width: 250px; padding: 9px 13px; border-radius: 14px 14px 4px 14px; background: #F0EEE6; font: 500 12px/1.4 var(--ui); color: #2B2A27;
  animation: lu-in 900ms var(--glide) both 300ms; }
.sc .lu-claude { left: 18px; right: 18px; top: 118px; display: flex !important; gap: 10px; align-items: flex-start; animation: lu-in 900ms var(--glide) both 1100ms; }
.sc .lu-claude * { position: relative; }
.sc .lu-claude .lu-ic { flex: none; display: grid !important; }
.sc .lu-claude b { font: 650 12.5px/1.3 var(--ui); letter-spacing: -.02em; color: var(--ink); }
.sc .lu-claude span span { margin-top: 3px; font: 450 11.5px/1.45 var(--ui); color: var(--ink-2); }
.sc .lu-type { left: 58px; top: 196px; display: flex !important; gap: 4px; animation: lu-in 600ms var(--glide) both 1700ms; }
.sc .lu-type i { position: relative; width: 6px; height: 6px; border-radius: 50%; background: color-mix(in srgb, var(--c) 60%, #9AA7A1); animation: lu-dot 1.4s ease-in-out infinite; }
.sc .lu-type i:nth-child(2) { animation-delay: .18s; } .sc .lu-type i:nth-child(3) { animation-delay: .36s; }
@keyframes lu-in { from { opacity: 0; translate: 0 10px; } }
@keyframes lu-dot { 0%, 60%, 100% { opacity: .35; translate: 0 0; } 30% { opacity: 1; translate: 0 -3px; } }
[data-calm] .sc .lu-you, [data-calm] .sc .lu-claude, [data-calm] .sc .lu-type, [data-calm] .sc .lu-type i { animation: none; }
.lu-off { opacity: .7; }
.lu-off svg.i { width: 19px; height: 19px; }

/* paragraphs wrap normally: `pretty` pulls words down early (page-check orphans.md); the last words are glued instead */
.lu-guide p, .lu-guide li, .lu-know .kn-line { text-wrap: wrap; }
/* its Start here, word for word: the five parts, Say this across the whole width with each line in a box you tap to copy */
.lu-guide p + p, .lu-guide p + ol, .lu-guide p + ul, .lu-guide ol + p, .lu-guide ul + p { margin-top: 8px; }
.lu-guide ol, .lu-guide ul { margin: 8px 0 0; padding-left: 20px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.lu-guide li + li { margin-top: 4px; }
.lu-guide code { font: 500 .92em/1 var(--mono); padding: 2px 6px; border-radius: 6px; background: var(--ground); }
.lu-guide .say { position: relative; margin-top: 10px; padding: 14px 92px 14px 16px; border-radius: 16px; background: #fff; cursor: copy; white-space: pre-wrap;
  font: 550 15.5px/1.4 var(--ui); letter-spacing: -.015em; color: var(--ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 34%, var(--line)), var(--lift-1);
  transition: box-shadow 400ms var(--glide); }
/* words kept together in a thing to say, with plain spaces and hyphens, so the copy is exactly what Claude expects */
.say .nw { white-space: nowrap; }
.lu-guide .say::after { content: 'Copy'; position: absolute; right: 12px; top: 50%; translate: 0 -50%; height: 28px; padding: 0 12px; border-radius: 99px;
  font: 550 12.5px/28px var(--ui); color: var(--green); background: color-mix(in srgb, var(--spark) 14%, #fff); }
.lu-guide .say.copied::after { content: 'Copied'; color: #fff; background: var(--hl); }
.lu-guide button.say { display: block; width: 100%; border: 0; text-align: left; }
.lu-guide .say:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.lu-guide .say:hover { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 60%, transparent), var(--lift-2); }
.lu-say .say + p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.lu-wait { display: grid; justify-items: center; align-content: center; text-align: center; gap: 12px; padding: 56px 40px; min-height: 320px; }
.lu-wait h3 { font: 600 24px/1.2 var(--ui); letter-spacing: -.04em; margin-top: 6px; }
.lu-wait p { color: var(--ink-2); max-width: 430px; font-size: 15.5px; }

@media (max-width: 1100px) { .stage[data-ex="layup"] { grid-template-columns: minmax(0, 1fr) 420px; } }
@media (max-width: 900px) and (min-width: 721px) { .lu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .lu-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; } .layups { margin-top: 48px; } }

/* Layup icons: two-tone objects on a tile with a little depth */
.lu-ic { background: linear-gradient(165deg, color-mix(in srgb, var(--c) 9%, #fff), color-mix(in srgb, var(--c) 20%, #fff));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent), 0 6px 12px -8px color-mix(in srgb, var(--c) 70%, rgba(4,27,18,.4));
  color: color-mix(in srgb, var(--c) 62%, #04170F); }
.lu-ic svg.i { width: 27px; height: 27px; stroke-width: 1.5; }
.lu-ic.s svg.i { width: 18px; height: 18px; } .lu-ic.big svg.i { width: 36px; height: 36px; }
.lu-ic svg .f { fill: color-mix(in srgb, var(--c) 46%, #fff); stroke: none; }
.lu-ic svg .dot { fill: currentColor; }
.lu-ic.xs { width: 32px; height: 32px; border-radius: 10px; }
.lu-ic.xs svg.i { width: 17px; height: 17px; }
.lcard:hover .lu-ic svg .f { fill: color-mix(in srgb, var(--c) 55%, #fff); }
.lu-ic svg .f { transition: fill 600ms var(--glide); }

/* search across Fastbreak: the section you're in first, then everywhere else */
.findpop { top: 54px; right: auto; left: 0; width: 380px; max-height: min(520px, calc(100vh - 120px)); overflow: auto; }
.top .right { position: relative; }
.findpop .pop-head + ul { margin-bottom: 8px; }
.findpop li button { gap: 12px; }
.findpop .fp-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.findpop .fp-t b { font-size: 14.5px; }
.findpop .fp-t small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.findpop .gav.xs { width: 32px; height: 32px; border-radius: 10px; flex: none; }
.findpop .gav.xs svg.i { width: 17px; height: 17px; }
.fp-none { padding: 6px 12px 10px; color: var(--ink-2); font-size: 14.5px; }

/* the turning plus:
   the same quarter turn as Browse plugins, on the other add buttons */
.c-icon.turn svg.i, #new-msg svg.i, [data-friend] svg.i { transition: transform 1000ms var(--glide); }
.drop .c-icon.turn { transition: background-color 800ms var(--glide), color 800ms var(--glide); }
.drop:hover .c-icon.turn svg.i, #new-msg:hover svg.i, [data-friend][aria-pressed="false"]:hover svg.i { transform: rotate(90deg); }
.drop:hover .c-icon.turn { background: var(--forest); }
[data-calm] .c-icon.turn svg.i, [data-calm] #new-msg svg.i, [data-calm] [data-friend] svg.i { transition: none; }

/* ================= the beta, signed in: the server's states, in the page's own look =================
   Problems say so without a check mark; things still being checked are marked for their author; empty places invite. */
.pip[hidden], .island .pip[hidden] { display: none; }
.toast.err svg.i { display: none; }
.toast.err::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #FF6F4F; box-shadow: 0 0 0 4px rgba(255,111,79,.22); }
.at { font: inherit; color: var(--green); font-weight: 600; padding: 0; }
/* a mention and the last word or two after it stay on one line (lab.js rich) */
.at-tail { white-space: nowrap; }
.at:hover { text-decoration: underline; }
.check-note { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13px; color: var(--ink-2); }
.check-note i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #F2B233; box-shadow: 0 0 0 4px rgba(242,178,51,.18); }
.check-note.s { margin: 6px 0 0 14px; font-size: 12.5px; }
.post.is-checking { box-shadow: inset 0 0 0 1.5px rgba(242,178,51,.45), var(--lift-1); }
.edit-err, .cp-err, .req-err, .fb-err, .ep-err { display: block; margin: 8px 0 0; font-size: 13.5px; color: var(--red, #D9363E); }
.cp-err { margin: 10px 0 0 50px; }
.cp-err[hidden], .req-err[hidden], .fb-err[hidden] { display: none; }
/* a calm line under the composer (a big file on a slow connection, a picture replaced by a file), and the
   box lit up while a photo is dragged over it */
.cp-note { display: block; margin: 10px 0 0 50px; font-size: 13.5px; color: var(--ink-2, #4a5568); text-wrap: pretty; }
.cp-note[hidden] { display: none; }
.composer.drop-over { outline: 2px dashed var(--green, #0B7A53); outline-offset: 4px; }
.ep-foot .ep-err { margin: 0 auto 0 0; align-self: center; }
.ep-f .ep-err { margin: 0; font-size: 13px; color: var(--red, #D9363E); } /* a box's error reads as one, not as its muted hint */
.cp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0 50px; }
.cp-tags[hidden] { display: none; }
.cp-tagchip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 4px 0 12px; border-radius: 99px; background: var(--ground); font-size: 13px; color: var(--ink-2); }
.cp-tagchip i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.cp-tagchip b { color: var(--ink); font-weight: 600; }
.cp-tagchip .fx-x { position: static; opacity: 1; box-shadow: none; background: transparent; }
.cp-tagrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 4px 4px 10px; }
.cp-tl { flex: none; width: 64px; font: 600 12.5px/1 var(--ui); color: var(--muted); }
.cp-tg { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 99px; background: #fff; font: 550 13px/1 var(--ui); color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line); transition: background-color 300ms var(--glide), color 300ms var(--glide), box-shadow 300ms var(--glide); }
.cp-tg i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.cp-tg:hover { color: var(--ink); }
.cp-tg[aria-pressed="true"] { color: var(--green); background: rgba(11,122,83,.08); box-shadow: inset 0 0 0 1.5px var(--green); }
.cp-tnote { font-size: 12.5px; color: var(--muted); }
.empty-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 26px 28px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.empty-card b { color: var(--ink); font: 600 18px/1.25 var(--ui); letter-spacing: -.025em; }
.empty-card .btn { margin-top: 8px; }
/* a part of the page still loading, or one that didn't load */
.load-line { margin: 0; padding: 14px 4px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.load-fail .btn { margin-top: 8px; }
.c-empty.load-fail .btn { align-self: flex-start; }
.mygroups > .load-fail { margin-top: 6px; }
.since li.since-fail { display: flex; align-items: center; gap: 4px 12px; flex-wrap: wrap; }
.since li.since-fail .btn { width: auto; flex: none; margin-left: 8px; }
.showcase .empty-card { margin-top: 18px; }
.feed-loading, .th-loading { display: grid; place-items: center; padding: 40px 0; color: var(--muted); }
.feed-end { display: flex; justify-content: center; padding: 4px 0 10px; }
.feed-more { min-width: 200px; }
.showcase .feed-more { display: flex; margin: 24px auto 0; }
.feed-done { font-size: 13.5px; color: var(--muted); }
.newpill .np-av:empty { display: none; }
.p-tabs.three button { font-size: 12.5px; }
.p-empty.p-wait { align-items: center; padding: 18px 10px; color: var(--muted); }
.c-empty { display: flex; flex-direction: column; gap: 6px; padding: 18px 16px; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.c-empty b { color: var(--ink); font: 600 15.5px/1.2 var(--ui); letter-spacing: -.02em; }
.c-empty-b { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.c-empty-quiet { color: var(--muted); }
/* chats that didn't load say so, above the ones that did */
.c-partial { margin: 4px 12px 8px; padding: 9px 12px; border-radius: 12px; background: var(--ground); color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
.thread-empty { margin: auto; max-width: 360px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 40px 24px; text-align: center; color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
.thread-empty b { color: var(--ink); font: 650 20px/1.2 var(--ui); letter-spacing: -.035em; }
.thread-empty .c-empty-b { justify-content: center; }
.te-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 6px; background: rgba(11,122,83,.08); color: var(--green); }
.te-ic svg.i { width: 26px; height: 26px; }
.send-row.note-row { align-items: center; gap: 10px; padding: 10px 10px 10px 18px; min-height: 62px; }
.send-row.note-row .jr-copy { flex: 1; font-size: 14.5px; color: var(--ink-2); }
.send-row.note-row .jr-copy b { color: var(--ink); font-weight: 600; }
.send-row.note-row .btn { width: auto; padding: 0 18px; }
.send-row.note-row:empty { visibility: hidden; }
/* what you'd typed when the box went, kept to copy */
.kept-draft { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 14px; padding: 14px 16px; border-radius: 18px; background: var(--ground); box-shadow: inset 0 0 0 1px var(--line); }
.kept-draft p { margin: 0; font-size: 14px; color: var(--ink-2); }
.kept-draft .edit-box { margin-top: 0; }
.jr-acts { display: flex; gap: 6px; flex: none; }
.th-menu .mm-pop { min-width: 168px; }
.b.gone { font-style: italic; opacity: .6; }
.b[data-mid] { cursor: default; }
.bub-menu { display: flex; margin: 4px 0 2px; }
.bub-menu.mine { justify-content: flex-end; }
.bub-menu button { height: 30px; padding: 0 14px; border-radius: 99px; background: #fff; font: 550 13px/1 var(--ui); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), var(--lift-1); }
.bub-menu .danger { color: var(--red, #D9363E); }
.status.held { color: #A26F0A; }
.prof-more { display: flex; justify-content: center; gap: 18px; margin-top: 18px; }
.prof-link { font: 550 13px/1 var(--ui); color: var(--muted); padding: 6px 4px; }
.prof-link:hover { color: var(--ink); }
.prof-link.danger:hover { color: var(--red, #D9363E); }
.prof-quiet { color: var(--muted); }
.prof-added { margin-top: 12px; }   /* they added you */
.sh-badge.sh-checking { top: auto; bottom: 16px; }
.sp-wait { display: grid; place-items: center; min-height: 220px; padding: 24px; text-align: center; color: var(--ink-2); font-size: 14px; background: var(--ground); }
.mg-more-head .mg-start { margin-top: 12px; }
.mg-start svg.i { width: 16px; height: 16px; }
.grp-colors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.grp-colors button { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.grp-colors button i { width: 26px; height: 26px; border-radius: 50%; background: var(--sw); transition: box-shadow 300ms var(--glide); }
.grp-colors button[aria-pressed="true"] i { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--green); }
.sheet-card.grp, .sheet-card.rep { max-width: 520px; }
/* New message's search box is the same rounded field (it was the browser's own small square box) */
.grp .field input, .nm .field input { width: 100%; margin-top: 10px; height: 52px; padding: 0 18px; border: 0; border-radius: 99px; background: var(--ground); font-size: 15.5px; }
.grp .field input:focus, .nm .field input:focus { outline: none; background: #fff; box-shadow: 0 0 0 1.5px var(--green), 0 0 0 6px rgba(11,122,83,.1); }
.grp .field input::placeholder, .nm .field input::placeholder { color: var(--muted); }
.nm .field input { -webkit-appearance: none; appearance: none; }
.nm .field input::-webkit-search-decoration { -webkit-appearance: none; }
.at-pop { position: absolute; z-index: 70; min-width: 240px; max-width: 320px; padding: 6px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--lift-3); display: grid; gap: 2px; }
.at-pop button { display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 7px; border-radius: 12px; text-align: left; font-size: 14px; color: var(--ink); }
.at-pop button b { font-weight: 600; }
.at-pop button small { margin-left: auto; padding-left: 10px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.at-pop button[aria-selected="true"], .at-pop button:hover { background: var(--ground); }
.since li.quiet .nq, .newspop li.quiet .nq { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; font-size: 15px; color: var(--ink-2); }
.since li.quiet .nq:not(:has(.av)) { padding-left: 12px; }
.newspop li.read button { color: var(--muted); }
.av.step { background: rgba(11,122,83,.1); color: var(--green); box-shadow: none; }
.av.step svg.i { width: 18px; height: 18px; }
.at-welcome .av.step { background: rgba(62,224,166,.16); color: var(--spark); }
.fp-wait { color: var(--muted); }
/* a post with no group: its menu still sits at the right end */
.post-head .ph-who + .mine-menu, .post-head .ph-show + .mine-menu { margin-left: auto; }
/* the Showcase tag already sits at the right, so the menu after it just follows it (two auto margins put the
   tag in the middle); a Showcase card's menu sits at the right edge like a post's */
.post-head .ph-show ~ .mine-menu { margin-left: 4px; }
.sh-who .mine-menu { margin-left: auto; }

/* ================= smaller page fixes ================= */
/* One long word or web address never runs out of its card or makes the page scroll sideways; line breaks people
   type stay. */
.post p.body, .r-text, .r-bub, .prof-bio, .prof-role, .sh-note, .sh-sub, .sh-name, .b, .hello-dm, .jr-copy, .check-note, .fp-t, .fp-t small { overflow-wrap: anywhere; }
.post p.body, .prof-bio, .r-text, .sh-note { white-space: pre-line; }
.r-main, .run-col, .post, .prof-top + h2 { min-width: 0; }
.post p.body a.ln, .r-text a.ln, .sh-note a.ln { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
/* the message box's count near the 2,000 limit. It sits against the box, which is already positioned (absolute
   in the chat pane, relative in the phone's strip): setting position here again shifted the whole box 20 px past the pane's
   right edge. */
.draft-count { position: absolute; right: 74px; top: -22px; font: 550 12px/1 var(--ui); color: var(--muted); }
.draft-count.over { color: var(--red, #C2362B); }
.earlier { display: flex; justify-content: center; padding: 10px 0 4px; }
.rb-wait { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }

/* A reply or post deleted after others answered it, and a former member, stay in
   place, quiet and grey, so the answers keep their thread */
.av.gone-av { background: var(--ground, #F2F4F3); border: 1px dashed rgba(15, 42, 34, .22); }
.reply.is-deleted .r-bub.r-gone, .post.is-deleted .gone-note { color: var(--ink-3, #6B7A73); font-style: italic; }
.post.is-deleted .ph-name { color: var(--ink-2); }

/* a custom request's title is the member's own sentence: sentence case, not the display caps */
.custom h3.cu-title { text-transform: none; }
.custom .cu-q { margin: 6px 0 0; white-space: pre-line; }

/* Manage a group: its people, who was removed, hand it over, delete it */
.grp-manage .gm-body { display: flex; flex-direction: column; gap: 10px; max-height: min(60vh, 560px); overflow: auto; margin-top: 8px; }
.grp-manage .gm-h { font-size: 15px; font-weight: 650; margin: 10px 0 0; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.grp-manage .gm-h small { font-weight: 500; color: var(--ink-2); font-size: 13px; }
.grp-manage .gm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.grp-manage .gm-list li { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.grp-manage .gm-who { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.grp-manage .gm-who small { color: var(--ink-2); font-size: 12.5px; }
.grp-manage .gm-note { margin: 0; color: var(--ink-2); font-size: 14px; }
.grp-manage .gm-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.grp-manage select { height: 40px; border-radius: 12px; padding: 0 12px; border: 1px solid rgba(15, 42, 34, .16); background: #fff; font: inherit; }
.grp-manage .danger, .grp-manage .danger-h { color: #B4361F; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* the smaller page fixes */
/* a closed More menu's items are out of the Tab order, not just see-through */
.mine-menu .mm-pop { visibility: hidden; }
.mine-menu.open .mm-pop { visibility: visible; }
/* the big picture at the top of a new conversation keeps white initials */
.hello-dm span.av { color: #fff; }
/* an instruction toast carries no success tick */
.toast.info svg { display: none; }
/* a search result's line ends in an ellipsis when it's cut */
.findpop .fp-t small { display: block; max-width: 100%; }
/* no conversation yet */
.convo-none { margin: 18px 16px; color: var(--muted); font-size: 14px; }
.nm .nm-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; max-height: 50vh; overflow: auto; }
.nm .nm-list button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; text-align: left; }
.nm .nm-list button:hover, .nm .nm-list button:focus-visible { background: var(--ground); outline: none; }
.nm .nm-list span { display: flex; flex-direction: column; min-width: 0; }
.nm .nm-list small { color: var(--muted); font-size: 12.5px; }
.nm .nm-none { color: var(--muted); padding: 10px; font-size: 14px; }

/* a chat line you can act on shows it can be focused */
.b[data-mid]:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.post.post-gone { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.post.post-gone textarea { width: 100%; }

/* the group name in a row is its own button (the row stays clickable with a mouse) */
.row-open { all: unset; cursor: pointer; border-radius: 6px; }
.row-open:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.gfy h2.kicker { margin: 0; }

/* each request its own card, with room between them */
#custom-slot { display: flex; flex-direction: column; gap: 14px; }

/* The Fastbreak team mark: the admins only, beside their name on posts, replies, chat, the Showcase,
   people rows and their profile. Small and quiet, the brand green, never wrapping. */
.team-mark { display: inline-flex; align-items: center; gap: 4px; height: 19px; padding: 0 8px 0 6px; margin-left: 6px; border-radius: 99px;
  background: rgba(11,122,83,.1); color: var(--green); font: 650 11px/1 var(--ui); letter-spacing: .01em; white-space: nowrap; vertical-align: 1px; }
.team-mark::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px rgba(11,122,83,.18); }
.ph-name:has(+ .team-mark) { display: inline-block; }
.run-who { display: flex; align-items: center; gap: 6px; margin-bottom: 1px; }
.run-who .run-name { margin-bottom: 0; }
.run-who .team-mark { margin: 0; height: 17px; font-size: 10.5px; }
.sh-who .team-mark { margin-left: 0; }
.sh-who > span:has(> .team-mark) { display: flex; flex-wrap: wrap; align-items: center; column-gap: 6px; }
.sh-who > span:has(> .team-mark) .sh-sub { flex-basis: 100%; }
.sheet-card.prof h2 + .team-mark { margin-top: 8px; height: 24px; padding: 0 11px 0 9px; font-size: 12.5px; }
.prow .p-name .team-mark { margin-left: 0; }
/* a link leaves Fastbreak: a small arrow after the site it opens */
.ln .ln-out { width: .85em; height: .85em; margin-left: 2px; vertical-align: -1px; stroke-width: 2.2; }
.th-name:has(+ .team-mark) { display: inline-block; }
.thread-head .team-mark { vertical-align: 3px; }

/* the bell's panel fits the window and its list scrolls inside it (50 notices ran 2,600 px down the
   page and scrolled away with it); older notices load at the bottom with Show older */
#news { display: flex; flex-direction: column; max-height: min(640px, calc(100vh - 84px)); }
#news > .pop-head, #news > .news-chips { flex: none; }
#news-list { min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin-right: -4px; padding-right: 4px; }
#news-list .news-more { display: flex; justify-content: center; padding: 6px 0 4px; }
#news-list .news-fail { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
#news-list .news-fail .btn { width: auto; flex: none; }

/* a result row is never wider than the pop-up, so a long line ends in its ellipsis inside it (the
   grid's rows grew to their text, 36 px past the edge, and the edge cut the words) */
.findpop ul { grid-template-columns: minmax(0, 1fr); }
.findpop li, .findpop li button { min-width: 0; max-width: 100%; }
.findpop li button { overflow: hidden; }
/* each kind's More opens the rest of its matches */
.findpop .fp-more-row { display: flex; }
.findpop .fp-more { width: auto; padding: 6px 12px; border-radius: 12px; font: 600 13.5px/1.2 var(--ui); color: var(--green-ink, #0E7A59); }
.findpop .fp-more:hover, .findpop .fp-more:focus-visible { background: var(--bg-2, #F1F5F3); }
.findpop .fp-more[disabled] { color: var(--muted); }

/* the Friends tab says how many and opens them all; a profile's groups say how many and open them all */
.p-allf { display: flex; width: 100%; align-items: baseline; justify-content: space-between; gap: 8px; text-align: left; border-radius: 10px; }
.p-allf b { color: var(--green); font-weight: 600; }
.p-allf:hover b, .p-allf:focus-visible b { text-decoration: underline; }
.prof-n { display: inline-block; min-width: 22px; padding: 2px 7px; margin-left: 4px; border-radius: 999px; background: var(--ground); color: var(--muted); font: 600 12px/1.3 var(--ui); text-align: center; vertical-align: 2px; }
.prof-gmore { display: block; margin-top: 10px; color: var(--green); font-weight: 600; }
.prof-gnote { margin: 8px 0 0; font-size: 13px; }
.allf .nm-list button { position: relative; }
.allf .nm-list .on { position: absolute; right: 14px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--green); }
.nm .nm-list span.av { display: grid; place-items: center; flex: none; }
.allf { max-width: 560px; }

/* a letter with dozens of accents stacked on it can't spill over the cards above and below. The server keeps
   at most two marks on a letter; this clips anything older, or anything that gets past it, to its own line's box. */
.post p.body, .ph-name, .r-text, .run-name, .p-name, .post-file b, .gm-who b { overflow: clip; overflow-clip-margin: .35em; }

/* conversations */
/* on a narrower laptop a group owner's buttons go under the group's name instead of squeezing it onto three lines */
.thread-head { flex-wrap: wrap; row-gap: 10px; }
.thread-head > span:not([class]) { flex: 1 1 220px; min-width: 0; }
.th-right { flex-wrap: wrap; justify-content: flex-end; row-gap: 8px; }
/* a web address in a chat is a link, in the bubble's own color */
.b a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; overflow-wrap: anywhere; }
.b a:hover { text-decoration-thickness: 2px; }
/* deleting a request's only message asks first */
.bub-menu.bm-sure { flex-direction: column; align-items: flex-end; gap: 6px; }
.bub-menu .bm-note { max-width: 300px; font-size: 13px; line-height: 1.35; color: var(--muted); text-align: right; text-wrap: pretty; }
.bub-menu .bm-acts { display: flex; gap: 6px; }
/* the top Search and Write a post show where the keyboard is, like the other text boxes (the caret alone was
   all there was) */
.search:focus-within { box-shadow: inset 0 0 0 1.5px var(--green), 0 0 0 4px rgba(11,122,83,.12), 0 6px 14px -8px rgba(10,18,15,.12); }
.composer:has(#post-draft:focus) { box-shadow: inset 0 0 0 1.5px var(--green), 0 0 0 5px rgba(11,122,83,.08), var(--lift-2); }
/* a banned or removed member's profile, as only the admins see it */
.prof-account { margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: #FCEBDD; color: #8A3B12; font-size: 14px; font-weight: 600; }

/* ---------- Install and Copy the line: the dark forest pill (.btn.hero) at its loudest ----------
   A mint circle at rest. On hover the pill grows and lifts, a mint ring and glow come up around it, the pointer light
   brightens, the circle lights up and the arrow drops into its tray. No shine sweep. */
.btn.path.hero { height: 68px; padding: 0 32px 0 9px; gap: 14px; scale: 1;
  transition: transform 900ms var(--glide), box-shadow 450ms var(--glide), translate 450ms var(--glide), scale 450ms var(--glide); }
.btn.path.hero::before { background: radial-gradient(160px circle at var(--lx, 50%) var(--ly, 50%), rgba(62,224,166,.55), rgba(62,224,166,.16) 45%, rgba(62,224,166,0) 75%);
  transition-duration: 450ms; }
.btn.path.hero .path-ic { color: #06281B; background: linear-gradient(180deg, #C4FAE2, #3EE0A6); box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
  transition: box-shadow 450ms var(--glide); }
.btn.path.hero .path-ic svg { width: 22px; height: 22px; stroke-width: 2.3; overflow: visible; transition: transform 450ms var(--glide); }
.btn.path.hero:hover, .btn.path.hero:focus-visible { --hy: -4px; scale: 1.045;
  box-shadow: inset 0 1px 0 rgba(62,224,166,.5), 0 0 0 5px rgba(62,224,166,.3), 0 0 36px 4px rgba(62,224,166,.42), 0 30px 44px -18px rgba(6,43,29,.8); }
.btn.path.hero:hover .path-ic, .btn.path.hero:focus-visible .path-ic { box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 0 0 4px rgba(127,240,198,.28), 0 0 24px 5px rgba(127,240,198,.7); }
.btn.path.hero:hover .dl-arrow, .btn.path.hero:focus-visible .dl-arrow { animation: dl-drop 950ms cubic-bezier(.45, 0, .35, 1) infinite; }
.btn.path.hero#copy-cmd:hover .path-ic svg { transform: scale(1.14); }
.btn.path.hero:active { --hy: 0px; scale: 1; }
@keyframes dl-drop { 0% { transform: translateY(-6px); opacity: 0; } 30% { opacity: 1; } 72% { transform: translateY(1px); opacity: 1; } 100% { transform: translateY(3px); opacity: 0; } }
[data-calm] .btn.path.hero, [data-calm] .btn.path.hero:hover { scale: 1; }
[data-calm] .btn.path.hero .dl-arrow { animation: none; }

/* ---------- before Install: three steps on one line ---------- */
.steps-peek.steps-flow { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 22px; padding: 26px 26px 30px; }
.steps-flow ol { width: 100%; gap: 0; }
.steps-flow li { position: relative; flex-direction: column; align-items: center; gap: 0; padding: 0 12px; text-align: center; }
.steps-flow .sf-node { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px; border-radius: 50%; color: #7FF0C6;
  background: linear-gradient(180deg, #11603F, var(--forest) 60%, #073826);
  box-shadow: inset 0 1px 0 rgba(62,224,166,.3), 0 0 0 7px rgba(11,122,83,.08), 0 16px 26px -14px rgba(6,43,29,.75); }
.steps-flow .sf-node svg.i { width: 23px; height: 23px; stroke-width: 2; }
.steps-flow b { font-size: 15.5px; }
/* the line to the next step, and a small light running along it, one stretch after the other */
.steps-flow li:not(:last-child)::before { content: ''; position: absolute; top: 27px; left: calc(50% + 44px); width: calc(100% - 88px); height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(11,122,83,.32), rgba(11,122,83,.12)); }
.steps-flow li:not(:last-child)::after { content: ''; position: absolute; top: 24px; left: calc(50% + 40px); width: 8px; height: 8px; border-radius: 50%; opacity: 0;
  background: #3EE0A6; box-shadow: 0 0 10px 3px rgba(62,224,166,.55); animation: sf-run 3.6s cubic-bezier(.45, 0, .35, 1) infinite; animation-delay: calc(var(--i) * 1.3s); }
@keyframes sf-run { 0% { left: calc(50% + 40px); opacity: 0; } 5% { opacity: 1; } 32% { opacity: 1; } 38%, 100% { left: calc(150% - 48px); opacity: 0; } }
[data-calm] .steps-flow li::after { display: none; }
@media (max-width: 720px) {
  .steps-flow ol { gap: 22px; }
  .steps-flow li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; align-content: center; justify-items: start; padding: 0; text-align: left; }
  .steps-flow .sf-node { grid-row: 1 / span 2; margin: 0; }
  .steps-flow b { align-self: end; }
  .steps-flow li:not(:last-child)::before { top: 62px; left: 27px; width: 2px; height: calc(100% - 46px); }
  .steps-flow li::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .btn.path.hero, .btn.path.hero:hover { scale: 1; }
  .btn.path.hero .dl-arrow, .steps-flow li::after { animation: none !important; }
}

/* ================= the feel kit (the elevate pass, 2026-12-02) =================
   One set of small motions and surface details for every screen, from our motion recipes.
   Same screens, same words, same Fastbreak look: only how things move and sit is
   finer. Every motion here has a still version under reduced motion (the change, without the movement). */
:root {
  --out: cubic-bezier(.23, 1, .32, 1);
  /* cards lift by soft shadows in layers falling below them, never a gray outline: a close crisp one, a middle one and
     a wide soft one (the recipe's three layers, in Fastbreak's own forest-tinted shadow) */
  --lift-1: 0 1px 1px rgba(10,18,15,.04), 0 3px 6px -2px rgba(10,18,15,.05), 0 8px 16px -8px rgba(10,18,15,.10);
  --lift-2: 0 1px 1px rgba(10,18,15,.04), 0 4px 8px -2px rgba(10,18,15,.04), 0 22px 44px -22px rgba(6,43,29,.26);
  --lift-3: 0 1px 2px rgba(10,18,15,.05), 0 8px 16px -6px rgba(10,18,15,.05), 0 40px 80px -30px rgba(6,43,29,.42);
  /* where an edge is needed, see-through ink (it stays quiet on white, paper and every tinted card) */
  --edge: rgba(10,18,15,.09);
}

/* ---------- switching: the stretchy highlight on trays drawn as pills ---------- */
[data-glide] { position: relative; isolation: isolate; }
.glide-pill { position: absolute; z-index: -1; pointer-events: none; }
[data-glide] [data-glide-sel] { background: transparent !important; box-shadow: none !important; border-color: transparent !important; transition: color 220ms var(--glide) !important; }

/* the chat you have open: one highlight that slides from row to row */
#convo-list { position: relative; }
.vpill { position: absolute; z-index: 0; border-radius: 20px; background: #fff; box-shadow: var(--lift-1); pointer-events: none; opacity: 0; }
#convo-list.has-vpill .convo[aria-current="true"] { background: transparent; box-shadow: none; }
#convo-list .csec-h { position: relative; z-index: 1; }

/* ---------- content swaps: the old fades as a picture while the new rises a little; never a blank page ---------- */
.swap-ghost { position: absolute; z-index: 3; margin: 0 !important; overflow: hidden !important; pointer-events: none; }
/* a copied 3D or map drawing comes out blank, so the picture leaves those out instead of showing an empty frame */
.swap-ghost canvas, .swap-ghost .fm-gl { visibility: hidden; }
#seg-body.swap-in .fly, #seg-body.swap-in .rise { animation: swap-rise 300ms var(--out) both; animation-delay: min(calc(var(--i, 0) * 30ms), 150ms); }
#seg-body.swap-in .post.pre { translate: 0 10px; scale: 1; filter: none; }
#seg-body.swap-in .post.in { transition: opacity 260ms var(--out), translate 300ms var(--out), scale 300ms var(--out), box-shadow 700ms var(--glide);
  transition-delay: calc(min(var(--d, 0), 3) * 40ms), calc(min(var(--d, 0), 3) * 40ms), 0ms, 0ms; }
@keyframes swap-rise { from { opacity: 0; translate: 0 10px; } }
/* a chat you switch to arrives at once, words sharp (it rose in blurred over most of a second) */
.thread.in .thread-head, .thread.in .bubbles .b { animation: swap-rise 260ms var(--out) both; }
.thread.in .bubbles .b:nth-child(n+2) { animation-delay: 30ms; } .thread.in .bubbles .b:nth-child(n+3) { animation-delay: 60ms; } .thread.in .bubbles .b:nth-child(n+4) { animation-delay: 90ms; }

/* ---------- screen to screen: a quick cross-fade with a short settle; the bars stay put ----------
   Between sections the old page fades out in about 150 ms while the new one fades up 10 px into place (about 260 ms).
   The top bar and the bottom island are not part of the fade: they stay sharp, and the island's highlight is seen
   stretching to the new tab (before, a faded copy of the old pill showed beside the new one). */
html[data-vt="tab"] .island { view-transition-name: island; }
html[data-vt="tab"] .top { view-transition-name: topbar; }
html[data-vt="tab"]::view-transition-old(island), html[data-vt="tab"]::view-transition-old(topbar) { display: none; }
html[data-vt="tab"]::view-transition-new(island), html[data-vt="tab"]::view-transition-new(topbar),
html[data-vt="tab"]::view-transition-group(island), html[data-vt="tab"]::view-transition-group(topbar) { animation: none; }
html[data-vt="tab"]::view-transition-old(root) { animation: 150ms cubic-bezier(.4, 0, 1, 1) both vt-out; }
html[data-vt="tab"]::view-transition-new(root) { animation: 260ms var(--out) 40ms both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; translate: 0 10px; } }
/* the welcome's fly-away and return keep their look, a little quicker */
html[data-vt="enter"]::view-transition-group(*), html[data-vt="home"]::view-transition-group(*) { animation-duration: 640ms; }
html[data-vt="enter"]::view-transition-old(root) { animation-duration: 580ms; }
html[data-vt="enter"]::view-transition-new(root) { animation-duration: 640ms; animation-delay: 80ms; }
html[data-vt="home"]::view-transition-old(root) { animation-duration: 440ms; }
html[data-vt="home"]::view-transition-new(root) { animation-duration: 760ms; }

/* ---------- menus grow from the button that opened them (from about 88%, a 140 ms fade), and shrink back to it ---------- */
.me-menu, .newspop { transition: transform 220ms var(--out), opacity 140ms var(--out); }
.me-menu:not(.open), .newspop:not(.open) { transform: scale(.88); }
.newspop.findpop { transform-origin: top left; }   /* search's list hangs from the search box's left edge */
.mine-menu .mm-pop { transition: opacity 140ms var(--out), transform 200ms var(--out); }
.mine-menu:not(.open) .mm-pop { transform: scale(.88); }
/* (the map's Trade, Interests and Plugins menus do the same: map.css) */

/* ---------- numbers: same-width digits wherever a number can change, so nothing wobbles ---------- */
.count, .badge, .d-count, .fm-n, .prof-n, .c-count, .chip b, .w-members, #c-online, .room-line, .ps-n, .mff-big, .draft-count, .newpill .np-t, .meter b { font-variant-numeric: tabular-nums; }
/* the odometer: each digit in its own window; the old one rolls out as the new one rolls in */
.odo { display: inline-block; position: relative; }
.count .odo { display: inline-block; vertical-align: top; }
.odo-old { position: absolute; left: 0; top: 0; }

/* ---------- one count badge everywhere: a circle for one digit, a pill for more, digits centered, forest with white ---------- */
.island .count, .convo .badge, .fm-chipbtn .fm-n, .d-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; overflow: hidden;
  font: 650 11.5px/1 var(--ui); letter-spacing: 0; text-align: center; background: var(--forest); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.16); }
/* on a green pill it turns white with forest digits (never green on green) */
.island .tab[aria-selected="true"] .count, .fm-chipbtn[aria-pressed="true"] .fm-n { background: #fff; color: var(--forest); box-shadow: none; }
/* the door's count is the same badge at the door's size */
.d-count { min-width: 30px; height: 30px; padding: 0 9px; border-radius: 15px; font-size: 14px; }
.island .count[hidden], .convo .badge[hidden], .d-count[hidden] { display: none; }
/* (the badge's font shorthand above resets the digits, so they're made same-width again after it) */
.island .count, .convo .badge, .fm-chipbtn .fm-n, .d-count, .av.grp, .mff-big { font-variant-numeric: tabular-nums; }

/* ---------- surfaces ---------- */
/* nested corners match: a picture inset 10 px into a 30 px card gets 20 px corners */
.pcard .pc-media { border-radius: 20px; }
/* colors mixed in OKLCH, so a gradient between two colors stays vivid instead of going gray in the middle */
.app-ic { background: linear-gradient(155deg in oklch, color-mix(in oklch, var(--c) 82%, #fff) 0%, var(--c) 42%, var(--c2, var(--c)) 100%); }
.gav { background: radial-gradient(in oklch 120% 120% at 25% 10%, color-mix(in oklch, var(--c) 55%, #fff), var(--c) 55%, color-mix(in oklch, var(--c) 70%, #000)); }
.av.a2 { background: radial-gradient(in oklch 120% 120% at 30% 15%, #9AA0FF, #5B62D9 60%, #353A8F); }
.av.a3 { background: radial-gradient(in oklch 120% 120% at 30% 15%, #FF9F86, #E2563A 60%, #9B3020); }
.av.a4 { background: radial-gradient(in oklch 120% 120% at 30% 15%, #8CC7FF, #2F86E0 60%, #1A548F); }
.av.a5 { background: radial-gradient(in oklch 120% 120% at 30% 15%, #FFD27A, #D9961C 60%, #8F5F0A); }
.av.a6 { background: radial-gradient(in oklch 120% 120% at 30% 15%, #FF9CC0, #C2477A 60%, #7E2449); }

/* ---------- icons: line icons as thick as the words beside them ---------- */
svg.i { stroke-width: 1.8; }
:is(.btn, .tab, .pill, .room-go, .p-all, .react, .backbtn, [role="menuitem"], .since li button, .newspop li button, .chip-link, .mg-sort button, .fm-chipbtn, .cp-tool) svg.i { stroke-width: 2; }
/* the welcome doors' arrows sit beside 30 px words at weight 650: as heavy as those letters */
.d-name .arrow { stroke-width: 2.2; }

/* ---------- lists that scroll inside their box fade out where more is waiting ---------- */
[data-fade="end"] { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 36px), transparent); }
[data-fade="start"] { -webkit-mask-image: linear-gradient(to top, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to top, #000 calc(100% - 36px), transparent); }
[data-fade="both"] { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to bottom, transparent, #000 36px, #000 calc(100% - 36px), transparent); }

/* ---------- reduced motion: the same changes, without the movement ---------- */
@media (prefers-reduced-motion: reduce) {
  html[data-vt]::view-transition-group(*), html[data-vt]::view-transition-old(*), html[data-vt]::view-transition-new(*) { animation: none !important; }
  .me-menu:not(.open), .newspop:not(.open), .mine-menu:not(.open) .mm-pop { transform: none; }
  .glide-pill { transition: none !important; }
}
[data-calm] #seg-body.swap-in .fly, [data-calm] #seg-body.swap-in .rise, [data-calm] .thread.in .thread-head, [data-calm] .thread.in .bubbles .b { animation: none; }
[data-calm] .me-menu:not(.open), [data-calm] .newspop:not(.open), [data-calm] .mine-menu:not(.open) .mm-pop { transform: none; }

/* ---------- easy to hit: every small control answers a 44 x 44 px tap, drawn invisibly around it (nothing moves) ---------- */
:is(.r-reply, .r-more, .r-heart, .row-open, .p-all, .ep-init, .ph-group, .cp-tool, .mini-plug, .rb-post, #since-all, .pchip, .news-chips .chip, .reply button.av, .since-close) { position: relative; }
:is(.r-reply, .r-more, .r-heart, .row-open, .p-all, .ep-init, .ph-group, .cp-tool, .mini-plug, .rb-post, #since-all, .pchip, .news-chips .chip, .reply button.av, .since-close,
  .prof-x, .ep-x, .fd-show, .react, .fm-chipbtn, .seg button, .me-menu .mm-out)::after { content: ''; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); translate: -50% -50%; border-radius: inherit; }

/* ---------- reward and alarm (the elevate pass, part 2): sized to how rare the moment is ---------- */
/* every effect draws in its own layer that ignores the pointer, so a tap is never held up or caught by one */
.fx-layer { position: fixed; z-index: 85; overflow: hidden; pointer-events: none; contain: layout style; }
.fx-layer > i { position: absolute; display: block; pointer-events: none; will-change: transform, opacity; }
.fx-dot, .fx-bit { opacity: 0; }
.fx-dot { border-radius: 50%; }   /* round, and a soft capsule while it streaks */
.fx-ring { border: 1.5px solid; opacity: 0; }
/* the rush's sweep: a band of the win's color multiplied onto the white card, so it tints and the words stay crisp */
.fx-layer.fx-tint { mix-blend-mode: multiply; }
.fx-layer > .fx-band { left: 0; top: 0; height: 100%; }
.fx-layer > .fx-glow { pointer-events: none; }
/* after a big win the card rests in its done state: a calm edge in the win's color (an outline, so its own shadow stays) */
.fx-won { outline: 1.5px solid color-mix(in oklch, var(--won, var(--green)) 46%, transparent); outline-offset: -1.5px; transition: outline-color 400ms var(--glide); }
.fx-layer > .fx-medal { border-radius: 50%; display: grid; place-items: center; color: #fff; }
.fx-medal svg { width: 56%; height: 56%; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
/* the medium win's fill: a copy of the thing in its own color, words and icon in white, over the real one for 400 ms */
.fx-fill { position: fixed !important; z-index: 86; margin: 0 !important; pointer-events: none !important; background: var(--fx) !important; background-image: none !important;
  color: #fff !important; box-shadow: 0 10px 24px -12px var(--fx) !important; border-color: transparent !important; translate: none !important; scale: none !important; }
.fx-fill, .fx-fill * { animation: none !important; transition: none !important; }
.fx-fill * { color: #fff !important; }
/* alarm: what just went wrong is red with its own words; for a moment its edge is red too */
.fx-alarm:is(button, .btn, .chip, [role="button"]) { box-shadow: 0 0 0 1.5px var(--red), 0 0 0 6px rgba(194,54,43,.10) !important; transition: box-shadow 240ms var(--glide); }
:is(.sheet, .composer, .send-row, .reply-box, .edit-box) :is(input, textarea, select)[aria-invalid="true"] { box-shadow: 0 0 0 1.5px var(--red), 0 0 0 6px rgba(194,54,43,.08) !important; }
/* the reward moment names the group in the group's own color, deepened so it reads on the white card */
.moment-card h2 em { color: color-mix(in oklch, var(--c, var(--green)) 74%, #000); }
/* a plugin marked as added: its done state is a check in the plugin's own color, where the big win's check lands */
/* a badge: the plugin's color, a white tick, beside the label (where the first plugin's rush draws and pops it) */
.steps-done .kicker svg.i { box-sizing: border-box; width: 18px; height: 18px; padding: 3.5px; margin-right: -1px; border-radius: 50%; stroke-width: 3; color: #fff;
  background: color-mix(in oklch, var(--c, var(--green)) 82%, #000); box-shadow: 0 3px 8px -3px color-mix(in oklch, var(--c, var(--green)) 70%, transparent); overflow: visible; }
/* (lists tick in from lab.js's tickIn: each row drops from just above with a tiny overshoot, 80 ms apart, its picture pops after) */
/* a count rolling up holds the width of its final number, digits the same width, so nothing beside it moves */
.cu { display: inline-block; text-align: right; font-variant-numeric: tabular-nums; }
/* the welcome's news pops without moving anything: the newest line's picture pulses twice, each door's "new" glows once */
.new-pulse { animation: new-pulse 1300ms var(--glide) 2; }
@keyframes new-pulse { 0% { box-shadow: 0 0 0 0 rgba(62,224,166,.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(62,224,166,0); } }
.new-glint { border-radius: 4px; animation: new-glint 1400ms var(--soft); }
@keyframes new-glint { 0%, 100% { background-color: transparent; box-shadow: 0 0 0 0 transparent; } 35% { background-color: rgba(62,224,166,.24); box-shadow: 0 0 0 3px rgba(62,224,166,.24); } }
/* the whole of a line cut short with "...": a small white tip, the page's own card look, that ignores the pointer */
/* laid over the cut line itself, in its type (lab.js sets font and color), so it reads as the line opening out */
.fx-tip { position: fixed; z-index: 95; width: max-content; padding: 5px 9px; border-radius: 10px; background: #fff; color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(10,18,15,.06), var(--lift-2); pointer-events: none; overflow-wrap: anywhere;
  opacity: 0; transition: opacity 120ms var(--glide); }
.fx-tip.on { opacity: 1; }
/* a tap area never reaches into its neighbor's: chips that wrap to a second row keep to half the 6 px between rows, and a
   reply's Reply and the View / Hide replies line under it keep to half the 10 px between them */
.news-chips .chip::after { height: calc(100% + 6px) !important; }   /* the shared rule above lists #since-all, so it outranks a class */
/* a member's picture you can press (on a post, a reply, in a chat, on Showcase) answers a 44 px tap too; a picture placed
   on its own (in a pair, on the map) keeps its own position */
/* (pictures that overlap in a row, like a group's members at the top of its chat, keep their own size: they'd cover each other) */
:where(button.av:not(.th-stack *, .stack *, .duo *)) { position: relative; }
:where(button.av:not(.th-stack *, .stack *, .duo *))::after { content: ''; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); translate: -50% -50%; border-radius: 50%; }
:is(.r-reply, .r-more)::after { height: calc(100% + 10px) !important; }

/* Day 1: a group no one is in yet shows an open seat that invites the first post, in the group's own color */
.room-first { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.room-first .rf-seat { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--c, #0B7A53);
  border: 1.5px dashed color-mix(in srgb, var(--c, #0B7A53) 70%, transparent); background: color-mix(in srgb, var(--c, #0B7A53) 8%, #fff); }
.room-first .rf-seat svg.i { width: 14px; height: 14px; stroke-width: 2.2; }
/* our own site as the Showcase draws it (breakawayops.com): forest green */
.look-bo { --s0: #E8F6EF; --s1: #CDEBDD; --ac: #0B7A53; --dk: #0A3324; --p1: #2FCB8F; --p2: #0B7A53; --p3: #DDF6EA; }
.look-bo .as-pic i { background: radial-gradient(circle at 35% 30%, #fff, rgba(255,255,255,.35) 60%, rgba(255,255,255,0)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.look-bo .as-pic i:nth-child(1) { left: 18%; top: 20%; width: 46px; height: 46px; }
.look-bo .as-pic i:nth-child(2) { left: 50%; top: 38%; width: 64px; height: 64px; }
.look-bo .as-pic i:nth-child(3) { left: 30%; top: 66%; width: 28px; height: 28px; }
