/* sellerist.ru in style А «Чек», the same as the panel (DESIGN.md): light = a till receipt (warm paper, black ink,
   dashed rules, statuses as stamps), dark = carbon copy (graphite paper, light ink). Green = the brand and money only. */
:root {
  --bg: #F5F5F0;          /* paper */
  --surface: #FFFFFF;     /* a sheet on the paper */
  --elev: #ECECE5;
  --hover: #E6E6DE;
  --line: #DCDCD3;
  --rule: #CFCFC7;        /* dashed / dotted receipt rules */
  --fg: #141414;          /* ink */
  --muted: #5F5F59;
  --dim: #8A8A82;
  --em: #0B8F61;          /* brand green: mark, «Выдано», money in */
  --em-ink: #FFFFFF;
  --em-soft: rgba(11, 143, 97, 0.08);
  --em-line: rgba(11, 143, 97, 0.45);
  --hi: #BDEFD9;          /* the highlighter under a word */
  --red: #C9372C;
  --red-soft: #FBECEA;
  --amber: #A86400;
  --blue: #2F55D4;
  --violet: #7A3FC4;
  --chrome: #ECECE5;      /* browser windows around pictures */
  --tile-ink: #090A0C;    /* the S on the green tile is always dark */
  --sans: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: Unbounded, "Golos Text", "Arial Black", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --gut: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #121211;
  --surface: #1A1A18;
  --elev: #22221F;
  --hover: #2A2A26;
  --line: #2F2F2B;
  --rule: #3D3D38;
  --fg: #EDECE6;
  --muted: #9C9B92;
  --dim: #6E6D66;
  --em: #3FCF98;
  --em-ink: #06261A;
  --em-soft: rgba(63, 207, 152, 0.09);
  --em-line: rgba(63, 207, 152, 0.45);
  --hi: rgba(63, 207, 152, 0.30);
  --red: #FF7B6E;
  --red-soft: rgba(255, 123, 110, 0.10);
  --amber: #F0B44C;
  --blue: #8EA6FF;
  --violet: #C59BFF;
  --chrome: #1A1A18;
  color-scheme: dark;
}
@media (min-width: 640px) { :root { --gut: 24px; } }
@media (min-width: 1024px) { :root { --gut: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
  transition: background-color 0.3s, color 0.3s;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--fg); text-decoration-color: var(--rule); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--fg); }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
/* paragraphs never end on a lone short word (the build also glues the last two words with an nbsp) */
p, li, dd, summary, small { text-wrap: balance; }
b { font-weight: 600; }
button { font: inherit; color: inherit; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; letter-spacing: -0.01em; }
.dim { color: var(--dim); }
.sprite { display: none; }
[hidden] { display: none !important; }
.i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; border-radius: 4px; }
.todo { color: #fff; background: #C9372C; border-radius: 4px; padding: 0 4px; font-size: 0.85em; }
.mk-tile { fill: #10B981; }
.mk-s { fill: none; stroke: var(--tile-ink); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.mk-dot { fill: var(--tile-ink); }

/* ---------- buttons: ink; green only where money moves ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px;
  border-radius: 8px; border: 1.5px solid var(--fg); font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease); white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--fg); color: var(--bg); }
.btn-ink:hover { background: var(--muted); border-color: var(--muted); color: var(--bg); }
.btn-line { background: transparent; color: var(--fg); }
.btn-line:hover { background: var(--fg); color: var(--bg); }
.btn-line .i { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.btn-money { background: var(--em); border-color: var(--em); color: var(--em-ink); }
.btn-money:hover { filter: brightness(1.08); color: var(--em-ink); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn.wide { width: 100%; }
.btn .i { width: 18px; height: 18px; }

/* ---------- stamps: statuses in mono caps, outlined in their own ink ---------- */
.stamp { display: inline-flex; align-items: center; gap: 6px; font: 700 11px/1 var(--mono); letter-spacing: 0.07em; text-transform: uppercase;
  padding: 5px 8px 4px; border: 1.5px solid currentColor; border-radius: 4px; white-space: nowrap; }
.stamp.ok { color: var(--em); }
.stamp.paid { color: var(--blue); }
.stamp.wait { color: var(--amber); }
.stamp.run { color: var(--fg); border-style: dashed; }
.stamp.manual { color: var(--red); background: var(--red-soft); }
.stamp.off { color: var(--dim); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 64px; display: flex; align-items: center;
  transition: background 0.3s, border-color 0.3s; border-bottom: 1.5px dashed transparent;
}
.nav.solid { background: var(--bg); border-color: var(--rule); }
.nav-in { display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); }
.brand .mark { width: 30px; height: 30px; }
.brand .word { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.nav-links { display: none; gap: 2px; margin-left: auto; }
.nav-links a { white-space: nowrap; color: var(--muted); text-decoration: none; font-size: 14px; padding: 8px 12px; border-radius: 6px; transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--fg); background: var(--elev); }
.theme { width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--fg); display: grid; place-items: center; cursor: pointer; flex: none; transition: background 0.2s; }
.theme:hover { background: var(--elev); }
.theme .i { width: 17px; height: 17px; }
.theme .ic-sun, :root[data-theme="dark"] .theme .ic-moon { display: none; }
:root[data-theme="dark"] .theme .ic-sun { display: block; }
/* «Ещё»: everything that is not a part of the home page lives behind one icon; the links stay in the HTML for search */
.xm { position: relative; margin-left: auto; flex: none; }
.theme { margin-left: 4px; }
.lang { height: 38px; min-width: 38px; padding: 0 9px; border-radius: 8px; border: 1px solid var(--line); color: var(--fg); display: grid; place-items: center; flex: none; font: 600 12px var(--mono); letter-spacing: 0.04em; text-decoration: none; transition: background 0.2s; }
.lang:hover { background: var(--elev); }
.xm-btn { position: relative; width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--fg); display: grid; place-items: center; cursor: pointer; transition: background 0.2s, transform 0.3s var(--ease); }
.xm-btn:hover, .xm-btn[aria-expanded="true"] { background: var(--elev); }
.xm-btn .i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform 0.4s var(--ease); }
.xm-btn[aria-expanded="true"] .i { transform: rotate(45deg); }
.xm-btn circle { fill: var(--em); stroke: var(--em); }
/* the hint that there is more: a soft pulse on the green tile until the menu was opened once */
.xm-dot { position: absolute; right: 7px; bottom: 7px; width: 10px; height: 10px; border-radius: 50%; pointer-events: none; }
.xm:not(.seen) .xm-dot { animation: morePulse 2.4s 3s ease-out infinite; }
@keyframes morePulse { 0% { box-shadow: 0 0 0 0 var(--em-line); } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }
.xm-n { position: absolute; right: -7px; top: -7px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--fg); color: var(--bg); font: 700 10px/18px var(--mono); text-align: center; }
.xm-n:empty { display: none; }
/* the map opens under the header, over the page */
.xm-menu { position: fixed; left: 0; right: 0; top: 64px; max-height: calc(100vh - 64px); overflow-y: auto; overscroll-behavior: contain; background: var(--bg);
  border-bottom: 1.5px dashed var(--rule); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45); opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.3s var(--ease), visibility 0s 0.3s; }
.xm.open .xm-menu { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s, transform 0.3s var(--ease); }
.xm-in { padding-top: 18px; padding-bottom: 26px; }
.xm-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.xm-title { font: 700 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.xm-top a { font-size: 13px; color: var(--muted); }

/* ---------- the map of the site: the mark in the middle, sections as stamps, pages as chips (build.py site_map) ---------- */
.smap { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) 130px minmax(0, 1fr); gap: 26px 0; padding: 14px 0; }
.sm-0 { grid-column: 1; grid-row: 2 / span 2; align-self: center; margin-right: 12px; }
.sm-1, .sm-2 { grid-column: 3; margin-left: 12px; align-self: center; }
.sm-1 { grid-row: 2; } .sm-2 { grid-row: 3; }
/* «Инструменты»: the main block, a green band over the whole map, each tool a card with what it does */
.sm-tools { grid-column: 1 / -1; grid-row: 1; position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px;
  padding: 16px; margin-bottom: 10px; border: 1.5px solid var(--em-line); border-radius: 14px; background: linear-gradient(var(--em-soft), var(--em-soft)), var(--bg); transition: opacity 0.2s; }
