/* ─── PrimeTime · VIP-Clan Theme ──────────────────────────────────────
   Black Metal + Blutrot — Sidebar-Layout, Hero-Header, Animationen.
*/

:root {
  --vip-red:        #D32F2F;
  --vip-red-deep:   #8B0000;
  --vip-red-soft:   #FF5252;
  --vip-red-glow:   rgba(211, 47, 47, 0.35);
  --vip-bg:         #0a0a0a;
  --vip-surface:    #141414;
  --vip-surface-2:  #1c1c1c;
  --vip-border:     rgba(211, 47, 47, 0.18);
  --vip-border-hi:  rgba(211, 47, 47, 0.45);
  --vip-text:       #e8e8e8;
  --vip-muted:      #8a8a8a;
  --sidebar-w:      240px;

  --bs-body-bg:        var(--vip-bg);
  --bs-body-color:     var(--vip-text);
  --bs-warning:        var(--vip-red);
  --bs-warning-rgb:    211, 47, 47;
  --bs-primary:        var(--vip-red);
  --bs-primary-rgb:    211, 47, 47;
  --bs-link-color:     var(--vip-red-soft);
  --bs-link-hover-color: #ffffff;
  --bs-border-color:   var(--vip-border);
  --bs-secondary-color: var(--vip-muted);
}

* { -webkit-font-smoothing: antialiased; box-sizing: border-box; }

body {
  background:
    radial-gradient(circle at 0% 0%, var(--vip-red-glow), transparent 35%),
    radial-gradient(circle at 100% 100%, rgba(139, 0, 0, 0.25), transparent 40%),
    var(--vip-bg);
  background-attachment: fixed;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", sans-serif;
  min-height: 100vh;
  margin: 0;
}

/* ════════════════════════════════════════════════════════════════════
   SIDEBAR
   ════════════════════════════════════════════════════════════════════ */
.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: linear-gradient(180deg, #0c0c0c 0%, #050505 100%);
  border-right: 1px solid var(--vip-border);
  display: flex;
  flex-direction: column;
  padding: 1.25rem 0.75rem;
  z-index: 1030;
  transition: transform 0.25s ease;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0.75rem 1.5rem;
  border-bottom: 1px solid var(--vip-border);
  text-decoration: none;
  color: var(--vip-text);
}
.sidebar-brand img {
  width: 44px; height: 44px;
  filter: drop-shadow(0 0 10px var(--vip-red-glow));
  transition: filter 0.3s ease;
}
.sidebar-brand:hover img {
  filter: drop-shadow(0 0 16px var(--vip-red));
}
.sidebar-brand .brand-text {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  color: var(--vip-text);
}
.sidebar-brand .brand-text .accent {
  color: var(--vip-red);
}

.sidebar-nav {
  flex: 1;
  padding: 1rem 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--vip-red-deep) transparent;
}
.sidebar-nav::-webkit-scrollbar { width: 4px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: var(--vip-red-deep); }

.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.25rem;
  border-radius: 8px;
  color: var(--vip-muted);
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.2s ease;
  position: relative;
}
.sidebar-nav .nav-link i {
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
  transition: transform 0.2s ease, color 0.2s ease;
}
.sidebar-nav .nav-link:hover {
  background: rgba(211, 47, 47, 0.08);
  color: var(--vip-text);
  padding-left: 1.1rem;
}
.sidebar-nav .nav-link:hover i { color: var(--vip-red-soft); }

.sidebar-nav .nav-link.active {
  background: linear-gradient(90deg, rgba(211, 47, 47, 0.18) 0%, transparent 100%);
  color: #fff;
  font-weight: 600;
}
.sidebar-nav .nav-link.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 65%;
  background: var(--vip-red);
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 12px var(--vip-red-glow);
}
.sidebar-nav .nav-link.active i { color: var(--vip-red-soft); }

.sidebar-section {
  padding: 0.5rem 0.9rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--vip-muted);
  margin-top: 0.5rem;
}

