:root {
  color-scheme: dark;
  --bg: #02030a;
  --bg-soft: #050715;
  --bg-card: #050715;
  --accent: #ffd54f;
  --accent-strong: #ffeb3b;
  --text: #ffffff;
  --text-soft: #b7bdd6;
  --pill-bg: rgba(255, 255, 255, 0.06);
  --pill-border: rgba(255, 255, 255, 0.1);
  --danger: #ff5252;
  --success: #00e676;

  /* status neon palette (sold / available) */
  --sold-rgb: 255 82 82;     /* красный */
  --avail-rgb: 0 230 118;    /* зелёный */

  /* status chip (safe rgba vars for iOS/WebView) */
  --sold-bg-1: rgba(255, 82, 82, 0.26);
  --sold-bg-2: rgba(255, 82, 82, 0.12);
  --sold-border: rgba(255, 82, 82, 0.65);
  --sold-glow: rgba(255, 82, 82, 0.28);
  --sold-dot: rgba(255, 82, 82, 0.95);
  --sold-text: rgba(255, 214, 214, 0.94);

  --avail-bg-1: rgba(0, 230, 118, 0.24);
  --avail-bg-2: rgba(0, 230, 118, 0.10);
  --avail-border: rgba(0, 230, 118, 0.62);
  --avail-glow: rgba(0, 230, 118, 0.24);
  --avail-dot: rgba(0, 230, 118, 0.95);
  --avail-text: rgba(214, 255, 235, 0.94);

  /* discount chip (mint/teal, calm) */
  --disc-bg-1: rgba(44, 226, 180, 0.18);
  --disc-bg-2: rgba(44, 226, 180, 0.08);
  --disc-border: rgba(44, 226, 180, 0.48);
  --disc-glow: rgba(44, 226, 180, 0.16);
  --disc-text: rgba(255, 251, 240, 0.95);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", Roboto, "Segoe UI", sans-serif;
  background: #02030a;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.page {
  height: 100%;
  min-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  padding: 16px 16px 32px;
  background: radial-gradient(circle at 0 0, #1c2540 0, #02030a 55%, #000 100%);
  overscroll-behavior: contain;
  overscroll-behavior-y: contain;
  overscroll-behavior-x: none;
}

.hidden { display: none !important; }

/* ---------- верхние кнопки ---------- */

.top-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 0;
}

.top-link-btn {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 500;
  background: rgba(6, 9, 30, 0.9);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
}

