/* Свои детали магазина поверх системы оформления VPN Bot. Только токены — никаких цветов «по месту». */

.uc-hero { padding: 18px 18px 16px; margin-bottom: 4px; }
.uc-hero__name { font: 800 22px/1.15 Geist, var(--font); letter-spacing: -0.02em; }
.uc-hero__sub { margin-top: 6px; color: var(--fg-2); font-size: 14px; line-height: 1.4; }
.uc-hero__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* Главная витрины — карточка в цвет акцента, как «деньги» на главной панели SORRY: свечение из угла, тонкая сетка,
   надпись-«бровь» моноширинным, крупное название и плашки-факты со значком, без точек-индикаторов */
.uc-hero--shop { position: relative; overflow: hidden; padding: 20px 20px 18px; border-radius: var(--r-card, 22px);
  border: 1px solid var(--accent-line);
  background:
    radial-gradient(120% 110% at 100% 0%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 62%),
    linear-gradient(155deg, color-mix(in srgb, var(--accent) 16%, var(--card, var(--bg-2))), var(--card, var(--bg-2))); }
.uc-hero--shop::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(color-mix(in srgb, var(--accent) 10%, transparent) 1px, transparent 1px),
                    linear-gradient(90deg, color-mix(in srgb, var(--accent) 10%, transparent) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(200deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(200deg, #000, transparent 70%); }
.uc-hero--shop > * { position: relative; }
.uc-hero__eyebrow { display: inline-flex; align-items: center; gap: 6px; font: 600 11.5px/1 var(--mono); letter-spacing: .14em;
  text-transform: uppercase; color: color-mix(in srgb, var(--accent) 75%, var(--fg-2)); }
.uc-hero--shop .uc-hero__name { margin-top: 12px; font-size: clamp(26px, 8vw, 34px); letter-spacing: -0.035em; }
.uc-hero--shop .uc-hero__sub { font-size: 14.5px; max-width: 34ch; }
/* Две плашки помещаются в строку на 375 px — шире плашки переносились столбиком */
.uc-hero--shop .uc-hero__facts { gap: 6px; }
.uc-fact { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px 6px 8px; border-radius: 999px;
  font: 600 12.5px/1 var(--font); color: var(--fg); background: color-mix(in srgb, var(--fg) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--fg) 12%, transparent); }
.uc-fact svg { color: var(--accent); flex: none; }
/* Баннер владельца над заголовком (панель → Mini App): та же пропорция, что у фото над сообщениями бота */
.uc-banner { aspect-ratio: 1200 / 630; border-radius: var(--r-lg, 18px); margin-bottom: 10px;
  background: var(--sunken) center / cover no-repeat; border: 1px solid var(--line); }

.uc-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.uc-cat {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 104px; padding: 14px;
  text-align: left; color: var(--fg); cursor: pointer; border: 0; font: inherit;
}
.uc-cat__icon {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-sm);
  background: var(--accent-soft); color: var(--accent);
}
.uc-cat__title { font-weight: 700; font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.uc-cat__sub { margin-top: auto; color: var(--fg-3); font-size: 12.5px; }

.uc-price { flex: none; font: 700 15px/1 var(--mono); color: var(--fg); white-space: nowrap; }
.uc-row--off { opacity: 0.55; }

.uc-buy { padding: 16px; margin-bottom: 18px; }
.uc-buy__top { display: flex; align-items: center; gap: 14px; }
.uc-buy__art { flex: none; width: 112px; height: 96px; border-radius: var(--r-md);
  background: radial-gradient(80% 70% at 50% 45%, var(--accent-soft), transparent 70%); }
.uc-buy__head { display: grid; gap: 6px; min-width: 0; }
.uc-buy__game { display: inline-flex; align-items: center; gap: 6px; color: var(--fg-2); font-size: 12.5px; font-weight: 600; }
.uc-buy__game img { border-radius: 5px; }
/* Значок игры маленький везде — у .uc-cover свой размер для плиток игр, здесь он не нужен */
.uc-buy__game .uc-cover, .uc-buy__game .uc-buy__logo { flex: none; width: 18px; height: 18px; min-width: 0; border-radius: 5px;
  object-fit: cover; box-shadow: none; }
.uc-buy__game .uc-cover--item { display: inline-block; }
/* «x1», «x2» — сколько штук пака: у товаров, которые складываются */
.uc-x { display: inline-block; margin-left: 4px; padding: 2px 7px; border-radius: 7px; vertical-align: 3px;
  background: var(--accent-soft); color: var(--accent); font: 700 12.5px/1.2 var(--mono); }
/* Корзина — теми же строками, что страница товара: картинка пака, название, «x2», цена */
.uc-line__game { padding: 14px 16px 0; }
.uc-line { align-items: center; gap: 12px; }
/* Селектор длинный нарочно: общее правило значка строки (app.css, 22px) иначе сильнее */
.rows .row.uc-line > span.uc-line__art:first-child:not(.row__body) { display: block; flex: none; width: 46px; height: 40px; }
.uc-line__art .uc-art { padding: 2px; }
.uc-line__art .uc-emo { width: 100%; height: 100%; }
.uc-buy__title { font: 800 19px/1.2 Geist, var(--font); overflow-wrap: anywhere; }
.uc-buy__price { font: 800 26px/1 Geist, var(--font); letter-spacing: -0.02em; }
.uc-buy__note { display: flex; align-items: flex-start; gap: 6px; margin-top: 14px; color: var(--fg-2); font-size: 13.5px; line-height: 1.4; }
.uc-buy__note svg { flex: none; margin-top: 2px; color: var(--accent); }

.uc-qty { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.uc-qty__value { min-width: 36px; text-align: center; font: 700 18px/1 var(--mono); }

.uc-form { display: grid; gap: 12px; margin-top: 4px; }
.uc-form .field__hint { margin-top: 6px; }

.uc-who { display: flex; align-items: center; gap: 12px; padding: 14px; margin: 14px 0 18px; }
.uc-who__icon { color: var(--ok); flex: none; }
.uc-who__text { min-width: 0; font-size: 14px; line-height: 1.4; }
.uc-who__text b { overflow-wrap: anywhere; }

.uc-actions { display: grid; gap: 10px; margin-top: 14px; }

.uc-codes { display: grid; gap: 8px; }
.uc-code {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--s-2);
  color: var(--fg); font: 600 14px/1.2 var(--mono); cursor: pointer; text-align: left;
}
.uc-code span { min-width: 0; overflow-wrap: anywhere; }

.uc-closed { padding: 28px 18px; text-align: center; }

@media (min-width: 720px) {
  .uc-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Витрина по играм: плитки игр, разделы, карточки товаров с картинкой */
:root { --uc-on-art: #fff; --uc-art-veil: linear-gradient(180deg, rgba(6, 10, 20, 0.35), rgba(6, 10, 20, 0.78)); }

.uc-games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
/* Три в ряд — сетка из шести долей: обычная плитка — две доли, «половина» — три, широкая — все шесть */
.uc-games--3 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.uc-games--3 > .uc-game { grid-column: span 2; }
.uc-games--3 > .uc-game--half { grid-column: span 3; }
.uc-games--3 > .uc-game--wide { grid-column: 1 / -1; }
.uc-games--3 .uc-game__title { font-size: 13px; }

/* Свой фон витрины (настройка «Цвет, фон и стекло»): картинка, поверх — затемнение для читаемости текста */
.uc-backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: center / cover no-repeat; }
.uc-backdrop::after { content: ""; position: absolute; inset: 0; background: rgba(5, 8, 14, var(--shop-bg-dim, .45)); }
:root[data-theme="light"] .uc-backdrop::after { background: rgba(244, 246, 250, var(--shop-bg-dim, .45)); }
/* Фон экрана раздела: свой — как фон витрины, с тем же затемнением; без своего — размытое свечение шапки раздела */
.uc-screen-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: center / cover no-repeat; }
.uc-screen-bg::after { content: ""; position: absolute; inset: 0; background: rgba(5, 8, 14, var(--shop-bg-dim, .45)); }
:root[data-theme="light"] .uc-screen-bg::after { background: rgba(244, 246, 250, var(--shop-bg-dim, .45)); }
.uc-screen-bg--ambient { inset: -60px; filter: blur(48px) saturate(130%); opacity: .38; }
.uc-screen-bg--ambient::after { display: none; }
:root[data-theme="light"] .uc-screen-bg--ambient { opacity: .3; }
.uc-screen-bg[hidden] { display: none; }
.has-screen-bg body::before { display: none; }
.uc-screen-bg ~ #root, .has-screen-bg #root { position: relative; z-index: 1; }
.has-bg body { background: var(--bg); }
.has-bg body::before { display: none; }
.has-bg #root { position: relative; z-index: 1; }
/* Жидкое стекло — фон просвечивает сквозь карточки, по краю — блик, как в iOS */
.has-bg[data-glass="liquid"] .glass {
  background: rgba(10, 16, 28, .42);
  border-color: rgba(255, 255, 255, .18);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -1px 0 rgba(255, 255, 255, .05), 0 12px 30px rgba(0, 0, 0, .28);
}
:root.has-bg[data-theme="light"][data-glass="liquid"] .glass { background: rgba(255, 255, 255, .42); border-color: rgba(255, 255, 255, .7); }
.has-bg[data-glass="frost"] .glass {
  background: color-mix(in srgb, var(--s-1) 82%, transparent);
  backdrop-filter: blur(36px) saturate(130%);
  -webkit-backdrop-filter: blur(36px) saturate(130%);
}
/* Подписи разделов и серый текст поверх картинки — с тенью, иначе теряются на ярком фоне */
.has-bg .section__head, .has-bg .section__title, .has-bg .uc-note { color: rgba(255, 255, 255, .82); text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
:root.has-bg[data-theme="light"] .section__head, :root.has-bg[data-theme="light"] .section__title { color: rgba(10, 16, 28, .8); text-shadow: 0 1px 8px rgba(255, 255, 255, .8); }
.has-bg[data-glass="liquid"] .glass .row__sub, .has-bg[data-glass="liquid"] .glass small { color: rgba(255, 255, 255, .66); }
:root.has-bg[data-theme="light"][data-glass="liquid"] .glass .row__sub { color: rgba(10, 16, 28, .6); }
.has-bg[data-glass="solid"] .glass { background: color-mix(in srgb, var(--bg) 88%, var(--fg) 6%); backdrop-filter: none; -webkit-backdrop-filter: none; }
.uc-game, .uc-gamehead {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  min-height: 124px; padding: 14px; border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  background: var(--s-2); color: var(--uc-on-art); text-align: left; font: inherit; cursor: pointer;
}
.uc-game--wide, .uc-gamehead { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 14px; min-height: 96px; }
.uc-gamehead { margin-bottom: 14px; cursor: default; }
.uc-game:active { transform: scale(0.98); }
.uc-game__bg { position: absolute; inset: -20px; background: center / cover; filter: blur(18px) saturate(140%); transform: scale(1.2); }
.uc-game__bg::after { content: ""; position: absolute; inset: 0; background: var(--uc-art-veil); }
.uc-game > *:not(.uc-game__bg), .uc-gamehead > *:not(.uc-game__bg) { position: relative; }
.uc-cover { flex: none; width: 56px; height: 56px; border-radius: 14px; object-fit: cover; box-shadow: var(--sh-2); }
.uc-gamehead .uc-cover { width: 64px; height: 64px; }
.uc-cover--item { display: grid; place-items: center; background: var(--accent-soft); }
.uc-game__body { margin-top: auto; display: grid; gap: 2px; min-width: 0; }
.uc-game__title { font: 800 15.5px/1.2 Geist, var(--font); overflow-wrap: anywhere; }
.uc-game__sub { font-size: 11.5px; line-height: 1.25; color: var(--uc-on-art-2, rgba(255, 255, 255, .72));
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-game--wide .uc-game__body, .uc-gamehead .uc-game__body { margin-top: 0; }
.uc-game:not(:has(.uc-game__bg)) .uc-game__sub { color: var(--fg-3); }

/* Быстрые кнопки под поиском: раздел в одно нажатие */
.uc-quicks { display: flex; gap: 8px; margin: 0 0 16px; overflow-x: auto; scrollbar-width: none; }
.uc-quicks::-webkit-scrollbar { display: none; }
.uc-quick { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--s-2); color: var(--fg);
  font: 700 13.5px/1 Geist, var(--font); cursor: pointer; }
.uc-quick:active { transform: scale(0.97); }
.uc-quick__art { display: block; width: 28px; height: 24px; }
.uc-quick__art .uc-art { padding: 0; filter: none; }
.uc-game--wide .uc-game__title { margin-top: 0; font-size: 18px; }
.uc-gamehead__title { font: 800 21px/1.15 Geist, var(--font); letter-spacing: -0.02em; }
.uc-game:not(:has(.uc-game__bg)), .uc-gamehead:not(:has(.uc-game__bg)) { color: var(--fg); }
/* Шапка с фоном игры: картинка видна целиком, снизу — затемнение под значок и название */
.uc-gamehead--hero { align-items: flex-end; min-height: 0; aspect-ratio: 12 / 5; padding: 16px; border-color: transparent;
  color: #fff; background: #0c0c10; }
.uc-gamehead--hero > *:not(.uc-gamehead__hero) { position: relative; }
.uc-gamehead > .uc-gamehead__hero { position: absolute; inset: 0; background: center / cover no-repeat; }  /* сильнее «> * { relative }» выше */
.uc-gamehead__hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .72)), linear-gradient(90deg, rgba(0, 0, 0, .35), transparent 55%); }
.uc-gamehead--hero .uc-cover { width: 52px; height: 52px; box-shadow: 0 6px 18px rgba(0, 0, 0, .45); }
.uc-gamehead--hero .uc-gamehead__title { color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .55); }

