/* ════════════════════════════════════════════════════════════════════════════
   Hidden Support — Mini App. Наследует фирменное ядро Hidden:
   тёмный космос + неон-зелёный акцент + стекло + premium-детали.
   Источник ДНК: Hidden SMS (frontend/src/index.css, tailwind.config.js).
   ════════════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Поверхности (тёмный космос с зелёным подтоном) */
  --bg-base:     #070a08;
  --bg-surface:  #0d130f;
  --bg-elevated: #131c16;
  --bg-border:   #1a2620;

  /* Неон-зелёный — подпись бренда */
  --neon:     #00ff7f;
  --neon-200: #80ffba;
  --neon-300: #4dff9d;
  --neon-600: #00cc66;
  --neon-700: #00994d;
  --neon-dim: #00b359;

  /* Текст */
  --text:   #f0fff4;
  --text-2: #8aa092;
  --text-3: #566660;
  --on-neon:#04140b;

  /* Семантика */
  --success: #34d399;
  --warning: #ffb84d;
  --danger:  #ff4d6d;

  /* Радиусы */
  --r-lg: 18px;
  --r-md: 14px;
  --r-sm: 10px;
  --r-xs: 8px;

  --safe-top:    env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t: 0.18s ease;
}

html, body { height: 100%; min-height: 100vh; }

body {
  background: var(--bg-base);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}
* { -webkit-tap-highlight-color: transparent; }

#app { height: 100dvh; display: flex; flex-direction: column; overflow: hidden; position: relative; z-index: 1; }

::selection { background: rgba(0,255,127,0.30); color: var(--neon-200); }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg-border); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--neon-700); }

.mono { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; }

/* ─── Космический бэкдроп ──────────────────────────────────────────────────── */
.app-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background: radial-gradient(120% 80% at 50% -10%, #0a1f14 0%, #07140d 45%, #070a08 100%); }
.app-bg__stars { position: absolute; inset: -50px;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255,255,255,0.9), transparent),
    radial-gradient(1.5px 1.5px at 67% 12%, rgba(180,255,214,0.8), transparent),
    radial-gradient(2px 2px at 84% 28%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 35% 42%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.5px 1.5px at 52% 8%, rgba(128,255,186,0.7), transparent),
    radial-gradient(1px 1px at 22% 62%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 90% 55%, rgba(0,255,127,0.55), transparent),
    radial-gradient(1px 1px at 8% 80%, rgba(255,255,255,0.45), transparent),
    radial-gradient(1.5px 1.5px at 74% 78%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 45% 88%, rgba(128,255,186,0.5), transparent),
    radial-gradient(2px 2px at 60% 35%, rgba(255,255,255,0.55), transparent),
    radial-gradient(1px 1px at 30% 25%, rgba(255,255,255,0.4), transparent);
  background-repeat: no-repeat; animation: starsDrift 60s ease-in-out infinite alternate; }
.app-bg__glow { position: absolute; inset: 0;
  background:
    radial-gradient(55% 40% at 50% 22%, rgba(0,255,127,0.20), transparent 70%),
    radial-gradient(75% 55% at 50% 16%, rgba(0,204,102,0.12), transparent 76%),
    radial-gradient(45% 30% at 86% 6%, rgba(0,255,127,0.10), transparent 70%),
    radial-gradient(50% 35% at 12% 70%, rgba(0,153,77,0.10), transparent 72%);
  animation: nebulaPulse 7s ease-in-out infinite alternate; }
.app-bg__particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.app-bg__veil { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,10,8,0.08) 0%, rgba(7,10,8,0.42) 55%, rgba(7,10,8,0.92) 100%); }
@keyframes nebulaPulse { 0% { opacity: 0.75; } 100% { opacity: 1; } }
@keyframes starsDrift { 0% { transform: translate3d(0,0,0); } 100% { transform: translate3d(-18px,-12px,0); } }
@media (prefers-reduced-motion: reduce) { .app-bg__glow, .app-bg__stars { animation: none; } }

