/* STREAM NETWORK — website styles */
:root{--bg:#000;--text:#fff;--accent:#fff;--onacc:#000;--tc:255,255,255;--hdr:rgba(0,0,0,.72);--glass:rgba(0,0,0,.4);--isl2:rgba(10,10,10,.97);--island:rgba(12,12,12,.88);--bd:rgba(var(--tc),.10);--dim:rgba(var(--tc),.45)}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:70px}
body{background:var(--bg);color:var(--text);font-family:'Space Grotesk',sans-serif;min-height:100vh;overflow-x:hidden;display:flex;flex-direction:column;-webkit-tap-highlight-color:transparent}main{flex:1;width:100%}
a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
#welcome{position:fixed;inset:0;z-index:9999;background:var(--bg);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;transition:opacity .8s}
#welcome.out{opacity:0;pointer-events:none}
.wring{width:96px;height:96px;display:flex;align-items:center;justify-content:center;margin-bottom:30px}
.wring .arc{transform-origin:32px 32px;animation:spin 2.2s linear infinite}
.wt{font:900 clamp(1.7rem,8vw,4rem)/1.1 Orbitron,monospace;letter-spacing:.16em;opacity:0;animation:up .8s ease .5s forwards}
#wmsg{margin-top:14px;font-size:.78rem;letter-spacing:.3em;color:rgba(var(--tc),.4);max-width:520px;line-height:1.7;opacity:0;animation:up .8s ease 1.1s forwards}
.wbar{margin-top:44px;width:180px;height:1px;background:rgba(var(--tc),.06);overflow:hidden;opacity:0;animation:up .5s ease 1.5s forwards}
.wbar i{display:block;height:100%;width:0;background:linear-gradient(90deg,transparent,var(--accent),transparent);animation:bar 1.7s ease 1.6s forwards}
@keyframes bar{to{width:100%}}@keyframes up{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes spin{to{transform:rotate(360deg)}}
header{position:fixed;top:0;left:0;right:0;z-index:200;height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;background:var(--hdr);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);border-bottom:1px solid rgba(var(--tc),.06)}
.logo{display:flex;align-items:center;gap:10px;font:900 .9rem Orbitron,monospace;letter-spacing:.22em}
.lg{display:inline-flex;color:var(--text)}.lg svg,.lg img{display:block;width:28px;height:28px;object-fit:contain}.wring .lg svg,.wring .lg img{width:96px;height:96px}.wring .lg{animation:up .9s ease .15s backwards}
nav{position:fixed;z-index:210;top:10px;right:64px;display:flex;gap:4px}
nav a{font-size:.8rem;color:var(--dim);padding:8px 14px;border-radius:20px;transition:.2s}
nav a:hover{color:var(--text)}nav a.on{color:var(--onacc);background:var(--accent);font-weight:600}
.bell{position:relative;width:36px;height:36px;border-radius:50%;background:rgba(var(--tc),.06);border:1px solid rgba(var(--tc),.12);display:flex;align-items:center;justify-content:center}
.bell svg{width:16px;height:16px;fill:none;stroke:rgba(var(--tc),.75);stroke-width:1.8}
#nb{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;border-radius:20px;background:#ff3b3b;border:2px solid #000;display:none;align-items:center;justify-content:center;font-size:.58rem;font-weight:700;padding:0 4px}
#np{position:fixed;top:64px;right:14px;width:min(330px,calc(100vw - 28px));background:var(--isl2);border:1px solid rgba(var(--tc),.12);border-radius:18px;z-index:300;transform:translateY(-10px) scale(.96);opacity:0;pointer-events:none;transition:.25s}
#np.open{transform:none;opacity:1;pointer-events:all}
#np h4{padding:13px 16px 10px;font-size:.78rem;font-weight:600;color:var(--dim);border-bottom:1px solid rgba(var(--tc),.06)}
#nl{padding:8px;max-height:300px;overflow-y:auto}
.ni{padding:10px 12px;border-radius:12px;margin-bottom:4px;background:rgba(var(--tc),.04)}
.ni b{font-size:.82rem}.ni p{font-size:.74rem;color:var(--dim);margin-top:3px;line-height:1.5}
.wrap{max-width:1120px;margin:0 auto;padding:0 20px}
.page{padding-top:92px}
h2{font:700 1.05rem Orbitron,monospace;letter-spacing:.18em;margin-bottom:8px}
.lead{color:var(--dim);font-size:.9rem;margin-bottom:26px;max-width:560px;line-height:1.6}
.hero{position:relative;height:calc(100svh - 56px);min-height:420px;margin-top:56px}
#cv{position:absolute;inset:0;width:100%;height:100%;touch-action:pan-y}
.tg{position:absolute;left:0;right:0;bottom:7%;text-align:center;padding:0 20px}
.tg p{color:rgba(var(--tc),.6);font-size:clamp(.9rem,2.4vw,1.1rem);line-height:1.6}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.btn{display:inline-flex;margin-top:18px;padding:12px 28px;border-radius:40px;background:var(--accent);color:var(--onacc);font-weight:600;font-size:.88rem;border:0;transition:transform .2s}
.btn:hover{transform:scale(1.04)}
.card{background:var(--island);border:1px solid var(--bd);border-radius:22px;padding:20px;backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px)}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(250px,100%),1fr));gap:14px}
a.site{display:flex;flex-direction:column;gap:14px;min-height:180px;transition:border-color .2s,transform .2s}
a.site:hover{border-color:rgba(var(--tc),.35);transform:translateY(-3px)}
.top{display:flex;align-items:center;gap:13px}
.site h3,.cr h3{font-size:1.02rem;font-weight:600}
.site p{font-size:.82rem;color:rgba(var(--tc),.55);line-height:1.6;flex:1}
.go{font-size:.74rem;color:var(--dim)}
.av{width:52px;height:52px;border-radius:14px;border:1px solid rgba(var(--tc),.16);background:rgba(var(--tc),.06);overflow:hidden;display:flex;align-items:center;justify-content:center;font:900 1rem Orbitron,monospace;color:rgba(var(--tc),.4);flex-shrink:0}
.av img{width:100%;height:100%;object-fit:cover}.av.r{border-radius:50%}.av.big{width:96px;height:96px;font-size:1.8rem}
.owner{display:flex;gap:24px;align-items:center;margin-bottom:14px}
.owner h3{font-size:1.4rem}.role{font-size:.8rem;color:var(--dim);margin:4px 0 10px}
.owner p,.cr p,.long{font-size:.88rem;line-height:1.75;color:rgba(var(--tc),.65);white-space:pre-line}
.cr{display:flex;flex-direction:column;gap:12px}
.pill{display:inline-block;padding:3px 10px;border-radius:20px;border:1px solid rgba(var(--tc),.18);background:rgba(var(--tc),.07);font-size:.68rem;margin:6px 4px 0 0}
.pill.m{background:var(--accent);color:var(--onacc);border-color:var(--accent);font-weight:600}
.rows{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(260px,100%),1fr));gap:10px}
a.row{display:flex;flex-direction:column;gap:2px;padding:14px 18px;border-radius:16px;background:var(--island);border:1px solid var(--bd)}
a.row:hover{background:rgba(var(--tc),.08)}.row small{font-size:.7rem;color:var(--dim)}.row span{font-size:.9rem;word-break:break-word}
.back{display:inline-block;margin-bottom:16px;font-size:.82rem;color:var(--dim)}.back:hover{color:var(--text)}
.cov{width:100%;max-height:300px;object-fit:cover;border-radius:22px;margin-bottom:14px;border:1px solid var(--bd)}
.dt h2{margin:0 0 4px;letter-spacing:.08em}.dt h3{font-size:.95rem;margin:26px 0 12px}.dt .long{margin-top:20px}
footer{margin-top:70px;padding:22px 20px 30px;display:flex;flex-direction:column;gap:4px;font-size:.78rem;color:var(--dim);line-height:1.7}footer.c{align-items:center;text-align:center}footer.r{align-items:flex-end;text-align:right}footer.c #fl{justify-content:center}footer.r #fl{justify-content:flex-end}
footer b{color:rgba(var(--tc),.8);font-weight:600}footer p{white-space:pre-line;max-width:420px}
#fl{display:flex;gap:16px;flex-wrap:wrap}#fl a:hover{color:var(--text)}
#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:var(--accent);color:var(--onacc);padding:10px 20px;border-radius:30px;font-size:.82rem;font-weight:600;opacity:0;pointer-events:none;transition:.3s;z-index:9000}
#toast.on{opacity:1;transform:translate(-50%,0)}.empty{color:var(--dim);font-size:.85rem}
@media(max-width:640px){
 body{padding-bottom:64px}#toast{bottom:78px}.owner{flex-direction:column;text-align:center}.logo{font-size:.75rem}}
body.solo{padding-bottom:0}.solo header,.solo nav,.solo #np{display:none}.solo .page{padding-top:36px}
.sec{margin-top:28px}.sec>h3{font-size:.95rem;margin:0 0 12px}.sec .long{margin-top:0}
.shots{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(260px,100%),1fr));gap:12px}.shots img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:14px;border:1px solid var(--bd);cursor:zoom-in;background:#111}
.feat{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(220px,100%),1fr));gap:8px;list-style:none}.feat li{padding:10px 14px;border-radius:12px;background:rgba(var(--tc),.05);border:1px solid var(--bd);font-size:.84rem}
#lb{position:fixed;inset:0;z-index:9500;background:rgba(0,0,0,.92);display:none;align-items:center;justify-content:center;padding:16px;cursor:zoom-out}#lb.on{display:flex}#lb img{max-width:100%;max-height:100%;border-radius:12px}
a.cr:hover,a.owner:hover{border-color:rgba(var(--tc),.35)}
#bgi{position:fixed;inset:0;z-index:-1;background-size:cover;background-position:center;background-repeat:no-repeat}
.ci{display:block;width:calc(100% + 40px);margin:-20px -20px 2px;aspect-ratio:16/9;object-fit:cover;border-radius:22px 22px 0 0;background:#111}
.feat b{font-size:1.1rem;margin-right:4px}
html{scrollbar-color:rgba(var(--tc),.28) var(--bg);scrollbar-width:thin}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:var(--bg)}::-webkit-scrollbar-thumb{background:rgba(var(--tc),.22);border-radius:10px;border:2px solid var(--bg)}::-webkit-scrollbar-thumb:hover{background:rgba(var(--tc),.4)}
@media(max-width:640px){nav{top:auto;bottom:0;left:0;right:0;justify-content:space-around;gap:0;padding:0 6px env(safe-area-inset-bottom);background:var(--glass);backdrop-filter:blur(18px) saturate(160%);-webkit-backdrop-filter:blur(18px) saturate(160%);border-top:1px solid rgba(var(--tc),.1);transition:transform .35s ease}
 nav a{flex:1;text-align:center;border-radius:0;padding:15px 4px;position:relative;background:none!important;color:var(--dim)}nav a.on{color:var(--text)}
 nav a::before{content:'';position:absolute;top:0;left:50%;width:0;height:2px;border-radius:2px;background:var(--accent);transition:width .3s,left .3s}nav a.on::before{width:34px;left:calc(50% - 17px)}
 nav.hide{transform:translateY(100%)}}
.card{overflow:hidden;overflow-wrap:anywhere;min-width:0}.top>div,.owner>div,.cr>div{min-width:0}.site h3,.cr h3,.owner h3{overflow-wrap:anywhere}
.site p,.cr p,.owner p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}.owner p{-webkit-line-clamp:5}.pill{max-width:100%;white-space:normal}
@media(prefers-reduced-motion:reduce){*{animation-duration:.01s!important;animation-delay:0s!important;transition:none!important}html{scroll-behavior:auto}}
