/* ==========================================================================
   Kirayaw Anime - iOS Glassmorphism Stylesheet (Pure CSS, No Build Required)
   ========================================================================== */

:root {
  --bg-color: #F5F6F8;
  --surface-color: rgba(255, 255, 255, 0.78);
  --surface-solid: #FFFFFF;
  --ink-color: #1D1D1F;
  --ink-muted: #6E6E73;
  --border-color: rgba(0, 0, 0, 0.08);
  --glass-border: rgba(255, 255, 255, 0.6);
  --accent-yellow: #F59E0B;
  --accent-pink: #EC4899;
  --accent-blue: #3B82F6;
  --accent-green: #10B981;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 36px -6px rgba(0, 0, 0, 0.12);
  --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg-color: #0D0E11;
  --surface-color: rgba(24, 24, 28, 0.75);
  --surface-solid: #16171B;
  --ink-color: #F5F5F7;
  --ink-muted: #A1A1A6;
  --border-color: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 2px 8px -1px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 16px 36px -6px rgba(0, 0, 0, 0.65);
  color-scheme: dark;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  background-image: 
    radial-gradient(at 0% 0%, rgba(245, 158, 11, 0.06) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(59, 130, 246, 0.06) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(236, 72, 153, 0.05) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--ink-color);
  min-height: 100vh;
  line-height: 1.5;
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
}

[data-theme="dark"] body {
  background-image: 
    radial-gradient(at 0% 0%, rgba(245, 158, 11, 0.04) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(59, 130, 246, 0.04) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(139, 92, 246, 0.04) 0px, transparent 50%);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: var(--radius-full);
}
[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Glass & Surfaces */
.glass {
  background: var(--surface-color);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
}

.glass-panel {
  background: var(--surface-color);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.glass-pill {
  background: var(--surface-color);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--surface-color);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.03);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink-color);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.nav-capsule {
  display: none;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
}

[data-theme="dark"] .nav-capsule {
  background: rgba(255, 255, 255, 0.05);
}

@media (min-width: 992px) {
  .nav-capsule {
    display: flex;
  }
}

.nav-link {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--ink-color);
  background: var(--surface-solid);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* Search bar header */
.header-search {
  flex: 1;
  max-width: 380px;
  position: relative;
  display: none;
}

@media (min-width: 768px) {
  .header-search {
    display: block;
  }
}

.search-input {
  width: 100%;
  padding: 0.5rem 1rem 0.5rem 2.25rem;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--ink-color);
  outline: none;
  transition: all 0.2s ease;
}

[data-theme="dark"] .search-input {
  background: rgba(255, 255, 255, 0.07);
}

.search-input:focus {
  background: var(--surface-solid);
  border-color: var(--accent-yellow);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  opacity: 0.5;
  pointer-events: none;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-color);
  color: var(--ink-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  position: relative;
}

[data-theme="dark"] .icon-btn {
  background: rgba(255, 255, 255, 0.07);
}

.icon-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.icon-btn:active {
  transform: scale(0.92);
}

.badge-counter {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--accent-pink);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: inline-flex;
}

@media (min-width: 992px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Drawer Overlay & Panel */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 82vw;
  max-width: 320px;
  background: var(--surface-solid);
  border-right: 1px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-overlay.open .mobile-drawer {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.mobile-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-color);
  text-decoration: none;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

[data-theme="dark"] .mobile-drawer-link {
  background: rgba(255, 255, 255, 0.05);
}

.mobile-drawer-link:hover, .mobile-drawer-link.active {
  background: var(--accent-yellow);
  color: #000;
  border-color: var(--accent-yellow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  background: linear-gradient(135deg, #FCD34D, #F59E0B);
  color: #000;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
  background: var(--surface-color);
  backdrop-filter: blur(16px);
  color: var(--ink-color);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--surface-solid);
}

/* Anime Card Grid */
.anime-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .anime-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}
@media (min-width: 768px) {
  .anime-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 1024px) {
  .anime-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Anime Card */
.anime-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface-color);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.anime-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.05);
}

