/* ===================== FapReel.com - mobile-first, reels-only ===================== */
:root{
  --bg:#0b0b0f; --surface:#15151b; --surface2:#1d1d25; --fg:#f5f5f7; --muted:#9a9aa2;
  --line:#26262e; --yellow:#ffd400; --yellow-d:#e6c000; --pink:#ff2d55;
  --wrap:720px; --r:14px; color-scheme:dark;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background:var(--bg); color:var(--fg); -webkit-font-smoothing:antialiased;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:16px; line-height:1.5;
}
a{color:inherit; text-decoration:none}
img,video{display:block; max-width:100%}
h1,h2,h3{margin:0 0 .4em; line-height:1.12; letter-spacing:-.02em; font-weight:800}
.wrap{max-width:var(--wrap); margin:0 auto; padding:0 16px}
.visually-hidden{position:absolute!important; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; border:0}
.btn{display:inline-flex; align-items:center; gap:.5em; padding:.7em 1.15em; border-radius:999px; font-weight:700; background:var(--surface2); color:var(--fg)}
.btn-yellow{background:var(--yellow); color:#111}
.btn-yellow:hover{background:var(--yellow-d)}

/* ---------- top bar ---------- */
.topbar{position:sticky; top:0; z-index:40; background:rgba(11,11,15,.86); backdrop-filter:blur(10px); border-bottom:1px solid var(--line)}
.topbar-in{display:flex; align-items:center; gap:14px; height:54px; max-width:var(--wrap); margin:0 auto; padding:0 16px}
.logo{font-weight:900; font-size:1.35rem; letter-spacing:-.03em; display:inline-flex; align-items:center; text-transform:uppercase}
.logo b{color:var(--yellow)}
.logo span{color:var(--fg)}
.logo .play{width:0;height:0;border-left:11px solid var(--yellow);border-top:7px solid transparent;border-bottom:7px solid transparent;margin-right:7px}
.top-right{margin-left:auto; display:flex; align-items:center; gap:6px}
.topnav{display:flex; gap:6px}
.topnav a{padding:.4em .7em; border-radius:999px; font-size:.9rem; color:var(--muted); font-weight:600}
.topnav a.active{color:var(--fg); background:var(--surface2)}
@media(hover:hover){.topnav a:hover{color:var(--fg); background:var(--surface2)}}
.icon-btn{width:40px; height:40px; border:0; background:transparent; color:var(--fg); cursor:pointer; display:grid; place-items:center; border-radius:50%; -webkit-tap-highlight-color:transparent}
.icon-btn svg{width:21px; height:21px}
@media(hover:hover){.icon-btn:hover{background:var(--surface2)}}

/* zoekpaneel (dropdown onder de balk) */
.search-panel{position:fixed; top:54px; left:0; right:0; z-index:39; background:var(--surface); border-bottom:1px solid var(--line); box-shadow:0 14px 34px rgba(0,0,0,.45)}
.search-panel[hidden]{display:none}
.search-panel .wrap{padding-top:10px; padding-bottom:12px}
.search-box{display:flex; align-items:center; gap:10px; background:var(--surface2); border:1px solid var(--line); border-radius:12px; padding:0 12px}
.search-box .search-ico{width:18px; height:18px; color:var(--muted); flex:0 0 auto}
.search-box input{flex:1; min-width:0; background:transparent; border:0; outline:0; color:var(--fg); font-size:1rem; padding:13px 0}
.search-suggest{list-style:none; margin:8px 0 0; padding:0; max-height:62svh; overflow-y:auto}
.search-suggest[hidden]{display:none}
.search-suggest li a{display:flex; align-items:center; justify-content:space-between; gap:10px; padding:11px 12px; border-radius:10px}
.search-suggest .s-name{font-weight:700}
.search-suggest .s-type{font-size:.68rem; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); background:var(--bg); border:1px solid var(--line); padding:.22em .6em; border-radius:999px; flex:0 0 auto}
.search-suggest li.is-active a,.search-suggest li a:active{background:var(--surface2)}
@media(hover:hover){.search-suggest li a:hover{background:var(--surface2)}}
.nav-toggle{display:none; width:44px; height:44px; border:0; background:transparent; cursor:pointer; flex-direction:column; justify-content:center; align-items:center; gap:5px; padding:10px}
.nav-toggle span{display:block; width:22px; height:2px; background:var(--fg); border-radius:2px; transition:transform .2s, opacity .2s}
.topbar.nav-open .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.topbar.nav-open .nav-toggle span:nth-child(2){opacity:0}
.topbar.nav-open .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media(max-width:600px){
  .nav-toggle{display:flex}
  .topnav{position:absolute; top:56px; right:8px; left:8px; margin:0; flex-direction:column; gap:2px; background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:8px; box-shadow:0 14px 34px rgba(0,0,0,.55); display:none}
  .topbar.nav-open .topnav{display:flex}
  .topnav a{padding:.8em 1em; font-size:1.02rem; border-radius:10px}
}