.top-link-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.top-link-btn--channel {
  background: linear-gradient(135deg, #2ea5ff, #0077ff);
  border-color: rgba(0, 119, 255, 0.9);
  color: #ffffff;
}

.top-link-btn--reviews {
  background:
    radial-gradient(circle at 0 0, rgba(255, 223, 128, 0.25) 0, rgba(10, 11, 26, 0.95) 60%),
    linear-gradient(135deg, rgba(255, 215, 64, 0.18), rgba(255, 193, 7, 0.4));
  border-color: rgba(255, 215, 64, 0.9);
  color: #ffffff;
}

.top-link-btn--support {
  margin-top: 8px;
  width: 100%;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 15px;
  font-weight: 600;
  background: linear-gradient(135deg, #ff4b8b, #ff8e53);
  border: 1px solid rgba(255, 143, 178, 0.95);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 0 20px rgba(255, 76, 140, 0.35);
}

.top-link-btn--info {
  margin-top: 8px;
  width: 100%;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 15px;
  font-weight: 600;

  background:
    radial-gradient(circle at 0 0, rgba(99, 102, 241, 0.18) 0, rgba(6, 9, 30, 0.92) 62%),
    linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(99, 102, 241, 0.35));

  border: 1px solid rgba(99, 102, 241, 0.55);
  color: #ffffff;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  box-shadow: 0 0 18px rgba(99, 102, 241, 0.18);
}

/* ---------- ФИЛЬТРЫ ---------- */

.filters {
  margin-top: 10px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filters-row {
  display: grid;
  gap: 8px;
}

.filters-row--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.filters-row--3 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: center;
}

.filters select,
.filters input,
.filters button {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 12px;
  font-size: 13px;
  background: rgba(6, 9, 30, 0.9);
  color: var(--text);
  min-height: 30px;
}

.filters select:focus,
.filters input:focus,
.filters button:focus {
  outline: 2px solid rgba(255, 255, 255, 0.18);
  outline-offset: 0;
}

.filters button {
  cursor: pointer;
  font-weight: 600;
  background: linear-gradient(135deg, #00c853, #00e676);
  color: #000;
  border: none;
  width: auto;
  padding: 6px 14px;
}

#filter-search {
  width: 100%;
  min-height: 38px;
  padding: 9px 14px;
  border-color: rgba(255, 215, 64, 0.28);
  background:
    radial-gradient(circle at 0 0, rgba(255, 223, 128, 0.10) 0, rgba(6, 9, 30, 0.92) 62%),
    rgba(6, 9, 30, 0.9);
  font-size: 14px;
}

/* ---------- СЕТКА ТОВАРОВ ---------- */

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

@media (max-width: 380px) {
  .products-grid { gap: 8px; }
}

.product-card {
  position: relative;
  border: none;
  padding: 0;
  margin: 0;
  border-radius: 22px;
  background: radial-gradient(circle at 20% 0, #141726 0, #050715 55%, #02030a 100%);
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  color: var(--text);
}

.product-card-image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  background: radial-gradient(circle at 20% 0, #333 0, #111 55%, #05050a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* ✅ управляемая загрузка: сначала skeleton, потом плавное появление картинки */
@keyframes shimmer {
  0% { transform: translateX(-60%); }
  100% { transform: translateX(160%); }
}

.product-card-image-wrapper .img-skeleton {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.22s ease;
}

.product-card-image-wrapper .img-skeleton::after {
  content: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.10) 45%,
    rgba(255, 255, 255, 0) 85%
  );
  width: 70%;
}

.product-card-image-wrapper img.img-managed {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 2;

  opacity: 0;
  transition: opacity 0.22s ease;
}

.product-card-image-wrapper.img-ready .img-skeleton {
  opacity: 0;
}

.product-card-image-wrapper img.img-managed.is-loaded {
  opacity: 1;
}

/* =========================
   STATUS CHIPS (neon glass, iOS-safe)
   ========================= */

.product-card-image-wrapper .badge-availability,
#detail-status {
  --chip-bg-1: var(--avail-bg-1);
  --chip-bg-2: var(--avail-bg-2);
  --chip-border: var(--avail-border);
  --chip-glow: var(--avail-glow);
  --chip-dot: var(--avail-dot);
  --chip-text: var(--avail-text);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 8px 14px;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1;
  white-space: nowrap;

  color: var(--chip-text);

  background:
    linear-gradient(180deg, var(--chip-bg-1) 0%, var(--chip-bg-2) 100%),
    rgba(3, 6, 18, 0.52) !important;

  border: 1px solid var(--chip-border) !important;

  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 18px var(--chip-glow),
    0 0 44px rgba(0, 0, 0, 0.18) !important;

  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);

  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.35),
    0 0 14px var(--chip-glow);
}

.product-card-image-wrapper .badge-availability::before,
#detail-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;

  background: var(--chip-dot);
  box-shadow:
    0 0 8px var(--chip-dot),
    0 0 16px var(--chip-dot),
    0 0 28px var(--chip-dot);

  flex: 0 0 auto;
}

.product-card-image-wrapper .badge-availability {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  pointer-events: none;

  padding: 7px 12px;
  font-size: 12px;

  --chip-bg-1: var(--sold-bg-1);
  --chip-bg-2: var(--sold-bg-2);
  --chip-border: var(--sold-border);
  --chip-glow: var(--sold-glow);
  --chip-dot: var(--sold-dot);
  --chip-text: var(--sold-text);
}

#detail-status.pill-available,
#detail-status.is-available,
#detail-status.available,
#detail-status[data-status="available"],
#detail-status[data-state="available"] {
  --chip-bg-1: var(--avail-bg-1);
  --chip-bg-2: var(--avail-bg-2);
  --chip-border: var(--avail-border);
  --chip-glow: var(--avail-glow);
  --chip-dot: var(--avail-dot);
  --chip-text: var(--avail-text);
}

