/* ============================================================
   BosFinance — Liquid Glass Dark
   Een verfijnd, rustig en premium designsysteem.
   ============================================================ */

:root {
    /* Basislagen */
    --bg: #05060a;
    --bg-2: #090b11;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-2: rgba(255, 255, 255, 0.08);
    --glass-3: rgba(255, 255, 255, 0.12);
    --stroke: rgba(255, 255, 255, 0.09);
    --stroke-2: rgba(255, 255, 255, 0.16);
    --highlight: rgba(255, 255, 255, 0.30);

    /* Inkt */
    --t1: rgba(255, 255, 255, 0.95);
    --t2: rgba(255, 255, 255, 0.64);
    --t3: rgba(255, 255, 255, 0.40);
    --t4: rgba(255, 255, 255, 0.26);

    /* Accenten */
    --blue: #0a84ff;
    --blue-2: #409cff;
    --green: #30d158;
    --green-ink: #34c759;
    --red: #ff453a;
    --red-ink: #ff6961;
    --orange: #ff9f0a;
    --yellow: #ffd60a;
    --purple: #bf5af2;
    --teal: #64d2ff;
    --pink: #ff375f;
    --indigo: #5e5ce6;

    /* Radius */
    --r-xl: 28px;
    --r-lg: 22px;
    --r-md: 16px;
    --r-sm: 11px;

    /* Schaduw */
    --sh-1: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.36);
    --sh-2: 0 2px 6px rgba(0,0,0,.35), 0 24px 60px rgba(0,0,0,.5);
    --sh-pop: 0 8px 20px rgba(0,0,0,.4), 0 40px 100px rgba(0,0,0,.62);

    --blur: saturate(165%) blur(26px);
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
    --mono: "SF Mono", "Cascadia Code", ui-monospace, Consolas, monospace;

    --sidebar-w: 258px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--t1);
    font-size: 14.5px;
    line-height: 1.5;
    letter-spacing: -0.006em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Ambient gloed */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(1200px 760px at 8% -12%, rgba(10,132,255,.18), transparent 58%),
        radial-gradient(1000px 720px at 96% -4%, rgba(191,90,242,.13), transparent 56%),
        radial-gradient(1100px 900px at 50% 118%, rgba(48,209,88,.08), transparent 54%),
        var(--bg);
}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 3px 3px;
    pointer-events: none;
    opacity: .6;
}

::selection { background: rgba(10,132,255,.42); }

a { color: inherit; text-decoration: none; }

/* Iconen */
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: middle; }
.icon.sm { width: 16px; height: 16px; }
.icon.lg { width: 26px; height: 26px; }
.icon.xl { width: 34px; height: 34px; stroke-width: 1.5; }

/* ---------- Layout ---------- */
.app { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; }

.sidebar {
    position: sticky; top: 0; height: 100vh;
    display: flex; flex-direction: column;
    padding: 20px 14px 16px;
    background: linear-gradient(180deg, rgba(17,19,26,.72), rgba(9,11,17,.72));
    backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
    border-right: 1px solid var(--stroke);
    z-index: 20;
}

.brand { display: flex; align-items: center; gap: 12px; padding: 6px 10px 20px; }
.brand-mark {
    width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: #fff;
    background: linear-gradient(150deg, #2a93ff, #5e5ce6);
    box-shadow: 0 8px 22px rgba(10,132,255,.4), inset 0 1px 0 rgba(255,255,255,.4);
}
.brand-mark .icon { width: 22px; height: 22px; stroke-width: 2; }
.brand-name { font-size: 16px; font-weight: 750; letter-spacing: -0.02em; }
.brand-sub { font-size: 11px; color: var(--t3); font-weight: 500; margin-top: 1px; }

.nav-label { font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--t4); padding: 14px 12px 6px; }

.nav-item {
    display: flex; align-items: center; gap: 12px;
    padding: 9px 12px; border-radius: var(--r-sm);
    border: 1px solid transparent; color: var(--t2);
    font: inherit; font-size: 13.5px; font-weight: 550;
    width: 100%; text-align: left; cursor: pointer; background: none;
    transition: background .16s, color .16s, border-color .16s, transform .1s;
}
.nav-item:hover { background: var(--glass); color: var(--t1); }
.nav-item:active { transform: scale(.99); }
.nav-item.active {
    background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.05));
    border-color: var(--stroke-2); color: var(--t1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 6px 16px rgba(0,0,0,.28);
}
.nav-item.active .icon { color: var(--blue-2); }
.nav-item .icon { width: 19px; height: 19px; }
.nav-badge { margin-left: auto; font-size: 10.5px; font-weight: 750; padding: 1px 7px; border-radius: 99px; background: rgba(255,159,10,.2); color: #ffce6a; }

.sidebar-foot { margin-top: auto; padding: 12px 10px 4px; border-top: 1px solid var(--stroke); }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-sm); }
.user-chip:hover { background: var(--glass); }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; flex: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.user-name { font-size: 13px; font-weight: 600; line-height: 1.2; }
.user-role { font-size: 11px; color: var(--t3); }