.card-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.anime-card:hover .card-poster img {
  transform: scale(1.05);
}

.card-rating {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 7px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 3px;
}

.card-rank {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 24px;
  height: 24px;
  background: var(--accent-yellow);
  color: #000;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.card-ep-pill {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 2px 6px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
}

.card-body {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.card-title {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.4rem;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: var(--ink-muted);
}

/* Hero Spotlight Banner */
.hero-spotlight {
  position: relative;
  background: var(--surface-color);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 2.5rem;
}

.spotlight-ambient {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  filter: blur(40px);
  transform: scale(1.2);
  pointer-events: none;
}

[data-theme="dark"] .spotlight-ambient {
  opacity: 0.25;
}

.spotlight-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .spotlight-content {
    grid-template-columns: 2fr 1fr;
    padding: 2.5rem;
  }
}

.spotlight-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--accent-yellow);
  color: #000;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.spotlight-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .spotlight-title {
    font-size: 2.25rem;
  }
}

.spotlight-desc {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spotlight-poster {
  display: none;
  justify-content: center;
}

@media (min-width: 992px) {
  .spotlight-poster {
    display: flex;
  }
}

.spotlight-poster img {
  width: 220px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
}

/* Section Header */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.section-title {
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 20px;
  background: var(--accent-yellow);
  border-radius: var(--radius-full);
}

.section-link {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.15s;
}

.section-link:hover {
  color: var(--accent-pink);
}

/* Segmented Tabs */
.segmented-tabs {
  display: flex;
  gap: 0.25rem;
  padding: 0.3rem;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: fit-content;
  overflow-x: auto;
}

[data-theme="dark"] .segmented-tabs {
  background: rgba(255, 255, 255, 0.06);
}

.tab-btn {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.tab-btn.active {
  background: var(--surface-solid);
  color: var(--ink-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 2.5rem 0;
}

.page-info {
  padding: 0.5rem 1rem;
  background: var(--surface-color);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Watch Player Area */
.player-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.player-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Episode List in Detail / Watch */
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .episode-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 1024px) {
  .episode-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.ep-item {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.ep-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.ep-item.active {
  background: var(--accent-yellow);
  color: #000;
  border-color: #D97706;
}

.ep-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: rgba(0,0,0,0.1);
}

.ep-info {
  padding: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
}

/* Watch Sidebar Episode Items */
.ep-sidebar-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink-color);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.ep-sidebar-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .ep-sidebar-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.ep-sidebar-item.active {
  background: var(--accent-yellow) !important;
  color: #000 !important;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-sm);
}

.ep-sidebar-thumb {
  width: 48px;
  height: 32px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  font-family: monospace;
}

[data-theme="dark"] .ep-sidebar-thumb {
  background: rgba(255, 255, 255, 0.1);
}

.ep-sidebar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ep-sidebar-info {
  flex: 1;
  min-width: 0;
}

.ep-sidebar-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.8rem;
}

.ep-sidebar-icon {
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 2rem;
  background: var(--surface-color);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink-color);
  margin-bottom: 0.75rem;
}

.credits-box {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.credits-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-weight: 600;
}

[data-theme="dark"] .credits-badge {
  background: rgba(255, 255, 255, 0.05);
}

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, rgba(0,0,0,0.06) 25%, rgba(0,0,0,0.1) 37%, rgba(0,0,0,0.06) 63%);
  background-size: 400% 100%;
  animation: skeleton-loading 1.4s ease infinite;
  border-radius: var(--radius-md);
}

[data-theme="dark"] .skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 37%, rgba(255,255,255,0.05) 63%);
  background-size: 400% 100%;
}

@keyframes skeleton-loading {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 0.75rem 1.25rem;
  background: rgba(24, 24, 28, 0.9);
  backdrop-filter: blur(16px);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  animation: toast-in 0.3s ease;
}

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