/* Переключатели магазина — переключатель ядра: текст с подчёркиванием, полоска плавно переезжает под выбранный пункт.
   Пункты делят ширину поровну: в теме ширина шла от длины подписи, и «На аккаунт по ID» выходил шире «Кодами» */
.uc-seg { gap: 8px; }
.uc-seg .seg__opt { flex: 1 1 0; }
.uc-seg .seg__opt span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-seg--tabs { margin-bottom: 14px; gap: 4px; }
.uc-seg--sub { margin-top: -6px; }  /* второй ряд (части региона) — ближе к первому: видно, что он про выбранный регион */
.uc-seg--tabs .seg__opt { font-size: 13.5px; letter-spacing: -0.02em; }  /* «Наборы и Prime» — целиком на телефоне */
.uc-seg + .uc-note { margin-top: 10px; }

.uc-note { display: flex; align-items: center; gap: 6px; margin: 0 2px 10px; color: var(--fg-2); font-size: 13px; line-height: 1.35; }
.uc-note svg { flex: none; color: var(--accent); }

/* Премиум-эмодзи вместо иконки игры: без скругления и подложки — как значок в Telegram */
.uc-cover--emoji { border-radius: 0 !important; background: none !important; box-shadow: none !important; object-fit: contain; }
/* Профиль: аватар из Telegram, ник, «с нами с …», ID копируется */
.uc-me { display: flex; align-items: center; gap: 14px; margin-bottom: var(--gap); }
.uc-me .avatar { width: 64px; height: 64px; flex: none; font-size: 22px; }
.uc-me__body { min-width: 0; display: grid; gap: 4px; }
.uc-me .uc-hero__name { margin-top: 0; font-size: 22px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-me__sub { font-size: 13px; color: var(--fg-2); }
.uc-me__id { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); background: color-mix(in srgb, var(--fg) 6%, transparent);
  color: var(--fg-2); font-size: 12px; cursor: pointer; }