.sidebar-user {
  border-top: 1px solid var(--vip-border);
  padding-top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 0.5rem 0;
}
.sidebar-user img {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--vip-border-hi);
}
.sidebar-user .name {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-user .role {
  font-size: 0.72rem;
  color: var(--vip-muted);
}
.sidebar-user .logout-btn {
  margin-left: auto;
  color: var(--vip-muted);
  background: transparent;
  border: 1px solid var(--vip-border);
  border-radius: 6px;
  padding: 0.3rem 0.5rem;
  text-decoration: none;
  transition: all 0.15s ease;
}
.sidebar-user .logout-btn:hover {
  background: var(--vip-red-deep);
  border-color: var(--vip-red);
  color: #fff;
}

/* Main */
.main-wrapper {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: calc(100% - var(--sidebar-w));
}

.topbar-mobile {
  display: none;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--vip-border);
  position: sticky;
  top: 0;
  z-index: 1020;
}
.topbar-mobile .mobile-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--vip-text);
}
.topbar-mobile .mobile-brand img {
  width: 32px; height: 32px;
}
.burger {
  background: transparent;
  border: 1px solid var(--vip-border);
  color: var(--vip-text);
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  margin-right: 0.75rem;
}

.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1029;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.sidebar-backdrop.show { display: block; opacity: 1; }

@media (max-width: 991px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-wrapper { margin-left: 0; width: 100%; }
  .topbar-mobile { display: flex; }
}

/* ════════════════════════════════════════════════════════════════════
   HERO-HEADER (pro Page)
   ════════════════════════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  padding: 2.5rem 0 2rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--vip-border);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 360px;
  height: 360px;
  background: url('/static/logo-512.png') no-repeat center;
  background-size: contain;
  opacity: 0.05;
  filter: blur(2px);
  pointer-events: none;
}
.page-hero .container-narrow {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.page-hero .hero-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--vip-red) 0%, var(--vip-red-deep) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(211, 47, 47, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}
.page-hero h1 {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0;
}
.page-hero .hero-sub {
  color: var(--vip-muted);
  font-size: 0.95rem;
  margin-top: 0.15rem;
}
.page-hero .hero-actions {
  margin-left: auto;
  display: flex;
  gap: 0.5rem;
}

.content {
  padding: 0 2rem 4rem;
  max-width: 1400px;
  width: 100%;
}
.content-narrow {
  padding: 0 2rem 4rem;
  max-width: 1200px;
}

@media (max-width: 768px) {
  .page-hero { padding: 1.5rem 0 1.25rem; }
  .page-hero .hero-icon { width: 44px; height: 44px; font-size: 1.3rem; border-radius: 10px; }
  .page-hero h1 { font-size: 1.35rem; }
  .content { padding: 0 1rem 3rem; }
}

/* ════════════════════════════════════════════════════════════════════
   CARDS / TABLES / FORMS / BUTTONS
   ════════════════════════════════════════════════════════════════════ */
.card {
  background: linear-gradient(180deg, var(--vip-surface) 0%, var(--vip-surface-2) 100%);
  border: 1px solid var(--vip-border);
  border-radius: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { border-color: var(--vip-border-hi); }
.card-header {
  background: rgba(211, 47, 47, 0.06);
  border-bottom: 1px solid var(--vip-border);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.card-header i { color: var(--vip-red-soft); }
.card-body { color: var(--vip-text); }

.card.border-danger-subtle {
  border-color: rgba(255, 82, 82, 0.55) !important;
  box-shadow: 0 0 24px rgba(255, 82, 82, 0.18);
}

.table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--vip-text);
  --bs-table-hover-bg: rgba(211, 47, 47, 0.08);
  --bs-table-hover-color: var(--vip-text);
  --bs-table-border-color: rgba(255, 255, 255, 0.04);
}
.table > thead {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--vip-muted);
}
tr.table-danger-subtle, .table-danger-subtle {
  background: rgba(255, 82, 82, 0.06) !important;
  --bs-table-color: var(--vip-text);
}

.btn-warning, .btn-primary {
  background: linear-gradient(180deg, var(--vip-red) 0%, var(--vip-red-deep) 100%);
  border: 1px solid rgba(255, 82, 82, 0.4);
  color: #fff !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 4px 12px rgba(211, 47, 47, 0.25);
  transition: transform 0.1s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn-warning:hover, .btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 6px 18px rgba(211, 47, 47, 0.4);
  color: #fff !important;
}
.btn-warning:active, .btn-primary:active { transform: translateY(1px); }
.btn-success {
  background: linear-gradient(180deg, #2e7d32 0%, #1b5e20 100%);
  border-color: rgba(102, 187, 106, 0.4);
}
.btn-danger {
  background: linear-gradient(180deg, #c62828 0%, #6d0000 100%);
  border-color: rgba(255, 82, 82, 0.5);
}
.btn-outline-secondary {
  color: var(--vip-text);
  border-color: rgba(255, 255, 255, 0.15);
}
.btn-outline-secondary:hover {
  background: rgba(211, 47, 47, 0.12);
  border-color: var(--vip-red);
  color: #fff;
}
.btn-outline-danger {
  color: var(--vip-red-soft);
  border-color: var(--vip-red-deep);
}
.btn-outline-danger:hover {
  background: var(--vip-red-deep);
  color: #fff;
  border-color: var(--vip-red);
}

.form-control, .form-select {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--vip-text);
}
.form-control:focus, .form-select:focus {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--vip-red);
  box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.2);
  color: var(--vip-text);
}
.form-control::placeholder { color: var(--vip-muted); }
.form-label { font-weight: 500; color: var(--vip-text); }

