:root {
  color-scheme: dark;
  --ui-zoom: 0.92;
  --color-bg-dark: #090909;
  --color-bg-light: #1a1a1a;
  --color-bg-elevated: #141210;
  --color-bg-sheet: rgba(18, 16, 14, 0.97);
  --color-card-bg: rgba(12, 10, 9, 0.88);
  --color-card-border: rgba(255, 106, 0, 0.25);
  --color-card-border-hover: rgba(255, 140, 26, 0.55);
  --color-accent: #ff6a00;
  --color-accent-hover: #ff8c1a;
  --color-accent-dim: rgba(255, 106, 0, 0.15);
  --color-accent-rgb: 255, 106, 0;
  --color-gold: var(--color-accent);
  --color-gold-hover: var(--color-accent-hover);
  --color-gold-dim: var(--color-accent-dim);
  --color-sale: #ff2d55;
  --color-danger: #ff3d1a;
  --color-danger-soft: #ff8f75;
  --color-red: var(--color-danger);
  --color-success: #22c55e;
  --color-success-soft: #86efac;
  --color-green: var(--color-success);
  --color-info: #93c5fd;
  --color-warning: #fde047;
  --color-test: #d8b4fe;
  --color-text-primary: #f5f5f5;
  --color-text-muted: #c4b8b0;
  --color-text-subtle: #a89a90;
  --color-on-accent: #1a1208;
  --glow-subtle: 0 0 8px rgba(255, 106, 0, 0.2);
  --glow-cta: 0 8px 24px rgba(255, 106, 0, 0.35);
  --gradient-accent: linear-gradient(135deg, #ff8c1a, #ff6a00);
  --font-primary: "Plus Jakarta Sans", sans-serif;
  --font-display: "Oswald", "Plus Jakarta Sans", sans-serif;
  --safe-area-top: env(safe-area-inset-top, 0px);
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --nav-height: calc(64px + var(--safe-area-bottom));
}

.hidden {
  display: none !important;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.mycard-details,
.mycard-details *,
input, textarea, select,
.card-listing__price-text,
[data-copy],
.wallet-hero__amount {
  -webkit-user-select: text;
  user-select: text;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--color-bg-dark);
  color: var(--color-text-primary);
  color-scheme: dark only;
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
  position: fixed;
  inset: 0;
}

#app {
  max-width: 480px;
  margin: 0 auto;
  height: 100%;
  height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--color-bg-dark);
  border-left: 1px solid rgba(255, 106, 0, 0.06);
  border-right: 1px solid rgba(255, 106, 0, 0.06);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  zoom: var(--ui-zoom);
}

button, input, select {
  font-family: inherit;
  color: var(--color-text-primary);
  color-scheme: dark;
}

select option,
select optgroup {
  background-color: #1a1a1a;
  color: #f5f5f5;
}

input::placeholder { color: var(--color-text-muted); opacity: 1; }

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
  padding: calc(12px + var(--safe-area-top)) 16px 14px;
  background: linear-gradient(rgba(9, 9, 9, 0.98), rgba(9, 9, 9, 0.95));
  border-bottom: 1px solid rgba(255, 106, 0, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.header__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff8c1a 0%, #ff6a00 55%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  border: 2px solid rgba(255, 106, 0, 0.35);
  box-shadow: 0 0 10px rgba(255, 106, 0, 0.4);
  font-family: var(--font-display);
}

.user-avatar {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 140, 26, 0.22), rgba(255, 106, 0, 0.08));
  border: 2px solid rgba(255, 106, 0, 0.32);
  box-shadow: 0 0 10px rgba(255, 106, 0, 0.15);
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.user-avatar__fallback {
  display: none;
  width: 100%;
  height: 100%;
  place-items: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--color-gold);
}

.user-avatar.is-fallback .user-avatar__fallback {
  display: grid;
}

.user-avatar--header {
  width: 38px;
  height: 38px;
}

.user-avatar--profile {
  width: 72px;
  height: 72px;
}

.user-avatar--profile .user-avatar__fallback {
  font-size: 22px;
}

.user-avatar--lg {
  width: 48px;
  height: 48px;
}

.user-avatar--list {
  width: 40px;
  height: 40px;
}

.user-avatar--admin {
  width: 38px;
  height: 38px;
}

.header__greeting {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.header__greeting span:first-child {
  font-size: 11px;
  color: var(--color-text-muted);
}

.header__name {
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-display);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.balance-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255, 106, 0, 0.08);
  border: 1px solid rgba(255, 106, 0, 0.3);
  padding: 7px 14px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(255, 106, 0, 0.1);
  font-size: 14px;
  font-weight: 800;
  color: var(--color-gold);
  font-family: var(--font-display);
  letter-spacing: 0.5px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.balance-pill:active {
  transform: scale(0.97);
}

.wallet-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(255, 106, 0, 0.45));
}

.wallet-icon svg {
  width: 22px;
  height: 22px;
}

.wheel-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 106, 0, 0.06);
  border: 1px solid rgba(255, 106, 0, 0.2);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes ringPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.6), 0 0 8px rgba(255, 106, 0, 0.3); }
  50% { box-shadow: 0 0 0 5px rgba(255, 106, 0, 0), 0 0 16px rgba(255, 106, 0, 0.5); }
}

.spin-btn-available { animation: ringPulse 1.8s ease-in-out infinite; }

.search-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.search-wrap__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: 0.7;
}

.search-wrap input {
  width: 100%;
  padding: 10px 12px 10px 38px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.search-wrap input:focus {
  border-color: rgba(255, 106, 0, 0.35);
  background: rgba(255, 106, 0, 0.04);
}

.search-filters-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 140, 26, 0.35);
  background: rgba(255, 106, 0, 0.1);
  color: #ffc14d;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.search-filters-btn__ico {
  font-size: 11px;
  opacity: 0.9;
}

.search-filters-btn.open,
.search-filters-btn[aria-expanded="true"] {
  background: rgba(255, 106, 0, 0.2);
  border-color: rgba(255, 140, 26, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.12);
  color: #fff;
}

/* ── Main ── */
.main {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  padding-top: 16px;
  padding-bottom: calc(var(--nav-height) + 12px);
}

.view { display: none; }
.view.active { display: block; }

.page-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  padding: 0 16px 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Filter toggle ── */
.filter-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 32px);
  margin: 0 16px 10px;
  padding: 11px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.07);
  cursor: pointer;
}

.filter-toggle__left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-display);
  color: rgba(255, 255, 255, 0.5);
}

.filter-toggle__arrow {
  color: rgba(255, 255, 255, 0.25);
  font-size: 12px;
  transition: transform 0.25s;
}

.filter-toggle.open .filter-toggle__arrow {
  transform: rotate(180deg);
}

/* ── Section bar ── */
.section-bar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 4px 16px 14px;
}

.section-bar__left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.section-bar__mark {
  width: 3px;
  height: 18px;
  border-radius: 999px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #ffc14d 0%, var(--color-accent) 55%, #c24e00 100%);
  box-shadow: 0 0 10px rgba(255, 106, 0, 0.45);
}

.section-bar__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.6px;
  text-transform: none;
  font-family: var(--font-display);
  line-height: 1.1;
  white-space: nowrap;
  background: linear-gradient(180deg, #ffffff 20%, #ffd9a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-bar__count {
  font-size: 11px;
  font-weight: 800;
  color: var(--color-gold);
  background: rgba(255, 106, 0, 0.12);
  border: 1px solid rgba(255, 106, 0, 0.3);
  padding: 2px 9px;
  border-radius: 999px;
  font-family: var(--font-display);
  flex-shrink: 0;
}

.section-bar__badge {
  display: none;
}

/* ── Products list ── */
.products-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 16px 20px;
}

.product-card {
  background: rgba(18, 16, 14, 0.97);
  border: 1px solid var(--color-card-border);
  border-radius: 16px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
}

.card-listing {
  padding: 12px 14px 10px;
  cursor: default;
}

.card-listing__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  min-width: 0;
}

.card-listing__bin-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 6px 12px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: #fff;
  line-height: 1;
  flex-shrink: 0;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 140, 26, 0.18), rgba(255, 106, 0, 0.06));
  border: 1px solid rgba(255, 140, 26, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 14px rgba(255, 106, 0, 0.12);
}

.card-listing__badges {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 4px 9px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.7px;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-badge--level {
  color: #7dd3fc;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.12);
}

.card-badge--lvl-classic {
  color: #7dd3fc;
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.12);
}

.card-badge--lvl-gold {
  color: #1a1208;
  background: linear-gradient(135deg, #ffe08a 0%, #f0c14b 45%, #c9962a 100%);
  border-color: rgba(240, 193, 75, 0.85);
  box-shadow:
    0 0 12px rgba(240, 193, 75, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}

.card-badge--lvl-platinum {
  color: #e8eef5;
  background: linear-gradient(135deg, rgba(200, 210, 220, 0.28), rgba(120, 140, 160, 0.18));
  border-color: rgba(200, 210, 220, 0.55);
  box-shadow: 0 0 10px rgba(180, 200, 220, 0.2);
}

.card-badge--lvl-premium {
  color: #f5e6ff;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.28), rgba(99, 102, 241, 0.18));
  border-color: rgba(196, 181, 253, 0.55);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.22);
}

.card-badge--lvl-business {
  color: #dbeafe;
  background: rgba(37, 99, 235, 0.18);
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.18);
}

.card-badge--lvl-electron {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(74, 222, 128, 0.45);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.15);
}

.card-badge--type {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.card-badge--debit {
  color: #e8e8e8;
  background: rgba(40, 40, 44, 0.95);
  border-color: rgba(255, 255, 255, 0.16);
}

.card-badge--credit {
  color: #ffd9a8;
  background: rgba(255, 106, 0, 0.14);
  border-color: rgba(255, 140, 26, 0.45);
}

.card-listing__layout {
  display: flex;
  gap: 12px;
  align-items: center;
}

.card-listing__media {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 96px;
}

.card-listing__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-listing__bank {
  margin: 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.card-listing__meta-line {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 6px;
  row-gap: 2px;
  min-width: 0;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.35;
}

.card-listing__city {
  flex: 1 1 0;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.card-listing__meta-sep {
  flex-shrink: 0;
  opacity: 0.55;
}

.card-listing__age {
  flex: 0 0 auto;
  white-space: nowrap;
}

.card-listing__category {
  margin: 0;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #ff8c4a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.card-listing__aside {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.card-listing__body {
  flex: 1;
  min-width: 0;
}

.card-listing__top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.card-listing__title-block {
  flex: 1;
  min-width: 0;
}

.card-listing__name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.card-listing__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--color-text-primary);
  margin: 0;
  line-height: 1.2;
}

.card-listing__bank-type {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: rgba(255, 255, 255, 0.42);
  text-transform: uppercase;
  margin: 0;
  line-height: 1.3;
  word-break: break-word;
}

.card-listing__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.card-listing__thumb {
  flex-shrink: 0;
  width: 100%;
}

.card-thumb-img {
  width: 96px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0d1117;
}

.card-listing__bin-box {
  width: 100%;
  padding: 5px 6px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 106, 0, 0.28);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  color: var(--color-text-primary);
}

.mycard-item__thumb .card-thumb-img {
  width: 52px;
  height: 34px;
  border-radius: 5px;
}