/* Navigatie scrollt zelfstandig; de gebruikerskaart onderaan blijft altijd staan. */
.sidebar nav { flex: 1 1 auto; overflow-y: auto; min-height: 0; margin: 0 -4px; padding: 0 4px; }
.sidebar nav::-webkit-scrollbar { width: 7px; }
.sidebar nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 99px; }
.sidebar nav { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.14) transparent; }

.main { min-width: 0; width: 100%; max-width: 1500px; margin-inline: 0 auto; padding: 26px clamp(20px, 3vw, 44px) 72px; }

/* Mobiele topbar + schuiflade-menu */
.topbar { display: none; }
.menu-toggle { display: none; }
@media (max-width: 900px) {
    .app { grid-template-columns: 1fr; }
    .topbar {
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        position: sticky; top: 0; z-index: 25;
        /* Onder de dynamic island / statusbalk in een PWA. */
        padding: calc(10px + env(safe-area-inset-top)) calc(14px + env(safe-area-inset-right)) 10px calc(14px + env(safe-area-inset-left));
        background: rgba(9,11,17,.92); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
        border-bottom: 1px solid var(--stroke);
    }
    .topbar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--t1); }
    .topbar-brand .brand-mark { width: 34px; height: 34px; border-radius: 11px; }
    .topbar-brand .brand-mark .icon { width: 19px; height: 19px; }
    .topbar-name { font-size: 16px; font-weight: 750; letter-spacing: -0.02em; }
    .menu-toggle {
        display: inline-grid; place-items: center; flex: none;
        width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--stroke-2);
        background: var(--glass); color: var(--t1); cursor: pointer;
    }
    .menu-toggle .icon { width: 22px; height: 22px; }
    .sidebar {
        position: fixed; inset: 0 auto 0 0; width: min(86vw, 310px);
        transform: translateX(-100%); transition: transform .28s cubic-bezier(.4,0,.2,1);
        z-index: 40;
        /* Schuiflade start onder de dynamic island. */
        padding: calc(20px + env(safe-area-inset-top)) 14px calc(16px + env(safe-area-inset-bottom)) calc(14px + env(safe-area-inset-left));
    }
    .sidebar.open { transform: none; box-shadow: var(--sh-pop); }
    .main { padding: 16px calc(15px + env(safe-area-inset-right)) calc(48px + env(safe-area-inset-bottom)) calc(15px + env(safe-area-inset-left)); }
    .scrim { position: fixed; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(3px); z-index: 30; }
}

/* ---------- Koppen ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 24px; flex-wrap: wrap; }
.page-title { font-size: 28px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }
.page-sub { color: var(--t2); font-size: 14px; margin-top: 4px; }
.section-title { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 16px; display: flex; align-items: center; gap: 9px; }
.section-title .hint { font-weight: 500; font-size: 12.5px; color: var(--t3); letter-spacing: 0; }

/* ---------- Cards ---------- */
.card {
    position: relative; border-radius: var(--r-lg);
    background: linear-gradient(180deg, var(--glass-2), var(--glass));
    border: 1px solid var(--stroke);
    box-shadow: var(--sh-1);
    backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
    padding: 22px; overflow: hidden;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent 5%, var(--highlight) 50%, transparent 95%); opacity: .5; }
.card.tight { padding: 16px 18px; }
.card.plain { background: var(--glass); }

.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: 1fr 1fr; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .g4 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: 1fr; } .g2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .g4 { grid-template-columns: 1fr; } }

/* ---------- Stat-tegels ---------- */
.stat { display: flex; flex-direction: column; gap: 3px; }
.stat-top { display: flex; align-items: center; gap: 9px; }
.stat-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.stat-ic .icon { width: 18px; height: 18px; }
.stat-label { font-size: 12px; font-weight: 600; color: var(--t2); text-transform: uppercase; letter-spacing: .05em; }
.stat-value { font-size: 25px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-top: 7px; }
.stat-sub { font-size: 12.5px; color: var(--t3); margin-top: 3px; }
.pos { color: var(--green-ink); } .neg { color: var(--red-ink); }

