/* Liquid (approved by Christian 2026-11-11, DESIGN.md "Liquid"): Liquid Journal's frame (a floating nav, one rounded
   page) with Apple glass on what floats, two looks (Midnight: pure black and chrome; Platinum: ash grey and black),
   glossy lacquer loops in two corners, spring motion and the Dot wave loader. Loaded after theme.css and only overrides
   it, so every rule there still works; liquid.js adds the moving parts. The look lives on <html data-look>. */
:root {
  --frame: #000000;
  --page: #0E0E0F;
  --bg: #000000;
  --panel: #161617;
  --raise: #222225;
  --menu: #1C1C1E;
  --sunken: #0A0A0B;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --line-3: rgba(255, 255, 255, 0.3);
  --text: #F2F2F3;
  --text-2: #A0A0A7;
  --text-3: #7A7A82;
  /* Midnight chrome: silver, soft, no hard band */
  --chrome: linear-gradient(180deg, #FFFFFF 0%, #EEEFF1 18%, #CFD1D5 48%, #B4B6BB 66%, #D9DADD 88%, #F7F7F8 100%);
  --on-chrome: #0D0D0F;
  --chrome-edge: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.45), 0 10px 22px -12px rgba(255, 255, 255, 0.18);
  --glass: rgba(28, 28, 31, 0.42);
  --glass-read: rgba(18, 18, 20, 0.86);
  --glass-page: rgba(14, 14, 16, 0.8);
  --g-edge: rgba(255, 255, 255, 0.12);
  --g-hi: rgba(255, 255, 255, 0.55);
  --g-lo: rgba(0, 0, 0, 0.35);
  --drop: 0 10px 30px -12px rgba(0, 0, 0, 0.7), 0 24px 60px -30px rgba(0, 0, 0, 0.8);
  --pop: inset 0 0 0 1px var(--g-edge), inset 1.8px 3px 0 -2px var(--g-hi), var(--drop);
  --spring: linear(0, 0.009, 0.035 2.1%, 0.141 4.4%, 0.723 12.9%, 0.938 16.7%, 1.017 20.5%, 1.061 24.6%, 1.074 28.5%, 1.068 33.4%, 1.012 47.6%, 0.995 57.8%, 0.996 72.9%, 1);
  --shape-tint: linear-gradient(160deg, #D9D9DE 0%, #8B8B92 55%, #3C3C41 100%);
  color-scheme: dark;
}
:root[data-look="platinum"] {
  --frame: #BFBFBF;
  --page: #E0E0E0;
  --bg: #BFBFBF;
  --panel: #EBEBEB;
  --raise: #D6D6D7;
  --menu: #F2F2F2;
  --sunken: #C9C9CB;
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.14);
  --line-3: rgba(0, 0, 0, 0.3);
  --text: #111113;
  --text-2: #45494D;
  --text-3: #5C5F64;
  --neg: #A93718;
  /* Platinum's accent is black chrome */
  --chrome: linear-gradient(180deg, #5A5A5F 0%, #2C2C30 35%, #0B0B0C 62%, #000000 72%, #2A2A2E 100%);
  --on-chrome: #F5F5F7;
  --chrome-edge: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 22px -12px rgba(0, 0, 0, 0.35);
  --glass: rgba(255, 255, 255, 0.42);
  --glass-read: rgba(246, 246, 247, 0.9);
  --glass-page: rgba(226, 226, 227, 0.88);
  --g-edge: rgba(255, 255, 255, 0.55);
  --g-hi: rgba(255, 255, 255, 0.95);
  --g-lo: rgba(0, 0, 0, 0.12);
  --drop: 0 10px 30px -14px rgba(20, 20, 30, 0.25), 0 24px 60px -34px rgba(20, 20, 30, 0.3);
  --shape-tint: none;
  color-scheme: light;
}

body { background: var(--frame); cursor: var(--cur, auto); transition: background-color 400ms var(--ease), color 300ms var(--ease); }
button, a, summary, label, [role="button"], select { cursor: var(--cur, pointer); }
input, textarea, [contenteditable="true"], .prompt { cursor: text; }
:root[data-look="platinum"] .spot, :root[data-look="platinum"] .grain { display: none; }
:root[data-look="platinum"] a { text-decoration-color: rgba(0, 0, 0, 0.3); }
:root[data-look="platinum"] a:hover { text-decoration-color: var(--text); }
:root[data-look="platinum"] .link-btn { text-decoration-color: rgba(0, 0, 0, 0.25); }

/* Chrome: one material, two looks (silver on Midnight, black on Platinum) */
.plat, .tab.active, .pill-btn.primary, .generate { box-shadow: var(--chrome-edge); }
.generate, .btn.plat, .pill-btn.primary { scale: 1; transition: transform 140ms var(--ease), scale 550ms var(--spring); }
@media (hover: hover) and (pointer: fine) { .generate:hover:not(:disabled), .btn.plat:hover, .l-form .btn:hover, .pill-btn.primary:hover:not(:disabled) { scale: 1.045; } }
.style-control > button, .style-control > button:hover, .style-control > button.on { box-shadow: var(--chrome-edge); }
.avatar { color: var(--on-chrome); background: var(--chrome); box-shadow: var(--chrome-edge); }
/* The logo mark (logo.js's gradient #cs-chrome) is black chrome on Platinum, so it reads on the light frame. */
:root[data-look="platinum"] #cs-chrome stop:nth-child(1) { stop-color: #6E6E73; }
:root[data-look="platinum"] #cs-chrome stop:nth-child(2) { stop-color: #36363A; }
:root[data-look="platinum"] #cs-chrome stop:nth-child(3) { stop-color: #0B0B0C; }
:root[data-look="platinum"] #cs-chrome stop:nth-child(4) { stop-color: #000000; }
:root[data-look="platinum"] #cs-chrome stop:nth-child(5) { stop-color: #2C2C30; }
:root[data-look="platinum"] #cs-chrome stop:nth-child(6) { stop-color: #4A4A4F; }
.avatar:hover { box-shadow: var(--chrome-edge), 0 0 0 3px var(--line-2); }

/* ---------- Glossy lacquer loops in two corners (liquid.js places them) ---------- */
.lq-shape { position: fixed; z-index: 0; pointer-events: none; width: 54vmin; aspect-ratio: 1; }
.lq-shape.tl { top: -24vmin; left: -24vmin; }
.lq-shape.br { bottom: -24vmin; right: -24vmin; transform: rotate(180deg); }
.lq-shape img, .lq-shape .tint, .lq-shape .shine { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lq-shape img { object-fit: contain; }
.lq-shape .tint, .lq-shape .shine { -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.lq-shape .tint { background: var(--shape-tint); }
:root:not([data-look="platinum"]) .lq-shape img { mix-blend-mode: screen; }
:root[data-look="platinum"] .lq-shape .tint { display: none; }
.lq-shape .shine { background: radial-gradient(circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.35) 9%, rgba(255, 255, 255, 0) 30%); mix-blend-mode: screen; opacity: 0; transition: opacity 300ms ease-out; }
.lq-shape.lit .shine { opacity: 1; }

/* ---------- Top bar: a floating glass pill of tabs ---------- */
.topbar { height: 60px; background: var(--frame); -webkit-backdrop-filter: none; backdrop-filter: none; transition: background-color 400ms var(--ease); }
.topbar::after { display: none; }
.tabs { position: relative; padding: 3px; gap: 2px; border-radius: 14px; background: var(--glass); -webkit-backdrop-filter: blur(10px) saturate(1.8); backdrop-filter: blur(10px) saturate(1.8);
  box-shadow: inset 0 0 0 1px var(--g-edge), inset 1.8px 3px 0 -2px var(--g-hi), inset -0.3px -1px 4px 0 var(--g-lo), var(--drop); }
.tab { position: relative; z-index: 1; height: 30px; padding: 0 13px; border-radius: 10px; font-size: 13px; transition: color 120ms ease-out; }
.tabs.has-pill .tab.active { background: none; box-shadow: none; overflow: visible; }
.tabs .lq-pill { position: absolute; top: 3px; bottom: 3px; left: 3px; width: 0; z-index: 0; border-radius: 10px; background: var(--chrome); box-shadow: var(--chrome-edge); pointer-events: none; }
.acct { background: var(--glass-read); -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6); box-shadow: var(--pop); }
.acct:not([hidden]) { animation: lqPop 520ms var(--spring) both; }
.top-tip { background: var(--glass-read); box-shadow: var(--pop); }

/* ---------- The page: one rounded panel of glass over the frame ---------- */
main { margin: 0 max(10px, env(safe-area-inset-right, 0px)) 10px max(10px, env(safe-area-inset-left, 0px)); min-height: calc(100vh - 70px); border-radius: 14px; }
/* The glass sits on a layer of its own, so main never becomes the box its fixed children measure from. */
main::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--glass-page); -webkit-backdrop-filter: blur(34px) saturate(1.4); backdrop-filter: blur(34px) saturate(1.4);
  box-shadow: inset 0 0 0 1px var(--g-edge), inset 1.8px 3px 0 -2px var(--g-hi), var(--drop); pointer-events: none; }