.card-mini {
  width: 46px;
  height: 30px;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.card-mini--visa {
  background: linear-gradient(135deg, #1a3c8a 0%, #2d5fc4 55%, #f0c040 100%);
}

.card-mini--mc {
  background: linear-gradient(135deg, #2a1810 0%, #4a2c18 40%, #c45c28 70%, #e8a030 100%);
}

.card-mini__brand {
  position: absolute;
  right: 4px;
  bottom: 3px;
  font-size: 6px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-display);
  letter-spacing: 0.3px;
}

.card-listing__bin-block {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-listing__bin {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-text-primary);
}

.card-listing__brand-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-text-muted);
  font-family: var(--font-display);
  letter-spacing: 0.5px;
}

.card-listing__prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.card-listing__price-old-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-listing__price-old {
  font-size: 11px;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.card-listing__discount {
  font-size: 10px;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: 0.2px;
  color: #ff2d55;
  background: rgba(255, 45, 85, 0.12);
  border: 1px solid rgba(255, 45, 85, 0.35);
  padding: 1px 6px;
  border-radius: 999px;
  line-height: 1.3;
  white-space: nowrap;
}

.card-listing__price {
  position: relative;
  display: inline-block;
  line-height: 1;
  padding: 0;
  background: none;
  border: none;
}

.card-listing__price-text {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: #ff2d55;
}

.card-listing__price--sale .card-listing__price-text {
  color: #ff2d55;
}

.card-listing__price-glint {
  position: absolute;
  top: 0;
  left: 0;
  color: #fff;
  pointer-events: none;
  z-index: 2;
  white-space: nowrap;
  text-shadow: none;
}

.card-listing__shine {
  position: absolute;
  top: -40%;
  left: 0;
  width: 55%;
  height: 180%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 236, 180, 0.8) 58%,
    transparent 75%
  );
  transform: translateX(-160%) skewX(-18deg);
  animation: priceBandShine 1.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

.card-listing__price--sale .card-listing__shine {
  animation-duration: 1.5s;
}

@keyframes priceBandShine {
  0%,
  10% {
    transform: translateX(-160%) skewX(-18deg);
  }
  55%,
  100% {
    transform: translateX(280%) skewX(-18deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* La roue doit quand même tourner (sinon spin invisible) */
  .wheel-disc.is-spinning {
    transition-duration: 4.2s !important;
  }
  .card-listing__shine {
    animation: none !important;
    display: none !important;
  }
}

.card-listing__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.card-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: none;
}

.card-chip__icon {
  flex-shrink: 0;
  line-height: 1;
  text-transform: none;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}

.card-chip__flag {
  flex-shrink: 0;
  width: 16px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.card-chip__label {
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: none;
}

.card-chip--source {
  border-color: rgba(34, 197, 94, 0.4);
  color: #86efac;
  background: rgba(34, 197, 94, 0.1);
}

.card-chip--country {
  border-color: rgba(34, 197, 94, 0.35);
  color: #6ee7a0;
  background: rgba(34, 197, 94, 0.08);
}

.card-listing__footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.card-listing__add {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 106, 0, 0.45);
  background: rgba(255, 106, 0, 0.1);
  color: #ffc14d;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(255, 106, 0, 0.15);
  transition: transform 0.1s, box-shadow 0.2s;
  padding: 0;
}

.card-listing__add:active {
  transform: scale(0.92);
  box-shadow: 0 0 18px rgba(255, 106, 0, 0.35);
}

.card-listing__add--added {
  background: rgba(34, 197, 94, 0.12);
  border: 1.5px solid rgba(34, 197, 94, 0.55);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.25);
  font-size: 0;
}

.card-listing__add--added .cart-check-icon {
  width: 18px;
  height: 18px;
  color: var(--color-green);
}

.mycard-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mycard-details__empty {
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
  padding: 8px 0;
}

.mycard-details__section {
  font-size: 11px;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.mycard-details__section p {
  margin: 0;
  word-break: break-word;
}

.mycard-details__title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-gold-hover);
  margin-bottom: 4px !important;
  letter-spacing: 0.3px;
}


.product-card:active {
  border-color: var(--color-card-border-hover);
  box-shadow: 0 8px 32px rgba(255, 106, 0, 0.14);
}

.product-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.product-card__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-card__emoji {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 106, 0, 0.1);
  border: 1px solid rgba(255, 106, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.product-card__info h4 {
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 2px;
}

.product-card__info p {
  font-size: 11px;
  color: var(--color-text-muted);
}

.product-card__price {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-gold);
  font-family: var(--font-display);
}

.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.tag {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: var(--font-display);
}

.tag--category {
  background: rgba(255, 106, 0, 0.12);
  border: 1px solid rgba(255, 106, 0, 0.25);
  color: var(--color-gold-hover);
}

.tag--country {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
}

.tag--stock {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: var(--color-green);
}

.tag--level {
  background: rgba(255, 140, 26, 0.15);
  border: 1px solid rgba(255, 140, 26, 0.35);
  color: var(--color-gold-hover);
}

.product-card__bin {
  font-size: 11px;
  font-family: monospace;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.5px;
}

.product-card__bank {
  font-size: 10px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.product-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card__auto {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-card__buy {
  display: none;
}

/* Animated cart button */
.cart-add-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 106, 0, 0.45);
  background: rgba(255, 106, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(255, 106, 0, 0.15);
  transition: transform 0.15s, box-shadow 0.15s;
}

.cart-add-btn:hover {
  box-shadow: 0 0 18px rgba(255, 106, 0, 0.35);
}

@keyframes cartBounce {
  0% { transform: scale(1); }
  30% { transform: scale(1.35) rotate(-8deg); }
  60% { transform: scale(0.9) rotate(4deg); }
  100% { transform: scale(1) rotate(0); }
}

.cart-add-btn.animate {
  animation: cartBounce 0.45s ease;
}

@keyframes cartPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(255, 106, 0, 0); }
}

.cart-add-btn.pulse {
  animation: cartPulse 0.6s ease;
}

.cart-add-btn--added {
  border-color: rgba(34, 197, 94, 0.55);
  background: rgba(34, 197, 94, 0.12);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.25);
  color: #22c55e;
  cursor: pointer;
}

.cart-add-btn--added:active {
  transform: scale(0.92);
  background: rgba(255, 61, 26, 0.12);
  border-color: rgba(255, 61, 26, 0.45);
  color: #ff3d1a;
}

.cart-check-icon {
  width: 22px;
  height: 22px;
}

@keyframes checkPop {
  0% { transform: scale(0.5); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.cart-add-btn--added.just-added {
  animation: checkPop 0.35s ease;
}

.cart-add-btn--added.just-added .cart-check-icon {
  animation: checkDraw 0.4s ease 0.1s both;
}

@keyframes checkDraw {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}

/* Header cart */
.cart-header-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 106, 0, 0.06);
  border: 1px solid rgba(255, 106, 0, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-header-btn__icon {
  font-size: 18px;
  display: block;
}

@keyframes cartWiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-12deg); }
  75% { transform: rotate(12deg); }
}

.cart-header-btn__icon.wiggle {
  animation: cartWiggle 0.4s ease;
}

.cart-header-btn__badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--color-gold);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  border: 2px solid #090909;
}

.cart-header-btn.hidden {
  display: none !important;
}

/* Cart sheet */
.bottom-sheet--cart {
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cart-header__count {
  font-size: 12px;
  color: var(--color-gold);
  font-weight: 700;
  font-family: var(--font-display);
}

.cart-items {
  flex: 1;
  min-height: 80px;
  max-height: 32vh;
  overflow-y: auto;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
}

.cart-item__emoji {
  font-size: 22px;
  width: 36px;
  text-align: center;
}

.cart-item__info {
  flex: 1;
  min-width: 0;
}

.cart-item__info h4 {
  font-size: 13px;
  font-family: var(--font-display);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item__info p {
  font-size: 11px;
  color: var(--color-text-muted);
}

.cart-item__price {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-gold);
  font-family: var(--font-display);
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item__qty button {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid rgba(255, 106, 0, 0.3);
  background: rgba(255, 106, 0, 0.08);
  color: var(--color-text-primary);
  font-size: 14px;
  cursor: pointer;
}

.cart-item__qty span {
  font-size: 13px;
  font-weight: 700;
  min-width: 16px;
  text-align: center;
}

.cart-item__remove {
  background: none;
  border: none;
  color: var(--color-red);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
}

.cart-recap {
  margin-bottom: 14px;
  padding: 14px 16px;
}

.cart-recap__row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.cart-recap__row--total {
  margin-bottom: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 16px;
  font-weight: 800;
  color: var(--color-text-primary);
  font-family: var(--font-display);
}

.cart-recap__row--total span:last-child {
  color: var(--color-gold);
}

.payment-section {
  margin-bottom: 14px;
}

.payment-section__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  font-family: var(--font-display);
}

.payment-option {
  display: block;
  margin-bottom: 8px;
  cursor: pointer;
}

.payment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-option__box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s, background 0.2s;
}

.payment-option input:checked + .payment-option__box {
  border-color: rgba(255, 106, 0, 0.55);
  background: rgba(255, 106, 0, 0.08);
  box-shadow: 0 0 16px rgba(255, 106, 0, 0.12);
}

.payment-option__icon {
  font-size: 22px;
  width: 32px;
  text-align: center;
}

.payment-option__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.payment-option__text strong {
  font-size: 13px;
  font-family: var(--font-display);
}

.payment-option__text small {
  font-size: 11px;
  color: var(--color-text-muted);
}

.btn-confirm-order {
  margin-bottom: 0 !important;
}

.btn-confirm-order:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.order-status.awaiting_crypto {
  background: rgba(255, 106, 0, 0.15);
  color: var(--color-gold);
  border: 1px solid rgba(255, 106, 0, 0.3);
}

.loading-state,
.empty-state {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 13px;
  padding: 40px 20px;
}

/* ── Glass cards ── */
.glass-card {
  background: rgba(18, 16, 14, 0.97);
  border: 1px solid var(--color-card-border);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
}

/* ── Promos ── */
.promo-block {
  margin: 0 16px 12px;
  padding: 24px 20px;
  text-align: center;
}

.promo-block__icon { font-size: 40px; margin-bottom: 10px; }
.promo-block h3 { font-family: var(--font-display); font-size: 16px; margin-bottom: 6px; }
.promo-block p { font-size: 12px; color: var(--color-text-muted); margin-bottom: 16px; }

/* ── Orders ── */
.orders-list { padding: 0 16px 20px; display: flex; flex-direction: column; gap: 10px; }

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
}

.order-item h4 { font-size: 13px; font-family: var(--font-display); margin-bottom: 3px; }
.order-item p { font-size: 11px; color: var(--color-text-muted); }

.order-status {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  font-family: var(--font-display);
  text-transform: uppercase;
}

.order-status.delivered {
  background: rgba(34, 197, 94, 0.15);
  color: var(--color-green);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.order-status.pending {
  background: rgba(255, 61, 26, 0.15);
  color: var(--color-red);
  border: 1px solid rgba(255, 61, 26, 0.3);
}

/* ── Profile ── */
.profile-block {
  margin: 0 16px 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-block__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff8c1a, #ff6a00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-display);
  border: 2px solid rgba(255, 106, 0, 0.4);
}

.profile-block h3 { font-family: var(--font-display); font-size: 16px; }
.profile-block p { font-size: 11px; color: var(--color-text-muted); }

.profile-section-label {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255, 140, 26, 0.9);
}

.profile-promo {
  margin: 0 16px 12px;
  padding: 16px;
}

.profile-promo__row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.profile-promo__row input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.45);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.profile-promo__row input::placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
}

.profile-promo__row input:focus {
  border-color: rgba(255, 106, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.12);
}

