:root {
  --bg: #0D0E0B;
  --bar: #111210;
  --card: #17181A;
  --card-2: #24261F;
  --line: #26282A;
  --line-soft: #222420;
  --text: #F2F2EE;
  --muted: #A3A69E;
  --dim: #8E9189;
  --accent: #C6F432;
  --accent-ink: #0D0E0B;
  --danger: #FF8A7A;
  --lime: #C6F432;
  --mint: #7CE0C3;
  --amber: #FFB547;
  --violet: #A99BFF;
  --coral: #FF8A7A;
  --sand: #E8E6DF;
  --display: 'Unbounded', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --tabbar-h: calc(64px + env(safe-area-inset-bottom, 0px));
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); }
h1, h2, h3, p { margin: 0; }
svg { flex-shrink: 0; }

.screen {
  max-width: 560px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 20px 20px calc(var(--tabbar-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  outline: none;
}
.screen.no-tabbar { padding-bottom: 32px; }

.title { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.2; }
.subtitle { font-size: 13px; color: var(--muted); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; }
.section-title { font-family: var(--display); font-weight: 500; font-size: 16px; }
.link-btn { background: none; border: 0; color: var(--accent); font-size: 13px; font-weight: 600; padding: 8px 0; cursor: pointer; }
.stack { display: flex; flex-direction: column; gap: 4px; }

/* Шапка главной */
.topbar { display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: 0.04em; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--display); font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}

/* Крупный баннер */
.hero {
  background: var(--accent); color: var(--accent-ink);
  border-radius: 24px; padding: 22px 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.hero .kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hero .headline { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.2; }
.hero p { font-size: 14px; font-weight: 500; }

.btn {
  min-height: 48px; padding: 0 18px; border-radius: 14px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 15px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none;
}
.btn:active { transform: scale(0.98); }
.btn-dark { background: var(--bg); color: var(--text); align-self: flex-start; }
.btn-accent { background: var(--accent); color: var(--accent-ink); width: 100%; }
.btn-light { background: var(--text); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid #3A3C3E; }
.btn[disabled] { opacity: 0.6; cursor: default; }

/* Плитки */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 14px; display: flex; flex-direction: column; gap: 10px;
  text-align: left; cursor: pointer; color: var(--text); min-height: 118px;
}
.tile:active { background: #1c1d1f; }
.tile-name { font-size: 14px; font-weight: 700; line-height: 1.25; }
.tile-desc { font-size: 12px; color: var(--muted); line-height: 1.35; }
.topic-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; color: var(--accent-ink);
}
.topic-name { font-family: var(--display); font-size: 14px; font-weight: 500; }

/* Свой продукт */
.product {
  width: 100%; text-align: left; cursor: pointer; color: var(--text);
  border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 8px;
  background: linear-gradient(135deg, #1E2611 0%, #141711 60%, #171A12 100%);
  border: 1px solid #4A5A1C;
}
.product:active { transform: scale(0.99); }
.product-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.product-badge { font-size: 11px; font-weight: 800; letter-spacing: 0.04em; padding: 4px 8px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); }
.product-term { font-size: 12px; color: var(--muted); font-weight: 600; }
.product-name { font-family: var(--display); font-size: 17px; font-weight: 700; line-height: 1.25; margin-top: 4px; }
.product-desc { font-size: 13px; color: #C9CCC2; line-height: 1.4; }
.product-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.product-price { font-family: var(--display); font-size: 20px; font-weight: 700; }
.product-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--accent); }

.pay-field {
  display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 10px 10px 10px 14px;
}
.pay-field .subtitle { flex: 1; }
.pay-field b { font-family: var(--display); font-size: 17px; font-weight: 700; }

.result { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.result-head { display: flex; align-items: center; gap: 10px; }
.result-ava { width: 44px; height: 44px; object-fit: cover; border-radius: 50%; background: var(--card-2); color: var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 14px; flex-shrink: 0; }
.result-num { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--accent); white-space: nowrap; }
.result-text { font-size: 13px; color: #D6D9CF; line-height: 1.45; }

/* Анимации на карточках продуктов */
.product { position: relative; overflow: hidden; isolation: isolate; }
.product > :not(.product-art):not(.product-shine) { position: relative; z-index: 1; }
.product.has-art .product-name, .product.has-art .product-desc { max-width: 64%; }
.product-art { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; z-index: 0; pointer-events: none; }
.product-art::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 60% 45%, rgba(198, 244, 50, 0.16), transparent 65%); }
.fl { position: absolute; display: flex; align-items: center; justify-content: center; will-change: transform; }
.product-shine {
  position: absolute; inset: -40% auto -40% -60%; width: 40%; z-index: 2; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  transform: skewX(-18deg); animation: shine 5.5s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
@keyframes floatA { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-7px) rotate(calc(var(--r, 0deg) + 3deg)); } }
@keyframes floatB { 0%, 100% { transform: translate(0, 0) rotate(var(--r, 0deg)); } 50% { transform: translate(-5px, 6px) rotate(calc(var(--r, 0deg) - 4deg)); } }
@keyframes pop { 0%, 100% { transform: scale(1) rotate(var(--r, 0deg)); opacity: .9; } 50% { transform: scale(1.12) rotate(var(--r, 0deg)); opacity: 1; } }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(45deg); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }

