/* App shell: sidebar on the left (drawer on phones), the prompt screen in the middle. */
/* "Blend" look (picked by Massimo 2026-11-23): calm neutrals like ChatGPT, a small clay accent like Claude. */
:root {
  --bg: #fcfcfb;
  --side: #f5f5f3;
  --side-hover: #ebebe7;
  --card: #ffffff;
  --fg: #1a1a19;
  --muted: #65645f;
  --line: #e4e3de;
  --accent: #c96442;
  --accent-fg: #ffffff;
  --gold: #c96442;
  --cta-a: #1a1a19;
  --cta-b: #1a1a19;
  --cta-fg: #ffffff;
  --danger: #b42318;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .05);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1c1c1b; --side: #151514; --side-hover: #2a2a28; --card: #242423; --fg: #ededeb; --muted: #a9a8a2;
    --line: #363633; --accent: #d97757; --accent-fg: #1a1a19; --gold: #d97757; --cta-a: #ededeb; --cta-b: #ededeb; --cta-fg: #1a1a19; --danger: #ffb4ab; --shadow: 0 8px 32px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1c1c1b; --side: #151514; --side-hover: #2a2a28; --card: #242423; --fg: #ededeb; --muted: #a9a8a2;
  --line: #363633; --accent: #d97757; --accent-fg: #1a1a19; --gold: #d97757; --cta-a: #ededeb; --cta-b: #ededeb; --cta-fg: #1a1a19; --danger: #ffb4ab; --shadow: 0 8px 32px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { background: var(--bg); color: var(--fg); font: 14px/1.45 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
button { font: inherit; color: inherit; }
button:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
[hidden] { display: none !important; }

.shell { display: grid; grid-template-columns: 268px minmax(0, 1fr); height: 100%; }

/* Sidebar */
.side { background: var(--side); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; padding: max(14px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)); min-height: 0; }
.side-top { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; }
.brand img { border-radius: 7px; box-shadow: 0 0 0 1px var(--line); }
.new-btn { border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 10px 12px; text-align: left; cursor: pointer; font-weight: 600; }
.new-btn:hover { border-color: var(--muted); }
.side-label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 6px 6px 0; }
.history { flex: 1; overflow-y: auto; min-height: 0; display: flex; flex-direction: column; gap: 1px; }
.hist-group { font-size: 11px; color: var(--muted); padding: 10px 8px 4px; }
.hist-item { display: flex; align-items: center; border-radius: 8px; }
.hist-item:hover, .hist-item.active { background: var(--side-hover); }
.hist-open { flex: 1; min-width: 0; border: 0; background: none; text-align: left; padding: 8px; cursor: pointer; }
.hist-title { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hist-meta { display: block; font-size: 11px; color: var(--muted); }
.hist-del { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 6px 8px; opacity: 0; font-size: 15px; }
.hist-item:hover .hist-del, .hist-del:focus-visible { opacity: 1; }
.hist-empty { color: var(--muted); font-size: 13px; padding: 8px; }
.side-bottom { border-top: 1px solid var(--line); padding-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.plan-box { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.plan-name { font-weight: 600; }
.plan-usage { font-size: 12px; color: var(--muted); margin: 2px 0 8px; }
.meter { height: 5px; border-radius: 4px; background: var(--line); overflow: hidden; margin-bottom: 8px; }
.meter span { display: block; height: 100%; background: var(--gold); }
.plan-up { width: 100%; border: 0; background: linear-gradient(135deg, var(--cta-a), var(--cta-b)); color: var(--cta-fg); border-radius: 999px; padding: 8px; font-weight: 600; cursor: pointer; }
.side-link { border: 0; background: none; text-align: left; padding: 8px; border-radius: 8px; cursor: pointer; }
.side-link:hover { background: var(--side-hover); }

/* Main */
.main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.topbar { display: flex; align-items: center; gap: 10px; padding: max(10px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left)); border-bottom: 1px solid var(--line); }
.topbar-title { flex: 1; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upgrade-btn { border: 1px solid var(--accent); color: var(--accent); background: none; border-radius: 999px; padding: 6px 14px; cursor: pointer; font-weight: 600; font-size: 13px; }
.stage { flex: 1; overflow-y: auto; padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); }
/* Chat layout: answers scroll in the middle, the request bar stays pinned to the bottom. */
#create-view { min-height: 100%; display: flex; flex-direction: column; }
.app-card { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding-top: 24px; --pm-page: var(--bg); }
.lib { padding: 28px 0 max(28px, env(safe-area-inset-bottom)); }
.icon-btn { border: 0; background: none; font-size: 20px; line-height: 1; cursor: pointer; padding: 4px 8px; color: var(--muted); border-radius: 8px; }
.icon-btn:hover { background: var(--side-hover); }
.only-mobile { display: none; }
.scrim { display: none; }

@media (max-width: 760px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: fixed; inset: 0 auto 0 0; width: min(300px, 86vw); z-index: 20; transform: translateX(-102%); transition: transform .2s ease; padding-left: max(12px, env(safe-area-inset-left)); }
  .shell.side-open .side { transform: none; box-shadow: var(--shadow); }
  .shell.side-open .scrim { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .35); z-index: 15; }
  .only-mobile { display: inline-block; }
  .app-card { padding-top: 14px; }
}
@media (prefers-reduced-motion: reduce) { .side { transition: none; } }