.profile-promo__btn {
  flex-shrink: 0;
  padding: 0 16px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffc14d 0%, #ff8c1a 45%, #e06a00 100%);
  color: #1a1208;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(255, 106, 0, 0.28);
  transition: transform 0.1s, filter 0.15s;
}

.profile-promo__btn:active {
  transform: scale(0.97);
  filter: brightness(1.05);
}

.profile-promo__msg {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 600;
}

.profile-promo__msg--ok {
  color: #86efac;
}

.profile-promo__msg--err {
  color: #ff8f75;
}

.profile-overview {
  margin: 0 16px 14px;
  padding: 16px;
}

.profile-overview__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-overview__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.profile-overview__val {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: #ffc14d;
  text-shadow: 0 0 12px rgba(255, 106, 0, 0.25);
}

.profile-overview__val--plain {
  color: #fff;
  text-shadow: none;
}

.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 16px 14px;
}

.stat-card {
  padding: 16px;
  text-align: center;
}

.stat-card__val {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-gold);
  font-family: var(--font-display);
}

.stat-card__lbl {
  font-size: 9px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

/* ── Support ── */
.support-contact {
  margin: 0 16px 16px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.support-contact__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: rgba(255, 106, 0, 0.12);
  border: 1px solid rgba(255, 106, 0, 0.28);
  margin: 0 auto;
}

.support-contact__body {
  text-align: center;
}

.support-contact__body strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  margin-bottom: 4px;
}

.support-contact__body p {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin: 0;
}

.support-contact__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 106, 0, 0.45);
  background: linear-gradient(180deg, rgba(255, 106, 0, 0.18), rgba(255, 106, 0, 0.06));
  color: #fff;
  cursor: pointer;
}

.support-contact__at {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--color-gold);
  letter-spacing: 0.3px;
}

.support-contact__cta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

.faq-list {
  padding: 0 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-card {
  border-radius: 16px;
  background: rgba(18, 18, 18, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  padding: 0;
}

.faq-card summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  user-select: none;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card__ico {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: rgba(255, 106, 0, 0.12);
  border: 1px solid rgba(255, 106, 0, 0.22);
}

.faq-card__title {
  flex: 1;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-align: left;
}

.faq-card__chev {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  position: relative;
  opacity: 0.55;
}

.faq-card__chev::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-card[open] .faq-card__chev::before {
  transform: rotate(-135deg);
  top: 6px;
}

.faq-points {
  list-style: none;
  margin: 0;
  padding: 0 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.faq-points li strong {
  color: #fff;
  font-weight: 700;
}

.faq-points__ico {
  flex-shrink: 0;
  width: 22px;
  text-align: center;
  font-size: 13px;
  line-height: 1.35;
  filter: grayscale(0.1);
  color: var(--color-gold);
}

/* ── Buttons ── */
.btn-brimstone {
  color: #f5f5f5;
  background: linear-gradient(135deg, #141414, #0a0a0a);
  border: 1.5px solid rgba(255, 106, 0, 0.55);
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-display);
  cursor: pointer;
  transition: box-shadow 0.25s, transform 0.1s;
  box-shadow: inset 0 0 12px rgba(255, 106, 0, 0.05);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-brimstone:active {
  transform: scale(0.97);
  box-shadow: 0 0 18px rgba(255, 106, 0, 0.35);
}

.btn-brimstone--full { width: calc(100% - 32px); margin: 0 16px 16px; display: block; }

.interactive-btn { transition: transform 0.1s, filter 0.1s; }
.interactive-btn:active { filter: brightness(1.12); transform: scale(0.96); }

/* ── Bottom sheet ── */
.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 500;
  opacity: 1;
  transition: opacity 0.3s;
}

.sheet-overlay.hidden { display: none; }

.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: 100%;
  max-width: 480px;
  max-height: 70vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #1a1612 0%, #0c0c0c 100%);
  border: 1px solid rgba(255, 106, 0, 0.28);
  border-radius: 28px 28px 0 0;
  z-index: 600;
  padding: 12px 20px calc(24px + var(--safe-area-bottom));
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.85);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  color-scheme: dark;
}

.bottom-sheet.hidden {
  transform: translateX(-50%) translateY(110%);
  pointer-events: none;
}

.bottom-sheet__handle {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  margin: 0 auto 16px;
}

.bottom-sheet__title {
  font-family: var(--font-display);
  font-size: 16px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}

/* ===== Filters modal (centré) ===== */
.filters-sheet.bottom-sheet,
.bottom-sheet.filters-sheet {
  top: 50%;
  bottom: auto;
  left: 50%;
  right: auto;
  width: min(calc(100% - 28px), 400px);
  max-width: 400px;
  max-height: min(78vh, 560px);
  margin: 0;
  padding: 18px 18px 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 140, 26, 0.28);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 106, 0, 0.1), transparent 55%),
    linear-gradient(180deg, #181410 0%, #0c0b0a 100%);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  overflow-x: hidden;
  overflow-y: auto;
  transition:
    transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.22s ease;
  z-index: 650;
}

.filters-sheet.bottom-sheet.hidden,
.bottom-sheet.filters-sheet.hidden {
  transform: translate(-50%, -46%) scale(0.94);
  opacity: 0;
  pointer-events: none;
}

.sheet-overlay:not(.hidden) {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.filters-sheet .bottom-sheet__handle {
  display: none;
}

.filters-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.filters-sheet__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: none;
  color: #fff;
}

.filters-sheet__close {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.filters-sheet__close:active {
  background: rgba(255, 106, 0, 0.2);
}

.filters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 10px;
}

.filter-field {
  margin-bottom: 0;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.filter-field--full {
  grid-column: 1 / -1;
}

.filter-field.is-open {
  z-index: 30;
}

.filter-field__label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  font-family: var(--font-display);
}

.filter-field label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  font-family: var(--font-display);
}

/* Native select fallback (hidden fields / autres sheets) */
.filter-field select {
  width: 100%;
  padding: 13px 14px;
  background: #141414;
  border: 1px solid rgba(255, 140, 26, 0.35);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #f5f5f5;
  outline: none;
  color-scheme: dark;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #ff8c1a 50%),
    linear-gradient(135deg, #ff8c1a 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.filter-field select:focus {
  border-color: rgba(255, 140, 26, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.15);
}

.filter-field select option {
  background-color: #1a1a1a;
  color: #f5f5f5;
  padding: 10px;
}

.filter-field select option:checked,
.filter-field select option:hover {
  background-color: #ff6a00;
  color: #fff;
}

/* ===== Fancy custom dropdowns ===== */
.fancy-select {
  position: relative;
  width: 100%;
}

.fancy-select__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 11px 12px 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 140, 26, 0.35);
  background: #141414;
  color: #f5f5f5;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.fancy-select.is-open .fancy-select__btn {
  border-color: rgba(255, 140, 26, 0.85);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.18);
  background: #1a1410;
}

.fancy-select__value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fancy-select__chev {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-right: 2px solid #ff8c1a;
  border-bottom: 2px solid #ff8c1a;
  transform: rotate(45deg) translate(-1px, -2px);
  transition: transform 0.18s ease;
  opacity: 0.9;
}

.fancy-select.is-open .fancy-select__chev {
  transform: rotate(225deg) translate(-1px, -1px);
}

.fancy-select__menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 40;
  max-height: min(42vh, 260px);
  overflow-y: auto;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(255, 140, 26, 0.28);
  background:
    linear-gradient(180deg, #1c1814 0%, #12100e 100%);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 24px rgba(255, 106, 0, 0.12);
  -webkit-overflow-scrolling: touch;
}

.fancy-select__menu.is-fixed {
  position: fixed;
  right: auto;
  top: auto;
  z-index: 1400;
}

.fancy-select__menu[hidden] {
  display: none !important;
}

.fancy-select__option {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}

.fancy-select__option + .fancy-select__option {
  margin-top: 2px;
}

.fancy-select__option:active,
.fancy-select__option:hover {
  background: rgba(255, 106, 0, 0.14);
  color: #fff;
}

.fancy-select__option.is-selected {
  background: linear-gradient(135deg, rgba(255, 140, 26, 0.95), rgba(255, 106, 0, 0.9));
  color: #1a1208;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.25);
}