/* ===================== REELS VIEWER ===================== */
body.reels-viewer{overflow:hidden}
body.reels-viewer .topbar{position:fixed; top:0; left:0; right:0; background:linear-gradient(to bottom,rgba(0,0,0,.55),transparent); backdrop-filter:none; border-bottom:0}
body.reels-viewer .site-footer{position:absolute; left:-9999px; top:auto}
.reels-wrap{position:relative}
.reels-feed{
  height:100svh; overflow-y:auto; scroll-snap-type:y mandatory;
  -webkit-overflow-scrolling:touch; background:#000; scrollbar-width:none;
}
.reels-feed::-webkit-scrollbar{display:none}
.reel{
  height:100svh; scroll-snap-align:start; scroll-snap-stop:always;
  display:grid; place-items:center; position:relative;
}
.reel-inner{position:relative; width:100%; height:100%; overflow:hidden}
.reel-video{width:100%; height:100%; object-fit:cover; background:#000; filter:saturate(1.18) contrast(1.1) brightness(1.03)}
.reel-spin{position:absolute; top:50%; left:50%; width:46px; height:46px; margin:-23px 0 0 -23px; z-index:2; border-radius:50%; border:3px solid rgba(255,255,255,.25); border-top-color:#fff; opacity:0; pointer-events:none; transition:opacity .15s}
.reel.is-loading .reel-spin{opacity:1; animation:reel-spin .8s linear infinite}
@keyframes reel-spin{to{transform:rotate(360deg)}}
@media (min-width:701px){
  .reel{place-items:center}
  .reel-inner{width:auto; aspect-ratio:9/16; height:92svh; margin:auto; border-radius:18px; overflow:hidden; box-shadow:0 24px 70px rgba(0,0,0,.55)}
  /* Header-data gecentreerd, recht boven de reel, zelfde breedte als de 9/16-kaart. */
  .reels-hub-head{max-width:calc(92svh * 9 / 16); margin-inline:auto; align-items:center; text-align:center; border-bottom:0; padding-top:74px}
  .reels-hub-head .hub-id{flex-direction:column; gap:10px}
  .reels-hub-head .hub-stats{justify-content:center}
}

/* overlay meta */
.reel-meta{
  position:absolute; left:0; right:0; bottom:0; z-index:3; padding:16px 16px 22px;
  display:flex; flex-direction:column; gap:9px; pointer-events:none;
  background:linear-gradient(to top,rgba(0,0,0,.82) 8%,rgba(0,0,0,.45) 55%,transparent 100%);
}
.reel-meta a,.reel-meta button{pointer-events:auto}
.reel-studio{display:inline-flex; align-items:center; gap:8px; align-self:flex-start; background:rgba(0,0,0,.4); padding:5px 11px 5px 5px; border-radius:999px; border:1px solid rgba(255,255,255,.14); font-weight:700; font-size:.9rem}
.reel-studio img{width:24px; height:24px; border-radius:50%; object-fit:cover; background:#333}
.reel-models{display:flex; flex-wrap:wrap; gap:6px 10px; font-size:1.05rem; font-weight:800}
.reel-models a{text-shadow:0 1px 6px rgba(0,0,0,.6)}
.reel-models a:hover{color:var(--yellow)}
.reel-model-unknown{color:var(--muted); font-weight:700}
/* modelnamen: linksboven, onder elkaar, als pills */
.reel-models-top{position:absolute; top:64px; left:12px; z-index:3; display:flex; flex-direction:column; align-items:flex-start; gap:7px; max-width:72%; pointer-events:none}
.reel-models-top a,.reel-models-top .reel-model-unknown{pointer-events:auto; background:rgba(0,0,0,.42); backdrop-filter:blur(5px); border:1px solid rgba(255,255,255,.12); color:rgba(255,255,255,.92); font-weight:600; font-size:.9rem; line-height:1.15; padding:.38em .85em; border-radius:999px}
@media(hover:hover){.reel-models-top a:hover{background:var(--yellow); color:#111; border-color:var(--yellow)}}
.reel-models-top .reel-models-more{color:rgba(255,255,255,.72); font-size:.78rem; font-weight:600; padding-left:.35em}
.reel-niches{display:flex; flex-wrap:wrap; gap:7px}
.reel-chip{font-size:.82rem; font-weight:700; padding:.32em .8em; border-radius:999px; background:rgba(255,255,255,.14); backdrop-filter:blur(4px)}
@media(hover:hover){.reel-chip:hover{background:var(--yellow); color:#111}}
.reel-fullbtn{align-self:center; margin-top:6px; background:var(--yellow); color:#111; font-weight:800; padding:.8em 1.6em; border-radius:999px; box-shadow:0 6px 22px rgba(255,212,0,.28)}
@media(hover:hover){.reel-fullbtn:hover{background:#fff}}

.reel-mute{position:absolute; top:66px; right:14px; z-index:4; width:42px; height:42px; border:1px solid rgba(255,255,255,.16); border-radius:50%; background:rgba(0,0,0,.35); backdrop-filter:blur(6px); color:#fff; cursor:pointer; display:grid; place-items:center; -webkit-tap-highlight-color:transparent; transition:transform .12s}
.reel-mute:active{transform:scale(.9)}
.reel-mute svg{width:20px; height:20px; display:none}
.reel-mute .ic-on{display:block}
.reels-feed.is-muted .reel-mute .ic-on{display:none}
.reels-feed.is-muted .reel-mute .ic-off{display:block}

.reels-close{position:fixed; top:12px; left:12px; z-index:50; width:42px; height:42px; border-radius:50%; background:rgba(0,0,0,.42); color:#fff; display:grid; place-items:center}
.reels-close svg{width:20px; height:20px}

/* end card */
.reel-end{background:linear-gradient(160deg,#15151b,#0b0b0f); text-align:center; padding:32px}
.reel-end-inner{max-width:440px; width:100%}
.reel-end h2{font-size:1.4rem}
.reel-end-btn{display:inline-block; margin:14px 0 6px; background:var(--yellow); color:#111; font-weight:800; padding:.75em 1.4em; border-radius:999px}
.reel-end-link{display:block; color:var(--muted); font-size:.92rem; margin-top:6px}
.reel-end-links{margin-top:18px}
.reel-end-lbl{display:block; font-size:.7rem; text-transform:uppercase; letter-spacing:.09em; color:var(--muted); margin-bottom:8px}
.reel-end-chips{display:flex; flex-wrap:wrap; gap:6px; justify-content:center; margin-bottom:4px}
.reel-end-chips a{background:var(--surface2); border:1px solid var(--line); border-radius:999px; padding:.34em .8em; font-size:.82rem; font-weight:600}
@media(hover:hover){.reel-end-chips a:hover{background:var(--yellow); color:#111; border-color:var(--yellow)}}
.reels-empty{height:100svh; display:grid; place-content:center; text-align:center; gap:14px; padding:24px}

/* desktop-zijpanelen naast de reel (links modellen, rechts recente studio's) */
.reel-side{display:none}
@media(min-width:1080px){
  .reel-side{display:block; position:fixed; top:66px; width:212px; z-index:20; max-height:calc(100svh - 96px); overflow-y:auto; scrollbar-width:thin}
  .reel-side-l{left:24px}
  .reel-side-r{right:24px}
  .reel-side h2{font-size:.7rem; text-transform:uppercase; letter-spacing:.09em; color:var(--muted); margin:0 0 10px; padding:0 8px}
  .reel-side-list{display:flex; flex-direction:column; gap:3px}
  .reel-side-list a{display:flex; align-items:center; gap:9px; padding:8px 10px; border-radius:10px; font-weight:600; font-size:.9rem; color:var(--fg); overflow-wrap:anywhere}
  .reel-side-list a img{width:22px; height:22px; border-radius:50%; object-fit:cover; background:#333; flex:0 0 auto}
}
@media(min-width:1080px) and (hover:hover){.reel-side-list a:hover{background:var(--surface2)}}

/* ---------- HUB header (peek: first reel shows ~70% under this) ---------- */
.reels-hub-head{
  scroll-snap-align:start; min-height:30svh; background:linear-gradient(180deg,#12121a,#0b0b0f);
  border-bottom:1px solid var(--line); padding:64px 16px 18px; display:flex; flex-direction:column; justify-content:flex-start;
}
.reels-hub-head .hub-crumb{font-size:.82rem; color:var(--muted); margin-bottom:8px}
.reels-hub-head .hub-crumb a:hover{color:var(--fg)}
.reels-hub-head .hub-thumb{width:72px; height:72px; border-radius:50%; object-fit:cover; border:2px solid var(--yellow); background:#333; flex:0 0 auto}
/* mobiel: avatar links, naam + reels/datum rechts ernaast */
.hub-id{display:flex; align-items:center; gap:14px}
.hub-id-text{min-width:0}
.hub-id-text h1{margin-bottom:.25em}
.hub-id-text .hub-stats{margin-top:6px}
.reels-hub-head h1{font-size:clamp(1.5rem,7vw,2.1rem)}
.reels-hub-head h1 .accent{color:var(--yellow)}
.hub-stats{display:flex; flex-wrap:wrap; gap:6px 8px; margin:10px 0 0; padding:0; list-style:none; font-size:.9rem}
.hub-stats li{background:var(--surface2); border:1px solid var(--line); border-radius:999px; padding:.28em .8em; color:var(--muted)}
.hub-stats li b{color:var(--fg)}
.hub-intro{margin:11px 0 0; color:var(--muted); font-size:.94rem}
.hub-intro a{color:var(--yellow)}
.hub-hint{margin:10px 0 0; font-size:.82rem; color:var(--muted); display:flex; align-items:center; gap:6px}
.hub-hint .arrow{animation:bob 1.6s ease-in-out infinite}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(4px)}}

/* ===================== standard page (hubs, legal) ===================== */
.page{padding:22px 0 60px}
.page h1{font-size:clamp(1.6rem,6vw,2.3rem); margin-bottom:6px}
.page h1 .accent{color:var(--yellow)}
.lead{color:var(--muted); margin:0 0 22px}
.breadcrumb{font-size:.85rem; color:var(--muted); padding:12px 0}
.breadcrumb a:hover{color:var(--fg)}
.breadcrumb .sep{margin:0 6px}

.tile-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:8px}
@media(min-width:640px){ .tile-grid{grid-template-columns:repeat(3,1fr)} }
.tile{background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:10px 12px; display:flex; align-items:center; gap:10px; font-weight:700; font-size:.86rem; line-height:1.2}
@media(hover:hover){.tile:hover{border-color:var(--yellow); background:var(--surface2)}}
.tile img{width:34px; height:34px; border-radius:50%; object-fit:cover; background:#333; flex:0 0 auto}
.tile > span{min-width:0; overflow-wrap:anywhere}
.tile .t-sub{display:block; font-weight:600; font-size:.72rem; color:var(--muted)}
.chip-list{display:flex; flex-wrap:wrap; gap:8px}
.chip-list a{background:var(--surface2); border:1px solid var(--line); border-radius:999px; padding:.4em .9em; font-weight:700; font-size:.92rem}
@media(hover:hover){.chip-list a:hover{background:var(--yellow); color:#111; border-color:var(--yellow)}}

/* ===================== footer ===================== */
.site-footer{background:#08080b; border-top:1px solid var(--line); padding:26px 0 40px; margin-top:10px}
.site-footer h2{font-size:.8rem; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); margin:0 0 10px}
.foot-cols{display:grid; gap:22px}
@media(min-width:640px){ .foot-cols{grid-template-columns:repeat(3,1fr)} }
.foot-links{display:flex; flex-wrap:wrap; gap:6px 12px}
.foot-links a{color:var(--muted); font-size:.9rem}
.foot-links a:hover{color:var(--fg)}
.foot-bottom{margin-top:24px; padding-top:16px; border-top:1px solid var(--line); color:var(--muted); font-size:.8rem; display:flex; flex-wrap:wrap; gap:8px 16px; align-items:center}
.foot-bottom .logo{font-size:1.05rem}

/* ===================== age gate (overlay, does not hide server HTML) ===================== */
.agegate{position:fixed; inset:0; z-index:100; background:rgba(6,6,9,.97); display:grid; place-items:center; padding:24px; text-align:center}
.agegate[hidden]{display:none}
.agegate-card{max-width:360px}
.agegate h2{font-size:1.5rem}
.agegate p{color:var(--muted)}
.agegate .btn-row{display:flex; gap:10px; justify-content:center; margin-top:18px}
