/* The new UI (Fable, weppartf c1b64ce design/clipmatrix/app/assets/app.css), ported by tools/new-ui/port_css.py: nx- prefix, root .nx. */
@font-face { font-family: "Geist"; src: url("/fonts/geist-var.woff2") format("woff2"), url("/ui/canvas-captions/fonts/geist/Geist[wght].ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono-var.woff2") format("woff2"), url("/ui/canvas-captions/fonts/geistmono/GeistMono[wght].ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
/* ClipMatrix — product pages mockup. Same tokens as the landing (iteration 4) and the editor. */
.nx {
  --bg: #0b0c10; --bg-2: #0f1015; --bg-3: #14161c; --bg-4: #1a1d25; --bg-out: #07080a;
  --ink: #f4f5f7; --ink-2: #a3a8b3; --ink-3: #6a7080;
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.16); --line-3: rgba(255,255,255,.28);
  --sage: #93ab7b; --ok: #8fd18b; --warn: #ffb454; --err: #ff6b7f; --info: #9fc5ff;
  --font: "Geist", "Inter", -apple-system, sans-serif; --mono: "Geist Mono", "JetBrains Mono", Menlo, monospace;
  --hd: 3.5rem; --w: 77.5rem; --gut: 1.75rem; --r: .875rem;
}
:where(.nx) *, :where(.nx) *::before, :where(.nx) *::after { box-sizing: border-box; }
.nx { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: .875rem; line-height: 1.45; -webkit-font-smoothing: antialiased; }
.nx.nx-pub { background: var(--bg-out); }
:where(.nx) button, :where(.nx) input, :where(.nx) select, :where(.nx) textarea { font: inherit; color: inherit; } :where(.nx) button { background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; } :where(.nx) a { color: inherit; text-decoration: none; cursor: pointer; }
:where(.nx) h1, :where(.nx) h2, :where(.nx) h3, :where(.nx) h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
:where(.nx) p { margin: 0; }
:where(.nx) svg.nx-i { width: 1rem; height: 1rem; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:where(.nx) ::-webkit-scrollbar { width: .5rem; height: .5rem; } :where(.nx) ::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: .25rem; }
:where(.nx) kbd { font-family: var(--mono); font-size: .6875rem; border: 1px solid var(--line-2); border-radius: .25rem; padding: 0 .3125rem; color: var(--ink-3); }
.nx-mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.nx-t2 { color: var(--ink-2); } .nx-t3 { color: var(--ink-3); } .nx-ok { color: var(--ok); } .nx-warn { color: var(--warn); } .nx-err { color: var(--err); }
.nx-caps { font-family: var(--mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.nx-sub { font-size: .7812rem; color: var(--ink-3); line-height: 1.45; }
.nx-hide { display: none !important; }
.nx-ph { position: absolute; left: .375rem; top: .375rem; z-index: 3; font: 600 .5625rem/1 var(--mono); letter-spacing: .08em; color: #fff; background: rgba(220,50,70,.85); padding: .1875rem .25rem; border-radius: .1875rem; pointer-events: none; }
.nx.nx-noph .nx-ph { display: none; }

/* ---------- shell ---------- */
.nx-shell { min-height: 100vh; display: flex; flex-direction: column; }
.nx-main { flex: 1; min-width: 0; }
.nx-wrap { width: min(var(--w), 100%); margin: 0 auto; padding: 2rem var(--gut) 4.5rem; }
.nx-wrap.nx-narrow { --w: 53.75rem; } .nx-wrap.nx-wide { --w: 85rem; }
.nx-hd { position: sticky; top: 0; z-index: 40; height: var(--hd); background: rgba(11,12,16,.86); backdrop-filter: blur(1rem) saturate(1.2); border-bottom: 1px solid var(--line); }
.nx-hd-in { width: min(var(--w), 100%); margin: 0 auto; height: 100%; display: flex; align-items: center; gap: 1.375rem; padding: 0 var(--gut); }
.nx-logo { display: inline-flex; align-items: center; gap: .5625rem; font-weight: 700; font-size: 1.125rem; letter-spacing: -.035em; color: var(--ink); white-space: nowrap; }
.nx-logo svg { width: 1.9375rem; height: 1.25rem; display: block; }
.nx-hd nav { display: flex; gap: .125rem; }
.nx-hd nav a { height: 2.125rem; display: inline-flex; align-items: center; padding: 0 .75rem; border-radius: .5rem; font-size: .875rem; color: var(--ink-2); transition: color .15s, background .15s; }
.nx-hd nav a:hover { color: var(--ink); background: rgba(255,255,255,.05); } .nx-hd nav a.nx-on { color: var(--ink); background: rgba(255,255,255,.07); }
.nx-hd .nx-r { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.nx-meter { display: inline-flex; align-items: center; gap: .5rem; height: 2.125rem; padding: 0 .6875rem 0 .5rem; border-radius: .5625rem; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); font-family: var(--mono); font-size: .8125rem; position: relative; }
.nx-meter:hover { border-color: var(--line-3); } .nx-meter svg { width: 1.125rem; height: 1.125rem; transform: rotate(-90deg); } .nx-meter circle { fill: none; stroke-width: 2.6; } .nx-meter .nx-tr { stroke: rgba(255,255,255,.14); } .nx-meter .nx-vl { stroke: #fff; stroke-linecap: round; }
.nx-meter.nx-low .nx-vl { stroke: var(--warn); } .nx-meter.nx-low b { color: var(--warn); } .nx-meter .nx-u { color: var(--ink-3); font-size: .7188rem; } .nx-meter b { font-weight: 500; }
.nx-meter .nx-tip { display: none; position: absolute; top: calc(100% + .5rem); right: 0; width: 16.25rem; padding: .625rem .75rem; background: var(--bg-3); border: 1px solid var(--line-2); border-radius: .625rem; font-family: var(--font); font-size: .7812rem; color: var(--ink-2); z-index: 5; }
.nx-meter:hover .nx-tip, .nx-meter.nx-tipon .nx-tip { display: block; }
.nx-plan-chip { height: 1.75rem; padding: 0 .625rem; border-radius: .4375rem; border: 1px solid var(--line-2); font-size: .7812rem; font-weight: 500; display: inline-flex; align-items: center; gap: .375rem; color: var(--ink-2); }
.nx-plan-chip:hover { color: var(--ink); border-color: var(--line-3); }
.nx-lang { height: 2.125rem; padding: 0 .625rem; border-radius: .5rem; font-family: var(--mono); font-size: .7812rem; letter-spacing: .06em; color: var(--ink-2); display: inline-flex; align-items: center; gap: .3125rem; }
.nx-lang:hover { color: var(--ink); background: rgba(255,255,255,.05); }
/* «EN · RU» (core.js langPair): the current language marked, the other a link; shown on phones too. */
/* The language switch: the landing's segmented control (a thin outline, the current language a light chip), not the old «EN · RU» text */
.nx-lang-pair { display: inline-flex; align-items: center; gap: 0; padding: 3px; border: 1px solid var(--line, rgba(255,255,255,.08)); border-radius: var(--cm-control-radius, 999px); font-family: inherit; font-size: 11px; line-height: 1; font-weight: 500; letter-spacing: 0; white-space: nowrap; }
.nx-lang-pair b, .nx-lang-pair a { display: inline-block; padding: 7px 9px; border-radius: var(--cm-control-radius, 999px); font-weight: 500; transition: background .2s, color .2s; }
.nx-lang-pair b { color: #111; background: #e9e9e5; }
.nx-lang-pair a { color: #8a8a86; } .nx-lang-pair a:hover { color: #e9e9e5; background: rgba(255,255,255,.06); }
.nx-lang-pair .nx-lang-sep { display: none; }
/* A phone's header with both languages (375 px): the logo keeps its mark, «Пополнить» lives in the menu and the meter. */
@media (max-width: 440px) { .nx-hd .nx-logo .nx-logo-t { display: none; } .nx-hd .nx-topup { display: none; } .nx-lang-pair { padding: 0; gap: .0625rem; } }
.nx-avatar { width: 2.125rem; height: 2.125rem; border-radius: 50%; background: linear-gradient(160deg, #2a2f3a, #171a21); border: 1px solid var(--line-2); display: inline-grid; place-items: center; font-weight: 600; font-size: .8438rem; position: relative; }
.nx-avatar:hover { border-color: var(--line-3); }
.nx-upl-ind { display: inline-flex; align-items: center; gap: .5rem; height: 2.125rem; padding: 0 .75rem; border-radius: .5625rem; border: 1px solid rgba(159,197,255,.35); color: var(--info); font-size: .7812rem; }
.nx-upl-ind i { width: 3.75rem; height: .1875rem; background: rgba(255,255,255,.14); border-radius: .125rem; overflow: hidden; } .nx-upl-ind i::after { content: ""; display: block; height: 100%; width: var(--p, 60%); background: var(--info); }
.nx-umenu { position: absolute; top: calc(100% + .5rem); right: 0; width: 14.5rem; padding: .375rem; background: var(--bg-3); border: 1px solid var(--line-2); border-radius: .75rem; box-shadow: 0 1.25rem 3.125rem rgba(0,0,0,.5); z-index: 50; text-align: left; }
.nx-umenu .nx-who { padding: .5rem .625rem .625rem; border-bottom: 1px solid var(--line); margin-bottom: .375rem; } .nx-umenu .nx-who b { display: block; font-weight: 600; } .nx-umenu .nx-who span { font-size: .75rem; color: var(--ink-3); }
.nx-umenu a, .nx-umenu button { display: flex; align-items: center; gap: .625rem; width: 100%; height: 2.125rem; padding: 0 .625rem; border-radius: .5rem; font-size: .8438rem; color: var(--ink-2); } .nx-umenu a:hover, .nx-umenu button:hover { background: rgba(255,255,255,.06); color: var(--ink); }
.nx-umenu .nx-sep { height: 1px; background: var(--line); margin: .375rem 0; }
.nx-burger { display: none; width: 2.25rem; height: 2.25rem; border-radius: .5rem; place-items: center; color: var(--ink-2); }
.nx-mnav { display: none; }

/* footer (app) */
.nx-ft { border-top: 1px solid var(--line); padding: 1.125rem var(--gut); }
.nx-ft-in { width: min(var(--w), 100%); margin: 0 auto; display: flex; align-items: center; gap: 1.125rem; flex-wrap: wrap; font-size: .7812rem; color: var(--ink-3); }
.nx-ft-in .nx-logo { font-size: .9375rem; gap: .4375rem; } .nx-ft-in .nx-logo svg { width: 1.5rem; height: 1rem; }
.nx-ft-in .nx-links { margin-left: auto; display: flex; gap: 1rem; flex-wrap: wrap; } .nx-ft-in a:hover { color: var(--ink); }
/* footer (public) */
.nx-ftp { border-top: 1px solid var(--line); padding: 2.75rem var(--gut) 1.75rem; background: var(--bg-out); }
.nx-ftp-in { width: min(var(--w), 100%); margin: 0 auto; }
.nx-ftp .nx-cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 1.5rem; }
.nx-ftp .nx-caps { margin-bottom: .75rem; } .nx-ftp .nx-cols a { display: block; font-size: .8438rem; color: var(--ink-2); padding: .25rem 0; } .nx-ftp .nx-cols a:hover { color: var(--ink); } .nx-ftp .nx-cols a.nx-logo { display: inline-flex; font-size: 1.0625rem; color: var(--ink); padding: 0; }
.nx-ftp .nx-blurb { font-size: .8125rem; color: var(--ink-3); max-width: 28ch; margin-top: .625rem; line-height: 1.5; }
.nx-ftp .nx-bottom { margin-top: 2.25rem; padding-top: 1.125rem; border-top: 1px solid var(--line); display: flex; gap: 1.125rem; flex-wrap: wrap; font-size: .7812rem; color: var(--ink-3); } .nx-ftp .nx-bottom .nx-links { margin-left: auto; display: flex; gap: 1rem; }
/* public header */
.nx-hd.nx-pub-hd { height: 4.25rem; background: rgba(7,8,10,.78); } .nx-pub-hd .nx-hd-in { gap: 1.875rem; } .nx-pub-hd .nx-logo { font-size: 1.1875rem; } .nx-pub-hd .nx-logo svg { width: 2.125rem; height: 1.375rem; }
.nx-pub-hd .nx-try { height: 2.25rem; padding: 0 .875rem; border-radius: .5rem; background: #fff; color: #0b0c10; font-weight: 500; display: inline-flex; align-items: center; }
.nx-pub-hd .nx-login { height: 2.25rem; padding: 0 .75rem; display: inline-flex; align-items: center; color: var(--ink-2); border-radius: .5rem; } .nx-pub-hd .nx-login:hover { color: var(--ink); }

/* ---------- controls ---------- */
.nx-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4375rem; height: 2.25rem; padding: 0 .875rem; border-radius: .5625rem; font-size: .8438rem; font-weight: 500; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s; border: 1px solid transparent; }
.nx-btn:active { transform: translateY(1px); } .nx-btn.nx-primary { background: #fff; color: #0b0c10; } .nx-btn.nx-primary:hover { background: #e9ebf0; }
.nx-btn.nx-ghost { border-color: var(--line-2); color: var(--ink); background: rgba(255,255,255,.03); } .nx-btn.nx-ghost:hover { border-color: var(--line-3); background: rgba(255,255,255,.06); }
.nx-btn.nx-soft { background: rgba(255,255,255,.07); color: var(--ink); } .nx-btn.nx-soft:hover { background: rgba(255,255,255,.11); }
.nx-btn.nx-danger { border-color: rgba(255,107,127,.4); color: var(--err); background: rgba(255,107,127,.06); } .nx-btn.nx-danger:hover { background: rgba(255,107,127,.12); } .nx-btn.nx-danger.nx-fill { background: var(--err); color: #15070a; border-color: transparent; }
.nx-btn.nx-link { padding: 0 .25rem; color: var(--ink-2); height: auto; } .nx-btn.nx-link:hover { color: var(--ink); text-decoration: underline; }
.nx-btn.nx-lg { height: 2.75rem; padding: 0 1.25rem; font-size: .9062rem; border-radius: .6875rem; } .nx-btn.nx-sm { height: 1.875rem; padding: 0 .6875rem; font-size: .7812rem; border-radius: .5rem; } .nx-btn.nx-xs { height: 1.625rem; padding: 0 .5625rem; font-size: .75rem; border-radius: .4375rem; } .nx-btn.nx-wide { width: 100%; }
.nx-btn:disabled, .nx-btn.nx-dis { opacity: .4; pointer-events: none; } .nx-btn .nx-i { width: .9375rem; height: .9375rem; }
.nx-btn.nx-oauth { justify-content: flex-start; gap: .625rem; } .nx-btn.nx-oauth .nx-pi { width: 1.125rem; height: 1.125rem; display: inline-grid; place-items: center; }
.nx-ib { width: 2rem; height: 2rem; border-radius: .5rem; display: inline-grid; place-items: center; color: var(--ink-2); flex: none; } .nx-ib:hover { background: rgba(255,255,255,.07); color: var(--ink); } .nx-ib.nx-sm { width: 1.625rem; height: 1.625rem; }
.nx-seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: .5625rem; overflow: hidden; background: rgba(255,255,255,.02); }
.nx-seg button { height: 2rem; padding: 0 .75rem; color: var(--ink-3); font-size: .8125rem; border-right: 1px solid var(--line); white-space: nowrap; } .nx-seg button:last-child { border-right: 0; } .nx-seg button.nx-on { background: rgba(255,255,255,.1); color: var(--ink); } .nx-seg button:hover:not(.nx-on) { color: var(--ink-2); }
.nx-chips { display: flex; gap: .375rem; flex-wrap: wrap; } .nx-chips button { height: 1.875rem; padding: 0 .75rem; border-radius: .5rem; border: 1px solid var(--line-2); font-size: .8125rem; color: var(--ink-2); } .nx-chips button.nx-on { background: #fff; color: #0b0c10; border-color: #fff; } .nx-chips button:hover:not(.nx-on) { color: var(--ink); border-color: var(--line-3); } .nx-chips button i { font-style: normal; color: var(--ink-3); margin-left: .3125rem; font-family: var(--mono); font-size: .7188rem; } .nx-chips button.nx-on i { color: #555; }
.nx-tg { display: inline-flex; align-items: center; gap: .5625rem; cursor: pointer; } .nx-tg input { display: none; } .nx-tg i { width: 2.25rem; height: 1.3125rem; border-radius: .6875rem; background: rgba(255,255,255,.14); position: relative; transition: background .15s; flex: none; } .nx-tg i::after { content: ""; position: absolute; left: .125rem; top: .125rem; width: 1.0625rem; height: 1.0625rem; border-radius: 50%; background: #fff; transition: transform .15s; } .nx-tg input:checked + i { background: #fff; } .nx-tg input:checked + i::after { transform: translateX(.9375rem); background: #0b0c10; }
.nx-tg.nx-mixed i { background: rgba(255,255,255,.35); } .nx-tg.nx-mixed i::after { transform: translateX(.4375rem); } .nx-tg.nx-dis { opacity: .5; cursor: not-allowed; }
.nx-cb { display: inline-flex; align-items: flex-start; gap: .5625rem; cursor: pointer; } .nx-cb input { display: none; } .nx-cb span.nx-bx { width: 1.0625rem; height: 1.0625rem; border-radius: .3125rem; border: 1px solid var(--line-3); display: inline-grid; place-items: center; flex: none; margin-top: 1px; } .nx-cb input:checked + .nx-bx { background: #fff; border-color: #fff; } .nx-cb input:checked + .nx-bx::after { content: ""; width: .25rem; height: .5rem; border: solid #0b0c10; border-width: 0 .125rem .125rem 0; transform: rotate(45deg) translate(-1px, -1px); }
.nx-rd { display: flex; align-items: flex-start; gap: .625rem; padding: .6875rem .75rem; border: 1px solid var(--line-2); border-radius: .625rem; cursor: pointer; } .nx-rd input { display: none; } .nx-rd .nx-dot { width: 1.0625rem; height: 1.0625rem; border-radius: 50%; border: 1px solid var(--line-3); flex: none; margin-top: 1px; display: grid; place-items: center; } .nx-rd input:checked + .nx-dot { border-color: #fff; } .nx-rd input:checked + .nx-dot::after { content: ""; width: .5625rem; height: .5625rem; border-radius: 50%; background: #fff; } .nx-rd b { display: block; font-weight: 500; } .nx-rd span { font-size: .7812rem; color: var(--ink-3); } .nx-rd:has(input:checked) { border-color: var(--line-3); background: rgba(255,255,255,.03); }
.nx-fld { display: flex; flex-direction: column; gap: .375rem; } .nx-fld label, .nx-lbl { font-size: .7812rem; color: var(--ink-2); font-weight: 500; }
.nx-in, :where(.nx) select.nx-in, :where(.nx) textarea.nx-in { height: 2.5rem; padding: 0 .75rem; border-radius: .5625rem; border: 1px solid var(--line-2); background: rgba(255,255,255,.035); color: var(--ink); font-size: .875rem; outline: 0; width: 100%; transition: border-color .15s; }
.nx-in::placeholder { color: var(--ink-3); } .nx-in:focus { border-color: var(--line-3); box-shadow: 0 0 0 .1875rem rgba(255,255,255,.06); } .nx-in:read-only { color: var(--ink-2); background: rgba(255,255,255,.02); }
:where(.nx) textarea.nx-in { height: auto; min-height: 5.25rem; padding: .625rem .75rem; resize: vertical; }
:where(.nx) select.nx-in { appearance: none; padding-right: 2rem; background: rgba(255,255,255,.035) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3a8b3' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .625rem center / .8125rem no-repeat; }
.nx-fld .nx-hint { font-size: .75rem; color: var(--ink-3); } .nx-fld.nx-err .nx-in { border-color: rgba(255,107,127,.6); } .nx-fld .nx-er { font-size: .75rem; color: var(--err); } .nx-fld.nx-ok .nx-in { border-color: rgba(143,209,139,.5); }
.nx-pw { position: relative; } .nx-pw .nx-in { padding-right: 4.75rem; } .nx-pw button { position: absolute; right: .375rem; top: 50%; transform: translateY(-50%); height: 1.75rem; padding: 0 .5625rem; border-radius: .375rem; font-size: .75rem; color: var(--ink-3); } .nx-pw button:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.nx-in-grp { display: flex; gap: .5rem; } .nx-in-grp .nx-in { flex: 1; }
.nx-alert { padding: .6875rem .8125rem; border-radius: .625rem; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); font-size: .8438rem; color: var(--ink-2); display: flex; gap: .625rem; align-items: flex-start; line-height: 1.45; }
.nx-alert .nx-i { margin-top: .125rem; } .nx-alert.nx-err { border-color: rgba(255,107,127,.45); color: #ffd3da; background: rgba(255,107,127,.07); } .nx-alert.nx-ok { border-color: rgba(143,209,139,.45); color: #d7f2d5; background: rgba(143,209,139,.07); } .nx-alert.nx-warn { border-color: rgba(255,180,84,.45); color: #ffe6c4; background: rgba(255,180,84,.07); } .nx-alert.nx-info { border-color: rgba(159,197,255,.4); color: #d9e7ff; background: rgba(159,197,255,.07); }
.nx-alert a { text-decoration: underline; } .nx-alert b { font-weight: 600; color: var(--ink); }
.nx-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem; }
.nx-card h2 { font-size: 1.0625rem; margin-bottom: .25rem; } .nx-card .nx-lead { font-size: .8125rem; color: var(--ink-3); margin-bottom: .875rem; line-height: 1.5; }
.nx-row { display: flex; align-items: center; gap: .625rem; } .nx-row.nx-between { justify-content: space-between; } .nx-row.nx-top { align-items: flex-start; } .nx-row.nx-fw { flex-wrap: wrap; }
.nx-stack { display: flex; flex-direction: column; gap: .75rem; } .nx-stack.nx-sm { gap: .5rem; } .nx-stack.nx-lg { gap: 1.25rem; }
.nx-kv { display: grid; grid-template-columns: 9.375rem 1fr; gap: .375rem .875rem; font-size: .8438rem; } .nx-kv dt { color: var(--ink-3); } .nx-kv dd { margin: 0; }
.nx-st { font-size: .7188rem; padding: .125rem .5rem; border-radius: .375rem; border: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap; display: inline-flex; align-items: center; gap: .3125rem; line-height: 1.125rem; }
.nx-st.nx-ok { color: var(--ok); border-color: rgba(143,209,139,.4); } .nx-st.nx-warn { color: var(--warn); border-color: rgba(255,180,84,.4); } .nx-st.nx-err { color: var(--err); border-color: rgba(255,107,127,.45); } .nx-st.nx-info { color: var(--info); border-color: rgba(159,197,255,.4); } .nx-st.nx-dim { color: var(--ink-3); } .nx-st.nx-fill { background: #fff; color: #0b0c10; border-color: #fff; }
.nx-pb { height: .3125rem; border-radius: .1875rem; background: rgba(255,255,255,.1); overflow: hidden; } .nx-pb i { display: block; height: 100%; background: #fff; border-radius: .1875rem; width: var(--p, 40%); transition: width .3s; } .nx-pb.nx-thin { height: .1875rem; } .nx-pb.nx-ok i { background: var(--ok); } .nx-pb.nx-warn i { background: var(--warn); } .nx-pb.nx-split { display: flex; gap: .125rem; } .nx-pb.nx-split i { border-radius: 0; } .nx-pb.nx-split i.nx-pack { background: var(--info); } .nx-pb.nx-split i.nx-bonus { background: var(--sage); }
.nx-spin { width: 1.75rem; height: 1.75rem; border-radius: 50%; border: .125rem solid rgba(255,255,255,.15); border-top-color: #fff; animation: nx-spin .9s linear infinite; } .nx-spin.nx-sm { width: .875rem; height: .875rem; border-width: .0938rem; display: inline-block; vertical-align: middle; } @keyframes nx-spin { to { transform: rotate(360deg) } }
.nx-dots { display: inline-flex; gap: .1875rem; } .nx-dots i { width: .25rem; height: .25rem; border-radius: 50%; background: var(--ink-2); animation: nx-blink 1.2s infinite; } .nx-dots i:nth-child(2) { animation-delay: .2s } .nx-dots i:nth-child(3) { animation-delay: .4s } @keyframes nx-blink { 0%, 80%, 100% { opacity: .25 } 40% { opacity: 1 } }
.nx-page-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.375rem; flex-wrap: wrap; }
.nx-page-h h1 { font-size: 1.75rem; letter-spacing: -.03em; } .nx-page-h .nx-sub { margin-top: .25rem; font-size: .8438rem; }
.nx-menu { position: absolute; right: 0; top: calc(100% + .375rem); min-width: 13.125rem; padding: .375rem; background: var(--bg-3); border: 1px solid var(--line-2); border-radius: .6875rem; box-shadow: 0 1rem 2.5rem rgba(0,0,0,.5); z-index: 30; }
.nx-menu button, .nx-menu a { display: flex; align-items: center; gap: .5625rem; width: 100%; height: 2.125rem; padding: 0 .625rem; border-radius: .4375rem; font-size: .8438rem; color: var(--ink-2); white-space: nowrap; } .nx-menu button:hover, .nx-menu a:hover { background: rgba(255,255,255,.06); color: var(--ink); } .nx-menu .nx-danger { color: var(--err); } .nx-menu .nx-dis { opacity: .4; pointer-events: none; } .nx-menu .nx-sep { height: 1px; background: var(--line); margin: .3125rem 0; }
.nx-menu .nx-i { width: .9375rem; height: .9375rem; }
.nx-tipwrap { position: relative; display: inline-flex; } .nx-tipwrap .nx-tip { display: none; position: absolute; bottom: calc(100% + .5rem); left: 50%; transform: translateX(-50%); width: 17.5rem; padding: .5625rem .6875rem; background: var(--bg-4); border: 1px solid var(--line-2); border-radius: .5625rem; font-size: .7812rem; color: var(--ink-2); line-height: 1.45; z-index: 20; font-weight: 400; text-align: left; } .nx-tipwrap:hover .nx-tip, .nx-tipwrap.nx-on .nx-tip { display: block; }
.nx-empty { text-align: center; padding: 3rem 1.25rem; border: 1px dashed var(--line-2); border-radius: var(--r); } .nx-empty h3 { font-size: 1.0625rem; margin-bottom: .375rem; } .nx-empty p { color: var(--ink-3); max-width: 44ch; margin: 0 auto 1rem; }
.nx-toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); background: var(--bg-4); border: 1px solid var(--line-2); border-radius: .6875rem; padding: .6875rem 1rem; font-size: .8438rem; box-shadow: 0 1rem 2.5rem rgba(0,0,0,.5); z-index: 80; display: flex; align-items: center; gap: .625rem; white-space: nowrap; } .nx-toast.nx-err { border-color: rgba(255,107,127,.5); } .nx-toast .nx-i { width: .9375rem; height: .9375rem; }
.nx-sysbar { position: sticky; top: var(--hd); z-index: 39; display: flex; align-items: center; justify-content: center; gap: .625rem; height: 2.25rem; font-size: .8125rem; background: rgba(255,180,84,.12); color: var(--warn); border-bottom: 1px solid rgba(255,180,84,.3); } .nx-sysbar.nx-err { background: rgba(255,107,127,.1); color: var(--err); border-color: rgba(255,107,127,.3); }
.nx-drop-over { position: fixed; inset: 0; z-index: 70; background: rgba(7,8,10,.82); display: grid; place-items: center; } .nx-drop-over div { width: min(40rem, 90vw); height: 18.75rem; border: .125rem dashed var(--line-3); border-radius: 1.25rem; display: grid; place-items: center; font-size: 1.25rem; font-weight: 500; }

.nx-frow { display: flex; gap: .5rem; flex-wrap: wrap; align-items: flex-end; } .nx-frow .nx-fld { flex: 1; min-width: 10rem; } .nx-frow .nx-fld.nx-grow { flex: 2; min-width: 12.5rem; } .nx-frow .nx-btn { height: 2.5rem; }
/* ---------- dialogs ---------- */
.nx-ov { position: fixed; inset: 0; background: rgba(5,6,8,.72); backdrop-filter: blur(.25rem); z-index: 60; display: grid; place-items: center; padding: 1.25rem; overflow: auto; }
.nx-dlg { width: 100%; max-width: 30rem; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 1.125rem; padding: 1.5rem; box-shadow: 0 1.875rem 5rem rgba(0,0,0,.6); display: flex; flex-direction: column; gap: .875rem; position: relative; }
.nx-dlg.nx-wide { max-width: 35rem; } .nx-dlg.nx-player { max-width: 26.25rem; padding: .625rem; }
.nx-dlg h2 { font-size: 1.1875rem; } .nx-dlg .nx-text { color: var(--ink-2); font-size: .875rem; line-height: 1.5; } .nx-dlg ul.nx-facts { margin: 0; padding: 0 0 0 1.125rem; color: var(--ink-2); font-size: .8438rem; line-height: 1.5; display: flex; flex-direction: column; gap: .3125rem; }
.nx-dlg .nx-acts { display: flex; justify-content: flex-end; gap: .5rem; margin-top: .25rem; flex-wrap: wrap; } .nx-dlg .nx-acts .nx-left { margin-right: auto; }
.nx-dlg .nx-x { position: absolute; right: .75rem; top: .75rem; }
.nx-rows { border: 1px solid var(--line); border-radius: .6875rem; overflow: hidden; } .nx-rows > div { display: flex; justify-content: space-between; gap: .75rem; padding: .625rem .875rem; border-bottom: 1px solid var(--line); font-size: .8438rem; } .nx-rows > div:last-child { border-bottom: 0; } .nx-rows > div span:first-child { color: var(--ink-3); } .nx-rows .nx-total { background: rgba(255,255,255,.03); } .nx-rows .nx-total b { font-size: 1.25rem; letter-spacing: -.02em; } .nx-rows s { color: var(--ink-3); font-weight: 400; margin-right: .5rem; font-size: .875rem; }
.nx-mths { display: grid; gap: .5rem; } .nx-mth { display: flex; align-items: center; gap: .75rem; padding: .625rem .75rem; border: 1px solid var(--line-2); border-radius: .6875rem; cursor: pointer; } .nx-mth:has(input:checked) { border-color: #fff; background: rgba(255,255,255,.04); } .nx-mth input { display: none; } .nx-mth .nx-ic { width: 2.375rem; height: 1.625rem; border-radius: .375rem; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; font-family: var(--mono); font-size: .5938rem; letter-spacing: .04em; color: var(--ink-2); background: rgba(255,255,255,.03); } .nx-mth b { display: block; font-weight: 500; font-size: .8438rem; } .nx-mth span { font-size: .75rem; color: var(--ink-3); display: block; } .nx-mth .nx-lg { margin-left: auto; display: flex; gap: .3125rem; } .nx-mth .nx-lg i { height: 1.125rem; padding: 0 .3125rem; border-radius: .25rem; border: 1px solid var(--line-2); font: 500 .5938rem/1rem var(--mono); color: var(--ink-3); font-style: normal; }
.nx-mth .nx-dot { width: 1rem; height: 1rem; border-radius: 50%; border: 1px solid var(--line-3); flex: none; display: grid; place-items: center; } .nx-mth input:checked ~ .nx-dot { border-color: #fff; } .nx-mth input:checked ~ .nx-dot::after { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #fff; }
.nx-drawer-ov { position: fixed; inset: 0; background: rgba(5,6,8,.6); z-index: 55; } .nx-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(35rem, 100%); background: var(--bg-2); border-left: 1px solid var(--line-2); z-index: 56; overflow: auto; padding: 1.375rem 1.5rem 2.5rem; display: flex; flex-direction: column; gap: 1.125rem; box-shadow: -1.25rem 0 3.75rem rgba(0,0,0,.5); }
.nx-drawer .nx-x { position: absolute; right: .875rem; top: .875rem; } .nx-drawer h2 { font-size: 1.25rem; } .nx-drawer section { border-top: 1px solid var(--line); padding-top: 1rem; display: flex; flex-direction: column; gap: .625rem; } .nx-drawer section h3 { font-size: .9062rem; }

/* ---------- auth ---------- */
.nx-auth { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 3rem 1.25rem 2rem; background: radial-gradient(56.25rem 31.25rem at 50% -10%, rgba(176,190,222,.08), transparent 60%), var(--bg-out); }
.nx-auth .nx-logo { margin-bottom: 2.25rem; font-size: 1.25rem; } .nx-auth .nx-logo svg { width: 2.25rem; height: 1.4375rem; }
.nx-auth-card { width: 100%; max-width: 26.25rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: 1.125rem; padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.nx-auth-card h1 { font-size: 1.5rem; letter-spacing: -.03em; } .nx-auth-card .nx-lead { color: var(--ink-3); font-size: .8438rem; margin-top: -.625rem; line-height: 1.5; }
.nx-auth-card .nx-or { display: flex; align-items: center; gap: .75rem; color: var(--ink-3); font-size: .75rem; } .nx-auth-card .nx-or::before, .nx-auth-card .nx-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.nx-auth-card .nx-foot { font-size: .8125rem; color: var(--ink-3); text-align: center; } .nx-auth-card .nx-foot a { color: var(--ink); text-decoration: underline; text-underline-offset: .1875rem; }
.nx-auth-card .nx-consent { font-size: .75rem; color: var(--ink-3); line-height: 1.5; text-align: center; } .nx-auth-card .nx-consent a { color: var(--ink-2); text-decoration: underline; text-underline-offset: .125rem; }
.nx-auth-card .nx-inv { display: flex; align-items: center; justify-content: space-between; gap: .625rem; padding: .5625rem .75rem; border-radius: .5625rem; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: .8125rem; } .nx-auth-card .nx-inv button { color: var(--ink-3); text-decoration: underline; font-size: .7812rem; }
.nx-auth-card .nx-big { text-align: center; padding: .625rem 0 .25rem; display: flex; flex-direction: column; align-items: center; gap: .75rem; } .nx-auth-card .nx-big .nx-ico { width: 3.25rem; height: 3.25rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); } .nx-auth-card .nx-big .nx-ico.nx-ok { color: var(--ok); border-color: rgba(143,209,139,.4); } .nx-auth-card .nx-big .nx-ico.nx-err { color: var(--err); border-color: rgba(255,107,127,.4); } .nx-auth-card .nx-big .nx-ico .nx-i { width: 1.5rem; height: 1.5rem; }
.nx-auth .nx-ft-min { margin-top: auto; padding-top: 2rem; font-size: .7812rem; color: var(--ink-3); display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; } .nx-auth .nx-ft-min a:hover { color: var(--ink); }

/* ---------- videos ---------- */
.nx-intake { display: grid; grid-template-columns: 1.15fr 1fr; gap: .875rem; margin-bottom: 1.5rem; }
.nx-drop { border: .0938rem dashed var(--line-2); border-radius: var(--r); padding: 1.375rem 1.5rem; display: flex; align-items: center; gap: 1.125rem; background: rgba(255,255,255,.015); transition: border-color .15s, background .15s; cursor: pointer; min-height: 7.75rem; }
.nx-drop:hover, .nx-drop.nx-over { border-color: var(--line-3); background: rgba(255,255,255,.03); } .nx-drop .nx-ico { width: 3rem; height: 3rem; border-radius: .75rem; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid var(--line); flex: none; } .nx-drop .nx-ico .nx-i { width: 1.375rem; height: 1.375rem; }
.nx-drop b { display: block; font-size: .9375rem; font-weight: 600; margin-bottom: .1875rem; } .nx-drop span { font-size: .7812rem; color: var(--ink-3); display: block; } .nx-drop .nx-btn { margin-left: auto; }
.nx-linkbox { border: 1px solid var(--line); border-radius: var(--r); padding: 1.375rem 1.5rem; background: var(--bg-2); display: flex; flex-direction: column; justify-content: center; gap: .625rem; min-height: 7.75rem; }
.nx-linkbox .nx-lbl { font-size: .9375rem; font-weight: 600; color: var(--ink); } .nx-linkbox .nx-plat { display: flex; gap: .875rem; font-size: .7812rem; color: var(--ink-3); } .nx-linkbox .nx-plat span { display: inline-flex; align-items: center; gap: .3125rem; } .nx-linkbox .nx-plat .nx-i { width: .8125rem; height: .8125rem; }
.nx-linkbox .nx-in-grp .nx-in { height: 2.625rem; } .nx-linkbox .nx-btn { height: 2.625rem; }
.nx-notice { border: 1px solid var(--line-2); border-radius: var(--r); padding: 1.125rem 1.25rem; background: linear-gradient(160deg, rgba(255,255,255,.04), transparent); margin-bottom: 1.25rem; display: grid; grid-template-columns: 1fr auto; gap: 1.125rem; align-items: start; }
.nx-notice h3 { font-size: 1rem; margin-bottom: .25rem; } .nx-notice p { color: var(--ink-2); font-size: .8438rem; max-width: 60ch; line-height: 1.5; } .nx-notice .nx-offers { display: grid; grid-template-columns: 1fr 1fr; gap: .625rem; margin-top: .875rem; max-width: 38.75rem; }
.nx-notice .nx-offer { border: 1px solid var(--line-2); border-radius: .6875rem; padding: .75rem .875rem; display: flex; flex-direction: column; gap: .25rem; } .nx-notice .nx-offer b { font-size: .875rem; } .nx-notice .nx-offer .nx-pr { font-size: 1.125rem; letter-spacing: -.02em; font-weight: 600; } .nx-notice .nx-offer span { font-size: .75rem; color: var(--ink-3); } .nx-notice .nx-offer .nx-btn { margin-top: .375rem; align-self: flex-start; }
.nx-notice .nx-wait { font-size: .7812rem; color: var(--ink-3); margin-top: .75rem; }
.nx-filters { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; flex-wrap: wrap; } .nx-filters .nx-search { margin-left: auto; width: 16.25rem; position: relative; } .nx-filters .nx-search .nx-in { height: 2.125rem; padding-left: 2rem; font-size: .8125rem; } .nx-filters .nx-search .nx-i { position: absolute; left: .625rem; top: .5625rem; color: var(--ink-3); }
.nx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16.125rem, 1fr)); gap: 1rem; }
.nx-pcard { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; position: relative; transition: border-color .15s, transform .15s; cursor: pointer; }
.nx-pcard:hover { border-color: var(--line-2); transform: translateY(-1px); } .nx-pcard.nx-sel { border-color: var(--line-3); }
.nx-pcard .nx-thumb { aspect-ratio: 16/9; background: #15171d center / cover no-repeat; position: relative; } .nx-pcard .nx-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nx-pcard .nx-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7,8,10,.55)); pointer-events: none; }
.nx-pcard.nx-working .nx-thumb img, .nx-pcard.nx-err .nx-thumb img, .nx-pcard.nx-expired .nx-thumb img { filter: saturate(.5) brightness(.6); } .nx-pcard.nx-expired .nx-thumb img { filter: grayscale(1) brightness(.4); }
.nx-pcard .nx-ov-c { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; } .nx-pcard .nx-ov-c .nx-n { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(7,8,10,.7); border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--mono); font-size: .875rem; }
.nx-pcard .nx-ov-c .nx-ring { width: 2.75rem; height: 2.75rem; transform: rotate(-90deg); } .nx-pcard .nx-ov-c .nx-ring circle { fill: rgba(7,8,10,.55); stroke-width: 3; } .nx-pcard .nx-ov-c .nx-ring .nx-tr { stroke: rgba(255,255,255,.18); } .nx-pcard .nx-ov-c .nx-ring .nx-vl { stroke: #fff; stroke-linecap: round; }
.nx-pcard .nx-ov-c .nx-ico { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; background: rgba(7,8,10,.7); border: 1px solid var(--line-2); } .nx-pcard .nx-ov-c .nx-ico .nx-i { width: 1.125rem; height: 1.125rem; }
.nx-pcard .nx-corner { position: absolute; right: .5rem; bottom: .5rem; z-index: 2; display: flex; gap: .3125rem; } .nx-pcard .nx-corner span { height: 1.375rem; padding: 0 .4375rem; border-radius: .375rem; background: rgba(7,8,10,.75); border: 1px solid var(--line); font-family: var(--mono); font-size: .7188rem; display: inline-flex; align-items: center; gap: .3125rem; } .nx-pcard .nx-corner .nx-i { width: .75rem; height: .75rem; }
.nx-pcard .nx-bar { position: absolute; left: 0; right: 0; bottom: 0; height: .1875rem; background: rgba(255,255,255,.14); z-index: 2; } .nx-pcard .nx-bar i { display: block; height: 100%; background: #fff; width: var(--p); }
.nx-pcard .nx-pbody { padding: .75rem .75rem .75rem .875rem; display: grid; grid-template-columns: 1fr auto; gap: .125rem .5rem; } .nx-pcard .nx-ttl { font-size: .9062rem; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; grid-column: 1; }
.nx-pcard .nx-meta { font-size: .7812rem; color: var(--ink-3); grid-column: 1; } .nx-pcard .nx-state-line { font-size: .7812rem; color: var(--ink-2); grid-column: 1; display: flex; align-items: center; gap: .375rem; margin-top: .1875rem; } .nx-pcard .nx-state-line::before { content: ""; width: .375rem; height: .375rem; border-radius: 50%; background: var(--ink-3); flex: none; }
.nx-pcard .nx-state-line.nx-ok { color: var(--ok); } .nx-pcard .nx-state-line.nx-ok::before { background: var(--ok); } .nx-pcard .nx-state-line.nx-work::before { background: var(--info); } .nx-pcard .nx-state-line.nx-warn { color: var(--warn); } .nx-pcard .nx-state-line.nx-warn::before { background: var(--warn); } .nx-pcard .nx-state-line.nx-err { color: var(--err); } .nx-pcard .nx-state-line.nx-err::before { background: var(--err); } .nx-pcard .nx-state-line.nx-dim { color: var(--ink-3); }
.nx-pcard .nx-ib { grid-column: 2; grid-row: 1 / span 3; align-self: start; margin: -.25rem -.25rem 0 0; } .nx-pcard .nx-acts { grid-column: 1 / -1; display: flex; gap: .375rem; margin-top: .5rem; flex-wrap: wrap; }
.nx-pcard .nx-uptext { grid-column: 1 / -1; font-size: .75rem; color: var(--ink-3); margin-top: .25rem; } .nx-pcard.nx-err .nx-pbody .nx-state-line { grid-column: 1 / -1; align-items: flex-start; } .nx-pcard .nx-errmsg { grid-column: 1 / -1; font-size: .7812rem; color: var(--ink-2); line-height: 1.45; margin-top: .125rem; }
.nx-pcard .nx-thumb .nx-nochat { position: absolute; left: .5rem; bottom: .5rem; z-index: 2; height: 1.375rem; padding: 0 .4375rem; border-radius: .375rem; background: rgba(7,8,10,.75); border: 1px solid var(--line); font-size: .6875rem; color: var(--ink-2); display: inline-flex; align-items: center; gap: .25rem; } .nx-pcard .nx-thumb .nx-nochat .nx-i { width: .75rem; height: .75rem; }

/* ---------- project ---------- */
.nx-crumb { display: inline-flex; align-items: center; gap: .375rem; font-size: .8125rem; color: var(--ink-3); margin-bottom: .875rem; } .nx-crumb:hover { color: var(--ink); } .nx-crumb .nx-i { width: .875rem; height: .875rem; }
.nx-phead { display: grid; grid-template-columns: 1fr auto; gap: 1.25rem; align-items: start; margin-bottom: 1.25rem; }
.nx-phead h1 { font-size: 1.6875rem; letter-spacing: -.03em; cursor: text; border-radius: .375rem; margin-left: -.375rem; padding: .125rem .375rem; display: inline-block; } .nx-phead h1:hover { background: rgba(255,255,255,.05); }
.nx-phead .nx-meta { display: flex; align-items: center; gap: .625rem; flex-wrap: wrap; font-size: .8438rem; color: var(--ink-2); margin-top: .375rem; } .nx-phead .nx-meta .nx-sep { color: var(--ink-3); }
.nx-phead .nx-keep { font-size: .7812rem; color: var(--ink-3); margin-top: .375rem; } .nx-phead .nx-acts { display: flex; gap: .5rem; align-items: center; position: relative; flex-wrap: wrap; justify-content: flex-end; }
.nx-srcchip { display: inline-flex; align-items: center; gap: .3125rem; height: 1.5rem; padding: 0 .5rem; border-radius: .4375rem; border: 1px solid var(--line-2); font-size: .75rem; color: var(--ink-2); } .nx-srcchip .nx-i { width: .8125rem; height: .8125rem; } .nx-srcchip.nx-nochat { color: var(--warn); border-color: rgba(255,180,84,.35); } .nx-srcchip.nx-chat { color: var(--ok); border-color: rgba(143,209,139,.35); }
.nx-look { display: grid; grid-template-columns: 1fr 1fr auto; gap: .875rem; align-items: center; margin-bottom: 1.375rem; }
.nx-look .nx-opt { display: flex; align-items: flex-start; gap: .75rem; } .nx-look .nx-opt .nx-tg { margin-top: .125rem; } .nx-look .nx-opt b { display: block; font-size: .875rem; font-weight: 500; } .nx-look .nx-opt span { display: block; font-size: .7812rem; color: var(--ink-3); margin-top: .125rem; } .nx-look .nx-opt .nx-rw { color: var(--ok); font-size: .7812rem; margin-top: .25rem; display: block; }
.nx-look .nx-note { font-size: .7812rem; color: var(--ink-3); max-width: 28ch; text-align: right; }
.nx-pipe { margin-bottom: 1.375rem; } .nx-pipe .nx-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: .625rem; }
.nx-pipe .nx-step { display: flex; align-items: center; gap: .625rem; padding: .625rem .75rem; border-radius: .625rem; border: 1px solid var(--line); background: rgba(255,255,255,.015); font-size: .8125rem; color: var(--ink-3); }
.nx-pipe .nx-step .nx-n { width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--mono); font-size: .6875rem; flex: none; } .nx-pipe .nx-step b { font-weight: 500; display: block; color: inherit; } .nx-pipe .nx-step span { font-size: .7188rem; display: block; }
.nx-pipe .nx-step.nx-done { color: var(--ink-2); } .nx-pipe .nx-step.nx-done .nx-n { background: #fff; color: #0b0c10; border-color: #fff; } .nx-pipe .nx-step.nx-now { color: var(--ink); border-color: var(--line-3); background: rgba(255,255,255,.04); } .nx-pipe .nx-step.nx-now .nx-n { border-color: #fff; }
.nx-pipe .nx-pb { margin-top: .75rem; }
.nx-cgroup { margin-bottom: 1.75rem; } .nx-cgroup .nx-gh { display: flex; align-items: baseline; gap: .75rem; margin-bottom: .75rem; flex-wrap: wrap; } .nx-cgroup .nx-gh h2 { font-size: 1.125rem; } .nx-cgroup .nx-gh .nx-sub { max-width: 80ch; } .nx-cgroup .nx-gh .nx-right { margin-left: auto; }
.nx-cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(12.875rem, 1fr)); gap: 1rem; }
.nx-ccard { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: .625rem; display: flex; flex-direction: column; gap: .5rem; position: relative; } .nx-ccard:hover { border-color: var(--line-2); }
.nx-ccard .nx-cthumb { aspect-ratio: 9/16; border-radius: .625rem; overflow: hidden; position: relative; background: #15171d; cursor: pointer; } .nx-ccard .nx-cthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nx-ccard .nx-cthumb .nx-dur { position: absolute; right: .5rem; bottom: .5rem; height: 1.375rem; padding: 0 .4375rem; border-radius: .375rem; background: rgba(7,8,10,.75); font-family: var(--mono); font-size: .7188rem; display: inline-flex; align-items: center; z-index: 2; }
.nx-ccard .nx-cthumb .nx-cm-mark { position: absolute; right: .5rem; top: .5rem; height: 1.25rem; padding: 0 .375rem; border-radius: .3125rem; background: rgba(7,8,10,.7); display: inline-flex; align-items: center; gap: .25rem; font-size: .625rem; font-weight: 600; letter-spacing: -.02em; z-index: 2; opacity: .85; } .nx-ccard .nx-cthumb .nx-cm-mark svg { width: .9375rem; height: .625rem; }
.nx-ccard .nx-cthumb .nx-cm-ins { position: absolute; left: .5rem; top: 65%; height: 1.375rem; padding: 0 .4375rem 0 .3125rem; border-radius: .375rem; background: rgba(7,8,10,.75); border: 1px solid var(--line); z-index: 2; display: inline-flex; align-items: center; gap: .3125rem; font-family: var(--mono); font-size: .6562rem; color: var(--ink-2); transform: translateY(-50%); } .nx-ccard .nx-cthumb .nx-cm-ins::before { content: ""; width: 1rem; height: .6875rem; background: url(logo.svg) center / contain no-repeat; } .nx-ccard .nx-cthumb .nx-cm-ins::after { content: attr(data-t); }
.nx-ccard.nx-opens { cursor: pointer; }
.nx-ccard .nx-cthumb .nx-ovl { position: absolute; inset: 0; background: rgba(7,8,10,.62); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; z-index: 2; font-size: .7812rem; color: var(--ink-2); text-align: center; padding: .625rem; } .nx-ccard .nx-cthumb .nx-ovl b { font-family: var(--mono); font-size: 1.25rem; color: var(--ink); font-weight: 500; } .nx-ccard .nx-cthumb .nx-ovl .nx-pb { width: 70%; }
.nx-ccard .nx-ctitle { font-size: .8438rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.1875rem; }
.nx-ccard .nx-why { display: flex; align-items: flex-start; gap: .5rem; font-size: .75rem; color: var(--ink-3); line-height: 1.4; } .nx-score { display: inline-flex; align-items: center; gap: .25rem; height: 1.25rem; padding: 0 .4375rem; border-radius: .375rem; background: rgba(255,255,255,.07); font-family: var(--mono); font-size: .7188rem; color: var(--ink); flex: none; } .nx-score i { font-style: normal; color: var(--ink-3); }
.nx-ccard .nx-cstat { font-size: .7812rem; display: flex; align-items: center; gap: .375rem; } .nx-ccard .nx-cstat .nx-i { width: .8125rem; height: .8125rem; }
.nx-ccard .nx-cbtns { display: flex; gap: .375rem; margin-top: .125rem; } .nx-ccard .nx-cbtns .nx-btn:first-child { flex: 1; }
.nx-ccard .nx-lng { font-size: .6875rem; color: var(--warn); }
.nx-skel { aspect-ratio: 9/16; border-radius: .625rem; background: linear-gradient(100deg, rgba(255,255,255,.04) 30%, rgba(255,255,255,.08) 50%, rgba(255,255,255,.04) 70%); background-size: 200% 100%; animation: nx-sk 1.6s infinite; } @keyframes nx-sk { to { background-position: -200% 0 } }
.nx-skelrow { display: grid; grid-template-columns: repeat(auto-fill, minmax(12.875rem, 1fr)); gap: 1rem; } .nx-skelrow .nx-ccard { gap: .5rem; } .nx-skelrow .nx-ln { height: .75rem; border-radius: .25rem; background: rgba(255,255,255,.06); } .nx-skelrow .nx-ln.nx-s { width: 60%; }
/* While the first data is on its way (videos.js, project.js): the library's tiles and the project's head as shimmering shapes, not a spinner. */
.nx-skelcard { pointer-events: none; } .nx-skelcard .nx-thumb, .nx-skelhead .nx-ln { background: linear-gradient(100deg, rgba(255,255,255,.04) 30%, rgba(255,255,255,.08) 50%, rgba(255,255,255,.04) 70%); background-size: 200% 100%; animation: nx-sk 1.6s infinite; } .nx-skelcard .nx-thumb::after { content: none; }
.nx-skelcard .nx-ln, .nx-skelhead .nx-ln { height: .75rem; margin-top: .5rem; border-radius: .25rem; background-color: rgba(255,255,255,.06); } .nx-skelcard .nx-ln.nx-s { width: 60%; } .nx-skelhead { margin-bottom: 1.5rem; } .nx-skelhead .nx-ln { height: 1.75rem; width: min(26rem, 70%); } .nx-skelhead .nx-ln.nx-s { height: .875rem; width: min(16rem, 45%); }
/* transcript */
.nx-tr-lay { display: grid; grid-template-columns: 23.75rem 1fr; gap: 1.25rem; align-items: start; }
.nx-tr-lay .nx-side { position: sticky; top: calc(var(--hd) + 1rem); display: flex; flex-direction: column; gap: .75rem; }
.nx-player { aspect-ratio: 16/9; border-radius: .75rem; overflow: hidden; background: #000; position: relative; } .nx-player img { width: 100%; height: 100%; object-fit: cover; opacity: .9; } .nx-player .nx-ctl { position: absolute; left: 0; right: 0; bottom: 0; padding: .625rem .75rem; display: flex; align-items: center; gap: .625rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); font-family: var(--mono); font-size: .7188rem; } .nx-player .nx-ctl .nx-pb { flex: 1; } .nx-player .nx-ctl .nx-ib { width: 1.625rem; height: 1.625rem; }
.nx-rail { height: 2.25rem; border-radius: .5rem; background: rgba(255,255,255,.05); border: 1px solid var(--line); position: relative; } .nx-rail i { position: absolute; top: .3125rem; bottom: .3125rem; border-radius: .25rem; background: rgba(255,255,255,.22); border: 1px solid var(--line-3); cursor: pointer; } .nx-rail i:hover { background: rgba(255,255,255,.4); } .nx-rail .nx-ph-l { position: absolute; top: 0; bottom: 0; width: .125rem; background: #fff; }
.nx-tr-tools { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; } .nx-tr-tools .nx-search { position: relative; flex: 1; min-width: 11.25rem; } .nx-tr-tools .nx-search .nx-in { height: 2.125rem; padding-left: 2rem; font-size: .8125rem; } .nx-tr-tools .nx-search .nx-i { position: absolute; left: .625rem; top: .5625rem; color: var(--ink-3); } .nx-tr-tools .nx-found { font-size: .7812rem; color: var(--ink-3); font-family: var(--mono); }
.nx-phr { display: grid; grid-template-columns: 3.25rem 1fr; gap: 0 .75rem; padding: .5rem .625rem; border-radius: .5625rem; cursor: pointer; align-items: start; } .nx-phr:hover { background: rgba(255,255,255,.03); } .nx-phr.nx-cur { background: rgba(255,255,255,.05); } .nx-phr.nx-sel { background: rgba(159,197,255,.12); outline: 1px solid rgba(159,197,255,.35); }
.nx-phr .nx-t { font-family: var(--mono); font-size: .7188rem; color: var(--ink-3); padding-top: .1875rem; } .nx-phr .nx-sp { font-size: .7188rem; color: var(--ink-3); margin-bottom: .125rem; font-weight: 500; } .nx-phr .nx-sp.nx-s1 { color: #c9b6ff; } .nx-phr .nx-sp.nx-s2 { color: #9fd8c0; } .nx-phr .nx-tx { font-size: .9375rem; line-height: 1.55; color: var(--ink); outline: 0; } .nx-phr .nx-tx mark { background: rgba(255,180,84,.35); color: inherit; border-radius: .125rem; }
.nx-cliplab { display: flex; align-items: center; gap: .5rem; padding: .625rem .625rem .25rem; font-size: .75rem; color: var(--ink-3); } .nx-cliplab b { color: var(--ink-2); font-weight: 500; } .nx-cliplab a { color: var(--info); } .nx-cliplab::before { content: ""; width: .625rem; height: .625rem; border-radius: .1875rem; border: 1px solid var(--ink-3); }
.nx-phr.nx-inclip { border-left: .125rem solid rgba(255,255,255,.25); border-radius: 0 .5625rem .5625rem 0; }
.nx-selbar { position: sticky; bottom: 1rem; margin-top: 1rem; display: flex; align-items: center; gap: .75rem; padding: .625rem .625rem .625rem 1rem; background: var(--bg-4); border: 1px solid var(--line-2); border-radius: .75rem; box-shadow: 0 1rem 2.5rem rgba(0,0,0,.5); } .nx-selbar b { font-weight: 500; } .nx-selbar .nx-btn { margin-left: auto; }

/* ---------- plans ---------- */
.nx-mine { display: grid; grid-template-columns: 1fr auto; gap: 1.125rem; align-items: center; margin-bottom: 1.25rem; }
.nx-mine .nx-big { font-size: 1.625rem; font-weight: 600; letter-spacing: -.03em; } .nx-mine .nx-r { text-align: right; } .nx-mine .nx-r .nx-big { font-family: var(--mono); font-weight: 500; font-size: 1.5rem; }
.nx-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: .875rem; margin-bottom: .875rem; }
.nx-plan { background: var(--bg-2); border: 1px solid var(--line); border-radius: 1rem; padding: 1.375rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .875rem; position: relative; }
.nx-plan.nx-cur { border-color: var(--line-3); } .nx-plan.nx-pop { border-color: rgba(255,255,255,.45); box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 1.25rem 3.75rem rgba(0,0,0,.35); }
.nx-plan .nx-tag { position: absolute; top: -.6875rem; left: 1.25rem; height: 1.375rem; padding: 0 .5625rem; border-radius: .375rem; background: #fff; color: #0b0c10; font-size: .7188rem; font-weight: 600; display: inline-flex; align-items: center; } .nx-plan .nx-tag.nx-cur { background: var(--bg-4); color: var(--ink); border: 1px solid var(--line-3); }
.nx-plan h3 { font-size: 1.1875rem; } .nx-plan .nx-price { display: flex; align-items: baseline; gap: .375rem; flex-wrap: wrap; } .nx-plan .nx-price b { font-size: 2rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; } .nx-plan .nx-price span { color: var(--ink-3); font-size: .8125rem; } .nx-plan .nx-price s { color: var(--ink-3); font-size: 1rem; font-weight: 500; }
.nx-plan .nx-yr { font-size: .7812rem; color: var(--ink-3); margin-top: -.5rem; } .nx-plan .nx-yr b { color: var(--ok); font-weight: 500; }
.nx-plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; font-size: .8438rem; color: var(--ink-2); } .nx-plan li { display: flex; gap: .5625rem; align-items: flex-start; line-height: 1.35; } .nx-plan li .nx-i { width: .875rem; height: .875rem; margin-top: .1875rem; color: var(--ink-3); } .nx-plan li b { color: var(--ink); font-weight: 600; } .nx-plan li.nx-dim { color: var(--ink-3); }
.nx-plan .nx-btn { margin-top: auto; } .nx-plan .nx-note { font-size: .75rem; color: var(--ink-3); margin-top: auto; line-height: 1.45; }
.nx-offer-note { text-align: center; font-size: .7812rem; color: var(--ink-3); margin-bottom: 1.75rem; } .nx-offer-note a { color: var(--ink-2); text-decoration: underline; text-underline-offset: .125rem; }
.nx-extras { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .875rem; }
.nx-extras .nx-card h2 { font-size: 1.125rem; } .nx-extras .nx-price { display: flex; align-items: baseline; gap: .375rem; margin: .625rem 0 .75rem; } .nx-extras .nx-price b { font-size: 1.625rem; font-weight: 600; letter-spacing: -.03em; } .nx-extras .nx-price span { font-size: .7812rem; color: var(--ink-3); }
.nx-extras ul { list-style: none; margin: 0 0 .875rem; padding: 0; display: flex; flex-direction: column; gap: .375rem; font-size: .8125rem; color: var(--ink-2); } .nx-extras li { display: flex; gap: .5rem; align-items: flex-start; } .nx-extras li .nx-i { width: .875rem; height: .875rem; margin-top: .125rem; color: var(--ink-3); }
.nx-cr-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: .75rem 0 .875rem; } .nx-cr-opt { border: 1px solid var(--line-2); border-radius: .625rem; padding: .625rem .5rem; text-align: center; cursor: pointer; } .nx-cr-opt.nx-on { border-color: #fff; background: rgba(255,255,255,.04); } .nx-cr-opt b { display: block; font-size: .9375rem; letter-spacing: -.02em; } .nx-cr-opt span { display: block; font-size: .7188rem; color: var(--ink-3); margin-top: .125rem; } .nx-cr-opt em { display: block; font-style: normal; font-size: .7812rem; margin-top: .375rem; color: var(--ink-2); }
.nx-cr-rate { display: flex; gap: .375rem; flex-wrap: wrap; margin-top: .5rem; } .nx-cr-rate span { font-family: var(--mono); font-size: .7188rem; padding: .1875rem .4375rem; border-radius: .375rem; border: 1px solid var(--line-2); color: var(--ink-2); }
/* result page */
.nx-result { max-width: 35rem; margin: 0 auto; } .nx-result .nx-card { padding: 1.75rem; } .nx-result .nx-ico { width: 3.5rem; height: 3.5rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); margin-bottom: 1rem; } .nx-result .nx-ico.nx-ok { color: var(--ok); border-color: rgba(143,209,139,.4); } .nx-result .nx-ico.nx-err { color: var(--err); border-color: rgba(255,107,127,.4); } .nx-result .nx-ico.nx-warn { color: var(--warn); border-color: rgba(255,180,84,.4); } .nx-result .nx-ico .nx-i { width: 1.625rem; height: 1.625rem; }
.nx-result h1 { font-size: 1.625rem; margin-bottom: .5rem; } .nx-result .nx-text { color: var(--ink-2); font-size: .9062rem; line-height: 1.55; } .nx-result .nx-rows { margin: 1.125rem 0; } .nx-result .nx-acts { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ---------- account ---------- */
.nx-acc { display: grid; grid-template-columns: 13.75rem 1fr; gap: 1.75rem; align-items: start; }
.nx-acc .nx-anav { position: sticky; top: calc(var(--hd) + 1.5rem); display: flex; flex-direction: column; gap: .125rem; } .nx-acc .nx-anav a { height: 2.125rem; display: flex; align-items: center; gap: .5625rem; padding: 0 .625rem; border-radius: .5rem; font-size: .8438rem; color: var(--ink-2); } .nx-acc .nx-anav a:hover { color: var(--ink); background: rgba(255,255,255,.04); } .nx-acc .nx-anav a.nx-on { color: var(--ink); background: rgba(255,255,255,.07); } .nx-acc .nx-anav a.nx-danger { color: var(--err); margin-top: .625rem; } .nx-acc .nx-anav .nx-i { width: .9375rem; height: .9375rem; color: var(--ink-3); }
.nx-acc > *, .nx-adm > *, .nx-legal > * { min-width: 0; } .nx-acc .nx-secs { display: flex; flex-direction: column; gap: 1.125rem; min-width: 0; } .nx-sec { scroll-margin-top: calc(var(--hd) + 1rem); } .nx-sec .nx-hdr { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .875rem; flex-wrap: wrap; } .nx-sec .nx-hdr h2 { font-size: 1.125rem; } .nx-sec .nx-hdr .nx-sub { margin-top: .125rem; }
.nx-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; } .nx-sec .nx-fld { max-width: 26.25rem; }
.nx-mins .nx-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: .5rem; } .nx-mins .nx-top b { font-family: var(--mono); font-size: 1.625rem; font-weight: 500; letter-spacing: -.02em; } .nx-mins .nx-src { display: flex; flex-direction: column; gap: .5rem; margin-top: .875rem; }
.nx-mins .nx-src > div { display: grid; grid-template-columns: .625rem 1fr auto; gap: .25rem .625rem; align-items: baseline; font-size: .8438rem; } .nx-mins .nx-src i { width: .5rem; height: .5rem; border-radius: 50%; background: #fff; display: block; position: relative; top: 0; } .nx-mins .nx-src i.nx-pack { background: var(--info); } .nx-mins .nx-src i.nx-bonus { background: var(--sage); } .nx-mins .nx-src .nx-n { font-family: var(--mono); font-size: .8125rem; } .nx-mins .nx-src span.nx-sub { grid-column: 2 / -1; }
.nx-facts { list-style: none; margin: .875rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .375rem; font-size: .8125rem; color: var(--ink-2); } .nx-facts li { display: flex; gap: .5rem; } .nx-facts li::before { content: "·"; color: var(--ink-3); }
.nx-lines { display: flex; flex-direction: column; } .nx-lines > div { display: flex; align-items: center; gap: .75rem; padding: .6875rem 0; border-bottom: 1px solid var(--line); font-size: .8438rem; } .nx-lines > div:last-child { border-bottom: 0; } .nx-lines .nx-pi { width: 2.125rem; height: 2.125rem; border-radius: .5625rem; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid var(--line); flex: none; } .nx-lines .nx-grow { flex: 1; min-width: 0; } .nx-lines .nx-grow b { font-weight: 500; display: block; } .nx-lines .nx-grow span { font-size: .7812rem; color: var(--ink-3); display: block; }
.nx-socs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; } .nx-soc { border: 1px solid var(--line-2); border-radius: .75rem; padding: .875rem; display: flex; flex-direction: column; gap: .625rem; min-height: 8.75rem; } .nx-soc .nx-top { display: flex; align-items: center; gap: .625rem; } .nx-soc .nx-pi { width: 2.25rem; height: 2.25rem; border-radius: .625rem; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--line); } .nx-soc .nx-pi .nx-i { width: 1.125rem; height: 1.125rem; } .nx-soc .nx-top b { font-size: .9062rem; } .nx-soc .nx-who { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; } .nx-soc .nx-who .nx-av { width: 1.5rem; height: 1.5rem; border-radius: 50%; background: linear-gradient(140deg, #3a4150, #1d2029); flex: none; } .nx-soc .nx-who span { color: var(--ink-3); font-size: .75rem; } .nx-soc .nx-btn { margin-top: auto; align-self: flex-start; } .nx-soc.nx-exp { border-color: rgba(255,180,84,.4); } .nx-soc.nx-none { border-style: dashed; }
.nx-soc-more { margin-top: .75rem; } .nx-soc-more .nx-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: .625rem; } .nx-soc-more .nx-list > div { display: flex; align-items: center; gap: .625rem; padding: .5625rem .625rem; border: 1px solid var(--line); border-radius: .625rem; font-size: .8125rem; } .nx-soc-more .nx-pi { width: 1.75rem; height: 1.75rem; border-radius: .5rem; display: grid; place-items: center; background: rgba(255,255,255,.05); flex: none; } .nx-soc-more .nx-pi .nx-i { width: .9375rem; height: .9375rem; } .nx-soc-more .nx-list b { font-weight: 500; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .nx-soc-more .nx-list b small { display: block; color: var(--ink-3); font-weight: 400; font-size: .7188rem; } .nx-soc-more .nx-list .nx-btn { margin-left: auto; }
.nx-locked { border: 1px dashed var(--line-2); border-radius: .75rem; padding: 1.5rem; text-align: center; color: var(--ink-2); display: flex; flex-direction: column; align-items: center; gap: .625rem; }
.nx-tpl { display: grid; grid-template-columns: 9.375rem 1fr; gap: 1.125rem; align-items: start; } .nx-tpl .nx-prev { aspect-ratio: 9/16; border-radius: .75rem; overflow: hidden; position: relative; background: #000; } .nx-tpl .nx-prev img { width: 100%; height: 100%; object-fit: cover; opacity: .85; } .nx-tpl .nx-prev .nx-cap { position: absolute; left: .625rem; right: .625rem; bottom: 22%; text-align: center; font-weight: 800; font-size: .8125rem; line-height: 1.2; text-shadow: 0 .125rem .375rem rgba(0,0,0,.8); } .nx-tpl .nx-prev .nx-cap em { font-style: normal; background: #fff; color: #000; padding: 0 .1875rem; border-radius: .1875rem; } .nx-tpl .nx-prev .nx-lg { position: absolute; right: .5rem; bottom: .5rem; width: 1.75rem; height: 1.75rem; border-radius: .4375rem; background: rgba(255,255,255,.9); display: grid; place-items: center; color: #000; font-size: .5rem; font-weight: 700; }
.nx-names { display: flex; flex-direction: column; gap: .5rem; } .nx-names .nx-nrow { display: grid; grid-template-columns: 1fr 1.4fr 1fr auto; gap: .5rem; align-items: center; } .nx-names .nx-nrow .nx-in { height: 2.25rem; font-size: .8125rem; } .nx-names .nx-nh { display: grid; grid-template-columns: 1fr 1.4fr 1fr 2rem; gap: .5rem; font-size: .75rem; color: var(--ink-3); }
.nx-tbl { width: 100%; border-collapse: collapse; font-size: .8125rem; } .nx-tbl th { text-align: left; font-family: var(--mono); font-size: .6562rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; padding: .5rem .625rem; border-bottom: 1px solid var(--line-2); white-space: nowrap; } .nx-tbl td { padding: .6875rem .625rem; border-bottom: 1px solid var(--line); vertical-align: top; } .nx-tbl tr:last-child td { border-bottom: 0; } .nx-tbl td.nx-r, .nx-tbl th.nx-r { text-align: right; } .nx-tbl td .nx-sub { margin-top: .125rem; } .nx-tbl td b { font-weight: 500; } .nx-tbl tr.nx-dim td { opacity: .5; } .nx-tbl td .nx-mono { font-size: .7812rem; } .nx-tbl tr.nx-click { cursor: pointer; } .nx-tbl tr.nx-click:hover td { background: rgba(255,255,255,.025); }
.nx-tbl .nx-acts { display: flex; gap: .375rem; justify-content: flex-end; white-space: nowrap; }
.nx-pager { display: flex; align-items: center; gap: .5rem; justify-content: flex-end; margin-top: .75rem; font-size: .7812rem; color: var(--ink-3); } .nx-pager .nx-mono { margin-right: .375rem; }
.nx-tok { display: flex; align-items: center; gap: .5rem; padding: .625rem .75rem; border: 1px solid rgba(143,209,139,.4); border-radius: .625rem; background: rgba(143,209,139,.06); font-family: var(--mono); font-size: .7812rem; word-break: break-all; }

/* ---------- legal ---------- */
.nx-legal { display: grid; grid-template-columns: 15.625rem 1fr; gap: 2.5rem; align-items: start; }
.nx-legal .nx-toc { position: sticky; top: calc(4.25rem + 1.5rem); max-height: calc(100vh - 6.875rem); overflow: auto; display: flex; flex-direction: column; gap: .125rem; padding-right: .625rem; } .nx-legal .nx-toc .nx-caps { margin-bottom: .5rem; } .nx-legal .nx-toc .nx-list { display: flex; flex-direction: column; gap: .125rem; } .nx-legal .nx-toc a { font-size: .7812rem; color: var(--ink-3); padding: .3125rem .5rem; border-radius: .375rem; line-height: 1.35; } .nx-legal .nx-toc a:hover { color: var(--ink); background: rgba(255,255,255,.04); } .nx-legal .nx-toc a.nx-on { color: var(--ink); background: rgba(255,255,255,.06); }
.nx-legal .nx-toc .nx-docs { border-top: 1px solid var(--line); margin-top: .75rem; padding-top: .75rem; display: flex; flex-direction: column; gap: .125rem; } .nx-legal .nx-toc .nx-docs a { color: var(--ink-2); font-size: .8125rem; } .nx-legal .nx-toc .nx-docs a.nx-on { color: var(--ink); }
.nx-doc { max-width: 47.5rem; min-width: 0; } .nx-doc h1 { font-size: 2rem; letter-spacing: -.035em; margin-bottom: .625rem; line-height: 1.1; } .nx-doc .nx-ed { font-size: .7812rem; color: var(--ink-3); line-height: 1.6; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); margin-bottom: .5rem; } .nx-doc .nx-ed b { color: var(--ink-2); font-weight: 500; } .nx-doc .nx-ed a { color: var(--ink-2); text-decoration: underline; }
.nx-doc h2 { font-size: 1.25rem; margin: 2.25rem 0 .875rem; letter-spacing: -.02em; scroll-margin-top: 5.625rem; } .nx-doc h3 { font-size: 1rem; margin: 1.375rem 0 .5rem; } .nx-doc p { font-size: .9375rem; line-height: 1.65; color: var(--ink-2); margin: 0 0 .75rem; } .nx-doc p.nx-cl { padding-left: 2.875rem; position: relative; } .nx-doc p.nx-cl .nx-num { position: absolute; left: 0; top: .125rem; font-family: var(--mono); font-size: .75rem; color: var(--ink-3); }
.nx-doc ul, .nx-doc ol { margin: 0 0 .875rem; padding-left: 4.125rem; color: var(--ink-2); font-size: .9375rem; line-height: 1.6; display: flex; flex-direction: column; gap: .3125rem; } .nx-doc ul ul, .nx-doc ol ol, .nx-doc ul ol, .nx-doc ol ul { margin: .375rem 0 0; padding-left: 1.25rem; } .nx-doc > ul, .nx-doc > ol { padding-left: 4.125rem; } .nx-doc h2 + ul, .nx-doc h2 + ol, .nx-doc p:not(.nx-cl) + ul, .nx-doc p:not(.nx-cl) + ol { padding-left: 1.375rem; }
.nx-doc b { color: var(--ink); font-weight: 600; } .nx-doc a { color: var(--ink); text-decoration: underline; text-underline-offset: .1875rem; text-decoration-color: var(--line-3); } .nx-doc a:hover { text-decoration-color: var(--ink); } .nx-doc code { font-family: var(--mono); font-size: .8125rem; background: rgba(255,255,255,.06); padding: 1px .3125rem; border-radius: .25rem; }
.nx-doc table { width: 100%; border-collapse: collapse; font-size: .875rem; margin: .5rem 0 1.125rem; } .nx-doc th, .nx-doc td { text-align: left; padding: .5625rem .75rem; border: 1px solid var(--line); vertical-align: top; color: var(--ink-2); line-height: 1.5; } .nx-doc th { color: var(--ink); background: rgba(255,255,255,.03); font-weight: 500; } .nx-doc td:first-child { color: var(--ink); white-space: nowrap; } .nx-doc hr { border: 0; border-top: 1px solid var(--line); margin: 1.75rem 0; }
.nx-doc .nx-end { margin-top: 2.5rem; padding-top: 1.125rem; border-top: 1px solid var(--line); display: flex; gap: .875rem; flex-wrap: wrap; font-size: .8125rem; color: var(--ink-3); } .nx-doc .nx-end a { color: var(--ink-2); text-decoration: none; }
.nx-faq-l { max-width: 47.5rem; } .nx-faq-l details { border-bottom: 1px solid var(--line); } .nx-faq-l summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.125rem 0; font-size: 1.0625rem; font-weight: 500; letter-spacing: -.01em; } .nx-faq-l summary::-webkit-details-marker { display: none; } .nx-faq-l summary .nx-i { color: var(--ink-3); transition: transform .2s; width: 1.125rem; height: 1.125rem; } .nx-faq-l details[open] summary .nx-i { transform: rotate(45deg); } .nx-faq-l details p { font-size: .9375rem; line-height: 1.65; color: var(--ink-2); padding: 0 0 1.25rem; max-width: 68ch; }
.nx-faq-l .nx-more { margin-top: 1.75rem; font-size: .875rem; color: var(--ink-3); } .nx-faq-l .nx-more a { color: var(--ink); text-decoration: underline; }
.nx-chl { max-width: 45rem; display: flex; flex-direction: column; } .nx-chl .nx-e { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 1.125rem 0; border-bottom: 1px solid var(--line); } .nx-chl .nx-e time { font-family: var(--mono); font-size: .7812rem; color: var(--ink-3); padding-top: .1875rem; } .nx-chl .nx-e b { display: block; font-size: 1rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: .25rem; } .nx-chl .nx-e p { font-size: .9062rem; line-height: 1.55; color: var(--ink-2); }
.nx-pub-h { padding: 3rem 0 1.75rem; } .nx-pub-h h1 { font-size: 2.5rem; letter-spacing: -.04em; } .nx-pub-h .nx-lead { font-size: 1rem; color: var(--ink-2); margin-top: .625rem; }

/* ---------- admin ---------- */
.nx-adm { display: grid; grid-template-columns: 11.875rem 1fr; gap: 1.75rem; align-items: start; }
.nx-adm .nx-anav { position: sticky; top: calc(var(--hd) + 1.5rem); display: flex; flex-direction: column; gap: .125rem; } .nx-adm .nx-anav a { height: 2.125rem; display: flex; align-items: center; gap: .5625rem; padding: 0 .625rem; border-radius: .5rem; font-size: .8438rem; color: var(--ink-2); } .nx-adm .nx-anav a:hover { color: var(--ink); background: rgba(255,255,255,.04); } .nx-adm .nx-anav a.nx-on { color: var(--ink); background: rgba(255,255,255,.07); } .nx-adm .nx-anav a i { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: .6875rem; color: var(--ink-3); }
.nx-adm .nx-body { min-width: 0; display: flex; flex-direction: column; gap: 1.125rem; }
.nx-adm .nx-fbar { display: flex; gap: .5rem; flex-wrap: wrap; align-items: end; } .nx-adm .nx-fbar .nx-fld { flex: 1; min-width: 9.375rem; } .nx-adm .nx-fbar .nx-fld.nx-grow { flex: 2; min-width: 13.75rem; } .nx-adm .nx-fbar .nx-in { height: 2.25rem; font-size: .8125rem; }
.nx-adm .nx-totals { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; } .nx-adm .nx-state-line { border: 1px solid var(--line); border-radius: .75rem; padding: .875rem 1rem; background: var(--bg-2); } .nx-adm .nx-state-line .nx-caps { margin-bottom: .375rem; } .nx-adm .nx-state-line b { font-family: var(--mono); font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; display: block; } .nx-adm .nx-state-line span { font-size: .75rem; color: var(--ink-3); }
.nx-adm .nx-tbl td { font-size: .8125rem; } .nx-adm .nx-tbl th { padding: .5rem .625rem; }
.nx-adm .nx-card h2 { font-size: 1rem; margin-bottom: .625rem; } .nx-adm .nx-card .nx-lead { margin-bottom: .75rem; }
.nx-jrow { display: grid; grid-template-columns: 9.375rem 1fr; gap: .25rem 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: .8125rem; } .nx-jrow:last-child { border-bottom: 0; } .nx-jrow .nx-when { font-family: var(--mono); font-size: .75rem; color: var(--ink-3); } .nx-jrow .nx-who b { font-weight: 500; } .nx-jrow .nx-who span { color: var(--ink-3); } .nx-jrow .nx-diff { grid-column: 2; display: flex; flex-wrap: wrap; gap: .375rem; } .nx-jrow .nx-diff span { font-family: var(--mono); font-size: .7188rem; padding: .125rem .4375rem; border-radius: .3125rem; background: rgba(255,255,255,.05); color: var(--ink-2); } .nx-jrow .nx-diff span b { color: var(--ink); font-weight: 500; }
.nx-inv-ready { border: 1px solid rgba(143,209,139,.4); background: rgba(143,209,139,.05); border-radius: .75rem; padding: 1rem; display: flex; flex-direction: column; gap: .625rem; }
.nx-lims { display: grid; grid-template-columns: repeat(2, 1fr); gap: .625rem; } .nx-lims .nx-fld .nx-in { height: 2.125rem; font-size: .8125rem; }
.nx-ledger > div { display: grid; grid-template-columns: 1fr auto; gap: .125rem .75rem; padding: .5625rem 0; border-bottom: 1px solid var(--line); font-size: .8125rem; } .nx-ledger > div:last-child { border-bottom: 0; } .nx-ledger .nx-n { font-family: var(--mono); text-align: right; } .nx-ledger .nx-n.nx-plus { color: var(--ok); } .nx-ledger span.nx-sub { grid-column: 1 / -1; }

.nx-users-scroll, .nx-payments-scroll { overflow-x: auto; }
.nx-users-scroll .nx-user-identity { max-width: 17rem; overflow-wrap: anywhere; }
.nx-payments-scroll td:nth-child(3) { overflow-wrap: anywhere; }

@media (min-width: 721px) and (max-width: 1200px) {
  .nx-adm :is(.nx-users-scroll, .nx-payments-scroll) :is(th, td) { padding-inline: .25rem; }
  .nx-adm :is(.nx-users-scroll, .nx-payments-scroll) th { white-space: normal; }
  .nx-users-scroll td:first-child { min-width: 5.75rem; }
  .nx-users-scroll td:nth-child(2) { min-width: 8rem; }
}

/* ---------- mobile ---------- */
@media (max-width: 1100px) { .nx-plans { grid-template-columns: repeat(2, 1fr); } .nx-extras { grid-template-columns: 1fr 1fr; } .nx-adm .nx-totals { grid-template-columns: repeat(2, 1fr); } .nx-socs { grid-template-columns: 1fr 1fr; } .nx-soc-more .nx-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1200px) {
  .nx-shell:has(.nx-adm) .nx-hd { height: auto; min-height: var(--hd); }
  .nx-shell:has(.nx-adm) .nx-hd-in { height: auto; min-height: var(--hd); flex-wrap: wrap; }
  .nx-shell:has(.nx-adm) .nx-hd .nx-r { flex-wrap: wrap; min-width: 0; max-width: 100%; }
}
@media (max-width: 900px) { .nx-tr-lay { grid-template-columns: 1fr; } .nx-tr-lay .nx-side { position: static; } .nx-acc, .nx-adm, .nx-legal { grid-template-columns: 1fr; gap: 1rem; } .nx-acc .nx-anav, .nx-adm .nx-anav { position: static; flex-direction: row; overflow: auto; gap: .25rem; padding-bottom: .25rem; } .nx-acc .nx-anav a, .nx-adm .nx-anav a { white-space: nowrap; border: 1px solid var(--line); flex: none; } .nx-acc .nx-anav a.nx-danger { margin-top: 0; } .nx-legal .nx-toc { position: static; max-height: none; padding: 0; } .nx-legal .nx-toc .nx-list { display: none; } .nx-legal .nx-toc.nx-open .nx-list { display: flex; flex-direction: column; } .nx-ftp .nx-cols { grid-template-columns: 1fr 1fr; } .nx-look { grid-template-columns: 1fr; } .nx-look .nx-note { text-align: left; max-width: none; } }
@media (max-width: 900px) {
  .nx-adm .nx-anav { flex-wrap: wrap; overflow: visible; }
}
@media (min-width: 721px) and (max-width: 900px) {
  .nx-adm .nx-card:has(> .nx-users-scroll) { padding-inline: .3125rem; }
}
@media (max-width: 720px) {
  .nx { --gut: 1rem; --hd: 3.375rem; }
  .nx-wrap { padding: 1.25rem var(--gut) 3.5rem; }
  .nx-hd nav, .nx-hd .nx-lang, .nx-hd .nx-plan-chip, .nx-pub-hd nav, .nx-pub-hd .nx-login, .nx-pub-hd .nx-lang { display: none; } .nx-burger { display: inline-grid; } .nx-hd .nx-r { gap: .375rem; } .nx-meter { padding: 0 .5625rem 0 .4375rem; height: 2rem; } .nx-meter .nx-u { display: none; } .nx-upl-ind span { display: none; } .nx-pub-hd .nx-try { height: 2rem; padding: 0 .6875rem; font-size: .8125rem; }
  .nx-mnav { display: block; position: fixed; inset: var(--hd) 0 0 0; background: var(--bg); z-index: 45; padding: .875rem 1rem; } .nx-mnav a, .nx-mnav button { display: flex; align-items: center; gap: .625rem; width: 100%; height: 2.75rem; padding: 0 .625rem; border-radius: .625rem; font-size: 1rem; color: var(--ink-2); border-bottom: 1px solid var(--line); border-radius: 0; } .nx-mnav a.nx-on { color: var(--ink); } .nx-mnav .nx-sep { height: .75rem; } .nx-mnav .nx-langs { display: flex; gap: .5rem; padding: .875rem 0; }
  .nx-page-h h1 { font-size: 1.5rem; } .nx-upl-ind i { width: 1.75rem; } .nx-upl-ind { padding: 0 .5625rem; } .nx-doc table { display: block; overflow: auto; } .nx-doc td:first-child { white-space: normal; } .nx-intake { grid-template-columns: 1fr; gap: .625rem; } .nx-drop { padding: 1rem; min-height: 0; gap: .75rem; } .nx-drop .nx-btn { display: none; } .nx-linkbox { padding: 1rem; min-height: 0; } .nx-linkbox .nx-plat { flex-wrap: wrap; gap: .625rem; }
  .nx-notice { grid-template-columns: 1fr; padding: 1rem; } .nx-notice .nx-offers { grid-template-columns: 1fr; } .nx-filters .nx-search { width: 100%; margin-left: 0; } .nx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem; } .nx-pcard .nx-pbody { padding: .625rem; } .nx-pcard .nx-ttl { font-size: .8125rem; } .nx-pcard .nx-meta, .nx-pcard .nx-state-line { font-size: .7188rem; }
  .nx-phead { grid-template-columns: 1fr; gap: .75rem; } .nx-phead h1 { font-size: 1.375rem; } .nx-phead .nx-acts { justify-content: flex-start; } .nx-pipe .nx-steps { grid-template-columns: 1fr 1fr; } .nx-cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem; } .nx-ccard { padding: .5rem; } .nx-ccard .nx-cbtns .nx-btn { padding: 0 .5rem; } .nx-skelrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-mine { grid-template-columns: 1fr; } .nx-mine .nx-r { text-align: left; } .nx-plans { grid-template-columns: 1fr; } .nx-extras { grid-template-columns: 1fr; } .nx-two { grid-template-columns: 1fr; } .nx-socs { grid-template-columns: 1fr; } .nx-soc-more .nx-list { grid-template-columns: 1fr; } .nx-names .nx-nrow, .nx-names .nx-nh { grid-template-columns: 1fr; } .nx-names .nx-nh { display: none; } .nx-names .nx-nrow { padding: .625rem; border: 1px solid var(--line); border-radius: .625rem; } .nx-lims { grid-template-columns: 1fr; } .nx-tpl { grid-template-columns: 6.875rem minmax(0, 1fr); } .nx-tpl .nx-kv { grid-template-columns: 5.625rem 1fr; }
  .nx-ov { padding: 0; align-items: end; } .nx-dlg { max-width: none; border-radius: 1.125rem 1.125rem 0 0; border-bottom: 0; padding: 1.25rem 1rem 1.5rem; } .nx-dlg.nx-player { border-radius: 1.125rem 1.125rem 0 0; } .nx-dlg .nx-acts .nx-btn { flex: 1; } .nx-drawer { width: 100%; padding: 1.125rem 1rem 2.5rem; }
  .nx-tbl.nx-cards thead { display: none; } .nx-tbl.nx-cards tr { display: block; border: 1px solid var(--line); border-radius: .625rem; padding: .5rem .75rem; margin-bottom: .5rem; } .nx-tbl.nx-cards td { display: flex; justify-content: space-between; gap: .75rem; padding: .3125rem 0; border-bottom: 0; text-align: right; } .nx-tbl.nx-cards td::before { content: attr(data-l); color: var(--ink-3); font-family: var(--mono); font-size: .6562rem; letter-spacing: .08em; text-transform: uppercase; text-align: left; flex: none; padding-top: .125rem; } .nx-tbl.nx-cards td.nx-acts { justify-content: flex-end; } .nx-tbl.nx-cards td.nx-acts::before { display: none; }
  :is(.nx-users-scroll, .nx-payments-scroll) :is(.nx-tbl, tbody) { display: block; }
  .nx-users-scroll .nx-user-identity { min-width: 0; }
  .nx-users-scroll td::before { white-space: nowrap; }
  .nx-adm .nx-totals { grid-template-columns: 1fr 1fr; } .nx-jrow { grid-template-columns: 1fr; } .nx-jrow .nx-diff { grid-column: 1; }
  .nx-ft-in { flex-direction: column; align-items: flex-start; gap: .625rem; } .nx-ft-in .nx-links { margin-left: 0; gap: .75rem; } .nx-ftp .nx-cols { grid-template-columns: 1fr 1fr; } .nx-ftp .nx-bottom .nx-links { margin-left: 0; }
  .nx-doc h1 { font-size: 1.625rem; } .nx-doc p, .nx-doc ul, .nx-doc ol { font-size: .9062rem; } .nx-doc p.nx-cl { padding-left: 0; } .nx-doc p.nx-cl .nx-num { position: static; display: inline-block; margin-right: .5rem; } .nx-doc ul, .nx-doc ol { padding-left: 1.375rem; } .nx-pub-h { padding: 1.75rem 0 1rem; } .nx-pub-h h1 { font-size: 1.875rem; } .nx-chl .nx-e { grid-template-columns: 1fr; gap: .25rem; } .nx-faq-l summary { font-size: .9688rem; padding: .875rem 0; }
  .nx-auth { padding: 1.75rem 1rem 1.5rem; } .nx-auth .nx-logo { margin-bottom: 1.5rem; } .nx-auth-card { padding: 1.375rem 1.125rem; } .nx-result .nx-card { padding: 1.25rem; }
  .nx-toast { left: 1rem; right: 1rem; transform: none; white-space: normal; } .nx-mth .nx-lg { display: none; } .nx-mth > div { min-width: 0; }
  .nx-sysbar { font-size: .7812rem; padding: 0 .75rem; text-align: center; }
}

/* ---------- Fixups over the product's global rules (app.css «Base»), not part of the mockup ---------- */
:where(.nx) :is(h1, h2, h3, h4) { font-family: inherit; }
:where(.nx) :focus-visible { outline: .125rem solid var(--line-3); outline-offset: .125rem; border-radius: .5rem; }
/* The header's «Пополнить» next to the minutes (owner 2026-10-13: the balance with a top-up instead of the plans in the header). */
.nx-hd .nx-topup { height: 2.125rem; }
.nx-layer { position: fixed; inset: 0 auto auto 0; z-index: 60; }
.nx-layer .nx-menu, .nx-layer .nx-umenu { z-index: 61; }
/* «Опубликовать все» (owner 2026-10-13): the mockup has no publishing window; it is built of the mockup's parts. */
.nx-dlg.nx-pubdlg { max-width: 47.5rem; }
.nx-pubdlg .nx-sec { display: flex; flex-direction: column; gap: .5rem; }
.nx-pubdlg .nx-plats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.nx-pubdlg .nx-plats label { display: flex; align-items: center; gap: .625rem; padding: .5625rem .625rem; border: 1px solid var(--line); border-radius: .625rem; font-size: .8125rem; cursor: pointer; }
.nx-pubdlg .nx-plats label.nx-on { border-color: var(--line-3); background: rgba(255,255,255,.04); }
.nx-pubdlg .nx-plats label.nx-dis { opacity: .5; cursor: not-allowed; }
.nx-pubdlg .nx-plats small { display: block; color: var(--ink-3); font-size: .7188rem; }
.nx-pubdlg .nx-plist { display: flex; flex-direction: column; gap: .375rem; max-height: 42vh; overflow: auto; padding-right: .25rem; }
.nx-pubdlg .nx-prow { border: 1px solid var(--line); border-radius: .75rem; padding: .625rem; display: grid; grid-template-columns: auto 2.75rem 1fr auto; gap: .625rem; align-items: center; }
.nx-pubdlg .nx-pimg { display: block; width: 2.75rem; height: 4.875rem; border-radius: .375rem; overflow: hidden; background: var(--bg-3); }
.nx-pubdlg .nx-pimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nx-pubdlg .nx-sec > .nx-seg { align-self: flex-start; }
.nx-seg.nx-seg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } .nx-seg.nx-seg-grid button { height: auto; min-height: 2rem; padding: .375rem .75rem; white-space: normal; line-height: 1.3; text-align: left; } .nx-seg.nx-seg-grid button { border-bottom: 1px solid var(--line); } .nx-seg.nx-seg-grid button:nth-child(2n) { border-right: 0; } .nx-seg.nx-seg-grid button:nth-last-child(-n+2):nth-child(2n+1), .nx-seg.nx-seg-grid button:last-child { border-bottom: 0; }
.nx-pubdlg .nx-prow .nx-texts { grid-column: 2 / -1; display: flex; flex-direction: column; gap: .5rem; }
.nx-pubdlg .nx-prow .nx-cnt { font-family: var(--mono); font-size: .6875rem; color: var(--ink-3); text-align: right; }
.nx-pubdlg .nx-prow .nx-cnt.nx-over { color: var(--err); }
.nx-pubdlg .nx-when { display: flex; gap: .625rem; align-items: end; flex-wrap: wrap; }
.nx-pubdlg .nx-pstat { font-size: .75rem; }
.nx-pubst { display: inline-flex; align-items: center; gap: .375rem; font-size: .75rem; color: var(--ink-3); }
.nx-pubst.nx-published { color: var(--ok); } .nx-pubst.nx-error { color: var(--err); } .nx-pubst.nx-scheduled, .nx-pubst.nx-uploading { color: var(--info); }
@media (max-width: 720px) { .nx-pubdlg .nx-plats { grid-template-columns: 1fr 1fr; } }
/* The scheduler window (publish.js, owner 2026-10-21): clips on the left, the accounts on the right, «Когда» below; one column on a phone. */
.nx-dlg.nx-pubdlg { max-width: 62rem; }
.nx-pubdlg .nx-pcols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.nx-pubdlg .nx-pcols .nx-plats { grid-template-columns: 1fr 1fr; }
.nx-pubdlg .nx-sec > .nx-btn.nx-ghost { align-self: flex-start; }
.nx-pubdlg .nx-slot { margin-top: .25rem; font-family: var(--mono); font-size: .7188rem; color: var(--info, #9fc5ff); }
.nx-pubdlg .nx-when .nx-row { gap: .375rem; }
.nx-pubdlg .nx-acts > a.nx-btn { margin-right: auto; }
.nx-pubdlg .nx-pick { display: flex; flex-direction: column; gap: .5rem; max-height: 60vh; overflow: auto; }
.nx-pubdlg .nx-pick-p { border: 1px solid var(--line); border-radius: .75rem; padding: .375rem; display: flex; flex-direction: column; gap: .375rem; }
.nx-pubdlg .nx-pick-h { display: flex; align-items: center; gap: .5rem; padding: .375rem .5rem; background: none; border: 0; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.nx-pubdlg .nx-pick-h b { flex: 1; font-weight: 500; } .nx-pubdlg .nx-pick-h .nx-i { width: .875rem; height: .875rem; }
.nx-pubdlg .nx-pick-c { grid-template-columns: auto 2.75rem 1fr; cursor: pointer; }
.nx-pubdlg > *, .nx-pubdlg .nx-pcols > * { min-width: 0; } .nx-pubdlg .nx-prow { grid-template-columns: auto 2.75rem minmax(0, 1fr) auto; } .nx-pubdlg .nx-row.nx-between { flex-wrap: wrap; gap: .5rem; }
@media (max-width: 760px) { .nx-pubdlg .nx-pcols { grid-template-columns: 1fr; } .nx-pubdlg .nx-prow { grid-template-columns: auto 2.75rem minmax(0, 1fr); } .nx-pubdlg .nx-prow > .nx-btn { grid-column: 3; justify-self: start; }
  .nx-pubdlg .nx-pcols .nx-plats { grid-template-columns: 1fr; } .nx-pubdlg .nx-when { flex-direction: column; align-items: stretch; } .nx-pubdlg .nx-acts { flex-wrap: wrap; } .nx-pubdlg .nx-acts > a.nx-btn { flex-basis: 100%; } }

/* «Планировщик» (planner.js): a week by times, a month by days, a phone's list by days; a post's colour is its status. */
.nx-ptop { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: .75rem; }
.nx-ptop h1 { margin: .25rem 0 0; font-size: 1.5rem; } .nx-ptop .nx-row { gap: .5rem; flex-wrap: wrap; }
.nx-plegend { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: .875rem; }
.nx-plegend .nx-lg::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; margin-right: .375rem; background: var(--info, #9fc5ff); }
.nx-plegend .nx-lg.nx-done::before { background: var(--ok, #8fd18b); } .nx-plegend .nx-lg.nx-err::before { background: var(--err); }
.nx-pgrid { display: grid; border: 1px solid var(--line); border-radius: .875rem; overflow: visible; }
.nx-pgrid.nx-week { grid-template-columns: 4rem repeat(7, minmax(0, 1fr)); }
.nx-pgrid.nx-month { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.nx-pgrid .nx-ch { padding: .625rem; font-size: .7812rem; color: var(--ink-2); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.nx-pgrid .nx-ch:first-child { border-left: 0; } .nx-pgrid .nx-ch b { display: block; color: var(--ink); font-size: .9375rem; } .nx-pgrid .nx-ch.nx-today b { color: var(--sage, #93ab7b); }
.nx-pgrid .nx-ct { padding: .5rem; font-size: .6875rem; color: var(--ink-3); border-bottom: 1px solid var(--line); min-height: 6rem; }
.nx-pgrid .nx-cc, .nx-pgrid .nx-cm { position: relative; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .3125rem; min-height: 6rem; display: flex; flex-direction: column; gap: .25rem; }
.nx-pgrid.nx-month .nx-cm:nth-child(7n + 1) { border-left: 0; } .nx-pgrid .nx-cm.nx-other { background: rgba(255,255,255,.015); } .nx-pgrid .nx-cm .nx-dn { font-size: .75rem; color: var(--ink-3); } .nx-pgrid .nx-cm.nx-today .nx-dn { color: var(--sage, #93ab7b); font-weight: 600; }
.nx-pgrid .nx-drop { outline: 1px dashed var(--sage, #93ab7b); outline-offset: -2px; background: rgba(147,171,123,.06); }
.nx-pchip { display: flex; align-items: center; gap: .375rem; width: 100%; padding: .25rem .375rem; border-radius: .5rem; background: var(--bg-3); border: 1px solid var(--line-2, var(--line)); color: var(--ink); font: inherit; font-size: .7188rem; text-align: left; cursor: pointer; }
.nx-pchip[draggable="true"] { cursor: grab; } .nx-pchip.nx-on { border-color: var(--line-3); }
.nx-pchip img { width: 1.125rem; height: 2rem; object-fit: cover; border-radius: .1875rem; flex: none; }
.nx-pchip .nx-pn { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .nx-pchip .nx-pt { font-size: .6875rem; color: var(--ink-3); }
.nx-pchip .nx-dot { width: .4375rem; height: .4375rem; border-radius: 50%; flex: none; background: var(--info, #9fc5ff); }
.nx-pchip.nx-done { border-color: rgba(143,209,139,.4); } .nx-pchip.nx-done .nx-dot { background: var(--ok, #8fd18b); }
.nx-pchip.nx-err { border-color: rgba(255,107,127,.5); } .nx-pchip.nx-err .nx-dot { background: var(--err); }
.nx-pchip.nx-off { opacity: .55; text-decoration: line-through; } .nx-pchip.nx-off .nx-dot { background: var(--ink-3); }
.nx-pmarks { display: inline-flex; gap: .125rem; flex: none; } .nx-pmarks .nx-pm .nx-i { width: .75rem; height: .75rem; } .nx-pmarks .nx-pm.nx-err { color: var(--err); } .nx-pmarks .nx-pm.nx-off { opacity: .4; }
.nx-ppop { position: absolute; z-index: 5; top: 2.25rem; left: .375rem; width: 16.5rem; background: var(--bg-2); border: 1px solid var(--line-3); border-radius: .75rem; padding: .75rem; box-shadow: 0 1.25rem 3.75rem rgba(0,0,0,.6); font-size: .7812rem; display: flex; flex-direction: column; gap: .625rem; }
.nx-ppop.nx-inline { position: static; width: auto; box-shadow: none; grid-column: 1 / -1; }
.nx-publisher-preview { display: grid; gap: .6rem; margin: .75rem 0; }
.nx-publisher-preview:empty { display: none; }
.nx-publisher-preview video { display: block; width: 100%; max-height: 25rem; aspect-ratio: 9 / 16; object-fit: contain; background: #000; border-radius: .5rem; }
.nx-publisher-editor { margin: 1.5rem 0 2rem; padding: 1.25rem; border: 1px solid var(--line-3); border-radius: 1rem; }
.nx-publisher-heading, .nx-publisher-toolbar, .nx-publisher-actions { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.nx-publisher-heading { justify-content: space-between; margin-bottom: 1rem; }
.nx-publisher-heading h2 { margin: 0 0 .5rem; font-size: 1.25rem; }
.nx-publisher-toolbar { margin: 1rem 0; }
.nx-publisher-toolbar select, .nx-publisher-field input, .nx-publisher-field select { min-height: 2.5rem; min-width: 0; max-width: 100%; border: 1px solid var(--line-3); border-radius: .5rem; background: var(--bg-2); color: inherit; padding: .5rem .75rem; font: inherit; }
.nx-publisher-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1rem; }
.nx-publisher-card { min-width: 0; border: 1px solid var(--line-3); border-radius: .75rem; padding: 1rem; background: var(--bg-2); }
.nx-publisher-card h3 { font-size: 1rem; line-height: 1.4; margin: 0 0 .5rem; overflow-wrap: anywhere; }
.nx-publisher-card p { margin: .5rem 0; overflow-wrap: anywhere; }
.nx-publisher-state { font-weight: 600; }
.nx-publisher-field { display: grid; gap: .4rem; margin: .75rem 0; }
.nx-publisher-approve-check { display: flex; gap: .65rem; align-items: flex-start; margin: .75rem 0; }
.nx-publisher-approve-check input { flex: none; margin-top: .2rem; }
.nx-publisher-notice { border: 1px solid currentColor; padding: .75rem; border-radius: .5rem; }
@media(max-width: 760px) { .nx-publisher-editor { padding: .75rem; } .nx-publisher-toolbar select { flex: 1 1 100%; width: 100%; } }
.nx-ppop .nx-ppop-h { display: flex; gap: .625rem; } .nx-ppop .nx-ppop-h img { width: 2.5rem; height: 4.375rem; object-fit: cover; border-radius: .375rem; flex: none; }
.nx-ppop .nx-ppop-row { display: flex; align-items: center; gap: .375rem; } .nx-ppop .nx-ppop-row a { margin-left: auto; color: var(--ok, #8fd18b); } .nx-ppop .nx-ppop-row > .nx-sub { margin-left: auto; }
.nx-ppop .nx-ppop-row.nx-err .nx-sub { color: var(--err); } .nx-ppop .nx-ppop-row .nx-i { width: .875rem; height: .875rem; } .nx-ppop .nx-err { color: var(--err); }
.nx-ppop .nx-row { gap: .375rem; flex-wrap: wrap; }
.nx-pgrid .nx-cc:nth-child(8n + 6) .nx-ppop, .nx-pgrid .nx-cc:nth-child(8n + 7) .nx-ppop, .nx-pgrid .nx-cc:nth-child(8n) .nx-ppop, .nx-pgrid .nx-cm:nth-child(7n) .nx-ppop, .nx-pgrid .nx-cm:nth-child(7n + 6) .nx-ppop { right: .375rem; left: auto; }
.nx-plist-days { display: flex; flex-direction: column; gap: .875rem; }
.nx-pday h3 { margin: 0 0 .375rem; font-size: .8125rem; font-weight: 600; color: var(--ink-2); } .nx-pday h3.nx-today { color: var(--sage, #93ab7b); }
.nx-prow-day { display: grid; grid-template-columns: 2.625rem 2rem minmax(0, 1fr); gap: .625rem; align-items: center; padding: .5rem; margin-bottom: .375rem; border-radius: .75rem; background: var(--bg-3); border: 1px solid var(--line-2, var(--line)); cursor: pointer; }
.nx-prow-day img { width: 2rem; height: 3.5rem; object-fit: cover; border-radius: .375rem; } .nx-prow-day .nx-pt { font-size: .8125rem; color: var(--ink-2); }
.nx-prow-day .nx-pm-b { min-width: 0; } .nx-prow-day .nx-pm-b b { display: block; font-size: .8438rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-prow-day .nx-pm-b .nx-sub { display: flex; align-items: center; gap: .25rem; }
.nx-prow-day.nx-done { border-color: rgba(143,209,139,.4); } .nx-prow-day.nx-err { border-color: rgba(255,107,127,.5); } .nx-prow-day.nx-off { opacity: .55; }

/* The phone: the avatar's menu has every page and the language, so no second menu button in the crowded header. */
@media (max-width: 720px) { .nx-hd:not(.nx-pub-hd) .nx-burger { display: none; } .nx-hd .nx-topup { padding: 0 .625rem; } }

/* Settings: a section scrolled to from the left list stops under the sticky header. */
.nx-acc .nx-sec { scroll-margin-top: calc(var(--hd) + 1rem); }

/* «Видео» → «Выбрать» (owner's prod test п. 46): marks on the cards, the bar with the count and «Удалить» at the bottom. */
.nx-grid.nx-picking .nx-pcard:hover { transform: none; }
.nx-pcard.nx-picked { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.nx-pcard .nx-pick { position: absolute; left: .5rem; top: .5rem; z-index: 3; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: .125rem solid rgba(255,255,255,.85); background: rgba(7,8,10,.55); display: grid; place-items: center; }
.nx-pcard .nx-pick.nx-on { background: var(--ink); border-color: var(--ink); color: #07080a; }
.nx-pcard .nx-pick.nx-dis { opacity: .35; }
.nx-pcard .nx-pick svg { width: .875rem; height: .875rem; stroke: currentColor; stroke-width: 2.4; fill: none; }
.nx-bulk { position: fixed; left: 50%; bottom: 1.25rem; transform: translateX(-50%); z-index: 60; width: min(35rem, calc(100vw - 1.5rem)); display: flex; align-items: center; gap: .5rem; padding: .5rem .5rem .5rem 1rem; border-radius: .875rem; background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 1.25rem 3rem -1rem rgba(0,0,0,.85); }
.nx-bulk b { font-size: .875rem; font-weight: 600; white-space: nowrap; }
.nx-bulk .nx-sp { flex: 1; }
@media (max-width: 720px) { .nx-bulk { bottom: .75rem; padding-left: .75rem; gap: .375rem; } .nx-bulk b { font-size: .8125rem; } }

/* «Тарифы»: what a plan's credits come to, small under its line (owner's plans of 16.10). */
.nx-plan li .nx-fn { display: block; margin-top: .125rem; font-size: .75rem; color: var(--ink-3); }

/* The questions keep their answers' lines: «What makes it different» is a list (landing's third pass, item 92). */
.nx-faq-l details p { white-space: pre-line; }
/* A card with its cover (nx/project.js cardCover): the length at the top left, off the cover's title. */
.nx-ccard .nx-cthumb .nx-dur.nx-top { top: .5rem; left: .5rem; right: auto; bottom: auto; }
/* «Посмотреть демо» (nx/demo.js): the library's card for a person with no projects, and what it plays while the copy is made. */
.nx-demo { border: 1px solid var(--line-2); border-radius: var(--r); padding: 1.375rem 1.5rem; margin-bottom: 1rem; background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); display: flex; flex-direction: column; align-items: flex-start; gap: .625rem; }
.nx-demo h2 { margin: 0; font-size: 1.25rem; letter-spacing: -.02em; } .nx-demo .nx-sub { margin: 0; max-width: 40rem; } .nx-demo .nx-demo-k { color: var(--sage); }
.nx-demo-play { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; } .nx-demo-play .nx-pipe { margin-bottom: 0; }
.nx-demo-link { flex: 1; min-width: 0; height: 2.625rem; border: 1px solid var(--line-2); border-radius: .625rem; background: var(--bg); padding: 0 .875rem; display: flex; align-items: center; font-size: .875rem; overflow: hidden; white-space: nowrap; }
.nx-demo-link::after { content: ""; width: 2px; height: 1.125rem; margin-left: 2px; background: var(--ink); animation: nx-caret 1s steps(1) infinite; }
.nx-pcard .nx-thumb .nx-demo-tag { position: absolute; left: .5rem; top: .5rem; z-index: 2; background: rgba(7,8,10,.8); }
.nx-btn.nx-pressed { transform: scale(.96); filter: brightness(.85); }
.nx-demo-in { animation: nx-demo-rise .45s ease-out both; }
@keyframes nx-caret { 50% { opacity: 0; } }
@keyframes nx-demo-rise { from { opacity: 0; transform: translateY(.875rem) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nx-demo-in, .nx-demo-link::after { animation: none; } }
@media (max-width: 720px) { .nx-demo { padding: 1.125rem; } .nx-demo .nx-btn { width: 100%; justify-content: center; } .nx-demo-link { font-size: .75rem; } }
/* Free → Pro (nx/upsell.js, owner 2026-10-25): the first-month price, the plan's lines, «Доступно на Pro», «На Pro — …». */
.nx-up-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; margin: .25rem 0 .875rem; }
.nx-up-price s { color: var(--ink-3); font-size: .9375rem; }
.nx-up-price b { font-size: 1.625rem; font-weight: 650; letter-spacing: -.02em; color: var(--ink); }
.nx-up-price span { color: var(--ink-2); font-size: .8125rem; }
.nx-up-price.nx-sm { margin: .125rem 0 .25rem; } .nx-up-price.nx-sm b { font-size: 1.125rem; }
.nx-up-lines { list-style: none; margin: 0 0 .25rem; padding: 0; display: grid; gap: .5rem; }
.nx-up-lines li { display: flex; gap: .5rem; align-items: flex-start; color: var(--ink-2); }
.nx-up-lines .nx-i { color: var(--sage); flex: none; margin-top: .125rem; }
.nx-up-lock { display: inline-flex; align-items: center; gap: .375rem; padding: .375rem .75rem; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-3); color: var(--ink); font: inherit; font-size: .8125rem; cursor: pointer; }
.nx-up-lock:hover { border-color: var(--sage); }
.nx-up-line { display: flex; align-items: center; gap: .625rem; flex-wrap: wrap; padding: .625rem .75rem; border: 1px solid var(--line-2); border-radius: .625rem; background: var(--bg-3); color: var(--ink-2); }
.nx-up-line > .nx-i { color: var(--sage); flex: none; }
.nx-up-line > span { flex: 1; min-width: 10rem; }
.nx-up-line.nx-mt { margin-top: .75rem; }
.nx-btn.nx-up-pro { gap: .25rem; }
@media (max-width: 560px) { .nx-up-dlg .nx-acts { flex-direction: column-reverse; align-items: stretch; } .nx-up-dlg .nx-acts .nx-btn { width: 100%; justify-content: center; } }
@media (max-width: 440px) { .nx-hd .nx-topup.nx-up-pro { display: inline-flex; padding: 0 .5rem; } }
/* «Автомонтаж»: clips or the whole video as one clip (nx/work.js modePicker) */
.nx-mode { margin-top: .875rem; }
.nx-mode-os { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.nx-mode-o { display: flex; align-items: flex-start; gap: .625rem; padding: .75rem; border: 1px solid var(--line-2); border-radius: .625rem; cursor: pointer; background: rgba(255,255,255,.02); text-align: left; }
.nx-mode-o:hover:not(.nx-on) { border-color: var(--ink-3); }
.nx-mode-o.nx-on { border-color: #fff; background: rgba(255,255,255,.05); }
.nx-mode-o:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }
.nx-mode-ic { flex: none; width: 2rem; height: 2rem; border-radius: .5rem; display: grid; place-items: center; background: var(--bg-3); color: var(--ink-2); }
.nx-mode-o.nx-on .nx-mode-ic { color: var(--sage); }
.nx-mode-t { min-width: 0; } .nx-mode-t b { display: flex; align-items: center; gap: .375rem; font-size: .875rem; font-weight: 600; } .nx-mode-t > span { display: block; margin-top: .125rem; font-size: .7812rem; color: var(--ink-3); }
.nx-mode-q { flex: none; width: 1.25rem; height: 1.25rem; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink-2); font-size: .75rem; font-weight: 600; line-height: 1; display: inline-grid; place-items: center; cursor: pointer; }
.nx-mode-q:hover, .nx-mode-q[aria-expanded="true"] { border-color: var(--sage); color: var(--ink); }
.nx-mode-help { margin: .625rem 0 0; padding: .625rem .75rem; border-radius: .5rem; background: var(--bg-3); color: var(--ink-2); font-size: .8125rem; line-height: 1.45; }
.nx-mode-dlg .nx-mode { margin-top: .25rem; }
@media (max-width: 560px) { .nx-mode-os { grid-template-columns: 1fr; } .nx-mode-q { width: 1.75rem; height: 1.75rem; } }
/* The line by the upload and link fields (nx/work.js montageTip) */
.nx-mode-tip { grid-column: 1 / -1; font-size: .8125rem; color: var(--ink-2); }
.nx-mode-tl { display: flex; align-items: flex-start; gap: .5rem; line-height: 1.5; } .nx-mode-tl > .nx-i { color: var(--sage); flex: none; width: 1rem; height: 1rem; margin-top: .125rem; } .nx-mode-tl > span { min-width: 0; } .nx-mode-tl .nx-mode-q { vertical-align: middle; margin-left: .125rem; }
.nx-mode-tip .nx-mode-help { margin-top: .5rem; max-width: 46rem; }

/* «История» of a project in an admin's look at it (nx/project.js historyBody). */
.nx-vhist { margin-top: 1.5rem; } .nx-vhist h2 { margin: 0 0 .5rem; font-size: 1.125rem; } .nx-vhist h3 { margin: 1rem 0 .375rem; font-size: .875rem; color: var(--ink-2); }
.nx-vtable { width: 100%; border-collapse: collapse; font-size: .75rem; display: block; overflow-x: auto; }
.nx-vtable th, .nx-vtable td { text-align: left; padding: .3125rem .5rem; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: top; }
.nx-vtable td:last-child { white-space: normal; min-width: 12rem; } .nx-vtable th { color: var(--ink-3); font-weight: 500; }

/* Clip-specific offer: keep both plans and their benefits visible. */
.nx-clip-paywall{width:min(720px,calc(100vw - 32px))!important;max-width:720px!important}
.nx-unlock-options{display:grid;gap:14px;margin:24px 0 8px}
.nx-unlock-option{display:flex;flex-direction:column;gap:12px;padding:22px;border:1px solid #444;border-radius:18px;background:#171717;color:inherit;text-decoration:none;transition:border-color .15s,background .15s}
.nx-unlock-option:hover,.nx-unlock-option:focus-visible{border-color:#eee;background:#232323;outline:2px solid transparent}
.nx-unlock-option-title{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:650;line-height:1.3}
.nx-unlock-option-detail{font-size:15px;line-height:1.55;color:#b5b5b5}
@media(max-width:600px){.nx-unlock-option{padding:17px}.nx-unlock-option-title{font-size:18px}}

.nx-locked-card{min-width:0;overflow:hidden}
.nx-locked-thumb{position:relative;overflow:hidden;isolation:isolate;cursor:pointer}
.nx-locked-thumb>img,.nx-locked-thumb>picture{filter:brightness(.4) saturate(.3) blur(2px);transform:scale(1.025)}
.nx-clip-lock-overlay{position:absolute;inset:0;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:rgba(0,0,0,.22);padding:16px;text-align:center;color:#fff;pointer-events:none}
.nx-clip-lock-icon{display:grid;place-items:center;width:64px;height:64px;border:1px solid rgba(255,255,255,.35);border-radius:50%;background:rgba(18,18,18,.7);backdrop-filter:blur(8px)}
.nx-clip-lock-icon .nx-i{width:28px;height:28px}
.nx-clip-lock-label{font-size:15px;font-weight:600;line-height:1.35}
.nx-clip-lock-note{margin:0;font-size:13px;line-height:1.5;color:var(--ink-2);overflow-wrap:anywhere}
.nx-locked-thumb:focus-visible{outline:2px solid white;outline-offset:-3px}

/* Reuse the actual pricing cards inside every feature offer. */
.nx-plan-paywall{width:min(1180px,calc(100vw - 32px))!important;max-width:1180px!important;max-height:calc(100dvh - 32px);overflow:auto;padding:32px!important}
.nx-plan-paywall>.nx-text{margin-bottom:28px!important;max-width:85ch}
.nx-plan-paywall .nx-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:28px 0 0}
.nx-plan-paywall .nx-plan{min-width:0;padding:24px 20px;display:flex;flex-direction:column}
.nx-plan-paywall .nx-plan h3{font-size:23px;margin-bottom:20px}
.nx-plan-paywall .nx-plan .nx-price b{font-size:36px;letter-spacing:-1.5px}
.nx-plan-paywall .nx-plan ul{flex:1;font-size:14px;line-height:1.5}
.nx-plan-paywall .nx-plan .nx-btn{width:100%;margin-top:20px;flex-shrink:0}
@media(max-width:680px){.nx-plan-paywall{padding:24px 16px!important}.nx-plan-paywall .nx-plans{grid-template-columns:1fr}.nx-plan-paywall .nx-plan{padding:24px}}

.nx-ft-in .nx-links {align-items:center;}
.cm-interval-player{display:block;width:100%;max-height:17rem;aspect-ratio:16/9;background:#080808;border:0;border-radius:.6rem;margin:.8rem 0;object-fit:contain}
.cm-interval-play{position:relative;overflow:hidden;padding:0;cursor:pointer;color:#fff}
.cm-interval-play img{display:block;width:100%;height:100%;object-fit:cover}
.cm-interval-play span{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:3.6rem;height:2.5rem;border-radius:.6rem;background:#171717e6;font-size:1.15rem}
.cm-interval-times,.cm-interval-ticks{display:flex;justify-content:space-between;font-variant-numeric:tabular-nums;margin:.75rem 0 .4rem;font-size:.8rem}
.cm-interval-ticks{color:var(--ink-3);font-size:.65rem;margin-top:.35rem}
.cm-interval-strip{position:relative;height:2.5rem;border-radius:.5rem;background:repeating-linear-gradient(90deg,#222 0,#222 8%,#303030 8%,#303030 8.4%);border:1px solid var(--line)}
.cm-interval-selected{position:absolute;inset:0;background:rgba(126,170,230,.28);border:2px solid #b9d5ff;border-radius:.35rem;pointer-events:none}
.cm-interval-strip input[type=range]{position:absolute;inset:0;width:100%;height:100%;margin:0;appearance:none;-webkit-appearance:none;background:transparent;pointer-events:none;outline-offset:4px}
.cm-interval-strip input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;pointer-events:auto;cursor:ew-resize;width:14px;height:40px;background:#edf4ff;border:2px solid #93b6e6;border-radius:5px}
.cm-interval-strip input[type=range]::-moz-range-thumb{pointer-events:auto;cursor:ew-resize;width:12px;height:36px;background:#edf4ff;border:2px solid #93b6e6;border-radius:5px}

.nx-credit-line{display:inline-flex;align-items:center;flex-wrap:wrap;gap:7px}.nx-credit-help{position:relative;display:inline-grid;place-items:center;flex:none;width:17px;height:17px;padding:0;border:1px solid var(--line-3);border-radius:50%;background:transparent;color:var(--ink-3);font:11px/1 inherit;cursor:help;vertical-align:middle}.nx-credit-tip{display:none;position:absolute;z-index:30;bottom:calc(100% + 10px);left:50%;transform:translateX(-50%);width:min(255px,75vw);padding:12px;border:1px solid var(--line-3);border-radius:10px;background:var(--bg-4,#222);color:var(--ink);text-align:left;font-size:13px;line-height:1.5;font-weight:400;box-shadow:0 8px 28px #0008}.nx-credit-help:hover .nx-credit-tip,.nx-credit-help:focus .nx-credit-tip{display:block}

.nx-plan-metrics{border-top:1px solid var(--line);margin:4px 0;padding:0}.nx-plan-metrics>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:.8438rem;line-height:1.4}.nx-plan-metrics span{color:var(--ink-3)}.nx-plan-metrics strong{text-align:right;font-weight:600;max-width:62%}.nx-first-offer{display:grid;gap:7px}.nx-first-offer .nx-yr{margin:0}.nx-plan .nx-note{margin-top:0}.nx-plan>.nx-btn{margin-top:auto}

.nx-plan-comparison{margin:28px 0}.nx-plan-comparison summary{cursor:pointer;font-size:18px;padding:16px 0}.nx-table-scroll{overflow:auto}.nx-plan-comparison table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}.nx-plan-comparison th,.nx-plan-comparison td{padding:14px;border-bottom:1px solid var(--line)}.nx-plan-comparison tbody th{font-weight:400}.nx-plan-comparison td{text-align:center}.nx-plan-paywall .nx-plan-metrics{margin:14px 0;padding:14px 0;gap:12px}.nx-plan-paywall .nx-plan-metrics strong{font-size:23px}

.nx-credit-help{display:inline;position:relative;width:auto;height:auto;margin:0;padding:0;border:0;border-bottom:1px dashed rgba(255,255,255,.4);border-radius:0;background:transparent;color:inherit;font:inherit;line-height:inherit;cursor:help;text-align:inherit}

/* Shared rows keep prices, parameters and benefits aligned across each card row. */
.nx-plans{grid-auto-rows:auto}.nx-plans>.nx-plan{display:grid;grid-template-rows:subgrid;grid-row:span 6;gap:14px}.nx-plan>h3{grid-row:1}.nx-plan-price-block{grid-row:2;display:grid;align-content:start;gap:9px}.nx-plan-price-block .nx-yr{margin:0}.nx-plan>.nx-sub{grid-row:3;margin:0}.nx-plan>.nx-plan-metrics{grid-row:4;margin:0;align-self:stretch;align-content:start}.nx-plan>ul{grid-row:5;align-self:start}.nx-plan-action{grid-row:6;display:flex;flex-direction:column;justify-content:flex-end;gap:12px;padding-top:12px}.nx-plan-action>.nx-btn{width:100%;margin:0}.nx-plan-action>.nx-note{margin:0}.nx-plan .nx-first-offer{display:block;font-size:12px;line-height:1.4}

/* Referral: the same compact card and fields as admin invitations. */
.nx-referrals{max-width:820px;padding-top:36px;padding-bottom:56px;width:100%;box-sizing:border-box}
.nx-referrals>.nx-page-h{margin-bottom:24px}.nx-ref-card{padding:28px}
.nx-ref-heading{display:flex;align-items:center;gap:14px}.nx-ref-heading h2{font-size:20px;margin:0 0 5px}.nx-ref-heading p{margin:0;font-size:14px}
.nx-ref-gift{width:46px;height:46px;display:grid;place-items:center;background:var(--cm-field-bg);border:1px solid var(--cm-field-border);border-radius:14px;flex-shrink:0}.nx-ref-gift svg{width:24px;height:24px}
.nx-ref-rewards{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:26px 0}
.nx-ref-reward{padding:20px;background:var(--cm-field-bg);border:1px solid var(--cm-field-border);border-radius:18px}.nx-ref-reward>span{font-size:14px}.nx-ref-reward strong{display:flex;align-items:baseline;gap:9px;font-size:38px;font-weight:650;letter-spacing:-.04em;margin:7px 0 9px}.nx-ref-reward strong span{font-size:16px;font-weight:400;letter-spacing:0}.nx-ref-reward p{font-size:13px;line-height:1.5;margin:0;color:var(--ink-3)}
.nx-ref-share>label{display:block;font-weight:550;font-size:14px;margin-bottom:10px}.nx-ref-link{display:flex;gap:10px}.nx-ref-link input{flex:1;min-width:0;width:0;background:var(--cm-field-bg);color:var(--cm-text);border:1px solid var(--cm-field-border);border-radius:var(--cm-field-radius);padding:13px 15px;font:inherit;font-size:14px}.nx-ref-link input:focus{outline:2px solid var(--cm-focus);outline-offset:2px}.nx-ref-link .nx-btn{flex-shrink:0;gap:8px}.nx-ref-code{margin:10px 0 0;font-size:13px;color:var(--ink-3)}.nx-ref-code code{color:var(--cm-text);font-size:inherit}
.nx-ref-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;border-top:1px solid var(--cm-field-border);margin-top:25px;padding-top:23px}.nx-ref-counts>div{display:flex;flex-direction:column;gap:5px}.nx-ref-counts strong{font-size:25px;font-weight:600;letter-spacing:-.02em}.nx-ref-counts span{font-size:13px;color:var(--ink-3)}.nx-ref-status,.nx-ref-unlocked{font-size:13px;line-height:1.5;margin:18px 0 0}.nx-ref-status:empty{display:none}
@media(max-width:600px){.nx-referrals{padding-top:22px}.nx-ref-card{padding:20px}.nx-ref-rewards{gap:10px;margin:22px 0}.nx-ref-reward{padding:14px}.nx-ref-reward strong{font-size:31px;gap:6px}.nx-ref-reward strong span{font-size:13px}.nx-ref-link{flex-direction:column}.nx-ref-link input{width:100%;box-sizing:border-box}.nx-ref-link .nx-btn{width:100%;justify-content:center}.nx-ref-counts{gap:10px}.nx-ref-counts span{font-size:12px}}


.nx-plan-paywall .nx-plan-metrics{margin:0;padding:0}.nx-plan-paywall .nx-plan-metrics strong{font-size:inherit}

/* Clips over the border of the clip count: a folded block, a press builds one (nx/project.js capBlock) */
.nx-capblock{margin-top:1.5rem}
.nx-capblock>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:.5rem}
.nx-capblock>summary::-webkit-details-marker{display:none}
.nx-capblock>summary::before{content:"\25B8";font-size:.9em;opacity:.7}
.nx-capblock[open]>summary::before{content:"\25BE"}
.nx-ccard.held{padding:.9rem 1rem;display:flex;flex-direction:column;gap:.5rem}

/* The style template's groups with ticks (owner, 2026-11-07 item 5) */
.nx-kith { font-size: .8125rem; font-weight: 600; margin: .25rem 0 .5rem; }
.nx-kitg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .375rem; margin-bottom: 1rem; }
.nx-kitg-i { display: flex; align-items: flex-start; gap: .5rem; padding: .5rem .625rem; border: 1px solid var(--line); border-radius: .625rem; cursor: pointer; }
.nx-kitg-i input { margin-top: .1875rem; } .nx-kitg-i span { display: grid; min-width: 0; } .nx-kitg-i b { font-size: .8125rem; font-weight: 600; }
.nx-kitg-i small { font-size: .6875rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-kitg-i.nx-off { opacity: .5; cursor: default; }
.nx-kitfrom { padding: 1rem; margin-bottom: 1rem; border-color: var(--line-strong, rgba(255,255,255,.25)); }
.nx-kitfrom .nx-kitg { margin: .75rem 0 0; }
@media (max-width: 760px) { .nx-kitg { grid-template-columns: 1fr; } }
/* Add-ons bought where the need appears (nx/topup.js, owner 2026-11-13) */
.nx-dlg.nx-topup .nx-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: .625rem; margin-top: .75rem; } .nx-dlg.nx-topup .nx-offer, .nx-notice .nx-offer { border: 1px solid var(--line-2); border-radius: .6875rem; padding: .75rem .875rem; display: flex; flex-direction: column; gap: .25rem; } .nx-dlg.nx-topup .nx-offer b { font-size: .875rem; } .nx-dlg.nx-topup .nx-offer .nx-pr { font-size: 1.125rem; letter-spacing: -.02em; font-weight: 600; } .nx-dlg.nx-topup .nx-offer span { font-size: .75rem; color: var(--ink-3); } .nx-dlg.nx-topup .nx-offer .nx-btn { margin-top: .375rem; align-self: flex-start; } .nx-topup-use { display: grid; gap: .375rem; margin: .25rem 0 .5rem; font-size: .875rem; } .nx-topup-use .nx-mono { color: var(--ink-2); font-weight: 500; }

/* Autorenewal (owner, 2026-11-16): the tick in the checkout and the subscription card in the account. */
.nx-plan .nx-renew-note{font-size:12px;line-height:1.4}
.nx-renew{display:grid;gap:8px;padding:14px;border:1px solid color-mix(in srgb,var(--ok,#3ecf8e) 55%,var(--line));border-radius:12px;margin-top:12px;box-shadow:0 0 18px color-mix(in srgb,var(--ok,#3ecf8e) 12%,transparent);background:color-mix(in srgb,var(--ok,#3ecf8e) 4%,transparent);transition:border-color .15s,background .15s}
.nx-renew.on{border-color:var(--ok,#3ecf8e);background:color-mix(in srgb,var(--ok,#3ecf8e) 7%,transparent)}
.nx-renew label{display:flex;gap:10px;align-items:flex-start;cursor:pointer;font-size:14px;line-height:1.4}
.nx-renew input{width:18px;height:18px;margin:1px 0 0;flex:none;accent-color:var(--ok,#3ecf8e)}
.nx-renew a{color:var(--ink);text-decoration:underline}
.nx-renew .nx-renew-gain{font-size:13px;line-height:1.45;color:var(--ink-2,var(--ink-3));padding-left:28px}
.nx-renew .nx-renew-gain b{color:var(--ink)}
.nx-sub-card{display:grid;gap:12px;padding:16px;border:1px solid var(--line);border-radius:12px;margin-bottom:16px}
.nx-sub-card .nx-sub-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px 18px}
.nx-sub-card .nx-sub-grid span{display:block;font-size:12px;color:var(--ink-3)}
.nx-sub-card .nx-sub-grid b{font-size:14px}

.nx-renew-title{font-size:14px;color:var(--ok,#3ecf8e)}

/* Keep and cancel stay beside each other, including on narrow screens. */
.nx-dlg.nx-renew-cancel .nx-acts { flex-wrap: nowrap; align-items: stretch; }
.nx-dlg.nx-renew-cancel .nx-acts .nx-btn { flex: 1 1 0; min-width: 0; white-space: normal; height: auto; min-height: 2.75rem; padding: .625rem; }

/* Top-up: equal purchase actions, full plan benefits, explicit subscription prices. */
.nx-dlg.nx-topup { max-width: 48rem; gap: .8rem; padding: 1.75rem; }
.nx-topup-current { color: var(--ink-2); font-size: .8125rem; margin-top: -.3rem; }
.nx-dlg.nx-topup .nx-offers { margin-top: 0; gap: .75rem; }
.nx-dlg.nx-topup .nx-offer { padding: 1rem; gap: .45rem; background: rgba(255,255,255,.015); }
.nx-dlg.nx-topup .nx-offer .nx-pr { color: var(--ink); font-size: 1.4rem; }
.nx-dlg.nx-topup .nx-offer>span:not(.nx-pr) { color: var(--ink-2); }
.nx-dlg.nx-topup .nx-offer .nx-btn { align-self: stretch; justify-content: center; margin-top: auto; }
.nx-upgrade-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(16rem,1fr)); gap: .75rem; }
.nx-upgrade-card { min-width: 0; padding: 1.25rem; border: 1px solid var(--line-3); border-radius: 1rem; background: linear-gradient(135deg,rgba(255,255,255,.07),rgba(255,255,255,.015)); display: flex; flex-direction: column; gap: .8rem; }
.nx-upgrade-heading { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.nx-upgrade-heading h3 { font-size: 1.5rem; }
.nx-upgrade-tag { font-size: .625rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.nx-upgrade-price { display: flex; align-items: baseline; gap: .5rem; }
.nx-upgrade-price strong { font-size: 1.75rem; line-height: 1.1; letter-spacing: -.04em; }
.nx-upgrade-price>span, .nx-upgrade-price-note { color: var(--ink-2); font-size: .75rem; }
.nx-upgrade-price-note { margin-top: -.4rem; }
.nx-upgrade-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; padding: .85rem 0; border-block: 1px solid var(--line-2); }
.nx-upgrade-metrics>div { display: grid; gap: .2rem; }
.nx-upgrade-metrics strong { font-size: 1.25rem; }
.nx-upgrade-metrics span { color: var(--ink-2); font-size: .6875rem; }
.nx-upgrade-features { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.nx-upgrade-features li { display: flex; gap: .5rem; align-items: flex-start; font-size: .75rem; line-height: 1.5; }
.nx-upgrade-features .nx-i { width: .875rem; height: .875rem; margin-top: .12rem; }
.nx-upgrade-card>.nx-btn { margin-top: auto; width: 100%; justify-content: center; }
.nx-upgrade-grid>.nx-upgrade-card:only-child .nx-upgrade-features { grid-template-columns: 1fr 1fr; gap: .6rem 1.2rem; }
@media(max-width: 600px) { .nx-dlg.nx-topup { padding: 1.25rem; } .nx-upgrade-grid { grid-template-columns: 1fr; } .nx-upgrade-grid>.nx-upgrade-card:only-child .nx-upgrade-features { grid-template-columns: 1fr; } }

@media (max-width: 440px) { .nx-hd .nx-header-plans { padding: 0 .5rem; } }

.nx-clip-divider { border-top: 1px solid var(--line-2); margin: 2rem 0 1.25rem; padding-top: 1.25rem; }
.nx-clip-divider h3 { margin: 0 0 .35rem; font-size: 1rem; }
.nx-clip-divider p { margin: 0; }