/* Bars */
.bar {
  display: inline-block;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  vertical-align: middle;
  width: 100%;
  max-width: 240px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #2e7d32 0%, #c8b800 55%, var(--vip-red) 100%);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--vip-red-glow);
}
.bar-tall { height: 12px; max-width: 100%; }

.badge-cat {
  font-weight: 500;
  background: rgba(211, 47, 47, 0.12);
  color: var(--vip-red-soft);
  border: 1px solid var(--vip-border-hi);
}
.text-gold, .text-warning { color: var(--vip-red-soft) !important; }
.text-muted-small { color: var(--vip-muted); font-size: 0.85rem; }
code { color: var(--vip-red-soft); background: rgba(211, 47, 47, 0.08); padding: 0.05rem 0.4rem; border-radius: 3px; }

.display-5, .display-6 { font-weight: 700; letter-spacing: -0.02em; }

/* ════════════════════════════════════════════════════════════════════
   GUILD-PICKER / LOGIN
   ════════════════════════════════════════════════════════════════════ */
.guild-card { transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; }
.guild-card:hover {
  transform: translateY(-3px);
  border-color: var(--vip-red) !important;
  box-shadow: 0 8px 24px rgba(211, 47, 47, 0.25);
}

/* Login Splitscreen */
.split-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.split-left {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a0000 0%, #0a0a0a 60%, #2a0000 100%);
  overflow: hidden;
  padding: 3rem;
}
.split-left::before {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 30% 30%, var(--vip-red-glow), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(139, 0, 0, 0.4), transparent 50%);
  animation: split-glow 8s ease-in-out infinite;
}
@keyframes split-glow {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.1); }
}
.split-left-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.split-left-content img {
  width: 280px;
  height: 280px;
  filter: drop-shadow(0 0 32px var(--vip-red-glow)) drop-shadow(0 0 12px rgba(211, 47, 47, 0.6));
  animation: hero-float 6s ease-in-out infinite;
}
.split-title {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin-top: 1.25rem;
  background: linear-gradient(180deg, #fff 0%, var(--vip-red-soft) 70%, var(--vip-red-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px var(--vip-red-glow);
}
.split-tagline {
  margin-top: 0.75rem;
  color: var(--vip-muted);
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  text-transform: uppercase;
}
.split-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background: var(--vip-bg);
}
.split-card {
  background: var(--vip-surface);
  border: 1px solid var(--vip-border-hi);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(211, 47, 47, 0.08);
  position: relative;
  overflow: hidden;
}
.split-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--vip-red-glow) 0%, transparent 70%);
  pointer-events: none;
}
.split-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
}
.split-card .lead {
  color: var(--vip-muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  position: relative;
}
.btn-discord-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  font-size: 1.05rem;
  padding: 0.9rem;
  background: linear-gradient(180deg, var(--vip-red) 0%, var(--vip-red-deep) 100%);
  border: 1px solid rgba(255, 82, 82, 0.5);
  color: #fff !important;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(211, 47, 47, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}
.btn-discord-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(211, 47, 47, 0.6);
}
.split-info {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--vip-muted);
  border-top: 1px solid var(--vip-border);
  padding-top: 1rem;
  position: relative;
}
.split-info i { color: var(--vip-red-soft); }

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@media (max-width: 991px) {
  .split-page { grid-template-columns: 1fr; }
  .split-left { min-height: 50vh; padding: 2rem; }
  .split-left-content img { width: 180px; height: 180px; }
  .split-title { font-size: 2rem; }
  .split-right { padding: 2rem 1.25rem; }
}

/* ════════════════════════════════════════════════════════════════════
   LAGER · KACHEL-LAYOUT
   ════════════════════════════════════════════════════════════════════ */
