/* FUT Supply landing (futsupply.com, 27.10): one static page per language, the panel's look — near-black, gold accent,
   Manrope / Montserrat. One script, calc.js (the payout calculator, 28.10); the FAQ opens with <details>, the language is a
   link to the other page. */
/* 2.11 (user): the text «ездит» while the Google fonts load (font-display: swap). Until they arrive the page is drawn in Arial scaled to the
   width and line box of Manrope / Montserrat (measured: Manrope 400 ×1.006, 700 ×0.987; Montserrat 800 ×0.973), so the swap barely moves anything. */
@font-face { font-family: "Manrope Fallback"; src: local("Arial"), local("Helvetica"); font-weight: 400 600; size-adjust: 100.6%; ascent-override: 106%; descent-override: 29%; line-gap-override: 0%; }
@font-face { font-family: "Manrope Fallback"; src: local("Arial Bold"), local("Arial"), local("Helvetica"); font-weight: 700 800; size-adjust: 98.7%; ascent-override: 106%; descent-override: 29%; line-gap-override: 0%; }
@font-face { font-family: "Montserrat Fallback"; src: local("Arial Bold"), local("Arial"), local("Helvetica"); font-weight: 700 800; size-adjust: 97.3%; ascent-override: 97%; descent-override: 25%; line-gap-override: 0%; }
:root {
  --bg: #0b0b0c; --panel: #151517; --panel-2: #1d1d20; --line: #2a2a2e; --text: #f3f3f1; --muted: #a0a09c;
  --gold: #f5c518; --gold-2: #e0a90b; --on-gold: #111; --good: #3ccf7a;
  --font: "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --brand: "Montserrat", "Montserrat Fallback", var(--font);
  --wrap: 1120px; color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
section { scroll-margin-top: 80px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px;
  border-radius: 12px; font-weight: 800; font-size: 15px; white-space: nowrap; border: 1px solid transparent; }
.btn:hover { text-decoration: none; }
.btn-gold { background: var(--gold); color: var(--on-gold); box-shadow: 0 8px 28px -10px rgba(245, 197, 24, .55); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { color: var(--text); border-color: var(--line); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }

/* header: one with the shop's (store.css .st-head): the logo, two sections as tabs with an icon and two lines, the
   language and the account. Narrow: the sections stand under the row as three cards; wide: inside it, underlined. */
.top { position: relative; z-index: 10; background: rgba(11, 11, 12, .82); }
.top .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand acts" "nav nav"; align-items: center;
  column-gap: 12px; padding-top: 12px; }
.brand { grid-area: brand; justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand b { font: 800 15px/1 var(--brand); letter-spacing: .2em; white-space: nowrap; }
.nav { grid-area: nav; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-width: 0; padding: 12px 4px 11px; text-align: center;
  border: 1.5px solid var(--line); border-radius: 14px; background: var(--panel); color: var(--text); line-height: 1.25; }
.tab:hover { color: var(--text); text-decoration: none; border-color: rgba(245, 197, 24, .55); }
.tab-ic { flex: none; display: block; width: 24px; height: 24px; color: var(--muted); }
.tab > span { display: grid; gap: 2px; min-width: 0; }
.tab b { font-size: 14px; font-weight: 800; line-height: 1.25; white-space: nowrap; }
.tab small { font-size: 11.5px; line-height: 1.3; color: var(--muted); white-space: nowrap; }
.tab.on { border-color: var(--gold); background: rgba(245, 197, 24, .13); }
.tab.on .tab-ic { color: var(--gold); }
/* «Монеты»: the same two lines as its neighbour — the name, and under it «Купить · Продать» as two links; the padding
   makes them easy to hit and the negative margin keeps the line where a plain one would stand */
.tab-icl { display: block; }
.tab-txt { display: grid; gap: 2px; justify-items: center; min-width: 0; }
.tab-name { color: var(--text); }
.tab-subs { display: flex; justify-content: center; gap: 5px; font-size: 11.5px; line-height: 1.3; color: var(--muted); white-space: nowrap; }
.tab-subs a { padding: 9px 7px; margin: -9px -7px; color: var(--muted); }
.tab-subs i { font-style: normal; }
.tab-subs a:hover, .tab-name:hover { color: var(--text); text-decoration: none; }
.tab-subs a[aria-current] { color: var(--gold); }
.top-acts { grid-area: acts; display: flex; align-items: center; gap: 8px; }
.top .btn-sm, .top .lang { min-height: 40px; border-radius: 999px; border-width: 1.5px; }
.top .btn-sm { font-size: 13.5px; }
.top .btn-ghost { gap: 7px; padding: 0 14px 0 11px; background: var(--panel); }
.top .btn-ghost:hover { border-color: var(--gold); }
@media (min-width: 1040px) {
  .top { position: sticky; top: 0; border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .top .wrap { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand nav acts"; column-gap: 16px; height: 76px; padding-top: 0; }
  .nav { display: flex; justify-content: center; align-self: stretch; gap: 2px; margin: 0; }
  .tab { flex-direction: row; justify-content: center; gap: 9px; padding: 0 12px; text-align: left; background: none;
    border: 0; border-top: 3px solid transparent; border-bottom: 3px solid transparent; border-radius: 0; }
  .tab-ic { width: 26px; height: 26px; }
  .tab:hover { border-color: transparent; border-bottom-color: rgba(245, 197, 24, .45); }
  .tab > span { gap: 1px; }
  .tab small { font-size: 12px; }
  .tab.on { background: none; border-color: transparent; border-bottom-color: var(--gold); }
  .tab-txt { justify-items: start; gap: 1px; }
  .tab-subs { justify-content: flex-start; font-size: 12px; }
}
@media (min-width: 1040px) and (max-width: 1140px) {  /* the narrowest one-row header: a tighter logo and tabs */
  .brand b { letter-spacing: .1em; }
  .top .wrap { column-gap: 8px; }
  .tab { padding: 0 8px; gap: 7px; }
}
.lang { color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .06em; padding: 6px 10px; border: 1px solid var(--line);
  border-radius: 8px; }
.lang:hover { color: var(--text); border-color: var(--muted); text-decoration: none; }
/* the flag of the language the link leads to (user 28.11); an SVG, not an emoji — Windows shows emoji flags as letters */
.lang { display: inline-flex; align-items: center; gap: 6px; }
.lang::before { content: ""; width: 18px; height: 12px; border-radius: 2px; background: center / cover no-repeat;
  box-shadow: 0 0 0 1px rgba(255,255,255,.15); flex: none; }
.lang[hreflang="en"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='t'%3E%3Cpath d='M30,15h30v15zv15h-30zh-30v-15zv-15h30z'/%3E%3C/clipPath%3E%3Cpath d='M0,0v30h60v-30z' fill='%23012169'/%3E%3Cpath d='M0,0 60,30M60,0 0,30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0,0 60,30M60,0 0,30' clip-path='url(%23t)' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30,0v30M0,15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30,0v30M0,15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E"); }
.lang[hreflang="ru"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 6'%3E%3Cpath fill='%23fff' d='M0 0h9v2H0z'/%3E%3Cpath fill='%230039A6' d='M0 2h9v2H0z'/%3E%3Cpath fill='%23D52B1E' d='M0 4h9v2H0z'/%3E%3C/svg%3E"); }

/* hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 620px; pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, rgba(245, 197, 24, .16), transparent 62%); }
.hero .wrap { position: relative; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03); color: var(--muted); font-size: 13px; font-weight: 700; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 10px var(--good); }
h1 { font-family: var(--brand); font-weight: 800; font-size: clamp(34px, 6vw, 62px); line-height: 1.06; letter-spacing: -.01em;
  margin: 22px auto 18px; max-width: 900px; }
h1 em { font-style: normal; color: var(--gold); }
.lead { max-width: 680px; margin: 0 auto 30px; color: var(--muted); font-size: clamp(16px, 2vw, 19px); }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.facts { display: flex; gap: 10px 26px; justify-content: center; flex-wrap: wrap; margin: 26px 0 0; padding: 0; list-style: none;
  color: var(--muted); font-size: 14px; font-weight: 600; }
.facts li::before { content: "✓"; color: var(--gold); margin-right: 7px; font-weight: 800; }

/* sections */
.sec { padding: 68px 0; }
.sec.alt { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .025) 18%, rgba(255, 255, 255, .025) 82%, transparent); }
.kicker { color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 10px; }
h2 { font-family: var(--brand); font-weight: 800; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.15; margin: 0 0 14px; }
.sub { color: var(--muted); max-width: 720px; margin: 0 0 40px; font-size: 17px; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.card h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* steps */
.step { position: relative; padding-top: 30px; }
.step .num { font-family: var(--brand); font-weight: 800; font-size: 54px; line-height: 1; color: var(--gold);
  text-shadow: 0 0 24px rgba(245, 197, 24, .35); display: block; margin-bottom: 14px; }
.step + .step::before { content: ""; position: absolute; left: -18px; top: 56px; width: 18px; border-top: 2px dashed rgba(245, 197, 24, .35); }

/* pay table */
.pay { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.rate { padding: 30px; background: radial-gradient(ellipse at 0% 0%, rgba(245, 197, 24, .14), transparent 60%), var(--panel); }
.rate .big { font-family: var(--brand); font-weight: 800; font-size: clamp(40px, 6vw, 58px); line-height: 1; color: var(--gold); margin: 6px 0 4px; }
.rate .big small { font-size: 18px; color: var(--muted); font-family: var(--font); font-weight: 700; margin-left: 6px; }
.rate ul { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 15px; }
.rate li { padding-left: 24px; position: relative; }
.rate li::before { content: "•"; position: absolute; left: 6px; color: var(--gold); font-weight: 800; }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; font-size: 15px; }
.tbl th, .tbl td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl th { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--panel-2); }
.tbl th span { display: block; text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 12px; color: var(--muted); opacity: .85; }
.tbl td b { font-size: 17px; }
.tbl td small { display: block; color: var(--muted); font-size: 13px; }
.tbl td.vol { font-weight: 700; white-space: nowrap; }
.tbl tbody tr:first-child td { background: rgba(245, 197, 24, .05); }
.note { color: var(--muted); font-size: 13px; margin: 14px 2px 0; }

/* two ways */
.way { position: relative; padding: 30px; }
.way .tag { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; margin-bottom: 14px;
  color: var(--gold); background: rgba(245, 197, 24, .12); }
.way.main { border-color: rgba(245, 197, 24, .45); background: linear-gradient(180deg, rgba(245, 197, 24, .07), transparent 55%), var(--panel); }
.way ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 15px; }
.way li { padding-left: 26px; position: relative; color: var(--text); }
.way li::before { content: "✓"; position: absolute; left: 2px; color: var(--gold); font-weight: 800; }
.way .fee { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.way .fee b { color: var(--text); }

/* security */
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(245, 197, 24, .12); color: var(--gold); }
.ico svg { width: 22px; height: 22px; }

/* support */
.faq-more { margin: 30px 0 0; text-align: center; }
.btn-tg { background: #2aabee; color: #06131c; }  /* dark ink: white on Telegram blue is only ≈ 2.6:1 */
.btn-tg:hover { background: #4cbaf2; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.faq details[open] { border-color: rgba(245, 197, 24, .35); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 22px; font-weight: 700; font-size: 16px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--gold);
  font-size: 24px; font-weight: 600; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* final call */
.final { text-align: center; padding: 90px 0; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 100%, rgba(245, 197, 24, .14), transparent 60%); }
.final .wrap { position: relative; }
.final img { width: 64px; height: 64px; margin: 0 auto 18px; }
.final .sub { margin-left: auto; margin-right: auto; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 34px 0 40px; color: var(--muted); font-size: 14px; }
.foot .wrap { display: flex; gap: 14px 28px; flex-wrap: wrap; align-items: center; }
.foot nav { display: flex; gap: 10px 22px; flex-wrap: wrap; }
.foot nav a { color: var(--text); font-weight: 600; }
.foot .copy { margin-left: auto; }
.foot .legal { flex-basis: 100%; font-size: 12px; opacity: .8; margin: 4px 0 0; }

@media (max-width: 980px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pay { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 48px 0 24px; }
  .sec { padding: 48px 0; }
  .g3, .g2, .g4 { grid-template-columns: minmax(0, 1fr); }
  .step + .step::before { display: none; }
  .card, .way, .rate { padding: 22px; }
  .tbl th, .tbl td { padding: 11px 10px; font-size: 14px; }
  .tbl td b { font-size: 15px; }
  .tbl td small { font-size: 12px; }
  .tbl th { font-size: 11px; letter-spacing: .04em; }
  .faq-more .btn { width: 100%; }
  .cta .btn { flex: 1 1 100%; }
  .foot .copy { margin-left: 0; }
}
/* the English page: the panel itself is in Russian for now */
.lang-note { margin: 16px auto 0; max-width: 560px; color: var(--muted); font-size: 13px; }
/* the promo on the Russian page (under the three steps): the browser's own player in the hero shot's gold frame */
.video { margin: 32px auto 0; max-width: 720px; }
.video-frame { padding: 8px; border-radius: 18px; background: linear-gradient(180deg, rgba(245, 197, 24, .45), rgba(245, 197, 24, .06) 60%);
  box-shadow: 0 30px 80px -30px rgba(245, 197, 24, .3), 0 20px 60px -20px rgba(0, 0, 0, .8); }
.video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; background: #000; }
@media (max-width: 760px) { .video { margin-top: 28px; } .video-frame { padding: 5px; border-radius: 14px; } .video video { border-radius: 10px; } }

/* Articles (futsupply.com/blog/, 28.10; built by tools/build_blog.py from docs/seo): a ~720 px text column, the landing's
   header, buttons and FAQ. A wide table scrolls inside its frame, never the page. */
.foot a[aria-current] { color: var(--gold); }  /* «page» on the list of articles, «true» on an article */
.art { padding: 40px 0 72px; }
.art .wrap { max-width: 768px; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 13px; font-weight: 600; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); text-decoration: none; }
.art h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.12; margin: 16px 0 12px; max-width: none; }
.art-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin: 0 0 30px; color: var(--muted); font-size: 14px; }
.art-lang b { color: var(--text); font-weight: 700; }
.prose { font-size: 17px; line-height: 1.72; }
.prose h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.2; margin: 44px 0 14px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin: 0 0 8px; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--text); font-weight: 800; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.tbl-scroll { overflow-x: auto; margin: 4px 0 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.tbl-scroll:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.prose table { width: 100%; min-width: 440px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.prose th, .prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }
.prose th { background: var(--panel-2); color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.prose .faq { margin: 0 0 16px; max-width: none; }
.prose .faq details p { padding-top: 2px; }
.prose .faq details > ul, .prose .faq details > ol { margin: 0 22px 20px; color: var(--muted); font-size: 15px; }
.prose code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .88em; padding: 1px 6px; border-radius: 6px;
  background: var(--panel-2); border: 1px solid var(--line); }
.art-cta { margin: 44px 0 0; padding: 34px 28px; text-align: center; border: 1px solid rgba(245, 197, 24, .4); border-radius: 18px;
  background: radial-gradient(ellipse at 50% 0%, rgba(245, 197, 24, .14), transparent 65%), var(--panel); }
.art-cta-t { margin: 0 0 18px; font-family: var(--brand); font-weight: 800; font-size: clamp(20px, 2.6vw, 25px); line-height: 1.25; }
.art-cta-s { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.art-next { margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.art-next h2 { font-size: 20px; margin: 0 0 12px; }
.art-next ul { margin: 0 0 16px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.art-next li::marker { color: var(--gold); }
.art-next p { margin: 0; font-weight: 700; }
/* the list of articles */
.blog-head { padding: 56px 0 8px; }
.blog-head h1 { margin: 0 0 12px; max-width: none; font-size: clamp(32px, 5vw, 48px); }
.blog-head .sub { margin-bottom: 0; }
.blog-list { padding: 28px 0 84px; }
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.post { display: flex; flex-direction: column; gap: 8px; }
.post time { color: var(--muted); font-size: 13px; font-weight: 600; }
.post h2 { font-size: 21px; line-height: 1.3; margin: 0; }
.post h2 a { color: var(--text); }
.post h2 a:hover { color: var(--gold); text-decoration: none; }
.post p { flex: 1 1 auto; }
.post-more { font-weight: 800; font-size: 14px; }
@media (max-width: 760px) {
  .art { padding: 28px 0 56px; }
  .prose { font-size: 16px; }
  .prose th, .prose td { padding: 10px 12px; font-size: 14px; }
  .prose th { font-size: 11px; letter-spacing: .04em; }  /* the caps heads no bigger than on a desktop */
  .art-cta { padding: 26px 18px; }
  .art-cta .btn { width: 100%; }
  .posts { grid-template-columns: minmax(0, 1fr); }
  .blog-head { padding-top: 40px; }
}

/* the payout calculator (28.10, calc.js): the coins on the left — a big field (typed as in chat: 700к, 1,5 млн), a
   logarithmic slider 100 тыс … 10 млн, quick picks, PS · Xbox / PC — and what they bring on the right, in the rate card's
   gold glow; one column on a phone */
.calc { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; padding: 30px; align-items: stretch; }
.calc-lbl { display: block; margin: 0 0 8px; color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.calc-field { display: flex; align-items: center; gap: 10px; height: 64px; padding: 0 18px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--panel-2); }
.calc-field:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 197, 24, .15); }
.calc-field input { flex: 1 1 auto; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--text);
  font: 800 30px/1 var(--brand); letter-spacing: .01em; }
.calc-field span { flex: none; color: var(--muted); font-size: 15px; font-weight: 700; }
.calc-range { display: block; width: 100%; margin: 20px 0 4px; accent-color: var(--gold); cursor: pointer; }
.calc-quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.calc-quick button { min-height: 38px; padding: 0 15px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .02);
  color: var(--text); font: 700 14px var(--font); cursor: pointer; }