.phead { padding-top: 22px; }
.phead h1 { font-size: 24px; }
.grid { margin: 0 calc(10px - var(--gutter)); }

/* ---------- Tiles ---------- */
.tile { background: var(--panel); }
.tile.pending { background: var(--sunken); }
.tile.pending .qq { display: none; }
.tile.pending .ld-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.tile.pending .mk-top, .tile.pending .st, .tile.pending .progress { z-index: 1; }
.tile.pending .mk-top, .tile.pending .st { color: var(--text-2); }
.tile.pending::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.progress { background: var(--line-2); }
/* Text that sits on a photo or on the dark clip overlay stays light in both looks. */
:root[data-look="platinum"] .tile .meta { color: rgba(255, 255, 255, 0.86); text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); }
/* Tile badges (Last viewed, Last downloaded, Waiting for Claude, Deletes in): white glass with dark text on Platinum,
   and the Last viewed tile is not dimmed, so the photo stays clear (Christian 2026-11-19). Midnight keeps theme.css's. */
:root[data-look="platinum"] .tile-badge { background: rgba(255, 255, 255, 0.8); color: var(--text); -webkit-backdrop-filter: blur(10px) saturate(1.6); backdrop-filter: blur(10px) saturate(1.6);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 8px -2px rgba(0, 0, 0, 0.25); }
:root[data-look="platinum"] .tile.is-last-viewed::before { background: none; }
/* The membership card is black metal in both looks, so its chip stays silver. */
.card .chip { background: linear-gradient(180deg, #FFFFFF 0%, #D6D8DC 40%, #9EA1A6 60%, #E2E3E6 100%); }

/* ---------- Composer: glass, and it swells a little while you type ---------- */
.composer { background: var(--glass-read); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); border-radius: 22px;
  box-shadow: inset 0 0 0 1px var(--g-edge), inset 1.8px 3px 0 -2px var(--g-hi), inset -2px -2px 0 -2px var(--g-hi), inset 0 3px 4px -2px var(--g-lo), var(--drop);
  scale: 1; transform-origin: 0% 100%; transition: scale 700ms var(--spring), box-shadow 150ms ease; }
.composer:focus-within { scale: 1.02; }
:root[data-look="platinum"] .prompt { caret-color: #111113; }
:root[data-look="platinum"] .mention { background: rgba(0, 0, 0, 0.07); color: var(--text); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14); }
:root[data-look="platinum"] .composer.dragging, :root[data-look="platinum"] .clean-drop.over, :root[data-look="platinum"] .up-drop.over,
:root[data-look="platinum"] .up-group.over, :root[data-look="platinum"] .edit-bin.dragging { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.45); }
:root[data-look="platinum"] .field:focus { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.45); }
:root[data-look="platinum"] .setup-bars i { background: var(--line-2); }
:root[data-look="platinum"] .setup-bars i.on { background: var(--chrome); }

