/* =============================================================
   Universal Stylesheet  v2.0
   Gebruik: ALLE pagina's — ingame én outgame
   ============================================================= */

/* ──────────────────────────────────────────────────────────
   1. CSS Custom Properties
────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&display=swap');

:root {
  /* Headings (tactical, condensed) */
  --head:        'Oswald', 'Arial Narrow', sans-serif;
  /* Core palette */
  --bg:          #0a0a0f;
  --surface:     #111118;
  --surface2:    #16161f;
  --surface3:    #1c1c27;
  --surface4:    #222232;

  /* Brand */
  --accent:      #c0392b;
  --accent-h:    #e74c3c;
  --accent-dim:  rgba(192,57,43,.12);
  --accent-glow: rgba(192,57,43,.35);

  /* Game status colors */
  --green:       #2ecc71;
  --green-dim:   rgba(46,204,113,.12);
  --blue:        #3498db;
  --blue-dim:    rgba(52,152,219,.12);
  --gold:        #e8b54a;
  --gold-dim:    rgba(232,181,74,.12);
  --purple:      #9b59b6;
  --purple-dim:  rgba(155,89,182,.12);
  --red:         #e74c3c;

  /* Text */
  --text:        #eaeaf8;
  --muted:       rgba(234,234,248,.52);
  --muted2:      rgba(234,234,248,.28);
  --muted3:      rgba(234,234,248,.16);

  /* Borders */
  --border:      rgba(255,255,255,.06);
  --border-h:    rgba(255,255,255,.13);
  --border-act:  rgba(192,57,43,.3);

  /* Shape */
  --radius:      14px;
  --radius-sm:   9px;
  --radius-xs:   5px;

  /* Shadows */
  --shadow:      0 8px 32px rgba(0,0,0,.4);
  --shadow-lg:   0 24px 64px rgba(0,0,0,.55);

  /* Ingame layout */
  --topbar-h:    60px;
  --sidebar-l:   252px;
  --sidebar-r:   268px;
  --bot-nav-h:   54px;
}

/* ──────────────────────────────────────────────────────────
   2. Reset & Base
────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html   { height: 100%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body   {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .8rem;                 /* globale basis: alle ongeklasseerde tekst gelijk (i.p.v. 16px-standaard) */
  background: var(--bg); color: var(--text);
  line-height: 1.6; overflow-x: hidden;
}
a      { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; background: none; }
img    { max-width: 100%; display: block; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; font-size: .72rem; }

/* ── Ingame body overrides ── */
body.game {
  height: 100%; overflow: hidden;
  display: flex; flex-direction: column;
}

/* ──────────────────────────────────────────────────────────
   3. Scrollbars
────────────────────────────────────────────────────────── */
::-webkit-scrollbar       { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.08); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.16); }

/* ──────────────────────────────────────────────────────────
   4. Animations
────────────────────────────────────────────────────────── */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(192,57,43,.5); }
  50%       { box-shadow: 0 0 14px 3px rgba(192,57,43,.3); }
}
@keyframes pip-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .45; }
}
@keyframes online-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46,204,113,.6); }
  50%       { box-shadow: 0 0 0 4px rgba(46,204,113,.0); }
}
@keyframes slide-in-right {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
@keyframes fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

/* ══════════════════════════════════════════════════════════
   ██  I N G A M E   S T Y L E S
   ══════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────────
   5. TOPBAR
────────────────────────────────────────────────────────── */
.topbar {
  height: var(--topbar-h); flex-shrink: 0; z-index: 500;
  /* graphite met een subtiele rode gloed bij het logo */
  background:
    radial-gradient(120% 240% at 0% 0%, rgba(192,57,43,.18), transparent 42%),
    linear-gradient(180deg, #17121b 0%, #0c0c13 100%);
  border-bottom: 1px solid rgba(255,255,255,.07);
  border-top: 2px solid var(--accent);
  box-shadow: 0 2px 16px rgba(0,0,0,.45);
  display: flex; align-items: center;
  user-select: none;
}
.topbar-logo-block {
  width: var(--sidebar-l); flex-shrink: 0; height: 100%;
  padding: 0 18px; display: flex; align-items: center; gap: 10px;
  border-right: 1px solid var(--border);
}
.topbar-logo { font-size: 1.2rem; font-weight: 900; letter-spacing: 2.5px; }
.topbar-logo span { color: var(--accent); }
.topbar-season-pill {
  font-size: .6rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--gold); background: var(--gold-dim);
  border: 1px solid rgba(243,156,18,.25); border-radius: 99px;
  padding: 3px 9px; white-space: nowrap;
}
/* Merk-kolom: logo + seizoenpil op rij 1, toernooi-pil eronder. */
.topbar-brand { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; }
.topbar-brand-top { display: flex; align-items: center; gap: 10px; }
.topbar-tourn-pill {
  font-size: .58rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  color: var(--accent); background: rgba(231,76,60,.12);
  border: 1px solid rgba(231,76,60,.3); border-radius: 99px;
  padding: 2px 8px; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; align-self: flex-start;
}
.topbar-tourn-pill i { font-size: .58rem; }
.topbar-tourn-pill .tt-left { color: var(--muted); font-weight: 600; }
.topbar-page {
  padding: 0 18px; height: 100%;
  display: flex; align-items: center; gap: 7px;
  font-size: .8rem; color: var(--muted);
  border-right: 1px solid var(--border);
}
.topbar-page i      { color: var(--accent); font-size: .72rem; }
.topbar-page strong { color: var(--text); font-weight: 600; }
.topbar-resources   { margin-left: auto; display: flex; align-items: center; gap: 6px; padding: 0 14px; }
.res-pill {
  display: flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: 8px;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07);
  font-size: .72rem; font-weight: 700; white-space: nowrap; color: #e9ebee;
  font-variant-numeric: tabular-nums;
  transition: border-color .15s, background .15s; cursor: default;
}
.res-pill:hover { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.06); }
.res-pill i { font-size: .68rem; color: var(--muted); }
.res-pill.cash i   { color: var(--green); }
.res-pill.health i { color: #e74c3c; }
.res-pill.energy i { color: var(--gold); }
.res-pill.heat i   { color: var(--accent); }
.res-pill.heat.danger { animation: pulse-glow 1.5s infinite; border-color: rgba(192,57,43,.4); }
.topbar-actions {
  display: flex; align-items: center; gap: 8px;
  padding: 0 14px; border-left: 1px solid var(--border); height: 100%;
}
.topbar-btn {
  width: 34px; height: 34px; border-radius: var(--radius-sm); position: relative;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .85rem; transition: all .2s;
  background: var(--surface2); border: 1px solid var(--border);
}
.topbar-btn:hover { color: var(--text); border-color: var(--border-h); }
.topbar-btn .badge-dot {
  position: absolute; top: 5px; right: 5px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); border: 1.5px solid var(--surface);
}
.topbar-avatar {
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  background: linear-gradient(135deg, var(--accent) 0%, #7a1c12 100%);
  border: 2px solid rgba(192,57,43,.35);
  box-shadow: 0 0 0 1px rgba(192,57,43,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 800; color: #fff;
  transition: box-shadow .2s;
}
.topbar-avatar:hover { box-shadow: 0 0 0 2px rgba(192,57,43,.4), 0 0 16px rgba(192,57,43,.2); }
.topbar-hamburger {
  display: none; width: 34px; height: 34px; margin-right: 6px;
  align-items: center; justify-content: center;
  color: var(--muted); font-size: 1rem; transition: color .2s;
}
.topbar-hamburger:hover { color: var(--text); }

/* ──────────────────────────────────────────────────────────
   6. THREE-COLUMN LAYOUT
────────────────────────────────────────────────────────── */
.game-layout { flex: 1; display: flex; overflow: hidden; }

/* ──────────────────────────────────────────────────────────
   7. LEFT SIDEBAR
────────────────────────────────────────────────────────── */
.sidebar-left {
  width: var(--sidebar-l); flex-shrink: 0;
  background: linear-gradient(180deg, #0d0d15 0%, #09090e 100%);
  border-right: 1px solid rgba(255,255,255,.07);
  display: flex; flex-direction: column;
  overflow-y: auto; overflow-x: hidden;
  padding: 10px 0 0; position: relative;
}
/* Sectiekop als graniet th-balkje */
.nav-section {
  margin: 9px 8px 5px; padding: 5px 11px; border-radius: 4px;
  font-size: .57rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: #9398a1;
  background:
    radial-gradient(120% 180% at 50% 0%, rgba(255,255,255,.05), transparent 72%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.014));
}
.nav-section:first-child { margin-top: 6px; }
/* Menu-item als td-balkje (met kleine gap ertussen) */
.nav-item {
  display: flex; align-items: center; gap: 9px;
  margin: 2px 8px; padding: 2px 10px; border-radius: 4px;
  font-size: .76rem; font-weight: 500; color: var(--muted);
  background: rgba(255,255,255,.02);
  transition: background .15s, color .15s, box-shadow .15s; cursor: pointer;
}
.nav-item:hover {
  color: rgba(234,234,248,.85);
  background: rgba(255,255,255,.055);
}
.nav-item.active {
  color: var(--text); font-weight: 600;
  background: linear-gradient(90deg, rgba(192,57,43,.24) 0%, rgba(192,57,43,.05) 100%);
  box-shadow: inset 3px 0 0 var(--accent);
}
.nav-icon { width: 14px; text-align: center; flex-shrink: 0; font-size: .65rem; color: var(--muted2); transition: color .15s; }
.nav-item:hover .nav-icon  { color: var(--muted); }
.nav-item.active .nav-icon { color: var(--accent); }
.nav-label { flex: 1; }
.nav-badge {
  font-size: .58rem; font-weight: 700; padding: 2px 7px; border-radius: 99px;
  background: var(--accent); color: #fff; flex-shrink: 0;
}
.nav-badge.green  { background: var(--green); }
.nav-badge.gold   { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(243,156,18,.3); }
.nav-badge.blue   { background: var(--blue-dim); color: var(--blue); border: 1px solid rgba(52,152,219,.3); }
.nav-badge.red    { background: var(--accent); }

/* ── Inklapbare navigatiegroepen (accordion) ───────────────── */
.nav-group { display: block; }
.nav-toggle { display: flex; align-items: center; gap: 7px; cursor: pointer; user-select: none; }
.nav-toggle .nav-sec-label { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; }
.nav-toggle:hover { color: #cfd3da; }
.nav-toggle:focus-visible { outline: 1px solid var(--accent); outline-offset: 1px; }
.nav-chevron { font-size: .55rem; color: #9398a1; transition: transform .18s ease; flex-shrink: 0; }
.nav-group.collapsed .nav-chevron { transform: rotate(-90deg); }
.nav-group.collapsed .nav-group-body { display: none; }
.nav-sec-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; box-shadow: 0 0 5px rgba(192,57,43,.7); }
.nav-group:not(.collapsed) .nav-sec-dot { display: none; }

/* ── Topbar berichten-teller ─────────────────────────────── */
.tb-count {
  position: absolute; top: -5px; right: -5px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 99px; background: var(--accent); color: #fff; font-size: .56rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; border: 2px solid #0d0d15;
}

/* ── Berichten: lijst ────────────────────────────────────── */
.msg-list { display: flex; flex-direction: column; }
.msg-row {
  display: grid; grid-template-columns: 8px 150px 1fr auto; align-items: center; gap: 10px;
  padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.05);
  color: var(--muted); font-size: .78rem; transition: background .15s;
}
.msg-row:last-child { border-bottom: none; }
.msg-row:hover { background: rgba(255,255,255,.035); }
.msg-row .msg-dot { width: 8px; height: 8px; border-radius: 50%; background: transparent; }
.msg-row.unread .msg-dot { background: var(--accent); box-shadow: 0 0 8px rgba(192,57,43,.6); }
.msg-row .msg-party { font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-row .msg-subject { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-row.unread .msg-party, .msg-row.unread .msg-subject { color: #fff; font-weight: 800; }
.msg-row .msg-date { font-size: .68rem; color: var(--muted2); white-space: nowrap; }

/* ── Berichten: lezen ────────────────────────────────────── */
.msg-view-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.05); flex-wrap: wrap; }
.msg-view-party .mv-label { color: var(--muted); font-size: .68rem; margin-right: 6px; }
.msg-view-party strong { color: #fff; font-size: .76rem; }
.msg-view-date { font-size: .68rem; color: var(--muted); }
.msg-view-body { padding: 16px; font-size: .76rem; line-height: 1.6; color: var(--text); word-wrap: break-word; }
.msg-view-actions { display: flex; gap: 8px; align-items: center; padding: 12px 16px; border-top: 1px solid rgba(255,255,255,.05); flex-wrap: wrap; }

/* Berichtenlijst (dtable): vaste kolommen + titel afkappen met … */
.msg-table { table-layout: fixed; width: 100%; }
.msg-table td { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .76rem; }
.msg-table td .dt-name { overflow: hidden; }
.msg-table td .dt-strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
/* kolombreedtes: ☑ | Van | Onderwerp(rest) | Datum */
.msg-table th:nth-child(1), .msg-table td:nth-child(1) { width: 38px; text-align: center; }
.msg-table th:nth-child(2), .msg-table td:nth-child(2) { width: 150px; }
.msg-table th:nth-child(4), .msg-table td:nth-child(4) { width: 140px; }

/* Multi-select toolbar + checkboxes */
.msg-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,.05); flex-wrap: wrap; }
.msg-checkall { display: inline-flex; align-items: center; gap: 7px; font-size: .68rem; font-weight: 700; color: var(--muted); cursor: pointer; user-select: none; }
.msg-del-btn { font-size: .68rem; }
.msg-del-btn:not(:disabled) { color: #e74c3c; border-color: rgba(231,76,60,.4); }

/* Globale donkere checkbox-stijl — overal consistent (berichten, shop, instellingen, …) */
input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 17px; height: 17px; border-radius: 5px;
  border: 1.5px solid var(--border); background: var(--surface3);
  cursor: pointer; position: relative; flex-shrink: 0; vertical-align: middle;
  transition: background .15s, border-color .15s;
}
input[type="checkbox"]:hover { border-color: rgba(241,196,15,.55); }
input[type="checkbox"]:checked { background: var(--gold); border-color: var(--gold); }
input[type="checkbox"]:checked::after {
  content: ''; position: absolute; left: 50%; top: 45%;
  width: 4px; height: 8px; border: solid #1b1b22;
  border-width: 0 2px 2px 0; transform: translate(-50%, -50%) rotate(45deg);
}
/* Postvak: rode selectie-checkboxes (override op de globale stijl). */
.msg-cb:hover { border-color: rgba(231,76,60,.6); }
.msg-cb:checked { background: #e74c3c; border-color: #e74c3c; }

@media (max-width: 560px) {
  .msg-table td, .msg-table thead th { padding: 8px 5px; font-size: .7rem; }
  .msg-table th:nth-child(1), .msg-table td:nth-child(1) { width: 30px; }
  .msg-table th:nth-child(2), .msg-table td:nth-child(2) { width: 80px; }
  .msg-table th:nth-child(4), .msg-table td:nth-child(4) { width: 70px; font-size: .6rem; color: var(--muted2); }
  .msg-table .dt-ava { display: none; }     /* avatar weg → naam past */
  .msg-table .dt-name { gap: 0; }
  .msg-table .msg-time { display: none; }    /* alleen datum, geen tijd */
}

@media (max-width: 560px) {
  .msg-row {
    grid-template-columns: 8px 1fr auto;
    grid-template-areas: "dot party date" ". subject subject";
    row-gap: 2px;
  }
  .msg-row .msg-dot     { grid-area: dot; }
  .msg-row .msg-party   { grid-area: party; }
  .msg-row .msg-date    { grid-area: date; }
  .msg-row .msg-subject { grid-area: subject; display: block; font-size: .72rem; color: var(--muted); }
}

/* ════════════════════════════════════════════════════════════
   UBB-EDITOR (eigen WYSIWYG)
   ════════════════════════════════════════════════════════════ */
.ubb { position: relative; border: 1px solid var(--border); border-radius: 10px; background: var(--surface2); }
.ubb-hidden { display: none !important; }
.ubb-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 2px; border-radius: 9px 9px 0 0;
  padding: 6px 8px; background: rgba(255,255,255,.03); border-bottom: 1px solid var(--border);
}
.ubb-btn {
  width: 25px; height: 25px; border-radius: 6px; border: 1px solid transparent;
  background: transparent; color: var(--muted); font-size: .68rem; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: all .12s;
}
.ubb-btn:hover { background: rgba(255,255,255,.07); color: #fff; border-color: var(--border); }
.ubb-btn .fa-youtube { color: #ff3d3d; }
.ubb-sep { width: 1px; height: 16px; background: var(--border); margin: 0 3px; }
.ubb-select {
  height: 25px; border-radius: 6px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); font-size: .66rem; padding: 0 5px; cursor: pointer;
}
.ubb-area {
  min-height: 180px; max-height: 460px; overflow-y: auto; padding: 11px 14px; border-radius: 0 0 9px 9px;
  font-size: .72rem; line-height: 1.6; color: var(--text); outline: none;
  /* Lichtgrijs typvlak, gelijk aan de invoervelden. */
  background: rgba(255,255,255,.11);
}
.ubb-area:empty::before { content: attr(data-ph); color: var(--muted2); }
.ubb-area.ubb-err { box-shadow: inset 0 0 0 2px var(--accent); }
.ubb-area:focus { background: rgba(255,255,255,.14); }

/* Live opmaak in de editor + weergave-zijde delen dezelfde look. */
.ubb-area blockquote, .bb-quote {
  margin: 8px 0; padding: 8px 12px; border-left: 3px solid var(--accent);
  background: rgba(192,57,43,.08); border-radius: 0 8px 8px 0; color: var(--muted);
}
.ubb-area pre, .bb-code {
  margin: 8px 0; padding: 10px 12px; background: #0c0c12; border: 1px solid var(--border);
  border-radius: 8px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .8rem;
  white-space: pre-wrap; word-wrap: break-word; color: #d7e0ea;
}
.ubb-spoiler, .bb-spoiler {
  background: #2a2a33; color: transparent; border-radius: 4px; padding: 0 4px; cursor: pointer;
  filter: blur(.01px); text-shadow: 0 0 9px rgba(255,255,255,.55);
}
.bb-spoiler.show { color: var(--text); text-shadow: none; background: rgba(255,255,255,.06); }
.bb-u { text-decoration: underline; }
.ubb-img, .bb-img { max-width: 100%; max-height: 320px; border-radius: 8px; margin: 6px 0; display: block; }
/* In een gelezen bericht: afbeeldingen naast elkaar mogelijk. */
.bb-img { display: inline-block; vertical-align: top; max-height: none; margin: 6px 6px 6px 0; }
/* Resizebare afbeelding in de editor (sleep de hoek rechtsonder). */
.ubb-resize {
  display: inline-block; resize: horizontal; overflow: hidden; max-width: 100%;
  line-height: 0; margin: 6px 0; border: 1px dashed transparent; border-radius: 8px; vertical-align: top;
}
.ubb-resize:hover { border-color: var(--accent); }
.ubb-resize img { width: 100%; height: auto; margin: 0; display: block; }
.bb-list { margin: 6px 0 6px 20px; }
.ubb-area a, .msg-view-body a { color: var(--blue); text-decoration: underline; }

/* Nieuw bericht — formulier als tabel-indeling (label-cel + veld-cel). */
.msg-form-table { width: 100%; border-collapse: collapse; }
.msg-form-table > tr > td, .msg-form-table td { padding: 8px 0; vertical-align: top; }
.msg-form-table .mft-label {
  width: 180px; padding-right: 16px; padding-top: 14px; white-space: nowrap;
}
.msg-form-table .mft-label .form-label { margin: 0; }
.msg-form-table .mft-field { width: auto; }
@media (max-width: 640px) {
  .msg-form-table, .msg-form-table tbody, .msg-form-table tr, .msg-form-table td { display: block; width: 100%; }
  .msg-form-table .mft-label { padding: 0 0 4px; }
  .msg-form-table .mft-field { padding-top: 0; }
}

/* Tabellen (editor + weergave). */
.bb-table-wrap { overflow-x: auto; margin: 8px 0; }
.ubb-table, .bb-table {
  border-collapse: collapse; margin: 8px 0; width: auto; max-width: 100%;
  background: rgba(255,255,255,.015); font-size: .86rem;
}
.ubb-table td, .ubb-table th, .bb-table td, .bb-table th {
  border: 1px solid var(--border); padding: 6px 10px; vertical-align: top; text-align: left; min-width: 40px;
}
.ubb-table th, .bb-table th {
  background: rgba(255,255,255,.05); font-weight: 700; color: var(--text);
}
.ubb-table td:empty::after, .ubb-table th:empty::after { content: '\00a0'; }

/* YouTube-kaart in de editor. */
.ubb-yt {
  position: relative; display: inline-block; vertical-align: top; width: 280px; max-width: 100%; margin: 6px 6px 6px 0;
  border-radius: 10px; overflow: hidden; cursor: default; border: 1px solid var(--border);
}
.ubb-yt img { width: 100%; display: block; }
.ubb-yt-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.25); color: #fff; font-size: 1.6rem;
}
.ubb-yt-play i { background: #ff3d3d; width: 52px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: .9rem; }

/* YouTube-embed in een gelezen bericht (naast elkaar mogelijk). */
.bb-yt { display: inline-block; vertical-align: top; position: relative; width: 340px; max-width: 100%; margin: 8px 8px 0 0; }
.bb-yt iframe { width: 100%; aspect-ratio: 16/9; border-radius: 10px; border: 1px solid var(--border); }

/* Kleur-swatches (zwevende pop-up). */
.ubb-colors {
  position: absolute; top: 46px; left: 8px; z-index: 60;
  display: flex; flex-wrap: wrap; gap: 6px; width: 188px; padding: 10px;
  background: var(--surface); border: 1px solid var(--border-h); border-radius: 10px; box-shadow: var(--shadow-lg);
}
.ubb-sw { width: 24px; height: 24px; border-radius: 6px; border: 1px solid rgba(255,255,255,.2); cursor: pointer; transition: transform .12s; }
.ubb-sw:hover { transform: scale(1.12); }

/* Emoji-paneel (zwevende pop-up). */
.ubb-emoji {
  position: absolute; top: 46px; left: 8px; right: 8px; z-index: 60;
  background: var(--surface); border: 1px solid var(--border-h); border-radius: 10px; box-shadow: var(--shadow-lg);
}
/* hidden-attribuut moet de pop-up echt verbergen (wint van display:flex). */
.ubb-colors[hidden], .ubb-emoji[hidden] { display: none !important; }
.ubb-emoji-tabs { display: flex; gap: 4px; padding: 8px 10px 0; flex-wrap: wrap; }
.ubb-emoji-tab {
  font-size: .68rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; cursor: pointer;
  background: transparent; border: 1px solid var(--border); color: var(--muted);
}
.ubb-emoji-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.ubb-emoji-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(34px, 1fr)); gap: 2px;
  padding: 8px 10px; max-height: 180px; overflow-y: auto;
}
.ubb-emoji-item { font-size: 1.25rem; line-height: 1; padding: 5px; border-radius: 7px; cursor: pointer; background: transparent; border: none; }
.ubb-emoji-item:hover { background: rgba(255,255,255,.09); }

/* Popover (link / afbeelding / youtube). */
.ubb-pop-ov { position: fixed; inset: 0; z-index: 900; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.ubb-pop { width: 100%; max-width: 380px; background: var(--surface); border: 1px solid var(--border-h); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.ubb-pop-head { padding: 13px 16px; font-weight: 800; font-size: .9rem; border-bottom: 1px solid var(--border); }
.ubb-pop-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.ubb-pop-label { font-size: .68rem; color: var(--muted); font-weight: 700; }
.ubb-pop-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); }

/* ── Left sidebar profile block ── */
.sl-profile {
  padding: 8px 14px 9px; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.sl-profile-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sl-ava-wrap { position: relative; flex-shrink: 0; }
.sl-ava {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #7a1c12 100%);
  border: 2px solid rgba(192,57,43,.35);
  box-shadow: 0 0 0 1px rgba(192,57,43,.12), 0 0 18px rgba(192,57,43,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 800; color: #fff;
}
.sl-ava img, .topbar-avatar img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block;
}
.sl-ava-online {
  position: absolute; top: 0; right: 0;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green); border: 2px solid var(--surface);
  animation: online-pulse 2.5s infinite;
}
.sl-ava-lvl {
  position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: .48rem; font-weight: 800; padding: 1px 5px; border-radius: 99px;
  border: 1.5px solid var(--surface); white-space: nowrap;
}
.sl-info   { flex: 1; min-width: 0; }
.sl-name   { font-size: .86rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-rank   { font-size: .65rem; color: var(--gold); margin-top: 1px; }
.sl-family { font-size: .63rem; color: var(--muted); margin-top: 1px; display: flex; align-items: center; gap: 4px; }
.sl-family i { color: var(--accent); font-size: .58rem; }
.sl-dots { color: var(--muted2); font-size: .8rem; flex-shrink: 0; padding: 4px; border-radius: var(--radius-xs); transition: color .15s; }
.sl-dots:hover { color: var(--text); }
.sl-stats-row {
  display: flex; align-items: center;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 7px 10px; margin-bottom: 10px;
}
.sl-stat { flex: 1; text-align: center; }
.sl-stat-val { font-size: .88rem; font-weight: 800; display: block; line-height: 1; }
.sl-stat-lbl { font-size: .57rem; color: var(--muted2); text-transform: uppercase; letter-spacing: .5px; margin-top: 2px; display: block; }
.sl-stat-sep { width: 1px; height: 26px; background: var(--border); }
.sl-bars { display: flex; flex-direction: column; gap: 7px; }
.sl-bar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }

.sidebar-footer { margin-top: auto; padding: 10px; border-top: 1px solid var(--border); }
.player-mini {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.025); border: 1px solid var(--border);
  cursor: pointer; transition: all .2s;
}
.player-mini:hover { background: rgba(255,255,255,.045); border-color: var(--border-h); }
.player-mini-ava {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent) 0%, #7a1c12 100%);
  border: 1.5px solid rgba(192,57,43,.35);
  display: flex; align-items: center; justify-content: center;
  font-size: .62rem; font-weight: 800; color: #fff;
}
.player-mini-info { flex: 1; min-width: 0; }
.player-mini-name { font-size: .8rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-mini-sub  { font-size: .65rem; color: var(--gold); margin-top: 1px; }
.player-mini-dots { color: var(--muted2); font-size: .75rem; flex-shrink: 0; }

/* ──────────────────────────────────────────────────────────
   8. MAIN CONTENT
────────────────────────────────────────────────────────── */
.main-content {
  flex: 1; min-width: 0; overflow-y: auto; overflow-x: hidden;
  background:
    radial-gradient(ellipse at 20% 65%, rgba(192,57,43,.11) 0%, transparent 50%),
    radial-gradient(ellipse at 78% 15%, rgba(192,57,43,.05) 0%, transparent 40%),
    linear-gradient(180deg, #0a0a0f 0%, #0d0d16 100%);
  display: flex; flex-direction: column; position: relative;
}
.main-content::before {
  content: 'BELLOCCO';
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  font-size: 7rem; font-weight: 900; color: rgba(192,57,43,.05);
  pointer-events: none; user-select: none;
  letter-spacing: 8px; line-height: 1; white-space: nowrap; z-index: 0;
}
.page-content { padding: 12px 26px; display: flex; flex-direction: column; gap: 10px; }
.dash-hero {
  padding: 13px 26px 11px; display: flex; flex-direction: column; gap: 10px;   /* volledige breedte, tekst uitgelijnd met content */
  background:
    radial-gradient(120% 180% at 0% 0%, rgba(192,57,43,.1), transparent 55%),
    rgba(255,255,255,.015);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.dash-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dash-hero-title h1 { font-size: 1.15rem; font-weight: 900; letter-spacing: -.3px; line-height: 1.15; }
.dash-hero-title h1 em { color: var(--accent); font-style: normal; }
.dash-hero-title p { font-size: .74rem; color: var(--muted); margin-top: 3px; }
.dash-hero-actions { display: flex; gap: 7px; flex-shrink: 0; }

/* ──────────────────────────────────────────────────────────
   9. STAT CARDS
────────────────────────────────────────────────────────── */
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.stat-card {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius); padding: 10px 12px;
  position: relative; overflow: hidden; transition: border-color .2s, transform .2s;
}
.stat-card:hover { border-color: rgba(255,255,255,.13); transform: translateY(-1px); }
.s-heat   { border-left: 3px solid rgba(192,57,43,.6); }
.s-cash   { border-left: 3px solid rgba(46,204,113,.55); }
.s-energy { border-left: 3px solid rgba(52,152,219,.55); }
.s-xp     { border-left: 3px solid rgba(243,156,18,.55); }
.s-heat:hover   { border-left-color: var(--accent); box-shadow: 0 0 30px rgba(192,57,43,.15), 0 8px 32px rgba(0,0,0,.3) !important; }
.s-cash:hover   { border-left-color: var(--green);  box-shadow: 0 0 30px rgba(46,204,113,.12), 0 8px 32px rgba(0,0,0,.3) !important; }
.s-energy:hover { border-left-color: var(--blue);   box-shadow: 0 0 30px rgba(52,152,219,.12), 0 8px 32px rgba(0,0,0,.3) !important; }
.s-xp:hover     { border-left-color: var(--gold);   box-shadow: 0 0 30px rgba(243,156,18,.12), 0 8px 32px rgba(0,0,0,.3) !important; }
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
}
.s-heat::before   { background: linear-gradient(90deg, rgba(192,57,43,.6) 0%, transparent 70%); }
.s-cash::before   { background: linear-gradient(90deg, rgba(46,204,113,.5) 0%, transparent 70%); }
.s-energy::before { background: linear-gradient(90deg, rgba(52,152,219,.5) 0%, transparent 70%); }
.s-xp::before     { background: linear-gradient(90deg, rgba(243,156,18,.5) 0%, transparent 70%); }
.stat-card::after {
  content: ''; position: absolute; top: -25px; right: -25px;
  width: 80px; height: 80px; border-radius: 50%; pointer-events: none;
}
.s-heat::after   { background: radial-gradient(circle, rgba(192,57,43,.13), transparent 70%); }
.s-cash::after   { background: radial-gradient(circle, rgba(46,204,113,.1), transparent 70%); }
.s-energy::after { background: radial-gradient(circle, rgba(52,152,219,.1), transparent 70%); }
.s-xp::after     { background: radial-gradient(circle, rgba(243,156,18,.1), transparent 70%); }
.stat-card-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.stat-ico {
  width: 26px; height: 26px; border-radius: 6px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: .72rem;
}
.s-ico-red    { background: rgba(192,57,43,.14); color: var(--accent); border: 1px solid rgba(192,57,43,.22); }
.s-ico-green  { background: rgba(46,204,113,.11); color: var(--green);  border: 1px solid rgba(46,204,113,.2); }
.s-ico-blue   { background: rgba(52,152,219,.11); color: var(--blue);   border: 1px solid rgba(52,152,219,.2); }
.s-ico-gold   { background: rgba(243,156,18,.11); color: var(--gold);   border: 1px solid rgba(243,156,18,.2); }
.stat-trend {
  font-size: .62rem; font-weight: 700; display: flex; align-items: center; gap: 2px;
  padding: 2px 7px; border-radius: 99px;
}
.trend-up   { color: var(--green);  background: rgba(46,204,113,.1); }
.trend-down { color: var(--accent); background: rgba(192,57,43,.1); }
.trend-warn { color: var(--gold);   background: rgba(243,156,18,.1); }
.stat-val { font-size: 1.2rem; font-weight: 900; line-height: 1; letter-spacing: -.4px; margin-bottom: 2px; }
.s-heat .stat-val   { color: var(--accent); }
.s-cash .stat-val   { color: var(--green); }
.s-energy .stat-val { color: var(--blue); }
.s-xp .stat-val     { color: var(--gold); }
.stat-lbl { font-size: .6rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .7px; margin-bottom: 6px; }

/* ── Moderne metric-cards (KPI's) ───────────────────────── */
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-bottom: 12px; }
.metric-card {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 11px; padding: 10px 12px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.metric-card:hover {
  transform: translateY(-1px); border-color: rgba(255,255,255,.14);
  box-shadow: 0 6px 20px rgba(0,0,0,.26);
}
.metric-ico {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: .82rem;
}
.metric-body { min-width: 0; flex: 1; }
.metric-val { font-size: 1.1rem; font-weight: 800; line-height: 1.05; letter-spacing: -.3px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.metric-lbl { font-size: .58rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-top: 3px; }
.m-green  { background: rgba(46,204,113,.12); color: var(--green);  border: 1px solid rgba(46,204,113,.22); }
.m-blue   { background: rgba(52,152,219,.12); color: var(--blue);   border: 1px solid rgba(52,152,219,.22); }
.m-gold   { background: rgba(243,156,18,.12); color: var(--gold);   border: 1px solid rgba(243,156,18,.22); }
.m-red    { background: rgba(192,57,43,.13);  color: var(--accent); border: 1px solid rgba(192,57,43,.24); }
.m-purple { background: rgba(155,89,182,.14); color: #b06fd6;       border: 1px solid rgba(155,89,182,.26); }
@media (max-width: 900px) { .metric-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .metric-grid { grid-template-columns: 1fr 1fr; gap: 8px; } .metric-val { font-size: 1rem; } .metric-ico { width: 30px; height: 30px; } }

/* ── Instellingen (links menu, rechts inhoud) ───────────── */
.set-grid { display: grid; grid-template-columns: 230px 1fr; gap: 12px; align-items: start; }
/* Verticale ritme tussen losse blokken in een instellingen-tab (kaarten plakten anders tegen elkaar). */
.set-content > * + * { margin-top: 12px; }
.set-mobile-nav { display: none; }
@media (max-width: 760px) {
  .set-grid { grid-template-columns: 1fr; }
  .set-menu { display: none; }
  .set-mobile-nav { display: block; margin-bottom: 12px; }
}

/* ── Headlines: categorieën als dropdown op mobiel ───────── */
.hl-mobile-cats { display: none; }
@media (max-width: 760px) {
  .hl-mobile-cats { display: block; margin-bottom: 12px; }
  .cmp-split-side.hl-cats { display: none; }
}

/* ── Profielpagina (publiek) ─────────────────────────────── */
.pf-header { position: relative; }
.pf-cover {
  position: relative; overflow: hidden; height: 180px; border-radius: 12px;
  background:
    radial-gradient(circle at 80% 18%, rgba(243,156,18,.45), transparent 55%),
    radial-gradient(circle at 15% 90%, rgba(192,57,43,.5), transparent 60%),
    linear-gradient(135deg, #c0392b 0%, #7a1c12 42%, #15151d 100%);
  background-size: cover; background-position: center; border: 1px solid var(--border);
}
.pf-cover::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(13,13,21,.72), transparent 55%);
}
.pf-cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-bar { margin-top: -85px; padding: 0 14px; position: relative; z-index: 2; }
.pf-namebar { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.pf-name { font-size: 1.2rem; font-weight: 900; color: #fff; letter-spacing: -.3px; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.pf-row { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.pf-ava {
  width: 80px; height: 80px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), #7a1c12); border: 3px solid var(--surface);
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.pf-ava img { width: 100%; height: 100%; object-fit: cover; }
.pf-id { flex: 1; min-width: 0; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.pf-tag {
  display: inline-flex; align-items: center; gap: 4px; font-size: .7rem; font-weight: 700;
  padding: 3px 10px; border-radius: 99px; background: var(--surface2); border: 1px solid var(--border); color: var(--muted);
}
.pf-meta-line { font-size: .66rem; color: var(--muted); margin-top: 12px; }
.pf-meta-line i { color: var(--accent); margin-right: 2px; }
.pf-actions { padding-bottom: 6px; }

/* Mini-statistieken op het profiel. */
.pf-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.pf-metric { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: rgba(255,255,255,.025); border: 1px solid var(--border); border-radius: 10px; }
.pf-metric > i { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.05); font-size: .85rem; flex-shrink: 0; }
.pf-metric .pm-val { display: block; font-weight: 800; font-size: .84rem; color: #fff; font-variant-numeric: tabular-nums; }
.pf-metric .pm-lab { display: block; font-size: .6rem; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
@media (max-width: 560px) {
  .pf-cover { height: 130px; }
  .pf-namebar .pf-actions { width: 100%; }
  .pf-namebar .pf-actions .btn { width: 100%; justify-content: center; }
}

/* ── Achtergrond-voorbeeld (instellingen) ────────────────── */
.pf-bg-preview {
  height: 104px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface2); background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; color: var(--muted2); font-size: .76rem;
}
.pf-bg-preview span { display: inline-flex; align-items: center; gap: 6px; }

/* ── Profiel-tab: avatar-uploader ────────────────────────── */
.ava-uploader { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 24px 16px 18px; text-align: center; }
.ava-preview { position: relative; width: 132px; height: 132px; }
.ava-circle {
  width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, #7a1c12 100%);
  border: 3px solid rgba(192,57,43,.4); color: #fff; font-weight: 800; font-size: 2.1rem;
  box-shadow: 0 0 0 1px rgba(192,57,43,.15), 0 10px 30px rgba(192,57,43,.22);
}
.ava-circle img { width: 100%; height: 100%; object-fit: cover; }
.ava-edit {
  position: absolute; bottom: 4px; right: 4px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--surface); cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: .82rem;
  transition: transform .15s, box-shadow .15s;
}
.ava-edit:hover { transform: scale(1.1); box-shadow: 0 0 0 4px rgba(192,57,43,.18); }
.ava-drop {
  width: 100%; max-width: 430px; border: 2px dashed var(--border-h); border-radius: 14px;
  padding: 22px 16px; cursor: pointer; color: var(--muted);
  transition: border-color .15s, background .15s, color .15s;
}
.ava-drop:hover, .ava-drop.drag { border-color: var(--accent); background: rgba(192,57,43,.07); color: var(--text); }
.ava-drop i { font-size: 1.5rem; color: var(--accent); margin-bottom: 8px; }
.ava-drop .ava-browse { color: var(--accent); font-weight: 700; text-decoration: underline; }
.ava-hint { font-size: .66rem; color: var(--muted2); margin-top: 6px; }
.ava-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

/* ── Compacte profiel-editor (foto + achtergrond naast elkaar) ── */
.pf-edit { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; }
.pf-edit-thumb { width: 76px; height: 76px; flex-shrink: 0; }
.pf-edit-thumb .ava-circle { font-size: 1.4rem; border-width: 2px; }
.pf-edit-thumb .ava-edit { width: 26px; height: 26px; font-size: .62rem; bottom: 0; right: 0; }
.pf-edit-body { flex: 1; min-width: 0; }
.pf-edit .ava-drop {
  display: flex; align-items: center; gap: 8px; max-width: none; width: 100%;
  padding: 10px 12px; font-size: .72rem; border-radius: 9px; text-align: left; color: var(--muted);
}
.pf-edit .ava-drop i { font-size: 1rem; margin: 0; }
.pf-edit .ava-hint { margin: 7px 0 0; }
.pf-edit-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.pf-edit-actions form { margin: 0; }
.pf-edit-bg { padding: 14px 16px; }
.pf-edit-bg .ava-hint { margin-top: 8px; }
/* Rechthoekige achtergrond-thumbnail (zelfde rij-layout als de avatar). */
.pf-bg-thumb {
  width: 104px; height: 64px; flex-shrink: 0; border-radius: 9px; overflow: hidden;
  background: var(--surface); background-size: cover; background-position: center;
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  color: var(--muted2); font-size: 1.1rem;
}
/* Bijsnijden: stage (sleepbaar) + zoom-slider. */
.pf-bg-stage {
  position: relative; width: 100%; height: 160px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border); background: #0c0c12; cursor: grab; touch-action: none; user-select: none;
}
.pf-bg-stage.dragging { cursor: grabbing; }
.pf-bg-stage.drag { outline: 2px dashed var(--accent); outline-offset: -2px; }
.pf-bg-stage img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.pf-stage-empty {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--muted); font-size: .78rem; text-align: center; padding: 0 16px;
}
.pf-stage-empty i { font-size: 1.6rem; opacity: .5; }
.pf-stage-move {
  position: absolute; bottom: 8px; left: 8px; pointer-events: none;
  background: rgba(0,0,0,.6); color: #fff; font-size: .6rem; font-weight: 700;
  padding: 4px 9px; border-radius: 99px; display: inline-flex; align-items: center; gap: 5px;
}
.pf-slider { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.pf-slider label { width: 60px; flex-shrink: 0; font-size: .7rem; color: var(--muted); font-weight: 700; }
.pf-slider input[type=range] { flex: 1; accent-color: var(--accent); }

/* Crop-popup (achtergrond bewerken). */
.cropper-ov { position: fixed; inset: 0; z-index: 900; background: rgba(0,0,0,.62); display: flex; align-items: center; justify-content: center; padding: 16px; }
.cropper-ov[hidden] { display: none; }
.cropper { width: 100%; max-width: 560px; background: var(--surface); border: 1px solid var(--border-h); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.cropper-head { padding: 13px 16px; font-weight: 800; font-size: .9rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.cropper-body { padding: 14px 16px; }
.cropper-body .pf-bg-stage { height: 190px; }
.cropper-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); }

/* ── Stats-tabel ────────────────────────────────────────── */
.stat-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.stat-table td { width: 50%; padding: 5px 14px; border-bottom: 1px solid rgba(255,255,255,.05); font-size: .76rem; vertical-align: middle; }
.stat-table tbody tr:last-child td { border-bottom: none; }
.stat-table tbody tr { transition: background .15s; }
.stat-table tbody tr:hover { background: rgba(255,255,255,.025); }
.stat-table .st-label { color: var(--muted); font-weight: 600; }
.stat-table .st-val { text-align: left; font-weight: 700; font-size: .74rem; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.2px; white-space: nowrap; }
.st-ico {
  width: 28px; height: 28px; border-radius: 8px; margin-right: 11px; vertical-align: middle;
  display: inline-flex; align-items: center; justify-content: center; font-size: .74rem;
}

/* ── Globale headings (ingame) — één type-schaal ────────── */
body.game h1, body.game h2, body.game h3, body.game h4 {
  margin: 0; font-weight: 800; color: #fff; line-height: 1.2; letter-spacing: -.3px;
}
body.game h1 { font-size: 1.25rem; }
body.game h2 { font-size: 1rem; }
body.game h3 { font-size: .9rem; }
body.game h4 { font-size: .8rem; }

/* ── Rang & voortgang ───────────────────────────────────── */
.rank-body { display: flex; align-items: center; gap: 16px; padding: 16px; }
.rank-emblem {
  width: 58px; height: 58px; border-radius: 15px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
  background: linear-gradient(145deg, rgba(243,156,18,.22), rgba(192,57,43,.16));
  border: 1px solid rgba(243,156,18,.38); color: var(--gold);
  box-shadow: 0 4px 18px rgba(243,156,18,.12);
}
.rank-emblem.has-img { background: none; border: none; box-shadow: none; }
.rank-emblem img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* Klein rang-embleem voor inline gebruik (sidebar, lijsten, instellingen). */
.rank-mini { display: inline-block; width: 18px; height: 18px; vertical-align: -4px; margin-right: 4px; }
.rank-info { flex: 1; min-width: 0; }
.rank-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.rank-current { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* grootte komt van h3 */
.rank-pct { font-size: .82rem; font-weight: 800; color: var(--gold); flex-shrink: 0; }
.rank-next { font-size: .7rem; color: var(--muted); margin: 2px 0 9px; }
.rank-bar { height: 9px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.rank-bar-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--gold), var(--accent)); box-shadow: 0 0 12px rgba(243,156,18,.4); transition: width .5s ease; }
.rank-meta { display: flex; justify-content: space-between; font-size: .67rem; color: var(--muted); margin-top: 7px; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .rank-emblem { width: 48px; height: 48px; font-size: 1.4rem; } }

/* ── Premium ────────────────────────────────────────────── */
/* Dashboard-card naast Rang & voortgang */
.prem-body { display: flex; align-items: center; gap: 11px; padding: 11px 13px; }
.prem-emblem {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
  background: linear-gradient(145deg, rgba(243,156,18,.25), rgba(155,89,182,.18));
  border: 1px solid rgba(243,156,18,.4); color: var(--gold);
  box-shadow: 0 4px 14px rgba(243,156,18,.12);
}
.prem-info { flex: 1; min-width: 0; }
.prem-title { font-size: .9rem; font-weight: 800; color: #fff; letter-spacing: -.3px; }
.prem-sub { font-size: .62rem; color: var(--muted); margin: 2px 0 0; }
.prem-countdown { color: var(--gold); font-size: .92rem; font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prem-status-title .prem-countdown { font-size: inherit; }

/* Premium-pagina: statusbalk */
.prem-status { overflow: hidden; }
.prem-status.is-active { border: 1px solid rgba(243,156,18,.4); background: linear-gradient(135deg, rgba(243,156,18,.10), rgba(155,89,182,.06)); }
.prem-status-body { display: flex; align-items: center; gap: 15px; padding: 16px; }
.prem-crown {
  width: 50px; height: 50px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  background: rgba(243,156,18,.16); border: 1px solid rgba(243,156,18,.34); color: var(--gold);
}
.prem-status-title { font-size: 1.05rem; font-weight: 800; color: #fff; }
.prem-status-sub { font-size: .76rem; color: var(--muted); margin-top: 2px; }

/* Premium voordelen — 2 kolommen (3 + 3) */
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; padding: 4px 0; }
.benefit-grid .action-row { border-bottom: 1px solid rgba(255,255,255,.05); }
@media (max-width: 760px) { .benefit-grid { grid-template-columns: 1fr; } }

/* Trust-badges onder de afrekenknop */
.trust-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 12px; }
.trust-row span { font-size: .7rem; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }

/* Betaalmethode-keuze (eigen checkout) */
.pm-list { display: flex; flex-direction: column; gap: 8px; }
.pm-option {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 8px 11px; border-radius: 9px;
  background: rgba(255,255,255,.025); border: 1.5px solid rgba(255,255,255,.08);
  transition: border-color .15s, background .15s;
}
.pm-option:hover { border-color: rgba(255,255,255,.2); }
.pm-option.selected { border-color: var(--gold); background: rgba(243,156,18,.08); }
.pm-option img { height: 20px; width: 30px; object-fit: contain; background: #fff; border-radius: 4px; padding: 2px; }
.pm-option .pm-name { flex: 1; font-size: .76rem; font-weight: 600; color: var(--text); }
.pm-option .pm-check { color: var(--gold); opacity: 0; font-size: .8rem; transition: opacity .15s; }
.pm-option.selected .pm-check { opacity: 1; }
.pm-issuers { padding: 2px 2px 4px; }
.pm-issuers select { font-size: .78rem; padding: 7px 10px; }
.pm-card { padding-top: 8px; }
.mollie-field {
  background: var(--surface2); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 8px; height: 40px;
}
.mollie-field.is-focused { border-color: var(--accent); }
.mollie-field.has-error  { border-color: #e5534b; }

/* Betaalmethodes (logo's) */
.pay-methods { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.pay-methods img { height: 26px; width: auto; background: #fff; border-radius: 5px; padding: 2px 4px; }
.pay-fallback { font-size: .74rem; color: var(--muted); }

/* ──────────────────────────────────────────────────────────
   10. PROGRESS BARS
────────────────────────────────────────────────────────── */
.prog    { height: 4px; background: rgba(255,255,255,.05); border-radius: 99px; overflow: hidden; }
.prog-sm { height: 3px; }
.prog-lg { height: 7px; }
.prog-fill { height: 100%; border-radius: 99px; transition: width .55s ease; }
.pf-red    { background: var(--accent); box-shadow: 0 0 7px rgba(192,57,43,.55); }
.pf-green  { background: var(--green);  box-shadow: 0 0 7px rgba(46,204,113,.45); }
.pf-blue   { background: var(--blue);   box-shadow: 0 0 7px rgba(52,152,219,.45); }
.pf-gold   { background: var(--gold);   box-shadow: 0 0 7px rgba(243,156,18,.45); }
.pf-purple { background: var(--purple); box-shadow: 0 0 7px rgba(155,89,182,.4); }

/* ──────────────────────────────────────────────────────────
   11. HEAT METER
────────────────────────────────────────────────────────── */
.heat-meter { display: flex; align-items: center; gap: 5px; }
.heat-pip   { width: 24px; height: 8px; border-radius: 3px; background: rgba(255,255,255,.08); transition: all .35s; }
.hp-1 { background: #f1c40f; box-shadow: 0 0 6px rgba(241,196,15,.5); }
.hp-2 { background: #e67e22; box-shadow: 0 0 6px rgba(230,126,34,.5); }
.hp-3 { background: #e74c3c; box-shadow: 0 0 8px rgba(231,76,60,.6); animation: pip-pulse 1.2s infinite; }

/* ──────────────────────────────────────────────────────────
   12. CARDS & WIDGETS
────────────────────────────────────────────────────────── */
.card {
  /* exact dezelfde look als .boxnew: donkere kaart + spotlight + graniet-korrel + kader */
  position: relative;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeGaussianBlur stdDeviation='0.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.05'/%3E%3C/svg%3E"),
    radial-gradient(72% 52% at 50% 32%, rgba(255,255,255,.05), transparent 70%),
    linear-gradient(180deg, rgba(28,31,38,.5), rgba(12,14,18,.58));
  background-size: 180px 180px, auto, auto;
  background-repeat: repeat, no-repeat, no-repeat;
  border: 2.5px solid rgba(255,255,255,.1);
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 5px 16px rgba(0,0,0,.32), inset 0 0 0 1px rgba(0,0,0,.25);
  transition: border-color .16s ease;
}
.card:hover { border-color: rgba(255,255,255,.16); }
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 12px 5px; border-bottom: 1px solid rgba(255,255,255,.06);
  /* wit graniet-balkje als kop-achtergrond (kaart-korrel schemert eronder door) */
  background:
    radial-gradient(120% 180% at 50% 0%, rgba(255,255,255,.06), transparent 72%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.014));
}
.card-title { display: flex; align-items: center; gap: 7px; font-family: var(--head); text-transform: uppercase; letter-spacing: .05em; font-size: .78rem; font-weight: 600; color: #d6d9dd; }
.card-title i { color: var(--accent); font-size: .68rem; }
.card-meta    { font-size: .67rem; color: var(--muted2); }
.card-body    { padding: 8px 11px; }

.widget {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: border-color .2s;
}
.widget-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px 10px; border-bottom: 1px solid var(--border);
}
.widget-head-title {
  display: flex; align-items: center; gap: 7px;
  font-size: .64rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted2);
}
.widget-head-title i { color: var(--accent); font-size: .6rem; }
.widget-head-link { font-size: .68rem; color: var(--muted2); transition: color .2s; }
.widget-head-link:hover { color: var(--accent); }

/* ──────────────────────────────────────────────────────────
   13. ACTION ROWS
────────────────────────────────────────────────────────── */
.action-list { display: flex; flex-direction: column; gap: 3px; padding: 6px 8px; }
.action-row  {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 10px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.028); border: 1px solid rgba(255,255,255,.06);
  border-left: 2px solid rgba(192,57,43,.28);
  cursor: pointer; transition: all .18s;
}
.action-row:hover {
  background: rgba(255,255,255,.044); border-color: rgba(255,255,255,.09);
  border-left-color: var(--accent); transform: translateX(3px);
}
.action-row.row-green  { border-left-color: rgba(46,204,113,.4); }
.action-row.row-green:hover { border-left-color: var(--green); }
.action-row.row-blue   { border-left-color: rgba(52,152,219,.4); }
.action-row.row-blue:hover  { border-left-color: var(--blue); }
.action-row.row-gold   { border-left-color: rgba(243,156,18,.4); }
.action-row.row-gold:hover  { border-left-color: var(--gold); }
.action-row.row-purple { border-left-color: rgba(155,89,182,.4); }
.action-row.row-purple:hover { border-left-color: var(--purple); }
.a-ico {
  width: 26px; height: 26px; border-radius: 6px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: .72rem;
}
.a-ico.red    { background: rgba(192,57,43,.12); color: var(--accent); border: 1px solid rgba(192,57,43,.18); }
.a-ico.green  { background: rgba(46,204,113,.1);  color: var(--green);  border: 1px solid rgba(46,204,113,.18); }
.a-ico.blue   { background: rgba(52,152,219,.1);  color: var(--blue);   border: 1px solid rgba(52,152,219,.18); }
.a-ico.gold   { background: rgba(243,156,18,.1);  color: var(--gold);   border: 1px solid rgba(243,156,18,.18); }
.a-ico.purple { background: rgba(155,89,182,.1);  color: var(--purple); border: 1px solid rgba(155,89,182,.18); }
.a-body  { flex: 1; min-width: 0; }
.a-title { font-size: .76rem; font-weight: 600; margin-bottom: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-sub   { font-size: .67rem; color: var(--muted); line-height: 1.35; }
.a-right { flex-shrink: 0; }
.a-time  { font-size: .63rem; color: var(--muted2); }
.a-arrow { color: var(--muted2); font-size: .63rem; }

.mission-row {
  background: rgba(255,255,255,.022); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-sm); margin: 3px 6px;
  padding: 8px 10px; transition: all .18s; cursor: pointer;
}
.mission-row:hover { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); transform: translateX(2px); }
.mission-row.urgent { border-left: 3px solid var(--accent); background: rgba(192,57,43,.06); }
.mission-row.urgent:hover { background: rgba(192,57,43,.1); }
.mission-row.active { border-left: 3px solid var(--gold); background: rgba(243,156,18,.05); }
.mission-row.active:hover { background: rgba(243,156,18,.09); }
.mission-row.done { border-left: 3px solid var(--green); background: rgba(46,204,113,.04); opacity: .75; }
.mission-row-top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.mission-row-bot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mission-prog-wrap { flex: 1; }
.mission-prog-label { display: flex; justify-content: space-between; margin-bottom: 4px; }
.mission-prog-label span { font-size: .64rem; color: var(--muted2); }

/* ──────────────────────────────────────────────────────────
   14. BUTTONS (shared base + ingame-specific sizes)
────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: var(--radius-sm);
  font-size: .78rem; font-weight: 600; font-family: inherit;
  cursor: pointer; border: none; transition: all .18s;
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.btn-primary  { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-h); box-shadow: 0 4px 18px rgba(192,57,43,.4); transform: translateY(-1px); }
.btn-ghost    { background: var(--surface2); color: var(--muted); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--surface3); color: var(--text); border-color: var(--border-h); }
.btn-outline  { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-green    { background: var(--green); color: #fff; }
.btn-green:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-gold     { background: var(--gold); color: #1a1a00; font-weight: 700; }
.btn-gold:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-sm    { padding: 6px 13px; font-size: .78rem; }
.btn-xs    { padding: 4px 9px; font-size: .68rem; }
.btn-lg    { padding: 14px 30px; font-size: .95rem; }
.btn-block { width: 100%; justify-content: center; }

/* Full-width submit button */
.btn-submit {
  width: 100%; padding: 14px; margin-top: 20px;
  border-radius: var(--radius-sm); border: none;
  background: var(--accent); color: #fff;
  font-size: .95rem; font-weight: 700; font-family: inherit;
  cursor: pointer; transition: all .2s; letter-spacing: .02em;
  display: flex; align-items: center; justify-content: center; gap: 9px;
}
.btn-submit:hover   { background: var(--accent-h); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(192,57,43,.4); }
.btn-submit:active  { transform: translateY(0); }
.btn-submit:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* Secondary outline button */
.btn-secondary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: transparent;
  font-size: .88rem; font-weight: 600; color: var(--muted);
  font-family: inherit; cursor: pointer; transition: all .2s; text-decoration: none;
}
.btn-secondary:hover { border-color: rgba(255,255,255,.2); color: var(--text); background: var(--surface2); }

/* ──────────────────────────────────────────────────────────
   15. BADGES & TAGS
────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .6rem; font-weight: 700; padding: 3px 8px;
  border-radius: 99px; letter-spacing: .5px; text-transform: uppercase; white-space: nowrap;
}
.b-red    { background: rgba(192,57,43,.15); color: var(--accent); border: 1px solid rgba(192,57,43,.25); }
.b-green  { background: rgba(46,204,113,.14); color: var(--green); border: 1px solid rgba(46,204,113,.24); }
.b-blue   { background: rgba(52,152,219,.14); color: var(--blue);  border: 1px solid rgba(52,152,219,.24); }
.b-gold   { background: rgba(243,156,18,.14); color: var(--gold);  border: 1px solid rgba(243,156,18,.24); }
.b-purple { background: rgba(155,89,182,.14); color: var(--purple); border: 1px solid rgba(155,89,182,.24); }

/* ──────────────────────────────────────────────────────────
   16. PLAYER PROFILE WIDGET
────────────────────────────────────────────────────────── */
.profile-card { display: flex; flex-direction: column; align-items: center; padding: 20px 14px 16px; text-align: center; }
.profile-ava-wrap { position: relative; margin-bottom: 14px; }
.profile-ava {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #7a1c12 100%);
  border: 3px solid rgba(192,57,43,.3);
  box-shadow: 0 0 0 1px rgba(192,57,43,.1), 0 0 30px rgba(192,57,43,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; color: #fff; letter-spacing: 1px;
}
.profile-ava-lvl {
  position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: .55rem; font-weight: 800; padding: 2px 8px; border-radius: 99px;
  border: 2px solid var(--surface); white-space: nowrap; letter-spacing: .3px;
}
.profile-online {
  position: absolute; top: 1px; right: 1px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--green); border: 2.5px solid var(--surface);
  animation: online-pulse 2.5s infinite;
}
.profile-name    { font-size: 1.05rem; font-weight: 800; letter-spacing: -.2px; }
.profile-rank    { font-size: .7rem; color: var(--gold); margin-top: 3px; margin-bottom: 6px; }
.profile-family  { font-size: .68rem; color: var(--muted); margin-bottom: 14px; display: flex; align-items: center; gap: 5px; justify-content: center; }
.profile-family i { color: var(--accent); font-size: .62rem; }
.profile-stats   { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; width: 100%; }
.profile-stat    { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 9px 6px; }
.ps-val { font-size: .95rem; font-weight: 800; line-height: 1; }
.ps-lbl { font-size: .6rem; color: var(--muted2); margin-top: 3px; text-transform: uppercase; letter-spacing: .5px; }

/* ──────────────────────────────────────────────────────────
   17. STATUS BARS
────────────────────────────────────────────────────────── */
.status-bars { display: flex; flex-direction: column; gap: 11px; padding: 12px 14px; }
.status-row-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; }
.status-row-label { font-size: .73rem; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.status-row-label i { font-size: .65rem; }
.status-row-val { font-size: .73rem; font-weight: 700; }
.status-bar-bg  { height: 5px; background: rgba(255,255,255,.05); border-radius: 99px; overflow: hidden; }
.sb             { height: 100%; border-radius: 99px; transition: width .55s ease; }
.sb-health { background: var(--blue);  box-shadow: 0 0 6px rgba(52,152,219,.5); }
.sb-energy { background: var(--gold);  box-shadow: 0 0 6px rgba(243,156,18,.5); }
.sb-heat   { background: var(--accent); box-shadow: 0 0 6px rgba(192,57,43,.55); }
.sb-xp     { background: var(--green); box-shadow: 0 0 6px rgba(46,204,113,.45); }

/* ──────────────────────────────────────────────────────────
   18. LEADERBOARD
────────────────────────────────────────────────────────── */
.lb-list { display: flex; flex-direction: column; gap: 1px; padding: 7px 10px; }
.lb-row  {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: var(--radius-sm); cursor: pointer; transition: background .15s;
}
.lb-row:hover { background: rgba(255,255,255,.03); }
.lb-row.lb-me { background: rgba(192,57,43,.07); border: 1px solid rgba(192,57,43,.16); }
.lb-pos { width: 18px; font-size: .72rem; font-weight: 800; text-align: center; flex-shrink: 0; color: var(--muted2); }
.lb-pos.gold   { color: #f1c40f; }
.lb-pos.silver { color: #bdc3c7; }
.lb-pos.bronze { color: #cd7f32; }
.lb-pos.me-p   { color: var(--accent); }
.lb-ava {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: var(--surface3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .57rem; font-weight: 800; color: var(--muted);
}
.lb-ava.gold-a { background: rgba(243,156,18,.12); color: var(--gold); border-color: rgba(243,156,18,.3); }
.lb-ava.me-a   { background: rgba(192,57,43,.15); color: var(--accent); border-color: rgba(192,57,43,.3); }
.lb-name  { flex: 1; font-size: .77rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-name.me-n { color: var(--text); }
.lb-score { font-size: .73rem; font-weight: 700; color: var(--muted); flex-shrink: 0; }

/* ──────────────────────────────────────────────────────────
   19. NOTIFICATIONS
────────────────────────────────────────────────────────── */
.notif-list { display: flex; flex-direction: column; gap: 1px; padding: 7px 10px; }
.notif-row  {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 9px 10px; border-radius: var(--radius-sm); cursor: pointer; transition: background .15s;
}
.notif-row:hover { background: rgba(255,255,255,.03); }
.n-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.n-dot.red   { background: var(--accent); box-shadow: 0 0 5px rgba(192,57,43,.6); }
.n-dot.green { background: var(--green);  box-shadow: 0 0 5px rgba(46,204,113,.5); }
.n-dot.gold  { background: var(--gold);   box-shadow: 0 0 5px rgba(243,156,18,.5); }
.n-dot.blue  { background: var(--blue);   box-shadow: 0 0 5px rgba(52,152,219,.5); }
.n-body { flex: 1; }
.n-text { font-size: .75rem; color: var(--muted); line-height: 1.5; }
.n-text strong { color: var(--text); font-weight: 600; }
.n-time { font-size: .63rem; color: var(--muted2); margin-top: 2px; }

/* ──────────────────────────────────────────────────────────
   20. RIGHT SIDEBAR
────────────────────────────────────────────────────────── */
.sidebar-right {
  width: var(--sidebar-r); flex-shrink: 0;
  background: linear-gradient(180deg, #0d0d15 0%, #09090e 100%);
  border-left: 1px solid rgba(255,255,255,.07);
  overflow-y: auto; overflow-x: hidden;
  padding: 10px 0 0; display: flex; flex-direction: column;
}
.rs-section-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .59rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted3); padding: 10px 18px 5px;
}
.rs-section-head a { font-size: .65rem; color: var(--muted2); letter-spacing: 0; text-transform: none; font-weight: 500; transition: color .15s; }
.rs-section-head a:hover { color: var(--accent); }
.rs-lb-item {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 16px 5px 17px; font-size: .78rem; color: var(--muted);
  border-left: 3px solid transparent; transition: background .15s; cursor: pointer;
}
.rs-lb-item:hover { background: rgba(255,255,255,.03); }
.rs-lb-item.rs-lb-me {
  color: var(--text);
  background: linear-gradient(90deg, rgba(192,57,43,.1) 0%, transparent 100%);
  border-left-color: var(--accent);
}
.rs-rank { width: 18px; text-align: center; font-size: .72rem; font-weight: 800; flex-shrink: 0; color: var(--muted2); }
.rs-rank.gold   { color: #f1c40f; }
.rs-rank.silver { color: #bdc3c7; }
.rs-rank.bronze { color: #cd7f32; }
.rs-rank-me     { color: var(--accent) !important; }
.rs-ava {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: var(--surface3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .52rem; font-weight: 800; color: var(--muted);
}
.rs-ava-gold { background: rgba(243,156,18,.12); color: var(--gold); border-color: rgba(243,156,18,.3); }
.rs-ava-me   { background: rgba(192,57,43,.15); color: var(--accent); border-color: rgba(192,57,43,.3); }
.rs-ava-red  { background: rgba(192,57,43,.15); color: var(--accent); border-color: rgba(192,57,43,.3); }
.rs-name    { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.rs-name-me { color: var(--text); font-weight: 600; }
.rs-score   { font-size: .7rem; font-weight: 700; color: var(--muted2); flex-shrink: 0; }
.rs-member {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 16px 5px 17px; font-size: .78rem; color: var(--muted);
  border-left: 3px solid transparent; transition: background .15s; cursor: pointer;
}
.rs-member:hover { background: rgba(255,255,255,.03); }
.rs-mdot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; background: var(--surface3); border: 1px solid var(--border); }
.rs-mdot.green { background: var(--green); box-shadow: 0 0 5px rgba(46,204,113,.5); border-color: rgba(46,204,113,.3); }
.rs-minfo  { flex: 1; min-width: 0; }
.rs-mname  { font-size: .77rem; font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-mrole  { font-size: .62rem; color: var(--muted2); display: block; }
.rs-mstatus { font-size: .64rem; font-weight: 600; flex-shrink: 0; white-space: nowrap; }
.rs-family-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 18px 4px; font-size: .68rem; color: var(--muted);
  border-bottom: 1px solid var(--border); margin-bottom: 2px;
}
.rs-family-link { font-size: .68rem; color: var(--muted2); transition: color .15s; }
.rs-family-link:hover { color: var(--accent); }
.rs-notif {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 6px 16px 6px 17px; border-left: 3px solid transparent;
  transition: background .15s; cursor: pointer;
}
.rs-notif:hover { background: rgba(255,255,255,.03); }
.rs-ndot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.rs-ndot.red  { background: var(--accent); box-shadow: 0 0 5px rgba(192,57,43,.6); }
.rs-ndot.green{ background: var(--green);  box-shadow: 0 0 5px rgba(46,204,113,.5); }
.rs-ndot.gold { background: var(--gold);   box-shadow: 0 0 5px rgba(243,156,18,.5); }
.rs-ndot.blue { background: var(--blue);   box-shadow: 0 0 5px rgba(52,152,219,.5); }
.rs-nbody { flex: 1; min-width: 0; }
.rs-ntext { font-size: .74rem; color: var(--muted); line-height: 1.45; }
.rs-ntext strong { color: var(--text); font-weight: 600; }
.rs-ntime { font-size: .62rem; color: var(--muted2); margin-top: 1px; }
.rs-contract {
  display: flex; align-items: center; gap: 9px;
  padding: 6px 16px 6px 17px; border-left: 3px solid transparent;
  transition: background .15s; cursor: pointer;
}
.rs-contract:hover { background: rgba(255,255,255,.03); }
.rs-cdot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.rs-cdot.red  { background: var(--accent); }
.rs-cdot.gold { background: var(--gold); }
.rs-cdot.blue { background: var(--blue); }
.rs-cbody  { flex: 1; min-width: 0; }
.rs-ctitle { font-size: .76rem; font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-csub   { font-size: .65rem; color: var(--muted2); display: block; margin-top: 1px; }

/* ──────────────────────────────────────────────────────────
   21. UTILITY CLASSES
────────────────────────────────────────────────────────── */
.hr-line     { height: 1px; background: var(--border); }
.gap-grid-2  { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gap-grid-3  { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }

/* ══════════════════════════════════════════════════════════
   MISDAAD PLEGEN
   ══════════════════════════════════════════════════════════ */
.crime-heat { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.crime-heat-top { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.crime-heat-note { font-size: .64rem; color: var(--muted2); margin-top: 6px; }
.crime-list { padding: 7px; display: flex; flex-direction: column; gap: 6px; }
.crime-row {
  display: flex; align-items: center; gap: 11px; position: relative;
  padding: 8px 11px; border-radius: 10px; cursor: pointer;
  background: rgba(255,255,255,.02); border: 1px solid var(--border);
  transition: border-color .15s, background .15s, transform .1s;
}
.crime-row:hover { background: rgba(255,255,255,.04); border-color: var(--border-h); }
.crime-row input { position: absolute; opacity: 0; pointer-events: none; }
.crime-row:has(input:checked) { border-color: var(--accent); background: rgba(192,57,43,.10); box-shadow: 0 0 0 1px rgba(192,57,43,.35) inset; }
.crime-check { color: var(--accent); font-size: .9rem; opacity: 0; flex-shrink: 0; transition: opacity .15s; }
.crime-row:has(input:checked) .crime-check { opacity: 1; }
.crime-info { flex: 1; min-width: 0; }
.crime-name { display: block; font-weight: 800; color: #fff; font-size: .8rem; }
.crime-desc { display: block; font-size: .68rem; color: var(--muted); margin-top: 1px; line-height: 1.3; }
.crime-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin-top: 4px; }
.crime-buit { display: inline-flex; align-items: center; gap: 5px; font-size: .64rem; font-weight: 700; color: var(--green); }
.crime-exp { display: inline-flex; align-items: center; gap: 5px; font-size: .64rem; font-weight: 700; color: var(--gold); }
.crime-chance { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.crime-pill {
  display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap;
  font-size: .64rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: rgba(255,255,255,.06);
}
.crime-pill b { font-size: .78rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.crime-bar { display: block; width: 84px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.crime-fill { display: block; height: 100%; border-radius: 99px; transition: width .4s ease; }
.crime-row[data-tier="good"] .crime-pill { color: var(--green);  background: rgba(63,185,80,.12); }
.crime-row[data-tier="mid"]  .crime-pill { color: var(--gold);   background: var(--gold-dim); }
.crime-row[data-tier="bad"]  .crime-pill { color: var(--accent); background: rgba(192,57,43,.14); }
.crime-row[data-tier="good"] .crime-fill { background: linear-gradient(90deg, var(--green), #2ecc71); }
.crime-row[data-tier="mid"]  .crime-fill { background: linear-gradient(90deg, var(--gold), #f1c40f); }
.crime-row[data-tier="bad"]  .crime-fill { background: linear-gradient(90deg, var(--accent), #e74c3c); }
.crime-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--border); flex-wrap: wrap; }
/* Wachtscherm tijdens cooldown */
.crime-wait { padding: 40px 20px 44px; text-align: center; }
.crime-wait-ring {
  width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem; color: var(--gold);
  background: var(--gold-dim); border: 1px solid rgba(243,156,18,.3);
  animation: crime-pulse 1.8s ease-in-out infinite;
}
@keyframes crime-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(243,156,18,.25); } 50% { box-shadow: 0 0 0 12px rgba(243,156,18,0); } }
.crime-wait-title { font-size: .95rem; font-weight: 800; color: #fff; }
.crime-wait-time { font-size: 2.1rem; font-weight: 900; color: var(--gold); margin: 8px 0 4px; font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.crime-wait-sub { font-size: .74rem; color: var(--muted); }
.crime-hint { font-size: .68rem; color: var(--muted2); }
.crime-go[disabled] { opacity: .5; cursor: not-allowed; }
@media (max-width: 560px) {
  .crime-bar { width: 64px; }
  .crime-foot { justify-content: center; }
  .crime-hint { display: none; }
  .crime-go { width: 100%; justify-content: center; }
}

/* ── Ranks-lijst (geldrangen, alleen namen) ──────────────── */
.rank-list { padding: 6px 0; }
.rank-list-item {
  display: flex; align-items: center; gap: 10px; padding: 6px 14px;
  font-size: .76rem; color: var(--muted); border-bottom: 1px solid rgba(255,255,255,.05);
}
.rank-list-item:last-child { border-bottom: none; }
.rank-list-item .rl-no {
  width: 20px; height: 20px; flex-shrink: 0; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem; font-weight: 800; color: var(--muted2);
  background: rgba(255,255,255,.05);
}
.rank-list-item .rl-name { flex: 1; font-weight: 600; }
.rank-list-item.active { color: #fff; background: rgba(243,156,18,.10); }
.rank-list-item.active .rl-name { color: var(--gold); font-weight: 800; }
.rank-list-item.active .rl-no { background: var(--gold); color: #0d0d15; }
.rank-list-item.active i { color: var(--gold); font-size: .8rem; }
.flex-row    { display: flex; align-items: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.f-gap-8  { gap: 8px; }
.f-gap-12 { gap: 12px; }
.c-red    { color: var(--accent); }
.c-green  { color: var(--green); }
.c-blue   { color: var(--blue); }
.c-gold   { color: var(--gold); }
.c-muted  { color: var(--muted); }
.c-muted2 { color: var(--muted2); }
.fw-700   { font-weight: 700; }
.fw-800   { font-weight: 800; }
.fw-900   { font-weight: 900; }
.fs-xs    { font-size: .7rem; }
.fs-sm    { font-size: .8rem; }
.mt-4     { margin-top: 4px; }
.mt-8     { margin-top: 8px; }
.mt-12    { margin-top: 12px; }
.mb-8     { margin-bottom: 8px; }
.mb-12    { margin-bottom: 12px; }

/* ──────────────────────────────────────────────────────────
   22. MOBILE — Bottom navigation
────────────────────────────────────────────────────────── */
.mob-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--bot-nav-h); z-index: 600;
  background: linear-gradient(180deg, rgba(22,17,27,.97), rgba(9,9,14,.99));
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 2px solid var(--accent);
  box-shadow: 0 -6px 22px rgba(0,0,0,.55);
  align-items: stretch; justify-content: space-around;
  padding: 0 6px calc(env(safe-area-inset-bottom));
}
.mob-nav-btn {
  position: relative; flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: var(--muted2); cursor: pointer; transition: color .15s;
  text-decoration: none;
}
.mob-nav-btn i {
  width: 38px; height: 30px; display: flex; align-items: center; justify-content: center;
  font-size: 1.02rem; border-radius: 11px; transition: all .15s;
}
.mob-nav-btn span { font-size: .52rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.mob-nav-btn:active i { transform: scale(.9); }
.mob-nav-btn.active { color: #fff; }
.mob-nav-btn.active i {
  color: #fff; transform: translateY(-2px);
  background: linear-gradient(135deg, var(--accent), #8a2418);
  box-shadow: 0 5px 14px rgba(192,57,43,.45);
}
.mob-nav-btn.active::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 26px; height: 3px; border-radius: 0 0 4px 4px; background: var(--accent);
  box-shadow: 0 0 10px rgba(192,57,43,.6);
}
.mob-nav-btn:hover { color: var(--text); }

.mob-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.65); backdrop-filter: blur(3px); z-index: 490;
}
.mob-overlay.show { display: block; }

/* ──────────────────────────────────────────────────────────
   23. TOPBAR DROPDOWNS
────────────────────────────────────────────────────────── */
.tb-dd-wrap { position: relative; }
.tb-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 200px; background: #111118;
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04);
  z-index: 700; overflow: hidden;
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease;
}
.tb-dropdown.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.tb-dd-head { padding: 10px 14px 8px; border-bottom: 1px solid rgba(255,255,255,.07); }
.tb-dd-head-title { font-size: .76rem; font-weight: 700; color: var(--text); }
.tb-dd-head-sub   { font-size: .66rem; color: var(--muted); margin-top: 2px; }
.tb-dd-item {
  display: flex; align-items: center; gap: 9px;
  padding: 6px 13px; font-size: .72rem; color: var(--muted);
  cursor: pointer; text-decoration: none; transition: background .14s, color .14s;
  border-bottom: 1px solid rgba(255,255,255,.035);
}
.tb-dd-item:last-of-type { border-bottom: none; }
.tb-dd-item:hover { background: rgba(255,255,255,.04); color: var(--text); }
.tb-dd-item i { width: 15px; text-align: center; font-size: .74rem; flex-shrink: 0; }
.tb-dd-item.danger       { color: rgba(192,57,43,.75); }
.tb-dd-item.danger:hover { background: rgba(192,57,43,.08); color: var(--accent); }
.tb-dd-item .tb-dd-badge {
  margin-left: auto; background: var(--accent); color: #fff;
  font-size: .66rem; font-weight: 800; padding: 1px 6px; border-radius: 10px;
}
.tb-dd-notif {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 11px 15px; cursor: pointer; transition: background .14s;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.tb-dd-notif:last-of-type { border-bottom: none; }
.tb-dd-notif:hover { background: rgba(255,255,255,.03); }
.tb-dd-notif-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-top: 5px; flex-shrink: 0; }
.tb-dd-notif-dot.read { background: transparent; border: 1px solid rgba(255,255,255,.2); }
.tb-dd-notif-body  { flex: 1; min-width: 0; }
.tb-dd-notif-title { font-size: .78rem; color: var(--text); font-weight: 600; line-height: 1.3; }
.tb-dd-notif-time  { font-size: .7rem; color: var(--muted); margin-top: 3px; }
.tb-dd-footer {
  padding: 9px 15px; text-align: center; font-size: .76rem; color: var(--accent);
  cursor: pointer; border-top: 1px solid rgba(255,255,255,.07); transition: background .14s;
}
.tb-dd-footer:hover { background: rgba(192,57,43,.07); }

/* ──────────────────────────────────────────────────────────
   24. MOBILE RIGHT SIDEBAR TOGGLE
────────────────────────────────────────────────────────── */
.topbar-right-btn {
  display: none; width: 34px; height: 34px; border-radius: var(--radius-sm);
  align-items: center; justify-content: center;
  color: var(--muted); font-size: .85rem;
  background: var(--surface2); border: 1px solid var(--border);
  cursor: pointer; transition: all .2s; flex-shrink: 0;
}
.topbar-right-btn:hover { color: var(--text); border-color: var(--border-h); }

/* ──────────────────────────────────────────────────────────
   25. INGAME RESPONSIVE
────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  :root { --sidebar-r: 250px; }
}
@media (max-width: 1000px) {
  :root { --sidebar-r: 0px; }
  .sidebar-right { display: none; }
  .stat-grid     { grid-template-columns: 1fr 1fr; }
  .topbar-right-btn { display: flex; }
  .sidebar-right {
    position: fixed !important; top: var(--topbar-h); right: 0; bottom: 0;
    width: 280px !important; z-index: 495;
    display: flex !important; flex-direction: column; overflow-y: auto;
    transform: translateX(110%); transition: transform .28s ease;
  }
  .sidebar-right.mob-open { transform: translateX(0); }
}
@media (max-width: 768px) {
  /* Topbar wordt 2 rijen: rij 1 = logo + knoppen, rij 2 = resources. */
  :root { --sidebar-l: 0px; --topbar-h: 96px; }
  .sidebar-left {
    position: fixed !important; top: var(--topbar-h); left: 0;
    bottom: var(--bot-nav-h); width: 260px !important;
    z-index: 495; display: flex !important;
    transform: translateX(-100%); transition: transform .28s ease;
  }
  .sidebar-left.mob-open { transform: translateX(0); }
  .sidebar-right { bottom: var(--bot-nav-h); }

  .topbar { flex-wrap: wrap; align-content: flex-start; align-items: center; }
  .topbar-logo-block { order: 1; width: auto; height: 56px; padding: 0 10px; border-right: none; gap: 8px; flex-shrink: 0; }
  .topbar-season-pill { display: none; }
  .topbar-page        { display: none; }
  /* Toernooi-pil staat onder het logo (in de merk-kolom) → duwt niets opzij. */
  .topbar-logo-block  { height: auto; min-height: 56px; align-items: center; }
  .topbar-tourn-pill  { max-width: 60vw; font-size: .55rem; padding: 2px 7px; }
  .topbar-actions     { order: 2; height: 56px; margin-left: auto; padding: 0 10px; border-left: none; gap: 6px; flex-shrink: 0; }

  /* Rij 2: resources onder het logo, schuiven horizontaal mee. */
  .topbar-resources   {
    order: 3; flex-basis: 100%; width: 100%; height: 40px;
    margin: 0; gap: 6px; padding: 0 10px;
    border-top: 1px solid var(--border);
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .topbar-resources::-webkit-scrollbar { display: none; }
  .res-pill.health,
  .res-pill.heat      { display: none; }
  .res-pill           { padding: 4px 11px; font-size: .76rem; flex-shrink: 0; }
  .topbar-hamburger   { display: flex; }
  .main-content { padding-bottom: var(--bot-nav-h); }
  .page-content { padding: 14px 15px; gap: 14px; }
  .dash-hero    { padding: 16px 15px 0; }
  .stat-grid    { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gap-grid-2   { grid-template-columns: 1fr; }
  .gap-grid-3   { grid-template-columns: 1fr; }
  .dash-hero-top { flex-direction: column; align-items: stretch; gap: 12px; }
  .dash-hero-title { text-align: left; }
  .dash-hero-actions { width: 100%; }
  .dash-hero-actions .btn { flex: 1; justify-content: center; }
  .mob-nav { display: flex; }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat-val  { font-size: 1.55rem; }
  .page-content { padding: 12px; gap: 12px; }
  .dash-hero  { padding: 14px 12px 0; }   /* gelijk uitlijnen met de content */
}

/* ══════════════════════════════════════════════════════════
   ██  O U T G A M E   S T Y L E S
   ══════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────────
   26. LAYOUT UTILITIES & LOGO
────────────────────────────────────────────────────────── */
.container   { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.text-accent { color: var(--accent); }
.text-muted  { color: var(--muted); }

.og-logo      { font-size: 1.4rem; font-weight: 900; letter-spacing: 2px; color: var(--text); text-decoration: none; }
.og-logo span { color: var(--accent); }
.og-logo--lg  { font-size: 1.5rem; letter-spacing: 3px; }
.og-logo--sm  { font-size: 1.2rem; letter-spacing: 2px; }

/* ──────────────────────────────────────────────────────────
   27. FORM COMPONENTS
────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block; font-size: .6rem; font-weight: 700;
  color: var(--muted); text-transform: uppercase;
  letter-spacing: .5px; margin-bottom: 5px;
}
.form-label .req { color: var(--accent); }
.form-label .opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted2); font-size: .72rem; }
.form-label-row {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px;
}
.form-label-row .form-label { margin: 0; }
.form-label-link { font-size: .75rem; color: var(--muted); transition: color .2s; }
.form-label-link:hover { color: var(--accent); }
.input-wrap { position: relative; }
.input-wrap .ico {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: .68rem; pointer-events: none;
}
.input-wrap .eye {
  position: absolute; right: 9px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: .7rem; cursor: pointer;
  background: none; border: none; padding: 3px; transition: color .2s;
}
.input-wrap .eye:hover { color: var(--text); }
.form-input {
  /* Lichtgrijs zodat invoervelden duidelijk opvallen tegen de kaart-achtergrond. */
  width: 100%; background: rgba(255,255,255,.11); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text); font-size: .72rem;
  font-family: inherit; padding: 7px 28px 7px 28px;
  transition: border-color .2s, background .2s;
}
.form-input:focus        { outline: none; border-color: var(--accent); background: rgba(255,255,255,.14); }
.form-input::placeholder { color: rgba(234,234,248,.45); }
/* Dropdown-uitklaplijst in de spelstijl: donkere opties i.p.v. browser-wit.
   De gesloten select houdt het lichte invoerveld-uiterlijk; alleen de
   uitklaplijst (de <option>'s) krijgt een ondoorzichtige donkere kleur. */
select option, select optgroup {
  background-color: #1b1b25; color: var(--text);
}
select optgroup { color: var(--muted); font-style: normal; }
.form-input.valid        { border-color: rgba(39,174,96,.5); }
.form-input.invalid      { border-color: rgba(192,57,43,.5); }
/* Referral-link veld: compacter, geen icoon-padding nodig */
#ref-link { font-size: .8rem; padding: 9px 12px; color: var(--muted); }
.form-input--no-icon     { padding-left: 14px; }
.form-hint { font-size: .72rem; color: var(--muted2); margin-top: 4px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pw-strength      { height: 3px; border-radius: 2px; background: var(--surface3); margin-top: 6px; overflow: hidden; }
.pw-strength-fill { height: 100%; border-radius: 2px; transition: width .3s, background .3s; width: 0; }
.form-note { font-size: .72rem; color: var(--muted2); text-align: center; line-height: 1.6; margin-top: 14px; }
.form-note a { color: var(--muted); text-decoration: underline; }
.form-note a:hover { color: var(--text); }

/* Divider with text (e.g. "of") */
.divider { display: flex; align-items: center; gap: 14px; margin: 20px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.divider span { font-size: .75rem; color: var(--muted); white-space: nowrap; }

/* Back link */
.back-link {
  display: flex; align-items: center; gap: 7px; margin-top: 20px;
  font-size: .83rem; color: var(--muted); justify-content: center; transition: color .2s;
}
.back-link:hover { color: var(--text); }

/* Bottom links row */
.bottom-links { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.bottom-links a    { font-size: .75rem; color: var(--muted2); transition: color .2s; }
.bottom-links a:hover { color: var(--muted); }
.bottom-links .sep { color: var(--border); font-size: .6rem; }

/* ──────────────────────────────────────────────────────────
   28. MESSAGES & ALERTS
────────────────────────────────────────────────────────── */
.msg-box {
  padding: 11px 14px; border-radius: var(--radius-sm);
  font-size: .84rem; line-height: 1.5;
  display: none; align-items: center; gap: 9px; margin-bottom: 16px;
}
.msg-box.show { display: flex; }
.msg-error    { background: rgba(192,57,43,.12); border: 1px solid rgba(192,57,43,.3); color: var(--red); }
.msg-success  { background: rgba(39,174,96,.10); border: 1px solid rgba(39,174,96,.3); color: #2ecc71; }
.alert         { border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: 20px; font-size: .88rem; line-height: 1.65; text-align: center; }
.alert i       { display: block; font-size: 2rem; margin-bottom: 8px; }
.alert-error   { background: rgba(192,57,43,.12); border: 1px solid rgba(192,57,43,.3); color: var(--red); }
.alert-success { background: rgba(39,174,96,.10); border: 1px solid rgba(39,174,96,.3); color: #2ecc71; }

/* ──────────────────────────────────────────────────────────
   29. SPLIT-SCREEN AUTH LAYOUT  (login / registreer)
────────────────────────────────────────────────────────── */
body.auth-split { min-height: 100vh; display: flex; overflow: hidden; height: 100vh; }

.auth-left {
  width: 44%; flex-shrink: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 40px 52px; position: relative; overflow: hidden;
}
.auth-left::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(192,57,43,.3) 40%, transparent 100%);
  z-index: 2;
}
.auth-left--login {
  background:
    radial-gradient(ellipse at -10% 110%, rgba(192,57,43,.45) 0%, transparent 50%),
    radial-gradient(ellipse at 90% -5%,  rgba(192,57,43,.12) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 50%,  rgba(192,57,43,.04) 0%, transparent 70%),
    linear-gradient(160deg, #0d0d18 0%, #07070d 100%);
}
.auth-left--login::after {
  content: 'BELLOCCO';
  position: absolute; bottom: -30px; left: -30px;
  font-size: 13rem; font-weight: 900; color: rgba(192,57,43,.07);
  pointer-events: none; user-select: none; letter-spacing: 6px; line-height: 1; z-index: 0;
}
.auth-left--register {
  background:
    radial-gradient(ellipse at 80% 110%, rgba(192,57,43,.4) 0%, transparent 50%),
    radial-gradient(ellipse at -5% -5%,  rgba(192,57,43,.10) 0%, transparent 40%),
    linear-gradient(160deg, #0d0d18 0%, #07070d 100%);
}
.auth-left--register::after {
  content: 'JOIN';
  position: absolute; bottom: -15px; left: -15px;
  font-size: 15rem; font-weight: 900; color: rgba(192,57,43,.07);
  pointer-events: none; user-select: none; letter-spacing: 6px; line-height: 1; z-index: 0;
}
.auth-left-logo      { font-size: 1.55rem; font-weight: 900; letter-spacing: 3px; color: var(--text); text-decoration: none; position: relative; z-index: 1; }
.auth-left-logo span { color: var(--accent); }
.auth-left-body      { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 48px 0; position: relative; z-index: 1; }
.auth-tagline        { font-size: 3rem; font-weight: 900; line-height: 1.08; margin-bottom: 18px; letter-spacing: -1px; }
.auth-tagline em     { color: var(--accent); font-style: normal; display: block; }
.auth-sub            { font-size: .9rem; color: var(--muted); line-height: 1.8; margin-bottom: 40px; max-width: 340px; }
.auth-features       { display: flex; flex-direction: column; gap: 10px; }
.auth-feature        { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: var(--radius-sm); background: rgba(255,255,255,.025); border-left: 2px solid rgba(192,57,43,.35); transition: all .2s; }
.auth-feature:hover  { background: rgba(255,255,255,.04); border-left-color: var(--accent); }
.auth-feature-icon   { width: 38px; height: 38px; border-radius: 8px; flex-shrink: 0; background: rgba(192,57,43,.14); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: .95rem; }
.auth-feature-text .auth-feature-title { font-size: .84rem; font-weight: 700; margin-bottom: 2px; color: var(--text); }
.auth-feature-text p  { font-size: .74rem; color: var(--muted); line-height: 1.5; margin: 0; }
.auth-perks { display: flex; flex-direction: column; gap: 8px; }
.auth-perk  { display: flex; align-items: center; gap: 13px; font-size: .84rem; color: var(--muted); padding: 11px 16px; border-radius: var(--radius-sm); background: rgba(255,255,255,.025); border-left: 2px solid rgba(39,174,96,.35); }
.auth-perk i { color: var(--green); font-size: .78rem; flex-shrink: 0; }
.auth-left-footer        { font-size: .74rem; color: rgba(234,234,248,.3); display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.auth-left-footer::before { content: ''; width: 28px; height: 1px; background: rgba(192,57,43,.4); }
.auth-right {
  flex: 1; background: linear-gradient(160deg, #0e0e18 0%, #0a0a12 100%);
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 48px 28px; overflow-y: auto;
}
.auth-right-inner    { width: 100%; max-width: 420px; }
.auth-form-header    { margin-bottom: 32px; }
.auth-form-header h1 { font-size: 1.9rem; font-weight: 900; margin-bottom: 8px; letter-spacing: -.5px; }
.auth-form-header p  { font-size: .88rem; color: var(--muted); line-height: 1.6; }
.auth-form-header a  { color: var(--accent); font-weight: 600; }

/* ──────────────────────────────────────────────────────────
   30. CENTERED CARD PAGES  (wachtwoord-vergeten)
────────────────────────────────────────────────────────── */
body.auth-card {
  background:
    radial-gradient(ellipse at 50% -10%, rgba(192,57,43,.18) 0%, transparent 55%),
    var(--bg);
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; padding: 24px;
}
.auth-card-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px 36px;
  max-width: 420px; width: 100%; box-shadow: var(--shadow);
}
.auth-card-logo   { text-align: center; margin-bottom: 28px; }
.auth-card-logo a { font-size: 1.4rem; font-weight: 900; letter-spacing: 3px; color: var(--text); text-decoration: none; }
.auth-card-logo a span { color: var(--accent); }
.auth-card-logo p { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.auth-card-title  { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.auth-card-desc   { color: var(--muted); font-size: .87rem; line-height: 1.65; margin-bottom: 28px; }

/* ──────────────────────────────────────────────────────────
   31. CONTENT PAGES  (spelregels / privacy)
────────────────────────────────────────────────────────── */
.og-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,15,.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 60px;
}
.og-nav-logo      { font-size: 1.2rem; font-weight: 900; letter-spacing: 2px; color: var(--text); text-decoration: none; }
.og-nav-logo span { color: var(--accent); }
.og-nav-back      { font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: 6px; text-decoration: none; transition: color .2s; }
.og-nav-back:hover { color: var(--text); }
.og-content-page  { max-width: 780px; margin: 0 auto; padding: 60px 24px 100px; }
.og-page-header   { margin-bottom: 48px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.og-page-header h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.og-page-meta      { font-size: .82rem; color: var(--muted); }
.og-prose h2            { font-size: 1.15rem; font-weight: 700; margin: 36px 0 12px; color: var(--text); }
.og-prose h2:first-child { margin-top: 0; }
.og-prose p             { font-size: .9rem; color: var(--muted); margin-bottom: 14px; line-height: 1.8; }
.og-prose ul            { padding-left: 20px; margin-bottom: 14px; }
.og-prose ul li         { font-size: .9rem; color: var(--muted); margin-bottom: 6px; line-height: 1.7; }
.og-prose strong        { color: var(--text); }
.og-prose a             { color: var(--accent); }
.og-prose a:hover       { text-decoration: underline; }
.og-info-box        { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 32px; font-size: .87rem; color: var(--muted); line-height: 1.7; }
.og-info-box strong { color: var(--text); display: block; margin-bottom: 4px; }
.og-rule-card    { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 14px; display: flex; gap: 16px; align-items: flex-start; }
.og-rule-num     { min-width: 32px; height: 32px; border-radius: 50%; background: rgba(192,57,43,.15); border: 1px solid rgba(192,57,43,.3); color: var(--accent); font-size: .8rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.og-rule-body h3 { font-size: .92rem; font-weight: 700; margin-bottom: 4px; }
.og-rule-body p  { font-size: .85rem; color: var(--muted); margin: 0; line-height: 1.65; }
.og-warning        { background: rgba(192,57,43,.08); border: 1px solid rgba(192,57,43,.25); border-radius: var(--radius); padding: 18px 22px; margin: 28px 0; font-size: .87rem; color: var(--muted); line-height: 1.7; }
.og-warning strong { color: var(--accent); display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.og-footer         { border-top: 1px solid var(--border); padding: 24px; text-align: center; font-size: .78rem; color: rgba(234,234,248,.25); }
.og-footer a       { color: inherit; }
.og-footer a:hover { color: var(--muted); }

/* ──────────────────────────────────────────────────────────
   32. HOMEPAGE — Navigation
────────────────────────────────────────────────────────── */
/* Ensure nav + stats sit above hero pseudo-elements */
.hero-nav, .hero-stats { position: relative; z-index: 10; }

.hero-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 68px; flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative; z-index: 10;
}
.hero-nav-logo      { font-size: 1.3rem; font-weight: 900; letter-spacing: 2px; color: #eaeaf8; }
.hero-nav-logo span { color: var(--accent); }
.hero-nav-links     { display: flex; align-items: center; gap: 28px; }
.hero-nav-links a   { font-size: .84rem; color: rgba(234,234,248,.55); transition: color .2s; }
.hero-nav-links a:hover { color: #eaeaf8; }
.hero-nav-actions   { display: flex; gap: 10px; }

/* ──────────────────────────────────────────────────────────
   33. HOMEPAGE — Hero
────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 15% 70%, rgba(192,57,43,.35) 0%, transparent 48%),
    radial-gradient(ellipse at 80% 15%, rgba(192,57,43,.14) 0%, transparent 42%),
    linear-gradient(180deg, rgba(3,3,7,.94) 0%, rgba(5,5,12,.88) 60%, rgba(4,4,10,.95) 100%),
    url('/assets/img/dark-city.jpg') center bottom / cover no-repeat;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
/* Gun watermark — faint weapon silhouette right side */
.hero::before {
  content: '';
  position: absolute; top: 0; right: 5%; bottom: 0;
  width: 55%; max-width: 700px;
  background: url('/assets/img/gun-table.jpg') center center / contain no-repeat;
  opacity: .045; pointer-events: none; z-index: 0;
  filter: grayscale(100%) contrast(1.5);
}
.hero::after {
  content: 'OMERTÀ';
  position: absolute; bottom: 70px; left: 50%; transform: translateX(-50%);
  font-size: clamp(48px, 14vw, 160px); font-weight: 900; color: rgba(192,57,43,.045);
  pointer-events: none; user-select: none; letter-spacing: 14px; white-space: nowrap; z-index: 0;
}

/* ── Hero 2-column body ── */
.hero-body {
  flex: 1; display: flex; flex-direction: row;
  align-items: center; justify-content: center;
  padding: 56px 48px 80px; gap: 52px;
  max-width: 1240px; margin: 0 auto; width: 100%;
  position: relative; z-index: 2;
}
.hero-content { flex: 1; min-width: 0; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(192,57,43,.12); border: 1px solid rgba(192,57,43,.3);
  color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; padding: 5px 14px; border-radius: 99px; margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(1.7rem, 3.6vw, 3.0rem);
  font-weight: 900; line-height: 1.05; letter-spacing: -2px; margin-bottom: 18px;
}
.hero-title em  { color: var(--accent); font-style: normal; display: block; font-size: .8em; }
.hero-sub {
  font-size: clamp(.88rem, 1.4vw, 1rem);
  color: rgba(234,234,248,.58); max-width: 520px; line-height: 1.8; margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Hero login card (right column) ── */
.hero-login-card {
  width: 390px; flex-shrink: 0;
  background: rgba(8,8,16,.82);
  backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid rgba(255,255,255,.1);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow:
    0 32px 80px rgba(0,0,0,.75),
    0 0 0 1px rgba(192,57,43,.08),
    inset 0 1px 0 rgba(255,255,255,.06);
  position: relative;
}
/* Bullet-hole corner accent */
.hero-login-card::before {
  content: '✦';
  position: absolute; top: 12px; right: 14px;
  font-size: .65rem; color: rgba(192,57,43,.4);
  letter-spacing: 4px;
}
.hlc-header        { margin-bottom: 22px; }
.hlc-header h2     { font-size: 1.25rem; font-weight: 900; margin-bottom: 5px; letter-spacing: -.3px; }
.hlc-header p      { font-size: .8rem; color: var(--muted); line-height: 1.5; }
.hlc-header a      { color: var(--accent); font-weight: 600; }
.hlc-divider       { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.hlc-divider::before,
.hlc-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.hlc-divider span  { font-size: .72rem; color: var(--muted2); white-space: nowrap; }
.hlc-msg           { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: var(--radius-sm); font-size: .8rem; line-height: 1.4; margin-bottom: 14px; display: none; }
.hlc-msg.show      { display: flex; }
.hlc-msg.err       { background: rgba(192,57,43,.1); border: 1px solid rgba(192,57,43,.28); color: #e74c3c; }
.hlc-perks         { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.hlc-perk          { display: flex; align-items: center; gap: 8px; font-size: .74rem; color: var(--muted2); }
.hlc-perk i        { color: var(--green); font-size: .62rem; flex-shrink: 0; }

/* ──────────────────────────────────────────────────────────
   34. HOMEPAGE — Stats bar
────────────────────────────────────────────────────────── */
.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 0;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.018); flex-shrink: 0; position: relative; z-index: 1;
}
.hero-stat {
  flex: 1; max-width: 200px; text-align: center;
  padding: 22px 24px; border-right: 1px solid rgba(255,255,255,.06);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-val { font-size: 1.8rem; font-weight: 900; color: #eaeaf8; line-height: 1; }
.hero-stat-lbl { font-size: .72rem; color: rgba(234,234,248,.4); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ──────────────────────────────────────────────────────────
   35. HOMEPAGE — Features section
────────────────────────────────────────────────────────── */
.features { padding: 100px 24px; background: #080810; }
.features-inner { max-width: 1100px; margin: 0 auto; }
.section-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .7rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.section-tag::before { content: ''; width: 20px; height: 1px; background: var(--accent); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -.5px; margin-bottom: 14px; }
.section-sub   { font-size: .95rem; color: rgba(234,234,248,.5); max-width: 520px; line-height: 1.75; margin-bottom: 56px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.07);
  border-left: 2px solid rgba(192,57,43,.3); border-radius: 12px; padding: 28px 24px;
  transition: all .2s;
}
.feature-card:hover {
  background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1);
  border-left-color: var(--accent); transform: translateY(-2px);
}
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(192,57,43,.12); border: 1px solid rgba(192,57,43,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--accent); margin-bottom: 18px;
}
.feature-card h3 { font-size: .95rem; font-weight: 800; margin-bottom: 8px; }
.feature-card p  { font-size: .82rem; color: rgba(234,234,248,.5); line-height: 1.7; margin: 0; }

/* ──────────────────────────────────────────────────────────
   36. HOMEPAGE — CTA & Footer
────────────────────────────────────────────────────────── */
.cta-section {
  padding: 100px 24px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(192,57,43,.15) 0%, transparent 60%),
    #0a0a0f;
  text-align: center;
}
.cta-title     { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; letter-spacing: -.5px; margin-bottom: 16px; }
.cta-title em  { color: var(--accent); font-style: normal; }
.cta-sub       { font-size: .95rem; color: rgba(234,234,248,.5); max-width: 480px; margin: 0 auto 40px; line-height: 1.75; }
.og-footer-bar {
  border-top: 1px solid rgba(255,255,255,.06); padding: 28px 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: #080810;
}
.og-footer-logo      { font-size: 1.05rem; font-weight: 900; letter-spacing: 2px; }
.og-footer-logo span { color: var(--accent); }
.og-footer-links     { display: flex; gap: 20px; }
.og-footer-links a   { font-size: .78rem; color: rgba(234,234,248,.35); transition: color .2s; }
.og-footer-links a:hover { color: rgba(234,234,248,.7); }
.og-footer-copy { font-size: .76rem; color: rgba(234,234,248,.25); }

/* ──────────────────────────────────────────────────────────
   37. OUTGAME RESPONSIVE
────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  body.auth-split           { flex-direction: column; overflow: auto; height: auto; }
  .auth-left                { width: 100%; min-height: auto; padding: 20px 24px; flex-direction: row; align-items: center; gap: 16px; }
  .auth-left::after         { display: none; }
  .auth-left-body,
  .auth-left-footer         { display: none; }
  .auth-left-logo           { font-size: 1.2rem; }
  .auth-right               { padding: 28px 20px; min-height: auto; }
  .auth-right-inner         { max-width: 100%; }
  .form-row-2               { grid-template-columns: 1fr; }
}

/* Hero 2-col → 1-col stacks */
@media (max-width: 1000px) {
  .hero-body                { padding: 48px 32px 72px; gap: 40px; }
  .hero-login-card          { width: 360px; }
}
@media (max-width: 820px) {
  .hero::before             { opacity: .03; }
  .hero-body                { flex-direction: column; align-items: center; text-align: center; padding: 40px 24px 60px; }
  .hero-content             { display: flex; flex-direction: column; align-items: center; }
  .hero-sub                 { max-width: 560px; }
  .hero-cta                 { justify-content: center; }
  .hero-login-card          { width: 100%; max-width: 420px; }
}
@media (max-width: 768px) {
  .hero-nav                 { padding: 0 20px; }
  .hero-nav-links           { display: none; }
  .features-grid            { grid-template-columns: 1fr 1fr; }
  .hero-stats               { flex-wrap: wrap; }
  .hero-stat                { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); min-width: 50%; }
  .og-footer-bar            { flex-direction: column; gap: 16px; text-align: center; padding: 24px; }
}
@media (max-width: 540px) {
  .auth-card-wrap           { padding: 32px 20px; }
  .hero-cta                 { flex-direction: column; align-items: stretch; }
  .hero-cta .btn            { justify-content: center; }
  .features-grid            { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   ██  H O M E P A G E   E X T R A   S E C T I O N S
   ══════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────────
   38. SECTION SHELL
────────────────────────────────────────────────────────── */
.section       { padding: 90px 0; }
.section-alt   { background: var(--surface); }
.section-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section-head  { margin-bottom: 52px; }
.section-head.centered { text-align: center; }
.section-head.centered .section-sub { margin: 0 auto; }

/* re-usable label + title + sub */
.s-label { display: inline-flex; align-items: center; gap: 7px; font-size: .7rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.s-label::before { content: ''; width: 20px; height: 1px; background: var(--accent); }
.s-title { font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 900; letter-spacing: -.5px; margin-bottom: 14px; }
.s-sub   { font-size: .95rem; color: rgba(234,234,248,.5); max-width: 540px; line-height: 1.75; }

/* ──────────────────────────────────────────────────────────
   39. ABOUT STRIP  (2-col, facts + prose)
────────────────────────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center;
}
.about-prose p {
  font-size: .92rem; color: var(--muted); line-height: 1.85; margin-bottom: 18px;
}
.about-prose p:last-child { margin-bottom: 0; }
.about-prose strong { color: var(--text); }
.about-facts { display: flex; flex-direction: column; gap: 12px; }
.about-fact {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px; border-radius: var(--radius);
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.07);
  border-left: 3px solid rgba(192,57,43,.4); transition: all .2s;
}
.about-fact:hover { border-left-color: var(--accent); background: rgba(255,255,255,.04); }
.about-fact-ico {
  width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
  background: rgba(192,57,43,.12); border: 1px solid rgba(192,57,43,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: var(--accent);
}
.about-fact-body h3 { font-size: .84rem; font-weight: 700; margin-bottom: 3px; }
.about-fact-body p  { font-size: .76rem; color: var(--muted); line-height: 1.55; margin: 0; }

/* ──────────────────────────────────────────────────────────
   40. STEPS  (how to play)
────────────────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step {
  text-align: center; padding: 32px 24px;
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius); transition: all .2s; position: relative;
}
.step:hover { background: rgba(255,255,255,.04); transform: translateY(-3px); }
/* connector line between steps */
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 50px; right: -15px;
  width: 30px; height: 1px; background: rgba(192,57,43,.3);
}
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(192,57,43,.1); border: 2px solid rgba(192,57,43,.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 900; color: var(--accent); margin: 0 auto 18px;
  transition: all .2s;
}
.step:hover .step-num { background: rgba(192,57,43,.18); border-color: var(--accent); box-shadow: 0 0 20px rgba(192,57,43,.2); }
.step h3 { font-size: .95rem; font-weight: 800; margin-bottom: 8px; }
.step p  { font-size: .82rem; color: var(--muted); line-height: 1.7; margin: 0; }

/* ──────────────────────────────────────────────────────────
   41. SEASON BANNER
────────────────────────────────────────────────────────── */
.season-banner {
  background:
    radial-gradient(ellipse at 5% 50%, rgba(192,57,43,.25) 0%, transparent 50%),
    radial-gradient(ellipse at 95% 50%, rgba(243,156,18,.08) 0%, transparent 50%),
    linear-gradient(135deg, rgba(192,57,43,.1) 0%, rgba(192,57,43,.04) 100%);
  border: 1px solid rgba(192,57,43,.2); border-radius: var(--radius);
  padding: 40px 48px; display: flex; align-items: center; justify-content: space-between;
  gap: 32px; position: relative; overflow: hidden;
}
.season-banner::before {
  content: 'S1'; position: absolute; right: 48px; top: 50%;
  transform: translateY(-50%);
  font-size: 9rem; font-weight: 900; color: rgba(192,57,43,.06);
  pointer-events: none; user-select: none; line-height: 1; letter-spacing: -8px;
}
.season-info { position: relative; z-index: 1; }
.season-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .68rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.season-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 1.5s infinite; }
.season-info h3 { font-size: 1.6rem; font-weight: 900; margin-bottom: 8px; letter-spacing: -.3px; }
.season-info p  { font-size: .88rem; color: var(--muted); line-height: 1.6; max-width: 440px; }
.season-stats { display: flex; gap: 28px; flex-shrink: 0; position: relative; z-index: 1; }
.season-stat { text-align: center; }
.season-stat-val { font-size: 2rem; font-weight: 900; color: var(--accent); line-height: 1; }
.season-stat-lbl { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.season-actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; position: relative; z-index: 1; }

/* ──────────────────────────────────────────────────────────
   42. FAQ ACCORDION
────────────────────────────────────────────────────────── */
.faq-list  { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item  {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: border-color .2s;
}
.faq-item.open { border-color: rgba(192,57,43,.3); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; background: var(--surface2); cursor: pointer; text-align: left;
  color: var(--text); font-size: .9rem; font-weight: 600; transition: background .2s;
  border: none; font-family: inherit;
}
.faq-question:hover { background: var(--surface3); }
.faq-item.open .faq-question { background: rgba(192,57,43,.07); }
.faq-question-ico {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; margin-left: 16px;
  background: rgba(255,255,255,.06); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .7rem; transition: all .25s;
}
.faq-item.open .faq-question-ico { background: rgba(192,57,43,.15); border-color: rgba(192,57,43,.3); color: var(--accent); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .32s ease; background: var(--surface); }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer p {
  padding: 18px 22px; color: var(--muted); font-size: .87rem; line-height: 1.8; margin: 0;
}
.faq-answer a { color: var(--accent); }
.faq-answer a:hover { text-decoration: underline; }

/* ──────────────────────────────────────────────────────────
   43. WAR STORIES / TESTIMONIALS
────────────────────────────────────────────────────────── */
.stories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.story-card {
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius); padding: 22px 20px;
  position: relative; overflow: hidden; transition: all .2s;
}
.story-card:hover { background: rgba(255,255,255,.04); transform: translateY(-2px); }
.story-card::before {
  content: '"'; position: absolute; top: 8px; right: 16px;
  font-size: 5rem; font-weight: 900; color: rgba(192,57,43,.08);
  line-height: 1; pointer-events: none; font-family: Georgia, serif;
}
.story-text { font-size: .85rem; color: var(--muted); line-height: 1.75; margin-bottom: 16px; font-style: italic; }
.story-author { display: flex; align-items: center; gap: 10px; }
.story-ava {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent) 0%, #7a1c12 100%);
  border: 2px solid rgba(192,57,43,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 800; color: #fff;
}
.story-name { font-size: .8rem; font-weight: 700; }
.story-rank { font-size: .68rem; color: var(--gold); margin-top: 1px; }

/* ──────────────────────────────────────────────────────────
   44. GANGSTER WATERMARK VARIANTS
────────────────────────────────────────────────────────── */
.wm-omerta::after {
  content: 'OMERTÀ';
  position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
  font-size: clamp(40px, 8vw, 100px); font-weight: 900;
  color: rgba(192,57,43,.04); pointer-events: none; user-select: none;
  letter-spacing: 12px; white-space: nowrap; z-index: 0;
}
.wm-famiglia::after {
  content: 'LA FAMIGLIA';
  position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
  font-size: clamp(30px, 6vw, 80px); font-weight: 900;
  color: rgba(192,57,43,.04); pointer-events: none; user-select: none;
  letter-spacing: 10px; white-space: nowrap; z-index: 0;
}
.wm-cosa::after {
  content: 'COSA NOSTRA';
  position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
  font-size: clamp(26px, 5vw, 72px); font-weight: 900;
  color: rgba(192,57,43,.04); pointer-events: none; user-select: none;
  letter-spacing: 8px; white-space: nowrap; z-index: 0;
}
.wm-capo::after {
  content: 'CAPO DEI CAPI';
  position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
  font-size: clamp(22px, 4.5vw, 66px); font-weight: 900;
  color: rgba(192,57,43,.04); pointer-events: none; user-select: none;
  letter-spacing: 8px; white-space: nowrap; z-index: 0;
}

/* Section must be position:relative for watermarks */
.section-rel { position: relative; overflow: hidden; }

/* ── Section photo watermarks ── */
/* Usage: add class + position:relative to section */
.img-wm-gun::after {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0; width: 50%;
  background: url('/assets/img/gun-table.jpg') right center / contain no-repeat;
  opacity: .04; pointer-events: none; z-index: 0;
  filter: grayscale(100%) contrast(1.4);
}
.img-wm-city::before {
  content: '';
  position: absolute; inset: 0;
  background: url('/assets/img/noir-alley.jpg') center / cover no-repeat;
  opacity: .07; pointer-events: none; z-index: 0;
  filter: grayscale(100%) contrast(1.2);
}
.img-wm-money::after {
  content: '';
  position: absolute; bottom: 0; left: 0; width: 40%; height: 60%;
  background: url('/assets/img/money-cash.jpg') left bottom / contain no-repeat;
  opacity: .05; pointer-events: none; z-index: 0;
  filter: grayscale(100%);
}
/* Ensure inner content sits above image watermarks */
.img-wm-gun > *, .img-wm-city > *, .img-wm-money > * { position: relative; z-index: 1; }

/* ──────────────────────────────────────────────────────────
   45. HOMEPAGE FOOTER (full grid version)
────────────────────────────────────────────────────────── */
.site-footer {
  background: #060609; border-top: 1px solid rgba(255,255,255,.06);
  padding: 64px 0 0;
}
.footer-grid {
  max-width: 1100px; margin: 0 auto; padding: 0 24px 48px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand-logo      { font-size: 1.35rem; font-weight: 900; letter-spacing: 2.5px; margin-bottom: 14px; display: block; }
.footer-brand-logo span { color: var(--accent); }
.footer-brand p { font-size: .82rem; color: var(--muted); line-height: 1.8; margin-bottom: 20px; max-width: 280px; }
.footer-brand-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .66rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 99px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); color: var(--muted2);
}
.footer-badge.accent { background: rgba(192,57,43,.1); border-color: rgba(192,57,43,.2); color: var(--accent); }
.footer-col h3 {
  font-size: .68rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted3); margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: .83rem; color: rgba(234,234,248,.38); margin-bottom: 9px;
  transition: color .2s;
}
.footer-col a:hover { color: rgba(234,234,248,.75); }
.footer-col a i { margin-right: 6px; font-size: .72rem; color: var(--accent); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto; padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p     { font-size: .76rem; color: rgba(234,234,248,.22); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: .74rem; color: rgba(234,234,248,.25); transition: color .2s; }
.footer-bottom-links a:hover { color: rgba(234,234,248,.55); }
.footer-seo {
  max-width: 1100px; margin: 0 auto; padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,.03);
  font-size: .72rem; color: rgba(234,234,248,.18); line-height: 1.8;
}

/* ──────────────────────────────────────────────────────────
   46. EXTRA RESPONSIVE (new sections)
────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .about-grid    { grid-template-columns: 1fr; gap: 40px; }
  .stories-grid  { grid-template-columns: 1fr 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .footer-brand  { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .steps-grid    { grid-template-columns: 1fr; gap: 20px; }
  .step:not(:last-child)::after { display: none; }
  .season-banner { flex-direction: column; padding: 28px 24px; }
  .season-stats  { gap: 24px; }
  .section       { padding: 60px 0; }
  .footer-grid   { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 540px) {
  .stories-grid  { grid-template-columns: 1fr; }
  .season-stat-val { font-size: 1.5rem; }
}

/* ──────────────────────────────────────────────────────────
   Publieke (indexeerbare) layout — gasten & Google
────────────────────────────────────────────────────────── */
body.public { background: var(--bg); color: var(--text); min-height: 100vh; display: flex; flex-direction: column; }
.pub-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; border-bottom: 1px solid var(--border);
  background: var(--surface); position: sticky; top: 0; z-index: 50;
}
.pub-logo { font-weight: 900; font-size: 1.25rem; letter-spacing: 1px; color: var(--text); text-decoration: none; }
.pub-logo span { color: var(--accent); }
.pub-nav { display: flex; gap: 8px; align-items: center; }
.pub-nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; font-size: .85rem; font-weight: 600; color: var(--muted); text-decoration: none; border-radius: 8px; transition: .15s; }
.pub-nav-link:hover { color: var(--text); background: rgba(255,255,255,.05); }
.pub-main { flex: 1; padding: 22px 16px 40px; }
.pub-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 18px 16px; }
.pub-footer-in {
  max-width: 1100px; margin: 0 auto; display: flex; gap: 10px;
  justify-content: space-between; align-items: center; flex-wrap: wrap;
  font-size: .72rem; color: var(--muted);
}
.pub-footer-links a { color: var(--muted); text-decoration: none; }
.pub-footer-links a:hover { color: var(--text); }
@media (max-width: 560px) { .pub-footer-in { justify-content: center; text-align: center; } }

/* ──────────────────────────────────────────────────────────
   Kluiscodes-pagina
────────────────────────────────────────────────────────── */
.vault-sub { padding: 12px 14px 6px; font-size: .58rem; text-transform: uppercase; letter-spacing: .6px; color: var(--muted2); font-weight: 800; }
.vault-code { font-family: 'Courier New', monospace; font-size: .72rem; letter-spacing: .5px; font-weight: 700; color: var(--gold); }
.vault-code.muted { color: var(--muted); }

.vault-done-list { padding: 0 8px; }
.vault-open-list { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 14px 2px; }
.vault-chip-code { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--border); border-radius: 8px; background: rgba(241,196,15,.08); cursor: pointer; transition: background .12s, border-color .12s, transform .08s; }
.vault-chip-code:hover { background: rgba(241,196,15,.18); border-color: rgba(241,196,15,.5); }
.vault-chip-code:active { transform: scale(.96); }
.vault-chip-code > i { color: var(--gold); font-size: .66rem; opacity: .85; }

.vault-done-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 8px; border-radius: 8px; }
.vault-done-row:hover { background: rgba(255,255,255,.02); }
.vault-done-reward { font-size: .72rem; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

/* Rechterkolom — verzilveren */
.vault-bar { display: flex; justify-content: space-between; align-items: center; margin: 10px 0 12px; }
.vault-count { font-size: .72rem; color: var(--muted); }
.vault-count strong { color: var(--gold); font-size: .85rem; }
.vault-clear { background: none; border: none; color: var(--muted2); font-size: .72rem; cursor: pointer; }
.vault-clear:hover { color: var(--text); }
.vault-submit { background: linear-gradient(90deg, #f1c40f, #e67e22); border: none; color: #1b1b22; font-weight: 800; }

/* Resultaatpaneel */
.vault-result { margin: 14px 16px 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.02); }
.vault-result-banner { display: flex; align-items: center; gap: 14px; padding: 16px; background: linear-gradient(135deg, rgba(241,196,15,.12), rgba(230,126,34,.04)); border-bottom: 1px solid var(--border); }
.vault-result-ico { width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #1b1b22; background: linear-gradient(135deg, #f1c40f, #e67e22); box-shadow: 0 0 22px rgba(241,196,15,.35); }
.vault-result-title { font-size: 1.05rem; font-weight: 900; }
.vault-result-sub { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.vault-pill { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 800; padding: 4px 10px; border-radius: 20px; }
.vault-pill.ok   { background: rgba(46,204,113,.15); color: #2ecc71; }
.vault-pill.fail { background: rgba(231,76,60,.15);  color: #e74c3c; }

/* Totaal-buit (de kern: wat heb je gekregen) */
.vault-totals-head, .vault-result-detail { padding: 12px 16px 4px; font-size: .6rem; text-transform: uppercase; letter-spacing: .6px; color: var(--muted2); font-weight: 800; }
.vault-totals { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; padding: 4px 16px 14px; }
.vault-total-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 14px 8px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.02); }
.vault-total-ico { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .85rem; margin-bottom: 2px; }
.vault-total-val { font-size: .85rem; font-weight: 900; }
.vault-total-lab { font-size: .62rem; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; font-weight: 700; }

.vault-result-detail { border-top: 1px solid rgba(255,255,255,.05); }
.vault-result-list { max-height: 200px; overflow-y: auto; }
.vault-rrow { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 14px; border-bottom: 1px solid rgba(255,255,255,.04); border-left: 3px solid transparent; }
.vault-rrow:last-child { border-bottom: none; }
.vault-rrow.ok   { border-left-color: #2ecc71; }
.vault-rrow.fail { border-left-color: #e74c3c; }
.vault-reward { font-size: .76rem; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

/* Legenda met chips */
.vault-legend { padding: 6px 16px 16px; border-top: 1px solid rgba(255,255,255,.05); margin-top: 6px; }
.vault-legend-title { font-size: .72rem; font-weight: 800; margin-bottom: 10px; }
.vault-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vault-chip { display: inline-flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 700; padding: 5px 11px 5px 5px; border: 1px solid var(--border); border-radius: 20px; background: rgba(255,255,255,.02); }
.vault-chip-ico { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .68rem; }
.vault-hint { font-size: .66rem; color: var(--muted); margin: 12px 0 0; }

/* Kluiscodes — resultaat bovenaan + link naar gebruikte codes */
.vault-result-top { margin: 0 0 16px; }
.vault-used-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 12px 14px; padding: 9px 13px; border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,.02); color: var(--text); text-decoration: none; font-size: .72rem; font-weight: 700; transition: background .12s, border-color .12s; }
.vault-used-link:hover { background: rgba(241,196,15,.08); border-color: rgba(241,196,15,.4); }
.vault-used-link > span > i { color: var(--gold); margin-right: 6px; }
.vault-used-link > i { color: var(--muted2); font-size: .72rem; }

/* ──────────────────────────────────────────────────────────
   Families
────────────────────────────────────────────────────────── */
.fam-header { overflow: hidden; }
.fam-banner { display: flex; align-items: center; gap: 16px; padding: 18px 16px; background: linear-gradient(135deg, color-mix(in srgb, var(--fam, #e74c3c) 14%, transparent), transparent); }
.fam-emblem { width: 64px; height: 64px; border-radius: 18px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #fff; box-shadow: 0 0 26px rgba(0,0,0,.4); }
.fam-id { min-width: 0; }
.fam-name { margin: 0; font-size: 1.5rem; font-weight: 900; line-height: 1.1; }
.fam-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; font-size: .74rem; color: var(--muted); }
.fam-meta span { display: inline-flex; align-items: center; gap: 6px; }
.fam-desc { padding: 0 16px 16px; font-size: .82rem; color: var(--text); line-height: 1.6; }

.fam-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 14px; }
.fam-stat { background: var(--surface2); border: 1px solid var(--border); border-radius: 14px; padding: 14px 10px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.fam-stat-ico { font-size: 1.1rem; margin-bottom: 2px; }
.fam-stat-val { font-size: 1.05rem; font-weight: 900; }
.fam-stat-lab { font-size: .62rem; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; font-weight: 700; }

.fam-actionbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--surface2); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; }
.fam-yourrank { font-size: .76rem; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.fam-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.fam-bank-balance { display: flex; align-items: center; gap: 14px; padding: 16px; margin-bottom: 14px; }

.fam-pending-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 14px; border-bottom: 1px solid rgba(255,255,255,.05); }
.fam-pending-row:last-child { border-bottom: none; }

/* Familie-upgrade */
.upg-bar { height: 8px; border-radius: 6px; background: rgba(255,255,255,.06); overflow: hidden; margin: 12px auto 0; max-width: 220px; }
.upg-bar-fill { height: 100%; background: linear-gradient(90deg, #f1c40f, #e67e22); border-radius: 6px; }
.upg-step { display: flex; align-items: center; justify-content: center; gap: 16px; }
.upg-step-box { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 900; border: 1px solid var(--border); background: var(--surface3); color: var(--muted); }
.upg-step-box.gold { border-color: transparent; background: linear-gradient(135deg, #f1c40f, #e67e22); color: #1b1b22; box-shadow: 0 0 22px rgba(241,196,15,.3); }

/* Nav-item als knop (familie verlaten/opheffen in het menu) */
.nav-item-btn { width: 100%; background: none; border: none; cursor: pointer; text-align: left; font-family: inherit; font-size: .76rem; font-weight: 500; }

/* Familie-profiel kiezers */
.fam-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.fam-swatch { width: 34px; height: 34px; border-radius: 9px; border: 2px solid transparent; cursor: pointer; transition: transform .1s, border-color .12s; }
.fam-swatch:hover { transform: scale(1.08); }
.fam-swatch.active { border-color: #fff; box-shadow: 0 0 0 2px rgba(0,0,0,.4) inset; }
.fam-iconpick { display: flex; flex-wrap: wrap; gap: 8px; }
.fam-iconbtn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface3); color: var(--muted); cursor: pointer; font-size: 1rem; transition: all .12s; }
.fam-iconbtn:hover { color: var(--text); border-color: rgba(255,255,255,.2); }
.fam-iconbtn.active { background: linear-gradient(135deg, #f1c40f, #e67e22); color: #1b1b22; border-color: transparent; }

/* Familie aan/uit-toggle */
.fam-toggle { width: 46px; height: 26px; border-radius: 20px; border: none; cursor: pointer; background: rgba(255,255,255,.12); position: relative; transition: background .18s; flex-shrink: 0; }
.fam-toggle.on { background: #2ecc71; }
.fam-toggle-dot { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .18s; }
.fam-toggle.on .fam-toggle-dot { left: 23px; }

/* Familie opheffen/verlaten — waarschuwingslijst */
.fam-warn-list { text-align: left; max-width: 420px; margin: 6px auto 0; display: flex; flex-direction: column; gap: 8px; }
.fam-warn-list > div { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--text); background: rgba(231,76,60,.06); border: 1px solid rgba(231,76,60,.15); border-radius: 10px; padding: 9px 12px; }

/* Klikbare familie-sectiekop in het menu */
.nav-section-link { display: block; text-decoration: none; transition: color .12s; }
.nav-section-link:hover { color: var(--muted); }
.nav-section-link.active { color: var(--text); }

/* Familiebedrijven (tycoon) */
.fam-biz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.fam-biz-card { border: 1px solid var(--border); border-radius: 14px; background: var(--surface2); overflow: hidden; transition: border-color .15s, transform .08s; }
.fam-biz-card.owned { border-color: color-mix(in srgb, var(--bz, #2ecc71) 45%, transparent); }
.fam-biz-card:hover { transform: translateY(-2px); }
.fam-biz-head { display: flex; gap: 12px; align-items: center; padding: 14px 14px 10px; }
.fam-biz-ico { width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; }
.fam-biz-name { font-weight: 800; font-size: .92rem; display: flex; align-items: center; gap: 6px; }
.fam-biz-lvl { font-size: .6rem; font-weight: 800; background: rgba(241,196,15,.16); color: var(--gold); padding: 2px 7px; border-radius: 20px; }
.fam-biz-desc { font-size: .66rem; color: var(--muted); margin-top: 2px; }
.fam-biz-body { padding: 0 14px 14px; }
.fam-biz-stat { display: flex; justify-content: space-between; align-items: center; font-size: .74rem; color: var(--muted); padding: 8px 0 12px; border-top: 1px solid rgba(255,255,255,.05); }
.fam-biz-next { font-size: .64rem; color: var(--muted2); text-align: center; margin-top: 7px; }
.fam-biz-max { text-align: center; font-size: .74rem; font-weight: 700; color: var(--gold); padding: 6px 0; }

/* Bedrijven-mini op het familieprofiel */
.fam-biz-mini { padding: 4px 8px; }
.fam-biz-mini-row { display: flex; align-items: center; gap: 10px; padding: 8px 8px; border-radius: 8px; }
.fam-biz-mini-row:hover { background: rgba(255,255,255,.03); }
.fam-biz-mini-ico { width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .9rem; color: #fff; }
.fam-biz-mini-name { flex: 1; min-width: 0; font-weight: 700; font-size: .8rem; display: flex; align-items: center; gap: 7px; }
.fam-biz-mini-inc { font-weight: 800; font-size: .78rem; white-space: nowrap; }

/* Familieprofiel — hero banner + layout (drugs.php-stijl) */
.fam-hero { overflow: hidden; position: relative; padding: 0; margin-bottom: 14px; }
.fam-hero-cover { height: 84px; background: linear-gradient(120deg, color-mix(in srgb, var(--fam, #e74c3c) 38%, #15151b), #15151b 75%); position: relative; }
.fam-hero-cover::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 18% 120%, color-mix(in srgb, var(--fam, #e74c3c) 30%, transparent), transparent 60%); }
.fam-hero-body { display: flex; align-items: flex-end; gap: 16px; padding: 0 18px 14px; margin-top: -44px; position: relative; }
.fam-hero-emblem { width: 88px; height: 88px; border-radius: 22px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 2.1rem; color: #fff; border: 3px solid var(--surface2); box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.fam-hero-emblem img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.fam-hero-id { min-width: 0; padding-bottom: 4px; }
.fam-hero-name { margin: 0; font-size: 1.5rem; font-weight: 900; line-height: 1.1; }
.fam-hero-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; font-size: .74rem; color: var(--muted); align-items: center; }
.fam-hero-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.fam-hero-desc { padding: 0 18px 16px; font-size: .84rem; line-height: 1.6; border-top: 1px solid rgba(255,255,255,.05); margin-top: 4px; padding-top: 14px; }

/* Rechterkolom: cards netjes onder elkaar */
.fam-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.fam-main > .card { margin: 0; }

/* Familie 2.0 — overval-rolkeuze & kluskeuze */
.fam-pick { display:flex; align-items:center; gap:10px; padding:8px 10px; border:1px solid rgba(255,255,255,.08); border-radius:10px; cursor:pointer; transition:border-color .15s, background .15s; }
.fam-pick:hover { border-color:rgba(241,196,15,.4); }
.fam-pick input[type=radio]:checked ~ .dt-strong { color:var(--gold); }
.fam-pick:has(input:checked) { border-color:var(--gold); background:rgba(241,196,15,.06); }
.fam-role-row { display:flex; align-items:center; gap:10px; padding:8px 10px; border:1px solid rgba(255,255,255,.07); border-radius:10px; }
.fam-role-row.filled { border-color:rgba(46,204,113,.35); background:rgba(46,204,113,.05); }

/* Beheerpaneel — uitklapbare economie-groep in het tabmenu */
.adm-group > summary { display:flex; align-items:center; }
.adm-group > summary::-webkit-details-marker { display:none; }
.adm-group > summary::marker { content:''; }
.adm-group[open] > summary .fa-chevron-down { transform:rotate(180deg); }
.adm-group > summary .fa-chevron-down { transition:transform .15s; }
/* Geneste (sub)groepen: inspringing + subtiele lijn die de hiërarchie toont */
.adm-group-body { padding-left: 10px; }
.adm-group .adm-group .adm-group-body { border-left: 1px solid rgba(255,255,255,.07); margin-left: 7px; padding-left: 8px; }
.adm-group .adm-group > summary .nav-icon { opacity: .85; }

/* ── Beheerpaneel: icon-picker ── */
.icon-picker { position:relative; display:inline-block; }
.icon-picker-btn { display:flex; align-items:center; gap:8px; min-width:150px; padding:8px 10px; background:var(--surface2,#1b1b22); border:1px solid rgba(255,255,255,.12); border-radius:8px; color:var(--text,#eee); cursor:pointer; font:inherit; font-size:.78rem; }
.icon-picker-btn .ip-label { font-family:monospace; font-size:.7rem; opacity:.85; }
.icon-picker-pop { display:none; position:absolute; z-index:50; top:calc(100% + 4px); left:0; width:280px; max-width:80vw; background:#15151b; border:1px solid rgba(255,255,255,.14); border-radius:10px; padding:8px; box-shadow:0 10px 30px rgba(0,0,0,.5); }
.icon-picker.open .icon-picker-pop { display:block; }
.icon-picker-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:4px; max-height:220px; overflow-y:auto; margin-top:8px; }
.icon-picker-opt { aspect-ratio:1; display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,.05); border:1px solid transparent; border-radius:7px; color:#ccc; cursor:pointer; font-size:.9rem; }
.icon-picker-opt:hover { background:rgba(241,196,15,.18); color:var(--gold,#f1c40f); }
.icon-picker-opt.sel { border-color:var(--gold,#f1c40f); color:var(--gold,#f1c40f); }

/* ── Beheerpaneel: compacte uitklap-rijen (table-overzicht) ── */
.adm-item { border:1px solid rgba(255,255,255,.07); border-radius:10px; margin-bottom:7px; background:rgba(255,255,255,.015); }
.adm-item[open] { border-color:rgba(241,196,15,.3); }
.adm-item > summary { display:flex; align-items:center; gap:10px; padding:9px 12px; cursor:pointer; list-style:none; }
.adm-item > summary::-webkit-details-marker { display:none; }
.adm-item > summary::marker { content:''; }
.adm-item > summary .adm-chev { margin-left:auto; font-size:.7em; opacity:.55; transition:transform .15s; }
.adm-item[open] > summary .adm-chev { transform:rotate(180deg); }
.adm-item-body { padding:4px 12px 12px; border-top:1px solid rgba(255,255,255,.06); }
.adm-addbtn { display:inline-flex; }
.adm-add[open] > summary { color:var(--gold,#f1c40f); }

/* ── Beheerpaneel: compacte invoervelden (geen icoon-padding nodig) ── */
.bp-body .form-input { padding: 7px 12px; }
.bp-body input[type=number].form-input { padding-right: 6px; }
.bp-body .icon-picker .form-input,
.bp-body .icon-picker-search { padding-left: 28px; }

/* ── Vlaggen (echte landvlaggen i.p.v. emoji) ── */
.flag-img { display:inline-block; vertical-align:-2px; border-radius:2px; box-shadow:0 0 0 1px rgba(0,0,0,.25); object-fit:cover; }
.flag-emoji { display:inline-block; vertical-align:middle; }

/* ── Beheerpaneel: nette, leesbare bewerk-formulieren (grid i.p.v. krappe flex) ── */
.bp-body .fform { display:grid; grid-template-columns:repeat(auto-fill, minmax(160px, 1fr)); gap:12px 14px; align-items:end; }
.bp-body .fform .fld { display:flex; flex-direction:column; min-width:0; }
.bp-body .fform .fld.wide { grid-column:span 2; }
.bp-body .fform .fld.full { grid-column:1 / -1; }
.bp-body .fform .fld > label { font-size:.6rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); margin-bottom:4px; }
.bp-body .fform .fld .form-input,
.bp-body .fform .fld textarea.form-input { width:100%; }
.bp-body .fform .fld input[type=number].form-input { text-align:left; }
.bp-body .fform .fld-check { flex-direction:row; align-items:center; gap:7px; }
.bp-body .fform .fld-check input { width:16px; height:16px; }
.bp-body .fform .fld-actions { grid-column:1 / -1; display:flex; gap:8px; flex-wrap:wrap; margin-top:2px; }
/* Leesbare beheer-tabel (bewerken inline) */
.bp-body .mtable { width:100%; border-collapse:collapse; }
.bp-body .mtable th { text-align:left; font-size:.6rem; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); font-weight:700; padding:8px 10px; border-bottom:1px solid var(--border); }
.bp-body .mtable td { padding:9px 10px; border-bottom:1px solid var(--border); font-size:.78rem; vertical-align:middle; }
.bp-body .mtable tr:last-child td { border-bottom:none; }
.bp-body .mtable tr:hover td { background:rgba(255,255,255,.02); }
.bp-body .mtable .form-input { padding:5px 9px; }
.bp-body .mtable td .row-form { display:flex; gap:6px; align-items:center; flex-wrap:wrap; }

/* ── Beheerpaneel: compacte shop-formulieren ── */
.bp-body .form-input { padding: 6px 11px; font-size: .76rem; }
.bp-body .fform { gap: 9px 11px; }
.bp-body .fform .fld > label { font-size: .56rem; margin-bottom: 3px; }
.bp-body .form-label { font-size: .58rem; }
.bp-body .icon-picker-btn { padding: 6px 10px; font-size: .76rem; }

/* ── Pakket/diamant-samensteller: rijen (select + aantal + verwijder naast elkaar) ── */
.bld-rows { display:flex; flex-direction:column; gap:7px; }
.bld-row { display:flex; gap:8px; align-items:center; }
.bld-row select.form-input { flex:1 1 auto; min-width:0; }
.bld-row input.form-input { width:130px; flex:none; }
.bld-row .bld-del { flex:none; }

/* ── Beheerpaneel: compacte, nette adm-items & tabellen overal ── */
.bp-body .card-title { font-size:.84rem; }
.bp-body .card-header { padding:9px 13px; }
.bp-body .adm-item { margin-bottom:6px; }
.bp-body .adm-item > summary { padding:8px 11px; gap:9px; }
.bp-body .adm-item > summary .dt-strong { font-size:.8rem; }
.bp-body .adm-item > summary .dt-sub { font-size:.65rem; }
.bp-body .adm-item .dt-ico, .bp-body .mtable .dt-ico { width:26px; height:26px; font-size:.74rem; border-radius:7px; }
.bp-body .adm-item-body { padding:6px 11px 11px; }
.bp-body .mtable td { font-size:.74rem; padding:7px 9px; }
.bp-body .mtable td .dt-strong { font-size:.76rem; }
.bp-body .mtable td .dt-sub { font-size:.64rem; }
.bp-body .badge { font-size:.56rem; }
.bp-body .btn-sm { font-size:.68rem; padding:5px 9px; }
.bp-body .shop-tab { font-size:.72rem; padding:7px 10px; }
.bp-body .shop-badge { font-size:.5rem; }

/* ── Beheerpaneel: ruimte tussen opeenvolgende kaarten (nooit tegen elkaar) ── */
.bp-body .card + .card { margin-top:14px; }

/* ── Shop → VIP-voordelen: nette tegelraster (was verdwenen na CSS-migratie) ── */
.bp-body .vip-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:9px; }
.bp-body .vip-card { display:flex; align-items:flex-start; gap:10px; padding:10px 11px; border:1px solid var(--border); border-radius:10px; background:rgba(255,255,255,.015); cursor:pointer; transition:border-color .15s, background .15s; }
.bp-body .vip-card:hover { border-color:rgba(241,196,64,.4); }
.bp-body .vip-card.on { border-color:rgba(241,196,64,.65); background:rgba(241,196,64,.07); }
.bp-body .vip-card input[type=checkbox] { margin-top:2px; flex:none; accent-color:#f1c40f; }
.bp-body .vip-card .vip-ico { width:30px; height:30px; flex:none; display:flex; align-items:center; justify-content:center; border-radius:8px; background:rgba(241,196,64,.12); color:#f1c40f; font-size:.84rem; }
.bp-body .vip-card .dt-strong { font-size:.78rem; }
.bp-body .vip-card .dt-sub { font-size:.66rem; color:var(--muted); line-height:1.35; }

/* ── Shop → Betaalmethodes: nette rij per methode (was verdwenen) ── */
.bp-body .pm-row { display:flex; align-items:center; gap:11px; padding:9px 11px; border:1px solid var(--border); border-radius:10px; background:rgba(255,255,255,.015); margin-bottom:8px; }
.bp-body .pm-row:last-child { margin-bottom:0; }
.bp-body .pm-row img { width:34px; height:24px; object-fit:contain; flex:none; }
.bp-body .pm-row .pm-name { flex:1; min-width:0; font-size:.8rem; font-weight:600; }
.bp-body .pm-row form { flex:none; }

/* ── Social-knoppen in de topbar ── */
.topbar-btn.tb-social{text-decoration:none}
.topbar-btn.tb-discord{color:#5865F2}
.topbar-btn.tb-discord:hover{color:#fff;background:#5865F2}

/* ── Sociale iconen op de auth-pagina's (login/registreren/wachtwoord) ── */
.auth-socials{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:16px;flex-wrap:wrap}
.auth-socials-lbl{font-size:.72rem;color:rgba(234,234,248,.4);margin-right:2px}
.auth-socials a{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);color:#cfcfe0;font-size:.95rem;text-decoration:none;transition:.15s}
.auth-socials a:hover{background:#c0392b;border-color:#c0392b;color:#fff;transform:translateY(-2px)}

/* ============================================================
   Voertuigen (samengevoegd vanuit vehicles.css)
   ============================================================ */

/* ── Grid van voertuigkaarten ── */
.veh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
}
.veh-card {
  background: var(--surface, #1a1a22);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .15s, transform .15s;
}
.veh-card:hover { border-color: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.veh-imgwrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: radial-gradient(circle at 50% 40%, #34373f 0%, #20222a 55%, #131419 100%);
  overflow: hidden;
}
.veh-imgwrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.veh-imgwrap .veh-noimg {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: #3a3a44; font-size: 2.4rem;
}
.veh-rarity {
  position: absolute; top: 8px; left: 8px;
  font-size: .58rem; font-weight: 800; letter-spacing: .4px; text-transform: uppercase;
  padding: 3px 8px; border-radius: 20px; color: #0c0c11; backdrop-filter: blur(3px);
}
.veh-diff {
  position: absolute; top: 8px; right: 8px;
  font-size: .56rem; font-weight: 700; padding: 3px 8px; border-radius: 20px;
  background: rgba(0, 0, 0, .55); color: #fff;
}
.veh-plate {
  position: absolute; bottom: 8px; left: 8px;
  font-size: .6rem; font-weight: 800; letter-spacing: 1px;
  background: #f1c40f; color: #111; padding: 2px 7px; border-radius: 4px;
  border: 1px solid #b8930a; font-family: 'Courier New', monospace;
}
.veh-body { padding: 8px 9px 9px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.veh-name { font-size: .78rem; font-weight: 800; line-height: 1.12; }
.veh-brand { font-size: .58rem; color: var(--muted, #8a8a96); margin-top: -3px; }

/* Mini specs (pk / gewicht / 0-100 / top) */
.veh-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px 8px; }
.veh-spec { display: flex; align-items: center; gap: 5px; font-size: .6rem; color: #c9c9d2; }
.veh-spec i { width: 12px; text-align: center; color: var(--muted, #8a8a96); font-size: .9em; }
.veh-spec b { color: #fff; font-weight: 700; }

/* Conditiebalk */
.veh-cond { display: flex; flex-direction: column; gap: 3px; }
.veh-cond-top { display: flex; justify-content: space-between; font-size: .56rem; color: var(--muted); }
.veh-cond-bg { height: 5px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.veh-cond-fill { height: 100%; border-radius: 6px; }

.veh-value { font-size: .82rem; font-weight: 800; color: #3fb950; }
.veh-value small { font-size: .54rem; color: var(--muted); font-weight: 600; display: block; }
.veh-foot { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.veh-foot .btn { flex: 1; min-width: 0; padding: 5px 7px; font-size: .6rem; }
.veh-tunebadge { font-size: .54rem; color: #a855f7; font-weight: 700; }

/* Klikbare kaart-link (naar detailpagina) */
.veh-cardlink { text-decoration: none; color: inherit; display: block; }
.veh-cardlink .veh-imgwrap, .veh-cardlink .veh-name { cursor: pointer; }

/* ── Stelen: tier-keuze ── */
.vt-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 720px) { .vt-tiers { grid-template-columns: 1fr; } }
.vt-tier {
  position: relative; display: block; cursor: pointer;
  background: var(--surface2, #15151c); border: 2px solid rgba(255, 255, 255, .08);
  border-radius: 14px; padding: 14px; transition: border-color .15s, background .15s;
}
.vt-tier:hover { border-color: rgba(255, 255, 255, .2); }
.vt-tier input { position: absolute; opacity: 0; pointer-events: none; }
.vt-tier.sel { background: rgba(255, 255, 255, .03); }
.vt-ico { font-size: 1.5rem; margin-bottom: 8px; }
.vt-name { font-size: 1rem; font-weight: 800; }
.vt-desc { font-size: .66rem; color: var(--muted); margin: 4px 0 10px; line-height: 1.4; }
.vt-meta { display: flex; flex-direction: column; gap: 5px; font-size: .66rem; }
.vt-meta .row { display: flex; justify-content: space-between; }
.vt-chance-bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 4px; }
.vt-chance-fill { height: 100%; border-radius: 6px; }
.vt-tier .vt-check {
  position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .2); display: flex; align-items: center; justify-content: center;
  font-size: .6rem; color: transparent;
}
.vt-tier.sel .vt-check { background: var(--gold, #f1c40f); border-color: var(--gold, #f1c40f); color: #111; }

/* ── Tuning ── */
.tune-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 14px; align-items: start; }
@media (max-width: 760px) { .tune-wrap { grid-template-columns: 1fr; } }
.tune-hero img { width: 100%; border-radius: 12px; display: block; }
.tune-stat { display: flex; flex-direction: column; gap: 3px; margin-bottom: 6px; }
.tune-stat-top { display: flex; justify-content: space-between; font-size: .6rem; }
.tune-stat-bg { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.tune-stat-fill { height: 100%; border-radius: 6px; }
.tune-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface2, #15151c); border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 10px; padding: 7px 10px; margin-bottom: 6px;
}
.tune-ico {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: .9rem;
}
.tune-info { flex: 1; min-width: 0; }
.tune-info .nm { font-size: .72rem; font-weight: 700; }
.tune-info .fl { font-size: .56rem; color: var(--muted); line-height: 1.3; }
.tune-info .ef { font-size: .56rem; font-weight: 700; }
.tune-pips { display: flex; gap: 3px; margin-top: 4px; }
.tune-pips .pip { width: 18px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .1); }
.tune-act { flex-shrink: 0; text-align: right; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.tune-act .cost { font-size: .56rem; color: var(--muted); }
.tune-act .btn { padding: 5px 9px; font-size: .6rem; }
.tune-max { font-size: .6rem; font-weight: 700; color: #3fb950; }

/* ── Races ── */
.race-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.race-card {
  background: var(--surface, #1a1a22); border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px;
}
.race-card.fin { opacity: .92; }
.race-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.race-name { font-size: .92rem; font-weight: 800; }
.race-sub { font-size: .62rem; color: var(--muted); }
.race-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.race-stat { background: var(--surface2, #15151c); border-radius: 9px; padding: 7px 8px; text-align: center; }
.race-stat .v { font-size: .82rem; font-weight: 800; }
.race-stat .l { font-size: .54rem; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.race-count { font-size: 1.05rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.race-players { display: flex; flex-direction: column; gap: 4px; }
.race-prow { display: flex; align-items: center; gap: 8px; font-size: .66rem; padding: 4px 7px; border-radius: 7px; background: var(--surface2); }
.race-prow .pos { width: 18px; font-weight: 800; text-align: center; }
.race-prow .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.race-prow .tm { color: var(--muted); font-variant-numeric: tabular-nums; }
.race-prow.win { background: rgba(241, 196, 15, .12); }

/* Nieuwe race aanmaken — formulier (label links / control rechts, 50/50).
   Gebruikt de globale schaal: inputs .72rem (.form-input), labels .72/.6rem, buttons .btn. */
.nr-cols { display: grid; grid-template-columns: 1fr 250px; gap: 10px; align-items: start; }
@media (max-width: 820px) { .nr-cols { grid-template-columns: 1fr; } }
.nr-field { display: flex; align-items: center; gap: 12px; padding: 9px 13px; border-bottom: 1px solid rgba(255,255,255,.06); }
.nr-field:last-child { border-bottom: none; }
.nr-label { display: flex; align-items: center; gap: 8px; flex: 1 1 0; min-width: 0; margin: 0; }
.nr-label .ico { width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .7rem; }
.nr-label .t { font-size: .72rem; font-weight: 700; line-height: 1.15; }
.nr-label .t small { display: block; font-size: .6rem; color: var(--muted); font-weight: 500; margin-top: 1px; }
.nr-field > .nr-control, .nr-field > .nr-chips, .nr-field > .nr-entry-wrap { flex: 1 1 0; min-width: 0; display: flex; justify-content: flex-start; }
.nr-control > select, .nr-control > input { width: 100%; max-width: 320px; }
@media (max-width: 560px) { .nr-field { flex-direction: column; align-items: stretch; gap: 7px; } .nr-label { flex: none; } .nr-control > select, .nr-control > input { max-width: none; } }
.nr-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.nr-chip { position: relative; cursor: pointer; }
.nr-chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.nr-chip span { display: block; padding: 6px 12px; border-radius: 7px; background: var(--surface2); border: 1px solid rgba(255,255,255,.09); font-size: .72rem; font-weight: 700; color: var(--muted); transition: .12s; text-align: center; min-width: 38px; }
.nr-chip input:checked + span { background: linear-gradient(90deg,#e74c3c,#c0392b); border-color: #e74c3c; color: #fff; }
.nr-chip:hover span { border-color: rgba(255,255,255,.22); }
.nr-entry-wrap { gap: 6px; flex-wrap: wrap; align-items: center; }
.nr-entry-wrap > input { width: 110px; flex: none; }
.nr-side .card { position: sticky; top: 12px; margin: 0; }
.nr-recap { padding: 4px 13px 11px; }
.nr-rrow { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: .7rem; }
.nr-rrow:last-of-type { border-bottom: none; }
.nr-rrow .k { color: var(--muted); }
.nr-rrow .v { font-weight: 700; }
.nr-pot { text-align: center; background: linear-gradient(135deg,rgba(63,185,80,.12),rgba(46,204,113,.04)); border: 1px solid rgba(63,185,80,.22); border-radius: 10px; padding: 10px; margin: 8px 0 4px; }
.nr-pot .l { font-size: .6rem; text-transform: uppercase; letter-spacing: .5px; color: #7ee2a0; font-weight: 700; }
.nr-pot .v { font-size: 1.15rem; font-weight: 800; color: #3fb950; line-height: 1.1; margin-top: 2px; }
.nr-pot .s { font-size: .6rem; color: var(--muted); margin-top: 2px; }

/* ── Showroom filter ── */
.vf-bar { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.vf-chip {
  font-size: .68rem; font-weight: 600; padding: 6px 13px; border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .12); color: #c9c9d2; cursor: pointer; text-decoration: none;
}
.vf-chip:hover { border-color: rgba(255, 255, 255, .28); }
.vf-chip.on { background: var(--gold, #f1c40f); border-color: var(--gold, #f1c40f); color: #111; }

.veh-empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.veh-empty i { font-size: 2.4rem; opacity: .4; display: block; margin-bottom: 10px; }

/* ── Garage-zoekbalk ── */
.veh-search { position: relative; max-width: 320px; margin-bottom: 12px; }
.veh-search i { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .72rem; }
.veh-search input { width: 100%; padding: 7px 11px 7px 30px; }

/* ── Voertuig-detailpagina ── */
.vd-back { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; color: var(--muted); text-decoration: none; margin-bottom: 12px; }
.vd-back:hover { color: #fff; }
.vd-hero { display: grid; grid-template-columns: 340px 1fr; gap: 12px; margin-bottom: 12px; align-items: start; }
@media (max-width: 720px) { .vd-hero { grid-template-columns: 1fr; } }
.vd-img { border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .07); }
.vd-img .veh-imgwrap { aspect-ratio: 16 / 11; }
.vd-info { background: var(--surface, #1a1a22); border: 1px solid rgba(255, 255, 255, .07); border-radius: 12px; padding: 12px 13px; display: flex; flex-direction: column; gap: 7px; }
.vd-badges { display: flex; gap: 7px; flex-wrap: wrap; }
.vd-brand { display: flex; align-items: center; gap: 7px; font-size: .58rem; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; font-weight: 700; }
.vd-name { font-size: 1.05rem; font-weight: 900; line-height: 1.08; margin-top: -2px; }
.vd-value { font-size: 1.05rem; font-weight: 900; color: #3fb950; }
.vd-value small { font-size: .52rem; color: var(--muted); font-weight: 600; display: block; }
.vd-quick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 2px; }
.vd-q { background: var(--surface2, #15151c); border-radius: 8px; padding: 6px 8px; display: flex; align-items: center; gap: 7px; }
.vd-q i { color: var(--muted); width: 14px; text-align: center; font-size: .8em; }
.vd-q .v { font-size: .76rem; font-weight: 800; }
.vd-q .l { font-size: .5rem; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.vd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 760px) { .vd-cols { grid-template-columns: 1fr; } }
.vd-row { display: flex; justify-content: space-between; align-items: center; font-size: .68rem; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.vd-row:last-child { border-bottom: none; }
.vd-row .k { color: var(--muted); }
.vd-row .v { font-weight: 700; }

/* ── Voertuig stelen — paneel ── */
.vsteal-panel { max-width: 560px; margin: 0 auto; padding: 8px 2px 4px; }
.vsteal-chance-top { display: flex; justify-content: space-between; font-size: .74rem; font-weight: 700; margin-bottom: 6px; }
.vsteal-note { font-size: .64rem; color: var(--muted); line-height: 1.5; margin-top: 8px; }
.vsteal-odds { margin: 16px 0; background: var(--surface2, #15151c); border-radius: 12px; padding: 12px 14px; }
.vsteal-odds-title { font-size: .62rem; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 800; margin-bottom: 8px; }
.vsteal-odd { display: flex; align-items: center; gap: 8px; margin: 5px 0; font-size: .66rem; }
.vsteal-odd-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.vsteal-odd-name { width: 92px; flex-shrink: 0; }
.vsteal-odd-bar { flex: 1; height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.vsteal-odd-bar span { display: block; height: 100%; border-radius: 6px; }
.vsteal-odd-pct { width: 48px; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ── Tuning-onderdelen (parts) ── */
.part-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.part-card { display: flex; align-items: center; gap: 9px; background: var(--surface2, #15151c); border: 1px solid rgba(255,255,255,.07); border-radius: 10px; padding: 8px 10px; }
.part-ico { width: 34px; height: 34px; flex-shrink: 0; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.part-body { flex: 1; min-width: 0; }
.part-name { font-size: .72rem; font-weight: 700; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.part-meta { font-size: .58rem; color: var(--muted); margin-top: 2px; }
.part-rar { font-size: .5rem; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; padding: 1px 6px; border-radius: 10px; color: #0c0c11; }

/* ── Voertuig stelen — modern paneel ── */
.vsteal-modern { display: flex; gap: 24px; align-items: center; padding: 16px 10px; flex-wrap: wrap; }
@media (max-width: 620px) { .vsteal-modern { flex-direction: column; text-align: center; } }
.vsteal-ring {
  --pct: 50; --clr: #3fb950;
  width: 148px; height: 148px; border-radius: 50%; flex-shrink: 0; position: relative;
  background: conic-gradient(var(--clr) calc(var(--pct) * 1%), rgba(255,255,255,.08) 0);
  display: flex; align-items: center; justify-content: center;
}
.vsteal-ring::after { content: ''; position: absolute; inset: 11px; border-radius: 50%; background: var(--surface, #1a1a22); }
.vsteal-ring-inner { position: relative; z-index: 1; text-align: center; }
.vsteal-ring-inner .big { font-size: 2rem; font-weight: 900; display: block; line-height: 1; }
.vsteal-ring-inner .lbl { font-size: .6rem; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; }
.vsteal-modern-body { flex: 1; min-width: 250px; }
.vsteal-modern-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 4px; }
.vsteal-stats { display: flex; gap: 18px; margin: 13px 0; flex-wrap: wrap; justify-content: inherit; }
.vsteal-stats > div { font-size: .7rem; color: #c9c9d2; }
.vsteal-stats b { color: #fff; }
.vsteal-go { padding: 8px 20px; font-size: .76rem; }

/* Verkoop/gevaar-knop (was niet gedefinieerd) */
.btn-danger { background: #c0392b; color: #fff; }
.btn-danger:hover { background: #a93226; transform: translateY(-1px); }

/* Merklogo's — op een lichtgrijs chip-vlakje zodat ze altijd zichtbaar zijn */
.brand-logo {
  height: 15px; width: auto; max-width: 46px; object-fit: contain; vertical-align: middle;
  margin-right: 6px; background: #dfe3ea; border-radius: 4px; padding: 2px 4px; box-sizing: content-box;
}
.vd-brand .brand-logo { height: 20px; margin-right: 0; }
.dt-name .brand-logo { height: 14px; margin-right: 5px; }

/* ════════════════════════════════════════════════════════════
   Marktplaats
   ════════════════════════════════════════════════════════════ */
/* Klikbare tabelrij */
.mk-row { cursor: pointer; transition: background .12s; }
.mk-row:hover { background: rgba(255,255,255,.035); }

/* ── Productdetail ── */
.mk-detail { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 16px; align-items: start; }
@media (max-width: 760px) { .mk-detail { grid-template-columns: 1fr; } }
.mk-detail-media {
  position: relative; aspect-ratio: 16/11; border-radius: 16px; overflow: hidden;
  background: radial-gradient(120% 100% at 50% 0, color-mix(in srgb, var(--c) 26%, transparent), var(--surface));
  border: 1px solid var(--border-h); display: flex; align-items: center; justify-content: center;
}
.mk-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.mk-detail-ico { font-size: 4.5rem; color: var(--c); opacity: .85; }
.mk-detail-type {
  position: absolute; top: 12px; left: 12px; color: #111; font-weight: 800; font-size: .64rem;
  padding: 5px 11px; border-radius: 20px; display: inline-flex; align-items: center; gap: 6px;
  text-transform: uppercase; letter-spacing: .4px; box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.mk-detail-info { display: flex; flex-direction: column; gap: 12px; }
.mk-detail-title { font-size: 1.5rem; font-weight: 900; color: #fff; letter-spacing: -.5px; line-height: 1.1; }
.mk-detail-sub { font-size: .82rem; color: var(--muted); margin-top: -8px; }

.mk-spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px,1fr)); gap: 8px; }
.mk-spec {
  background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 12px;
  padding: 11px 8px; text-align: center; display: flex; flex-direction: column; gap: 3px;
}
.mk-spec i { color: var(--gold); font-size: 1rem; }
.mk-spec-v { font-weight: 800; color: #fff; font-size: .92rem; }
.mk-spec-l { font-size: .56rem; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }

.mk-detail-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.mk-detail-meta > div { background: var(--surface); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.mk-detail-meta .k { font-size: .58rem; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.mk-detail-meta .v { font-weight: 700; color: #eaeaf2; font-size: .82rem; }

.mk-price-box {
  border: 1px solid rgba(243,156,18,.32); border-radius: 14px; padding: 14px 16px;
  background: linear-gradient(180deg, rgba(243,156,18,.08), rgba(243,156,18,.02));
}
.mk-price-lab { font-size: .6rem; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }
.mk-price-val { font-size: 1.7rem; font-weight: 900; color: #fff; margin-top: 2px; font-variant-numeric: tabular-nums; }
.mk-price-note { font-size: .68rem; color: var(--muted); margin-top: 6px; }

.mk-action-row { display: flex; gap: 10px; flex-wrap: wrap; }
.mk-bid-form { display: flex; gap: 8px; }
.mk-bid-form .form-input { width: 150px; }
.mk-bid-form .btn { flex: 1; justify-content: center; }

/* ── Product toevoegen ── */
.mk-type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px,1fr)); gap: 10px; padding: 14px; }
.mk-type {
  background: rgba(255,255,255,.025); border: 1.5px solid var(--border); border-radius: 14px;
  padding: 14px 10px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: border-color .15s, background .15s, transform .1s; color: #eaeaf2;
}
.mk-type:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.mk-type.active { border-color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.mk-type-ico {
  width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent);
}
.mk-type-lbl { font-weight: 800; font-size: .82rem; }
.mk-type-cnt { font-size: .58rem; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }

/* TD-formulier */
table.mft { width: 100%; border-collapse: collapse; }
table.mft td { padding: 9px 14px; vertical-align: middle; border-top: 1px solid rgba(255,255,255,.04); }
table.mft tr:first-child td { border-top: 0; }
.mft-l { width: 150px; font-size: .72rem; font-weight: 600; color: var(--muted); vertical-align: top; }
.mft-l small { display: block; font-weight: 400; font-size: .66rem; color: var(--muted); white-space: normal; margin-top: 2px; }
/* Compactere velden (overschrijf de globale icoon-padding; in de wizard geen icoon). */
.mft-f .form-input, .mft-f select.form-input { width: 100%; max-width: 340px; padding: 6px 11px; font-size: .72rem; }
.mft-f textarea.form-input { max-width: 100%; }   /* berichtveld mag de volle breedte */
@media (max-width: 620px) { table.mft td { display: block; padding: 6px 14px; } .mft-l { width: auto; padding-bottom: 2px; } .mft-f .form-input, .mft-f select.form-input { max-width: 100%; } }

.mk-check { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; color: #d6d6de; cursor: pointer; }
.mk-submit-bar { border-top: 1px solid rgba(255,255,255,.06); padding: 12px 14px; text-align: right; }

/* Marktplaats — beheerpaneel */
.mk-admin-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 10px; padding: 14px; }
.mk-admin-card { display: flex; align-items: center; gap: 11px; background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 12px; padding: 12px 13px; }
.mk-admin-ico { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex-shrink: 0; }
.mk-admin-val { font-weight: 900; color: #fff; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.mk-admin-lbl { font-size: .58rem; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.mk-chip { font-size: .64rem; font-weight: 700; padding: 5px 11px; border-radius: 18px; text-decoration: none; border: 1px solid rgba(255,255,255,.14); color: #c9c9d2; }
.mk-chip.on { border-color: var(--gold); background: var(--gold); color: #111; }

/* Marktplaats — categorieën (beheerpaneel) */
.mk-cat-list { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; }
.mk-cat { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 12px; padding: 11px 13px; }
.mk-cat.off { opacity: .62; }
.mk-cat-ico { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.mk-cat-body { flex: 1; min-width: 0; }
.mk-cat-name { font-weight: 800; color: #fff; font-size: .86rem; }
.mk-cat-meta { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
.mk-cat-state { font-size: .62rem; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.mk-cat-state.is-on { color: #3fb950; }
.mk-cat-state.is-off { color: #e74c3c; }

/* Backfire-modus keuze (instellingen) */
.bf-modes { display: flex; flex-direction: column; gap: 6px; }
.bf-mode {
  display: flex; align-items: center; gap: 10px; padding: 8px 11px; border-radius: 9px; cursor: pointer;
  background: rgba(255,255,255,.025); border: 1px solid var(--border); transition: border-color .14s, background .14s;
}
.bf-mode:hover { border-color: color-mix(in srgb, var(--c) 50%, transparent); }
.bf-mode.active { border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); }
.bf-mode input { display: none; }
.bf-mode-ico { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: .84rem; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); flex-shrink: 0; }
.bf-mode-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.bf-mode-lbl { font-weight: 700; font-size: .74rem; color: #eaeaf2; }
.bf-mode-desc { font-size: .62rem; color: var(--muted); line-height: 1.4; }
.bf-mode-check { color: var(--c); font-size: .95rem; opacity: 0; transition: opacity .14s; }
.bf-mode.active .bf-mode-check { opacity: 1; }

/* 2FA enrol: QR-code + sleutel naast elkaar */
.tf-enrol { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.tf-qr-link { display: inline-block; line-height: 0; flex-shrink: 0; text-decoration: none; border-radius: 10px; transition: transform .12s; }
.tf-qr-link:hover { transform: translateY(-2px); }
.tf-qr-wrap { background: #fff; border-radius: 10px; padding: 9px; flex-shrink: 0; line-height: 0; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.tf-qr-wrap img, .tf-qr-wrap canvas { display: block; width: 158px; height: 158px; }
.tf-enrol-body { flex: 1 1 220px; min-width: 200px; }
@media (max-width: 520px) { .tf-enrol { justify-content: center; } .tf-enrol-body { flex-basis: 100%; } }

/* 2FA setup-wizard (genummerde stappen) */
.tf-wizard { padding: 4px 16px 14px; }
.tf-wstep { display: flex; gap: 13px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.05); }
.tf-wstep:first-child { border-top: none; }
.tf-wnum { width: 27px; height: 27px; border-radius: 50%; background: var(--accent,#c0392b); color: #fff; font-weight: 800; font-size: .78rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tf-wbody { flex: 1; min-width: 0; }
.tf-wtitle { font-size: .82rem; font-weight: 800; margin-bottom: 3px; }
.tf-wdesc { font-size: .66rem; color: var(--muted); line-height: 1.55; margin-bottom: 11px; }

/* Meldingen: groep-kopjes */
.notif-group-title { font-size: .58rem; text-transform: uppercase; letter-spacing: .6px; color: var(--accent); font-weight: 800; margin: 16px 2px 7px; }
.notif-group-title:first-child { margin-top: 4px; }

/* Profiel: live preview-kop */
.pf-preview { position: relative; overflow: hidden; }
.pf-preview-cover { height: 92px; background: radial-gradient(circle at 82% 12%, rgba(243,156,18,.35), transparent 55%), linear-gradient(135deg, #c0392b, #7a1c12 45%, #15151d); }
.pf-preview-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-preview-row { display: flex; align-items: flex-end; gap: 13px; padding: 0 16px 14px; margin-top: -34px; position: relative; z-index: 2; }
.pf-preview-ava { width: 66px; height: 66px; border-radius: 14px; border: 3px solid var(--surface2,#1a1a22); background: linear-gradient(135deg, var(--accent), #7a1c12); overflow: hidden; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 1.3rem; flex-shrink: 0; }
.pf-preview-ava img { width: 100%; height: 100%; object-fit: cover; }
.pf-preview-name { font-size: 1rem; font-weight: 800; }
.pf-preview-sub { font-size: .63rem; color: var(--muted); margin-top: 1px; }

/* Reset-systeem (beheerpaneel) */
.rst-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px 14px; }
@media (max-width: 700px) { .rst-cols { grid-template-columns: 1fr; } }
.rst-list { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; background: rgba(255,255,255,.02); }
.rst-list h4 { margin: 0 0 8px; font-size: .76rem; display: flex; align-items: center; gap: 7px; }
.rst-list.keep h4 { color: #3fb950; }
.rst-list.wipe h4 { color: #e74c3c; }
.rst-list ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 5px; }
.rst-list li { font-size: .72rem; color: #c9c9d2; display: flex; align-items: center; gap: 8px; }
.rst-list li i { font-size: .62rem; opacity: .8; }
.rst-list.keep li i { color: #3fb950; }
.rst-list.wipe li i { color: #e74c3c; }
.rst-danger { border: 1.5px solid rgba(192,57,43,.5); border-radius: 14px; padding: 16px; margin: 14px; background: linear-gradient(180deg, rgba(192,57,43,.08), rgba(192,57,43,.02)); }
.rst-danger h3 { margin: 0 0 6px; color: #e74c3c; font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.rst-result { margin: 12px 14px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }

/* ════════════════════════════════════════════════════════════
   Seizoen: badges, ranglijsten, eregalerij
   ════════════════════════════════════════════════════════════ */
/* Badge-embleem */
.bdg { position: relative; width: var(--bs,64px); height: var(--bs,64px); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
  background: radial-gradient(circle at 50% 32%, var(--g1,#ffe27a), var(--g2,#f1c40f) 55%, var(--g3,#a9791a));
  box-shadow: 0 4px 14px rgba(0,0,0,.45), inset 0 2px 5px rgba(255,255,255,.55), inset 0 -4px 7px rgba(0,0,0,.4); }
.bdg-ring { position: absolute; inset: 6%; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); pointer-events: none; }
.bdg > i { position: relative; font-size: calc(var(--bs,64px) * .4); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.bdg-s { position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); font-size: calc(var(--bs,64px) * .17); line-height: 1; font-weight: 900; color: #fff;
  background: #15151d; border: 1px solid rgba(255,255,255,.3); padding: 2px 6px; border-radius: 99px; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.bdg-cnt { position: absolute; top: -5px; right: -6px; font-size: calc(var(--bs,64px) * .2); line-height: 1; font-weight: 900; color: #1a1206;
  background: linear-gradient(135deg, #ffe27a, #f1c40f); border: 1px solid rgba(255,255,255,.55); padding: 2px 6px; border-radius: 99px; box-shadow: 0 2px 8px rgba(243,156,18,.5); }
.bdg-champion { animation: bdgGlow 2.6s ease-in-out infinite; }
@keyframes bdgGlow { 0%,100% { box-shadow: 0 4px 14px rgba(0,0,0,.45), inset 0 2px 5px rgba(255,255,255,.55), inset 0 -4px 7px rgba(0,0,0,.4); } 50% { box-shadow: 0 4px 22px rgba(243,156,18,.6), inset 0 2px 5px rgba(255,255,255,.7), inset 0 -4px 7px rgba(0,0,0,.4); } }

/* Badge-rij (profiel / popups) */
.bdg-row { display: flex; flex-wrap: wrap; gap: 16px 14px; padding: 4px 2px; }
.bdg-item { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 92px; text-align: center; }
.bdg-item .bdg-cap { font-size: .58rem; color: var(--muted); line-height: 1.25; }

/* Ranglijst-kaarten */
.srl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 12px; padding: 12px 14px; }
.srl-card { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.02); }
.srl-head { display: flex; align-items: center; gap: 8px; padding: 9px 12px; font-weight: 800; font-size: .78rem; color: #eaeaf2; background: color-mix(in srgb, var(--c) 14%, transparent); border-bottom: 1px solid var(--border); }
.srl-ico { color: var(--c); }
.srl-list { list-style: none; margin: 0; padding: 6px 10px; display: flex; flex-direction: column; gap: 2px; }
.srl-list li { display: flex; align-items: center; gap: 8px; font-size: .74rem; padding: 2px 0; }
.srl-pos { width: 26px; text-align: center; flex-shrink: 0; }
.srl-name { flex: 1; color: #d6d6de; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srl-val { font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }

/* Eregalerij */
.ere-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 10px; }
.ere-card { border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; background: rgba(255,255,255,.02); }
.ere-head { font-weight: 800; font-size: .74rem; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.ere-row { display: flex; justify-content: space-between; gap: 8px; font-size: .72rem; color: #d6d6de; padding: 2px 0; }

/* Seizoenspas-track (spelerpagina) */
.sp-bar { height: 11px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.sp-bar-fill { height: 100%; background: linear-gradient(90deg, #a855f7, #5dade2); border-radius: 99px; transition: width .5s cubic-bezier(.2,.85,.25,1); }
.sp-track { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; }
.sp-tier { display: grid; grid-template-columns: 62px 1fr 1fr; gap: 8px; align-items: stretch; opacity: .55; transition: opacity .2s; }
.sp-tier.on { opacity: 1; }
.sp-tno { display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--border); }
.sp-tno-n { font-weight: 900; font-size: 1.05rem; color: #fff; }
.sp-tno-p { font-size: .5rem; color: var(--muted); text-transform: uppercase; letter-spacing: .3px; }
.sp-cell { display: flex; flex-direction: column; gap: 3px; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255,255,255,.02); }
.sp-cell.prem { border-color: rgba(243,156,18,.28); background: rgba(243,156,18,.05); }
.sp-cell > i { font-size: 1rem; }
.sp-rew { font-size: .72rem; font-weight: 700; color: #eaeaf2; }
.sp-st { font-size: .56rem; color: var(--muted); }
.sp-cell.ready { border-color: rgba(46,204,113,.5); box-shadow: 0 0 0 1px rgba(46,204,113,.15) inset; }
.sp-cell.ready .sp-st { color: #2ecc71; font-weight: 800; }
.sp-cell.claimed { opacity: .62; }
.sp-cell.claimed .sp-st { color: #3fb950; }
@media (max-width: 560px) { .sp-tier { grid-template-columns: 46px 1fr 1fr; } .sp-rew { font-size: .64rem; } }

/* ════════════════════════════════════════════════════════════
   Seizoenspas — battle-pass grid (Fortnite-stijl)
   ════════════════════════════════════════════════════════════ */
.bp-head { display: flex; gap: 16px; padding: 16px; align-items: center; flex-wrap: wrap; }
.bp-tierbig { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 104px; padding: 12px 18px; border-radius: 14px;
  background: linear-gradient(160deg, rgba(243,156,18,.18), rgba(243,156,18,.04)); border: 1px solid rgba(243,156,18,.35); }
.bp-tierbig.max { border-color: #f1c40f; box-shadow: 0 0 22px rgba(243,156,18,.32); }
.bp-tierbig-lab { font-size: .58rem; letter-spacing: 2.5px; color: var(--gold); font-weight: 800; }
.bp-tierbig-n { font-size: 2.5rem; font-weight: 900; color: #fff; line-height: 1; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.bp-tierbig-max { font-size: .58rem; font-weight: 800; color: #f1c40f; margin-top: 3px; }
.bp-head-mid { flex: 1; min-width: 240px; display: flex; flex-direction: column; gap: 8px; }
.bp-head-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bp-claims { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }

.bp-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.06); gap: 10px; flex-wrap: wrap; }
.bp-pages { display: flex; align-items: center; gap: 10px; font-size: .72rem; color: var(--muted); font-weight: 700; }
.bp-arrow { width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); color: #eaeaf2; text-decoration: none; }
.bp-arrow:hover { background: rgba(255,255,255,.06); }
.bp-arrow.off { opacity: .35; pointer-events: none; }

.bp-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(92px,1fr); gap: 8px; padding: 14px; overflow-x: auto; }
.bp-col { display: flex; flex-direction: column; gap: 6px; padding: 8px 6px; border-radius: 12px; border: 1px solid transparent; opacity: .9; transition: opacity .2s; }
.bp-col.on { opacity: 1; }
.bp-col.ms { background: radial-gradient(120% 80% at 50% 0, rgba(243,156,18,.13), transparent 70%); border-color: rgba(243,156,18,.3); }
.bp-col.cur { border-color: rgba(168,85,247,.5); box-shadow: 0 0 0 1px rgba(168,85,247,.25) inset; }
.bp-tnum { text-align: center; font-weight: 900; color: #fff; font-size: .9rem; display: flex; align-items: center; justify-content: center; gap: 4px; }
.bp-cell { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 5px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255,255,255,.02); min-height: 78px; justify-content: center; }
.bp-cell.prem { border-color: rgba(243,156,18,.28); background: rgba(243,156,18,.05); }
.bp-cell.locked { opacity: .5; }
.bp-cell.ready { border-color: rgba(46,204,113,.55); box-shadow: 0 0 12px rgba(46,204,113,.15); }
.bp-cell.claimed { opacity: .62; }
.bp-rico { font-size: 1.35rem; }
.bp-rlab { font-size: .56rem; text-align: center; color: #d6d6de; font-weight: 700; line-height: 1.2; }
.bp-check { position: absolute; top: 4px; right: 4px; width: 16px; height: 16px; border-radius: 50%; background: #2ecc71; color: #fff; font-size: .5rem; display: flex; align-items: center; justify-content: center; }
.bp-lock { position: absolute; top: 4px; right: 4px; color: var(--muted); font-size: .62rem; }
.bp-req { text-align: center; font-size: .56rem; color: var(--muted); font-weight: 700; }
.bp-msbadge { text-align: center; font-size: .5rem; font-weight: 800; color: #f1c40f; background: rgba(243,156,18,.12); border-radius: 6px; padding: 2px 3px; line-height: 1.3; }
.bp-legend { display: flex; flex-wrap: wrap; gap: 14px; padding: 10px 14px; font-size: .62rem; color: var(--muted); border-top: 1px solid rgba(255,255,255,.06); }
.bp-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; vertical-align: middle; margin-right: 2px; }
.bp-dot.prem { background: #f1c40f; }
.bp-dot.free { background: #5dade2; }

/* Legende-naam (tier-100 spelers) — gouden glans */
.legend-name { background: linear-gradient(90deg, #fff3b0, #f1c40f 40%, #ffd700 60%, #f39c12); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; font-weight: 900; filter: drop-shadow(0 0 6px rgba(243,156,18,.4)); }
.legend-name i { -webkit-text-fill-color: #f1c40f; color: #f1c40f; }

/* Tier-100 exclusief-voertuig spotlight */
.bp-spot { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px;
  background: linear-gradient(110deg, rgba(243,156,18,.16), rgba(243,156,18,.03)); border: 1px solid rgba(243,156,18,.35); margin: 14px; }
.bp-spot-img { width: 120px; height: 70px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; }
.bp-spot-img img { width: 100%; height: 100%; object-fit: cover; }
.bp-spot-img i { font-size: 2rem; color: #f1c40f; opacity: .7; }
.bp-spot-body { flex: 1; min-width: 0; }
.bp-spot-tag { font-size: .58rem; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: #f1c40f; }
.bp-spot-name { font-size: 1.15rem; font-weight: 900; color: #fff; line-height: 1.15; }
.bp-spot-sub { font-size: .7rem; color: var(--muted); margin-top: 2px; }
@media (max-width: 540px) { .bp-spot { flex-direction: column; text-align: center; } .bp-spot-img { width: 100%; height: 120px; } }

/* Weekuitdagingen */
.wc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 10px; padding: 12px 14px; }
.wc-item { display: flex; gap: 11px; align-items: center; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,.02); }
.wc-item.done { border-color: rgba(46,204,113,.45); background: rgba(46,204,113,.05); }
.wc-ico { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; color: #2ecc71; background: rgba(46,204,113,.14); flex-shrink: 0; }
.wc-body { flex: 1; min-width: 0; }
.wc-title { font-size: .76rem; font-weight: 700; color: #eaeaf2; }
.wc-bar { height: 7px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; margin: 6px 0 4px; }
.wc-fill { height: 100%; background: linear-gradient(90deg, #2ecc71, #27ae60); border-radius: 99px; }
.wc-meta { font-size: .62rem; color: var(--muted); }

/* Seizoenspas — mobiele verfijning */
@media (max-width: 600px) {
  .bp-head { flex-direction: column; align-items: stretch; text-align: center; gap: 12px; }
  .bp-tierbig { align-self: center; min-width: 140px; }
  .bp-head-top { justify-content: center; }
  .bp-claims { justify-content: center; }
  .bp-claims form, .bp-claims .btn { flex: 1; }
  .bp-claims .btn { width: 100%; justify-content: center; }
  .bp-bar { flex-direction: column; align-items: stretch; gap: 8px; }
  .bp-pages { justify-content: center; }
  .bp-grid { grid-auto-columns: minmax(82px,1fr); gap: 6px; padding: 10px 8px; }
  .bp-rlab { font-size: .52rem; }
  .bp-legend { gap: 8px 12px; justify-content: center; }
  .wc-grid, .srl-grid, .ere-grid, .mk-admin-cards { grid-template-columns: 1fr; }
  .bdg-row { gap: 12px 10px; justify-content: center; }
  .bdg-item { width: 80px; }
}
/* Horizontale scroll-hint voor de pas-grid op aanraakschermen */
.bp-grid { scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.bp-col { scroll-snap-align: start; }

/* ── Seizoenspagina: extra mobiele fixes ── */
@media (max-width: 640px) {
  .set-grid > div { min-width: 0; }                 /* voorkomt grid-overflow */
  .bp-grid, .srl-grid, .wc-grid { max-width: 100%; }
  .bp-head { padding: 12px; }
  .bp-head-mid { width: 100%; }
  .bp-tierbig-n { font-size: 2rem; }
  .dash-hero h1 { font-size: 1.15rem; line-height: 1.2; }
  .dash-hero p { font-size: .72rem; }
  .bp-spot-name { font-size: 1rem; }
  .bp-cell { min-height: 70px; }
  .bp-rico { font-size: 1.15rem; }
  /* horizontale scroll-grid mag niet de pagina verbreden */
  .card { overflow: hidden; }
  .bp-grid { overflow-x: auto; }
}
/* algemene vangnet tegen horizontale overflow op smalle schermen */
@media (max-width: 480px) {
  .page-content { padding-left: 10px; padding-right: 10px; }
  .bp-claims .btn { font-size: .72rem; padding: 8px 10px; }
}

/* Beloningsafbeelding in een pas-cel (tier-100 voertuig/wapen) */
.bp-rimg { width: 100%; height: 40px; border-radius: 7px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.25); }
.bp-rimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-cell.has-img { padding-top: 6px; }
.bp-cell.has-img .bp-rlab { font-weight: 800; color: #f1c40f; }

/* ── Dagelijkse inlogbonus ───────────────────────────────── */
.dly-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.dly-stat{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:14px 16px}
.dly-stat-ico{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;font-size:1.05rem;flex-shrink:0}
.dly-stat-val{font-size:1.18rem;font-weight:800;line-height:1.1}
.dly-stat-val span{font-size:.72rem;font-weight:600;color:var(--muted)}
.dly-stat-lab{font-size:.7rem;color:var(--muted);margin-top:2px}
.dly-track{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;padding:14px 16px}
.dly-day{position:relative;background:rgba(255,255,255,.03);border:1px solid var(--border);border-radius:12px;padding:12px 6px 10px;text-align:center;transition:.15s}
.dly-day-no{font-size:.66rem;font-weight:700;color:var(--muted);margin-bottom:8px}
.dly-day-ico{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;margin:0 auto;font-size:1rem}
.dly-day-lab{font-size:.64rem;color:var(--text);margin-top:8px;line-height:1.2;min-height:2.2em;display:flex;align-items:center;justify-content:center}
.dly-day.big{border-color:rgba(93,173,226,.45);background:linear-gradient(160deg,rgba(93,173,226,.12),rgba(0,0,0,.1))}
.dly-day.big .dly-day-no{color:#5dade2}
.dly-day.next{border-color:rgba(46,204,113,.6);background:linear-gradient(160deg,rgba(46,204,113,.16),rgba(0,0,0,.1));box-shadow:0 0 0 1px rgba(46,204,113,.3)}
.dly-day.claimed{opacity:.6}
.dly-day-tag{position:absolute;top:-7px;left:50%;transform:translateX(-50%);font-size:.58rem;font-weight:800;color:#06210f;padding:1px 8px;border-radius:8px;white-space:nowrap}
.dly-claim{overflow:hidden}
.dly-claim-inner{display:flex;align-items:center;gap:16px;padding:18px}
.dly-claim-ico{width:56px;height:56px;border-radius:14px;display:grid;place-items:center;font-size:1.5rem;flex-shrink:0}
.dly-claim-body{flex:1;min-width:0}
.dly-claim-title{font-size:1.05rem;font-weight:800}
.dly-claim-sub{font-size:.76rem;color:var(--muted);margin-top:3px}
.dly-claim.done{opacity:.85}
.btn-lg{padding:11px 20px;font-size:.92rem}
@media(max-width:720px){
  .dly-stats{grid-template-columns:1fr}
  .dly-track{grid-template-columns:repeat(4,1fr)}
  .dly-claim-inner{flex-wrap:wrap}
  .dly-claim-body{flex:1 1 60%}
}

/* ── Eregalerij (Hall of Fame) ───────────────────────────── */
.hof-podium{padding:8px 14px 14px;display:flex;flex-direction:column;gap:6px}
.hof-wrow{display:flex;align-items:center;gap:12px;padding:9px 12px;background:rgba(255,255,255,.03);border:1px solid var(--border);border-radius:10px}
.hof-wrow.top{background:linear-gradient(120deg,rgba(241,196,15,.1),rgba(0,0,0,.12));border-color:rgba(241,196,15,.35)}
.hof-rank{font-size:1rem;font-weight:800;min-width:34px;text-align:center}
.hof-name{flex:1;font-weight:700;color:var(--text);text-decoration:none}
.hof-name:hover{color:var(--gold)}
.hof-titles{font-size:.78rem;font-weight:700;color:var(--muted)}

/* ── Casino ───────────────────────────────────────────────── */
.cas-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;padding:14px}
.cas-tile{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:14px;text-decoration:none;color:var(--text);transition:.15s}
.cas-tile:hover{border-color:var(--cc);transform:translateY(-1px)}
.cas-tile-ico{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;font-size:1.3rem;background:color-mix(in srgb,var(--cc) 16%,transparent);color:var(--cc);flex-shrink:0}
.cas-tile-body{flex:1;min-width:0}
.cas-tile-name{font-weight:800;font-size:.92rem}
.cas-tile-tag{font-size:.7rem;color:var(--muted)}
.cas-tile-owner{font-size:.68rem;color:var(--muted);margin-top:3px}
.cas-tile-arr{color:var(--muted);font-size:.8rem}
.cas-info{padding:8px 16px 16px}
.cas-info p{font-size:.8rem;margin:8px 0;line-height:1.5}
.cas-pad{padding:14px 16px}
.cas-rules{font-size:.78rem;color:var(--muted);line-height:1.5;margin:0 0 12px}
.cas-row{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end;margin-bottom:12px}
.cas-bet{display:flex;flex-direction:column;gap:4px}
.cas-bet label{font-size:.68rem;color:var(--muted);font-weight:600}
.cas-bet .form-input{width:170px}
.cas-bet-info{font-size:.68rem;color:var(--muted);align-self:flex-end;padding-bottom:8px}
.cas-btns{display:flex;flex-wrap:wrap;gap:8px}
.cas-houseline{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:10px 14px;margin-bottom:12px;font-size:.8rem}
/* Eigenaar-paneel */
.cas-owner{margin-bottom:14px}
.cas-owner-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:12px 16px}
.cas-ostat-lab{display:block;font-size:.68rem;color:var(--muted)}
.cas-ostat-val{font-size:1.05rem;font-weight:800}
.cas-owner-actions{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 12px;align-items:center}
.cas-owner-note{padding:0 16px 14px;font-size:.7rem;color:var(--muted)}
/* Resultaat */
.cas-result{display:flex;align-items:center;gap:16px;padding:14px;border-radius:14px;margin:12px 0;border:1px solid var(--border)}
.cas-result.win{background:linear-gradient(120deg,rgba(46,204,113,.16),rgba(0,0,0,.1));border-color:rgba(46,204,113,.45)}
.cas-result.lose{background:linear-gradient(120deg,rgba(231,76,60,.14),rgba(0,0,0,.1));border-color:rgba(231,76,60,.4)}
.cas-result.push{background:linear-gradient(120deg,rgba(52,152,219,.14),rgba(0,0,0,.1));border-color:rgba(52,152,219,.4)}
.cas-result-big{font-size:2rem;font-weight:900;min-width:64px;text-align:center}
.cas-result-head{font-size:1.05rem;font-weight:800}
.cas-result-sub{font-size:.78rem;color:var(--muted);margin-top:2px}
/* Fruitmachine */
.slot-window{display:flex;justify-content:center;gap:10px;background:#0c0c12;border:2px solid var(--gold);border-radius:14px;padding:18px;margin:6px 0 14px}
.slot-reel{font-size:2.6rem;width:64px;height:64px;display:grid;place-items:center;background:#16161f;border-radius:10px}
.slot-paytable{margin-top:6px}
.slot-pt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;font-size:.74rem}
.slot-pt-grid span{background:rgba(255,255,255,.03);border:1px solid var(--border);border-radius:8px;padding:6px 8px}
/* SPS */
.sps-duel{display:flex;align-items:center;gap:18px}
.sps-hand{display:flex;flex-direction:column;align-items:center;font-size:2rem}
.sps-hand small{font-size:.6rem;color:var(--muted);margin-top:2px}
.sps-vs{font-size:.8rem;color:var(--muted);font-weight:700}
/* Roulette */
.rou-bets{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.rou-red{background:#e74c3c;color:#fff}
.rou-black{background:#2c3e50;color:#fff}
/* Blackjack */
.bj-table{display:flex;flex-direction:column;gap:14px;background:linear-gradient(160deg,#0e3a24,#0a2418);border:1px solid rgba(46,204,113,.25);border-radius:14px;padding:16px;margin-bottom:14px}
.bj-side-lab{font-size:.72rem;color:#cfe9d8;margin-bottom:6px}
.bj-cards{display:flex;gap:6px;flex-wrap:wrap}
.bj-card{width:42px;height:58px;background:#fff;color:#1a1a22;border-radius:7px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:800;box-shadow:0 2px 5px rgba(0,0,0,.3)}
.bj-card.red{color:#e74c3c}
.bj-card span{font-size:1rem;line-height:1}
.bj-card.back{background:linear-gradient(135deg,#3498db,#1a5276);color:#fff}
/* Loterij */
.lot-pot{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:12px}
.lot-pot>div{background:rgba(241,196,15,.08);border:1px solid rgba(241,196,15,.25);border-radius:12px;padding:12px 14px;text-align:center}
.lot-pot-lab{display:block;font-size:.68rem;color:var(--muted)}
.lot-pot-val{font-size:1.2rem;font-weight:800;color:#f1c40f}
.lot-tix{display:flex;flex-wrap:wrap;gap:6px}
.lot-tix-chip{display:inline-grid;place-items:center;min-width:34px;height:34px;padding:0 8px;background:rgba(255,255,255,.05);border:1px solid var(--border);border-radius:9px;font-weight:800;font-size:.82rem}
.lot-tix-chip.free{border-color:rgba(241,196,15,.5);color:#f1c40f}
@media(max-width:720px){
  .cas-grid,.rou-bets,.slot-pt-grid,.cas-owner-grid,.lot-pot{grid-template-columns:1fr 1fr}
  .cas-bet .form-input{width:100%}
  .cas-bet{flex:1}
}

/* ── Casino koop-banner ─────────────────────────────────── */
.cas-buybanner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:linear-gradient(120deg,rgba(241,196,15,.1),rgba(0,0,0,.12));border:1px solid rgba(241,196,15,.35);border-radius:12px;padding:12px 16px;margin-bottom:14px;font-size:.82rem}

/* ── Bezittingen: detail ────────────────────────────────── */
.bz-back{display:inline-flex;align-items:center;gap:6px;font-size:.78rem;color:var(--muted);text-decoration:none;margin-bottom:12px}
.bz-back:hover{color:var(--gold)}
.bz-detail-head{display:flex;align-items:center;gap:16px;padding:16px}
.bz-detail-ico{width:60px;height:60px;border-radius:15px;display:grid;place-items:center;font-size:1.7rem;flex-shrink:0}
.bz-detail-meta h1{font-size:1.3rem;margin:0}
.bz-detail-sub{font-size:.76rem;color:var(--muted);margin-top:4px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.bz-row{transition:.13s}
.bz-row:hover{border-color:var(--gold);transform:translateX(2px)}
.bz-row-arr{display:grid;place-items:center;color:var(--muted)}

/* ── Economie-presets ────────────────────────────────────── */
.eco-presets{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:14px}
.eco-preset{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:10px;transition:.15s}
.eco-preset.active{border-color:var(--pc);box-shadow:0 0 0 1px var(--pc)}
.eco-preset-head{display:flex;align-items:center;gap:10px}
.eco-preset-ico{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;font-size:1.1rem;background:color-mix(in srgb,var(--pc) 18%,transparent);color:var(--pc);flex-shrink:0}
.eco-preset-name{font-weight:800;font-size:.95rem}
.eco-preset-desc{font-size:.74rem;color:var(--muted);line-height:1.45;min-height:3em}
.eco-preset-mults{display:flex;flex-wrap:wrap;gap:8px;font-size:.7rem}
.eco-mult{background:rgba(255,255,255,.04);border:1px solid var(--border);border-radius:7px;padding:3px 7px}
.eco-preset-preview{display:grid;grid-template-columns:1fr 1fr;gap:4px;font-size:.68rem;color:var(--muted);border-top:1px solid var(--border);padding-top:8px}
.eco-preset-preview b{color:var(--text)}
.eco-preset-current{text-align:center;font-size:.78rem;font-weight:700;color:#2ecc71;padding:8px}
@media(max-width:720px){.eco-presets{grid-template-columns:1fr}}
.eco-preset-actions{display:flex;gap:6px;align-items:center}
.eco-preset-actions .btn-block{width:100%}

/* ── Dashboard: ranglijst-positie boven Rang & voortgang ── */
.rank-pos { display:flex; justify-content:center; flex-wrap:wrap; gap:9px; padding:13px 14px 3px; }
.rank-pos-item { flex:1 1 0; min-width:92px; max-width:165px; text-align:center; background:var(--surface2); border:1px solid var(--border); border-radius:11px; padding:10px 8px; }
.rp-pos { display:block; font-size:1.12rem; font-weight:900; line-height:1; font-variant-numeric:tabular-nums; }
.rp-pos i { font-size:.66em; }
.rp-lbl { display:block; font-size:.62rem; color:var(--muted); font-weight:700; margin-top:5px; }
.rp-lbl i { font-size:.58rem; margin-right:2px; color:var(--muted2); }
.rp-of { display:block; font-size:.54rem; color:var(--muted2); margin-top:1px; }

/* ── Instellingen: snelkoppelingen + privacy-toggles ── */
.set-link { display:flex; align-items:center; gap:8px; padding:9px 12px; border-radius:9px; background:var(--surface2); border:1px solid var(--border); color:var(--text); text-decoration:none; font-size:.74rem; font-weight:600; transition:.13s; }
.set-link:hover { border-color:rgba(255,255,255,.22); background:rgba(255,255,255,.03); }
.set-link > span:first-child { display:flex; align-items:center; gap:8px; flex:1; }
.set-link > i:last-child { color:var(--muted2); font-size:.7rem; }
.prv-list { display:flex; flex-direction:column; gap:7px; }
.prv-row { display:flex; align-items:center; gap:12px; padding:10px 12px; border-radius:10px; background:var(--surface2); border:1px solid var(--border); cursor:pointer; transition:.13s; }
.prv-row:hover { border-color:rgba(255,255,255,.18); }
.prv-main { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.prv-lbl { font-size:.74rem; font-weight:700; }
.prv-lbl i { color:var(--muted2); margin-right:4px; font-size:.68rem; }
.prv-desc { font-size:.62rem; color:var(--muted); line-height:1.4; }
.prv-row input { position:absolute; opacity:0; width:0; height:0; }
.prv-switch { flex-shrink:0; width:38px; height:21px; border-radius:99px; background:rgba(255,255,255,.12); position:relative; transition:.15s; }
.prv-switch::after { content:''; position:absolute; top:2px; left:2px; width:17px; height:17px; border-radius:50%; background:#fff; transition:.15s; }
.prv-row input:checked + .prv-switch { background:#c0392b; }
.prv-row input:checked + .prv-switch::after { transform:translateX(17px); }
.prv-row input:focus-visible + .prv-switch { outline:2px solid var(--accent); outline-offset:2px; }

/* ── Instellingen: gedeelde, nette opmaak voor alle tabs ── */
.set-intro { font-size:.72rem; color:var(--muted); line-height:1.6; padding:11px 16px 0; margin:0; }
.set-pad { padding:14px 16px; }
.set-form { max-width:440px; }
.set-note { font-size:.66rem; color:var(--muted2); line-height:1.55; margin:10px 0 0; display:flex; gap:7px; }
.set-note i { color:var(--gold); margin-top:1px; }
.set-key { background:#0d0d14; border:1px solid rgba(255,255,255,.12); border-radius:9px; padding:13px; text-align:center; font-family:ui-monospace,Menlo,Consolas,monospace; font-size:1rem; letter-spacing:3px; word-break:break-all; color:#fff; }
.set-steps { font-size:.74rem; color:var(--muted); line-height:1.85; padding-left:18px; margin:0 0 12px; }
.set-steps strong { color:var(--text); }
.set-codes { display:grid; grid-template-columns:repeat(2,1fr); gap:8px; font-family:ui-monospace,Menlo,Consolas,monospace; }
.set-code { background:#0d0d14; border:1px solid rgba(255,255,255,.1); border-radius:7px; padding:9px; text-align:center; letter-spacing:1px; font-size:.86rem; color:#fff; }
.set-uri { font-size:.62rem; color:var(--muted2); word-break:break-all; background:rgba(255,255,255,.03); border:1px solid var(--border); border-radius:7px; padding:8px 10px; margin:8px 0 0; }
/* Toestel-aan/uit-balk (meldingen) */
.set-device { display:flex; align-items:center; gap:12px; flex-wrap:wrap; border:1px solid var(--border); border-radius:12px; padding:12px 14px; background:var(--surface2); margin-bottom:14px; }
.set-device > i { font-size:1.3rem; color:var(--accent-h,#e74c3c); }
.set-device .sd-main { flex:1; min-width:150px; }
.set-device .sd-title { font-size:.78rem; font-weight:700; }
/* Meldingen-categorieën */
.notif-master { display:flex; align-items:center; gap:10px; cursor:pointer; padding:11px 12px; border:1px solid var(--border); border-radius:10px; background:var(--surface2); font-size:.78rem; font-weight:700; }
.notif-legend { display:flex; align-items:center; flex-wrap:wrap; gap:6px 14px; margin:12px 2px 6px; font-size:.6rem; color:var(--muted); }
.notif-list { display:flex; flex-direction:column; gap:6px; }
.notif-row { display:flex; align-items:flex-start; gap:11px; padding:10px 12px; border:1px solid var(--border); border-radius:10px; background:var(--surface2); cursor:pointer; transition:.12s; }
.notif-row:hover { border-color:rgba(255,255,255,.18); }
.notif-row > input { width:17px; height:17px; margin-top:1px; accent-color:#c0392b; flex-shrink:0; }
.notif-row .nr-body { flex:1; min-width:0; }
.notif-row .nr-name { font-size:.76rem; font-weight:600; }
.notif-row .nr-desc { font-size:.64rem; color:var(--muted); margin-top:2px; }
.notif-scope { display:inline-flex; align-items:center; gap:4px; padding:1px 7px; border-radius:99px; font-size:.56rem; font-weight:700; vertical-align:middle; margin-left:6px; }
.notif-scope i { font-size:.52rem; }

/* ── Instellingen: professionele "setting-rijen" (label links, control rechts) ── */
.set-rows { display:flex; flex-direction:column; }
.set-row { display:flex; align-items:center; gap:16px; padding:13px 16px; border-top:1px solid rgba(255,255,255,.05); }
.set-row:first-child { border-top:none; }
.set-row-main { flex:1 1 auto; min-width:0; }
.set-row-main .t { font-size:.76rem; font-weight:700; }
.set-row-main .d { font-size:.64rem; color:var(--muted); margin-top:2px; line-height:1.45; }
.set-row-ctrl { flex:0 0 auto; width:300px; max-width:48%; }
.set-row-ctrl .form-input, .set-row-ctrl .input-wrap { width:100%; }
.set-row-val { font-size:.78rem; font-weight:700; color:#fff; text-align:right; }
.set-row-val .sub { display:block; font-size:.6rem; color:var(--muted); font-weight:500; margin-top:1px; }
@media (max-width:620px) {
  .set-row { flex-direction:column; align-items:stretch; gap:8px; }
  .set-row-ctrl { width:100%; max-width:none; }
  .set-row-val { text-align:left; }
}
.set-foot { display:flex; justify-content:flex-end; align-items:center; gap:12px; padding:12px 16px; border-top:1px solid var(--border); flex-wrap:wrap; }
.set-foot-note { margin-right:auto; font-size:.64rem; color:var(--muted2); display:flex; align-items:center; gap:6px; line-height:1.4; }
.set-foot-note i { color:var(--gold); }

/* ── Juridische pagina's (voorwaarden / privacybeleid / spelregels) ── */
.legal-wrap { max-width: 820px; margin: 0 auto; }
.legal { background: var(--card, #14141c); border: 1px solid var(--border); border-radius: 16px; padding: 40px 44px; }
.legal-head { border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 8px; }
.legal-head h1 { font-size: 2rem; font-weight: 900; letter-spacing: -.5px; margin: 0 0 8px; color: var(--text); }
.legal-sub { font-size: .92rem; line-height: 1.6; color: var(--muted); margin: 0; }
.legal section { margin-top: 26px; }
.legal h2 { font-size: 1.12rem; font-weight: 800; color: var(--text); margin: 0 0 10px; }
.legal p { font-size: .95rem; line-height: 1.72; color: rgba(234,234,248,.78); margin: 0 0 10px; }
.legal ul { margin: 0 0 10px; padding-left: 20px; }
.legal li { font-size: .95rem; line-height: 1.7; color: rgba(234,234,248,.78); margin-bottom: 7px; }
.legal a { color: var(--accent-h); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--text); }
.legal-note { margin-top: 28px; padding: 14px 16px; background: var(--accent-dim); border: 1px solid rgba(192,57,43,.25); border-radius: 10px; font-size: .9rem; line-height: 1.6; color: rgba(234,234,248,.82); }
.legal-foot { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border); font-size: .9rem; color: var(--muted); text-align: center; }
.legal-foot a { color: var(--accent-h); text-decoration: none; }
.legal-foot a:hover { text-decoration: underline; }
@media (max-width: 640px) { .legal { padding: 26px 20px; } .legal-head h1 { font-size: 1.55rem; } }

/* Verplichte acceptatie-checkbox bij registratie */
.form-accept { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; font-size: .82rem; line-height: 1.5; color: var(--muted); cursor: pointer; }
.form-accept input[type=checkbox] { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 1px; accent-color: var(--accent); cursor: pointer; }
.form-accept a { color: var(--accent-h); text-decoration: none; }
.form-accept a:hover { text-decoration: underline; }
.form-accept strong { color: rgba(234,234,248,.8); }

/* "Onthoud mij"-checkbox bij login */
.form-remember { display: flex; align-items: center; gap: 9px; margin: 6px 0 14px; font-size: .85rem; color: var(--muted); cursor: pointer; user-select: none; }
.form-remember input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; flex: 0 0 auto; }
.form-remember span { line-height: 1.3; }

/* Social-icons in de topbar verbergen op mobiel (minder rommel). */
@media (max-width: 768px) { .topbar-btn.tb-social { display: none !important; } }