/* ── Bottom nav ── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: var(--nav-height);
  z-index: 100;
  pointer-events: none;
}

.bottom-nav__bg {
  position: absolute;
  inset: 0;
  border-left: 1px solid rgba(255, 106, 0, 0.1);
  border-right: 1px solid rgba(255, 106, 0, 0.1);
  border-radius: 22px 22px 0 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 4px),
    linear-gradient(#141210, #0a0a0a 60%, #050505);
  box-shadow: 0 -2px 24px rgba(255, 106, 0, 0.18), 0 -10px 34px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  pointer-events: auto;
}

.bottom-nav__glow {
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff8c1a, transparent);
}

.bottom-nav__items {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 2px var(--safe-area-bottom);
}

.nav-btn {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 8px 2px 10px;
  min-width: 0;
}

.nav-btn.active { color: var(--color-gold); }

.nav-btn__icon {
  font-size: 17px;
  line-height: 1;
  display: block;
}

.product-card--sold {
  opacity: 0.55;
  pointer-events: none;
}

.product-card__sold {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-red);
  font-family: var(--font-display);
  text-transform: uppercase;
}

.nav-btn__label {
  font-size: 7px;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.nav-btn__badge {
  position: absolute;
  top: 4px;
  right: 50%;
  transform: translateX(14px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--color-gold);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  border: 2px solid #090909;
  z-index: 2;
}

.nav-btn__badge.hidden {
  display: none;
}

.nav-btn.has-items .nav-btn__icon {
  animation: cartPulse 1.8s ease-in-out infinite;
}

.nav-btn__icon.wiggle {
  animation: navCartWiggle 0.4s ease;
}

.nav-btn__icon--special {
  font-size: 19px;
  filter: drop-shadow(0 0 6px rgba(255, 106, 0, 0.65));
}

.nav-btn__icon--admin {
  filter: drop-shadow(0 0 6px rgba(255, 106, 0, 0.8));
}

.nav-btn.hidden {
  display: none;
}

.admin-icon {
  filter: drop-shadow(0 0 8px rgba(255, 106, 0, 0.7));
}

.admin-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--color-gold);
  background: rgba(255, 106, 0, 0.12);
  border: 1px solid rgba(255, 106, 0, 0.35);
  padding: 4px 10px;
  border-radius: 8px;
  font-family: var(--font-display);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 16px 14px;
}

.admin-stat {
  padding: 12px;
  text-align: center;
}

.admin-stat__val {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-gold);
  font-family: var(--font-display);
}

.admin-stat__lbl {
  font-size: 9px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-panel-header {
  padding: 4px 16px 12px;
}

.admin-panel-header__title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-panel-header__crown {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: radial-gradient(circle at 35% 30%, #5a1a12, #2a0c0a 70%);
  border: 1px solid rgba(255, 106, 0, 0.35);
  box-shadow: 0 0 16px rgba(255, 61, 26, 0.25);
  flex-shrink: 0;
}

.admin-panel-header__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.3px;
  margin: 0;
  color: var(--color-text-primary);
}

.admin-panel-header__hint {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--color-text-muted);
}

.admin-tabs {
  display: flex;
  gap: 8px;
  padding: 0 12px 14px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.admin-tabs::-webkit-scrollbar {
  display: none;
}

.admin-tab {
  flex: 0 0 auto;
  min-width: 68px;
  padding: 10px 12px 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-tab__icon {
  font-size: 20px;
  line-height: 1;
}

.admin-tab__label {
  font-size: 9px;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: 0.6px;
}

.admin-tab.active {
  color: #ffd7c2;
  border-color: rgba(255, 61, 26, 0.45);
  background: linear-gradient(180deg, rgba(120, 28, 18, 0.95), rgba(70, 14, 10, 0.98));
  box-shadow: 0 6px 18px rgba(255, 61, 26, 0.2);
}

.admin-panels {
  padding-bottom: 24px;
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0 16px 14px;
}

.admin-kpi {
  position: relative;
  padding: 14px 12px 12px;
  min-height: 88px;
}

.admin-kpi__icon {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 16px;
  opacity: 0.7;
}

.admin-kpi__label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  padding-right: 22px;
  font-family: var(--font-display);
}

.admin-kpi__val {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1.1;
}

.admin-kpi__val--green {
  color: #4ade80;
}

.admin-kpi__hint {
  display: block;
  margin-top: 6px;
  font-size: 9px;
  color: var(--color-text-muted);
}

.admin-top-clients {
  margin: 0 16px 12px;
  padding: 16px;
}

.admin-top-clients__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: 0.4px;
}

.admin-top-clients__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-top-clients__empty {
  margin: 0;
  padding: 8px 0;
}

.admin-top-client {
  width: 100%;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.28);
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-top-client__rank {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--color-text-muted);
}

.admin-top-client__name {
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-top-client__spent {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--color-gold);
  white-space: nowrap;
}

.admin-panel-footer {
  text-align: center;
  font-size: 11px;
  color: var(--color-text-muted);
  padding: 4px 16px 8px;
  margin: 0;
}

.admin-overview-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 16px 8px;
}

.admin-overview-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  text-align: left;
  border: none;
  cursor: pointer;
  color: inherit;
}

.admin-overview-link__icon {
  font-size: 22px;
  flex-shrink: 0;
}

.admin-overview-link__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-overview-link__text strong {
  font-family: var(--font-display);
  font-size: 13px;
}

.admin-overview-link__text small {
  font-size: 11px;
  color: var(--color-text-muted);
}

.admin-stock-toolbar,
.admin-orders-toolbar {
  display: flex;
  gap: 8px;
  align-items: end;
  margin: 0 16px 12px;
  padding: 14px;
}

.admin-field--grow {
  flex: 1;
}

.admin-field select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 140, 26, 0.28);
  background: #141414;
  color: #f5f5f5;
  font-size: 12px;
  color-scheme: dark;
}

.admin-field select option {
  background-color: #1a1a1a;
  color: #f5f5f5;
}

.admin-clients-list,
.admin-orders-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 16px 20px;
}

.admin-clients-list--balances {
  padding: 0;
  max-height: min(58vh, 520px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-clients-hero,
.admin-client-my,
.admin-client-focus,
.admin-clients-toolbar,
.admin-balances-board {
  margin: 0 16px 12px;
  padding: 16px;
}

.admin-balances-board__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-balances-board__head h3 {
  font-family: var(--font-display);
  font-size: 15px;
  margin-bottom: 4px;
}

.admin-balances-board__head p {
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.admin-balances-board__live {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.admin-balances-board__updated {
  font-size: 9px;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}

.admin-clients-toolbar--inline {
  margin: 0 0 8px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.admin-balances-board .admin-clients-toolbar__count {
  margin: 0 0 10px;
  font-size: 11px;
  color: var(--color-text-muted);
}

.admin-client--balance-row {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.admin-client--balance-row.is-selected {
  border-color: rgba(255, 122, 26, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.25);
}

.admin-client__balance-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 10px;
}

.admin-client__balance-label {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--color-text-muted);
}

.admin-client__balance--flash {
  animation: admin-balance-flash 0.9s ease;
}

.admin-client__balance--up {
  color: #86efac !important;
}

.admin-client__balance--down {
  color: #fb7185 !important;
}

@keyframes admin-balance-flash {
  0% { transform: scale(1); }
  35% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.admin-clients-hero__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-clients-hero h3 {
  font-family: var(--font-display);
  font-size: 15px;
  margin-bottom: 4px;
}

.admin-clients-hero p {
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.admin-clients-live {
  font-size: 9px;
  font-weight: 700;
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.28);
  padding: 5px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.admin-clients-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.admin-clients-stat {
  text-align: center;
  padding: 10px 6px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-clients-stat__val {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--color-gold);
  margin-bottom: 2px;
}

.admin-clients-stat__lbl {
  font-size: 8px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.admin-client-my__info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-client-my__info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  margin-bottom: 2px;
}

.admin-client-my__meta {
  font-size: 10px;
  color: var(--color-text-muted);
}

.admin-client-my__actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.admin-client-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--color-gold);
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.22), rgba(255, 106, 0, 0.08));
  border: 1px solid rgba(255, 106, 0, 0.28);
  flex-shrink: 0;
}

.admin-client-avatar--lg {
  width: 48px;
  height: 48px;
  font-size: 14px;
}

.admin-client-focus__empty {
  text-align: center;
  padding: 8px 4px;
}

.admin-client-focus__empty-icon {
  display: block;
  font-size: 24px;
  margin-bottom: 8px;
}

.admin-client-focus__empty strong {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  margin-bottom: 4px;
}

.admin-client-focus__empty p {
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.admin-client-focus__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-client-focus__identity {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.admin-client-focus__label {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--color-gold);
  margin-bottom: 2px;
}

.admin-client-focus__identity h4 {
  font-family: var(--font-display);
  font-size: 15px;
  margin-bottom: 2px;
}

.admin-client-focus__meta {
  font-size: 10px;
  color: var(--color-text-muted);
}

.admin-client-focus__balance {
  text-align: right;
  flex-shrink: 0;
}

.admin-client-focus__balance span {
  display: block;
  font-size: 9px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.admin-client-focus__balance strong {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--color-gold);
}

.admin-client-focus__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.admin-client-focus__stats div {
  text-align: center;
  padding: 8px 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-client-focus__stats span {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--color-text-primary);
}

.admin-client-focus__stats small {
  font-size: 8px;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.admin-client-focus__form {
  margin-bottom: 10px;
}

.admin-client-focus__actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.admin-client-focus__actions .btn-brimstone {
  padding: 10px 6px;
  font-size: 10px;
}

.admin-clients-toolbar__count {
  margin: 8px 0 0;
  font-size: 10px;
  color: var(--color-text-muted);
}

.admin-wallet__result {
  margin: 0 16px 12px;
}

.admin-client {
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-client.is-selected {
  border-color: rgba(255, 106, 0, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 106, 0, 0.15);
}

.admin-client__select {
  width: 100%;
  padding: 14px;
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-client__row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.admin-client--balance-row .admin-client__row {
  margin-bottom: 0;
}

.admin-client__main {
  flex: 1;
  min-width: 0;
}

.admin-client__title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.admin-client__title-row h4 {
  font-family: var(--font-display);
  font-size: 14px;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-client__id {
  font-size: 10px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.admin-client__balance {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--color-gold);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.admin-client__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.admin-client__metric {
  text-align: center;
  padding: 8px 4px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.admin-client__metric span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.admin-client__metric small {
  font-size: 8px;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.admin-client__metric--alert span {
  color: #93c5fd;
}

.admin-client .tag {
  margin-top: 10px;
}

.admin-order {
  padding: 14px;
}

.admin-order__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.admin-order__head h4 {
  font-family: var(--font-display);
  font-size: 14px;
  margin-bottom: 2px;
}

.admin-order__meta {
  font-size: 10px;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.admin-order__price {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--color-gold);
  white-space: nowrap;
}

.admin-order__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 10px;
}

.admin-order__bin {
  font-size: 10px;
  color: var(--color-text-muted);
}

.admin-order .admin-confirm-crypto {
  width: 100%;
  padding: 10px;
  font-size: 11px;
  margin-bottom: 8px;
}

.admin-order__actions {
  display: flex;
  justify-content: flex-end;
}

.admin-order-delete {
  padding: 8px 12px !important;
  font-size: 10px !important;
  color: #ff8f75 !important;
  border-color: rgba(255, 61, 26, 0.35) !important;
}

.admin-orders-client-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 0 16px 10px;
  padding: 12px 14px;
  font-size: 11px;
}

.admin-orders-client-banner .btn-brimstone {
  padding: 8px 10px;
  font-size: 10px;
  flex-shrink: 0;
}

.admin-promos-hint {
  margin: 0 16px;
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.admin-promos-hint strong {
  color: var(--color-gold-hover);
}

.admin-announce-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 4px;
  font-size: 13px;
  color: var(--color-text-muted);
  cursor: pointer;
  user-select: none;
}

.admin-announce-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent);
}

#admin-announce-text {
  width: 100%;
  margin: 10px 0 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 106, 0, 0.25);
  background: rgba(0, 0, 0, 0.35);
  color: var(--color-text-primary);
  resize: vertical;
  font: inherit;
}

.admin-announce-result {
  margin-top: 10px;
  font-size: 12px;
  color: var(--color-success-soft);
}

.tag--sold {
  background: rgba(255, 61, 26, 0.15);
  border-color: rgba(255, 61, 26, 0.35);
  color: #ff8f75;
}

.tag--crypto {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.35);
  color: #93c5fd;
}

.tag--test {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.35);
  color: #d8b4fe;
}

.tag--status.tag--delivered {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.tag--status.tag--pending {
  background: rgba(234, 179, 8, 0.12);
  border-color: rgba(234, 179, 8, 0.35);
  color: #fde047;
}

.tag--status.tag--awaiting_crypto {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.35);
  color: #93c5fd;
}

.admin-global {
  margin: 0 16px 14px;
  padding: 16px;
}

.admin-global h3 {
  font-family: var(--font-display);
  font-size: 14px;
  margin-bottom: 4px;
}

.admin-global p {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.admin-global__row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-global__row input {
  width: 64px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-primary);
  font-size: 14px;
  text-align: center;
}

.admin-global__row .btn-brimstone {
  flex: 1;
  padding: 10px 8px;
  font-size: 11px;
}

.admin-promo-form {
  display: grid;
  grid-template-columns: 1fr 72px auto;
  gap: 8px;
  margin-top: 4px;
}

.admin-promo-form input {
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  outline: none;
}

.admin-promo-form input:focus {
  border-color: rgba(255, 106, 0, 0.5);
}

.admin-promo-form .btn-brimstone {
  padding: 0 12px;
  font-size: 11px;
  white-space: nowrap;
}

.admin-promo-codes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.admin-promo-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.admin-promo-code.is-off {
  opacity: 0.55;
}

.admin-promo-code__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-promo-code__info strong {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.6px;
  color: #fff;
}

.admin-promo-code__info span {
  font-size: 11px;
  color: #ffc14d;
  font-weight: 700;
}

.admin-promo-code__actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.admin-promo-code__actions button {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.admin-promo-code__actions button.is-on {
  border-color: rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.admin-promo-code__actions button.is-del {
  border-color: rgba(255, 80, 60, 0.35);
  color: #ff8f75;
}

.admin-promo-empty {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  padding: 12px 0 4px;
}

.admin-wallet {
  margin: 0 16px 14px;
  padding: 18px 16px;
}

.admin-wallet h3 {
  font-family: var(--font-display);
  font-size: 15px;
  margin-bottom: 6px;
}

.admin-wallet p {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.admin-wallet__quick {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.admin-wallet__quick-btn {
  padding: 10px 6px !important;
  font-size: 10px !important;
  width: 100%;
}

.admin-wallet__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.admin-wallet__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.admin-wallet__actions--3 {
  grid-template-columns: 1fr;
}

.admin-wallet__reset-self,
.admin-wallet__reset-btn {
  color: #ff8f75 !important;
  border-color: rgba(255, 61, 26, 0.35) !important;
}

.admin-wallet__add-btn {
  background: linear-gradient(135deg, rgba(255, 140, 26, 0.25), rgba(255, 106, 0, 0.2)) !important;
}

.admin-wallet__result {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 11px;
  line-height: 1.5;
}

.admin-wallet__result--ok {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.admin-wallet__result--err {
  background: rgba(255, 61, 26, 0.1);
  border: 1px solid rgba(255, 61, 26, 0.3);
  color: #ff8f75;
}

.admin-wallet__result.hidden {
  display: none;
}

.admin-wallet__hint {
  margin-top: 10px !important;
  margin-bottom: 0 !important;
  font-size: 11px !important;
}

.admin-wallet__hint strong {
  color: var(--color-gold-hover);
}

.admin-import {
  margin: 0 16px 14px;
  padding: 18px 16px;
}

.admin-import h3 {
  font-family: var(--font-display);
  font-size: 15px;
  margin-bottom: 6px;
}

.admin-import p {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  line-height: 1.55;
}

.admin-import code {
  font-size: 10px;
  color: var(--color-gold-hover);
}

.admin-import__file-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 106, 0, 0.45);
  background: rgba(255, 106, 0, 0.1);
  color: var(--color-gold-hover);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 8px;
}

.admin-import__file-name {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-bottom: 14px !important;
}

.admin-import__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.admin-field--wide {
  grid-column: 1 / -1;
}

.admin-import__presets {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.admin-import__preset {
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 61, 26, 0.35);
  background: rgba(255, 61, 26, 0.08);
  color: #ff8f75;
  font-size: 9px;
  font-weight: 700;
  font-family: var(--font-display);
  cursor: pointer;
}

.admin-import__preset:active {
  background: rgba(255, 61, 26, 0.16);
}

.admin-import__paste {
  margin-bottom: 12px;
}

.admin-import__paste summary {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-gold-hover);
  cursor: pointer;
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.admin-import__paste textarea {
  width: 100%;
  min-height: 120px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  color: var(--color-text-primary);
  font-size: 11px;
  line-height: 1.45;
  resize: vertical;
}

.admin-import__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.admin-import__actions .btn-brimstone {
  width: 100%;
  padding: 11px 8px;
  font-size: 10px;
}

.admin-import__hint {
  font-size: 10px !important;
  line-height: 1.55 !important;
  margin-bottom: 0 !important;
}

.admin-import__result {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 11px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.admin-import__result--ok {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.admin-import__result--err {
  background: rgba(255, 61, 26, 0.1);
  border: 1px solid rgba(255, 61, 26, 0.3);
  color: #ff8f75;
}

.admin-import__result.hidden {
  display: none;
}

.btn-brimstone--ghost {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: var(--color-text-muted) !important;
  flex: 0 0 auto !important;
  padding: 10px 14px !important;
}

.admin-products {
  padding: 0 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-card {
  padding: 14px;
}

.admin-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.admin-card__emoji {
  font-size: 24px;
}

.admin-card__head h4 {
  font-family: var(--font-display);
  font-size: 14px;
  flex: 1;
}

.admin-card__sub {
  flex: 1 1 100%;
  margin: -4px 0 0 34px;
  font-size: 10px;
  color: var(--color-text-muted);
  letter-spacing: 0.2px;
}

.admin-card__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.admin-field label {
  display: block;
  font-size: 9px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
  font-family: var(--font-display);
}

.admin-field input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-primary);
  font-size: 13px;
}

.admin-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-card__actions button {
  flex: 1;
  min-width: calc(50% - 3px);
  padding: 8px;
  font-size: 10px;
}

.tag--sale {
  background: rgba(255, 106, 0, 0.2);
  border: 1px solid rgba(255, 106, 0, 0.45);
  color: var(--color-gold-hover);
}

.tag--test {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #93c5fd;
}

.admin-test-banner {
  margin: 0 16px 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.admin-test-banner strong {
  color: #93c5fd;
}

.admin-test-banner.hidden {
  display: none;
}

.product-card__price-old {
  font-size: 11px;
  color: var(--color-text-muted);
  text-decoration: line-through;
  display: block;
  text-align: right;
}

.mycards-icon {
  font-size: 20px;
  filter: drop-shadow(0 0 8px rgba(255, 106, 0, 0.6));
}

.mycards-list {
  padding: 0 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mycard-item {
  padding: 0;
  position: relative;
  overflow: hidden;
}

.mycard-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ff8c1a, transparent);
  z-index: 1;
}

.mycard-item__summary {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px;
  cursor: pointer;
  color: inherit;
  display: block;
}

.mycard-item__summary:active {
  background: rgba(255, 106, 0, 0.04);
}

.mycard-item__preview {
  margin-top: 4px;
  font-family: monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.4px;
}

.mycard-item__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mycard-item__toggle-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-gold-hover);
  font-family: var(--font-display);
  letter-spacing: 0.3px;
}

.mycard-item__chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-gold);
  border-bottom: 2px solid var(--color-gold);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-right: 4px;
}

.mycard-item.is-open .mycard-item__chevron {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.mycard-item__details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

.mycard-item.is-open .mycard-item__details {
  max-height: 1200px;
  opacity: 1;
}

.mycard-item.is-open .mycard-item__details .mycard-details {
  padding: 14px 16px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: -2px;
}

.mycard-item__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 16px 16px;
}

.mycard-item__copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 106, 0, 0.4);
  background: rgba(255, 106, 0, 0.1);
  color: var(--color-gold-hover);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.mycard-item__copy:active {
  background: rgba(255, 106, 0, 0.18);
  border-color: rgba(255, 106, 0, 0.6);
  box-shadow: 0 0 16px rgba(255, 106, 0, 0.2);
}

.mycard-item__copy:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.mycard-item__delete {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 61, 26, 0.35);
  background: rgba(255, 61, 26, 0.08);
  color: #ff6b4a;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.mycard-item__delete:active {
  background: rgba(255, 61, 26, 0.16);
  border-color: rgba(255, 61, 26, 0.55);
  box-shadow: 0 0 16px rgba(255, 61, 26, 0.2);
}

.cart-page-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mycards-collapse-all {
  background: rgba(255, 106, 0, 0.1);
  border: 1px solid rgba(255, 106, 0, 0.3);
  color: var(--color-gold-hover);
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.3px;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
}

.mycards-collapse-all.hidden {
  display: none;
}

.mycards-collapse-all:active {
  background: rgba(255, 106, 0, 0.18);
}

.mycard-item__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
}

.mycard-item__thumb {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mycard-item__emoji {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 106, 0, 0.12);
  border: 1px solid rgba(255, 106, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 0 16px rgba(255, 106, 0, 0.15);
}

.mycard-item__info h4 {
  font-family: var(--font-display);
  font-size: 15px;
  margin-bottom: 4px;
}

.mycard-item__info p {
  font-size: 11px;
  color: var(--color-text-muted);
}

.mycard-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.mycard-item__bin {
  font-family: monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
  letter-spacing: 0.5px;
}

.mycards-empty {
  min-height: 50vh;
}

.tag--unique {
  background: rgba(255, 61, 26, 0.12);
  border: 1px solid rgba(255, 61, 26, 0.35);
  color: #ff8c6a;
}

@keyframes navCartWiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

/* Cart page view */
.cart-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px 14px;
  border-bottom: 1px solid rgba(255, 106, 0, 0.12);
  margin-bottom: 8px;
}

