/* ═══════════════════════════════════════════════════════════
   SEPEP — Design System
   Liquid Glass · Apple HIG · Premium Commerce
   ═══════════════════════════════════════════════════════════ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

:root {
  /* ── Color Primitives ── */
  --white: #FFFFFF;
  --black: #000000;
  --gray-50:  #F9F9FB;
  --gray-100: #F2F2F7;
  --gray-200: #E5E5EA;
  --gray-300: #C7C7CC;
  --gray-400: #AEAEB2;
  --gray-500: #8E8E93;
  --gray-600: #636366;
  --gray-700: #48484A;
  --gray-800: #3A3A3C;
  --gray-900: #2C2C2E;
  --gray-950: #1C1C1E;

  /* ── Accent Palette ── */
  --blue:      #0A84FF;
  --blue-dark: #0064D4;
  --purple:    #BF5AF2;
  --purple-dark: #9936DC;
  --pink:      #FF375F;
  --pink-light: #FF6B8A;
  --orange:    #FF9F0A;
  --emerald:   #30D158;
  --teal:      #5AC8FA;
  --indigo:    #5E5CE6;

  /* ── Gradients ── */
  --gradient-aurora: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  --gradient-blue-purple: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  --gradient-pink-orange: linear-gradient(135deg, var(--pink) 0%, var(--orange) 100%);
  --gradient-emerald: linear-gradient(135deg, var(--emerald) 0%, var(--teal) 100%);
  --gradient-brand: linear-gradient(135deg, #667eea 0%, #BF5AF2 60%, #FF375F 100%);

  /* ── Typography ── */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;

  --text-xs:   11px;
  --text-sm:   13px;
  --text-base: 15px;
  --text-md:   17px;
  --text-lg:   20px;
  --text-xl:   24px;
  --text-2xl:  28px;
  --text-3xl:  34px;
  --text-4xl:  40px;
  --text-5xl:  48px;

  --weight-light:   300;
  --weight-regular: 400;
  --weight-medium:  500;
  --weight-semibold:600;
  --weight-bold:    700;
  --weight-heavy:   800;
  --weight-black:   900;

  --leading-tight:  1.1;
  --leading-snug:   1.25;
  --leading-normal: 1.5;
  --leading-relaxed:1.7;

  /* ── Spacing (8pt grid) ── */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-7:  28px;
  --space-8:  32px;
  --space-9:  36px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* ── Border Radius ── */
  --radius-xs:  6px;
  --radius-sm:  10px;
  --radius-md:  14px;
  --radius-lg:  18px;
  --radius-xl:  24px;
  --radius-2xl: 28px;
  --radius-3xl: 32px;
  --radius-4xl: 40px;
  --radius-full:9999px;

  /* ── Shadows ── */
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.08);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.10);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.16);
  --shadow-xl:  0 16px 48px rgba(0,0,0,0.20);
  --shadow-2xl: 0 24px 64px rgba(0,0,0,0.24);
  --shadow-glow-blue:   0 0 24px rgba(10,132,255,0.35);
  --shadow-glow-purple: 0 0 24px rgba(191,90,242,0.35);
  --shadow-glow-pink:   0 0 24px rgba(255,55,95,0.35);

  /* ── Transitions ── */
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in:     cubic-bezier(0.4, 0, 1, 1);
  --ease-out:    cubic-bezier(0, 0, 0.2, 1);
  --ease-inout:  cubic-bezier(0.4, 0, 0.2, 1);

  --duration-fast:   150ms;
  --duration-base:   250ms;
  --duration-slow:   400ms;
  --duration-slower: 600ms;
  --duration-slowest:900ms;

  /* ── Layout ── */
  --screen-max: 430px;
  --nav-height: 84px;
  --status-bar: 44px;
  --safe-bottom: 34px;
}