/* Бонусы и кэшбэк */
.art-bonus .fl-card { width: 92px; top: 26px; right: 14px; --r: -12deg; animation: floatA 5s ease-in-out infinite; filter: drop-shadow(0 10px 18px rgba(198, 244, 50, .25)); }
.art-bonus .fl-card svg { width: 100%; height: auto; display: block; }
.art-bonus .fl-pct { width: 38px; height: 38px; border-radius: 50%; top: 10px; right: 98px; background: #FFB547; color: #0D0E0B; font-family: var(--display); font-weight: 700; font-size: 18px; --r: 8deg; animation: pop 3.2s ease-in-out infinite; }
.art-bonus .fl-tag { top: 96px; right: 70px; padding: 5px 9px; border-radius: 9px; background: #F2F2EE; color: #0D0E0B; font-size: 11px; font-weight: 600; white-space: nowrap; --r: -6deg; animation: floatB 6s ease-in-out infinite .6s; }
.art-bonus .fl-tag b { font-weight: 800; margin-left: 3px; }
.art-bonus .fl-bonus { top: 8px; right: 6px; padding: 4px 8px; white-space: nowrap; border-radius: 8px; background: #A99BFF; color: #0D0E0B; font-size: 11px; font-weight: 800; --r: 10deg; animation: floatA 4.4s ease-in-out infinite 1s; }
.art-bonus .fl-gift { width: 34px; height: 34px; border-radius: 10px; top: 112px; right: 12px; background: #7CE0C3; color: #0D0E0B; --r: 12deg; animation: floatB 5.2s ease-in-out infinite .3s; }
.art-bonus .fl-gift svg { width: 20px; height: 20px; }
.art-bonus .fl-coin { width: 26px; height: 26px; border-radius: 50%; top: 66px; right: 120px; background: #C6F432; color: #0D0E0B; font-weight: 800; font-size: 13px; box-shadow: inset 0 0 0 2px rgba(13, 14, 11, .2); animation: pop 2.6s ease-in-out infinite 1.2s; }

/* Скины */
.art-skins::before { background: radial-gradient(circle at 55% 45%, rgba(169, 155, 255, 0.18), transparent 65%); }
.art-skins .fl-rifle { width: 132px; top: 22px; right: 8px; --r: -14deg; animation: floatA 5.4s ease-in-out infinite; filter: drop-shadow(0 8px 14px rgba(198, 244, 50, .25)); }
.art-skins .fl-sniper { width: 140px; top: 74px; right: -6px; --r: 9deg; animation: floatB 6.2s ease-in-out infinite .5s; filter: drop-shadow(0 8px 14px rgba(169, 155, 255, .3)); }
.art-skins .fl-knife { width: 44px; top: 118px; right: 22px; --r: -20deg; animation: floatA 4.6s ease-in-out infinite 1.1s; filter: drop-shadow(0 6px 12px rgba(255, 138, 122, .3)); }
.art-skins .fl-spark { width: 7px; height: 7px; background: #F2F2EE; border-radius: 1px; animation: twinkle 2.8s ease-in-out infinite; }
.art-skins .s1 { top: 16px; right: 120px; }
.art-skins .s2 { top: 70px; right: 20px; animation-delay: .9s; }
.art-skins .s3 { top: 128px; right: 60px; animation-delay: 1.7s; }

@media (prefers-reduced-motion: reduce) {
  .fl, .product-shine { animation: none !important; }
}

/* ---------- Витрина ---------- */
.icon-btn.round { border-radius: 50%; background: var(--card); border: 1px solid var(--line); color: var(--text); }

.promo { display: flex; flex-direction: column; gap: 10px; margin: 0 -20px; }
.promo-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.promo-track::-webkit-scrollbar { display: none; }
.promo-slide {
  flex: 0 0 100%; scroll-snap-align: center; position: relative; overflow: hidden; isolation: isolate;
  margin: 0; padding: 0 20px; box-sizing: border-box;
}
.promo-slide::before {
  content: ''; position: absolute; inset: 0 20px; border-radius: 22px; z-index: -1;
  border: 1px solid #3A4420; background: linear-gradient(135deg, #1E2611 0%, #121410 70%);
}
.promo-slide.promo-vpn::before { border-color: #2C3F45; background: linear-gradient(135deg, #10262A 0%, #121410 70%); }
.promo-slide.promo-skins::before { border-color: #3A3352; background: linear-gradient(135deg, #1D1830 0%, #121410 70%); }
.promo-slide > .product-art { right: 20px; top: 0; bottom: 0; width: 44%; }
.promo-slide > :not(.product-art) { position: relative; z-index: 1; display: block; margin-left: 18px; max-width: 58%; }
.promo-kicker { margin-top: 18px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.promo-title { margin-top: 6px; font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.2; }
.promo-text { margin-top: 6px; font-size: 13px; color: #C9CCC2; line-height: 1.4; }
.promo-cta {
  margin: 14px 0 18px 18px; min-height: 40px; padding: 0 18px; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 14px;
}
.promo-cta[disabled] { background: #2A2D24; color: var(--muted); cursor: default; }
.promo-dots { display: flex; gap: 6px; padding: 0 20px; }
.promo-dot { flex: 1; height: 4px; padding: 6px 0; border: 0; background: none; cursor: pointer; box-sizing: content-box; }
.promo-dot span { display: block; height: 4px; border-radius: 2px; background: #2A2D24; overflow: hidden; position: relative; }
.promo-dot.passed span { background: var(--accent); }
.promo-dot.active span::after { content: ''; position: absolute; inset: 0; background: var(--accent); transform-origin: left; animation: dotfill 5s linear forwards; }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* обменник */
.art-exchange .coin { width: 52px; height: 52px; border-radius: 50%; font-family: var(--display); font-weight: 700; font-size: 22px; color: #0D0E0B; box-shadow: inset 0 -4px 0 rgba(0,0,0,.18); }
.art-exchange .coin-usdt { top: 26px; right: 64px; background: #7CE0C3; animation: floatA 4.6s ease-in-out infinite; }
.art-exchange .coin-rub { top: 70px; right: 14px; background: var(--accent); animation: floatB 5s ease-in-out infinite .4s; }
.art-exchange .swap-ring { width: 128px; height: 128px; top: 18px; right: 4px; animation: spin 14s linear infinite; }
.art-exchange .rate { top: 128px; right: 40px; }
@keyframes spin { to { transform: rotate(360deg); } }
/* зарубежная карта */
.promo-slide.promo-card::before { border-color: #3A3352; background: linear-gradient(135deg, #1B1830 0%, #121410 70%); }
.art-cardx .globe { width: 130px; height: 130px; top: 16px; right: 6px; animation: spin 20s linear infinite; }
.art-cardx .plastic { width: 104px; top: 46px; right: 20px; animation: floatA 5s ease-in-out infinite; --r: -10deg; filter: drop-shadow(0 10px 18px rgba(169,155,255,.3)); }
.art-cardx .plastic svg { width: 100%; height: auto; display: block; }
.art-cardx .cur { width: 30px; height: 30px; border-radius: 50%; font-weight: 800; font-size: 14px; color: #0D0E0B; }
.art-cardx .c1 { top: 18px; right: 112px; background: #7CE0C3; animation: pop 3s ease-in-out infinite; }
.art-cardx .c2 { top: 128px; right: 106px; background: #A99BFF; animation: pop 3.4s ease-in-out infinite .8s; }
.art-cardx .c3 { top: 20px; right: 16px; background: var(--accent); animation: pop 2.8s ease-in-out infinite 1.4s; }
/* vpn */
.art-vpn .vpn-shield { width: 64px; top: 40px; right: 48px; animation: floatA 4.8s ease-in-out infinite; filter: drop-shadow(0 10px 18px rgba(124, 224, 195, .3)); }
.art-vpn .pulse { width: 120px; height: 120px; top: 22px; right: 20px; border-radius: 50%; border: 2px solid #7CE0C3; opacity: 0; animation: ring 3.6s ease-out infinite; }
.art-vpn .p2 { animation-delay: 1.2s; } .art-vpn .p3 { animation-delay: 2.4s; }
@keyframes ring { 0% { transform: scale(.4); opacity: .7; } 100% { transform: scale(1.25); opacity: 0; } }
.art-vpn .on { top: 128px; right: 54px; background: #7CE0C3 !important; color: #0D0E0B; }
.fl-tag.rate, .fl-tag.on { padding: 5px 9px; border-radius: 9px; background: #F2F2EE; color: #0D0E0B; font-size: 11px; font-weight: 700; white-space: nowrap; animation: floatB 6s ease-in-out infinite; }

/* быстрые категории */
.quick { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; }
.quick::-webkit-scrollbar { display: none; }
.quick-tile {
  flex: 0 0 84px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px;
  border-radius: 16px; background: var(--card); border: 1px solid var(--line); color: var(--text);
  font-size: 12px; font-weight: 600; cursor: pointer; text-align: center;
}
.quick-ico { width: 44px; height: 44px; border-radius: 14px; background: var(--card-2); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.quick-tile:active { transform: scale(.97); }

/* карточка колеса */
.wheel-card {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border-radius: 18px; cursor: pointer; text-align: left; color: var(--text);
  background: linear-gradient(110deg, #2A2412 0%, #17181A 60%); border: 1px solid #4D4320;
}
.wheel-card-title { font-family: var(--display); font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.badge-new { font-family: var(--body); font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 6px; background: #FFB547; color: #0D0E0B; }
.wheel-card-cta { display: flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 700; color: #FFB547; white-space: nowrap; }
.wheel-mini { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; position: relative;
  background: conic-gradient(#C6F432 0 45deg, #1F2318 0 90deg, #7CE0C3 0 135deg, #1F2318 0 180deg, #A99BFF 0 225deg, #1F2318 0 270deg, #FFB547 0 315deg, #1F2318 0);
  border: 2px solid #FFB547; animation: spin 9s linear infinite; }
.wheel-mini span { position: absolute; inset: 16px; border-radius: 50%; background: #0D0E0B; border: 2px solid #FFB547; }

/* отзывы */
.reviews { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; }
.reviews::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 76%; scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; padding: 14px; text-align: left;
  border-radius: 18px; background: var(--card); border: 1px solid var(--line); color: var(--text); cursor: pointer;
}
.review-head { display: flex; align-items: center; gap: 10px; }
.review-text { font-size: 13px; color: #C9CCC2; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* экран колеса */
.wheel-wrap { position: relative; width: min(84vw, 330px); aspect-ratio: 1; margin: 6px auto 0; }
.wheel-glow { position: absolute; inset: -12%; border-radius: 50%; background: radial-gradient(circle, rgba(198, 244, 50, .22), transparent 65%); }
.wheel-rotor { position: absolute; inset: 0; will-change: transform; }
.wheel-svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 14px 30px rgba(0,0,0,.5)); }
.wheel-pointer { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); z-index: 2; width: 0; height: 0;
  border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 26px solid #F2F2EE; filter: drop-shadow(0 3px 4px rgba(0,0,0,.5)); }
.wheel-hub { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; z-index: 2;
  background: #0D0E0B; border: 3px solid var(--accent); color: var(--accent); display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 24px; }
.wheel-bulb { animation: bulb 1.2s ease-in-out infinite; }
@keyframes bulb { 50% { opacity: .25; } }
.wheel-result { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 8px; text-align: center; }
.wheel-btn { font-size: 16px; min-height: 54px; }
.win-burst { font-size: 54px; animation: pop 1.2s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .wheel-mini, .swap-ring, .pulse, .wheel-bulb, .promo-dot.active span::after { animation: none !important; }
}

/* ---------- Академия ---------- */
.academy-hero { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px;
  background: linear-gradient(120deg, #1E2611 0%, #17181A 70%); border: 1px solid #3A4420; }
.academy-ring { width: 72px; height: 72px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), #2A2D24 0); position: relative; }
.academy-ring::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: #141711; }
.academy-ring span { position: relative; font-family: var(--display); font-weight: 700; font-size: 16px; }
.lesson { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 16px; text-align: left; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); color: var(--text); }
.lesson-num { width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  color: var(--accent-ink); font-family: var(--display); font-weight: 700; font-size: 16px; }
.lesson-title { font-size: 14px; font-weight: 700; line-height: 1.3; }
.lesson-cover { border-radius: 20px; padding: 18px; min-height: 120px; display: flex; flex-direction: column; justify-content: space-between; color: var(--accent-ink); position: relative; overflow: hidden; }
.lesson-cover::after { content: ''; position: absolute; right: -30px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 18px solid rgba(13,14,11,.12); }
.lesson-cover-ico { width: 54px; height: 54px; border-radius: 16px; background: rgba(13,14,11,.14); display: flex; align-items: center; justify-content: center; }
.lesson-cover-meta { font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.lesson-body { display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.55; color: #DADDD3; }
.lesson-point { display: flex; gap: 10px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.lesson-point span { color: var(--accent); margin-top: 3px; }
.lesson-point p { font-size: 14px; }

/* Список */
.list { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.row {
  display: flex; align-items: center; gap: 12px; padding: 13px 14px;
  border-bottom: 1px solid var(--line-soft); width: 100%;
  background: none; border-left: 0; border-right: 0; border-top: 0;
  color: var(--text); text-align: left; cursor: pointer;
}
.row:last-child { border-bottom: 0; }
.row-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--card-2);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.row-title { font-size: 14px; font-weight: 700; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row-desc { font-size: 12px; color: var(--muted); line-height: 1.35; }
.row-link { min-height: 54px; font-size: 14px; font-weight: 600; justify-content: space-between; }

.badge {
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em; padding: 2px 6px; border-radius: 6px;
  border: 1px solid var(--accent); color: var(--accent); text-transform: uppercase;
}
.row > .badge { flex-shrink: 0; white-space: nowrap; }
.badge-live { background: var(--accent); color: var(--accent-ink); }
.badge-muted { border-color: #3A3C3E; color: var(--muted); }

/* Чипсы */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  min-height: 40px; padding: 0 14px; border-radius: 12px; white-space: nowrap; cursor: pointer;
  font-size: 13px; font-weight: 600; background: var(--card); border: 1px solid var(--line); color: var(--text);
}
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* Поиск */
.search {
  display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; color: var(--dim);
}
.search input { flex: 1; background: none; border: 0; outline: none; color: var(--text); font-size: 15px; min-width: 0; }
.search input::placeholder { color: var(--dim); }

/* Курсы */
.course {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px;
  display: flex; gap: 12px; text-align: left; color: var(--text); cursor: pointer; width: 100%;
}
.course-cover {
  width: 88px; min-height: 104px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: flex-end; padding: 8px;
  font-family: var(--display); font-size: 11px; font-weight: 700; color: var(--accent-ink); line-height: 1.15;
}
.course-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.course-title { font-size: 14px; font-weight: 700; line-height: 1.3; }
.course-author { font-size: 12px; color: var(--muted); }
.verified { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--accent); }
.course-price { font-family: var(--display); font-size: 14px; font-weight: 500; margin-top: auto; }

.notice {
  display: flex; gap: 12px; align-items: center; background: #1C2012; border: 1px solid #3A4420;
  border-radius: 16px; padding: 12px 14px; font-size: 13px; color: #E4E8D8; line-height: 1.4;
}
.notice svg { color: var(--accent); }

.cta-dashed {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  border: 1px dashed #3A3C3E; border-radius: 16px; padding: 14px; min-height: 60px;
  background: none; color: var(--text); text-align: left; cursor: pointer;
}
.cta-dashed svg { color: var(--accent); }

.empty {
  border: 1px dashed #3A3C3E; border-radius: 18px; padding: 24px 18px; text-align: center;
  display: flex; flex-direction: column; gap: 8px; align-items: center;
}
.empty .subtitle { max-width: 280px; }

/* Профиль */
.profile-head { display: flex; align-items: center; gap: 14px; }
.profile-head .avatar { width: 64px; height: 64px; font-size: 24px; cursor: default; }
.name { font-family: var(--display); font-weight: 500; font-size: 18px; }
.pill { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; padding: 3px 8px; border-radius: 8px; background: var(--card-2); color: var(--accent); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ref-row { display: flex; gap: 8px; align-items: center; }
.ref-link {
  flex: 1; min-width: 0; height: 44px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line);
  display: flex; align-items: center; padding: 0 12px; font-size: 13px; color: #D6D9CF;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.icon-btn {
  width: 44px; height: 44px; border-radius: 12px; cursor: pointer; flex-shrink: 0;
  background: var(--card-2); border: 1px solid #3A4420; color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.stat-row { display: flex; gap: 10px; }
.stat { flex: 1; background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.stat b { display: block; font-family: var(--display); font-size: 18px; font-weight: 500; }
.stat span { font-size: 12px; color: var(--muted); }
.status { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.status-pending { background: #2C2614; color: var(--amber); }
.status-approved { background: #1C2012; color: var(--accent); }
.status-rejected, .status-hidden { background: #2A1714; color: var(--coral); }

/* Форма */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; }
.step b { font-family: var(--display); font-size: 14px; color: var(--accent); }
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; color: #C9CCC2; }
.field input, .field select, .field textarea {
  min-height: 48px; border-radius: 12px; background: var(--card); border: 1px solid var(--line);
  color: var(--text); padding: 0 14px; font-size: 16px; outline: none; font-weight: 500;
}
.field textarea { padding: 12px 14px; resize: vertical; min-height: 96px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #8E9189 50%), linear-gradient(135deg, #8E9189 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); font-weight: 400; }
.field .err { color: var(--danger); font-weight: 600; font-size: 12px; }
.field[data-invalid] input, .field[data-invalid] select, .field[data-invalid] textarea { border-color: var(--danger); }
.form-note { font-size: 12px; color: var(--muted); text-align: center; }

.done { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 40px 12px; }
.done-mark { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; }

.back {
  align-self: flex-start; display: flex; align-items: center; gap: 6px; min-height: 44px;
  background: none; border: 0; color: var(--text); font-size: 14px; font-weight: 600; cursor: pointer; padding: 0;
}

/* Нижнее меню */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: flex; justify-content: space-around;
  padding: 8px 4px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--bar); border-top: 1px solid var(--line-soft);
}
.tabbar[hidden] { display: none; }
.tab {
  flex: 1; max-width: 96px; min-height: 48px; background: none; border: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; color: var(--dim);
}
.tab[aria-current="page"] { color: var(--accent); font-weight: 700; }

/* Шторка */
.backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 20; display: flex; align-items: flex-end; justify-content: center; }
.sheet {
  width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto;
  background: #141513; border-top-left-radius: 24px; border-top-right-radius: 24px;
  padding: 10px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 16px;
}
.sheet > * { flex-shrink: 0; }
.sheet-grip { width: 40px; height: 4px; border-radius: 2px; background: #3A3C3E; align-self: center; }
.sheet p { white-space: pre-line; color: #D6D9CF; }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 16px); transform: translateX(-50%) translateY(20px);
  background: var(--text); color: var(--bg); font-weight: 700; font-size: 14px;
  padding: 12px 18px; border-radius: 14px; opacity: 0; pointer-events: none; transition: 0.2s; z-index: 30;
  max-width: calc(100% - 40px); text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.skeleton { background: var(--card); border-radius: 18px; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.5; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Рефералка: прогресс до бонусной прокрутки ---------- */
.ref-bar { display: block; height: 6px; border-radius: 99px; background: var(--card-2); overflow: hidden; }
.ref-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint), var(--accent)); box-shadow: 0 0 12px rgba(198,244,50,.5); transition: width .6s cubic-bezier(.2,.8,.2,1); min-width: 6px; }
.ref-nudge {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; margin-top: 10px;
  border-radius: 18px; border: 1px solid rgba(169,155,255,.35); color: var(--text); font: inherit; cursor: pointer;
  background: radial-gradient(120% 140% at 0% 0%, rgba(169,155,255,.18), transparent 60%), var(--card);
}
.ref-nudge:active { transform: scale(.98); }
.ref-nudge-icon { font-size: 26px; animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-14deg); } 85% { transform: rotate(12deg); } }

/* ---------- Знакомство при первом запуске ---------- */
.onb {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: 22px; padding: 24px 20px calc(28px + env(safe-area-inset-bottom, 0px)); text-align: center;
  background: radial-gradient(90% 60% at 50% 30%, rgba(198,244,50,.10), transparent 70%), var(--bg);
  animation: onb-in .35s ease both;
}
.onb.out { animation: onb-out .3s ease both; }
@keyframes onb-in { from { opacity: 0; } }
@keyframes onb-out { to { opacity: 0; transform: scale(1.03); } }
.onb-skip { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: 16px; background: none; border: 0; color: var(--muted); font: 600 14px var(--body); padding: 8px; cursor: pointer; }
.onb-art { position: relative; width: 220px; height: 220px; margin: auto 0 8px; display: grid; place-items: center; }
.onb-art::before { content: ''; position: absolute; inset: 30px; border-radius: 50%; background: var(--tint); opacity: .16; filter: blur(30px); animation: onb-pulse 3s ease-in-out infinite; }
.onb-orbit { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--tint) 55%, transparent); animation: onb-spin 18s linear infinite; }
.onb-orbit::after { content: ''; position: absolute; top: 18px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--tint); box-shadow: 0 0 16px var(--tint); }
.onb-emoji { position: relative; font-size: 84px; animation: onb-pop .5s cubic-bezier(.2,1.4,.4,1) both, onb-float 4s ease-in-out .5s infinite; }
.onb-copy { display: flex; flex-direction: column; gap: 10px; max-width: 340px; animation: onb-rise .45s ease both; }
.onb-dots { display: flex; gap: 6px; }
.onb-dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--line); transition: all .3s; }
.onb-dots i.on { width: 26px; background: var(--accent); }
.onb .btn { width: 100%; max-width: 420px; }
@keyframes onb-spin { to { transform: rotate(360deg); } }
@keyframes onb-pulse { 50% { opacity: .28; transform: scale(1.08); } }
@keyframes onb-pop { from { transform: scale(.4); opacity: 0; } }
@keyframes onb-float { 50% { transform: translateY(-8px); } }
@keyframes onb-rise { from { transform: translateY(14px); opacity: 0; } }

/* ---------- Админка ---------- */
.admin-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.seg { display: flex; gap: 2px; padding: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg-btn { flex: 1 1 auto; position: relative; border: 0; background: none; padding: 9px 3px; border-radius: 10px; font-weight: 700; font-size: 11.5px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.seg-btn[aria-selected="true"] { background: var(--card-2); color: var(--text); }
.seg-badge { display: inline-grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; margin-left: 4px; border-radius: 99px; background: var(--coral); color: #1a0d0b; font: 700 11px var(--body); font-style: normal; }
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpi { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); min-width: 0; }
.kpi-label { font-size: 12px; color: var(--muted); font-weight: 600; }
.kpi-value { font-family: var(--display); font-size: 24px; font-weight: 500; line-height: 1.1; }
.kpi-value small { font-size: 12px; color: var(--muted); }
.kpi-sub { font-size: 11px; color: var(--dim); line-height: 1.35; }
.bars { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; height: 110px; align-items: end; }
.bar { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; }
.bar i { display: block; width: 100%; min-height: 3px; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 45%, transparent)); transition: height .5s cubic-bezier(.2,.8,.2,1); }
.bar em { order: -1; text-align: center; font-style: normal; font-size: 9px; line-height: 1; min-height: 9px; color: var(--muted); }
.bar i { max-height: calc(100% - 11px); }
.bars-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--dim); }
.fn-row { display: flex; flex-direction: column; gap: 6px; }
.fn-top { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.fn-top b { font-weight: 700; white-space: nowrap; }
.fn-bar { display: block; height: 8px; border-radius: 99px; background: var(--card-2); overflow: hidden; }
.fn-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint), var(--accent)); }
.lead-row { gap: 8px; }
.lead-row.is-done .row-title { opacity: .55; }
.lead-row .chip { flex: none; padding: 6px 10px; font-size: 12px; }
.bubble { align-self: flex-end; max-width: 88%; display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border-radius: 16px 16px 4px 16px; background: #2B5278; color: #fff; font-size: 14px; line-height: 1.4; white-space: pre-wrap; word-break: break-word; }
.bubble-btn { text-align: center; padding: 8px; border-radius: 10px; background: rgba(255,255,255,.12); font-weight: 600; font-size: 13px; }
.btn-warn { background: var(--amber) !important; color: #1a1205 !important; }
.admin-entry { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border-radius: 18px; border: 1px solid rgba(198,244,50,.35); background: radial-gradient(120% 140% at 0% 0%, rgba(198,244,50,.14), transparent 60%), var(--card); color: var(--text); font: inherit; cursor: pointer; }
.admin-entry-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); }
.id-chip { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; border: 1px solid var(--line); background: none; color: var(--muted); border-radius: 99px; padding: 3px 10px; font-size: 12px; font-weight: 600; cursor: pointer; }

[hidden] { display: none !important; }

/* =====================================================================
   Mint Reserve — «монетный двор»: банкнотная гравировка, дидон, шампань.
   Слой поверх базовых стилей: меняет материал, не структуру.
   ===================================================================== */
:root {
  --bg: #060E0B;
  --bar: rgba(7, 16, 12, 0.86);
  --card: #0B1712;
  --card-2: #11211A;
  --line: rgba(205, 235, 216, 0.09);
  --line-soft: rgba(205, 235, 216, 0.06);
  --text: #EEF2EA;
  --muted: #93A39A;
  --dim: #6E7F76;
  --gold: #E2CB93;
  --gold-2: #B89A5E;
  --display: 'Prata', 'Times New Roman', serif;
  --body: 'Onest', system-ui, sans-serif;
  --engrave: url('/img/waves.svg');
  --rosette: url('/img/rosette.svg');
  --metal: linear-gradient(135deg, #F3E4BA 0%, #C9AC6E 38%, #F1DFAE 62%, #A98C55 100%);
  --vault: linear-gradient(160deg, #0F1F18 0%, #091410 100%);
  --edge: inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 0 0 1px var(--line);
}

html, body { background: var(--bg); font-feature-settings: 'tnum' 0; }
body {
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(120, 190, 150, 0.10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: rgba(226, 203, 147, .3); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Типографика: дидон для заголовков и сумм, гротеск для интерфейса */
.title { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.12; letter-spacing: -0.01em; }
.section-title { font-family: var(--display); font-weight: 400; font-size: 21px; letter-spacing: -0.005em; }
.subtitle { color: var(--muted); }
.link-btn { color: var(--gold); font-weight: 500; }
.screen { gap: 24px; }

/* Шапка: гравированный логотип и монета-аватар */
.brand {
  font-family: var(--display); font-weight: 400; font-size: 30px; letter-spacing: 0.2em; line-height: 1;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.topbar .subtitle { margin-top: 6px; letter-spacing: 0.01em; }
.avatar {
  position: relative; width: 46px; height: 46px; color: #1C1607; font-family: var(--display); font-weight: 400; font-size: 19px;
  background: radial-gradient(circle at 35% 30%, #FFF4D2 0%, #E2CB93 35%, #B3934F 75%, #8C7038 100%);
  box-shadow: 0 6px 18px rgba(226, 203, 147, .18), inset 0 -2px 4px rgba(60, 40, 0, .35);
}
.avatar::before {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(226, 203, 147, .55) 0 2deg, transparent 2deg 6deg);
  -webkit-mask: radial-gradient(circle, transparent 23px, #000 23.5px); mask: radial-gradient(circle, transparent 23px, #000 23.5px);
}
.icon-btn.round { background: transparent; box-shadow: var(--edge); border: 0; color: var(--text); }

/* Кнопки */
.btn { font-weight: 600; letter-spacing: 0.005em; border-radius: 15px; }
.btn-accent, .promo-cta {
  background: linear-gradient(180deg, #D4FA5C 0%, #BDEB2A 100%); color: #0B1503;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 24px -8px rgba(198, 244, 50, .45);
}
.btn-ghost { border: 0; box-shadow: var(--edge); background: rgba(255, 255, 255, .015); }
.btn-dark { background: #0A130F; box-shadow: var(--edge); }

/* Карусель: банкнота с рамкой и розеткой */
.promo { gap: 14px; }
.promo-slide::before {
  inset: 0 20px; border-radius: 26px; border: 0;
  background:
    var(--rosette) no-repeat right -70px center / 300px 300px,
    var(--vault);
  box-shadow: var(--edge), 0 20px 50px -24px rgba(0, 0, 0, .8);
}
.promo-slide::after {
  content: ''; position: absolute; inset: 6px 26px; border-radius: 21px; pointer-events: none; z-index: -1;
  border: 1px solid rgba(226, 203, 147, .14);
}
.promo-slide.promo-vpn::before, .promo-slide.promo-card::before, .promo-slide.promo-skins::before {
  background: var(--rosette) no-repeat right -70px center / 300px 300px, var(--vault);
}
.promo-slide::before { opacity: 1; }
.promo-slide { --rosette-op: .16; }
.promo-slide > .product-art::before { background: radial-gradient(circle at 60% 45%, rgba(226, 203, 147, .10), transparent 65%); }
.promo-kicker { display: none; }
.promo-title { margin-top: 24px; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.08; letter-spacing: -0.01em; }
.promo-text { margin-top: 10px; color: #B4C2B9; font-size: 13.5px; }
.promo-cta { margin: 18px 0 22px 18px; min-height: 44px; border-radius: 14px; font-weight: 600; font-size: 14px; padding: 0 20px; }
.promo-dot span { height: 2px; background: rgba(226, 203, 147, .15); }
.promo-dot { height: 2px; }
.promo-dot.passed span, .promo-dot.active span::after { background: var(--gold); }

/* Быстрые действия: монеты-иконки */
.quick { gap: 8px; }
.quick-tile {
  flex: 0 0 82px; padding: 14px 4px 12px; gap: 10px; border: 0; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0)); box-shadow: var(--edge);
  font-weight: 500; font-size: 12px; color: #D9E1DB;
}
.quick-ico {
  position: relative; width: 46px; height: 46px; border-radius: 50%; color: var(--gold);
  background: radial-gradient(circle at 50% 30%, #18291F, #0B1611);
  box-shadow: inset 0 0 0 1px rgba(226, 203, 147, .32), inset 0 0 0 4px #0B1611, inset 0 0 0 5px rgba(226, 203, 147, .12);
}

/* Колесо на главной */
.wheel-card {
  border: 0; border-radius: 22px; padding: 16px;
  background: radial-gradient(120% 140% at 0% 50%, rgba(226, 203, 147, .12), transparent 55%), var(--vault);
  box-shadow: var(--edge);
}
.wheel-card-title { font-family: var(--display); font-weight: 400; font-size: 19px; }
.badge-new { background: transparent; color: var(--gold); box-shadow: inset 0 0 0 1px rgba(226, 203, 147, .5); font-weight: 600; letter-spacing: .04em; }
.wheel-card-cta { color: var(--gold); font-weight: 600; }
.wheel-mini {
  width: 52px; height: 52px; border: 0;
  background: conic-gradient(#C6F432 0 45deg, #0E1A14 0 90deg, #E2CB93 0 135deg, #0E1A14 0 180deg, #7CE0C3 0 225deg, #0E1A14 0 270deg, #E2CB93 0 315deg, #0E1A14 0);
  box-shadow: 0 0 0 2px #0B1611, 0 0 0 3px rgba(226, 203, 147, .6);
}
.wheel-mini span { inset: 17px; background: var(--metal); border: 0; }

/* Карточки продуктов: гравировка + рамка банкноты */
.product {
  border: 0; border-radius: 26px; padding: 20px 18px 18px;
  background:
    linear-gradient(180deg, rgba(6, 14, 11, 0) 40%, rgba(6, 14, 11, .7) 100%),
    var(--engrave) no-repeat center 30% / 140% 70%,
    var(--vault);
  box-shadow: var(--edge), 0 24px 50px -28px rgba(0, 0, 0, .9);
}
.product::after {
  content: ''; position: absolute; inset: 6px; border-radius: 21px; pointer-events: none; z-index: 0;
  border: 1px solid rgba(226, 203, 147, .13);
}
.product { --engrave-opacity: .1; }
.product-badge {
  align-self: flex-start; background: rgba(226, 203, 147, .08); color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(226, 203, 147, .35); font-weight: 600; letter-spacing: .01em; border-radius: 99px; padding: 5px 11px;
}
.product-name { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.1; letter-spacing: -0.01em; margin-top: 10px; }
.product-desc { color: #B4C2B9; }
.product-bottom { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(226, 203, 147, .12); }
.product-price {
  font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: -0.01em;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.product-cta { color: var(--text); font-weight: 600; gap: 8px; }
.product-cta svg { color: var(--accent); }
.product-shine { animation-iteration-count: 1; animation-duration: 2.6s; animation-delay: .5s; background: linear-gradient(100deg, transparent, rgba(255, 244, 210, .09), transparent); }

/* Списки, карточки, поля */
.list, .card { background: var(--vault); border: 0; box-shadow: var(--edge); border-radius: 22px; }
.row { border-bottom-color: var(--line-soft); }
.tile { background: var(--vault); border: 0; box-shadow: var(--edge); }
.stat { background: rgba(0, 0, 0, .25); box-shadow: inset 0 0 0 1px var(--line-soft); }
.stat b, .kpi-value { font-family: var(--display); font-weight: 400; }
.cta-dashed { border-color: rgba(226, 203, 147, .25) !important; }
.field input, .field select, .field textarea { background: rgba(0, 0, 0, .25); border-color: var(--line); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }

/* Нижняя панель: стекло и гравированная кромка */
.tabbar {
  background: var(--bar); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border-top: 0; box-shadow: inset 0 1px 0 rgba(226, 203, 147, .14);
}
.tab { color: var(--dim); font-weight: 500; position: relative; }
.tab[aria-current="page"] { color: var(--text); font-weight: 600; }
.tab[aria-current="page"] svg { color: var(--accent); filter: drop-shadow(0 0 10px rgba(198, 244, 50, .45)); }

/* Шторка */
.backdrop { background: rgba(2, 6, 4, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sheet { background: linear-gradient(180deg, #0F1E17 0%, #08120E 100%); box-shadow: inset 0 1px 0 rgba(226, 203, 147, .2); }
.sheet-grip { background: rgba(226, 203, 147, .35); }
.sheet .title { font-size: 26px !important; }

/* Профиль */
.profile-head .avatar { width: 64px; height: 64px; font-size: 26px; }
.profile-head .avatar::before { -webkit-mask: radial-gradient(circle, transparent 32px, #000 32.5px); mask: radial-gradient(circle, transparent 32px, #000 32.5px); }
.profile-head .name { font-family: var(--display); font-weight: 400; font-size: 24px; }
.pill { background: rgba(226, 203, 147, .08); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(226, 203, 147, .3); }

/* Единственный «вау»-момент: блик по банкноте при открытии главной */
.promo-slide:first-child .promo-title { animation: reveal .9s cubic-bezier(.2, .8, .2, 1) both .1s; }
.promo-slide::before { animation: none; }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }
@media (prefers-reduced-motion: reduce) {
  .promo-slide:first-child .promo-title { animation: none; }
}

/* Иллюстрации в палитре монетного двора: металл, стекло, одна капля лайма */
.promo-slide > .promo-kicker { display: none; }
.art-exchange .coin, .art-cardx .cur, .art-bonus .fl-pct, .art-bonus .fl-gift, .art-bonus .fl-coin {
  font-family: var(--display); font-weight: 400; color: #1C1607;
  box-shadow: inset 0 -3px 6px rgba(60, 40, 0, .35), inset 0 2px 2px rgba(255, 255, 255, .5), 0 10px 22px -8px rgba(0, 0, 0, .7);
}
.art-exchange .coin-usdt, .art-cardx .c1, .art-bonus .fl-gift { background: radial-gradient(circle at 35% 30%, #F4FFF9, #9FE6CB 45%, #4F8F76 100%); color: #0B2018; }
.art-exchange .coin-rub, .art-cardx .c3, .art-bonus .fl-pct { background: radial-gradient(circle at 35% 30%, #FFF4D2, #E2CB93 40%, #9C7F45 100%); }
.art-bonus .fl-coin { background: radial-gradient(circle at 35% 30%, #F2FFC0, #C6F432 45%, #7FA20F 100%); color: #142004; }
.art-cardx .c2 { background: rgba(10, 22, 17, .85); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(226, 203, 147, .45); }
.fl-tag, .fl-tag.rate, .fl-tag.on, .art-bonus .fl-tag, .art-bonus .fl-bonus {
  background: rgba(8, 18, 14, .82); color: var(--gold); font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(226, 203, 147, .35), 0 8px 20px -10px rgba(0, 0, 0, .8);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.art-bonus .fl-tag b { color: var(--text); }
.art-vpn .on { background: rgba(8, 18, 14, .82) !important; color: var(--accent); }
.art-vpn .pulse { border-color: rgba(226, 203, 147, .6); border-width: 1px; }
.art-bonus .fl-card { filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .55)); }
.art-skins .fl-rifle, .art-skins .fl-sniper, .art-skins .fl-knife { filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .6)); }
.art-skins .fl-spark { background: var(--gold); }
.art-cardx .plastic { filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .6)); }
.art-vpn .vpn-shield { filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .6)); }

/* Колесо: металл вместо пластика */
.wheel-glow { background: radial-gradient(circle, rgba(226, 203, 147, .14), transparent 65%); }
.wheel-pointer { border-top-color: var(--gold); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .6)); }
.wheel-hub {
  border: 0; color: #1C1607; font-weight: 400; font-size: 26px;
  background: radial-gradient(circle at 35% 30%, #FFF4D2 0%, #E2CB93 40%, #9C7F45 100%);
  box-shadow: 0 0 0 4px #060E0B, 0 0 0 5px rgba(226, 203, 147, .5), 0 10px 24px rgba(0, 0, 0, .6);
}
.wheel-result .result-num { font-family: var(--display); font-weight: 400; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.avatar::before { inset: -3px; opacity: .55; }
.wheel-card-title { white-space: nowrap; font-size: 18px; }
.wheel-card .subtitle { font-size: 12.5px; }
/* приватка: элементы не налезают на крупный заголовок */
.product.has-art .product-name, .product.has-art .product-desc { max-width: 60%; }
.art-bonus .fl-coin { top: 30px; right: 142px; }
.art-bonus .fl-tag { top: 154px; right: 14px; }
.art-bonus .fl-gift { top: 108px; right: 14px; }
.product.has-art .product-name { max-width: 66%; font-size: 22.5px; hyphens: none; }
.product.has-art .product-name { max-width: 210px; }
.product.has-art .product-desc { max-width: min(60%, 240px); }
/* CS2: плашка доходности, как «+50 000 ₽» у приватки */
.art-skins .fl-yield {
  top: 8px; right: 6px; padding: 5px 10px; gap: 5px; border-radius: 10px; white-space: nowrap; z-index: 2;
  background: rgba(8, 18, 14, .85); color: var(--accent); font-weight: 700; font-size: 12px;
  box-shadow: inset 0 0 0 1px rgba(198, 244, 50, .4), 0 8px 20px -10px rgba(0, 0, 0, .8);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  --r: 4deg; animation: floatA 4.6s ease-in-out infinite .8s;
}
.art-skins .fl-yield i { font-style: normal; font-weight: 500; color: var(--gold); }
.art-skins .fl-rifle { top: 40px; }
.art-skins .fl-sniper { top: 92px; }
.art-skins .fl-knife { top: 136px; }
.art-skins .s1 { top: 44px; }
.product:has(.art-skins) .product-name { max-width: 175px; }

/* Баннер обменника: персонаж партнёра Prosto Exchange */
.promo-slide > .product-art.art-prosto { right: 20px; width: 50%; overflow: hidden; border-radius: 0 26px 26px 0; }
.art-prosto::before { display: none; }
.prosto-glow {
  position: absolute; right: -10%; bottom: -20%; width: 120%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 224, 150, .28), transparent 62%);
  animation: prosto-glow 4.5s ease-in-out infinite;
}
.art-prosto .prosto-img {
  right: -8px; bottom: 0; height: 104%; width: auto;
  -webkit-mask-image: radial-gradient(ellipse 62% 68% at 56% 46%, #000 58%, transparent 84%);
  mask-image: radial-gradient(ellipse 62% 68% at 56% 46%, #000 58%, transparent 84%);
  transform-origin: 60% 100%; animation: prosto-bob 3.8s ease-in-out infinite;
}
.art-prosto .prosto-tag { top: auto; bottom: 16px; right: 12px; z-index: 2; --r: -4deg; color: var(--accent); }
.art-prosto .prosto-coin {
  width: 34px; height: 34px; border-radius: 50%; top: 14px; left: 4px; font-size: 16px; z-index: 2;
  background: radial-gradient(circle at 35% 30%, #F4FFF9, #9FE6CB 45%, #4F8F76 100%); color: #0B2018;
  animation: floatA 4.2s ease-in-out infinite .6s;
}
@keyframes prosto-bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-6px) rotate(-1.5deg); } }
@keyframes prosto-glow { 0%, 100% { opacity: .7; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .prosto-img, .prosto-glow { animation: none !important; } }
.promo-slide > .product-art.art-prosto { width: 46%; }
.promo-exchange > :not(.product-art) { max-width: 54%; }
.art-prosto .prosto-img { height: 96%; right: -14px; }
.art-prosto .prosto-tag {
  padding: 5px 10px; border-radius: 10px; font-size: 11.5px; font-weight: 700; white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(198, 244, 50, .4), 0 8px 20px -10px rgba(0, 0, 0, .8);
}
.promo-exchange > .promo-title { max-width: 46%; }
.promo-exchange > .promo-title { max-width: 205px; }
/* Баннер VPN: персонаж партнёра ProstoVPN */
.art-prostovpn .prosto-glow { background: radial-gradient(circle, rgba(255, 170, 70, .26), transparent 62%); }
.art-prostovpn .prosto-img { height: 100%; right: -6px; animation-duration: 4.4s; }
.promo-vpn > .promo-title { max-width: 205px; }
.promo-vpn > :not(.product-art) { max-width: 54%; }
.art-prostovpn .prosto-img {
  -webkit-mask-image: radial-gradient(ellipse 52% 58% at 54% 50%, #000 52%, transparent 78%);
  mask-image: radial-gradient(ellipse 52% 58% at 54% 50%, #000 52%, transparent 78%);
}
/* Персонажи вырезаны из фона: никаких масок по краям, только мягкий низ */
.art-prosto .prosto-img, .art-prostovpn .prosto-img {
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .55));
}
.art-prosto .prosto-img { height: 100%; right: -10px; bottom: -4px; }

/* ---------- Бесплатные схемы: «купоны» с перфорацией ---------- */
.schemes-strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -20px; padding: 2px 20px 4px; }
.schemes-strip::-webkit-scrollbar { display: none; }
.scheme {
  position: relative; flex: 0 0 76%; scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px;
  padding: 16px 16px 14px; border: 0; border-radius: 22px; text-align: left; cursor: pointer; color: var(--text);
  background: radial-gradient(120% 90% at 100% 0%, rgba(226, 203, 147, .10), transparent 55%), var(--vault);
  box-shadow: var(--edge);
}
.scheme::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 40px; height: 0;
  border-top: 1px dashed rgba(226, 203, 147, .18);
}
.scheme:active { transform: scale(.985); }
.scheme-wide { flex: none; width: 100%; }
.scheme-top { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.scheme-free { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--accent); color: #0B1503; }
.scheme-tag { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 99px; color: var(--gold); box-shadow: inset 0 0 0 1px rgba(226, 203, 147, .35); }
.scheme-title { font-family: var(--display); font-size: 20px; line-height: 1.15; letter-spacing: -0.005em; margin-top: 2px; }
.scheme-summary { font-size: 13px; color: #B4C2B9; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 18px; }
.scheme-meta { font-size: 12px; color: var(--dim); margin-top: auto; padding-top: 10px; }
.scheme:not(:has(.scheme-summary)) .scheme-title { margin-bottom: 18px; }

.scheme-page { display: flex; flex-direction: column; }
.scheme-lead { font-size: 15px; color: #C9D3CC; line-height: 1.5; margin-top: 10px; }
.scheme-page > .scheme-meta { padding-top: 8px; margin: 0; }
.scheme-body {
  margin-top: 18px; padding: 18px; border-radius: 22px; background: var(--vault); box-shadow: var(--edge);
  font-size: 15px; line-height: 1.6; color: #DCE4DE; display: flex; flex-direction: column; gap: 12px; max-width: 70ch;
}
.scheme-body p { white-space: pre-line; }
.scheme-body ul, .scheme-body ol { margin: 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; counter-reset: step; }
.scheme-body li { position: relative; padding-left: 34px; }
.scheme-body ul li::before { content: ''; position: absolute; left: 10px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.scheme-body ol li { counter-increment: step; }
.scheme-body ol li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--display); font-size: 13px; color: #1C1607; background: var(--metal);
}
.scheme-upsell {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px; border-radius: 22px; border: 0; cursor: pointer; color: var(--text);
  background: radial-gradient(120% 140% at 0% 0%, rgba(198, 244, 50, .12), transparent 60%), var(--vault);
  box-shadow: inset 0 0 0 1px rgba(198, 244, 50, .3);
}
.scheme-upsell svg { color: var(--accent); }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--text); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: #C6F432; }

/* админка: шесть вкладок в две строки */
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.seg-btn { padding: 9px 4px; font-size: 12.5px; }

/* ---------- Живые детали ---------- */
.scheme-new { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 5px; }
.scheme-new::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(198, 244, 50, .8); }
.scheme-saved { display: inline-grid; place-items: center; color: var(--gold); }
.count-dot { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; vertical-align: 3px; border-radius: 99px; background: var(--accent); color: #0B1503; font: 700 11px var(--body); }
.quick-badge { position: absolute; top: -3px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; display: grid; place-items: center; font: 700 10.5px var(--body); font-style: normal; background: var(--accent); color: #0B1503; box-shadow: 0 0 0 2px var(--bg); }
.coupon-left { font-size: 12px; font-weight: 600; color: var(--amber); }
[data-save-scheme][aria-pressed="true"] { color: var(--gold); box-shadow: inset 0 0 0 1px rgba(226, 203, 147, .45); }

/* Переходы между экранами: короткий перелив, а не прыжок */
::view-transition-old(root) { animation: vt-out .16s ease both; }
::view-transition-new(root) { animation: vt-in .22s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(6px); } }
.tabbar { view-transition-name: tabbar; }

/* ---------- Страница продукта в шторке ---------- */
.sheet-hero {
  position: relative; height: 168px; margin: -4px 0 0; border-radius: 22px; overflow: hidden;
  background: var(--rosette) no-repeat right -60px center / 260px 260px, var(--vault); box-shadow: var(--edge);
}
.sheet-hero::after { content: ''; position: absolute; inset: 6px; border-radius: 17px; border: 1px solid rgba(226, 203, 147, .13); pointer-events: none; }
.sheet-hero > .product-art { position: absolute; inset: 0 0 0 auto; width: 70%; }
.sheet-lead { font-size: 15px; line-height: 1.55; color: #C9D3CC; white-space: pre-line; }
.sheet-h { font-family: var(--display); font-weight: 400; font-size: 19px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.checks svg { flex: none; margin-top: 2px; color: var(--accent); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: st; display: flex; flex-direction: column; gap: 0; }
.steps li { position: relative; counter-increment: st; padding: 0 0 16px 40px; display: flex; flex-direction: column; gap: 2px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(st); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--display); font-size: 14px; color: #1C1607; background: var(--metal);
}
.steps li:not(:last-child)::after { content: ''; position: absolute; left: 12.5px; top: 30px; bottom: 4px; width: 1px; background: rgba(226, 203, 147, .25); }
.steps b { font-size: 14.5px; font-weight: 600; }
.steps span { font-size: 13px; color: var(--muted); }
.price-card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 20px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(226, 203, 147, .12), transparent 55%), var(--vault); box-shadow: var(--edge);
}
.price-card .product-price { font-size: 30px; }
.sheet-hero { height: 196px; background: var(--rosette) no-repeat center / 300px 300px, var(--vault); }
.sheet-hero > .product-art { inset: 4px auto 0 50%; width: 250px; transform: translateX(-50%); }

/* ---------- Гарант Mint ---------- */
.seg { grid-template-columns: repeat(4, 1fr); }
.g-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 99px;
  font-size: 12px; font-weight: 600; color: var(--accent);
  background: rgba(198, 244, 50, .08); box-shadow: inset 0 0 0 1px rgba(198, 244, 50, .35);
}
.g-seal {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: #1C1607; margin-bottom: 4px;
  background: radial-gradient(circle at 35% 30%, #FFF4D2 0%, #E2CB93 40%, #9C7F45 100%);
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px rgba(226, 203, 147, .5), 0 12px 28px rgba(0, 0, 0, .5);
}
.listing {
  position: relative; display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 18px; border: 0; border-radius: 24px;
  text-align: left; color: var(--text); cursor: pointer;
  background: radial-gradient(120% 90% at 100% 0%, rgba(198, 244, 50, .07), transparent 55%), var(--vault); box-shadow: var(--edge);
}
.listing::after { content: ''; position: absolute; inset: 6px; border-radius: 19px; border: 1px solid rgba(226, 203, 147, .1); pointer-events: none; }
.listing:active { transform: scale(.99); }
.listing-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.listing-name { font-family: var(--display); font-size: 21px; line-height: 1.15; }
.listing-desc { font-size: 13.5px; color: #B4C2B9; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.listing-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; padding-top: 12px; border-top: 1px solid rgba(226, 203, 147, .12); }
.listing .product-price { font-size: 22px; }
.deal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.deal-head b { font-size: 15px; line-height: 1.35; }
.field .check { font-weight: 500; font-size: 13.5px; color: var(--text); flex-wrap: wrap; }
.field .check .link-btn { font-size: 13.5px; }
.stat-row > .field { min-width: 0; }
.stat-row > .field input { width: 100%; min-width: 0; }
.stat-row > .btn { flex: 1; }
.price-card .product-price { white-space: nowrap; }

/* ---------- Форма продавца: цена с валютой, подсказки ---------- */
.price-input { position: relative; display: flex; align-items: center; }
.price-input input { flex: 1; padding-right: 128px; }
.cur-switch { position: absolute; right: 6px; display: flex; gap: 2px; padding: 3px; border-radius: 11px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px var(--line); }
.cur-switch label { cursor: pointer; }
.cur-switch input { position: absolute; opacity: 0; pointer-events: none; }
.cur-switch span { display: block; padding: 7px 12px; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.cur-switch input:checked + span { background: var(--accent); color: #0B1503; }
.cur-switch input:focus-visible + span { outline: 2px solid var(--gold); }
.field-hint { font-size: 11.5px; font-weight: 500; color: var(--dim); }
.pay-field.addr b { font-size: 13px; word-break: break-all; line-height: 1.35; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.pay-field.addr { align-items: flex-start; }
.notice.warn { background: rgba(255, 181, 71, .07); box-shadow: inset 0 0 0 1px rgba(255, 181, 71, .3); }
.notice.warn svg { color: var(--amber); }
.listing-top { flex-wrap: wrap; justify-content: flex-start; }
.price-input input { width: 100%; min-width: 0; box-sizing: border-box; }
.price-input { width: 100%; }

/* ===================================================================
   Сцены на карточках v2: мягкие 3D-движения, блики, золотая пыль
   =================================================================== */
.m-defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.product-art { --ease: cubic-bezier(.45, .05, .55, .95); }
.product-art .fl svg { width: 100%; height: auto; display: block; overflow: visible; }

/* Появление при первом показе и пауза вне экрана */
html.m-js:not(.m-noio) .product-art:not(.m-seen) { opacity: 0; }
.product-art.m-seen { animation: m-in 1.1s cubic-bezier(.2, .8, .2, 1) both; }
html.m-js:not(.m-noio) .product-art:not(.m-live) *,
html.m-js:not(.m-noio) .product-art:not(.m-live)::before { animation-play-state: paused !important; }
@keyframes m-in { from { opacity: 0; transform: translate3d(14px, 0, 0); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.sheet-hero > .product-art.m-seen { animation-name: m-in-c; }
@keyframes m-in-c { from { opacity: 0; filter: blur(6px); } to { opacity: 1; filter: none; } }

/* Дыхание подсветки за сценой */
.m-glow { position: absolute; width: 170px; height: 170px; top: -6px; right: -14px; border-radius: 50%; pointer-events: none; animation: m-breathe 7s var(--ease) infinite; }
.m-glow-lime { background: radial-gradient(closest-side, rgba(198, 244, 50, .2), rgba(198, 244, 50, .05) 55%, transparent); }
.m-glow-mint { background: radial-gradient(closest-side, rgba(124, 224, 195, .2), rgba(124, 224, 195, .05) 55%, transparent); }
.m-glow-gold { background: radial-gradient(closest-side, rgba(226, 203, 147, .22), rgba(226, 203, 147, .05) 55%, transparent); }
.m-glow-violet { background: radial-gradient(closest-side, rgba(169, 155, 255, .22), rgba(169, 155, 255, .05) 55%, transparent); }
@keyframes m-breathe { 0%, 100% { opacity: .65; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.06); } }
.m-scene::before { display: none; }

/* Золотая пыль поднимается и тает */
.m-dust { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #F6E8C0; box-shadow: 0 0 6px 1px rgba(246, 232, 192, .55); opacity: 0; pointer-events: none; animation: m-dust var(--dur, 5s) ease-out var(--delay, 0s) infinite; }
@keyframes m-dust { 0% { opacity: 0; transform: translate3d(0, 0, 0) scale(.5); } 18% { opacity: .9; } 100% { opacity: 0; transform: translate3d(var(--dx, 4px), -64px, 0) scale(1); } }
.m-spark { position: absolute; width: 9px; height: 9px; pointer-events: none; animation: m-twinkle 3.2s var(--ease) var(--delay, 0s) infinite; background: radial-gradient(circle, #FFF8E4 0 1.2px, transparent 1.6px), linear-gradient(#FFF8E4, #FFF8E4) center / 1.2px 100% no-repeat, linear-gradient(#FFF8E4, #FFF8E4) center / 100% 1.2px no-repeat; filter: drop-shadow(0 0 4px rgba(255, 244, 210, .9)); }
@keyframes m-twinkle { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }

/* Движения: медленные, с плавным замедлением, с глубиной */
.m-float { animation: m-float var(--dur, 7s) var(--ease) var(--delay, 0s) infinite; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .45)); }
@keyframes m-float { 0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--r, 0deg)); } 50% { transform: translate3d(0, var(--fy, -8px), 0) rotate(calc(var(--r, 0deg) + var(--fr, 2deg))); } }
.m-drift { animation: m-drift var(--dur, 8s) var(--ease) var(--delay, 0s) infinite; }
@keyframes m-drift { 0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--r, 0deg)); } 33% { transform: translate3d(-4px, 5px, 0) rotate(calc(var(--r, 0deg) - 2deg)); } 66% { transform: translate3d(3px, -3px, 0) rotate(calc(var(--r, 0deg) + 1.5deg)); } }
.m-tilt { animation: m-tilt var(--dur, 8s) var(--ease) var(--delay, 0s) infinite; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .5)); }
@keyframes m-tilt {
  0%, 100% { transform: perspective(420px) translate3d(0, 0, 0) rotate(var(--r, 0deg)) rotateY(-16deg) rotateX(6deg); }
  50% { transform: perspective(420px) translate3d(0, -7px, 0) rotate(calc(var(--r, 0deg) + 2deg)) rotateY(16deg) rotateX(-4deg); }
}
.m-pop { animation: m-pop var(--dur, 4.6s) var(--ease) var(--delay, 0s) infinite; }
@keyframes m-pop { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(0, -5px, 0) scale(1.08); } }
.m-roll { animation: m-roll var(--dur, 7s) var(--ease) var(--delay, 0s) infinite; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .5)); }
@keyframes m-roll { 0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--r, 0deg)); } 45% { transform: translate3d(-3px, -9px, 0) rotate(calc(var(--r, 0deg) + 24deg)); } 60% { transform: translate3d(-3px, -9px, 0) rotate(calc(var(--r, 0deg) + 24deg)); } }
.m-swing { transform-origin: 50% 0; animation: m-swing var(--dur, 4.8s) var(--ease) var(--delay, 0s) infinite; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .45)); }
@keyframes m-swing { 0%, 100% { transform: rotate(var(--r, 0deg)); } 50% { transform: rotate(calc(var(--r, 0deg) + 18deg)); } }
.m-rise { opacity: 0; animation: m-rise 3.6s ease-out var(--delay, 0s) infinite; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .4)); }
@keyframes m-rise { 0% { opacity: 0; transform: translate3d(0, 10px, 0) scale(.6); } 20% { opacity: 1; transform: translate3d(-3px, 0, 0) scale(1); } 100% { opacity: 0; transform: translate3d(6px, -70px, 0) scale(.85) rotate(12deg); } }
.m-spin3d { display: block; animation: m-coinspin var(--dur, 7s) var(--ease) infinite; transform-style: preserve-3d; }
@keyframes m-coinspin { 0% { transform: perspective(300px) rotateY(0); } 40%, 100% { transform: perspective(300px) rotateY(360deg); } }
.m-spin { animation: m-rot 14s linear infinite; transform-origin: 50% 50%; }
@keyframes m-rot { to { transform: rotate(360deg); } }

/* Блик проходит по карточке / экрану */
.m-sheen { overflow: hidden; border-radius: var(--rad, 10px); }
.m-sheen::after {
  content: ''; position: absolute; top: -20%; bottom: -20%; left: 0; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 250, 230, .55), transparent); mix-blend-mode: soft-light;
  animation: m-glint 6s var(--ease) var(--delay, 0s) infinite;
}
@keyframes m-glint { 0%, 55% { transform: translateX(-130%) skewX(-18deg); } 85%, 100% { transform: translateX(260%) skewX(-18deg); } }

/* Стеклянные плашки и металлические монеты */
.m-chip {
  gap: 5px; padding: 5px 10px; border-radius: 99px; white-space: nowrap; font-size: 11px; font-weight: 500; letter-spacing: .01em;
  color: #E9E4D2; background: rgba(9, 20, 15, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(226, 203, 147, .32), inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 22px -10px rgba(0, 0, 0, .8);
}
.m-chip b { font-weight: 700; }
.m-chip.lime b, .m-chip.lime .m-ico { color: #D4FA5C; }
.m-chip.mint b, .m-chip.mint .m-ico { color: #7CE0C3; }
.m-chip.gold b, .m-chip.gold .m-ico { color: #F1DFAE; }
.m-chip.violet b, .m-chip.violet .m-ico { color: #C4BAFF; }
.m-chip .m-ico { display: inline-flex; width: 12px; height: 12px; }
.m-chip .m-ico svg { width: 12px; height: 12px; }
.m-chip.odd { animation: m-drift 8s var(--ease) var(--delay, 0s) infinite, m-odd 4s var(--ease) infinite; }
.m-chip.odd.b { animation-delay: var(--delay, 0s), 2s; }
@keyframes m-odd { 0%, 100% { box-shadow: inset 0 0 0 1px rgba(226, 203, 147, .32), 0 10px 22px -10px rgba(0, 0, 0, .8); } 25% { box-shadow: inset 0 0 0 1px rgba(212, 250, 92, .85), 0 0 18px -4px rgba(212, 250, 92, .45); } 50% { box-shadow: inset 0 0 0 1px rgba(226, 203, 147, .32), 0 10px 22px -10px rgba(0, 0, 0, .8); } }
.m-chip.odd b { color: #D4FA5C; }
.m-chip.edu { animation: m-in-c .8s ease both, m-drift 8s var(--ease) 1s infinite; }

.m-coin { aspect-ratio: 1; border-radius: 50%; font-family: var(--display); font-size: 15px; line-height: 1; }
.m-coin b { font-weight: 600; position: relative; }
.m-gold { color: #3A2C12; background: radial-gradient(circle at 34% 28%, #FFF6DA 0%, #E2CB93 42%, #9C7F45 100%); }
.m-lime { color: #1A2604; background: radial-gradient(circle at 34% 28%, #F6FFD0 0%, #C6F432 45%, #6E8F12 100%); }
.m-mint { color: #0B2A20; background: radial-gradient(circle at 34% 28%, #EDFFF8 0%, #7CE0C3 45%, #2F7A62 100%); }
.m-coin { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .28), inset 0 -4px 7px rgba(0, 0, 0, .28), 0 10px 18px -6px rgba(0, 0, 0, .65); }
.m-coin::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }

/* Детали отдельных сцен */
.m-flow { position: absolute; top: 0; right: 0; width: 160px; height: 170px; pointer-events: none; }
.m-tap .m-ring { position: absolute; left: -2px; top: -2px; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #D4FA5C; opacity: 0; animation: m-ring 2.6s ease-out infinite; }
.m-tap { animation: m-tap 2.6s var(--ease) infinite; }
@keyframes m-tap { 0%, 100% { transform: translate3d(0, 0, 0); } 30% { transform: translate3d(-6px, -4px, 0); } 40% { transform: translate3d(-6px, -4px, 0) scale(.86); } 50% { transform: translate3d(-6px, -4px, 0); } }
@keyframes m-ring { 0%, 38% { opacity: 0; transform: translate(-6px, -4px) scale(.3); } 42% { opacity: .9; } 80%, 100% { opacity: 0; transform: translate(-6px, -4px) scale(2.6); } }
.m-bars rect { transform-box: fill-box; transform-origin: 50% 100%; animation: m-bar 3.6s var(--ease) infinite; }
.m-bars rect:nth-child(2) { animation-delay: .15s; } .m-bars rect:nth-child(3) { animation-delay: .3s; } .m-bars rect:nth-child(4) { animation-delay: .45s; }
@keyframes m-bar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.55); } }
.m-chain .m-node { transform-box: fill-box; transform-origin: center; animation: m-node 3s var(--ease) var(--delay, 0s) infinite; }
@keyframes m-node { 0%, 100% { opacity: .75; } 50% { opacity: 1; filter: drop-shadow(0 0 6px rgba(226, 203, 147, .7)); } }
.m-fork { position: absolute; pointer-events: none; }
.m-fork path:first-child { stroke-dasharray: 160; animation: m-dash 4.5s var(--ease) infinite; }
@keyframes m-dash { 0% { stroke-dashoffset: 160; opacity: 0; } 15% { opacity: 1; } 55%, 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.m-draw { stroke-dasharray: 200; animation: m-draw 6s var(--ease) infinite; }
@keyframes m-draw { 0% { stroke-dashoffset: 200; } 55%, 88% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.m-candle { transform-box: fill-box; transform-origin: 50% 100%; animation: m-candle 6s var(--ease) var(--delay, 0s) infinite; }
@keyframes m-candle { 0% { opacity: 0; transform: scaleY(.3); } 12%, 90% { opacity: 1; transform: scaleY(1); } 100% { opacity: 0; } }
.m-beacon { animation: m-beacon 2s ease-in-out infinite; filter: drop-shadow(0 0 5px #D4FA5C); }
@keyframes m-beacon { 50% { opacity: .35; } }
.m-progress { transform-box: fill-box; transform-origin: 0 50%; animation: m-progress 5s linear infinite; }
@keyframes m-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.m-type { transform-box: fill-box; transform-origin: 0 50%; animation: m-type 5s steps(12, end) var(--delay, 0s) infinite; }
@keyframes m-type { 0% { transform: scaleX(0); } 30%, 88% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
.m-tassel { transform-box: view-box; transform-origin: 45px 22px; animation: m-tassel 4.2s var(--ease) infinite; }
@keyframes m-tassel { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-9deg); } }
.m-tick { stroke-dasharray: 12; stroke-dashoffset: 12; animation: m-tick 4.8s var(--ease) var(--delay, 0s) infinite; }
@keyframes m-tick { 0% { stroke-dashoffset: 12; } 18%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 12; } }

/* Старые сцены «Бонусы» и «Скины» в новом стиле */
.art-bonus .fl-card, .art-cardx .plastic { animation: m-tilt 8s var(--ease) infinite; }
.art-bonus .fl-card { --r: -12deg; filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .5)) drop-shadow(0 0 18px rgba(226, 203, 147, .18)); }
.art-bonus .fl-pct, .art-bonus .fl-coin { font-family: var(--display); font-weight: 600; animation: m-pop 4.6s var(--ease) infinite; }
.art-bonus .fl-pct { color: #3A2C12; background: radial-gradient(circle at 34% 28%, #FFF6DA 0%, #E2CB93 42%, #9C7F45 100%); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .28), inset 0 -4px 7px rgba(0, 0, 0, .28), 0 10px 18px -6px rgba(0, 0, 0, .65); }
.art-bonus .fl-coin { animation-delay: 1.2s; color: #1A2604; background: radial-gradient(circle at 34% 28%, #F6FFD0 0%, #C6F432 45%, #6E8F12 100%); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .28), inset 0 -3px 6px rgba(0, 0, 0, .28), 0 8px 16px -6px rgba(0, 0, 0, .65); }
.art-bonus .fl-tag, .art-bonus .fl-bonus, .art-skins .fl-yield, .fl-tag.rate, .fl-tag.on {
  color: #E9E4D2; background: rgba(9, 20, 15, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 99px;
  box-shadow: inset 0 0 0 1px rgba(226, 203, 147, .32), inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 22px -10px rgba(0, 0, 0, .8);
  font-weight: 500; animation: m-drift 8s var(--ease) infinite;
}
.art-bonus .fl-tag b, .art-bonus .fl-bonus { color: #F1DFAE; }
.art-bonus .fl-bonus { font-weight: 700; animation-delay: 1s; }
.art-bonus .fl-gift { color: #7CE0C3; background: rgba(9, 20, 15, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(124, 224, 195, .45), 0 10px 22px -10px rgba(0, 0, 0, .8); animation: m-drift 7s var(--ease) .3s infinite; }
.art-skins .fl-rifle, .art-skins .fl-sniper, .art-skins .fl-knife { animation-timing-function: var(--ease); animation-duration: 7.5s; }
.art-skins .fl-sniper { animation-duration: 8.5s; }
.art-skins .fl-knife { animation-name: m-roll; animation-duration: 6.5s; }
.art-skins .fl-yield { color: #F1DFAE; }
.art-skins .fl-spark { background: transparent; width: 9px; height: 9px; animation: m-twinkle 3.2s var(--ease) infinite; background: radial-gradient(circle, #FFF8E4 0 1.2px, transparent 1.6px), linear-gradient(#FFF8E4, #FFF8E4) center / 1.2px 100% no-repeat, linear-gradient(#FFF8E4, #FFF8E4) center / 100% 1.2px no-repeat; filter: drop-shadow(0 0 4px rgba(255, 244, 210, .9)); }
.art-cardx .globe { animation-duration: 40s; }
.art-cardx .cur { animation: m-pop 4.6s var(--ease) infinite; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .28), inset 0 -3px 6px rgba(0, 0, 0, .28), 0 8px 16px -6px rgba(0, 0, 0, .6); }

/* Карточка продавца со сценой */
.listing { overflow: hidden; isolation: isolate; }
.listing.has-art { min-height: 238px; }
.listing > :not(.product-art) { position: relative; z-index: 1; }
.listing.has-art .listing-top, .listing.has-art .listing-name, .listing.has-art .listing-desc { max-width: 60%; }
.listing > .product-art { width: 48%; }
.sheet-hero .m-chip.edu { top: 150px !important; }

@media (prefers-reduced-motion: reduce) {
  .product-art *, .product-art { animation: none !important; }
  .m-dust, .m-rise { display: none; }
  html.m-js .product-art:not(.m-seen) { opacity: 1; }
}

/* ===================================================================
   Витрина v2: характеристики товара, метки новинок, колесо, форма
   =================================================================== */
.tag-new, .tag-early {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 99px; font-size: 11px; font-weight: 700; letter-spacing: .02em;
}
.tag-new { background: var(--accent); color: #0B1503; }
.tag-early { color: #F1DFAE; background: rgba(226, 203, 147, .1); box-shadow: inset 0 0 0 1px rgba(226, 203, 147, .5); }
.tag-early svg { color: #D4FA5C; }

.spec-pills { display: flex; flex-wrap: wrap; gap: 6px; max-width: 100%; }
.spec-pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 10px; font-size: 12px; font-weight: 600; color: #D9E1DB;
  background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(226, 203, 147, .14);
}
.spec-pill svg { color: var(--gold); flex: none; }
.spec-pill.accent { color: #E8FFA0; box-shadow: inset 0 0 0 1px rgba(198, 244, 50, .35); background: rgba(198, 244, 50, .06); }
.spec-pill.accent svg { color: var(--accent); }
.listing.has-art .spec-pills { position: relative; z-index: 2; }

.spec-income {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; color: var(--accent);
  background: radial-gradient(120% 140% at 0% 0%, rgba(198, 244, 50, .12), transparent 60%), var(--vault); box-shadow: inset 0 0 0 1px rgba(198, 244, 50, .25);
}
.spec-income b { font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--text); }
.spec-label { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.spec { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border-radius: 16px; background: var(--vault); box-shadow: var(--edge); min-width: 0; }
.spec b { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.spec-ico { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: var(--gold); background: rgba(226, 203, 147, .08); }
.spec.yes .spec-ico { color: var(--accent); background: rgba(198, 244, 50, .1); }
.spec.no .spec-ico { color: var(--dim); }
.spec.no b { color: var(--muted); }
.spec-formats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.spec-formats svg { color: var(--gold); }

.spec-form { border: 0; margin: 4px 0; padding: 16px; border-radius: 20px; background: var(--vault); box-shadow: var(--edge); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.spec-form legend { float: left; width: 100%; padding: 0; margin-bottom: 2px; font-family: var(--display); font-size: 18px; }
.range-input { display: flex; align-items: center; gap: 8px; }
.range-input input { flex: 1; min-width: 0; width: 100%; }
.range-input > span { color: var(--muted); }
.fmt-checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.fmt-check { cursor: pointer; }
.fmt-check input { position: absolute; opacity: 0; pointer-events: none; }
.fmt-check span { display: inline-block; padding: 8px 12px; border-radius: 12px; font-size: 13px; font-weight: 600; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); background: rgba(0, 0, 0, .2); }
.fmt-check input:checked + span { color: #0B1503; background: var(--accent); box-shadow: none; }
.fmt-check input:focus-visible + span { outline: 2px solid var(--gold); }

.hot .chips { margin-top: -2px; }
.hot-empty { padding: 22px 18px; }

.prize-list { display: flex; flex-direction: column; gap: 8px; }
.prize { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--vault); box-shadow: var(--edge); }
.prize b { font-size: 14px; font-weight: 600; }
.prize .subtitle { font-size: 12px; }
.prize-ico {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-family: var(--display); font-size: 16px; color: #3A2C12;
  background: radial-gradient(circle at 34% 28%, #FFF6DA 0%, #E2CB93 42%, #9C7F45 100%); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25), 0 6px 12px -6px rgba(0, 0, 0, .6);
}
.prize.rare { box-shadow: inset 0 0 0 1px rgba(198, 244, 50, .35); background: radial-gradient(120% 140% at 0% 50%, rgba(198, 244, 50, .1), transparent 60%), var(--vault); }
.prize.rare .prize-ico { color: #1A2604; background: radial-gradient(circle at 34% 28%, #F6FFD0 0%, #C6F432 45%, #6E8F12 100%); }
.wheel-result .tag-early { align-self: center; }
.spec-form .stat-row > .field { flex: 1 1 0; }
.spec-form select { width: 100%; min-width: 0; }

/* Админ: снять товар с витрины */
.admin-x {
  position: absolute; top: 10px; right: 10px; z-index: 5; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  color: #FFB4A8; background: rgba(40, 10, 8, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255, 138, 122, .45), 0 6px 14px -6px rgba(0, 0, 0, .8); cursor: pointer;
}
.admin-x:active { transform: scale(.92); }
.btn-danger { background: #E5584A; color: #fff; width: 100%; }
.btn-danger-ghost { width: 100%; background: transparent; color: #FF8A7A; box-shadow: inset 0 0 0 1px rgba(255, 138, 122, .4); gap: 8px; }
.btn-mini { flex: none; padding: 7px 12px; border: 0; border-radius: 10px; font: 600 12.5px var(--body); color: #0B1503; background: var(--accent); cursor: pointer; }
.btn-mini.danger { color: #FF8A7A; background: rgba(255, 138, 122, .1); box-shadow: inset 0 0 0 1px rgba(255, 138, 122, .4); }
.btn-mini:disabled { opacity: .5; }

/* ---------- Вкладка «Продавцам» ---------- */
.seller-hero {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 22px 18px 18px; border-radius: 26px;
  background: var(--rosette) no-repeat right -90px top -70px / 300px 300px, radial-gradient(120% 90% at 100% 0%, rgba(198, 244, 50, .1), transparent 55%), var(--vault);
  box-shadow: var(--edge), 0 24px 50px -28px rgba(0, 0, 0, .9);
}
.seller-hero::after { content: ''; position: absolute; inset: 6px; border-radius: 21px; border: 1px solid rgba(226, 203, 147, .13); pointer-events: none; }
.seller-hero > * { position: relative; z-index: 1; }
.seller-kicker { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 5px 11px; border-radius: 99px; font-size: 12px; font-weight: 600; color: var(--gold); box-shadow: inset 0 0 0 1px rgba(226, 203, 147, .35); }
.seller-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 2px; }
.seller-stats div { display: flex; flex-direction: column; gap: 2px; padding: 12px 10px; border-radius: 16px; background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px rgba(226, 203, 147, .12); }
.seller-stats b { font-family: var(--display); font-weight: 400; font-size: 22px; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.seller-stats span { font-size: 11.5px; color: var(--muted); }

.founder {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 18px; border-radius: 24px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(226, 203, 147, .12), transparent 55%), var(--vault); box-shadow: var(--edge);
}
.founder-ava {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; font-family: var(--display); font-size: 24px; color: #2A2010;
  background: radial-gradient(circle at 34% 28%, #FFF6DA 0%, #E2CB93 42%, #9C7F45 100%);
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px rgba(226, 203, 147, .55), 0 12px 24px -8px rgba(0, 0, 0, .7);
}
.founder-ava img { width: 100%; height: 100%; object-fit: cover; }
.founder-role { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.founder-name { font-family: var(--display); font-weight: 400; font-size: 20px; }
.founder-btn { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; }

.faq { display: flex; flex-direction: column; gap: 8px; }
.faq details { border-radius: 16px; background: var(--vault); box-shadow: var(--edge); padding: 0 16px; }
.faq summary { list-style: none; cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 14.5px; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 18px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: -4px 0 14px; font-size: 13.5px; line-height: 1.5; color: #B4C2B9; }

.support-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 20px; background: var(--vault); box-shadow: var(--edge); }
.support-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: var(--accent); background: rgba(198, 244, 50, .08); box-shadow: inset 0 0 0 1px rgba(198, 244, 50, .25); }
.btn-mini.ghost { color: var(--gold); background: transparent; box-shadow: inset 0 0 0 1px rgba(226, 203, 147, .4); }
.cat-chips { position: sticky; top: 0; z-index: 5; padding-top: 6px; padding-bottom: 8px; background: linear-gradient(var(--bg) 70%, transparent); }

/* ---------- Колесо v2: золото, эмаль, стекло ---------- */
.wheel-mini-wrap { flex: none; width: 58px; height: 58px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .55)) drop-shadow(0 0 14px rgba(226, 203, 147, .18)); }
.wheel-mini-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.wheel-mini-rot { transform-origin: 50px 50px; animation: spin 16s linear infinite; }
.wheel-pointer { top: -14px; width: 40px; height: 52px; border: 0; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .6)); }
.wheel-pointer svg { width: 100%; height: 100%; display: block; }
.wheel-svg { filter: drop-shadow(0 22px 36px rgba(0, 0, 0, .6)) drop-shadow(0 0 30px rgba(226, 203, 147, .12)); }
.wheel-hub { width: 72px; height: 72px; margin: -36px 0 0 -36px; font-size: 30px; box-shadow: 0 0 0 5px #060E0B, 0 0 0 6px rgba(226, 203, 147, .6), 0 12px 26px rgba(0, 0, 0, .65), inset 0 2px 0 rgba(255, 255, 255, .5), inset 0 -4px 8px rgba(0, 0, 0, .25); }
.wheel-glow { inset: -16%; background: radial-gradient(circle, rgba(226, 203, 147, .2), rgba(198, 244, 50, .05) 45%, transparent 68%); animation: m-breathe 6s ease-in-out infinite; }
.wheel-bulb { animation: bulb 1.6s ease-in-out infinite; filter: drop-shadow(0 0 3px rgba(255, 244, 210, .95)); }
@media (prefers-reduced-motion: reduce) { .wheel-mini-rot, .wheel-glow { animation: none !important; } }
.m-giftbox { padding: 7px; border-radius: 11px; background: rgba(9, 20, 15, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(124, 224, 195, .45), 0 10px 22px -10px rgba(0, 0, 0, .8); box-sizing: border-box; }
.quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
.quick > .quick-tile { flex: none; width: auto; min-width: 0; }

/* ---------- Возврат и споры ---------- */
.refund-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: var(--vault); box-shadow: var(--edge); }
.refund-card b { font-size: 14.5px; font-weight: 600; }
.refund-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--gold); background: rgba(226, 203, 147, .08); }
.refund-card.result { box-shadow: inset 0 0 0 1px rgba(198, 244, 50, .35); background: radial-gradient(120% 140% at 0% 0%, rgba(198, 244, 50, .1), transparent 60%), var(--vault); }
.refund-card.result .refund-ico { color: var(--accent); background: rgba(198, 244, 50, .1); }
.checks.no svg { color: var(--coral); }
.dispute-opts { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.dispute-opt { cursor: pointer; }
.dispute-opt input { position: absolute; opacity: 0; pointer-events: none; }
.dispute-opt span { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); background: rgba(0, 0, 0, .2); }
.dispute-opt b { font-size: 14px; font-weight: 600; color: var(--text); }
.dispute-opt i { font-style: normal; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.dispute-opt input:checked + span { box-shadow: inset 0 0 0 1.5px var(--accent); background: rgba(198, 244, 50, .06); }
.dispute-opt input:focus-visible + span { outline: 2px solid var(--gold); }

/* ---------- Главная v3: подбор, новинки, доверие ---------- */
.picker {
  display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 26px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(198, 244, 50, .09), transparent 55%), var(--vault); box-shadow: var(--edge), 0 24px 50px -28px rgba(0, 0, 0, .9);
}
.pick-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.pick-chip {
  min-height: 40px; padding: 8px 6px; border: 0; border-radius: 12px; cursor: pointer; font: 600 12.5px var(--body); color: #D9E1DB;
  background: rgba(0, 0, 0, .25); box-shadow: inset 0 0 0 1px rgba(226, 203, 147, .16);
}
.pick-chip[aria-pressed="true"] { color: #0B1503; background: var(--accent); box-shadow: 0 6px 16px -6px rgba(198, 244, 50, .5); }
.pick-empty { font-size: 13px; color: var(--muted); }
.pick-empty .link-btn { font-size: 13px; padding: 0; }
.mini-item {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border: 0; border-radius: 16px; cursor: pointer; text-align: left; color: var(--text);
  background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px rgba(226, 203, 147, .14);
}
.mini-item b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-item .subtitle { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--accent); background: rgba(198, 244, 50, .08); box-shadow: inset 0 0 0 1px rgba(198, 244, 50, .25); }
.mini-price { flex: none; font-family: var(--display); font-size: 15px; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }

.fresh-strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 4px; }
.fresh-strip::-webkit-scrollbar { display: none; }
.fresh-card {
  position: relative; flex: 0 0 64%; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 0; border-radius: 22px;
  min-height: 210px; overflow: hidden; isolation: isolate; text-align: left; color: var(--text); cursor: pointer; background: var(--vault); box-shadow: var(--edge);
}
.fresh-card > :not(.fresh-art) { position: relative; z-index: 1; }
.fresh-art { position: absolute; inset: 0; z-index: 0; opacity: .55; }
.fresh-art .product-art { width: 100%; }
.fresh-art .m-chip { display: none; }
.fresh-name { font-family: var(--display); font-weight: 400; font-size: 18px; line-height: 1.15; margin-top: auto; }

.trust { display: flex; flex-direction: column; gap: 10px; }
.trust-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.trust-item { display: flex; flex-direction: column; gap: 6px; padding: 14px 12px; border-radius: 18px; background: var(--vault); box-shadow: var(--edge); }
.trust-item b { font-size: 13px; font-weight: 600; line-height: 1.25; }
.trust-item span:last-child { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.trust-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #2A2010; background: radial-gradient(circle at 34% 28%, #FFF6DA 0%, #E2CB93 42%, #9C7F45 100%); }
.mini-item b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; }
.mini-item .subtitle { white-space: normal; }
.mini-price { font-size: 14px; }
.pick-row.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pick-row.four .pick-chip { font-size: 12px; padding: 8px 4px; }
.cur-fixed { position: absolute; right: 8px; padding: 7px 12px; border-radius: 9px; font-size: 13px; font-weight: 700; background: var(--accent); color: #0B1503; pointer-events: none; }
.price-input input { padding-right: 84px; }

/* ---------- Монеты Mint ---------- */
.coin-bar { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.coin-bar b { font-size: 12px; font-weight: 700; color: var(--gold); white-space: nowrap; }
.coin-dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; flex: 1; max-width: 140px; }
.coin-dots i { height: 6px; border-radius: 3px; background: rgba(226, 203, 147, .14); }
.coin-dots i.on { background: linear-gradient(90deg, #F6E8C0, #C9AC6E); box-shadow: 0 0 6px rgba(226, 203, 147, .45); }
.coin-bar.big .coin-dots { max-width: none; gap: 5px; }
.coin-bar.big .coin-dots i { height: 10px; border-radius: 5px; }
.coin-bar.big b { font-size: 15px; }
.coin-panel { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 18px; background: var(--vault); box-shadow: var(--edge); }
.wheel-btn svg { vertical-align: -3px; margin-left: 2px; }

/* ---------- Карточка курса: факты, пример сделки, «не казино», рынок ---------- */
.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fact { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 16px; background: var(--vault); box-shadow: var(--edge); }
.fact b { font-family: var(--display); font-weight: 400; font-size: 19px; margin-top: 6px; }
.fact span:last-child { font-size: 12px; color: var(--muted); }
.fact-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: var(--accent); background: rgba(198, 244, 50, .08); }
.deal-example { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; padding: 14px; border-radius: 20px; background: radial-gradient(120% 140% at 50% 0%, rgba(198, 244, 50, .1), transparent 60%), var(--vault); box-shadow: inset 0 0 0 1px rgba(198, 244, 50, .25); }
.de-side { display: flex; flex-direction: column; gap: 4px; }
.de-side.right { text-align: right; }
.de-side b { font-family: var(--display); font-weight: 400; font-size: 20px; }
.de-mid { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--accent); }
.de-pct { font-weight: 800; font-size: 15px; }
.de-foot { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); padding-top: 8px; border-top: 1px solid rgba(226, 203, 147, .12); }
.de-foot b { color: var(--accent); }
.no-casino { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 20px; background: var(--vault); box-shadow: var(--edge); }
.no-casino-tag { margin: 2px 0 0; font-family: var(--display); font-size: 17px; line-height: 1.3; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.market-card { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 20px; background: var(--rosette) no-repeat right -80px center / 220px 220px, var(--vault); box-shadow: var(--edge); }
.market-val { font-family: var(--display); font-size: 34px; line-height: 1.1; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.market-card p { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: #B4C2B9; }
.scale-card { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 20px; background: radial-gradient(120% 140% at 100% 0%, rgba(198, 244, 50, .1), transparent 55%), var(--vault); box-shadow: inset 0 0 0 1px rgba(198, 244, 50, .25); }
.scale-steps { display: flex; flex-direction: column; gap: 12px; }
.scale-step { display: flex; gap: 12px; align-items: flex-start; }
.scale-step b { font-size: 14.5px; font-weight: 600; }
.scale-step span span { font-size: 13px; color: #B4C2B9; line-height: 1.45; }
.scale-num { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-family: var(--display); font-size: 14px; color: #1A2604; background: radial-gradient(circle at 34% 28%, #F6FFD0 0%, #C6F432 45%, #6E8F12 100%); }
.no-casino.hard .checks svg { color: var(--amber); }

/* ---------- Софт Форекс: простыми словами, выводы ---------- */
.simple-card { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 18px; background: rgba(198, 244, 50, .05); box-shadow: inset 0 0 0 1px rgba(198, 244, 50, .25); }
.simple-card p { margin: 0; font-size: 14px; line-height: 1.55; color: #D9E1DB; }
.payout-total { font-weight: 800; font-size: 15px; color: var(--accent); }
.payouts { display: flex; flex-direction: column; gap: 6px; }
.payout { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--vault); box-shadow: var(--edge); }
.payout b { font-size: 14.5px; font-weight: 600; }
.payout .subtitle { font-size: 12px; }
.payout-profit { flex: none; font-family: var(--display); font-size: 17px; color: var(--accent); }
.shot-scroll { overflow-x: auto; border-radius: 14px; background: #fff; box-shadow: var(--edge); -webkit-overflow-scrolling: touch; }
.shot-scroll img { display: block; width: 1100px; max-width: none; height: auto; }
.shot-scroll img[src*="usdt"] { width: 100%; max-width: 100%; }
.team-card { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 20px; background: radial-gradient(120% 140% at 0% 0%, rgba(226, 203, 147, .12), transparent 55%), var(--vault); box-shadow: var(--edge); }
.team-card p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #B4C2B9; }
.team-math { display: flex; align-items: center; gap: 6px; }
.team-cell { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 14px; background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px rgba(226, 203, 147, .14); text-align: center; }
.team-cell b { font-family: var(--display); font-weight: 400; font-size: 15px; white-space: nowrap; }
.team-cell span { font-size: 11px; color: var(--muted); }
.team-op { color: var(--gold); font-size: 16px; }
.program .program-intro { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-radius: 16px; background: var(--vault); box-shadow: var(--edge); font-weight: 600; font-size: 14.5px; }
.program .program-intro svg { color: var(--accent); }
.lessons { list-style: none; margin: -4px 0 14px; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: ls; }
.lessons li { position: relative; counter-increment: ls; padding-left: 28px; }
.lessons li::before { content: counter(ls); position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #2A2010; background: var(--metal); }
.lessons b { font-size: 14px; font-weight: 600; }
.lesson-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--muted); line-height: 1.4; }
.lesson-kind { padding: 1px 8px; border-radius: 99px; color: var(--gold); box-shadow: inset 0 0 0 1px rgba(226, 203, 147, .35); font-weight: 600; }
.lesson-kind.prac { color: #0B1503; background: var(--accent); box-shadow: none; }
.seller-stats b { display: flex; align-items: baseline; gap: 5px; white-space: nowrap; line-height: 1.1; }
.seller-stats b small { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .04em; -webkit-text-fill-color: var(--gold); color: var(--gold); }
.seller-stats div { justify-content: space-between; min-height: 84px; }

/* ---------- Лента результатов на главной ---------- */
.ticker { display: flex; flex-direction: column; gap: 8px; margin: 0 -20px; }
.ticker-head { display: flex; align-items: center; gap: 8px; padding: 0 20px; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.ticker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(198, 244, 50, .6); animation: tick-pulse 2s ease-out infinite; }
@keyframes tick-pulse { 0% { box-shadow: 0 0 0 0 rgba(198, 244, 50, .55); } 100% { box-shadow: 0 0 0 9px rgba(198, 244, 50, 0); } }
.ticker-viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; animation: tick-move var(--dur, 40s) linear infinite; }
.ticker-track:active, .ticker-viewport:hover .ticker-track { animation-play-state: paused; }
.ticker-dup { display: flex; }
@keyframes tick-move { to { transform: translateX(-50%); } }
.tick {
  flex: none; display: inline-flex; align-items: center; gap: 7px; margin-right: 8px; padding: 6px 12px 6px 6px; border: 0; border-radius: 99px; cursor: pointer;
  background: var(--vault); box-shadow: var(--edge); color: var(--text); font: 500 12.5px var(--body); white-space: nowrap;
}
.tick img, .tick-ico { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex: none; }
.tick-ico { display: grid; place-items: center; color: var(--accent); background: rgba(198, 244, 50, .1); }
.tick-name { font-weight: 600; }
.tick b { color: var(--accent); font-weight: 800; }
.tick-p { color: var(--muted); font-size: 11.5px; }
.tick-p::before { content: '· '; }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } .ticker-viewport { overflow-x: auto; } .ticker-dup { display: none; } }
.coin-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 4px; }
.coin-ways span { padding: 8px 10px; border-radius: 12px; font-size: 12px; color: var(--muted); background: var(--vault); box-shadow: var(--edge); }
.coin-ways b { color: var(--gold); font-size: 14px; margin-right: 4px; }
.terms ol { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.terms li { font-size: 13.5px; line-height: 1.55; color: #C9D3CC; }
.terms-inline { display: flex; flex-direction: column; gap: 10px; max-height: 50vh; overflow: auto; padding: 4px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.g-seal { font-family: var(--display); font-size: 18px; }

/* ---------- Партнёрка ---------- */
.ref-card { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 24px; background: radial-gradient(120% 90% at 100% 0%, rgba(198, 244, 50, .1), transparent 55%), var(--rosette) no-repeat right -90px top -80px / 260px 260px, var(--vault); box-shadow: var(--edge), 0 24px 50px -28px rgba(0, 0, 0, .9); }
.ref-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ref-stats div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 14px; background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px rgba(226, 203, 147, .12); }
.ref-stats b { font-family: var(--display); font-weight: 400; font-size: 19px; }
.ref-stats span { font-size: 11.5px; color: var(--muted); }
.ref-balance { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; border-radius: 16px; background: rgba(198, 244, 50, .06); box-shadow: inset 0 0 0 1px rgba(198, 244, 50, .3); }
.ref-balance b { font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--accent); }
.ref-balance .btn-mini { padding: 10px 16px; font-size: 13.5px; }
.story-preview { display: flex; justify-content: center; }
.story-preview canvas { width: min(62vw, 240px); height: auto; aspect-ratio: 9 / 16; border-radius: 18px; box-shadow: var(--edge), 0 20px 40px -20px rgba(0, 0, 0, .9); }
.story-kind { grid-template-columns: 1fr 1fr; }
.queue-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 20px; background: linear-gradient(160deg, rgba(198, 244, 50, .08), rgba(255, 255, 255, .02)); box-shadow: var(--edge); position: relative; }
.queue-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.queue-card > b { font-size: 17px; padding-left: 18px; }
.queue-dot { position: absolute; left: 18px; top: 25px; width: 9px; height: 9px; border-radius: 50%; background: #ff8a5b; box-shadow: 0 0 0 4px rgba(255, 138, 91, .18); animation: qpulse 1.8s ease-in-out infinite; }
@keyframes qpulse { 50% { box-shadow: 0 0 0 8px rgba(255, 138, 91, 0); } }
.queue-pos { display: flex; align-items: baseline; gap: 10px; }
.queue-pos b { font-family: Prata, serif; font-size: 48px; font-weight: 400; line-height: 1; background: linear-gradient(120deg, #F2FFB8, #C6F432); -webkit-background-clip: text; background-clip: text; color: transparent; }
.queue-pos span { color: var(--muted); font-size: 15px; }
/* Продукт на паузе */
.product.paused .product-art, .sheet-hero.paused .product-art { filter: grayscale(1) brightness(.55) !important; opacity: .6; }
.product.paused .product-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.stop-stamp { position: relative; z-index: 3; flex: none; width: auto !important; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(30, 8, 6, .72); border: 1px solid rgba(255, 107, 87, .45); color: #ffb4a8; font: 700 11px/1.15 Onest, sans-serif; letter-spacing: .02em; text-transform: uppercase; backdrop-filter: blur(6px); transform: rotate(-3deg); animation: ss-in .6s cubic-bezier(.2, 1.4, .4, 1) both; }
.stop-stamp svg { flex: none; }
.ss-ring { fill: rgba(255, 90, 70, .14); stroke: #ff6b57; stroke-width: 3; transform-origin: 24px 24px; animation: ss-pulse 2.2s ease-in-out infinite; }
.ss-x { fill: none; stroke: #ff6b57; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 23; stroke-dashoffset: 23; animation: ss-draw .35s ease-out .35s forwards; }
.ss-x2 { animation-delay: .6s; }
@keyframes ss-draw { to { stroke-dashoffset: 0; } }
@keyframes ss-pulse { 50% { transform: scale(1.08); stroke-opacity: .55; } }
@keyframes ss-in { from { opacity: 0; transform: rotate(-12deg) scale(1.6); } }
.pause-notice { align-items: center; border-color: rgba(255, 107, 87, .35) !important; background: rgba(255, 90, 70, .07) !important; }
.pause-notice .stop-stamp { position: static; transform: none; padding: 4px; background: none; border: 0; }
.pause-notice .stop-stamp span { display: none; }
@media (prefers-reduced-motion: reduce) { .stop-stamp, .ss-ring, .ss-x { animation: none; stroke-dashoffset: 0; } }
.queue-card .stop-stamp { align-self: flex-start; }
/* Узкие телефоны (iPhone SE и т.п.): картинка баннера не наезжает на текст */
@media (max-width: 360px) {
  .promo-slide > .promo-title { max-width: 58% !important; font-size: 21px; }
  .promo-slide > .promo-text { max-width: 50%; font-size: 12.5px; }
  .promo-slide > .product-art { opacity: .9; transform: scale(.82); transform-origin: 100% 60%; }
  .promo-slide > .product-art.art-prosto { width: 40%; }
}
/* «Осталось N мест» */
.product-term.seats-hot { color: #ffb37a; font-weight: 700; }
.seats-notice { align-items: center; border-color: rgba(255, 160, 90, .35) !important; background: rgba(255, 140, 60, .07) !important; }
.seats-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #ff9a4d; box-shadow: 0 0 0 4px rgba(255, 154, 77, .18); animation: qpulse 1.8s ease-in-out infinite; margin: 0 4px; }