.cart-page-header__title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-page-header__icon {
  font-size: 18px;
  filter: drop-shadow(0 0 6px rgba(255, 106, 0, 0.5));
}

.cart-page-header .page-title {
  padding: 0;
  margin: 0;
  font-size: 17px;
  letter-spacing: 0.5px;
}

.cart-header__count.hidden {
  display: none;
}

.cart-checkout {
  padding: 0 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-checkout.hidden {
  display: none;
}

.cart-checkout__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 2px 2px;
}

.cart-checkout__head-mark {
  width: 4px;
  height: 34px;
  border-radius: 999px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #ffc14d, #ff6a00 55%, #c24e00);
  box-shadow: 0 0 12px rgba(255, 106, 0, 0.45);
}

.cart-checkout__head-text {
  min-width: 0;
}

.cart-recap-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #fff;
  background: linear-gradient(180deg, #ffffff 15%, #ffd9a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cart-checkout__sub {
  margin: 3px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.cart-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-line {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 140, 26, 0.18);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(255, 106, 0, 0.08), transparent 55%),
    rgba(12, 10, 9, 0.92);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cart-line:active {
  border-color: rgba(255, 106, 0, 0.4);
}

.cart-line__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cart-line__bin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  padding: 5px 10px;
  border-radius: 9px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 140, 26, 0.18), rgba(255, 106, 0, 0.06));
  border: 1px solid rgba(255, 140, 26, 0.38);
}

.cart-line__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.cart-line__main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-line__thumb {
  flex-shrink: 0;
}

.cart-line__thumb .card-thumb-img {
  width: 64px;
  height: 42px;
  border-radius: 7px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

.cart-line__info {
  flex: 1;
  min-width: 0;
}

.cart-line__info h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
}

.cart-line__info p {
  margin: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-line__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.cart-line__price {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: #ffc14d;
  text-shadow: 0 0 14px rgba(255, 106, 0, 0.35);
}

.cart-line__remove {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  border: 1px solid rgba(255, 80, 80, 0.35);
  background: rgba(255, 61, 26, 0.1);
  color: #ff8f75;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s, background 0.15s;
}

.cart-line__remove:active {
  transform: scale(0.92);
  background: rgba(255, 61, 26, 0.22);
}

.cart-block-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.cart-block-head__ico {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 106, 0, 0.12);
  border: 1px solid rgba(255, 140, 26, 0.28);
  font-size: 15px;
  flex-shrink: 0;
}

.cart-block-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.cart-block-head__hint {
  margin: 2px 0 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.cart-section-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 140, 26, 0.85);
  margin: 0;
}

.cart-section-label--spaced {
  margin-top: 2px;
}

.cart-promo {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 140, 26, 0.18);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(255, 106, 0, 0.1), transparent 50%),
    rgba(12, 10, 9, 0.92);
}

.cart-promo__row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.cart-promo__row input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.45);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cart-promo__row input::placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
}

.cart-promo__row input:focus {
  border-color: rgba(255, 106, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.12);
}

.cart-promo__btn {
  flex-shrink: 0;
  padding: 0 16px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffc14d 0%, #ff8c1a 45%, #e06a00 100%);
  color: #1a1208;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(255, 106, 0, 0.28);
  transition: transform 0.1s, filter 0.15s;
}

.cart-promo__btn:active {
  transform: scale(0.97);
  filter: brightness(1.05);
}

.cart-promo__msg {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 600;
}

.cart-promo__msg--ok {
  color: #86efac;
}

.cart-promo__msg--err {
  color: #ff8f75;
}

.cart-pay-block {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cart-payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cart-pay-card {
  position: relative;
  cursor: pointer;
  margin: 0;
}

.cart-pay-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cart-pay-card__inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 108px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 10, 9, 0.9);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.cart-pay-card input:checked + .cart-pay-card__inner {
  border-color: rgba(255, 140, 26, 0.7);
  background:
    radial-gradient(ellipse at 30% 0%, rgba(255, 106, 0, 0.16), transparent 60%),
    rgba(18, 14, 10, 0.98);
  box-shadow:
    0 0 0 1px rgba(255, 106, 0, 0.15),
    0 10px 24px rgba(255, 106, 0, 0.12);
}

