.sn-page:has(.reel-room){--reel-height:calc(100dvh - 76px);overflow:hidden}
.sn-main:has(.reel-room){width:100%;max-width:none;padding:0}
.reel-room{height:var(--reel-height);min-height:220px;display:flex;flex-direction:column;align-items:center;overflow:hidden;background:#191418;color:#fff8f2;font-family:Arial,Helvetica,sans-serif}
.reel-top{box-sizing:border-box;width:min(600px,100%);padding:9px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none}
.reel-top h1{font:italic 700 29px/1 Georgia,serif;letter-spacing:-.06em;color:white;margin:0}
.reel-filters{display:flex;align-items:center;gap:4px}
.reel-filters a{color:#e4d9db;border-radius:18px;min-height:33px;padding:8px 10px;font:650 12px/1.4 Arial,sans-serif;text-decoration:none}
.reel-filters [aria-current]{background:#f9ede7;color:#3c2430}
.reel-stage{position:relative;min-height:0;flex:1;width:min(100%,calc((var(--reel-height) - 60px)*9/16));margin-bottom:8px}
.reel-stream{height:100%;overflow-y:auto;overscroll-behavior-y:contain;scroll-snap-type:y mandatory;scrollbar-width:none;border-radius:14px;background:#130e13}
.reel-stream::-webkit-scrollbar{display:none}
.reel-slide{height:100%;min-height:100%;width:100%;position:relative;isolation:isolate;overflow:hidden;scroll-snap-align:start;scroll-snap-stop:always;background:#211a21}
.reel-media,.reel-media video,.reel-embed,.reel-cover{width:100%;height:100%;display:block}.reel-media video{object-fit:cover;object-position:center;background:#130e13}
.reel-caption{position:absolute;bottom:43px;left:0;right:0;padding:44px 66px 12px 17px;background:linear-gradient(transparent,rgba(8,4,8,.72) 45%,rgba(8,4,8,.82));color:white;pointer-events:none}
.reel-caption h2{font:700 clamp(18px,2.5vw,26px)/1.09 Arial,sans-serif;letter-spacing:-.03em;color:white;margin:8px 0 4px;text-wrap:balance}
.reel-caption p{font:14px/1.4 Arial,sans-serif;margin:0;text-wrap:pretty}
.reel-caption a{font:600 12px/1.3 Arial,sans-serif;color:white;pointer-events:auto;display:inline-block;padding:4px 0;text-underline-offset:3px}
.reel-account{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:12px;font-weight:700}
.reel-account b{font-weight:400;color:#eee}.reel-account img{height:27px;width:27px;border-radius:50%;border:1px solid #ffffffa8;object-fit:cover}
.reel-actions{position:absolute;right:8px;bottom:68px;display:grid;gap:8px}
.reel-actions a,.reel-actions button,.reel-turn button{display:grid;place-content:center;text-align:center;text-decoration:none;background:#231523dc;color:#fff;border:1px solid #ffffff45;border-radius:18px;width:44px;height:46px;font:600 22px/1 Arial,sans-serif}
.reel-actions small{font:650 10px/1.2 Arial,sans-serif}
.reel-turn{position:absolute;top:50%;left:calc(100% + 12px);transform:translateY(-50%);display:grid;justify-items:center;gap:7px}
.reel-turn button{border-radius:50%;background:#322a32;width:40px;height:40px}
.reel-turn output{font:650 11px/1.25 Arial,sans-serif;color:#fff;white-space:nowrap}
.reel-turn button:disabled{opacity:.35;cursor:default}
.reel-cover{position:absolute;inset:0;padding:28px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:12px;background:linear-gradient(145deg,#301622,#8a2749 65%,#b66981)}
.reel-cover[hidden]{display:none}.reel-cover p{font-size:13px;letter-spacing:.06em}.reel-cover strong{font:400 38px/1 SnjoRoman,Georgia,serif;max-width:16ch}
.reel-cover button{border:0;border-radius:22px;padding:12px 20px;background:white;color:#3d2631;font-weight:bold}
.reel-status{position:absolute;top:84px;left:50%;transform:translateX(-50%);z-index:3;padding:6px 12px;border-radius:20px;background:#fff;color:#241920;font-size:13px}
.reel-status:empty{display:none}
@media (max-width:760px){
 .sn-page:has(.reel-room){--reel-height:calc(100dvh - 113px - env(safe-area-inset-bottom))}
 .reel-stage{width:100%;margin:0}.reel-stream{border-radius:0}
 .reel-top{width:100%;padding:7px 12px}.reel-filters a{font-size:11px;padding:7px 9px}
 .reel-turn{left:auto;right:8px;top:7px;transform:none;display:flex;align-items:center;gap:3px;background:#241624c9;border-radius:23px;padding:2px}
 .reel-turn button{width:31px;height:32px;font-size:17px;border:0}.reel-turn output{font-size:10px}
 .reel-caption p{font-size:13px}.reel-status{top:60px}
}
@media (max-height:520px){.reel-caption p{display:none}.reel-stage{width:min(100%,500px)}.reel-top{padding-block:3px}}
@media (pointer:coarse){.reel-slide.playing-embed .reel-media:after{content:'';position:absolute;inset:0 0 0 auto;width:16px;touch-action:pan-y}}

.reel-media{position:absolute;inset:0}
.reel-media [hidden]{display:none!important}
.reel-embed,.reel-embed iframe{position:absolute;inset:0;width:100%;height:100%}
.reel-cover{overflow:hidden;align-items:center;justify-content:center;text-align:center;padding:0}
.reel-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.reel-cover button{position:relative;background:#231923d9;color:white;border:1px solid #ffffff72;z-index:1;min-height:46px}
.reel-caption{bottom:0;padding-bottom:46px}
.reel-caption h2,.reel-caption p{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.playing-embed .reel-caption{display:none}
.reel-filters{overflow-x:auto;scrollbar-width:none;white-space:nowrap}
.reel-top h1{flex:none}
@media(max-width:760px){.reel-stage{width:100%}.reel-filters{min-width:0;gap:2px}.reel-filters a{padding-inline:7px}}