/* ─── Стеклянная карточка (фирменная) ──────────────────────────────────────── */
.card {
  position: relative; border-radius: var(--r-lg); border: 1px solid rgba(0,255,127,0.14);
  background: linear-gradient(180deg, rgba(0,255,127,0.035) 0%, transparent 22%), rgba(13,19,15,0.62);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 8px 32px rgba(7,10,8,0.45), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform 0.22s var(--ease), border-color 0.22s ease, box-shadow 0.22s ease;
}
.card::before { content: ''; position: absolute; inset-inline: 14%; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,255,127,0.35), transparent); opacity: 0.5; pointer-events: none; }
.card-hover { cursor: pointer; }
.card-hover:hover { transform: translateY(-2px); border-color: rgba(0,255,127,0.4);
  box-shadow: 0 12px 40px rgba(7,10,8,0.55), 0 0 22px rgba(0,255,127,0.12), inset 0 1px 0 rgba(255,255,255,0.05); }
.card-hover:active { transform: translateY(0) scale(0.992); }

/* ─── Boot skeleton (shimmer) ──────────────────────────────────────────────── */
.boot { flex: 1; display: flex; flex-direction: column; }
.boot-head { height: 58px; border-bottom: 1px solid var(--bg-border); background: rgba(13,19,15,0.5); flex-shrink: 0; }
.boot-thread { flex: 1; padding: 18px 16px; display: flex; flex-direction: column; gap: 14px; }
.boot-bar { height: 66px; border-top: 1px solid var(--bg-border); background: rgba(13,19,15,0.5); flex-shrink: 0; }
.sk { height: 38px; width: 60%; border-radius: var(--r-md); position: relative; overflow: hidden; background: rgba(19,28,22,0.5); }
.sk::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(0,255,127,0.07) 45%, rgba(180,255,214,0.10) 50%, rgba(0,255,127,0.07) 55%, transparent);
  animation: shimmer 1.6s infinite; }
.sk-out { align-self: flex-end; }
.sk-sm { width: 42%; } .sk-lg { width: 72%; height: 54px; }
@keyframes shimmer { 100% { transform: translateX(100%); } }

/* ─── Screen ───────────────────────────────────────────────────────────────── */
.scr { flex: 1; display: flex; flex-direction: column; overflow: hidden; position: relative; animation: fadeIn 0.22s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ─── Top bar ──────────────────────────────────────────────────────────────── */
.topbar { display: flex; align-items: center; gap: 11px;
  padding: calc(11px + var(--safe-top)) 14px 11px;
  background: rgba(7,10,8,0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bg-border); flex-shrink: 0; z-index: 5; }

/* Бренд-локап */
.brand { display: flex; align-items: center; gap: 9px; }
.brand-tile { width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--neon), var(--neon-700));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--bg-base); font-size: 18px;
  box-shadow: 0 0 10px rgba(0,255,127,0.2); }
.brand-tile svg { width: 19px; height: 19px; fill: none; stroke: var(--bg-base); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.brand-words { display: flex; flex-direction: column; line-height: 1.05; }
.brand-words .b1 { font-size: 13.5px; font-weight: 800; letter-spacing: 2px; color: var(--text); }
.brand-words .b2 { font-size: 9px; font-weight: 700; letter-spacing: 4px; color: var(--neon); margin-top: 2px; }

/* Аватар собеседника (в чате) */
.tb-avatar { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--bg-base); letter-spacing: 0.3px;
  box-shadow: 0 0 10px rgba(0,255,127,0.18); }