.cart-pay-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.cart-pay-card__icon {
  font-size: 18px;
  line-height: 1;
}

.cart-pay-card__check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #1a1208;
  background: linear-gradient(135deg, #ffc14d, #ff6a00);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.15s, transform 0.15s;
}

.cart-pay-card input:checked + .cart-pay-card__inner .cart-pay-card__check {
  opacity: 1;
  transform: scale(1);
}

.cart-pay-card__inner strong {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.cart-pay-card__inner small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.3;
}

.cart-pay-card.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.cart-pay-card__soon {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 999px;
  color: #ffc14d;
  background: rgba(255, 106, 0, 0.14);
  border: 1px solid rgba(255, 140, 26, 0.3);
}

.cart-totals {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 140, 26, 0.2);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 106, 0, 0.1), transparent 55%),
    rgba(10, 9, 8, 0.95);
}

.cart-totals__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  padding: 6px 0;
}

.cart-totals__row--discount {
  color: #86efac;
}

.cart-totals__row--discount span:last-child {
  font-weight: 700;
}

.cart-totals__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-totals__total span:first-child {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
}

.cart-totals__total span:last-child {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #ffc14d;
  text-shadow: 0 0 18px rgba(255, 106, 0, 0.4);
  line-height: 1;
}

.cart-confirm-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 2px;
}

.cart-delivery-note {
  text-align: center;
  margin: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.45;
}

#view-cart .btn-confirm-order {
  width: 100%;
  margin: 0;
  padding: 0 18px;
  min-height: 54px;
  border-radius: 16px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(180deg, #ffc14d 0%, #ff8c1a 42%, #e06a00 100%);
  color: #1a1208;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow:
    0 10px 28px rgba(255, 106, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.1s, filter 0.15s, box-shadow 0.2s;
}

.btn-confirm-order__label {
  flex: 1;
  text-align: left;
}

.btn-confirm-order__arrow {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.18);
  font-size: 16px;
  font-weight: 700;
}

#view-cart .btn-confirm-order:active {
  transform: scale(0.98);
  filter: brightness(1.05);
  box-shadow: 0 8px 22px rgba(255, 106, 0, 0.45);
}

#view-cart .btn-confirm-order:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Emojis animés */
.emoji-anim {
  display: inline-block;
  line-height: 1;
  transform-origin: center center;
}

.emoji-cart {
  animation: emojiCartSwing 2.2s ease-in-out infinite;
}

.emoji-gift {
  animation: emojiGiftPop 2.4s ease-in-out infinite;
}

.emoji-check {
  animation: emojiCheckPulse 1.6s ease-in-out infinite;
}

.emoji-money {
  animation: emojiMoneyShine 2.5s ease-in-out infinite;
}

.emoji-gem {
  animation: emojiGemSparkle 2.8s ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(100, 180, 255, 0.5));
}

.emoji-fire {
  animation: emojiFireFlicker 1.2s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(255, 106, 0, 0.65));
}

.emoji-rocket {
  animation: emojiRocketLaunch 2s ease-in-out infinite;
}

.emoji-tap {
  animation: emojiTapClick 1.8s ease-in-out infinite;
}

@keyframes emojiCartSwing {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  25% { transform: rotate(-12deg) translateY(-2px); }
  75% { transform: rotate(8deg) translateY(-1px); }
}

@keyframes emojiGiftPop {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.18) rotate(-8deg); }
}

@keyframes emojiCheckPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}

@keyframes emojiMoneyShine {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.08); }
}

@keyframes emojiGemSparkle {
  0%, 100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 4px rgba(100, 180, 255, 0.4)); }
  50% { transform: scale(1.12) rotate(6deg); filter: drop-shadow(0 0 10px rgba(140, 210, 255, 0.9)); }
}

@keyframes emojiFireFlicker {
  0%, 100% { transform: scale(1) translateY(0); }
  30% { transform: scale(1.1) translateY(-2px); }
  60% { transform: scale(0.95) translateY(1px); }
}

@keyframes emojiRocketLaunch {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  40% { transform: translateY(-5px) rotate(-12deg); }
  70% { transform: translateY(-2px) rotate(6deg); }
}

@keyframes emojiTapClick {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(0.88); }
  60% { transform: scale(1.05); }
}

.emoji-wheel {
  display: inline-block;
}

/* Cart empty state */
.cart-empty {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 52vh;
  padding: 32px 24px 48px;
}

.cart-empty__glow {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.18) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -65%);
  pointer-events: none;
}

.cart-empty__icon-wrap {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 106, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow:
    0 0 30px rgba(255, 106, 0, 0.12),
    inset 0 0 20px rgba(255, 106, 0, 0.05);
}

.cart-empty__icon {
  font-size: 36px;
  opacity: 0.85;
  animation: cartEmptyFloat 3s ease-in-out infinite;
}

@keyframes cartEmptyFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.cart-empty__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  color: var(--color-text-primary);
}

.cart-empty__text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  max-width: 260px;
}

.cart-empty__cta {
  padding: 12px 28px !important;
  width: auto !important;
  margin: 0 !important;
}

#view-cart.is-empty .cart-items--page {
  margin-bottom: 0;
}

.cart-items--page {
  max-height: none;
  padding: 0;
  margin-bottom: 0;
}

#view-cart:not(.is-empty) .cart-items--page {
  display: none;
}

/* Hide search on other views */
body[data-view="admin"] #search-section,
body[data-view="cart"] #search-section,
body[data-view="mycards"] #search-section,
body[data-view="orders"] #search-section,
body[data-view="profile"] #search-section,
body[data-view="wallet"] #search-section,
body[data-view="support"] #search-section {
  display: none;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: rgba(255, 106, 0, 0.25); border-radius: 2px; }

/* Toast notification */
.toast {
  position: fixed;
  top: calc(12px + var(--safe-area-top));
  left: 50%;
  transform: translateX(-50%) translateY(-120%);
  z-index: 900;
  width: calc(100% - 32px);
  max-width: 400px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(20, 18, 16, 0.98), rgba(9, 9, 9, 0.98));
  border: 1.5px solid rgba(255, 106, 0, 0.45);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.6),
    0 0 24px rgba(255, 106, 0, 0.2),
    inset 0 0 16px rgba(255, 106, 0, 0.06);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.3s ease;
}

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

.toast__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff8c1a, #ff6a00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 0 14px rgba(255, 106, 0, 0.5);
}

.toast__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.toast__content strong {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.3px;
  color: var(--color-text-primary);
}

.toast__content span {
  font-size: 12px;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== App confirm (remplace Telegram showConfirm) ===== */
.app-confirm {
  position: fixed;
  inset: 0;
  z-index: 960;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.app-confirm.hidden {
  display: none;
}

.app-confirm.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.app-confirm__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
}

.app-confirm__panel {
  position: relative;
  width: 100%;
  max-width: 340px;
  padding: 26px 20px 18px;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 106, 0, 0.14), transparent 55%),
    linear-gradient(165deg, rgba(24, 18, 14, 0.98), rgba(8, 8, 8, 0.99));
  border: 1.5px solid rgba(255, 140, 26, 0.4);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.8),
    0 0 48px rgba(255, 106, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateY(18px) scale(0.94);
  transition: transform 0.34s cubic-bezier(0.34, 1.4, 0.64, 1);
  overflow: hidden;
}

.app-confirm.is-visible .app-confirm__panel {
  transform: translateY(0) scale(1);
}

.app-confirm__glow {
  position: absolute;
  top: -48px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 110px;
  background: radial-gradient(circle, rgba(255, 140, 26, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.app-confirm__icon-wrap {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 106, 0, 0.12);
  border: 1.5px solid rgba(255, 140, 26, 0.45);
  box-shadow: 0 0 28px rgba(255, 106, 0, 0.28);
}

.app-confirm--admin .app-confirm__icon-wrap {
  background: rgba(120, 90, 255, 0.14);
  border-color: rgba(160, 130, 255, 0.5);
  box-shadow: 0 0 28px rgba(140, 110, 255, 0.28);
}

.app-confirm--warn .app-confirm__icon-wrap {
  background: rgba(255, 180, 40, 0.12);
  border-color: rgba(255, 180, 40, 0.45);
  box-shadow: 0 0 28px rgba(255, 180, 40, 0.22);
}

.app-confirm__icon {
  font-size: 26px;
  line-height: 1;
}

.app-confirm__eyebrow {
  margin: 0 0 4px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255, 140, 26, 0.85);
}

.app-confirm--admin .app-confirm__eyebrow {
  color: rgba(180, 155, 255, 0.95);
}

.app-confirm--warn .app-confirm__eyebrow {
  color: rgba(255, 196, 80, 0.95);
}

.app-confirm__title {
  margin: 0 0 10px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #fff;
  background: linear-gradient(180deg, #ffffff 20%, #ffd9a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.app-confirm--admin .app-confirm__title {
  background: linear-gradient(180deg, #ffffff 15%, #d4c4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.app-confirm__body {
  margin: 0 0 14px;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.58);
}

.app-confirm__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0 0 18px;
}

.app-confirm__chips.hidden {
  display: none;
}

.app-confirm__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-confirm__chip--ok {
  color: #86efac;
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.28);
}

.app-confirm__chip--accent {
  color: #ffc14d;
  background: rgba(255, 106, 0, 0.12);
  border-color: rgba(255, 140, 26, 0.35);
}

.app-confirm__chip--admin {
  color: #c4b5fd;
  background: rgba(120, 90, 255, 0.12);
  border-color: rgba(160, 130, 255, 0.35);
}

.app-confirm__chip--warn {
  color: #ffd56a;
  background: rgba(255, 180, 40, 0.12);
  border-color: rgba(255, 180, 40, 0.35);
}

.app-confirm__actions {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 8px;
}