/* Главная: поиск и «Популярное» — строки с картинкой, названием, игрой и ценой */
/* Поиск: снизу — полный отступ, иначе «01 / Игры и сервисы» липнет прямо к полю */
.uc-search { margin: 12px 0 var(--gap); }
.uc-picks { display: grid; padding: 4px; }
.uc-pick { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 10px;
  border: 0; border-radius: 14px; background: transparent; color: var(--fg); font: inherit; text-align: left; cursor: pointer; }
.uc-pick:active { background: color-mix(in srgb, var(--fg) 6%, transparent); }
.uc-pick__art { width: 44px; height: 44px; display: grid; place-items: center; }
.uc-pick__art img { width: 100%; height: 100%; object-fit: contain; }
.uc-pick__body { min-width: 0; display: grid; gap: 2px; }
.uc-pick__body b { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-pick__body small { font-size: 12px; color: var(--fg-3); }
.uc-pick__price { font: 700 14px/1 var(--font); white-space: nowrap; }
/* Скидка при оформлении: промокод одной строкой с кнопкой, баллы — переключателем, ниже — на сколько дешевле */
.uc-off { display: grid; gap: 4px; }
.uc-promo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.uc-promo .input { text-transform: uppercase; letter-spacing: .06em; }
/* Кнопка — той же высоты и с теми же углами, что поле: раньше пилюля была выше поля и выбивалась */
.uc-promo .btn { min-height: 44px; height: auto; padding: 0 18px; border-radius: var(--r-sm); }
.uc-promo .input::placeholder { text-transform: none; letter-spacing: 0; }
.uc-promo .input[readonly] { color: var(--accent); }
.uc-points { padding: 10px 2px 6px; }
.uc-points__text { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14.5px; }
.uc-points__text small { color: var(--fg-3); font-size: 12.5px; }
.uc-off__sum { display: grid; gap: 6px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.uc-off__row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--fg-2); }
.uc-off__row b { color: var(--ok); font-weight: 700; }
.uc-bonus { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%;
  margin-top: 10px; padding: 12px 14px; border: 0; color: var(--fg); font: inherit; text-align: left; cursor: pointer; }