/* Dialogs */
.modal { border: 1px solid var(--line); border-radius: 16px; padding: 0; width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 48px); background: var(--card); color: var(--fg); box-shadow: var(--shadow); }
.modal-wide { width: min(940px, calc(100vw - 32px)); }
.modal::backdrop { background: rgba(0, 0, 0, .4); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 8px; }
.modal-head h2 { margin: 0; font-size: 18px; text-wrap: balance; }
.tabs { display: flex; gap: 4px; padding: 0 18px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab { border: 0; background: none; padding: 10px 12px; cursor: pointer; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tab[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--accent); font-weight: 600; }
.tab-panel { padding: 16px 18px 20px; }
.field-label { display: block; font-weight: 600; margin: 12px 0 6px; }
.field-label:first-child { margin-top: 0; }
.field { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--fg); font-size: 14px; }
.field-hint { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.center { text-align: center; padding: 0 18px 18px; }
.check { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.danger-btn { margin-top: 14px; border: 1px solid var(--danger); color: var(--danger); background: none; border-radius: 10px; padding: 8px 14px; cursor: pointer; }

.explain h3 { font-size: 15px; margin: 4px 0 8px; }
.explain h3 + ol, .explain h3 + ul { margin-top: 0; }
.explain ol, .explain ul { padding-left: 20px; margin: 0 0 16px; display: grid; gap: 8px; color: var(--muted); }
.explain li b { color: var(--fg); }
.modal { overflow-y: auto; }

.connectors { display: grid; gap: 10px; margin-top: 12px; }
.conn { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.conn-logo { width: 36px; height: 36px; border-radius: 9px; background: var(--side); display: grid; place-items: center; font-weight: 700; flex: none; }
.conn-text { flex: 1; min-width: 0; }
.conn-name { font-weight: 600; }
.conn-about { font-size: 12.5px; color: var(--muted); }
.conn-btn { border: 1px solid var(--line); background: var(--side); border-radius: 8px; padding: 7px 12px; cursor: pointer; white-space: nowrap; }
.conn-btn[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }

.billing { display: flex; justify-content: center; gap: 4px; margin: 4px auto 0; background: var(--side); border-radius: 999px; padding: 4px; width: fit-content; }
.bill { border: 0; background: none; border-radius: 999px; padding: 7px 16px; cursor: pointer; color: var(--muted); }
.bill[aria-pressed="true"] { background: var(--card); color: var(--fg); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.save { font-size: 11px; color: var(--accent); margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 18px; }
@media (max-width: 760px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.plan.hl { border: 2px solid var(--gold); }
.plan-tag { position: absolute; top: -11px; left: 16px; background: linear-gradient(135deg, var(--cta-a), var(--cta-b)); color: var(--cta-fg); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; letter-spacing: .03em; text-transform: uppercase; }
.plan h3 { margin: 0; font-size: 17px; }
.plan-line { color: var(--muted); font-size: 13px; }
.price { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; margin: 6px 0 0; }
.price small { font-size: 13px; font-weight: 400; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 10px 0 14px; display: grid; gap: 7px; flex: 1; align-content: start; }
.plan li { padding-left: 20px; position: relative; font-size: 13.5px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.plan-btn { border: 1px solid var(--line); background: var(--side); border-radius: 10px; padding: 10px; cursor: pointer; font-weight: 600; }
.plan.hl .plan-btn { background: linear-gradient(135deg, var(--cta-a), var(--cta-b)); border-color: transparent; color: var(--cta-fg); }
.plan-btn[disabled] { cursor: default; opacity: .7; }

/* Sidebar library links */
.side-nav { display: flex; flex-direction: column; gap: 1px; }
.nav-btn { border: 0; background: none; text-align: left; padding: 8px 10px; border-radius: 8px; cursor: pointer; display: flex; gap: 8px; align-items: center; }
.nav-btn span { width: 18px; text-align: center; }
.nav-btn:hover { background: var(--side-hover); }
.nav-btn.active { background: var(--side-hover); font-weight: 600; color: var(--accent); }

/* Library */
.lib { max-width: 980px; margin: 0 auto; }
.lib-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.lib-title { margin: 0; font-size: 22px; text-wrap: balance; }
.lib-sub { margin: 4px 0 0; color: var(--muted); }
.lib-new { border: 0; background: linear-gradient(135deg, var(--cta-a), var(--cta-b)); color: var(--cta-fg); border-radius: 10px; padding: 9px 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.lib-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.lib-search { flex: 1 1 240px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--fg); font-size: 14px; }
.lib-sort { padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--fg); }
.lib-surprise { border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 9px 12px; cursor: pointer; white-space: nowrap; }
.lib-surprise:hover, .lib-sort:hover { border-color: var(--muted); }
.lib-chips, .use-hints { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.use-hints { margin-top: 6px; }
.lib-chip { border: 1px solid transparent; background: var(--side); border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: 13px; }
.lib-chip:hover { border-color: var(--line); }
.lib-chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.lib-count { font-size: 12px; color: var(--muted); margin: 12px 0 8px; }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.lib-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 6px; transition: border-color .15s, box-shadow .15s; }
.lib-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.lib-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.lib-tag { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--side); color: var(--muted); }
.lib-stack { background: none; border: 1px solid var(--line); }
.lib-new-tag { background: linear-gradient(135deg, var(--cta-a), var(--cta-b)); color: var(--cta-fg); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.lib-open { border: 0; background: none; text-align: left; padding: 0; cursor: pointer; flex: 1; }
.lib-card-title { margin: 2px 0 4px; font-size: 15px; }
.lib-about { margin: 0; color: var(--muted); font-size: 13px; }
.lib-foot { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.lib-meta { flex: 1; font-size: 12px; color: var(--muted); }
.lib-star { border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--accent); padding: 2px 6px; border-radius: 8px; }
.lib-star:hover { background: var(--side); }
.lib-use { border: 1px solid var(--accent); color: var(--accent); background: none; border-radius: 8px; padding: 5px 14px; cursor: pointer; font-weight: 600; }
.lib-use:hover { background: var(--accent); color: var(--accent-fg); }
.lib-empty { color: var(--muted); grid-column: 1 / -1; padding: 24px 0; text-align: center; }
@media (max-width: 760px) { .lib-head { flex-direction: column; } .lib-grid { grid-template-columns: minmax(0, 1fr); } }

/* Use / edit / contact dialogs */
.modal-body { padding: 4px 18px 20px; overflow-y: auto; }
.use-about { margin: 0 0 8px; color: var(--muted); }
.use-step { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 16px 0 6px; font-weight: 600; }
.use-fields .field-label { margin-top: 10px; }
.use-preview { white-space: pre-wrap; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px; font: 12.5px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; max-height: 320px; overflow-y: auto; }
.blank { background: color-mix(in srgb, var(--gold) 30%, transparent); color: var(--fg); border-radius: 4px; padding: 0 3px; font-style: italic; }
.blank.filled { background: color-mix(in srgb, var(--accent) 20%, transparent); font-style: normal; font-weight: 600; }
.use-actions, .edit-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pm-like-primary { border: 0; background: linear-gradient(135deg, var(--cta-a), var(--cta-b)); color: var(--cta-fg); border-radius: 10px; padding: 9px 16px; font-weight: 600; cursor: pointer; }
.use-btn { border: 1px solid var(--line); background: var(--side); border-radius: 10px; padding: 9px 14px; cursor: pointer; }
.use-btn:hover { border-color: var(--muted); }
.use-more { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; }
.use-link { border: 0; background: none; color: var(--accent); cursor: pointer; padding: 4px 0; font-size: 13px; }
.edit-text.field { font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; resize: vertical; }
.edit-actions .plan-up { width: auto; padding: 9px 18px; }
.edit-actions .danger-btn { margin-top: 0; }
.contact-lead { margin: 0 0 4px; }
.contact-send { margin-top: 14px; padding: 10px; }
.contact-send:disabled { opacity: .6; cursor: default; }
.opt { font-weight: 400; color: var(--muted); }
.field-hint.err { color: var(--danger); }
.field-hint.ok { color: var(--fg); }
.field-hint a { color: var(--accent); }
textarea.field { font-family: inherit; }

/* Community */
.comm-upsell { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--gold) 16%, var(--card)); border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line)); font-size: 13.5px; }
.comm-gen { background: color-mix(in srgb, var(--gold) 28%, transparent); color: var(--fg); font-weight: 600; }
.comm-how { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; margin: 14px 0 12px; padding: 0; }
.comm-how li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: 13.5px; line-height: 1.4; }
.comm-how-n { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--gold); color: var(--accent-fg); }
.comm-note { margin: 0 0 4px; font-size: 13px; color: var(--fg); }
.comm-meta { font-size: 12px; color: var(--muted); margin: 0; }
.comm-star { font-size: 14px; font-variant-numeric: tabular-nums; }
.comm-remixes { font-weight: 600; color: var(--fg); }
.comm-trail { margin-top: 10px; }
.comm-trail ol { margin: 0; padding-left: 20px; display: grid; gap: 2px; font-size: 13px; }
.comm-here { color: var(--fg); font-weight: 600; padding: 4px 0; }
.comm-kids { display: grid; gap: 8px; }
.comm-kid { text-align: left; border: 1px solid var(--line); background: var(--bg); border-radius: 10px; padding: 10px 12px; cursor: pointer; display: grid; gap: 2px; }
.comm-kid:hover { border-color: var(--accent); }
.comm-kid-title { font-weight: 600; }
.comm-kid-note { font-size: 12.5px; color: var(--muted); }
.comm-report { color: var(--muted); }
.share-check { font-size: 13px; color: var(--fg); background: var(--side); border-radius: 10px; padding: 9px 12px; margin: 10px 0 0; }