.app-confirm__cancel {
  min-height: 46px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.app-confirm__cancel:active {
  transform: scale(0.97);
  background: rgba(255, 255, 255, 0.08);
}

.app-confirm__ok {
  min-height: 46px;
  border: none;
  border-radius: 13px;
  background: linear-gradient(180deg, #ffc14d 0%, #ff8c1a 45%, #e06a00 100%);
  color: #1a1208;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(255, 106, 0, 0.32);
  transition: transform 0.1s, filter 0.15s;
}

.app-confirm__ok:active {
  transform: scale(0.97);
  filter: brightness(1.05);
}

.app-confirm--admin .app-confirm__ok {
  background: linear-gradient(180deg, #c4b5fd 0%, #8b6cff 45%, #6d4aff 100%);
  color: #120e24;
  box-shadow: 0 8px 22px rgba(120, 90, 255, 0.35);
}

.app-confirm--warn .app-confirm__ok {
  background: linear-gradient(180deg, #ffd56a 0%, #f0a020 50%, #d48400 100%);
  color: #1a1408;
}

/* ===== App alert (remplace Telegram showAlert) ===== */
.app-alert {
  position: fixed;
  inset: 0;
  z-index: 970;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.app-alert.hidden {
  display: none;
}

.app-alert.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.app-alert__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
}

.app-alert__panel {
  position: relative;
  width: 100%;
  max-width: 340px;
  padding: 28px 20px 20px;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(34, 197, 94, 0.16), transparent 55%),
    linear-gradient(165deg, rgba(18, 22, 18, 0.98), rgba(8, 8, 8, 0.99));
  border: 1.5px solid rgba(74, 222, 128, 0.35);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.8),
    0 0 48px rgba(34, 197, 94, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateY(18px) scale(0.94);
  transition: transform 0.34s cubic-bezier(0.34, 1.4, 0.64, 1);
  overflow: hidden;
  text-align: center;
}

.app-alert.is-visible .app-alert__panel {
  transform: translateY(0) scale(1);
}

.app-alert--error .app-alert__panel {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 80, 60, 0.16), transparent 55%),
    linear-gradient(165deg, rgba(24, 14, 12, 0.98), rgba(8, 8, 8, 0.99));
  border-color: rgba(255, 100, 80, 0.4);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.8),
    0 0 48px rgba(255, 80, 60, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.app-alert--admin .app-alert__panel {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(120, 90, 255, 0.18), transparent 55%),
    linear-gradient(165deg, rgba(18, 16, 28, 0.98), rgba(8, 8, 8, 0.99));
  border-color: rgba(160, 130, 255, 0.4);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.8),
    0 0 48px rgba(120, 90, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.app-alert__glow {
  position: absolute;
  top: -48px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 110px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.app-alert--error .app-alert__glow {
  background: radial-gradient(circle, rgba(255, 90, 70, 0.28) 0%, transparent 70%);
}

.app-alert--admin .app-alert__glow {
  background: radial-gradient(circle, rgba(140, 110, 255, 0.3) 0%, transparent 70%);
}

.app-alert__icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.14);
  border: 1.5px solid rgba(74, 222, 128, 0.5);
  box-shadow: 0 0 32px rgba(34, 197, 94, 0.3);
  animation: appAlertPop 0.45s cubic-bezier(0.34, 1.5, 0.64, 1) both;
}

.app-alert--error .app-alert__icon-wrap {
  background: rgba(255, 80, 60, 0.14);
  border-color: rgba(255, 120, 100, 0.5);
  box-shadow: 0 0 32px rgba(255, 80, 60, 0.28);
}

.app-alert--admin .app-alert__icon-wrap {
  background: rgba(120, 90, 255, 0.14);
  border-color: rgba(160, 130, 255, 0.5);
  box-shadow: 0 0 32px rgba(120, 90, 255, 0.3);
  border-radius: 18px;
}

@keyframes appAlertPop {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.app-alert__icon {
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  color: #86efac;
}

.app-alert--error .app-alert__icon {
  color: #ff8f75;
}

.app-alert--admin .app-alert__icon {
  color: #c4b5fd;
  font-weight: 400;
}

.app-alert__eyebrow {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(134, 239, 172, 0.9);
}

.app-alert--error .app-alert__eyebrow {
  color: rgba(255, 143, 117, 0.95);
}

.app-alert--admin .app-alert__eyebrow {
  color: rgba(180, 155, 255, 0.95);
}

.app-alert__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #fff;
  background: linear-gradient(180deg, #ffffff 20%, #b8f5c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.app-alert--error .app-alert__title {
  background: linear-gradient(180deg, #ffffff 20%, #ffc4b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.app-alert--admin .app-alert__title {
  background: linear-gradient(180deg, #ffffff 15%, #d4c4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.app-alert__body {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.58);
}

.app-alert__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0 0 18px;
}

.app-alert__chips.hidden {
  display: none;
}

.app-alert__chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-alert__chip--ok {
  color: #86efac;
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.28);
}

.app-alert__chip--accent {
  color: #ffc14d;
  background: rgba(255, 106, 0, 0.12);
  border-color: rgba(255, 140, 26, 0.35);
}

.app-alert__chip--admin {
  color: #c4b5fd;
  background: rgba(120, 90, 255, 0.12);
  border-color: rgba(160, 130, 255, 0.35);
}

.app-alert__ok {
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffc14d 0%, #ff8c1a 45%, #e06a00 100%);
  color: #1a1208;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(255, 106, 0, 0.32);
  transition: transform 0.1s, filter 0.15s;
}

.app-alert__ok:active {
  transform: scale(0.97);
  filter: brightness(1.05);
}

.app-alert--admin .app-alert__ok {
  background: linear-gradient(180deg, #c4b5fd 0%, #8b6cff 45%, #6d4aff 100%);
  color: #120e24;
  box-shadow: 0 8px 22px rgba(120, 90, 255, 0.35);
}

.app-alert--error .app-alert__ok {
  background: linear-gradient(180deg, #ff9a7a 0%, #ff5a3a 50%, #d9381a 100%);
  color: #1a0a08;
  box-shadow: 0 8px 22px rgba(255, 80, 60, 0.3);
}

/* Delete card confirmation modal */
.delete-modal {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.delete-modal.hidden {
  display: none;
}

.delete-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.delete-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
}

.delete-modal__panel {
  position: relative;
  width: 100%;
  max-width: 360px;
  padding: 24px 20px 20px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(22, 18, 16, 0.98), rgba(8, 8, 8, 0.98));
  border: 1.5px solid rgba(255, 106, 0, 0.35);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.75),
    0 0 40px rgba(255, 106, 0, 0.12),
    inset 0 0 24px rgba(255, 106, 0, 0.04);
  transform: translateY(16px) scale(0.96);
  transition: transform 0.32s cubic-bezier(0.34, 1.4, 0.64, 1);
  overflow: hidden;
}

.delete-modal.is-visible .delete-modal__panel {
  transform: translateY(0) scale(1);
}

.delete-modal__glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 61, 26, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.delete-modal__icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(255, 61, 26, 0.12);
  border: 1.5px solid rgba(255, 61, 26, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(255, 61, 26, 0.25);
}

.delete-modal__icon {
  font-size: 26px;
}

.delete-modal__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

.delete-modal__title--danger {
  color: #ff4d4d;
}

.delete-modal__card-name {
  text-align: center;
  font-size: 12px;
  color: var(--color-gold-hover);
  margin-bottom: 16px;
  font-weight: 600;
}

.delete-modal__warning {
  padding: 14px 14px 12px;
  border-radius: 14px;
  background: rgba(255, 61, 26, 0.07);
  border: 1px solid rgba(255, 61, 26, 0.28);
  margin-bottom: 16px;
}

.delete-modal__warning-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: #ff7a5c;
  letter-spacing: 0.4px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.delete-modal__warning-text {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 8px;
}

.delete-modal__warning-text:last-child {
  margin-bottom: 0;
}

.delete-modal__warning-text strong {
  color: #ffb49a;
}

.delete-modal__warning-text strong.is-danger {
  color: #ff4d4d;
}

.delete-modal__confirm-field {
  margin-bottom: 16px;
}

.delete-modal__confirm-field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 77, 77, 0.35);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 13px;
  outline: none;
  color-scheme: dark;
}

.delete-modal__confirm-field input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.delete-modal__confirm-field input:focus {
  border-color: rgba(255, 77, 77, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 61, 26, 0.15);
}

.delete-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.delete-modal__cancel {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.delete-modal__confirm {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 61, 26, 0.45);
  background: rgba(255, 61, 26, 0.16);
  color: #ff6b6b;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.delete-modal__confirm:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  filter: grayscale(0.3);
}

.delete-modal__confirm:active:not(:disabled) {
  transform: scale(0.98);
}

.mycards-delete-all {
  border: 1px solid rgba(255, 61, 26, 0.4);
  background: rgba(255, 61, 26, 0.1);
  color: #ff6b6b;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.mycards-delete-all.hidden {
  display: none;
}

.mycards-delete-all:active {
  transform: scale(0.96);
}

/* ===== Wallet / Mon Solde ===== */
.wallet-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 4px 14px 20px;
  box-sizing: border-box;
}

.wallet-page__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wallet-page__head-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 106, 0, 0.1);
  border: 1px solid rgba(255, 140, 26, 0.35);
}

.wallet-page__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #fff;
}

.wallet-hero {
  position: relative;
  text-align: center;
  padding: 28px 20px 24px;
  border-radius: 18px;
  background:
    radial-gradient(120% 80% at 50% 120%, rgba(255, 106, 0, 0.22), transparent 55%),
    linear-gradient(180deg, #141414 0%, #0c0c0c 100%);
  border: 1px solid rgba(255, 140, 26, 0.22);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.wallet-hero__label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: rgba(255, 255, 255, 0.45);
}

.wallet-hero__amount {
  margin: 0;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  text-shadow: 0 0 28px rgba(255, 140, 26, 0.35);
  line-height: 1.1;
}

.wallet-hero__hint {
  margin: 12px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 180, 80, 0.85);
}

.wallet-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wallet-section__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.wallet-amounts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.wallet-amount-btn {
  padding: 16px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s, box-shadow 0.15s;
}

.wallet-amount-btn:active {
  transform: scale(0.97);
}

.wallet-amount-btn.is-selected,
.wallet-amount-btn:hover {
  border-color: rgba(255, 140, 26, 0.55);
  background: rgba(255, 106, 0, 0.12);
  box-shadow: 0 0 18px rgba(255, 106, 0, 0.15);
  color: #ffb14a;
}

.wallet-custom {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.wallet-custom__field {
  position: relative;
  flex: 1;
  min-width: 0;
}

.wallet-custom__field input {
  width: 100%;
  padding: 14px 36px 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  outline: none;
}

.wallet-custom__field input:focus {
  border-color: rgba(255, 140, 26, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.12);
}

.wallet-custom__field input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.wallet-custom__suffix {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.35);
  font-weight: 700;
  pointer-events: none;
}

.wallet-custom__go {
  width: 52px;
  flex-shrink: 0;
  border: none;
  border-radius: 14px;
  background: linear-gradient(145deg, #ff9a2e, #ff6a00);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(255, 106, 0, 0.4);
  transition: transform 0.1s, box-shadow 0.15s;
}

.wallet-custom__go:active {
  transform: scale(0.96);
  box-shadow: 0 3px 12px rgba(255, 106, 0, 0.35);
}

.wallet-history {
  min-height: 140px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 8px;
}

.wallet-history__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 140px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
  font-weight: 600;
}

.wallet-history__empty-icon {
  font-size: 28px;
  opacity: 0.55;
}

.wallet-history__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 12px;
}

.wallet-history__item + .wallet-history__item {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.wallet-history__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.wallet-history__meta strong {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.wallet-history__meta span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}

.wallet-history__amount {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #5ddea5;
  flex-shrink: 0;
}

.wallet-history__amount.is-out {
  color: #ff6b6b;
}

/* ===== Roue de la fortune ===== */
.wheel-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.wheel-modal.hidden {
  display: none;
}

.wheel-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.wheel-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 400px);
  padding: 18px 16px 16px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 140, 26, 0.1), transparent 55%),
    linear-gradient(180deg, #141414 0%, #0a0a0a 100%);
  border: 1px solid rgba(212, 168, 75, 0.28);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.wheel-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.wheel-modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-right: 28px;
  margin-bottom: 4px;
}

.wheel-modal__title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2px;
}

.wheel-modal__title-ico {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #1a1208;
  background: radial-gradient(circle at 35% 30%, #f0d078, #c9962a 55%, #8a6418);
  box-shadow: 0 0 10px rgba(212, 168, 75, 0.45);
}

.wheel-spin-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(212, 168, 75, 0.35);
  color: #f5e6c8;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.wheel-spin-chip__ico {
  font-size: 12px;
  filter: drop-shadow(0 0 4px rgba(255, 200, 80, 0.5));
}

.wheel-spin-chip__lbl {
  color: rgba(245, 230, 200, 0.55);
  font-weight: 600;
}