/* ── Dark Theme (Default) ──────────────────────────────────── */
.theme-dark {
  --bg-primary:     #000000;
  --bg-secondary:   #0A0A0A;
  --bg-tertiary:    #141414;
  --bg-elevated:    #1C1C1E;
  --bg-card:        #1C1C1E;

  --surface-1: rgba(255,255,255,0.04);
  --surface-2: rgba(255,255,255,0.07);
  --surface-3: rgba(255,255,255,0.10);
  --surface-4: rgba(255,255,255,0.14);

  --glass-bg:       rgba(20,20,20,0.72);
  --glass-bg-light: rgba(30,30,30,0.60);
  --glass-bg-heavy: rgba(10,10,10,0.88);
  --glass-border:   rgba(255,255,255,0.10);
  --glass-border-strong: rgba(255,255,255,0.18);
  --glass-highlight: rgba(255,255,255,0.06);

  --text-primary:   #FFFFFF;
  --text-secondary: rgba(255,255,255,0.65);
  --text-tertiary:  rgba(255,255,255,0.40);
  --text-quaternary:rgba(255,255,255,0.25);

  --separator:      rgba(255,255,255,0.08);
  --separator-strong:rgba(255,255,255,0.14);

  --overlay-light: rgba(0,0,0,0.40);
  --overlay-medium:rgba(0,0,0,0.60);
  --overlay-heavy: rgba(0,0,0,0.80);
}

/* ── Light Theme ───────────────────────────────────────────── */
.theme-light {
  --bg-primary:     #F2F2F7;
  --bg-secondary:   #FFFFFF;
  --bg-tertiary:    #F9F9FB;
  --bg-elevated:    #FFFFFF;
  --bg-card:        #FFFFFF;

  --surface-1: rgba(0,0,0,0.03);
  --surface-2: rgba(0,0,0,0.05);
  --surface-3: rgba(0,0,0,0.07);
  --surface-4: rgba(0,0,0,0.10);

  --glass-bg:       rgba(255,255,255,0.72);
  --glass-bg-light: rgba(255,255,255,0.60);
  --glass-bg-heavy: rgba(255,255,255,0.92);
  --glass-border:   rgba(0,0,0,0.08);
  --glass-border-strong: rgba(0,0,0,0.14);
  --glass-highlight: rgba(255,255,255,0.80);

  --text-primary:   #000000;
  --text-secondary: rgba(0,0,0,0.60);
  --text-tertiary:  rgba(0,0,0,0.40);
  --text-quaternary:rgba(0,0,0,0.25);

  --separator:       rgba(0,0,0,0.08);
  --separator-strong:rgba(0,0,0,0.14);

  --overlay-light:  rgba(0,0,0,0.20);
  --overlay-medium: rgba(0,0,0,0.40);
  --overlay-heavy:  rgba(0,0,0,0.65);
}

/* ── Base HTML ──────────────────────────────────────────────── */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── App Shell ─────────────────────────────────────────────── */
.app-shell {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-width: var(--screen-max);
  margin: 0 auto;
  overflow: hidden;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
}

