:root {
  --bg-deep: #eef3fb;
  --bg: #f8fbff;
  --panel: rgba(255, 255, 255, 0.94);
  --panel-solid: #ffffff;
  --bubble: #ffffff;
  --line: rgba(37, 99, 235, 0.12);
  --line-strong: rgba(37, 99, 235, 0.28);
  --text: #0f172a;
  --muted: #64748b;
  --accent: #2563eb;
  --accent-2: #60a5fa;
  --accent-dark: #1e3a8a;
  --success: #059669;
  --danger: #dc2626;
  --teal: #2563eb;
  --radius: 16px;
  --radius-sm: 12px;
  --font: "Manrope", system-ui, -apple-system, sans-serif;
  --font-display: "Outfit", var(--font);
  --shadow-lg: 0 24px 60px rgba(30, 58, 138, 0.12);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.12);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --focus-ring: 0 0 0 3px rgba(37, 99, 235, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

.shop-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 40% at 50% 0%, rgba(96, 165, 250, 0.24), transparent 52%),
    linear-gradient(180deg, #f9fbff 0%, #edf4ff 100%);
}

.shop-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.shop-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 45%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 4px 24px rgba(30, 58, 138, 0.35);
}

.shop-header__menu {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.shop-header__menu:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (min-width: 900px) {
  .shop-header__menu {
    display: none;
  }
}

.shop-header__logo {
  flex: 1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
}

.shop-header__logo-mark {
  opacity: 0.95;
}

.shop-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.shop-header__search {
  flex: 1;
  max-width: 360px;
}

.shop-header__search-input {
  width: 100%;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  padding: 0 0.9rem;
  font: inherit;
  font-size: 0.82rem;
}

.shop-header__search-input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.shop-header__balance {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fef3c7;
  background: rgba(0, 0, 0, 0.15);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.shop-header__svg {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  display: block;
  pointer-events: none;
}

html[data-theme="dark"] .shop-header__theme-ico--moon {
  display: none;
}
html[data-theme="dark"] .shop-header__theme-ico--sun {
  display: block;
}
html:not([data-theme="dark"]) .shop-header__theme-ico--sun {
  display: none;
}
html:not([data-theme="dark"]) .shop-header__theme-ico--moon {
  display: block;
}

.shop-header__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: #e5efff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(147, 197, 253, 0.42);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 5px 14px rgba(2, 6, 23, 0.24);
}

.shop-header__icon:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1));
  border-color: rgba(191, 219, 254, 0.62);
  transform: translateY(-1px);
}

.shop-header__icon:active {
  transform: translateY(0);
}

.shop-layout {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .shop-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
  }
}

.shop-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(250px, 84vw);
  z-index: 200;
  padding: 0.8rem 0.7rem 0.95rem;
  background: linear-gradient(180deg, #1e3a8a 0%, #1e40af 100%);
  color: #f5f3ff;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateX(-100%);
  transition: transform 0.28s var(--ease-out);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 900px) {
  .shop-sidebar {
    position: sticky;
    top: 0.75rem;
    align-self: start;
    transform: none;
    width: auto;
    max-height: calc(100vh - 1.1rem);
    border-radius: 10px;
    margin: 0.5rem 0 0.5rem 0.5rem;
  }
}

@media (max-width: 900px) {
  .shop-header__search {
    display: none;
  }
}

.shop-sidebar.is-open {
  transform: translateX(0);
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.2);
}

.shop-sidebar__title {
  margin: 0 0 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
}

.shop-sidebar__title--services {
  margin-top: 0.95rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.shop-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.shop-sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 34px;
  padding: 0.36rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #f5f3ff;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid rgba(147, 197, 253, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.shop-sidebar__link:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  border-color: rgba(147, 197, 253, 0.35);
  transform: translateY(-1px);
}

.shop-sidebar__link:active {
  transform: translateY(0);
}

.shop-sidebar__emoji {
  font-size: 1.15rem;
  width: 1.75rem;
  text-align: center;
}

.shop-sidebar__empty {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.6;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(15, 23, 42, 0.55);
}

.nav-backdrop[hidden] {
  display: none !important;
  pointer-events: none !important;
}

@media (max-width: 899px) {
  .shop-sidebar:not(.is-open) {
    pointer-events: none;
  }

  .shop-sidebar.is-open {
    pointer-events: auto;
  }
}

@media (min-width: 900px) {
  .nav-backdrop {
    display: none !important;
  }
}

body.nav-open {
  overflow: hidden;
}

@media (min-width: 900px) {
  body.nav-open {
    overflow: auto;
  }
}

.shop-main.app {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 1rem 1rem calc(1.5rem + var(--safe-bottom));
}

.shop-hero {
  margin: 0 -0.25rem 1.25rem;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98) 0%, rgba(238, 245, 255, 0.92) 100%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.08);
}

