*{box-sizing:border-box}html,body{height:100%}body{margin:0;min-height:100%;color:#f7f4eb;background:#141418;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input{font:inherit}button{cursor:pointer}.phone-shell{position:relative;width:100vw;height:100svh;overflow:hidden;background:#0d0f13}.login-screen{display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#9146ff26,#0000),linear-gradient(225deg,#8df2cf1a,#0000),linear-gradient(180deg,#0f121866,#0f1218fa),url(https://static-cdn.jtvnw.net/ttv-boxart/Just%20Chatting-285x380.jpg) center / cover;animation:bgPulse 20s ease-in-out infinite}@keyframes bgPulse{0%,to{background-position:center center}50%{background-position:center 48%}}.login-panel{width:min(100%,460px);display:grid;gap:18px;padding:24px;border:1px solid rgba(247,244,235,.16);background:#0d0f13db;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.brand-mark,.pulse-logo{width:54px;height:54px;display:grid;place-items:center;border:2px solid #8df2cf;color:#8df2cf;font-weight:900;overflow:hidden;background:#0d0f13}.brand-mark img,.pulse-logo img{width:100%;height:100%;object-fit:contain;display:block}.login-panel h1,.feed-state h1{margin:0;font-size:34px;line-height:1}.login-copy,.auth-error,.empty-copy{margin:0;color:#f7f4ebc2;line-height:1.45}.auth-error{color:#ff8b74}.primary-action{min-height:52px;border:0;color:#111216;background:#8df2cf;font-weight:800}.primary-action.compact{min-height:42px;padding:0 18px}.feed-shell{display:grid;grid-template-rows:auto minmax(0,1fr);background:#0d0f13}.feed-topbar{position:relative;z-index:5;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:8px;padding:calc(10px + env(safe-area-inset-top,0)) 10px 10px;background:#11141a;border-bottom:1px solid rgba(247,244,235,.1)}.feed-topbar button{pointer-events:auto}.profile-button,.round-action,.text-button,.channel,.clip-title-button{border:0}.profile-button{width:38px;height:38px;display:grid;place-items:center;background:#0d0f13b8;color:#f7f4eb;font-weight:800}.profile-button.active{outline:2px solid #8df2cf}.profile-button img{width:100%;height:100%;object-fit:cover}.mode-switch{min-width:0;display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;background:#0d0f13b8;border:1px solid rgba(247,244,235,.16)}.mode-switch button{min-width:0;min-height:34px;border:0;color:#f7f4ebbd;background:transparent;font-weight:800}.auto-scroll-toggle{height:38px;display:inline-grid;grid-template-columns:auto auto;align-items:center;gap:6px;padding:0 10px;border:1px solid rgba(247,244,235,.16);background:#f7f4eb14;color:#f7f4eb;font-size:12px;font-weight:900}.auto-scroll-toggle input{width:16px;height:16px;accent-color:#8df2cf}.mode-switch button.active{color:#111216;background:#f8d66d}.topbar-right{display:flex;align-items:center;gap:10px}.notification-button{position:relative;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border:0;background:#f7f4eb1f;border-radius:50%;font-size:16px;transition:background .2s}.notification-button:hover{background:#f7f4eb33}.notification-button.has-unread{background:#8df2cf33}.notification-badge{position:absolute;top:-2px;right:-2px;min-width:18px;height:18px;padding:0 5px;display:flex;align-items:center;justify-content:center;background:#ff6b6b;color:#fff;font-size:10px;font-weight:900;border-radius:9px}.notifications-panel{position:absolute;top:calc(58px + env(safe-area-inset-top,0));right:10px;z-index:7;width:min(340px,calc(100vw - 20px));max-height:70vh;display:grid;grid-template-rows:auto minmax(0,1fr);color:#f7f4eb;background:#181c23;border:1px solid rgba(247,244,235,.18);box-shadow:0 16px 40px #00000057;overflow:hidden}.notifications-panel header{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border-bottom:1px solid rgba(247,244,235,.12)}.notifications-panel header h2{margin:0;font-size:16px}.notifications-list{overflow-y:auto;max-height:100%}.notification-item{display:flex;gap:12px;width:100%;padding:12px 14px;border:0;border-bottom:1px solid rgba(247,244,235,.08);background:transparent;color:inherit;text-align:left;cursor:pointer;transition:background .2s}.notification-item:hover{background:#f7f4eb0f}.notification-item.unread{background:#8df2cf14}.notification-item img,.notification-item .avatar-fallback{width:40px;height:40px;border-radius:50%;object-fit:cover;flex-shrink:0}.notification-item .avatar-fallback{display:flex;align-items:center;justify-content:center;background:#f7f4eb1f;font-weight:900;font-size:14px}.notification-content{flex:1;min-width:0}.notification-content strong{color:#8df2cf}.notification-content span{color:#f7f4ebcc;font-size:13px}.notification-content p{margin:4px 0}.notification-preview{color:#f7f4eb99;font-size:12px;font-style:italic}.notification-content small{color:#f7f4eb80;font-size:11px}.notifications-list .empty-copy{padding:24px;text-align:center;color:#f7f4eb80}.profile-menu{position:absolute;top:calc(58px + env(safe-area-inset-top,0));left:10px;z-index:7;width:min(260px,calc(100vw - 20px));display:grid;gap:8px;padding:10px;color:#f7f4eb;background:#181c23;border:1px solid rgba(247,244,235,.18);box-shadow:0 16px 40px #00000057}.profile-menu-user{display:grid;gap:2px;padding:4px 4px 8px;border-bottom:1px solid rgba(247,244,235,.12)}.profile-menu-user strong,.profile-menu-user span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu-user span{color:#f7f4ebad;font-size:13px;font-weight:800}.profile-menu button{min-height:40px;border:0;color:#111216;background:#8df2cf;font-weight:900}.profile-menu button:last-child{background:#f8d66d}.copy-toast{position:absolute;top:calc(66px + env(safe-area-inset-top,0));right:12px;z-index:8;max-width:min(260px,calc(100vw - 24px));padding:9px 11px;color:#111216;background:#8df2cf;font-size:13px;font-weight:900;box-shadow:0 12px 32px #00000057}.feed-badge{position:absolute;top:calc(66px + env(safe-area-inset-top,0));left:12px;z-index:4;display:inline-grid;grid-template-columns:auto auto;align-items:center;gap:8px;padding:6px 8px 6px 10px;color:#111216;background:#8df2cf;font-size:12px;font-weight:900}.feed-badge button{min-height:28px;border:0;padding:0 9px;color:#f7f4eb;background:#11141a;font-size:12px;font-weight:900}.liked-overview{position:absolute;top:calc(58px + env(safe-area-inset-top,0));right:0;bottom:0;left:0;z-index:6;display:grid;grid-template-rows:auto minmax(0,1fr);gap:14px;padding:16px;padding-bottom:calc(16px + env(safe-area-inset-bottom,0));color:#f7f4eb;background:#0d0f13;border-top:1px solid rgba(247,244,235,.1)}.liked-overview header{display:flex;align-items:end;justify-content:space-between;gap:12px}.liked-overview header p,.liked-overview header h1{margin:0}.liked-overview header p{color:#8df2cf;font-size:12px;font-weight:900;text-transform:uppercase}.liked-overview header h1{font-size:28px;line-height:1}.liked-grid{min-height:0;overflow-y:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));align-content:start;gap:10px;scrollbar-width:none}.liked-grid::-webkit-scrollbar{display:none}.liked-tile{position:relative;min-width:0;aspect-ratio:9 / 16;overflow:hidden;border:1px solid rgba(247,244,235,.12);padding:0;color:#f7f4eb;background:#181c23;text-align:left}.liked-tile img,.liked-placeholder{width:100%;height:100%}.liked-tile img{display:block;object-fit:cover}.liked-placeholder{display:grid;place-items:center;color:#8df2cf;font-size:28px;font-weight:900;background:#0d0f13}.liked-placeholder img{width:56%;height:56%;object-fit:contain}.liked-tile-meta{position:absolute;right:0;bottom:0;left:0;display:grid;gap:3px;padding:28px 8px 8px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.84))}.liked-tile-meta strong,.liked-tile-meta span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.liked-tile-meta strong{color:#8df2cf;font-size:12px}.liked-tile-meta span{font-size:12px;font-weight:800}.liked-state,.liked-empty{margin:0;display:grid;place-items:center;min-height:220px;color:#f7f4ebb8;font-weight:800}.channel-overview{gap:12px}.channel-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.channel-search input{min-width:0;height:42px;border:1px solid rgba(247,244,235,.16);padding:0 12px;color:#f7f4eb;background:#f7f4eb14}.channel-search button{min-width:84px;border:0;color:#111216;background:#8df2cf;font-weight:900}.channel-lists{min-height:0;overflow-y:auto;display:grid;align-content:start;gap:16px;scrollbar-width:none}.channel-lists::-webkit-scrollbar{display:none}.channel-section{display:grid;gap:9px}.channel-section h2{margin:0;color:#f7f4ebc7;font-size:13px;text-transform:uppercase}.channel-list{display:grid;gap:8px}.channel-row{min-width:0;min-height:58px;display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:10px;border:1px solid rgba(247,244,235,.12);padding:7px 9px;color:#f7f4eb;background:#181c23;text-align:left}.channel-row img,.channel-row .avatar-fallback{width:44px;height:44px}.channel-row img{object-fit:cover}.channel-row span{min-width:0;display:grid;gap:3px}.channel-row strong,.channel-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.channel-row strong{color:#8df2cf}.channel-row small{color:#f7f4ebad;font-weight:800}.feed-error{position:absolute;top:calc(60px + env(safe-area-inset-top,0));left:14px;right:14px;z-index:6;padding:10px 12px;color:#111216;background:#ff8b74;font-weight:800}.feed-scroller{height:100%;min-height:0;overflow-y:auto;scroll-snap-type:y mandatory;scrollbar-width:none}.feed-scroller::-webkit-scrollbar{display:none}.clip-snap,.feed-state{height:100%;scroll-snap-align:start;scroll-snap-stop:always}.feed-state{display:grid;place-items:center;align-content:center;gap:18px;padding:24px;text-align:center}.pulse-logo{animation:pulse 1.1s ease-in-out infinite}@keyframes pulse{50%{transform:scale(1.06);border-color:#ff8b74;color:#ff8b74}}.clip-card{position:relative;height:100%;overflow:hidden;display:grid;grid-template-rows:minmax(0,1fr) auto;background:#090a0d}.clip-media{position:relative;min-height:0;background:#050608}.clip-media,.clip-media iframe,.clip-media video,.clip-media img{width:100%;height:100%}.clip-media iframe,.clip-media video{display:block;border:0}.clip-media video{object-fit:contain;background:#000}.clip-media img{display:block;object-fit:cover}.clip-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:end;padding:14px 16px calc(14px + env(safe-area-inset-bottom,0));background:#11141a;border-top:1px solid rgba(247,244,235,.1)}.clip-meta{display:grid;gap:7px;min-width:0}.clip-meta p,.clip-title-button{margin:0}.channel,.clip-title-button{min-width:0;padding:0;color:inherit;background:transparent;text-align:left;justify-self:start;width:max-content;max-width:100%}.clip-title-button{display:-webkit-box;overflow:hidden;font-size:18px;line-height:1.18;-webkit-line-clamp:3;-webkit-box-orient:vertical;font-weight:900}.channel{color:#8df2cf;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.details{color:#f7f4ebcc;font-size:13px}.clip-actions{display:grid;grid-template-columns:auto;justify-items:center;align-items:center;gap:6px 8px}.round-action{width:50px;height:50px;display:grid;place-items:center;border-radius:50%;color:#111216;background:#f8d66d;font-weight:900}.round-action.active{background:#ff8b74}.clip-actions small{color:#f7f4eb;font-weight:800}.sheet-backdrop{position:absolute;inset:0;z-index:10;border:0;background:#0000006b}.comment-sheet{position:absolute;left:0;right:0;bottom:0;z-index:11;max-height:min(72%,640px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;padding:16px;padding-bottom:calc(16px + env(safe-area-inset-bottom,0));color:#111216;background:#f7f4eb;border-top:5px solid #8df2cf}.comment-sheet header{display:flex;align-items:start;justify-content:space-between;gap:12px}.comment-sheet header p,.comment-sheet header h2{margin:0}.comment-sheet header p{color:#6f6352;font-weight:800}.comment-sheet header h2{font-size:22px}.text-button{min-height:36px;padding:0 10px;color:#111216;background:#f8d66d;font-weight:800}.comment-list{min-height:0;overflow-y:auto;display:grid;align-content:start;gap:12px}.comment{display:grid;grid-template-columns:36px 1fr;gap:10px;align-items:start}.comment.reply{margin-left:30px;padding-left:10px;border-left:3px solid #d8cfbe}.comment img,.avatar-fallback{width:36px;height:36px}.comment img{object-fit:cover}.avatar-fallback{display:grid;place-items:center;color:#f7f4eb;background:#252a34;font-size:12px;font-weight:900}.comment strong,.comment p{margin:0}.comment-actions{margin-top:7px;display:flex;flex-wrap:wrap;gap:6px}.comment-actions button,.reply-bar button{min-height:30px;border:0;padding:0 9px;color:#111216;background:#e5dccb;font-size:12px;font-weight:900}.comment-actions button.active{background:#ff8b74}.reply-bar{min-height:38px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 10px;background:#fff8e6;border:1px solid #d8cfbe;font-size:13px;font-weight:800}.comment p{margin-top:2px;line-height:1.35;overflow-wrap:anywhere}.comment-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.comment-form input{min-width:0;height:44px;border:2px solid #d8cfbe;padding:0 12px;color:#111216;background:#fffdf7}.comment-form button{min-width:78px;height:44px;border:0;color:#111216;background:#8df2cf;font-weight:900}.comment-form button:disabled,.comment-form input:disabled{opacity:.48;cursor:not-allowed}.feed-loading-more{height:100%;scroll-snap-align:start;scroll-snap-stop:always;display:grid;place-items:center;background:#0d0f13}.end-of-feed{height:100%;scroll-snap-align:start;scroll-snap-stop:always;display:grid;place-items:center;align-content:center;gap:16px;padding:24px;text-align:center;background:linear-gradient(180deg,#0d0f13,#141820)}.end-of-feed-icon{font-size:48px;animation:bounce 1.5s ease-in-out infinite}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.end-of-feed h2{margin:0;font-size:24px;color:#f7f4eb}.end-of-feed p{margin:0;color:#f7f4eb99;font-size:14px}.end-of-feed-bar{position:fixed;bottom:0;left:0;right:0;z-index:8;display:flex;justify-content:center;align-items:center;gap:8px;min-height:52px;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0));background:linear-gradient(180deg,#0d0f1300,#0d0f13f2 30%);transform:translateY(100%);transition:transform .3s ease-out}.end-of-feed-bar.visible{transform:translateY(0)}.end-of-feed-bar span{color:#f7f4ebcc;font-weight:800;font-size:13px}.share-action{width:50px;height:50px;display:grid;place-items:center;border:0;border-radius:50%;color:#111216;background:#8df2cf;font-size:20px;cursor:pointer;transition:transform .2s,background .2s}.share-action:hover{background:#6fd9b4;transform:scale(1.05)}.share-action:active{transform:scale(.95)}.auto-countdown{position:absolute;bottom:20%;left:50%;transform:translate(-50%);z-index:5;display:flex;align-items:center;gap:8px;padding:10px 16px;background:#000c;border-radius:24px;color:#f7f4eb;font-weight:800;font-size:14px;animation:fadeIn .3s ease-out}@keyframes fadeIn{0%{opacity:0;transform:translate(-50%) translateY(10px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.countdown-ring{width:24px;height:24px;border:3px solid rgba(141,242,207,.3);border-top-color:#8df2cf;border-radius:50%;animation:spin 2s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