.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.item-card {
  background: linear-gradient(180deg, var(--vip-surface) 0%, var(--vip-surface-2) 100%);
  border: 1px solid var(--vip-border);
  border-radius: 12px;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.item-card:hover {
  border-color: var(--vip-red);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(211, 47, 47, 0.22);
  color: inherit;
}
.item-card:active { transform: translateY(-1px); }
.item-card::after {
  content: "\F285"; /* bi-arrow-right */
  font-family: "bootstrap-icons";
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1rem;
  color: var(--vip-muted);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.item-card:hover::after {
  opacity: 1;
  transform: translateX(2px);
  color: var(--vip-red-soft);
}
.item-card.is-low {
  border-color: rgba(255, 82, 82, 0.5);
  animation: pulse-warn 2.5s ease-in-out infinite;
}
@keyframes pulse-warn {
  0%, 100% { box-shadow: 0 0 0 rgba(255, 82, 82, 0); }
  50%      { box-shadow: 0 0 24px rgba(255, 82, 82, 0.35); }
}
.item-card.is-full { border-color: rgba(102, 187, 106, 0.4); }

.item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}
.item-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--vip-text);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.item-name:hover { color: var(--vip-red-soft); }
.item-status {
  font-size: 1.2rem;
  flex-shrink: 0;
}
.item-cat {
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(211, 47, 47, 0.12);
  color: var(--vip-red-soft);
  border: 1px solid var(--vip-border-hi);
  display: inline-block;
}

.item-stats {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.item-qty {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.item-qty .max {
  color: var(--vip-muted);
  font-size: 0.9rem;
  font-weight: 400;
}
.item-pct {
  color: var(--vip-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.item-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: auto;
}
.item-actions input { flex: 1; min-width: 0; }
.item-actions select { flex-shrink: 0; width: auto; }
.item-actions .btn { padding: 0.35rem 0.55rem; flex-shrink: 0; }

/* View-Toggle */
.view-toggle {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--vip-border);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}
.view-toggle .btn {
  border: 0;
  background: transparent;
  color: var(--vip-muted);
  padding: 0.3rem 0.7rem;
  font-size: 0.85rem;
  border-radius: 6px;
}
.view-toggle .btn.active {
  background: var(--vip-red-deep);
  color: #fff;
}

/* Filter-Pills */
.filter-pills {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.filter-pills .pill {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--vip-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--vip-text);
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.15s ease;
}
.filter-pills .pill:hover {
  border-color: var(--vip-red);
  color: var(--vip-red-soft);
}
.filter-pills .pill.active {
  background: linear-gradient(180deg, var(--vip-red) 0%, var(--vip-red-deep) 100%);
  border-color: var(--vip-red);
  color: #fff;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

/* ════════════════════════════════════════════════════════════════════
   TOASTS / FLASH
   ════════════════════════════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  top: 1rem; right: 1rem;
  z-index: 1080;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.vip-toast {
  background: linear-gradient(180deg, var(--vip-surface) 0%, var(--vip-surface-2) 100%);
  border: 1px solid var(--vip-border-hi);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  min-width: 280px;
  max-width: 360px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: toast-in 0.25s ease-out;
}
.vip-toast.success { border-color: rgba(102, 187, 106, 0.5); }
.vip-toast.success i { color: #66bb6a; }
.vip-toast.error { border-color: rgba(255, 82, 82, 0.6); }
.vip-toast.error i { color: var(--vip-red-soft); }
.vip-toast i { font-size: 1.2rem; }
.vip-toast .toast-msg { flex: 1; font-size: 0.9rem; }
.vip-toast .toast-close {
  background: transparent;
  border: 0;
  color: var(--vip-muted);
  cursor: pointer;
  font-size: 1.1rem;
}
@keyframes toast-in {
  from { transform: translateX(20px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* ════════════════════════════════════════════════════════════════════
   MISC: Modals, Alerts, Footer, Scrollbar
   ════════════════════════════════════════════════════════════════════ */
.modal-content {
  background: var(--vip-surface);
  border: 1px solid var(--vip-border-hi);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(211, 47, 47, 0.1);
}
.modal-header { border-bottom-color: var(--vip-border); }
.modal-footer { border-top-color: var(--vip-border); }

.alert { border: 1px solid var(--vip-border); }
.alert-warning {
  background: rgba(211, 47, 47, 0.08);
  color: var(--vip-red-soft);
  border-color: var(--vip-border-hi);
}
.alert-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--vip-muted);
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--vip-bg); }
::-webkit-scrollbar-thumb { background: var(--vip-red-deep); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--vip-red); }
