@font-face {font-family: 'Komika Axis'; src: url('../fonts/komikatitle_axisrus_lat.otf'); }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

::-webkit-scrollbar {
    width: 0;
}

body {
    background: rgba(18, 27, 34, 1);
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    font-family: 'Tilt Warp', sans-serif;
    color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 20px;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    width: 140px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav_button {
    display: flex;
    gap: 30px;
}

.n_but {
    color: #fff;
    font-family: 'Tiny5', sans-serif;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

.n_but::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: rgba(0, 187, 255, 1);
    transition: width 0.3s ease;
}

.shop_icon_adaptive {
        display: none;
    }

.n_but:hover {
    color: rgba(0, 187, 255, 1);
}

.n_but:hover::after {
    width: 100%;
}

.nav_auth {
    display: flex;
    gap: 10px;
}

.a_but {
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    background: linear-gradient(90deg, rgba(0, 187, 255, 0.7), rgba(205, 56, 150, 0.7));
    color: #fff;
    font-family: 'Tiny5', sans-serif;
    font-size: 20px;
    padding: 8px 16px;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.2s ease;
    display: block; /* Make inline <a> a block element */
    text-align: center; /* Ensure text inside is centered */
    width: fit-content; /* Prevent stretching */
    margin: 0 auto; /* Center horizontally */
}

.a_but:hover {
    background: linear-gradient(90deg, rgba(0, 187, 255, 1), rgba(205, 56, 150, 1));
    transform: translateY(-2px);
}
.shop_icon {
    position: relative;
    border-radius: 50%;
    background: linear-gradient(90deg, rgba(0, 187, 255, 1), rgba(205, 56, 150, 1));
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.shop_icon:hover {
    transform: scale(1.1);
}

.s_ic {
    width: 22px;
}

.count {
    position: absolute;
    top: -4px;
    right: -4px;
    border-radius: 50%;
    background: #6dd99a;
    width: 16px;
    height: 16px;
    color: #fff;
    font-family: 'Tilt Warp', sans-serif;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main {
  position: relative;
  width: 100%;
  background-color: #0f141b; /* фон */
  overflow: hidden;
  box-sizing: border-box;
}

/* фоновые пятна */
.vector-left,
.vector-right {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.vector-left {
  left: -100px;
  top: 20%;
  width: 250px;
}

.vector-right {
  right: -120px;
  top: 0;
  width: 280px;
}

/* контент */
.main-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* левая колонка */
.left {
  flex: 1 1 500px;
  position: relative;
}

.neon {
  position: relative;
  display: inline-block;
}

.neon-bg {
  max-width: 100%;
  height: auto;
  display: block;
      width: 744.17px;
    height: 515.56px;
    position: relative;
    bottom: 60px;
}

.neon-text {
    position: absolute;
    top: 18%;
    left: 12%;
    color: #fff;
    max-width: 80%;
    font-family: 'Komika Axis';
}

.neon-text h1 {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.2;
}

.neon-text p {
  margin: 15px 0;
  font-size: 0.95rem;
  opacity: 0.8;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  background: #fff;
  color: #000;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #ff0077;
  color: #fff;
}

/* правая колонка */
.right {
  flex: 1 1 500px;
  text-align: right;
}

.main-bg {
    max-width: 100%;
    width: 1389.48px;
    height: 1154.81px;
    position: absolute;
    left: 300px;
    top: -350px;
}

/* преимущества */
.features-line {
  width: 100%;
  height: 158px;
  background: rgba(28, 43, 49, 1);
  margin-top: -100px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  position: relative;
  gap: 150px;
  font-family: 'Komika Axis'
}

.feature {
  max-width: 250px;
  color: #fff;
}

.feature h3 {
  margin: 10px 0;
  font-size: 1.2rem;
}

.feature p {
  font-size: 0.6rem;
  opacity: 0.7;
}

.sales-ticker{
    position: relative;
    width:100%;
    background:#0f141b; /* общий фон сайта; при желании: rgba(28,43,49,1) */
    border-top:1px solid rgba(255,255,255,.06);
    padding:16px 24px;
    overflow:hidden;
  }
  /* Внутренняя дорожка с автоскроллом */
  .sales-ticker__inner{
    position:relative;
    overflow:hidden;
    width:100%;
    height:74px; /* высота карточки */
    mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  }
  .sales-ticker__track{
    display:flex;
    align-items:center;
    gap:16px;
    will-change: transform;
    animation: ticker-scroll 32s linear infinite;
  }
  @keyframes ticker-scroll{
    0%{transform:translateX(0)}
    100%{transform:translateX(-50%)} /* зациклим через дублирование контента */
  }

:root{
    --live-bg:#121921;          /* общий фон секции */
    --card-bg:#0f161d;          /* фон карточки */
    --text:#dbe5f2;
    --text-dim:#9fb2c5;
    --accent:#58ffa1;           /* зелёный для LIVE */
    --price:#ffffff;
    --ring-1:#8a2be2;           /* градиент обводки */
    --ring-2:#00e5ff;
    --radius:18px;
  }

  .live-strip{
    background: linear-gradient(180deg, #11171f 0%, #12151b 100%);
    padding: 28px 16px 36px;
  }
  .live-strip__inner{
    max-width: 1180px;   /* НЕ на всю ширину */
    margin: 0 auto;
  }

  /* Заголовок */
  .live-strip__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-bottom:16px;
    color:var(--text);
    user-select:none;
  }
  .live-badge{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:800;
    letter-spacing:0.04em;
    font-size:26px;
  }
  .live-dot{
    width:10px;height:10px;border-radius:50%;
    background:var(--accent);
    box-shadow:0 0 10px 0 var(--accent), 0 0 18px 0 rgba(88,255,161,.6);
    animation: blink 1.2s infinite;
  }
  @keyframes blink{
    0%,100%{opacity:1; box-shadow:0 0 10px var(--accent),0 0 18px rgba(88,255,161,.6)}
    50%{opacity:.25; box-shadow:0 0 2px var(--accent),0 0 4px rgba(88,255,161,.3)}
  }

  .live-totals{
    display:flex; align-items:center; gap:26px;
    font-size:14px;
  }
  .live-total .label{ color:var(--text-dim); margin-right:8px; }
  .live-total .value{
    color:var(--text);
    font-weight:700;
    letter-spacing:.03em;
  }

  /* Вьюпорт карусели */
  .live-strip__viewport{
    position:relative;
    overflow:hidden;
    border-radius:calc(var(--radius) + 6px);
  }

  /* Трек */
  .live-track{
    display:flex;
    align-items:stretch;
    gap:18px;
    padding:14px 6px 6px;
    /* бесконечная прокрутка управляется JS, но fallback анимация пусть будет */
    will-change: transform;
  }

  /* Карточка */
  .live-card{
    flex:0 0 220px;
    color:var(--text);
    padding:12px 12px 14px;
    border-radius:var(--radius);
    background:
      linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
      linear-gradient(135deg, var(--ring-1), var(--ring-2)) border-box;
    border:1px solid transparent;
    position:relative;
  }
  .live-card__time{
    position:absolute;
    top:8px; left:12px;
    color:var(--text-dim);
    font-size:11px;
  }
  .live-card__frame{
    width:100%;
    height:108px;
    display:grid; place-items:center;
    margin-top:10px;
  }
  .live-card__frame img{
    max-width:100%;
    max-height:100%;
    display:block;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,.55));
  }
  .live-card__title{
    margin-top:8px;
    font-size:13px;
    color:var(--text);
    opacity:.9;
  }
  .live-card__price{
    margin-top:6px;
    font-size:14px;
    font-weight:800;
    color:var(--price);
  }

  /* Тонкие скроллбары (если потянешь вручную) */
  .live-strip__viewport::-webkit-scrollbar{ height:8px; }
  .live-strip__viewport::-webkit-scrollbar-thumb{
    background:#243343; border-radius:10px;
  }

  .container {
    display: flex;
    flex-direction: column;
}

.footer {
  background: rgba(28, 43, 49, 1);
  color: white;
  padding: 30px 20px;
  font-family: 'Tiny5', sans-serif;
  font-size: 13px;
  border-top: 4px solid #005792;
  margin-top: auto;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left {
  flex: 1;
  min-width: 250px;
  line-height: 1.6;
  user-select: text;
}

.footer-left a.footer-mail {
  color: #00aced;
  text-decoration: none;
  font-weight: bold;
}

.footer-left a.footer-mail:hover {
  text-decoration: underline;
}

.footer-links {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: row;
    gap: 8px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    flex-wrap: wrap;
}

.footer-links a {
  color: white;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 12px;
}

.footer-disclaimer {
  color: #aaa;
  font-style: italic;
  margin-bottom: 10px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 22px;
  margin-bottom: 10px;
}

.footer-social a {
  color: white;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #00aced;
}

.footer-copy {
  color: #999;
  font-size: 12px;
  margin-top: 5px;
}

.preloader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transition: 1s all;
    opacity: 1;
    visibility: visible;
    z-index: 999;
    background: rgba(18, 27, 34, 1);
}

.preloader .loader {
    width: 360px;
    height: 360px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: 2s pulse infinite ease-in-out;
}

.preloader.done {
    opacity: 0;
    visibility: hidden;
}

/* Адаптив для мобилки */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left,
  .footer-links {
    align-items: center;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
  }

  .footer-links a {
    font-size: 12px;
  }
}

  @media (max-width: 640px){
    .live-badge{ font-size:22px; }
    .live-card{ flex-basis:200px; }
  }
/* адаптив */
@media (max-width: 992px) {
  .main-content {
    flex-direction: column;
    text-align: center;
  }

  .right {
    margin-top: 40px;
    text-align: center;
  }

  .neon-text {
    top: 15%;
    left: 10%;
    max-width: 80%;
  }

  .neon-text h1 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .neon-text h1 {
    font-size: 1.6rem;
  }
  .features {
    flex-direction: column;
    gap: 20px;
  }
}

/* ====== NAMESPACE: .shop-page ====== */
.shop-page{max-width:1200px;margin:0 auto;padding:16px;background:transparent}
.shop-page .sp-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}