.calc-quick button:hover { border-color: var(--muted); }
.calc-quick button.on { border-color: var(--gold); color: var(--gold); background: rgba(245, 197, 24, .08); }
.calc-quick button:focus-visible, .calc-range:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
/* its paragraphs as .calc .calc-*: the landing's `.card p` (0,1,1) would win over a single class (review 28.10) */
.calc .calc-hint { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.calc-plat { display: inline-flex; gap: 4px; margin: 20px 0 0; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-2); }
.calc-plat label { position: relative; cursor: pointer; }
.calc-plat input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.calc-plat span { display: block; padding: 8px 18px; border-radius: 9px; color: var(--muted); font-size: 14px; font-weight: 800; white-space: nowrap; }
.calc-plat input:checked + span { background: var(--gold); color: var(--on-gold); }
.calc-plat input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.calc-out { display: flex; flex-direction: column; padding: 26px; border: 1px solid rgba(245, 197, 24, .28); border-radius: 16px;
  background: radial-gradient(ellipse at 0% 0%, rgba(245, 197, 24, .14), transparent 60%), var(--panel-2); }
.calc .calc-cap { margin: 0; color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
/* «Вы получите» and the currency of the big sum on one line: «$ · € · ₽», a small copy of the PS · Xbox / PC switch */
.calc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; }
.calc-cur { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.calc-cur[hidden], .calc-cur label[hidden] { display: none; }
.calc-cur label { position: relative; cursor: pointer; }
.calc-cur input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.calc-cur span { display: block; min-width: 30px; padding: 4px 9px; border-radius: 7px; color: var(--muted); font-size: 14px; font-weight: 800; line-height: 1.3; text-align: center; }
.calc-cur label:hover span { color: var(--text); }
.calc-cur input:checked + span { background: var(--gold); color: var(--on-gold); }
.calc-cur input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
/* --sum: the big sum's size, the face is measured by it too */
.calc-out { position: relative; --sum: clamp(42px, 6vw, 62px); }
/* as wide as the figure (align-self): its box is the number, not the card's width; it wraps as before */
.calc-sum { align-self: flex-start; max-width: 100%; margin: 6px 0 2px; color: var(--gold); font-family: var(--brand); font-weight: 800;
  font-size: var(--sum); line-height: 1.05; overflow-wrap: anywhere; }
.calc .calc-alt { margin: 0; color: var(--text); font-size: 18px; font-weight: 700; }
/* the easter egg (28.10, user: «только лицо, как сообщение в аське — появилось и исчезло»; later that day: «рядом с суммой»,
   «висеть 1 секунду»): when the sum crosses 100 млн upwards, the «not bad» face pops up right after the big figure — to
   the right of its last line, standing on the line's bottom, about as tall as the line (1.1 × the sum's size: 68 px, 46
   on a phone). calc.js measures the figure and sets left / top (on a narrow phone the face may lie over the card's edge,
   never off the screen and never over the number; with too little room it gets a little smaller); it jumps in with an
   overshoot (~0.3 s), stays 1 s and drops away (.pop, then .bye). Out of the flow: the card keeps its size, the sums
   never move. With reduced motion: a plain fade in and out */
.calc-wow { position: absolute; left: 0; top: 0; z-index: 3; width: calc(var(--sum) * 1.1); height: calc(var(--sum) * 1.1); pointer-events: none;
  visibility: hidden; opacity: 0; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .45)); }