#detail-status.pill-sold,
#detail-status.is-sold,
#detail-status.sold,
#detail-status[data-status="sold"],
#detail-status[data-state="sold"] {
  --chip-bg-1: var(--sold-bg-1);
  --chip-bg-2: var(--sold-bg-2);
  --chip-border: var(--sold-border);
  --chip-glow: var(--sold-glow);
  --chip-dot: var(--sold-dot);
  --chip-text: var(--sold-text);
}

/* =========================
   DISCOUNT CHIP
   ========================= */

.product-card-image-wrapper .badge-discount {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 6;
  pointer-events: none;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 6px 10px;
  border-radius: 999px;

  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;

  color: var(--disc-text);

  background:
    linear-gradient(180deg, var(--disc-bg-1) 0%, var(--disc-bg-2) 100%),
    rgba(3, 6, 18, 0.52);

  border: 1px solid var(--disc-border);

  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 14px var(--disc-glow),
    0 0 36px rgba(0, 0, 0, 0.18);

  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);

  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.35),
    0 0 10px var(--disc-glow);
}

/* ---------- карточка ---------- */

.product-card-body { padding: 9px 10px 10px; }

.product-card-title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 4px;
  line-height: 1.3;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.3em * 2);
}

.product-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.product-card-price {
  font-size: 14px;
  font-weight: 700;
  color: #ffeb3b;
}

.product-card-oldprice {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);

  position: relative;
  display: none;
  text-decoration: none;
}

.product-card-oldprice::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);

  height: 0.14em;
  background: rgba(140, 140, 140, 1);
  border-radius: 999px;

  pointer-events: none;
}

/* ---------- ДЕТАЛЬНЫЙ ПРОСМОТР ---------- */

#detail-view { padding-top: 4px; overflow-x: hidden; }

.back-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 16px;
}

.back-row button {
  border: none;
  background: none;
  color: #e5e7eb;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  cursor: pointer;
}

.back-row button span.arrow {
  font-size: 20px;
  line-height: 1;
}

/* ---------- GALLERY ---------- */

.detail-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 12px;
  overflow: hidden;
  background: transparent;
}

.detail-gallery-inner {
  cursor: grab;
  position: absolute;
  inset: 0;
  display: flex;

  gap: 12px;

  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;

  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;

  transform: none !important;

  -webkit-user-select: none;
  user-select: none;

  scrollbar-width: none;
}
.detail-gallery-inner.is-dragging { cursor: grabbing; }
.detail-gallery-inner::-webkit-scrollbar { display: none; }

.detail-gallery-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;

  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  scroll-snap-align: center;
}

.detail-gallery-card {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  background: #02030a;
  position: relative; /* ✅ для skeleton */
}

/* ✅ skeleton на деталке */
.detail-gallery-card .detail-img-skeleton {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.22s ease;
}

.detail-gallery-card .detail-img-skeleton::after {
  content: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.10) 45%,
    rgba(255, 255, 255, 0) 85%
  );
  width: 70%;
}

.detail-gallery-card.img-ready .detail-img-skeleton {
  opacity: 0;
}

.detail-gallery-card img.img-managed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;

  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;

  z-index: 2;

  opacity: 0;
  transition: opacity 0.22s ease;
}

.detail-gallery-card img.img-managed.is-loaded {
  opacity: 1;
}

.detail-gallery-counter {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #e5e7eb;
  font-size: 12px;
  z-index: 50;
  pointer-events: none;
}

.detail-gallery-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 50;
  pointer-events: none;
}

.detail-gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.25s ease-out;
}

.detail-gallery-dot.active {
  width: 14px;
  background: #ffffff;
}

.detail-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#detail-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;

  font-size: 24px;
  font-weight: 700;
  color: var(--accent-strong);
}

#detail-price .price-current {
  color: var(--accent-strong);
  font-size: 24px;
  font-weight: 700;
}

#detail-price .price-old {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);

  position: relative;
  display: inline-block;
  text-decoration: none;
}

#detail-price .price-old::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);

  height: 0.13em;
  background: rgba(140, 140, 140, 1);
  border-radius: 999px;

  pointer-events: none;
}

#detail-status {
  flex-shrink: 0;
  text-align: center;
}

.detail-title {
  font-size: 18px;
  font-weight: 600;
}

.detail-meta {
  font-size: 13px;
  color: var(--text-soft);
}