.uc-bonus > svg:first-child { color: var(--accent); }
.uc-bonus span { display: grid; gap: 2px; font-size: 14px; }
.uc-bonus small { color: var(--fg-3); font-size: 12px; }
.uc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
/* Нечётный последний товар — та же карточка, только во всю ширину: картинка сверху, название, цена, «Выбрать» внизу
   (владелец, 2026-10-28: «иконки и тексты стандартно как и во всех, просто эта строка растянута») */
.uc-grid > .uc-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* Смена раздела: новый мягко приподнимается. Полностью гасить старый нельзя — сквозь пустое место виден
   тёмный фон с чёрными краями, и переключение выглядит поломкой (владелец, 2026-11-04) */
.uc-swap--in { animation: uc-swap-in .24s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes uc-swap-in { from { opacity: .45; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { [data-products], .uc-swap--in { transition: none; animation: none; } }
/* Кнопка-баннер внизу главной (у владельца — его VPN): в цвете магазина, во всю ширину */
.uc-promo {
  display: flex; align-items: center; gap: 10px; margin: 16px 0 4px; padding: 15px 18px; border-radius: 18px;
  text-decoration: none; color: var(--on-accent, #fff); font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #0b1020));
  box-shadow: 0 16px 34px -18px var(--accent);
}
.uc-promo__text { flex: 1; min-width: 0; }
.uc-promo__go { flex: none; opacity: .85; }
.uc-promo:active { transform: scale(.985); }

/* Согласие на cookie — только в браузере (shop.js: cookieBar) */
.uc-cookie {
  position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 70;
  width: min(520px, calc(100% - 24px)); display: grid; gap: 12px; padding: 16px 18px; border-radius: 20px;
  border: 1px solid var(--line); background: rgba(12, 16, 26, .94); backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9);
}
.uc-cookie p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--fg-2); }
.uc-cookie__link { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; }
.uc-cookie__btns { display: flex; gap: 8px; }

/* Проверка аккаунта над товарами: пока ID не введён, товары под полем размыты и не нажимаются */
.uc-gate { padding: 12px 14px; display: grid; gap: 10px; margin-bottom: 12px; }
.uc-gate__hint { margin: 0; color: var(--fg-3); font-size: 13px; line-height: 1.45; }
.uc-gate__row { display: flex; gap: 8px; }
.uc-gate__row .input { flex: 1; min-width: 0; }
.uc-gate__err { margin: 0; color: var(--bad); font-size: 12.5px; }
.uc-gate--ok { display: flex; align-items: center; gap: 10px; }
.uc-gate__body { flex: 1; min-width: 0; display: grid; }
.uc-gate__body small { color: var(--fg-3); font-size: 12px; }
.uc-locked { filter: blur(5px) saturate(.7); opacity: .55; pointer-events: none; user-select: none; }

/* Своё количество (звёзды) */
/* «Своё количество» — как на sorryucshop: крупные звёзды, поле с плавающей подписью, «Купить» во всю ширину */
.uc-custom { padding: 16px; margin-bottom: var(--gap); display: grid; gap: 12px; }
.uc-custom__art { display: block; height: 116px; margin: 2px auto 0; }
.uc-custom__art img { width: 100%; height: 100%; object-fit: contain; }
.uc-custom__hint { margin: -4px 2px 0; font-size: 13px; color: var(--fg-2); }
.uc-fl { position: relative; display: block; }
.uc-fl__input { width: 100%; box-sizing: border-box; height: 58px; padding: 24px 14px 8px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--input-bg); color: var(--fg); font-size: 19px; font-weight: 700; letter-spacing: .02em; }
.uc-fl__input:focus { outline: none; border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); background: var(--input-bg-focus); }
.uc-fl__label { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); font-size: 15px; color: var(--fg-3); pointer-events: none;
  transition: top .15s ease, font-size .15s ease, color .15s ease, transform .15s ease; }