/* ---------- Knoppen ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 9.5px 16px; border-radius: var(--r-sm);
    border: 1px solid var(--stroke-2); color: var(--t1);
    background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
    font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14), var(--sh-1);
    transition: filter .15s, transform .09s, background .15s, border-color .15s;
}
.btn:hover { filter: brightness(1.16); }
.btn:active { transform: scale(.975); }
.btn:disabled { opacity: .45; cursor: not-allowed; filter: none; }
.btn .icon { width: 17px; height: 17px; }
.btn.primary { background: linear-gradient(180deg, #2a93ff, #0a6fe0); border-color: rgba(255,255,255,.24); box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 8px 22px rgba(10,132,255,.4); }
.btn.success { background: linear-gradient(180deg, #34d15f, #24a247); border-color: rgba(255,255,255,.2); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 8px 22px rgba(48,209,88,.32); }
.btn.danger { background: linear-gradient(180deg, rgba(255,69,58,.9), rgba(206,42,33,.9)); border-color: rgba(255,255,255,.18); }
.btn.ghost { background: transparent; border-color: var(--stroke); box-shadow: none; color: var(--t2); }
.btn.ghost:hover { color: var(--t1); background: var(--glass); }
.btn.sm { padding: 6px 11px; font-size: 12px; border-radius: 9px; }
.btn.block { width: 100%; }

.icon-btn { width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 9px; border: 1px solid transparent; background: none; color: var(--t3); cursor: pointer; transition: background .15s, color .15s; }
.icon-btn:hover { background: var(--glass-2); color: var(--t1); }

/* ---------- Formulieren ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-size: 12px; font-weight: 600; color: var(--t2); }
.input, select.input, textarea.input {
    width: 100%; padding: 10px 13px; border-radius: var(--r-sm);
    border: 1px solid var(--stroke); background: rgba(0,0,0,.3); color: var(--t1);
    font: inherit; font-size: 13.5px; outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.input:focus { border-color: rgba(10,132,255,.7); box-shadow: 0 0 0 3.5px rgba(10,132,255,.22); }
.input::placeholder { color: var(--t3); }
select.input option { background: #14161c; }
textarea.input { resize: vertical; min-height: 76px; }
.input-euro { position: relative; }
.input-euro > span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--t3); font-size: 13.5px; pointer-events: none; }
.input-euro .input { padding-left: 26px; text-align: left; }

/* Segmented */
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 12px; background: rgba(0,0,0,.34); border: 1px solid var(--stroke); }
.seg a, .seg button { padding: 6px 13px; border: none; border-radius: 9px; background: none; color: var(--t2); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.seg a.active, .seg button.active { background: linear-gradient(180deg, rgba(255,255,255,.17), rgba(255,255,255,.09)); color: var(--t1); box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }

/* ---------- Chips / tags ---------- */
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; padding: 4px 11px 4px 8px; border-radius: 99px; border: 1px solid var(--stroke); background: var(--glass); white-space: nowrap; }
.chip .icon { width: 14px; height: 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.chip.muted { color: var(--t3); font-style: italic; }

/* ---------- Tabellen ---------- */
.tablewrap { overflow-x: auto; margin: 0 -6px; }
table.tbl { width: 100%; border-collapse: collapse; }
table.tbl th { text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--t3); padding: 9px 10px; border-bottom: 1px solid var(--stroke); }
table.tbl td { padding: 11px 10px; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 13px; vertical-align: middle; }
table.tbl tbody tr { transition: background .12s; }
table.tbl tbody tr.clickable { cursor: pointer; }
table.tbl tbody tr.clickable:hover { background: rgba(255,255,255,.045); }
.amount { font-variant-numeric: tabular-nums; font-weight: 650; text-align: right; white-space: nowrap; }

/* ---------- Voortgang ---------- */
.bar { height: 9px; border-radius: 99px; background: rgba(0,0,0,.38); border: 1px solid rgba(255,255,255,.05); overflow: hidden; position: relative; }
.bar > i { display: block; height: 100%; border-radius: 99px; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); transition: width .6s cubic-bezier(.22,1,.36,1); }
.bar-mark { position: absolute; top: -2px; bottom: -2px; width: 2px; border-radius: 2px; background: rgba(255,255,255,.7); }