/* ---------- Menus: glass, they spring open and their options come in one after another ---------- */
.menu { background: var(--glass-read); -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6); border-radius: 16px; box-shadow: var(--pop); }
.menu:not([hidden]) { animation: lqPop 520ms var(--spring) both; }
@keyframes lqPop { from { opacity: 0; transform: scale(0.9) translateY(8px); } 40% { opacity: 1; } to { opacity: 1; transform: none; } }
.menu:not([hidden]) > .option, .menu:not([hidden]) > button { animation: lqItem 280ms var(--ease) both; }
.menu > :nth-child(2) { animation-delay: 22ms; } .menu > :nth-child(3) { animation-delay: 44ms; } .menu > :nth-child(4) { animation-delay: 66ms; }
.menu > :nth-child(5) { animation-delay: 88ms; } .menu > :nth-child(6) { animation-delay: 110ms; } .menu > :nth-child(7) { animation-delay: 132ms; }
.menu > :nth-child(8) { animation-delay: 154ms; } .menu > :nth-child(n+9) { animation-delay: 176ms; }
@keyframes lqItem { from { opacity: 0; transform: translateY(6px) scale(0.97); } to { opacity: 1; transform: none; } }
.menu .option.on { background: var(--line); }
.menu .ri { display: inline-block; flex: none; margin-right: 10px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--text-2); vertical-align: middle; }
.menu .option.on .ri { background: var(--chrome); box-shadow: none; }
.toast { background: var(--glass-read); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: var(--pop); }

