:root {
  --bg: #0c0c0c;
  --panel: #111;
  --line: #1f1f1f;
  --line2: #2e2e2e;
  --text: #ece8e6;
  --muted: #9a9a9a;
  --dim: #8a8a8a;
  --red: #ff3b26;
  --red-fill: #c8281a;
  --warn-bg: #1a0d0b;
  --warn-line: #5a1a12;
  --warn-text: #e6c9c4;
  --display: "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.6 var(--mono); -webkit-font-smoothing: antialiased; }
a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: #ff6a58; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
img { max-width: 100%; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.red { color: var(--red); }
.nowrap { white-space: nowrap; }
.small { font-size: 12px; }
.lbl { font-size: 11px; letter-spacing: .25em; color: var(--dim); text-transform: uppercase; }
.eyebrow { font-size: 12px; letter-spacing: .3em; color: var(--red); text-transform: uppercase; }
.acc { color: var(--red); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack.lg { gap: 28px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.between { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: .04em; margin: 0; line-height: 1.05; }
h2 { font-size: 28px; }
h3 { font-size: 20px; }
p { margin: 0; }

/* ---------- шапка ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 clamp(16px, 4vw, 48px); min-height: 76px; border-bottom: 1px solid var(--line); flex-wrap: wrap; position: relative; z-index: 2; background: var(--bg); }
.logo { font-family: var(--display); font-size: 26px; letter-spacing: .15em; color: var(--text); font-weight: 500; }
.logo:hover { color: var(--text); }
.logo .acc { display: inline-block; animation: neon 9s infinite; }
.nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 30px); font-size: 12px; letter-spacing: .2em; flex-wrap: wrap; padding: 12px 0; }
.nav a { color: var(--muted); position: relative; }
.nav a:not(.box)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.box):hover::after, .nav a.on::after { transform: scaleX(1); }
.nav a:hover, .nav a.on { color: var(--text); }
.nav .box { color: var(--text); border: 1px solid #333; height: 40px; display: inline-flex; align-items: center; gap: 10px; padding: 0 14px; transition: border-color .2s; }
.nav .box:hover, .nav .box.on { border-color: var(--red); }

/* ---------- кнопки и поля ---------- */
.btn, .btn2 { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; font: 12px var(--mono); letter-spacing: .15em; text-transform: uppercase; border-radius: 2px; cursor: pointer; white-space: nowrap; transition: background-color .2s, border-color .2s, box-shadow .25s, color .2s, transform .1s, background-size .35s var(--ease); }
.btn { background: var(--red-fill); border: 1px solid var(--red-fill); color: #fff; }
.btn:hover { background: #b0200f; color: #fff; box-shadow: 0 0 0 1px rgba(255, 59, 38, .35), 0 8px 28px -8px rgba(255, 59, 38, .55); }
.btn:active, .btn2:active { transform: translateY(1px); }
.btn2 { background: linear-gradient(90deg, rgba(255, 59, 38, .12), rgba(255, 59, 38, .12)) no-repeat left / 0 100%; border: 1px solid #3a3a3a; color: var(--text); }
.btn2:hover { border-color: #6a6a6a; color: var(--text); background-size: 100% 100%; }
.btn2.on { border-color: var(--red); color: var(--red); }
.btn.sm, .btn2.sm { height: 36px; padding: 0 12px; font-size: 11px; }
.btn.lg { height: 56px; font-size: 13px; }
.btn.block, .btn2.block { width: 100%; }
.in { height: 44px; width: 100%; background: #0f0f0f; border: 1px solid var(--line2); color: var(--text); padding: 0 12px; font: 13px var(--mono); border-radius: 2px; transition: border-color .2s; }
textarea.in { height: auto; min-height: 90px; padding: 10px 12px; resize: vertical; line-height: 1.55; }
textarea.in.code { font-size: 12px; min-height: 360px; }
select.in { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%); background-position: calc(100% - 16px) 19px, calc(100% - 11px) 19px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
.in:focus { border-color: #666; outline: none; }
input[type=file].in { padding-top: 10px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field .help, .help { font-size: 12px; color: var(--dim); line-height: 1.5; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--red-fill); margin-top: 2px; flex-shrink: 0; }
.tag { display: inline-block; font-size: 11px; color: var(--muted); border: 1px solid #2a2a2a; padding: 2px 7px; border-radius: 2px; }
.warn { border: 1px solid var(--warn-line); background: var(--warn-bg); color: var(--warn-text); padding: 14px 18px; font-size: 13px; line-height: 1.7; }
.card { border: 1px solid #232323; padding: 20px; }
code { font-family: var(--mono); background: #161616; border: 1px solid #242424; padding: 1px 5px; font-size: .92em; word-break: break-all; }

/* ---------- сообщения ---------- */
.flashes { padding: 16px clamp(16px, 4vw, 48px) 0; display: flex; flex-direction: column; gap: 8px; }
.flash { border: 1px solid #2f2f2f; padding: 12px 16px; font-size: 13px; animation: drop .45s var(--ease) both; transition: opacity .4s, transform .4s; }
.flash.gone { opacity: 0; transform: translateY(-6px); }
.flash-err, .flash-need { border-color: var(--warn-line); background: var(--warn-bg); color: var(--warn-text); }
.flash-need a { margin-left: 8px; }

/* ---------- главный экран ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(44px, 7vw, 84px) 16px clamp(36px, 5vw, 60px); display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; border-bottom: 1px solid var(--line); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% -30%; background: radial-gradient(50% 45% at 50% 55%, rgba(200, 40, 26, .28), rgba(200, 40, 26, .07) 55%, transparent 75%); z-index: -2; animation: breathe 7s ease-in-out infinite; }
.hero .embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-title { margin: 0; width: min(94vw, 1100px); line-height: 0; }
.title-svg { width: 100%; height: auto; overflow: visible; font-family: var(--display); font-weight: 700; }
.title-svg text { font-size: 200px; letter-spacing: 10px; }
.title-svg .o { fill: none; }
.title-svg .ghost { fill: none; stroke: none; }
.title-svg .l1 .o { stroke: var(--red); stroke-width: 9; }
.title-svg .l2 .o { stroke: var(--bg); stroke-width: 6.2; }
.title-svg .l3 .o { stroke: var(--red); stroke-width: 3; }
.title-svg .l4 .o { stroke: var(--bg); stroke-width: 1.2; }
.title-svg .draw .o { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.2s var(--ease) forwards; }
.title-svg .l2.draw .o { animation-delay: .1s; }
.title-svg .l3.draw .o { animation-delay: .2s; }
.title-svg .l4.draw .o { animation-delay: .3s; }
.title-svg .solid { opacity: 0; animation: ignite 1.6s .5s linear forwards; }
.title-svg .solid .s { fill: url(#scan); }
.hero .eyebrow, .hero .tagline, .hero .chips { opacity: 0; animation: rise .8s var(--ease) forwards; }
.hero .eyebrow { animation-delay: .15s; }
.hero .tagline { animation-delay: 1.1s; }
.hero .chips { animation-delay: 1.3s; }
.hero .tagline { color: var(--muted); font-size: 15px; max-width: 60ch; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

/* ---------- каталог ---------- */
.shop { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; padding: 40px clamp(16px, 4vw, 48px); }
.filters { display: flex; flex-direction: column; gap: 22px; }
.filters summary { display: none; }
.filters .inner { display: flex; flex-direction: column; gap: 22px; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; flex-wrap: wrap; }
.results-head .field { flex-direction: row; align-items: center; }
.list-head, .item { display: grid; grid-template-columns: 230px 90px minmax(0, 1fr) 110px auto; gap: 16px; align-items: center; padding: 14px 16px; }
.item .who { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.list-head > div { white-space: nowrap; }
.list-head { border-top: 1px solid #242424; border-bottom: 1px solid #242424; padding: 12px 16px; }
.item { border-bottom: 1px solid #1c1c1c; transition: background-color .25s; animation: rise .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms); }
.item:hover { background: #101010; }
.item .num { font-size: 15px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.item .num.decrypt { color: var(--red); transition: color .6s .9s; }
.item .num.decrypt.done { color: var(--text); }
.item .params { display: flex; gap: 6px; flex-wrap: wrap; }
.item .price { font-size: 15px; }
.item .price small { display: block; font-size: 11px; color: var(--red); }
.item .act { display: flex; gap: 8px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.item form { margin: 0; }
.empty { padding: 40px 16px; text-align: center; color: var(--muted); border-bottom: 1px solid #1c1c1c; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.empty img { width: min(320px, 80%); }
.note { padding: 20px 16px; font-size: 12px; color: var(--dim); }
.pager { display: flex; gap: 8px; align-items: center; padding: 16px 0; flex-wrap: wrap; }
.pager span { color: var(--dim); font-size: 12px; padding: 0 8px; }
.strike { text-decoration: line-through; color: var(--dim); }

/* ---------- как купить ---------- */
.band { padding: clamp(40px, 6vw, 64px) clamp(16px, 4vw, 48px); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 28px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step { border: 1px solid #232323; display: flex; flex-direction: column; transition: border-color .3s, transform .3s var(--ease); }
.step:hover { border-color: #3a3a3a; transform: translateY(-3px); }
.step img { display: block; width: 100%; aspect-ratio: 480 / 300; object-fit: cover; border-bottom: 1px solid #232323; background: #0e0e0e; }
.step .body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.step .n { font-family: var(--display); font-size: 40px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--red); }
.step h3 { font-size: 22px; }
.step p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ---------- ссылки ---------- */
.links { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.lnk { border: 1px solid #232323; padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; color: var(--text); position: relative; overflow: hidden; transition: border-color .3s; }
.lnk::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--red); transform: scaleY(0); transform-origin: bottom; transition: transform .35s var(--ease); }
.lnk:hover { color: var(--text); border-color: #3a3a3a; }
.lnk:hover::before { transform: scaleY(1); }
.lnk b { font-family: var(--display); font-size: 24px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; }
.lnk b span { color: var(--red); font-family: var(--mono); font-size: 16px; transition: transform .3s var(--ease); }
.lnk:hover b span { transform: translate(4px, -4px); }
.lnk .d { font-size: 13px; color: var(--muted); }
.lnk .h { font-size: 11px; color: var(--dim); letter-spacing: .1em; }
.lnk.soon { opacity: .55; pointer-events: none; }

footer { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding: 24px clamp(16px, 4vw, 48px); border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); letter-spacing: .15em; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

/* ---------- страницы ---------- */
.page { padding: clamp(28px, 5vw, 56px) clamp(16px, 4vw, 48px); }
.page-title { font-size: clamp(44px, 8vw, 88px); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split > section { padding: clamp(28px, 5vw, 72px) clamp(16px, 4vw, 64px); display: flex; flex-direction: column; gap: 24px; }
.split > section + section { border-left: 1px solid var(--line); }
.or { display: flex; align-items: center; gap: 16px; color: var(--dim); font-size: 12px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: #242424; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; font-weight: 400; font-size: 11px; letter-spacing: .2em; color: var(--dim); text-transform: uppercase; border-top: 1px solid #242424; border-bottom: 1px solid #242424; padding: 12px 10px; }
.table td { border-bottom: 1px solid #1c1c1c; padding: 12px 10px; vertical-align: top; }
.table .r { text-align: right; }
.table-wrap { overflow-x: auto; }
.plus { color: var(--text); }
.minus { color: var(--red); }

.account { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: calc(100vh - 150px); }
.side { border-right: 1px solid var(--line); padding: 32px 20px; display: flex; flex-direction: column; gap: 4px; }
.side a { display: flex; align-items: center; min-height: 44px; padding: 0 16px; font-size: 12px; letter-spacing: .15em; color: var(--muted); border: 1px solid transparent; text-transform: uppercase; transition: color .2s, border-color .2s; }
.side a:hover { color: var(--text); }
.side a.on { color: var(--text); border-color: #2a2a2a; }
.side .badge { margin-left: auto; background: var(--red-fill); color: #fff; font-size: 11px; padding: 0 7px; letter-spacing: 0; }
.main { padding: 32px clamp(16px, 4vw, 48px); display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.balance-box { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.big { font-family: var(--display); font-size: clamp(48px, 7vw, 72px); line-height: 1; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 24px; }
.grid-eq { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }

/* ---------- инструкции ---------- */
.help { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid #232323; }
.toc a { color: var(--muted); font-size: 13px; padding: 8px 16px; border-left: 2px solid transparent; margin-left: -1px; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--text); }
.toc a.on { color: var(--text); border-left-color: var(--red); }
.prose { max-width: 72ch; display: flex; flex-direction: column; gap: 16px; font-size: 14px; line-height: 1.75; color: #d6d2d0; }
.prose h2 { font-size: clamp(28px, 4vw, 38px); margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--text); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 20px; margin-top: 8px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose ol li::marker { color: var(--red); font-family: var(--display); }
.prose ul li::marker { color: var(--red); }
.prose figure { margin: 8px 0; border: 1px solid #232323; }
.prose figure img { display: block; width: 100%; }
.prose figcaption { font-size: 12px; color: var(--dim); padding: 10px 14px; border-top: 1px solid #232323; }

/* ---------- оплата и заказ ---------- */
.qr { background: #fff; padding: 10px; display: block; width: 100%; max-width: 440px; aspect-ratio: 1; image-rendering: pixelated; }
.qr-wrap { position: relative; max-width: 440px; }
.qr-wrap.fresh .qr { animation: print 1.4s steps(18) both; }
.qr-wrap.fresh::after { content: ""; position: absolute; left: -4px; right: -4px; height: 3px; background: var(--red); box-shadow: 0 0 18px var(--red); top: 0; animation: scanline 1.4s steps(18) both; }
.invoice { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.copyline { display: flex; gap: 8px; align-items: stretch; }
.copyline .val { flex: 1; min-width: 0; border: 1px solid var(--line2); background: #0f0f0f; padding: 12px 14px; word-break: break-all; font-size: 14px; white-space: pre-wrap; transition: border-color .3s, background-color .3s; }
.copyline .val.hot { border-color: var(--red); background: #100a09; letter-spacing: .03em; }
.copyline .val.amount { font-family: var(--display); font-size: clamp(28px, 4vw, 40px); line-height: 1.15; }
.copied { animation: flashline .6s ease-out; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); position: relative; }
.status:not(.paid) .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--red); animation: ping 1.8s ease-out infinite; }
.status.paid .dot { background: var(--text); }
.nets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.nets label { cursor: pointer; }
.nets input { position: absolute; opacity: 0; pointer-events: none; }
.nets span { display: flex; flex-direction: column; justify-content: center; gap: 4px; height: 88px; padding: 0 16px; border: 1px solid #3a3a3a; transition: border-color .2s, background-color .2s; }
.nets b { font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: .04em; }
.nets small { font-size: 11px; color: var(--dim); }
.nets input:checked + span { border-color: var(--red); background: #120b0a; }
.nets input:checked + span small { color: var(--red); }
.nets input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.presets { display: flex; gap: 8px; flex-wrap: wrap; }
.presets .btn2 { flex: 1; }
.order-num { font-family: var(--display); font-size: clamp(40px, 8vw, 88px); line-height: 1; font-weight: 700; letter-spacing: .03em; }
.done-mark { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-size: 13px; letter-spacing: .15em; text-transform: uppercase; }
.done-mark svg { width: 34px; height: 34px; }
.done-mark circle { fill: none; stroke: var(--red); stroke-width: 2; stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw .7s var(--ease) forwards; }
.done-mark path { fill: none; stroke: var(--text); stroke-width: 2.5; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .45s .55s var(--ease) forwards; }

/* ---------- админка ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.stat { border: 1px solid #232323; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.stat .v { font-family: var(--display); font-size: 34px; line-height: 1; }
.wallets { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.addr { font-size: 12px; color: var(--dim); word-break: break-all; }
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0; }
.inline-form .in { width: auto; flex: 1; min-width: 110px; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.toolbar .in { width: auto; }
.drop { border: 1px dashed #4a4a4a; padding: 24px; display: flex; flex-direction: column; gap: 14px; transition: border-color .2s, background-color .2s; }
.drop.over { border-color: var(--red); background: #120b0a; }
.todo { border: 1px solid var(--warn-line); background: var(--warn-bg); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.todo a { color: var(--warn-text); display: flex; gap: 10px; }
.todo a::before { content: "○"; color: var(--red); }
.todo a:hover { color: #fff; }
.settings { display: flex; flex-direction: column; gap: 32px; max-width: 880px; }
.settings fieldset { border: 1px solid #232323; padding: 24px; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.settings legend { font-family: var(--display); font-size: 20px; letter-spacing: .06em; padding: 0 10px; }
.save-bar { position: sticky; bottom: 0; background: var(--bg); border-top: 1px solid var(--line); padding: 16px 0; display: flex; gap: 12px; align-items: center; z-index: 1; }
.format td:first-child { white-space: nowrap; }
.format .req { color: var(--red); }
.report { border: 1px solid #232323; padding: 20px; display: flex; flex-direction: column; gap: 10px; animation: drop .45s var(--ease) both; }
.report.ok { border-color: #3a3a3a; }
.report .errs { max-height: 320px; overflow: auto; display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--warn-text); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.slot { border: 1px solid #232323; display: flex; flex-direction: column; }
.slot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #0e0e0e; border-bottom: 1px solid #232323; display: block; }
.slot .body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.cheat { font-size: 12px; color: var(--muted); display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.cheat code { white-space: nowrap; }

/* ---------- анимации ---------- */
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ignite { 0% { opacity: 0; } 8% { opacity: .9; } 11% { opacity: .1; } 16% { opacity: 1; } 22% { opacity: .35; } 28% { opacity: 1; } 55% { opacity: .85; } 58% { opacity: 1; } 100% { opacity: 1; } }
@keyframes neon { 0%, 90%, 100% { opacity: 1; text-shadow: 0 0 10px rgba(255, 59, 38, .45); } 91% { opacity: .35; text-shadow: none; } 92% { opacity: 1; } 93.5% { opacity: .5; } 95% { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes breathe { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3); opacity: 0; } }
@keyframes print { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes scanline { from { top: 0; opacity: 1; } 95% { top: 100%; opacity: 1; } to { top: 100%; opacity: 0; } }
@keyframes flashline { from { box-shadow: 0 0 0 2px rgba(255, 59, 38, .8); } to { box-shadow: 0 0 0 12px rgba(255, 59, 38, 0); } }

@media (max-width: 1100px) {
  .list-head { display: none; }
  .item { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "num price" "meta meta" "params params" "act act"; gap: 8px 16px; padding: 16px 4px; }
  .item .who { grid-area: num; }
  .item .meta { grid-area: meta; color: var(--muted); }
  .item .params { grid-area: params; }
  .item .price { grid-area: price; text-align: right; }
  .item .act { grid-area: act; justify-content: stretch; }
  .item .act form, .item .act .btn, .item .act .btn2 { flex: 1; }
  .item .act form .btn, .item .act form .btn2 { width: 100%; }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .shop { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .filters { border: 1px solid #232323; padding: 0 16px; gap: 0; }
  .filters summary { display: flex; justify-content: space-between; align-items: center; min-height: 52px; cursor: pointer; list-style: none; font-size: 12px; letter-spacing: .2em; }
  .filters summary::-webkit-details-marker { display: none; }
  .filters[open] { padding-bottom: 16px; }
  .filters .inner { gap: 18px; }
  .steps, .split, .invoice, .help { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .split > section + section { border-left: 0; border-top: 1px solid var(--line); }
  .account { grid-template-columns: minmax(0, 1fr); }
  .side { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; padding: 12px 16px; }
  .side .who, .side .spacer { display: none; }
  .nets { grid-template-columns: minmax(0, 1fr); }
  .nets span { height: 64px; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .title-svg .l3, .title-svg .l4 { display: none; }
  .title-svg .l1 .o { stroke-width: 12; }
  .title-svg .l2 .o { stroke-width: 6; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--red); }

/* ---------- языки ---------- */
html[lang^="zh"] { --display: "Oswald", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; --mono: "JetBrains Mono", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", monospace; }
.nav .langs { display: inline-flex; border: 1px solid #2a2a2a; }
.nav .langs a { padding: 6px 9px; letter-spacing: .08em; font-size: 11px; color: var(--dim); }
.nav .langs a + a { border-left: 1px solid #2a2a2a; }
.nav .langs a::after { display: none; }
.nav .langs a.on { color: #fff; background: var(--red-fill); }

/* ---------- категории и пруфы ---------- */
.tier { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; white-space: nowrap; }
.tier i { font-style: normal; color: var(--red); font-weight: 700; font-size: 15px; line-height: 1; text-shadow: 0 0 8px rgba(255, 59, 38, .45); }
.tier.t1 i { color: #c9c4c2; text-shadow: none; }
.tier.t2 i { color: #ff8a78; text-shadow: none; }
.tier.rec { color: #fff; background: linear-gradient(90deg, #c8281a, #ff3b26); padding: 3px 8px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 0 16px -4px rgba(255, 59, 38, .8); animation: recglow 3.2s ease-in-out infinite; }
.tier.none { color: var(--dim); font-size: 11px; }
.item.is-rec { background: linear-gradient(90deg, rgba(200, 40, 26, .1), transparent 45%); box-shadow: inset 2px 0 0 var(--red); }
.tier-pick { display: flex; flex-direction: column; gap: 4px; }
.tier-pick a { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 38px; padding: 0 12px; border: 1px solid #262626; color: var(--muted); font-size: 12px; transition: border-color .2s, background-color .2s; }
.tier-pick a:hover { border-color: #444; color: var(--text); }
.tier-pick a.on { border-color: var(--red); background: #120b0a; color: var(--text); }
.proof { border-color: #5a1a12; color: #ffb3a8; }
.proof-box { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .86); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; animation: drop .25s var(--ease) both; backdrop-filter: blur(4px); }
.proof-box img { max-width: min(920px, 94vw); max-height: 78vh; border: 1px solid #333; background: #111; box-shadow: 0 20px 80px -20px rgba(255, 59, 38, .4); }
.proof-box .row { justify-content: center; }
.proof-box .fail { color: var(--muted); font-size: 13px; }

/* ---------- хостинг ---------- */
.host-cta { border: 1px solid #3a1510; background: radial-gradient(80% 140% at 100% 0, rgba(200, 40, 26, .22), transparent 60%), #0e0c0c; padding: clamp(24px, 4vw, 44px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden; }
.host-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 40%, rgba(255, 59, 38, .08) 50%, transparent 60%); transform: translateX(-100%); animation: sweep 6s ease-in-out infinite; pointer-events: none; }
.host-card { border-color: #3a1510; background: #0f0b0a; }
.steps-list { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 13px; }
.steps-list li::marker { color: var(--red); }

@keyframes recglow { 0%, 100% { box-shadow: 0 0 12px -4px rgba(255, 59, 38, .6); } 50% { box-shadow: 0 0 22px -2px rgba(255, 59, 38, .95); } }
@keyframes sweep { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .tier.rec, .host-cta::after { animation: none; } }
