.rb-feed{margin:0;padding:0;color:#1e293b;--rb-feed-height:calc(100dvh - var(--rb-header-height,60px));--rb-reel-width:512px}
.rb-feed-page main{padding-bottom:0!important}
.rb-feed-page .rb-feed>h1,.rb-action-label{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.rb-feed-list{height:var(--rb-feed-height);overflow-y:auto;overflow-x:hidden;scroll-snap-type:y mandatory;overscroll-behavior-y:contain;scrollbar-width:none;background:#f6f9fb}
.rb-feed-list::-webkit-scrollbar{display:none}
.rb-reel{position:relative;width:min(100%,var(--rb-reel-width,512px));height:var(--rb-feed-height,calc(100dvh - var(--rb-header-height,60px)));margin:0 auto;color:white;scroll-snap-align:start;scroll-snap-stop:always;isolation:isolate}
.rb-reel-surface{height:100%;width:100%;position:relative;overflow:hidden;background:#000;color:#fff}
.rb-reel-video{display:block;width:100%;height:100%;object-fit:cover;background:#000;cursor:pointer}
.rb-reel button{font:inherit;cursor:pointer;color:inherit}
.rb-reel button:focus-visible,.rb-reel a:focus-visible,.rb-reel-seek:focus-visible{outline:2px solid #fff;outline-offset:4px}
.rb-reel button:disabled{opacity:.55;cursor:wait}
.rb-reel-info{position:absolute;bottom:0;left:0;right:0;z-index:3;padding:64px 60px 32px 16px;background:linear-gradient(0deg,#000c,#0007 62%,transparent);pointer-events:none}
.rb-reel-info a,.rb-reel-info button,.rb-reel-caption{pointer-events:auto}
.rb-reel-author{display:flex;align-items:center;gap:12px;min-width:0;margin-bottom:10px}
.rb-reel-author a{color:#fff;text-decoration:none;font-size:16px;font-weight:600;text-shadow:0 1px 3px #0005;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rb-reel-author>a:first-child{flex-shrink:0}
.rb-reel-author img{display:block;width:40px;height:40px;object-fit:cover;border-radius:50%;background:#449b82;flex-shrink:0}
.rb-reel .rb-follow{border:0;border-radius:20px;background:#449b82;padding:4px 12px;line-height:1.5;font-size:12px;flex-shrink:0;white-space:nowrap}
.rb-reel .rb-follow[aria-pressed=true]{background:#ffffff20;border:1px solid #ffffff60}
.rb-reel-caption{margin:0 0 8px;font-size:14px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;text-shadow:0 1px 3px #0006}
.rb-reel-caption.rb-expanded{white-space:pre-wrap;max-height:100px;overflow-y:auto;overflow-wrap:anywhere}
.rb-reel-date{display:flex;align-items:center;gap:6px;margin:0;font-size:12px;line-height:1.5;color:#ffffffe6}
.rb-reel-date .rb-action-glyph,.rb-reel-date svg{width:15px;height:15px}
.rb-reel-actions{position:absolute;z-index:5;right:9px;bottom:26px;display:flex;flex-direction:column;align-items:center;gap:12px}
.rb-icon-action{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;border:0;padding:0;background:transparent;font-size:12px!important;min-width:36px}
.rb-action-glyph{display:grid;place-items:center;flex-shrink:0}
.rb-icon-action>.rb-action-glyph{height:36px;width:36px;border-radius:50%;background:#0005;transition:background .15s,transform .15s}
.rb-icon-action:hover>.rb-action-glyph{background:#0009;transform:scale(1.05)}
.rb-icon-action svg{width:23px;height:23px;stroke:#fff}
.rb-icon-action[data-action=heart][aria-pressed=true] svg{fill:#ff4d68;stroke:#ff4d68}
.rb-icon-action[data-action=save][aria-pressed=true] svg{fill:#fff}
.rb-icon-action[data-action=gift] svg{stroke:#f8c352}
.rb-action-count{font-size:12px;line-height:1;color:#fff;text-shadow:0 1px 3px #0006}
.rb-reel-mute,.rb-reel-play{position:absolute;z-index:4;display:grid;place-items:center;border:0;border-radius:50%;background:#0005;color:#fff;padding:8px}
.rb-reel-mute{top:12px;right:10px}.rb-reel-mute svg{width:20px;height:20px}
.rb-reel-play{top:50%;left:50%;transform:translate(-50%,-50%);height:60px;width:60px}.rb-reel-play svg{width:30px;height:30px;fill:#fff}
.rb-reel-play[hidden],.rb-comment-panel[hidden],.rb-feed-more[hidden],.rb-upload-progress[hidden]{display:none!important}
.rb-reel-seek{position:absolute;z-index:6;bottom:10px;left:16px;width:calc(100% - 32px);height:4px;margin:0;border:0;border-radius:3px;appearance:none;-webkit-appearance:none;background:linear-gradient(to right,#fff var(--rb-progress,0%),#ffffff40 var(--rb-progress,0%));cursor:pointer}
.rb-reel-seek::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:9px;height:9px;background:#fff;border-radius:50%;opacity:0}.rb-reel-seek:hover::-webkit-slider-thumb{opacity:1}
.rb-reel-seek::-moz-range-thumb{width:9px;height:9px;border:0;background:#fff;border-radius:50%}
.rb-reel-navigation{position:absolute;left:calc(100% + 14px);top:50%;transform:translateY(-50%);display:grid;gap:12px;color:#1f2937}
.rb-reel-navigation button{height:36px;width:36px;display:grid;place-items:center;border:0;border-radius:50%;background:#e5e7eb;color:#1f2937}.rb-reel-navigation button:hover{background:#d1d5db}
.rb-reel-tools{position:absolute;top:12px;left:12px;z-index:7}.rb-reel-tools summary{display:grid;place-items:center;width:32px;height:32px;background:#0005;border-radius:50%;font-size:22px;cursor:pointer;list-style:none}.rb-reel-tools summary::-webkit-details-marker{display:none}
.rb-reel-tools-menu{position:absolute;top:38px;left:0;min-width:140px;padding:6px;border-radius:10px;background:#fff;box-shadow:0 8px 28px #0003;color:#334155;display:grid;gap:2px}.rb-reel-tools-menu button{border:0;background:transparent;text-align:left;padding:10px 12px;font-size:13px}.rb-reel-tools-menu button:hover{background:#f1f5f9}
.rb-reel-status{position:absolute;top:60px;left:12px;right:12px;z-index:8;background:#111e;color:white;border-radius:8px;padding:10px 12px;font-size:13px;overflow-wrap:anywhere}.rb-reel-status:empty{display:none}.rb-reel-status input{width:100%;color:#111}
.rb-feed-message,.rb-feed-loading{padding:28px 20px;text-align:center;color:#64748b;background:#fff;border-radius:12px;margin:20px}.rb-feed-loading:empty{display:none}
.rb-feed-more{display:block;margin:16px auto;padding:12px 22px;border:1px solid #cbd5e1;background:#fff;color:#334155;border-radius:10px;cursor:pointer;scroll-snap-align:end}
.rb-comment-panel{position:absolute;z-index:10;inset:22% 0 0;padding:16px;background:#fff;color:#1e293b;overflow:auto;overscroll-behavior:contain;border-radius:16px 16px 0 0;box-shadow:0 -6px 30px #0003}
.rb-comment{padding:10px 0;border-bottom:1px solid #e2e8f0}.rb-comment p{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0;font-size:14px}.rb-comment strong{font-size:13px}
.rb-comment-form{display:flex;gap:8px;margin-top:14px;position:sticky;bottom:0;background:#fff;padding:8px 0}.rb-comment-form textarea{width:100%;min-width:0;min-height:44px;border:1px solid #cbd5e1;border-radius:8px;padding:10px;resize:vertical;color:#1e293b}
.rb-comment-panel button{border:0;border-radius:8px;background:#449b82;color:#fff;padding:8px 12px;font-size:13px}.rb-comment-panel .rb-comments-close{display:block;margin:0 0 12px auto;background:#f1f5f9;color:#475569}
.rb-feed-modal{position:fixed;inset:0;z-index:120;background:#000b;overflow:auto;padding:20px 12px}.rb-feed-close{position:relative;z-index:12;display:block;margin:0 0 10px auto;border:0;padding:9px 16px;border-radius:8px;background:#fff;color:#111;cursor:pointer}
.rb-feed-modal .rb-reel{height:calc(100dvh - 100px);max-width:480px}.rb-feed-modal .rb-reel-surface{border-radius:16px}.rb-feed-modal .rb-reel-navigation{display:none}
.rb-reel-load-error{position:absolute;inset:0;z-index:11;display:grid;place-content:center;gap:12px;padding:24px;text-align:center;background:#111827;color:#fff}.rb-reel-load-error button{border:1px solid #fff8;background:#fff2;border-radius:8px;padding:10px}
.rb-upload-progress{width:100%;height:10px;display:block;margin:12px 0}.rb-search-results{display:grid;gap:16px;padding:16px 0}
@media(max-width:1023px){.rb-feed{--rb-feed-height:calc(100dvh - var(--rb-header-height,60px) - 60px)}.rb-reel-navigation{display:none}}
@media(max-width:640px){.rb-reel{width:100%;max-width:none}.rb-reel-info{padding-left:14px;padding-right:56px}.rb-reel-actions{right:8px;gap:10px}.rb-reel-author{gap:8px}.rb-reel-author a{font-size:14px}.rb-reel-author img{width:36px;height:36px}.rb-reel-caption{font-size:13px}.rb-feed-modal{padding:12px 8px}.rb-feed-modal .rb-reel{height:calc(100dvh - 90px)}}
