/* Swipen 3 - app */
:root {
	--pink: #FF2D78; --violet: #6A3CFF; --lime: #B6FF3B; --lime-d: #4FB300; --coral: #FF5C4D; --sky: #3DD2FF; --sky-d: #11A6DA; --gold: #FFB800;
	--ink: #1B1530; --ink-70: rgba(27,21,48,.7); --ink-50: rgba(27,21,48,.5); --ink-12: rgba(27,21,48,.12); --ink-06: rgba(27,21,48,.06);
	--paper: #FFF7FB; --wit: #fff; --grad: linear-gradient(135deg, #FF2D78 0%, #6A3CFF 100%);
	--kop: 'Unbounded', 'Manrope', system-ui, sans-serif; --tekst: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--r: 22px; --schaduw: 0 16px 40px -16px rgba(106,60,255,.45), 0 3px 10px -4px rgba(27,21,48,.12); --schaduw-k: 0 6px 18px -8px rgba(106,60,255,.4);
	--boven: env(safe-area-inset-top, 0px); --onder: env(safe-area-inset-bottom, 0px); --tabbar: 64px; --rand: calc(20px + env(safe-area-inset-left, 0px));
}
*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; overscroll-behavior-y: contain; }
body.sw { margin: 0; font-family: var(--tekst); color: var(--ink); background: #f3eaf5; -webkit-font-smoothing: antialiased; overscroll-behavior: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
a { color: var(--violet); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 8px; }
.sw-ic { display: inline-flex; width: 24px; height: 24px; flex: 0 0 auto; }
.sw-ic svg { width: 100%; height: 100%; }

/* App-frame: op de telefoon schermvullend, op een groot scherm als telefoon getoond */
.app { position: relative; height: 100dvh; max-width: 520px; margin: 0 auto; background: var(--paper); display: flex; flex-direction: column; overflow: hidden; }
.web-zij { display: none; }
@media (min-width: 720px) and (min-height: 640px) {
	body.sw { min-height: 100vh; display: flex; align-items: center; justify-content: center; gap: 72px; padding: 24px; background: radial-gradient(circle at 15% 15%, #ffd6e7 0, transparent 42%), radial-gradient(circle at 85% 85%, #ddd2ff 0, transparent 45%), #f7f1f9; }
	.app { --boven: 46px; --onder: 18px; --rand: 20px; flex: 0 0 auto; width: 390px; max-width: 390px; height: min(844px, calc(100vh - 48px)); margin: 0; border-radius: 54px; box-shadow: 0 0 0 11px #17121f, 0 0 0 13px #3a3346, 0 40px 90px -20px rgba(60,20,120,.45); isolation: isolate; }
	.app::before { content: ""; position: absolute; top: 11px; left: 50%; width: 118px; height: 34px; margin-left: -59px; border-radius: 20px; background: #0d0a12; z-index: 200; pointer-events: none; }
	.app::after { content: ""; position: absolute; bottom: 7px; left: 50%; width: 128px; height: 5px; margin-left: -64px; border-radius: 3px; background: rgba(27,21,48,.35); z-index: 200; pointer-events: none; }
	.web-zij { display: block; max-width: 340px; }
	.web-zij img { width: 190px; margin-bottom: 26px; }
	.web-zij h1 { font-family: var(--kop); font-size: 40px; line-height: 1.05; margin: 0 0 16px; letter-spacing: -.02em; }
	.web-zij h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
	.web-zij p { font-size: 17px; line-height: 1.55; color: var(--ink-70); margin: 0 0 22px; font-weight: 600; }
	.web-zij ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
	.web-zij li { display: flex; gap: 12px; align-items: center; font-weight: 700; }
	.web-zij li b { width: 36px; height: 36px; border-radius: 12px; background: #fff; box-shadow: var(--schaduw-k); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
}
@media (min-width: 720px) and (max-width: 1000px) { .web-zij { display: none; } }
.tabs { flex: 1; position: relative; min-height: 0; }
.tab { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; padding-bottom: 24px; overscroll-behavior: contain; }
.tab-swipen { overflow: hidden; padding: 0; display: flex; flex-direction: column; }

/* Tabbalk */
.tabbar { flex: 0 0 auto; height: calc(var(--tabbar) + var(--onder)); padding-bottom: var(--onder); display: flex; background: #fff; border-top: 1px solid var(--ink-06); z-index: 20; }
.tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #b3aabd; font-size: 11px; font-weight: 700; position: relative; }
.tabbar button .sw-ic { width: 27px; height: 27px; }
.tabbar button.is-actief { color: var(--pink); }
.tabbar .stip { position: absolute; top: 9px; left: calc(50% + 8px); min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px; background: var(--pink); color: #fff; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* Koppen */
.kop { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 10px; padding: calc(14px + var(--boven)) var(--rand) 12px; background: rgba(255,247,251,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.kop h1 { font-family: var(--kop); font-size: 24px; margin: 0; flex: 1; }
.kop-logo { height: 26px; width: auto; }
.h2 { font-family: var(--kop); font-size: 19px; font-weight: 700; margin: 0 var(--rand) 10px; }
.sub { color: var(--ink-50); font-weight: 600; font-size: 14px; margin: 0 var(--rand) 14px; }

/* Knoppen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 800; font-size: 16px; transition: transform .12s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-p { background: var(--grad); color: #fff; box-shadow: 0 10px 22px -10px rgba(255,45,120,.7); }
.btn-w { background: #fff; color: var(--ink); box-shadow: var(--schaduw-k); }
.btn-g { border: 2px solid var(--ink-12); color: var(--ink); }
.btn-l { width: 100%; }
.btn-s { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn .sw-ic { width: 20px; height: 20px; }
.link { color: var(--violet); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Ontdek */
.ont-kop { justify-content: space-between; }
.segment { display: flex; background: var(--ink-06); border-radius: 999px; padding: 4px; }
.segment button { padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: 14px; color: var(--ink-50); display: inline-flex; gap: 6px; align-items: center; }
.segment button .sw-ic { width: 17px; height: 17px; }
.segment button.is-actief { background: #fff; color: var(--ink); box-shadow: var(--schaduw-k); }
.ont-titel { font-family: var(--kop); font-size: 30px; line-height: 1.05; margin: 10px var(--rand) 20px; letter-spacing: -.01em; }
.ont-titel span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.samen-balk { margin: 0 var(--rand) 22px; padding: 14px 16px; border-radius: 18px; background: var(--ink); color: #fff; display: flex; align-items: center; gap: 12px; }
.samen-balk .sw-ic { width: 30px; height: 30px; color: var(--lime); }
.samen-balk p { margin: 0; flex: 1; font-weight: 700; font-size: 14px; line-height: 1.35; }
.samen-balk button { background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 14px; font-weight: 800; font-size: 13px; }
.verder { display: flex; gap: 10px; overflow-x: auto; padding: 0 var(--rand) 8px; margin-bottom: 20px; scroll-padding: 0 var(--rand); scrollbar-width: none; }
.verder::-webkit-scrollbar, .rij::-webkit-scrollbar { display: none; }
.verder-item { position: relative; flex: 0 0 auto; }
.verder-weg { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--schaduw-k); z-index: 2; }
.verder-weg .sw-ic { width: 12px; height: 12px; }
.verder button { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: #fff; box-shadow: var(--schaduw-k); font-weight: 800; font-size: 14px; }
.verder img, .verder .emo { width: 38px; height: 38px; border-radius: 50%; object-fit: contain; background: #fff; border: 2px solid var(--pink); font-size: 20px; display: flex; align-items: center; justify-content: center; }
.verder small { display: block; font-size: 11px; color: var(--ink-50); font-weight: 700; }
.groep { margin-bottom: 22px; }
.groep-kop { display: flex; align-items: center; justify-content: space-between; margin: 0 var(--rand) 12px; width: calc(100% - 2 * var(--rand)); text-align: left; }
.groep-kop span { display: inline-flex; align-items: center; gap: 2px; }
.groep-kop span .sw-ic { width: 16px; height: 16px; }
.groep-kop h2 { font-family: var(--kop); font-size: 17px; margin: 0; }
.groep-kop span { font-size: 13px; color: var(--ink-50); font-weight: 700; }
.rij { display: flex; gap: 12px; overflow-x: auto; padding: 2px var(--rand) 12px; scroll-padding: 0 var(--rand); scroll-snap-type: x mandatory; scrollbar-width: none; }
.tegel { flex: 0 0 140px; scroll-snap-align: start; text-align: left; position: relative; display: block; }
.tegel-knop { display: block; width: 100%; text-align: left; }
.tegel-pijl { position: absolute; right: 8px; top: 110px; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: var(--schaduw-k); display: flex; align-items: center; justify-content: center; color: var(--pink); }
.tegel-pijl .sw-ic { width: 18px; height: 18px; }
.tegel-foto { position: relative; height: 150px; border-radius: 20px; background: #fff; box-shadow: var(--schaduw-k); overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 12px; transition: transform .15s; }
.tegel:active .tegel-foto { transform: scale(.96); }
.tegel-foto img { width: 100%; height: 100%; object-fit: contain; }
.tegel-foto .emo { font-size: 48px; }
.tegel-naam { display: block; margin-top: 8px; font-weight: 800; font-size: 14px; line-height: 1.2; }
.tegel-aantal { display: block; font-size: 12px; color: var(--ink-50); font-weight: 700; }

/* Zoeken */
.zoek { position: relative; margin: 0 var(--rand) 18px; z-index: 6; }
.zoek input { width: 100%; height: 50px; padding: 0 18px 0 44px; border-radius: 999px; border: 2px solid transparent; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B1530' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") 16px center / 20px no-repeat; box-shadow: var(--schaduw-k); font: inherit; font-size: 16px; font-weight: 600; color: var(--ink); }
.zoek input:focus { outline: none; border-color: var(--violet); }
.zoek-lijst { position: absolute; left: 0; right: 0; top: 56px; background: #fff; border-radius: 18px; box-shadow: var(--schaduw); overflow: hidden; max-height: 320px; overflow-y: auto; }
.zoek-lijst button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--ink-06); }
.zoek-lijst img, .zoek-lijst .emo { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; background: var(--paper); display: flex; align-items: center; justify-content: center; font-size: 22px; flex: 0 0 auto; }
.zoek-lijst b { display: block; font-size: 14px; } .zoek-lijst small { color: var(--ink-50); font-weight: 700; font-size: 12px; }

/* Deck */
.deck-kop { display: flex; align-items: center; gap: 8px; padding: calc(12px + var(--boven)) var(--rand) 8px; }
.deck-cat { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: #fff; box-shadow: var(--schaduw-k); text-align: left; }
.deck-cat img, .deck-cat .emo { width: 34px; height: 34px; border-radius: 50%; object-fit: contain; background: #fff; flex: 0 0 auto; font-size: 20px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--ink-06); }
.deck-cat b { display: block; font-family: var(--kop); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deck-cat small { display: block; font-size: 11px; color: var(--ink-50); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deck-cat > .sw-ic { width: 18px; height: 18px; margin-left: auto; color: var(--ink-50); }
.rondje { width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: var(--schaduw-k); display: flex; align-items: center; justify-content: center; position: relative; flex: 0 0 auto; }
.rondje .sw-ic { width: 22px; height: 22px; }
.rondje.is-actief { background: var(--grad); color: #fff; }
.rondje .ini { position: absolute; right: -3px; bottom: -3px; width: 20px; height: 20px; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.deck { position: relative; flex: 1; margin: 8px var(--rand) 26px; min-height: 0; }
.kaart { position: absolute; inset: 0; border-radius: var(--r); background: #fff; overflow: hidden; box-shadow: var(--schaduw); will-change: transform; transform-origin: 50% 120%; user-select: none; -webkit-user-select: none; touch-action: none; }
.kaart.k1 { transform: scale(.96) translateY(10px); } .kaart.k2 { transform: scale(.92) translateY(20px); opacity: .55; }
.kaart.k1 .kaart-info, .kaart.k2 .kaart-info, .kaart.k1 .balkjes, .kaart.k2 .balkjes { opacity: 0; }
.kaart.anim { transition: transform .3s cubic-bezier(.2,.8,.3,1), opacity .3s; }
.kaart.k1, .kaart.k2 { transition: transform .25s ease; }
.kaart-foto { position: absolute; inset: 0 0 30% 0; display: flex; align-items: center; justify-content: center; padding: 34px 20px 10px; background: #fff; }
.kaart-foto img { max-width: 100%; max-height: 100%; object-fit: contain; pointer-events: none; }
.kaart-verloop { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: linear-gradient(to top, rgba(27,21,48,.95) 0%, rgba(27,21,48,.78) 45%, rgba(27,21,48,0) 100%); pointer-events: none; }
.balkjes { position: absolute; top: 10px; left: 12px; right: 12px; display: flex; gap: 5px; z-index: 3; }
.balkjes i { flex: 1; height: 4px; border-radius: 2px; background: var(--ink-12); }
.balkjes i.is-actief { background: var(--ink); }
.kaart-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px 20px; color: #fff; z-index: 2; }
.kaart-naam { font-family: var(--kop); font-size: 21px; font-weight: 700; line-height: 1.15; margin: 0 52px 6px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kaart-prijs { display: flex; align-items: baseline; gap: 8px; font-weight: 800; font-size: 22px; }
.kaart-prijs small { font-size: 13px; font-weight: 700; opacity: .75; }
.kaart-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.kaart-meta span { font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.kaart-meta .ster { background: rgba(255,184,0,.25); }
.kaart-i { position: absolute; right: 16px; bottom: 22px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; z-index: 4; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.kaart-i .sw-ic { width: 22px; height: 22px; }
.stempel { position: absolute; top: 44px; z-index: 5; font-family: var(--kop); font-weight: 800; font-size: 34px; letter-spacing: .04em; padding: 2px 12px; border: 5px solid; border-radius: 12px; opacity: 0; pointer-events: none; background: rgba(255,255,255,.85); }
.stempel.like { left: 22px; color: var(--lime-d); border-color: var(--lime-d); transform: rotate(-16deg); }
.stempel.nope { right: 22px; color: var(--coral); border-color: var(--coral); transform: rotate(16deg); }
.stempel.super { left: 50%; top: 40%; transform: translateX(-50%) rotate(-8deg); color: var(--sky-d); border-color: var(--sky-d); }
.deck-leeg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; gap: 14px; }
.deck-leeg .puls { width: 120px; height: 120px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; animation: puls 1.8s infinite; }
.deck-leeg .puls img { width: 64px; height: 64px; }
.deck-leeg h2 { font-family: var(--kop); font-size: 22px; margin: 0; }
.deck-leeg p { color: var(--ink-50); font-weight: 600; margin: 0; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(255,45,120,.45); } 70% { box-shadow: 0 0 0 30px rgba(255,45,120,0); } 100% { box-shadow: 0 0 0 0 rgba(255,45,120,0); } }
.acties { flex: 0 0 auto; position: relative; z-index: 6; display: flex; align-items: center; justify-content: space-evenly; padding: 4px var(--rand) 14px; background: var(--paper); }
.knop { width: 54px; height: 54px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px -6px rgba(27,21,48,.25); display: flex; align-items: center; justify-content: center; position: relative; transition: transform .12s; }
.knop:active, .knop.druk { transform: scale(.88); }
.knop[disabled] { opacity: .35; pointer-events: none; }
.knop .sw-ic { width: 26px; height: 26px; }
.knop.groot { width: 66px; height: 66px; }
.knop.groot .sw-ic { width: 32px; height: 32px; }
.knop.undo { color: var(--gold); width: 46px; height: 46px; } .knop.undo .sw-ic { width: 22px; height: 22px; }
.knop.nope { color: var(--coral); } .knop.super { color: var(--sky-d); } .knop.like { color: var(--lime-d); }
.knop.sm { color: var(--violet); width: 46px; height: 46px; }
.knop.sm svg.ring { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); transform: rotate(-90deg); }
.knop.sm .ring circle { fill: none; stroke-width: 3.5; }
.knop.sm .ring .bg { stroke: var(--ink-06); } .knop.sm .ring .vg { stroke: url(#gradring); stroke-linecap: round; transition: stroke-dashoffset .4s; }
.knop.sm .tel { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid var(--paper); }
.knop.sm.gloei { animation: puls 1.8s infinite; background: var(--grad); color: #fff; }

/* Flits bij like/nope, confetti */
.flits { position: absolute; left: 50%; top: 42%; width: 110px; height: 110px; margin: -55px 0 0 -55px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; z-index: 30; pointer-events: none; box-shadow: var(--schaduw); animation: flits .5s cubic-bezier(.2,1.4,.4,1) forwards; }
.flits .sw-ic { width: 60px; height: 60px; }
.flits.like { color: var(--lime-d); } .flits.nope { color: var(--coral); } .flits.super { color: var(--sky-d); }
@keyframes flits { 0% { transform: scale(.2); opacity: 0; } 35% { transform: scale(1.05); opacity: 1; } 100% { transform: scale(1.1) translateY(-30px); opacity: 0; } }
.confetti { position: absolute; width: 10px; height: 14px; border-radius: 3px; z-index: 80; pointer-events: none; animation: confetti 1.15s cubic-bezier(.2,.8,.4,1) forwards; }
@keyframes confetti { 0% { transform: translate(-50%, -50%) rotate(0) scale(1); opacity: 1; } 70% { opacity: 1; } 100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy) + 120px)) rotate(var(--r)) scale(.7); opacity: 0; } }
.reden-prod { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.reden-prod img { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: var(--paper); }
.reden-prod span { font-weight: 800; font-size: 14px; }
.mini-laden { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink-12); border-top-color: var(--pink); animation: draai .8s linear infinite; vertical-align: -2px; margin-right: 4px; }
.betaal { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.betaal i { font-style: normal; font-size: 10px; font-weight: 800; padding: 3px 7px; border-radius: 6px; background: #fff; border: 1px solid var(--ink-12); color: var(--ink-70); }
.dubbel { position: relative; height: 36px; }
.dubbel input { position: absolute; left: 0; right: 0; top: 0; pointer-events: none; }
.dubbel input::-webkit-slider-thumb { pointer-events: auto; }
.dubbel input::-moz-range-thumb { pointer-events: auto; }
.dubbel input[data-min]::-webkit-slider-runnable-track { background: transparent; }
.dubbel input[data-min] { z-index: 2; }
.lightbox { background: rgba(10,8,16,.96); padding: 0; justify-content: center; }
.lb-sluit { position: absolute; top: calc(12px + var(--boven)); right: 14px; background: rgba(255,255,255,.15); color: #fff; z-index: 3; }
.lb-zone { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; touch-action: none; overflow: hidden; }
.lb-zone img { max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: center; transition: transform .05s; user-select: none; }
.lightbox .stippen { position: absolute; bottom: calc(24px + var(--onder)); left: 0; right: 0; }
.lightbox .stippen i { background: rgba(255,255,255,.4); } .lightbox .stippen i.is-actief { background: #fff; }
.like-weg { background: rgba(27,21,48,.75) !important; color: #fff !important; }

/* Lagen (schermen die over de app schuiven) */
.lagen { position: absolute; inset: 0; pointer-events: none; z-index: 30; }
.laag { position: absolute; inset: 0; background: var(--paper); display: flex; flex-direction: column; pointer-events: auto; animation: inschuif .28s cubic-bezier(.2,.8,.3,1); }
.laag.weg { animation: uitschuif .22s ease forwards; }
@keyframes inschuif { from { transform: translateX(100%); } to { transform: none; } }
@keyframes uitschuif { to { transform: translateX(100%); } }
.laag-kop { display: flex; align-items: center; gap: 10px; padding: calc(12px + var(--boven)) var(--rand) 10px; }
.laag-kop h2 { font-family: var(--kop); font-size: 18px; margin: 0; flex: 1; text-align: center; padding-right: 44px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.laag-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 6px var(--rand) 28px; }
.laag-voet { padding: 12px var(--rand) calc(16px + var(--onder)); background: linear-gradient(to top, var(--paper) 70%, rgba(255,247,251,0)); }
.sheet { position: absolute; inset: 0; pointer-events: auto; display: flex; align-items: flex-end; }
.sheet-achter { position: absolute; inset: 0; background: rgba(27,21,48,.5); animation: fade .25s; }
.sheet-paneel { transition: transform .25s; touch-action: pan-y; position: relative; width: 100%; max-height: 92%; background: #fff; border-radius: 26px 26px 0 0; display: flex; flex-direction: column; animation: omhoog .3s cubic-bezier(.2,.8,.3,1); }
.sheet.weg .sheet-paneel { animation: omlaag .22s ease forwards; } .sheet.weg .sheet-achter { animation: fade .22s reverse forwards; }
.sheet-greep { width: 42px; height: 5px; border-radius: 3px; background: var(--ink-12); margin: 10px auto 4px; flex: 0 0 auto; touch-action: none; padding: 0; box-sizing: content-box; border-top: 10px solid transparent; border-bottom: 10px solid transparent; background-clip: padding-box; }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 8px calc(var(--rand) + 4px) calc(24px + var(--onder)); }
.sheet-body h2 { font-family: var(--kop); font-size: 21px; margin: 6px 0 8px; }
.sheet-body p { color: var(--ink-70); margin: 0 0 14px; }
@keyframes omhoog { from { transform: translateY(100%); } to { transform: none; } }
@keyframes omlaag { to { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.overlay { position: absolute; inset: 0; pointer-events: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px 24px calc(30px + var(--onder)); animation: fade .25s; color: #fff; }
.overlay.weg { animation: fade .2s reverse forwards; }

/* Soort kiezen */
.soort-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.soort { position: relative; text-align: left; border-radius: 20px; background: #fff; box-shadow: var(--schaduw-k); overflow: hidden; border: 3px solid transparent; transition: transform .12s, border-color .12s; }
.soort:active { transform: scale(.97); }
.soort.is-actief { border-color: var(--pink); }
.soort-foto { height: 128px; display: flex; align-items: center; justify-content: center; padding: 10px; position: relative; }
.soort-foto img { max-height: 100%; object-fit: contain; }
.soort-foto.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 8px; }
.soort-foto.collage img { width: 100%; height: 52px; object-fit: contain; }
.soort-naam { display: block; padding: 0 12px 12px; font-weight: 800; font-size: 15px; }
.soort-naam small { display: block; font-size: 12px; color: var(--ink-50); font-weight: 700; }
.vink { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink-12); background: #fff; display: flex; align-items: center; justify-content: center; color: #fff; }
.soort.is-actief .vink { background: var(--pink); border-color: var(--pink); }
.vink .sw-ic { width: 16px; height: 16px; }
.soort-alles { grid-column: 1 / -1; }
.soort-alles .soort-foto { height: 96px; display: flex; gap: 10px; }
.soort-alles .soort-foto img { height: 80px; width: 80px; }

/* Budget */
.budget-groot { text-align: center; margin: 18px 0 6px; }
.budget-groot b { display: block; font-family: var(--kop); font-size: 40px; letter-spacing: -.02em; }
.budget-groot small { font-weight: 700; color: var(--ink-50); }
.histo { display: flex; align-items: flex-end; gap: 3px; height: 64px; margin: 20px 4px 0; }
.histo i { flex: 1; background: var(--ink-12); border-radius: 3px 3px 0 0; min-height: 3px; transition: background .2s; }
.histo i.aan { background: var(--grad); }
input[type=range].slider { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; margin: 0; }
input[type=range].slider::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: var(--ink-12); }
input[type=range].slider::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 3px solid var(--pink); margin-top: -12px; box-shadow: var(--schaduw-k); }
input[type=range].slider::-moz-range-track { height: 6px; border-radius: 3px; background: var(--ink-12); }
input[type=range].slider::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--pink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.chip { padding: 10px 16px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 2px var(--ink-06); font-weight: 800; font-size: 14px; }
.chip small { display: block; font-size: 11px; font-weight: 700; color: var(--ink-50); }
.chip.is-actief { background: var(--ink); color: #fff; box-shadow: none; }
.chip.is-actief small { color: rgba(255,255,255,.7); }

/* Facetten (specificaties) */
.facet { margin: 4px 0 10px; }
.facet h3 { font-family: var(--kop); font-size: 13px; margin: 0 0 8px; color: var(--ink-70); }
.facet .chips { margin: 0; gap: 6px; }
.facet .chip { padding: 8px 12px; font-size: 13px; }
.facet .chip small { display: inline; margin-left: 4px; font-size: 11px; }
.filter-kop { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.filter-kop button { color: var(--pink); font-weight: 800; font-size: 13px; }

/* Resultaat */
.res-kop { background: var(--grad); color: #fff; padding: calc(12px + var(--boven)) var(--rand) 76px; position: relative; }
.res-kop .laag-kop { padding: 0; }
.res-kop .laag-kop h2 { color: #fff; }
.res-kop .rondje { background: rgba(255,255,255,.2); box-shadow: none; color: #fff; }
.res-titel { text-align: center; margin-top: 8px; }
.res-titel b { font-family: var(--kop); font-size: 30px; display: block; }
.res-titel span { font-weight: 700; opacity: .85; font-size: 14px; }
.zeker { margin: 14px auto 0; max-width: 260px; }
.zeker-balk { height: 8px; border-radius: 4px; background: rgba(255,255,255,.25); overflow: hidden; }
.zeker-balk i { display: block; height: 100%; background: var(--lime); border-radius: 4px; }
.zeker small { display: block; margin-top: 6px; font-weight: 700; font-size: 12px; opacity: .9; }
.res-top { margin: -56px var(--rand) 18px; background: #fff; border-radius: 24px; box-shadow: var(--schaduw); overflow: hidden; position: relative; }
.res-top-foto { height: 260px; display: flex; align-items: center; justify-content: center; padding: 20px; }
.res-top-foto img { max-height: 100%; object-fit: contain; }
.pct { position: absolute; top: 14px; left: 14px; width: 72px; height: 72px; }
.pct svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pct circle { fill: none; stroke-width: 7; }
.pct .bg { stroke: var(--ink-06); } .pct .vg { stroke: url(#gradring); stroke-linecap: round; }
.pct b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--kop); font-size: 18px; }
.res-top-info { padding: 4px 18px 18px; }
.res-top-info h3 { font-family: var(--kop); font-size: 20px; line-height: 1.2; margin: 0 0 6px; }
.prijs-rij { display: flex; align-items: baseline; gap: 8px; font-weight: 800; font-size: 22px; margin-bottom: 12px; }
.prijs-rij small { font-size: 13px; color: var(--ink-50); font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tags span { font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: var(--ink-06); }
.tags .plus { background: rgba(182,255,59,.5); } .tags .min { background: rgba(255,92,77,.14); color: #B3261E; text-decoration: line-through; }
.tags .samen { background: var(--lime); }
.uitleg { background: linear-gradient(135deg, rgba(255,45,120,.08), rgba(106,60,255,.1)); border-radius: 16px; padding: 12px 14px; font-size: 14px; line-height: 1.5; margin-bottom: 14px; }
.uitleg b { color: var(--violet); }
.res-lijst { margin: 0 var(--rand); display: flex; flex-direction: column; gap: 10px; }
.res-rij { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 10px 14px 10px 10px; box-shadow: 0 1px 0 var(--ink-06); text-align: left; width: 100%; }
.res-rij img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; flex: 0 0 auto; }
.res-rij span { flex: 1; min-width: 0; }
.res-rij b { display: block; font-size: 14px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.res-rij small { font-weight: 700; color: var(--ink-50); }
.res-rij em { font-style: normal; font-family: var(--kop); font-weight: 800; color: var(--violet); font-size: 16px; }
.res-acties { display: flex; gap: 10px; margin: 20px var(--rand) 0; }
.res-acties .btn { flex: 1; }

/* Detail */
.galerij { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * (var(--rand) + 4px)); }
.galerij::-webkit-scrollbar { display: none; }
.galerij div { flex: 0 0 100%; scroll-snap-align: center; height: 300px; display: flex; align-items: center; justify-content: center; padding: 10px 24px; }
.galerij img { max-height: 100%; object-fit: contain; }
.stippen { display: flex; justify-content: center; gap: 6px; margin: 6px 0 12px; }
.stippen i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-12); } .stippen i.is-actief { background: var(--ink); width: 18px; border-radius: 3px; }
.merk { font-weight: 800; color: var(--ink-50); font-size: 13px; margin: 0 0 4px; }
.sterren { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: 13px; color: var(--ink-70); margin-bottom: 10px; }
.sterren b { color: var(--gold); }
.winkel { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--paper); margin-bottom: 8px; }
.winkel b { flex: 1; } .winkel small { display: block; font-weight: 600; color: var(--ink-50); font-size: 12px; }
.winkel strong { font-family: var(--kop); font-size: 16px; }
.winkel .btn { min-height: 40px; padding: 0 14px; font-size: 13px; }
.bron { font-size: 12px; color: var(--ink-50); font-weight: 600; margin: 4px 0 16px; line-height: 1.45; }
details.specs summary { font-weight: 800; padding: 12px 0; cursor: pointer; }
details.specs dl { margin: 0; font-size: 14px; }
details.specs dl div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--ink-06); }
details.specs dt { color: var(--ink-50); font-weight: 700; } details.specs dd { margin: 0; font-weight: 700; text-align: right; }
.detail-acties { display: flex; justify-content: center; gap: 22px; padding: 12px 0 calc(12px + var(--onder)); border-top: 1px solid var(--ink-06); background: #fff; }

/* Matches */
.mt-rij { display: flex; gap: 14px; overflow-x: auto; padding: 4px var(--rand) 14px; scrollbar-width: none; }
.mt-rond { flex: 0 0 auto; width: 76px; text-align: center; font-size: 12px; font-weight: 800; }
.mt-rond span { display: block; width: 76px; height: 76px; border-radius: 50%; padding: 3px; background: var(--grad); margin-bottom: 6px; }
.mt-rond img { width: 100%; height: 100%; border-radius: 50%; background: #fff; object-fit: contain; padding: 6px; border: 2px solid #fff; }
.sm-kaart { flex: 0 0 220px; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--schaduw-k); text-align: left; position: relative; }
.sm-kaart .foto { height: 150px; display: flex; align-items: center; justify-content: center; padding: 12px; }
.sm-kaart .foto img { max-height: 100%; object-fit: contain; }
.sm-kaart .info { padding: 0 14px 14px; }
.sm-kaart b { display: block; font-size: 14px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sm-kaart small { font-weight: 700; color: var(--ink-50); font-size: 12px; }
.sm-kaart .badge { position: absolute; top: 10px; left: 10px; background: var(--grad); color: #fff; font-family: var(--kop); font-weight: 800; font-size: 13px; padding: 5px 10px; border-radius: 999px; }
.filter-rij { display: flex; gap: 8px; overflow-x: auto; padding: 0 var(--rand) 12px; scrollbar-width: none; }
.likes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 var(--rand); }
.like-tegel { position: relative; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 var(--ink-06); aspect-ratio: 3 / 4; min-height: 210px; text-align: left; }
.like-tegel .foto { position: absolute; inset: 0 0 32% 0; display: flex; align-items: center; justify-content: center; padding: 12px; }
.like-tegel .foto img { max-height: 100%; object-fit: contain; }
.like-tegel .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; background: linear-gradient(to top, rgba(27,21,48,.92), rgba(27,21,48,.65) 70%, rgba(27,21,48,0)); color: #fff; }
.like-tegel b { display: block; font-size: 13px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.like-tegel small { font-weight: 800; }
.like-tegel .ster { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; background: var(--sky); color: #fff; display: flex; align-items: center; justify-content: center; }
.like-tegel .ster.match { background: var(--lime); color: var(--ink); }
.like-tegel .ster .sw-ic { width: 16px; height: 16px; }
.leeg { text-align: center; padding: 50px 30px; }
.leeg .groot-ic { width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; color: #fff; }
.leeg .groot-ic .sw-ic { width: 46px; height: 46px; }
.leeg h2 { font-family: var(--kop); font-size: 20px; margin: 0 0 8px; }
.leeg p { color: var(--ink-50); font-weight: 600; margin: 0 0 18px; }

/* Profiel */
.prof-kop { text-align: center; padding: 10px var(--rand) 22px; }
.avatar .sw-ic { width: 48px; height: 48px; }
.avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 12px; background: var(--grad); color: #fff; font-family: var(--kop); font-size: 38px; display: flex; align-items: center; justify-content: center; box-shadow: var(--schaduw); }
.prof-kop h2 { font-family: var(--kop); font-size: 22px; margin: 0; }
.prof-kop p { color: var(--ink-50); font-weight: 600; margin: 4px 0 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 var(--rand) 20px; }
.stats div { background: #fff; border-radius: 18px; padding: 14px 8px; text-align: center; box-shadow: 0 1px 0 var(--ink-06); }
.stats b { display: block; font-family: var(--kop); font-size: 22px; color: var(--violet); }
.stats small { font-weight: 700; color: var(--ink-50); font-size: 12px; }
.lijst { margin: 0 var(--rand) 16px; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 1px 0 var(--ink-06); }
.lijst button, .lijst a { display: flex; align-items: center; gap: 14px; width: 100%; padding: 15px 16px; text-align: left; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink-06); }
.lijst > :last-child { border-bottom: 0; }
.lijst .sw-ic { width: 22px; height: 22px; color: var(--pink); }
.lijst .pijl { margin-left: auto; color: var(--ink-50); width: 18px; height: 18px; }
.prose { color: var(--ink-70); line-height: 1.6; }
.prose h3 { font-family: var(--kop); font-size: 16px; color: var(--ink); margin: 20px 0 6px; }

/* Formulieren */
.veld { display: flex; flex-direction: column; gap: 6px; font-weight: 800; font-size: 13px; margin-bottom: 12px; }
.veld input { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 2px solid var(--ink-12); font: inherit; font-size: 16px; font-weight: 600; background: #fff; color: var(--ink); }
.veld input:focus { border-color: var(--violet); outline: none; }
.veld input.code { text-transform: uppercase; letter-spacing: .2em; font-family: var(--kop); font-weight: 800; text-align: center; font-size: 22px; }
.fout { background: rgba(255,92,77,.12); color: #B3261E; font-weight: 700; padding: 10px 14px; border-radius: 12px; font-size: 14px; margin-bottom: 12px; }
.tabs2 { display: flex; background: var(--ink-06); border-radius: 999px; padding: 4px; margin-bottom: 16px; }
.tabs2 button { flex: 1; padding: 10px; border-radius: 999px; font-weight: 800; color: var(--ink-50); }
.tabs2 button.is-actief { background: #fff; color: var(--ink); box-shadow: var(--schaduw-k); }
.codeblok { font-family: var(--kop); font-size: 38px; font-weight: 800; letter-spacing: .2em; text-align: center; padding: 16px; border-radius: 18px; background: linear-gradient(135deg, rgba(255,45,120,.1), rgba(106,60,255,.12)); color: var(--violet); margin: 12px 0; }
.deel { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.deel button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 16px; background: var(--paper); font-weight: 800; font-size: 12px; }
.deel button .sw-ic { width: 26px; height: 26px; }
.deel .wa { color: #1FAF54; }

/* Overlays */
.mijlpaal { background: var(--grad); }
.mijlpaal .getal { font-family: var(--kop); font-size: 96px; font-weight: 800; line-height: .9; letter-spacing: -.04em; }
.mijlpaal .woord { font-family: var(--kop); font-size: 22px; margin-bottom: 26px; }
.waaier { position: relative; height: 170px; width: 260px; margin: 0 auto 22px; }
.waaier img { position: absolute; top: 0; width: 130px; height: 160px; object-fit: contain; background: #fff; border-radius: 18px; padding: 12px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.35); }
.waaier img:nth-child(1) { left: 0; transform: rotate(-10deg); } .waaier img:nth-child(2) { left: 65px; z-index: 2; top: -8px; } .waaier img:nth-child(3) { right: 0; transform: rotate(10deg); }
.overlay .zin { font-weight: 700; font-size: 16px; opacity: .92; margin: 0 0 24px; max-width: 300px; }
.overlay .btn { width: 100%; max-width: 320px; margin-bottom: 10px; }
.overlay .btn-rand { border: 2px solid rgba(255,255,255,.7); color: #fff; }
.match-ov { background: rgba(27,21,48,.9); backdrop-filter: blur(8px); }
.match-woord { font-family: var(--kop); font-size: 64px; font-weight: 800; font-style: italic; letter-spacing: -.03em; background: linear-gradient(135deg, var(--lime), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; transform: rotate(-6deg); margin-bottom: 26px; animation: plop .5s cubic-bezier(.2,1.6,.4,1); }
@keyframes plop { from { transform: rotate(-6deg) scale(.3); opacity: 0; } to { transform: rotate(-6deg) scale(1); opacity: 1; } }
.match-drie { display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.match-drie .ini { width: 70px; height: 70px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-family: var(--kop); font-size: 26px; border: 4px solid #fff; }
.match-drie img { width: 130px; height: 130px; border-radius: 50%; background: #fff; object-fit: contain; padding: 14px; border: 4px solid var(--lime); margin: 0 -14px; position: relative; z-index: 2; }
.coach { background: rgba(27,21,48,.86); }
.coach-rij { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 320px; width: 100%; margin-bottom: 26px; }
.coach-rij div { background: rgba(255,255,255,.1); border-radius: 18px; padding: 16px 10px; font-weight: 800; font-size: 14px; }
.coach-rij .sw-ic { width: 34px; height: 34px; margin-bottom: 6px; }
.coach h2 { font-family: var(--kop); font-size: 26px; margin: 0 0 8px; }

/* Toasts */
.toasts { position: absolute; left: 0; right: 0; top: calc(74px + var(--boven)); z-index: 60; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 800; font-size: 14px; box-shadow: var(--schaduw); animation: toastin .25s; display: inline-flex; gap: 8px; align-items: center; max-width: calc(100% - 2 * var(--rand)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast .sw-ic { width: 18px; height: 18px; }
.toast.inzicht { background: var(--grad); } .toast.goed { background: var(--lime); color: var(--ink); }
.toast.weg { animation: fade .25s reverse forwards; }
@keyframes toastin { from { transform: translateY(-10px); opacity: 0; } to { transform: none; opacity: 1; } }
.laden { display: flex; justify-content: center; padding: 40px; }
.laden i { width: 34px; height: 34px; border-radius: 50%; border: 4px solid var(--ink-12); border-top-color: var(--pink); animation: draai .8s linear infinite; }
@keyframes draai { to { transform: rotate(360deg); } }
.pwa { position: absolute; left: var(--rand); right: var(--rand); bottom: calc(var(--tabbar) + var(--onder) + 10px); z-index: 40; background: #fff; border-radius: 20px; box-shadow: var(--schaduw); padding: 12px; display: flex; align-items: center; gap: 12px; animation: omhoog .3s; }
.pwa img { width: 46px; height: 46px; border-radius: 12px; }
.pwa p { margin: 0; flex: 1; font-weight: 800; font-size: 14px; line-height: 1.3; }
.pwa p small { display: block; font-weight: 600; color: var(--ink-50); font-size: 12px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
