/* ISWU Stories: rij bovenaan de tijdlijn + schermvullende viewer */
.strail{display:flex;gap:14px;overflow-x:auto;padding:4px 2px 14px;margin:0 0 6px;border-bottom:1px solid var(--hair);scrollbar-width:none}
.strail::-webkit-scrollbar{display:none}
.st-u{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;background:none!important;border:0!important;padding:0;flex:none;width:68px;color:var(--tx)}
.st-r{display:grid;place-items:center;width:66px;height:66px;border-radius:50%;padding:2px;background:var(--line2)}
.st-u.new .st-r,.st-u.own .st-r{background:conic-gradient(from 210deg,var(--y),#ff6b3d,#ff3b5c,var(--y))}
.st-r .cav{width:58px!important;height:58px!important;border:3px solid var(--bg,#000)}
.st-u small{font-size:11.5px;max-width:68px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--mut)}
.st-u.new small{color:var(--tx)}
.st-plus{position:absolute;right:2px;top:44px;width:22px;height:22px;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;border:2px solid #000;cursor:pointer}
.st-sk{flex:none;width:66px;height:66px;border-radius:50%;background:rgba(255,255,255,.06);animation:iswSk 1.3s ease-in-out infinite}
.st-prev{border-radius:14px;overflow:hidden;background:#000;margin-bottom:10px;max-height:46vh;display:grid;place-items:center}.st-prev img,.st-prev video{max-width:100%;max-height:46vh}
.st-note{font-size:12.5px;margin:8px 0 0}
body.stv-open{overflow:hidden}
#stv{position:fixed;inset:0;z-index:90;background:#000;display:grid;place-items:center;animation:iswIn .25s var(--ease) both}
.stv-box{position:relative;width:min(100vw,calc(100dvh * 9 / 16));height:100dvh;background:#0a0a0a;display:flex;flex-direction:column;overflow:hidden}
@media(min-width:700px){.stv-box{height:calc(100dvh - 32px);border-radius:16px}}
.stv-bars{position:absolute;top:10px;left:10px;right:10px;z-index:3;display:flex;gap:4px}.stv-bars i{flex:1;height:3px;border-radius:2px;background:rgba(255,255,255,.35);overflow:hidden}.stv-bars b{display:block;height:100%;background:#fff}
.stv-h{position:absolute;top:20px;left:10px;right:6px;z-index:3;display:flex;align-items:center;gap:10px;color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.6)}
.stv-h>span:not(.cav){flex:1;display:flex;flex-direction:column;min-width:0}.stv-h .cav{flex:none}.stv-h b{font-size:14px}.stv-h small{font-size:12px;opacity:.85}.stv-h small a{color:#fff;text-decoration:underline}
.stv-h .ib{color:#fff;background:transparent!important}
.stv-m{position:relative;flex:1;display:grid;place-items:center;min-height:0}.stv-m img,.stv-m video{width:100%;height:100%;object-fit:contain}
.stv-z{position:absolute;top:0;bottom:0;width:35%;background:transparent!important;border:0!important;border-radius:0!important;z-index:2}.stv-z.l{left:0}.stv-z.r{right:0;width:65%}
.stv-c{position:absolute;left:0;right:0;bottom:76px;margin:0;padding:10px 16px;text-align:center;color:#fff;font-size:15px;background:linear-gradient(0deg,rgba(0,0,0,.6),transparent);z-index:2}
.stv-f{display:flex;align-items:center;gap:6px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#000;z-index:3}
.stv-rep{flex:1;display:flex;align-items:center;gap:4px;border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:2px 4px 2px 14px}.stv-rep input{flex:1;background:transparent!important;border:0!important;color:#fff;padding:8px 0;font-size:14.5px}.stv-rep .ib{color:#fff}
.stv-q{border:0!important;background:none!important;font-size:22px;padding:4px}
.stv-v{display:inline-flex;align-items:center;gap:6px;color:#fff;background:rgba(255,255,255,.12)!important;border:0!important}
#cmodal.st-over{z-index:95}
/* reacties op een story: knop met aantal in de voet, paneel dat van onderen opschuift (de story staat stil) */
.stv-cmb{position:relative;flex:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:#fff;background:rgba(255,255,255,.12)!important;border:0!important}
.stv-cmb i{position:absolute;top:2px;right:0;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--y);color:#000;font:700 11px/18px Inter,system-ui,sans-serif;font-style:normal;text-align:center}
.stv-cm{position:absolute;left:0;right:0;bottom:0;height:72%;z-index:6;display:flex;flex-direction:column;background:#111113;border-radius:20px 20px 0 0;box-shadow:0 -20px 60px rgba(0,0,0,.6);animation:stvUp .3s cubic-bezier(.32,.72,0,1) both}
.stv-cm>header{display:flex;align-items:center;justify-content:space-between;padding:14px 12px 6px 18px;border-bottom:1px solid rgba(255,255,255,.08)}
.stv-cm>header b{font-size:16px;font-weight:600}
.stv-cm>header .ib{color:#fff}
.stv-cmi{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:8px 14px calc(14px + env(safe-area-inset-bottom))}
.stv-cmi .ccm{margin:0}
@keyframes stvUp{from{transform:translateY(100%)}to{transform:none}}
@media(prefers-reduced-motion:reduce){.stv-cm{animation:none}}
/* looptijd kiezen: 1, 3 of 7 dagen */
.st-days{display:flex;align-items:center;gap:6px;margin:12px 0 0;flex-wrap:wrap}
.st-days>span{font-size:13px;color:var(--mut);margin-right:4px}
.st-days button{border:1px solid var(--line2);background:transparent;border-radius:999px;padding:7px 14px;font-size:14px;font-weight:500;color:var(--tx);transition:background-color .16s cubic-bezier(.23,1,.32,1),color .16s cubic-bezier(.23,1,.32,1),transform .12s}
.st-days button.on{background:var(--sel,#f5f5f7);color:var(--seltx,#000);border-color:transparent}
.st-days button:active{transform:scale(.97)}