.shop-hero__inner {
  padding: 1.7rem 1.35rem 1.85rem;
  text-align: center;
}

.shop-hero__tag {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.shop-hero__tag strong {
  color: var(--accent-dark);
}

.shop-hero__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5.4vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--accent-dark);
}

.shop-hero__lead {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}

.shop-section {
  margin-bottom: 1.5rem;
}

.shop-section__title {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.5rem;
}

#homeCategoryGrid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.tile-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  min-height: 78px;
  padding: 0.75rem 0.8rem;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: left;
  color: var(--text);
  background: linear-gradient(165deg, #ffffff 0%, #f2f8ff 100%);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tile-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 16px 36px rgba(30, 58, 138, 0.14);
}

.tile-card:active {
  transform: translateY(0);
}

.tile-card__emoji {
  font-size: 2rem;
  line-height: 1;
}

.tile-card__label {
  line-height: 1.25;
  word-break: break-word;
  font-size: 0.82rem;
}

.shop-page {
  padding-top: 0.25rem;
}

::selection {
  background: rgba(37, 99, 235, 0.22);
  color: var(--text);
}

button:focus-visible,
a:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.65);
  outline-offset: 2px;
}

.bg-aurora {
  position: fixed;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 20% 10%, rgba(37, 99, 235, 0.14), transparent 55%),
    radial-gradient(ellipse 45% 35% at 85% 20%, rgba(96, 165, 250, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(52, 211, 153, 0.06), transparent 45%);
  animation: aurora 18s ease-in-out infinite alternate;
}

@keyframes aurora {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(2%, 3%) scale(1.05);
  }
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
}

.app {
  position: relative;
  z-index: 1;
  max-width: min(720px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 1.35rem 1.15rem calc(1.5rem + var(--safe-bottom));
  transition: opacity 0.25s ease;
}

.app.is-loading {
  pointer-events: none;
  opacity: 0.55;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen {
  display: none;
  animation: screenIn 0.22s ease-out both;
}

.screen.is-active {
  display: block;
}

@keyframes screenIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-panel {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hero-banner {
  position: relative;
  height: 148px;
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  overflow: hidden;
  background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 45%, #ffffff 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-glow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-banner--sm {
  height: 104px;
}

.hero-banner__glow {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 7vw, 2.35rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #1e3a8a 0%, #1d4ed8 55%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 8px rgba(30, 58, 138, 0.2));
}

.hero-banner__glow--sm {
  font-size: 1.55rem;
}

.hero-banner__sub {
  position: relative;
  z-index: 1;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}

.bubble {
  margin: 0;
  padding: 0.85rem 1rem;
  background: var(--bubble);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  color: var(--text);
  word-wrap: break-word;
  box-shadow: 0 8px 28px rgba(30, 58, 138, 0.08);
}

.bubble--intro {
  font-size: 0.98rem;
}

.bubble strong {
  color: #fff;
  font-weight: 600;
}

.bubble--profile {
  font-size: 0.92rem;
  line-height: 1.55;
  white-space: pre-line;
}

.profile-auth {
  margin-top: 0.35rem;
  margin-bottom: 0.75rem;
}

#screen-profile .chat-panel > .profile-auth:first-child {
  margin-top: 0;
}

.profile-tg {
  margin-bottom: 0.75rem;
}

.profile-tg__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-top: 0.5rem;
}

.profile-tg__label {
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  min-width: 7rem;
}

.profile-tg__widget {
  flex: 1 1 auto;
  min-height: 40px;
}

.profile-auth__block {
  margin-bottom: 1rem;
}

.profile-auth__block--sep {
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.profile-auth__title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.profile-auth__hint {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

.profile-auth__block .field {
  margin-bottom: 0.5rem;
}

.profile-auth__block .menu-btn {
  margin-top: 0.35rem;
}

.profile-auth__msg {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.profile-auth__msg--err {
  color: var(--danger);
}

.profile-auth__msg--ok {
  color: var(--success);
}

.bubble--scroll {
  max-height: min(52vh, 440px);
  overflow-y: auto;
  font-size: 0.88rem;
  line-height: 1.5;
}

.catalog-caption {
  margin: 0 0 0.25rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #a8b8d0;
}

.screen-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.15rem 0.65rem;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid rgba(120, 160, 220, 0.12);
}

.screen-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.menu-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.menu-grid--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  width: 100%;
  min-height: 40px;
  padding: 0.4rem 0.56rem;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: left;
  text-transform: none;
  color: var(--text);
  background: linear-gradient(160deg, #ffffff 0%, #eef5ff 50%, #e6f0ff 100%);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), border-color 0.2s ease,
    background 0.2s ease;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.08);
}

.menu-btn__emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  font-size: 1.1rem;
  line-height: 1;
  border-radius: 8px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.menu-btn__text {
  flex: 1;
  text-align: left;
  font-size: 0.76rem;
}

.menu-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 8px 18px rgba(30, 58, 138, 0.12);
}

.menu-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.1);
}