.wheel-modal__subtitle {
  margin: 0 0 14px;
  text-align: left;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.wheel-stage {
  position: relative;
  width: min(92vw, 300px);
  height: min(92vw, 300px);
  margin: 8px auto 16px;
}

.wheel-stage__glow {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 140, 26, 0.22), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.wheel-rim {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-sizing: border-box;
  padding: 13px;
  background:
    radial-gradient(circle at 32% 28%, #f3d48a, #c9962a 38%, #7a5614 72%, #3d2a0a);
  box-shadow:
    0 0 0 2px rgba(255, 220, 140, 0.25),
    0 12px 36px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(212, 168, 75, 0.18),
    inset 0 2px 4px rgba(255, 255, 255, 0.35),
    inset 0 -3px 6px rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.wheel-lights {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  z-index: 3;
  pointer-events: none;
}

.wheel-light {
  position: absolute;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff8dc, #f0c14b 55%, #a87818);
  box-shadow: 0 0 6px rgba(255, 210, 100, 0.85);
}

.wheel-disc-wrap {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.wheel-disc {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(0, 0, 0, 0.4);
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.4);
  transition: transform 0.1s linear;
  transform-origin: 50% 50%;
  will-change: transform;
}

.wheel-disc.is-spinning {
  transition: transform 4.2s cubic-bezier(0.12, 0.75, 0.08, 1);
}

.wheel-disc__shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.12), transparent 42%);
  pointer-events: none;
  z-index: 1;
}

.wheel-seg-label {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 2;
}

.wheel-seg-label__inner {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  width: 74px;
  transform: translate(-50%, -100px);
  text-align: center;
}

.wheel-seg-label.is-flipped .wheel-seg-label__inner {
  transform: translate(-50%, -100px) rotate(180deg);
}

.wheel-seg-ico {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #111;
  background: radial-gradient(circle at 35% 30%, #ffffff, #e8e8e8 55%, #c0c0c0);
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.55),
    0 0 0 1.5px rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

.wheel-seg-ico--bolt {
  background: radial-gradient(circle at 35% 30%, #fff3b0, #ffd54f);
  color: #3a2a00;
}

.wheel-seg-ico--spin {
  background: radial-gradient(circle at 35% 30%, #ffffff, #ffe082);
  color: #e65100;
  font-size: 13px;
}

.wheel-seg-ico--crown {
  background: radial-gradient(circle at 35% 30%, #fff8e1, #ffc107);
  font-size: 13px;
}

.wheel-seg-ico--lose {
  background: radial-gradient(circle at 35% 30%, #bdbdbd, #424242);
  color: #fff;
}

.wheel-seg-text {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  letter-spacing: 0.3px;
  white-space: nowrap;
  text-shadow:
    0 0 4px rgba(0, 0, 0, 0.95),
    0 1px 2px rgba(0, 0, 0, 1),
    0 2px 6px rgba(0, 0, 0, 0.85),
    1px 1px 0 #000,
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000;
}

.wheel-seg-label.is-spin .wheel-seg-text {
  color: #fff;
  font-size: 13px;
  letter-spacing: 1px;
  text-shadow:
    0 0 6px rgba(0, 0, 0, 0.95),
    0 1px 3px #000,
    1px 1px 0 #000,
    -1px -1px 0 #000,
    0 0 14px rgba(255, 152, 0, 0.7);
}

.wheel-seg-label.is-jackpot .wheel-seg-text {
  color: #1a1000;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.4px;
  text-shadow:
    0 0 3px #fff,
    0 1px 0 #fff,
    1px 1px 0 rgba(255, 255, 255, 0.9),
    -1px -1px 0 rgba(255, 255, 255, 0.9),
    0 0 10px rgba(255, 236, 160, 0.95);
}

.wheel-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 35% 28%, #ffe9a0, #d4a017 42%, #8a6410 78%, #4a3208);
  border: 3px solid rgba(255, 230, 160, 0.55);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.5),
    0 0 18px rgba(212, 168, 75, 0.45),
    inset 0 2px 4px rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

.wheel-hub__bolt {
  font-size: 22px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
  line-height: 1;
}

.wheel-pointer {
  position: absolute;
  top: -4px;
  left: 50%;
  z-index: 6;
  width: 26px;
  height: 34px;
  transform: translateX(-50%);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.wheel-pointer__tip {
  display: block;
  width: 0;
  height: 0;
  margin: 0 auto;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 26px solid #e11d2e;
  position: relative;
}

.wheel-pointer__tip::after {
  content: "";
  position: absolute;
  top: -24px;
  left: 50%;
  width: 8px;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe08a, #e0a820);
  box-shadow: 0 0 6px rgba(255, 200, 80, 0.8);
}

.wheel-result {
  text-align: center;
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #ffb14a;
  min-height: 22px;
}

.wheel-result.is-win {
  color: #5ddea5;
}

.wheel-result.is-lose {
  color: rgba(255, 255, 255, 0.55);
}

.wheel-spin-btn {
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 14px 16px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: #1a1208;
  cursor: pointer;
  background: linear-gradient(180deg, #ffc14d 0%, #ff8c1a 45%, #e06a00 100%);
  box-shadow:
    0 8px 22px rgba(255, 106, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.wheel-spin-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.wheel-spin-btn:disabled,
#btn-wheel-spin:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  box-shadow: none;
  filter: grayscale(0.25);
}

.wheel-btn.is-locked {
  opacity: 0.55;
  animation: none;
}

.wallet-crypto-soon {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 180, 80, 0.9);
  background: rgba(255, 106, 0, 0.08);
  border: 1px solid rgba(255, 140, 26, 0.25);
}

/* === DESIGN AUDIT FIXES === */

/* Focus visible */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
.nav-btn:focus-visible,
.cart-add-btn:focus-visible,
.interactive-btn:focus-visible {
  outline: 2px solid var(--color-accent-hover);
  outline-offset: 2px;
}

.cart-pay-card:has(input:focus-visible) .cart-pay-card__inner {
  outline: 2px solid var(--color-accent-hover);
  outline-offset: 2px;
}

/* Nav contrast + size */
.nav-btn {
  color: rgba(255, 255, 255, 0.72);
  min-height: 48px;
}
.nav-btn__label {
  font-size: 10px !important;
  color: inherit;
}
.nav-btn.active {
  color: var(--color-accent-hover);
}

/* Touch targets */
.card-listing__add,
.cart-add-btn,
.wheel-btn,
.cart-header-btn,
.wheel-modal__close,
.mycards-delete-all,
.mycards-collapse-all {
  min-width: 44px;
  min-height: 44px;
}

/* White-on-orange → dark-on-orange */
.nav-btn__badge,
.cart-header-btn__badge,
.cart-promo__btn,
.toast__icon,
.wallet-custom__go {
  color: var(--color-on-accent) !important;
}

.cart-promo__btn {
  background: var(--gradient-accent);
}

/* Muted text contrast */
.card-listing__bank-type,
.filter-toggle__arrow,
.wallet-section__label,
.mycard-item__preview,
.empty-state,
.nav-btn:not(.active) {
  color: var(--color-text-muted);
}

.filter-toggle__left {
  color: var(--color-text-primary);
  opacity: 1;
}

/* glass-card → surface */
.glass-card {
  background: var(--color-bg-sheet);
  backdrop-filter: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

/* CTA glow toned down */
.btn-brimstone {
  box-shadow: var(--glow-cta) !important;
}

/* Delete modal danger chrome */
.delete-modal__panel {
  border-color: rgba(255, 61, 26, 0.45) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), 0 0 24px rgba(255, 61, 26, 0.2) !important;
}
.delete-modal__overlay {
  backdrop-filter: none !important;
  background: rgba(0, 0, 0, 0.72) !important;
}

/* Admin tabs accent not red */
.admin-tab.active {
  color: var(--color-accent-hover) !important;
  border-color: rgba(255, 106, 0, 0.45) !important;
  background: rgba(255, 106, 0, 0.12) !important;
}

/* Bottom nav simplify hatch */
.bottom-nav__bg {
  background: rgba(12, 10, 9, 0.96) !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.55) !important;
}

/* Cart emoji anims: only keep 1-2 (disable most infinite) */
#view-cart .emoji-anim:not(.emoji-fire):not(.emoji-tap) {
  animation: none !important;
}

/* cartPulse on icon → use transform */
.nav-btn.has-items .nav-btn__icon {
  animation: navCartWiggle 0.6s ease 1 !important;
}
.nav-btn.has-items .nav-btn__badge {
  animation: cartPulse 1.8s ease-in-out infinite;
}

/* Add-to-cart: prefer bounce */
.cart-add-btn.animate {
  animation: cartBounce 0.45s ease !important;
}
.cart-add-btn.pulse {
  animation: none !important;
}

/* Toast types */
.toast--warning .toast__icon { background: var(--color-warning); color: #1a1208; }
.toast--error .toast__icon { background: var(--color-danger); color: #fff; }
.toast--info .toast__icon { background: var(--color-info); color: #0a0a0a; }

/* Toast stay in a11y tree */
.toast.hidden {
  display: flex !important;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  visibility: hidden;
}

/* Profile hub links */
.profile-hub {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.profile-hub__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 106, 0, 0.22);
  background: var(--color-card-bg);
  color: var(--color-text-primary);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  min-height: 48px;
}
.profile-hub__btn:active {
  border-color: rgba(255, 140, 26, 0.5);
}

/* Crypto disabled card */
.cart-pay-card.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}
.cart-pay-card__soon {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--color-warning);
}

/* Wallet client support CTA */
.wallet-support-cta {
  margin-top: 12px;
}

/* Filters reset row */
.filters-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-filters-clear,
.btn-filters-apply {
  flex: 1;
  min-height: 48px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
}

.btn-filters-clear {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
}

.btn-filters-apply {
  border: none;
  color: #1a1208;
  background: linear-gradient(180deg, #ffc14d 0%, #ff8c1a 45%, #e06a00 100%);
  box-shadow: 0 8px 20px rgba(255, 106, 0, 0.28);
}

.filters-actions .btn-secondary {
  flex: 1;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--color-text-muted);
  font-weight: 600;
}
.filters-actions .btn-brimstone {
  flex: 1;
}

/* Empty state CTA */
.empty-state-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 16px;
  text-align: center;
}
.empty-state-wrap .btn-brimstone {
  min-height: 44px;
  padding: 0 20px;
}

/* Spin chip FR */
.wheel-spin-chip__lbl { /* content via HTML */ }

/* ringPulse limited via class removal in JS; soften here */
.spin-btn-available {
  animation-iteration-count: 3;
}

/* Secondary muted alphas */
.filter-toggle__arrow {
  opacity: 1 !important;
  color: var(--color-text-muted) !important;
}

/* ===== Telegram-only gate ===== */
.tg-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(255, 106, 0, 0.16), transparent 55%),
    #090909;
}

.tg-gate.hidden {
  display: none !important;
}

.tg-gate__card {
  width: 100%;
  max-width: 360px;
  padding: 28px 22px;
  border-radius: 20px;
  border: 1.5px solid rgba(255, 140, 26, 0.35);
  background: linear-gradient(165deg, rgba(24, 18, 14, 0.98), rgba(8, 8, 8, 0.99));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75);
  text-align: center;
}

.tg-gate__icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.tg-gate__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.tg-gate__text {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.tg-gate__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffc14d 0%, #ff8c1a 45%, #e06a00 100%);
  color: #1a1208;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(255, 106, 0, 0.32);
}

body.is-tg-gated {
  overflow: hidden;
}