/* ---------- Appearance (the account menu) and the one-time "new look" note ---------- */
.lq-looks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 4px 6px 8px; }
.lq-look { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px; border-radius: 13px; text-align: left; font-size: 12.5px; font-weight: 650; color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2); scale: 1; transition: scale 500ms var(--spring), box-shadow 120ms ease-out; }
.lq-look small { font-size: 10.5px; font-weight: 500; color: var(--text-2); }
.lq-look:hover { scale: 1.03; }
.lq-look[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--text); }
.lq-mini { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 9px; margin-bottom: 6px; overflow: hidden; }
.lq-mini i { position: absolute; display: block; }
.lq-mini i:nth-child(1) { left: 26%; right: 26%; top: 8%; height: 9%; border-radius: 99px; }
.lq-mini i:nth-child(2) { left: 7%; right: 7%; top: 24%; bottom: 8%; border-radius: 6px; }
.lq-mini i:nth-child(3) { left: 38%; width: 24%; top: 9.5%; height: 6%; border-radius: 99px; }
.lq-mini.m { background: #000; } .lq-mini.m i:nth-child(1) { background: #1C1C1E; } .lq-mini.m i:nth-child(2) { background: #121213; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); } .lq-mini.m i:nth-child(3) { background: linear-gradient(180deg, #fff, #b4b6bb); }
.lq-mini.p { background: #BFBFBF; } .lq-mini.p i:nth-child(1) { background: #F2F2F2; } .lq-mini.p i:nth-child(2) { background: #E0E0E0; } .lq-mini.p i:nth-child(3) { background: linear-gradient(180deg, #5A5A5F, #000); }
.acct .lq-appearance { display: block; padding: 4px 0 2px; }
.acct .lq-appearance > span { display: block; padding: 6px 6px 8px; font-size: 13.5px; color: var(--text-2); }
.modal.lq-intro { width: min(460px, 100%); gap: 14px; background: var(--glass-read); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); box-shadow: var(--pop); }
.modal-backdrop:not([hidden]) .modal.lq-intro { animation: lqPop 600ms var(--spring) both; }
.lq-intro .lq-looks { padding: 0; }
.lq-intro .where { font-size: 13px; color: var(--text-2); }
.avatar.lq-pulse { animation: lqPulse 1.4s ease-out 4; }
.lq-dot { position: fixed; left: 0; top: 0; z-index: 95; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; pointer-events: none; background: var(--chrome);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 0 0 2px var(--line-2), 0 0 16px 5px var(--dot-glow); }
:root { --dot-glow: rgba(255, 255, 255, 0.5); } :root[data-look="platinum"] { --dot-glow: rgba(0, 0, 0, 0.3); }
@keyframes lqPulse { 0% { box-shadow: var(--chrome-edge), 0 0 0 0 var(--line-3); } 100% { box-shadow: var(--chrome-edge), 0 0 0 14px rgba(128, 128, 128, 0); } }

/* ---------- Login ---------- */
.login .curves { display: none; }
body:has(.login), body:has(.pu-state) { background: var(--page); }
.l-head .metal { box-shadow: var(--chrome-edge); }
/* On the login the loops stay tucked in the corners, and text gets a halo in the page color so it always reads over them. */
body:has(.login) .lq-shape { width: 42vmin; }
body:has(.login) .lq-shape.tl { top: -19vmin; left: -19vmin; }
body:has(.login) .lq-shape.br { bottom: -19vmin; right: -19vmin; }
.l-head > span:not(.metal), .l-sub, .l-foot, .l-top, .team summary, .l-form .hint { text-shadow: 0 0 14px var(--page), 0 0 4px var(--page), 0 0 2px var(--page); }

@media (max-width: 860px) {
  main { margin: 0 6px 6px; }
  .lq-shape { width: 80vmin; }
  .lq-shape.tl { top: -34vmin; left: -34vmin; } .lq-shape.br { bottom: -34vmin; right: -34vmin; }
}
@media (prefers-reduced-motion: reduce) {
  .composer:focus-within { scale: 1; }
  .generate:hover, .btn.plat:hover, .pill-btn.primary:hover { scale: 1 !important; }
}

/* Tutorial videos (2026-11-19, web/tutorials.js): one glass pop-up with the X at the top left, a tab's video or the
   list of every video; Watch tutorial in the page header; the Getting started video on setup's first page. */
.tut-back { z-index: 90; }
.tut { position: relative; width: min(980px, 100%); max-height: calc(100dvh - 40px); overflow: auto; display: grid; gap: 16px; padding: 22px 24px 24px;
  border-radius: 28px; color: var(--text); background: var(--glass-read); -webkit-backdrop-filter: blur(28px) saturate(1.7); backdrop-filter: blur(28px) saturate(1.7); box-shadow: var(--pop); }
.modal-backdrop:not([hidden]) .tut { animation: lqPop 600ms var(--spring) both; }
.tut-x { position: absolute; top: 16px; left: 16px; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 999px; cursor: pointer; color: var(--text);
  background: var(--glass); -webkit-backdrop-filter: blur(12px) saturate(1.8); backdrop-filter: blur(12px) saturate(1.8); box-shadow: inset 0 0 0 1px var(--g-edge), inset 1px 2px 0 -1px var(--g-hi);
  transition: transform 140ms var(--ease), background-color 150ms ease; }
.tut-x:hover { transform: scale(1.06); }
.tut-x:focus-visible { outline: 2px solid var(--text-2); outline-offset: 2px; }
.tut-head { display: grid; gap: 6px; padding: 4px 8px 0 52px; min-height: 36px; }
.tut-kicker { color: var(--text-3); }
.tut-head h2 { margin: 0; font-variation-settings: "wdth" 125; font-weight: 640; text-transform: uppercase; letter-spacing: 0.02em; font-size: 18px; }
.tut-head p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.55; max-width: 680px; }
.tut-back-btn { justify-self: start; margin-top: 2px; }
.tut-frame { border-radius: 18px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: inset 0 0 0 1px var(--line-2); }
.tut-frame video { display: block; width: 100%; height: 100%; background: #000; }
.tut-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.tut-card { display: grid; gap: 8px; padding: 0; border: 0; background: none; color: var(--text); text-align: left; cursor: pointer; font: inherit; }
.tut-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: inset 0 0 0 1px var(--line-2); }
.tut-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 300ms var(--ease); }
.tut-card:hover .tut-thumb img { transform: scale(1.04); }
.tut-play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; color: #fff;
  background: rgba(10, 10, 11, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.tut-name { font-size: 14px; font-weight: 600; }
.tut-card:focus-visible { outline: 2px solid var(--text-2); outline-offset: 4px; border-radius: 14px; }
.tut-btn { display: inline-flex; align-items: center; gap: 7px; }
.setup-video { margin: 0; display: grid; gap: 8px; }
.setup-video video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: #000; box-shadow: inset 0 0 0 1px var(--line-2); }
.setup-video figcaption { color: var(--text-2); font-size: 13.5px; line-height: 1.5; }
@media (max-width: 860px) {
  .tut { padding: 16px 14px 16px; border-radius: 22px; }
  .tut-x { top: 12px; left: 12px; }
  .tut-head { padding-left: 46px; }
  .tut-list { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .modal-backdrop:not([hidden]) .tut { animation: none; }
  .tut-x:hover, .tut-card:hover .tut-thumb img { transform: none; }
}

/* ---------- Help, in the bottom-left corner (web/support.js, 2026-11-21) ----------
   A small round glass button, under every pop-up. On a window narrow enough for the prompt bar to reach the corner,
   it sits above the prompt bar instead. */
.help { position: fixed; z-index: 16; left: calc(22px + env(safe-area-inset-left, 0px)); bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
.help-btn { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 999px; cursor: pointer; color: var(--text-2);
  background: var(--glass); -webkit-backdrop-filter: blur(12px) saturate(1.8); backdrop-filter: blur(12px) saturate(1.8); box-shadow: inset 0 0 0 1px var(--g-edge), inset 1px 2px 0 -1px var(--g-hi), var(--drop);
  opacity: 0.72; transition: opacity 150ms ease, transform 140ms var(--ease), scale 550ms var(--spring); }
.help-btn:hover, .help-btn[aria-expanded="true"] { opacity: 1; color: var(--text); transition-duration: 0ms, 140ms, 550ms; }
.help-btn:hover { scale: 1.06; }
.help-btn:active { transform: scale(0.94); }
.help-btn:focus-visible { outline: 2px solid var(--text-2); outline-offset: 2px; opacity: 1; }
.help-menu { position: absolute; left: 0; bottom: 46px; display: grid; gap: 2px; min-width: 196px; padding: 6px; border-radius: 16px;
  background: var(--glass-read); -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6); box-shadow: var(--pop); transform-origin: bottom left; }
.help-menu:not([hidden]) { animation: lqPop 520ms var(--spring) both; }
.help-menu button { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--text); font-size: 13.5px; text-align: left; cursor: pointer; }
.help-menu button svg { flex: none; color: var(--text-2); }
.help-menu button:hover, .help-menu button:focus-visible { background: var(--raise, rgba(255, 255, 255, 0.06)); outline: none; }
@media (max-width: 1120px) {
  body:has(#composer:not([hidden])) .help { bottom: calc(var(--composer-h, 0px) + 34px + env(safe-area-inset-bottom, 0px)); }
}
.help-back { z-index: 90; }
.tut.help-form { width: min(560px, 100%); }
.help-msg { width: 100%; height: auto; min-height: 140px; padding: 12px 16px; resize: vertical; line-height: 1.5; }
.help-shot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.help-shot[hidden] { display: none; }
.help-shot-name { color: var(--text-2); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 240px; }
.help-err { margin: 0; color: #E8735E; font-size: 13px; }
.help-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) { .help-menu:not([hidden]) { animation: none; } }
.support-table .support-msg { white-space: pre-wrap; min-width: 260px; max-width: 520px; line-height: 1.5; }
.support-table .support-actions { white-space: nowrap; }
.support-table .support-actions .pill-btn + .pill-btn { margin-left: 6px; }