.menu-btn--shine {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 40%, #e0e7ff 100%);
  border-color: rgba(37, 99, 235, 0.35);
}

.menu-btn--external {
  font-size: 0.68rem;
}

.menu-btn--danger {
  background: linear-gradient(145deg, rgba(248, 113, 113, 0.2), rgba(127, 29, 29, 0.15));
  border-color: rgba(248, 113, 113, 0.35);
}

.menu-btn--link {
  text-decoration: none;
}

.btn-back {
  margin-top: 0.25rem;
  padding: 0.6rem 1.1rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.15s ease;
  align-self: flex-start;
}

.btn-back:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(30, 41, 59, 0.55);
}

.btn-back:active {
  transform: scale(0.98);
}

.btn-back--wide {
  align-self: stretch;
  text-align: center;
}

.field-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field-input:focus {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.mono {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.8rem;
  word-break: break-all;
}

.cat-block {
  margin-bottom: 0.85rem;
}

.cat-title {
  margin: 0 0 0.35rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--teal);
}

.sub-title {
  margin: 0.5rem 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.product-lines {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-line {
  display: block;
  width: 100%;
  text-align: left;
  margin: 0 0 0.4rem;
  padding: 0.55rem 0.65rem;
  font-family: inherit;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.15s ease, background 0.18s ease;
}

.product-line:hover {
  border-color: rgba(37, 99, 235, 0.35);
  background: #faf5ff;
  transform: translateX(2px);
}

.product-line:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.product-line__name {
  color: var(--teal);
  font-weight: 600;
}

.product-line__meta {
  color: var(--muted);
  font-weight: 400;
}

.purchase-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.purchase-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 0.82rem;
  text-align: left;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.purchase-item:hover {
  background: #faf5ff;
}

.purchase-item__dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
}

.purchase-item__dot--g {
  background: var(--success);
}

.purchase-item__dot--b {
  background: #475569;
}

.purchase-item__dot--d {
  background: var(--accent-2);
}

.purchase-item__text {
  flex: 1;
}

.purchase-item--clickable {
  cursor: pointer;
}

.purchase-item--clickable:hover {
  border-color: rgba(37, 99, 235, 0.45);
}

.purchase-item__hint {
  flex-shrink: 0;
  font-size: 0.68rem;
  opacity: 0.55;
  align-self: center;
}

.purchase-item__status {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent-dark);
  padding: 0.15rem 0.45rem;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.1);
  align-self: center;
  white-space: nowrap;
}

.product-line__link {
  color: var(--accent);
  text-decoration: underline;
  font-size: 0.78rem;
  margin-left: 0.25rem;
}

.product-line-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.page-btn {
  min-width: 2.35rem;
  height: 2.35rem;
  padding: 0 0.45rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.12s ease;
}

.page-btn:hover {
  border-color: var(--line-strong);
}