.sm-tools .sm-h { grid-column: 1 / -1; }
.sm-more { margin-left: auto; padding: 2px 9px; border: 1px solid var(--em-line); border-radius: 999px; font: 600 12px/1.5 var(--display); color: var(--em); text-decoration: none; }
.sm-more:hover, .sm-more:focus-visible { border-color: var(--em); background: var(--em-soft); }
.sm-tool { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; row-gap: 3px; align-content: start; padding: 12px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--fg); text-decoration: none; transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; }
.sm-tool:hover, .sm-tool:focus-visible { border-color: var(--em); transform: translateY(-2px); box-shadow: 0 12px 24px -18px rgba(0, 0, 0, 0.5); color: var(--fg); }
.sm-tico { grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: 9px; background: #10B981; color: #06261A; display: grid; place-items: center; }
.sm-tico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sm-tool.sm-hero { border-color: var(--em); background: linear-gradient(var(--em-soft), var(--em-soft)), var(--bg); box-shadow: 0 0 0 1px var(--em), 0 14px 28px -18px rgba(16, 185, 129, 0.55); }
.sm-tool b { font: 600 13.5px/1.25 var(--display); }
.sm-tool small { font-size: 12px; line-height: 1.35; color: var(--muted); }
.smap:has(.sm-sec:hover) .sm-tools, .smap:has(.sm-tools:hover) .sm-sec { opacity: 0.4; }
.sm-core { grid-column: 2; grid-row: 2 / span 2; align-self: center; justify-self: center; display: grid; justify-items: center; gap: 8px; z-index: 2; text-decoration: none; color: var(--fg); }
.sm-tile { width: 64px; height: 64px; border-radius: 16px; background: #10B981; display: grid; place-items: center; box-shadow: 0 0 0 8px var(--em-soft); transition: transform 0.3s var(--ease); }
.sm-core:hover .sm-tile { transform: scale(1.06); }
.sm-tile svg { width: 40px; height: 40px; }
.sm-core b { font: 600 13px var(--display); }
.sm-core small { font: 500 10.5px var(--mono); color: var(--muted); }
.sm-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.sm-wires path { fill: none; stroke: var(--rule); stroke-width: 1.5; stroke-dasharray: 4 5; transition: stroke 0.2s; }
.sm-wires circle { fill: var(--rule); transition: fill 0.2s; }
.sm-wires .hot { stroke: var(--em); fill: none; stroke-dasharray: none; stroke-width: 2; }
.sm-wires circle.hot { fill: var(--em); stroke: none; }
.sm-sec { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; min-width: 0; transition: opacity 0.2s; }
.smap:has(.sm-sec:hover) .sm-sec:not(:hover) { opacity: 0.4; }
.sm-h { flex: 0 0 100%; display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.sm-h b, .sm-h a { font: 700 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--em); border: 3px double currentColor; border-radius: 6px; padding: 7px 10px; transform: rotate(-3deg); background: var(--bg); text-decoration: none; }
.sm-h span { font: 500 10.5px var(--mono); color: var(--muted); }
.sm-g { flex: 0 0 100%; margin-top: 4px; font: 500 10px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.sm-g:hover { color: var(--fg); }
.sm-pg { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--fg); font-size: 12.5px; line-height: 1.2; text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.sm-pg:hover, .sm-pg:focus-visible { border-color: var(--em); transform: translateY(-1px); color: var(--fg); }
.sm-pg.sm-doc { border-style: dashed; background: transparent; color: var(--muted); }
.sm-ico { flex: none; width: 16px; height: 16px; border-radius: 4px; display: grid; place-items: center; font: 700 8px/1 var(--mono); color: #fff; }
.sm-ico.fp { background: #E8572A; } .sm-ico.gg { background: #6C4CF5; } .sm-ico.pl { background: #1E88E5; } .sm-ico.st { background: #2A475E; }
.sm-ico.cmp { background: var(--muted); } .sm-ico.em { background: #10B981; color: #06261A; } .sm-ico.sd { background: transparent; color: var(--muted); border: 1px solid var(--rule); }
@media (max-width: 1180px) { .sm-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .smap { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .sm-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 0; }
  .sm-core, .sm-0, .sm-1, .sm-2 { grid-column: 1; grid-row: auto; margin: 0; }
  .sm-core { justify-self: start; grid-auto-flow: column; align-items: center; }
  .sm-wires { display: none; }
}
@media (max-width: 520px) { .sm-tools { grid-template-columns: minmax(0, 1fr); padding: 12px; gap: 8px; } .sm-tool { padding: 10px; } }
.doc.karta .wrap { max-width: 1200px; } /* over .doc .wrap below */
.karta .smap { margin-top: 28px; }
.xm-tip { position: absolute; right: -6px; top: calc(100% + 12px); width: max-content; max-width: 240px; padding: 9px 12px; border-radius: 8px; background: var(--fg); color: var(--bg); font-size: 13px; line-height: 1.35;
  animation: tipIn 0.5s var(--ease); }
.xm-tip::before { content: ""; position: absolute; right: 18px; top: -5px; width: 10px; height: 10px; background: inherit; transform: rotate(45deg); }
@keyframes tipIn { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 899px) { .xm-tip { right: -60px; } .xm-tip::before { right: 74px; } }
@media (min-width: 1080px) { .nav-links { display: flex; } .xm { margin-left: 4px; } }
@media (max-width: 420px) { .hide-xs { display: none; } }
@media (max-width: 420px) { .nav-in { gap: 8px; } .theme { margin-left: 0; } .lang { min-width: 34px; padding: 0 6px; } }

/* ---------- splash: the first seconds, like a title sequence ---------- */
.splash { position: fixed; inset: 0; z-index: 90; background: var(--bg); display: grid; place-items: center; overflow: hidden;
  animation: splashOut 0.7s 2.35s var(--ease) forwards; }
.splash.skip { animation: splashOut 0.35s var(--ease) forwards; }
.splash.gone { display: none; }
@keyframes splashOut { to { opacity: 0; visibility: hidden; transform: scale(1.04); } }
.sp-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.sp-lines path, .sp-lines circle, .sp-lines rect { fill: none; stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s var(--ease) forwards; }
.sp-lines > :nth-child(2n) { animation-delay: 0.1s; }
.sp-lines > :nth-child(3n) { animation-delay: 0.2s; }
.sp-lines .sp-frame { stroke: var(--fg); animation-duration: 1.1s; animation-delay: 0.25s; }
.sp-center { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.sp-mark { width: min(26vmin, 180px); height: min(26vmin, 180px); overflow: visible; }
.sp-mark .s { fill: none; stroke: var(--em); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 1s 0.5s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
.sp-mark .dot { fill: var(--em); transform-origin: 46px 18.5px; transform: scale(0); animation: pop 0.45s 1.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.sp-word { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 3.4vw, 34px); letter-spacing: -0.02em; display: flex; overflow: hidden; }
.sp-word span { display: inline-block; transform: translateY(110%); animation: up 0.6s var(--ease) forwards; }
.sp-word span:nth-child(1) { animation-delay: 1.5s; } .sp-word span:nth-child(2) { animation-delay: 1.54s; } .sp-word span:nth-child(3) { animation-delay: 1.58s; }
.sp-word span:nth-child(4) { animation-delay: 1.62s; } .sp-word span:nth-child(5) { animation-delay: 1.66s; } .sp-word span:nth-child(6) { animation-delay: 1.7s; }
.sp-word span:nth-child(7) { animation-delay: 1.74s; } .sp-word span:nth-child(8) { animation-delay: 1.78s; } .sp-word span:nth-child(9) { animation-delay: 1.82s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { transform: scale(1); } }
@keyframes up { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }

/* the page waits under the splash; its entrance starts when the splash leaves (body.go) */
.rise { opacity: 0; transform: translateY(16px); }
body.go .rise { animation: rise 0.8s var(--ease) forwards; }
body.go .rise.r1 { animation-delay: 0.45s; } body.go .rise.r2 { animation-delay: 0.9s; } body.go .rise.r3 { animation-delay: 1.05s; } body.go .rise.r4 { animation-delay: 1.2s; }
/* Селя in the hero speaks last: she waits for the headline (done ~2 s in) instead of standing there while blocks above still animate */
.hero .sy { opacity: 0; transform: translateY(16px); }
body.go .hero .sy { animation: rise 0.8s 1.9s var(--ease) forwards; }
body:not(.go) .hero *, body:not(.go) .hero *::before, body:not(.go) .hero *::after { animation-play-state: paused !important; }

/* ---------- hero: the mark and the name, the words, a receipt of one real order, then the real panel ---------- */
.hero { position: relative; padding-top: 64px; overflow: hidden; isolation: isolate; }
.hero-lines { position: absolute; left: 0; top: 0; width: 100%; height: 100svh; z-index: -1; pointer-events: none; }
.hero-lines .ln path, .hero-lines .ln circle { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s var(--ease) forwards; }
.hero-lines .ln > :nth-child(2n) { animation-delay: 0.12s; }
.hero-lines .ln > :nth-child(3n) { animation-delay: 0.24s; }
.hero-lines .ln circle { animation-duration: 2.2s; animation-delay: 0.3s; }

.hero-in { display: grid; gap: 48px; align-items: center; padding-top: clamp(24px, 5vh, 60px); padding-bottom: 56px; }
@media (min-width: 980px) { .hero-in { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 56px; } }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.hero-lock { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
/* the mark as a thick tile: eight layers behind the face, turned a little by the mouse */
.mark3d { position: relative; width: 60px; height: 60px; transform-style: preserve-3d; transform: perspective(600px) rotateX(var(--rx, 10deg)) rotateY(var(--ry, -16deg));
  transition: transform 0.5s var(--ease); animation: tileIn 1s 0.05s var(--ease) both; }
.mark3d i { position: absolute; inset: 0; border-radius: 14px; background: #0A6B4D; transform: translateZ(calc(var(--z) * -1px)); }
.mark3d i:nth-child(1) { --z: 1; background: #0E8F67; } .mark3d i:nth-child(2) { --z: 2; background: #0D8460; } .mark3d i:nth-child(3) { --z: 3; background: #0C7A59; }
.mark3d i:nth-child(4) { --z: 4; background: #0B7053; } .mark3d i:nth-child(5) { --z: 5; background: #0A664C; } .mark3d i:nth-child(6) { --z: 6; background: #095C45; }
.mark3d i:nth-child(7) { --z: 7; background: #08523E; } .mark3d i:nth-child(8) { --z: 8; background: #074837; }
.hero-mark { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: translateZ(0.5px); }
.hm-tile { fill: #10B981; }
.hm-s { fill: none; stroke: var(--tile-ink); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 0.9s 0.45s var(--ease) forwards; }
.hm-dot { fill: var(--tile-ink); transform-origin: 46px 18.5px; transform: scale(0); animation: pop 0.5s 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.hm-ping { fill: none; stroke: var(--tile-ink); stroke-width: 2; transform-origin: 46px 18.5px; opacity: 0; animation: ping 2.4s 1.6s ease-out infinite; }
@keyframes tileIn { from { opacity: 0; transform: perspective(600px) rotateX(60deg) rotateY(-70deg) scale(0.5); } }
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 70%, 100% { transform: scale(3.2); opacity: 0; } }
.hero-word { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -0.03em; display: flex; overflow: hidden; padding-bottom: 0.08em; }
.hero-word span { display: inline-block; transform: translateY(110%); animation: up 0.6s var(--ease) forwards; }
.hero-word span:nth-child(1) { animation-delay: 0.3s; } .hero-word span:nth-child(2) { animation-delay: 0.34s; } .hero-word span:nth-child(3) { animation-delay: 0.38s; }
.hero-word span:nth-child(4) { animation-delay: 0.42s; } .hero-word span:nth-child(5) { animation-delay: 0.46s; } .hero-word span:nth-child(6) { animation-delay: 0.5s; }
.hero-word span:nth-child(7) { animation-delay: 0.54s; } .hero-word span:nth-child(8) { animation-delay: 0.58s; } .hero-word span:nth-child(9) { animation-delay: 0.62s; }

.eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.hero-title { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 5.2vw, 62px); line-height: 1.05; letter-spacing: -0.03em; }
@media (max-width: 350px) { .hero-title { font-size: 28px; } } /* «в одной панели» is one unbreakable piece */
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero-title .w > span { display: inline-block; transform: translateY(105%); animation: up 0.9s var(--ease) forwards; }
.hero-title .w:nth-of-type(1) > span { animation-delay: 0.5s; } .hero-title .w:nth-of-type(2) > span { animation-delay: 0.56s; }
.hero-title .w:nth-of-type(3) > span { animation-delay: 0.62s; } .hero-title .w:nth-of-type(4) > span { animation-delay: 0.68s; }
.hero-title .w:nth-of-type(5) > span { animation-delay: 0.74s; } .hero-title .w:nth-of-type(6) > span { animation-delay: 0.8s; }
.hero-title .w:nth-of-type(7) > span { animation-delay: 0.86s; } .hero-title .w:nth-of-type(8) > span { animation-delay: 0.92s; }
/* the highlighter: drawn under the words after they arrive */
.mark-hi { background: linear-gradient(var(--hi), var(--hi)) no-repeat 0 88% / 0 40%; animation: hi 0.7s 1.35s var(--ease) forwards; }
body:not(.go) .mark-hi { animation-play-state: paused; }
@keyframes hi { to { background-size: 100% 40%; } }
.sec h2 .mark-hi, .final .mark-hi { animation: none; background-size: 100% 40%; }
.hero-sub { margin-top: 22px; font-size: clamp(16px, 1.8vw, 19px); color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 520px) { .hero-cta { flex-direction: column; align-self: stretch; } }

/* ---------- hero: three ways to install, and Селя made of cubes (static/js/selya3d.js) ---------- */
.get { margin-top: 32px; align-self: stretch; max-width: 660px; }
.get-opts { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 10px; }
.get-opt { position: relative; display: flex; flex-direction: column; min-height: 156px; padding: 16px 16px 14px; border: 1.5px solid var(--rule);
  border-radius: 12px; background: var(--surface); color: var(--fg); text-decoration: none; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.get-opt:hover { border-color: var(--fg); }
.get-opt.main { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.get-opt.main:hover { background: var(--muted); border-color: var(--muted); }
.get-opt .gi { width: 26px; height: 26px; stroke-width: 1.7; }
.get-opt .go { position: absolute; right: 14px; top: 16px; width: 18px; height: 18px; opacity: 0.5; transition: transform 0.25s var(--ease), opacity 0.2s; }
.get-opt:hover .go { opacity: 1; transform: translateY(2px); }
.get-opt:not(.main):hover .go { transform: translateX(2px); }
.get-opt strong { margin-top: auto; padding-top: 18px; font: 600 16px/1.2 var(--display); letter-spacing: -0.02em; }
.get-opt span { margin-top: 4px; font-size: 13.5px; line-height: 1.35; color: var(--muted); }
.get-opt.main span { color: inherit; opacity: 0.72; }
.get-opt small { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--rule); font: 500 11px/1.3 var(--mono); letter-spacing: 0.02em; color: var(--dim); }
.get-opt.main small { color: inherit; opacity: 0.6; border-top-color: color-mix(in srgb, var(--bg) 35%, transparent); }
.get-opt[hidden] { display: none; }
.get-meta { margin-top: 12px; font: 400 12px/1.5 var(--mono); color: var(--dim); }
.get-more { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; font-size: 14px; }
.get-more a { display: inline-flex; align-items: center; gap: 6px; color: var(--fg); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; }
.get-more a:hover { text-decoration-color: currentColor; }
.get-more .i { width: 12px; height: 12px; fill: currentColor; stroke: none; }
@media (max-width: 640px) {
  .get-opts { grid-template-columns: 1fr; }
  .get-opt { min-height: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 14px 44px 14px 14px; }
  .get-opt .gi { grid-row: 1 / 4; }
  .get-opt .go { top: 50%; margin-top: -9px; }
  .get-opt strong { margin: 0; padding: 0; }
  .get-opt small { margin-top: 4px; padding-top: 0; border-top: 0; }
}

.hs { position: relative; align-self: stretch; min-height: 360px; height: clamp(360px, 44vw, 580px); }
@media (min-width: 980px) { .hs { margin-right: calc(var(--gut) * -1); } }
.hs canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hs .hs-flat { display: none; }
.hs.flat canvas { display: none; }
.hs.flat .hs-flat { display: block; position: absolute; left: 50%; top: 54%; width: min(64%, 300px); height: auto; aspect-ratio: 1; transform: translate(-50%, -50%); }
.hs .sy { position: absolute; left: 0; top: 2%; z-index: 1; margin: 0; max-width: min(320px, 78%); pointer-events: none; }
.hs .sy .sy-me { display: none; }
.hs .sy-say { margin: 0; font-size: 14px; pointer-events: auto; }
.hs .sy-say::before { left: auto; right: 38px; bottom: -7px; transform: rotate(-45deg); }
@media (max-width: 979px) {
  .hs { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .hs canvas { position: relative; height: 340px; }
  .hs .sy { position: relative; max-width: none; }
  .hs.flat .hs-flat { position: relative; left: auto; top: auto; transform: none; width: 240px; margin: 16px auto 0; }
}

/* the receipt of one order: printed line by line, then stamped */
.rcpt-wrap { position: relative; justify-self: center; width: min(380px, 100%); }
#heroRc .rcpt { transform: rotate(1.5deg); }
.rcpt { --z: 12px; background: var(--surface); padding: 26px 24px 32px; font: 13px/1.5 var(--mono); color: var(--fg); display: grid; gap: 9px;
  filter: drop-shadow(0 1px 0 var(--line)) drop-shadow(0 16px 22px rgba(20, 20, 20, 0.09));
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--z) 51% repeat-x, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--z) 51% repeat-x;
          mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--z) 51% repeat-x, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--z) 51% repeat-x; }
:root[data-theme="dark"] .rcpt { filter: drop-shadow(0 1px 0 var(--line)) drop-shadow(0 16px 22px rgba(0, 0, 0, 0.4)); }
.rc-head { text-align: center; display: grid; gap: 2px; padding-bottom: 9px; border-bottom: 1.5px dashed var(--rule); }
.rc-head b { font: 700 15px/1.2 var(--display); letter-spacing: 0.04em; }
.rc-head span { color: var(--muted); font-size: 12px; }
.rc-item { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; }
.rc-item img { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; }
.rc-item small { display: block; color: var(--muted); font-size: 12px; }
/* the hero's «Ваши лоты»: a lot per line — its marketplace, name, how it is delivered, price */
.rc-lot { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.rc-lot .pf { width: 16px; height: 16px; border-radius: 4px; margin-top: 2px; }
.rc-lot b { display: block; font-weight: 600; font-size: 12.5px; line-height: 1.35; }
.rc-lot small { display: block; color: var(--muted); font-size: 11.5px; }
.rc-lot > :last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.lead.rc-sum { padding-top: 9px; border-top: 1.5px dashed var(--rule); }
.lead { display: flex; align-items: baseline; gap: 6px; }
.lead::after { content: ""; order: 1; flex: 1; border-bottom: 1.5px dotted var(--rule); transform: translateY(-4px); }
.lead > :last-child { order: 2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lead.total { font-weight: 700; font-size: 14.5px; padding-top: 7px; border-top: 1.5px dashed var(--rule); }
.lead.total > :last-child { color: var(--em); }
.rc-time { color: var(--muted); font-size: 12px; display: grid; gap: 1px; padding-top: 4px; }
.rc-time span { display: flex; gap: 10px; }
.rc-time em { font-style: normal; color: var(--fg); }
.rcpt .pl { opacity: 0; transform: translateY(-4px); transition: opacity 0.35s, transform 0.35s var(--ease); }
.rcpt .pl.on { opacity: 1; transform: none; }
.big-stamp { position: absolute; right: -22px; bottom: 10px; transform: rotate(-11deg); color: var(--em); border: 3px double currentColor; border-radius: 8px;
  padding: 8px 13px; font: 700 16px/1.1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; text-align: center; background: color-mix(in srgb, var(--surface) 55%, transparent);
  opacity: 0; pointer-events: none; }
.big-stamp small { display: block; font-size: 10px; letter-spacing: 0.12em; font-weight: 500; margin-top: 3px; }
.big-stamp.on { animation: stampIn 0.45s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
@keyframes stampIn { from { transform: rotate(-11deg) scale(1.7); opacity: 0; } to { transform: rotate(-11deg); opacity: 0.94; } }
@media (max-width: 760px) { .big-stamp { right: 0; } }

/* the real panel under it */
.hero-app-wrap { position: relative; perspective: 1700px; padding-bottom: 24px; }
.hero-app { transform-origin: 50% 0; transform: rotateX(var(--tilt, 16deg)) scale(var(--sc, 0.94)); will-change: transform; opacity: 0; animation: appIn 1.2s 1.25s var(--ease) forwards; }
@keyframes appIn { from { opacity: 0; translate: 0 70px; } to { opacity: 1; translate: 0 0; } }
/* a note in the margin, pointing at the live panel (owner 2026-10-12): the best argument is the panel itself */
.demo-note { position: absolute; z-index: 3; right: calc(var(--gut) + 2%); top: -104px; margin: 0; text-align: right; transform: rotate(-3deg); pointer-events: none; opacity: 0; animation: noteIn 0.8s 2.4s var(--ease) forwards; }
.demo-note span { display: block; white-space: nowrap; }
.demo-note .dn-1 { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; color: var(--em); }
.demo-note .dn-2 { margin-top: 2px; font-size: 15px; color: var(--muted); }
.dn-arrow { position: absolute; right: 100%; top: 14px; width: 74px; height: 92px; margin-right: 8px; fill: none; stroke: var(--em); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.dn-line { stroke-dasharray: 140; stroke-dashoffset: 140; animation: noteDraw 0.9s 2.9s var(--ease) forwards; }
.dn-head { opacity: 0; animation: noteIn 0.3s 3.6s forwards; }
@keyframes noteIn { to { opacity: 1; } }
@keyframes noteDraw { to { stroke-dashoffset: 0; } }
@media (max-width: 899px) {
  .demo-note { position: relative; right: auto; top: auto; transform: none; text-align: center; margin: 0 auto 14px; padding-bottom: 46px; }
  .dn-arrow { right: auto; left: 50%; top: auto; bottom: 0; width: 40px; height: 44px; margin: 0 0 0 -20px; }
  .dn-line { stroke-dasharray: none; stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-note, .dn-head { opacity: 1; animation: none; }
  .dn-line { stroke-dashoffset: 0; animation: none; }
}
.hero-hint { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 18px; color: var(--muted); font-size: 13px; }
.hero-hint > span { margin-right: 4px; }
.hero-hint button { height: 32px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 13px; cursor: pointer; transition: color 0.2s, background 0.2s, border-color 0.2s; }
.hero-hint button:hover { color: var(--fg); border-color: var(--fg); }
.hero-hint button[aria-pressed="true"] { color: var(--bg); background: var(--fg); border-color: var(--fg); }

/* ---------- a browser window around the real panel or a marketplace page ---------- */
.win { border-radius: 10px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.win-bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--chrome); border-bottom: 1px solid var(--line); position: relative; }
.win-bar > i { width: 10px; height: 10px; border-radius: 50%; background: var(--rule); flex: none; }
.win-url { margin: 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 14px; border-radius: 6px; background: var(--bg);
  color: var(--muted); font-size: 12px; font-family: var(--mono); max-width: 70%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.win-url .i { width: 11px; height: 11px; flex: none; }
@media (max-width: 520px) { .win-url { font-size: 11px; padding: 0 10px; max-width: none; min-width: 0; } }
.win.light .win-bar { background: #ECECE5; border-color: #DCDCD3; }
.win.light .win-bar > i { background: #CFCFC7; }
.win.light .win-url { background: #fff; color: #5F5F59; }
/* the demo panel is drawn at a desktop size (1440×900) and scaled to the window, like a screenshot that works */
.frame { position: relative; aspect-ratio: 16 / 10; background: var(--bg); overflow: hidden; }
.frame .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.frame .stage { position: absolute; left: 0; top: 0; width: 1440px; height: 900px; transform: scale(var(--fs, 0.75)); transform-origin: 0 0; opacity: 0; transition: opacity 0.5s; }
.frame .stage.ready { opacity: 1; }
.frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.frame-open { display: none; }
@media (max-width: 720px) {
  .frame .stage, .hero-hint { display: none; }
  .frame-open { display: inline-flex; align-items: center; gap: 8px; position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); height: 38px; padding: 0 14px;
    border-radius: 8px; background: var(--fg); color: var(--bg); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
}

/* small shared bits */
.tag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 4px; font: 700 10.5px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
  border: 1.5px solid currentColor; color: var(--em); white-space: nowrap; }
.cb { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--fg); display: inline-grid; place-items: center; flex: none; transition: background 0.2s; }
.mod input:checked + .cb, .agree input:checked + .cb { background: var(--fg); }
.mod input:checked + .cb::after, .agree input:checked + .cb::after { content: ""; width: 7px; height: 4px; border: 2px solid var(--bg); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
/* the marketplaces' own favicons */
.pf { display: inline-block; width: 16px; height: 16px; border-radius: 4px; flex: none; vertical-align: -3px; }

/* ---------- strip ---------- */
.strip { border-top: 1.5px dashed var(--rule); border-bottom: 1.5px dashed var(--rule); }
.strip-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; padding-top: 18px; padding-bottom: 18px; font-size: 14px; color: var(--muted); }
.strip-h { font: 500 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.strip-i { display: inline-flex; align-items: center; gap: 7px; color: var(--fg); }
.strip-sep { width: 1.5px; height: 18px; background: var(--rule); }
@media (max-width: 640px) { .strip-sep { flex-basis: 100%; height: 0; } }

/* ---------- sections ---------- */
.sec { padding: 88px 0; }
@media (min-width: 1024px) { .sec { padding: 120px 0; } }
.sec + .sec { border-top: 1.5px dashed var(--rule); }
.sec-head { max-width: 780px; margin-bottom: 44px; }
.kicker { font: 500 12px/1 var(--mono); color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; display: flex; gap: 10px; align-items: center; }
.kicker b { color: var(--fg); font-weight: 700; }
.sec h2 { font-family: var(--display); font-size: clamp(27px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.03em; }
.sec-head > p:not(.kicker) { margin-top: 18px; color: var(--muted); font-size: clamp(16px, 1.8vw, 18px); max-width: 44em; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .kicker { justify-content: center; }
.sec-head.center > p:not(.kicker) { margin-left: auto; margin-right: auto; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- «Как это работает»: a film made of real frames of the panel ---------- */
.film-sec { padding-top: 72px; }
.film-sec .sec-head { margin-bottom: 26px; }
.film { max-width: 1040px; margin: 0 auto; }
.film-cap { display: flex; gap: 18px; align-items: flex-start; min-height: 104px; margin-bottom: 14px; }
.film-n { font-size: 13px; padding: 5px 7px 4px; border: 1.5px solid var(--fg); border-radius: 4px; margin-top: 6px; flex: none; font-weight: 700; }
.film-txt h3 { font-family: var(--display); font-size: clamp(21px, 2.8vw, 31px); line-height: 1.15; letter-spacing: -0.03em; }
.film-txt p { color: var(--muted); margin-top: 8px; font-size: 16px; max-width: 50em; }
.film-txt.swap { animation: capIn 0.6s var(--ease); }
@keyframes capIn { from { opacity: 0; transform: translateY(10px); } }
.film-stage { position: relative; }
.film-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); }
.cam { position: absolute; inset: 0; transform-origin: 0 0; transition: transform 1.3s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.3s; will-change: transform; }
.cam.ghost { transition: opacity 0.45s ease; pointer-events: none; }
.cam.ghost.fade { opacity: 0; }
.fr { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; opacity: 0; transition: opacity 0.5s; }
.fr.on { opacity: 1; }
.fr[data-f="ggsel"] { background: #fff; }
/* the highlight lives over the camera, in the view's own pixels: it never scales with the picture */
.hl { position: absolute; left: 0; top: 0; width: 0; height: 0; border: 2px solid var(--fg); border-radius: 8px; opacity: 0; pointer-events: none; z-index: 4;
  transition: opacity 0.35s; }
.hl.on { opacity: 1; }
.hl b { position: absolute; left: -2px; bottom: calc(100% + 8px); background: var(--fg); color: var(--bg); font: 600 13px/1 var(--sans); padding: 7px 10px; border-radius: 5px; white-space: nowrap; }
.hl.below b { bottom: auto; top: calc(100% + 8px); }
.hl.right b { left: auto; right: -2px; }
/* «Площадки»: a deck of browser windows, each a whole real product page; the top one goes under the deck in turn */
.mkts { position: absolute; inset: 0; z-index: 2; background: var(--bg); opacity: 0; pointer-events: none; transition: opacity 0.45s; }
.mkts.on { opacity: 1; }
/* 92.1 % of the view's height = 84 % of its width at 16:10 for a page of 1920×1290 under a 26 px bar */
.mkt { position: absolute; left: 8%; top: 5.2%; width: 84%; height: 92.1%; border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; transform-origin: 50% 0; transform: translateY(14%) scale(0.96); opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.45s, filter 0.6s, left 0.9s var(--ease), top 0.9s var(--ease), width 0.9s var(--ease), height 0.9s var(--ease), border-radius 0.9s; }
.mkts.on .mkt { opacity: 1; }
.mkts.on .mkt.pos0 { transform: none; z-index: 3; }
.mkts.on .mkt.pos1 { transform: translateY(-2.4%) scale(0.95); z-index: 2; filter: brightness(0.94); }
.mkts.on .mkt.pos2 { transform: translateY(-4.6%) scale(0.9); z-index: 1; filter: brightness(0.88); }
.mkts.on .mkt.out { transform: translateY(75%) rotate(-1.5deg) scale(0.97); opacity: 0; z-index: 4; filter: none;
  transition: transform 0.5s cubic-bezier(0.55, 0, 0.8, 0.4), opacity 0.45s 0.08s; }
.mkt img { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: 0 0; }
.mkt-bar { height: 26px; flex: none; display: flex; align-items: center; gap: 6px; padding: 0 10px; background: #ECECE5; color: #5F5F59; font: 11px var(--mono); border-bottom: 1px solid #DCDCD3; transition: height 0.6s, opacity 0.4s; overflow: hidden; }
.mkt-tag { position: absolute; right: 14px; bottom: 14px; color: #0B8F61; background: rgba(255, 255, 255, 0.94); opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.4s; }
.mkt.pos0 .mkt-tag { opacity: 1; transform: none; transition-delay: 0.5s; }
.deck-dots { position: absolute; left: 50%; bottom: 1.4%; z-index: 5; transform: translateX(-50%); display: flex; gap: 6px; opacity: 0; transition: opacity 0.3s; }
.mkts.on .deck-dots { opacity: 1; }
.deck-dots i { width: 22px; height: 3px; border-radius: 2px; background: var(--line); transition: background 0.3s; }
.deck-dots i.on { background: var(--fg); }
/* «Покупка»: the GGSel window on top grows into the whole window */
.mkts.grow { background: transparent; }
.mkts.grow .mkt:not(.pos0), .mkts.grow .deck-dots { opacity: 0; }
.mkts.grow .mkt.pos0 { left: 0; top: 0; width: 100%; height: 100%; border-radius: 0; border-color: transparent; }
.mkts.grow .mkt-bar { height: 0; opacity: 0; border: 0; }
.mkts.grow .mkt-tag { opacity: 0; transition-delay: 0s; }
/* the cursor of product videos: a hand */
.hand { position: absolute; left: 0; top: 0; z-index: 6; width: 34px; height: 34px; margin: -3px 0 0 -12px; pointer-events: none; opacity: 0;
  transition: transform 0.9s cubic-bezier(0.45, 0, 0.2, 1), opacity 0.3s; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35)); }
.hand.on { opacity: 1; }
.hand.press path { transform: scale(0.9); transform-origin: 12px 4px; }
.hand path { fill: #fff; stroke: #111; stroke-width: 1.3; stroke-linejoin: round; transition: transform 0.12s; }
.tap { position: absolute; left: 0; top: 0; z-index: 5; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 2px solid var(--fg); opacity: 0; pointer-events: none; }
.tap.go { animation: tap 0.6s ease-out; }
@keyframes tap { from { transform: scale(0.3); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
/* «Итог»: the end card of the film — the mark draws itself, the slogan rises, then a way to start */
.fin { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; text-align: center;
  background: radial-gradient(circle at 50% 42%, var(--em-soft), transparent 62%), var(--bg); opacity: 0; visibility: hidden; transition: opacity 0.6s, visibility 0s 0.6s; }
.fin.on { opacity: 1; visibility: visible; transition: opacity 0.6s; }
.fin .sp-mark { width: clamp(64px, 12%, 120px); height: auto; }
.fin:not(.on) .sp-mark .s, .fin:not(.on) .sp-mark .dot, .fin:not(.on) .fin-t span, .fin:not(.on) .fin-sum li, .fin:not(.on) .fin-cta { animation: none; }
.fin-t { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(22px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.03em; }
.fin-t span { display: inline-block; opacity: 0; transform: translateY(40%); animation: finUp 0.7s var(--ease) forwards; animation-delay: 1.5s; }
.fin-t span + span { color: var(--em); animation-delay: 1.9s; }
.fin-sum { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 4vw, 44px); color: var(--muted); font-size: 13px; }
.fin-sum li { display: flex; flex-direction: column; gap: 2px; opacity: 0; animation: finUp 0.6s var(--ease) forwards; }
.fin-sum li:nth-child(1) { animation-delay: 2.5s; } .fin-sum li:nth-child(2) { animation-delay: 2.65s; } .fin-sum li:nth-child(3) { animation-delay: 2.8s; }
.fin-sum b { font-family: var(--display); font-size: clamp(18px, 2.6vw, 28px); color: var(--fg); letter-spacing: -0.02em; }
.fin-cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; opacity: 0; animation: finUp 0.6s 3.3s var(--ease) forwards; }
@keyframes finUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) { .fin { gap: 10px; } .fin-sum, .fin-cta .btn-line { display: none; } }
@media (prefers-reduced-motion: reduce) { .fin-t span, .fin-sum li, .fin-cta { opacity: 1; transform: none; animation: none; } }
/* under the film: a hand-written note with an arrow to the demo, like the one over the hero */
.film-more { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin: 26px 0 0; }
.film-more .btn .i { width: 14px; height: 14px; }
.fm-note { transform: rotate(-3deg); text-align: left; }
.fm-note > span { display: block; white-space: nowrap; }
.fm-note .dn-1 { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; color: var(--em); }
.fm-note .dn-2 { margin-top: 2px; font-size: 15px; color: var(--muted); }
.fm-arrow { width: 92px; height: 44px; flex: none; fill: none; stroke: var(--em); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.film-more .fm-note, .film-more .fm-head { opacity: 0; }
.fm-line { stroke-dasharray: 140; stroke-dashoffset: 140; }
.film.in .fm-note { animation: noteIn 0.8s 0.6s var(--ease) forwards; }
.film.in .fm-line { animation: noteDraw 0.9s 1.1s var(--ease) forwards; }
.film.in .fm-head { animation: noteIn 0.3s 1.8s forwards; }
@media (max-width: 640px) {
  .film-more { flex-direction: column-reverse; align-items: center; gap: 4px; }
  .fm-note { text-align: center; transform: none; }
  .fm-arrow { transform: rotate(-70deg); width: 56px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) { .film-more .fm-note, .film-more .fm-head { opacity: 1; animation: none; } .fm-line { stroke-dashoffset: 0; animation: none; } }
.film-nav { display: flex; align-items: flex-start; gap: 14px; margin-top: 18px; }
.film-play { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--fg); background: transparent; color: var(--fg); display: grid; place-items: center; cursor: pointer; flex: none; margin-top: -6px; }
.film-play .i { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.film-play .ic-pause { fill: none; stroke: currentColor; stroke-width: 3; }
.film-play .ic-play, .film-play.paused .ic-pause { display: none; }
.film-play.paused .ic-play { display: block; }
.film-chap { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; flex: 1; }
.film-chap button { width: 100%; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: var(--dim); font-size: 13px; transition: color 0.3s; }
.film-chap button:hover { color: var(--muted); }
.film-chap i { display: block; position: relative; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; margin-bottom: 8px; }
.film-chap i::after { content: ""; position: absolute; inset: 0; background: var(--fg); transform: scaleX(var(--p, 0)); transform-origin: 0 0; }
.film-chap li.on button, .film-chap li.done button { color: var(--fg); }
.film-chap li.done i::after { transform: scaleX(1); }
/* eight chapters: their names fit from 900 px up, below only the progress bars */
@media (max-width: 900px) { .film-chap span { display: none; } }
@media (max-width: 720px) {
  .film-cap { min-height: 150px; }
  .hl b { font-size: 11px; padding: 5px 7px; }
}

/* ---------- marketplaces: what the panel filled in on the product page ---------- */
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); flex-wrap: wrap; }
.seg button { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 6px; border: 0; background: transparent; color: var(--muted); font-size: 14px; cursor: pointer; transition: background 0.2s, color 0.2s; }
.seg button:hover { color: var(--fg); }
.seg button[aria-selected="true"], .seg button[aria-checked="true"] { background: var(--fg); color: var(--bg); }
.mp .seg { margin-bottom: 16px; }
.mp-body { display: grid; gap: 20px; }
@media (min-width: 960px) { .mp-body { grid-template-columns: 330px minmax(0, 1fr); gap: 32px; align-items: start; } }
@media (max-width: 959px) { .mp-lists { order: 2; } }
.mp-list { display: none; list-style: none; margin: 0; padding: 0; counter-reset: m; }
.mp-list.on { display: flex; flex-direction: column; }
.mp-list li { counter-increment: m; position: relative; padding: 13px 12px 13px 48px; cursor: pointer; color: var(--muted); border-bottom: 1.5px dotted var(--rule); transition: background 0.3s; }
.mp-list li::before { content: counter(m, decimal-leading-zero); position: absolute; left: 10px; top: 14px; font: 700 12px/22px var(--mono); color: var(--dim); transition: color 0.3s; }
.mp-list li b { display: block; color: var(--fg); font-size: 15px; line-height: 22px; }
.mp-list li span { display: block; font-size: 14px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.5s var(--ease), opacity 0.3s, margin 0.3s; }
.mp-list li:hover { background: var(--surface); }
.mp-list li.on { background: var(--surface); }
.mp-list li.on::before { color: var(--fg); }
.mp-list li.on span { max-height: 140px; opacity: 1; margin-top: 4px; }
.mp-view { position: relative; aspect-ratio: 1920 / 1290; overflow: hidden; background: #fff; }
.mp-img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.4s; }
.mp-img.on { opacity: 1; }
/* the spotlight: the page dims around what the panel did */
.mp-hl { position: absolute; border: 2.5px solid #141414; border-radius: 8px; box-shadow: 0 0 0 200vmax rgba(20, 20, 20, 0.28); opacity: 0; pointer-events: none;
  transition: left 0.8s var(--ease), top 0.8s var(--ease), width 0.8s var(--ease), height 0.8s var(--ease), opacity 0.4s; }
.mp-hl.on { opacity: 1; }
.mp-note { margin-top: 14px; color: var(--dim); font-size: 13px; }

/* ---------- features: the panel big and sharp, at its own size ---------- */
.show { padding: 52px 0; border-top: 1.5px dashed var(--rule); }
.show:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 1024px) { .show { padding: 76px 0; } }
.show-text { display: grid; gap: 18px; margin-bottom: 28px; }
@media (min-width: 960px) { .show-text { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.num { font: 700 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.show h3 { font-family: var(--display); font-size: clamp(23px, 3vw, 36px); line-height: 1.12; letter-spacing: -0.03em; }
.show-text p:not(.num) { color: var(--muted); font-size: 16.5px; }
.show-win img { display: block; width: 100%; height: auto; }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.ticks li { position: relative; padding-left: 26px; color: var(--fg); font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 1px; top: 5px; width: 15px; height: 15px; border-radius: 3px; border: 1.5px solid var(--em); }
.ticks li::after { content: ""; position: absolute; left: 5px; top: 9px; width: 7px; height: 4px; border: 2px solid var(--em); border-top: 0; border-right: 0; transform: rotate(-45deg); }
.more { margin-top: 36px; display: grid; grid-template-columns: 1fr; border-top: 1.5px solid var(--rule); }
@media (min-width: 640px) { .more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .more { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.more-i { padding: 22px 22px 22px 0; display: flex; flex-direction: column; gap: 6px; border-bottom: 1.5px dotted var(--rule); }
@media (min-width: 640px) { .more-i { padding-left: 22px; border-left: 1.5px dotted var(--rule); } .more-i:nth-child(2n + 1) { border-left: 0; padding-left: 0; } }
@media (min-width: 960px) { .more-i:nth-child(2n + 1) { border-left: 1.5px dotted var(--rule); padding-left: 22px; } .more-i:nth-child(3n + 1) { border-left: 0; padding-left: 0; } }
.more-i b { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.more-i .i { width: 18px; height: 18px; color: var(--fg); }
.more-i p { color: var(--muted); font-size: 14.5px; text-wrap: balance; }

/* ---------- «Ночная смена»: what the panel did while you slept, printed as a receipt ---------- */
.night { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
@media (min-width: 980px) { .night { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 64px; } }
.jobs { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--rule); }
.jobs li { display: grid; grid-template-columns: 36px 1fr; gap: 4px 14px; padding: 16px 4px; border-bottom: 1.5px dotted var(--rule); transition: background 0.3s; }
.jobs .i { grid-row: span 2; width: 22px; height: 22px; margin-top: 2px; color: var(--muted); transition: color 0.3s; }
.jobs b { font-size: 16.5px; }
.jobs p { color: var(--muted); font-size: 14.5px; grid-column: 2; }
.jobs li.on { background: var(--surface); }
.jobs li.on .i { color: var(--em); }
.night-rc { position: sticky; top: 92px; }
.rcpt.long { gap: 0; padding: 26px 22px 30px; font-size: 12.5px; }
.rcpt.long .rc-head { margin-bottom: 8px; }
.shift { list-style: none; margin: 0; padding: 0; min-height: 404px; display: flex; flex-direction: column; }
.shift li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 6px 0; border-bottom: 1px dotted var(--line); opacity: 0; transform: translateY(-4px); transition: opacity 0.4s, transform 0.4s var(--ease); }
.shift li.on { opacity: 1; transform: none; }
.shift time { color: var(--muted); }
.shift em { font-style: normal; display: block; color: var(--muted); }
.shift .ok { color: var(--em); }
.shift .warn { color: var(--amber); }
.shift-sum { display: grid; gap: 5px; margin-top: 12px; padding-top: 10px; border-top: 1.5px dashed var(--rule); opacity: 0; transition: opacity 0.5s; }
.shift-sum.on { opacity: 1; }
.night-rc .big-stamp { right: -14px; bottom: 26px; }
@media (max-width: 520px) { .night-rc .big-stamp { right: 4px; } }

/* ---------- money: balances and what happens when something goes wrong ---------- */
.money { display: grid; gap: 40px; }
@media (min-width: 980px) { .money { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; } }
.safe { display: flex; flex-direction: column; gap: 22px; }
.guards { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--rule); }
.guards li { padding: 15px 0; border-bottom: 1.5px dotted var(--rule); display: grid; gap: 4px; }
.guards b { font-size: 16px; }
.guards p { color: var(--muted); font-size: 14.5px; }
.case { position: relative; }
.case .rcpt { transform: rotate(-1deg); }
.case .big-stamp { color: var(--red); right: -10px; bottom: 18px; }
.mn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--rule); border-bottom: 1.5px dotted var(--rule); }
@media (max-width: 560px) { .mn { grid-template-columns: 1fr; } }
.mn-c { padding: 14px 14px 16px 0; display: flex; flex-direction: column; gap: 3px; }
.mn-c + .mn-c { border-left: 1.5px dotted var(--rule); padding-left: 14px; }
@media (max-width: 560px) { .mn-c + .mn-c { border-left: 0; padding-left: 0; border-top: 1.5px dotted var(--rule); } }
.mn-h { display: flex; align-items: center; gap: 7px; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.mn-c b { font: 700 22px/1.2 var(--mono); letter-spacing: -0.02em; margin-top: 6px; }
.mn-c small { color: var(--muted); font-size: 12.5px; }
.mn-btn { align-self: flex-start; margin-top: 8px; height: 28px; padding: 0 12px; border-radius: 6px; background: var(--em); color: var(--em-ink); font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; transition: transform 0.15s; }
.mn-btn.ghost { background: transparent; border: 1.5px solid var(--fg); color: var(--fg); }
.mn-steps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.mn-steps li { position: relative; padding: 9px 12px 9px 34px; border-radius: 6px; border: 1.5px dashed var(--rule); color: var(--dim); font-size: 13.5px; transition: color 0.3s, border-color 0.3s, background 0.3s; }
.mn-steps li::before { content: ""; position: absolute; left: 12px; top: 12px; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--rule); transition: 0.3s; }
.mn-steps li.on { color: var(--fg); border-style: solid; border-color: var(--em-line); background: var(--em-soft); }
.mn-steps li.on::before { background: var(--em); border-color: var(--em); }
.money-note { color: var(--muted); font-size: 14.5px; margin-top: 14px; }

/* ---------- own server ---------- */
.own-in { display: grid; gap: 40px; }
@media (min-width: 960px) { .own-in { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; } }
.own-text > p:not(.kicker) { margin-top: 18px; color: var(--muted); font-size: 17px; }
.own-grid { display: grid; grid-template-columns: 1fr; border-top: 1.5px solid var(--rule); }
@media (min-width: 560px) { .own-grid { grid-template-columns: 1fr 1fr; } }
.own-i { padding: 20px 20px 20px 0; display: flex; flex-direction: column; gap: 6px; border-bottom: 1.5px dotted var(--rule); }
@media (min-width: 560px) { .own-i:nth-child(2n) { border-left: 1.5px dotted var(--rule); padding-left: 20px; } }
.own-i b { display: flex; gap: 10px; align-items: center; }
.own-i .i { width: 18px; height: 18px; }
.own-i p { color: var(--muted); font-size: 14.5px; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); border-top: 1.5px solid var(--rule); }
.steps li { padding: 22px 22px 22px 0; border-bottom: 1.5px dotted var(--rule); }
@media (min-width: 980px) { .steps li + li { border-left: 1.5px dotted var(--rule); padding-left: 22px; } }
.steps li > b { display: inline-block; font: 700 12px/1 var(--mono); padding: 5px 7px 4px; border: 1.5px solid var(--fg); border-radius: 4px; margin-bottom: 18px; }
.steps h3 { font-size: 18px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 14.5px; }

/* ---------- pricing: the subscription as a receipt ---------- */
.price-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .price-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; } }
.price-rc { position: relative; }
.price-rc .rcpt { transform: none; gap: 10px; padding: 30px 28px 34px; font-size: 14px; }
.periods { align-self: center; }
.pc-sum { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0 2px; }
.pc-sum b { font: 700 clamp(40px, 6vw, 54px)/1 var(--mono); letter-spacing: -0.04em; }
.pc-sum span { color: var(--muted); font-size: 13px; }
.pc-sum s { color: var(--dim); font-size: 15px; }
.price-rc .btn { margin-top: 6px; }
.price-rc .tag { align-self: center; }
.price-rc .lead .dim { font-weight: 400; }
.pc-founders { font-size: 13px; color: var(--muted); text-align: center; }
.pc-founders b { color: var(--fg); }
.incl { display: flex; flex-direction: column; gap: 14px; }
.incl h3, .price-how > h3 { font-size: 18px; }
.incl-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--rule); }
.incl-list li { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 16px; row-gap: 2px; align-items: center; padding: 15px 0; border-bottom: 1.5px dotted var(--rule); }
.incl-list .ico { grid-row: 1 / span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; border: 1.5px solid var(--em-line); background: var(--em-soft); color: var(--em); }
.incl-list .ico .i { width: 18px; height: 18px; }
.incl-list b { font-size: 16.5px; line-height: 1.3; }
.incl-list li > span:not(.ico) { color: var(--muted); font-size: 14.5px; line-height: 1.4; }
.price-how { margin-top: 64px; display: flex; flex-direction: column; gap: 14px; }
.how { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1.5px solid var(--rule); }
.how-i { display: flex; flex-direction: column; gap: 8px; padding: 22px 0; border-bottom: 1.5px dotted var(--rule); }
.how-i .n { font: 700 12px/1 var(--mono); letter-spacing: 0.08em; color: var(--em); }
.how-i b { font-size: 17px; line-height: 1.3; }
.how-i p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (min-width: 720px) { .how { grid-template-columns: repeat(2, minmax(0, 1fr)); } .how-i:nth-child(even) { border-left: 1.5px dotted var(--rule); padding-left: 24px; } .how-i:nth-child(odd) { padding-right: 24px; } }
@media (min-width: 1100px) { .how { grid-template-columns: repeat(4, minmax(0, 1fr)); } .how-i { border-left: 1.5px dotted var(--rule); padding: 22px 22px 22px 24px; } .how-i:first-child { border-left: 0; padding-left: 0; } }
.price-ext { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 20px 24px; border: 1.5px dashed var(--rule); border-radius: 10px; }
.price-ext p { margin: 0; max-width: 52em; color: var(--muted); font-size: 15px; }
.price-ext p b { color: var(--fg); }
.price-ext .btn { flex: none; }
.pc-how { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: h; }
.pc-how li { position: relative; padding-left: 32px; color: var(--muted); font-size: 14.5px; counter-increment: h; }
.pc-how li::before { content: counter(h); position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 4px; border: 1.5px solid var(--fg); color: var(--fg); font: 700 11px/17px var(--mono); text-align: center; }
.mods { display: flex; flex-direction: column; border-top: 1.5px solid var(--rule); }
.mod { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1.5px dotted var(--rule); cursor: pointer; transition: background 0.2s; }
.mod:hover { background: var(--surface); }
.mod input, .agree input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mod input:focus-visible + .cb, .agree input:focus-visible + .cb { outline: 2px solid var(--fg); outline-offset: 2px; }
.mod .grow { flex: 1; min-width: 0; }
.mod small { display: block; color: var(--muted); font-size: 12.5px; }
.mod .mono { color: var(--fg); font-size: 13px; white-space: nowrap; }
.pc-foot { color: var(--muted); font-size: 13px; }

/* ---------- bonus days ---------- */
.bonus { display: grid; grid-template-columns: 1fr; border-top: 1.5px solid var(--rule); }
@media (min-width: 860px) { .bonus { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bonus-i { padding: 24px 24px 24px 0; display: flex; flex-direction: column; gap: 10px; border-bottom: 1.5px dotted var(--rule); }
@media (min-width: 860px) { .bonus-i + .bonus-i { border-left: 1.5px dotted var(--rule); padding-left: 24px; } }
.bonus-i .days { font: 700 30px/1 var(--mono); letter-spacing: -0.03em; }
.bonus-i .days small { font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.bonus-i b { font-size: 17px; }
.bonus-i p { color: var(--muted); font-size: 14.5px; }
.bonus-i a.go { margin-top: auto; font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.bonus-i a.go:hover { text-decoration: underline; }
.bonus-i a.go .i { width: 15px; height: 15px; }
.invited { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border: 1.5px solid var(--em-line); background: var(--em-soft); border-radius: 8px; font-size: 14.5px; margin-bottom: 28px; }
.invited .stamp { flex: none; }

/* ---------- forms ---------- */
.start-in { display: grid; gap: 40px; }
@media (min-width: 960px) { .start-in { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.start-text > p:not(.kicker) { margin-top: 18px; color: var(--muted); font-size: 17px; }
.start-text > p.dim { font-size: 15px; color: var(--muted); }
.form-card { border: 1px solid var(--line); border-radius: 10px; padding: 24px; background: var(--surface); display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) { .form-card { padding: 32px; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 13px; color: var(--muted); font-weight: 500; }
.field input, .field textarea { min-height: 48px; padding: 12px 14px; border-radius: 6px; border: 1.5px solid var(--line); background: var(--bg); color: var(--fg); font: inherit; font-size: 16px; transition: border-color 0.2s; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--fg); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); }
.field small { color: var(--dim); font-size: 12.5px; }
.field small.err { color: var(--red); }
.field-sum { font: 13.5px/1.4 var(--mono); color: var(--fg); padding: 10px 12px; border-radius: 6px; border: 1.5px dashed var(--rule); }
.agree { position: relative; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.agree .cb { margin-top: 3px; width: 18px; height: 18px; }
.form-err { color: var(--red); font-size: 14px; }
.form-err:empty { display: none; }
.form-ok { padding: 14px 16px; border: 1.5px solid var(--em-line); background: var(--em-soft); border-radius: 8px; font-size: 15px; }
.form-ok:empty { display: none; }
.form-pay { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; padding-top: 6px; }
/* payment methods: their own logos, big enough to read (owner 2026-10-12: the 12–16 px ones were not) */
.pay-chip { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px 0 11px; border-radius: 8px; background: var(--surface); color: var(--fg); border: 1px solid var(--line); text-align: left; }
.pay-chip img { width: 28px; height: 28px; border-radius: 7px; flex: none; }
.pay-chip b { display: block; font-size: 14px; font-weight: 700; line-height: 1.15; }
.pay-chip small { display: block; font-size: 12px; line-height: 1.2; color: var(--muted); }
.pay-chip.sm { height: 44px; gap: 9px; padding: 0 14px 0 10px; }
.pay-chip.sm img { width: 24px; height: 24px; border-radius: 6px; }

/* ---------- faq ---------- */
.faq-in { max-width: 880px; }
.faq { border-top: 1.5px solid var(--rule); }
.faq details { border-bottom: 1.5px dotted var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 22px/1 var(--mono); color: var(--muted); transition: transform 0.3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 40px 22px 0; }

/* ---------- final ---------- */
.final { padding: 40px 0 112px; }
.final-in { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 64px 24px; border: 1.5px dashed var(--rule); border-radius: 12px; }
.final-mark { width: 56px; height: 56px; margin-bottom: 8px; }
.final h2 { font-family: var(--display); font-size: clamp(26px, 4vw, 42px); letter-spacing: -0.03em; }
.final p { color: var(--muted); font-size: 17px; margin-bottom: 8px; }

/* ---------- footer ---------- */
.foot { border-top: 1.5px dashed var(--rule); padding: 56px 0 40px; font-size: 14px; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.4fr repeat(5, 1fr); } }
.foot-brand { grid-column: 1 / -1; }
@media (min-width: 860px) { .foot-brand { grid-column: auto; } }
.foot-brand p { color: var(--muted); margin-top: 14px; max-width: 30em; }
.foot-col { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.foot-col h3 { font: 500 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 4px; }
.foot-col a { color: var(--fg); text-decoration: none; overflow-wrap: anywhere; }
.foot-col a:hover { text-decoration: underline; }
.foot-pay { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.foot-legal { margin-top: 28px; padding-top: 22px; border-top: 1.5px dotted var(--rule); color: var(--muted); font-size: 13px; display: flex; flex-direction: column; gap: 4px; }

/* ---------- document pages and the small pages (/ideas, /trial) ---------- */
.doc { padding: 120px 0 80px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-family: var(--display); font-size: clamp(20px, 4.4vw, 40px); letter-spacing: -0.03em; line-height: 1.12; }
.doc .doc-meta { color: var(--muted); font-size: 14px; margin-top: 12px; font-family: var(--mono); }
.doc h2 { font-size: 20px; margin: 40px 0 12px; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--fg); font-size: 16px; }
.doc p + p { margin-top: 12px; }
.doc ol, .doc ul { padding-left: 22px; margin: 12px 0; display: flex; flex-direction: column; gap: 8px; }
.doc .lead-p { font-size: 18px; color: var(--muted); margin-top: 20px; }
.doc .box { margin-top: 24px; border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; background: var(--surface); }
.doc dl { display: grid; grid-template-columns: minmax(120px, 0.6fr) 1.4fr; gap: 10px 20px; margin: 0; }
.doc dt { color: var(--muted); font-size: 14px; }
.doc dd { margin: 0; color: var(--fg); overflow-wrap: anywhere; }
@media (max-width: 520px) { .doc dl { grid-template-columns: 1fr; gap: 2px; } .doc dd { margin-bottom: 10px; } }
.doc .pay-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.doc .form-card { margin-top: 28px; }
.doc .kicker { margin-bottom: 14px; }
.key-box { font: 600 17px/1.4 var(--mono); padding: 14px 16px; border: 1.5px dashed var(--fg); border-radius: 6px; word-break: break-all; user-select: all; }
.key-copy { margin-top: 10px; }
/* «Скачать для Windows»: the button, what it downloads, the checksum; and the server command folded under it */
.dl-box { margin: 24px 0; padding: 20px 22px; border: 1.5px dashed var(--fg); border-radius: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.dl-meta { color: var(--muted); font-size: 14px; }
.dl-sha { font-size: 13px; color: var(--muted); }
.dl-sha code { display: block; margin-top: 4px; font-size: 12px; }
.dl-server { margin-top: 24px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); }
.dl-server summary { cursor: pointer; font-weight: 600; }
.dl-server[open] summary { margin-bottom: 12px; }
.dl-server pre { margin: 12px 0; padding: 12px 14px; background: var(--elev); border-radius: 6px; overflow-x: auto; font-size: 13px; }
.dl-server .btn { margin-bottom: 12px; }

/* ---------- the guides (/guides, /guides/<slug>) and the tools (/tools/…) ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.doc h3 { font-size: 17px; margin: 28px 0 8px; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1.5px dotted var(--rule); }
.doc th { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); border-bottom: 1.5px solid var(--rule); }
.doc .t-scroll { overflow-x: auto; }
.doc code { font: 0.92em var(--mono); background: var(--elev); border-radius: 4px; padding: 1px 5px; overflow-wrap: anywhere; }
.doc .note { margin-top: 20px; padding: 14px 16px; border: 1.5px dashed var(--rule); border-radius: 8px; color: var(--muted); font-size: 15px; }
.doc .g-hook { margin-top: 24px; padding: 16px 18px; border: 1.5px solid var(--em-line); border-radius: 10px; background: var(--em-soft); font-weight: 500; }
.g-cta { margin-top: 48px; padding: 24px; border: 1.5px dashed var(--fg); border-radius: 10px; }
.g-cta .kicker b { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; background: #10B981; color: #090A0C; font-size: 12px; }
.g-cta p:not(.kicker) { font-size: 16px; }
.g-cta-tg { margin: 14px 0 0; font-size: .92em; color: var(--muted, inherit); }
.g-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.g-rel { margin-top: 40px; }
.g-rel ul { list-style: none; padding: 0; gap: 0; border-top: 1.5px solid var(--rule); }
.g-rel li { border-bottom: 1.5px dotted var(--rule); }
.g-rel a { display: block; padding: 12px 0; text-decoration: none; }
.g-rel a:hover { text-decoration: underline; }
.g-tool { margin-top: 18px; font-size: 16px; }
.g-group { margin-top: 44px; }
.g-group h2 { margin-top: 0; }
.doc .g-list { list-style: none; padding: 0; gap: 0; border-top: 1.5px solid var(--rule); }
.g-list li { border-bottom: 1.5px dotted var(--rule); }
.g-list a { display: grid; gap: 4px; padding: 14px 4px; text-decoration: none; border-radius: 6px; transition: background 0.2s; }
.g-list a:hover { background: var(--elev); }
.g-list b { font-size: 17px; }
.g-list span { color: var(--muted); font-size: 14.5px; }
.calc { display: grid; gap: 28px; margin-top: 28px; }
@media (min-width: 860px) { .doc.tool .wrap { max-width: 1040px; } .calc { grid-template-columns: 1fr 380px; align-items: start; } }
.calc-form { display: grid; gap: 16px; }
.calc-form .seg { justify-self: start; }
.calc-form .field small { color: var(--muted); font-size: 13px; }
.calc .rcpt { position: sticky; top: 88px; }
.calc-row { display: grid; gap: 8px; }
.calc-row[hidden] { display: none; }
.lead.loss > :last-child { color: var(--red); }

/* ---------- reduced motion: everything at its final state ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-app { --tilt: 0deg; --sc: 1; opacity: 1; }
  .splash { display: none; }
  .rise { opacity: 1; transform: none; }
  .hero-title .w > span, .hero-word span { transform: none; }
  .hm-s { stroke-dashoffset: 0; } .hm-dot { transform: none; }
  .mark-hi { background-size: 100% 40%; }
  .rcpt .pl, .shift li, .shift-sum { opacity: 1; transform: none; }
  .big-stamp { opacity: 0.94; }
}

/* ---------- pictures per theme: only the one for the current theme is shown (and, lazy, only it loads) ---------- */
:root[data-theme="dark"] .t-light, :root:not([data-theme="dark"]) .t-dark { display: none !important; }

/* ---------- small parts of the sections above ---------- */
.night-paper { width: 100%; }
.night-paper .rcpt { transform: rotate(-0.6deg); }
.lead.total.loss > :last-child { color: var(--red); }
.money.wd { margin-top: 64px; padding-top: 48px; border-top: 1.5px dashed var(--rule); }
.money.wd h3 { font-size: 20px; margin-bottom: 8px; }
.money.wd .money-note { margin-top: 0; }
.pc-lead { margin: 8px 0 14px; font-size: 14.5px; }
.periods em { font-style: normal; font: 700 11px/1 var(--mono); }
.periods button[aria-checked="true"] em { color: inherit; }
.periods button:not([aria-checked="true"]) em { color: var(--em); }
@media (max-width: 720px) {
  .mkt-tag { display: none; }
  .mkt-bar { height: 16px; font-size: 8px; padding: 0 6px; }
}

/* comparison tables (/guides «Сравнения»): the four-column one is wider than the text, on a phone a row is a card */
.doc .cmp th:last-child { color: var(--fg); }
@media (min-width: 1000px) {
  .doc .t-wide { width: min(1120px, calc(100vw - 2 * var(--gut))); margin-left: 50%; transform: translateX(-50%); }
}
@media (max-width: 719px) {
  .doc .cmp thead { display: none; }
  .doc .cmp, .doc .cmp tbody, .doc .cmp tr, .doc .cmp td { display: block; }
  .doc .cmp tr { padding: 14px 0; border-bottom: 1.5px dotted var(--rule); }
  .doc .cmp td { border: 0; padding: 3px 0; }
  .doc .cmp td:first-child { padding-bottom: 6px; }
  .doc .cmp td + td::before { content: attr(data-th); display: block; font: 500 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
  .doc .cmp td + td { margin-top: 6px; }
}

/* ---------- /stats: статистика рынка ---------- */
.st .wrap { max-width: 1200px; }
.st-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 24px 0 8px; }
.st-bar .seg img { width: 18px; height: 18px; border-radius: 4px; }
.seg button.locked::after { content: "PRO"; margin-left: 2px; font-size: 10px; letter-spacing: 0.04em; opacity: 0.55; }
.st-find { position: relative; flex: 1 1 220px; min-width: 0; }
.st-find input { width: 100%; height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font: inherit; font-size: 14px; }
.st-found { position: absolute; z-index: 20; top: 44px; left: 0; right: 0; max-height: 360px; overflow: auto; padding: 4px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18); }
.st-found a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 6px; color: var(--fg); text-decoration: none; }
.st-found a:hover { background: var(--surface); }
.st-found small, .st-found p { color: var(--muted); font-size: 12.5px; white-space: nowrap; margin: 0; }
.st-found p { padding: 8px 10px; }
#stKeyBtn.on { border-color: var(--em-line); color: var(--em); }
.st-key { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin: 12px 0; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.st-key .field { flex: 1 1 320px; margin: 0; }
.st-key-btns { display: flex; gap: 8px; }
.st-msg { margin: 12px 0; padding: 10px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); }
#stView { min-height: 320px; transition: opacity 0.2s; }
#stView.loading { opacity: 0.45; }
.st-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 20px 0; }
.st-card { padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.st-card .k { color: var(--muted); font-size: 13px; }
.st-card b { font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.st-card.rev b { color: var(--em); }
.st-card small { color: var(--dim); font-size: 12.5px; }
.st-chart { margin: 8px 0 20px; }
.st-chart svg { display: block; width: 100%; height: 170px; }
.st-chart rect { fill: var(--fg); opacity: 0.82; }
.st-chart rect:hover { opacity: 1; fill: var(--em); }
.st-chart rect.base { fill: var(--line); opacity: 1; }
.st-chart figcaption { display: flex; justify-content: space-between; color: var(--dim); font-size: 12.5px; margin-top: 6px; }
.st-sec h2 { margin-top: 36px; }
.doc .st-t td.num, .doc .st-t th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.doc .st-t td.rev { color: var(--em); }
.doc .st-t td.dim { color: var(--dim); width: 1%; }
.st-name { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; max-width: 520px; }
.st-name small { flex-basis: 100%; font-size: 12.5px; }
.st-out { color: var(--muted); text-decoration: none; }
.st-out:hover { color: var(--fg); }
.st-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.st-est, .st-empty { border-left: 2px solid var(--line); padding-left: 12px; }
.st .dim { color: var(--dim); }
.st-chart rect.stalled { fill: var(--line); opacity: 0.7; stroke: var(--dim); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.st-chart rect.stalled:hover { fill: var(--muted); }
/* страница продавца */
.st-prof { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; margin: 16px 0 0; }
.st-prof-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.st-chip { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; color: var(--fg); white-space: nowrap; }
.st-chip.dim { color: var(--dim); }
.st-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.st-delta { display: inline-block; padding: 2px 7px; border-radius: 6px; font-family: var(--sans, inherit); font-size: 12.5px; font-weight: 600; letter-spacing: 0; vertical-align: middle; background: var(--line); color: var(--muted); }
.st-delta.up { background: color-mix(in srgb, var(--em) 16%, transparent); color: var(--em); }
.st-delta.down { background: color-mix(in srgb, #d6453d 16%, transparent); color: #d6453d; }
.st-tabs { margin: 28px 0 4px; }
.st-bar-cell { display: inline-flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 150px; }
.st-bar-cell i { display: block; height: 8px; border-radius: 4px; background: var(--fg); opacity: 0.8; flex: none; }
.st-bar-cell span { min-width: 3.4em; text-align: right; }
.st-wd { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 150px; margin: 12px 0 4px; }
.st-wd-col { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; height: 100%; font-size: 12.5px; color: var(--muted); }
.st-wd-col i { display: block; width: 100%; max-width: 56px; border-radius: 6px 6px 0 0; background: var(--fg); opacity: 0.82; min-height: 0; }
.st-wd-col b { font-weight: 600; color: var(--fg); font-variant-numeric: tabular-nums; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--fg); text-decoration: underline; cursor: pointer; }
@media (max-width: 640px) {
  .st-bar > .seg { width: 100%; }
  .st-bar > .seg button { flex: 1; justify-content: center; padding: 0 8px; }
  .st-card b { font-size: 22px; }
}

/* ---------- /extension ---------- */
.ext-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.doc .ext-small { color: var(--muted); font-size: 14px; margin-top: 12px; }
/* real screenshots: a wide strip that breaks out of the 820px text column */
.ext-views { position: relative; left: 50%; width: min(1160px, calc(100vw - 40px)); transform: translateX(-50%); margin: 36px 0 8px; display: grid; gap: 60px; }
.ext-view > h3 { font-family: var(--display); font-size: 17px; letter-spacing: -0.01em; margin: 0 auto 8px; max-width: 756px; }
.doc .ext-view > p { color: var(--muted); max-width: 756px; margin: 0 auto 20px; }
.ext-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ext-fig { margin: 0; display: grid; gap: 10px; align-content: start; min-width: 0; }
.ext-fig.wide { grid-column: 1 / -1; }
.ext-fig figcaption { color: var(--muted); font-size: 13.5px; line-height: 1.45; max-width: 760px; }
.ext-popups { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)) minmax(0, 1fr); gap: 28px; align-items: start; }
.ext-popups img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16); }
.ext-popups-text { min-width: 0; }
.ext-popups-text .ticks { margin-top: 0; }
@media (max-width: 900px) { .ext-popups { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ext-popups-text { grid-column: 1 / -1; } }
@media (max-width: 760px) { .ext-pair { grid-template-columns: 1fr; } .ext-views { gap: 44px; } }
@media (max-width: 560px) { .ext-popups { grid-template-columns: minmax(0, 340px); justify-content: center; } }
.ext-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ext-plans .box h3 { margin: 0 0 8px; font-size: 16px; }
.ext-plans .box ul { margin: 0 0 8px; }
.doc code { font-family: var(--mono); font-size: 0.9em; background: var(--elev); padding: 1px 6px; border-radius: 5px; }
.doc pre { margin: 12px 0; padding: 12px 14px; background: var(--elev); border-radius: 8px; overflow-x: auto; }
.doc pre code { background: none; padding: 0; font-size: 13.5px; white-space: pre; }
@media (max-width: 720px) {
  .ext-plans { grid-template-columns: 1fr; }
}

/* ---------- nudges (owner 2026-10-12) ---------- */
.rc-col { justify-self: center; width: min(380px, 100%); display: grid; gap: 18px; }
.rc-col .rcpt-wrap { width: 100%; }
.shop-form, .mylot { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.shop-form label, .mylot label { font: 700 11px var(--mono); letter-spacing: 0.07em; text-transform: uppercase; }
.shop-row, .mylot-row { display: flex; gap: 6px; flex-wrap: wrap; }
.shop-row input, .mylot-row input { flex: 1; min-width: 0; height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); font: 14px var(--sans); }
.shop-row input:focus, .mylot-row input:focus { outline: none; border-color: var(--fg); }
.shop-msg:empty, .mylot-msg:empty { display: none; }
.mylot { max-width: 640px; margin: 18px auto 0; }
@media (max-width: 720px) { .mylot { display: none; } } /* phones get the picture of the panel, not the panel */
.mkt-pulse { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: -6px 0 26px; font-size: 14.5px; color: var(--muted); }
.mkt-pulse i { width: 8px; height: 8px; border-radius: 50%; background: var(--em); box-shadow: 0 0 0 0 var(--em-line); animation: morePulse 2.4s ease-out infinite; }
.mkt-pulse a { font-size: 13.5px; }
/* the passport: four stamps in the corner */
.pp { position: fixed; left: 16px; bottom: 16px; z-index: 40; width: 250px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.4); overflow: hidden; transition: transform 0.3s var(--ease); }
.pp.bump { transform: scale(1.04); }
.pp-head { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px; background: none; border: 0; color: var(--fg); cursor: pointer; font: 600 13px var(--sans); }
.pp-n { font: 600 11px var(--mono); color: var(--em); }
.pp-body { display: none; padding: 0 14px 14px; font-size: 12.5px; color: var(--muted); }
.pp.open .pp-body { display: grid; gap: 10px; }
.pp-stamps { display: flex; flex-direction: column; gap: 2px; }
/* «Чек-лист знакомства»: a row per step, an empty box, ticked in green when done */
.pp-s { display: flex; align-items: center; gap: 10px; padding: 6px 8px; margin: 0 -8px; border-radius: 6px; font-size: 13px; color: var(--fg); }
.pp-c { flex: none; width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--rule); display: grid; place-items: center; transition: background 0.2s, border-color 0.2s; }
.pp-s.got { color: var(--dim); }
.pp-s.got span { text-decoration: line-through; text-decoration-color: var(--rule); }
.pp-s.got .pp-c { background: var(--em); border-color: var(--em); }
.pp-s.got .pp-c::after { content: ""; width: 8px; height: 4px; border: 2px solid var(--em-ink); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
a.pp-s { text-decoration: none; }
a.pp-s[href] { cursor: pointer; }
a.pp-s[href]:hover, a.pp-s[href]:focus-visible { background: var(--surface); outline: none; }
a.pp-s[href]:hover .pp-c, a.pp-s[href]:focus-visible .pp-c { border-color: var(--em); }
.pp-tip { margin: 0; min-height: 2.6em; font-size: 11.5px; line-height: 1.3; color: var(--dim); }
.pp-s.fresh .pp-c { animation: stampIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes stampIn { from { transform: scale(2.2) rotate(-30deg); opacity: 0; } }
/* the ticket: «с возвращением» and the full passport */
.tk { position: fixed; right: 16px; bottom: 16px; z-index: 45; display: flex; width: min(440px, calc(100vw - 32px)); border-radius: 14px; background: #10B981; color: #06261A; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.5); animation: tkIn 0.9s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
.tk.off { animation: tkOut 0.4s var(--ease) forwards; }
.tk::before, .tk::after { content: ""; position: absolute; left: calc(70% - 9px); width: 18px; height: 18px; border-radius: 50%; background: var(--bg); }
.tk::before { top: -9px; } .tk::after { bottom: -9px; }
.tk-l { flex: 0 0 70%; padding: 16px 18px; display: grid; gap: 7px; justify-items: start; border-right: 2px dashed rgba(6, 38, 26, 0.35); }
.tk-hi { font: 700 10.5px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; }
.tk-t { font: 600 16px/1.25 var(--display); letter-spacing: -0.01em; }
.tk-code { font: 700 14px var(--mono); letter-spacing: 0.1em; padding: 6px 10px; border-radius: 6px; border: 1.5px dashed #06261A; background: transparent; color: inherit; cursor: pointer; }
.tk-r { flex: 1; display: grid; place-content: center; justify-items: center; gap: 1px; padding: 10px 6px; font-size: 11px; }
.tk-r b { font: 700 22px var(--display); }
.tk-go { margin-top: 6px; font: 600 12px var(--sans); color: inherit; }
.tk-x { position: absolute; right: 6px; top: 4px; width: 24px; height: 24px; border: 0; background: none; color: inherit; font-size: 18px; cursor: pointer; opacity: 0.7; }
@keyframes tkIn { from { transform: translateY(40px) rotate(-4deg); opacity: 0; } }
@keyframes tkOut { to { transform: translateY(30px); opacity: 0; } }
@media (max-width: 520px) { .pp { left: 8px; bottom: 8px; width: auto; max-width: calc(100vw - 16px); } .tk { right: 8px; bottom: 8px; width: calc(100vw - 16px); } }
@media (prefers-reduced-motion: reduce) { .tk, .pp-s.fresh, .mkt-pulse i { animation: none; } }

/* ---------- /bonus (owner 2026-10-15 redesign): the invite as a receipt with a QR, the inviter's stats by the key ---------- */
.bn-hero { padding: 120px 0 64px; border-bottom: 1.5px dashed var(--rule); }
.bn-hero-in { display: grid; gap: 48px; }
@media (min-width: 980px) { .bn-hero-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 72px; align-items: center; } }
.bn-copy h1 { font-family: var(--display); font-size: clamp(30px, 4.6vw, 54px); line-height: 1.05; letter-spacing: -0.035em; }
.bn-lead { margin-top: 20px; color: var(--muted); font-size: clamp(16px, 1.8vw, 18px); max-width: 34em; }
.bn-facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--rule); }
.bn-facts li { padding: 16px 16px 0 0; display: grid; gap: 4px; }
.bn-facts li + li { padding-left: 16px; border-left: 1.5px dotted var(--rule); }
.bn-facts b { font: 700 26px/1 var(--mono); letter-spacing: -0.03em; white-space: nowrap; }
.bn-facts span:not([data-bn-percent]) { color: var(--muted); font-size: 13.5px; line-height: 1.35; }
@media (max-width: 520px) { .bn-facts { grid-template-columns: 1fr; } .bn-facts li + li { padding-left: 0; border-left: 0; border-top: 1.5px dotted var(--rule); padding-bottom: 12px; } }
.bn-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.bn-card-col { justify-self: center; width: min(400px, 100%); display: grid; gap: 18px; }
.bn-invite .rcpt { transform: rotate(-1.2deg); gap: 12px; }
.bn-from { margin: 2px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.bn-from b { display: block; margin-top: 2px; font: 700 20px/1.2 var(--display); color: var(--fg); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.bn-what { margin: 0; text-align: center; font-size: 12.5px; color: var(--muted); }
.bn-qr-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; padding-top: 12px; border-top: 1.5px dashed var(--rule); }
.bn-qr { width: 112px; height: 112px; background: #fff; border-radius: 6px; padding: 6px; display: grid; place-items: center; }
.bn-qr svg, .bn-qr img { width: 100%; height: 100%; display: block; }
.bn-qr:empty { background: repeating-linear-gradient(45deg, var(--line) 0 6px, transparent 6px 12px); }
.bn-code-box { display: grid; gap: 3px; min-width: 0; }
.bn-code-box span { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.bn-code-box b { font: 700 24px/1.1 var(--mono); letter-spacing: 0.08em; color: var(--em); }
.bn-code-box small { font-size: 11.5px; color: var(--muted); overflow-wrap: anywhere; }
.bn-invite.sample .bn-code-box b, .bn-invite.sample .bn-qr { opacity: 0.45; }
.bn-shop { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.bn-shop label { font: 700 11px var(--mono); letter-spacing: 0.07em; text-transform: uppercase; }
.bn-shop-row { display: flex; gap: 6px; flex-wrap: wrap; }
.bn-shop-row input { flex: 1 1 160px; min-width: 0; height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); font: 14px var(--sans); }
.bn-shop-row input:focus { outline: none; border-color: var(--fg); }
.bn-shop-msg:empty { display: none; }
.bn-sec .sec-head { margin-bottom: 28px; }
.bn-key { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 10px; align-items: end; max-width: 760px; }
.bn-key-field { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.bn-key-field input { height: 44px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font: 15px var(--mono); letter-spacing: 0.03em; }
.bn-key-field input:focus { outline: none; border-color: var(--fg); }
.bn-key .btn { height: 44px; }
.bn-key .form-err, .bn-key-note { grid-column: 1 / -1; margin: 0; }
.bn-key-note { color: var(--dim); font-size: 12.5px; }
@media (max-width: 600px) { .bn-key { grid-template-columns: 1fr 1fr; } .bn-key-field { grid-column: 1 / -1; } }
.bn-me { margin-top: 28px; display: grid; gap: 18px; }
.bn-link { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1.5px solid var(--em-line); background: var(--em-soft); border-radius: 10px; }
.bn-lbl { color: var(--muted); font-size: 13px; }
.bn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.bn-row code { font-family: var(--mono); font-size: 15px; overflow-wrap: anywhere; min-width: 0; }
.bn-link small { color: var(--muted); font-size: 13px; }
.bn-link small b { font-family: var(--mono); color: var(--fg); letter-spacing: 0.04em; }
.bn-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--rule); border-bottom: 1.5px dotted var(--rule); }
.bn-stat { padding: 16px 16px 16px 0; display: grid; gap: 6px; }
.bn-stat + .bn-stat { padding-left: 16px; border-left: 1.5px dotted var(--rule); }
.bn-stat span { color: var(--muted); font-size: 13px; }
.bn-stat b { font: 700 34px/1 var(--mono); letter-spacing: -0.03em; }
.bn-stat.em b { color: var(--em); }
.bn-hist h3 { font-size: 17px; margin-bottom: 8px; }
.bn-t { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.bn-t th, .bn-t td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1.5px dotted var(--rule); vertical-align: top; }
.bn-t th { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); border-bottom: 1.5px solid var(--rule); }
.bn-t td.st-ok { color: var(--em); }
.bn-top { margin-top: 40px; }
.bn-top h3 { font-size: 17px; margin-bottom: 6px; }
.bn-top .note { margin-bottom: 10px; }
.bn-t tr.me td { color: var(--em); font-weight: 600; }
.bn-t td.st-wait { color: var(--muted); }
.bn-nokey { margin-top: 28px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); max-width: 760px; }
.bn-nokey .bn-btns { margin-top: 14px; }
.bn-steps { margin-top: 0; }
.bn-rule { margin-top: 24px; color: var(--muted); font-size: 14.5px; max-width: 52em; }

/* ---------- «Как вы продаёте»: own goods or a supplier's, as the panel's «Новый лот» and «Поставщики» ---------- */
.ways-in .seg { margin-bottom: 24px; }
/* the text on top in two columns, the panel under it at the full width of the page (owner 2026-10-15: bigger) */
.way { display: grid; gap: 32px; }
.way[hidden] { display: none; }
.way-text { display: grid; gap: 0 56px; }
@media (min-width: 1024px) { .way-text { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } .way-text > h3, .way-text > p:not(.way-note):not(.way-go) { grid-column: 1; } .way-text > .way-list { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; } .way-text > .way-note, .way-text > .way-go { grid-column: 1; } }
.way h3 { font-family: var(--display); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -0.03em; }
.way-text > p { color: var(--muted); font-size: 16px; margin-top: 14px; }
.way-list { list-style: none; margin: 20px 0 0; padding: 0; counter-reset: w; border-top: 1.5px dotted var(--rule); }
.way-list li { counter-increment: w; position: relative; padding: 13px 0 13px 40px; border-bottom: 1.5px dotted var(--rule); }
.way-list li::before { content: counter(w, decimal-leading-zero); position: absolute; left: 2px; top: 14px; font: 700 12px/22px var(--mono); color: var(--dim); }
.way-list li b { display: block; font-size: 15.5px; line-height: 22px; }
.way-list li span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 3px; }
.way-text > p.way-note { font-size: 14px; color: var(--dim); }
.way-go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 18px; }
.way-go .go { font-weight: 600; font-size: 14.5px; }
.way-win img { display: block; width: 100%; height: auto; }
.ways-both { margin-top: 28px; padding-top: 18px; border-top: 1.5px dashed var(--rule); color: var(--muted); font-size: 15px; }
.film-way { margin-top: 20px; }

/* consent bar for the visitor counter (js/metrika.js): bottom of the screen, two buttons */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin: 0 auto; padding: 14px 16px;
  background: var(--surface, var(--bg)); color: var(--fg); border: 1.5px solid var(--fg); border-radius: 10px; box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
  display: grid; gap: 10px; font-size: 13.5px; line-height: 1.5; }
.consent p { margin: 0; }
.consent a { color: inherit; }
.consent div { display: flex; gap: 8px; flex-wrap: wrap; }
.consent .btn { min-height: 40px; padding: 8px 16px; font-size: 14px; }
/* /tools/komissii: the fee of every section */
.fees { margin-top: 28px; }
.fees-bar { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; }
.fees-q { flex: 1 1 240px; margin: 0; }
.fees-count { margin: 16px 0 8px; color: var(--muted); font-size: 15px; }
.fees-t td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.fees-t td:last-child { white-space: nowrap; }
.calc-pick { position: relative; }
.calc-pick ul { position: absolute; z-index: 5; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 4px; list-style: none; max-height: 280px; overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18); }
.calc-pick li button { display: flex; width: 100%; justify-content: space-between; gap: 12px; padding: 8px 10px; border: 0; border-radius: 6px; background: transparent; color: var(--fg); font-size: 14px; text-align: left; cursor: pointer; }
.calc-pick li button:hover, .calc-pick li button:focus { background: var(--line); outline: none; }
.calc-pick li button span:last-child { color: var(--muted); white-space: nowrap; }
.tools-more { margin-top: 12px; }
.tools-more summary { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1.5px dashed var(--rule); border-radius: 999px; color: var(--muted); font-size: 15px; cursor: pointer; list-style: none; }
.tools-more summary::-webkit-details-marker { display: none; }
.tools-more[open] summary { margin-bottom: 4px; }
.calc-pick > label { font-size: 13px; color: var(--muted); font-weight: 500; }

/* ---------- «01 Площадки»: the «Новый лот» film (static/js/site.js lotFilms) ---------- */
.lw { position: relative; }
.lw .win-url { font-size: 11px; }
.lw-body { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; padding: 18px; min-height: 360px; }
.lw-steps { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; gap: 4px; counter-reset: lw; }
.lw-steps li { counter-increment: lw; display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; font-size: 12px; line-height: 1.25; color: var(--muted); opacity: 0.6; transition: background 0.3s, color 0.3s, opacity 0.3s; }
.lw-steps li::before { content: counter(lw); flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--rule); display: grid; place-items: center; font: 500 10px var(--mono); }
.lw-steps li[data-s="now"] { opacity: 1; color: var(--fg); background: var(--chrome); }
.lw-steps li[data-s="now"]::before { border-color: var(--fg); }
.lw-steps li[data-s="done"] { opacity: 1; }
.lw-steps li[data-s="done"]::before { content: "✓"; background: var(--fg); color: var(--surface); border-color: var(--fg); }
.lw-card { border: 1px solid var(--line); border-radius: 8px; padding: 14px; display: flex; flex-direction: column; min-width: 0; }
.lw-head { display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.lw-n { font-size: 10.5px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.lw-head b { font-size: 15px; }
.lw-scene { flex: 1; padding: 10px 0; opacity: 0; transform: translateY(6px); transition: opacity 0.35s, transform 0.35s var(--ease); }
.lw-scene.in { opacity: 1; transform: none; }
.lw-l { margin: 8px 0 6px; font-size: 12px; font-weight: 600; }
.lw-hint { margin-top: 8px; font-size: 11.5px; color: var(--muted); }
.lw-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lw-chip { padding: 5px 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; color: var(--muted); transition: transform 0.15s, border-color 0.2s, color 0.2s, background 0.2s; }
.lw-chip.sel { border-color: var(--fg); color: var(--fg); background: var(--chrome); }
.lw-chip.press, .lw-next.press { transform: scale(0.93); }
.lw-in { display: flex; align-items: center; min-height: 32px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 12.5px; transition: border-color 0.2s; }
.lw-in.on { border-color: var(--fg); }
.lw-search::before { content: "⌕"; margin-right: 6px; color: var(--muted); }
.lw-short { width: 110px; }
.lw-sel { color: var(--muted); }
.lw-caret { width: 1px; height: 14px; margin-left: 1px; background: var(--fg); opacity: 0; }
.lw-in.on .lw-caret { animation: lwBlink 0.8s steps(1) infinite; }
@keyframes lwBlink { 50% { opacity: 1; } }
.lw-later { opacity: 0; transition: opacity 0.4s; }
.lw-later.on { opacity: 1; }
.lw-cover { aspect-ratio: 16 / 9; max-width: 260px; border-radius: 8px; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  background: linear-gradient(135deg, #1D2B3A, #3B2A16 70%, #C77A1C); color: #fff; animation: lwCover 0.6s var(--ease) both; }
.lw-cover b { font-size: 16px; }
.lw-cover small { font: 600 9.5px var(--mono); letter-spacing: 0.08em; opacity: 0.85; }
@keyframes lwCover { from { opacity: 0; transform: scale(0.94); } }
.lw-tree { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.lw-tree span::after { content: "›"; margin-left: 4px; }
.lw-tree b { color: var(--fg); }
.lw-sum { display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; font-size: 12.5px; padding-top: 4px; }
.lw-sum span { color: var(--muted); }
.lw-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.lw-next { padding: 6px 12px; border-radius: 6px; background: var(--fg); color: var(--surface); font-weight: 600; transition: transform 0.15s; }
.lw-stamp { right: 22px; bottom: 64px; }
@media (max-width: 560px) {
  .lw-body { grid-template-columns: 1fr; min-height: 0; }
  .lw-steps { display: none; }
}

/* /reklama: GGSel ad bids */
.rk-lock { color: var(--dim); font-size: 12px; white-space: nowrap; }
.rk-day h3 { margin: 24px 0 8px; font-size: 16px; }

/* ---------- Селя (owner 2026-10-20): what the page is for, said by the mascot under the h1 ---------- */
.sy { display: flex; align-items: flex-end; min-width: 0; gap: 10px; margin: 22px 0 26px; max-width: 760px; }
.sy-me { flex: none; display: block; width: 84px; height: 84px; }
.sy-me svg { display: block; width: 100%; height: 100%; }
.sy-say { position: relative; margin: 0 0 10px; padding: 12px 16px; border: 1.5px solid var(--rule); border-radius: 14px; background: var(--surface); color: var(--fg); font-size: 15px; line-height: 1.45; text-wrap: balance; }
.sy-say::before { content: ""; position: absolute; left: -7px; bottom: 18px; width: 12px; height: 12px; background: var(--surface); border-left: 1.5px solid var(--rule); border-bottom: 1.5px solid var(--rule); border-bottom-left-radius: 3px; transform: rotate(45deg); }
.sy-name { display: block; margin-bottom: 2px; font: 700 10.5px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--em); }
@media (max-width: 520px) { .sy { gap: 10px; } .sy-me { width: 48px; height: 48px; } .sy-say { font-size: 14px; } }
.pp-head { justify-content: flex-start; }
.pp-head .pp-n { margin-left: auto; }
.pp-head b { white-space: nowrap; }
.pp { width: 280px; }
.pp-sy { flex: none; width: 34px; height: 34px; margin: -6px 0 -4px -4px; }
.pp-sy .sy-me { width: 100%; height: 100%; }
/* /guides/selya: every mood with its meaning */
.sy-all { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 18px 0 8px; }
.sy-all figure { margin: 0; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--rule); border-radius: 12px; background: var(--surface); }
.sy-all .sy-me { width: 72px; height: 72px; flex: none; }
.sy-all figcaption { flex: 1; min-width: 0; overflow-wrap: break-word; font-size: 13px; line-height: 1.4; color: var(--muted); }
.sy-all figcaption b { display: block; color: var(--fg); font-size: 14px; margin-bottom: 2px; }

/* Line breaks (owner 2026-10-20): short text in cards, tiles and bubbles breaks into lines of about one length
   (balance); p, li and the like balance too (line 71): Chrome falls back to normal wrapping past 6 lines. */
.sm-tool b, .sm-tool small, .sy-say, .sy-all figcaption, .g-list b, .g-list span, .more-i p, .more-i b, .own-i p, .own-i b,
.strip-i, .bonus-i p, .fr p, .pf, .pp-body p, .sec-head p, .lead, .kicker, .stamp, .tk, figcaption, .way-list li, .ticks li { text-wrap: balance; }