/* Opening animation: the logo draws itself, then hands over to the type box (about 2 s, once per visit).
   It never blocks: clicks pass through and the type box already has the cursor underneath.
   On computers the logo is bigger, a short line sits under the name, and the logo flies into its
   spot at the top of the sidebar (app.js measures where that is and sets --gx, --gy and --gs). */
.splash { display: none; }
.cw-splash .splash { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; align-content: center; gap: 14px; pointer-events: none;
  background: radial-gradient(90% 60% at 50% 40%, #2a2a28, #151514 70%); animation: sp-hold 3s ease both; }
.splash svg { width: 96px; height: 96px; overflow: visible; }
.splash .sp { transform-box: fill-box; transform-origin: center; }
.splash-word { font: 600 26px/1 ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; color: #fff; letter-spacing: 0; display: flex; align-items: center; }
.splash-word .cur { display: inline-block; width: .55em; height: .9em; margin-left: .08em; background: #d97757; border-radius: 2px; }
.splash-line { display: none; font: 400 15px/1.4 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #a9a8a2; }
/* The D draws itself, the cursor inside it blinks, then the name types out letter by letter. */
.cw-splash .splash .dee { stroke-dasharray: 100; animation: sp-draw .5s .1s cubic-bezier(.6, 0, .2, 1) both; }
.cw-splash .splash .caret { animation: sp-show .01s .55s both, sp-blink .5s .55s steps(1) 4; }
.cw-splash .splash-word span, .cw-splash .splash-word .cur { animation: sp-show .01s both; }
.cw-splash .splash-word span:nth-child(1) { animation-delay: .7s; } .cw-splash .splash-word span:nth-child(2) { animation-delay: .76s; }
.cw-splash .splash-word span:nth-child(3) { animation-delay: .82s; } .cw-splash .splash-word span:nth-child(4) { animation-delay: .88s; }
.cw-splash .splash-word span:nth-child(5) { animation-delay: .94s; } .cw-splash .splash-word span:nth-child(6) { animation-delay: 1s; }
.cw-splash .splash-word .cur { animation: sp-show .01s 1.04s both, sp-blink .4s 1.04s steps(1) 3; }
.cw-splash .splash-word { animation: sp-out .2s 2.45s ease forwards; }
.cw-splash .splash-line { animation: sp-rise .3s 1.05s ease both, sp-out .2s 2.45s ease forwards; }
.cw-splash .splash svg { animation: sp-glide .35s 2.55s cubic-bezier(.5, 0, .2, 1) both; }
@keyframes sp-show { from { opacity: 0; } to { opacity: 1; } }
@keyframes sp-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes sp-hold { 0%, 90% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
@keyframes sp-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes sp-out { to { opacity: 0; } }
@keyframes sp-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes sp-glide { to { transform: translate(var(--gx, 0px), var(--gy, -30vh)) scale(var(--gs, .25)); opacity: var(--go, 0); } }
@media (min-width: 761px) {
  .splash svg { width: clamp(120px, 11vw, 160px); height: clamp(120px, 11vw, 160px); }
  .cw-splash .splash { gap: 18px; }
  .splash-word { font-size: clamp(36px, 3.4vw, 48px); }
  .splash-line { display: block; }
}
/* People who turn off motion still see the logo, just without movement. */
@media (prefers-reduced-motion: reduce) {
  .cw-splash .splash { animation: sp-hold 2.6s ease both; }
  .cw-splash .splash *, .cw-splash .splash svg { animation: none !important; }
}

/* Private preview: point visitors to the free extension */
.get-ext { max-width: 720px; margin: 0 auto 16px; padding: 18px 20px; border: 1px solid var(--line, #e4e3de); border-radius: 16px; background: var(--soft, #f5f5f3); }
.get-ext h2 { margin: 0 0 6px; font-size: 18px; }
.get-ext p { margin: 0 0 12px; color: var(--muted, #65645f); line-height: 1.5; }
.get-ext-btn { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--fg, #1a1a19); color: var(--bg, #fff); font-weight: 600; text-decoration: none; }
.get-ext-note { margin: 10px 0 0 !important; font-size: 13px; }
.get-ext[hidden] { display: none; }