.page-btn.is-active {
  border-color: rgba(37, 99, 235, 0.65);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.toast {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.94);
  z-index: 18000;
  max-width: min(340px, calc(100% - 2rem));
  padding: 0.9rem 1.2rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  background: linear-gradient(165deg, #ffffff 0%, #faf5ff 100%);
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  animation: toastIn 0.22s var(--ease-out) forwards;
}

@keyframes toastIn {
  to {
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (max-width: 480px) {
  .toast {
    top: auto;
    bottom: max(1.25rem, env(safe-area-inset-bottom));
    left: 1rem;
    right: 1rem;
    max-width: none;
    transform: translateY(12px) scale(0.96);
    text-align: left;
    animation: toastInMob 0.38s var(--ease-out) forwards;
  }

  @keyframes toastInMob {
    to {
      transform: translateY(0) scale(1);
    }
  }
}

.toast[hidden] {
  display: none;
}

/* ——— Modal ——— */
/* Выше .cookie-banner (16000) и .entry-gate (15000), иначе нижние кнопки модалки не получают клики */
.modal-root {
  position: fixed;
  inset: 0;
  z-index: 17000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  padding-bottom: calc(1.25rem + var(--safe-bottom));
}

.modal-root[hidden] {
  display: none;
}

.modal-root.is-open .modal-root__backdrop {
  opacity: 1;
}

.modal-root.is-open .modal-root__shell {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-root__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(2, 6, 23, 0.78);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.modal-root__shell {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  max-height: min(86vh, 640px);
  overflow: auto;
  padding: 1.35rem 1.25rem 1.15rem;
  background: linear-gradient(165deg, #ffffff 0%, #faf5ff 100%);
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  opacity: 0;
  transform: translateY(16px) scale(0.94);
  transition: opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1), transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-root__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.modal-root__close:hover {
  color: var(--text);
  background: #faf5ff;
}

.modal-root__body {
  padding-right: 1.5rem;
}

.modal-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.modal-sub {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.modal-hero {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.modal-emoji {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  line-height: 1;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.22), rgba(96, 165, 250, 0.2));
  border: 1px solid rgba(37, 99, 235, 0.2);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.15);
}

.modal-meta {
  flex: 1;
  min-width: 0;
}

.modal-name {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
  color: var(--teal);
}

.modal-price-row {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 0.5rem;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.stepper button {
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.stepper button:hover {
  background: rgba(37, 99, 235, 0.1);
}

.stepper button:active {
  transform: scale(0.95);
}

.stepper output {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.modal-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.25);
  font-weight: 700;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(30, 58, 138, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-ghost {
  min-height: 44px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.chip {
  padding: 0.45rem 0.75rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.chip:hover,
.chip.is-active {
  border-color: rgba(37, 99, 235, 0.55);
  background: rgba(37, 99, 235, 0.1);
}

.seg {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.seg button {
  flex: 1;
  min-height: 40px;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.seg button.is-active {
  color: var(--text);
  border-color: rgba(96, 165, 250, 0.5);
  background: rgba(96, 165, 250, 0.12);
}

.modal-banner {
  margin-bottom: 0.75rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #fecaca;
  background: rgba(127, 29, 29, 0.25);
  border: 1px solid rgba(248, 113, 113, 0.35);
  border-radius: 12px;
}

.modal-banner--ok {
  color: #a7f3d0;
  background: rgba(6, 78, 59, 0.25);
  border-color: rgba(52, 211, 153, 0.35);
}

.modal-link {
  display: block;
  margin: 0.5rem 0;
  padding: 0.65rem 0.75rem;
  font-size: 0.8rem;
  word-break: break-all;
  color: var(--accent);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.spinner {
  width: 1.75rem;
  height: 1.75rem;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0.5rem auto;
}

.topup-wait {
  margin: 0.75rem 0 0.25rem;
  padding: 0.85rem 1rem;
  text-align: center;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.topup-wait--row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
}

.topup-wait--row .topup-wait__visual {
  min-height: auto;
  margin-bottom: 0;
  flex: 0 0 auto;
}

.topup-wait--row .topup-wait__msg {
  flex: 1;
  min-width: 0;
}

.topup-wait__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  margin-bottom: 0.5rem;
}

.topup-wait__spinner {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  border-width: 3px;
  border-color: rgba(37, 99, 235, 0.25);
  border-top-color: #2563eb;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
  animation: spin 0.65s linear infinite;
}

.topup-wait__check {
  position: absolute;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--success);
  animation: topup-check-in 0.45s ease-out both;
}

@keyframes topup-check-in {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.topup-wait__msg {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
  white-space: pre-line;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Первый экран: вход / регистрация / Telegram */
.entry-gate {
  position: fixed;
  inset: 0;
  z-index: 15000;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  min-height: 100vh;
  padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.entry-gate[hidden] {
  display: none !important;
}

.entry-gate__backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(15, 23, 42, 0.82);
}

.entry-gate__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(720px, 100%);
  margin: auto;
  max-height: min(92dvh, 920px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1.35rem 1.3rem 1.6rem;
  background: linear-gradient(165deg, #ffffff 0%, #f5f3ff 100%);
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

.entry-gate__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.entry-gate__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.entry-gate__lang {
  flex-shrink: 0;
  padding: 0.35rem 0.65rem;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bubble);
  color: var(--text);
  cursor: pointer;
}

.entry-gate__sub {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

.entry-gate__links {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.5;
  color: var(--muted);
}

.entry-gate__links-sep {
  margin: 0 0.35rem;
  opacity: 0.6;
}

.entry-gate__link {
  display: inline;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.entry-gate__link:hover {
  color: var(--accent-dark);
}

.entry-gate__otp {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.entry-gate__hint--otp {
  margin: 0 0 0.25rem;
  line-height: 1.45;
}

.entry-gate__tg-open {
  width: 100%;
}

.entry-gate__otp-input {
  font-size: 1.35rem;
  letter-spacing: 0.35em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.profile-tg--otp .menu-btn {
  width: 100%;
}

.entry-gate__detail-wrap {
  margin-top: 0.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1 1 auto;
  min-height: 0;
}

.entry-gate__back {
  display: block;
  width: 100%;
  margin: 0 0 0.75rem;
  padding: 0.4rem 0;
  font-size: 0.88rem;
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.entry-gate__back:hover {
  text-decoration: underline;
}

.entry-gate__section .field {
  margin-bottom: 0.65rem;
}

.entry-gate__label {
  margin: 0 0 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.entry-gate__section--sep {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.entry-gate__hint {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.entry-gate__tg-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
}

.entry-gate__tg-lbl {
  min-width: 5.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.support-strip {
  margin: 0;
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  color: var(--text);
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.08), rgba(96, 165, 250, 0.12));
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.support-strip__link {
  color: var(--accent);
  font-weight: 600;
  margin-left: 0.35rem;
}

.shop-header__cart {
  position: relative;
}

.mobile-cart-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  padding: 0.45rem 0.85rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.98));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
}
.mobile-cart-bar__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  border: none;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.45);
}
.mobile-cart-bar__meta {
  font-weight: 600;
  opacity: 0.95;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 899px) {
  .mobile-cart-bar.is-visible {
    display: block;
  }
  body.has-mobile-cart-bar .app {
    padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
  }
}

.header-cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.2rem;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1rem;
  text-align: center;
  color: #fff;
  background: var(--danger);
  border-radius: 999px;
}

.catalog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.catalog-toolbar__search {
  width: 100%;
}

.catalog-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.catalog-toolbar__row .field-input {
  flex: 1;
  min-width: 5rem;
}

.catalog-toolbar__check {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}

/* Выше .entry-gate (15000), иначе «Понятно» не кликается под окном регистрации */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 16000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem calc(0.75rem + var(--safe-bottom));
  background: var(--panel-solid);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 32px rgba(30, 58, 138, 0.12);
}

/* Иначе display:flex выше перебивает стандартное [hidden] и баннер не скрывается */
.cookie-banner[hidden] {
  display: none !important;
}

/* Пока открыта модалка — не перехватывать клики у нижних панелей (cookie, моб. корзина) */
body.v2shop-modal-open #cookieBanner:not([hidden]) {
  pointer-events: none;
}
body.v2shop-modal-open #mobileCartBar.is-visible {
  pointer-events: none;
}

.cookie-banner__text {
  margin: 0;
  flex: 1;
  min-width: 12rem;
  font-size: 0.82rem;
  color: var(--text);
}

.cookie-banner__btn {
  flex-shrink: 0;
}

.cart-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 42vh;
  overflow: auto;
}

.cart-line {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.cart-line__main {
  flex: 1;
  min-width: 8rem;
}

.cart-line__name {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
}

.cart-line__meta {
  font-size: 0.72rem;
  color: var(--muted);
}

.cart-line__qty {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.cart-qbtn,
.cart-remove {
  font: inherit;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.cart-remove {
  color: var(--danger);
  font-weight: 700;
}

.shop-sidebar__legal {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(147, 197, 253, 0.18);
}

.home-promo {
  margin: 0 1rem 1rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(96, 165, 250, 0.14));
  border: 1px solid var(--line-strong);
  overflow: hidden;
}

.home-promo__inner {
  padding: 1rem 1.1rem 1.15rem;
}

.home-promo__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}

.home-promo__sub {
  margin: 0.35rem 0 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.home-favorites__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.65rem;
}

.tile-card--sm {
  min-height: auto;
  padding: 0.65rem 0.75rem;
}

.tile-card--sm .tile-card__emoji {
  display: none;
}

.tile-card--sm .tile-card__label {
  font-size: 0.82rem;
}

.product-line-row {
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
  list-style: none;
}

.product-line-row--market {
  margin-bottom: 0.55rem;
}

.product-line-row .product-line {
  flex: 1;
}

.product-line--market {
  display: block;
  cursor: default;
  border-radius: 10px;
  background: var(--panel-solid);
  border-color: var(--line);
}

.product-line__head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.market-badge {
  display: inline-flex;
  padding: 0.16rem 0.44rem;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
}

.market-price-row {
  margin-top: 0.35rem;
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}

.market-price-row s {
  color: var(--muted);
  font-size: 0.75rem;
}

.market-price-row strong {
  color: var(--accent-dark);
  font-size: 0.98rem;
}

.market-actions {
  margin-top: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.market-add,
.market-open {
  min-height: 1.9rem;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: var(--panel-solid);
  color: var(--text);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  cursor: pointer;
}

.market-add {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
}

.catalog-top-tags {
  display: flex;
  gap: 0.35rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 0.15rem;
}

.catalog-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.catalog-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.catalog-top-tag {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--panel-solid);
  color: var(--muted);
  border-radius: 999px;
  font: inherit;
  font-size: 0.72rem;
  padding: 0.24rem 0.58rem;
  cursor: pointer;
}

.swipe-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.swipe-row > * {
  min-width: 0;
}

.catalog-top-tag.is-active {
  color: #fff;
  border-color: #1e3a8a;
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
}

.product-fav {
  flex-shrink: 0;
  min-width: 2.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--panel-solid);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--accent);
}

.product-fav[aria-pressed="true"] {
  color: #e11d48;
}

.legal-page {
  white-space: pre-wrap;
  text-align: left;
  font-size: 0.88rem;
  line-height: 1.5;
}

.modal-related {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.modal-related__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.modal-related__btn {
  font: inherit;
  font-size: 0.78rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--accent-dark);
  cursor: pointer;
}

.landing-block {
  margin: 1.1rem 0 1.7rem;
  padding: 1rem;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(238, 245, 255, 0.9));
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(30, 58, 138, 0.08);
}

.landing-block__head {
  margin-bottom: 0.8rem;
}

.landing-kicker {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 800;
}

.landing-title {
  margin: 0.3rem 0 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent-dark);
}

.landing-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0.6rem 0 1.2rem;
}

.landing-stat {
  padding: 0.85rem 0.9rem;
  border-radius: 16px;
  background: linear-gradient(165deg, #ffffff 0%, #eef5ff 100%);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(30, 58, 138, 0.08);
  animation: stat-float 5s ease-in-out infinite;
}

.landing-stat:nth-child(2) { animation-delay: 0.8s; }
.landing-stat:nth-child(3) { animation-delay: 1.5s; }
.landing-stat:nth-child(4) { animation-delay: 2.1s; }

.landing-stat__num {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-dark);
}

.landing-stat__label {
  margin: 0.22rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.landing-stats__note {
  grid-column: 1 / -1;
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  opacity: 0.88;
}

.skeleton-text {
  min-height: 1.35rem;
  min-width: 3rem;
  border-radius: 8px;
  background: linear-gradient(
    90deg,
    rgba(30, 58, 138, 0.1) 25%,
    rgba(30, 58, 138, 0.2) 50%,
    rgba(30, 58, 138, 0.1) 75%
  );
  background-size: 200% 100%;
  animation: v2-skeleton-shimmer 1.15s ease-in-out infinite;
}

html[data-theme="dark"] .skeleton-text {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.06) 25%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.06) 75%
  );
  background-size: 200% 100%;
}

@keyframes v2-skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton-text,
  .tile-skeleton {
    animation: none;
    background: rgba(30, 58, 138, 0.12);
  }
  html[data-theme="dark"] .skeleton-text,
  html[data-theme="dark"] .tile-skeleton {
    background: rgba(255, 255, 255, 0.08);
  }
}

.category-grid--skeleton {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.tile-skeleton {
  height: 3.15rem;
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    rgba(30, 58, 138, 0.1) 25%,
    rgba(30, 58, 138, 0.18) 50%,
    rgba(30, 58, 138, 0.1) 75%
  );
  background-size: 200% 100%;
  animation: v2-skeleton-shimmer 1.15s ease-in-out infinite;
}

html[data-theme="dark"] .tile-skeleton {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.06) 25%,
    rgba(255, 255, 255, 0.11) 50%,
    rgba(255, 255, 255, 0.06) 75%
  );
  background-size: 200% 100%;
}

.landing-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.landing-step {
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.landing-step:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 14px 30px rgba(30, 58, 138, 0.12);
}

.landing-step__idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1e40af, #2563eb);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.landing-step__title {
  margin: 0.5rem 0 0.3rem;
  font-size: 0.9rem;
  color: var(--text);
}