.calc-wow img { display: block; width: 100%; height: 100%; }
.calc-wow.pop { visibility: visible; opacity: 1; animation: wow-in .34s cubic-bezier(.3, 1.6, .5, 1) both; }
.calc-wow.bye { visibility: visible; animation: wow-out .32s ease-in both; }
/* in % of the face itself: the same jump at any size; the overshoot lifts it only a few px (the «$ · € · ₽» row is above) */
@keyframes wow-in {
  0% { opacity: 0; transform: translateY(45%) scale(.35) rotate(-14deg); }
  55% { opacity: 1; transform: translateY(-2%) scale(1.1) rotate(5deg); }
  78% { transform: translateY(2%) scale(.96) rotate(-2deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes wow-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(26%) scale(.6) rotate(8deg); } }
@keyframes wow-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .calc-wow.pop { animation: wow-fade .2s both; }
  .calc-wow.bye { animation: wow-fade .3s reverse both; }
}
.calc .calc-how { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.calc .calc-own { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.calc .calc-own b { color: var(--text); }
.calc-go { align-self: flex-start; margin-top: 22px; }
@media (max-width: 860px) {
  .calc { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 760px) {
  .calc { padding: 18px; }
  .calc-field { height: 58px; padding: 0 14px; }
  .calc-field input { font-size: 25px; }
  .calc-out { padding: 20px; }
  .calc-go { align-self: stretch; }
  .calc-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .calc-quick button { padding: 0 4px; font-size: 13px; white-space: nowrap; }
}
@media (max-width: 380px) {
  .calc { padding: 14px; }
  .calc-field input { font-size: 22px; }
  .calc-quick button { font-size: 12.5px; }
  .calc-plat span { padding: 8px 14px; }
}

/* sign-in / sign-up window (28.10, auth.js): over the page, two tabs; a phone gets it full screen */
html.am-open { overflow: hidden; }
.am[hidden] { display: none; }
.am { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.am-back { position: absolute; inset: 0; background: rgba(0, 0, 0, .66); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.am-box { position: relative; width: 100%; max-width: 420px; max-height: 100%; overflow-y: auto; padding: 22px 24px 24px; outline: 0;
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); }
.am-x { position: absolute; top: 28px; right: 14px; width: 36px; height: 36px; padding: 0 0 3px; display: grid; place-items: center; border: 0;
  border-radius: 10px; background: transparent; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; }
.am-x:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.am-tabs { display: flex; gap: 6px; margin: 0 52px 18px 0; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.am-tabs button { flex: 1; min-height: 38px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer;
  font: 800 14px var(--font); }
.am-tabs button[aria-selected="true"] { background: var(--gold); color: var(--on-gold); }
.am-pane[hidden] { display: none; }
.am-pane form { display: grid; gap: 10px; }
.am-pane input:not([type="hidden"]) { width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); color: var(--text); font: 600 15px var(--font); outline: 0; }
.am-pane input:not([type="hidden"]):focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 197, 24, .15); }
.am-pane input::placeholder { color: var(--muted); font-weight: 500; }
.am-pane .btn { width: 100%; cursor: pointer; font-family: var(--font); }
.am-pane input.am-hp { position: absolute; left: -10000px; width: 1px; height: 1px; min-height: 0; padding: 0; opacity: 0; overflow: hidden; }
.am-forgot, .am-terms, .am-hint { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; text-align: center; }
.am-hint { margin: 10px 0 0; font-size: 12px; }
.am-or { display: flex; align-items: center; gap: 12px; margin: 16px 0 12px; color: var(--muted); font-size: 12.5px; }
.am-or::before, .am-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.am-alt { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; margin-top: 8px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--panel-2); color: var(--text); font-weight: 700; font-size: 14.5px; }
.am-alt:hover { border-color: var(--muted); text-decoration: none; }
.am-alt:focus-visible, .am-tabs button:focus-visible, .am-x:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.am-alt span { text-align: center; line-height: 1.15; }
.am-ic { flex: none; display: block; }
@media (max-width: 560px) {
  .am { padding: 0; align-items: stretch; }
  .am-box { max-width: none; border-radius: 0; border: 0; padding: 18px 16px 24px; }
  .am-x { top: 24px; right: 10px; }
  .am-tabs { margin-right: 48px; }
}
@media (prefers-reduced-motion: no-preference) { .am-box { animation: am-in .16s ease-out; } }
@keyframes am-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---- the three ways in (2.12): the landing became the front of the whole service — the shop (coins, games and
   subscriptions) and the supplier panel; the old supplier page is the #sell section ---- */
.btn-line { color: var(--text); border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.btn:focus-visible, .tab:focus-visible, .tab-duo a:focus-visible, .lang:focus-visible, .foot a:focus-visible, .brand:focus-visible, .faq summary:focus-visible,
.note a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.hero { padding: 64px 0 48px; }
.hero h1 { margin: 0 auto 16px; }
.hero .lead { max-width: 760px; margin-bottom: 44px; text-wrap: balance; }
.dirs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; text-align: left; max-width: 900px; margin: 0 auto; }
.dir { display: flex; flex-direction: column; padding: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.dir-main { border-color: rgba(245, 197, 24, .6);
  background: linear-gradient(180deg, rgba(245, 197, 24, .09), transparent 60%), var(--panel); }
.dir p { margin: 0; color: var(--muted); font-size: 15px; }
.dir .dir-tag { margin: 0 0 4px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.dir-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.dir-ht { min-width: 0; }
.dir-ico { flex: none; width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; color: var(--gold); background: rgba(245, 197, 24, .12); }
.dir-ico svg { width: 26px; height: 26px; }
.dir h2 { margin: 0; font-size: 22px; line-height: 1.2; }
.dir p + p { margin-top: 10px; }
.dir p b { color: var(--text); }
.dir-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 24px; }
.dir-acts .btn { flex: 1 1 132px; min-width: 0; padding: 0 10px; }
.shop .grid { align-items: stretch; }
.shopc { display: flex; flex-direction: column; padding: 28px; }
.shopc h3 { font-size: 20px; margin-bottom: 14px; }
.msteps { margin: 0; padding: 0; list-style: none; counter-reset: ms; display: flex; flex-direction: column; gap: 12px; }
.msteps li { counter-increment: ms; position: relative; padding-left: 40px; color: var(--muted); font-size: 15px; }
.msteps li::before { content: counter(ms); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(245, 197, 24, .14); color: var(--gold); font: 800 14px/1 var(--brand); }
.msteps b { color: var(--text); }
.mlist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: var(--muted); }
.mlist li { position: relative; padding-left: 26px; }
.mlist li::before { content: "✓"; position: absolute; left: 2px; color: var(--gold); font-weight: 800; }
.card .shopc-note { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.shopc-acts { display: flex; gap: 10px; margin-top: auto; padding-top: 24px; }
.shopc-acts .btn { flex: 1 1 0; min-width: 0; }
.note a { text-decoration: underline; text-underline-offset: 2px; }
/* the supplier section: the old landing's first screen, now one band among three */
.sec.sell { padding: 84px 0 24px; text-align: center; position: relative; overflow: hidden; }
.sec.sell::before { content: ""; position: absolute; inset: -40% -10% auto; height: 520px; pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, rgba(245, 197, 24, .12), transparent 62%); }
.sec.sell .wrap { position: relative; }
.sec.sell h1, .sec.sell h2 { font-size: clamp(30px, 5vw, 50px); line-height: 1.08; margin: 0 auto 18px; max-width: 860px; }
.sec.sell h1 em, .sec.sell h2 em { font-style: normal; color: var(--gold); }
.sec.sell .lead { margin-bottom: 28px; }
.sec.sell + .sec { padding-top: 48px; }
/* the supplier page's own first screen (v3, 2.12) and the teaser on the main page: the buttons under the ticks */
.facts + .cta { margin-top: 28px; }
/* the footer in three columns */
.foot-cols { flex-basis: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.foot-cols nav { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.foot-cols .foot-h { margin: 0 0 8px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.foot-cols a { display: inline-block; padding: 5px 0; }
@media (max-width: 760px) {
  .hero { padding: 36px 0 36px; }
  .hero h1 { font-size: clamp(30px, 9vw, 40px); margin-bottom: 12px; }
  .hero .lead { margin-bottom: 24px; font-size: 16px; }
  .dirs { grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: 560px; }
  .dir { padding: 18px; }
  .dir .dir-tag { margin-bottom: 2px; font-size: 11.5px; }
  .dir-head { margin-bottom: 8px; }
  .dir-ico { width: 44px; height: 44px; }
  .dir h2 { font-size: 20px; }
  .dir p { font-size: 14.5px; line-height: 1.5; }
  .dir-acts { padding-top: 16px; }
  .dir-acts .btn, .shopc-acts .btn { min-height: 48px; }
  .shopc { padding: 20px; }
  .sec.sell { padding: 56px 0 12px; }
  .sec.sell + .sec { padding-top: 36px; }
  .foot-cols { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .foot-cols a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
  .foot-cols nav { gap: 0; }
  /* a phone: the shop's header — logo, language, «Войти» (the sign-in window carries the registration tab) */
  .top .btn-gold { display: none; }
}
@media (max-width: 389px) {
  .brand { gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .brand b { font-size: 14px; letter-spacing: .1em; }
  .top-acts { gap: 6px; }
  .top .btn-ghost { gap: 6px; padding: 0 11px 0 9px; font-size: 13px; }
  .tab b { font-size: 12.5px; }
  .tab small { font-size: 10px; }
  .tab-subs { font-size: 10px; }
}
@media (max-width: 339px) {
  .brand b { display: none; }
  .tab b { font-size: 11.5px; }
  .nav .tab small, .tab-subs { font-size: 10px; }
}
.foot-cols + .copy { margin-left: 0; }