/* Search */
.shop-page .sp-controls{display:grid;gap:12px;margin-bottom:12px}
.shop-page .sp-search{
  position:relative;height:40px;border-radius:12px;
  background:linear-gradient(#121a24,#0e1620) padding-box,
             linear-gradient(90deg, rgba(0,187,255,.6), rgba(205,56,150,.6)) border-box;
  border:1px solid transparent;display:flex;align-items:center
}
.shop-page .sp-search input{
  width:100%;height:100%;background:transparent;border:0;outline:0;color:#fff;
  padding:0 42px 0 14px;font-size:14px;font-family:'Tilt Warp',sans-serif
}
.shop-page .sp-icon{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:transparent;border:0;color:#9fb2c5;cursor:pointer}

/* Tabs (games) */
.shop-page .sp-tabs{
  display:flex;gap:8px;padding:4px;border-radius:10px;
  background:linear-gradient(#121a24,#0f161d) padding-box,
             linear-gradient(90deg, rgba(0,187,255,.7), rgba(205,56,150,.7)) border-box;
  border:1px solid transparent
}
.shop-page .sp-tab{
  min-width:92px;padding:8px 12px;border-radius:8px;border:1px solid rgba(255,255,255,.18);
  background:#111924;color:#cfe1f4;cursor:pointer;font-family:'Tiny5',sans-serif;
  text-transform:uppercase;letter-spacing:.03em;font-size:16px
}
.shop-page .sp-tab.is-active{
  background:linear-gradient(#121a24,#0e1620) padding-box,
             linear-gradient(90deg, rgba(0,187,255,1), rgba(205,56,150,1)) border-box;
  border:1px solid transparent;color:#fff
}

/* Trade URL */
.shop-page .sp-tradeurl{
  display:flex;align-items:center;gap:8px;min-width:240px;flex:1;
  height:40px;padding:8px 10px;border-radius:10px;
  background:linear-gradient(#121a24,#0e1620) padding-box,
             linear-gradient(90deg, rgba(0,187,255,.6), rgba(205,56,150,.6)) border-box;
  border:1px solid transparent
}
.shop-page .sp-link-ico{color:#9fb2c5;display:grid;place-items:center}
.shop-page .sp-tradeurl input{flex:1;background:transparent;border:0;outline:0;color:#fff;font-family:'Tilt Warp',sans-serif}

/* Layout */
.shop-page .sp-body{display:grid;grid-template-columns:1fr 360px;gap:16px}
@media (max-width:980px){.shop-page .sp-body{grid-template-columns:1fr}.shop-page .sp-cart{order:-1}}

/* Catalog */
.shop-page .sp-catalog{
  border-radius:18px;overflow:hidden;
  background:linear-gradient(#0d1319,#0d1319) padding-box,
             linear-gradient(90deg, rgba(0,187,255,.8), rgba(205,56,150,.8)) border-box;
  border:1px solid transparent;display:flex;flex-direction:column
}
.shop-page .sp-grid{
  padding:12px;display:grid;gap:14px;overflow:auto;max-height:680px;
  grid-template-columns:repeat(3,minmax(180px,1fr))
}
@media (max-width:980px){.shop-page .sp-grid{grid-template-columns:repeat(2,minmax(160px,1fr));max-height:none}}
.shop-page .sp-catalog-footer{display:flex;justify-content:flex-end;padding:10px 12px;border-top:1px solid rgba(255,255,255,.08)}
.shop-page .sp-btn{
  padding:8px 14px;border-radius:10px;border:1px solid transparent;cursor:pointer;
  background:linear-gradient(#121a24,#0e1620) padding-box,
             linear-gradient(90deg, rgba(0,187,255,1), rgba(205,56,150,1)) border-box;
  color:#fff;font-family:'Tiny5',sans-serif;text-transform:uppercase
}

/* Item card */
.shop-page .sp-item{
  position:relative;border-radius:16px;padding:10px 10px 12px;color:#fff;
  background:linear-gradient(#101820,#0f161d) padding-box,
             linear-gradient(90deg, rgba(138,43,226,1), rgba(0,229,255,1)) border-box;
  border:1px solid transparent
}
.shop-page .sp-badge{position:absolute;top:8px;left:10px;font-size:10px;color:#9fb2c5}
.shop-page .sp-img{height:84px;display:grid;place-items:center;margin-top:8px}
.shop-page .sp-img img{max-width:100%;max-height:100%;filter:drop-shadow(0 8px 18px rgba(0,0,0,.55))}
.shop-page .sp-title{margin-top:8px;font-size:12px;opacity:.9}
.shop-page .sp-meta{display:flex;align-items:center;justify-content:space-between;margin-top:6px}
.shop-page .sp-price{font-weight:800;font-size:13px}
.shop-page .sp-actions{display:flex;gap:6px}
.shop-page .sp-ico-btn{
  width:26px;height:26px;border-radius:8px;border:1px solid #2a3b4f;background:#111924;color:#9fb2c5;display:grid;place-items:center;cursor:pointer
}
.shop-page .sp-ico-btn.add{border-color:#375a78}
.shop-page .sp-ico-btn:hover{color:#fff}

/* Cart */
.shop-page .sp-cart{
  border-radius:18px;padding:10px;display:flex;flex-direction:column;max-height:760px;
  background:linear-gradient(#0d1319,#0d1319) padding-box,
             linear-gradient(90deg, rgba(0,187,255,.8), rgba(205,56,150,.8)) border-box;
  border:1px solid transparent
}
.shop-page .sp-cart-head{text-align:center;font-weight:800;font-size:18px;margin-bottom:8px;font-family:'Tiny5',sans-serif}
@media (min-width:980px){.shop-page .sp-cart{position:sticky;top:12px}}
.shop-page .sp-cart-list{overflow:auto;flex:1;padding:6px;display:grid;gap:10px}
.shop-page .sp-cart-item{
  position:relative;border-radius:14px;padding:8px;display:grid;grid-template-columns:56px 1fr auto;gap:10px;align-items:center;
  background:linear-gradient(#101820,#0f161d) padding-box,
             linear-gradient(90deg, rgba(138,43,226,1), rgba(0,229,255,1)) border-box;
  border:1px solid transparent
}
.shop-page .sp-cart-item img{width:56px;height:56px;object-fit:contain;filter:drop-shadow(0 8px 18px rgba(0,0,0,.55))}
.shop-page .sp-cart-title{font-size:12px;opacity:.9}
.shop-page .sp-cart-price{font-weight:800}
.shop-page .sp-remove{
  position:absolute;top:6px;right:6px;width:20px;height:20px;border-radius:6px;border:1px solid #34495f;background:#111924;color:#9fb2c5;display:grid;place-items:center;cursor:pointer
}

.shop-page .sp-cart-meta{border-top:1px solid rgba(255,255,255,.08);padding-top:10px;margin-top:10px}
.shop-page .sp-meta-row{display:flex;align-items:center;justify-content:space-between;margin:6px 2px}
.shop-page .sp-meta-label{color:#9fb2c5;font-size:12px}
.shop-page .sp-meta-value{font-weight:700;font-size:12px}
.shop-page .sp-total{margin-top:10px}
.shop-page .sp-sum{display:flex;align-items:center;gap:4px;font-size:16px;font-weight:800}
.shop-page .sp-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#6dd99a;box-shadow:0 0 10px #6dd99a}

.shop-page .sp-buy{
  width:100%;height:56px;margin-top:10px;border-radius:28px;border:1px solid transparent;cursor:pointer;
  font-size:18px;font-weight:900;letter-spacing:.06em;color:#fff;font-family:'Tiny5',sans-serif;
  background:radial-gradient(120% 120% at 50% 50%, #00ffcc33 0%, #0000 60%) padding-box,
             linear-gradient(#1d2530,#0d141c) padding-box,
             linear-gradient(90deg, rgba(0,187,255,1), rgba(205,56,150,1)) border-box;
  transition:transform .06s ease
}
.shop-page .sp-buy:hover{transform:translateY(-1px)}
.shop-page .sp-tos{text-align:center;color:#9fb2c5;font-size:11px;margin-top:8px}
.shop-page .sp-tos a{text-decoration:underline}

/* ===== Contacts block (namespaced) ===== */
:root{
  --cnt-bg: rgba(18,27,34,1);
  --cnt-surface: #161c22;
  --cnt-text: #fff;
  --cnt-soft: rgba(255,255,255,.65);
  --cnt-border: rgba(255,255,255,.16);
  --cnt-glow1: #b66fff;
  --cnt-glow2: #48d1ff;
  --cnt-shadow: 0 0 60px rgba(0,0,0,.35);
}

.cnt-contacts{
  display:block;
  place-items: start center;
  padding: clamp(20px, 4vw, 48px) 16px 72px;
}
.cnt-wrap{
  max-width: 1100px;             
  width: 100%;
  margin-inline: auto; 
  display: flex;
  flex-direction: column;           
}

.cnt-title{
  display:inline-flex;
  margin: 12px auto 26px;
  padding: 8px 22px;
  font-family: 'Komika Axis', 'Tilt Warp', system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--cnt-text);
  position: relative;
  border-radius: 999px;
  border: 1px solid var(--cnt-border);
  background: radial-gradient(120% 100% at 50% 0%, rgba(255,255,255,.08), rgba(255,255,255,.02) 60%, transparent 100%);
  box-shadow:
    0 0 0 2px rgba(255,255,255,.02) inset,
    0 8px 40px rgba(0,0,0,.35),
    0 0 30px 0 rgba(182,111,255,.35);
}
.cnt-title span{
  filter: drop-shadow(0 0 14px rgba(182,111,255,.65));
}

/* card */
.cnt-card{
  position: relative;
  border-radius: 18px;
  padding: clamp(18px, 3.6vw, 34px);
  border: 1px solid var(--cnt-border);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02) 20%, rgba(255,255,255,.01) 100%),
    radial-gradient(100% 120% at 10% 0%, rgba(182,111,255,.08), transparent 60%),
    radial-gradient(100% 120% at 90% 10%, rgba(72,209,255,.08), transparent 60%);
  box-shadow: var(--cnt-shadow);
  overflow: hidden;
}
.cnt-card::before{
  content:"";
  position:absolute; inset:-1px;
  border-radius:18px;
  padding:1px;
  background: linear-gradient(135deg, rgba(182,111,255,.6), rgba(72,209,255,.6));
  -webkit-mask: linear-gradient(to right, transparent, black 50%, transparent);
  mask: linear-gradient(to right, transparent, black 50%, transparent);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events:none;
  opacity:.35;
}

.cnt-lead{
  text-align:center;
  color: var(--cnt-soft);
  line-height: 1.5;
  margin-bottom: 14px;
}

.cnt-mail{
  --h: clamp(36px, 5vw, 48px);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-width: min(560px, 100%);
  height: var(--h);
  margin: 0 auto 18px;
  padding: 0 18px;
  font-family: 'Komika Axis', 'Tilt Warp', sans-serif;
  letter-spacing:.06em;
  color:#fff;
  background:
    radial-gradient(120% 200% at 0% 0%, rgba(182,111,255,.25), transparent 50%),
    radial-gradient(120% 200% at 100% 0%, rgba(72,209,255,.25), transparent 50%),
    rgba(255,255,255,.05);
  border:1px solid var(--cnt-border);
  border-radius: 999px;
  cursor: copy;
  position: relative;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,.25), 0 0 24px rgba(182,111,255,.25) inset;
}
.cnt-mail:focus-visible,
.cnt-mail:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.28); }
.cnt-mail-text{ text-shadow: 0 0 18px rgba(182,111,255,.65); }
.cnt-mail-copied{
  position:absolute; inset:auto 12px 50% auto;
  transform: translateY(10px);
  font-size:12px; opacity:0;
  transition: opacity .2s ease, transform .2s ease;
  color:#B6A8FF;
}
.cnt-mail.is-copied .cnt-mail-copied{ opacity:1; transform: translateY(0); }

.cnt-subtitle{
  margin: 10px 0 8px;
  text-align:center;
  font-weight:600;
  font-size: clamp(18px, 2.6vw, 22px);
}
.cnt-subtitle.sm{ font-size: clamp(16px, 2.2vw, 18px); }

.cnt-note{
  text-align:center;
  color: var(--cnt-soft);
  margin-bottom: 16px;
}

.cnt-actions{
  display:flex;
  justify-content:center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.cnt-btn{
  --h: 40px;
  display:inline-flex; align-items:center; gap:8px;
  height: var(--h);
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--cnt-border);
  background: rgba(255,255,255,.04);
  color:#fff;
  font-weight:600;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.cnt-btn:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.25);}
.cnt-btn--tg{ box-shadow: 0 0 20px rgba(72,209,255,.25) inset; }
.cnt-ic{ width:18px; height:18px; fill: currentColor; opacity:.9; }

.cnt-subscribe{
  margin-top: 16px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255,255,255,.08);
}
.cnt-dots{
  display:flex; gap:10px; justify-content:center; margin-top:10px;
}
.cnt-dot{
  --s: 24px;
  width: var(--s); height: var(--s);
  border-radius: 50%;
  border:1px solid var(--cnt-border);
  background:
    radial-gradient(140% 120% at 30% 20%, rgba(182,111,255,.35), transparent 60%),
    rgba(255,255,255,.03);
  box-shadow: 0 0 16px rgba(182,111,255,.25) inset;
  transition: transform .15s ease, border-color .2s ease, box-shadow .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.cnt-dot svg{
  width: 60%;
  height: 60%;
  fill: rgba(255,255,255,.9);
  transition: transform .15s ease, opacity .2s ease;
}

.cnt-dot:hover svg{ transform: translateY(-1px) scale(1.05); opacity: 1; }

/* Responsive tweaks */
@media (max-width: 640px){
  .cnt-mail{ min-width: 100%; font-size: 14px; }
}

/* === CONTACTS: фикс центровки и иконок === */

/* сам контейнер страницы */
.cnt-contacts{
  display:block;                /* блок, без грида */
  padding: clamp(20px, 4vw, 48px) 16px 72px;
}

/* центрируем внутренность и даём боковые поля */
.cnt-wrap{
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;               /* <-- центровка */
  padding-inline: 16px;         /* небольшой внутренний отступ по бокам */
}

/* капсула с почтой: делаем блочной и задаём ширину, чтобы margin:auto сработал */
.cnt-mail{
  display: flex;                /* было inline-flex — из-за этого не центрировалось */
  width: clamp(280px, 60vw, 560px); /* вместо min-width */
  margin: 0 auto 18px;          /* центр */
}

/* на всякий случай центр заголовка-кнопки сверху */
.cnt-title{ margin-left:auto; margin-right:auto; }

/* иконки в точках — гарантируем отрисовку и поверх фона */
.cnt-dot{ position: relative; overflow: visible; }
.cnt-dot svg{
  display: block;
  width: 60%;
  height: 60%;
  fill: rgba(255,255,255,.95);
  z-index: 1;
}

/* лёгкая подстраховка: если вдруг у .cnt-card текст выравнивался не по центру */
.cnt-card{ text-align: center; }
.cnt-actions{ justify-content: center; }
main.cnt-contacts{ margin: 0 auto; max-width: 1200px; }

/* === CONTACTS: force-show social icons === */
.cnt-dot{
  --s: 28px;
  width: var(--s);
  height: var(--s);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;               /* не даём схлопываться по baseline */
}

.cnt-dot svg{
  display: block !important;    /* перебиваем возможные глобальные правила */
  width: 68% !important;
  height: 68% !important;
  pointer-events: none;
}

.cnt-dot svg, 
.cnt-dot svg path,
.cnt-dot svg *{
  fill: #fff !important;        /* фикс на случай переопределений цвета */
  stroke: none !important;
}

/* === CONTACT FORM === */
.cnt-form{
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,.08);
}

.cnt-form__body{
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.cnt-field input,
.cnt-field textarea{
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background:
    linear-gradient(#0f161d, #121a24) padding-box,
    linear-gradient(135deg, rgba(182,111,255,.4), rgba(72,209,255,.4)) border-box;
  border: 1px solid transparent;
  color: #fff;
  font-family: 'Tilt Warp', sans-serif;
  font-size: 14px;
  resize: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.cnt-field input:focus,
.cnt-field textarea:focus{
  outline: none;
  border-color: rgba(182,111,255,.6);
  box-shadow: 0 0 12px rgba(182,111,255,.35);
}

/* кнопка отправки */
.cnt-btn--send{
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  background:
    linear-gradient(90deg, rgba(0,187,255,.7), rgba(205,56,150,.7));
  border: none;
  border-radius: 14px;
  height: 46px;
  cursor: pointer;
}
.cnt-btn--send:hover{
  background: linear-gradient(90deg, rgba(0,187,255,1), rgba(205,56,150,1));
}

/* ===== FEEDBACKS SECTION (scoped) ===== */
.feedbacks {
  --bg: #0f161c;
  --card: #121b22;
  --card-2: #0e151b;
  --text: #eaf2ff;
  --muted: #9fb3c8;
  --accent: #6fd0ff;
  --accent-2: #9a78ff;
  --ok: #7CFFCC;
  --star: #ffd166;
  --ring: 0 0 0 1px rgba(255,255,255,.05) inset;
  padding: clamp(28px, 5vw, 56px) 16px 72px;
  max-width: 1400px;
  margin: 0 auto;
}

.feedbacks * { box-sizing: border-box; }

.feedbacks__head{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: clamp(16px, 4vw, 48px);
  margin-bottom: clamp(22px, 4vw, 36px);
}

.feedbacks__stats{
  text-align:center;
  color: var(--text);
  font-family: 'Tilt Warp', system-ui, sans-serif;
}
.feedbacks__count{ font-size:14px; opacity:.9; letter-spacing:.3px; }
.feedbacks__rate{ font-size:16px; margin-top:2px; }
.feedbacks__stars{
  display:flex; gap:6px; margin-top:6px; justify-content:center;
  filter: drop-shadow(0 0 6px rgba(255, 209, 102, .25));
}
.feedbacks__stars .star{
  width:18px; height:18px; fill: var(--star);
}

/* Neon pill */
.feedbacks__badge{
  position:relative;
  isolation:isolate;
  padding:10px 22px;
  border-radius:999px;
  background: radial-gradient(120% 120% at 10% 10%, rgba(159,120,255,.35), transparent 45%),
              radial-gradient(120% 120% at 90% 90%, rgba(111,208,255,.35), transparent 45%),
              linear-gradient(180deg, #121b22, #0e151b);
  box-shadow:
    0 0 0 2px rgba(255,255,255,.05) inset,
    0 8px 24px rgba(154,120,255,.25),
    0 -8px 24px rgba(111,208,255,.25);
}
.feedbacks__badge span{
  display:block; font-family:'Komika Axis','Tilt Warp',sans-serif;
  letter-spacing:1px; color:#fff; font-size:22px;
  text-shadow:
     0 0 6px rgba(159,120,255,.6),
     0 0 12px rgba(111,208,255,.6);
}

/* Grid */
.feedbacks__grid{
  display:grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 28px clamp(16px, 2vw, 24px);
  align-items:start;
}
@media (max-width: 1200px){
  .feedbacks__grid{ grid-template-columns: repeat(4, minmax(220px, 1fr)); }
}
@media (max-width: 992px){
  .feedbacks__grid{ grid-template-columns: repeat(3, minmax(220px, 1fr)); }
}
@media (max-width: 720px){
  .feedbacks__head{ flex-direction:column-reverse; }
  .feedbacks__grid{ grid-template-columns: repeat(2, minmax(200px, 1fr)); }
}
@media (max-width: 460px){
  .feedbacks__grid{ grid-template-columns: 1fr; }
}

/* Card */
.feedback-card{
  position:relative;
  background:
      linear-gradient(180deg, var(--card), var(--card-2));
  border-radius:16px;
  padding:14px 14px 16px;
  color:var(--text);
  box-shadow:
     var(--ring),
     0 12px 40px rgba(0,0,0,.35);
  min-height: 150px;
  /* reflection */
  -webkit-box-reflect: below 14px
    linear-gradient(transparent, rgba(0,0,0,.1) 15%, rgba(0,0,0,.5));
}

/* Header inside card */
.feedback-card__top{
  display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:10px;
}
.feedback-card__user{
  display:flex; align-items:center; gap:10px;
}
.feedback-card__ava{
  width:28px; height:28px; border-radius:50%;
  background: linear-gradient(135deg, #9a78ff, #6fd0ff);
  display:grid; place-items:center; color:#0e151b; font-weight:700; font-size:14px;
  box-shadow: 0 0 0 2px rgba(255,255,255,.07) inset;
  flex:0 0 28px;
}
.feedback-card__name{
  font-size:12px; color:#d9e8ff; letter-spacing:.2px;
}
.feedback-card__rate{
  font-size:12px; color:#d9e8ff; opacity:.95; display:flex; align-items:center; gap:4px;
}
.feedback-card__rate .tiny-star{
  width:12px; height:12px; fill: var(--star);
}

/* Body text */
.feedback-card__text{
  font-size:11px; line-height:1.4; color:var(--muted);
}

/* subtle border glow */
.feedback-card:before{
  content:"";
  position:absolute; inset:-1px;
  border-radius:17px;
  background: linear-gradient(135deg, rgba(159,120,255,.35), rgba(111,208,255,.35));
  filter: blur(18px); opacity:.35; z-index:-1;
}

/* hover */
@media (hover:hover){
  .feedback-card{ transition: transform .2s ease, box-shadow .2s ease; }
  .feedback-card:hover{
    transform: translateY(-2px);
    box-shadow: var(--ring), 0 16px 44px rgba(0,0,0,.45);
  }
}

/* ----- FEEDBACKS LAYOUT FIX ----- */
.feedbacks {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(32px, 6vw, 72px);
  margin-bottom: clamp(32px, 6vw, 96px); /* гарантированный зазор над крутилкой */
}

/* горизонтальная полоса со скроллом */
.feedbacks__scroller {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 24px;
  padding-bottom: 18px;
  mask-image: linear-gradient(to right, transparent 0, black 28px, black calc(100% - 28px), transparent 100%);
}

/* грид-карточки превращаем в «ленточные» */
.feedbacks__grid {
  display: contents; /* больше не используем grid-раскладку — её делает scroller */
}

.feedback-card {
  scroll-snap-align: start;
  min-width: 260px;
  max-width: 320px;
}

/* на узких экранах карточки остаются удобочитаемыми */
@media (max-width: 480px){
  .feedback-card { min-width: 88vw; }
}

/* мягче отражение, чтобы не задевать нижний блок визуально */
.feedback-card{
  -webkit-box-reflect: below 10px
     linear-gradient(transparent, rgba(0,0,0,.08) 12%, rgba(0,0,0,.35) 38%, rgba(0,0,0,.55) 65%);
}

.fb-form{ margin-top: 28px; display: grid; gap: 12px; }
.fb-form__row{ display: grid; grid-template-columns: 1fr 140px; gap: 12px; }
@media (max-width:560px){ .fb-form__row{ grid-template-columns: 1fr; } }
.fb-input{
  background: linear-gradient(180deg, #121b22, #0e151b);
  border-radius: 12px; border: 1px solid rgba(255,255,255,.06);
  color: #eaf2ff; padding: 12px 14px; outline: none;
}
.fb-input::placeholder{ color:#9fb3c8; opacity:.7; }
.fb-btn{
  justify-self: start;
  padding: 10px 16px; border-radius: 999px; border: 0; cursor:pointer;
  background: radial-gradient(120% 120% at 10% 10%, rgba(159,120,255,.35), transparent 45%),
              radial-gradient(120% 120% at 90% 90%, rgba(111,208,255,.35), transparent 45%),
              linear-gradient(180deg, #121b22, #0e151b);
  color:#fff; font-weight:600; letter-spacing:.3px;
  box-shadow: 0 8px 24px rgba(154,120,255,.25), 0 -8px 24px rgba(111,208,255,.25), 0 0 0 2px rgba(255,255,255,.05) inset;
}
.fb-hint{ font-size: 12px; color:#9fb3c8; opacity:.8; }

/* ========= RATING DROPDOWN ========= */
.rating {
  position: relative;
  width: 100%;
  font-family: 'Tilt Warp', system-ui, sans-serif;
}
.rating__btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px;
  border-radius: 12px; border: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, #121b22, #0e151b);
  color: #eaf2ff; cursor: pointer;
  box-shadow: 0 0 0 2px rgba(255,255,255,.05) inset;
}
.rating__btn:focus-visible { outline: 2px solid rgba(159,120,255,.6); outline-offset: 2px; }
.rating__label { opacity:.9 }
.rating__value { display:flex; align-items:center; gap:8px; margin-left:auto; }
.rating__star { width:16px; height:16px; fill:#ffd166; filter: drop-shadow(0 0 6px rgba(255,209,102,.25)); }
.rating__chev { width:16px; height:16px; opacity:.7; transform: rotate(0deg); transition: transform .15s ease; }
.rating.open .rating__chev { transform: rotate(180deg); }

.rating__list {
  position: absolute; left:0; right:0; top: calc(100% + 6px); z-index: 20;
  background: linear-gradient(180deg, #121b22, #0e151b);
  border: 1px solid rgba(255,255,255,.08); border-radius: 12px;
  padding: 6px; display: none;
  box-shadow:
    0 8px 24px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,255,255,.04) inset;
}
.rating.open .rating__list { display:block; }

.rating__opt {
  display:flex; align-items:center; gap:10px;
  padding:10px; border-radius:10px; cursor:pointer; color:#eaf2ff;
}
.rating__opt .rating__opt-text { opacity:.9; }
.rating__opt .rating__opt-sub { color:#9fb3c8; opacity:.85; font-size:12px; margin-left:auto; }
.rating__opt:focus-visible { outline:2px solid rgba(159,120,255,.6); outline-offset:2px; }
@media (hover:hover){
  .rating__opt:hover { background: rgba(255,255,255,.05); }
}

.rating__hidden { display:none; }

/* ========= TOASTS ========= */
.toasts {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: grid; gap: 10px; z-index: 9999; pointer-events: none;
}
.toast {
  min-width: 260px; max-width: 90vw;
  background: linear-gradient(180deg, #121b22, #0e151b);
  border: 1px solid rgba(255,255,255,.08);
  color:#eaf2ff; border-radius:14px; padding:12px 14px;
  display:flex; align-items:center; gap:10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.45), 0 0 0 2px rgba(255,255,255,.05) inset;
  transform: translateY(20px); opacity: 0;
  animation: toast-in .2s ease forwards;
  pointer-events:auto;
}
.toast__icon { width:16px; height:16px; opacity:.9; }
.toast--success { box-shadow: 0 0 24px rgba(124,255,204,.25), 0 8px 24px rgba(0,0,0,.45), 0 0 0 2px rgba(255,255,255,.05) inset; }
.toast--error   { box-shadow: 0 0 24px rgba(255,120,120,.3), 0 8px 24px rgba(0,0,0,.45), 0 0 0 2px rgba(255,255,255,.05) inset; }
.toast--info    { box-shadow: 0 0 24px rgba(159,120,255,.25), 0 8px 24px rgba(0,0,0,.45), 0 0 0 2px rgba(255,255,255,.05) inset; }
@keyframes toast-in { to { transform: translateY(0); opacity: 1; } }
@keyframes toast-out { to { transform: translateY(20px); opacity: 0; } }

/* === Auth chip (вписывается в текущий header) === */
.profile_chip{
  display:flex; align-items:center; gap:12px; position:relative;
}
.chip_close{
  position:absolute; left:-10px; top:-8px;
  width:22px; height:22px; border-radius:50%;
  background:#111a21; color:#fff; text-align:center; line-height:22px;
  font-weight:800; text-decoration:none;
  border:1px solid rgba(255,255,255,.25);
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.chip_ava{
  width:44px; height:44px; border-radius:50%;
  padding:2px;
  background:
    radial-gradient(120% 120% at 0% 0%, #cd3896 0%, rgba(205,56,150,0) 70%),
    radial-gradient(120% 120% at 100% 100%, #00bbff 0%, rgba(0,187,255,0) 70%),
    #0e161c;
}
.chip_ava img{
  width:100%; height:100%; object-fit:cover; border-radius:50%; display:block;
}
.chip_meta{ display:flex; flex-direction:column; gap:6px; }
.chip_name{ color:#fff; font-weight:800; line-height:1; }
.chip_badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 12px; border-radius:14px;
  background: rgba(255,255,255,0.06);
  border:1px solid transparent;
  background-image:
    linear-gradient(rgba(18,27,34,0.9), rgba(18,27,34,0.9)),
    linear-gradient(90deg, rgba(0,187,255,1), rgba(205,56,150,1));
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
.chip_amount{ font-weight:900; color:#fff; }
.chip_currency{
  width:22px; height:22px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  background:#0e2a16; color:#6dd99a; font-weight:900;
}

/* На очень узких экранах слегка ужимаем */
@media (max-width: 520px){
  .chip_name{ font-size:14px; }
  .chip_badge{ padding:4px 10px; }
  .chip_ava{ width:38px; height:38px; }
}

/* PROFILE */

.profile-wrap{ max-width: 1100px; margin: 24px auto; padding: 0 12px; }
.profile-card{
  border:1px solid rgba(255,255,255,.35);
  border-radius:18px; padding:16px; background:rgba(18,27,34,.35);
}
.profile-title{
  display:inline-block; margin:-34px auto 12px; padding:6px 18px;
  border-radius:18px; font-family:'Tiny5',sans-serif; font-size:28px; color:#fff;
  background-image:
   linear-gradient(#121b22,#121b22),
   linear-gradient(90deg, rgba(0,187,255,1), rgba(205,56,150,1));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border:1px solid transparent;
}

.profile-head{ display:flex; gap:18px; justify-content:space-between; align-items:stretch; }
.ph-left{ display:flex; gap:12px; align-items:center; }
.ph-ava{ width:56px; height:56px; border-radius:50%; padding:2px;
  background:
    radial-gradient(120% 120% at 0% 0%, #cd3896 0%, rgba(205,56,150,0) 70%),
    radial-gradient(120% 120% at 100% 100%, #00bbff 0%, rgba(0,187,255,0) 70%),
    #0e161c;
}
.ph-ava img{ width:100%; height:100%; object-fit:cover; border-radius:50%; }
.ph-meta{ display:flex; flex-direction:column; gap:8px; }
.ph-name{ color:#fff; font-weight:800; }
.ph-badge{
  display:inline-flex; align-items:center; gap:8px; padding:6px 12px; border-radius:14px;
  background-image:
    linear-gradient(rgba(18,27,34,0.9), rgba(18,27,34,0.9)),
    linear-gradient(90deg, rgba(0,187,255,1), rgba(205,56,150,1));
  background-origin: border-box; background-clip: padding-box, border-box; border:1px solid transparent;
}
.ph-currency{ width:22px;height:22px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#0e2a16;color:#6dd99a;font-weight:900; }

.ph-right{ display:flex; flex-direction:column; gap:8px; width:520px; max-width:100%; }
.ph-row{ display:flex; gap:8px; }
.ph-input{
  flex:1; padding:10px 12px; border-radius:14px; outline:none; color:#fff;
  border:1px solid rgba(255,255,255,.35); background:transparent;
}
.ph-save,.ph-edit{
  padding:10px 14px; border-radius:14px; color:#fff; font-weight:700; border:1px solid rgba(255,255,255,.6);
  background: linear-gradient(90deg, rgba(0,187,255,.7), rgba(205,56,150,.7));
  cursor:pointer;
}
.ph-row.selects .select { flex:1; }
.ph-row.selects select{
  width:100%; padding:10px 12px; border-radius:14px; color:#fff; background:#0e161c; border:1px solid rgba(255,255,255,.3);
}

.tabs{ display:flex; gap:8px; margin:14px 0; }
.tab-btn{ padding:8px 12px; border-radius:10px; border:1px solid rgba(255,255,255,.35); color:#fff; background:transparent; cursor:pointer; }
.tab-btn.active{ background:rgba(255,255,255,.06); }

.tab-panel{ display:none; }
.tab-panel.active{ display:block; }

.prof-table{ width:100%; border-collapse:separate; border-spacing:0; color:#fff; }
.prof-table thead th{
  text-align:left; padding:10px; border-bottom:1px solid rgba(0,187,255,.6);
}
.prof-table tbody td{ padding:12px 10px; border-bottom:1px solid rgba(255,255,255,.1); }

.toast{ position:fixed; left:50%; bottom:20px; transform:translateX(-50%); padding:10px 14px; border-radius:12px; color:#fff; opacity:0; transition:all .3s; border:1px solid rgba(255,255,255,.3); background:#0f171d; }
.toast.show{ opacity:1; bottom:28px; }
.toast.err{ border-color:#ff6b6b; }
@media (max-width: 680px){
  .profile-head{ flex-direction:column; align-items:flex-start; }
}

.profile_chip{ position:relative; display:flex; align-items:center; }
.profile_link{ display:flex; align-items:center; gap:12px; text-decoration:none; color:inherit; }
.chip_close{ position:absolute; left:-10px; top:-8px; z-index:2; }

.burger{ display:none; }             
.mm_backdrop{ display:none; }         
.mobile_menu{ display:none; }         

/* карточка не выплёскивается и ничего не перекрывает соседей */
.shop-page .sp-item{ overflow: hidden; }

/* картинка не ловит клики и не блокирует кнопки сверху */
.shop-page .sp-img img{ pointer-events: none; }

/* размер и центрирование, чтобы не «прыгало» */
.shop-page .sp-img{ height: 120px; }          /* было 84px — маловато для длинных моделей */
@media (max-width:980px){ .shop-page .sp-img{ height: 100px; } }
.shop-page .sp-img img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* кнопкам даём приоритет по z-index на всякий */
.shop-page .sp-meta{ position: relative; z-index: 2; }

/* дефолт */
.shop-page .sp-item{
  /* ...как у тебя */
  background:
    linear-gradient(#101820,#0f161d) padding-box,
    linear-gradient(90deg, rgba(138,43,226,1), rgba(0,229,255,1)) border-box;
}

/* если пришёл цвет из Steam */
.shop-page .sp-item[style*="--sp-accent"]{
  background:
    linear-gradient(#101820,#0f161d) padding-box,
    linear-gradient(90deg, var(--sp-accent), rgba(0,229,255,1)) border-box;
}

/* ====== MODAL ====== */
.sp-modal{position:fixed;inset:0;display:block}
.sp-modal[hidden]{display:none}
.sp-modal__backdrop{position:absolute;inset:0;background:#0008;backdrop-filter:blur(4px)}
.sp-modal__dialog{
  position:absolute;inset:6% 8%;border-radius:18px;overflow:hidden;
  background:linear-gradient(#0d1319,#0d1319) padding-box,
             linear-gradient(90deg, rgba(0,187,255,.8), rgba(205,56,150,.8)) border-box;
  border:1px solid transparent;box-shadow:0 20px 60px #0009;color:#fff
}
.sp-modal__close{position:absolute;top:10px;right:10px;z-index:2;
  width:34px;height:34px;border-radius:10px;border:1px solid #314357;background:#111924;color:#9fb2c5;cursor:pointer}
.sp-modal__body{padding:16px;overflow:auto;height:100%}

.item-view{display:grid;grid-template-columns:1.1fr 1fr;gap:16px}
@media (max-width:1024px){.item-view{grid-template-columns:1fr}}
.item-canvas{height:360px;background:#0f1720;border-radius:12px;display:grid;place-items:center}
.item-canvas img{width:100%;height:100%;object-fit:contain;pointer-events:none}
.iv-title{font-size:28px;font-weight:900;margin-bottom:6px}
.iv-meta{color:#9fb2c5;margin-bottom:8px}
.iv-price{font-size:24px;font-weight:900;margin-bottom:10px}
.iv-steam{display:inline-block;margin-bottom:12px;text-decoration:underline;color:#9fd0ff}
.iv-desc{font-size:14px;line-height:1.5;color:#cfe1f4}

.iv-rel-head{margin:16px 0 8px;font-size:18px}
.iv-rel-grid{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));gap:12px}
@media (max-width:1200px){.iv-rel-grid{grid-template-columns:repeat(3,minmax(120px,1fr))}}
.iv-rel-card{border-radius:12px;padding:8px;background:#0f161d;border:1px solid #284058;display:grid;gap:6px}
.iv-rel-card img{width:100%;height:100px;object-fit:contain}
.iv-rel-title{font-size:12px}
.iv-rel-price{font-weight:800}

/* live-strip */
.live-strip {
  overflow: hidden;
  position: relative;
}

.live-track {
  display: flex;
  gap: 12px;
  will-change: transform;
}

.live-card {
  flex: 0 0 140px; /* фиксированная ширина карточки */
  border-radius: 12px;
  padding: 6px;
  background: linear-gradient(#101820,#0f161d) padding-box,
              linear-gradient(90deg, rgba(138,43,226,1), rgba(0,229,255,1)) border-box;
  border: 1px solid transparent;
  font-size: 12px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.live-card__time {
  font-size: 10px;
  color: #9fb2c5;
  margin-bottom: 4px;
}

.live-card__frame {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.live-card__frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.5));
}

.live-card__title {
  margin-top: 4px;
  font-size: 11px;
  opacity: .9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.live-card__price {
  margin-top: 2px;
  font-weight: 700;
  font-size: 12px;
}

/* admin button in chip */
.chip_admin{
  display:inline-flex;align-items:center;gap:6px;
  margin-left:10px;padding:6px 10px;border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,160,255,.10);text-decoration:none;color:#fff;
  font-size:12px;line-height:1;transition:.2s;
}
.chip_admin:hover{background:rgba(0,160,255,.18);border-color:rgba(0,160,255,.3)}
.chip_admin_ic{width:16px;height:16px;fill:#fff;opacity:.9}

/* mobile admin link */
.mm_admin{
  display:flex;align-items:center;gap:8px;margin-top:10px;
  padding:10px 12px;border:1px solid rgba(255,255,255,.12);
  border-radius:12px;background:rgba(255,255,255,.04);color:#fff;text-decoration:none;
}
.mm_admin svg{width:18px;height:18px;fill:#fff;opacity:.9}
.mm_admin:hover{background:rgba(255,255,255,.08)}

.ph-admin-btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:10px 12px;border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,160,255,.10);color:#fff;text-decoration:none;
}
.ph-admin-btn:hover{background:rgba(0,160,255,.18);border-color:rgba(0,160,255,.3)}
.ph-admin-btn svg{width:18px;height:18px;fill:#fff;opacity:.9}

.lang-switch { position: relative; margin-left: 12px; color: white;}
.lang-switch__btn {
  display:flex; align-items:center; gap:8px; padding:8px 10px;
  border:1px solid rgba(255,255,255,.15);    color: white; border-radius:10px; background:rgba(0,0,0,.3);
  backdrop-filter: blur(6px); cursor:pointer; line-height:1;
}
.lang-switch__btn:hover{ border-color:rgba(255,255,255,.3); }
.lang-switch__menu{
  position:absolute; right:0; top:calc(100% + 8px); min-width:160px; padding:8px;
  background:rgba(12,14,20,.95); border:1px solid rgba(255,255,255,.1); border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,.4); display:none; z-index:1000;
}
.lang-switch__menu.show{ display:block; }
.lang-option{
  width:100%; display:flex; align-items:center; gap:10px; padding:8px 10px; border-radius:10px;
  background:transparent; border:0; color:#fff; text-align:left; cursor:pointer;
}
.lang-option:hover{ background:rgba(255,255,255,.06); }
.lang-flag{
  width:18px; height:18px; border-radius:3px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2);
  background: #999;
}
/* Простой флаг-градиент без внешних ассетов */
.lang-flag[data-lang="en"] {
  background: url('/assets/flags/gb.svg') no-repeat center/cover;
}
.lang-flag[data-lang="de"]{ background: linear-gradient(#000 33%,#dd0000 33% 66%,#ffce00 66%); }
.lang-flag[data-lang="nl"]{ background: linear-gradient(#ae1c28 33%,#fff 33% 66%,#21468b 66%); }
.lang-switch .chev{ opacity:.7; }
@media (max-width: 480px){
  .lang-switch__btn{ padding:6px 8px; }
  .lang-switch__menu{ right: auto; left: 0; }
}

/* --- spinner keyframes --- */
@keyframes spSpin { to { transform: rotate(360deg); } }

/* --- overlay loader поверх #spGrid --- */
#spGrid { position: relative; }
#spGrid.is-loading::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(10,14,24,.55);
  backdrop-filter: blur(1px);
  z-index: 5;
}
#spGrid.is-loading::before {
  content: "";
  position: absolute; z-index: 6;
  top: 50%; left: 50%;
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.3);
  border-top-color: #4CAF50;
  animation: spSpin .8s linear infinite;
}

/* --- мини-спиннер прямо в кнопке --- */
.sp-btn, .sp-ico-btn { position: relative; }
.sp-btn.is-loading, .sp-ico-btn.is-loading {
  pointer-events: none; opacity: .85;
}
.sp-btn.is-loading::after, .sp-ico-btn.is-loading::after {
  content: "";
  position: absolute; inset: 0; margin: auto;
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(0,0,0,.15);
  border-top-color: currentColor;
  animation: spSpin .8s linear infinite;
}
.sp-btn.is-loading > *, .sp-ico-btn.is-loading > * {
  visibility: hidden;
}

.sp-pager{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin:12px 0}
.sp-page{min-width:32px;height:32px;padding:0 8px;border:1px solid #ddd;border-radius:8px;background:#fafafa;cursor:pointer;display:flex;align-items:center;justify-content:center}
.sp-page.is-active{background:#4CAF50;color:#fff;border-color:#4CAF50;cursor:default}
.sp-page:disabled{opacity:.5;cursor:not-allowed}

/* Блок поля */
.sp-field{margin-bottom:12px}
.sp-label{
  display:block;
  font-size:12px;
  color:#b8c2d9;
  margin:0 0 6px;
  letter-spacing:.02em;
}

/* Обёртка селекта для стрелки */
.sp-select-wrap{position:relative}
.sp-select-wrap::after{
  content:'▾';
  position:absolute; right:12px; top:50%; transform:translateY(-50%);
  pointer-events:none; color:#8ea0c0; font-size:12px;
}

/* Сам селект */
.sp-select{
  width:100%;
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  background:#111826;              /* фон, как у остальных инпутов */
  border:1px solid #2a3446;        /* рамка */
  color:#e6eeff;                   /* текст */
  padding:10px 36px 10px 12px;     /* справа место под стрелку */
  border-radius:10px;
  font:600 14px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial;
  transition:border-color .15s, box-shadow .15s, background .15s;
}
.sp-select:hover{ border-color:#3a4761; }
.sp-select:focus{
  outline:none;
  border-color:#5b78ff;
  box-shadow:0 0 0 3px rgba(91,120,255,.18);
}
.sp-select:disabled{
  opacity:.6; cursor:not-allowed;
}

/* Тёмная панель фильтров — выравниваем отступы */
.sp-filters .sp-field:last-child{margin-bottom:0}

/* Адаптив: на узких — растягиваем на всю ширину */
@media (max-width: 640px){
  .sp-select{ font-size:13px; padding:10px 34px 10px 12px; }
}

/* ---- Currency compact ---- */
.sp-currency{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;                /* компактный блок, не растягивается */
}

.sp-cur-label{
  font-size:12px;
  color:#b8c2d9;
  letter-spacing:.02em;
  user-select:none;
}

.sp-cur-wrap{ position:relative; }

.sp-cur-wrap::after{
  content:'▾';
  position:absolute; right:10px; top:50%; transform:translateY(-50%);
  color:#8ea0c0; font-size:12px; pointer-events:none;
}

.sp-cur-select{
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  height:36px; line-height:34px;
  padding:0 28px 0 10px;
  background:#111826;
  border:1px solid #2a3446;
  border-radius:8px;
  color:#e6eeff;
  font:600 13px/1 system-ui,-apple-system,Segoe UI,Roboto,Arial;
  transition:border-color .15s, box-shadow .15s, background .15s;
}
.sp-cur-select:hover{ border-color:#3a4761; }
.sp-cur-select:focus{
  outline:none; border-color:#5b78ff;
  box-shadow:0 0 0 3px rgba(91,120,255,.18);
}

/* Правильная линия в верхней строке */
.sp-controls .sp-row{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

/* На узких экранах прячем подпись и оставляем только селект */
@media (max-width: 860px){
  .sp-cur-label{ display:none; }
}
/* Если места совсем мало — уводим блок валюты вправо */
@media (max-width: 560px){
  .sp-currency{ margin-left:auto; }
  
.sp-item{ cursor: pointer; }
.sp-item .sp-actions .sp-ico-btn{ cursor: pointer; }