/* Pagina Pimpen: glitter & glamour, groot genoeg voor duimen. */
:root {
    --roze: #ff4fb8;
    --roze-licht: #ffd6f0;
    --paars: #8a3ffc;
    --paars-donker: #2b0a4a;
    --oranje: #ff9a0e;
    --goud: #ffc628;
    --tekst: #3a1552;
    --tekst-zacht: #6f4a86;
    --kaart: #fffafd;
    --lijn: #f1d9ee;
    --regenboog: linear-gradient(90deg, #ff3c7d, #ff9a2e, #ffe23a, #44e07a, #3ab8ff, #9a5cff, #ff3c7d);
    --doel: 48px; /* minimale grootte van alles waar je op tikt */
    --boven: env(safe-area-inset-top, 0px);
    --onder: env(safe-area-inset-bottom, 0px);
    color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
    background: var(--paars-donker);
    font-size: 106.25%; /* 17px */
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Nunito, "Trebuchet MS", sans-serif;
    line-height: 1.5;
    color: var(--tekst);
    background:
        radial-gradient(ellipse at top, rgba(255, 79, 184, .55), transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(138, 63, 252, .6), transparent 55%),
        linear-gradient(160deg, #3d0d63, #1c0633 70%);
    overflow-x: hidden;
}
html.studio-open, body.studio-open {
    overflow: hidden !important;
    height: 100% !important;
}

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--goud); outline-offset: 2px; }
img, canvas { max-width: 100%; }