/* ---------- Banklogo's ---------- */
.bank-logo { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; flex: none; overflow: hidden; background: #fff; }
.bank-logo svg, .bank-logo img { width: 100%; height: 100%; display: block; }
.bank-logo.sm { width: 20px; height: 20px; border-radius: 5px; }

/* ---------- Modal ---------- */
.modal-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.58); backdrop-filter: blur(9px); display: grid; place-items: center; padding: 20px; animation: fade .18s ease; }
.modal {
    width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto;
    background: linear-gradient(180deg, rgba(34,37,46,.94), rgba(22,24,31,.94));
    border: 1px solid var(--stroke-2); border-radius: var(--r-lg); padding: 26px;
    box-shadow: var(--sh-pop); backdrop-filter: var(--blur);
    animation: pop .24s cubic-bezier(.22,1,.36,1);
}
.modal h2 { font-size: 19px; font-weight: 760; letter-spacing: -0.02em; margin-bottom: 4px; }
.modal .modal-sub { color: var(--t2); font-size: 13px; margin-bottom: 18px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(8px); } }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 13px; background: rgba(38,42,52,.94); border: 1px solid var(--stroke-2); box-shadow: var(--sh-pop); backdrop-filter: var(--blur); font-size: 13.5px; font-weight: 600; animation: toast .28s cubic-bezier(.22,1,.36,1); }
.toast .icon { width: 18px; height: 18px; }
.toast.success .icon { color: var(--green-ink); }
.toast.error .icon { color: var(--red-ink); }
@keyframes toast { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Lege staat ---------- */
.empty { text-align: center; padding: 40px 20px; color: var(--t3); }
.empty .emoji-ic { width: 56px; height: 56px; border-radius: 16px; display: inline-grid; place-items: center; background: var(--glass-2); border: 1px solid var(--stroke); margin-bottom: 14px; }
.empty .emoji-ic .icon { width: 26px; height: 26px; color: var(--t2); }
.empty p { max-width: 440px; margin: 0 auto; font-size: 13.5px; line-height: 1.6; }
.empty .btn { margin-top: 16px; }

/* ---------- Dropzone ---------- */
.dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 200px; border: 1.5px dashed var(--stroke-2); border-radius: var(--r-md); padding: 32px 24px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; background: rgba(255,255,255,.02); }
.dropzone > div { max-width: 640px; }
.dropzone:hover, .dropzone.over { border-color: var(--blue); background: rgba(10,132,255,.07); }
.dropzone .emoji-ic { width: 58px; height: 58px; border-radius: 16px; display: inline-grid; place-items: center; background: var(--glass-2); border: 1px solid var(--stroke); margin-bottom: 12px; }
.dropzone .emoji-ic .icon { width: 28px; height: 28px; color: var(--blue-2); }

/* ---------- Diversen ---------- */
.row { display: flex; align-items: center; gap: 10px; }
.row.between { justify-content: space-between; }
.row.wrap { flex-wrap: wrap; }
.spacer { flex: 1; }
.muted { color: var(--t2); } .faint { color: var(--t3); } .small { font-size: 12.5px; }
.stack { display: flex; flex-direction: column; }
hr.sep { border: none; border-top: 1px solid var(--stroke); margin: 16px 0; }
.pill-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 14px; }
.pill-legend span { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--t2); }
.badge-soft { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 99px; }
.mt8{margin-top:8px}.mt12{margin-top:12px}.mt16{margin-top:16px}.mt20{margin-top:20px}.mt24{margin-top:24px}
.mb0{margin-bottom:0}

/* ---------- Auth ---------- */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-brand { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 26px; }
.auth-brand .brand-mark { width: 56px; height: 56px; border-radius: 18px; }
.auth-brand .brand-mark .icon { width: 30px; height: 30px; }
.auth-brand h1 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.auth-brand p { color: var(--t3); font-size: 13px; }
.alert { padding: 11px 14px; border-radius: var(--r-sm); font-size: 13px; font-weight: 550; margin-bottom: 16px; display: flex; gap: 9px; align-items: flex-start; }
.alert .icon { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.alert.error { background: rgba(255,69,58,.14); border: 1px solid rgba(255,69,58,.3); color: #ffb3ad; }
.alert.success { background: rgba(48,209,88,.14); border: 1px solid rgba(48,209,88,.3); color: #a6f0bb; }
.alert.info { background: rgba(10,132,255,.13); border: 1px solid rgba(10,132,255,.3); color: #a9d3ff; }
.auth-foot { text-align: center; margin-top: 18px; font-size: 12.5px; color: var(--t3); }

/* Code-invoer (2FA) */
.code-input { letter-spacing: .5em; text-align: center; font-size: 22px; font-weight: 700; font-family: var(--mono); }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.14); border-radius: 99px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.24); border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- Print (PDF-rapport) ---------- */
@media print {
    body { background: #fff; color: #111; }
    body::before, body::after, .sidebar, .menu-toggle, .topbar, .no-print { display: none !important; }
    .app { display: block; }
    .main { max-width: none; padding: 0; }
    .card { background: #fff; border: 1px solid #ddd; box-shadow: none; backdrop-filter: none; break-inside: avoid; }
    .card::before { display: none; }
    .stat-value, .page-title { color: #111; }
    .muted, .faint, .stat-label, .stat-sub, .page-sub { color: #555; }
    .pos { color: #1a7f37; } .neg { color: #c1291d; }
}

/* Emoji-kiezer (klusjes & badges) */
.emoji-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.js-emoji { width: 40px; height: 40px; border-radius: 11px; border: 2px solid transparent; background: rgba(255,255,255,.05); font-size: 21px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .12s, border-color .12s; }
.js-emoji:hover { background: rgba(255,255,255,.11); }
.js-emoji.sel { border-color: #fff; background: rgba(255,255,255,.14); }
.badge-medal { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; }
