/* BLACK Mini App — Stitch-matched customer UI
   Local production CSS: no Tailwind CDN and no external fonts. */

.customer {
  --outer-bg:#050607;
  --tg:#2AABEE;
  --stars:#F5B041;
  --premium:#B072FF;
  --tiktok:#FE2C55;
  --emerald:#00C98B;
  --silver-glow:#D1D6DE;
  min-height:100dvh;
  background:var(--outer-bg);
  color:var(--black-text);
  font-family:system-ui,-apple-system,"Segoe UI",Tahoma,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  -webkit-tap-highlight-color:transparent;
  user-select:none;
}

:root[data-theme="light"] .customer { --outer-bg:#EEF1F4; }
.customer button { font-family:inherit; }
.customer .tg-tap { transition:transform .12s cubic-bezier(.4,0,.2,1),opacity .12s,border-color .16s,background .16s; }
.customer .tg-tap:active { transform:scale(.97); opacity:.9; }

/* App frame — same 420px body as the Stitch phone canvas, without fake Telegram chrome. */
.customer .app-frame {
  width:100%;
  max-width:420px;
  min-height:100dvh;
  margin:0 auto;
  background:var(--black-bg);
  overflow:hidden;
  position:relative;
}
.customer .screen-viewport {
  padding:16px 16px max(28px,env(safe-area-inset-bottom),var(--safe-bottom));
  min-height:calc(100dvh - 69px);
}
.customer .view { animation:customer-fade .16s ease-out; }
@keyframes customer-fade { from{opacity:.62;transform:translateY(3px)} to{opacity:1;transform:none} }

/* Header — direct port of the compact Stitch header proportions. */
.customer .app-header {
  min-height:69px;
  padding:12px 16px;
  padding-top:max(12px,env(safe-area-inset-top),var(--safe-top));
  border-bottom:1px solid color-mix(in srgb,var(--black-border) 55%,transparent);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  background:var(--black-bg);
  position:sticky;
  top:0;
  z-index:30;
}
.customer .brand-row { display:flex;align-items:center;gap:10px;min-width:0; }
.customer .brand-avatar {
  width:40px;height:40px;flex:0 0 40px;position:relative;
  border-radius:12px;border:1px solid var(--black-border);
  background:var(--black-card);box-shadow:inset 0 1px 0 #ffffff0a;
  display:grid;place-items:center;overflow:visible;
}
.customer .brand-symbol { width:100%;height:100%;display:grid;place-items:center;font-size:20px;overflow:hidden;border-radius:11px; }
.customer .brand-symbol .emoji-inline { width:24px;height:24px; }
.customer .online-dot {
  position:absolute;bottom:-2px;left:-2px;width:12px;height:12px;border-radius:50%;
  background:var(--emerald);border:2px solid var(--black-bg);
}
.customer .brand-copy { min-width:0;line-height:1.4; }
.customer .brand-copy strong { display:block;font-size:12px;font-weight:750;color:var(--black-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:178px; }
.customer .brand-copy small { display:block;margin-top:2px;font-size:10.5px;color:var(--black-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:205px; }
.customer .header-controls { display:flex;align-items:center;gap:6px;flex:0 0 auto; }
.customer .header-control {
  height:32px;min-height:32px;padding:0 9px;border-radius:9px;
  border:1px solid var(--black-border);background:var(--black-soft);color:var(--black-silver-light);
  box-shadow:none;display:flex;align-items:center;justify-content:center;gap:5px;font-size:11px;
}
.customer .currency-control { min-width:69px;direction:ltr; }
.customer .currency-control .emoji-inline { width:16px;height:16px; }
.customer .currency-code { font-weight:650;letter-spacing:.2px; }
.customer .currency-chevron { color:var(--black-muted);font-size:12px;transform:translateY(-1px); }
.customer .theme-control { width:32px;min-width:32px;padding:0; }
.customer .theme-control .emoji-inline { width:16px;height:16px; }

/* Stitch section labels. */
.customer .section-strip {
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding-top:2px;margin:16px 0 10px;
}
.customer .section-strip h2 { font-size:11px;font-weight:800;letter-spacing:.7px;color:var(--black-silver); }
.customer .section-strip span { font-size:10.5px;color:var(--black-muted); }

/* Telegram hero card. */
.customer .telegram-hero {
  position:relative;overflow:hidden;width:100%;min-height:130px;margin:0;padding:15px;
  border:1px solid var(--black-border);border-radius:17px;background:var(--black-card);
  text-align:right;color:var(--black-text);box-shadow:none;
}
.customer .hero-glow {
  position:absolute;top:-50px;right:-45px;width:150px;height:150px;border-radius:50%;
  background:radial-gradient(circle,#969dab1f 0%,#969dab0b 45%,transparent 73%);pointer-events:none;
}
.customer .hero-main { position:relative;z-index:1;display:flex;align-items:flex-start;justify-content:space-between;gap:10px; }
.customer .hero-copy { display:flex;align-items:center;gap:12px;min-width:0; }
.customer .hero-icon {
  width:48px;height:48px;flex:0 0 48px;border-radius:12px;
  border:1px solid #2F3742;background:linear-gradient(145deg,#242E38,#12161B);
  display:grid;place-items:center;color:var(--tg);font-size:25px;
}
.customer .hero-icon img,.customer .hero-icon video { width:31px;height:31px;object-fit:contain; }
.customer .hero-text { min-width:0; }
.customer .hero-title-row { display:flex;align-items:center;gap:6px;flex-wrap:wrap; }
.customer .hero-title-row strong { font-size:15px;font-weight:800;color:var(--black-text); }
.customer .hero-badge { padding:2px 6px;border-radius:6px;background:#2aabee1c;color:var(--tg);font-size:9px;font-weight:750;white-space:nowrap; }
.customer .hero-text small { display:block;margin-top:3px;color:var(--black-muted);font-size:10.5px;line-height:1.5; }
.customer .hero-arrow {
  width:28px;height:28px;flex:0 0 28px;border-radius:50%;background:var(--black-soft);
  display:grid;place-items:center;color:var(--black-muted);
}
.customer .hero-arrow img,.customer .hero-arrow video { width:15px;height:15px; }
.customer .hero-features {
  position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;gap:7px 10px;
  margin-top:14px;padding-top:11px;border-top:1px solid color-mix(in srgb,var(--black-border) 68%,transparent);
}
.customer .hero-features span { display:flex;align-items:center;gap:6px;font-size:10px;line-height:1.4;color:var(--black-silver-light); }
.customer .status-dot { width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:var(--emerald);box-shadow:0 0 7px #00c98b42; }
.customer .pulse { animation:pulse-dot 1.9s ease-in-out infinite; }
@keyframes pulse-dot { 50%{opacity:.42;box-shadow:0 0 11px #00c98b70} }

/* Exact 2x2 home grid from Stitch. */
.customer .home-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }
.customer .home-card {
  height:128px;min-height:128px;padding:13px;border:1px solid var(--black-border);border-radius:16px;
  background:var(--black-card);display:flex;flex-direction:column;justify-content:space-between;text-align:right;color:var(--black-text);overflow:hidden;
}
.customer .home-card-top { display:flex;align-items:flex-start;justify-content:space-between;gap:8px; }
.customer .home-card-icon {
  width:40px;height:40px;flex:0 0 40px;border-radius:12px;border:1px solid #2B333E;
  background:linear-gradient(145deg,#1E252D,#12161B);display:grid;place-items:center;font-size:21px;
}
.customer .home-card-icon img,.customer .home-card-icon video { width:26px;height:26px;object-fit:contain; }
.customer .home-card-badge {
  padding:2px 6px;border-radius:6px;border:1px solid color-mix(in srgb,var(--black-border) 85%,transparent);
  background:var(--black-soft);color:var(--black-silver);font-size:9px;line-height:1.4;white-space:nowrap;
}
.customer .home-card-copy { display:block;min-width:0; }
.customer .home-card-copy strong { display:block;color:var(--black-text);font-size:13px;font-weight:800;line-height:1.45; }
.customer .home-card-copy small { display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-top:3px;color:var(--black-muted);font-size:10.2px;line-height:1.5; }
.customer .home-card[data-accent="games"] .home-card-badge { color:var(--emerald);background:#00c98b10;border-color:#00c98b18; }
.customer .home-card[data-accent="tiktok"] .home-card-icon { background:linear-gradient(145deg,#20151C,#12161B);border-color:#3A2433;color:var(--tiktok); }
.customer .home-card[data-accent="request"] .home-card-icon,.customer .home-card[data-accent="payment"] .home-card-icon { background:var(--black-soft);border-color:var(--black-border); }

.customer .assurance-strip {
  margin-top:12px;padding:10px 11px;border:1px solid var(--black-border);border-radius:12px;background:var(--black-soft);
  display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--black-silver);font-size:10px;
}
.customer .assurance-strip>span { display:flex;align-items:center;gap:7px;min-width:0; }
.customer .assurance-strip b { color:var(--black-muted);font-size:9.5px;font-weight:650;direction:ltr;white-space:nowrap; }

/* Hub / section screen. */
.customer .section-page-head { margin-bottom:12px; }
.customer .inline-back {
  min-height:30px;padding:1px 0 6px;margin:0 0 5px;border:0;background:transparent;color:var(--black-silver-light);
  display:inline-flex;align-items:center;gap:5px;font-size:11px;
}
.customer .inline-back .emoji-inline { width:15px;height:15px; }
.customer .section-page-title { display:flex;align-items:flex-start;justify-content:space-between;gap:12px; }
.customer .section-page-title h1 { font-size:16px;line-height:1.45;font-weight:800;color:var(--black-text); }
.customer .section-page-title p { margin-top:3px;color:var(--black-muted);font-size:10.5px;line-height:1.5; }
.customer .section-page-title>i { font-style:normal;padding:3px 7px;border-radius:6px;background:var(--black-soft);color:var(--black-silver);font-size:9px;border:1px solid var(--black-border);white-space:nowrap; }
.customer .hub-list { display:grid;gap:9px; }
.customer .hub-card {
  width:100%;min-height:78px;padding:12px 13px;border:1px solid var(--black-border);border-radius:15px;background:var(--black-card);
  display:grid;grid-template-columns:48px minmax(0,1fr) 22px;align-items:center;gap:11px;text-align:right;color:var(--black-text);
}
.customer .hub-icon {
  width:48px;height:48px;border-radius:12px;border:1px solid #2B333E;background:linear-gradient(145deg,#1E252D,#12161B);
  display:grid;place-items:center;font-size:24px;
}
.customer .hub-icon img,.customer .hub-icon video { width:30px;height:30px;object-fit:contain; }
.customer .hub-copy { min-width:0; }
.customer .hub-title-row { display:flex;align-items:center;gap:6px;min-width:0;flex-wrap:wrap; }
.customer .hub-title-row strong { font-size:12.5px;line-height:1.4;font-weight:800;color:var(--black-text); }
.customer .hub-title-row i { font-style:normal;padding:1px 5px;border-radius:5px;background:var(--black-soft);color:var(--black-silver);font-size:8.5px;white-space:nowrap; }
.customer .hub-copy>small { display:block;margin-top:3px;font-size:10px;color:var(--black-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.customer .hub-arrow { width:18px;height:18px;color:var(--black-muted); }
.customer .hub-card[data-accent="stars"] .hub-icon { background:#2A2315;border-color:#483B1E;color:var(--stars); }
.customer .hub-card[data-accent="stars"] .hub-title-row i { color:var(--emerald);background:#00c98b10; }
.customer .hub-card[data-accent="premium"] .hub-icon { background:linear-gradient(145deg,#302144,#171322);border-color:#4A3267;color:var(--premium); }
.customer .hub-card[data-accent="withdraw"] .hub-icon { background:#142A24;border-color:#224A3F;color:var(--emerald); }
.customer .hub-card[data-accent="numbers"] .hub-icon { background:#182334;border-color:#293B55;color:#65A8FF; }
.customer .hub-card[data-accent="pubg"] .hub-icon { background:#251E13;border-color:#483B25;color:#E5A93C; }
.customer .hub-card[data-accent="free-fire"] .hub-icon { background:#25161A;border-color:#4B232D;color:#FF4B6E; }
.customer .hub-card[data-accent="netflix"] .hub-icon { background:#2A1417;border-color:#4C2025;color:#E50914; }
.customer .hub-card[data-accent="shahid"] .hub-icon { background:#19223A;border-color:#2C3C65;color:#63A0FF; }
.customer .soft-action {
  width:100%;min-height:42px;margin-top:13px;border-radius:11px;border:1px solid var(--black-border);background:transparent;
  color:var(--black-silver-light);font-size:10.5px;display:flex;align-items:center;justify-content:center;gap:6px;
}

/* Games / apps: 2 large category cards then rows, matching the Stitch tab screen. */
.customer .category-tabs { display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px; }
.customer .category-card {
  min-height:126px;padding:14px;border-radius:16px;border:1px solid var(--black-border);background:var(--black-card);
  display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--black-text);
}
.customer .category-card.active { border-color:var(--black-silver);background:color-mix(in srgb,var(--black-soft) 55%,var(--black-card)); }
.customer .category-icon { width:48px;height:48px;border-radius:12px;background:#232B36;border:1px solid #35404F;display:grid;place-items:center;font-size:24px;margin-bottom:8px; }
.customer .category-icon img,.customer .category-icon video { width:30px;height:30px;object-fit:contain; }
.customer .category-card strong { font-size:12.5px;font-weight:800; }
.customer .category-card small { margin-top:2px;color:var(--black-muted);font-size:9.5px;line-height:1.45; }
.customer .mini-section-label { display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 2px;margin:0 0 8px;color:var(--black-silver);font-size:10px; }
.customer .mini-section-label i { font-style:normal;color:var(--emerald);font-size:9px; }
.customer .item-list { display:grid;gap:8px; }
.customer .item-row {
  min-height:70px;padding:11px 12px;border-radius:12px;border:1px solid var(--black-border);background:var(--black-card);
  display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;text-align:right;color:var(--black-text);
}
.customer .item-icon { width:40px;height:40px;border-radius:10px;background:#1A1F25;border:1px solid var(--black-border);display:grid;place-items:center;font-size:20px; }
.customer .item-icon img,.customer .item-icon video { width:25px;height:25px;object-fit:contain; }
.customer .item-copy strong { display:block;font-size:12px;font-weight:800; }
.customer .item-copy small { display:block;margin-top:2px;font-size:9.5px;color:var(--black-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.customer .item-end { display:flex;align-items:center;gap:5px;color:var(--black-muted); }
.customer .item-end small { font-size:9.5px; }
.customer .item-arrow { width:16px;height:16px; }
.customer .request-strip {
  width:100%;margin-top:10px;padding:11px 12px;border-radius:12px;border:1px dashed var(--black-border);background:transparent;
  display:grid;grid-template-columns:40px minmax(0,1fr) 18px;align-items:center;gap:10px;text-align:right;color:var(--black-text);
}
.customer .request-icon { width:40px;height:40px;border-radius:10px;background:var(--black-soft);border:1px solid var(--black-border);display:grid;place-items:center;font-size:20px; }
.customer .request-icon img,.customer .request-icon video { width:24px;height:24px; }
.customer .request-strip strong { display:block;font-size:11px;font-weight:800; }
.customer .request-strip small { display:block;margin-top:2px;font-size:9.5px;color:var(--black-muted); }

/* Product detail/calculator — same card layering as Stitch calculator screens. */
.customer .product-hero { text-align:center;padding:2px 12px 11px; }
.customer .product-icon {
  width:64px;height:64px;margin:0 auto 8px;border-radius:16px;border:1px solid var(--black-border);background:var(--black-soft);
  display:grid;place-items:center;font-size:31px;
}
.customer .product-icon img,.customer .product-icon video { width:39px;height:39px;object-fit:contain; }
.customer .product-view[data-accent="stars"] .product-icon { background:#2A2315;border-color:#483B1E;color:var(--stars); }
.customer .product-view[data-accent="premium"] .product-icon { background:linear-gradient(145deg,#302144,#171322);border-color:#4A3267;color:var(--premium); }
.customer .product-view[data-accent="withdraw"] .product-icon { background:#142A24;border-color:#224A3F;color:var(--emerald); }
.customer .product-view[data-accent="tiktok"] .product-icon { background:#20151C;border-color:#3A2433;color:var(--tiktok); }
.customer .product-hero h1 { color:var(--black-text);font-size:17px;line-height:1.45;font-weight:850; }
.customer .product-hero p { max-width:320px;margin:4px auto 0;color:var(--black-muted);font-size:10.5px;line-height:1.55; }
.customer .product-stack { display:grid;gap:10px; }
.customer .calculator-card,.customer .variant-block,.customer .result-card {
  padding:14px;border-radius:16px;border:1px solid var(--black-border);background:var(--black-card);
}
.customer .calculator-card>label,.customer .variant-block>label { display:block;margin:0 0 8px;color:var(--black-silver);font-size:10.5px;font-weight:700; }
.customer .quantity-box {
  display:grid;grid-template-columns:44px minmax(0,1fr) 44px;direction:ltr;gap:8px;align-items:center;
  min-height:58px;padding:6px;border:1px solid var(--black-border);border-radius:12px;background:#0A0D10;
}
:root[data-theme="light"] .customer .quantity-box { background:var(--black-input); }
.customer .quantity-box>button { height:44px;min-height:44px;padding:0;border-radius:9px;border:1px solid var(--black-border);background:var(--black-soft);font-size:20px;font-weight:700; }
.customer .quantity-input-wrap { position:relative;min-width:0; }
.customer .quantity-input-wrap input {
  width:100%;min-height:44px;margin:0;padding:0 4px 14px;border:0;background:transparent;box-shadow:none;
  text-align:center;direction:ltr;color:var(--black-text);font-size:23px;font-weight:850;font-variant-numeric:tabular-nums;
}
.customer .quantity-input-wrap small { position:absolute;bottom:3px;left:0;right:0;text-align:center;color:var(--black-muted);font-size:8.5px;pointer-events:none; }
.customer .quick-row { display:flex;flex-wrap:wrap;gap:6px;margin-top:9px; }
.customer .quick-chip { min-height:30px;padding:4px 9px;border-radius:8px;border:1px solid var(--black-border);background:var(--black-soft);color:var(--black-silver-light);font-size:10px; }
.customer .quick-chip.active { border-color:var(--black-silver);color:var(--black-text); }
.customer .field-note { margin:7px 0 0;color:var(--black-muted);font-size:9.5px;line-height:1.5; }

.customer .variant-options { display:grid;gap:7px; }
.customer .variant-option {
  width:100%;min-height:56px;padding:10px 11px;border-radius:10px;border:1px solid var(--black-border);background:var(--black-soft);
  display:grid;grid-template-columns:minmax(0,1fr) auto 16px;align-items:center;gap:8px;text-align:right;color:var(--black-text);
}
.customer .variant-option.active { border-color:var(--black-silver);background:var(--black-input); }
.customer .variant-name { min-width:0;font-size:11px;font-weight:700; }
.customer .variant-price { direction:ltr;color:var(--black-silver-light);font-size:10.5px;font-weight:750;white-space:nowrap; }
.customer .selection-dot { width:16px;height:16px;flex:0 0 16px;border-radius:50%;border:1px solid var(--black-muted); }
.customer .variant-option.active .selection-dot,.customer .sheet-option.active .selection-dot { border:5px solid var(--black-silver-light); }

.customer .request-fields { display:grid;gap:10px; }
.customer .request-fields label { margin:0;color:var(--black-silver);font-size:10.5px;font-weight:700; }
.customer .request-fields input,.customer .request-fields textarea {
  width:100%;margin-top:6px;padding:10px 11px;border:1px solid var(--black-border);border-radius:10px;background:#0A0D10;color:var(--black-text);font-size:14px;
}
:root[data-theme="light"] .customer .request-fields input,:root[data-theme="light"] .customer .request-fields textarea { background:var(--black-input); }
.customer .request-fields textarea { min-height:88px;resize:vertical; }
.customer .private-note { padding:11px;border:1px dashed var(--black-border);border-radius:11px;color:var(--black-muted);text-align:center;font-size:10.5px; }
.customer #quantity-error { margin:0;font-size:10.5px; }

.customer .result-card { display:grid;gap:8px; }
.customer .result-row { display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--black-muted);font-size:10px; }
.customer .result-row strong { color:var(--black-text);font-size:10.5px;font-weight:650; }
.customer .result-total { display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding-top:10px;border-top:1px solid color-mix(in srgb,var(--black-border) 72%,transparent); }
.customer .result-total>span { display:grid;gap:1px; }
.customer .result-total b { color:var(--emerald);font-size:10.5px;font-weight:750; }
.customer .result-total small { color:var(--black-muted);font-size:8.8px; }
.customer .result-total>strong { color:var(--black-text);font-size:23px;line-height:1.2;font-weight:850;direction:ltr;text-align:left;font-variant-numeric:tabular-nums;white-space:nowrap; }
.customer .product-view[data-accent="withdraw"] .result-total>strong { color:var(--emerald); }
.customer .result-total>strong.private-price { max-width:54%;white-space:normal;direction:rtl;font-size:12px;line-height:1.5; }

.customer .order-button {
  width:100%;min-height:49px;padding:11px 15px;border-radius:12px;border:1px solid #D1D6DE;
  background:linear-gradient(90deg,#F7F7F4 0%,#D1D6DE 50%,#B4BAC3 100%);color:#090B0D;
  display:flex;align-items:center;justify-content:center;gap:7px;font-size:13.5px;font-weight:850;box-shadow:0 6px 18px #0002;
}
.customer .order-button:disabled { opacity:.45; }
.customer .order-arrow { width:16px;height:16px;color:#090B0D; }
.customer .order-note { margin:0;text-align:center;color:var(--black-muted);font-size:9px; }
.customer .draft-card { margin-top:2px;padding:11px;border-radius:11px;border:1px solid var(--black-border);background:var(--black-soft);text-align:center; }
.customer .draft-card p { color:var(--black-muted);font-size:9.5px; }
.customer .draft-card b { color:var(--black-text); }
.customer .draft-card .soft-action { margin:8px 0 0; }
.customer .draft-card a { display:block;margin-top:8px;color:var(--black-silver-light);font-size:9.5px; }

/* Bottom sheets, kept within the same visual system. */
.customer dialog {
  max-width:420px;border-radius:22px 22px 0 0;padding:18px 16px max(22px,env(safe-area-inset-bottom),var(--safe-bottom));
  background:var(--black-card);border-color:var(--black-border);
}
.customer dialog h2 { margin-bottom:12px;font-size:15px; }
.customer .sheet-handle { width:36px;height:4px;margin:-7px auto 15px;background:var(--black-border); }
.customer .sheet-option { min-height:58px;padding:11px 12px;border-radius:11px;background:var(--black-soft); }
.customer .sheet-currency-icon { width:38px;height:38px;border-radius:9px; }
.customer .sheet-option small { margin-top:1px;font-size:9px; }
.customer .sheet-close { min-height:40px;font-size:10px; }

/* Generic error / maintenance from shared.js, restyled for the reference. */
.customer .empty { margin:12px 0;padding:28px 17px;border:1px solid var(--black-border);border-radius:16px;background:var(--black-card);text-align:center; }
.customer .empty .icon { margin:0 auto 10px; }
.customer .empty h2 { font-size:14px; }
.customer .empty p { margin:6px 0 14px;color:var(--black-muted);font-size:10.5px; }
.customer .maintenance-icon { width:54px;height:54px;border-radius:15px; }
.customer .skeleton { margin:0 0 10px;border-radius:16px;background:linear-gradient(90deg,var(--black-card),var(--black-soft),var(--black-card));background-size:200% 100%;animation:shimmer 1.55s linear infinite; }
.customer .skeleton-hero { height:130px; }
.customer .skeleton-grid { height:128px; }
@keyframes shimmer { to{background-position:-200% 0} }

#toast { z-index:1000; }

/* Light theme keeps the same geometry and switches surfaces only. */
:root[data-theme="light"] .customer .hero-icon,
:root[data-theme="light"] .customer .home-card-icon,
:root[data-theme="light"] .customer .hub-icon,
:root[data-theme="light"] .customer .category-icon,
:root[data-theme="light"] .customer .item-icon,
:root[data-theme="light"] .customer .product-icon { box-shadow:none; }
:root[data-theme="light"] .customer .order-button { color:#090B0D; }
:root[data-theme="light"] .customer .hero-title-row strong,
:root[data-theme="light"] .customer .home-card-copy strong,
:root[data-theme="light"] .customer .hub-title-row strong { color:var(--black-text); }

/* Desktop Telegram: retain Stitch's narrow premium canvas, not a stretched website. */
@media (min-width:700px) {
  .customer { padding:24px 12px; }
  .customer .app-frame {
    min-height:860px;max-height:none;border:1px solid #242A32;border-radius:30px;
    box-shadow:0 25px 70px rgba(0,0,0,.55);
  }
  :root[data-theme="light"] .customer .app-frame { border-color:#D8DEE6;box-shadow:0 20px 55px #18243016; }
  .customer .app-header { border-radius:30px 30px 0 0; }
}

@media (max-width:365px) {
  .customer .screen-viewport { padding-inline:13px; }
  .customer .app-header { padding-inline:13px; }
  .customer .home-grid { gap:8px; }
  .customer .home-card { height:123px;min-height:123px;padding:12px; }
  .customer .brand-copy strong { max-width:145px; }
  .customer .brand-copy small { max-width:160px; }
  .customer .hero-features { grid-template-columns:1fr;gap:5px; }
  .customer .telegram-hero { min-height:143px; }
}

@media (prefers-reduced-motion:reduce) {
  .customer *,.customer *::before,.customer *::after { animation:none!important;transition:none!important;scroll-behavior:auto!important; }
}