.detail-meta--bottom {
  margin-top: 10px;
  text-align: center;
  width: 100%;
  opacity: 0.7;
}

.chars-block, .desc-block { margin-top: 8px; }

.chars-title, .desc-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.chars-list {
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  font-size: 14px;
}

.char-row {
  display: flex;
  justify-content: flex-start;
  gap: 6px;
  padding: 1px 0;
}

.char-key { opacity: 0.7; }
.char-value { font-weight: 500; }

#detail-description {
  font-size: 14px;
  color: var(--text-soft);
  white-space: pre-line;
}

.contact-button {
  margin-top: 12px;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 13px 16px;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  background: linear-gradient(135deg, #00e676, #00c853);
  cursor: pointer;
}

.contact-note {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-soft);
  text-align: center;
}

/* ---------- СТРАНИЦА ПОДДЕРЖКИ ---------- */

#support-view { padding-top: 4px; }

.support-content { margin-top: 4px; }

.support-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.support-sub {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.support-methods {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.support-card {
  padding: 10px 12px;
  border-radius: 18px;
  background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.06), rgba(5, 7, 21, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.support-card-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.support-card-desc {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.support-link-btn {
  width: 100%;
  border-radius: 999px;
  border: none;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.support-link-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.support-card--da { border-color: rgba(255, 152, 0, 0.5); }

.support-link-btn--da {
  background: linear-gradient(135deg, #ff9800, #ff6d00);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(255, 140, 0, 0.4);
}

.support-card--tinkoff { border-color: rgba(255, 214, 0, 0.5); }

.support-link-btn--tinkoff {
  background: linear-gradient(135deg, #ffd600, #ffea00);
  color: #111111;
}

.support-card--boost { border-color: rgba(0, 119, 255, 0.5); }

.support-link-btn--boost {
  background: linear-gradient(135deg, #2ea5ff, #0077ff);
  color: #ffffff;
}

@media (min-width: 768px) {
  .page { max-width: 540px; margin: 0 auto; }
}

/* ---------- TOAST ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(8px);
  max-width: calc(100% - 24px);
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
  line-height: 1.3;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- СТРАНИЦА КОНТАКТА ---------- */
#contact-view { padding-top: 4px; }

.contact-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-sub {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.template-box {
  width: 100%;
  min-height: 160px;
  resize: none;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 12px;
  font-size: 13px;
  line-height: 1.35;
  background: rgba(6, 9, 30, 0.9);
  color: var(--text);
  outline: none;
  white-space: pre-wrap;
}

.contact-actions {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-secondary {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 11px 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-primary {
  width: 100%;
  border-radius: 999px;
  border: none;
  padding: 12px 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, #2ea5ff, #0077ff);
  color: #fff;
}

.contact-hint {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-soft);
  text-align: center;
  opacity: 0.8;
}

/* ---------- ВАЖНАЯ ИНФОРМАЦИЯ ---------- */

#info-view { padding-top: 4px; }

.info-accordions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-accordion {
  position: relative;
  padding: 10px 12px;
  border-radius: 18px;

  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.09), rgba(5, 7, 21, 0.98)),
    linear-gradient(135deg, rgba(99, 102, 241, 0.10), rgba(59, 130, 246, 0.06));

  border: 1px solid rgba(99, 102, 241, 0.18);

  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 10px 24px rgba(0, 0, 0, 0.40),
    0 0 16px rgba(99, 102, 241, 0.10);
}

.info-accordion summary {
  list-style: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  font-size: 14px;
  font-weight: 700;
}

.info-accordion summary::-webkit-details-marker { display: none; }

.info-accordion summary::after {
  content: "›";
  opacity: 0.75;
  font-size: 18px;
  transform: rotate(0deg);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.info-accordion[open] summary::after {
  transform: rotate(90deg);
  opacity: 1;
}

.info-body {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-soft);
}

.info-body b { color: rgba(255, 255, 255, 0.92); }

.info-body ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.info-body li { margin: 4px 0; }

.info-footnote {
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(6, 9, 30, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--text-soft);
  font-size: 13px;
}

.page.page--info::after,
.page.page--support::after {
  content: "";
  display: block;
  height: 40vh;
  min-height: 320px;
}