.landing-step__text {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.landing-offers__grid,
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.offer-card,
.review-card {
  padding: 0.9rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 26px rgba(30, 58, 138, 0.08);
}

.offer-card--accent {
  border-color: rgba(37, 99, 235, 0.4);
  background: linear-gradient(155deg, #eff6ff, #dbeafe);
}

.offer-card__badge {
  margin: 0;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 800;
}

.offer-card__title {
  margin: 0.35rem 0 0.25rem;
  font-size: 0.95rem;
  color: var(--accent-dark);
}

.offer-card__desc,
.review-card__text {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

.review-card__stars {
  margin: 0 0 0.35rem;
  color: #f59e0b;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.review-card__author {
  margin: 0.45rem 0 0;
  font-size: 0.72rem;
  color: var(--accent-dark);
  font-weight: 700;
}

.retail-promos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.retail-promo-card {
  padding: 0.95rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, #ffffff, #eef5ff);
  box-shadow: 0 12px 28px rgba(30, 58, 138, 0.09);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.retail-promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(30, 58, 138, 0.14);
}

.retail-promo-card__kicker {
  margin: 0;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 800;
}

.retail-promo-card__title {
  margin: 0.35rem 0 0.25rem;
  font-size: 0.92rem;
  color: var(--accent-dark);
}

.retail-promo-card__text {
  margin: 0;
  font-size: 0.76rem;
  color: var(--muted);
}

.retail-promo-card__btn {
  margin-top: 0.55rem;
  min-height: 1.9rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
  color: #fff;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.58rem;
}

.contacts-modal-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.contacts-modal-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--panel-solid);
  border-radius: 12px;
  padding: 0.62rem 0.75rem;
  color: var(--text);
  font-weight: 600;
}

.contacts-modal-link code {
  font-size: 0.72rem;
  color: var(--accent-dark);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  filter: saturate(0.85);
  transition:
    opacity 0.55s var(--ease-out) var(--reveal-delay, 0ms),
    transform 0.55s var(--ease-out) var(--reveal-delay, 0ms),
    filter 0.55s ease var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: saturate(1);
}

@keyframes stat-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg-deep: #050b14;
  --bg: #0b1424;
  --panel: rgba(17, 28, 45, 0.94);
  --panel-solid: #111d30;
  --bubble: #0f1a2d;
  --line: rgba(123, 170, 223, 0.2);
  --line-strong: rgba(140, 194, 255, 0.4);
  --text: #d8e9ff;
  --muted: #92a8c4;
  --accent: #5cb8ff;
  --accent-2: #9bd7ff;
  --accent-dark: #bfe3ff;
  --success: #4ade80;
  --danger: #fb7185;
  --teal: #78c7ff;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(73, 148, 220, 0.22);
}