.uc-fl__input:focus + .uc-fl__label, .uc-fl__input:not(:placeholder-shown) + .uc-fl__label {
  top: 9px; transform: none; font-size: 11.5px; color: var(--accent); letter-spacing: .02em; }
.uc-packs-head { margin: 4px 2px 10px; }
.uc-card {
  display: flex; flex-direction: column; gap: 4px; padding: 10px 10px 12px; min-width: 0;
  border: 1px solid var(--accent-line); border-radius: var(--r-lg); background: var(--s-1);
  color: var(--fg); text-align: left; font: inherit; cursor: pointer;
}
button.uc-card:active { transform: scale(0.98); }
.uc-card[disabled], .uc-card--off { opacity: 0.5; cursor: default; }
div.uc-card { cursor: default; }
.uc-card--picked { border-color: var(--accent); box-shadow: var(--glow); }
.uc-card__art { display: block; height: 104px; margin-bottom: 6px; border-radius: var(--r-md);
  background: radial-gradient(80% 70% at 50% 45%, var(--accent-soft), transparent 70%); }
.uc-card__title { font: 800 16px/1.2 Geist, var(--font); overflow-wrap: anywhere; }
.uc-card__price { margin-bottom: 10px; font: 700 14px/1.2 var(--mono); color: var(--fg-2); }
/* «Выбрать» и счётчик «− 2 +» — одной высоты: карточка не прыгает, когда пак кладут в корзину */
.uc-card__cta, .uc-step { margin-top: auto; height: 36px; border-radius: var(--r-sm); }
.uc-card__cta { display: grid; place-items: center; width: 100%; padding: 0; border: 1px solid var(--accent-line);
  background: none; font: 700 13.5px/1 var(--font); color: var(--accent); cursor: pointer; }
