/* ===========================================================================
   ProxFree Dark - YT Clipper front site.
   --brand is overwritten per site from the theme colour in Settings, and
   every tint below is mixed from it, so one field re-colours the whole shop.
   =========================================================================== */
*,*::before,*::after{box-sizing:border-box}
/* A `display` in a rule beats the hidden attribute, and several below set
   one - so say outright that hidden means hidden. */
[hidden]{display:none!important}
:root{
  color-scheme:dark;
  --brand:#14b8a6; --brand-2:#2dd4bf;
  --brand-2:color-mix(in oklab, var(--brand) 70%, white);
  --brand-soft:#0f2e2a;
  --brand-soft:color-mix(in srgb, var(--brand) 14%, #0b1210);
  --brand-line:#1f4d46;
  --brand-line:color-mix(in srgb, var(--brand) 32%, #0b1210);
  --ink:#eef5f3; --ink-2:#c2d2cd; --muted:#8aa39d;
  --bg:#0a0f0e; --surface:#111b18; --bg-soft:#0e1613; --line:#223029;
  --ok:#34d399; --ok-soft:#0e2a20; --warn:#fbbf24; --warn-soft:#2b2110;
  --bad:#f87171; --bad-soft:#2c1518;
  --radius:20px; --radius-sm:14px;
  --shadow:0 2px 4px rgba(0,0,0,.35), 0 12px 32px rgba(0,0,0,.30);
  --glow-soft:rgba(20,184,166,.14);
  --glow-soft:color-mix(in srgb, var(--brand) 14%, transparent);
  --glow:rgba(20,184,166,.35);
  --glow:color-mix(in srgb, var(--brand) 35%, transparent);
  --shadow-lg:0 8px 24px var(--glow-soft), 0 24px 60px rgba(0,0,0,.45);
  --brand-deep:#5eead4;
  --brand-deep:color-mix(in oklab, var(--brand) 45%, white);
  --brand-warm:#22d3ee;
  --brand-warm:color-mix(in oklab, var(--brand) 38%, white);
  --grad:linear-gradient(135deg,var(--brand),var(--brand-2));
  --grad-deep:linear-gradient(125deg,color-mix(in srgb, var(--brand) 22%, #0a0f0e) 0%,var(--brand) 42%,var(--brand-2) 72%,var(--brand-warm) 100%);
}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;overflow-x:clip}
body{margin:0;font-family:'Plus Jakarta Sans',system-ui,-apple-system,Segoe UI,sans-serif;
  color:var(--ink);background-color:var(--bg);
  background-image:radial-gradient(900px 480px at 50% -8%,var(--glow-soft),transparent 62%);
  line-height:1.6;overflow-x:hidden}
img,svg{max-width:100%}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{margin:0;line-height:1.2;letter-spacing:-.02em}
p{margin:0}
button,input,select,textarea{font:inherit;color:inherit}
.wrap{width:100%;max-width:1220px;margin:0 auto;padding:0 20px}
.narrow{max-width:820px}
.icon{width:1em;height:1em;display:inline-block;vertical-align:-.125em;fill:currentColor;flex:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
/* The bot trap. Inside the page and visibility:hidden, not parked at -9999px:
   iPhone's keyboard arrows step into any focusable field, and stepping into
   one 9999px off to the left threw the whole page sideways. Hidden this way
   it cannot be focused, and a bot reading the HTML still finds it. */
.hp{position:absolute;left:0;top:0;width:1px;height:1px;overflow:hidden;opacity:0;visibility:hidden;pointer-events:none}
.skip{position:absolute;left:12px;top:-60px;z-index:100;background:var(--surface);padding:10px 16px;border-radius:10px;
  font-weight:700;box-shadow:var(--shadow)}
.skip:focus{top:12px}
:focus-visible{outline:3px solid color-mix(in srgb, var(--brand) 55%, #fff);outline-offset:2px}

*{scrollbar-width:thin;scrollbar-color:var(--line) transparent}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-thumb{background:var(--line);border-radius:999px;border:3px solid transparent;background-clip:padding-box}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;
  padding:12px 22px;font-weight:700;font-size:15px;cursor:pointer;line-height:1.2;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease,opacity .15s;white-space:nowrap}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--grad);color:#fff;box-shadow:0 6px 18px var(--glow)}
.btn-primary:hover{box-shadow:0 10px 26px var(--glow);transform:translateY(-1px)}
.btn-ghost:hover{border-color:var(--brand-line);background:var(--bg-soft);transform:translateY(-1px)}
.btn-dark{background:#1d2b27;color:#fff;border:1.5px solid #31443c}
.btn-wa{background:#25d366;color:#fff}
.btn-tg{background:#229ed9;color:#fff}
.btn-sm{padding:8px 15px;font-size:14px}
.btn-lg{padding:16px 28px;font-size:17px}
.btn-block{width:100%}
.btn:disabled,.btn[aria-disabled="true"]{opacity:.5;cursor:not-allowed;box-shadow:none}
.btn-wait{pointer-events:none;opacity:.92}
.btn-wait::before{content:"";width:1.05em;height:1.05em;flex:none;border-radius:50%;
  border:2px solid currentColor;border-top-color:transparent;animation:spin .6s linear infinite}
@keyframes spin{to{transform:rotate(1turn)}}
.chip-btn{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:700;padding:5px 10px;
  border-radius:999px;border:1.5px solid var(--line);background:var(--surface);cursor:pointer;color:var(--ink-2)}
.chip-btn:hover{border-color:var(--brand-line);color:var(--brand)}
.is-copied{background:var(--ok)!important;color:#fff!important;border-color:var(--ok)!important}

/* ---------- header ---------- */
.site-head{position:sticky;top:0;z-index:40;background:rgba(11,18,16,.88);backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line)}
/* A page that opens on the band gives the header to it: no bar, white type
   straight on the colour. A browser without :has() keeps the white bar. */
body:has(.hero) .site-head{position:absolute;left:0;right:0;background:none;backdrop-filter:none;border-bottom:0}
body:has(.hero) .site-head .logo{color:#fff}
body:has(.hero) .site-head .logo-mark{background:rgba(255,255,255,.18);box-shadow:inset 0 0 0 1px rgba(255,255,255,.3)}
body:has(.hero) .site-head .nav-links a{color:rgba(255,255,255,.88)}
body:has(.hero) .site-head .nav-links a:hover,
body:has(.hero) .site-head .nav-links a.active{background:rgba(255,255,255,.16);color:#fff}
body:has(.hero) .site-head .chat-link{color:#fff}
body:has(.hero) .site-head .btn-ghost{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.45)}
body:has(.hero) .site-head .btn-ghost:hover{background:rgba(255,255,255,.22);border-color:#fff}
body:has(.hero) .site-head .btn-primary{background:#fff;color:var(--brand);box-shadow:none}
body:has(.hero) .site-head .burger{color:#fff;border-color:rgba(255,255,255,.45)}
body:has(.hero) .site-head .acct-chip{background:rgba(255,255,255,.14);color:#fff;border-color:rgba(255,255,255,.4)}
body:has(.hero) .site-head .acct-bal small{color:rgba(255,255,255,.8)}
body:has(.hero) .site-head .drawer{box-shadow:var(--shadow)}
.nav{display:flex;align-items:center;gap:16px;height:70px}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:20px;letter-spacing:-.03em;flex:none}
.logo-mark{width:36px;height:36px;border-radius:11px;flex:none;background:var(--grad);color:#fff;
  display:grid;place-items:center;font-size:19px;box-shadow:0 4px 12px var(--glow)}
.nav-links{display:flex;gap:2px;margin-left:10px}
.nav-links a{padding:8px 13px;border-radius:10px;font-weight:600;font-size:14.5px;color:var(--ink-2)}
.nav-links a:hover,.nav-links a.active{background:var(--brand-soft);color:var(--brand)}
.nav-right{margin-left:auto;display:flex;align-items:center;gap:8px}
.chat-link{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;color:var(--ink-2);font-size:19px}
.chat-link:hover{background:var(--brand-soft);color:var(--brand)}
.acct-chip{display:flex;align-items:center;gap:9px;padding:4px 14px 4px 4px;border-radius:999px;
  border:1.5px solid var(--line);background:var(--surface)}
.acct-av{width:32px;height:32px;border-radius:50%;background:var(--grad);color:#fff;display:grid;place-items:center;font-weight:800;font-size:14px}
.acct-bal{display:flex;flex-direction:column;line-height:1.15}
.acct-bal small{font-size:10.5px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.acct-bal b{font-size:14px}
.burger{display:none;width:42px;height:42px;border-radius:12px;border:1.5px solid var(--line);background:none;
  cursor:pointer;place-items:center;font-size:20px}
.drawer{display:none;background:var(--surface);border-top:1px solid var(--line);padding:8px 0 14px}
.drawer.show{display:block}
.drawer a{display:block;padding:11px 20px;font-weight:600;border-radius:10px}
.drawer a:hover{background:var(--brand-soft);color:var(--brand)}
.flash-wrap{padding-top:16px}
body:has(.hero) .flash-wrap{position:absolute;top:70px;left:0;right:0;z-index:30}

/* ---------- alerts ---------- */
.alert{padding:13px 16px;border-radius:14px;font-weight:600;font-size:14.5px;border:1px solid transparent}
.alert-success{background:var(--ok-soft);color:#86efac;border-color:rgba(52,211,153,.4)}
.alert-error{background:var(--bad-soft);color:#fca5a5;border-color:rgba(248,113,113,.4)}
.alert-warning{background:var(--warn-soft);color:#fcd34d;border-color:rgba(251,191,36,.4);margin-bottom:16px}
.alert-info{background:var(--brand-soft);color:var(--brand-deep);border-color:var(--brand-line)}

/* ---------- the band ---------- */
.hero{position:relative;background:var(--grad-deep);color:#fff;overflow:hidden;isolation:isolate}
.hero::before{content:"";position:absolute;inset:auto -10% -60% 45%;height:120%;border-radius:50%;
  background:radial-gradient(closest-side,rgba(255,255,255,.18),transparent);z-index:-1}
.hero::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:70px;background:var(--bg);
  border-radius:50% 50% 0 0/100% 100% 0 0;z-index:-1}
.hero-compact .hero-in{padding:118px 20px 116px;max-width:900px;text-align:center}
.hero h1{font-size:clamp(30px,5.2vw,52px);font-weight:800;letter-spacing:-.035em;margin:6px 0 14px;text-wrap:balance}
.hero-lead{font-size:clamp(15.5px,1.8vw,18px);color:rgba(255,255,255,.88);max-width:680px;margin:0 auto;text-wrap:pretty}
.hero-points{list-style:none;padding:0;margin:22px 0 0;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 22px}
.hero-points li{display:flex;align-items:center;gap:7px;font-size:14.5px;color:rgba(255,255,255,.9)}
.hero-points .icon{font-size:17px;opacity:.9}
.crumbs{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;font-size:13.5px;color:rgba(255,255,255,.8);font-weight:600}
.crumbs a:hover{color:#fff;text-decoration:underline}
.crumbs-dark{justify-content:flex-start;color:var(--muted);margin-bottom:8px}
.crumbs-dark a:hover{color:var(--brand)}

/* ---------- the picker ---------- */
.buy{position:relative;z-index:5;margin-top:-92px;padding-bottom:20px}
.buybox{background:var(--surface);border-radius:26px;box-shadow:var(--shadow-lg);border:1px solid var(--line);overflow:hidden}
/* Centred over the panes they switch, with room under them so they read as
   the choice above the lists rather than the lists' first row. `safe` keeps
   the first tab reachable if a narrow screen ever has to scroll them. */
.buy-tabs{display:flex;justify-content:center;justify-content:safe center;gap:8px;padding:14px 12px 18px;
  background:var(--bg-soft);border-bottom:1px solid var(--line);overflow-x:auto}
.buy-tab{display:flex;align-items:center;gap:8px;padding:11px 18px;border-radius:14px;font-weight:700;font-size:15px;
  color:var(--ink-2);white-space:nowrap}
.buy-tab .icon{font-size:18px}
.buy-tab:hover{background:var(--surface);color:var(--brand)}
.buy-tab.on{background:var(--surface);color:var(--brand);box-shadow:0 2px 10px var(--glow-soft),inset 0 0 0 1.5px var(--brand-line)}
.buy-grid{display:grid;grid-template-columns:1fr 1fr 1.08fr;min-height:560px}
.buy-grid.cols-2{grid-template-columns:1fr 1.15fr}
.pane{display:flex;flex-direction:column;min-width:0;border-right:1px solid var(--line)}
.pane:last-child{border-right:0}
.pane-options{background:linear-gradient(180deg,var(--bg-soft),var(--surface) 40%)}
.pane-head{display:flex;align-items:center;gap:10px;padding:18px 18px 10px}
.pane-head h2{font-size:17px;font-weight:800;letter-spacing:-.02em}
.step-n{width:26px;height:26px;border-radius:9px;background:var(--grad);color:#fff;display:grid;place-items:center;
  font-weight:800;font-size:13.5px;flex:none}
.pane-count{margin-left:auto;font-size:12.5px;font-weight:700;color:var(--muted);background:var(--bg-soft);
  border:1px solid var(--line);padding:3px 9px;border-radius:999px}
.pane-back{display:none;width:34px;height:34px;border-radius:10px;border:1.5px solid var(--line);background:var(--surface);
  place-items:center;cursor:pointer;font-size:17px;flex:none}
.pane-tools{padding:0 18px 10px;display:flex;flex-direction:column;gap:9px}
.psearch{display:flex;align-items:center;gap:9px;border:1.5px solid var(--line);border-radius:14px;padding:0 13px;
  background:var(--surface);transition:border-color .15s,box-shadow .15s}
.psearch:focus-within{border-color:var(--brand);box-shadow:0 0 0 4px var(--glow-soft)}
.psearch .icon{color:var(--muted);font-size:17px}
.psearch input{border:0;outline:0;background:none;width:100%;padding:11px 0;font-size:15px}
.psearch input::-webkit-search-cancel-button{cursor:pointer}
/* A segmented switch: one track, the chosen order lifted out of it. */
.psort{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;padding:3px;border-radius:12px;background:var(--bg-soft);
  border:1px solid var(--line)}
.no-js .psort{display:none}
.psort button{border:0;background:none;border-radius:9px;padding:6px 8px;font-size:12.5px;font-weight:700;
  color:var(--muted);cursor:pointer;transition:background .15s,color .15s,box-shadow .15s}
.psort button:hover{color:var(--ink)}
.psort button.on{background:var(--surface);color:var(--brand);box-shadow:0 1px 3px rgba(0,0,0,.35)}
.plist{list-style:none;margin:0;padding:2px 10px 14px;overflow-y:auto;flex:1;max-height:470px;
  overscroll-behavior:contain}
.pitem{display:flex;align-items:center;gap:12px;padding:9px 10px;border-radius:13px;cursor:pointer;
  border:1.5px solid transparent;transition:background .12s,border-color .12s}
.pitem:hover{background:var(--bg-soft)}
.pitem.on{background:var(--brand-soft);border-color:var(--brand-line)}
.pitem.is-dim{opacity:.45}
.pname{flex:1;min-width:0;font-weight:700;font-size:14.5px;line-height:1.25;overflow:hidden;text-overflow:ellipsis}
.pname small{display:block;font-weight:500;font-size:12px;color:var(--muted)}
.pprice{font-weight:800;font-size:14px;color:var(--ink);text-align:right;white-space:nowrap;line-height:1.15}
.pprice small{display:block;font-weight:600;font-size:10.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.pitem.on .pprice{color:var(--brand)}
.pempty{padding:28px 14px;text-align:center;color:var(--muted);font-weight:600;font-size:14px}
.pmore{padding:14px;text-align:center;color:var(--muted);font-size:13px;font-weight:600}
.plist mark{background:color-mix(in srgb, var(--brand) 32%, transparent);color:inherit;border-radius:3px;padding:0 1px}

/* icons: a brand glyph on its colour, or the first letter */
.svc-ico{--c:var(--brand);width:38px;height:38px;border-radius:12px;flex:none;display:grid;place-items:center;
  background:color-mix(in srgb, var(--c) 18%, #101a17);color:var(--c);font-weight:800;font-size:17px}
.svc-ico svg{width:21px;height:21px;fill:currentColor}
.svc-ico.is-letter{background:var(--c);color:#fff}
.svc-ico-lg{width:52px;height:52px;border-radius:16px;font-size:22px}
.svc-ico-lg svg{width:28px;height:28px}
.flag{width:28px;height:21px;border-radius:5px;object-fit:cover;flex:none;box-shadow:0 0 0 1px rgba(0,0,0,.4);background:var(--bg-soft)}
.flag-lg{width:44px;height:33px;border-radius:7px}

/* the last step */
.pane-options [data-options],.pane-options .pane-options{flex:1;display:flex;flex-direction:column}
.opt-empty{margin:4px 18px 18px;padding:26px 20px;border:1.5px dashed var(--brand-line);border-radius:18px;text-align:center;
  background:var(--surface)}
.opt-empty-ico{width:56px;height:56px;border-radius:18px;background:var(--brand-soft);color:var(--brand);
  display:grid;place-items:center;font-size:26px;margin:0 auto 12px}
.opt-empty b{font-size:17px;display:block;margin-bottom:4px}
.opt-empty p{color:var(--ink-2);font-size:14.5px}
.opt-promise{list-style:none;padding:0;margin:18px 0 0;display:grid;gap:9px;text-align:left}
.opt-promise li{display:flex;gap:10px;align-items:center;font-size:14px;font-weight:600;color:var(--ink-2);
  background:var(--bg-soft);border-radius:12px;padding:9px 12px}
.opt-promise .icon{color:var(--brand);font-size:17px}
.optform{padding:4px 18px 18px;display:flex;flex-direction:column;gap:12px}
.osum{display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;background:var(--surface);border:1px solid var(--line)}
.osum-txt{min-width:0}
.osum-txt b{display:block;font-size:16px;line-height:1.25}
.osum-txt small{color:var(--muted);font-size:13px;font-weight:600}
.opts{border:0;padding:0;margin:0;display:grid;gap:8px}
/* The other options, folded under the chosen one. */
.more-opts{display:grid;gap:8px}
.more-opts[open]{max-height:300px;overflow-y:auto}
.more-opts summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;
  padding:9px;border-radius:12px;font-weight:700;font-size:14px;color:var(--brand)}
.more-opts summary::-webkit-details-marker{display:none}
.more-opts summary::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:translateY(-2px) rotate(45deg);transition:transform .2s}
.more-opts[open] summary::after{transform:translateY(2px) rotate(-135deg)}
.more-opts summary span{color:var(--muted);font-weight:600}
.more-opts summary:hover{background:var(--brand-soft)}
.opt-single .opt-radio{display:none}
.opt{display:flex;align-items:center;gap:11px;padding:12px 13px;border-radius:14px;border:1.5px solid var(--line);
  background:var(--surface);cursor:pointer;transition:border-color .12s,background .12s}
.opt:hover{border-color:var(--brand-line)}
.opt.on{border-color:var(--brand);background:var(--brand-soft);box-shadow:0 0 0 3px var(--glow-soft)}
.opt input{position:absolute;opacity:0;pointer-events:none}
.opt-radio{width:20px;height:20px;border-radius:50%;border:2px solid #3a4d46;flex:none;position:relative}
.opt.on .opt-radio{border-color:var(--brand)}
.opt.on .opt-radio::after{content:"";position:absolute;inset:3px;border-radius:50%;background:var(--brand)}
.olabel{flex:1;font-weight:700;font-size:14.5px;line-height:1.25}
.olabel small{display:block;color:var(--muted);font-weight:500;font-size:12px}
.oprice{font-weight:800;font-size:16px;text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:3px}
.obadge{font-style:normal;font-size:10.5px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;
  background:var(--ok-soft);color:var(--ok);padding:2px 7px;border-radius:999px}
.obadge-p{background:var(--warn-soft);color:#fbbf24}
.obadge-best{background:var(--ok-soft);color:var(--ok)}
.obadge-budget{background:var(--warn-soft);color:#fbbf24}
.obadge-price{background:var(--brand-soft);color:var(--brand)}
/* Choosing a budget number says what it risks, next to a way back. */
.opt-warn{display:flex;gap:10px;align-items:flex-start;margin:10px 0 2px;padding:12px 14px;border-radius:14px;
  background:var(--warn-soft);border:1px solid rgba(251,191,36,.4);color:#fcd34d;font-size:13.5px;line-height:1.45}
.opt-warn .icon{font-size:19px;flex:none;margin-top:1px;color:var(--warn)}
.opt-warn b{display:block;color:#fde68a}
.opt-switch{display:inline-flex;margin-top:8px;padding:7px 12px;border-radius:10px;border:1.5px solid var(--ok);background:var(--surface);
  color:var(--ok);font:inherit;font-weight:700;font-size:13px;cursor:pointer}
.opt-switch:hover{background:var(--ok-soft)}
.ocontact{display:grid;gap:9px}
.ofield{display:grid;gap:5px}
.ofield > span:first-child{font-size:13px;font-weight:700;color:var(--ink-2)}
.ofield em{font-style:normal;font-weight:600;color:var(--muted)}
.ofield-in{display:flex;align-items:center;gap:9px;border:1.5px solid var(--line);border-radius:13px;padding:0 12px;
  background:var(--surface);transition:border-color .15s,box-shadow .15s}
.ofield-in:focus-within{border-color:var(--brand);box-shadow:0 0 0 4px var(--glow-soft)}
.ofield-in .icon{color:var(--muted);font-size:16px;flex:none}
.ofield-in input{border:0;outline:0;background:none;width:100%;padding:10px 0;font-size:15px;min-width:0}
.ofield-in:has(input[aria-invalid]){border-color:var(--warn)}
.ocontact-hint{font-size:12px;color:var(--muted);line-height:1.4}
.obal{font-size:13px;color:var(--muted);text-align:center}
.obal a{color:var(--brand);font-weight:700}
.opt-trust{list-style:none;padding:0;margin:2px 0 0;display:flex;justify-content:center;gap:16px;flex-wrap:wrap}
.opt-trust li{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--muted);font-weight:600}
.opt-trust .icon{color:var(--ok)}

/* phones: one pane at a time, once the script is running. Without it every
   pane is on the page, one under the other, which still works. */
@media (max-width:900px){
  .buy{margin-top:-84px}
  .buy-grid,.buy-grid.cols-2{grid-template-columns:1fr;min-height:0}
  .pane{border-right:0;border-bottom:1px solid var(--line)}
  .buybox.is-live .pane{display:none;border-bottom:0}
  .buybox.is-live[data-step="service"] .pane-service,
  .buybox.is-live[data-step="country"] .pane-country,
  .buybox.is-live[data-step="options"] .pane-options{display:flex}
  .buybox.is-live .pane-back{display:grid}
  .plist{max-height:60vh}
  .opts{max-height:none}
  .buybox.is-live .buy-grid.is-loading .pane:first-child{display:flex}
}

/* ---------- loading: skeletons, the order cover, the top bar ----------
   A skeleton has the shape of what is coming, in the place it is coming,
   so nothing jumps when it arrives - the same idea as the SMM cards. */
.sk{display:block;border-radius:8px;background:linear-gradient(90deg,var(--bg-soft) 25%,#1d2c27 37%,var(--bg-soft) 63%);
  background-size:400% 100%;animation:sk 1.3s ease-in-out infinite}
@keyframes sk{0%{background-position:100% 50%}100%{background-position:0 50%}}
.sk-item{display:flex;align-items:center;gap:12px;padding:9px 10px;pointer-events:none}
.sk-lines{flex:1;display:grid;gap:7px;min-width:0}
.sk-ico{width:38px;height:38px;border-radius:12px;flex:none}
.sk-ico-lg{width:52px;height:52px;border-radius:16px;flex:none}
.sk-t{height:13px;width:62%}
.sk-s{height:10px;width:38%}
.sk-p{width:46px;height:24px;flex:none}
.sk-step{width:26px;height:26px;border-radius:9px;flex:none}
.sk-h{width:130px;height:17px}
.sk-search{height:46px;border-radius:14px}
.opt-sk{padding:4px 18px 18px;display:flex;flex-direction:column;gap:12px}
.sk-sum{display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;background:var(--surface);border:1px solid var(--line)}
.sk-opt{height:62px;border-radius:14px}
.sk-more{height:18px;width:120px;margin:4px auto}
.sk-btn{height:54px;border-radius:999px}
.sk-center{margin:0 auto;width:60%}

.optform{position:relative}
.optform.is-busy > :not(.buying){pointer-events:none}
.buying{position:absolute;inset:-4px 6px 6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
  text-align:center;padding:20px;z-index:2;border-radius:20px;background:rgba(13,22,19,.95);
  border:1px solid var(--line);box-shadow:var(--shadow);animation:buyin .18s ease-out}
@keyframes buyin{from{opacity:0}to{opacity:1}}
.buying b{font-size:16.5px;font-weight:800;color:var(--ink)}
.buying small{font-size:13px;color:var(--muted);font-weight:600}
.buying-spin{width:46px;height:46px;border-radius:50%;margin-bottom:8px;border:4px solid var(--brand-soft);
  border-top-color:var(--brand);animation:spin .8s linear infinite}

.is-updating{position:relative;pointer-events:none}
.is-updating::after{content:"";position:absolute;inset:0;border-radius:inherit;background:rgba(13,22,19,.6)}

.navbar-load{position:fixed;top:0;left:0;height:3px;width:0;z-index:1000;background:var(--grad);
  box-shadow:0 0 10px var(--glow-soft);opacity:0;pointer-events:none;transition:width 8s cubic-bezier(.1,.7,.2,1),opacity .3s}
.navbar-load.is-on{opacity:1}
.navbar-load.is-done{transition:width .25s ease-out,opacity .3s .2s;opacity:0}

/* ---------- sections ---------- */
.section{padding:64px 0}
.section-tight{padding:28px 0 56px}
.section-soft{background:var(--bg-soft);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section-head{text-align:center;margin-bottom:34px}
.section-head h2{font-size:clamp(26px,3.6vw,38px);font-weight:800;letter-spacing:-.03em}
.section-head-row{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;text-align:left;flex-wrap:wrap}
.eyebrow{display:inline-block;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;
  color:var(--brand);background:var(--brand-soft);padding:5px 12px;border-radius:999px;margin-bottom:12px}
.steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.step{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow)}
.step .step-n{width:36px;height:36px;border-radius:12px;font-size:16px;margin-bottom:14px}
.step h3{font-size:17px;margin-bottom:6px}
.step p{color:var(--ink-2);font-size:14.5px}
.features{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
/* Plans page, desktop only (min-width 1061px): 2 cards on the top row,
   3 on the second row. Tablets and phones keep the existing layout. */
@media (min-width:1061px){
  .features.plans-grid{grid-template-columns:repeat(6,1fr)}
  .features.plans-grid>.feat:nth-child(-n+2){grid-column:span 3}
  .features.plans-grid>.feat:nth-child(n+3){grid-column:span 2}
}
.feat{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:24px}
.feat-i{width:46px;height:46px;border-radius:14px;background:var(--brand-soft);color:var(--brand);display:grid;
  place-items:center;font-size:22px;margin-bottom:14px}
.feat h3{font-size:17px;margin-bottom:6px}
.feat-popular{border:2px solid var(--brand);box-shadow:0 8px 24px color-mix(in srgb, var(--brand) 18%, transparent)}
.feat-highlight{border:2px solid var(--brand);box-shadow:0 8px 24px color-mix(in srgb, var(--brand) 22%, transparent)}
.plan-ticks li{display:flex;gap:8px;align-items:baseline;padding:3px 0}
.plan-ticks .tick{color:var(--brand);font-weight:800;flex:0 0 auto}
.plan-badge{display:inline-block;background:var(--brand);color:#fff;font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;border-radius:999px;padding:4px 10px;margin-bottom:10px}
.feat p{color:var(--ink-2);font-size:14.5px}
.faq{max-width:820px;margin:0 auto;display:grid;gap:10px}
.fitem{background:var(--surface);border:1.5px solid var(--line);border-radius:16px;overflow:hidden}
.fitem[open]{border-color:var(--brand-line);box-shadow:0 6px 20px var(--glow-soft)}
.fitem summary{cursor:pointer;list-style:none;padding:17px 20px;font-weight:700;display:flex;justify-content:space-between;gap:14px}
.fitem summary::-webkit-details-marker{display:none}
.fitem summary::after{content:"+";font-size:22px;line-height:1;color:var(--brand);transition:transform .2s}
.fitem[open] summary::after{transform:rotate(45deg)}
.fitem p{padding:0 20px 18px;color:var(--ink-2)}
.band{margin:30px 0 64px;padding:44px 28px;border-radius:28px;background:var(--grad-deep);color:#fff;text-align:center}
.band h2{font-size:clamp(24px,3vw,32px);margin-bottom:8px}
.band p{color:rgba(255,255,255,.88);margin-bottom:20px}
.bandrow,.chatrow{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.chatrow{margin-bottom:24px}
.prose-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:30px 34px;box-shadow:var(--shadow)}
.prose{font-size:16.5px;line-height:1.75;color:var(--ink-2)}
.prose h2{font-size:26px;margin:1.6em 0 .6em;color:var(--ink)}
.prose h3{font-size:21px;margin:1.4em 0 .5em;color:var(--ink)}
.prose p{margin:0 0 1.1em}
.prose a{color:var(--brand);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.prose img{border-radius:14px;height:auto}
.prose ul,.prose ol{padding-left:1.3em;margin:0 0 1.1em}
.prose blockquote{margin:1.4em 0;padding:14px 20px;border-left:4px solid var(--brand);background:var(--brand-soft);border-radius:0 12px 12px 0}
.prose table{width:100%;border-collapse:collapse;margin:1.2em 0;font-size:15px}
.prose th,.prose td{border:1px solid var(--line);padding:9px 12px;text-align:left}
.prose pre,.prose code{background:var(--bg-soft);border-radius:8px;font-size:.9em}
.prose pre{padding:14px;overflow:auto}
.prose > :first-child{margin-top:0}

.page-head{padding:40px 0 10px}
.page-head h1{font-size:clamp(28px,4vw,42px);font-weight:800;letter-spacing:-.03em}
.page-head p{color:var(--ink-2);margin-top:8px;max-width:640px}
.page-band{padding:26px 0 0}
.empty-state{background:var(--surface);border:1.5px dashed var(--line);border-radius:var(--radius);padding:36px;text-align:center;color:var(--ink-2)}
.empty-state b{display:block;font-size:18px;color:var(--ink);margin-bottom:6px}
.big404{font-size:clamp(70px,14vw,140px);font-weight:800;line-height:1;background:var(--grad);-webkit-background-clip:text;
  background-clip:text;color:transparent;margin-bottom:6px}

/* ---------- posts ---------- */
.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.pcard{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;
  transition:box-shadow .2s,transform .2s}
.pcard:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.pcard-img{display:block;aspect-ratio:16/9;background:var(--brand-soft)}
.pcard-img img{width:100%;height:100%;object-fit:cover;display:block}
.pcard-ph{display:grid;place-items:center;height:100%;font-size:40px;color:var(--brand);opacity:.5}
.pcard-body{padding:18px 20px 20px;display:flex;flex-direction:column;gap:8px;flex:1}
.pcard-cat{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--brand)}
.pcard h3{font-size:18px;line-height:1.3}
.pcard h3 a:hover{color:var(--brand)}
.pcard p{color:var(--ink-2);font-size:14.5px;flex:1}
.pcard time{font-size:13px;color:var(--muted);font-weight:600}
.blog-layout{display:grid;grid-template-columns:1fr 300px;gap:28px;align-items:start}
.blog-side .panel{position:sticky;top:90px}
.blog-cats{list-style:none;padding:0;margin:0;display:grid;gap:4px}
.blog-cats a{display:flex;justify-content:space-between;padding:8px 12px;border-radius:10px;font-weight:600;color:var(--ink-2)}
.blog-cats a:hover,.blog-cats a.on{background:var(--brand-soft);color:var(--brand)}
.post-head{padding:44px 0 18px}
.post-head > *{max-width:860px}
.post-head h1{font-size:clamp(30px,4.6vw,48px);font-weight:800;letter-spacing:-.035em;margin:10px 0 14px;text-wrap:balance}
.post-meta{display:flex;flex-wrap:wrap;gap:8px 16px;color:var(--muted);font-weight:600;font-size:14px}
.post-cover{border-radius:var(--radius);overflow:hidden;margin-bottom:28px;aspect-ratio:16/8;background:var(--brand-soft)}
.post-cover img{width:100%;height:100%;object-fit:cover;display:block}
.post-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.post-tags span{font-size:13px;font-weight:700;background:var(--bg-soft);border:1px solid var(--line);padding:4px 11px;border-radius:999px}
.toc{background:var(--bg-soft);border:1px solid var(--line);border-radius:14px;padding:14px 18px;margin-bottom:22px}
.toc b{display:block;margin-bottom:6px}
.toc ol{margin:0;padding-left:1.2em;font-size:15px}
.toc a{color:var(--brand);font-weight:600}
.share{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:22px;font-weight:700;font-size:14px;color:var(--muted)}
.posts-2{grid-template-columns:repeat(2,1fr)}
.pfeature{display:grid;grid-template-columns:1.1fr 1fr;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;margin-bottom:20px;box-shadow:var(--shadow)}
.pfeature-img{display:block;min-height:240px;background:var(--brand-soft)}
.pfeature-img img{width:100%;height:100%;object-fit:cover;display:block}
.pfeature-body{padding:26px;display:flex;flex-direction:column;gap:10px;justify-content:center}
.pfeature h2{font-size:24px;line-height:1.25;letter-spacing:-.02em}
.pfeature h2 a:hover{color:var(--brand)}
.pfeature p{color:var(--ink-2)}
.pfeature time{font-size:13px;color:var(--muted);font-weight:600}
.blog-found{margin-bottom:16px;color:var(--ink-2)}
.blog-found a{color:var(--brand);font-weight:700}
.blog-search{display:flex;align-items:center;gap:8px;border:1.5px solid var(--line);border-radius:12px;padding:0 12px;margin-bottom:18px}
.blog-search:focus-within{border-color:var(--brand)}
.blog-search input{border:0;outline:0;height:42px;flex:1;min-width:0;font:inherit;background:transparent}
.blog-search .icon{color:var(--muted)}
.blog-cats a span{color:var(--muted);font-weight:600}
.side-cta{margin-top:18px;padding:18px;border-radius:16px;background:var(--brand-soft)}
.side-cta b{display:block;font-size:16px}
.side-cta p{font-size:14px;color:var(--ink-2);margin:6px 0 12px}
.blog-side .ptitle{font-size:15px;margin-top:16px}
.toc .toc-3{margin-left:14px;list-style:circle}
.post-tags a{font-size:13px;font-weight:700;background:var(--bg-soft);border:1px solid var(--line);padding:4px 11px;border-radius:999px;
  text-decoration:none;color:var(--ink-2)}
.post-tags a:hover{border-color:var(--brand);color:var(--brand)}
.prose .share a,.prose .post-tags a,.prose .toc a{text-decoration:none}
.prose h2[id],.prose h3[id]{scroll-margin-top:90px}
.preview-bar{background:var(--warn-soft);border-bottom:1px solid rgba(251,191,36,.4);padding:10px 16px;text-align:center;font-size:14px}
.preview-bar a{color:var(--brand);font-weight:700;margin-left:6px}
.pager{display:flex;justify-content:center;gap:8px;margin-top:30px}
.pager a,.pager span{min-width:42px;height:42px;padding:0 14px;border-radius:12px;border:1.5px solid var(--line);
  display:grid;place-items:center;font-weight:700;background:var(--surface)}
.pager .on{background:var(--brand);color:#fff;border-color:var(--brand)}

/* ---------- footer ---------- */
.site-foot{background:var(--surface);border-top:1px solid var(--line);padding:56px 0 26px;margin-top:20px}
.fgrid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:28px}
.fabout p{color:var(--ink-2);margin:12px 0 16px;font-size:14.5px;max-width:320px}
.fh{font-size:12.5px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:12px;font-weight:800}
.site-foot ul{list-style:none;padding:0;margin:0;display:grid;gap:7px}
.site-foot li a{color:var(--ink-2);font-size:14.5px;font-weight:500}
.site-foot li a:hover{color:var(--brand)}
.socials{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.socials a{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;border:1px solid var(--line);color:var(--ink-2)}
.socials a:hover{background:var(--bg-soft);color:var(--ink)}
.socials .icon{font-size:18px}
.pays{display:flex;flex-wrap:wrap;gap:6px}
.pay{font-size:12px;font-weight:700;padding:4px 10px;border-radius:8px;background:var(--bg-soft);border:1px solid var(--line);color:var(--ink-2)}
.fbottom{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);
  margin-top:34px;padding-top:20px;color:var(--muted);font-size:13px}

/* ---------- panels, rows, forms ---------- */
.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow);margin-bottom:16px}
.ptitle{display:flex;align-items:center;gap:9px;font-weight:800;font-size:17px;margin-bottom:6px}
.ptitle .icon{color:var(--brand)}
.psub,.psubtitle{color:var(--ink-2);font-size:14.5px;margin-bottom:14px}
.orow{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14.5px}
.orow span{color:var(--muted);font-weight:600}
.orow b{text-align:right;word-break:break-word}
.ototal{display:flex;justify-content:space-between;align-items:center;padding-top:14px;font-weight:700}
.ototal .big{font-size:24px;font-weight:800;color:var(--brand)}
.acct{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:14px;
  background:var(--bg-soft);border:1px solid var(--line);margin-bottom:10px}
.acct small{display:block;font-size:12px;color:var(--muted);font-weight:600}
.acct b{font-size:16px;word-break:break-all}
/* The figure to send: the one thing on this step that has to be read exactly. */
.acct-amount{background:var(--brand-soft);border-color:var(--brand-line)}
.acct-amount b{font-size:22px;letter-spacing:-.01em;color:var(--brand-deep)}
.copy{border:1.5px solid var(--line);background:var(--surface);border-radius:999px;padding:7px 14px;font-weight:700;font-size:13px;cursor:pointer}
.copy:hover{border-color:var(--brand-line);color:var(--brand)}
.note{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:14px;background:var(--brand-soft);
  color:var(--brand-deep);font-size:14px;margin:10px 0}
.note .icon{margin-top:3px;flex:none}
.help{font-size:13.5px;color:var(--muted);margin-top:10px}
.muted{color:var(--muted)}
/* The clip form's collapsible Advanced settings. (Was unstyled: the
   <details class="advanced"> had no rule, so it rendered with the
   browser's bare disclosure triangle.) */
.advanced{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--bg-soft);padding:4px 14px}
.advanced summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;padding:10px 0;font-weight:700;color:var(--ink-2)}
.advanced summary::-webkit-details-marker{display:none}
.advanced summary::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-left:auto;transition:transform .2s}
.advanced[open] summary::after{transform:rotate(-135deg)}
.lnk-btn{border:0;background:none;padding:0;font:inherit;font-size:13.5px;font-weight:700;color:var(--brand);
  cursor:pointer;text-decoration:underline;text-underline-offset:3px;margin-top:12px}
.pay-cancel{text-align:center;margin-top:6px}
.track-page{max-width:520px;padding-top:4vh;padding-bottom:6vh}

/* Our own confirm and alert (ask() in app.js), in place of the browser's. */
.ask{text-align:center;max-width:400px}
.ask-ico{width:54px;height:54px;border-radius:17px;display:grid;place-items:center;margin:0 auto 12px;font-size:26px;font-weight:800}
.ask-danger .ask-ico{background:var(--warn-soft);color:var(--warn)}
.ask-danger .ask-ico::before{content:"!"}
.ask-info .ask-ico{background:var(--brand-soft);color:var(--brand)}
.ask-info .ask-ico::before{content:"i";font-family:Georgia,serif;font-style:italic}
.ask .modal-title{margin-bottom:6px}
.ask-text{color:var(--ink-2);font-size:15px;margin:0 0 18px}
.ask-acts{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.ask-acts .btn{flex:1 1 140px}
.btn-danger{background:#dc2626;color:#fff;border:0;box-shadow:0 6px 16px rgba(220,38,38,.25)}
.btn-danger:hover{background:#b91c1c}

/* Where copying is refused: the text, selected, to long-press. */
.copy-box{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:1200;width:min(420px,calc(100% - 32px));
  background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-lg);padding:12px 44px 12px 14px}
.copy-box span{display:block;font-size:12.5px;font-weight:700;color:var(--muted);margin-bottom:6px}
.copy-box input{width:100%;font-size:18px;font-weight:800;border:1.5px solid var(--brand-line);border-radius:10px;padding:8px 10px;
  background:var(--brand-soft);color:var(--ink)}
.copy-box button{position:absolute;top:8px;right:8px;width:30px;height:30px;border:0;background:none;font-size:20px;cursor:pointer;color:var(--muted)}

/* ---------- cancelling a number ---------- */
.cancel-box{text-align:left}
.cancel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
.cancel-head b{font-size:16px}
.cancel-x{width:30px;height:30px;border-radius:9px;border:1px solid var(--line);background:var(--surface);cursor:pointer;
  font-size:18px;line-height:1;color:var(--muted)}
.cancel-box p{font-size:14px;color:var(--ink-2);margin:0 0 12px}
.cancel-acts{display:flex;gap:8px;flex-wrap:wrap}
.cancel-acts .btn{flex:1 1 160px}
.cancel-anyway{margin-top:14px;padding-top:12px;border-top:1px dashed var(--line)}
.cancel-anyway b{display:block;font-size:13.5px;color:var(--warn)}
.cancel-anyway p{font-size:13px;margin:2px 0 10px}
.btn-danger-soft{background:var(--warn-soft);color:var(--warn);border:1.5px solid transparent;box-shadow:none}
.btn-danger-soft:hover{border-color:var(--warn)}
.help a{color:var(--brand);font-weight:700}
.field{margin-bottom:14px}
.field label{display:block;font-weight:700;font-size:14px;margin-bottom:6px}
.field label .optional{color:var(--muted);font-weight:500}
.field input,.field select,.field textarea,.inline-form input{width:100%;border:1.5px solid var(--line);border-radius:16px;
  padding:12px 14px;font-size:15px;background:var(--surface);outline:0;transition:border-color .18s,box-shadow .18s,background .18s}
.field input:hover,.field select:hover,.field textarea:hover,.inline-form input:hover{border-color:var(--brand-line);background:var(--bg-soft)}
.field input:focus,.field select:focus,.field textarea:focus,.inline-form input:focus{border-color:var(--brand);box-shadow:0 0 0 4px var(--glow-soft);background:var(--surface)}
/* File inputs: the native "Choose file" button is styled to the theme
   instead of the plain browser control. */
.field input[type=file]{padding:10px 12px;cursor:pointer}
.field input[type=file]::file-selector-button,.field input[type=file]::-webkit-file-upload-button{
  border:0;border-radius:999px;padding:8px 16px;margin-right:12px;
  background:var(--grad);color:#fff;font:inherit;font-weight:700;cursor:pointer;
  box-shadow:0 4px 12px var(--glow)}
.field input[type=file]::file-selector-button:hover,.field input[type=file]::-webkit-file-upload-button:hover{transform:translateY(-1px)}
/* Native selects keep a soft, premium look when the custom dropdown below
   is not running (no-JS): the browser arrow is replaced by a brand chevron. */
.field select{appearance:none;-webkit-appearance:none;cursor:pointer;padding-right:40px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%238aa39d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;background-size:16px}
.field select::-ms-expand{display:none}
.field [aria-invalid="true"]{border-color:var(--bad)}
.field-sm{margin-bottom:0}
.field .hint{display:block;color:var(--muted);font-size:12.5px;margin-top:5px}
.field .err{display:block;color:var(--bad);font-size:13px;font-weight:600;margin-top:5px}
/* Searchable caption-language picker: a text box with a dropdown list.
   The list opens with a soft fade-and-slide, and the chevron on the box
   turns while it is open. */
.lang-picker{position:relative}
.lang-picker .lang-search{width:100%;cursor:text;padding-right:40px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%238aa39d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;background-size:16px}
.lang-picker.open .lang-search{border-color:var(--brand);box-shadow:0 0 0 4px var(--glow-soft)}
.lang-picker .lang-search::placeholder{color:var(--muted)}
.lang-list{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:50;margin:0;padding:6px;list-style:none;
  background:var(--surface);border:1.5px solid var(--brand-line);border-radius:16px;
  box-shadow:0 4px 12px rgba(0,0,0,.3),0 20px 48px rgba(0,0,0,.45);
  max-height:264px;overflow-y:auto;animation:drop-in .18s ease}
.lang-list::-webkit-scrollbar{width:8px}
.lang-list::-webkit-scrollbar-thumb{background:var(--brand-line);border-radius:8px}
.lang-list::-webkit-scrollbar-track{background:transparent}
.lang-item{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:11px;cursor:pointer;font-size:14.5px;
  transition:background .14s,color .14s}
.lang-item:hover,.lang-item.active{background:var(--brand-soft);color:var(--brand)}
.lang-item.selected{font-weight:700;color:var(--brand);background:var(--brand-soft)}
.lang-item .lang-name{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lang-item .lang-tick{color:var(--brand);font-weight:800}
.lang-empty{padding:10px;color:var(--muted);font-size:14px;text-align:center}
@keyframes drop-in{from{opacity:0;transform:translateY(-6px) scale(.995)}to{opacity:1;transform:translateY(0) scale(1)}}

/* Soft, premium dropdowns: a native <select> enhanced by JS into a button +
   a custom list (see initSoftSelect in the clip form). The native select
   stays in the form, hidden, and is kept in sync - so the form posts the
   same value, and with no JS the native select simply shows instead. */
.soft-select{position:relative}
.soft-select-native{position:absolute!important;width:1px;height:1px;padding:0;margin:0;border:0;opacity:0;pointer-events:none}
.soft-select-btn{width:100%;display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer;
  border:1.5px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink);
  padding:12px 14px;font-size:15px;outline:0;transition:border-color .18s,box-shadow .18s,background .18s}
.soft-select-btn:hover{border-color:var(--brand-line);background:var(--bg-soft)}
.soft-select-btn:focus-visible{border-color:var(--brand);box-shadow:0 0 0 4px var(--glow-soft)}
.soft-select.open .soft-select-btn{border-color:var(--brand);box-shadow:0 0 0 4px var(--glow-soft);background:var(--surface)}
.soft-select-label{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.soft-select-chev{flex:none;display:flex;color:var(--brand);transition:transform .18s ease}
.soft-select-chev svg{width:16px;height:16px}
.soft-select.open .soft-select-chev{transform:rotate(180deg)}
.soft-select-list{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:50;margin:0;padding:6px;list-style:none;
  background:var(--surface);border:1.5px solid var(--brand-line);border-radius:16px;
  box-shadow:0 4px 12px rgba(0,0,0,.3),0 20px 48px rgba(0,0,0,.45);
  max-height:264px;overflow-y:auto;animation:drop-in .18s ease}
.soft-select-list::-webkit-scrollbar{width:8px}
.soft-select-list::-webkit-scrollbar-thumb{background:var(--brand-line);border-radius:8px}
.soft-select-list::-webkit-scrollbar-track{background:transparent}
.soft-select-item{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:11px;cursor:pointer;
  font-size:14.5px;transition:background .14s,color .14s}
.soft-select-item:hover,.soft-select-item.active{background:var(--brand-soft);color:var(--brand)}
.soft-select-item.selected{font-weight:700;color:var(--brand);background:var(--brand-soft)}
.soft-select-item .soft-select-name{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.soft-select-item .soft-select-tick{display:none;color:var(--brand);font-weight:800}
.soft-select-item.selected .soft-select-tick{display:inline}
/* The list always opens downward, capped to the room below the button (see
   the script), so it never needs to flip upward. */
/* Source toggle (YouTube link / upload a video) on the clip form. */
.src-toggle{display:flex;gap:8px}
.src-toggle button{flex:1;padding:11px 14px;border:1.5px solid var(--line);border-radius:12px;background:var(--surface);
  font-size:14.5px;font-weight:700;color:var(--muted);cursor:pointer}
.src-toggle button.on{border-color:var(--brand);color:var(--brand);background:var(--glow-soft)}
.form-err{background:var(--bad-soft);color:#fca5a5;border-radius:12px;padding:11px 14px;font-weight:600;font-size:14px;margin-bottom:12px}
.inline-form{display:flex;gap:10px}
.inline-form input{flex:1}
.track-box{margin-top:26px}
.field2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.check{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--ink-2)}
.check input{width:18px;height:18px;margin-top:2px;accent-color:var(--brand)}

/* pay step (partials/pay) */
.paypick{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;margin-bottom:14px}
.payopt{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 10px;border:1.5px solid var(--line);
  border-radius:16px;cursor:pointer;text-align:center;background:var(--surface);position:relative}
.payopt input{position:absolute;opacity:0;pointer-events:none}
.payopt.on{border-color:var(--brand);background:var(--brand-soft);box-shadow:0 0 0 3px var(--glow-soft)}
.paylogo{width:52px;height:40px;border-radius:10px;background:var(--bg-soft);display:grid;place-items:center;font-weight:800;
  color:var(--brand);overflow:hidden}
.paylogo img{max-width:100%;max-height:100%;object-fit:contain}
.payname{font-weight:700;font-size:13.5px;line-height:1.25}
.paystep{display:none}
.paystep.on{display:block}
.no-js .paystep{display:block}

/* ---------- order page ---------- */
.obar{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.ocode small{display:block;font-size:12px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.ocode-row{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:800;letter-spacing:-.01em}
.sbadge{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;font-weight:700;font-size:14px;margin-left:auto}
.sbadge .d{width:9px;height:9px;border-radius:50%;background:currentColor}
.sb-ok{background:var(--ok-soft);color:var(--ok)}
.sb-live{background:var(--brand-soft);color:var(--brand)}
.sb-live .d{animation:blink 1.2s ease-in-out infinite}
.sb-warn{background:var(--warn-soft);color:var(--warn)}
.sb-pending{background:var(--warn-soft);color:var(--warn)}
.sb-muted{background:var(--bg-soft);color:var(--muted)}
@keyframes blink{50%{opacity:.25}}
.opage{padding:20px 20px 60px}
.ogrid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:22px;align-items:start}
.wait-panel,.state-panel{text-align:center;padding:40px 26px}
.wait-panel h2,.state-panel h2{font-size:22px;margin:14px 0 8px}
.wait-panel p,.state-panel p{color:var(--ink-2);max-width:520px;margin:0 auto 14px}
.spinner{display:inline-block;width:46px;height:46px;border-radius:50%;border:4px solid var(--brand-soft);border-top-color:var(--brand);
  animation:spin .8s linear infinite}
.state-ico{width:64px;height:64px;border-radius:20px;display:grid;place-items:center;margin:0 auto;font-size:28px;
  background:var(--bg-soft);color:var(--ink-2)}
.state-ok{background:var(--ok-soft);color:var(--ok)}
.state-warn{background:var(--warn-soft);color:var(--warn)}
.state-acts{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:6px}
.state-panel form{display:inline-block}

.numcard{background:var(--surface);border:1px solid var(--line);border-radius:26px;box-shadow:var(--shadow-lg);overflow:hidden}
.nc-head{display:flex;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid var(--line)}
.nc-title{flex:1;min-width:0}
.nc-title b{display:block;font-size:17px;line-height:1.25}
.nc-title small{color:var(--muted);font-weight:600;font-size:13px}
.nc-timer{position:relative;width:62px;height:62px;flex:none;display:grid;place-items:center}
.nc-done{margin-left:auto;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;
  background:var(--ok-soft);color:var(--ok);font-weight:800;font-size:13px;flex:none}
.nc-tips.nc-tips-plain{display:block;padding-left:20px}
.nc-timer svg{position:absolute;inset:0;transform:rotate(-90deg)}
.nc-timer circle{fill:none;stroke-width:3.2}
.nc-track{stroke:var(--line)}
.nc-bar{stroke:var(--brand);stroke-linecap:round;stroke-dasharray:100 100;transition:stroke-dashoffset 1s linear}
.nc-timer span{font-size:13px;font-weight:800;font-variant-numeric:tabular-nums}
.nc-timer.is-low .nc-bar{stroke:var(--warn)}
.nc-number{padding:24px 20px 18px;text-align:center;background:linear-gradient(180deg,var(--brand-soft),var(--surface))}
.nc-number small,.nc-code small{display:block;font-size:12.5px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.07em}
.nc-num{display:block;font-size:clamp(26px,5.4vw,40px);font-weight:800;letter-spacing:.01em;margin:6px 0 14px;
  font-variant-numeric:tabular-nums;word-break:break-all}
.nc-copies{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
/* Before the number exists: its shape, dimmed, and a line saying what is
   happening - so the screen is already the one the code will land on. */
.nc-num-soon{color:#41544d;letter-spacing:.06em}
.nc-soon-line{display:flex;align-items:center;justify-content:center;gap:8px;margin:0;font-weight:700;color:var(--brand);font-size:14.5px}
.spinner-sm{width:16px;height:16px;border-width:2px}
.nc-sms{margin:16px 20px;border-radius:18px;border:1.5px dashed var(--brand-line);padding:18px}
.nc-sms.has-code{border:1.5px solid rgba(74,222,128,.45);background:var(--ok-soft)}
.nc-waiting{display:flex;align-items:center;gap:14px}
.nc-waiting b{display:block}
.nc-waiting small{color:var(--ink-2);font-size:14px}
.pulse{display:flex;gap:4px;flex:none}
.pulse i{width:9px;height:9px;border-radius:50%;background:var(--brand);animation:pulse 1.2s ease-in-out infinite}
.pulse i:nth-child(2){animation-delay:.15s}
.pulse i:nth-child(3){animation-delay:.3s}
@keyframes pulse{0%,80%,100%{transform:scale(.6);opacity:.4}40%{transform:scale(1);opacity:1}}
.nc-code{text-align:center}
.nc-code-row{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:6px}
.nc-code-text{font-size:clamp(34px,7vw,52px);font-weight:800;letter-spacing:.14em;color:#4ade80;font-variant-numeric:tabular-nums;word-break:break-all}
.nc-code.is-new .nc-code-text{animation:pop .5s ease}
@keyframes pop{0%{transform:scale(.6);opacity:0}70%{transform:scale(1.08)}100%{transform:scale(1);opacity:1}}
.nc-codes{list-style:none;margin:14px 0 0;padding:12px 0 0;border-top:1px solid rgba(74,222,128,.45);display:grid;gap:6px}
.nc-codes li{display:flex;justify-content:space-between;font-size:14px}
.nc-codes small{color:var(--muted);font-weight:600}
.nc-actions{display:flex;gap:10px;flex-wrap:wrap;padding:0 20px 16px}
.nc-actions form{display:contents}
.nc-tips{margin:0;padding:14px 20px 18px 40px;border-top:1px solid var(--line);background:var(--bg-soft);color:var(--ink-2);font-size:14px;display:grid;gap:4px}

/* ---------- dialogs ---------- */
.modal-back{position:fixed;inset:0;z-index:80;background:rgba(0,0,0,.65);backdrop-filter:blur(4px);
  display:flex;align-items:center;justify-content:center;padding:16px}
.modal{position:relative;width:100%;max-width:560px;max-height:calc(100vh - 32px);overflow-y:auto;background:var(--surface);
  border-radius:24px;padding:24px;box-shadow:0 30px 80px rgba(0,0,0,.5);animation:rise .22s ease}
.modal:focus{outline:none}
.modal-sm{max-width:440px}
@keyframes rise{from{transform:translateY(16px);opacity:0}}
.modal-x{position:absolute;top:14px;right:14px;width:38px;height:38px;border-radius:12px;border:0;background:var(--bg-soft);
  cursor:pointer;display:grid;place-items:center;font-size:18px}
.modal-head{display:flex;gap:12px;align-items:center;margin-bottom:14px;padding-right:40px}
.modal-head b{display:block;font-size:17px}
.modal-head small{color:var(--muted);font-weight:600}
.modal-title{font-size:21px;margin-bottom:6px}
.modal .panel{box-shadow:none;border:0;padding:0;margin:0}
.modal-foot{text-align:center}
.om-tick{width:44px;height:44px;border-radius:14px;background:var(--ok-soft);color:var(--ok);display:grid;place-items:center;font-size:22px;flex:none}
.tk-card{margin-top:14px}
.tk-card .btn{margin-top:14px}
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:90;background:#16241f;color:#eef5f3;
  padding:12px 18px;border-radius:14px;font-weight:600;font-size:14.5px;box-shadow:0 14px 40px rgba(0,0,0,.25);max-width:calc(100% - 32px)}
.fabs{position:fixed;right:18px;bottom:18px;z-index:60;display:flex;flex-direction:column;gap:10px}
.fab{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:26px;box-shadow:0 10px 26px rgba(0,0,0,.2)}
.fab-whatsapp{background:#25d366}
.fab-telegram{background:#229ed9}
.fab-email{background:var(--brand)}

/* ---------- auth ---------- */
.auth{min-height:calc(100vh - 70px);display:grid;place-items:center;padding:40px 16px}
.auth-card{width:100%;max-width:440px;background:var(--surface);border:1px solid var(--line);border-radius:26px;padding:32px 28px;box-shadow:var(--shadow-lg)}
.auth-card h1{font-size:26px;margin-bottom:6px}
.auth-card .psub{margin-bottom:22px}
.auth-alt{text-align:center;margin-top:18px;font-size:14.5px;color:var(--ink-2)}
.auth-alt a{color:var(--brand);font-weight:700}
.auth-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:-4px 0 16px;font-size:14px}
.auth-row a{color:var(--brand);font-weight:700}
.auth-perks{list-style:none;padding:0;margin:0 0 20px;display:grid;gap:8px}
.auth-perks li{display:flex;gap:10px;align-items:center;font-size:14px;color:var(--ink-2);font-weight:600}
.auth-perks .icon{color:var(--ok)}

/* ---------- account portal ---------- */
.phead{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:18px}
.phead h1{font-size:28px;font-weight:800;letter-spacing:-.03em}
.phead p{color:var(--ink-2)}
.phead>div{min-width:0}
.phead h1{overflow-wrap:break-word}
.job-source-link{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wallet-card{border-radius:24px;padding:24px;color:#fff;background:var(--grad-deep);box-shadow:var(--shadow-lg);
  display:flex;flex-direction:column;gap:6px;position:relative;overflow:hidden}
.wallet-card::after{content:"";position:absolute;right:-40px;top:-40px;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.1)}
.wallet-card small{opacity:.85;font-weight:700;text-transform:uppercase;letter-spacing:.07em;font-size:12px}
.wallet-card b{font-size:36px;font-weight:800;letter-spacing:-.02em}
.wallet-card .btn{align-self:flex-start;margin-top:8px;background:#fff;color:var(--brand);box-shadow:none}
.wallet-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:auto 0 0;padding-top:16px;position:relative;z-index:1}
.wallet-totals div{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18);border-radius:14px;padding:10px 12px}
.wallet-totals dt{font-size:11.5px;font-weight:700;opacity:.85;text-transform:uppercase;letter-spacing:.05em}
.wallet-totals dd{margin:2px 0 0;font-size:17px;font-weight:800}
.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:16px 0}
.kpi{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:16px 18px}
.kpi small{display:block;color:var(--muted);font-weight:700;font-size:12.5px}
.kpi b{font-size:24px;font-weight:800}
.dash-top{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px}
.quick{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.quick a{display:flex;align-items:center;gap:10px;padding:14px;border-radius:16px;background:var(--surface);border:1px solid var(--line);font-weight:700}
.quick a:hover{border-color:var(--brand-line);color:var(--brand)}
.quick .icon{font-size:22px;color:var(--brand);flex:none;width:44px;height:44px;padding:11px;border-radius:12px;background:var(--brand-soft)}
.quick b{display:block}
.quick small{display:block;color:var(--muted);font-weight:500;font-size:13px}
.tbl-wrap{overflow-x:auto}
.tbl{width:100%;border-collapse:collapse;font-size:14.5px}
.tbl th{text-align:left;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);padding:10px 12px;border-bottom:1px solid var(--line);white-space:nowrap}
.tbl td{padding:12px;border-bottom:1px solid var(--line);vertical-align:middle}
.tbl tr:last-child td{border-bottom:0}
.tbl .sub{display:block;color:var(--muted);font-size:12.5px}
.tbl .mono,.mono{font-variant-numeric:tabular-nums;letter-spacing:.01em;font-weight:600}
.tbl a.row-link{font-weight:700;color:var(--brand)}
.st{display:inline-block;padding:3px 10px;border-radius:999px;font-size:12.5px;font-weight:700;background:var(--bg-soft);color:var(--ink-2);white-space:nowrap}
.st-completed,.st-active,.st-deposit,.st-refund{background:var(--ok-soft);color:var(--ok)}
.st-processing,.st-paid{background:var(--brand-soft);color:var(--brand)}
.st-pending{background:var(--warn-soft);color:var(--warn)}
.st-expired,.st-api_error{background:var(--warn-soft);color:var(--warn)}
.st-cancelled,.st-refunded{background:var(--bg-soft);color:var(--muted)}
.amt-plus{color:var(--ok);font-weight:800}
.amt-minus{color:var(--ink);font-weight:800}
.live-list{display:grid;gap:10px}
.live-item{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:16px;border:1px solid var(--line);background:var(--surface)}
.live-item .grow{flex:1;min-width:0}
.live-item b{display:block}
.live-item small{color:var(--muted);font-weight:600}
.live-code{font-weight:800;font-size:18px;letter-spacing:.1em;color:var(--ok)}
.amounts{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.amounts button{border:1.5px solid var(--line);background:var(--surface);border-radius:12px;padding:9px 14px;font-weight:700;cursor:pointer}
.amounts button.on,.amounts button:hover{border-color:var(--brand);color:var(--brand);background:var(--brand-soft)}
.inbox{display:grid;gap:10px}
.msg{border:1px solid var(--line);border-radius:16px;padding:14px 16px;background:var(--surface)}
.msg-top{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:var(--muted);font-weight:700;margin-bottom:4px}
.msg p{color:var(--ink);word-break:break-word}
.msg-code{display:inline-flex;align-items:center;gap:8px;margin-top:8px;font-weight:800;letter-spacing:.1em;font-size:18px;color:var(--ok)}
.rent-head{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.rent-num{font-size:28px;font-weight:800;letter-spacing:.01em}
.renew-opts{display:grid;gap:8px;margin:10px 0}

/* ---------- small screens ---------- */
@media (max-width:1060px){
  .nav-links{display:none}
  .burger{display:grid}
  .steps,.features{grid-template-columns:repeat(2,1fr)}
  .posts{grid-template-columns:repeat(2,1fr)}
  .pfeature{grid-template-columns:1fr}
  .fgrid{grid-template-columns:1fr 1fr}
  .kpis{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:860px){
  /* minmax(0,1fr), not 1fr: a plain 1fr track grows to its widest child,
     and a table in it pushed the whole account page off the side of a phone. */
  .ogrid,.blog-layout,.dash-top{grid-template-columns:minmax(0,1fr)}
  /* The account menu becomes one row of pills that scrolls sideways - a
     three-column grid of icons left "Sign out" on a row of its own. */
}
/* Phones: a table of orders becomes a stack of cards, each cell labelled
   from its column - six columns side by side do not fit in 360 pixels. */
@media (max-width:640px){
  .tbl-cards thead{display:none}
  .tbl-cards,.tbl-cards tbody,.tbl-cards tr,.tbl-cards td{display:block;width:100%}
  .tbl-cards tr{border:1px solid var(--line);border-radius:16px;padding:6px 14px;margin-bottom:10px;background:var(--surface)}
  .tbl-cards td{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:7px 0;
    border-bottom:1px dashed var(--line);text-align:right}
  .tbl-cards td:last-child{border-bottom:0}
  .tbl-cards td::before{content:attr(data-label);font-size:12px;font-weight:700;color:var(--muted);text-transform:uppercase;
    letter-spacing:.05em;text-align:left;flex:none}
  .tbl-cards td[data-label=""]::before{display:none}
  .tbl-cards td .sub{display:block}
  .tbl-cards td.pempty{display:block;text-align:center}
  .tbl-cards td.pempty::before{display:none}
}
@media (max-width:640px){
  /* All three products in view at once: a tab scrolled off the edge of a
     phone is a product nobody finds. So each is a tile - its icon over its
     name, which may take two lines - and the chosen one is filled, so which
     of the three is open reads at a glance. */
  .buy-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px;padding:12px 10px 14px;overflow:visible}
  .buy-tab{flex-direction:column;justify-content:flex-start;gap:6px;padding:10px 6px;font-size:12.5px;line-height:1.25;
    text-align:center;white-space:normal;background:var(--surface);border:1px solid var(--line);border-radius:14px}
  .buy-tab .icon{width:34px;height:34px;padding:8px;border-radius:10px;background:var(--brand-soft);color:var(--brand)}
  .buy-tab.on{background:var(--grad);color:#fff;border-color:transparent;box-shadow:0 6px 16px var(--glow)}
  .buy-tab.on .icon{background:rgba(255,255,255,.2);color:#fff}
  .wrap{padding:0 16px}
  .hide-sm{display:none!important}
  .hero-compact .hero-in{padding:100px 16px 108px}
  .steps,.features,.posts,.posts-2,.fgrid{grid-template-columns:1fr}
  .section{padding:48px 0}
  .prose-card{padding:22px 18px}
  .field2{grid-template-columns:1fr}
  .acct-bal{display:none}
  .acct-chip{padding:3px}
  .sbadge{margin-left:0}
  /* Centred like on a computer, not a sheet pinned to the bottom: a
     question has to be in front of the customer, and a long box scrolls
     inside itself. */
  .modal-back{align-items:center;padding:16px}
  .modal{padding:22px 18px;border-radius:22px;max-height:calc(100dvh - 32px)}
  .paypick{grid-template-columns:repeat(2,1fr)}
  .nc-actions .btn{flex:1}
  .inline-form{flex-direction:column}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* ---- a held number: its clock, and its new price to agree to ---- */
.hold-line{display:flex;align-items:center;gap:8px;margin:12px 0 0;padding:9px 12px;border-radius:12px;
  background:var(--brand-soft);border:1px solid var(--brand-line);color:var(--ink-2);font-size:.88rem}
.hold-line .icon{width:17px;height:17px;color:var(--brand);flex:none}
.hold-line b{font-variant-numeric:tabular-nums;color:var(--ink)}
.modal .hold-line{margin:0 0 14px}
.quote{display:grid;gap:12px}
.quote-head{display:flex;align-items:center;gap:12px}
.quote-head b{display:block;font-size:1.08rem;line-height:1.3}
.quote-head small{color:var(--muted)}
.quote-ico{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;flex:none;
  background:var(--warn-soft);color:var(--warn)}
.quote-ico .icon{width:21px;height:21px}
.quote p{margin:0;color:var(--ink-2);font-size:.93rem}
.quote-clock{font-variant-numeric:tabular-nums}
.quote-price{display:flex;align-items:center;justify-content:center;gap:18px;padding:14px;border-radius:14px;
  background:var(--bg-soft);border:1px solid var(--line);text-align:center}
.quote-price small{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.quote-price s{color:var(--muted);font-weight:600}
.quote-price b{font-size:1.45rem;color:var(--ink)}
.quote-arrow{color:var(--muted);font-size:1.2rem}
.quote form{margin:0}
.quote-foot{margin:0;text-align:center}
.quote.is-over .quote-price{opacity:.5}

/* ---------- the account menu, from the avatar ---------- */
.acctnav{position:relative}
.acct-chip{cursor:pointer;color:var(--ink)}
.acct-caret{font-size:13px;color:var(--muted);transition:transform .15s}
.acctnav.open .acct-caret{transform:rotate(180deg)}
body:has(.hero) .site-head .acct-caret{color:rgba(255,255,255,.85)}
.acct-menu{position:absolute;right:0;top:calc(100% + 10px);width:292px;max-width:calc(100vw - 24px);z-index:60;
  background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow-lg);padding:8px;color:var(--ink)}
.acct-menu-head{display:flex;gap:11px;align-items:center;padding:10px 10px 12px}
.acct-menu-head .acct-av{width:40px;height:40px;font-size:16px;flex:none}
.acct-menu-head div{min-width:0}
.acct-menu-head b{display:block;line-height:1.25}
.acct-menu-head small{display:block;color:var(--muted);font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acct-menu-bal{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-radius:14px;
  background:var(--brand-soft);margin-bottom:6px}
.acct-menu-bal small{display:block;font-size:11px;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.acct-menu-bal b{font-size:18px}
.acct-menu-links{display:grid}
.acct-menu-links a,.acct-menu-links button,.acct-menu-out button{display:flex;align-items:center;gap:11px;width:100%;padding:10px 12px;border-radius:11px;
  font:inherit;font-weight:600;font-size:14.5px;color:var(--ink-2);background:none;border:0;cursor:pointer;text-align:left}
.acct-menu-links a:hover,.acct-menu-links button:hover,.acct-menu-out button:hover{background:var(--bg-soft);color:var(--ink)}
.acct-menu-links .icon,.acct-menu-out .icon{font-size:18px;color:var(--muted)}
.acct-menu-out{margin:4px 0 0;padding-top:4px;border-top:1px solid var(--line)}
.acct-menu-out button,.acct-menu-out button .icon{color:var(--bad)}

/* ---------- the portal: an app's shape ---------- */
.is-portal{background:var(--bg)}
.app{display:grid;grid-template-columns:268px minmax(0,1fr);grid-template-areas:"side main";min-height:100vh}
.app-side{grid-area:side}
.app-main{grid-area:main}
.app-side{position:sticky;top:0;height:100vh;overflow-y:auto;display:flex;flex-direction:column;gap:16px;padding:18px 14px;
  background:var(--surface);border-right:1px solid var(--line)}
.app-brand{display:flex;align-items:center;justify-content:space-between;padding:2px 6px 0}
.app-x{display:none}
.app-wallet{display:grid;gap:3px;padding:16px;border-radius:18px;background:var(--grad-deep);color:#fff;box-shadow:0 10px 24px var(--glow)}
.app-wallet small{font-size:11px;text-transform:uppercase;letter-spacing:.07em;opacity:.8;font-weight:700}
.app-wallet b{font-size:26px;letter-spacing:-.02em;line-height:1.15}
.app-wallet .btn{justify-self:start;margin-top:8px;background:rgba(255,255,255,.18);color:#fff;border:1px solid rgba(255,255,255,.35)}
.app-nav{display:grid;gap:2px}
.app-nav a,.app-side-foot a,.app-side-foot button{display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;border-radius:12px;
  font:inherit;font-weight:600;font-size:14.5px;color:var(--ink-2);background:none;border:0;cursor:pointer;text-align:left}
.app-nav .icon,.app-side-foot .icon{font-size:19px;color:var(--muted)}
.app-nav a:hover,.app-side-foot a:hover,.app-side-foot button:hover{background:var(--bg-soft);color:var(--ink)}
.app-nav a.on{background:var(--brand-soft);color:var(--brand)}
.app-nav a.on .icon{color:var(--brand)}
.app-nav .pill{margin-left:auto;background:var(--brand);color:#fff;font-size:11.5px;padding:1px 8px;border-radius:999px}
.app-group > small{display:block;padding:0 12px 4px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.app-side-foot{margin-top:auto;padding-top:10px;border-top:1px solid var(--line);display:grid;gap:2px}
.app-side-foot form{margin:0}
.app-main{min-width:0;display:flex;flex-direction:column}
.app-top{position:sticky;top:0;z-index:40;display:flex;align-items:center;gap:10px;padding:12px 28px;
  background:color-mix(in srgb, var(--bg) 86%, transparent);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.app-top-right{margin-left:auto;display:flex;align-items:center;gap:8px}
.app-burger,.app-top-logo{display:none}
.app-content{width:100%;max-width:1120px;padding:26px 28px 60px}
.app-flash{padding:14px 28px 0;max-width:1120px}
.app-tabs,.app-scrim,.show-sm{display:none}
.portal-page > .phead:first-child{margin-top:0}

/* A customer's orders, one row each. */
.ord-list{list-style:none;margin:0;padding:0}
.ord-list li + li{border-top:1px solid var(--line)}
.ord-row{display:flex;align-items:center;gap:12px;padding:13px 8px;border-radius:12px;color:var(--ink)}
.ord-row:hover{background:var(--bg-soft)}
.ord-main{flex:1;min-width:0;display:grid;gap:1px}
.ord-main > b{font-size:15px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ord-main small{color:var(--muted);font-size:12.5px}
.ord-num{display:flex;flex-wrap:wrap;gap:3px 12px;margin-top:3px;font-size:13px;color:var(--ink-2)}
.ord-code{color:var(--ok);font-weight:600}
.ord-code b{font-size:14.5px}
.ord-side{display:grid;justify-items:end;gap:5px;flex:none;text-align:right}
.ord-side > b{font-size:15px}
.empty-state .btn{margin-top:14px}

@media (max-width:960px){
  .app{grid-template-columns:minmax(0,1fr);grid-template-areas:"main"}
  .app-side{position:fixed;inset:0 auto 0 0;width:min(300px,86vw);z-index:80;transform:translateX(-102%);
    transition:transform .22s ease;box-shadow:var(--shadow-lg)}
  .side-open .app-side{transform:none}
  .app-scrim{display:block;position:fixed;inset:0;z-index:70;background:rgba(0,0,0,.6);opacity:0;pointer-events:none;transition:opacity .2s}
  .side-open .app-scrim{opacity:1;pointer-events:auto}
  .side-open{overflow:hidden}
  .app-x{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;border:1px solid var(--line);background:none;
    cursor:pointer;font-size:18px;color:var(--ink-2)}
  .app-burger{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;border:1.5px solid var(--line);
    background:var(--surface);font-size:20px;cursor:pointer;color:var(--ink)}
  .app-top-logo{display:flex}
  .app-top{padding:10px 16px}
  .app-content{padding:18px 16px 100px}
  .app-flash{padding:12px 16px 0}
  .app-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;position:fixed;left:0;right:0;bottom:0;z-index:50;
    background:var(--surface);border-top:1px solid var(--line);padding:6px 8px calc(6px + env(safe-area-inset-bottom));
    box-shadow:0 -6px 20px rgba(0,0,0,.35)}
  .app-tabs a{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;padding:7px 2px 6px;border-radius:12px;
    font-size:11.5px;font-weight:700;color:var(--muted)}
  .app-tabs .icon{font-size:21px}
  .app-tabs a.on{color:var(--brand);background:var(--brand-soft)}
  .app-tabs .dot{position:absolute;top:5px;left:calc(50% + 7px);width:8px;height:8px;border-radius:50%;background:var(--warn);
    box-shadow:0 0 0 2px var(--surface)}
}
@media (max-width:640px){
  .show-sm{display:inline}
  .acct-caret{display:none}
  .ord-row{padding:12px 2px;gap:10px}
  .ord-main > b{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .ord-row .svc-ico{width:34px;height:34px}
}

/* ---------- sign-in: Google, and the emailed code ---------- */
.btn-google{background:var(--surface);color:var(--ink);border:1.5px solid var(--line);font-weight:700;gap:10px}
.btn-google:hover{background:var(--bg-soft);border-color:var(--brand-line)}
.g-logo{width:20px;height:20px;flex:none}
.auth-or{display:flex;align-items:center;gap:12px;margin:18px 0;color:var(--muted);font-size:13px;font-weight:600}
.auth-or::before,.auth-or::after{content:"";flex:1;height:1px;background:var(--line)}
.auth-ico{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand);
  font-size:24px;margin-bottom:14px}
.code-input{font-size:26px;font-weight:800;letter-spacing:.35em;text-align:center;font-variant-numeric:tabular-nums}
.auth-alt .lnk-btn{font-size:inherit;color:var(--brand);font-weight:700}
.tf-state{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:14px;margin-bottom:14px;font-size:14.5px;
  background:var(--bg-soft);border:1px solid var(--line);color:var(--ink-2)}
.tf-state.on{background:var(--ok-soft);border-color:transparent;color:#86efac}
.tf-state .icon{font-size:20px;flex:none}
.tf-form{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}
.tf-form .field{flex:1;min-width:200px;margin:0}

/* currency switcher (partials/currency-switcher) ------------------------- */
/* The same markup for every visitor; which one is current is decided in the
   browser from the cookie, so this never makes the page personal. */
.curpick{position:relative}
.curbtn{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;
  border:1.5px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;font-size:13.5px;
  font-weight:700;cursor:pointer;line-height:1}
.curbtn:hover{border-color:var(--brand);color:var(--brand-deep)}
.curbtn .icon{width:16px;height:16px;flex:none}
.curcaret{width:14px;height:14px;color:var(--muted);transition:transform .15s}
.curpick [aria-expanded="true"] .curcaret{transform:rotate(180deg)}
body:has(.hero) .site-head .curbtn{background:rgba(255,255,255,.14);color:#fff;
  border-color:rgba(255,255,255,.4)}
body:has(.hero) .site-head .curbtn .curcaret{color:rgba(255,255,255,.85)}

.curmenu{position:absolute;right:0;top:calc(100% + 10px);width:290px;max-width:calc(100vw - 24px);
  z-index:60;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:8px;
  box-shadow:0 18px 44px rgba(0,0,0,.5)}
.curmenu[hidden]{display:none!important}
.curmenu-head{padding:2px 2px 8px}
.cursearch{width:100%;padding:9px 12px;border:1.5px solid var(--line);border-radius:11px;
  font:inherit;font-size:14px;background:var(--bg-soft)}
.cursearch:focus{outline:none;border-color:var(--brand);background:var(--surface)}
.curlist{max-height:290px;overflow-y:auto;display:grid;gap:2px}
.curopt{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;width:100%;
  padding:9px 11px;border:0;border-radius:11px;background:none;font:inherit;font-size:14px;
  text-align:left;cursor:pointer;color:var(--ink)}
.curopt[hidden]{display:none!important}
.curopt:hover{background:var(--bg-soft)}
.curopt.on{background:var(--brand-soft);color:var(--brand-deep)}
.curopt b{font-size:13px;font-weight:800;letter-spacing:.02em;min-width:34px}
.curopt span{color:var(--muted);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.curopt i{font-style:normal;color:var(--muted);font-size:13px}
.curopt.on span,.curopt.on i{color:var(--brand-deep)}
.curnote{margin:6px 2px 2px;padding:0 9px;font-size:11.5px;line-height:1.45;color:var(--muted)}
.curnote[hidden]{display:none!important}

/* A price the browser may rewrite. Reserving the line keeps the card from
   jumping when "Rs 310" becomes a longer figure in another currency. */
.pr{white-space:nowrap}

@media (max-width:640px){
  /* The header carries a logo, the chat icons, the currency, a sign-in and
     the burger. At 360px that is more than fits, and body{overflow-x:hidden}
     hides the overflow instead of showing it - so the burger does not look
     broken, it simply is not there. Everything below is about making the row
     fit rather than about making it pretty. */
  .nav{gap:10px}
  .nav-right{gap:6px;flex:none}
  /* The logo gives way first: a shortened shop name is still readable, a
     missing menu button is not. */
  .logo{flex:1 1 auto;min-width:0;font-size:18px;overflow:hidden}
  .logo > span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

  /* The code rather than the globe. "PKR" says which currency is on and a
     globe does not, and it costs the same width. */
  .curbtn{padding:7px 9px;font-size:12.5px;gap:4px}
  .curbtn > .icon:not(.curcaret){display:none}
  .curbtn span[data-cur-code]{display:inline}
  .curcaret{width:12px;height:12px}

  /* Hung from the header, not from the button. Pinned to the button's right
     edge it ran off the left of the screen, because the button is not at the
     screen's edge - Sign in and the menu button sit to its right - so a
     290px list pinned there starts somewhere left of zero. The header is the
     nearest positioned box (sticky, or absolute over the hero) once the
     picker itself stops being one, so this spans the screen with a gutter
     whatever else is in the row. */
  .curpick{position:static}
  .curmenu{left:12px;right:12px;top:calc(100% - 4px);width:auto;max-width:none;border-radius:14px}
  .curlist{max-height:min(46vh,280px)}
  /* A finger, not a mouse: forty pixels is the smallest honest target. */
  .curopt{padding:11px 10px}
  /* Under 16px iOS zooms the whole page when this is focused, and the
     customer is left pinching their way back out. */
  .cursearch{font-size:16px}
}

/* A phone on its side has height to spare nowhere: the list has to stay
   inside the screen rather than running off the bottom of it. */
@media (max-height:520px){
  .curlist{max-height:40vh}
}

@media (max-width:430px){
  /* Past this the chat icons are what goes. The burger menu names every
     channel in words, so nothing becomes unreachable by losing them here. */
  .site-head .nav-right .chat-link{display:none}
  .curbtn{padding:7px 8px}
}

/* ===========================================================================
   Live chat - the Support panel. The thread rules after the panel block are
   kept the same as the copy in assets/css/admin.css, on this sheet's tokens.
   =========================================================================== */
.lc-panel,.fab-live{--lc-acc:var(--brand);--lc-acc-soft:var(--brand-soft);--lc-ink:var(--ink);--lc-muted:var(--muted);
  --lc-line:var(--line);--lc-bg:var(--bg-soft);--lc-surface:var(--surface)}
.fab-live{position:relative;border:0;cursor:pointer;background:var(--grad)}
.fab-count{position:absolute;top:-3px;right:-3px;min-width:21px;height:21px;padding:0 5px;border-radius:999px;
  background:var(--bad);color:#fff;font-size:11.5px;font-weight:800;display:grid;place-items:center;border:2px solid #fff}
.lc-panel{position:fixed;right:18px;bottom:86px;z-index:70;width:370px;max-width:calc(100vw - 32px);
  height:min(560px,calc(100vh - 120px));display:flex;flex-direction:column;background:var(--surface);
  border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-lg);overflow:hidden}
html.lc-open .fabs .fab:not(.fab-live){display:none}
.lc-top{display:flex;align-items:center;gap:11px;padding:13px 13px 13px 15px;background:var(--grad);color:#fff}
.lc-top-ico{position:relative;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.2);
  display:grid;place-items:center;font-size:20px;flex:none}
.lc-panel.is-online .lc-top-ico::after{content:"";position:absolute;right:-1px;bottom:-1px;width:11px;height:11px;
  border-radius:50%;background:#22c55e;border:2px solid #fff}
.lc-top-txt{flex:1;min-width:0}
.lc-top-txt b{display:block;font-size:15px}
.lc-top-txt small{display:block;font-size:12.5px;opacity:.88}
.lc-x{width:34px;height:34px;border-radius:50%;border:0;background:rgba(255,255,255,.16);color:#fff;
  display:grid;place-items:center;cursor:pointer;font-size:18px;flex:none}
.lc-x:hover{background:rgba(255,255,255,.28)}
.lc-hello{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:14px;font-size:13.5px;color:var(--ink-2)}
.lc-hello b{color:var(--ink)}
.lc-hello p{margin:6px 0 0}
@media (max-width:960px){ .fabs-portal{bottom:84px} }
@media (max-width:640px){
  .lc-panel{inset:0;width:auto;max-width:none;height:auto;border-radius:0;border:0}
  html.lc-open,html.lc-open body{overflow:hidden}
  html.lc-open .fabs{display:none}
}
.lc-log{flex:1;min-height:0;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:6px;
  background:var(--lc-bg);overscroll-behavior:contain}
.lc-msg{display:flex;max-width:100%}
.lc-me{justify-content:flex-end}
.lc-them{justify-content:flex-start}
.lc-sys{justify-content:center}
.lc-bubble{max-width:80%;padding:8px 11px 5px;border-radius:16px;font-size:14px;line-height:1.45;
  overflow-wrap:anywhere;box-shadow:0 1px 1px rgba(0,0,0,.04)}
.lc-me .lc-bubble{background:var(--lc-acc);color:#fff;border-bottom-right-radius:5px}
.lc-them .lc-bubble{background:var(--lc-surface);color:var(--lc-ink);border:1px solid var(--lc-line);border-bottom-left-radius:5px}
.lc-sys .lc-bubble{background:transparent;color:var(--lc-muted);font-size:12.5px;text-align:center;box-shadow:none}
.lc-bubble p{margin:0;white-space:pre-wrap}
.lc-bubble a{color:inherit;text-decoration:underline}
.lc-meta{display:block;text-align:right;font-size:10.5px;opacity:.72;margin-top:2px}
.lc-meta{display:flex;align-items:center;justify-content:flex-end;gap:4px}
.lc-tick{width:16px;height:11px;fill:currentColor;flex:none}
.lc-tick.is-read{fill:#38bdf8}
.lc-me .lc-tick.is-read{fill:#7dd3fc}
.lc-dl{font-size:12px;font-weight:700;text-decoration:underline;color:inherit}
.lc-msg.is-pending{opacity:.6}
.lc-day{align-self:center;font-size:11px;font-weight:700;color:var(--lc-muted);background:var(--lc-surface);
  border:1px solid var(--lc-line);padding:2px 10px;border-radius:999px;margin:6px 0}
.lc-pic img{display:block;max-width:min(220px,100%);max-height:260px;width:auto;height:auto;border-radius:11px;margin:2px 0 4px}
.lc-voice{display:flex;align-items:center;gap:9px;min-width:180px;padding:2px 0}
.lc-play{width:34px;height:34px;border-radius:50%;border:0;display:grid;place-items:center;cursor:pointer;
  background:rgba(255,255,255,.22);color:inherit;flex:none;font-size:16px}
.lc-them .lc-play{background:var(--lc-acc-soft);color:var(--lc-acc)}
.lc-bar{position:relative;flex:1;height:4px;border-radius:4px;background:rgba(127,127,127,.32);cursor:pointer}
.lc-bar i{position:absolute;left:0;top:0;bottom:0;width:0;border-radius:4px;background:currentColor}
.lc-voice small{font-size:11.5px;font-variant-numeric:tabular-nums;min-width:32px}
.lc-typing{display:flex;align-items:center;gap:3px;padding:5px 16px;font-size:12px;color:var(--lc-muted);background:var(--lc-bg)}
.lc-typing span{width:5px;height:5px;border-radius:50%;background:currentColor;animation:lcdot 1s infinite}
.lc-typing span:nth-child(2){animation-delay:.15s}
.lc-typing span:nth-child(3){animation-delay:.3s;margin-right:4px}
@keyframes lcdot{0%,60%,100%{opacity:.25}30%{opacity:1}}
.lc-form{position:relative;display:flex;align-items:flex-end;gap:6px;padding:10px;border-top:1px solid var(--lc-line);
  background:var(--lc-surface)}
.lc-form textarea{flex:1;min-width:0;resize:none;border:1px solid var(--lc-line);border-radius:19px;padding:9px 14px;
  font:inherit;font-size:14px;line-height:1.35;min-height:38px;max-height:120px;background:var(--lc-bg);color:var(--lc-ink);outline:0}
.lc-form textarea:focus{border-color:var(--lc-acc)}
.lc-tool{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;border:0;background:transparent;
  color:var(--lc-muted);cursor:pointer;flex:none;font-size:20px}
.lc-tool:hover{background:var(--lc-acc-soft);color:var(--lc-acc)}
.lc-send{width:38px;height:38px;border-radius:50%;border:0;display:grid;place-items:center;background:var(--lc-acc);
  color:#fff;cursor:pointer;flex:none;font-size:17px}
.lc-rec{position:absolute;inset:0;display:flex;align-items:center;gap:10px;padding:10px 10px 10px 18px;background:var(--lc-surface)}
.lc-rec b{flex:1;font-variant-numeric:tabular-nums;color:var(--lc-ink)}
.lc-rec-dot{width:10px;height:10px;border-radius:50%;background:#ef4444;animation:lcdot 1s infinite}
.lc-error{margin:0;padding:8px 12px;font-size:12.5px;color:#fca5a5;background:var(--bad-soft)}
.lc-empty{color:var(--lc-muted);font-size:13.5px;text-align:center;margin:auto;padding:20px;max-width:360px}
@media (prefers-reduced-motion:reduce){.lc-typing span,.lc-rec-dot{animation:none}}
.lc-form.is-recording .lc-mic{color:#ef4444}

/* ---- refund to my account: choosing how to be paid ---- */
.po-label{font-size:13px;font-weight:700;color:var(--ink-2);margin:0 0 8px}
.po-methods{display:grid;gap:8px;margin-bottom:14px}
.po-method{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1.5px solid var(--line);
  border-radius:var(--radius-sm);cursor:pointer;background:var(--surface);transition:border-color .15s,background .15s}
.po-method:hover{border-color:var(--brand-line)}
.po-method:has(input:checked){border-color:var(--brand);background:var(--brand-soft)}
.po-method input{width:18px;height:18px;accent-color:var(--brand);flex:none;margin:0}
.po-method b{display:block;font-size:14.5px}
.po-method small{display:block;font-size:12.5px;color:var(--muted)}
.po-fields{border:0;margin:0 0 6px;padding:0;min-width:0}
.po-fields legend{font-size:13px;font-weight:700;color:var(--ink-2);margin-bottom:6px;padding:0}
.field-err{display:block;color:var(--bad);font-size:12.5px;margin-top:4px}
.field input[aria-invalid="true"]{border-color:var(--bad)}
.wallet-out{margin-top:14px}
.st-bonus{background:var(--ok-soft);color:var(--ok)}
.st-payout,.st-adjust{background:var(--bg-soft);color:var(--ink-2)}

/* ---- install the app: the phone bar and the iPhone steps ---- */
.install-bar{position:fixed;left:12px;right:12px;bottom:12px;z-index:65;display:flex;align-items:center;gap:12px;
  padding:12px 12px 12px 14px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow-lg);max-width:560px;margin:0 auto}
.install-ico{width:40px;height:40px;border-radius:11px;flex:none}
.install-txt{flex:1;min-width:0}
.install-txt b{display:block;font-size:14.5px}
.install-txt small{display:block;font-size:12.5px;color:var(--muted);line-height:1.35}
.install-x{width:32px;height:32px;border-radius:50%;border:0;background:transparent;color:var(--muted);display:grid;
  place-items:center;cursor:pointer;flex:none;font-size:18px}
.install-x:hover{background:var(--bg-soft)}
html.lc-open .install-bar{display:none}
.install-ios{position:fixed;inset:0;z-index:90;display:flex;align-items:flex-end;justify-content:center;
  padding:16px;background:rgba(0,0,0,.6)}
.install-ios-card{width:100%;max-width:420px;background:var(--surface);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow-lg)}
.install-ios-card b{display:block;font-size:16px;margin-bottom:8px}
.install-ios-card ol{margin:0 0 16px;padding-left:20px;color:var(--ink-2);font-size:14.5px;line-height:1.7}
.install-share{display:inline-grid;place-items:center;width:22px;height:22px;border:1.5px solid currentColor;border-radius:6px;
  font-size:12px;vertical-align:-4px}
.acct-menu-links button{border:0;background:transparent;font:inherit;text-align:left;cursor:pointer}
/* The floating buttons step up while the install bar is open, rather than hide under it. */
html.install-open .fabs{bottom:96px}

.lc-gone{display:inline-block;padding:6px 0;font-size:13px;font-style:italic;opacity:.85;text-decoration:underline}

/* ---- the admin's notices (partials/notices) ----
   A coloured band along the top and the icon say which kind it is; the
   message itself stays ink on a dark card so a red one is still easy to read. */
.notice{padding:0;overflow:hidden;overflow-y:auto;border-top:6px solid var(--nt);--nt:var(--brand);--nt-soft:var(--brand-soft)}
.notice-success{--nt:var(--ok);--nt-soft:var(--ok-soft)}
.notice-warning{--nt:var(--warn);--nt-soft:var(--warn-soft)}
.notice-danger{--nt:var(--bad);--nt-soft:var(--bad-soft)}
.notice-head{display:flex;gap:12px;align-items:center;padding:22px 64px 0 22px}
.notice-ico{width:44px;height:44px;border-radius:14px;flex:none;display:grid;place-items:center;background:var(--nt-soft);color:var(--nt)}
.notice-ico .icon{width:22px;height:22px}
.notice .modal-title{margin:0;font-size:19px;line-height:1.3}
.notice-body{padding:12px 22px 0;font-size:15.5px;line-height:1.6;overflow-wrap:anywhere}
.notice-body>:last-child{margin-bottom:0}
.notice-body img{max-width:100%}
.notice-acts{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;padding:18px 22px 22px}
.notice-acts .btn{flex:0 1 auto}
.notice-danger .notice-acts .btn-primary{background:var(--bad);box-shadow:none}
@media (max-width:640px){
  .notice-back{align-items:flex-end;padding:0}
  .notice{max-width:none;border-radius:22px 22px 0 0;max-height:85vh;padding-bottom:env(safe-area-inset-bottom)}
  .notice-acts .btn{flex:1 1 0}
}

/* ---- no zoom on iPhone when a field is tapped ----
   iOS Safari zooms the page into any input, select or textarea whose text is
   smaller than 16px, and does not zoom back out - the layout is left
   half-scrolled and the customer has to pinch it back. So on a touch screen
   every form control is at least 16px, whatever its own rule says. (Turning
   zoom off in the viewport tag would also take pinch-zoom from people who
   need it, so that is not the fix.) Desktop keeps the sizes designed for it. */
@media (hover: none) and (pointer: coarse) {
  input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]),
  select, textarea {
    font-size: max(16px, 1em) !important;
  }
}

/* ---- the clip job page: status chips the job uses ----
   Queued is amber (waiting), not teal: it must read differently from
   "being made", and never look like an error. Processing keeps the teal
   and gets a pulsing dot, so a live job is visible at a glance. */
.st-queued{background:var(--warn-soft);color:var(--warn)}
.st-processing::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:currentColor;
  margin-right:6px;vertical-align:1px;animation:st-blink 1.2s ease-in-out infinite}
@keyframes st-blink{50%{opacity:.25}}
.st-done{background:var(--ok-soft);color:var(--ok)}
.st-failed{background:var(--bad-soft);color:var(--bad)}

/* ---- the clip job page: stages, progress, clips ---- */
.job-steps{list-style:none;margin:20px 0 4px;padding:0;display:flex;gap:4px}
.job-step{flex:1;min-width:0;text-align:center;position:relative;padding-top:32px;font-size:12px;font-weight:700;color:var(--muted);line-height:1.25;transition:color .3s ease}
.job-step::before{content:"";position:absolute;top:11px;left:calc(-50% + 13px);right:calc(50% + 13px);height:2px;background:var(--line)}
.job-step:first-child::before{display:none}
.job-step.is-done::before{background:var(--ok)}
.job-step-dot{position:absolute;top:0;left:50%;transform:translateX(-50%);width:24px;height:24px;border-radius:50%;background:var(--bg-soft);border:2px solid var(--line);color:var(--muted);display:grid;place-items:center;font-size:12px;font-weight:800;line-height:1;transition:background .3s ease,border-color .3s ease,color .3s ease}
.job-step.is-done{color:var(--ok)}
.job-step.is-done .job-step-dot{background:var(--ok);border-color:var(--ok);color:#fff}
.job-step.is-now{color:var(--brand)}
.job-step.is-now .job-step-dot{background:var(--grad);border-color:transparent;color:#fff;animation:job-pulse 1.6s ease-in-out infinite}
.job-step.is-stopped{color:var(--bad)}
.job-step.is-stopped .job-step-dot{background:var(--bad-soft);border-color:var(--bad);color:var(--bad)}
@keyframes job-pulse{0%,100%{box-shadow:0 0 0 0 var(--glow)}50%{box-shadow:0 0 0 7px transparent}}
.job-progress{margin-top:18px}
.job-progress-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-weight:700}
.job-line{color:var(--ink-2)}
.job-pct{font-size:28px;font-weight:800;letter-spacing:-.02em;line-height:1;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;white-space:nowrap}
.job-bar{height:12px;border-radius:999px;background:rgba(45,212,191,.16);overflow:hidden;margin-top:10px}
.job-bar-fill{height:100%;width:0;border-radius:999px;background:var(--grad);transition:width .6s ease;position:relative;overflow:hidden}
.job-bar.is-live .job-bar-fill::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 20%,rgba(255,255,255,.55) 50%,transparent 80%);animation:job-sheen 1.8s linear infinite}
@keyframes job-sheen{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
.job-clip-in{animation:job-in .45s ease both}
@keyframes job-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}

/* ---- the job card: one proper box holding everything ----
   The stepper + progress live in a soft inner box (.job-hero) so the
   progress reads as the card's centrepiece, and the job settings sit
   below it as a clean spec grid (.job-specs) instead of loose text
   lines. The live poll only touches the hooks inside (chip, steps,
   line, bar, error, hint, actions) - this is all presentation. */
.job-panel{overflow:hidden}
.job-hero{margin-top:14px;border-radius:18px;padding:22px 22px 20px;background:linear-gradient(180deg,var(--brand-soft),var(--bg-soft));border:1px solid var(--line)}
.job-hero .job-steps{margin:0 0 6px}
.job-hero .job-progress{margin-top:20px}
.job-specs{margin:18px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surface)}
.job-spec{padding:13px 16px;display:flex;flex-direction:column;gap:2px;border-top:1px solid var(--line)}
.job-spec:nth-child(-n+2){border-top:0}
.job-spec:nth-child(even){border-left:1px solid var(--line)}
.job-spec dt{margin:0;font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.job-spec dd{margin:0;font-size:14.5px;font-weight:700;color:var(--ink);line-height:1.35}
.job-hint{margin:16px 2px 0;text-align:center}
@media (max-width:560px){
  .job-hero{padding:18px 14px 16px;border-radius:14px}
  .job-specs{grid-template-columns:1fr}
  .job-spec:nth-child(-n+2){border-top:1px solid var(--line)}
  .job-spec:first-child{border-top:0}
  .job-spec:nth-child(even){border-left:0}
}
@media (max-width:560px){
  .job-step-name{display:none}
  .job-step{padding-top:30px}
}

/* ---- inspect is disabled ----
   A deterrent, not a lock: DevTools belongs to the browser, so no site can
   truly remove it. What this does is stop a casual visitor - no right-click
   menu, no DevTools shortcuts - and when DevTools is open anyway the page
   blurs behind a notice. Nothing sensitive travels in the page's own
   requests either way: the VPS token never leaves the server. */
html.inspect-blocked body{filter:blur(8px);pointer-events:none;user-select:none}
.inspect-overlay{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.78);padding:20px}
.inspect-card{background:var(--surface);color:var(--ink);border-radius:16px;box-shadow:0 18px 50px rgba(0,0,0,.35);padding:26px 28px;max-width:380px;width:100%;text-align:center}
.inspect-card b{font-size:17px}
.inspect-card p{color:var(--muted);margin:8px 0 18px;font-size:14.5px}
.inspect-dismiss{border:0;border-radius:999px;padding:12px 24px;font-weight:700;font-size:15px;cursor:pointer;background:var(--grad);color:#fff;box-shadow:0 6px 18px var(--glow)}

/* ---------- premium (locked) effects ---------- */
.premium-effects{margin-top:10px}
.premium-effects-title{display:block;font-size:12.5px;font-weight:700;color:var(--muted);margin-bottom:8px}
.fx-chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.fx-chip{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border-radius:999px;
  border:1.5px dashed var(--brand-line);background:var(--bg-soft);color:var(--ink-2);
  font-size:13px;font-weight:600;line-height:1;text-decoration:none;cursor:pointer;
  transition:border-color .15s ease,background .15s ease}
.fx-chip:hover{border-color:var(--brand);border-style:solid;background:var(--surface)}
.fx-chip .fx-lock-ico{color:var(--brand);flex:none}
.fx-modal-ico{width:44px;height:44px;border-radius:14px;background:var(--bg-soft);color:var(--brand);
  display:grid;place-items:center;flex:none}

/* ---------- locked Advanced settings (Free plan) ---------- */
.advanced-locked{margin:18px 0}
.advanced-locked-card{display:flex;align-items:center;gap:14px;padding:16px;border-radius:16px;
  border:1.5px dashed var(--brand-line);background:var(--bg-soft);color:var(--ink);
  text-decoration:none;cursor:pointer;
  transition:border-color .15s ease,background .15s ease}
.advanced-locked-card:hover{border-color:var(--brand);border-style:solid;background:var(--surface)}
.advanced-locked-text{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.advanced-locked-text b{font-size:15px}
.advanced-locked-text small{font-size:13px;color:var(--muted);line-height:1.45}
.advanced-locked-cta{flex:none;padding:9px 14px;border-radius:999px;background:var(--brand);color:#fff;
  font-size:13px;font-weight:700;white-space:nowrap}

/* ===========================================================================
   Light theme.
   The dark theme above stays the default. When the theme script (see
   partials/head.php) sees the device prefers light, it sets
   data-theme="light" on <html> before first paint, and these variables
   take over. --brand itself is NOT redefined here on purpose: the admin's
   picked colour is injected as :root{--brand:...} after this sheet, and
   every tint below is mixed from var(--brand), so a picked colour still
   re-colours the light theme too. The hero, the gradient cards and the
   brand buttons keep their dark gradient in both themes - they are the
   brand's dark moments, and white text on them reads in either mode.
   =========================================================================== */
html[data-theme="light"]{
  color-scheme:light;
  --brand-2:color-mix(in oklab, var(--brand) 62%, white);
  --brand-soft:color-mix(in srgb, var(--brand) 10%, #ffffff);
  --brand-line:color-mix(in srgb, var(--brand) 38%, #cfe3de);
  --ink:#152420; --ink-2:#3d534b; --muted:#6b7f77;
  --bg:#f4f7f5; --surface:#ffffff; --bg-soft:#edf2ef; --line:#dbe4df;
  --ok:#15803d; --ok-soft:#e2f4e8; --warn:#b45309; --warn-soft:#fdf1de;
  --bad:#b91c1c; --bad-soft:#fdecec;
  --shadow:0 1px 2px rgba(16,24,20,.06), 0 8px 24px rgba(16,24,20,.07);
  --glow-soft:color-mix(in srgb, var(--brand) 12%, transparent);
  --glow:color-mix(in srgb, var(--brand) 22%, transparent);
  --shadow-lg:0 8px 24px rgba(16,24,20,.09), 0 24px 56px rgba(16,24,20,.10);
  --brand-deep:color-mix(in oklab, var(--brand) 62%, black);
  --brand-warm:color-mix(in oklab, var(--brand) 38%, white);
  --grad-deep:linear-gradient(125deg,color-mix(in srgb, var(--brand) 82%, #0f766e) 0%,var(--brand) 42%,var(--brand-2) 72%,var(--brand-warm) 100%);
}
/* The page glow is a dark radial; on a light page it would read as a
   smudge, so it fades to almost nothing. */
html[data-theme="light"] body{background-image:radial-gradient(900px 480px at 50% -8%,color-mix(in srgb, var(--brand) 7%, transparent),transparent 62%)}
/* The header keeps its dark bar in BOTH modes. Every header element
   (logo, nav links, account chip, buttons) is white type written for
   that dark bar; a light bar in light mode made them invisible
   (white-on-white on the homepage). So in light mode the bar stays
   dark and the type stays white - the header looks the same in both
   modes, which is also what the dark theme already does. */
html[data-theme="light"] .site-head{background:rgba(11,18,16,.92);border-color:rgba(255,255,255,.08)}
html[data-theme="light"] body:has(.hero) .site-head{background:rgba(11,18,16,.92);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.08)}
html[data-theme="light"] .site-head .logo{color:#fff}
html[data-theme="light"] .site-head .logo-mark{background:rgba(255,255,255,.18);box-shadow:inset 0 0 0 1px rgba(255,255,255,.3)}
html[data-theme="light"] .site-head .nav-links a{color:rgba(255,255,255,.88)}
html[data-theme="light"] .site-head .nav-links a:hover,
html[data-theme="light"] .site-head .nav-links a.active{background:rgba(255,255,255,.16);color:#fff}
html[data-theme="light"] .site-head .chat-link{color:#fff}
html[data-theme="light"] .site-head .btn-ghost{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.45)}
html[data-theme="light"] .site-head .btn-ghost:hover{background:rgba(255,255,255,.22);border-color:#fff}
html[data-theme="light"] .site-head .btn-primary{background:#fff;color:var(--brand);box-shadow:none}
html[data-theme="light"] .site-head .burger{color:#fff;border-color:rgba(255,255,255,.45)}
html[data-theme="light"] .site-head .acct-chip{background:rgba(255,255,255,.14);color:#fff;border-color:rgba(255,255,255,.4)}
html[data-theme="light"] .site-head .acct-bal small{color:rgba(255,255,255,.8)}
html[data-theme="light"] .site-head .acct-caret{color:rgba(255,255,255,.85)}
html[data-theme="light"] .site-head .curbtn{background:rgba(255,255,255,.14);color:#fff}
html[data-theme="light"] .site-head .curbtn .curcaret{color:rgba(255,255,255,.85)}
/* Alert text was written as pale tints for dark soft backgrounds; on a
   light page those tints are unreadable, so the text goes dark. */
html[data-theme="light"] .alert-success{color:var(--ok)}
html[data-theme="light"] .alert-error{color:var(--bad)}
html[data-theme="light"] .alert-warning{color:var(--warn)}
html[data-theme="light"] .alert-info{color:var(--brand-deep)}
html[data-theme="light"] .form-err{color:var(--bad)}
html[data-theme="light"] .opt-warn{color:var(--warn)}
html[data-theme="light"] .opt-warn b{color:var(--ink)}
html[data-theme="light"] .obadge-p,html[data-theme="light"] .obadge-budget{color:var(--warn)}
html[data-theme="light"] .tf-state.on{color:var(--ok)}
html[data-theme="light"] .nc-num-soon{color:#9aa8a2}
html[data-theme="light"] .nc-code-text{color:var(--ok)}
html[data-theme="light"] .nc-sms.has-code{border-color:color-mix(in srgb, var(--ok) 55%, transparent)}
html[data-theme="light"] .nc-codes{border-top-color:color-mix(in srgb, var(--ok) 45%, transparent)}
html[data-theme="light"] .lc-error{color:var(--bad)}
/* Hard-coded dark surfaces that no variable covers. */
html[data-theme="light"] .sk{background:linear-gradient(90deg,var(--bg-soft) 25%,#dde6e1 37%,var(--bg-soft) 63%)}
html[data-theme="light"] .buying{background:rgba(255,255,255,.96)}
html[data-theme="light"] .is-updating::after{background:rgba(255,255,255,.6)}
html[data-theme="light"] .opt-radio{border-color:#b9c7c1}
html[data-theme="light"] .svc-ico{background:color-mix(in srgb, var(--c) 15%, #ffffff)}
html[data-theme="light"] .lang-list,html[data-theme="light"] .soft-select-list,
html[data-theme="light"] .curmenu{box-shadow:var(--shadow-lg)}
html[data-theme="light"] .job-bar{background:color-mix(in srgb, var(--brand) 18%, transparent)}
html[data-theme="light"] .modal-back{background:rgba(21,36,32,.45)}
html[data-theme="light"] .app-tabs{box-shadow:0 -6px 20px rgba(16,24,20,.10)}
html[data-theme="light"] .modal{box-shadow:0 30px 80px rgba(16,24,20,.16)}
html[data-theme="light"] .inspect-overlay{background:rgba(21,36,32,.72)}

/* ---------- the theme toggle (sun / moon) ----------
   One button in the header on every page. It shows the mode a click
   switches TO: a sun while the page is dark, a moon while it is light.
   The choice lives only in memory for this visit - nothing is saved -
   so a fresh visit always follows the device again. */
.theme-toggle{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;flex:none;
  border:1.5px solid var(--line);background:var(--surface);color:var(--ink-2);cursor:pointer;font-size:18px;
  transition:border-color .15s,color .15s,background .15s,transform .15s}
.theme-toggle:hover{border-color:var(--brand-line);color:var(--brand);transform:translateY(-1px)}
.theme-toggle .t-moon{display:none}
html[data-theme="light"] .theme-toggle .t-sun{display:none}
html[data-theme="light"] .theme-toggle .t-moon{display:block}
body:has(.hero) .site-head .theme-toggle{background:rgba(255,255,255,.14);color:#fff;border-color:rgba(255,255,255,.4)}
body:has(.hero) .site-head .theme-toggle:hover{background:rgba(255,255,255,.22);border-color:#fff;color:#fff}
/* The switch itself is smooth: for a third of a second every surface
   fades between its two colours instead of snapping. The class is added
   by the toggle script and removed again, so normal hover and progress
   transitions are untouched the rest of the time. */
html.theme-switching,html.theme-switching *,html.theme-switching *::before,html.theme-switching *::after{
  transition:background-color .3s ease,color .3s ease,border-color .3s ease,box-shadow .3s ease!important}

/* ---------- the job page's gutter (the /clips/1 fault) ----------
   The job page used to render in the public layout, whose <main> has no
   .wrap - so its heading, link and cards sat flush on the viewport's
   left edge while the nav and footer were inset. Signed-in jobs now
   render inside the portal layout (sidebar + .app-content padding); a
   guest's job page gets this same gutter from CSS, so no job page can
   ever sit on the edge again. overflow-x:clip on <html> is the belt
   under it: a child wider than the screen can no longer shove the page
   sideways and clip the first characters. */
body[data-layout="main"] .portal-page{max-width:1220px;margin:0 auto;padding:28px 20px 60px}
@media (max-width:640px){
  body[data-layout="main"] .portal-page{padding:20px 16px 48px}
}
/* The source link truncates with an ellipsis instead of running off the
   edge, and a long link can break anywhere rather than forcing its
   container wider than the screen. */
.job-source-link{overflow-wrap:anywhere}

/* ---------- the bulk form: master settings, video cards ----------
   The master settings are one tinted block, labelled for bulk mode only;
   each video is a neat card with its own collapsible settings. In single
   mode the master block is unstyled and the label stays hidden, so the
   one-video form looks exactly as it did. */
.clip-form.is-bulk [data-master-fields]{background:var(--brand-soft);border:1px solid var(--brand-line);
  border-radius:18px;padding:16px 16px 4px;margin-bottom:16px}
.bulk-master-note{display:none;align-items:center;gap:8px;font-weight:800;font-size:14px;color:var(--brand);margin-bottom:12px}
.bulk-master-note .icon{font-size:17px}
.clip-form.is-bulk .bulk-master-note{display:flex}
.clip-form.is-bulk [data-bulk-rows] > .hint{margin-bottom:12px}
.bulk-row{margin-bottom:14px}
.bulk-row .ptitle{margin-bottom:10px}
.bulk-row .advanced{margin-top:12px}
.bulk-row .field:last-child{margin-bottom:0}
[data-bulk-add]{width:100%}
@media (max-width:640px){
  .clip-form.is-bulk [data-master-fields]{padding:12px 12px 2px;border-radius:14px}
  .bulk-row{padding:18px 16px}
}

/* ---------- the live progress box + the keeps-working notice ----------
   The box under the progress bar says, per clip, what is happening now
   - in plain words only, never how the pipeline works inside. Each row
   has a dot: green when its clip is ready, a pulsing teal one while it
   is being made, grey while it waits. The notice is a full-width alert,
   not small print: the job keeps running on our system even if the tab
   is closed or the user logs out. */
.job-live-box{margin-top:16px;border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:14px 16px}
.job-live-title{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);margin-bottom:8px}
.job-live-list{list-style:none;margin:0;padding:0;display:grid;gap:7px;max-height:176px;overflow-y:auto;scrollbar-width:thin}
.job-live-row{display:flex;align-items:baseline;gap:8px;font-size:14.5px;font-weight:600;color:var(--ink-2)}
.job-live-row .dot{width:9px;height:9px;border-radius:50%;flex:none;background:var(--line);align-self:center}
.job-live-row.is-ready{color:var(--ink)}
.job-live-row.is-ready .dot{background:var(--ok)}
.job-live-row.is-now{color:var(--ink)}
.job-live-row.is-now .dot{background:var(--brand);animation:st-blink 1.2s ease-in-out infinite}
.job-live-row.is-bad .dot{background:var(--bad)}
.job-live-row .job-live-mark{margin-left:auto;font-size:13px;font-weight:700;white-space:nowrap}
.job-live-row.is-ready .job-live-mark{color:var(--ok)}
.job-live-row.is-now .job-live-mark{color:var(--brand)}
.job-live-row.is-bad .job-live-mark{color:var(--bad)}
.job-live-time{flex:none;font-size:12px;font-weight:600;color:var(--muted);font-variant-numeric:tabular-nums}
/* The job page header is a proper premium card, not bare text: the
   heading and the source link sit inside the same card language as
   the rest of the page, with a copy-link button, aligned with the
   main card below it. */
.job-head-card{display:flex;align-items:flex-start;gap:14px;flex-wrap:wrap}
.job-head-main{min-width:0;flex:1}
.job-head-card h1{font-size:clamp(22px,3.4vw,30px);letter-spacing:-.02em;margin:0 0 6px}
.job-head-source{display:flex;align-items:center;gap:8px;min-width:0}
.job-head-source .job-source-link{flex:1;min-width:0}
.job-head-card .btn{flex:none}
.job-keep{display:flex;gap:11px;align-items:flex-start;margin:16px 2px 0;text-align:left}
.job-keep .icon{font-size:19px;flex:none;margin-top:2px}
.job-keep b{display:block;margin-bottom:2px}
@media (max-width:560px){
  .job-live-box{padding:12px 14px}
}