/* Center on desktop */
@media (min-width: 768px) {
  body {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .app-shell {
    height: 100vh;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 32px 96px rgba(0,0,0,0.8);
    border-radius: 44px;
    overflow: hidden;
  }
}

.screen-container {
  flex: 1;
  position: relative;
  overflow: hidden;
}

/* ── Glass Utilities ───────────────────────────────────────── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
}

.glass-light {
  background: var(--glass-bg-light);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--glass-border);
}

.glass-heavy {
  background: var(--glass-bg-heavy);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid var(--glass-border);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-highlight);
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid var(--glass-border-strong);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl), inset 0 1px 0 var(--glass-highlight);
}

/* ── Typography Utilities ──────────────────────────────────── */
.display-1 { font-size: var(--text-5xl); font-weight: var(--weight-black); line-height: var(--leading-tight); letter-spacing: -2px; }
.display-2 { font-size: var(--text-4xl); font-weight: var(--weight-heavy); line-height: var(--leading-tight); letter-spacing: -1.5px; }
.display-3 { font-size: var(--text-3xl); font-weight: var(--weight-bold);  line-height: var(--leading-tight); letter-spacing: -1px; }
.title-1   { font-size: var(--text-2xl); font-weight: var(--weight-bold);  line-height: var(--leading-snug); letter-spacing: -0.5px; }
.title-2   { font-size: var(--text-xl);  font-weight: var(--weight-semibold); line-height: var(--leading-snug); letter-spacing: -0.3px; }
.title-3   { font-size: var(--text-lg);  font-weight: var(--weight-semibold); line-height: var(--leading-snug); }
.headline  { font-size: var(--text-md);  font-weight: var(--weight-semibold); line-height: var(--leading-snug); }
.body      { font-size: var(--text-base);font-weight: var(--weight-regular);  line-height: var(--leading-normal); }
.callout   { font-size: var(--text-base);font-weight: var(--weight-medium);   line-height: var(--leading-normal); }
.subhead   { font-size: var(--text-sm);  font-weight: var(--weight-regular);  line-height: var(--leading-normal); }
.footnote  { font-size: var(--text-xs);  font-weight: var(--weight-regular);  line-height: var(--leading-normal); }
.caption   { font-size: 11px; font-weight: var(--weight-medium); letter-spacing: 0.3px; }
.overline  { font-size: 10px; font-weight: var(--weight-semibold); letter-spacing: 1.5px; text-transform: uppercase; }

.text-primary   { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-tertiary  { color: var(--text-tertiary); }
.text-blue      { color: var(--blue); }
.text-purple    { color: var(--purple); }
.text-pink      { color: var(--pink); }
.text-orange    { color: var(--orange); }
.text-emerald   { color: var(--emerald); }

/* ── Layout Utilities ──────────────────────────────────────── */
.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.flex-row    { flex-direction: row; }
.items-center{ align-items: center; }
.items-start { align-items: flex-start; }
.items-end   { align-items: flex-end; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start   { justify-content: flex-start; }
.justify-end     { justify-content: flex-end; }
.flex-1      { flex: 1; }
.flex-none   { flex: none; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.wrap  { flex-wrap: wrap; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }
.overflow-auto   { overflow: auto; }

/* ── Color Bg Utilities ────────────────────────────────────── */
.bg-blue    { background: var(--blue); }
.bg-purple  { background: var(--purple); }
.bg-pink    { background: var(--pink); }
.bg-orange  { background: var(--orange); }
.bg-emerald { background: var(--emerald); }
.bg-surface-1 { background: var(--surface-1); }
.bg-surface-2 { background: var(--surface-2); }
.bg-surface-3 { background: var(--surface-3); }
.bg-elevated  { background: var(--bg-elevated); }

/* ── Spacing Utilities ─────────────────────────────────────── */
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-5 { padding: var(--space-5); }
.p-6 { padding: var(--space-6); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-5 { padding-left: var(--space-5); padding-right: var(--space-5); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }
.py-3 { padding-top: var(--space-3); padding-bottom: var(--space-3); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }

/* ── Misc Utilities ────────────────────────────────────────── */
.hidden        { display: none !important; }
.invisible     { visibility: hidden; }
.pointer       { cursor: pointer; }
.no-select     { user-select: none; -webkit-user-select: none; }
.truncate      { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-clamp-2  { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sr-only       { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.aspect-square { aspect-ratio: 1/1; }
.aspect-4-3    { aspect-ratio: 4/3; }
.aspect-16-9   { aspect-ratio: 16/9; }
.aspect-3-4    { aspect-ratio: 3/4; }
.object-cover  { object-fit: cover; width: 100%; height: 100%; }
.rounded-full  { border-radius: var(--radius-full); }
.rounded-xl    { border-radius: var(--radius-xl); }
.rounded-2xl   { border-radius: var(--radius-2xl); }

/* ── Scrollbar Hide ────────────────────────────────────────── */
.no-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* ── Gradient Text ─────────────────────────────────────────── */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gradient-text-blue {
  background: var(--gradient-blue-purple);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Skeleton Loading ──────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg,
    var(--surface-2) 25%,
    var(--surface-3) 50%,
    var(--surface-2) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-wave 1.5s ease infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-wave {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Badge ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  line-height: 1;
}
.badge-blue   { background: rgba(10,132,255,0.18); color: var(--blue); }
.badge-purple { background: rgba(191,90,242,0.18); color: var(--purple); }
.badge-pink   { background: rgba(255,55,95,0.18);  color: var(--pink); }
.badge-orange { background: rgba(255,159,10,0.18); color: var(--orange); }
.badge-emerald{ background: rgba(48,209,88,0.18);  color: var(--emerald); }
.badge-gray   { background: var(--surface-2); color: var(--text-secondary); }

/* ── Tag ───────────────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  background: var(--surface-2);
  color: var(--text-secondary);
  border: 1px solid var(--separator);
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-smooth);
}
.tag:hover, .tag.active {
  background: var(--blue);
  color: white;
  border-color: transparent;
}

/* ── Divider ───────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--separator);
  margin: var(--space-4) 0;
}

/* ── Screen Base ───────────────────────────────────────────── */
.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
  overflow: hidden;
  transition: transform var(--duration-slow) var(--ease-smooth),
              opacity   var(--duration-slow) var(--ease-smooth);
}

.screen.enter-from-right { transform: translateX(100%); }
.screen.enter-from-left  { transform: translateX(-100%); }
.screen.enter-from-bottom{ transform: translateY(100%); }
.screen.active           { transform: translateX(0); opacity: 1; }
.screen.exit-to-right    { transform: translateX(100%); }
.screen.exit-to-left     { transform: translateX(-30%); opacity: 0.6; }

.screen-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
}

.screen-content {
  padding-bottom: calc(var(--nav-height) + var(--space-4));
}

/* ── Status Bar Spacer ─────────────────────────────────────── */
.status-bar-spacer {
  height: env(safe-area-inset-top, var(--status-bar));
  flex-shrink: 0;
}

/* ── Bottom Nav ────────────────────────────────────────────── */
.bottom-nav {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: var(--space-2) var(--space-4);
  padding-bottom: calc(var(--space-2) + env(safe-area-inset-bottom, var(--safe-bottom)));
  min-height: var(--nav-height);
  border-radius: 0;
  border-bottom: none;
  border-left: none;
  border-right: none;
  border-top: 1px solid var(--separator);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: var(--space-2) var(--space-3);
  border: none;
  background: none;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-spring);
  position: relative;
  border-radius: var(--radius-md);
  min-width: 52px;
}

.nav-item.active {
  color: var(--text-primary);
}

.nav-item:active {
  transform: scale(0.88);
}

.nav-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-base) var(--ease-spring);
}

.nav-item.active .nav-icon {
  transform: scale(1.1);
}

.nav-item.active .nav-icon svg {
  stroke: var(--blue);
}

.nav-label {
  font-size: 10px;
  font-weight: var(--weight-medium);
  letter-spacing: 0.2px;
  line-height: 1;
}

.nav-active-dot {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  transition: transform var(--duration-base) var(--ease-spring);
}

.nav-item.active .nav-active-dot {
  transform: translateX(-50%) scale(1);
}

.nav-center-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--gradient-blue-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(10,132,255,0.4);
  transition: all var(--duration-base) var(--ease-spring);
}

.nav-item.active .nav-center-icon {
  box-shadow: 0 6px 20px rgba(10,132,255,0.5);
  transform: scale(1.05);
}

.nav-center-icon svg {
  stroke: white !important;
}

/* ── Top Bar ───────────────────────────────────────────────── */
.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-4);
  height: 56px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--separator);
}

.top-bar-title {
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--surface-1);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: all var(--duration-base) var(--ease-smooth);
}

.icon-btn:active {
  transform: scale(0.9);
  background: var(--surface-3);
}

/* ── Toast ─────────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: calc(var(--nav-height) + var(--space-4));
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  gap: var(--space-2);
  align-items: center;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background: var(--glass-bg-heavy);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid var(--glass-border-strong);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  box-shadow: var(--shadow-xl);
  animation: toast-in var(--duration-slow) var(--ease-spring) forwards;
  pointer-events: auto;
  white-space: nowrap;
}

.toast.removing {
  animation: toast-out var(--duration-base) var(--ease-in) forwards;
}

@keyframes toast-in  { from { transform: translateY(20px); opacity:0; } to { transform:translateY(0); opacity:1; } }
@keyframes toast-out { from { opacity:1; } to { opacity:0; transform:translateY(-10px); } }

/* ── Global Overlay ────────────────────────────────────────── */
.global-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-medium);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-smooth);
}

.global-overlay.visible { opacity: 1; }