.uc-step { display: grid; grid-template-columns: 36px 1fr 36px; align-items: center;
  background: var(--accent); color: #fff; overflow: hidden; }
.uc-step__btn { display: grid; place-items: center; height: 100%; border: 0; background: none; color: inherit; cursor: pointer; }
.uc-step__btn:active { background: rgba(0, 0, 0, 0.18); }
.uc-step__n { text-align: center; font: 800 16px/1 var(--mono); }

/* «Оплатить» над нижними вкладками — пока в корзине раздела что-то есть */
.uc-paybar-space { height: 76px; }
.uc-paybar { position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-total) + 10px); z-index: 44; padding: 0 var(--pad); }
.uc-paybar .btn { max-width: 868px; margin: 0 auto; box-shadow: var(--sh-2); }
.uc-paybar__n { margin-left: 8px; font-weight: 600; opacity: 0.75; }

/* Картинка товара: готовая горка или предмет целиком, по центру своей площадки */
.uc-art { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.35)); }
/* Премиум-эмодзи раздела (звёзды): один, два или три значка горкой — по размеру пака */
/* Звёзды — кучкой в квадрате по центру карточки, внахлёст (владелец, 2026-10-28: «покучнее»), а не по краям */
.uc-emo { position: relative; display: block; height: 100%; aspect-ratio: 1; max-width: 100%; margin: 0 auto; }
.uc-emo > img { position: absolute; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35)); }
.uc-emo--1 > img { width: 84%; height: 84%; left: 8%; top: 8%; }
.uc-emo--2 > img { width: 70%; height: 70%; }
.uc-emo--2 > img:nth-child(1) { left: 2%; top: 6%; z-index: 1; }
.uc-emo--2 > img:nth-child(2) { left: 30%; top: 26%; z-index: 2; }
.uc-emo--3 > img { width: 60%; height: 60%; }
.uc-emo--3 > img:nth-child(1) { left: 20%; top: 2%; z-index: 1; }
.uc-emo--3 > img:nth-child(2) { left: 2%; top: 36%; z-index: 2; }
.uc-emo--3 > img:nth-child(3) { left: 38%; top: 36%; z-index: 3; }
.uc-card__art .uc-art { padding: 6px; }
.uc-cover--item .uc-art { padding: 6px; }

