/* ===========================================================================
   VOID TWEAKS — Dashboard + Fixes (wird nach averis.css geladen)
   ======================================================================== */

/* FIX: "Easy to Use"-Karte war zu hoch — die laufenden Logos bestimmen
   nicht mehr die Kartenhoehe */
.av-bento-row { position: relative; min-height: 240px; }
.av-paygrid {
  position: absolute !important;
  top: 0; bottom: 0; right: 28px;
  height: auto !important; margin: 0 !important;
}
.av-mock { max-height: 180px; }

/* ---------------------------------------------------------------------------
   Sidebar
   ------------------------------------------------------------------------ */
.av-dash-side {
  position: sticky; top: 100px;
  padding: 18px;
  background: linear-gradient(180deg, #0d0d10, #08080a);
  border: 1px solid var(--av-line);
  border-radius: 18px;
  animation: av-rise .7s var(--av-ease) both;
}
@media (max-width: 991px) { .av-dash-side { position: static; } }

.av-dash-user { display: flex; align-items: center; gap: 12px; padding: 4px 4px 18px; border-bottom: 1px solid var(--av-line); }
.av-dash-avatar {
  flex-shrink: 0;
  width: 46px; height: 46px; display: grid; place-items: center;
  font-size: 19px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #60a5fa, #4683e5);
  border-radius: 14px;
  box-shadow: 0 8px 24px -8px rgba(var(--av-purple-rgb), .7);
}
.av-dash-user-text { display: flex; flex-direction: column; min-width: 0; }
.av-dash-brand { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--av-purple-2); }
.av-dash-user-text strong { font-size: 15.5px; color: #fff; }
.av-dash-user-text small { font-size: 12.5px; color: var(--av-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.av-dash-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; }
.av-dash-link {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 11px 14px;
  font-size: 14.5px; font-weight: 500; color: #a1a1aa !important;
  text-align: left; text-decoration: none;
  background: transparent; border: 1px solid transparent; border-radius: 11px;
  cursor: pointer;
  transition: color .25s, background .25s, border-color .25s, transform .3s var(--av-ease);
}
.av-dash-link > i:first-child { width: 18px; text-align: center; font-size: 15px; transition: color .25s, transform .35s var(--av-ease); }
.av-dash-link:hover { color: #fff !important; background: rgba(255,255,255,.04); transform: translateX(3px); }
.av-dash-link:hover > i:first-child { color: var(--av-purple-2); transform: scale(1.1); }
.av-dash-link.is-active {
  color: #fff !important;
  background: linear-gradient(90deg, rgba(var(--av-purple-rgb), .22), rgba(var(--av-purple-rgb), .06));
  border-color: rgba(var(--av-purple-rgb), .4);
}
.av-dash-link.is-active::before {
  content: ""; position: absolute; left: -1px; top: 9px; bottom: 9px; width: 3px;
  background: var(--av-purple-2); border-radius: 0 3px 3px 0;
}
.av-dash-link.is-active > i:first-child { color: var(--av-purple-2); }
.av-dash-ext { margin-left: auto; font-size: 11px; opacity: .5; }
.av-dash-sep { height: 1px; margin: 8px 4px; background: var(--av-line); }
.av-dash-logout:hover { color: #f87171 !important; background: rgba(248,113,113,.07); }
.av-dash-logout:hover > i:first-child { color: #f87171; }

/* ---------------------------------------------------------------------------
   Inhalte
   ------------------------------------------------------------------------ */
.dashboard-v2 .dash-section-title { color: #a1a1aa !important; font-size: 12px !important; letter-spacing: .1em; }
.dashboard-v2 .dash-section-title::after { background: linear-gradient(90deg, rgba(var(--av-purple-rgb), .4), transparent) !important; }

.dashboard-v2 .stat-card, .dashboard-v2 .wide-card,
.component:has(.av-dash-side) .card {
  background: linear-gradient(180deg, #0d0d10, #08080a) !important;
  border: 1px solid var(--av-line) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  transition: border-color .35s, transform .45s var(--av-ease), box-shadow .45s var(--av-ease) !important;
}
.dashboard-v2 .stat-card:hover, .dashboard-v2 .wide-card:hover {
  border-color: rgba(var(--av-purple-rgb), .4) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 18px 40px -22px rgba(var(--av-purple-rgb), .55) !important;
}
.dashboard-v2 .stat-icon {
  width: 42px !important; height: 42px !important; border-radius: 12px !important;
  color: var(--av-purple-2) !important;
  background: rgba(var(--av-purple-rgb), .12) !important;
  border: 1px solid rgba(var(--av-purple-rgb), .3) !important;
  box-shadow: none !important;
}
.dashboard-v2 .stat-label { color: #8a8a93 !important; }
.dashboard-v2 .stat-value { color: #fff !important; }
.dashboard-v2 .wide-card h5 { color: var(--av-purple-2) !important; }
.dashboard-v2 .wide-card h4 { color: #fff !important; }
.dashboard-v2 .invoice-link { color: #a1a1aa !important; }
.dashboard-v2 .invoice-link .invoice-id { color: #fff !important; }
.dashboard-v2 .invoice-link:hover .invoice-id { color: var(--av-purple-2) !important; }
.dashboard-v2 .btn-download {
  color: #fff !important;
  background: linear-gradient(180deg, #82b2ff, #6399f1) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 10px !important;
  box-shadow: 0 0 0 3px rgba(var(--av-purple-rgb), .18) !important;
}

/* Tabellen (Orders, Tickets, Balance) */
.component:has(.av-dash-side) .table { --bs-table-bg: transparent; color: #d4d4d8; }
.component:has(.av-dash-side) .table th { color: var(--av-purple-2); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; border-color: var(--av-line); }
.component:has(.av-dash-side) .table td { border-color: var(--av-line); vertical-align: middle; }
.component:has(.av-dash-side) .table tbody tr { transition: background .2s; }
.component:has(.av-dash-side) .table tbody tr:hover { background: rgba(var(--av-purple-rgb), .05); }
.component:has(.av-dash-side) .btn-outline-primary { color: var(--av-purple-2) !important; border-color: rgba(var(--av-purple-rgb), .5) !important; background: transparent !important; }
.component:has(.av-dash-side) .btn-outline-primary:hover { color: #fff !important; background: var(--av-#3b82f6) !important; }

/* ---------------------------------------------------------------------------
   Settings-Modal
   ------------------------------------------------------------------------ */
.av-settings .modal-header { border-color: var(--av-line) !important; }
.av-settings .modal-title { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; }
.av-settings .modal-title i { color: var(--av-purple-2); }
.av-settings .btn-close { filter: invert(1); opacity: .6; }
.av-set-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; margin-bottom: 10px;
  background: #0a0a0c; border: 1px solid var(--av-line); border-radius: 12px;
  color: inherit; text-decoration: none;
  transition: border-color .25s, transform .3s var(--av-ease);
}
.av-set-row > i { color: var(--av-purple-2); font-size: 16px; }
.av-set-link:hover { border-color: rgba(var(--av-purple-rgb), .45); transform: translateY(-2px); color: inherit; }
.av-set-label { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--av-faint); }
.av-set-value { margin: 2px 0 0; font-size: 14.5px; color: #fff; word-break: break-all; }
.av-set-danger { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--av-line); }
.av-set-delete {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; font-size: 13.5px; font-weight: 600;
  color: #f87171; background: transparent;
  border: 1px solid rgba(248,113,113,.4); border-radius: 10px; cursor: pointer;
  transition: background .25s, color .25s;
}
.av-set-delete:hover, .av-set-delete.is-solid { color: #fff; background: #dc2626; border-color: #dc2626; }
.av-set-confirm p { margin: 0 0 12px; font-size: 13.5px; color: var(--av-muted); }
.av-set-confirm-btns { display: flex; justify-content: flex-end; gap: 8px; }
.av-set-confirm-btns .av-btn-ghost { height: auto; padding: 9px 16px; border-radius: 10px; }

/* ---------------------------------------------------------------------------
   "Works on All These Games" — laufende Spiele-Kacheln wie bei Payments
   ------------------------------------------------------------------------ */
.av-game {
  width: 76px !important; height: 58px !important;
  display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: #fff !important;
}
.av-game img { width: 22px; height: 22px; object-fit: contain; }
.av-game small { font-size: 9.5px; font-weight: 700; line-height: 1; color: #111; text-align: center; white-space: nowrap; }
.av-gamegrid .av-paytrack { animation-duration: 18s; }
.av-gamegrid .av-paycol-b .av-paytrack { animation-duration: 20s; }

/* Vouch abgeben */
.av-vouch-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px; height: 42px; padding: 0 20px; border-radius: 999px; font-size: 14.5px;
}
.av-vouch-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; font-size: 13px; font-weight: 600;
  color: #93c5fd !important; text-decoration: none;
  background: rgba(99, 153, 241,.1); border: 1px solid rgba(99, 153, 241,.45); border-radius: 999px;
  transition: background .25s, color .25s, transform .3s cubic-bezier(.16,1,.3,1);
}
.av-vouch-btn:hover { color: #fff !important; background: #6399f1; transform: translateY(-2px); }
.av-vouch-btn i { color: #fbbf24; }

/* ---------------------------------------------------------------------------
   Startseite: Vouches-Laufband
   ------------------------------------------------------------------------ */
.av-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.av-marquee-track { display: flex; gap: 12px; width: max-content; animation: av-marquee 60s linear infinite; }
.av-marquee:hover .av-marquee-track { animation-play-state: paused; }
.av-marquee-item { width: 320px; margin: 0 !important; flex-shrink: 0; }
@keyframes av-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.av-reviews-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.av-reviews-actions .av-btn { height: 38px; border-radius: 999px; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .av-marquee-track { animation: none; } }

/* Nach-Kauf-Hinweis */
.av-review-toast {
  position: fixed; right: 20px; bottom: 20px; z-index: 1040;
  display: flex; align-items: center; gap: 14px;
  max-width: 360px; padding: 14px 16px;
  background: rgba(12,12,14,.96); border: 1px solid rgba(99, 153, 241,.45); border-radius: 14px;
  box-shadow: 0 20px 50px -20px rgba(99, 153, 241,.5);
  animation: av-rise .6s cubic-bezier(.16,1,.3,1) both;
}
.av-review-toast i.fa-star { color: #fbbf24; font-size: 20px; }
.av-review-toast p { margin: 0; font-size: 13.5px; color: #d4d4d8; }
.av-review-toast strong { color: #fff; }
.av-review-toast a { color: #93c5fd; font-weight: 600; }
.av-review-toast button { margin-left: auto; background: none; border: 0; color: #71717a; font-size: 18px; cursor: pointer; }