.tb-avatar.support { background: linear-gradient(135deg, var(--neon), var(--neon-700)); }
.tb-avatar svg { width: 20px; height: 20px; fill: none; stroke: var(--bg-base); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.tb-main { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.tb-title { font-size: 15.5px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-sub { font-size: 12.5px; color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.tb-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.tb-dot.is-open { background: var(--neon); box-shadow: 0 0 8px rgba(0,255,127,0.7); }
.tb-dot.is-closed { background: var(--text-3); }

.tb-action { width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0; cursor: pointer;
  border: 1px solid var(--bg-border); background: var(--bg-elevated); color: var(--text-2);
  display: flex; align-items: center; justify-content: center; transition: all var(--t); }
.tb-action:hover { border-color: rgba(0,255,127,0.4); color: var(--neon); }
.tb-action:active { transform: scale(0.92); }
.tb-action svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ─── Chat thread ──────────────────────────────────────────────────────────── */
.thread { flex: 1; overflow-y: auto; padding: 14px 14px 8px; display: flex; flex-direction: column; gap: 3px;
  scroll-behavior: smooth; overscroll-behavior: contain; }

.day { align-self: center; margin: 12px 0 8px; }
.day span { font-size: 11.5px; font-weight: 600; color: var(--text-2); letter-spacing: 0.3px;
  background: rgba(13,19,15,0.7); border: 1px solid var(--bg-border); padding: 4px 12px; border-radius: 20px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

.m { display: flex; flex-direction: column; max-width: 80%; margin-top: 6px; animation: rise 0.22s var(--ease); }
.m-in { align-self: flex-start; align-items: flex-start; }
.m-out { align-self: flex-end; align-items: flex-end; }
.m.grp { margin-top: 2px; }

.m-bubble { padding: 9px 13px; font-size: 15px; line-height: 1.42; word-break: break-word; white-space: pre-wrap; border-radius: var(--r-md); }
.m-in .m-bubble {
  background: linear-gradient(180deg, rgba(0,255,127,0.04) 0%, transparent 30%), rgba(19,28,22,0.78);
  color: var(--text); border: 1px solid rgba(0,255,127,0.12);
  border-bottom-left-radius: var(--r-xs);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(7,10,8,0.4); }
.m-out .m-bubble {
  background: linear-gradient(135deg, var(--neon-dim) 0%, var(--neon) 60%, var(--neon-300) 100%);
  color: var(--on-neon); font-weight: 500;
  border-bottom-right-radius: var(--r-xs);
  box-shadow: 0 4px 16px rgba(0,255,127,0.22); }

.m-media { display: flex; align-items: center; gap: 8px; }
.m-media-ic { font-size: 17px; line-height: 1; }
.m-media em { font-style: normal; opacity: 0.9; }

.m-meta { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text-3); margin-top: 3px; padding: 0 3px; }
.m-status { display: inline-flex; align-items: center; }
.m-status svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.m-status.is-sending { color: var(--text-3); }
.m-status.is-sent { color: var(--neon); }
.m-status.is-failed { color: var(--danger); }
.m.is-failed .m-bubble { opacity: 0.6; }

.thread-empty { flex: 1; display: flex; align-items: center; justify-content: center; color: var(--text-3); font-size: 14px; }

/* ─── Composer ─────────────────────────────────────────────────────────────── */
.composer { padding: 10px 12px calc(10px + var(--safe-bottom));
  background: rgba(7,10,8,0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--bg-border); flex-shrink: 0; }
.composer-row { display: flex; align-items: flex-end; gap: 9px;
  background: rgba(19,28,22,0.7); border: 1px solid rgba(0,255,127,0.18); border-radius: var(--r-lg);
  padding: 7px 7px 7px 15px; transition: border-color var(--t), box-shadow var(--t); }
.composer-row:focus-within { border-color: rgba(0,255,127,0.55); box-shadow: 0 0 14px rgba(0,255,127,0.20); }
.composer-input { flex: 1; background: none; border: none; outline: none; resize: none;
  color: var(--text); font-size: 15px; line-height: 1.4; max-height: 120px; min-height: 24px; padding: 2px 0; }
.composer-input::placeholder { color: var(--text-3); }

.send-btn { width: 38px; height: 38px; border-radius: 50%; border: none; flex-shrink: 0; cursor: pointer;
  background-image: linear-gradient(135deg, #00b359 0%, #00e673 50%, #00ff7f 100%);
  color: var(--on-neon); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 14px rgba(0,255,127,0.3); transition: transform var(--t), opacity var(--t); }
.send-btn:active { transform: scale(0.9); }
.send-btn:disabled { opacity: 0; pointer-events: none; transform: scale(0.6); box-shadow: none; }
.send-btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ─── Closed notice ────────────────────────────────────────────────────────── */
.closed { padding: 14px 16px calc(14px + var(--safe-bottom)); flex-shrink: 0;
  background: rgba(7,10,8,0.85); border-top: 1px solid var(--bg-border);
  display: flex; flex-direction: column; align-items: center; gap: 10px; }
.closed-text { font-size: 13.5px; color: var(--text-2); text-align: center; }
.closed-text b { color: var(--text); font-weight: 600; }

/* ─── Buttons (фирменные) ──────────────────────────────────────────────────── */
.btn-primary { position: relative; overflow: hidden; width: 100%; border: none; cursor: pointer;
  color: var(--on-neon); font-weight: 600; font-size: 15.5px; letter-spacing: 0.1px;
  border-radius: var(--r-md); padding: 14px;
  background-image: linear-gradient(135deg, #00b359 0%, #00e673 50%, #00ff7f 100%);
  transition: transform 0.15s ease, box-shadow 0.15s ease; }
.btn-primary:hover { box-shadow: 0 0 20px rgba(0,255,127,0.25); background-image: linear-gradient(135deg, #00cc66 0%, #00ff7f 50%, #5fffa6 100%); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary::after { content: ''; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent); transform: skewX(-18deg);
  animation: btnShine 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes btnShine { 0%, 100% { left: -60%; } 55%, 100% { left: 130%; } }
.btn-primary:disabled::after { animation: none; }

.btn-soft { cursor: pointer; border: 1px solid rgba(0,255,127,0.18); color: var(--text);
  background: rgba(19,28,22,0.7); border-radius: var(--r-md); padding: 12px 18px; font-size: 14.5px; font-weight: 600;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: all var(--t); }
.btn-soft:hover { border-color: rgba(0,255,127,0.45); }
.btn-soft:active { transform: scale(0.98); }

/* ─── Welcome (hero + фирменное ядро) ──────────────────────────────────────── */
.welcome { flex: 1; display: flex; flex-direction: column; overflow-y: auto; padding: calc(var(--safe-top)) 0 0; }
.welcome-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 0; }
.welcome-hero { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 8px 28px; gap: 6px; }
.core-wrap { margin-bottom: 6px; }
.hero-title { font-size: 23px; font-weight: 800; color: var(--text); letter-spacing: -0.3px; animation: rise 0.4s var(--ease) both; }
.hero-sub { font-size: 14.5px; color: var(--text-2); line-height: 1.55; max-width: 300px; animation: rise 0.5s var(--ease) both; }
.welcome-compose { padding: 10px 16px calc(16px + var(--safe-bottom)); animation: rise 0.6s var(--ease) both; }
.welcome-field { border-radius: var(--r-md); padding: 14px;
  background: rgba(19,28,22,0.7); border: 1px solid rgba(0,255,127,0.18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: border-color var(--t), box-shadow var(--t); }
.welcome-field:focus-within { border-color: rgba(0,255,127,0.55); box-shadow: 0 0 14px rgba(0,255,127,0.20); }
.welcome-textarea { width: 100%; background: none; border: none; outline: none; resize: none;
  color: var(--text); font-size: 15px; line-height: 1.5; min-height: 84px; max-height: 200px; }
.welcome-textarea::placeholder { color: var(--text-3); }
.welcome-actions { margin-top: 12px; }

/* ─── History list ─────────────────────────────────────────────────────────── */
.list { flex: 1; overflow-y: auto; padding: 10px 12px calc(12px + var(--safe-bottom)); }
.tk { display: flex; align-items: center; gap: 12px; padding: 12px 13px; margin-bottom: 9px; border-radius: var(--r-md);
  position: relative; cursor: pointer; border: 1px solid rgba(0,255,127,0.14);
  background: linear-gradient(180deg, rgba(0,255,127,0.035) 0%, transparent 22%), rgba(13,19,15,0.62);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 8px 32px rgba(7,10,8,0.45), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform 0.22s var(--ease), border-color 0.22s ease, box-shadow 0.22s ease; animation: rise 0.3s var(--ease) both; }
.tk:hover { transform: translateY(-2px); border-color: rgba(0,255,127,0.4); box-shadow: 0 12px 40px rgba(7,10,8,0.55), 0 0 22px rgba(0,255,127,0.12); }
.tk:active { transform: translateY(0) scale(0.992); }
.tk-avatar { width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: var(--bg-base);
  font-size: 16px; font-weight: 700; letter-spacing: 0.3px; box-shadow: 0 0 10px rgba(0,255,127,0.18); }
.tk-avatar svg { width: 21px; height: 21px; fill: none; stroke: var(--bg-base); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tk-body { flex: 1; min-width: 0; }
.tk-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.tk-name { font-size: 14.5px; font-weight: 650; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-time { font-size: 12px; color: var(--text-3); flex-shrink: 0; }
.tk-preview { font-size: 13px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.tk-preview .dir { color: var(--neon); font-weight: 600; }
.tk-badge { font-size: 10px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; flex-shrink: 0; }
.tk-badge.is-open { background: rgba(0,255,127,0.14); color: var(--neon); border: 1px solid rgba(0,255,127,0.25); }
.tk-badge.is-closed { background: var(--bg-elevated); color: var(--text-3); border: 1px solid var(--bg-border); }

/* ─── States ───────────────────────────────────────────────────────────────── */
.state { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 32px; text-align: center; }
.state-ic { width: 64px; height: 64px; border-radius: 20px; margin-bottom: 4px;
  background: rgba(0,255,127,0.10); border: 1px solid rgba(0,255,127,0.2);
  display: flex; align-items: center; justify-content: center; }
.state-ic svg { width: 30px; height: 30px; fill: none; stroke: var(--neon); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.state-ic.is-danger { background: rgba(255,77,109,0.10); border-color: rgba(255,77,109,0.25); }
.state-ic.is-danger svg { stroke: var(--danger); }
.state h3 { font-size: 17px; font-weight: 700; color: var(--text); }
.state p { font-size: 14px; color: var(--text-2); max-width: 280px; }

/* ─── Admin chips ──────────────────────────────────────────────────────────── */
.chips { display: flex; gap: 8px; padding: 12px 14px 4px; flex-shrink: 0; }
.chip { font-size: 13px; font-weight: 600; cursor: pointer; padding: 6px 13px; border-radius: 20px;
  background: var(--bg-elevated); color: var(--text-2); border: 1px solid var(--bg-border); transition: all var(--t); }
.chip.active { background: rgba(0,255,127,0.12); color: var(--neon); border-color: rgba(0,255,127,0.3); }

/* ─── Netbar / toast ───────────────────────────────────────────────────────── */
.netbar { position: absolute; top: var(--safe-top); left: 0; right: 0; z-index: 50; text-align: center;
  font-size: 12px; font-weight: 600; color: var(--warning);
  background: rgba(40,30,8,0.92); border-bottom: 1px solid rgba(255,184,77,0.3);
  padding: 5px; transform: translateY(-120%); transition: transform 0.25s var(--ease); }
.netbar.show { transform: translateY(0); }

.toast { position: fixed; left: 50%; bottom: calc(94px + var(--safe-bottom)); transform: translate(-50%, 12px); z-index: 100;
  background: rgba(19,28,22,0.95); color: var(--text); border: 1px solid rgba(0,255,127,0.25);
  font-size: 13.5px; font-weight: 500; padding: 10px 16px; border-radius: 12px;
  box-shadow: 0 8px 32px rgba(7,10,8,0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transition: opacity 0.2s, transform 0.2s; pointer-events: none; max-width: 80%; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.hidden { display: none !important; }