/* Заставка витрины: название капсом своим шрифтом (не системным Arial Black), как SORRY на заставке панели */
.rx-splash__word { font-family: "Geist Splash", "Geist", system-ui, sans-serif; font-weight: 800; letter-spacing: -0.03em;
  text-transform: uppercase; }
.rx-splash__cap { font-family: "Geist Mono Splash", "Geist Mono", ui-monospace, monospace; }

/* Гость на сайте: «Войти» в шапке и экран «после входа» на «Заказах» и «Профиле» */
/* «Войти» в шапке: ровно по высоте с кнопкой темы рядом, подпись не переносится */
.uc-login-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px;
  border: 0; border-radius: var(--r-pill); background: var(--accent); color: #fff; white-space: nowrap;
  font: 700 13.5px/1 Geist, var(--font); cursor: pointer; }
.uc-login-btn:active { transform: scale(0.97); }
.uc-login-btn svg { flex: none; }
@media (max-width: 360px) { .uc-login-btn span { display: none; } .uc-login-btn { padding: 0 10px; } }
.uc-guest { padding: 10px; }
.site-login--compact { width: 100%; padding: 6px 2px 4px; display: grid; gap: 14px; text-align: center; justify-items: center; }

/* Палитра магазина (настройка «Цвет, фон и стекло» → «Палитра»): тон всей страницы, не только кнопок */
:root[data-palette] { --bg: var(--shop-bg-dark, #0b0f16); }
:root[data-palette][data-theme="light"] { --bg: var(--shop-bg-light, #f4f7fb); }