html[data-theme="dark"] .shop-bg {
  background:
    radial-gradient(ellipse 55% 40% at 50% 0%, rgba(85, 153, 230, 0.28), transparent 52%),
    linear-gradient(180deg, #0f1d33 0%, #050b14 100%);
}

html[data-theme="dark"] .cart-qbtn,
html[data-theme="dark"] .cart-remove {
  background: var(--panel-solid);
  color: var(--text);
}

html[data-theme="dark"] .product-fav {
  background: var(--panel-solid);
}

/* Жёсткие светлые фоны из светлой темы → тёмные панели + читаемый текст */
html[data-theme="dark"] .menu-btn {
  color: #e3f2ff;
  background: linear-gradient(160deg, #1b2f4b 0%, #172741 55%, #132139 100%);
  border-color: var(--line-strong);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .menu-btn:hover {
  border-color: rgba(155, 215, 255, 0.5);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .menu-btn:active {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .menu-btn--shine {
  color: #e7f7ff;
  background: linear-gradient(135deg, #0d467a 0%, #15558f 45%, #2372b2 100%);
  border-color: rgba(125, 196, 255, 0.4);
}

html[data-theme="dark"] .menu-btn--danger {
  color: #fecaca;
  background: linear-gradient(145deg, rgba(127, 29, 29, 0.55), rgba(69, 10, 10, 0.5));
  border-color: rgba(248, 113, 113, 0.45);
}

html[data-theme="dark"] .menu-btn__emoji {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .tile-card {
  background: var(--panel-solid);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .shop-hero {
  background: linear-gradient(135deg, rgba(92, 184, 255, 0.2) 0%, rgba(58, 130, 191, 0.16) 55%, #0f1b2f 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .hero-banner {
  background: linear-gradient(145deg, #1d314d 0%, #182842 50%, #132139 100%);
  border-color: var(--line-strong);
}

html[data-theme="dark"] .hero-banner__glow {
  background: none;
  color: #cde9ff;
  -webkit-text-fill-color: currentColor;
  filter: drop-shadow(0 2px 12px rgba(89, 170, 245, 0.35));
}

html[data-theme="dark"] .hero-banner__sub {
  color: #9bd7ff;
}

html[data-theme="dark"] .field-input {
  background: var(--panel-solid);
  color: var(--text);
  border-color: var(--line-strong);
}

html[data-theme="dark"] .field-input:focus {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.22);
}

html[data-theme="dark"] .product-line {
  background: var(--panel-solid);
}

html[data-theme="dark"] .product-line:hover {
  background: #252136;
}

html[data-theme="dark"] .purchase-item {
  background: var(--panel-solid);
}

html[data-theme="dark"] .purchase-item:hover {
  background: #252136;
}

html[data-theme="dark"] .purchase-item__hint {
  opacity: 0.75;
  color: var(--muted);
}

html[data-theme="dark"] .page-btn {
  background: var(--panel-solid);
}

html[data-theme="dark"] .toast {
  background: linear-gradient(165deg, #252136 0%, #1e1b2e 100%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .modal-root__shell {
  background: linear-gradient(165deg, #2a2638 0%, #1e1b2e 100%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .modal-root__close {
  background: var(--panel-solid);
  color: var(--muted);
}

html[data-theme="dark"] .modal-root__close:hover {
  color: var(--text);
  background: #2f2b42;
}

html[data-theme="dark"] .stepper button {
  background: var(--panel-solid);
  color: var(--text);
}

html[data-theme="dark"] .stepper button:hover {
  background: rgba(96, 165, 250, 0.15);
}

html[data-theme="dark"] .chip {
  background: var(--panel-solid);
}

html[data-theme="dark"] .seg button {
  background: var(--panel-solid);
  color: var(--muted);
}

html[data-theme="dark"] .seg button.is-active {
  color: var(--text);
}

html[data-theme="dark"] .entry-gate__panel {
  background: linear-gradient(165deg, #1b2f4b 0%, #132139 100%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .btn-back {
  color: #bfe3ff;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-strong);
}

html[data-theme="dark"] .btn-back:hover {
  color: #e3f2ff;
  background: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .bubble strong {
  color: #f5f3ff;
}

html[data-theme="dark"] .support-strip {
  color: #d8e9ff;
  background: linear-gradient(90deg, rgba(50, 113, 179, 0.32), rgba(34, 84, 140, 0.28));
}

html[data-theme="dark"] .support-strip__link {
  color: #bfe3ff;
}

html[data-theme="dark"] .shop-header {
  background: linear-gradient(135deg, #123b67 0%, #174a7c 45%, #1f5f96 100%);
  box-shadow: 0 4px 24px rgba(5, 17, 32, 0.45);
}

html[data-theme="dark"] .shop-sidebar {
  background: linear-gradient(180deg, #1b3e68 0%, #163458 100%);
  color: #e3f2ff;
}

html[data-theme="dark"] .shop-sidebar__title {
  opacity: 0.95;
  color: #d7ecff;
}

html[data-theme="dark"] .shop-sidebar__link {
  color: #e3f2ff;
}

html[data-theme="dark"] .shop-sidebar__link:hover {
  background: rgba(191, 227, 255, 0.12);
}

html[data-theme="dark"] .shop-sidebar__empty {
  color: rgba(205, 233, 255, 0.78);
}

html[data-theme="dark"] .shop-sidebar__legal {
  border-top-color: rgba(191, 227, 255, 0.2);
}

html[data-theme="dark"] .cookie-banner {
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .modal-related__btn {
  background: var(--panel-solid);
  color: #cde9ff;
}

html[data-theme="dark"] .landing-block {
  background: linear-gradient(160deg, rgba(14, 25, 43, 0.96), rgba(13, 28, 48, 0.88));
  border-color: var(--line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .landing-step,
html[data-theme="dark"] .offer-card,
html[data-theme="dark"] .review-card,
html[data-theme="dark"] .landing-stat {
  background: linear-gradient(160deg, rgba(20, 35, 58, 0.86), rgba(14, 27, 45, 0.82));
  border-color: var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .offer-card--accent {
  background: linear-gradient(160deg, rgba(18, 55, 94, 0.95), rgba(20, 72, 118, 0.9));
  border-color: var(--line-strong);
}

html[data-theme="dark"] .landing-step__text,
html[data-theme="dark"] .offer-card__desc,
html[data-theme="dark"] .review-card__text,
html[data-theme="dark"] .landing-stat__label {
  color: #a9bdd9;
}

html[data-theme="dark"] .contacts-modal-link {
  background: var(--panel-solid);
  border-color: var(--line);
  color: var(--text);
}

@media (max-width: 900px) {
  .landing-offers__grid,
  .reviews-grid,
  .retail-promos {
    grid-template-columns: 1fr;
  }
  .menu-grid--2.swipe-row {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .menu-grid--2.swipe-row::-webkit-scrollbar {
    display: none;
  }

  .menu-grid--2.swipe-row > * {
    flex: 0 0 min(82vw, 320px);
    scroll-snap-align: start;
  }
}

@media (max-width: 720px) {
  .landing-stats,
  .landing-steps {
    grid-template-columns: 1fr;
  }
  .menu-btn {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

html[data-theme="dark"] .catalog-caption {
  color: #9bd7ff;
}

html[data-theme="dark"] .screen-head {
  border-bottom-color: var(--line);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .topup-wait__spinner {
    animation-duration: 1.2s !important;
    animation-iteration-count: infinite !important;
  }
}

/* Манибек: список заявок и фото */
.mb-my-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}
.mb-card {
  text-align: left;
}
.mb-card__head {
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  opacity: 0.95;
}
.mb-card__body {
  font-size: 0.92rem;
  line-height: 1.45;
  white-space: normal;
}
.mb-card__imgs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.mb-att {
  max-width: 100%;
  max-height: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
}
.mb-details {
  text-align: left;
}
.mb-details__summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.92rem;
  padding: 0.35rem 0;
}
.mb-details__summary::-webkit-details-marker {
  display: none;
}
.mb-details__summary::before {
  content: "▸ ";
  display: inline-block;
  transition: transform 0.15s ease;
}
.mb-details[open] .mb-details__summary::before {
  transform: rotate(90deg);
}
.mb-details__inner {
  padding: 0.5rem 0 0.35rem;
  border-top: 1px solid var(--line, rgba(255, 255, 255, 0.1));
  margin-top: 0.35rem;
}
.mb-details--myblock .mb-details__summary--fat {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
}
.mb-details__inner--stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mb-subcard {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
  background: rgba(0, 0, 0, 0.12);
}
.mb-subcard__meta {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
}
.mb-subcard__product {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  opacity: 0.95;
}
.mb-my-older {
  margin-top: 0.5rem !important;
  font-size: 0.85rem;
  opacity: 0.9;
}
.mb-att-link {
  display: inline-block;
  line-height: 0;
}
