/* RepublicMC shop — Minecraft Dungeons merchant style. */
:root {
  --bg: #0c2b20; --bg-2: #0f3427;
  --panel: #121715; --panel-2: #1a211e; --panel-3: #242d29;
  --line: #2d3833; --line-2: #3e4b45;
  --bar: #1f4a42; --bar-2: #163a34; --bar-hi: #2b6157;
  --text: #f1efe6; --muted: #a3ada7; --dim: #6f7a74;
  --green: #4cae4f; --green-hi: #6fd16a; --green-lo: #2f7a33;
  --sale: #1f9d6b; --sale-hi: #3fd46b;
  --gold: #ffcf3a; --orange: #ff9a1f; --beige: #e7d6b0; --beige-ink: #3b2f1c;
  --common: #8d979c; --rare: #3fd46b; --unique: #ff9a1f;
  --danger: #ff5a4f;
  --px: "Press Start 2P", ui-monospace, monospace;
  --font: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cut: polygon(0 4px, 4px 4px, 4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px),
    calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; } @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; color: var(--text); font: 400 17px/1.5 var(--font); -webkit-font-smoothing: antialiased; min-height: 100vh;
  display: flex; flex-direction: column;
  font-synthesis: none;
  background: #0a2a24;
}
body.no-scroll { overflow: hidden; }
main { flex: 1; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3, h4, p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.container { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 24px; }
.px { font-family: var(--px); text-transform: uppercase; letter-spacing: .04em;  letter-spacing: 0; }
.px-icon { image-rendering: pixelated; flex-shrink: 0; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--panel-3); --b-hi: rgba(255,255,255,.14); --b-lo: rgba(0,0,0,.4);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 10px 26px; border: 0; background: var(--b); color: var(--text);
  font: 600 9.5px/1 var(--px); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap;
  clip-path: var(--cut);
  box-shadow: inset 0 4px 0 var(--b-hi), inset 0 -5px 0 var(--b-lo);
  text-shadow: 2px 2px 0 rgba(0,0,0,.45);
  transition: filter .12s, transform .06s;  letter-spacing: 0; }
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: translateY(2px); box-shadow: inset 0 3px 0 var(--b-lo); }
.btn:disabled { filter: grayscale(.7) brightness(.8); cursor: not-allowed; }
.btn-green { --b: var(--green); --b-hi: rgba(210,255,190,.45); --b-lo: rgba(0,50,0,.45); }
.btn-dark { --b: #2b3439; --b-hi: rgba(255,255,255,.12); --b-lo: rgba(0,0,0,.45); }
.btn-red { --b: #b23a32; --b-hi: rgba(255,200,190,.3); --b-lo: rgba(60,0,0,.45); }
.btn-gold { --b: #c8901e; --b-hi: rgba(255,235,170,.45); --b-lo: rgba(70,40,0,.5); }
.btn-lg { min-height: 58px; font-size: 10px; }
.btn-xl { min-height: 64px; font-size: 11px; width: 100%; }
.btn-sq { width: 54px; padding: 0; font-size: 12px; }
.btn-sm { min-height: 44px; padding: 6px 16px; font-size: 8px; }
.key {
  display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 6px;
  font: 600 6.5px/1 var(--px); letter-spacing: .04em; color: var(--text);
  background: rgba(0,0,0,.35); border: 2px solid rgba(255,255,255,.45); text-shadow: none;  letter-spacing: 0; }
.key-btn {
  display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 6px 4px;
  font: 500 8.5px/1 var(--px); text-transform: uppercase; color: var(--muted);  letter-spacing: 0; }
.key-btn:hover { color: var(--text); }

/* ---------- panels, frames, tags ---------- */
.panel {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 3px solid var(--line); box-shadow: 0 0 0 3px rgba(0,0,0,.35), 0 18px 40px rgba(0,0,0,.35);
}
.frame { position: relative; --c: var(--beige); }
.frame::before {
  content: ""; position: absolute; inset: -9px; pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) left top / 16px 4px no-repeat,
    linear-gradient(var(--c), var(--c)) left top / 4px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 16px 4px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 4px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 16px 4px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 4px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 16px 4px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 4px 16px no-repeat;
}
.tag {
  display: inline-flex; align-items: center; height: 28px; padding: 0 9px;
  font: 700 8px/1 var(--px); letter-spacing: .03em; text-transform: uppercase; color: #fff;
  background: var(--sale); box-shadow: inset 0 3px 0 rgba(255,255,255,.25), inset 0 -3px 0 rgba(0,0,0,.3);
  text-shadow: 2px 2px 0 rgba(0,0,0,.35); clip-path: var(--cut);  letter-spacing: 0; }
.tag-label { background: var(--orange); }
.tag-beige { background: var(--beige); color: var(--beige-ink); text-shadow: none; box-shadow: inset 0 -3px 0 rgba(0,0,0,.18); }
.noimg {
  width: 100%; height: 100%;
  background: conic-gradient(#25302b 25%, #1d2622 0 50%, #25302b 0 75%, #1d2622 0) 0 0 / 16px 16px;
}

/* ---------- header bar ---------- */
.nav-wrap {
  position: sticky; top: 0; z-index: 40;
  background: linear-gradient(180deg, var(--bar-hi) 0 4px, var(--bar) 4px calc(100% - 5px), var(--bar-2) calc(100% - 5px));
  box-shadow: 0 4px 0 rgba(0,0,0,.45), 0 12px 30px rgba(0,0,0,.35);
}
.nav { max-width: 1360px; margin: 0 auto; padding: 0 24px; height: 78px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-logo {
  width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; background: #0e221d center / cover no-repeat;
  border: 3px solid rgba(0,0,0,.45); font: 700 12px/1 var(--px); color: var(--gold); image-rendering: pixelated;  letter-spacing: 0; }
.brand-name { font: 700 13px/1 var(--px); text-transform: uppercase; letter-spacing: .05em; text-shadow: 3px 3px 0 rgba(0,0,0,.45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;  letter-spacing: 0; }
.nav-links { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 14px; font: 500 9px/1 var(--px); text-transform: uppercase; color: rgba(255,255,255,.75);  letter-spacing: 0; }
.nav-links a:hover { color: #fff; background: rgba(0,0,0,.2); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.counter {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px 0 10px;
  background: rgba(0,0,0,.32); border: 0; box-shadow: inset 0 -3px 0 rgba(0,0,0,.3);
  font: 600 10.5px/1 var(--px); color: #fff; text-shadow: 2px 2px 0 rgba(0,0,0,.5); clip-path: var(--cut);  letter-spacing: 0; }
.counter .muted { font-size: 16px; color: rgba(255,255,255,.6); }
.counter-icon { position: relative; display: grid; place-items: center; }
.cart-badge:hover { background: rgba(0,0,0,.45); }
.cart-badge.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: translateY(-4px); } }
.cart-counter {
  position: absolute; right: -8px; top: -6px; min-width: 22px; height: 22px; padding: 0 5px; display: grid; place-items: center;
  font: 700 7px/1 var(--px); color: #fff; background: var(--sale); border: 2px solid #0b1f1a;  letter-spacing: 0; }

/* ---------- hero ---------- */
.hero { padding: 32px 24px 8px; }
.hero > * { max-width: 1312px; margin: 0 auto; }
.hero-card {
  position: relative; min-height: 300px; display: flex; align-items: flex-end;
  background: linear-gradient(135deg, rgba(27,74,60,.35), rgba(8,30,24,.65)) center / cover no-repeat;
  border: 4px solid #0a1a15; box-shadow: 0 0 0 4px #2f5d50, 0 24px 50px rgba(0,0,0,.45);
  image-rendering: pixelated; overflow: hidden;
}
.hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,15,12,.92) 0%, rgba(5,15,12,.35) 55%, rgba(5,15,12,.1)); }
.hero-inner { position: relative; z-index: 1; padding: 40px 44px; display: flex; flex-direction: column; gap: 22px; }
.hero-title {
  font: 700 clamp(20px, 3vw, 36px)/.95 var(--px); text-transform: uppercase; letter-spacing: .03em;
  color: #fff; text-shadow: 4px 4px 0 #0a1a15, 0 0 30px rgba(80,220,140,.25);  letter-spacing: 0; }
.hero-sub { font: 500 10px/1.2 var(--px); color: var(--gold); text-transform: uppercase; letter-spacing: .06em; text-shadow: 2px 2px 0 rgba(0,0,0,.6);  letter-spacing: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.server-chip {
  display: inline-flex; align-items: center; gap: 14px; min-height: 54px; padding: 8px 18px 8px 12px; border: 0;
  background: rgba(10,20,17,.85); border-left: 4px solid var(--green-hi); text-align: left; clip-path: var(--cut);
  font: 600 9.5px/1.1 var(--px); text-transform: uppercase; color: #fff;  letter-spacing: 0; }
.server-chip small { display: block; font: 400 14px/1.2 var(--font); text-transform: none; color: var(--muted); margin-top: 3px; }
.server-chip:hover { background: rgba(10,20,17,.95); }
.live-dot { width: 10px; height: 10px; background: var(--green-hi); box-shadow: 0 0 0 3px rgba(111,209,106,.25); animation: blink 1.6s steps(2) infinite; flex-shrink: 0; }
@keyframes blink { 50% { opacity: .4; } }

/* ---------- shop layout ---------- */
.shop { padding: 36px 0 24px; }
.shop-grid { display: grid; grid-template-columns: 290px 1fr; gap: 32px; align-items: start; }
.categories { list-style: none; margin: 0; padding: 10px; position: sticky; top: 100px; display: flex; flex-direction: column; gap: 6px; }
.category {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 10px 14px; min-height: 64px; text-align: left;
  background: transparent; border: 0; border-left: 4px solid transparent; color: var(--muted);
}
.category:hover { background: rgba(255,255,255,.05); color: var(--text); }
.category.active { background: linear-gradient(90deg, rgba(63,212,107,.18), rgba(63,212,107,.02)); border-left-color: var(--rare); color: #fff; }
.category-name { font: 600 9.5px/1.1 var(--px); text-transform: uppercase; letter-spacing: .03em;  letter-spacing: 0; }
.category-count { font-size: 14px; color: var(--dim); margin-top: 2px; }
.category.active .category-count { color: var(--muted); }

.shop-title, .section-title {
  font: 700 17px/1 var(--px); text-transform: uppercase; letter-spacing: .04em; text-shadow: 3px 3px 0 rgba(0,0,0,.5);  letter-spacing: 0; }
.shop-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.rarity-head {
  display: flex; align-items: center; gap: 12px; margin: 34px 0 16px;
  font: 600 11px/1 var(--px); text-transform: uppercase; letter-spacing: .08em; color: var(--beige); text-shadow: 2px 2px 0 rgba(0,0,0,.5);  letter-spacing: 0; }
.rarity-head:first-of-type { margin-top: 8px; }
.rarity-head::after { content: ""; flex: 1; height: 4px; background: linear-gradient(90deg, rgba(231,214,176,.35), transparent); }
.rarity-head .n { font-size: 16px; color: var(--dim); }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px 18px; }
.empty { padding: 60px 20px; text-align: center; color: var(--muted); font: 500 10px/1.4 var(--px); display: grid; gap: 18px; justify-items: center;  letter-spacing: 0; }

/* ---------- slot card (product tile) ---------- */
.slot-card { --r: var(--common); display: flex; flex-direction: column; gap: 10px; cursor: pointer; outline: none; }
.slot-card.r-rare { --r: var(--rare); }
.slot-card.r-unique { --r: var(--unique); }
.slot {
  position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--r) 22%, transparent), transparent 62%),
    linear-gradient(180deg, #232c28, #151b18);
  border: 4px solid color-mix(in srgb, var(--r) 70%, #000);
  box-shadow: inset 0 0 0 3px rgba(0,0,0,.55), inset 0 0 26px rgba(0,0,0,.6), 0 4px 0 rgba(0,0,0,.45);
  transition: transform .12s, border-color .12s, box-shadow .12s;
}
.slot > img { width: 68%; height: 68%; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 8px 8px rgba(0,0,0,.55)); transition: transform .15s; margin-bottom: 26px; }
.slot > .noimg { position: absolute; inset: 0; }
.slot-card:hover .slot, .slot-card:focus-visible .slot {
  border-color: var(--r); transform: translateY(-3px);
  box-shadow: inset 0 0 0 3px rgba(0,0,0,.55), inset 0 0 26px rgba(0,0,0,.4), 0 7px 0 rgba(0,0,0,.45), 0 0 0 3px rgba(255,255,255,.85);
}
.slot-card:hover .slot > img { transform: scale(1.06); }
.slot-tags { position: absolute; top: 8px; left: 8px; right: 8px; display: flex; justify-content: space-between; gap: 6px; z-index: 2; pointer-events: none; }
.slot-tags .tag { max-width: 100%; overflow: hidden; white-space: nowrap; }
.slot-tags .tag-label { margin-left: auto; font-size: 7px; height: 24px; }
.price-strip {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 38px; padding: 0 10px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(6,10,8,.88); border-top: 3px solid rgba(0,0,0,.6);
  font: 700 9.5px/1 var(--px); color: #fff; text-shadow: 2px 2px 0 #000; white-space: nowrap;  letter-spacing: 0; }
.price-strip s { font-size: 15px; color: var(--dim); text-decoration-thickness: 2px; }
.price-strip .from { font-size: 14px; color: var(--muted); }
.slot-card.r-rare .price-strip b, .slot-card.has-sale .price-strip b { color: var(--sale-hi); }
.stack { position: absolute; left: 8px; bottom: 44px; display: flex; z-index: 2; }
.stack > * { width: 30px; height: 30px; padding: 2px; object-fit: contain; background: #0e1311; border: 2px solid var(--line-2); margin-right: -6px; image-rendering: pixelated; }
.stack .more { display: grid; place-items: center; font: 700 6.5px/1 var(--px); color: var(--muted);  letter-spacing: 0; }
.slot-name { font: 600 9.5px/1.15 var(--px); text-transform: uppercase; letter-spacing: .02em; text-align: center; min-height: 44px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 2px 2px 0 rgba(0,0,0,.5);  letter-spacing: 0; }
.slot-card .btn { width: 100%; min-height: 48px; font-size: 8.5px; }
.slot-card .btn.in-cart { --b: #20322b; color: var(--sale-hi); }

/* ---------- product page ---------- */
.product-page { padding: 36px 0 56px; }
.pp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: start; margin-top: 18px; }
.showcase { display: flex; flex-direction: column; gap: 22px; }
.showcase .slot { aspect-ratio: 4 / 3.4; }
.showcase .slot > img { width: 60%; height: 60%; margin-bottom: 0; }
.showcase-title { font: 600 9px/1 var(--px); text-transform: uppercase; letter-spacing: .08em; color: var(--beige); margin-bottom: 12px;  letter-spacing: 0; }
.pp-variants { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 14px; }
.variant { --r: var(--common); padding: 0; border: 0; background: none; color: var(--text); display: flex; flex-direction: column; gap: 6px; text-align: center; }
.variant.sale { --r: var(--rare); }
.variant .slot { aspect-ratio: 1 / 1; border-width: 3px; }
.variant .slot > img { width: 70%; height: 70%; margin: 0; }
.variant:hover .slot { border-color: var(--r); }
.variant.active .slot { border-color: #fff; box-shadow: inset 0 0 0 3px rgba(0,0,0,.55), 0 0 0 3px var(--gold), 0 4px 0 rgba(0,0,0,.45); }
.variant .slot-tags { top: 4px; left: 4px; }
.variant .slot-tags .tag { height: 22px; font-size: 7px; padding: 0 6px; }
.variant-name { font: 500 7.5px/1.1 var(--px); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;  letter-spacing: 0; }
.variant-price { font: 700 8px/1 var(--px); color: var(--gold);  letter-spacing: 0; }

.detail { padding: 30px 32px 32px; display: flex; flex-direction: column; gap: 20px; }
.detail-top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.detail-top .tag { height: 30px; font-size: 8px; gap: 8px; padding: 0 10px; }
.pp-title { font: 700 clamp(15px, 1.8vw, 22px)/1 var(--px); text-transform: uppercase; letter-spacing: .03em; text-shadow: 3px 3px 0 rgba(0,0,0,.5);  letter-spacing: 0; }
.pp-sub { font: 500 9px/1 var(--px); text-transform: uppercase; color: var(--muted); margin-top: -8px;  letter-spacing: 0; }
.pp-desc { white-space: pre-line; color: #d4d9d4; font-size: 17px; line-height: 1.6; max-height: 340px; overflow: auto; padding-right: 6px; }
.price-box { margin: 10px 9px 4px; padding: 20px 22px; background: rgba(0,0,0,.35); border: 2px solid rgba(231,214,176,.18); display: grid; gap: 10px; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; font: 600 9px/1 var(--px); text-transform: uppercase; letter-spacing: .05em; color: var(--muted);  letter-spacing: 0; }
.price-row s { font-size: 22px; color: var(--dim); text-decoration-thickness: 3px; }
.price-row.now { color: var(--text); }
.price-now { display: flex; align-items: center; gap: 12px; }
.price-now b { font: 700 18px/1 var(--px); color: var(--gold); text-shadow: 3px 3px 0 rgba(0,0,0,.55);  letter-spacing: 0; }
.detail-actions { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.detail-actions .btn-green { min-height: 64px; font-size: 11px; }
.detail-actions .btn-dark { min-height: 64px; }
.detail-meta { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.remove-link { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; font-size: 15px; justify-self: start; }
.remove-link:hover { color: var(--danger); }

/* ---------- feed: recent purchases + top ---------- */
.feed { padding: 30px 0; }
.section-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 18px; }
.section-sub { font: 500 8.5px/1 var(--px); color: var(--muted); text-transform: uppercase; letter-spacing: .04em;  letter-spacing: 0; }
.roulette {
  position: relative; overflow: hidden; padding: 16px 0; cursor: grab; touch-action: pan-y; user-select: none;
  background: rgba(0,0,0,.3); border-top: 4px solid rgba(0,0,0,.4); border-bottom: 4px solid rgba(0,0,0,.4);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.roulette.static { cursor: default; -webkit-mask-image: none; mask-image: none; }
.roulette.grabbing { cursor: grabbing; }
.roulette-track { display: flex; gap: 14px; width: max-content; padding: 0 14px; will-change: transform; }
.recent-card {
  width: 200px; flex-shrink: 0; padding: 12px; display: flex; flex-direction: column; gap: 8px;
  background: linear-gradient(180deg, #222b27, #161c19); border: 3px solid #36423c; box-shadow: inset 0 0 0 2px rgba(0,0,0,.5);
}
.recent-img { height: 104px; display: grid; place-items: center; background: rgba(0,0,0,.3); }
.recent-img img { max-width: 74%; max-height: 88px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 6px 6px rgba(0,0,0,.5)); }
.recent-img .noimg { width: 100%; height: 100%; }
.recent-name { font: 600 8px/1.15 var(--px); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;  letter-spacing: 0; }
.recent-when { font-size: 13px; color: var(--dim); }
.player { display: flex; align-items: center; gap: 8px; min-width: 0; }
.player-name { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.head { width: 26px; height: 26px; flex-shrink: 0; image-rendering: pixelated; display: grid; place-items: center; background: #33403a; font: 700 7px/1 var(--px); border: 2px solid rgba(0,0,0,.5);  letter-spacing: 0; }

.top-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: end; }
.podium-card {
  --m: #8d979c; position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 12px 20px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--m) 18%, #1a211e), #131815);
  border: 4px solid color-mix(in srgb, var(--m) 75%, #000); box-shadow: inset 0 0 0 3px rgba(0,0,0,.5), 0 5px 0 rgba(0,0,0,.45); text-align: center;
}
.podium-card.p1 { --m: var(--gold); padding-top: 40px; min-height: 270px; }
.podium-card.p2 { --m: #c7d1d8; min-height: 230px; }
.podium-card.p3 { --m: #d08a4a; min-height: 210px; }
.podium-card .place {
  position: absolute; top: -4px; left: 50%; transform: translate(-50%, -50%); width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--m); color: #1b1408; font: 700 12px/1 var(--px); border: 3px solid rgba(0,0,0,.55);  letter-spacing: 0; }
.podium-card .head { width: 72px; height: 72px; font-size: 32px; border-width: 3px; }
.podium-card.p1 .head { width: 88px; height: 88px; }
.podium-nick { font: 600 9.5px/1.1 var(--px); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;  letter-spacing: 0; }
.podium-sum { font: 700 9px/1 var(--px); color: var(--m); text-shadow: 2px 2px 0 rgba(0,0,0,.5);  letter-spacing: 0; }
.empty-slot { opacity: .55; }
.top-list { list-style: none; margin: 0; padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.top-list li { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 9px 12px; background: rgba(0,0,0,.22); }
.top-list li:nth-child(odd) { background: rgba(0,0,0,.34); }
.top-list .rank { font: 700 9.5px/1 var(--px); color: var(--muted); text-align: center;  letter-spacing: 0; }
.top-list .sum { font: 700 8.5px/1 var(--px); color: var(--gold);  letter-spacing: 0; }
.top-empty { display: grid; place-items: center; text-align: center; color: var(--muted); padding: 30px; font: 500 9px/1.4 var(--px);  letter-spacing: 0; }

/* ---------- footer ---------- */
.footer { margin-top: 40px; background: rgba(5,14,11,.85); border-top: 4px solid #0a1a15; box-shadow: 0 -4px 0 #1f4a42; padding: 34px 0 40px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand b { font: 700 11px/1 var(--px); text-transform: uppercase;  letter-spacing: 0; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-title { font: 600 8px/1 var(--px); text-transform: uppercase; color: var(--beige); margin-bottom: 12px; letter-spacing: .06em;  letter-spacing: 0; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* ---------- drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(2,10,7,.72); animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; } }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(520px, 100%); display: flex; flex-direction: column;
  background: linear-gradient(180deg, #161c19, #0f1311); border-left: 4px solid #0a1a15; box-shadow: -4px 0 0 #2f5d50, -20px 0 50px rgba(0,0,0,.5);
  transform: translateX(105%); visibility: hidden; will-change: transform; transition: transform .32s cubic-bezier(.4, 0, .6, 1), visibility 0s .32s;
}
.drawer.open { transform: none; visibility: visible; transition: transform .38s cubic-bezier(.16, 1, .3, 1), visibility 0s; }
.drawer-bar {
  display: flex; align-items: center; gap: 12px; height: 72px; padding: 0 18px 0 20px; flex-shrink: 0;
  background: linear-gradient(180deg, var(--bar-hi) 0 4px, var(--bar) 4px calc(100% - 5px), var(--bar-2) calc(100% - 5px));
}
.drawer-bar-title { font: 700 13px/1 var(--px); text-transform: uppercase; letter-spacing: .05em; text-shadow: 3px 3px 0 rgba(0,0,0,.45);  letter-spacing: 0; }
.drawer-bar .key-btn { margin-left: auto; color: rgba(255,255,255,.8); }
.drawer-track { flex: 1; display: flex; overflow: hidden; overflow: clip; min-height: 0; }
.drawer-slide { flex: 0 0 100%; overflow-y: auto; padding: 22px 22px 30px; display: flex; flex-direction: column; gap: 18px; transition: transform .25s ease; }
.drawer-head { display: flex; align-items: center; gap: 14px; }
.drawer-title { font: 700 14px/1 var(--px); text-transform: uppercase; letter-spacing: .04em;  letter-spacing: 0; }
.cart-list { display: flex; flex-direction: column; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 82px 1fr; gap: 14px; padding: 12px; background: rgba(0,0,0,.28); border: 3px solid var(--line); }
.cart-item .slot { aspect-ratio: 1 / 1; border-width: 3px; }
.cart-item .slot > img { width: 74%; height: 74%; margin: 0; }
.cart-item-main { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-width: 0; }
.cart-item-top { display: flex; justify-content: space-between; gap: 10px; }
.cart-item-name { font: 600 9px/1.15 var(--px); text-transform: uppercase;  letter-spacing: 0; }
.cart-item-cat { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin-top: 4px; }
.cart-item-price { font: 700 9.5px/1 var(--px); color: var(--gold); white-space: nowrap;  letter-spacing: 0; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button {
  width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: #2b3439; color: #fff; font: 700 11px/1 var(--px);
  box-shadow: inset 0 3px 0 rgba(255,255,255,.12), inset 0 -4px 0 rgba(0,0,0,.45); clip-path: var(--cut);  letter-spacing: 0; }
.qty button:hover { filter: brightness(1.15); }
.qty button:disabled { opacity: .4; cursor: not-allowed; }
.qty button.trash { background: #5a2723; color: #ffb3ab; }
.qty span { min-width: 34px; text-align: center; font: 700 10px/1 var(--px);  letter-spacing: 0; }
.cart-empty { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 50px 10px; }
.cart-empty h2 { font: 700 13px/1 var(--px); text-transform: uppercase;  letter-spacing: 0; }
.checkout-btn, .pay-button { justify-content: space-between; padding: 0 26px; }
.checkout-btn b, .pay-button b { color: #fff; }
.checkout-count { font: 600 8.5px/1 var(--px); text-transform: uppercase; color: var(--muted);  letter-spacing: 0; }
.checkout-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.checkout-icons > * { width: 52px; height: 52px; padding: 4px; object-fit: contain; background: #1b221f; border: 3px solid var(--line-2); image-rendering: pixelated; }

.order-form { padding: 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: none; }
.order-form-title, .instruction-title { font: 600 10px/1 var(--px); text-transform: uppercase; letter-spacing: .05em; color: var(--beige);  letter-spacing: 0; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.field > span { font: 500 7.5px/1 var(--px); text-transform: uppercase; color: var(--muted); letter-spacing: .04em;  letter-spacing: 0; }
.field input {
  height: 52px; padding: 0 14px; background: #0b0f0d; border: 3px solid var(--line-2); color: var(--text); outline: none; font-size: 17px;
  box-shadow: inset 0 3px 0 rgba(0,0,0,.4);
}
.field input:focus { border-color: var(--rare); }
.field.invalid input { border-color: var(--danger); }
.coupon-row { display: flex; align-items: flex-end; gap: 10px; }
.coupon-row .btn { min-height: 52px; font-size: 8px; padding: 0 16px; }
.coupon-ok { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; background: rgba(31,157,107,.16); border: 3px solid var(--sale); font-weight: 600; }
.coupon-ok button { background: none; border: 0; color: var(--muted); }
.coupon-ok button:hover { color: var(--danger); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); cursor: pointer; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check span { width: 26px; height: 26px; flex-shrink: 0; background: #0b0f0d; border: 3px solid var(--line-2); display: grid; place-items: center; }
.check input:checked + span { background: var(--green); border-color: var(--green-lo); }
.check input:checked + span::after { content: ""; width: 10px; height: 10px; background: #fff; box-shadow: 2px 2px 0 rgba(0,0,0,.3); }
.check input:focus-visible + span { outline: 3px solid var(--gold); }
.summary { display: grid; gap: 8px; padding: 14px; background: rgba(0,0,0,.3); }
.summary > div { display: flex; justify-content: space-between; gap: 12px; }
.summary .discount b { color: var(--sale-hi); }
.summary .total { font: 700 10px/1 var(--px); text-transform: uppercase; padding-top: 8px; border-top: 3px dashed var(--line);  letter-spacing: 0; }
.form-error { color: #fff; background: rgba(255,90,79,.18); border: 3px solid var(--danger); padding: 10px 12px; font-weight: 600; }
.instruction { padding: 20px; display: grid; gap: 12px; color: var(--muted); font-size: 15px; box-shadow: none; }
.instruction b { color: var(--text); }
.done { display: grid; justify-items: center; text-align: center; gap: 18px; padding: 50px 10px; }
.done-icon { width: 96px; height: 96px; display: grid; place-items: center; background: rgba(76,174,79,.15); border: 4px solid var(--green); }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 200; max-width: calc(100% - 32px);
  padding: 14px 22px; background: #121715; border: 3px solid var(--sale); box-shadow: 0 0 0 3px rgba(0,0,0,.5), 0 14px 30px rgba(0,0,0,.5);
  font: 600 9px/1.2 var(--px); text-transform: uppercase; letter-spacing: .03em;
  animation: toast .25s ease;  letter-spacing: 0; }
@keyframes toast { from { transform: translate(-50%, 16px); opacity: 0; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .pp-grid { grid-template-columns: 1fr; }
  .top-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav { gap: 14px; height: 68px; padding: 0 14px; }
  .nav-links { display: none; }
  .brand-name { font-size: 21px; }
  .container { padding: 0 14px; }
  .hero { padding: 20px 14px 4px; }
  .hero-card { min-height: 240px; }
  .hero-inner { padding: 26px 22px; }
  .shop-grid { grid-template-columns: 1fr; gap: 18px; }
  .categories { position: static; flex-direction: row; overflow-x: auto; padding: 8px; scrollbar-width: none; }
  .categories li { flex-shrink: 0; }
  .category { min-height: 54px; border-left: 0; border-bottom: 4px solid transparent; }
  .category.active { border-bottom-color: var(--rare); }
  .category-count { display: none; }
  .products { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px 12px; }
  .slot-name { font-size: 8px; min-height: 38px; }
  .price-strip { font-size: 8px; height: 34px; }
  .detail { padding: 22px 18px; }
  .podium { gap: 10px; }
  .podium-card .head { width: 54px; height: 54px; }
  .podium-card.p1 .head { width: 64px; height: 64px; }
}
@media (max-width: 520px) {
  .counter { height: 46px; font-size: 18px; padding: 0 12px 0 8px; }
  .online-pill .muted { display: none; }
  .brand-name { display: none; }
  .detail-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.coupon-row .field { min-width: 0; }
.field input { width: 100%; min-width: 0; }
.coupon-row .btn { flex-shrink: 0; }
.showcase .slot { aspect-ratio: 4 / 3; }
@media (max-width: 860px) {
  .rarity-head { font-size: 9px; gap: 10px; margin: 26px 0 12px; }
  .rarity-head .n { white-space: nowrap; }
  .shop-title { font-size: 14px; }
}
.top-list { background: rgba(0,0,0,.25); border: 3px solid rgba(0,0,0,.35); align-self: stretch; }

/* ---------- animated background: night sky, light rays, sparkles, pixel hills ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(120, 255, 190, .22), transparent 70%),
    radial-gradient(ellipse 60% 40% at 85% 75%, rgba(255, 190, 60, .10), transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 60%, rgba(60, 200, 220, .10), transparent 70%),
    linear-gradient(180deg, #0b2233 0%, #0d3a3a 38%, #10503d 68%, #0b3326 100%); }
.bg-rays { position: absolute; left: 50%; top: -30vh; width: 160vmax; height: 160vmax; transform: translateX(-50%);
  background: repeating-conic-gradient(from 0deg at 50% 0%, rgba(190, 255, 220, .1) 0deg 3deg, transparent 3deg 11deg);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 55%); mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 55%);
  animation: rays 90s linear infinite; }
@keyframes rays { to { transform: translateX(-50%) rotate(8deg); } }
#bgfx { position: absolute; inset: 0; width: 100%; height: 100%; }
.bg-land { position: absolute; left: 0; right: 0; bottom: 0; image-rendering: pixelated; background-repeat: repeat-x; background-position: 0 100%; }
.bg-land.far { height: 300px; background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 192 48' width='192' height='48' shape-rendering='crispEdges'><rect x='0' y='16' width='2' height='32' fill='%230f4636'/><rect x='2' y='16' width='2' height='32' fill='%230f4636'/><rect x='4' y='18' width='2' height='30' fill='%230f4636'/><rect x='6' y='18' width='2' height='30' fill='%230f4636'/><rect x='8' y='18' width='2' height='30' fill='%230f4636'/><rect x='10' y='18' width='2' height='30' fill='%230f4636'/><rect x='12' y='18' width='2' height='30' fill='%230f4636'/><rect x='14' y='18' width='2' height='30' fill='%230f4636'/><rect x='16' y='20' width='2' height='28' fill='%230f4636'/><rect x='18' y='20' width='2' height='28' fill='%230f4636'/><rect x='20' y='22' width='2' height='26' fill='%230f4636'/><rect x='22' y='22' width='2' height='26' fill='%230f4636'/><rect x='24' y='24' width='2' height='24' fill='%230f4636'/><rect x='26' y='24' width='2' height='24' fill='%230f4636'/><rect x='28' y='26' width='2' height='22' fill='%230f4636'/><rect x='30' y='28' width='2' height='20' fill='%230f4636'/><rect x='32' y='28' width='2' height='20' fill='%230f4636'/><rect x='34' y='30' width='2' height='18' fill='%230f4636'/><rect x='36' y='30' width='2' height='18' fill='%230f4636'/><rect x='38' y='30' width='2' height='18' fill='%230f4636'/><rect x='40' y='30' width='2' height='18' fill='%230f4636'/><rect x='42' y='30' width='2' height='18' fill='%230f4636'/><rect x='44' y='30' width='2' height='18' fill='%230f4636'/><rect x='46' y='30' width='2' height='18' fill='%230f4636'/><rect x='48' y='28' width='2' height='20' fill='%230f4636'/><rect x='50' y='28' width='2' height='20' fill='%230f4636'/><rect x='52' y='26' width='2' height='22' fill='%230f4636'/><rect x='54' y='24' width='2' height='24' fill='%230f4636'/><rect x='56' y='24' width='2' height='24' fill='%230f4636'/><rect x='58' y='22' width='2' height='26' fill='%230f4636'/><rect x='60' y='20' width='2' height='28' fill='%230f4636'/><rect x='62' y='20' width='2' height='28' fill='%230f4636'/><rect x='64' y='18' width='2' height='30' fill='%230f4636'/><rect x='66' y='18' width='2' height='30' fill='%230f4636'/><rect x='68' y='18' width='2' height='30' fill='%230f4636'/><rect x='70' y='18' width='2' height='30' fill='%230f4636'/><rect x='72' y='18' width='2' height='30' fill='%230f4636'/><rect x='74' y='18' width='2' height='30' fill='%230f4636'/><rect x='76' y='18' width='2' height='30' fill='%230f4636'/><rect x='78' y='18' width='2' height='30' fill='%230f4636'/><rect x='80' y='18' width='2' height='30' fill='%230f4636'/><rect x='82' y='18' width='2' height='30' fill='%230f4636'/><rect x='84' y='18' width='2' height='30' fill='%230f4636'/><rect x='86' y='18' width='2' height='30' fill='%230f4636'/><rect x='88' y='18' width='2' height='30' fill='%230f4636'/><rect x='90' y='18' width='2' height='30' fill='%230f4636'/><rect x='92' y='18' width='2' height='30' fill='%230f4636'/><rect x='94' y='18' width='2' height='30' fill='%230f4636'/><rect x='96' y='18' width='2' height='30' fill='%230f4636'/><rect x='98' y='20' width='2' height='28' fill='%230f4636'/><rect x='100' y='20' width='2' height='28' fill='%230f4636'/><rect x='102' y='20' width='2' height='28' fill='%230f4636'/><rect x='104' y='20' width='2' height='28' fill='%230f4636'/><rect x='106' y='22' width='2' height='26' fill='%230f4636'/><rect x='108' y='22' width='2' height='26' fill='%230f4636'/><rect x='110' y='24' width='2' height='24' fill='%230f4636'/><rect x='112' y='24' width='2' height='24' fill='%230f4636'/><rect x='114' y='24' width='2' height='24' fill='%230f4636'/><rect x='116' y='24' width='2' height='24' fill='%230f4636'/><rect x='118' y='26' width='2' height='22' fill='%230f4636'/><rect x='120' y='26' width='2' height='22' fill='%230f4636'/><rect x='122' y='26' width='2' height='22' fill='%230f4636'/><rect x='124' y='24' width='2' height='24' fill='%230f4636'/><rect x='126' y='24' width='2' height='24' fill='%230f4636'/><rect x='128' y='24' width='2' height='24' fill='%230f4636'/><rect x='130' y='24' width='2' height='24' fill='%230f4636'/><rect x='132' y='24' width='2' height='24' fill='%230f4636'/><rect x='134' y='24' width='2' height='24' fill='%230f4636'/><rect x='136' y='24' width='2' height='24' fill='%230f4636'/><rect x='138' y='24' width='2' height='24' fill='%230f4636'/><rect x='140' y='24' width='2' height='24' fill='%230f4636'/><rect x='142' y='24' width='2' height='24' fill='%230f4636'/><rect x='144' y='24' width='2' height='24' fill='%230f4636'/><rect x='146' y='24' width='2' height='24' fill='%230f4636'/><rect x='148' y='26' width='2' height='22' fill='%230f4636'/><rect x='150' y='26' width='2' height='22' fill='%230f4636'/><rect x='152' y='26' width='2' height='22' fill='%230f4636'/><rect x='154' y='26' width='2' height='22' fill='%230f4636'/><rect x='156' y='26' width='2' height='22' fill='%230f4636'/><rect x='158' y='26' width='2' height='22' fill='%230f4636'/><rect x='160' y='26' width='2' height='22' fill='%230f4636'/><rect x='162' y='26' width='2' height='22' fill='%230f4636'/><rect x='164' y='24' width='2' height='24' fill='%230f4636'/><rect x='166' y='24' width='2' height='24' fill='%230f4636'/><rect x='168' y='22' width='2' height='26' fill='%230f4636'/><rect x='170' y='22' width='2' height='26' fill='%230f4636'/><rect x='172' y='20' width='2' height='28' fill='%230f4636'/><rect x='174' y='20' width='2' height='28' fill='%230f4636'/><rect x='176' y='18' width='2' height='30' fill='%230f4636'/><rect x='178' y='18' width='2' height='30' fill='%230f4636'/><rect x='180' y='16' width='2' height='32' fill='%230f4636'/><rect x='182' y='16' width='2' height='32' fill='%230f4636'/><rect x='184' y='16' width='2' height='32' fill='%230f4636'/><rect x='186' y='16' width='2' height='32' fill='%230f4636'/><rect x='188' y='16' width='2' height='32' fill='%230f4636'/><rect x='190' y='16' width='2' height='32' fill='%230f4636'/><rect x='24' y='18' width='2' height='4' fill='%230f4636'/><rect x='21' y='12' width='8' height='8' fill='%23125a43'/><rect x='23' y='10' width='4' height='2' fill='%23125a43'/><rect x='154' y='22' width='2' height='4' fill='%230f4636'/><rect x='152' y='18' width='6' height='6' fill='%23125a43'/><rect x='154' y='16' width='2' height='2' fill='%23125a43'/><rect x='14' y='14' width='2' height='4' fill='%230f4636'/><rect x='11' y='8' width='8' height='8' fill='%23125a43'/><rect x='13' y='6' width='4' height='2' fill='%23125a43'/><rect x='112' y='20' width='2' height='4' fill='%230f4636'/><rect x='110' y='16' width='6' height='6' fill='%23125a43'/><rect x='112' y='14' width='2' height='2' fill='%23125a43'/><rect x='28' y='16' width='2' height='8' fill='%230f4636'/><rect x='26' y='12' width='6' height='6' fill='%23125a43'/><rect x='28' y='10' width='2' height='2' fill='%23125a43'/><rect x='150' y='22' width='2' height='4' fill='%230f4636'/><rect x='148' y='18' width='6' height='6' fill='%23125a43'/><rect x='150' y='16' width='2' height='2' fill='%23125a43'/><rect x='166' y='20' width='2' height='4' fill='%230f4636'/><rect x='163' y='14' width='8' height='8' fill='%23125a43'/><rect x='165' y='12' width='4' height='2' fill='%23125a43'/><rect x='18' y='14' width='2' height='6' fill='%230f4636'/><rect x='16' y='10' width='6' height='6' fill='%23125a43'/><rect x='18' y='8' width='2' height='2' fill='%23125a43'/><rect x='148' y='18' width='2' height='6' fill='%230f4636'/><rect x='145' y='12' width='8' height='8' fill='%23125a43'/><rect x='147' y='10' width='4' height='2' fill='%23125a43'/></svg>"); background-size: auto 300px; opacity: .85; animation: drift 240s linear infinite; }
.bg-land.near { height: 200px; background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 192 48' width='192' height='48' shape-rendering='crispEdges'><rect x='0' y='32' width='2' height='16' fill='%23082a20'/><rect x='2' y='32' width='2' height='16' fill='%23082a20'/><rect x='4' y='32' width='2' height='16' fill='%23082a20'/><rect x='6' y='34' width='2' height='14' fill='%23082a20'/><rect x='8' y='34' width='2' height='14' fill='%23082a20'/><rect x='10' y='34' width='2' height='14' fill='%23082a20'/><rect x='12' y='36' width='2' height='12' fill='%23082a20'/><rect x='14' y='36' width='2' height='12' fill='%23082a20'/><rect x='16' y='36' width='2' height='12' fill='%23082a20'/><rect x='18' y='36' width='2' height='12' fill='%23082a20'/><rect x='20' y='36' width='2' height='12' fill='%23082a20'/><rect x='22' y='36' width='2' height='12' fill='%23082a20'/><rect x='24' y='36' width='2' height='12' fill='%23082a20'/><rect x='26' y='36' width='2' height='12' fill='%23082a20'/><rect x='28' y='36' width='2' height='12' fill='%23082a20'/><rect x='30' y='36' width='2' height='12' fill='%23082a20'/><rect x='32' y='36' width='2' height='12' fill='%23082a20'/><rect x='34' y='36' width='2' height='12' fill='%23082a20'/><rect x='36' y='36' width='2' height='12' fill='%23082a20'/><rect x='38' y='36' width='2' height='12' fill='%23082a20'/><rect x='40' y='36' width='2' height='12' fill='%23082a20'/><rect x='42' y='36' width='2' height='12' fill='%23082a20'/><rect x='44' y='36' width='2' height='12' fill='%23082a20'/><rect x='46' y='36' width='2' height='12' fill='%23082a20'/><rect x='48' y='38' width='2' height='10' fill='%23082a20'/><rect x='50' y='38' width='2' height='10' fill='%23082a20'/><rect x='52' y='38' width='2' height='10' fill='%23082a20'/><rect x='54' y='38' width='2' height='10' fill='%23082a20'/><rect x='56' y='38' width='2' height='10' fill='%23082a20'/><rect x='58' y='38' width='2' height='10' fill='%23082a20'/><rect x='60' y='38' width='2' height='10' fill='%23082a20'/><rect x='62' y='38' width='2' height='10' fill='%23082a20'/><rect x='64' y='38' width='2' height='10' fill='%23082a20'/><rect x='66' y='36' width='2' height='12' fill='%23082a20'/><rect x='68' y='36' width='2' height='12' fill='%23082a20'/><rect x='70' y='36' width='2' height='12' fill='%23082a20'/><rect x='72' y='36' width='2' height='12' fill='%23082a20'/><rect x='74' y='36' width='2' height='12' fill='%23082a20'/><rect x='76' y='36' width='2' height='12' fill='%23082a20'/><rect x='78' y='36' width='2' height='12' fill='%23082a20'/><rect x='80' y='36' width='2' height='12' fill='%23082a20'/><rect x='82' y='34' width='2' height='14' fill='%23082a20'/><rect x='84' y='34' width='2' height='14' fill='%23082a20'/><rect x='86' y='34' width='2' height='14' fill='%23082a20'/><rect x='88' y='34' width='2' height='14' fill='%23082a20'/><rect x='90' y='34' width='2' height='14' fill='%23082a20'/><rect x='92' y='32' width='2' height='16' fill='%23082a20'/><rect x='94' y='32' width='2' height='16' fill='%23082a20'/><rect x='96' y='32' width='2' height='16' fill='%23082a20'/><rect x='98' y='32' width='2' height='16' fill='%23082a20'/><rect x='100' y='30' width='2' height='18' fill='%23082a20'/><rect x='102' y='30' width='2' height='18' fill='%23082a20'/><rect x='104' y='30' width='2' height='18' fill='%23082a20'/><rect x='106' y='30' width='2' height='18' fill='%23082a20'/><rect x='108' y='30' width='2' height='18' fill='%23082a20'/><rect x='110' y='30' width='2' height='18' fill='%23082a20'/><rect x='112' y='30' width='2' height='18' fill='%23082a20'/><rect x='114' y='32' width='2' height='16' fill='%23082a20'/><rect x='116' y='32' width='2' height='16' fill='%23082a20'/><rect x='118' y='32' width='2' height='16' fill='%23082a20'/><rect x='120' y='34' width='2' height='14' fill='%23082a20'/><rect x='122' y='34' width='2' height='14' fill='%23082a20'/><rect x='124' y='36' width='2' height='12' fill='%23082a20'/><rect x='126' y='36' width='2' height='12' fill='%23082a20'/><rect x='128' y='38' width='2' height='10' fill='%23082a20'/><rect x='130' y='38' width='2' height='10' fill='%23082a20'/><rect x='132' y='40' width='2' height='8' fill='%23082a20'/><rect x='134' y='40' width='2' height='8' fill='%23082a20'/><rect x='136' y='40' width='2' height='8' fill='%23082a20'/><rect x='138' y='40' width='2' height='8' fill='%23082a20'/><rect x='140' y='40' width='2' height='8' fill='%23082a20'/><rect x='142' y='40' width='2' height='8' fill='%23082a20'/><rect x='144' y='40' width='2' height='8' fill='%23082a20'/><rect x='146' y='40' width='2' height='8' fill='%23082a20'/><rect x='148' y='38' width='2' height='10' fill='%23082a20'/><rect x='150' y='38' width='2' height='10' fill='%23082a20'/><rect x='152' y='38' width='2' height='10' fill='%23082a20'/><rect x='154' y='38' width='2' height='10' fill='%23082a20'/><rect x='156' y='38' width='2' height='10' fill='%23082a20'/><rect x='158' y='36' width='2' height='12' fill='%23082a20'/><rect x='160' y='36' width='2' height='12' fill='%23082a20'/><rect x='162' y='36' width='2' height='12' fill='%23082a20'/><rect x='164' y='36' width='2' height='12' fill='%23082a20'/><rect x='166' y='36' width='2' height='12' fill='%23082a20'/><rect x='168' y='34' width='2' height='14' fill='%23082a20'/><rect x='170' y='34' width='2' height='14' fill='%23082a20'/><rect x='172' y='34' width='2' height='14' fill='%23082a20'/><rect x='174' y='32' width='2' height='16' fill='%23082a20'/><rect x='176' y='32' width='2' height='16' fill='%23082a20'/><rect x='178' y='32' width='2' height='16' fill='%23082a20'/><rect x='180' y='32' width='2' height='16' fill='%23082a20'/><rect x='182' y='30' width='2' height='18' fill='%23082a20'/><rect x='184' y='30' width='2' height='18' fill='%23082a20'/><rect x='186' y='30' width='2' height='18' fill='%23082a20'/><rect x='188' y='30' width='2' height='18' fill='%23082a20'/><rect x='190' y='32' width='2' height='16' fill='%23082a20'/><rect x='160' y='28' width='2' height='8' fill='%23082a20'/><rect x='158' y='24' width='6' height='6' fill='%230b3a2b'/><rect x='160' y='22' width='2' height='2' fill='%230b3a2b'/><rect x='160' y='32' width='2' height='4' fill='%23082a20'/><rect x='157' y='26' width='8' height='8' fill='%230b3a2b'/><rect x='159' y='24' width='4' height='2' fill='%230b3a2b'/><rect x='72' y='30' width='2' height='6' fill='%23082a20'/><rect x='70' y='26' width='6' height='6' fill='%230b3a2b'/><rect x='72' y='24' width='2' height='2' fill='%230b3a2b'/><rect x='126' y='28' width='2' height='8' fill='%23082a20'/><rect x='123' y='22' width='8' height='8' fill='%230b3a2b'/><rect x='125' y='20' width='4' height='2' fill='%230b3a2b'/><rect x='168' y='30' width='2' height='6' fill='%23082a20'/><rect x='166' y='26' width='6' height='6' fill='%230b3a2b'/><rect x='168' y='24' width='2' height='2' fill='%230b3a2b'/><rect x='168' y='30' width='2' height='6' fill='%23082a20'/><rect x='165' y='24' width='8' height='8' fill='%230b3a2b'/><rect x='167' y='22' width='4' height='2' fill='%230b3a2b'/><rect x='8' y='30' width='2' height='4' fill='%23082a20'/><rect x='6' y='26' width='6' height='6' fill='%230b3a2b'/><rect x='8' y='24' width='2' height='2' fill='%230b3a2b'/></svg>"); background-size: auto 200px; animation: drift 140s linear infinite reverse; }
@keyframes drift { to { background-position: -1200px 100%; } }
@media (max-width: 860px) { .bg-land.far { height: 180px; background-size: auto 180px; } .bg-land.near { height: 120px; background-size: auto 120px; } }

/* ---------- product art fills the slot (covers are square illustrations, not sprites) ---------- */
.slot > img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; object-fit: cover; image-rendering: auto; filter: none; }
.slot-card:hover .slot > img { transform: scale(1.04); }
.slot::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 3px rgba(0,0,0,.55), inset 0 0 22px rgba(0,0,0,.45); z-index: 1; }
.showcase { max-width: 520px; width: 100%; justify-self: center; }
.showcase .slot { aspect-ratio: 1 / 1; }
.showcase .slot > img { width: 100%; height: 100%; }
.variant .slot > img, .cart-item .slot > img { width: 100%; height: 100%; }
.stack > * { object-fit: cover; padding: 0; }
.pp-grid { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); }
.recent-img img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; image-rendering: auto; filter: none; }
.recent-img { aspect-ratio: 1 / 1; height: auto; }
.checkout-icons > * { object-fit: cover; padding: 0; image-rendering: auto; }
@media (max-width: 1080px) { .pp-grid { grid-template-columns: 1fr; } }
/* tile: square art on top, price strip under it (doesn't cover the picture) */
.slot-card > .slot { aspect-ratio: auto; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; }
.slot-card > .slot > img, .slot-card > .slot > .noimg { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 1 / 1; }
.slot-card > .slot > .price-strip { position: relative; border-top: 3px solid rgba(0,0,0,.6); }

/* ================= shop list: minecraft.net marketplace style ================= */
.mp-hero {
  position: relative; overflow: hidden; padding: 70px 0 64px; text-align: center;
  background: linear-gradient(180deg, #121212 0%, #1a1712 45%, #4a3d1b 82%, #6b5520 100%);
}
.mp-hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.mp-title {
  font: 400 clamp(20px, 3vw, 38px)/1.05 var(--px);  letter-spacing: 0; text-transform: uppercase;
  color: #ffd84a; text-shadow: 0 4px 0 #a8791a, 0 8px 0 rgba(0,0,0,.35);
}
.mp-lead { max-width: 720px; color: #e9e6dc; font-size: 18px; line-height: 1.5; }
.mp-hero .server-chip { background: rgba(0,0,0,.55); }
.mp-spark { position: absolute; width: 8px; height: 8px; background: #ffd84a; opacity: .55; animation: spark 3.2s ease-in-out infinite; }
.mp-spark.big { width: 18px; height: 18px; opacity: .9; box-shadow: 0 0 18px rgba(255,216,74,.55); }
@keyframes spark { 50% { opacity: .15; transform: translateY(-6px); } }

.mp-band { background: linear-gradient(180deg, #f4c12f 0 24px, #ffd84a 24px, #fde27a 100%); padding: 22px 0 26px; }
.mp-band-inner { max-width: 940px; display: flex; flex-direction: column; gap: 10px; }
.mp-search-label { font: 600 15px/1 var(--font); text-transform: uppercase; letter-spacing: .04em; color: #1a1a1a; }
.mp-search { position: relative; display: flex; align-items: center; background: #0d0d0d; height: 66px; padding: 0 22px; gap: 16px; }
.mp-search input {
  flex: 1; height: 100%; background: none; border: 0; outline: none; color: #fff;
  font: 400 9px/1 var(--px);  letter-spacing: 0;
}
.mp-search input::placeholder { color: #8a8a8a; }
.mp-search:focus-within { box-shadow: 0 0 0 3px #1a1a1a, 0 0 0 6px #fff; }
.mp-glass { width: 22px; height: 22px; border: 3px solid #e6e6e6; border-radius: 50%; position: relative; flex-shrink: 0; }
.mp-glass::after { content: ""; position: absolute; width: 9px; height: 3px; background: #e6e6e6; right: -9px; bottom: -4px; transform: rotate(45deg); }

.mp-list { background: #1d1d1d; padding: 40px 0 60px; border-bottom: 4px solid #111; }
.mp-cats { background: #262626; border: 0; padding: 8px; top: 96px; }
.mp-cats .category.active { background: #333; border-left-color: #6fd16a; }
.mp-cats .category:hover { background: #2f2f2f; }
.mp-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.mp-results { display: flex; align-items: baseline; gap: 14px; font: 400 15px/1 var(--px);  letter-spacing: 0; text-transform: uppercase; color: #fff; }
.mp-results small { font: 500 20px/1 var(--font); color: #9a9a9a; text-transform: none; }
.mp-sort { display: flex; align-items: center; gap: 12px; font: 700 15px/1 var(--font); text-transform: uppercase; color: #fff; }
.mp-sort select {
  appearance: none; background: transparent; border: 0; color: #6fd16a; font: 700 15px/1 var(--font); text-transform: uppercase;
  padding: 10px 30px 10px 6px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 14px) 52%, calc(100% - 8px) 52%; background-size: 6px 6px; background-repeat: no-repeat;
}
.mp-sort select option { background: #262626; color: #fff; }
.mp-group { display: flex; align-items: center; gap: 12px; margin: 34px 0 18px; font: 400 11px/1 var(--px);  letter-spacing: 0; text-transform: uppercase; color: #fff; }
.mp-group:first-child { margin-top: 0; }
.mp-group .n { font: 500 17px/1 var(--font); color: #8a8a8a; }
.mp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; }

.mp-card { background: #2b2b2b; padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 12px; cursor: pointer; outline: none; transition: background .15s, transform .15s; }
.mp-card:hover, .mp-card:focus-visible { background: #343434; transform: translateY(-3px); }
.mp-card:focus-visible { box-shadow: 0 0 0 3px #fff; }
.mp-img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #1a1a1a; }
.mp-img > img, .mp-img > .noimg { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.mp-card:hover .mp-img > img { transform: scale(1.04); }
.mp-name { font: 700 19px/1.25 var(--font); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-card:hover .mp-name { text-decoration: underline; text-underline-offset: 3px; }
.mp-meta { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mp-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; background: #1d1d1d; color: #fff; font: 500 14px/1.2 var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; min-width: 0; }
.mp-chip > span { overflow: hidden; text-overflow: ellipsis; }
.mp-price small { font-size: 14px; color: #a8a8a8; }
.mp-sub { font-size: 14px; color: #a8a8a8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.mp-old { font-size: 14px; color: #a8a8a8; }
.mp-old s { color: #8a8a8a; }
.mp-price { display: inline-flex; align-items: center; gap: 8px; }
.mp-price b { font: 400 9.5px/1 var(--px);  letter-spacing: 0; color: #ffd84a; }
@media (max-width: 860px) {
  .mp-hero { padding: 44px 0 40px; }
  .mp-lead { font-size: 16px; }
  .mp-search { height: 56px; }
  .mp-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .mp-card { padding: 10px 10px 12px; gap: 9px; }
  .mp-name { font-size: 16px; }
  .mp-chip { max-width: 100%; }
  .mp-sub { display: none; }
  .mp-results { font-size: 24px; }
}

/* ================= header: minecraft.net style with tabs ================= */
.nav-wrap { background: #1e1e1e; box-shadow: 0 2px 0 #000, 0 10px 30px rgba(0,0,0,.35); border-top: 2px solid #2d6a8a00; }
.nav { height: 80px; gap: 28px; }
.nav-links { flex: 1; justify-content: center; gap: 4px; }
.nav-links a {
  position: relative; display: flex; align-items: center; gap: 6px; height: 80px; padding: 0 18px;
  font: 700 15px/1 var(--font); letter-spacing: .02em; text-transform: uppercase; color: #fff; font-size-adjust: none;
}
.nav-links a:hover { background: #2a2a2a; color: #fff; }
.nav-links a.active::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 4px; background: #6fd16a; }
.nav-links .ext { font-size: 13px; color: #9a9a9a; }
.counter { background: transparent; box-shadow: inset 0 0 0 2px #3c8527; }
.cart-badge:hover { background: rgba(60,133,39,.18); }
.online-pill { box-shadow: inset 0 0 0 2px #3a3a3a; }
@media (max-width: 1080px) { .nav-links a { padding: 0 11px; font-size: 13px; } }
@media (max-width: 860px) {
  .nav { height: auto; min-height: 64px; flex-wrap: wrap; padding: 8px 14px 0; row-gap: 0; }
  .nav-links { display: flex; order: 3; flex: 1 1 100%; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 0 6px; }
  .nav-links a { height: 46px; padding: 0 12px; font-size: 13px; white-space: nowrap; }
  .nav-links a.active::after { left: 12px; right: 12px; height: 3px; }
}

/* ================= rules page ================= */
.rl-page { padding-top: 44px; }
.rl-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; align-items: start; }
.rl-toc { position: sticky; top: 100px; background: #262626; padding: 18px 10px; display: flex; flex-direction: column; gap: 2px; }
.rl-toc-title { font: 700 13px/1 var(--font); text-transform: uppercase; letter-spacing: .06em; color: #8a8a8a; padding: 0 12px 10px; }
.rl-toc a { padding: 10px 12px; color: #ddd; font-weight: 600; font-size: 15px; border-left: 3px solid transparent; }
.rl-toc a:hover { background: #2f2f2f; border-left-color: #6fd16a; color: #fff; }
.rl-body { max-width: 900px; display: flex; flex-direction: column; gap: 34px; }
.rl-sec { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 100px; }
.rl-sec-title { font: 400 12px/1.2 var(--px);  letter-spacing: 0; text-transform: uppercase; color: #ffd84a; margin-bottom: 6px; text-shadow: 0 3px 0 rgba(0,0,0,.5); }
.rl-text { color: #d6d6d6; line-height: 1.6; }
.rl-warn { background: #3a2f12; border-left: 5px solid #ffd84a; padding: 16px 18px; display: grid; gap: 6px; }
.rl-warn b { color: #ffd84a; font: 400 8px/1 var(--px);  letter-spacing: 0; text-transform: uppercase; }
.rl-warn p { color: #f1e7c4; line-height: 1.55; }
.rl-rule { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; background: #262626; padding: 16px 18px; }
.rl-num {
  align-self: start; justify-self: start; min-width: 52px; padding: 7px 8px; text-align: center; background: #1a1a1a; color: #6fd16a;
  font: 400 7.5px/1 var(--px);  letter-spacing: 0; box-shadow: inset 0 -3px 0 rgba(0,0,0,.4);
}
.rl-rule-body { display: flex; flex-direction: column; gap: 8px; color: #ececec; line-height: 1.6; }
.rl-extra { color: #bdbdbd; }
.rl-punish { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 10px; color: #ffb3ab; font-weight: 600; }
.rl-punish-tag { background: #8e2b24; color: #fff; padding: 3px 8px; font: 400 6px/1.4 var(--px);  letter-spacing: 0; text-transform: uppercase; }
@media (max-width: 860px) {
  .rl-grid { grid-template-columns: 1fr; }
  .rl-toc { position: static; flex-direction: row; overflow-x: auto; padding: 8px; }
  .rl-toc-title { display: none; }
  .rl-toc a { white-space: nowrap; border-left: 0; }
  .rl-rule { grid-template-columns: 1fr; gap: 10px; padding: 14px; }
}
.mp-price { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 860px) {
  .mp-old { display: none; }
  .mp-bottom { justify-content: flex-end; }
  .mp-price b { font-size: 16px; }
  .mp-price .px-icon { width: 20px; height: 20px; }
}
/* banner from admin settings behind the "МАГАЗИН" hero */
.mp-hero.has-img { background: linear-gradient(180deg, rgba(12,12,12,.55) 0%, rgba(18,15,10,.45) 50%, rgba(74,61,27,.85) 88%, #6b5520 100%), var(--hero) center / cover no-repeat; }
.mp-hero.has-img .mp-lead { text-shadow: 0 2px 6px rgba(0,0,0,.8); }

:root {
  --fr-cat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26' shape-rendering='crispEdges'%3E%3Cpolygon points='9,0 17,0 17,10 26,10 26,16 17,16 17,26 9,26 9,16 0,16 0,10 9,10' fill='%233f3f3f'/%3E%3Cpolygon points='10,1 16,1 16,11 25,11 25,15 16,15 16,25 10,25 10,15 1,15 1,11 10,11' fill='%231b1c1c'/%3E%3C/svg%3E") 12 fill / 12px / 0 stretch;
  --fr-cat-hover: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26' shape-rendering='crispEdges'%3E%3Cpolygon points='9,0 17,0 17,10 26,10 26,16 17,16 17,26 9,26 9,16 0,16 0,10 9,10' fill='%235a5a5a'/%3E%3Cpolygon points='10,1 16,1 16,11 25,11 25,15 16,15 16,25 10,25 10,15 1,15 1,11 10,11' fill='%23202121'/%3E%3C/svg%3E") 12 fill / 12px / 0 stretch;
  --fr-cat-on: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26' shape-rendering='crispEdges'%3E%3Cpolygon points='9,0 17,0 17,10 26,10 26,16 17,16 17,26 9,26 9,16 0,16 0,10 9,10' fill='%237c7c7c'/%3E%3Cpolygon points='10,1 16,1 16,11 25,11 25,15 16,15 16,25 10,25 10,15 1,15 1,11 10,11' fill='%23262727'/%3E%3C/svg%3E") 12 fill / 12px / 0 stretch;
  --fr-card: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' shape-rendering='crispEdges'%3E%3Cpolygon points='3,0 13,0 13,4 16,4 16,12 13,12 13,16 3,16 3,12 0,12 0,4 3,4' fill='%23353535'/%3E%3Cpolygon points='4,1 12,1 12,5 15,5 15,11 12,11 12,15 4,15 4,11 1,11 1,5 4,5' fill='%23191a1a'/%3E%3Cpolygon points='5,2 11,2 11,6 14,6 14,10 11,10 11,14 5,14 5,10 2,10 2,6 5,6' fill='%231b1c1c'/%3E%3C/svg%3E") 7 fill / 7px / 0 stretch;
  --fr-card-hover: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' shape-rendering='crispEdges'%3E%3Cpolygon points='3,0 13,0 13,4 16,4 16,12 13,12 13,16 3,16 3,12 0,12 0,4 3,4' fill='%234b4b4b'/%3E%3Cpolygon points='4,1 12,1 12,5 15,5 15,11 12,11 12,15 4,15 4,11 1,11 1,5 4,5' fill='%23191a1a'/%3E%3Cpolygon points='5,2 11,2 11,6 14,6 14,10 11,10 11,14 5,14 5,10 2,10 2,6 5,6' fill='%23202121'/%3E%3C/svg%3E") 7 fill / 7px / 0 stretch;
  --fr-panel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26' shape-rendering='crispEdges'%3E%3Cpolygon points='9,0 17,0 17,10 26,10 26,16 17,16 17,26 9,26 9,16 0,16 0,10 9,10' fill='%233f3f3f'/%3E%3Cpolygon points='10,1 16,1 16,11 25,11 25,15 16,15 16,25 10,25 10,15 1,15 1,11 10,11' fill='%23202121'/%3E%3C/svg%3E") 12 fill / 12px / 0 stretch;
  --fr-gray: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cpolygon points='2,0 6,0 6,2 8,2 8,6 6,6 6,8 2,8 2,6 0,6 0,2 2,2' fill='%233f3f3f'/%3E%3C/svg%3E") 3 fill / 3px / 0 stretch;
  --fr-gray-hover: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cpolygon points='2,0 6,0 6,2 8,2 8,6 6,6 6,8 2,8 2,6 0,6 0,2 2,2' fill='%234c4c4c'/%3E%3C/svg%3E") 3 fill / 3px / 0 stretch;
  --fr-green: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cpolygon points='2,0 6,0 6,2 8,2 8,6 6,6 6,8 2,8 2,6 0,6 0,2 2,2' fill='%232e7d32'/%3E%3C/svg%3E") 3 fill / 3px / 0 stretch;
  --fr-blue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' shape-rendering='crispEdges'%3E%3Cpolygon points='4,0 12,0 12,4 16,4 16,12 12,12 12,16 4,16 4,12 0,12 0,4 4,4' fill='%23a7e6ff'/%3E%3Cpolygon points='6,2 10,2 10,6 14,6 14,10 10,10 10,14 6,14 6,10 2,10 2,6 6,6' fill='%233a9eff'/%3E%3C/svg%3E") 7 fill / 7px / 0 stretch;
  --fr-blue-hover: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' shape-rendering='crispEdges'%3E%3Cpolygon points='4,0 12,0 12,4 16,4 16,12 12,12 12,16 4,16 4,12 0,12 0,4 4,4' fill='%23c9f0ff'/%3E%3Cpolygon points='6,2 10,2 10,6 14,6 14,10 10,10 10,14 6,14 6,10 2,10 2,6 6,6' fill='%2352aaff'/%3E%3C/svg%3E") 7 fill / 7px / 0 stretch;
  --fr-go: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' shape-rendering='crispEdges'%3E%3Cpolygon points='3,0 11,0 11,3 14,3 14,11 11,11 11,14 3,14 3,11 0,11 0,3 3,3' fill='%239bffbe'/%3E%3Cpolygon points='5,2 9,2 9,5 12,5 12,9 9,9 9,12 5,12 5,9 2,9 2,5 5,5' fill='%2325d366'/%3E%3C/svg%3E") 6 fill / 6px / 0 stretch;
  --fr-go-hover: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' shape-rendering='crispEdges'%3E%3Cpolygon points='3,0 11,0 11,3 14,3 14,11 11,11 11,14 3,14 3,11 0,11 0,3 3,3' fill='%23c4ffd8'/%3E%3Cpolygon points='5,2 9,2 9,5 12,5 12,9 9,9 9,12 5,12 5,9 2,9 2,5 5,5' fill='%233fe07a'/%3E%3C/svg%3E") 6 fill / 6px / 0 stretch;
  --fr-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' shape-rendering='crispEdges'%3E%3Cpolygon points='4,0 12,0 12,4 16,4 16,12 12,12 12,16 4,16 4,12 0,12 0,4 4,4' fill='%232f9e44'/%3E%3Cpolygon points='6,2 10,2 10,6 14,6 14,10 10,10 10,14 6,14 6,10 2,10 2,6 6,6' fill='%230f2412'/%3E%3C/svg%3E") 7 fill / 7px / 0 stretch;
  --fr-sale: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cpolygon points='2,0 6,0 6,2 8,2 8,6 6,6 6,8 2,8 2,6 0,6 0,2 2,2' fill='%2319d95d'/%3E%3C/svg%3E") 3 fill / 3px / 0 stretch;
  --fr-label: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Cpolygon points='2,0 6,0 6,2 8,2 8,6 6,6 6,8 2,8 2,6 0,6 0,2 2,2' fill='%23ff9a1f'/%3E%3C/svg%3E") 3 fill / 3px / 0 stretch;
  --fr-warn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26' shape-rendering='crispEdges'%3E%3Cpolygon points='9,0 17,0 17,10 26,10 26,16 17,16 17,26 9,26 9,16 0,16 0,10 9,10' fill='%238a6d1f'/%3E%3Cpolygon points='10,1 16,1 16,11 25,11 25,15 16,15 16,25 10,25 10,15 1,15 1,11 10,11' fill='%23241f12'/%3E%3C/svg%3E") 12 fill / 12px / 0 stretch;
}

/* =====================================================================
   REDESIGN 2026: dark gray, notched («сквадраченные») frames, Minecraft Five Bold
   ===================================================================== */
@font-face { font-family: "MC Five"; src: url("/static/fonts/minecraft-five-bold.otf?v=5") format("opentype"); font-display: swap; }
@font-face { font-family: "MC Ten"; src: url("/static/fonts/minecraft-ten.ttf?v=2") format("truetype"); font-display: swap; }
:root {
  --px: "MC Five", "Golos Text", system-ui, sans-serif;
  --ten: "MC Ten", "MC Five", sans-serif;
  --rx-bg: #1b1c1c; --rx-bar: #2e2f2f; --rx-line: #3f3f3f; --rx-text: #fff; --rx-muted: #b9b9b9; --rx-green: #6fd16a;
}
body { background: var(--rx-bg); }
/* these were sized for the pixel font at its natural size */
.brand-name, .counter, .cart-counter, .rx-title, .rx-play, .rx-play small, .rx-online, .rx-cat .category-name, .rx-sort select,
.rx-tag, .rx-modal-logo, .rx-modal-h, .mcf-field > span, .mcf-input, .mcf-btn, .rx-copy b, .rx-ok, .section-title, .rl-sec-title { font-size-adjust: none !important; }
.bg { display: none; }

/* ---------- header ---------- */
.nav-wrap { background: var(--rx-bar); box-shadow: none; border-top: 0; border-bottom: 2px solid #000; }
.nav { max-width: 1280px; height: 80px; gap: 28px; }
.brand-logo { display: none; }
.brand-name { font: 400 17px/1 var(--px); letter-spacing: 0; text-shadow: 0 2px 0 rgba(0,0,0,.45); }
.nav-links a:hover { background: #363737; }
.nav-links a.active::after { background: var(--rx-green); }
.online-pill { display: none !important; }
.counter { box-shadow: none; clip-path: none; background: transparent; padding: 0 4px; gap: 14px; font: 400 17px/1 var(--px); letter-spacing: 0; }
.cart-badge:hover { background: rgba(255,255,255,.06); }
.cart-icon .px-icon { width: 30px; height: 30px; }
.cart-counter {
  right: -12px; top: -9px; min-width: 22px; height: 19px; padding: 1px 5px 0; font: 400 11px/1 var(--px); color: #fff;
  background: #3496f4; border: 0; box-shadow: inset 1px 1px 0 #5bd6ff, inset -2px -2px 0 #2862cc; text-shadow: 1px 1px 0 rgba(0,0,0,.35);
}

/* ---------- hero: the banner ---------- */
.rx-hero-wrap { padding: 40px 16px 0; }
.rx-hero {
  position: relative; height: 318px; border-radius: 34px; border: 2px solid #4f4f4f; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; text-align: center;
  background: radial-gradient(ellipse at 50% 40%, #3a4a5a, #1d2329);
}
.rx-hero.has-img { background: linear-gradient(rgba(0,0,0,.18), rgba(0,0,0,.28)), var(--hero) center / cover no-repeat; }
.rx-title {
  font: 400 clamp(24px, 7.4vw, 82px)/.9 var(--px); text-transform: uppercase; color: #fff; letter-spacing: 0; margin-top: 6px;
  text-shadow: 5px 5px 0 rgba(0,0,0,.32);
}
.rx-play {
  min-width: 252px; min-height: 62px; padding: 8px 26px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  border: 1px solid transparent; border-image: var(--fr-blue); background: transparent; color: #fff; cursor: pointer;
  font: 400 15px/1 var(--px); text-transform: uppercase; letter-spacing: 0; text-shadow: 0 2px 0 rgba(0,40,90,.55);
  box-shadow: 0 6px 18px rgba(0,0,0,.35); transition: transform .08s;
}
.rx-play small { font: 400 12px/1 var(--px); color: rgba(225,240,255,.6); text-shadow: none; }
.rx-play:hover { border-image: var(--fr-blue-hover); }
.rx-play:active { transform: translateY(2px); }
.rx-online { margin-top: -6px; display: flex; align-items: center; gap: 10px; font: 400 15px/1 var(--px); text-transform: uppercase; color: #fff; text-shadow: 0 2px 0 #000, 2px 0 0 #000, -2px 0 0 #000, 0 -2px 0 #000; }
.rx-dot { width: 16px; height: 16px; background: #3dd800; box-shadow: inset -3px -3px 0 #22900a, inset 3px 3px 0 #9bff6a, 0 0 0 2px #0b2a05;
  clip-path: polygon(25% 0, 75% 0, 75% 12%, 88% 12%, 88% 25%, 100% 25%, 100% 75%, 88% 75%, 88% 88%, 75% 88%, 75% 100%, 25% 100%, 25% 88%, 12% 88%, 12% 75%, 0 75%, 0 25%, 12% 25%, 12% 12%, 25% 12%); }

/* ---------- shop list ---------- */
.rx-list { padding: 34px 16px 50px; }
.rx-shop { max-width: 1050px; margin: 0 auto; display: grid; grid-template-columns: 246px minmax(0, 1fr); gap: 16px; align-items: start; }
.rx-cats { list-style: none; margin: 0; padding: 0; position: sticky; top: 98px; display: flex; flex-direction: column; gap: 8px; }
.rx-cat {
  width: 100%; min-height: 94px; display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 14px; text-align: left; cursor: pointer;
  border: 1px solid transparent; border-image: var(--fr-cat); background: transparent; color: #fff;
}
.rx-cat:hover { border-image: var(--fr-cat-hover); }
.rx-cat.active { border-image: var(--fr-cat-on); }
.rx-cat .px-icon { width: 36px; height: 36px; }
.rx-cat .category-name { font: 400 11.5px/1.35 var(--px); text-transform: uppercase; letter-spacing: 0; color: #fff; -webkit-font-smoothing: antialiased; }
.rx-cat .category-count { font: 400 14px/1.2 var(--font); color: #c8c8c8; margin-top: 3px; letter-spacing: .02em; }
.rx-head { display: flex; justify-content: flex-end; margin: -8px 0 12px; }
.rx-sort { display: flex; align-items: baseline; gap: 8px; font: 700 22px/1 var(--font); color: #fff; }
.rx-sort select {
  appearance: none; -webkit-appearance: none; background: transparent; border: 0; padding: 0; cursor: pointer;
  font: 400 22px/1 var(--ten); color: var(--rx-green); text-transform: uppercase; letter-spacing: .02em;
}
.rx-sort select:focus-visible { outline: 2px solid var(--rx-green); outline-offset: 4px; }
.rx-sort select option { font-family: var(--font); background: #262727; color: #fff; text-transform: none; }
.rx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }

.rx-card {
  display: flex; flex-direction: column; padding: 10px 10px 12px; cursor: pointer; outline: none; min-width: 0;
  border: 1px solid transparent; border-image: var(--fr-card); transition: transform .12s;
}
.rx-card:hover, .rx-card:focus-visible { border-image: var(--fr-card-hover); transform: translateY(-2px); }
.rx-img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #141515; }
.rx-img > img, .rx-img > .noimg { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.rx-card:hover .rx-img > img { transform: scale(1.04); }
.rx-tags { position: absolute; top: 6px; left: 6px; right: 6px; display: flex; justify-content: space-between; gap: 4px; pointer-events: none; }
.rx-tag { padding: 4px 6px 3px; font: 400 8px/1 var(--px); text-transform: uppercase; letter-spacing: 0; color: #062b12;
  border: 1px solid transparent; border-image: var(--fr-sale); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rx-tag-label { margin-left: auto; border-image: var(--fr-label); color: #2b1600; }
.rx-name { margin-top: 10px; font: 400 13px/1.35 var(--font); color: #fff; min-height: 2.7em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rx-name { font-weight: 600; }
.rx-price { margin-top: 8px; font: 800 17px/1 var(--font); color: #fff; }
.rx-price small { font-size: 12px; color: var(--rx-muted); }
.rx-old { min-height: 14px; margin: 5px 0 10px; display: flex; gap: 10px; align-items: center; font: 600 11px/1 var(--font); }
.rx-old s { color: #657988; text-decoration-thickness: 1px; }
.rx-pct { color: #18c23a; }
.rx-cart {
  margin-top: auto; height: 34px; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  border: 1px solid transparent; border-image: var(--fr-gray); background: transparent; color: #fff; cursor: pointer;
  font: 600 13px/1 var(--font);
}
.rx-cart:hover { border-image: var(--fr-gray-hover); }
.rx-cart.in { border-image: var(--fr-green); }
.rx-cart .px-icon { width: 16px; height: 16px; }

/* ---------- «Начать играть» window ---------- */
.rx-modal-back { position: fixed; inset: 0; z-index: 95; display: grid; grid-template-columns: minmax(0, 620px); place-content: center; place-items: center; padding: 16px; background: rgba(0,0,0,.62); animation: fade .2s ease; overflow-y: auto; }
.rx-modal { width: min(620px, 100%); background: #1e1f1f; border: 1px solid #3a3a3a; box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: pop .22s cubic-bezier(.2,.9,.3,1.2); }
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
.rx-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid #333; }
.rx-modal-head h2 { font: 700 19px/1 var(--font); color: #fff; }
.rx-x { width: 34px; height: 34px; display: grid; place-items: center; background: #2a2b2b; border: 1px solid #444; color: #ddd; font-size: 16px; cursor: pointer; }
.rx-x:hover { background: #343535; color: #fff; }
.rx-modal-body { padding: 22px 26px 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.rx-modal-logo { font: 400 26px/1 var(--px); text-transform: uppercase; color: #fff; text-shadow: 0 3px 0 #000; }
.rx-modal-ver { font: 400 14px/1.5 var(--font); color: #c9c9c9; }
.rx-modal-ver b, .rx-steps b { color: #fff; font-weight: 700; }
.rx-modal-h { font: 400 13px/1 var(--px); text-transform: uppercase; color: #fff; margin-top: 4px; }
.mcf { width: min(396px, 100%); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 8px; text-align: left;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' shape-rendering='crispEdges'%3E%3Crect x='0' y='0' width='1' height='1' fill='%23231a11'/%3E%3Crect x='1' y='0' width='1' height='1' fill='%232c2117'/%3E%3Crect x='2' y='0' width='1' height='1' fill='%23302419'/%3E%3Crect x='3' y='0' width='1' height='1' fill='%23271d14'/%3E%3Crect x='4' y='0' width='1' height='1' fill='%23271d14'/%3E%3Crect x='5' y='0' width='1' height='1' fill='%231f170f'/%3E%3Crect x='6' y='0' width='1' height='1' fill='%23271d14'/%3E%3Crect x='7' y='0' width='1' height='1' fill='%23231a11'/%3E%3Crect x='0' y='1' width='1' height='1' fill='%231f170f'/%3E%3Crect x='1' y='1' width='1' height='1' fill='%23271d14'/%3E%3Crect x='2' y='1' width='1' height='1' fill='%231f170f'/%3E%3Crect x='3' y='1' width='1' height='1' fill='%232c2117'/%3E%3Crect x='4' y='1' width='1' height='1' fill='%23271d14'/%3E%3Crect x='5' y='1' width='1' height='1' fill='%23271d14'/%3E%3Crect x='6' y='1' width='1' height='1' fill='%23302419'/%3E%3Crect x='7' y='1' width='1' height='1' fill='%23302419'/%3E%3Crect x='0' y='2' width='1' height='1' fill='%23271d14'/%3E%3Crect x='1' y='2' width='1' height='1' fill='%232c2117'/%3E%3Crect x='2' y='2' width='1' height='1' fill='%23271d14'/%3E%3Crect x='3' y='2' width='1' height='1' fill='%231f170f'/%3E%3Crect x='4' y='2' width='1' height='1' fill='%23302419'/%3E%3Crect x='5' y='2' width='1' height='1' fill='%23271d14'/%3E%3Crect x='6' y='2' width='1' height='1' fill='%231f170f'/%3E%3Crect x='7' y='2' width='1' height='1' fill='%23271d14'/%3E%3Crect x='0' y='3' width='1' height='1' fill='%232c2117'/%3E%3Crect x='1' y='3' width='1' height='1' fill='%231f170f'/%3E%3Crect x='2' y='3' width='1' height='1' fill='%23271d14'/%3E%3Crect x='3' y='3' width='1' height='1' fill='%231f170f'/%3E%3Crect x='4' y='3' width='1' height='1' fill='%231f170f'/%3E%3Crect x='5' y='3' width='1' height='1' fill='%23302419'/%3E%3Crect x='6' y='3' width='1' height='1' fill='%23271d14'/%3E%3Crect x='7' y='3' width='1' height='1' fill='%232c2117'/%3E%3Crect x='0' y='4' width='1' height='1' fill='%23271d14'/%3E%3Crect x='1' y='4' width='1' height='1' fill='%231f170f'/%3E%3Crect x='2' y='4' width='1' height='1' fill='%232c2117'/%3E%3Crect x='3' y='4' width='1' height='1' fill='%23231a11'/%3E%3Crect x='4' y='4' width='1' height='1' fill='%23302419'/%3E%3Crect x='5' y='4' width='1' height='1' fill='%232c2117'/%3E%3Crect x='6' y='4' width='1' height='1' fill='%231f170f'/%3E%3Crect x='7' y='4' width='1' height='1' fill='%23271d14'/%3E%3Crect x='0' y='5' width='1' height='1' fill='%231f170f'/%3E%3Crect x='1' y='5' width='1' height='1' fill='%23231a11'/%3E%3Crect x='2' y='5' width='1' height='1' fill='%231f170f'/%3E%3Crect x='3' y='5' width='1' height='1' fill='%232c2117'/%3E%3Crect x='4' y='5' width='1' height='1' fill='%23271d14'/%3E%3Crect x='5' y='5' width='1' height='1' fill='%231f170f'/%3E%3Crect x='6' y='5' width='1' height='1' fill='%231f170f'/%3E%3Crect x='7' y='5' width='1' height='1' fill='%232c2117'/%3E%3Crect x='0' y='6' width='1' height='1' fill='%23231a11'/%3E%3Crect x='1' y='6' width='1' height='1' fill='%23271d14'/%3E%3Crect x='2' y='6' width='1' height='1' fill='%231f170f'/%3E%3Crect x='3' y='6' width='1' height='1' fill='%23271d14'/%3E%3Crect x='4' y='6' width='1' height='1' fill='%231f170f'/%3E%3Crect x='5' y='6' width='1' height='1' fill='%23271d14'/%3E%3Crect x='6' y='6' width='1' height='1' fill='%231f170f'/%3E%3Crect x='7' y='6' width='1' height='1' fill='%232c2117'/%3E%3Crect x='0' y='7' width='1' height='1' fill='%23302419'/%3E%3Crect x='1' y='7' width='1' height='1' fill='%231f170f'/%3E%3Crect x='2' y='7' width='1' height='1' fill='%23302419'/%3E%3Crect x='3' y='7' width='1' height='1' fill='%23231a11'/%3E%3Crect x='4' y='7' width='1' height='1' fill='%23302419'/%3E%3Crect x='5' y='7' width='1' height='1' fill='%231f170f'/%3E%3Crect x='6' y='7' width='1' height='1' fill='%23302419'/%3E%3Crect x='7' y='7' width='1' height='1' fill='%23231a11'/%3E%3C/svg%3E") 0 0 / 32px 32px; image-rendering: pixelated; box-shadow: inset 0 0 0 2px rgba(0,0,0,.35); }
.mcf-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.mcf-field > span { font: 400 11px/1 var(--px); text-transform: uppercase; color: #a8a8a8; }
.mcf-input { height: 34px; padding: 0 8px; display: flex; align-items: center; background: #000; border: 2px solid #a0a0a0; color: #fff; font: 400 12px/1 var(--px); text-transform: uppercase; }
.mcf-btn { height: 34px; display: grid; place-items: center; background: #6f6f6f; border: 2px solid #000; color: #fff;
  box-shadow: inset 2px 2px 0 #a9a9a9, inset -2px -3px 0 #4a4a4a; font: 400 12px/1 var(--px); text-transform: uppercase; text-shadow: 2px 2px 0 #3a3a3a; }
.rx-steps { margin: 4px 0 0; padding: 0; list-style: none; counter-reset: st; display: flex; flex-direction: column; gap: 4px; font: 400 13px/1.4 var(--font); color: #c9c9c9; }
.rx-steps li { counter-increment: st; }
.rx-steps li::before { content: counter(st) ". "; }
.rx-copy { margin-top: 6px; width: min(396px, 100%); min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 8px 6px 14px;
  border: 1px solid transparent; border-image: var(--fr-copy); }
.rx-copy b { font: 400 13px/1 var(--px); color: #fff; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rx-copy button { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: #172e1a; border: 0; color: #fff; font: 600 12px/1 var(--font); cursor: pointer; flex-shrink: 0; }
.rx-copy button:hover { background: #21412a; }
.rx-copy-ic { width: 11px; height: 11px; border: 2px solid #cfcfcf; box-shadow: 3px -3px 0 -1px #172e1a, 3px -3px 0 1px #cfcfcf; }
.rx-modal-foot { padding: 16px; border-top: 1px solid #333; display: flex; justify-content: center; }
.rx-ok { min-width: 172px; height: 50px; padding: 0 24px; border: 1px solid transparent; border-image: var(--fr-go); background: transparent; cursor: pointer;
  font: 400 22px/1 var(--ten); text-transform: uppercase; color: #0b3d1a; }
.rx-ok:hover { border-image: var(--fr-go-hover); }

/* ---------- frames on the rest of the site ---------- */
.panel { background: transparent; border: 1px solid transparent; border-image: var(--fr-panel); box-shadow: none; }
.feed { padding: 26px 16px; }
.feed > .container { max-width: 1050px; padding: 0; }
.section-title { font: 400 22px/1 var(--px); letter-spacing: 0; }
.section-sub { font: 500 15px/1 var(--font); text-transform: none; }
.roulette { background: transparent; border: 1px solid transparent; border-image: var(--fr-panel); padding: 18px 0; }
.recent-card { background: transparent; border: 1px solid transparent; border-image: var(--fr-card); box-shadow: none; padding: 12px; }
.recent-name { font: 600 14px/1.2 var(--font); text-transform: none; }
.player-name { font-weight: 400; }
.podium-card { background: transparent; border: 1px solid transparent; border-image: var(--fr-panel); box-shadow: none; }
.podium-card .place { clip-path: polygon(0 3px, 3px 3px, 3px 0, calc(100% - 3px) 0, calc(100% - 3px) 3px, 100% 3px, 100% calc(100% - 3px), calc(100% - 3px) calc(100% - 3px), calc(100% - 3px) 100%, 3px 100%, 3px calc(100% - 3px), 0 calc(100% - 3px)); }
.top-list { background: transparent; border: 1px solid transparent; border-image: var(--fr-panel); padding: 12px; }
.top-list li { background: rgba(255,255,255,.03); }
.top-list li:nth-child(odd) { background: rgba(255,255,255,.06); }
.footer { background: var(--rx-bar); border-top: 2px solid #000; box-shadow: none; }
.footer-brand .brand-logo { display: none; }
.footer-title { color: #fff; }
/* rules page */
.rl-toc { background: transparent; border: 1px solid transparent; border-image: var(--fr-panel); padding: 20px 14px; }
.rl-toc a:hover { background: #2a2b2b; }
.rl-rule { background: transparent; border: 1px solid transparent; border-image: var(--fr-panel); padding: 18px 20px; }
.rl-warn { background: transparent; border: 1px solid transparent; border-image: var(--fr-warn); padding: 18px 20px; }
.rl-sec-title { font: 400 20px/1.3 var(--px); }
.rl-num { clip-path: polygon(0 3px, 3px 3px, 3px 0, calc(100% - 3px) 0, calc(100% - 3px) 3px, 100% 3px, 100% calc(100% - 3px), calc(100% - 3px) calc(100% - 3px), calc(100% - 3px) 100%, 3px 100%, 3px calc(100% - 3px), 0 calc(100% - 3px)); }
.mp-hero, .mp-band { display: none; }

@media (max-width: 860px) {
  .rx-hero-wrap { padding: 16px 10px 0; }
  .rx-hero { height: 240px; border-radius: 22px; gap: 14px; }
  .rx-title { text-shadow: 3px 3px 0 rgba(0,0,0,.32); }
  .rx-list { padding: 22px 10px 40px; }
  .rx-shop { grid-template-columns: minmax(0, 1fr); }
  .rx-shop > * { min-width: 0; }
  .nav-links { min-width: 0; width: calc(100% + 28px); }
  .rx-cats { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 8px; padding-bottom: 4px; }
  .rx-cats li { flex-shrink: 0; }
  .rx-cat { min-height: 64px; padding: 10px 16px; }
  .rx-cat .px-icon { width: 28px; height: 28px; }
  .rx-cat .category-count { display: none; }
  .rx-head { margin: 0 0 10px; }
  .rx-sort, .rx-sort select { font-size: 18px; }
  .brand-name { font-size: 14px; }
  .rx-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  .counter { font-size: 18px; }
}
.top-grid > *, .podium-card { min-width: 0; }
.podium { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 520px) { .rx-copy b { font-size: 11px; } .rx-modal-body { padding: 18px 14px 20px; } }
/* drawer in the new colours */
.drawer { background: var(--rx-bg); border-left: 2px solid #000; box-shadow: -20px 0 50px rgba(0,0,0,.5); }
.drawer-bar { background: var(--rx-bar); border-bottom: 2px solid #000; }
.cart-item { background: transparent; border: 1px solid transparent; border-image: var(--fr-card); }
.drawer-backdrop { background: rgba(0,0,0,.6); }

/* product names in the product page and the cart: same font as the cards on the main page */
.pp-title { font: 800 clamp(26px, 2.8vw, 36px)/1.15 var(--font); text-transform: none; text-shadow: none; font-size-adjust: none; letter-spacing: 0; }
.pp-sub { font: 600 17px/1.2 var(--font); text-transform: none; font-size-adjust: none; margin-top: -4px; }
.variant-name { font: 600 13px/1.25 var(--font); text-transform: none; font-size-adjust: none; }
.cart-item-name { font: 700 15px/1.25 var(--font); text-transform: none; font-size-adjust: none; }
.recent-card { cursor: pointer; }
.recent-card:hover .recent-name { color: var(--rx-green, #5fd16a); }

/* punishment: tag and text on one line, the text wraps under itself (no jump below the tag) */
.rl-punish { display: flex; flex-wrap: nowrap; align-items: baseline; gap: 10px; margin-top: 2px; line-height: 1.5; }
.rl-punish-tag { flex: 0 0 auto; align-self: flex-start; margin-top: 1px; }
.rl-punish > span:last-child { flex: 1 1 auto; min-width: 0; }
@media (max-width: 560px) { .rl-punish { flex-wrap: wrap; row-gap: 6px; } }

/* «Начать играть»: smooth close */
.rx-modal-back.closing { animation: rxFadeOut .22s ease forwards; pointer-events: none; }
.rx-modal-back.closing .rx-modal { animation: rxPopOut .22s cubic-bezier(.4,0,1,1) forwards; }
@keyframes rxFadeOut { to { opacity: 0; } }
@keyframes rxPopOut { to { transform: scale(.94); opacity: 0; } }

/* ===== round of fixes 17.10 ===== */
/* banner: darker */
.rx-hero.has-img { background: linear-gradient(rgba(0,0,0,.40), rgba(0,0,0,.52)), var(--hero) center / cover no-repeat; }
/* «Начать играть» and the online counter a bit lower */
.rx-play { margin-top: 22px; }
.rx-online { margin-top: 2px; }
/* header logo never gets cut */
.brand { flex-shrink: 0; }
.brand-name { overflow: visible; text-overflow: clip; padding-right: 3px; }

/* notched («сквадраченные») frames on the product page and in the cart */
.showcase .slot, .variant .slot, .cart-item .slot {
  clip-path: polygon(0 4px, 4px 4px, 4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px),
    calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px));
}
.variant.active .slot { border-color: var(--gold); box-shadow: inset 0 0 0 3px rgba(0,0,0,.55); }
.variant:hover:not(.active) .slot { border-color: #9a9a9a; }
/* the category of the product: just white text, no plate */
.detail-top .tag-beige { background: none; box-shadow: none; border: 0; border-image: none; padding: 0; height: auto; color: #fff; text-shadow: none; }
.detail-top .tag-beige .px-icon { filter: brightness(0) invert(1); }

/* «Стоимость» and the price in the regular font */
.price-row { font: 600 16px/1.2 var(--font); text-transform: none; letter-spacing: 0; font-size-adjust: none; }
.price-row s { font: 600 18px/1 var(--font); }
.price-now b { font: 800 34px/1 var(--font); text-shadow: 0 2px 0 rgba(0,0,0,.45); font-size-adjust: none; }

/* cart: regular font everywhere, only the word «Корзина» stays pixel */
.drawer *:not(.drawer-bar-title):not(.key) { font-family: var(--font) !important; font-size-adjust: none !important; letter-spacing: 0 !important; }
.drawer .drawer-title, .drawer .cart-item-price, .drawer .qty span, .drawer button, .drawer .btn { text-transform: none; }
.drawer .drawer-title { font-size: 22px; font-weight: 800; }
.drawer .cart-item-price { font-size: 17px; font-weight: 800; }
.drawer .qty span { font-size: 17px; font-weight: 700; }
.drawer .key-btn { font-size: 14px; font-weight: 600; }
.drawer-bar-icon { align-self: center; transform: translateY(4px); }
.qty button.trash { font-size: 0 !important; }
.qty button.trash { position: relative; }
.qty button.trash::before, .qty button.trash::after {
  content: ""; position: absolute; left: 50%; top: calc(50% - 2px); width: 16px; height: 2.5px; border-radius: 1px;
  background: #ffb3ab; transform: translate(-50%, -50%) rotate(45deg);
}
.qty button.trash::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* top donors: lower (the place badges no longer touch the heading), regular font except the numbers */
.top-grid { margin-top: 42px; }
.podium-nick, .top-list .nick, .top-list li > span:not(.rank):not(.sum), .top-empty, .podium-card .empty, .podium-card > span:not(.place):not(.podium-sum) {
  font-family: var(--font) !important; font-size-adjust: none !important; letter-spacing: 0; text-transform: none;
}
.podium-nick { font: 700 16px/1.2 var(--font); }
.top-empty { font: 500 15px/1.5 var(--font); }

/* sizes for texts whose font was switched to the regular one (they kept the old pixel-font size) */
.drawer .checkout-count { font-size: 16px; }
.drawer .order-form-title, .drawer .instruction-title { font-size: 19px; }
.drawer label, .drawer .field > span { font-size: 15px; }
.drawer .qty button.plus { font-size: 21px; }

/* ===== 17.10 (2) ===== */
/* variants: title and prices in the regular font, frames like the product cards on the main page */
.showcase-title { font: 700 15px/1.2 var(--font) !important; text-transform: none; letter-spacing: 0; color: #fff; }
.variant-price { font: 800 15px/1 var(--font) !important; color: var(--gold); letter-spacing: 0; }
.variant { padding: 8px 8px 10px; border: 1px solid transparent; border-image: var(--fr-card); gap: 8px; }
.variant:hover { border-image: var(--fr-card-hover); }
.variant.active { border-image: var(--fr-cat-on); }
.variant .slot, .variant.active .slot, .variant:hover .slot { border: 0; box-shadow: none; clip-path: none; }
.showcase > .slot-card { padding: 12px; border: 1px solid transparent; border-image: var(--fr-card); }
.showcase .slot { border: 0; box-shadow: none; clip-path: none; }
.pp-variants { gap: 12px; }

/* «Начать играть»: steps aligned on the left, the address never cut */
.rx-steps { align-self: center; width: min(396px, 100%); text-align: left; padding-left: 0; }
.rx-copy b { line-height: 1.3; padding: 2px 0; }
.drawer .btn-xl { font-size: 20px; }
.drawer .btn-lg { font-size: 18px; }
.drawer .btn-sq { font-size: 22px; }
.drawer .coupon-row .btn { font-size: 15px; }
.drawer .pay-sum { font-size: 20px; }

/* ===== 17.10 (3) ===== */
.showcase > .slot-card { padding: 0; border: 0; border-image: none; }
.showcase .slot { overflow: hidden; }
.showcase .slot-card:hover .slot > img { transform: scale(1.03); }
.rx-title { font-size: clamp(22px, 5.4vw, 60px); }
.rx-sort { font-size: 17px; }
.rx-sort select { font-size: 17px; }
@media (max-width: 760px) { .rx-sort, .rx-sort select { font-size: 15px; } }
.showcase .slot-card .slot, .showcase .slot-card:hover .slot, .showcase .slot-card:focus-visible .slot { border: 0 !important; box-shadow: none !important; outline: 0; }

/* seller details line and document links */
.footer-legal { padding-top: 14px; margin-top: 18px; border-top: 1px solid #3a3a3a; font: 400 13px/1.5 var(--font); color: #9a9a9a; }
.check-text a { color: var(--rx-green); text-decoration: underline; text-underline-offset: 2px; }
.check span.check-text { width: auto; height: auto; background: none; border: 0; display: inline; flex-shrink: 1; }
.qty button:not(.trash) { padding: 0 0 4px; line-height: 1; }

/* ===== loading skeletons ===== */
.sk {
  position: relative; overflow: hidden; background: #242525;
  clip-path: polygon(0 4px, 4px 4px, 4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px),
    calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px));
}
.sk::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.045) 45%, rgba(255,255,255,.07) 50%, rgba(255,255,255,.045) 55%, transparent);
  animation: skShine 1.5s ease-in-out infinite;
}
@keyframes skShine { to { transform: translateX(100%); } }
.sk-wrap { animation: skIn .3s ease both; }
@keyframes skIn { from { opacity: 0; } }
.sk-hero { height: 318px; border-radius: 34px; clip-path: none; }
.sk-cat { height: 94px; }
.sk-sort { width: 260px; height: 22px; margin-left: auto; }
.sk-card { display: flex; flex-direction: column; gap: 10px; padding: 10px 10px 12px; border: 1px solid transparent; border-image: var(--fr-card); min-width: 0; }
.sk-img { aspect-ratio: 1 / 1; width: 100%; }
.sk-line { height: 14px; width: 100%; }
.sk-line.tall { height: 20px; }
.sk-line.xl { height: 28px; }
.sk-line.w20 { width: 20%; } .sk-line.w30 { width: 30%; } .sk-line.w40 { width: 40%; } .sk-line.w50 { width: 50%; }
.sk-line.w60 { width: 60%; } .sk-line.w70 { width: 70%; } .sk-line.w80 { width: 80%; } .sk-line.w90 { width: 90%; }
.sk-btn { height: 34px; margin-top: 6px; }
.sk-btn.big { height: 60px; }
.sk-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sk-panel { padding: 24px; border: 1px solid transparent; border-image: var(--fr-panel); }
.sk-square { aspect-ratio: 1 / 1; width: 100%; }
.sk-row4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sk-block { height: 90px; }
.sk-rules { padding-top: 40px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 14px; max-width: 1050px; }
.sk-rule { height: 92px; }
.sk-strip { display: flex; gap: 14px; overflow: hidden; margin-top: 18px; }
.sk-recent { flex: 0 0 200px; display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid transparent; border-image: var(--fr-card); }
.sk-podium { min-height: 230px; align-self: end; }
.sk-podium.p1 { min-height: 270px; } .sk-podium.p3 { min-height: 210px; }
.sk-toplist { min-height: 270px; }
.feed .sk-wrap .top-grid, .sk-wrap .top-grid { margin-top: 18px; }
.sk-profile { max-width: 1500px; margin: 0 auto; padding: 18px 16px 40px; display: flex; flex-direction: column; gap: 20px; }
.sk-pbar { display: flex; justify-content: space-between; gap: 20px; }
.sk-pbar .sk-line { height: 22px; }
.sk-pgrid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.sk-stage { min-height: 560px; }
.sk-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sk-ppanel { min-height: 560px; }
@media (max-width: 1080px) { .sk-pgrid { grid-template-columns: 1fr; } .sk-stage, .sk-ppanel { min-height: 320px; } }
@media (max-width: 860px) { .sk-hero { height: 240px; border-radius: 22px; } .sk-sort { width: 200px; } }
@media (prefers-reduced-motion: reduce) { .sk::after { animation: none; } }

/* pictures: shimmer while loading, then a soft fade-in */
img.fade:not(.in) {
  background: #242525 linear-gradient(90deg, transparent 0, rgba(255,255,255,.06) 50%, transparent 100%) 0 0 / 200% 100% no-repeat;
  animation: skMove 1.4s linear infinite; color: transparent;
}
img.fade.in:not(.now) { animation: imgIn .4s ease both; }
@keyframes skMove { from { background-position: 150% 0; } to { background-position: -50% 0; } }
@keyframes imgIn { from { opacity: 0; } }
/* the real page appears softly in place of the skeleton */
#view.appear > *:not(.sk-wrap) { animation: viewIn .4s ease both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(6px); } }

/* product page: the right panel is as tall as the picture column on every product —
   the description takes the free space (and scrolls), the price box always has two rows */
@media (min-width: 1081px) {
  .pp-grid { align-items: start; }
  .detail > * { flex-shrink: 0; }
  .detail > .pp-desc { flex: 0 1 auto; min-height: 0; max-height: none; }
}
.price-row.ghost { display: none; }
.detail .price-box { min-height: 107px; align-content: center; }
.detail > .price-box { margin-top: 0; }
/* banner: shimmer until its picture is loaded, then the picture fades in */
.rx-hero.has-img { background: #1d2329; }
.rx-hero.has-img::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 1; transition: opacity .45s ease;
  background: linear-gradient(rgba(0,0,0,.40), rgba(0,0,0,.52)), var(--hero) center / cover no-repeat; }
.rx-hero > * { position: relative; z-index: 1; }
.rx-hero.img-wait { background: #242525; }
.rx-hero.img-wait::before { opacity: 0; }
.rx-hero.img-wait::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent); animation: skShine 1.5s ease-in-out infinite; }
/* header placeholders before the shop data arrives */
.brand-name:empty { width: 150px; height: 18px; background: #3a3b3b; }
.nav-links:empty { width: 460px; height: 18px; background: #3a3b3b; margin: 0 auto; }
@media (max-width: 860px) { .nav-links:empty { display: none; } }

/* header: the menu stays exactly in the middle — the left and right parts get equal widths,
   so the cart sum (0 ₽ / 1 499 ₽) never moves the menu */
@media (min-width: 1101px) {
  .nav > .brand { flex: 1 1 0; min-width: max-content; }
  .nav > .nav-links { flex: 0 0 auto; }
  .nav > .nav-right { flex: 1 1 0; min-width: max-content; margin-left: 0; justify-content: flex-end; }
}

/* «доплата за привилегию» */
.upg-box { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border: 1px solid transparent; border-image: var(--fr-gray); }
.upg-title { font: 700 15px/1.3 var(--font); color: #fff; }
.upg-row { display: flex; gap: 10px; }
.upg-nick { flex: 1; min-width: 0; height: 42px; padding: 0 12px; background: #0b0f0d; border: 2px solid #3a3a3a; color: #fff; font: 500 15px/1 var(--font); outline: none; }
.upg-nick:focus { border-color: var(--rx-green); }
.upg-btn { min-height: 42px; padding: 0 16px; font: 700 14px/1 var(--font) !important; text-transform: none; }
.upg-out:empty { display: none; }
.upg-out { display: flex; flex-direction: column; gap: 10px; font: 500 14px/1.45 var(--font); color: #d4d4d4; }
.upg-out b { color: #fff; }
.upg-deal { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.upg-deal s { color: #8a8a8a; }
.upg-deal b { color: var(--gold); font-size: 17px; }
.upg-take { min-height: 42px; padding: 0 18px; font: 700 14px/1 var(--font) !important; text-transform: none; }
.upg-err { color: #ffb3ab; }
.upg-list { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.upg-list-t { color: #9a9a9a; font-size: 13px; }
.upg-chip { padding: 4px 9px; background: #262727; color: #ddd; font-size: 13px; text-decoration: none; }
.upg-chip:hover { background: #303131; color: #fff; }
.upg-chip b { color: var(--gold); }
.upg-sk { height: 54px; }
.cart-upgrade-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.cart-upgrade-price s { font: 600 13px/1 var(--font); color: #8a8a8a; }

/* phones: the menu goes to a second row INSIDE the header bar (a later fixed height pushed it out over the page) */
@media (max-width: 860px) {
  .nav { height: auto; min-height: 64px; flex-wrap: wrap; padding: 8px 14px 0; row-gap: 0; }
  .nav-links { order: 3; flex: 1 1 100%; }
  .nav-links a { height: 46px; }
  .nav-links:empty { display: none; }
}
/* phones / narrow windows: the product page never gets wider than the screen */
@media (max-width: 1080px) {
  .pp-grid { grid-template-columns: minmax(0, 1fr); }
  .showcase, .pp-grid > .detail { min-width: 0; max-width: 100%; }
}
@media (max-width: 520px) { .pp-variants { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } }
/* punishment tag: centred on the first text line (it sat ~5px too high) */
.rl-punish-tag { margin-top: 6px; }
@media (max-width: 560px) { .rl-punish-tag { margin-top: 0; } }
/* phones: the brand name stays visible (it was hidden at ≤520px, and the logo is hidden too — the header looked empty) */
@media (max-width: 520px) {
  .brand-name { display: block; font-size: 14px; }
  .nav > .brand { min-width: 0; }
}
@media (max-width: 360px) { .brand-name { font-size: 12px; } }
/* narrow phones: all three menu items fit in the row */
@media (max-width: 420px) {
  .nav-links { justify-content: space-between; gap: 0; }
  .nav-links a { padding-left: 6px; padding-right: 6px; font-size: 13px; }
  .nav-links a.active::after { left: 6px; right: 6px; }
}
@media (max-width: 350px) {
  .nav-links a { padding-left: 3px; padding-right: 3px; font-size: 12px; }
  .nav-links a.active::after { left: 3px; right: 3px; }
}
/* the online marker on the banner: the pixel orb picture */
.rx-dot { width: 18px; height: 18px; background: url("/static/online.png") center / 100% 100% no-repeat; box-shadow: none; clip-path: none; image-rendering: pixelated; flex: 0 0 auto; }

/* ---------- menu: short names on narrow phones ---------- */
.nl-short { display: none; }
@media (max-width: 520px) { .nl-full { display: none; } .nl-short { display: inline; } }

/* ---------- «Ресурс пак» ---------- */
.pk { max-width: 860px; margin: 0 auto; padding: 48px 20px 80px; display: flex; flex-direction: column; gap: 22px; }
.pk-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: 44px 36px 38px;
  border: 1px solid transparent; border-image: var(--fr-panel); }
.pk-icon { width: 104px; height: 104px; display: grid; place-items: center; border: 1px solid transparent; border-image: var(--fr-card); }
.pk-icon .px-icon { width: 64px; height: 64px; }
.pk-title { margin: 0; font: 400 30px/1.1 var(--px); text-transform: uppercase; color: #fff; letter-spacing: 0; text-shadow: 0 3px 0 rgba(0,0,0,.45); }
.pk-lead { margin: 0; max-width: 560px; font: 400 17px/1.55 var(--font); color: var(--rx-muted); }
.pk-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 260px; height: 62px; margin-top: 6px; font-size: 26px; text-decoration: none; }
.pk-btn:disabled { filter: grayscale(1) brightness(.75); cursor: not-allowed; }
.pk-meta { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font: 400 15px/1.4 var(--font); color: var(--rx-muted); }
.pk-meta b { color: #fff; font-weight: 600; }
.pk-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pk-step { display: flex; gap: 14px; align-items: flex-start; padding: 18px 18px 16px; border: 1px solid transparent; border-image: var(--fr-card); }
.pk-step-n { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; font: 400 16px/1 var(--px); color: #0b3d1a;
  border: 1px solid transparent; border-image: var(--fr-go); padding-top: 2px; }
.pk-step b { display: block; margin-bottom: 6px; font: 600 16px/1.3 var(--font); color: #fff; }
.pk-step p { margin: 0; font: 400 14px/1.5 var(--font); color: var(--rx-muted); }
.sk-pack { height: 420px; }
@media (max-width: 760px) {
  .pk { padding: 26px 14px 60px; }
  .pk-card { padding: 32px 18px 28px; }
  .pk-title { font-size: 22px; }
  .pk-lead { font-size: 15px; }
  .pk-btn { min-width: 0; width: 100%; }
  .pk-steps { grid-template-columns: 1fr; }
}
