@font-face{font-family:Roobert;src:url('../../assets/roobert-reference.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Roobert;src:url('../../assets/roobert-medium-reference.woff2') format('woff2');font-weight:500 800;font-display:swap}
:root{color-scheme:dark;--ground:#080808;--surface:#161616;--raised:#242424;--text:#f5f5f5;--muted:#aaa;--faint:#8f8f8f;--accent:#d8e975;--line:#272727;--error:#fa9a91;--radius:12px;--font:Roobert,'PingFang SC','Microsoft YaHei',sans-serif}
*{box-sizing:border-box}html,body{margin:0;min-width:280px;background:var(--ground);color:var(--text);font-family:var(--font);font-size:15px;-webkit-font-smoothing:antialiased}body{height:100dvh;overflow:hidden}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default;opacity:.45}button,a{touch-action:manipulation}button{border:0;background:none}a{color:inherit;text-decoration:none}button,input,textarea,select,a{outline-offset:4px}:focus-visible{outline:2px solid var(--accent)}input,textarea,select{color:var(--text);border:1px solid #414141;background:var(--surface);border-radius:8px}input,textarea{min-width:0}input::placeholder,textarea::placeholder{color:var(--faint)}textarea{resize:vertical;line-height:1.6}img{object-fit:cover;display:block}[hidden]{display:none!important}::selection{background:#d8e975;color:#151515}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip{position:fixed;left:16px;top:-60px;padding:12px 20px;z-index:100;background:#fff;color:#111;border-radius:999px}.skip:focus{top:12px}.icon{width:24px;height:24px;display:inline-block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none;vertical-align:middle}.icon-button{height:44px;width:44px;display:inline-grid;place-items:center;flex:none}.brand{display:inline-flex;align-items:center;gap:8px;min-height:44px;white-space:nowrap}.brand>span{font-size:26px;letter-spacing:-.07em;font-weight:500}.brand img{object-fit:contain}.app-layout{height:100dvh;display:grid;grid-template-columns:200px minmax(0,520px) 260px;justify-content:center;gap:48px}.app-frame{height:100dvh;min-height:0;position:relative;display:flex;flex-direction:column;border-inline:1px solid var(--line);min-width:0;background:var(--ground)}.screen{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:none;position:relative;outline:none}.screen::-webkit-scrollbar{display:none}.desktop-sidebar{padding:30px 0;display:flex;flex-direction:column}.desktop-sidebar>.brand{padding-left:12px}.desktop-sidebar>.brand>span{font-size:30px}.desktop-nav{display:grid;gap:12px;margin-top:48px}.desktop-nav button{display:flex;align-items:center;gap:18px;min-height:52px;font-size:18px;padding:0 14px;border-radius:999px;color:#aaa;text-align:left}.desktop-nav button[aria-current=page]{color:#fff;font-weight:500;background:#171717}.desktop-nav .icon{height:26px;width:26px}.desktop-sidebar>p{margin-top:auto;color:var(--faint);font-size:12px;line-height:1.8;padding-left:14px}.desktop-sidebar>a:last-child{font-size:13px;color:var(--muted);padding-left:14px;min-height:44px;display:flex;align-items:center;gap:8px}.desktop-sidebar>a:last-child .icon{width:16px;height:16px}.discovery-sidebar{padding:38px 0;align-self:start}.sidebar-intro{font-size:22px;line-height:1.6;font-weight:400;margin:0 0 40px;letter-spacing:-.03em}.sidebar-label{font-size:13px;color:var(--muted);margin:0 0 18px}.sidebar-creator{display:flex;align-items:center;gap:12px;min-height:78px;text-align:left;width:100%;padding:10px 0}.sidebar-creator>span{min-width:0;display:grid;gap:6px}.sidebar-creator strong{font-weight:500;font-size:15px}.sidebar-creator small{font-size:12px;color:var(--faint)}.sidebar-about{margin-top:40px;font-size:12px;color:#888;line-height:1.9}.home-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px 8px;min-height:64px}.home-header>div{display:flex;gap:2px}.feed-tabs{display:flex;align-items:center;gap:28px;padding:0 20px;height:52px}.feed-tabs>button{min-height:48px;font-size:20px;font-weight:500;position:relative;color:#8f8f8f;padding:0}.feed-tabs>button[aria-selected=true]{color:white}.feed-tabs>button[aria-selected=true]:after{content:'';position:absolute;height:3px;width:22px;bottom:2px;left:calc(50% - 11px);border-radius:3px;background:white}.experience-tag{margin-left:auto;color:#8f8f8f;font-size:11px}.creator-stories{display:flex;gap:21px;padding:24px 20px 16px;overflow:auto;scrollbar-width:none}.creator-stories>button{display:flex;flex-direction:column;align-items:center;gap:10px;padding:0;font-size:12px;white-space:nowrap;min-width:58px}.story-ring{padding:3px;border:1px solid #727272;border-radius:50%}.story-ring.story-featured{border-color:var(--accent)}.avatar{width:44px;height:44px;border-radius:50%;flex:none;background:#292929;object-fit:cover}.story-ring .avatar{width:56px;height:56px}.story-add{height:64px;width:64px;background:#1b1b1b;border-radius:50%;display:grid;place-items:center;color:#c3c3c3}.initial{display:inline-grid;place-items:center;background:#e1e6cf;color:#263225;font-size:19px;font-weight:500}.large-avatar{width:82px;height:82px;font-size:30px}.topic-filters{display:flex;gap:12px;padding:8px 20px 20px;overflow:auto;scrollbar-width:none}.topic-filters button{min-height:36px;min-width:56px;font-size:13px;padding:8px 16px;border-radius:999px;background:#1c1c1c;color:#b7b7b7}.topic-filters button[aria-pressed=true]{background:#eee;color:#171717}.post-card{margin-bottom:20px}.post-author{display:flex;align-items:center;gap:8px;padding:10px 16px;min-height:68px}.post-author>button:first-child{display:flex;align-items:center;gap:10px;padding:0;min-width:0;flex:1;text-align:left;min-height:44px}.post-author>button:first-child>span{display:grid;gap:4px;min-width:0}.post-author strong{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:500}.post-author small{font-size:12px;color:#999}.verified{display:inline-grid;place-items:center;width:13px;height:13px;background:#ddd;color:#111;border-radius:50%}.verified .icon{width:9px;height:9px;stroke-width:3}.follow-button{font-size:12px;min-height:36px;padding:7px 16px;border:1px solid #565656;border-radius:999px;white-space:nowrap}.follow-button[aria-pressed=true]{color:#aaa;border-color:#303030}.post-author>.icon-button{width:28px}.post-media{position:relative;display:block;width:100%;padding:0;overflow:hidden;background:#191919}.post-media>img{width:100%;height:auto;aspect-ratio:4/5;max-height:650px;object-fit:cover}.media-open{cursor:pointer}.video-cover .post-media>img{object-fit:cover}.video-cover-play{position:absolute;left:calc(50% - 28px);top:calc(50% - 28px);width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:#080808b8;color:white}.video-cover-play .icon{width:26px;height:26px;fill:white;stroke-width:1}.media-type{position:absolute;top:16px;right:16px;display:flex;align-items:center;gap:5px;background:#080808a8;padding:6px 9px;border-radius:999px;font-size:11px}.media-type .icon{width:14px;height:14px}.post-actions{display:flex;justify-content:space-between;align-items:center;padding:8px 16px 0;gap:8px;min-height:52px}.post-actions>div{display:flex;align-items:center;gap:18px}.post-actions button{display:flex;align-items:center;gap:7px;padding:0;min-height:44px;min-width:28px;font-size:13px}.post-actions button .icon{width:23px;height:23px}.like-action[aria-pressed=true],.reel-tools [data-act=like][aria-pressed=true]{color:#f27d81}.like-action[aria-pressed=true] .icon,.reel-tools [data-act=like][aria-pressed=true] .icon{fill:currentColor}.save-action[aria-pressed=true] .icon,.reel-tools [data-act=save][aria-pressed=true] .icon{fill:currentColor}.post-copy{padding:0 18px 16px}.post-copy p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:14px;margin:0 0 10px;color:#dbdbdb}.post-copy p strong{font-weight:500;color:white;margin-right:4px}.post-copy>span{font-size:11px;color:#929292}.post-feed>.post-card+.post-card{border-top:1px solid #222}.feed-end{padding:32px 20px 48px;text-align:center;color:#818181}.feed-end .brand{justify-content:center;opacity:.55}.feed-end .brand span{font-size:20px}.feed-end .brand img{width:23px;height:23px}.feed-end>p{font-size:12px;line-height:1.8}.bottom-nav{display:flex;align-items:center;justify-content:space-around;padding:8px 8px max(8px,env(safe-area-inset-bottom));background:#0d0d0d;border-top:1px solid #262626;flex:none;min-height:67px;z-index:10}.bottom-nav>button{min-height:50px;min-width:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:0 8px;color:#969696;font-size:11px}.bottom-nav>button[aria-current=page]{color:white}.bottom-nav>button[aria-current=page] .icon{stroke-width:2.4}.bottom-nav>.nav-publish .icon{padding:5px;width:40px;height:30px;border-radius:8px;border:1px solid #adadad;stroke-width:2}.topbar{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:64px;padding:8px 12px;position:sticky;top:0;background:var(--ground);z-index:5}.topbar>h1{font-size:17px;font-weight:500;line-height:1.4;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-spacer{width:44px;height:44px}.topbar>.quiet-button{font-size:14px;min-height:44px}.profile-head{padding:18px 22px 28px}.profile-identity{display:flex;align-items:center;gap:18px}.profile-identity h2{font-weight:500;font-size:23px;line-height:1.2;letter-spacing:-.04em;margin:0 0 10px;overflow-wrap:anywhere}.profile-identity p{font-size:13px;color:#999;margin:0}.profile-bio{font-size:14px;line-height:1.8;white-space:pre-wrap;margin:22px 0 14px;overflow-wrap:anywhere}.profile-tags{display:flex;flex-wrap:wrap;gap:8px}.profile-tags>span{background:#202020;color:#bdbdbd;font-size:11px;border-radius:4px;padding:4px 8px}.profile-stats{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin:26px 0;color:#a6a6a6;font-size:12px}.profile-stats strong{font-size:19px;font-weight:500;color:white;margin-right:4px}.profile-buttons{display:flex;gap:12px}.profile-buttons>.follow-button,.profile-buttons>.secondary-button{flex:1;min-height:42px;font-size:14px}.primary-button,.secondary-button{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:46px;padding:12px 22px;border-radius:999px;font-size:14px;font-weight:500}.primary-button{background:#f4f4f4;color:#111;border:0}.secondary-button{background:#202020;color:#f2f2f2}.profile-buttons .primary-button{flex:1}.subscription-entry{display:flex;align-items:center;gap:14px;width:100%;text-align:left;padding:18px;background:#1c1c1c;border-radius:12px;margin-top:22px;min-height:82px}.subscription-entry>.icon:first-child{color:var(--accent);width:22px;height:22px}.subscription-entry>span{display:grid;gap:7px;flex:1;min-width:0}.subscription-entry strong{font-size:14px;font-weight:500;line-height:1.5}.subscription-entry small{color:#aaa;font-size:12px}.subscription-entry>.icon:last-child{width:18px;height:18px;color:#aaa}.profile-tabs{display:flex;align-items:center;gap:32px;padding:0 22px;min-height:54px;border-bottom:1px solid #262626}.profile-tabs button{min-height:54px;padding:0;font-size:14px;color:#999;position:relative}.profile-tabs button[aria-selected=true]{color:white}.profile-tabs button[aria-selected=true]:after{content:'';position:absolute;height:2px;bottom:0;left:0;right:0;background:white}.profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.profile-grid>button{padding:0;display:block;position:relative;min-width:0;aspect-ratio:3/4;overflow:hidden;background:#181818}.profile-grid img{height:100%;width:100%;object-fit:cover}.grid-video-icon{position:absolute;right:8px;top:8px;width:18px;height:18px;color:white;filter:drop-shadow(0 1px 3px #111)}.profile-text{height:100%;display:grid;place-items:center;font-size:16px;line-height:1.7;padding:16px;overflow-wrap:anywhere}.profile-locked{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;color:#aaa;font-size:12px}.locked-content{background:#171717;min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;text-align:center;gap:16px}.locked-content>.icon{width:34px;height:34px;color:var(--accent)}.locked-content>strong{font-size:21px;font-weight:500}.locked-content>p{font-size:14px;line-height:1.8;max-width:24ch;color:#aaa;margin:0}.locked-content>span{font-size:11px;color:#919191}.empty-state{text-align:center;display:flex;flex-direction:column;align-items:center;padding:64px 30px;gap:16px}.empty-state>.icon{width:36px;height:36px;color:#777}.empty-state h2{font-size:21px;font-weight:500;line-height:1.5;margin:0}.empty-state p{max-width:28ch;font-size:14px;line-height:1.8;color:#aaa;margin:0 0 6px}.image-failure,.expired-media{padding:40px 22px;background:#1a1a1a;color:#bcbcbc;min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px;font-size:14px}.image-failure button,.expired-media button{min-height:44px;text-decoration:underline;padding:8px 18px}.text-media{background:#202020;padding:36px 24px;min-height:220px;font-size:23px;line-height:1.65}.text-media>p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.detail-comment-entry{padding:12px 20px 24px}.detail-comment-entry>button{min-height:48px;width:100%;text-align:left;background:#202020;border-radius:999px;color:#999;padding:12px 18px}.screen.video-mode{overflow:hidden}.reels{height:100%;overflow-y:auto;scroll-snap-type:y mandatory;scrollbar-width:none;overscroll-behavior:contain;touch-action:pan-y}.reels::-webkit-scrollbar{display:none}.reel{height:100%;width:100%;scroll-snap-align:start;scroll-snap-stop:always;position:relative;background:#101010;overflow:hidden}.reel>video{height:100%;width:100%;object-fit:cover;display:block}.reel-header{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;min-height:64px;z-index:5;color:white;text-shadow:0 1px 5px #000}.reel-brand{display:flex;align-items:center;gap:7px;font-size:15px;font-weight:500}.reel-brand>img{object-fit:contain}.reel-header>span:nth-child(2){font-size:18px;font-weight:500}.reel-tap{position:absolute;inset:0;z-index:1;display:grid;place-items:center;touch-action:pan-y;padding:0}.reel-tap>.icon{width:64px;height:64px;color:white;fill:#ffffffba;opacity:0;filter:drop-shadow(0 2px 8px #0008)}.reel.paused .reel-tap>.icon{opacity:1}.reel-state{position:absolute;left:50%;top:44%;transform:translate(-50%,-50%);font-size:13px;line-height:1.6;text-align:center;padding:8px 14px;background:#080808c9;border-radius:6px;z-index:2;pointer-events:none}.reel-state:empty{display:none}.reel-tools{position:absolute;bottom:32px;right:10px;z-index:3;display:grid;gap:18px}.reel-tools>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#fff;font-size:12px;min-width:52px;min-height:48px;padding:0;text-shadow:0 1px 5px #000}.reel-tools>button>.icon{width:29px;height:29px;filter:drop-shadow(0 1px 3px #000)}.reel-tools>button>.avatar{width:44px;height:44px;border:2px solid white}.reel-caption{position:absolute;left:14px;bottom:28px;width:calc(100% - 90px);z-index:3;padding:12px;background:#080808a8;border-radius:8px}.reel-caption>button{padding:0;min-height:28px;font-size:15px;text-align:left}.reel-caption>p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.7;margin:8px 0 12px;color:#f0f0f0}.reel-caption>small{font-size:10px;line-height:1.5;color:#ccc;display:block}.reel>progress{position:absolute;bottom:0;left:0;width:100%;height:3px;border:0;appearance:none;z-index:5}.reel>progress::-webkit-progress-bar{background:#ffffff40}.reel>progress::-webkit-progress-value{background:#fff}.video-retry{position:absolute;left:50%;top:52%;transform:translateX(-50%);background:white;color:#111;border-radius:999px;min-height:44px;padding:10px 20px;font-size:14px;z-index:6}.reel-pagination{position:absolute;right:12px;top:80px;z-index:4;display:grid;gap:10px}.reel-pagination>button{background:#080808aa;border-radius:50%;width:36px;height:36px;display:grid;place-items:center}.reel-pagination .icon{height:17px;width:17px;transform:rotate(90deg)}.inbox-note,.conversation-note{font-size:12px;line-height:1.8;color:#999;background:#161616;padding:12px 18px}.conversation-note{display:flex;align-items:center;justify-content:center;gap:8px}.conversation-note>.icon{height:13px;width:13px}.inbox-list{padding:14px 20px}.inbox-list>button{display:flex;align-items:center;gap:14px;width:100%;padding:18px 0;text-align:left}.inbox-list>button>span{display:grid;gap:8px;min-width:0;flex:1}.inbox-list strong{font-weight:500;font-size:15px}.inbox-list small{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#929292}.inbox-list>button>.icon{height:16px;width:16px;color:#777}.chat-messages{padding:24px 20px;min-height:calc(100% - 192px);display:flex;flex-direction:column;align-items:end;gap:18px}.chat-intro{width:100%;padding:30px 0;text-align:center;display:grid;justify-items:center}.chat-intro h2{font-size:20px;font-weight:500;margin:20px 0 8px}.chat-intro p{font-size:14px;color:#999;margin:0}.chat-bubble{max-width:85%;min-width:110px}.chat-bubble>p{padding:12px 16px;border-radius:14px 0 14px 14px;background:#e9eccc;color:#25291d;font-size:15px;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap;margin:0}.chat-bubble>span{display:block;text-align:right;font-size:10px;color:#8f8f8f;margin-top:6px}.chat-composer{display:flex;align-items:center;gap:10px;padding:8px 8px 8px 16px;margin:0 16px 20px;border-radius:24px;background:#202020}.chat-composer textarea{width:100%;min-width:0;border:0;padding:0;resize:none;max-height:120px;line-height:1.6;font-size:15px;background:none}.chat-composer button{width:40px;height:40px;display:grid;place-items:center;background:#fff;color:#111;border-radius:50%;flex:none}.search-form{display:flex;align-items:center;gap:10px;margin:12px 20px 20px;padding:5px 8px 5px 14px;background:#1b1b1b;border-radius:999px;min-height:50px}.search-form>.icon{width:18px;height:18px;color:#999}.search-form>input{border:0;background:none;padding:8px 0;flex:1;width:100%;font-size:14px;min-width:0}.search-form>button{font-size:13px;padding:8px;min-height:38px;flex:none}.search-suggestions{padding:14px 22px}.search-suggestions h2{font-size:17px;font-weight:500;margin:12px 0 24px}.search-suggestions>button{padding:10px 18px;min-height:42px;border-radius:999px;background:#202020;margin:0 8px 10px 0;font-size:13px}.search-summary{padding:8px 22px;font-size:13px;color:#999}.search-people{padding:0 20px 20px}.search-people>button{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:14px 0}.search-people>button>span{display:grid;gap:6px}.search-people strong{font-weight:500;font-size:15px}.search-people small{font-size:12px;color:#999}.publish-form,.edit-form{padding:16px 22px 28px}.publish-form>label:not(.file-picker),.edit-form>label{display:block;font-size:14px;margin:26px 0}.publish-form>label>input:not([type=file]),.publish-form>label>textarea,.edit-form input,.edit-form textarea{display:block;width:100%;margin-top:12px;padding:12px 14px;font-size:15px;line-height:1.6;min-height:48px}.file-picker{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:180px;background:#171717;border-radius:12px;padding:24px;cursor:pointer}.file-picker>span{display:flex;gap:20px;color:#bcbcbc}.file-picker>span .icon{width:29px;height:29px}.file-picker>strong{font-weight:500;font-size:17px}.file-picker>small{font-size:12px;color:#999}.file-picker>input{font-size:12px;width:100%;max-width:250px;border:0;background:none;color:#aaa}.file-picker>input::file-selector-button{background:#303030;color:#eee;border:0;border-radius:999px;padding:9px 14px;margin-right:10px;font:inherit;cursor:pointer}.media-preview{margin-top:16px;border-radius:8px;overflow:hidden;background:#161616}.media-preview>:is(img,video){width:100%;max-height:260px;object-fit:contain}.publish-options{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:28px 0}.publish-options>label{font-size:13px;color:#aaa;min-width:0}.publish-options select{display:block;width:100%;padding:12px;margin-top:10px;font-size:14px;min-height:46px}.publish-submit{width:100%;margin-top:8px}.local-disclosure{font-size:12px;line-height:1.8;color:#999;text-align:center;margin:18px 0 0}.inline-error{font-size:13px;color:var(--error);line-height:1.7;margin:12px 0;min-height:1px}.edit-avatar{display:flex;flex-direction:column;align-items:center;gap:16px;margin:14px 0 36px;color:#aaa;font-size:13px}.edit-form>.primary-button{width:100%;margin-top:12px}.app-sheet{margin:auto auto 0;padding:0;width:min(520px,100vw);max-width:none;max-height:min(86dvh,780px);border:0;border-radius:22px 22px 0 0;overflow:auto;background:#191919;color:#f5f5f5;overscroll-behavior:contain}.app-sheet::backdrop{background:#0009}.app-sheet[open]{animation:sheet-in .25s ease-out}.sheet-header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px 12px 22px;gap:16px;min-height:68px;position:sticky;top:0;background:#191919;z-index:2}.sheet-header>h2{font-size:17px;font-weight:500;margin:0}.comment-list{padding:12px 22px;max-height:48dvh;overflow:auto;min-height:180px}.comment-list>article{display:flex;align-items:start;gap:12px;padding:10px 0 16px}.comment-avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#383c30;color:#e5e9cd;font-size:13px;flex:none}.comment-list>article strong{font-size:12px;font-weight:500;color:#aaa}.comment-list>article p{font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0}.comment-empty{color:#999;font-size:14px;line-height:1.8;text-align:center;padding:48px 12px}.comment-form{display:flex;align-items:center;gap:12px;margin:12px 18px max(18px,env(safe-area-inset-bottom));padding:8px 8px 8px 16px;background:#2c2c2c;border-radius:24px}.comment-form>textarea{min-width:0;width:100%;font-size:14px;border:0;background:none;padding:0;resize:none}.comment-form>button{width:40px;height:40px;border-radius:50%;background:white;color:#111;display:grid;place-items:center;flex:none}.subscribe-sheet{padding:8px 28px 32px;text-align:center}.subscribe-sheet>.avatar{margin:auto}.subscribe-sheet>h3{font-size:25px;font-weight:500;letter-spacing:-.04em;margin:24px 0 12px;line-height:1.4}.subscribe-sheet>p:first-of-type{font-size:14px;color:#b5b5b5;line-height:1.8;margin:0 auto;max-width:28ch}.subscription-price{display:flex;justify-content:center;align-items:baseline;gap:10px;margin:28px 0}.subscription-price>strong{font-size:42px;font-weight:400;letter-spacing:-.04em}.subscription-price>span{font-size:12px;color:#aaa}.subscribe-sheet>ul{list-style:none;text-align:left;padding:0;margin:24px 0}.subscribe-sheet>ul>li{display:flex;align-items:center;gap:12px;padding:10px 0;font-size:14px;color:#ccc;line-height:1.6}.subscribe-sheet>ul .icon{color:var(--accent);width:18px;height:18px}.subscribe-sheet>.primary-button{width:100%;margin-top:8px}.share-sheet,.settings-sheet,.about-post{padding:10px 24px 32px;font-size:14px;line-height:1.8}.share-sheet>p{color:#aaa;margin:0 0 24px}.share-sheet>input{width:100%;padding:14px 16px;font-size:13px;margin-bottom:20px;min-height:48px}.share-sheet>.primary-button{width:100%}.settings-sheet>h3{font-size:16px;font-weight:500;margin:28px 0 12px}.settings-sheet p,.about-post p{font-size:13px;color:#aaa;line-height:1.9}.settings-sheet ul{padding-left:16px;font-size:13px;color:#aaa}.settings-sheet>ul a{text-decoration:underline;text-underline-offset:4px}.settings-sheet>a:last-child,.about-post>a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;font-size:14px;margin-top:22px}.notification-empty{padding:36px 24px 64px;text-align:center}.notification-empty>.icon{width:36px;height:36px;color:#999}.notification-empty>h3{font-size:21px;line-height:1.6;font-weight:500;margin:24px 0 16px}.notification-empty>p{font-size:14px;line-height:1.8;color:#aaa;max-width:26ch;margin:auto}.toast{position:fixed;z-index:100;bottom:calc(88px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:max-content;max-width:min(90vw,460px);background:#eee;color:#171717;border-radius:10px;padding:13px 20px;font-size:13px;line-height:1.7;box-shadow:0 4px 24px #0004;pointer-events:none}.noscript-note{padding:32px;font-size:16px;line-height:1.8}.brand-symbol{color:var(--accent)}
@keyframes sheet-in{from{transform:translateY(60px);opacity:.4}to{transform:translateY(0);opacity:1}}
@media(min-width:1000px){.bottom-nav{display:none}.app-frame{height:100dvh}.app-sheet{margin:auto;border-radius:20px;max-height:88dvh}.reels{border-radius:0}.toast{bottom:32px}.reel-caption{bottom:34px}.reel-tools{bottom:44px}}
@media(max-width:1150px){.app-layout{grid-template-columns:170px minmax(0,500px);gap:32px}.discovery-sidebar{display:none}.desktop-sidebar{padding-left:12px}.desktop-nav button{font-size:16px}}
@media(max-width:999px){.app-layout{display:block;max-width:560px;margin:auto}.desktop-sidebar{display:none}.app-frame{border-inline:1px solid #222}.reel-pagination{display:none}.app-sheet{margin:0 auto;position:fixed;inset:auto 0 0}.home-header{padding-top:max(12px,env(safe-area-inset-top))}.topbar{padding-top:max(8px,env(safe-area-inset-top))}.reel-header{padding-top:max(12px,env(safe-area-inset-top))}}
@media(max-width:600px){.app-frame{border:0}.app-layout{max-width:none}.post-media>img{max-height:none}.home-header{padding-inline:16px}.creator-stories{gap:21px}.app-sheet{width:100vw}.profile-head{padding-inline:20px}.profile-grid{gap:2px}.reel-caption>small{font-size:10px}}
@media(max-width:359px){.feed-tabs{gap:24px}.creator-stories{gap:15px;padding-left:16px;padding-right:16px}.story-ring .avatar{height:50px;width:50px}.story-add{height:58px;width:58px}.post-author{padding-inline:12px}.post-author>.follow-button{padding-inline:11px}.post-author strong{font-size:13px}.post-author>.icon-button{width:22px}.reel-tools{right:4px;gap:14px}.reel-caption{left:10px;width:calc(100% - 76px);padding:10px}.reel-caption>p{font-size:12px}.profile-stats{gap:14px}.profile-identity{gap:12px}.profile-identity h2{font-size:21px}.profile-tags>span{font-size:11px}.bottom-nav>button{min-width:48px;padding-inline:5px}.publish-form,.edit-form{padding-inline:18px}.subscribe-sheet{padding-inline:22px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.local-video-cover{min-height:300px;display:grid;place-items:center}.local-video-play{display:flex;flex-direction:column;align-items:center;gap:18px;min-height:120px;font-size:16px}.local-video-play>.icon{height:40px;width:40px}
.reel-header{background:var(--ground);text-shadow:none}.reel-tools{background:#08080845;border-radius:999px;padding:10px 0}.reel-tools>button>.icon{filter:drop-shadow(0 1px 2px #000)}
.tiktok-player{position:absolute;inset:0;width:100%;height:100%;border:0;background:#080808}.reel-caption>a{display:inline-block;font-size:11px;min-height:32px;line-height:32px;text-decoration:underline;text-underline-offset:3px;color:#ddd}.profile-source-note{font-size:12px;line-height:1.8;color:#aaa;margin:16px 0}.reel[data-playing="true"] .reel-tap>.icon{opacity:0}
/* Playback stays inside the app. Only our controls accept input. */
.reel.is-tiktok>.tiktok-player{top:-20px;height:calc(100% + 60px);pointer-events:none}
.reel.is-tiktok>.reel-tap{display:grid;top:64px}
.reel.is-tiktok>.reel-tools{display:grid;background:#121212;width:72px;right:0;bottom:4px;padding:14px 0;gap:18px;border-radius:28px 0 0 28px}
.reel.is-tiktok>progress{display:block}
.reel.is-tiktok>.reel-caption{bottom:22px}
.reel.is-tiktok>.reel-state{top:42%;max-width:80%;line-height:1.8}
.reel-pagination{display:flex!important;top:16px;right:64px;gap:8px;z-index:8}
.reel-pagination>button{background:#292929;width:32px;height:32px}
.reel-header>span:nth-child(2){margin-right:90px}
/* Show a reference still only alongside an explicit playback error. */
.reel-fallback{display:none;position:absolute;top:64px;left:0;width:100%;height:calc(100% - 106px);object-fit:cover;opacity:.22}.reel.video-failed>.reel-fallback{display:block}.reel.video-failed>.tiktok-player{visibility:hidden}

/* Case navigation stays outside the app screens, including short videos. */
.case-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:0 14px;border-bottom:1px solid var(--line);background:#111;flex:none}
.case-exit{display:inline-flex;align-items:center;gap:7px;min-height:44px;font-size:13px;white-space:nowrap;color:#f5f5f5}
.case-exit>svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.case-exit:hover{color:var(--accent)}
.case-toolbar>span{font-size:11px;color:#999;white-space:nowrap}
@media(max-width:359px){.case-toolbar{padding-inline:12px;gap:8px}.case-toolbar>span{font-size:10px}}

.topic-filters button{flex:none;white-space:nowrap}

.case-preview-mode .case-toolbar,.case-preview-mode .desktop-sidebar,.case-preview-mode .discovery-sidebar{display:none}.case-preview-mode .app-layout{display:block;width:100%;max-width:none;margin:0}.case-preview-mode .app-frame{border:0;height:100dvh;width:100%;max-width:none}.case-preview-mode .bottom-nav{display:flex}.case-preview-mode .home-header{padding-top:12px}

.phone-embedded .case-toolbar,.phone-embedded .desktop-sidebar,.phone-embedded .discovery-sidebar{display:none}.phone-embedded .app-layout{display:block;width:100%;max-width:none;margin:0}.phone-embedded .app-frame{border:0;height:100dvh;width:100%;max-width:none}.phone-embedded .bottom-nav{display:flex}

/* Native-width embedded screen: keep the video header and navigation on one line. */
.phone-embedded,.phone-embedded body{min-width:0}
@media(max-width:320px){
 .phone-embedded .reel-header{gap:6px;padding-inline:12px;min-height:58px}
 .phone-embedded .reel-brand{font-size:14px;white-space:nowrap;flex:none}
 .phone-embedded .reel-header>span:nth-child(2){margin-right:0;white-space:nowrap;font-size:16px}
 .phone-embedded .reel-pagination{display:none!important}
 .phone-embedded .bottom-nav>button{min-width:0;flex:1;padding-inline:2px;font-size:10px}
}