/* Sterrenhemel die zachtjes fonkelt */
.twinkels {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, #fff, transparent),
        radial-gradient(2px 2px at 140px 80px, #ffd6f0, transparent),
        radial-gradient(1.5px 1.5px at 90px 150px, #fff, transparent),
        radial-gradient(2.5px 2.5px at 200px 190px, #ffe98a, transparent),
        radial-gradient(1.5px 1.5px at 250px 40px, #fff, transparent);
    background-size: 280px 220px;
    animation: fonkel 3s ease-in-out infinite alternate;
}
@keyframes fonkel { from { opacity: .25; } to { opacity: 1; } }
@keyframes glans { to { background-position: 200% center; } }
@keyframes glans-schuif { to { transform: translateX(-50%); } }
/* Tegels buiten beeld hoeven niet te glanzen (tegels.js zet .in-beeld). */
.tegel:not(.in-beeld)::before { animation-play-state: paused; }

main, .kop, .voet, .privacybalk { position: relative; z-index: 1; }
main { max-width: 1180px; margin: 0 auto; padding: 0 16px 48px; }

.privacybalk {
    margin: 0;
    padding: 8px 16px;
    text-align: center;
    font-size: .88rem;
    font-weight: 900;
    color: #1d0b33;
    background: linear-gradient(90deg, #7dffc0, #b8f5ff, #7dffc0);
}
.als-app .privacybalk { padding-top: calc(8px + var(--boven)); }

/* ---------- Kop ---------- */
.kop {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 20px;
    padding: 18px 16px 8px;
}
.merk {
    position: relative;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.merk-logo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .85), 0 6px 18px rgba(255, 154, 14, .55);
}
.merk-naam {
    display: inline-block;
    font-family: Pacifico, cursive;
    font-size: clamp(2rem, 7vw, 3rem);
    line-height: 1.4;
    padding: 2px 6px 10px;
    margin: -2px -6px -6px;
    background: var(--regenboog);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 0 #fff) drop-shadow(0 0 14px rgba(255, 79, 184, .7));
    animation: glans 4s linear infinite;
    white-space: nowrap;
}
.hoofdmenu {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}
.hoofdmenu a, .knop-app {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, .4);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}
.hoofdmenu a:hover { background: rgba(255, 255, 255, .18); }
.hoofdmenu a[aria-current="page"] { background: #fff; color: var(--paars); border-color: #fff; }
.knop-app { background: var(--oranje); border-color: var(--oranje); box-shadow: 0 3px 0 #b86a00; }

.formaten {
    position: relative;
    z-index: 1;
    flex-basis: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    width: fit-content;
    margin: 8px auto 0;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .2);
}
.formaten a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}
.formaten a small { font-weight: 700; opacity: .7; }
.formaten a:hover { background: rgba(255, 255, 255, .15); }
.formaten a[aria-current="page"] {
    background: linear-gradient(90deg, #ff3c9d, #b04dff);
    box-shadow: 0 3px 0 #9b1a78, 0 0 16px rgba(255, 79, 184, .6);
}

/* ---------- Held en stappen ---------- */
.held { text-align: center; color: #fff; max-width: 780px; margin: 12px auto 24px; }
.held h1 {
    margin: 8px 0 8px;
    font-size: clamp(1.9rem, 5.5vw, 2.8rem);
    font-weight: 900;
    line-height: 1.15;
    text-shadow: 0 3px 0 #9b1a78, 0 0 20px rgba(255, 79, 184, .7);
}
.held p { margin: 0 0 10px; font-size: 1.05rem; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
.held-maat { opacity: .85; font-size: .95rem !important; }
.stappenplan {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin: 14px 0;
    padding: 0;
    list-style: none;
    font-weight: 900;
}
.stappenplan li { display: inline-flex; align-items: center; gap: 8px; }
.stappenplan span, .stapnr {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: 50%;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--roze), var(--paars));
    box-shadow: 0 3px 0 #9b1a78;
    text-shadow: none;
}

.stap { margin: 0 0 30px; scroll-margin-top: 12px; }
.stap > h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
    color: #fff;
    font-size: 1.55rem;
    font-weight: 900;
    text-shadow: 0 2px 0 #9b1a78;
}
.stapnr { width: 40px; height: 40px; font-size: 1.2rem; }
.stap-uitleg { margin: -4px 0 14px; color: #f1d9ff; }

.melding { padding: 12px 16px; border-radius: 16px; font-weight: 700; margin: 0 0 16px; }
.melding.fout { background: #ffe1e8; color: #a3002f; border: 2px solid #ff8aa8; }
.melding.info { background: #eef7ff; color: #1b4a7a; border: 2px solid #9fcdff; }

/* ---------- Stap 1: fotolade ---------- */
.fotolade {
    background: var(--kaart);
    border-radius: 24px;
    padding: 18px;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .3), 0 12px 36px rgba(20, 0, 40, .45);
}
.lade-laden { margin: 0; text-align: center; color: var(--tekst-zacht); }
.dropzone {
    display: grid;
    place-items: center;
    gap: 4px;
    width: 100%;
    min-height: 190px;
    padding: 20px;
    border: 3px dashed var(--roze);
    border-radius: 20px;
    background: repeating-linear-gradient(45deg, #fff0fa, #fff0fa 12px, #fff 12px, #fff 24px);
    color: var(--tekst-zacht);
    text-align: center;
    transition: transform .15s;
}
.dropzone:hover { transform: scale(1.01); border-style: solid; }
.dz-icoon { font-size: 3.2rem; line-height: 1; }
.dropzone strong { font-size: 1.45rem; color: var(--tekst); }
.lade-acties { display: flex; justify-content: center; margin-top: 14px; }
.lade-privacy { margin: 12px 0 0; text-align: center; font-size: .9rem; color: var(--tekst-zacht); }
.lade-strook {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 10px 4px 12px;
    scroll-snap-type: x proximity;
}
.lade-foto { position: relative; flex: none; scroll-snap-align: start; }
.lade-kies, .lade-plus {
    position: relative;
    display: block;
    width: 92px;
    height: 92px;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
}
.lade-kies { border: 4px solid transparent; background: #fff; box-shadow: 0 3px 10px rgba(60, 0, 80, .2); }
.lade-kies img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lade-foto.gekozen .lade-kies { border-color: var(--roze); box-shadow: 0 0 0 4px var(--roze-licht); }
.lade-weg {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid #fff;
    background: var(--tekst);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1;
}
.lade-weg::after { content: ""; position: absolute; inset: -8px; } /* groter tikvlak */
.lade-plus {
    display: grid;
    place-content: center;
    gap: 0;
    flex: none;
    border: 3px dashed var(--roze);
    background: #fff0fa;
    color: var(--roze);
    font-weight: 900;
    font-size: .85rem;
}
.plus-teken { font-size: 2rem; line-height: 1; }
.foto-vb {
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border-radius: 8px;
    background: rgba(43, 10, 74, .78);
    color: #fff;
    font-size: .68rem;
    font-weight: 900;
    text-align: center;
}
.lade-tip { margin: 4px 0 0; color: var(--tekst-zacht); font-size: .92rem; }

/* ---------- Stap 2: filters en tegels ---------- */
.filters {
    display: flex;
    gap: 8px;
    margin: 0 -16px 18px;
    padding: 2px 16px 6px;
    overflow-x: auto;
    scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.filters button {
    flex: none;
    min-height: var(--doel);
    padding: 0 18px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-weight: 900;
    font-size: 1rem;
}
.filters button[aria-pressed="true"] { background: #fff; color: var(--paars); border-color: #fff; }
.leeg { text-align: center; color: #fff; font-weight: 700; }
.leeg a { color: #fff; }

.categorie > h3 {
    margin: 10px 0 12px;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 900;
    text-shadow: 0 2px 0 #9b1a78;
}
.tegels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 26px;
}
.tegel {
    position: relative;
    background: var(--kaart);
    border-radius: 22px;
    overflow: clip;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .3), 0 10px 28px rgba(20, 0, 40, .4);
    transition: transform .15s, box-shadow .15s;
    scroll-margin-top: 16px;
}
.tegel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 400%;
    height: 6px;
    z-index: 2;
    /* Eén regenboog is twee tegels breed. Hij schuift met transform: dat doet de videokaart, zodat de
       pagina niet elk beeldje alle tegels opnieuw hoeft te tekenen (dat maakte snel scrollen schokkerig). */
    background: var(--regenboog);
    background-size: 50% 100%;
    animation: glans-schuif 3s linear infinite;
}
.tegel-open { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.tegel-beeld {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    background: repeating-linear-gradient(45deg, #fff0fa, #fff0fa 10px, #fff 10px, #fff 20px);
    overflow: hidden;
}
.tegel-canvas { width: 100%; height: 100%; object-fit: contain; }
.tegel.laden .tegel-beeld::after {
    content: "✨";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    background: rgba(255, 255, 255, .45);
    animation: fonkel .8s ease-in-out infinite alternate;
}
.tegel-soort {
    position: absolute;
    left: 8px;
    bottom: 8px;
    z-index: 1;
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(43, 10, 74, .82);
    color: #fff;
    font-size: .7rem;
    font-weight: 900;
}
.tegel-tekst { padding: 10px 14px 16px; }
.tegel-naam { margin: 0; font-size: 1.08rem; font-weight: 900; line-height: 1.25; }
.tegel-uitleg {
    display: -webkit-box;
    margin: 4px 0 0;
    overflow: hidden;
    color: var(--tekst-zacht);
    font-size: .88rem;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.favoriet {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: var(--tekst-zacht);
    font-size: 1.35rem;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(60, 0, 80, .25);
}
.favoriet.aan { background: #fff4c7; color: #d99600; }
.tegel .favoriet { position: absolute; top: 12px; right: 8px; z-index: 3; }
.tegel.uitgelicht { box-shadow: 0 0 0 4px var(--goud), 0 0 40px rgba(255, 198, 40, .7); }
@media (hover: hover) {
    .tegel:hover { transform: translateY(-3px) rotate(-.4deg); box-shadow: 0 0 0 3px #fff, 0 14px 34px rgba(20, 0, 40, .5); }
}

/* ---------- Knoppen ---------- */
.knop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: var(--doel);
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: var(--paars);
    color: #fff;
    font-weight: 900;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 0 #5a1fb8;
    transition: transform .1s, filter .1s;
}
.knop:hover:not(:disabled) { filter: brightness(1.08); }
.knop:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 #5a1fb8; }
.knop:disabled { opacity: .45; cursor: not-allowed; }
.knop.groot { min-height: 56px; font-size: 1.08rem; padding: 0 22px; }
.knop.klein { min-height: 44px; padding: 0 16px; font-size: .95rem; }
.knop.licht { background: #fff; color: var(--tekst); box-shadow: 0 0 0 2px var(--lijn), 0 4px 0 #e6cfe3; }
.knop.maak {
    background: linear-gradient(90deg, #ff3c9d, #b04dff, #ff3c9d);
    background-size: 200% auto;
    box-shadow: 0 4px 0 #9b1a78, 0 0 16px rgba(255, 79, 184, .45);
    animation: glans 2.5s linear infinite;
}
.knop.roze { background: #ff5fa8; box-shadow: 0 4px 0 #c42a78; }
.knop.paars { background: linear-gradient(90deg, #7a3bff, #3ab8ff); box-shadow: 0 4px 0 #3f1a9b; }
.knop.groen, .knop.whatsapp { background: #25d366; color: #fff; box-shadow: 0 4px 0 #128c7e; }
.knop.groen:hover:not(:disabled), .knop.whatsapp:hover:not(:disabled) { background: #20bd5a; }
.linkknop {
    padding: 4px 2px;
    border: 0;
    background: none;
    color: var(--roze);
    font-weight: 900;
    text-decoration: underline;
}

/* ---------- Invoer en opties (groot) ---------- */
.veld { display: grid; gap: 8px; }
.plek-veld { grid-template-columns: 1fr auto; align-items: center; }
.plek-veld .veld-label { grid-column: 1 / -1; }
.plek-uitleg { font-size: .88rem; font-weight: 700; opacity: .85; }
.veld-label, .schuif-label { font-weight: 900; font-size: .98rem; }
.kleuren, .knopjes { display: flex; flex-wrap: wrap; gap: 8px; }
.kleurtje input, .knopje input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.kleurtje {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: var(--doel);
    padding: 4px 14px 4px 4px;
    border: 2px solid var(--lijn);
    border-radius: 999px;
    background: #fff;
    color: var(--tekst);
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
    transition: all .15s;
    -webkit-tap-highlight-color: transparent;
}
.kleurtje:hover { border-color: var(--roze); }
.kleurtje:has(input:checked), .kleurtje[aria-checked="true"], .kleurtje.actief {
    border-color: var(--roze);
    background: var(--roze-licht);
    box-shadow: 0 0 0 2px var(--roze);
}
.bolletje {
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .9), transparent 40%), var(--kleur);
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .1);
}
.regenboog .bolletje {
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .9), transparent 40%),
        conic-gradient(#ff3c7d, #ff9a2e, #ffe23a, #44e07a, #3ab8ff, #9a5cff, #ff3c7d);
}
.kleurtje:has(input:focus-visible), .knopje:has(input:focus-visible),
.kleurtje:focus-visible, .knopje:focus-visible { outline: 3px solid var(--goud); outline-offset: 2px; }

.knopje {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--doel);
    padding: 0 18px;
    border: 2px solid var(--lijn);
    border-radius: 999px;
    background: #fff;
    color: var(--tekst);
    font-weight: 800;
    font-size: .95rem;
    cursor: pointer;
    transition: all .15s;
    -webkit-tap-highlight-color: transparent;
}
.knopje:hover { border-color: var(--roze); }
.knopje:has(input:checked), .knopje[aria-checked="true"], .knopje.actief {
    background: var(--paars);
    border-color: var(--paars);
    color: #fff;
}
.knopje span {
    display: inline-flex;
    align-items: center;
    pointer-events: none;
}

input[type="text"], input[type="date"] {
    width: 100%;
    min-height: var(--doel);
    padding: 8px 14px;
    border: 2px solid #f1c9e6;
    border-radius: 14px;
    background: #fff;
    color: var(--tekst);
    font-weight: 700;
    font-size: 1rem; /* 16px+: iPhones zoomen dan niet in */
}
input[type="text"]:focus, input[type="date"]:focus { outline: none; border-color: var(--roze); box-shadow: 0 0 0 4px rgba(255, 79, 184, .2); }

.schuif-rij { display: grid; grid-template-columns: minmax(65px, max-content) minmax(120px, 1fr) auto; align-items: center; gap: 10px 12px; }
.schuif-rij input[type="range"] { width: 100%; min-width: 120px; accent-color: var(--roze); cursor: pointer; }
.schuif-rij output { min-width: 4.5ch; text-align: right; font-weight: 900; font-variant-numeric: tabular-nums; }
input[type="range"] {
    width: 100%;
    height: 36px;
    margin: 0;
    background: transparent;
    accent-color: var(--roze);
    -webkit-appearance: none;
    appearance: none;
}
input[type="range"]::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--roze-licht), #e3c8ff); }
input[type="range"]::-moz-range-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--roze-licht), #e3c8ff); }
input[type="range"]::-webkit-slider-thumb {
    width: 30px;
    height: 30px;
    margin-top: -10px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: var(--roze);
    box-shadow: 0 2px 8px rgba(60, 0, 80, .35);
    -webkit-appearance: none;
}
input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: var(--roze);
    box-shadow: 0 2px 8px rgba(60, 0, 80, .35);
}
.vinkje { display: flex; align-items: center; gap: 10px; min-height: var(--doel); font-weight: 700; cursor: pointer; }
.vinkje input { width: 24px; height: 24px; flex: none; accent-color: var(--roze); }

/* ---------- Stap 3: de studio ---------- */
.studio {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--kaart);
    color: var(--tekst);
    z-index: 1000;
}
.studio[open] { display: flex; flex-direction: column; }
.studio::backdrop { background: rgba(25, 5, 45, .8); }
.studio-kop {
    flex: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    padding-top: max(10px, var(--boven));
    background: #fff;
    border-bottom: 2px solid var(--lijn);
}
.studio-terug {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: var(--doel);
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: #f5ebff;
    color: var(--paars);
    font-weight: 900;
    font-size: 1rem;
}
.studio-titel { flex: 1; margin: 0; font-size: 1.2rem; font-weight: 900; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.studio-lijf {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.studio-voorbeeld {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 10px 12px 6px;
    background: repeating-linear-gradient(45deg, #fff0fa, #fff0fa 12px, #fff 12px, #fff 24px);
    border-bottom: 2px solid var(--lijn);
}
.voorbeeld-vak { position: relative; display: grid; place-items: center; height: min(30dvh, 220px); min-height: 150px; }
.voorbeeld-canvas {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    touch-action: none;
    cursor: grab;
    background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0 / 16px 16px;
    filter: drop-shadow(0 6px 16px rgba(60, 0, 80, .25));
}
.sleept .voorbeeld-canvas { cursor: grabbing; }
.voorbeeld-bezig {
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(43, 10, 74, .85);
    color: #fff;
    font-weight: 900;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: draai .8s linear infinite;
}
@keyframes draai { to { transform: rotate(360deg); } }
.voorbeeld-schud {
    position: absolute;
    right: 4px;
    bottom: 4px;
    width: var(--doel);
    height: var(--doel);
    border: 0;
    border-radius: 50%;
    background: #fff;
    font-size: 1.4rem;
    box-shadow: 0 3px 10px rgba(60, 0, 80, .3);
}
.voorbeeld-hulp {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 6px;
    width: 100%;
    font-size: .88rem;
    font-weight: 700;
    color: var(--tekst-zacht);
}
.crop-uitklapper {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    border: 1.5px solid var(--lijn);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(60, 0, 80, .06);
    overflow: hidden;
    transition: all .2s ease;
}
.crop-uitklapper[open] {
    border-color: #dcb0eb;
    box-shadow: 0 3px 12px rgba(60, 0, 80, .1);
}
.crop-uitklap-knop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    padding: 6px 14px;
    font-size: .84rem;
    font-weight: 800;
    color: var(--tekst);
    cursor: pointer;
    list-style: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.crop-uitklap-knop::-webkit-details-marker { display: none; }
.crop-uitklap-knop:hover { background: #fbf5ff; color: var(--paars); }
.cuk-pijl {
    font-size: .95rem;
    color: var(--tekst-zacht);
    transition: transform .2s ease;
}
.crop-uitklapper[open] .cuk-pijl {
    transform: rotate(180deg);
}
.crop-uitklap-inhoud {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px 10px 10px;
    border-top: 1px solid var(--lijn);
    background: #fffafd;
}
.crop-bediening-rij {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}
.crop-pijlen {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px;
    background: #fff;
    border: 1.5px solid var(--lijn);
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(60, 0, 80, .08);
}
.knop-crop-pijl {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--tekst);
    font-size: .95rem;
    font-weight: 900;
    cursor: pointer;
    transition: background .15s, transform .1s;
    -webkit-tap-highlight-color: transparent;
}
.knop-crop-pijl:hover { background: #f5e9fc; }
.knop-crop-pijl:active { background: #ebd5f7; transform: scale(.92); }

.crop-presets {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px;
    background: #fff;
    border: 1.5px solid var(--lijn);
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(60, 0, 80, .08);
}
.knop-preset {
    min-height: 36px;
    padding: 0 11px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--tekst);
    font-size: .84rem;
    font-weight: 800;
    cursor: pointer;
    transition: all .15s;
    -webkit-tap-highlight-color: transparent;
}
.knop-preset:hover { background: #f5e9fc; }
.knop-preset.actief, .knop-preset[aria-pressed="true"] {
    background: var(--paars);
    color: #fff;
    box-shadow: 0 2px 6px rgba(138, 63, 252, .35);
}

.knop-herstel-crop {
    min-height: 36px;
    padding: 0 10px;
    font-weight: 800;
    font-size: .84rem;
}

.zoom-rij {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: min(280px, 92%);
}
.zoom-icoon { font-size: 1rem; }
.zoom-slider {
    flex: 1;
    min-width: 80px;
    accent-color: var(--paars);
    cursor: pointer;
}
.knop-zoom {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1.5px solid var(--lijn);
    border-radius: 10px;
    background: #fff;
    color: var(--tekst);
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transition: background .15s, transform .1s;
    -webkit-tap-highlight-color: transparent;
}
.knop-zoom:hover { background: #f5e9fc; }
.knop-zoom:active { transform: scale(.92); }
.zoom-rij:has(.zoom-waarde) { width: min(340px, 96%); }
.zoom-waarde { min-width: 3.2em; font-size: .82rem; font-weight: 900; text-align: right; font-variant-numeric: tabular-nums; }
/* Keuze voor de rand om een uitgezoomde foto */
.uitzoom-vulling { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.uitzoom-vulling[hidden] { display: none; }
.uitzoom-label { font-size: .82rem; font-weight: 800; }
.uitzoom-kleur { width: 38px; height: 32px; padding: 2px; border: 1.5px solid var(--lijn); border-radius: 8px; background: #fff; cursor: pointer; }

.hulp-tekst {
    width: 100%;
    text-align: center;
    font-size: .78rem;
    font-weight: 700;
    color: var(--tekst-zacht);
    margin: 0;
}

.foto-uitsnede-tip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    padding: 10px 14px;
    border-radius: 14px;
    background: #fbf5ff;
    border: 1.5px solid var(--lijn);
    font-size: .88rem;
    font-weight: 700;
    color: var(--tekst);
}
.knop-open-crop {
    font-weight: 800;
    white-space: nowrap;
}
.voorbeeld-info { margin: 4px 0 0; text-align: center; font-size: .82rem; font-weight: 800; color: var(--tekst-zacht); }
.studio-paneel {
    display: grid;
    gap: 18px;
    padding: 16px 16px max(48px, calc(24px + var(--onder)));
}
.studio-uitleg { margin: 0; font-size: 1.05rem; }
.studio-tip { margin: -8px 0 0; padding: 10px 12px; border-radius: 12px; background: #f9f0ff; color: var(--tekst-zacht); font-size: .92rem; }
.paneel-blok { display: grid; gap: 12px; margin: 0; }
.paneel-blok > h3, .opties .veld-label { margin: 0; font-size: 1.05rem; font-weight: 900; }
.opties { gap: 18px; }
.blok-uitleg { margin: 0; color: var(--tekst-zacht); font-size: .95rem; }
.formaat-keuze { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.formaat-platform-groep { grid-column: 1 / -1; min-width: 0; margin: 0; border-top: 1px solid var(--lijn); }
.formaat-platform-groep > summary { padding: 8px 4px; font-weight: 900; cursor: pointer; }
.formaat-platform-raster { padding: 2px 0 10px; grid-column: 1 / -1; }
.studio .formaat-platform-raster { grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }
.formaat-platform-overzicht { display: grid; gap: 4px; }
.formaat-chip .fc-naam, .formaat-chip .fc-maat { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.formaat-chip {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    min-height: 52px;
    padding: 8px 12px;
    border: 2px solid var(--lijn);
    border-radius: 14px;
    background: #fff;
    text-align: left;
    cursor: pointer;
}
.fc-icoon { font-size: 1.2rem; }
.fc-icoon:empty { display: none; }
.fc-naam { font-weight: 900; line-height: 1.15; }
.fc-maat { color: var(--tekst-zacht); font-size: .78rem; font-weight: 700; margin-top: 2px; }
.formaat-chip[aria-pressed="true"] { border-color: var(--paars); background: #f3eaff; box-shadow: 0 0 0 2px var(--paars); }
.studio-fotos { display: flex; gap: 10px; overflow-x: auto; padding: 8px 2px; }
.studio-foto {
    position: relative;
    flex: none;
    width: 76px;
    height: 76px;
    padding: 0;
    border: 3px solid transparent;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(60, 0, 80, .2);
}
.studio-foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.studio-foto[aria-pressed="true"] { border-color: var(--roze); box-shadow: 0 0 0 3px var(--roze-licht); }
.studio-foto.ongebruikt { opacity: .45; }
.studio-foto.plus { display: grid; place-items: center; border: 3px dashed var(--roze); background: #fff0fa; color: var(--roze); font-size: 1.8rem; font-weight: 900; }
.foto-nr {
    position: absolute;
    top: 4px;
    left: 4px;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--paars);
    color: #fff;
    font-size: .8rem;
    font-weight: 900;
}
.volgorde { display: flex; flex-wrap: wrap; gap: 8px; }
.video-kies { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.video-naam { font-weight: 800; color: var(--tekst-zacht); overflow-wrap: anywhere; }
.meer-opties { border: 2px solid var(--lijn); border-radius: 16px; background: #fff; }
.meer-opties summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--doel);
    padding: 0 16px;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}
.meer-opties summary::-webkit-details-marker { display: none; }
.meer-opties summary::after { content: "▾"; font-size: 1.2rem; transition: transform .2s; }
.meer-opties[open] summary::after { transform: rotate(180deg); }
.meer-inhoud { display: grid; gap: 18px; padding: 4px 16px 16px; }
.studio-melding { margin: 0; padding: 12px 14px; border-radius: 14px; background: #ffe1e8; color: #a3002f; font-weight: 800; }
.studio-acties {
    flex: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 12px;
    padding-bottom: max(10px, var(--onder));
    background: #fff;
    border-top: 2px solid var(--lijn);
    box-shadow: 0 -6px 20px rgba(60, 0, 80, .08);
}
.studio-acties.drie { grid-template-columns: 1.2fr 1.1fr 1fr; }
.studio-acties .knop { padding: 0 10px; }

@media (min-width: 900px) {
    .studio[open] {
        width: min(1200px, 95vw);
        height: min(880px, 93vh);
        margin: auto;
        border-radius: 26px;
        overflow: hidden;
        box-shadow: 0 30px 80px rgba(10, 0, 30, .6);
    }
    .studio-lijf {
        display: grid;
        grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1fr);
        grid-template-rows: minmax(0, 1fr);
        height: 100%;
        min-height: 0;
        overflow: hidden;
    }
    .studio-voorbeeld {
        position: relative;
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 0;
        max-height: 100%;
        overflow-y: auto;
        padding: 18px 20px;
        border-bottom: 0;
        border-right: 2px solid var(--lijn);
    }
    .voorbeeld-vak {
        flex: 1 1 0;
        height: auto;
        min-height: 160px;
        max-height: 100%;
        overflow: hidden;
    }
    .voorbeeld-canvas {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
    }
    .crop-uitklapper {
        flex: none;
        max-width: none;
    }
    .studio-paneel {
        height: 100%;
        min-height: 0;
        max-height: 100%;
        overflow-y: auto;
        overscroll-behavior: contain;
        align-content: start;
        padding: 20px 22px 40px;
    }
    .studio-acties { display: flex; justify-content: flex-end; padding: 12px 20px; }
    .studio-acties .knop { padding: 0 24px; }
    .formaat-keuze { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .formaat-chip { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 8px 6px; }
    .fc-icoon { grid-row: auto; }
}

/* ---------- Dialoogvenster (plekken kiezen, delen, melden) ---------- */
.dialoog {
    width: min(94vw, 760px);
    max-height: 92vh;
    padding: 20px;
    border: 0;
    border-radius: 24px;
    background: var(--kaart);
    color: var(--tekst);
    box-shadow: 0 20px 60px rgba(20, 0, 40, .6);
}
.dialoog::backdrop { background: rgba(25, 5, 45, .75); }
.dialoog h2 { margin: 0 0 10px; font-size: 1.35rem; font-weight: 900; }
.dialoog-tip { margin: 0 0 12px; color: var(--tekst-zacht); }
.dialoog-tip.teller { margin: 8px 0; font-weight: 900; color: var(--tekst); }
.dialoog-knoppen { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.gebieden, .deel-formulier { display: grid; gap: 12px; }
.gebieden-canvas { display: block; width: 100%; height: auto; max-height: 52vh; object-fit: contain; border-radius: 12px; cursor: crosshair; }
.gebieden-bediening { display: grid; gap: 14px; }
.deel-voorbeeld { display: block; max-width: 100%; max-height: 200px; margin: 0 auto; border-radius: 12px; box-shadow: 0 4px 14px rgba(60, 0, 80, .25); }
.code-rij { display: flex; gap: 8px; }
.code-rij input { font-family: Consolas, monospace; font-size: .9rem; font-weight: 400; }
.tool-melding { margin: 0; padding: 10px 12px; border-radius: 12px; font-weight: 700; background: #f3ecff; }
.tool-melding.fout { background: #ffe1e8; color: #a3002f; }
.resultaat-knoppen { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- Meldingen, slepen en installeren ---------- */
.toast {
    position: fixed;
    left: 50%;
    bottom: calc(24px + var(--onder));
    z-index: 1000;
    max-width: calc(100% - 32px);
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--tekst);
    color: #fff;
    font-weight: 800;
    text-align: center;
    opacity: 0;
    transform: translate(-50%, 20px);
    transition: opacity .25s, transform .25s;
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(20, 0, 40, .4);
}
.toast.zichtbaar { opacity: 1; transform: translate(-50%, 0); }
.studio .toast { bottom: calc(92px + var(--onder)); }

.sleep-overlay {
    position: fixed;
    inset: 0;
    z-index: 950;
    display: grid;
    place-items: center;
    border: 6px dashed var(--roze);
    background: rgba(43, 10, 74, .82);
    pointer-events: none;
}
.sleep-overlay p { color: #fff; font-size: 1.6rem; font-weight: 900; }

.installeer-banner {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + var(--onder));
    z-index: 900;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px 14px;
    max-width: 560px;
    margin: 0 auto;
    padding: 16px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(20, 0, 40, .5), 0 0 0 3px rgba(255, 154, 14, .7);
    animation: omhoog .35s ease-out;
}
@keyframes omhoog { from { opacity: 0; transform: translateY(30px); } }
.installeer-banner img { width: 56px; height: 56px; border-radius: 14px; }
.ib-titel { margin: 0; font-size: 1.05rem; font-weight: 900; }
.ib-uitleg { margin: 2px 0 0; color: var(--tekst-zacht); font-size: .92rem; }
.ib-stappen { margin: 8px 0 0; padding-left: 1.3em; font-size: .92rem; }
.ib-knoppen { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 8px; }

/* ---------- Galerij en plaatjespagina ---------- */
.galerij-strook { margin: 10px 0 30px; }
.galerij-strook > h2 { margin: 8px 0 14px; color: #fff; font-size: 1.55rem; font-weight: 900; text-align: center; text-shadow: 0 2px 0 #9b1a78; }
.galerij-filters-strook { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 20px; }
.galerij-filters { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .15); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); }
.filter-tab { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 18px; border-radius: 999px; color: #fff; font-weight: 900; font-size: .95rem; text-decoration: none; transition: background .15s; }
.filter-tab:hover { background: rgba(255, 255, 255, .2); }
.filter-tab.actief { background: #fff; color: var(--paars); box-shadow: 0 3px 12px rgba(0, 0, 0, .2); }

.galerij-rooster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.galerij-rooster a {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    color: var(--tekst);
    text-decoration: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .35), 0 8px 20px rgba(20, 0, 40, .3);
    transition: transform .18s ease, box-shadow .18s ease;
}
.galerij-rooster a:hover {
    transform: translateY(-3px) scale(1.015);
    box-shadow: 0 0 0 3px #ff9900, 0 12px 28px rgba(255, 136, 0, .35);
}
.galerij-rooster img {
    flex: 1;
    width: 100%;
    height: 165px;
    object-fit: contain;
    background: repeating-linear-gradient(45deg, #fff5fb, #fff5fb 10px, #ffffff 10px, #ffffff 20px);
    display: block;
}
.galerij-onderschrift {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 12px !important;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, .06);
    overflow: hidden;
    margin-top: auto;
}
.galerij-titel {
    flex: 1;
    min-width: 0;
    padding: 0 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 800;
    font-size: .92rem;
    color: #2b0a4a;
}
.badge-respect {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px !important;
    border-radius: 999px;
    background: #fff0fa;
    border: 1.5px solid #ffbfe5;
    color: #b8006b;
    font-size: .8rem;
    font-weight: 900;
    white-space: nowrap;
}

.meer { margin: 16px 0 0; text-align: center; }
.meer a:not(.knop) { color: #fff; font-weight: 900; }
.paginering { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 18px; color: #fff; font-weight: 700; }
.paginering a { color: #fff; font-weight: 900; }

.blok {
    margin-bottom: 18px;
    padding: 22px clamp(16px, 4vw, 30px);
    border-radius: 24px;
    background: var(--kaart);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .35), 0 12px 40px rgba(20, 0, 40, .45);
}
.resultaat-pagina { max-width: 760px; margin: 10px auto 30px; text-align: center; }
.resultaat-pagina h1 { margin: 0 0 4px; font-size: clamp(1.5rem, 4.5vw, 2rem); font-weight: 900; overflow-wrap: anywhere; }
.ondertitel { margin: 0 0 14px; color: var(--tekst-zacht); }
.resultaat-plaatje {
    display: inline-block;
    max-width: 100%;
    margin: 6px 0 16px;
    padding: 10px;
    border-radius: 18px;
    background: repeating-linear-gradient(45deg, #fff0fa, #fff0fa 10px, #fff 10px, #fff 20px);
}
.resultaat-plaatje img { display: block; max-width: 100%; height: auto; border-radius: 8px; }

/* Respect knop & sectie */
.respect-sectie { margin: 12px auto 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.knop-respect {
    background: linear-gradient(90deg, #ff8008, #ffb300);
    color: #2b0a4a;
    font-size: 1.15rem;
    padding: 0 24px;
    box-shadow: 0 4px 0 #c26100, 0 0 20px rgba(255, 128, 8, .35);
    transition: transform .15s, box-shadow .15s;
}
.knop-respect .respect-icoon { font-size: 1.4rem; transition: transform .2s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.knop-respect .respect-teller {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px;
    background: rgba(43, 10, 74, .85); color: #ffd6f0; font-size: .95rem; font-weight: 900;
}
.knop-respect:hover:not(:disabled) .respect-icoon { transform: scale(1.25) rotate(-10deg); }
.knop-respect.gegeven, .knop-respect:disabled {
    background: #e8d7ea; color: #7b4a85; box-shadow: 0 4px 0 #baa0bc; opacity: .95; cursor: default;
}
.knop-respect.stuiter { animation: stuiter 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes stuiter {
    0% { transform: scale(1); }
    30% { transform: scale(1.2) rotate(-8deg); }
    60% { transform: scale(0.95) rotate(4deg); }
    100% { transform: scale(1); }
}
.respect-uitleg { margin: 0; font-size: .88rem; font-weight: 700; color: var(--tekst-zacht); }

.maak-zelf { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: 22px 0 0; }
.maak-zelf a:not(.knop) { color: var(--roze); font-weight: 900; }
.meld-rij { margin: 18px 0 0; }
.meld-rij .linkknop { color: var(--tekst-zacht); font-weight: 700; font-size: .9rem; }

.uitleg { max-width: 860px; margin: 10px auto 18px; line-height: 1.6; }
.uitleg h2 { margin: 6px 0 10px; font-size: 1.35rem; font-weight: 900; }
.uitleg a { color: var(--roze); font-weight: 900; }
.faq { display: grid; gap: 8px; }
.faq details { padding: 0 16px; border: 2px solid var(--lijn); border-radius: 14px; background: #fff; }
.faq summary { display: flex; align-items: center; min-height: var(--doel); font-weight: 900; cursor: pointer; }
.faq details[open] { border-color: var(--roze); }
.faq details p { margin: 0 0 14px; }

/* ---------- Gadgets (Klassieke 2007/2008 Hyves Profiel-Modules) ---------- */
.binnenkort {
    max-width: 920px;
    margin: 0 auto 22px;
    background: linear-gradient(180deg, #fff9e6, #fff2cc);
    border: 2px solid #ff9900;
    color: #5c3300;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
}
.gadgets {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 430px), 1fr));
    gap: 22px;
    margin-bottom: 30px;
    align-items: stretch;
}
.gadget {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    background: #fffdf8;
    border: 2px solid #ff8800;
    overflow: hidden;
    box-shadow: 0 2px 0 #ffd280 inset, 0 10px 26px rgba(22, 4, 42, .42);
    transition: transform .18s ease, box-shadow .18s ease;
}
.gadget:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 0 #ffd280 inset, 0 14px 32px rgba(255, 136, 0, .32);
}
.gadget-kop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 16px;
    background: linear-gradient(180deg, #ffb319 0%, #ff8000 52%, #e66000 100%);
    border-bottom: 2px solid #c44d00;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
}
.gadget-kop h2 {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 1px 2px rgba(110, 35, 0, .75);
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}
.gadget-icoon {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .22);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
    flex-shrink: 0;
}
.demo-badge {
    flex-shrink: 0;
    padding: 3px 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #fffdf5, #ffe5b4);
    border: 1px solid #b34700;
    color: #993d00;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .02em;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}
.gadget-lijf {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 12px;
    padding: 14px 16px 16px;
    background: linear-gradient(180deg, #fffdf9 0%, #fff7ea 100%);
    min-width: 0;
}
.gadget-uitleg {
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 1.5px dashed #ffc266;
    color: #4a2c00;
    font-size: .92rem;
    line-height: 1.42;
}
.gadget-vak {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    place-items: center;
    align-content: center;
    flex: 1;
    width: 100%;
    max-width: 100%;
    min-height: 190px;
    padding: 15px;
    border-radius: 14px;
    border: 2px solid #4a1575;
    background: linear-gradient(160deg, #3b0d63 0%, #1d0636 100%);
    color: #fff;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, .45);
}
.gadget-vak > * {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.gadget-vak p { margin: 0; }
.gadget-vak select,
.gadget-vak input[type="text"],
.gadget-vak input[type="number"],
.gadget-vak input[type="date"] {
    width: 100%;
    max-width: 100%;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 2px solid #ff9900 !important;
    background: #fffdf9 !important;
    color: #2b0a4a !important;
    font-family: inherit;
    font-size: .9rem;
    font-weight: 800;
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}
.gadget-vak select option {
    background: #ffffff;
    color: #2b0a4a;
    font-weight: 700;
}
.gadget-vak select:focus,
.gadget-vak input[type="text"]:focus,
.gadget-vak input[type="number"]:focus,
.gadget-vak input[type="date"]:focus {
    outline: none;
    border-color: #ff2a85 !important;
    box-shadow: 0 0 0 3px rgba(255, 153, 0, .35);
}
.gadget-vak input::placeholder {
    color: #7c5c99 !important;
    opacity: .85;
}
.gadget-voet {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1.5px solid #ffe0b2;
}
.gadget-respect {
    flex-shrink: 0;
    background: linear-gradient(180deg, #fffdf7, #ffe8bf);
    border: 2px solid #ff8800;
    color: #803600;
    font-weight: 900;
    border-radius: 10px;
    padding: 8px 12px;
    cursor: pointer;
    box-shadow: 0 2px 0 #e67300;
    transition: transform .12s ease, background .15s ease;
}
.gadget-respect:hover {
    background: linear-gradient(180deg, #fff3d1, #ffd480);
    transform: translateY(-1px);
}
.gadget-respect.gegeven {
    background: linear-gradient(180deg, #ff9900, #e65c00);
    color: #fff;
    border-color: #b34700;
}
.respect-teller {
    display: inline-block;
    margin-left: 3px;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(255, 136, 0, .2);
    font-size: .78rem;
}
.gadget-respect.gegeven .respect-teller {
    background: rgba(0, 0, 0, .25);
    color: #fff;
}
.gadget-hyves {
    flex: 1;
    min-width: 0;
    background: linear-gradient(180deg, #ffa600 0%, #ff6a00 100%);
    border: 2px solid #c44d00;
    color: #fff;
    font-weight: 900;
    font-size: .88rem;
    padding: 8px 12px;
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 2px 0 #993d00;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .35);
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gadget-hyves:hover {
    background: linear-gradient(180deg, #ffb72b 0%, #ff7b1a 100%);
}
@media (max-width: 480px) {
    .gadget-voet { flex-wrap: wrap; }
    .gadget-hyves { width: 100%; flex-basis: 100%; }
}

/* ---------- Voet ---------- */
.voet { padding: 0 16px calc(30px + var(--onder)); color: #e9c8ff; text-align: center; font-size: .92rem; }
.voet p { margin: 4px 0; }
.voet a { color: #fff; font-weight: 900; }
.voet .klein { font-size: .8rem; opacity: .75; }

/* ---------- Admin ---------- */
.admin-titel { margin: 0; color: #fff; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.admin-vak { max-width: 520px; margin: 10px auto; }
.admin-vak h1 { margin: 0 0 12px; font-size: 1.5rem; }
.admin-formulier { display: grid; gap: 12px; }
.admin-formulier label { display: grid; gap: 4px; font-weight: 900; }
.admin-formulier input { min-height: var(--doel); padding: 8px 12px; border: 2px solid #f1c9e6; border-radius: 12px; font-size: 1rem; }
.admin-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 18px; }
.admin-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: var(--doel);
    padding: 0 16px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}
.admin-tabs a[aria-pressed="true"] { background: #fff; color: var(--paars); }
.admin-tabs .teller { display: inline-block; min-width: 1.6em; padding: 0 6px; border-radius: 999px; background: var(--roze); color: #fff; font-size: .8rem; text-align: center; }
.admin-bulk { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; padding: 12px 16px; border-radius: 16px; background: var(--kaart); }
.admin-rooster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.admin-kaart { display: grid; align-content: start; gap: 8px; padding: 12px; border-radius: 16px; background: var(--kaart); overflow: clip; }
.admin-kaart.status-goed { box-shadow: inset 0 0 0 3px #7ddc9a; }
.admin-kaart img { width: 100%; height: auto; max-height: 260px; object-fit: contain; border-radius: 10px; background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0 / 16px 16px; }
.admin-kies { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; }
.admin-weg { padding: 30px; border-radius: 10px; background: #f4eef6; color: var(--tekst-zacht); text-align: center; }
.admin-kaart dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 0; font-size: .88rem; }
.admin-kaart dt { font-weight: 900; }
.admin-kaart dd { margin: 0; overflow-wrap: anywhere; }
.admin-kaart .gemeld { color: #a3002f; font-weight: 700; }
.admin-acties { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-acties .knop { min-height: 44px; padding: 0 12px; font-size: .9rem; }
.admin-uit { margin: 24px 0; text-align: center; }

/* Admin: filter op categorie, meerdere plaatjes tegelijk, bladzijden */
.admin-cat-filters { flex-wrap: wrap; justify-content: center; margin: 0 0 14px; overflow: visible; }
.admin-cat-filters a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 14px;
    border: 2px solid rgba(255, 255, 255, .4);
    border-radius: 999px;
    color: #fff;
    font-size: .88rem;
    font-weight: 800;
    text-decoration: none;
}
.admin-cat-filters a[aria-pressed="true"] { background: #fff; color: var(--paars); border-color: #fff; }
.admin-cat-filters .teller { min-width: 1.5em; padding: 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .22); font-size: .78rem; text-align: center; }
.admin-cat-filters a[aria-pressed="true"] .teller { background: var(--roze); color: #fff; }
.admin-cat-filters .admin-cat-beheer { border-style: dashed; }
.admin-telling { margin: 0 0 10px; color: #fff; font-size: .9rem; font-weight: 800; text-align: center; }
.admin-telling span { font-weight: 600; opacity: .85; }
.admin-bulk { position: sticky; top: 8px; z-index: 20; box-shadow: 0 0 0 3px var(--roze), 0 10px 24px rgba(40, 0, 60, .35); }
.admin-bulk .vinkje { min-height: 44px; }
.admin-bulk .knop { min-height: 44px; padding: 0 14px; font-size: .92rem; }
.admin-bulk-teller { min-width: 7.5em; color: var(--paars); }
.admin-bulk-groep { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.admin-bulk-groep .admin-invoer { width: auto; max-width: 15rem; min-height: 44px; }
.admin-knop-weg { color: #be123c; }
.admin-kaart-kop { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.admin-bekijk { color: var(--paars); font-size: .85rem; font-weight: 800; }
.admin-kaart img[data-kies] { cursor: pointer; }
.admin-kaart:has(input[name="ids[]"]:checked) { background: #fff0f9; box-shadow: inset 0 0 0 4px var(--roze); }
.admin-bladen { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin: 18px 0 0; color: #fff; font-weight: 900; }
/* Op een telefoon zou een meelopende balk met al die knoppen half het scherm vullen. */
@media (max-width: 700px) {
    .admin-bulk { position: static; }
}

/* Admin: categorieën beheren */
.admin-cats h2, .admin-cat-panelen h2 { margin: 0 0 8px; font-size: 1.25rem; }
.admin-cats > p { margin: 0 0 12px; }
.admin-cat-tabel-wrap { overflow-x: auto; }
.admin-cat-tabel { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-cat-tabel th { padding: 6px 8px; border-bottom: 2px solid var(--lijn); font-weight: 900; text-align: left; white-space: nowrap; }
.admin-cat-tabel td { padding: 6px 8px; border-bottom: 1px solid var(--lijn); vertical-align: middle; }
.admin-cat-tabel td:nth-child(2) { min-width: 14rem; }
.admin-cat-tabel tr.is-verborgen td { background: #f6f0f7; }
.admin-cat-tabel tr.is-verborgen .admin-invoer { color: var(--tekst-zacht); font-style: italic; }
.admin-cat-tabel a { color: var(--paars); font-weight: 700; }
.admin-cat-volgorde { white-space: nowrap; }
.admin-cat-volgorde .knop { min-width: 40px; min-height: 40px; padding: 0 8px; font-size: .9rem; }
.admin-cat-volgorde .knop:disabled { opacity: .35; }
.admin-cat-verberg { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; cursor: pointer; }
.admin-cat-verberg input { width: 20px; height: 20px; accent-color: var(--roze); }
.admin-cat-knoppen { margin: 10px 0; text-align: right; }
.admin-cat-panelen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px; align-items: start; }
.admin-cat-panelen .blok { margin: 0; }
.admin-formulier select { min-height: var(--doel); padding: 8px 12px; border: 2px solid #f1c9e6; border-radius: 12px; background: #fff; font: inherit; font-weight: 600; }
.admin-formulier small { font-weight: 600; opacity: .75; }

/* ---------- Telefoon en computer ---------- */
@media (max-width: 560px) {
    .kop { padding-top: 14px; }
    .merk-logo { width: 46px; height: 46px; border-radius: 13px; }
    .hoofdmenu a, .knop-app { padding: 0 12px; font-size: .92rem; }
    .formaten { width: auto; border-radius: 20px; }
    .formaten a { padding: 0 11px; }
    .formaten a small { display: none; }
    .kleurnaam { display: none; }
    .kleurtje { padding: 4px; }
    .tegel-tekst { padding: 8px 10px 12px; }
    .tegel-naam { font-size: 1rem; }
    .dialoog { padding: 16px; }
    .code-rij { flex-direction: column; }
}
@media (min-width: 640px) {
    .tegels { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .filters { flex-wrap: wrap; justify-content: center; margin: 0 0 20px; padding: 0; overflow: visible; }
}
@media (min-width: 1000px) {
    .tegels { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Kruimelpad & Badges ---------- */
.kruimels { margin: 8px 0 16px; }
.kruimels ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: .88rem; font-weight: 700; color: #f1d9ff; }
.kruimels li { display: inline-flex; align-items: center; gap: 8px; }
.kruimels li:not(:last-child)::after { content: "›"; opacity: .7; font-size: 1.1rem; }
.kruimels a { color: #fff; text-decoration: none; font-weight: 800; }
.kruimels a:hover { text-decoration: underline; }
.kruimels [aria-current="page"] { color: var(--goud); font-weight: 900; }

.badge-thema { display: inline-block; padding: 4px 14px; border-radius: 999px; background: rgba(255, 255, 255, .15); border: 2px solid rgba(255, 255, 255, .3); color: #fff; font-size: .85rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.held-tool { max-width: 840px; margin-bottom: 20px; }

/* ---------- Enkele tegel weergave ---------- */
.tegels.enkele-tegel { display: flex; justify-content: center; margin: 0 auto 20px; max-width: 360px; }
.tegels.enkele-tegel .tegel { width: 100%; }
.actie-rij-midden { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin: 16px 0 28px; }

/* ---------- Redactionele Content & Gidsen (AdSense Kwaliteit) ---------- */
.artikel-inhoud { max-width: 900px; margin: 20px auto 30px; line-height: 1.7; font-size: 1.02rem; }
.artikel-inhoud h2 { margin: 28px 0 12px; font-size: 1.5rem; font-weight: 900; color: var(--tekst); border-bottom: 2px solid var(--lijn); padding-bottom: 8px; }
.artikel-inhoud h2:first-child { margin-top: 0; }
.artikel-inhoud h3 { margin: 20px 0 10px; font-size: 1.25rem; font-weight: 900; color: var(--tekst); }
.artikel-inhoud p { margin: 0 0 14px; }
.artikel-inhoud strong { color: #1c0633; }

.stappen-detail { display: grid; gap: 14px; margin: 16px 0 24px; }
.stap-item { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 14px 18px; border-radius: 16px; background: #fff; border: 2px solid var(--lijn); }
.stap-badge { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--roze), var(--paars)); color: #fff; font-weight: 900; font-size: 1.1rem; box-shadow: 0 2px 6px rgba(138, 63, 252, .3); }
.stap-item h3 { margin: 0 0 4px; font-size: 1.1rem; }
.stap-item p { margin: 0; color: var(--tekst-zacht); font-size: .95rem; }

.instellingen-lijst { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 16px 0 24px; padding: 16px; background: #fff; border-radius: 16px; border: 2px solid var(--lijn); }
.instellingen-lijst dt { font-weight: 900; color: var(--paars); }
.instellingen-lijst dd { margin: 0; color: var(--tekst-zacht); }

.callout-tip { margin: 24px 0; padding: 18px 20px; border-radius: 18px; background: #fdf5e6; border: 2px solid #ffd885; box-shadow: 0 4px 16px rgba(255, 198, 40, .15); }
.callout-tip h3, .callout-tip h4 { margin: 0 0 8px; color: #8a5700; font-size: 1.15rem; }
.callout-tip ul { margin: 0; padding-left: 20px; }
.callout-tip li { margin-bottom: 6px; }

.voordelen-lijst { list-style: none; padding: 0; margin: 16px 0 24px; display: grid; gap: 10px; }
.voordelen-lijst li { padding: 12px 16px; border-radius: 14px; background: #f3fdf8; border: 2px solid #b8f2d5; }

.gerelateerde-sectie { margin-top: 36px; padding-top: 20px; border-top: 2px solid var(--lijn); }
.gerelateerd-rooster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; margin: 16px 0; }
.gerelateerd-kaart { display: grid; gap: 6px; padding: 16px; border-radius: 18px; background: #fff; border: 2px solid var(--lijn); text-decoration: none; color: var(--tekst); transition: transform .15s, border-color .15s; }
.gerelateerd-kaart:hover { transform: translateY(-3px); border-color: var(--roze); box-shadow: 0 8px 24px rgba(255, 79, 184, .2); }
.gerelateerd-kaart strong { font-size: 1.05rem; }
.gerelateerd-kaart span:not(.rel-soort) { font-size: .88rem; color: var(--tekst-zacht); }
.rel-soort { display: inline-block; width: fit-content; padding: 2px 8px; border-radius: 6px; background: var(--paars-donker); color: #fff; font-size: .75rem; font-weight: 900; }
.gids-opsomming { margin: 10px 0 16px 20px; }
.gids-opsomming li { margin-bottom: 8px; }

/* ---------- Complete GIF Studio (studio.php) ---------- */
section.intro {
    text-align: center;
    max-width: 780px;
    margin: 10px auto 22px;
    color: #fff;
}
section.intro h1 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(1.7rem, 4vw, 2.35rem);
    font-weight: 900;
    text-shadow: 0 3px 0 #9b1a78, 0 6px 20px rgba(0, 0, 0, .35);
}
section.intro p {
    margin: 0;
    color: #f6e5ff;
    font-size: 1.05rem;
    line-height: 1.55;
}
section.intro strong {
    color: var(--goud);
}

.knoppen-rij {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.keuze-knop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    padding: 0 16px;
    border: 2px solid var(--lijn);
    border-radius: 999px;
    background: #fff;
    color: var(--tekst);
    font: inherit;
    font-weight: 800;
    font-size: .92rem;
    white-space: nowrap;
    cursor: pointer;
    transition: all .15s;
}
.keuze-knop:hover {
    border-color: var(--roze);
    background: #fff7fc;
}
.keuze-knop[aria-pressed="true"],
.keuze-knop.actief {
    background: var(--paars);
    border-color: var(--paars);
    color: #fff;
    box-shadow: 0 3px 10px rgba(138, 63, 252, .28);
}

.studio-promo-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 980px;
    margin: 0 auto 26px;
    padding: 18px 24px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 42, 157, .28), rgba(138, 43, 226, .35));
    border: 2px solid rgba(255, 215, 0, .65);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.spb-tekst h2 {
    margin: 0 0 4px;
    font-size: 1.3rem;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}
.spb-tekst p {
    margin: 0;
    color: #f7e6ff;
    font-size: .95rem;
}

.complete-studio {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-bottom: 36px;
    max-width: 100%;
}
.complete-studio > *,
.cs-voorbeeld-kolom,
.cs-werkbank-kolom {
    min-width: 0;
    max-width: 100%;
}
@media (min-width: 920px) {
    .complete-studio {
        grid-template-columns: minmax(410px, 510px) minmax(0, 1fr);
    }
    .cs-voorbeeld-kolom {
        position: sticky;
        top: 16px;
    }
}

.cs-canvas-kaart {
    padding: 18px;
    border-radius: 24px;
    background: var(--kaart);
    color: var(--tekst);
    border: 3px solid #ffd8f0;
    box-shadow: var(--schaduw);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
    max-width: 100%;
}
.cs-canvas-kop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.cs-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--roze), var(--paars));
    color: #fff;
    font-weight: 900;
    font-size: .82rem;
}
.cs-maat-info {
    font-size: .84rem;
    font-weight: 800;
    color: var(--tekst-zacht);
}
.cs-canvas-vak {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    background: repeating-conic-gradient(#f7e9f5 0 25%, #fff 0 50%) 0 0 / 18px 18px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--lijn);
    min-height: 220px;
}
#cs-canvas {
    display: block;
    max-width: 100%;
    max-height: 440px;
    width: auto;
    height: auto;
    cursor: grab;
    touch-action: none;
}
#cs-canvas:active {
    cursor: grabbing;
}
#cs-canvas.kwast-modus {
    cursor: crosshair;
}
.cs-canvas-hulp {
    margin: 0;
    font-size: .86rem;
    color: var(--tekst-zacht);
    text-align: center;
    background: #fdf2fa;
    padding: 8px 12px;
    border-radius: 12px;
}
.cs-snelbalk {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.cs-snelbalk .knop {
    white-space: nowrap;
}
.cs-hoofdacties {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.cs-hoofdacties .knop {
    min-height: 48px;
    padding: 0 12px;
    font-size: .95rem;
    border-radius: 16px;
    white-space: nowrap;
    gap: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cs-meer-opties {
    margin: 0;
}

.cs-werkbank-kolom {
    background: var(--kaart);
    color: var(--tekst);
    border-radius: 24px;
    border: 3px solid #ffd8f0;
    box-shadow: var(--schaduw);
    overflow: hidden;
}
.cs-tabs {
    display: flex;
    flex-wrap: wrap;
    background: #f9eaf5;
    border-bottom: 2px solid var(--lijn);
    padding: 8px 10px 0;
    gap: 6px;
}
.cs-tab {
    position: relative;
    flex: 1 1 auto;
    justify-content: center;
    padding: 10px 12px;
    border: 2px solid transparent;
    border-bottom: none;
    border-radius: 14px 14px 0 0;
    background: rgba(255, 255, 255, .55);
    color: var(--tekst-zacht);
    font: inherit;
    font-weight: 900;
    font-size: .9rem;
    white-space: nowrap;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.cs-tab[aria-selected="true"] {
    background: var(--kaart);
    color: var(--paars-donker);
    border-color: var(--lijn);
    box-shadow: 0 -3px 10px rgba(138, 63, 252, .08);
}
.cs-tab-stip {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--roze);
    display: inline-block;
}
.cs-tab-paneel {
    padding: 18px;
    display: grid;
    gap: 16px;
}
.cs-tab-paneel[hidden] {
    display: none !important;
}

.cs-lijst-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
    gap: 10px;
}
.cs-lijst-knop {
    display: grid;
    place-items: center;
    gap: 4px;
    padding: 12px 8px;
    border-radius: 16px;
    border: 2px solid var(--lijn);
    background: #fff;
    color: var(--tekst);
    font: inherit;
    font-weight: 800;
    font-size: .88rem;
    cursor: pointer;
    transition: transform .12s, border-color .12s;
}
.cs-lijst-knop:hover {
    transform: translateY(-2px);
    border-color: var(--roze);
}
.cs-lijst-knop.actief {
    border-color: var(--paars);
    background: #f6ecff;
    box-shadow: 0 0 0 2px rgba(138, 63, 252, .25);
}
.cs-lk-icoon {
    font-size: 1.5rem;
}

.cs-sticker-bieb {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(46px, 1fr));
    gap: 8px;
}
.cs-emoji-knop {
    height: 46px;
    border-radius: 12px;
    border: 2px solid var(--lijn);
    background: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform .12s, border-color .12s;
}
.cs-emoji-knop:hover {
    transform: scale(1.12);
    border-color: var(--roze);
}
.cs-image-sticker-knop {
    display: grid;
    place-items: center;
    padding: 3px;
    overflow: hidden;
}
.cs-image-sticker-knop img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
    pointer-events: none;
}
.cs-banaan-tekst-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}
.cs-banaan-addons {
    display: grid;
    gap: 10px;
}
.cs-badge-bieb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cs-badge-knop {
    padding: 7px 13px;
    border-radius: 999px;
    border: 2px solid #fff;
    color: #fff;
    font: inherit;
    font-weight: 900;
    font-size: .82rem;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .18);
    transition: transform .12s;
}
.cs-badge-knop:hover {
    transform: scale(1.06);
}

.cs-laag-items {
    display: grid;
    gap: 10px;
}
.cs-laag-kaart {
    border: 2px solid var(--lijn);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}
.cs-laag-kaart.actief {
    border-color: var(--paars);
}
.cs-laag-kop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #fbf3f9;
    cursor: pointer;
    font-weight: 900;
}
.cs-laag-inhoud {
    padding: 14px;
    display: grid;
    gap: 12px;
    border-top: 1px solid var(--lijn);
}

/* ---------- Bezoekers-teller in Footer ---------- */
.voet-teller-balk {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 14px;
    margin: 0 auto 14px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1.5px solid rgba(255, 215, 0, .45);
    color: #fff;
    font-size: .9rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
}
.vtb-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.vtb-item strong {
    color: var(--goud);
    font-weight: 900;
}
.vtb-stip {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #38ef7d;
    box-shadow: 0 0 8px #38ef7d;
    display: inline-block;
}
.vtb-sep {
    opacity: .55;
}

/* ---------- Admin Analytics Dashboard ---------- */
.analytics-dashboard {
    display: grid;
    gap: 20px;
    margin-bottom: 28px;
}
.an-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}
.an-kpi-kaart {
    background: var(--kaart);
    color: var(--tekst);
    padding: 18px 20px;
    border-radius: 20px;
    border: 2px solid var(--lijn);
    box-shadow: var(--schaduw);
    display: grid;
    gap: 4px;
}
.an-kpi-kaart.actief {
    border-color: #38ef7d;
    background: linear-gradient(145deg, #ffffff, #f2fff7);
}
.an-kpi-label {
    font-size: .88rem;
    font-weight: 800;
    color: var(--tekst-zacht);
}
.an-kpi-waarde {
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--paars-donker);
    line-height: 1.1;
}
.an-kpi-sub {
    font-size: .82rem;
    color: var(--tekst-zacht);
}
.an-twee-kolom {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 18px;
}
.an-paneel {
    background: var(--kaart);
    color: var(--tekst);
    padding: 18px 20px;
    border-radius: 20px;
    border: 2px solid var(--lijn);
    box-shadow: var(--schaduw);
    overflow-x: auto;
}
.an-paneel h2 {
    margin: 0 0 12px;
    font-size: 1.18rem;
    color: var(--paars-donker);
}
.an-tabel {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}
.an-tabel th, .an-tabel td {
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid var(--lijn);
}
.an-tabel th {
    font-weight: 900;
    color: var(--tekst-zacht);
    font-size: .8rem;
    text-transform: uppercase;
}
.an-balk-spoor {
    width: 100%;
    min-width: 80px;
    height: 10px;
    border-radius: 999px;
    background: #f3e6f8;
    overflow: hidden;
}
.an-balk-vul {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--roze), var(--paars));
}
.an-periode-balk {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}
.an-periode-knoppen {
    display: flex;
    gap: 6px;
    background: #fdf2f8;
    padding: 4px;
    border-radius: 999px;
    border: 1.5px solid var(--lijn);
}
.an-periode-knop {
    padding: 6px 14px;
    font-size: .84rem;
    font-weight: 800;
    border-radius: 999px;
    text-decoration: none;
    color: var(--paars-donker);
    transition: all .14s ease;
}
.an-periode-knop.actief {
    background: linear-gradient(135deg, var(--roze), var(--paars));
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(216, 27, 96, .3);
}
.an-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 800;
}
.an-badge-maak {
    background: #f3e8ff;
    color: #6b21a8;
    border: 1px solid #d8b4fe;
}
.an-badge-dl {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #7dd3fc;
}
.an-badge-deel {
    background: #fce7f3;
    color: #9d174d;
    border: 1px solid #fbcfe8;
}
.an-badge-tool {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}
.an-kpi-kaart.accent-paars {
    border-color: #a855f7;
    background: linear-gradient(145deg, #ffffff, #faf5ff);
}
.an-kpi-kaart.accent-blauw {
    border-color: #38bdf8;
    background: linear-gradient(145deg, #ffffff, #f0f9ff);
}
.an-kpi-kaart.accent-goud {
    border-color: #fbbf24;
    background: linear-gradient(145deg, #ffffff, #fffbeb);
}

/* ==========================================================================
   v24: KLASSIEKE 2000s WEB 2.0 / HYVES NOSTALGIE + KRABBEL & KLEUREN GENERATOR
   Behoudt de geliefde paars / roze / gouden Pagina Pimpen kleuren!
   ========================================================================== */

/* Subtiele 2000s pixel-grid & sterrenbehang textuur op de pagina */
body {
    background-image:
        radial-gradient(rgba(255, 215, 0, .16) 1px, transparent 1px),
        radial-gradient(rgba(255, 46, 166, .14) 1px, transparent 1px),
        radial-gradient(900px 500px at 15% 0%, #6b1d8f 0%, transparent 60%),
        radial-gradient(800px 500px at 90% 20%, #8e1450 0%, transparent 55%),
        linear-gradient(160deg, var(--bg-1) 0%, var(--bg-2) 55%, #1d0630 100%);
    background-size: 28px 28px, 56px 56px, 100% 100%, 100% 100%, 100% 100%;
    background-position: 0 0, 14px 14px, 0 0, 0 0, 0 0;
}

/* 2000s Lichtkrant / Marquee Ticker bovenaan */
.retro-ticker {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto 8px;
    overflow: hidden;
    background: linear-gradient(90deg, #1b0630 0%, #3d0f6b 50%, #1b0630 100%);
    border: 2px solid var(--goud);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 3px 10px rgba(0, 0, 0, .35);
    padding: 5px 0;
    white-space: nowrap;
}
.retro-ticker-spoor {
    display: inline-block;
    white-space: nowrap;
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .04em;
    color: #fff6c2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .8);
    animation: retroTickerScroll 34s linear infinite;
}
.retro-ticker:hover .retro-ticker-spoor {
    animation-play-state: paused;
}
@keyframes retroTickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Klassieke 2000s Hyves Vensters met Authentieke Oranje Glossy Kopbalk */
.hyves-venster {
    background: var(--kaart);
    color: var(--tekst);
    border: 2px solid #b83e00;
    border-radius: 12px;
    box-shadow:
        0 0 0 2px rgba(243, 112, 33, .28),
        inset 0 1px 0 rgba(255, 255, 255, .9),
        0 8px 24px rgba(45, 18, 5, .18);
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.hyves-venster-kop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 16px;
    background: linear-gradient(180deg, #ff8c1a 0%, #f37021 48%, #e65100 52%, #cc4200 100%);
    border-bottom: 2px solid #9e3200;
    color: #ffffff;
    font-weight: 900;
    font-size: .92rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65);
}
.hyves-venster-status {
    background: linear-gradient(180deg, #fff9db 0%, #ffe066 100%);
    border: 1px solid #d97706;
    color: #5c2d00;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .05em;
    box-shadow: inset 0 1px 0 #ffffff, 0 1px 2px rgba(0, 0, 0, .15);
}
.hyves-venster-lijf {
    padding: 18px 20px;
}

/* Geef bestaande blokken & kaarten een subtiele 2000s Web 2.0 bevel-touch */
.blok, .sectie-kaart, .galerij-kaart, .seo-tekst {
    border-width: 2px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .85),
        0 0 0 1px rgba(255, 215, 0, .28),
        var(--schaduw);
}
.sectie-nav a {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 3px 8px rgba(0, 0, 0, .25);
}

/* Intro Hero voor Krabbel & Kleuren pagina's */
.intro-hero {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 1.25rem;
    padding: .5rem 1rem;
}
.intro-hero-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--roze), var(--paars));
    border: 1.5px solid var(--goud);
    color: #fff;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .06em;
    margin-bottom: .5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .25);
}
.intro-hero h1 {
    margin: .2rem 0 .5rem;
    font-size: clamp(1.7rem, 3.6vw, 2.45rem);
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}
.goud-glans {
    color: var(--goud);
    font-family: 'Pacifico', cursive;
    font-weight: 400;
}
.intro-sub {
    margin: 0 auto;
    color: #f6e6ff;
    font-size: 1.02rem;
    line-height: 1.55;
}

/* Algemene invoervelden in .hyves-venster */
.hyves-venster .veld {
    display: grid;
    gap: 6px;
    font-weight: 800;
    color: var(--paars-donker);
    font-size: .94rem;
}
.hyves-venster .veld small {
    font-weight: 600;
    color: var(--tekst-zacht);
}
.hyves-venster .invoer {
    width: 100%;
    padding: 10px 13px;
    border-radius: 10px;
    border: 2px solid var(--lijn);
    background: #fff;
    color: var(--tekst);
    font: inherit;
    font-size: .98rem;
    box-shadow: inset 0 2px 4px rgba(74, 14, 78, .06);
}
.hyves-venster .invoer:focus {
    outline: none;
    border-color: var(--roze);
    box-shadow: 0 0 0 3px rgba(255, 46, 166, .22);
}

/* ---------- 1. HYVES KRABBEL GENERATOR (/krabbel) ---------- */
.krabbel-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 14px;
}
.krabbel-deco-selector {
    margin-top: 14px;
}
.krabbel-deco-kop {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-weight: 800;
    font-size: .9rem;
    color: var(--paars-donker);
    margin-bottom: 8px;
}
.krabbel-deco-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.pill {
    padding: 5px 12px;
    border-radius: 999px;
    border: 1.5px solid var(--lijn);
    background: #fff;
    color: var(--tekst);
    font: inherit;
    font-size: .8rem;
    font-weight: 800;
    cursor: pointer;
    transition: all .15s;
}
.pill:hover {
    border-color: var(--roze);
}
.pill.actief {
    background: linear-gradient(135deg, var(--roze), var(--paars));
    border-color: var(--goud-donker);
    color: #fff;
}

.krabbel-preview-wrap {
    margin: 14px 0 16px;
}
.krabbel-preview-label {
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .06em;
    color: var(--tekst-zacht);
    margin-bottom: 5px;
}
.krabbel-preview {
    margin: 0;
    padding: 18px 16px;
    border-radius: 12px;
    border: 2px dashed var(--roze);
    background: linear-gradient(180deg, #fffdf7 0%, #fff4fb 100%);
    color: #2a0838;
    font-family: 'Courier New', Consolas, 'Lucida Console', monospace;
    font-size: clamp(.95rem, 2.2vw, 1.18rem);
    font-weight: 700;
    line-height: 1.55;
    text-align: center;
    white-space: pre-wrap;
    word-break: break-word;
    box-shadow: inset 0 2px 8px rgba(138, 63, 252, .1);
    user-select: all;
}

.krabbel-acties {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.krabbel-acties .knop,
.kleuren-genereer-knop,
.kleuren-acties-onder .knop {
    padding: 11px 18px;
    border-radius: 10px;
    font-weight: 900;
    letter-spacing: .03em;
    border: 2px solid var(--lijn);
    background: linear-gradient(180deg, #ffffff 0%, #f6eafb 100%);
    color: var(--paars-donker);
    cursor: pointer;
    box-shadow: inset 0 1px 0 #fff, 0 3px 8px rgba(74, 14, 78, .14);
}
.krabbel-acties .knop:hover,
.kleuren-acties-onder .knop:hover {
    border-color: var(--roze);
    transform: translateY(-1px);
}
.krabbel-acties .knop-primair,
.kleuren-genereer-knop.knop-primair,
.kleuren-acties-onder .knop-primair {
    background: linear-gradient(180deg, #ff52b8 0%, #d81b60 50%, #8e24aa 100%);
    border-color: var(--goud);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
}
.krabbel-extra-acties {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 12px;
}
.knop-klein {
    padding: 7px 13px;
    font-size: .84rem;
    border-radius: 999px;
    border: 1.5px solid var(--lijn);
    background: #fff;
    color: var(--paars-donker);
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
}
.knop-klein:hover {
    border-color: var(--roze);
    background: #fff5fb;
}
.status-tekst {
    text-align: center;
    margin-top: 10px;
    font-weight: 800;
    color: var(--roze-donker);
    min-height: 1.3em;
}

.krabbel-deco-rooster {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
    gap: 10px;
}
.krabbel-deco-kaart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px 12px;
    border-radius: 10px;
    border: 2px solid var(--lijn);
    background: #fff;
    color: var(--tekst);
    cursor: pointer;
    text-align: center;
    transition: transform .12s, border-color .12s, box-shadow .12s;
}
.krabbel-deco-kaart:hover {
    border-color: var(--roze);
    transform: translateY(-2px);
}
.krabbel-deco-kaart.actief {
    border-color: var(--paars);
    background: #fdf5ff;
    box-shadow: 0 0 0 3px rgba(138, 63, 252, .22);
}
.krabbel-deco-naam {
    font-size: .78rem;
    font-weight: 900;
    color: var(--paars-donker);
    margin-bottom: 6px;
}
.krabbel-deco-mini {
    margin: 0;
    font-family: 'Courier New', Consolas, monospace;
    font-size: .74rem;
    line-height: 1.35;
    color: #38104a;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ---------- 2. HYVES KLEURENPALET GENERATOR (/kleuren) ---------- */
.kleuren-balk-boven {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 18px;
}
.kleuren-stijl-veld {
    flex: 1 1 280px;
}
.kleuren-genereer-knop {
    height: 44px;
    white-space: nowrap;
}

.kleuren-kaarten-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}
.kleur-kaart {
    background: #fff;
    border: 2px solid var(--lijn);
    border-radius: 12px;
    padding: 16px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    box-shadow: inset 0 1px 0 #fff, 0 4px 12px rgba(74, 14, 78, .08);
}
.kleur-kaart-titel {
    font-weight: 900;
    font-size: 1rem;
    color: var(--paars-donker);
}
.kleur-kaart-sub {
    font-size: .78rem;
    color: var(--tekst-zacht);
    margin-bottom: 4px;
}
.kleur-cirkel-wrap {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.kleur-cirkel {
    display: block;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px var(--lijn), 0 6px 14px rgba(0, 0, 0, .2);
    transition: transform .15s;
}
.kleur-cirkel-wrap:hover .kleur-cirkel {
    transform: scale(1.07);
}
.kleur-picker-verborgen {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.kleur-naam {
    font-weight: 800;
    font-size: .88rem;
    color: var(--tekst);
    margin-top: 4px;
}
.kleur-hex-knop {
    padding: 4px 12px;
    border-radius: 6px;
    border: 1.5px solid var(--lijn);
    background: #fbf5ff;
    color: var(--paars-donker);
    font-family: Consolas, monospace;
    font-weight: 900;
    font-size: .92rem;
    cursor: pointer;
}
.kleur-hex-knop:hover {
    border-color: var(--roze);
    background: #ffeef8;
}

/* Live MIJN HYVES ★ Profiel Preview */
.hyves-profiel-preview {
    border: 3px solid #4527A0;
    border-radius: 12px;
    padding: 14px;
    background: #EDE7F6;
    transition: background .25s, border-color .25s;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, .08);
}
.hyves-profiel-kopbalk {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 8px;
    background: #4527A0;
    color: #fff;
    font-weight: 900;
    font-size: .92rem;
    letter-spacing: .04em;
    margin-bottom: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
}
.hyves-profiel-nav {
    font-size: .78rem;
    font-weight: 700;
    opacity: .92;
}
.hyves-profiel-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 12px;
}
@media (max-width: 680px) {
    .hyves-profiel-grid {
        grid-template-columns: 1fr;
    }
}
.hyves-profiel-kaart,
.hyves-profiel-krabbelvak {
    border: 2px solid #4527A0;
    border-radius: 10px;
    padding: 14px;
    background: #F4FF81;
    color: #1A102C;
    transition: background .25s, color .25s, border-color .25s;
}
.hyves-profiel-kaart {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.hyves-profiel-avatar {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .55);
    border: 2px solid currentColor;
    display: grid;
    place-items: center;
    font-size: 1.65rem;
    flex-shrink: 0;
}
.hyves-profiel-info strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.hyves-profiel-info p {
    margin: 0 0 10px;
    font-size: .88rem;
    line-height: 1.45;
    opacity: .92;
}
.hyves-profiel-knoppen {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.hyves-profiel-actieknop {
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, .2);
    font: inherit;
    font-size: .8rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
}
.hyves-profiel-vak-titel {
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .04em;
    margin-bottom: 6px;
    border-bottom: 1px dashed currentColor;
    padding-bottom: 4px;
}
.hyves-profiel-krabbel-item pre {
    margin: 4px 0 0;
    font-family: 'Courier New', monospace;
    font-size: .76rem;
    line-height: 1.3;
    white-space: pre-wrap;
}

.kleuren-acties-onder {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
}

.paletten-galerij {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 10px;
}
.palet-preset-kaart {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 2px solid var(--lijn);
    background: #fff;
    color: var(--tekst);
    cursor: pointer;
    text-align: left;
    transition: transform .12s, border-color .12s;
}
.palet-preset-kaart:hover {
    border-color: var(--roze);
    transform: translateY(-2px);
}
.palet-preset-bollen {
    display: flex;
    flex-shrink: 0;
}
.palet-preset-bollen span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
    margin-left: -6px;
}
.palet-preset-bollen span:first-child {
    margin-left: 0;
}
.palet-preset-info {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.palet-preset-info strong {
    font-size: .86rem;
    color: var(--paars-donker);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.palet-preset-info small {
    font-size: .74rem;
    color: var(--tekst-zacht);
    font-family: Consolas, monospace;
}

/* ---------- 3. GALERIJ 2000s CATEGORIEËN ZIJBALK & ADMIN CATEGORIEËN ---------- */
.galerij-2000-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}
@media (max-width: 860px) {
    .galerij-2000-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .galerij-cat-lijst {
        display: flex !important;
        flex-wrap: wrap;
        gap: 6px;
    }
    .galerij-cat-link {
        flex: 0 0 auto;
    }
}
.galerij-cat-lijst {
    display: grid;
    gap: 5px;
    padding: 12px;
}
.galerij-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 11px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: .88rem;
    color: var(--paars-donker);
    background: #fff;
    border: 1.5px solid var(--lijn);
    transition: all .12s;
}
.galerij-cat-link:hover {
    border-color: var(--roze);
    background: #fff4fb;
    transform: translateX(2px);
}
.galerij-cat-link.actief {
    background: linear-gradient(135deg, var(--roze), var(--paars));
    border-color: var(--goud);
    color: #fff;
}
.cat-teller {
    padding: 1px 7px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 900;
    background: rgba(74, 14, 78, .1);
    color: inherit;
}
.galerij-cat-link.actief .cat-teller {
    background: rgba(0, 0, 0, .28);
    color: var(--goud);
}

.badge-cat {
    display: inline-flex;
    align-items: center;
    font-size: .74rem;
    font-weight: 800;
    color: var(--paars);
    background: #f8edff;
    border: 1px solid #dcb7f5;
    padding: 2px 8px;
    border-radius: 999px;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    max-width: none;
    flex-shrink: 0;
    line-height: 1.3;
}

.admin-invoer {
    width: 100%;
    padding: 5px 8px;
    border-radius: 8px;
    border: 1.5px solid var(--lijn);
    font: inherit;
    font-size: .85rem;
    background: #fff;
    color: var(--tekst);
}
.admin-invoer:focus {
    outline: none;
    border-color: var(--roze);
}

/* ---------- 4. MP4 DOWNLOAD KNOP & STUDIO EIGEN FORMAAT (CUSTOM SIZE) ---------- */
.studio-acties.vier {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
@media (max-width: 640px) {
    .studio-acties.vier {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cs-eigen-formaat-vak {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 2px dashed var(--roze);
    background: #fff8fd;
    display: grid;
    gap: 10px;
}
.cs-eigen-rij {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px;
}
.cs-maat-veld {
    display: grid;
    gap: 3px;
    font-size: .78rem;
    font-weight: 900;
    color: var(--paars-donker);
}
.cs-maat-veld input {
    width: 92px;
    padding: 7px 10px;
    border-radius: 8px;
    border: 2px solid var(--lijn);
    font: inherit;
    font-size: .95rem;
    font-weight: 800;
    background: #fff;
    color: var(--tekst);
}
.cs-maat-veld input:focus {
    outline: none;
    border-color: var(--roze);
}
.cs-maat-maal {
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--paars-donker);
    padding-bottom: 7px;
}
.cs-eigen-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* ═══════════════════════════════════════════════════════════════════════════
 *  PAGINA PIMPEN PRO CLUB (/account) & IN-STUDIO AD-GATE / PAYPAL MODAL (v28)
 * ═══════════════════════════════════════════════════════════════════════════ */
.nav-pro-knop {
    background: linear-gradient(135deg, #facc15, #f59e0b) !important;
    color: #1e0b36 !important;
    font-weight: 900 !important;
    border-radius: 999px !important;
    padding: 6px 14px !important;
    box-shadow: 0 2px 10px rgba(250, 204, 21, .45);
}
.pro-account-held {
    max-width: 1020px;
    margin: 1.5rem auto;
    padding: 1.8rem 1.4rem;
    text-align: center;
    background: linear-gradient(145deg, rgba(61, 13, 99, .92), rgba(28, 6, 51, .95));
    border: 2px solid #facc15;
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 12px 36px rgba(0, 0, 0, .38);
}
.pro-kroon-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fde047, #f59e0b);
    color: #1e0b36;
    font-weight: 900;
    font-size: .82rem;
    letter-spacing: .05em;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: .6rem;
}
.pro-account-held h1 span {
    color: #fde047;
}
.pro-lead {
    max-width: 680px;
    margin: .6rem auto 1.4rem;
    font-size: 1.05rem;
    opacity: .95;
}
.pro-voordelen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
    margin-top: 1.2rem;
    text-align: left;
}
.pro-voordeel-kaart {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(250, 204, 21, .35);
    border-radius: 14px;
    padding: 1rem;
}
.pro-voordeel-kaart .pvk-icoon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: .35rem;
}
.pro-voordeel-kaart h3 {
    margin: 0 0 .35rem;
    color: #fde047;
    font-size: 1rem;
}
.pro-voordeel-kaart p {
    margin: 0;
    font-size: .88rem;
    line-height: 1.45;
    opacity: .92;
}
.pro-account-grid {
    max-width: 1020px;
    margin: 1.5rem auto 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.2rem;
}
.pro-paneel {
    background: rgba(42, 10, 74, .92);
    border: 2px solid rgba(255, 255, 255, .18);
    border-radius: 18px;
    padding: 1.4rem;
    color: #fff;
}
.pro-paneel-highlight {
    border-color: #facc15;
    box-shadow: 0 8px 28px rgba(250, 204, 21, .18);
}
.pro-form {
    display: grid;
    gap: .75rem;
    margin-top: .8rem;
}
.pro-form label {
    display: grid;
    gap: .25rem;
    font-size: .88rem;
    font-weight: 700;
}
.pro-form input {
    width: 100%;
    padding: .65rem .85rem;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, .25);
    background: rgba(0, 0, 0, .35);
    color: #fff;
    font: inherit;
}
.pro-goud-knop {
    background: linear-gradient(135deg, #fde047, #f59e0b) !important;
    color: #1e0b36 !important;
    font-weight: 900 !important;
    border: none !important;
    padding: .75rem 1.2rem !important;
    border-radius: 12px !important;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(250, 204, 21, .4);
}
.pro-alert {
    padding: .75rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    margin: .6rem 0;
}
.pro-alert-ok {
    background: rgba(16, 185, 129, .22);
    border: 1px solid #34d399;
    color: #d1fae5;
}
.pro-alert-fout {
    background: rgba(239, 68, 68, .25);
    border: 1px solid #f87171;
    color: #fee2e2;
}
.pro-status-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 900;
}
.pro-pill-actief {
    background: #facc15;
    color: #1e0b36;
}
.pro-pill-free {
    background: rgba(255, 255, 255, .15);
    color: #fff;
}
.pro-tabel {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
}
.pro-tabel th, .pro-tabel td {
    padding: .5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    text-align: left;
}
.pro-mini-galerij {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: .5rem;
    margin-top: .8rem;
}
.pro-mini-item {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, .2);
}
.pro-mini-item img {
    width: 100%;
    height: 75px;
    object-fit: cover;
    display: block;
}
.pro-mini-item span {
    position: absolute;
    bottom: 3px;
    right: 4px;
    background: rgba(0, 0, 0, .7);
    color: #fff;
    font-size: .7rem;
    padding: 1px 5px;
    border-radius: 4px;
}

/* Account: Mijn Gedeelde Plaatjes & Banners */
.mijn-plaatjes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 1rem;
}
.mijn-plaatje-kaart {
    background: #ffffff;
    border: 2px solid #fdba74;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(74, 14, 78, .06);
    transition: transform .14s, border-color .14s, box-shadow .14s;
    box-sizing: border-box;
}
.mijn-plaatje-kaart:hover {
    border-color: #f97316;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(249, 115, 22, .18);
}
.mijn-plaatje-preview {
    position: relative;
    background: #140424;
    border-radius: 8px;
    overflow: hidden;
    height: 155px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mijn-plaatje-preview img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
    display: block;
}
.mijn-plaatje-status-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: .7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 99px;
    color: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}
.mijn-plaatje-stats-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0, 0, 0, .78);
    color: #fde047;
    font-size: .72rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}
.mijn-plaatje-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mijn-plaatje-invoer {
    width: 100%;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1.5px solid #fed7aa;
    background: #fffdfa;
    color: #431407;
    font-size: .84rem;
    font-weight: 700;
    box-sizing: border-box;
}
.mijn-plaatje-invoer:focus {
    border-color: #f97316;
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(249, 115, 22, .2);
}
.mijn-plaatje-actierij {
    display: flex;
    gap: 6px;
}
.mijn-plaatje-select {
    flex: 1;
    padding: 5px 8px;
    border-radius: 8px;
    border: 1.5px solid #fed7aa;
    background: #fffdfa;
    color: #431407;
    font-size: .8rem;
    font-weight: 600;
}
.mijn-plaatje-voet {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1.5px solid #ffedd5;
    padding-top: 6px;
    margin-top: auto;
}
.mijn-plaatje-link {
    font-size: .78rem;
    color: #c2410c;
    font-weight: 800;
    text-decoration: none;
}
.mijn-plaatje-link:hover {
    text-decoration: underline;
    color: #9a3412;
}
.mijn-plaatje-del-knop {
    background: none;
    border: 1px solid transparent;
    color: #b91c1c;
    font-size: .78rem;
    cursor: pointer;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
    transition: background .12s, border-color .12s;
}
.mijn-plaatje-del-knop:hover {
    background: #fee2e2;
    border-color: #fca5a5;
}

/* In-Studio PRO & Ad-Gate Modal */
.pp-pro-modal-achtergrond {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    background: rgba(12, 3, 24, .82);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
    isolation: isolate;
}
.pp-pro-modal-achtergrond[hidden] {
    display: none !important;
}
.pp-pro-modal-kaart {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 92vh;
    overflow-y: auto;
    background: linear-gradient(155deg, #2e0954, #17042b);
    border: 2px solid #facc15;
    border-radius: 20px;
    padding: 1.35rem;
    color: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .65);
}
.pp-pro-sluit {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(0, 0, 0, .4);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}
.pp-pro-kop {
    text-align: center;
    margin-bottom: .9rem;
}
.pp-pro-kop h2 {
    margin: .25rem 0 .4rem;
    font-size: 1.35rem;
}
.pp-pro-kop h2 span {
    color: #fde047;
}
.pp-pro-kop p {
    margin: 0;
    font-size: .88rem;
    opacity: .92;
}
.pp-pro-tabs {
    display: flex;
    gap: .4rem;
    margin-bottom: .6rem;
}
.pp-pro-tabs button {
    flex: 1;
    padding: .5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-weight: 800;
    font-size: .82rem;
    cursor: pointer;
}
.pp-pro-tabs button.actief {
    background: #facc15;
    color: #1e0b36;
    border-color: #facc15;
}

/* ---------- Mega Update v38: Galerij Multi-Formaat Filters, Banners Hub & Hyves Groepen ---------- */
.galerij-zijbalk-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.galerij-formaat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 6px;
    border-top: 1px dashed rgba(255, 255, 255, .22);
}
.galerij-formaat-chips .formaat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    border: 1.5px solid rgba(255, 255, 255, .28);
    color: #fff;
    font-size: .83rem;
    font-weight: 800;
    text-decoration: none;
    transition: all .15s ease;
}
.galerij-formaat-chips .formaat-chip:hover {
    background: rgba(255, 153, 0, .25);
    border-color: #ff9900;
}
.galerij-formaat-chips .formaat-chip.actief {
    background: linear-gradient(180deg, #ffb319, #ff7700);
    border-color: #fff;
    color: #fff;
    box-shadow: 0 3px 10px rgba(255, 136, 0, .45);
}
.actief-formaat-pil {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 4px;
    padding: 2px 9px;
    border-radius: 999px;
    background: #ff8800;
    color: #fff;
    font-size: .78rem;
    font-weight: 900;
    text-decoration: none;
}
.actief-formaat-pil:hover {
    background: #e65c00;
}
.badge-formaat {
    position: static !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #fff4dc;
    border: 1px solid #ff9900;
    color: #803600;
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    max-width: none;
    flex-shrink: 0;
    line-height: 1.3;
}
.badge-vip {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff3b0, #ffd000);
    border: 1px solid #d49b00;
    color: #4a2800;
    font-size: .70rem;
    font-weight: 900;
    box-shadow: 0 1px 3px rgba(180, 120, 0, .25);
    white-space: nowrap;
    overflow: visible;
    flex-shrink: 0;
    line-height: 1.3;
}
.galerij-kaart {
    position: relative;
}
.galerij-kaart-vip {
    box-shadow: 0 0 0 3px #facc15, 0 8px 24px rgba(234, 179, 8, .35) !important;
}
.galerij-kaart-aanbevolen {
    box-shadow: 0 0 0 2.5px #f59e0b, 0 6px 18px rgba(245, 158, 11, .3) !important;
}
.galerij-kaart-aanbevolen.galerij-kaart-vip {
    box-shadow: 0 0 0 2px #ff2a9d, 0 0 0 4px #facc15, 0 8px 24px rgba(255, 42, 157, .35) !important;
}
.badge-aanbevolen {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #facc15, #f59e0b);
    border: 1px solid #b45309;
    color: #451a03;
    font-size: .70rem;
    font-weight: 900;
    box-shadow: 0 1px 4px rgba(245, 158, 11, .35);
    white-space: nowrap;
    overflow: visible;
    flex-shrink: 0;
    line-height: 1.3;
}
.badge-aanbevolen-groot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 2px solid #f59e0b;
    color: #92400e;
    font-size: .88rem;
    font-weight: 900;
    box-shadow: 0 2px 8px rgba(245, 158, 11, .25);
}
.filter-tab-aanbevolen {
    background: linear-gradient(135deg, #fffbeb, #fef3c7) !important;
    border-color: #f59e0b !important;
    color: #92400e !important;
    font-weight: 900 !important;
}
.filter-tab-aanbevolen.actief {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #fff !important;
    border-color: #b45309 !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, .45) !important;
}
.admin-direct-balk {
    background: #180527;
    border: 2px solid #facc15;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}
.admin-kaart-aanbevolen {
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 2px #f59e0b, 0 4px 12px rgba(245, 158, 11, .2) !important;
}
.admin-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 999999;
    background: #180527;
    color: #fff;
    border: 2px solid #facc15;
    box-shadow: 0 10px 32px rgba(0, 0, 0, .55);
    padding: 12px 20px;
    border-radius: 12px;
    font-size: .92rem;
    font-weight: 800;
    max-width: 440px;
    transform: translateY(-40px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.admin-toast.zichtbaar {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}
.admin-toast.fout {
    border-color: #f43f5e;
    background: #2b050d;
    color: #fda4af;
}
.admin-toast.succes {
    border-color: #22c55e;
    background: #052e16;
    color: #86efac;
}
.galerij-kaart-kop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 6px;
    padding: 6px 10px;
    background: linear-gradient(180deg, #fff8eb 0%, #ffedd1 100%);
    border-bottom: 1.5px solid #ffd280;
    width: 100%;
    box-sizing: border-box;
    min-height: 32px;
}
.galerij-kaart-badges {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    margin-left: auto;
}

/* Uniforme Desktop Breedte: Alle vensters en blokken sluiten 100% strak aan op de kop en main */
main > .hyves-venster,
main > .blok,
main > .studio-promo-banner,
main > .complete-studio,
main > .galerij-2000-layout,
main > .gadgets,
main > .krabbel-pagina,
main > .kleuren-pagina,
main > .pro-hero,
main > .pro-account-grid {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box;
}

/* Lagen-Beheer Dock in de Studio (Hyves / Pagina Pimpen lichte stijl) */
.cs-lagen-dock {
    background: #fdf5ff !important;
    border: 2px solid #e7c8f8 !important;
    border-radius: 16px !important;
    padding: 10px 14px !important;
    color: #2b0a4a !important;
    margin-top: 12px;
}
.cs-lagen-dock-kop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-weight: 900;
    color: #3d0d63;
    cursor: pointer;
    font-size: .92rem;
}
.cs-snel-overlay-btn {
    padding: 3px 9px !important;
    font-size: .74rem !important;
    min-height: 28px !important;
}
.cs-lagen-dock-uitleg {
    margin: 6px 0 10px;
    font-size: .8rem;
    color: #5c3075;
    line-height: 1.4;
}
.cs-lagen-stapel {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 2px;
}
.cs-laag-rij {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 10px;
    background: #ffffff;
    border: 1.5px solid #dfc2f5;
    box-shadow: 0 2px 6px rgba(74, 14, 78, .05);
    color: #2b0a4a;
    transition: border-color .12s;
}
.cs-laag-rij.verborgen {
    opacity: .55;
    background: #fdfafd;
}
.cs-laag-rij.vergrendeld {
    border-color: #facc15;
    background: #fffdf5;
}
.cs-laag-actie-icoon {
    width: 28px;
    height: 28px;
    min-height: 28px !important;
    padding: 0 !important;
    border-radius: 7px;
    border: 1.5px solid #dfc2f2;
    background: #faf2ff;
    color: #3d0d63;
    display: inline-grid;
    place-items: center;
    font-size: .84rem;
    cursor: pointer;
    flex-shrink: 0;
}
.cs-laag-actie-icoon:hover {
    border-color: var(--roze);
    background: #fff5fb;
}
.cs-laag-actie-icoon.actief-slot {
    border-color: #ca8a04;
    background: #fef9c3;
}
.cs-laag-actie-icoon.cs-laag-verwijder:hover {
    border-color: #f43f5e;
    background: #ffe4e6;
}
.cs-laag-slot-vast {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    font-size: .8rem;
    opacity: .6;
    flex-shrink: 0;
}
.cs-laag-naam-knop {
    flex: 1 1 auto;
    text-align: left;
    background: none;
    border: none;
    color: #2b0a4a;
    cursor: pointer;
    font-weight: 800;
    font-size: .84rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 2px 4px;
}
.cs-laag-naam-knop:hover {
    color: var(--roze);
}
.cs-laag-type-pil {
    font-size: .68rem;
    font-weight: 800;
    background: #f3e8ff;
    color: #6b21a8;
    border: 1px solid #d8b4fe;
    padding: 1px 7px;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
}
.cs-laag-basis-rij {
    background: #fbf5fe !important;
    border: 1.5px dashed #c084fc !important;
}
.cs-laag-pil-basis {
    background: #e9d5ff !important;
    color: #581c87 !important;
}

/* Compacte HD Resolutie Knop onder Presets */
.cs-hd-knop {
    border: 1.5px solid var(--lijn);
    background: #fff;
    color: var(--paars-donker);
    transition: all .15s ease;
    cursor: pointer;
}
.cs-hd-knop:hover {
    border-color: var(--roze);
    transform: translateY(-1px);
}
.cs-hd-knop.actief {
    background: linear-gradient(135deg, #fef08a 0%, #ffd700 100%) !important;
    border-color: #ca8a04 !important;
    color: #3b0764 !important;
    box-shadow: 0 2px 8px rgba(202, 138, 4, .28);
}

/* Community Banners & Achtergronden Grid & Kaarten */
.cb-rooster {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 500px), 1fr));
    gap: 20px;
}
.cb-kaart {
    background: #fff;
    border: 2px solid var(--lijn);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 14px rgba(74, 14, 78, .07);
    transition: transform .14s, border-color .14s;
}
.cb-kaart:hover {
    transform: translateY(-2px);
    border-color: var(--roze);
    box-shadow: 0 8px 24px rgba(255, 42, 157, .18);
}
.cb-kaart-kop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
    border-bottom: 1.5px solid #fed7aa;
}
.cb-kaart-titel {
    margin: 0;
    font-size: .88rem;
    font-weight: 900;
    color: #431407;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cb-formaat-badge {
    font-size: .7rem;
    font-weight: 800;
    background: #fff;
    color: #9a3412;
    border: 1px solid #fdba74;
    border-radius: 999px;
    padding: 2px 8px;
    white-space: nowrap;
    flex-shrink: 0;
}
.cb-preview-vak {
    position: relative;
    background: #140424;
    display: grid;
    place-items: center;
    overflow: hidden;
    width: 100%;
    aspect-ratio: var(--cb-aspect, 928 / 224);
}
.cb-preview-cover {
    aspect-ratio: var(--cb-aspect, 928 / 224);
    max-height: 320px;
}
.cb-preview-achtergrond {
    aspect-ratio: var(--cb-aspect, 800 / 600);
    max-height: 320px;
}
.cb-preview-vak a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.cb-preview-vak img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.cb-kaart-voet {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff;
}
.cb-meta-rij {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: .82rem;
    color: #4a154b;
}
.cb-maker {
    font-weight: 800;
    color: #581c87;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.cb-actie-knoppen {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.cb-actie-knoppen .knop {
    flex: 1 1 140px;
    justify-content: center;
    font-size: .8rem;
    padding: 6px 10px;
    white-space: nowrap;
}
.cb-filter-balk {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 2px dashed #f3d4fc;
}
.cb-filter-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.cb-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1.5px solid var(--lijn);
    background: #fff;
    color: #3b0764;
    font-weight: 800;
    font-size: .84rem;
    text-decoration: none;
    transition: all .14s;
}
.cb-tab:hover {
    border-color: var(--roze);
    background: #fff7fc;
}
.cb-tab.actief {
    background: linear-gradient(135deg, var(--roze), var(--paars));
    border-color: var(--paars-donker);
    color: #fff;
    box-shadow: 0 3px 10px rgba(138, 63, 252, .25);
}
.cb-teller {
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .12);
    font-size: .72rem;
}
.cb-sort-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.cb-sort-label {
    font-size: .8rem;
    font-weight: 900;
    color: var(--tekst-zacht);
}
.cb-sort-knop {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 800;
    border: 1.5px solid var(--lijn);
    background: #fff;
    color: #4a154b;
    text-decoration: none;
}
.cb-sort-knop.actief {
    background: #fdf2f8;
    border-color: var(--roze);
    color: #9d174d;
}
.cb-sectie-uitleg {
    margin: 0 0 14px;
    font-size: .95rem;
    color: #3b0764;
    line-height: 1.5;
}
.cb-admin-paneel {
    margin-top: 6px;
    border: 1.5px dashed #f59e0b;
    border-radius: 10px;
    padding: 8px 10px;
    background: #fffbeb;
    font-size: .8rem;
}
.cb-admin-paneel summary {
    cursor: pointer;
    font-weight: 900;
    color: #92400e;
}
.cb-admin-form {
    margin-top: 8px;
    display: grid;
    gap: 8px;
}
.cb-admin-velden {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 6px;
}
.cb-admin-velden label {
    display: grid;
    gap: 2px;
    font-weight: 800;
    color: #78350f;
    font-size: .74rem;
}
.cb-admin-velden input, .cb-admin-velden select {
    padding: 5px 8px;
    border-radius: 6px;
    border: 1.5px solid #d97706;
    background: #fff;
    color: #451a03;
    font-size: .78rem;
    font-weight: 700;
}
.cb-admin-acties {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.bu-twee-kolom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
@media (max-width: 600px) {
    .bu-twee-kolom {
        grid-template-columns: 1fr;
    }
}
.cb-eigen-tekst-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fdf4ff;
    border: 1.5px solid #c084fc;
    padding: 8px 12px;
    border-radius: 12px;
}
.cb-eigen-tekst-box label {
    font-weight: 900;
    font-size: .84rem;
    color: #581c87;
    white-space: nowrap;
}
.cb-gen-balk {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

/* Banner-upload met bijsnijder: formaat-chips, kwaliteit en een groot bijsnijvak */
.banner-upload-form { display: grid; gap: 14px; }
.bu-soorten.formaat-keuze { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) {
    .bu-soorten.formaat-keuze { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.bu-soorten .formaat-chip { color: #2b0a4a; }
.bu-schalen { display: flex; flex-wrap: wrap; gap: 8px; }
.bu-schalen .pill { font-weight: 800; }
.bu-snijder {
    background: #fff;
    border: 2px solid #e9d5ff;
    border-radius: 16px;
    padding: 12px;
}
.bu-snijder-kop {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 12px;
    margin-bottom: 8px;
    color: #2b0a4a;
}
#bu-snijder-hint { color: #6b21a8; font-weight: 700; }
.bu-podium {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #1b0733;
}
.bu-podium canvas { display: block; width: 100%; cursor: grab; outline: none; }
.bu-podium canvas.sleept { cursor: grabbing; }
.bu-snijder.leeg .bu-podium canvas { cursor: pointer; }
.bu-snijder.origineel .bu-podium canvas { cursor: default; }
.bu-podium canvas:focus-visible { box-shadow: inset 0 0 0 3px #ff2a85; }
.bu-podium.sleep-hier::after {
    content: 'Laat los om je afbeelding te openen';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 3px dashed #fff;
    border-radius: 12px;
    background: rgba(255, 42, 133, .38);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 900;
    pointer-events: none;
}
.bu-balk {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-top: 10px;
}
.bu-zoom { display: flex; flex: 1 1 240px; align-items: center; gap: 6px; min-width: 200px; }
.bu-zoom input[type="range"] { flex: 1; min-width: 80px; accent-color: #ff2a85; }
#bu-zoom-label { min-width: 3.4em; color: #3b0764; font-weight: 900; text-align: right; font-variant-numeric: tabular-nums; }
.bu-knoppen-groep { display: flex; flex-wrap: wrap; gap: 6px; }
.bu-knopje {
    padding: 6px 12px;
    border: 2px solid #e9d5ff;
    border-radius: 999px;
    background: #faf5ff;
    color: #3b0764;
    font: inherit;
    font-size: .85rem;
    font-weight: 800;
    line-height: 1.1;
    cursor: pointer;
}
.bu-knopje:hover:not([disabled]) { border-color: #c084fc; background: #f3e8ff; }
.bu-knopje[disabled] { opacity: .45; cursor: not-allowed; }
.bu-rond { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; font-size: 1.15rem; }
.bu-randen { display: flex; align-items: center; gap: 6px; color: #3b0764; font-size: .85rem; font-weight: 800; }
.bu-randen .invoer { width: auto; padding: 4px 8px; }
.bu-randen input[type="color"] { width: 36px; height: 30px; padding: 0; border: 2px solid #e9d5ff; border-radius: 8px; background: none; cursor: pointer; }
#bu-maat-label { display: block; margin-top: 8px; color: #3b0764; font-weight: 700; }
.bu-waarschuwing { color: #b45309; }
.bu-actieknoppen { display: flex; flex-wrap: wrap; gap: 10px; }
.vintage-banners-rooster {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr));
    gap: 20px;
}

/* ═══════════════════════════════════════════════════════════════════════════
 *  v39: KLASSIEKE HYVES DESKTOP & MOBIEL NAVIGATIEBALK + GALERIJ RESPONSIVE FIX
 * ═══════════════════════════════════════════════════════════════════════════ */
.kop.hyves-kop {
    max-width: 1180px;
    margin: 0 auto 8px;
    padding: 12px 16px 6px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}
.hyves-kop-boven {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}
.merk-tekst-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.merk-slogan {
    font-size: .74rem;
    font-weight: 900;
    color: #ffe28a;
    letter-spacing: .02em;
    margin-top: -4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
}
.hyves-kop-rechts {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.hyves-snel-knop {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff66c4 0%, #d91b8f 100%);
    border: 1.5px solid #ffd6f0;
    color: #fff;
    font-weight: 900;
    font-size: .84rem;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(255, 42, 157, .38);
    white-space: nowrap;
}
.hyves-snel-knop:hover {
    filter: brightness(1.08);
}
.hyves-mobiel-menu-knop {
    display: none;
    align-items: center;
    gap: 4px;
    padding: 7px 12px;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffb82e 0%, #ff8000 100%);
    border: 1.5px solid #fff;
    color: #fff;
    font-weight: 900;
    font-size: .84rem;
    text-shadow: 0 1px 2px rgba(100, 30, 0, .7);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

/* De iconische glanzende Hyves Oranje Tab-Balk */
.hoofdmenu.hyves-nav-balk {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 3px;
    width: 100%;
    padding: 5px 6px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffbe3b 0%, #ff8800 52%, #e05e00 100%);
    border: 2px solid #fff2cc;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .65),
        0 6px 18px rgba(16, 2, 32, .48);
}
.hoofdmenu.hyves-nav-balk .hyves-nav-tab {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 38px;
    padding: 0 11px;
    border-radius: 9px;
    border: 1.5px solid transparent;
    background: transparent;
    color: #ffffff;
    font-size: .86rem;
    font-weight: 900;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(115, 38, 0, .82);
    white-space: nowrap;
    transition: background .14s ease, transform .12s ease;
}
.hoofdmenu.hyves-nav-balk .hyves-nav-tab:hover {
    background: rgba(255, 255, 255, .22);
    border-color: rgba(255, 255, 255, .45);
}
.hoofdmenu.hyves-nav-balk .hyves-nav-tab[aria-current="page"] {
    background: linear-gradient(180deg, #ffffff 0%, #fff3d6 100%) !important;
    color: #3d0d63 !important;
    border-color: #8a3600 !important;
    text-shadow: none !important;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .26);
}

/* Galerij Sortering & Mobiele Filters strakker.
   De knoppen blijven altijd binnen de middenkolom: past de rij niet, dan lopen ze door
   naar een tweede regel in plaats van over de advertentie rechts te vallen. */
.galerij-hoofd { min-width: 0; }
.galerij-filters-strook { min-width: 0; max-width: 100%; }
.galerij-filters {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 22px;
}
.galerij-filters .filter-tab {
    white-space: nowrap !important;
    max-width: 100%;
    padding: 7px 14px !important;
    font-size: .86rem !important;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

@media (max-width: 860px) {
    .kop.hyves-kop {
        padding: 10px 10px 4px;
        gap: 8px;
        max-width: 100%;
        overflow: hidden;
    }
    .kop.hyves-kop .hyves-kop-boven {
        gap: 6px;
        min-width: 0;
        width: 100%;
    }
    .kop.hyves-kop .merk {
        gap: 8px;
        min-width: 0;
        flex: 1 1 auto;
    }
    .kop.hyves-kop .merk-logo {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        flex-shrink: 0;
    }
    .kop.hyves-kop .merk-tekst {
        min-width: 0;
    }
    .kop.hyves-kop .merk-naam {
        font-size: clamp(1.2rem, 4.6vw, 1.5rem) !important;
        line-height: 1.25;
        padding: 1px 4px 5px;
        margin: 0;
    }
    .kop.hyves-kop .merk-slogan {
        font-size: .6rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 170px;
    }
    .kop.hyves-kop .hyves-kop-rechts {
        gap: 5px;
        flex-shrink: 0;
    }
    .kop.hyves-kop .hyves-kop-rechts .hyves-chip,
    .kop.hyves-kop .hyves-kop-rechts .nav-pro-knop {
        min-height: 32px !important;
        padding: 4px 9px !important;
        font-size: .74rem !important;
    }
    .hyves-snel-studio {
        display: none !important;
    }
    .hyves-mobiel-menu-knop {
        display: inline-flex;
        min-height: 32px;
        padding: 4px 9px;
        font-size: .75rem;
    }
    /* Op mobiel standaard 1 slanke horizontaal swipebare Hyves-balk (geen 6 rijen!) */
    .hoofdmenu.hyves-nav-balk {
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        padding: 4px 5px;
        border-radius: 12px;
        max-width: 100%;
    }
    .hoofdmenu.hyves-nav-balk::-webkit-scrollbar {
        display: none;
    }
    .hoofdmenu.hyves-nav-balk .hyves-nav-tab {
        flex: 0 0 auto;
        min-height: 35px;
        padding: 0 11px;
        font-size: .82rem;
    }
    /* Klikt de gebruiker op ☰ Menu, dan klapt hij open als een overzichtelijk 2-koloms Hyves rooster */
    .hoofdmenu.hyves-nav-balk.mobiel-open {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        overflow: visible;
        padding: 8px;
    }
    .hoofdmenu.hyves-nav-balk.mobiel-open .hyves-nav-tab {
        width: 100%;
        justify-content: flex-start;
        padding: 8px 10px;
        background: rgba(255, 255, 255, .14);
        border-color: rgba(255, 255, 255, .28);
    }
    .cs-canvas-kaart {
        padding: 12px;
        border-radius: 18px;
    }
}

/* Privacyverklaring en voorwaarden: rustige leesbreedte */
.tekstpagina { max-width: 760px; margin: 10px auto 30px; line-height: 1.6; }
.tekstpagina h1 { margin: 0 0 6px; font-size: clamp(1.5rem, 4.5vw, 2rem); font-weight: 900; }
.tekstpagina h2 { margin: 22px 0 6px; font-size: 1.15rem; font-weight: 900; }
.tekstpagina ul { padding-left: 1.2em; }
.tekstpagina li { margin: 4px 0; }
.tekstpagina a { color: inherit; font-weight: 700; }
.akkoord-tekst { font-size: .8rem; opacity: .85; margin: .4rem 0 0; }
.akkoord-tekst a { color: inherit; font-weight: 700; text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════════════════
 *  BuddyPoke-demo in de stijl van de klassieke app (2008)
 * ═══════════════════════════════════════════════════════════════════════════ */
.gadget[data-gadget="buddypoke"] { grid-column: 1 / -1; }
.gadget-vak.bp-app {
    display: block;
    padding: 0;
    border: 1px solid #b8c7dc;
    background: #ffffff;
    color: #1f2a44;
    text-align: left;
    font-family: Tahoma, Verdana, "Segoe UI", sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.bp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.bp-tabs {
    display: flex;
    gap: 3px;
    padding: 8px 8px 0;
    overflow-x: auto;
    background: linear-gradient(180deg, #f4f7fb, #dfe7f2);
    border-bottom: 1px solid #b8c7dc;
    scrollbar-width: none;
}
.bp-tab {
    flex: 0 0 auto;
    padding: 5px 11px 6px;
    border: 1px solid #b8c7dc;
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, #ffffff, #e6edf6);
    color: #1f3b6e;
    font: 700 .78rem Tahoma, Verdana, sans-serif;
    cursor: pointer;
    white-space: nowrap;
}
.bp-tab:hover { background: linear-gradient(180deg, #ffffff, #f2f6fb); }
.bp-tab[aria-selected="true"] { position: relative; top: 1px; background: #ffffff; color: #0b2b5c; }
.bp-inhoud {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
    gap: 14px;
    padding: 14px;
}
.bp-links { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bp-podium { display: block; width: 100%; max-width: 440px; height: auto; margin: 0 auto; border-radius: 6px; aspect-ratio: 380 / 340; }
.bp-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid #d5deea;
    border-radius: 6px;
    background: #f6f9fd;
    font-size: .82rem;
    line-height: 1.35;
}
.bp-status-icoon { font-size: 1.4rem; }
.bp-status small { color: #6b7a93; }
.bp-paneel { min-width: 0; }
.bp-paneel-kop, .bp-kader-kop { margin: 0 0 8px; color: #0b2b5c; font: 700 .85rem Tahoma, Verdana, sans-serif; }
.bp-kader {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 10px;
    border: 1px solid #c3cfdf;
    border-radius: 6px;
    background: linear-gradient(180deg, #f3f6fa, #e8edf4);
}
.bp-kader-scroll { max-height: 470px; overflow-y: auto; }
.bp-cats { display: flex; flex-wrap: wrap; gap: 3px; }
.bp-cat {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #aebbd0;
    border-radius: 4px;
    background: linear-gradient(180deg, #ffffff, #dce5f1);
    font-size: 1.05rem;
    cursor: pointer;
}
.bp-cat[aria-pressed="true"] { border-color: #3a6fc4; background: #ffffff; box-shadow: inset 0 0 0 2px #9cc0f5; }
.bp-lijst {
    max-height: 214px;
    overflow-y: auto;
    border: 1px solid #aebbd0;
    background: #ffffff;
}
.bp-lijst-regel {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    font-size: .84rem;
    cursor: pointer;
}
.bp-lijst-regel:nth-child(even) { background: #f7f9fc; }
.bp-lijst-regel:hover { background: #e9f1ff; }
.bp-lijst-regel input { margin: 0; accent-color: #3a6fc4; }
.bp-lijst-icoon { width: 1.4em; font-size: 1.05rem; text-align: center; }
.bp-veld { display: flex; flex-direction: column; gap: 3px; font-size: .8rem; font-weight: 700; color: #33445f; }
.bp-invoer, .gadget-vak.bp-app input.bp-invoer {
    min-height: 30px !important;
    padding: 4px 8px !important;
    border: 1px solid #9fb0c8 !important;
    border-radius: 3px !important;
    background: #ffffff !important;
    color: #1f2a44 !important;
    font: 400 .85rem Tahoma, Verdana, sans-serif !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .12) !important;
}
.bp-teller { align-self: flex-end; color: #6b7a93; font-weight: 400; }
.bp-knop {
    padding: 6px 12px;
    border: 1px solid #8a9bb5;
    border-radius: 4px;
    background: linear-gradient(180deg, #ffffff, #d9e2ee);
    color: #1f3b6e;
    font: 700 .8rem Tahoma, Verdana, sans-serif;
    cursor: pointer;
}
.bp-knop:hover:not(:disabled) { background: linear-gradient(180deg, #ffffff, #e9eff7); border-color: #3a6fc4; }
.bp-knop:disabled { opacity: .6; cursor: progress; }
.bp-knop-groot { align-self: center; padding: 7px 18px; }
.bp-acties { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.bp-actie {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 8px;
    border: 1px solid #aebbd0;
    border-radius: 5px;
    background: #ffffff;
    color: #1f3b6e;
    font: 700 .8rem Tahoma, Verdana, sans-serif;
    text-align: left;
    cursor: pointer;
}
.bp-actie:hover { border-color: #3a6fc4; background: #f2f7ff; }
.bp-actie-icoon { font-size: 1.25rem; }
.bp-rij { display: flex; flex-direction: column; gap: 4px; }
.bp-rij-titel { font-size: .78rem; font-weight: 700; color: #33445f; }
.bp-rij-keuzes { display: flex; flex-wrap: wrap; gap: 4px; }
.bp-chip {
    padding: 3px 9px;
    border: 1px solid #aebbd0;
    border-radius: 999px;
    background: #ffffff;
    color: #1f3b6e;
    font: 700 .75rem Tahoma, Verdana, sans-serif;
    cursor: pointer;
}
.bp-chip[aria-pressed="true"] { border-color: #3a6fc4; background: #dfeaff; }
.bp-kleur {
    width: 24px;
    height: 24px;
    padding: 0;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: var(--kleur);
    box-shadow: 0 0 0 1px #9fb0c8;
    cursor: pointer;
}
.bp-kleur[aria-pressed="true"] { box-shadow: 0 0 0 2px #3a6fc4, 0 0 0 4px #9cc0f5; }
.bp-tekst { margin: 0; font-size: .84rem; line-height: 1.45; }
.bp-zacht { color: #6b7a93; font-size: .78rem; }
.bp-snelkoppelingen { display: grid; gap: 6px; }
.bp-geschiedenis { margin: 0; padding: 0; list-style: none; font-size: .8rem; }
.bp-geschiedenis li { padding: 5px 0; border-bottom: 1px dotted #c3cfdf; }
.bp-geschiedenis small { color: #6b7a93; }
.bp-hulp { margin: 0; padding-left: 18px; font-size: .82rem; line-height: 1.45; }
@media (max-width: 760px) {
    .bp-inhoud { grid-template-columns: minmax(0, 1fr); padding: 10px; }
    .bp-lijst { max-height: 180px; }
}

/* MSN-emoticons in plaats van browser-emoji (lib/emoticons.php, assets/js/emoticons.js).
   Altijd een geheel aantal keer 19px, zodat de pixels scherp blijven; !important omdat
   regels als ".galerij-rooster img { width: 100% }" ze anders uitrekken. */
img.msn {
    display: inline-block !important;
    width: auto !important;
    height: 19px !important;
    height: max(19px, round(down, 1.4em, 19px)) !important;
    max-width: none !important;
    margin: 0 .06em;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    vertical-align: middle;
    image-rendering: pixelated;
    object-fit: contain;
    filter: none;
}

/* Hyves Groep Detail Pagina layout */
.groep-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
    gap: 20px;
    align-items: start;
    max-width: 1120px;
    margin: 0 auto 32px;
}

/* Shared destination-aware downloads; guides never become part of the file. */
.uitvoer-keuze { padding: 12px 0; border-top: 2px dashed #00a7c4; margin: 10px 0; min-width: 0; }
.uitvoer-bestemming { display: block; font-size: .9rem; margin-bottom: 8px; overflow-wrap: anywhere; }
.uitvoer-soorten { display: flex; flex-wrap: wrap; gap: 0; }
.uitvoer-soorten button { padding: 8px 12px; min-height: 38px; background: white; border: 2px solid #17131c; color: #17131c; font: inherit; font-weight: 900; cursor: pointer; }
.uitvoer-soorten button + button { margin-left: -2px; }
.uitvoer-soorten button[aria-pressed="true"] { background: #00c8ff; box-shadow: inset 0 -3px #0098b0; }
.uitvoer-frame { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .85rem; font-weight: 800; }
.uitvoer-frame input { flex: 1; min-width: 0; width: 70px; accent-color: #ff3fa4; }
.uitvoer-frame output { min-width: 42px; text-align: right; font-variant-numeric: tabular-nums; }
.uitvoer-jpg, .uitvoer-maten { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: .85rem; }
.uitvoer-jpg input { width: 36px; height: 30px; padding: 2px; }
.uitvoer-maten select { max-width: 160px; }
.uitvoer-melding { font-size: .8rem; line-height: 1.4; margin: 8px 0 0; color: #48434c; }
.uitvoer-veilig { position: absolute; z-index: 3; border: 2px dashed #00ffff; outline: 1px solid #101010; background: #00ffff0d; pointer-events: none; }
.uitvoer-guide-keuze { margin-top: 8px; }
.studio-acties.uitvoer-acties { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.studio-acties.uitvoer-acties [hidden], .cs-hoofdacties [hidden] { display: none !important; }
.cs-hoofdacties:has(#cs-knop-mp4[hidden]) > :last-child { grid-column: 1 / -1; }
.cs-platform-template { padding: 6px !important; }
.cs-platform-template-beeld { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 1px solid #17131c; }
.cs-platform-template .cs-lijst-naam { margin-top: 5px; }
.uitvoer-keuze [hidden], .uitvoer-veilig[hidden] { display: none !important; }

.discord-snelkoppelingen, .discord-server-acties, .discord-paginering { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.discord-zoeken { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; padding: 20px 0; margin-top: 16px; border-top: 3px solid #17131c; }
.discord-gids label { display: flex; flex-direction: column; gap: 5px; font-weight: 800; min-width: 0; }
.discord-gids input, .discord-gids select, .discord-gids textarea { width: 100%; max-width: 100%; border: 2px solid #17131c; border-radius: 4px; background: #fff; color: #17131c; font: inherit; padding: 9px; box-sizing: border-box; }
.discord-gids textarea { resize: vertical; }
.discord-serverlijst { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 16px 0 24px; }
.discord-server { border: 3px solid #17131c; border-radius: 8px; box-shadow: 3px 3px 0 #17131c; padding: 16px; background: #fff; min-width: 0; }
.discord-server-kop { display: flex; align-items: center; gap: 12px; }
.discord-server-kop img { object-fit: contain; image-rendering: pixelated; flex-shrink: 0; }
.discord-server h2 { font-size: 1.25rem; margin: 3px 0; overflow-wrap: anywhere; }
.discord-categorie { color: #055663; font-weight: 800; font-size: .8rem; }
.discord-status { background: #fff2aa; color: #17131c; padding: 5px 8px; font-weight: 800; }
.discord-beschrijving { overflow-wrap: anywhere; }
.discord-server-acties form { margin: 0; }
.discord-beheer { margin-top: 12px; padding-top: 10px; border-top: 1px dashed #999; }
.discord-aanmelden { padding: 22px 0; margin-top: 28px; border-top: 4px solid #00c8ff; }
.discord-aanmeldformulier { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.discord-breed { grid-column: 1 / -1; }
.discord-voorwaarden { font-size: .85rem; color: #48434c; }
.discord-bericht { background: #e0fff2; border-left: 5px solid #008d57; padding: 12px; overflow-wrap: anywhere; }
.discord-bericht.fout { background: #fff0f1; border-color: #cf254b; }
.discord-leeg { padding: 25px 0; border-bottom: 2px dashed #17131c; }
.discord-honeypot { display: none !important; }
@media (max-width: 600px) {
    .studio-acties.uitvoer-acties { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .studio-acties.uitvoer-acties > :last-child { grid-column: 1 / -1; }
    .discord-zoeken, .discord-serverlijst, .discord-aanmeldformulier { grid-template-columns: minmax(0, 1fr); }
    .discord-snelkoppelingen .knop { flex: 1 1 145px; }
}
@media (max-width: 860px) {
    .groep-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* Handmatig gecontroleerde PRO-betaalverzoeken. */
.betaalverzoek-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:.75rem;margin:1rem 0}
.betaalverzoek-form label,.betaalverzoek-bevestig label{display:grid;gap:.3rem;min-width:0}
.betaalverzoek-form input,.betaalverzoek-bevestig input:not([type=checkbox]){width:100%;min-width:0;box-sizing:border-box}
.betaalverzoek-breed{grid-column:1/-1}
.betaalverzoek-lijst{display:grid;gap:.8rem}
.betaalverzoek-item{border:1px solid #83749b;border-radius:8px;padding:.9rem;min-width:0;overflow-wrap:anywhere}
.betaalverzoek-item h3{font-size:1rem;margin:.1rem 0 .5rem}
.betaalverzoek-bevestig{display:grid;gap:.6rem}
.betaalverzoek-bevestig .betaalverzoek-check{display:flex;align-items:flex-start;gap:.5rem}
.betaalverzoek-check input{flex:none;margin-top:.2rem}
.betaalverzoek-item .knop{max-width:100%;white-space:normal}

.privacy-instellingen{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(560px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:0;border:3px solid #17121d;border-radius:8px;background:#fff;color:#251335;box-shadow:5px 5px 0 #17121d;overflow:hidden;z-index:1000}
.privacy-instellingen[open]{display:flex;flex-direction:column}
.privacy-instellingen::backdrop{background:rgba(22,10,39,.7)}
.privacy-kop{display:flex;flex:none;align-items:center;gap:12px;padding:16px;background:#ffcf00;border-bottom:2px solid #17121d}
.privacy-kop h2{flex:1;margin:0;font-size:1.2rem;line-height:1.3}
.privacy-instellingen button{font:inherit;font-weight:800;cursor:pointer;border:2px solid #17121d;border-radius:6px;min-height:44px;padding:8px 12px;background:#fff;color:#251335}
.privacy-instellingen .privacy-sluiten{flex:none;width:44px;height:44px;padding:0;font-size:1.7rem;line-height:1}
.privacy-inhoud{padding:16px;min-height:0;overflow:auto}
.privacy-inhoud>p:first-child{margin-top:0}
.privacy-keuze{display:flex;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid #d8c9e6}
.privacy-keuze>div,.privacy-keuze>span{flex:1;min-width:0}
.privacy-keuze p,.privacy-uitleg{display:block;margin:4px 0 0;font-size:.9rem;line-height:1.45}
.privacy-keuze input{appearance:auto;flex:none;accent-color:#8439e9;width:24px;height:24px;margin:0}
.privacy-google h3{font-size:1rem;margin:16px 0 4px}
.privacy-google p{font-size:.9rem;line-height:1.45;margin:0 0 10px}
.privacy-acties{display:grid;flex:none;grid-template-columns:1fr 1fr;gap:10px;padding:16px;border-top:1px solid #d8c9e6;background:#f8f2ff}
.privacy-acties .privacy-opslaan{background:#c6ed00}
.privacy-status{margin:0;min-height:1.4em;font-size:.9rem;line-height:1.45;color:#563d69}
@media(max-width:400px){.privacy-acties{grid-template-columns:1fr}.privacy-kop h2{font-size:1.05rem}}
