:root{--bg:#07080d;--surface:#111522;--surface-2:#171c2d;--text:#f8fafc;--muted:#94a3b8;--border:#232a3e;--accent:#8b5cf6;--pink:#ff2e63;--cyan:#38bdf8}
body{font-size:14px;background:radial-gradient(circle at 50% -10%,rgba(139,92,246,.12),transparent 45%),var(--bg);color:var(--text)}
.app-header{height:77px;position:fixed;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:0 29px;border-bottom:1px solid rgba(255,255,255,.075);background:rgba(7,8,13,.84);backdrop-filter:blur(22px) saturate(180%);z-index:30;gap:22px}
.logo{display:flex;align-items:center;gap:10px;font-size:25px;font-weight:900;letter-spacing:-1.1px;color:#fff}
.logo img{width:38px;height:38px;border-radius:12px;box-shadow:0 4px 16px rgba(139,92,246,.32);border:1px solid rgba(255,255,255,.15)}
.logo>span{font-size:8.5px;font-weight:800;color:#c4b5fd;letter-spacing:1.2px;background:rgba(139,92,246,.16);border:1px solid rgba(139,92,246,.35);padding:3px 6px;border-radius:6px;align-self:center;margin-left:3px}
#search-form{width:min(430px,36vw);display:flex;border-radius:999px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.09);overflow:hidden;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}
#search-form:focus-within{background:rgba(17,21,34,.95);border-color:rgba(139,92,246,.6);box-shadow:0 0 0 3px rgba(139,92,246,.16)}
#search-form input{border:0;background:none;border-radius:0;padding:12px 19px;font-size:12.5px;color:#fff;box-shadow:none}
#search-form input::placeholder{color:#7c859e}
#search-form button{border:0;background:none;color:#94a3b8;padding:0 16px;border-left:1px solid rgba(255,255,255,.07)}
#search-form button:hover{color:#fff;background:rgba(255,255,255,.05)}
#header-actions{display:flex;gap:12px;align-items:center}
#header-actions .avatar{width:35px;height:35px}
#header-actions .btn{font-size:12.5px;min-height:38px;border-radius:999px;padding:8px 16px}
.sidebar{position:fixed;inset:77px auto 0 0;width:220px;padding:22px 16px;overflow-y:auto;border-right:1px solid rgba(255,255,255,.07);z-index:15;background:rgba(7,8,13,.92);backdrop-filter:blur(16px)}
.sidebar nav{display:grid;gap:5px}
.sidebar nav a{padding:12px 15px;display:flex;align-items:center;gap:14px;font-size:14px;font-weight:650;border-radius:13px;color:#94a3b8;position:relative;transition:background .16s ease,color .16s ease}
.sidebar nav a.active{color:#fff;font-weight:800;background:linear-gradient(90deg,rgba(139,92,246,.22),rgba(236,72,153,.08));border:1px solid rgba(139,92,246,.28);box-shadow:0 6px 20px -6px rgba(139,92,246,.35)}
.sidebar nav a.active svg{color:#a78bfa}
.sidebar nav a:hover:not(.active){background:rgba(255,255,255,.045);color:#e2e8f0}
.sidebar nav svg{width:21px;height:21px}
.nav-dot{width:8px;height:8px;border-radius:50%;background:var(--pink);margin-left:auto;box-shadow:0 0 10px var(--pink)}
.sidebar-footer{border-top:1px solid rgba(255,255,255,.07);margin:24px 8px;padding-top:18px;display:flex;flex-wrap:wrap;gap:8px 12px;font-size:10.5px;color:#64748b;line-height:1.65}
.sidebar-footer a:hover{color:#cbd5e1}
.sidebar-footer p{font-size:10.5px;width:100%;line-height:1.75;margin-top:12px;color:#475569}
#sidebar-account{margin:24px 8px 0;border-top:1px solid rgba(255,255,255,.07);padding-top:18px}
#sidebar-account p{font-size:12px;line-height:1.7;color:#94a3b8}
#sidebar-account .btn{width:100%;border-radius:12px}
#content{margin:77px 292px 0 220px;padding:0 28px;min-height:calc(100dvh - 77px)}
.discovery-aside{position:fixed;inset:77px 0 0 auto;width:292px;padding:30px 24px;overflow:auto;border-left:1px solid rgba(255,255,255,.06);background:rgba(7,8,13,.6)}
.aside-title{display:flex;justify-content:space-between;letter-spacing:.15em;font-size:10px;font-weight:800;color:#64748b;margin-bottom:18px}
.trend{display:flex;gap:12px;margin:12px 0;padding:8px 10px;border-radius:12px;align-items:center;transition:background .16s ease}
.trend:hover{background:rgba(255,255,255,.045)}
.trend .hash{width:34px;height:34px;background:rgba(139,92,246,.12);border:1px solid rgba(139,92,246,.28);border-radius:10px;display:grid;place-items:center;color:#a78bfa;font-weight:800;flex-shrink:0}
.trend strong{font-size:12.5px;font-weight:750;display:block;color:#f1f5f9}
.trend small{display:block;font-size:10.5px;color:#64748b;margin-top:3px}
.download-note{margin-top:28px;border:1px solid rgba(139,92,246,.32);border-radius:20px;background:radial-gradient(120% 120% at 100% 0%,rgba(255,46,99,.22) 0%,rgba(139,92,246,.24) 48%,rgba(17,21,34,.96) 100%);padding:22px 18px;box-shadow:0 18px 40px -12px rgba(0,0,0,.5)}
.download-note>img{width:40px;border-radius:12px;box-shadow:0 4px 12px rgba(0,0,0,.3)}
.download-note h3{font-size:16.5px;font-weight:800;letter-spacing:-.4px;margin:12px 0 6px;color:#fff}
.download-note p{font-size:11.5px;line-height:1.65;color:#cbd5e1;margin:0 0 12px}
.download-note a{font-size:12px;font-weight:800;background:linear-gradient(135deg,#8b5cf6,#ec4899);color:#fff;border:0;width:100%;margin-top:6px;border-radius:11px}
.aside-bottom{font-size:10.5px;line-height:1.75;color:#64748b;margin:22px 5px}
.feed-header{display:flex;align-items:center;justify-content:space-between;gap:15px;height:66px;max-width:650px;margin:auto}
.feed-tabs{display:flex;gap:8px;align-items:center;background:rgba(255,255,255,.04);padding:4px;border-radius:999px;border:1px solid rgba(255,255,255,.07)}
.feed-tabs a{font-size:12.5px;font-weight:700;color:#94a3b8;padding:7px 16px;border-radius:999px;border-bottom:0;transition:all .16s ease}
.feed-tabs a.active{background:rgba(139,92,246,.24);color:#fff;box-shadow:0 2px 10px rgba(139,92,246,.25)}
.feed-header button{font-size:11.5px;font-weight:700;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:999px;padding:7px 13px;color:#cbd5e1;display:flex;align-items:center;gap:6px}
.feed-header button:hover{background:rgba(255,255,255,.08);color:#fff}
.feed-header button svg{width:14px}
.feed-scroll{height:calc(100dvh - 143px);overflow-y:auto;scroll-snap-type:y mandatory;scrollbar-width:thin;scrollbar-color:#262f45 transparent;overscroll-behavior:contain}
.post{min-height:calc(100dvh - 143px);height:calc(100dvh - 143px);scroll-snap-align:start;display:grid;grid-template-columns:minmax(0,1fr) 64px;gap:16px;align-items:center;justify-content:center;max-width:650px;margin:auto;padding:12px 0 25px}
.video-stage{position:relative;height:100%;max-height:840px;width:100%;overflow:hidden;border-radius:20px;background:#040508;border:1px solid rgba(255,255,255,.085);box-shadow:0 24px 60px rgba(0,0,0,.65);isolation:isolate;display:flex;align-items:center;justify-content:center}
.video-stage video,.video-stage .post-image{width:100%;height:100%;object-fit:contain}
.video-stage:after{content:'';position:absolute;inset:45% 0 0;z-index:-1;background:linear-gradient(transparent,rgba(0,0,0,.78))}
.video-overlay{position:absolute;inset:auto 0 42px;padding:56px 22px 16px;background:linear-gradient(transparent,rgba(3,4,8,.84));pointer-events:none}
.video-overlay>*{pointer-events:auto}
.author-line{display:flex;gap:8px;align-items:center;margin:8px 0;font-size:15px;font-weight:800;letter-spacing:-.02em;text-shadow:0 2px 8px rgba(0,0,0,.6)}
.author-line>a{overflow:hidden;text-overflow:ellipsis}
.author-line .official{font-size:9.5px;font-weight:700;color:#c4b5fd;background:rgba(139,92,246,.22);border:1px solid rgba(139,92,246,.4);padding:2px 7px;border-radius:999px}
.caption{font-size:13px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;max-height:100px;overflow:auto;margin:7px 0;color:#f1f5f9;text-shadow:0 1px 4px rgba(0,0,0,.65)}
.caption a{color:#c4b5fd;font-weight:700}
.sound-link{display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(255,255,255,.14);background:rgba(0,0,0,.42);backdrop-filter:blur(8px);border-radius:999px;font-size:11px;font-weight:600;padding:5px 11px;color:#e2e8f0;margin-top:4px}
.sound-link svg{width:13px;color:var(--cyan)}
.player-controls{position:absolute;bottom:8px;left:12px;right:12px;display:flex;gap:9px;align-items:center;z-index:2;background:rgba(5,6,11,.52);backdrop-filter:blur(8px);padding:4px 8px;border-radius:10px}
.player-controls button{border:0;background:rgba(255,255,255,.1);color:#fff;font-size:11px;border-radius:6px;width:28px;height:26px}
.player-controls input{flex:1;min-width:20px;height:4px;cursor:pointer}
.player-time{font-size:9.5px;font-weight:600;font-variant-numeric:tabular-nums;color:#cbd5e1;width:65px;text-align:right}
.post-actions{display:flex;flex-direction:column;gap:18px;align-items:center;padding-top:60px}
.post-actions button{display:flex;flex-direction:column;align-items:center;gap:6px;background:none;border:0;color:#e2e8f0;font-size:11px;font-weight:700;padding:0}
.post-actions button .circle{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:rgba(23,28,45,.85);border:1px solid rgba(255,255,255,.09);box-shadow:0 8px 20px rgba(0,0,0,.35);transition:transform .16s ease,background .16s ease,border-color .16s ease}
.post-actions button:hover .circle{background:rgba(139,92,246,.22);border-color:rgba(139,92,246,.45);transform:translateY(-2px)}
.post-actions button svg{width:22px;height:22px}
.post-actions button.active{color:var(--pink)}
.post-actions button.active .circle{background:rgba(255,46,99,.16);border-color:rgba(255,46,99,.45);box-shadow:0 8px 22px rgba(255,46,99,.28)}
.post-actions button.active svg{fill:currentColor}
.follow-bubble{position:relative;margin-bottom:6px}
.follow-bubble .avatar{width:46px;height:46px;border:2px solid #8b5cf6;box-shadow:0 6px 18px rgba(0,0,0,.4)}
.follow-bubble .plus{position:absolute;bottom:-8px;left:13px;border-radius:50%;background:linear-gradient(135deg,#8b5cf6,#ff2e63);color:#fff;width:20px;height:20px;display:grid;place-items:center;font-size:14px;font-weight:800;border:2px solid var(--bg)}
.section-top{padding:36px 0 24px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.section-top h1{font-size:28px;font-weight:850;letter-spacing:-.04em;margin:0 0 8px}
.section-top p{margin:0;font-size:13px}
.tabs{display:flex;gap:24px;border-bottom:1px solid var(--border);margin-bottom:24px;overflow:auto}
.tabs button,.tabs a{white-space:nowrap;border:0;background:none;color:var(--muted);font-size:13px;font-weight:700;padding:14px 2px;border-bottom:2.5px solid transparent;transition:color .16s ease,border-color .16s ease}
.tabs .active{color:#fff;border-color:var(--accent)}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding-bottom:30px}
.grid-card{min-width:0}
.grid-cover{position:relative;aspect-ratio:3/4;border-radius:14px;overflow:hidden;background:var(--surface);border:1px solid rgba(255,255,255,.07);box-shadow:0 10px 26px rgba(0,0,0,.28)}
.grid-cover img{width:100%;height:100%;object-fit:cover;transition:transform .28s cubic-bezier(.16,1,.3,1)}
.grid-card:hover img{transform:scale(1.04)}
.grid-cover .views{position:absolute;bottom:10px;left:10px;font-size:11.5px;font-weight:700;text-shadow:0 2px 6px #000;background:rgba(0,0,0,.45);backdrop-filter:blur(6px);padding:3px 8px;border-radius:999px}
.grid-card p{font-size:12.5px;line-height:1.55;max-height:39px;overflow:hidden;margin:10px 0 7px;overflow-wrap:anywhere;color:#e2e8f0}
.grid-card .grid-author{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;font-weight:600}
.grid-card .avatar{width:20px;height:20px;font-size:10px}
.load-more{display:block;margin:10px auto 35px}
.user-list{display:grid;gap:8px;padding-bottom:30px}
.user-row{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}
.user-row .user-info{flex:1;min-width:0}
.user-row strong{font-size:13.5px}
.user-row p{font-size:11.5px;color:var(--muted);margin:4px 0 0}
.user-row .btn{font-size:11.5px;min-height:34px}
.profile-hero{padding:36px 0 22px}
.profile-top{display:flex;align-items:center;gap:26px}
.profile-top>.avatar{width:96px;height:96px;font-size:35px;border:2.5px solid var(--accent);box-shadow:0 12px 32px rgba(139,92,246,.28)}
.profile-top h1{font-size:27px;font-weight:850;letter-spacing:-.03em;margin:0 0 5px}
.profile-top h2{font-size:14px;color:var(--muted);margin:0 0 14px;font-weight:600}
.profile-top .buttons{display:flex;gap:10px;flex-wrap:wrap}
.profile-top .buttons .btn{min-height:36px;font-size:12.5px}
.profile-stats{display:inline-flex;gap:26px;margin:22px 0;padding:14px 22px;background:var(--surface);border:1px solid var(--border);border-radius:16px;max-width:100%;flex-wrap:wrap}
.profile-stats button{background:none;border:0;font-size:12.5px;color:var(--muted);padding:0;font-weight:600}
.profile-stats strong{color:#fff;font-size:15px;font-weight:800;margin-right:5px}
.profile-bio{font-size:13px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;color:#e2e8f0}
.profile-share{font-size:11px;color:#a78bfa}
.comments-dialog{position:fixed;inset:77px 0 0 auto;margin:0;height:calc(100dvh - 77px);max-height:none;max-width:420px;width:35vw;border-radius:0;border:0;border-left:1px solid var(--border);background:rgba(17,21,34,.96);backdrop-filter:blur(24px);z-index:40;display:none;flex-direction:column;box-shadow:-20px 0 60px rgba(0,0,0,.55)}
.comments-dialog.open{display:flex}
body.comments-open #content{margin-right:420px}
body.comments-open .discovery-aside{visibility:hidden}
.comments-head{padding:20px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}
.comments-head h2{font-size:16px;font-weight:800;margin:0}
.comments-list{flex:1;overflow:auto;padding:0 20px}
.comment-row{display:flex;gap:11px;padding:16px 0;border-bottom:1px solid rgba(255,255,255,.06)}
.comment-row.reply{padding-left:26px}
.comment-row .avatar{width:32px;height:32px;font-size:12px}
.comment-content{min-width:0;flex:1}
.comment-content strong{font-size:12px}
.comment-content p{font-size:12.5px;line-height:1.65;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere;color:#e2e8f0}
.comment-content .reply-name{color:var(--cyan);font-size:10.5px;font-weight:600;margin:0}
.comment-meta{display:flex;gap:12px;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:10px}
.comment-meta button{background:none;border:0;padding:0;color:#cbd5e1;font-size:10.5px;font-weight:700}
.comment-love{border:0;background:none;font-size:10.5px;display:flex;align-items:center;flex-direction:column;gap:4px;padding:3px;color:var(--muted)}
.comment-love svg{width:18px;height:18px}
.comment-love.active{color:var(--pink)}
.comment-love.active svg{fill:currentColor}
.creator-love{display:inline-block;color:var(--pink);font-size:10px;font-weight:700;margin-top:6px}
.comment-form{padding:14px 20px 18px;border-top:1px solid var(--border);background:rgba(11,13,20,.6)}
.comment-form form{display:flex;gap:8px}
.comment-form input{font-size:12.5px;background:var(--surface-2);border-radius:999px;padding:10px 16px}
.comment-form .btn{font-size:12.5px;border-radius:999px}
.reply-banner{font-size:11px;color:#c4b5fd;margin-bottom:9px;display:flex;justify-content:space-between;gap:10px}
.reply-banner button{background:none;border:0;color:#c4b5fd;font-weight:700}
.detail-view{display:grid;grid-template-columns:minmax(0,1fr);height:calc(100dvh - 77px)}
.detail-view .post{height:100%;min-height:0;width:100%;padding-top:22px}
.chat-layout{display:grid;grid-template-columns:270px minmax(0,1fr);border:1px solid var(--border);background:var(--surface);border-radius:18px;min-height:580px;height:calc(100dvh - 205px);overflow:hidden;margin-bottom:25px;box-shadow:0 16px 40px rgba(0,0,0,.35)}
.chat-peers{border-right:1px solid var(--border);overflow:auto;padding:12px}
.chat-peers button{display:flex;text-align:left;gap:10px;border:0;background:none;width:100%;padding:12px 10px;border-radius:12px}
.chat-peers button:hover,.chat-peers button.active{background:var(--surface-2)}
.chat-peers .avatar{width:34px;height:34px;font-size:13px}
.chat-peers strong{font-size:12px}
.chat-peers p{font-size:11px;color:var(--muted);margin:4px 0;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-peers small{font-size:9px;color:#64748b}
.chat-body{display:flex;flex-direction:column;min-height:0;min-width:0}
.chat-head{padding:15px 18px;border-bottom:1px solid var(--border);font-size:13.5px;font-weight:700;display:flex;align-items:center;gap:10px}
.chat-head .avatar{width:30px;height:30px}
.messages{overflow:auto;flex:1;padding:20px;display:flex;flex-direction:column;gap:14px}
.message{align-self:flex-start;max-width:85%}
.message.mine{align-self:flex-end}
.message p{font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;padding:11px 15px;border-radius:16px 16px 16px 4px;background:var(--surface-2);border:1px solid var(--border);margin:0}
.message.mine p{background:linear-gradient(135deg,#6d28d9,#8b5cf6);border:0;color:#fff;border-radius:16px 16px 4px 16px}
.message small{display:block;color:#64748b;font-size:9.5px;margin:5px}
.message-form{padding:14px 16px;border-top:1px solid var(--border);display:flex;gap:9px}
.request-box{padding:14px 18px;font-size:12px;color:#cbd5e1;background:rgba(139,92,246,.1);border-bottom:1px solid var(--border);line-height:1.65}
.request-box .buttons{display:flex;gap:8px;margin-top:9px}
.activity-list{display:grid;gap:8px}
.activity{display:flex;gap:14px;align-items:center;padding:16px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}
.activity .activity-content{flex:1;border:0;background:none;text-align:left;padding:0}
.activity p{font-size:13px;line-height:1.6;margin:0}
.activity small{color:var(--muted);font-size:10.5px}
.unread{width:8px;height:8px;background:var(--pink);border-radius:50%;box-shadow:0 0 8px var(--pink)}
.settings-panel{padding:22px;border:1px solid var(--border);background:var(--surface);border-radius:18px;margin-bottom:18px;max-width:650px;box-shadow:0 10px 28px rgba(0,0,0,.22)}
.settings-panel h2{font-size:17.5px;font-weight:800;margin-top:0}
.settings-panel p{font-size:12.5px;line-height:1.75}
.switch-row{display:flex;justify-content:space-between;align-items:center;font-size:13.5px;font-weight:600}
.upload-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:25px;padding-bottom:40px}
.upload-preview{min-height:350px;border:1.5px dashed rgba(139,92,246,.45);border-radius:20px;display:grid;place-items:center;padding:24px;text-align:center;background:radial-gradient(circle at top,rgba(139,92,246,.16),var(--surface) 75%)}
.upload-preview>div>svg{width:42px;height:42px;color:#a78bfa}
.upload-preview video,.upload-preview img{max-width:100%;max-height:430px;border-radius:12px}
.upload-preview p{font-size:12px;color:var(--muted);line-height:1.75}
.upload-preview input{font-size:11px;max-width:100%}
.upload-note{font-size:11.5px;line-height:1.75;color:var(--muted)}
.sound-banner{display:flex;align-items:center;gap:20px;border:1px solid var(--border);background:var(--surface);border-radius:18px;padding:22px;margin-bottom:25px}
.sound-banner>svg{width:50px;height:50px;color:#a78bfa}
.sound-banner h2{font-size:19px;font-weight:800;margin:0 0 6px}
.sound-banner p{font-size:12px;color:var(--muted);margin:0}
.sound-banner .btn{margin-left:auto;font-size:12px}
.share-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.share-grid button,.share-grid a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:78px;border:1px solid var(--border);background:var(--surface-2);border-radius:14px;font-size:11.5px;font-weight:600}
.share-grid button:hover,.share-grid a:hover{border-color:rgba(139,92,246,.45);background:rgba(139,92,246,.12)}
.copy-link{display:flex;gap:9px;margin-top:17px}
.copy-link input{font-size:11.5px}
.warning-card{border:1px solid rgba(244,63,94,.35);border-radius:16px;padding:20px;margin:15px 0;background:rgba(244,63,94,.08)}
.warning-card p{white-space:pre-wrap;font-size:13px;line-height:1.7}
.warning-card small{color:#fda4af;font-size:10.5px}
.modal .text-btn{display:block}
.comment-read-more{display:block;margin:20px auto}
.search-sort{width:auto;max-width:165px;font-size:11.5px}
.fresh-label{color:#a78bfa;font-size:10.5px;font-weight:600}
.account-mini{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:700}
.account-mini span small{display:block;color:var(--muted);font-size:10.5px;font-weight:500;margin-top:3px}
.account-mini .avatar{width:34px;height:34px}
@media(min-width:1500px){.discovery-aside{width:330px;padding:36px 28px}#content{margin-right:330px}.sidebar{width:250px;padding:28px 20px}#content{margin-left:250px}.app-header{padding:0 38px}.post{grid-template-columns:minmax(0,420px) 64px}}
@media(max-width:1150px){.discovery-aside{display:none}#content{margin-right:0}.sidebar{width:190px}#content{margin-left:190px}.post{max-width:600px}.grid{grid-template-columns:repeat(3,1fr)}body.comments-open #content{margin-right:370px}.comments-dialog{width:370px}.chat-layout{grid-template-columns:220px 1fr}.upload-layout{grid-template-columns:1fr}}
@media(max-width:800px){.sidebar{width:76px;padding:22px 12px}.sidebar nav a{justify-content:center;padding:14px 0}.sidebar nav a .nav-text,#sidebar-account,.sidebar-footer{display:none}.nav-dot{position:absolute;margin:0 0 17px 22px;width:6px;height:6px}#content{margin-left:76px;padding:0 18px}.app-header{padding:0 17px;gap:12px}.logo{font-size:22px}.logo img{width:32px;height:32px}.logo>span{display:none}#header-actions .btn{padding:8px 11px;font-size:10.5px}#header-actions{gap:8px}.app-header #search-form{max-width:290px;flex:1;width:auto}#search-form input{font-size:11.5px;padding:11px 13px}.chat-layout{grid-template-columns:175px 1fr}.chat-peers p{max-width:90px}.grid{grid-template-columns:repeat(2,1fr)}body.comments-open #content{margin-right:0}.comments-dialog{width:390px;max-width:85vw;box-shadow:-20px 0 100px rgba(0,0,0,.7)}}
@media(max-width:540px){.app-header{height:62px;padding:0 12px}.logo{font-size:20px}.logo img{width:29px;height:29px}#search-form{max-width:40px!important;flex:none!important;background:none;border:0;border-radius:0}#search-form input{display:none}#search-form button{border:0;padding:5px}.app-header.search-open #search-form{position:absolute;left:10px;right:10px;max-width:none!important;width:auto;background:var(--surface);border:1px solid var(--border);border-radius:24px}.app-header.search-open #search-form input{display:block}.app-header.search-open #search-form button{padding:10px}.sidebar{inset:auto 0 0;height:63px;width:100%;padding:0;border:0;border-top:1px solid var(--border);background:rgba(7,8,13,.95)}.sidebar nav{display:flex;justify-content:space-around;height:100%;gap:0}.sidebar nav a{padding:10px;width:20%;border-radius:0;border:0;box-shadow:none}.sidebar nav a svg{width:23px;height:23px}.sidebar nav a[data-nav="saved"],.sidebar nav a[data-nav="settings"]{display:none}.sidebar nav a.active{background:none;color:#a78bfa}#content{margin:62px 0 63px;padding:0 12px;min-height:calc(100dvh - 125px)}.feed-header{height:45px;padding:0 6px}.feed-tabs{padding:2px}.feed-tabs a{padding:6px 12px;font-size:11px}.feed-header button{font-size:10px;padding:5px 10px}.feed-scroll{height:calc(100dvh - 170px);margin:0 -12px;scrollbar-width:none}.post{height:calc(100dvh - 170px);min-height:calc(100dvh - 170px);padding:0;position:relative;display:block}.video-stage{border-radius:0;max-height:none;border:0}.video-overlay{padding:50px 78px 10px 17px;bottom:38px}.post-actions{position:absolute;right:12px;bottom:80px;gap:18px;padding:0}.post-actions button .circle{width:42px;height:42px;background:rgba(15,18,30,.62)}.post-actions button{color:#fff}.post-actions button svg{width:24px;height:24px;filter:drop-shadow(0 2px 3px rgba(0,0,0,.5))}.post-actions button.active{color:var(--pink)}.follow-bubble .avatar{width:40px;height:40px}.follow-bubble .plus{left:10px}.post-actions .more-action{display:none}.player-controls{left:14px;right:14px}.player-time{width:55px}.section-top{padding:26px 4px 18px}.section-top h1{font-size:23px}.profile-top{gap:16px}.profile-top>.avatar{width:74px;height:74px;font-size:28px}.profile-top h1{font-size:22px}.profile-top h2{font-size:12px}.profile-stats{gap:18px;padding:12px 16px}.profile-stats button{font-size:11px}.profile-hero{padding:26px 4px 18px}.grid{gap:10px}.grid-cover{border-radius:10px}.comments-dialog{inset:auto 0 63px;max-width:none;width:100%;height:52dvh;border-radius:20px 20px 0 0;max-height:65dvh}.comments-head{padding:14px 20px}.comments-list{padding:0 16px}.comment-row{padding:13px 0}.comment-form{padding:12px 15px 15px}body.comments-open .post{padding-bottom:52dvh;height:calc(100dvh - 170px)}body.comments-open .detail-view .post{padding-bottom:52dvh;height:calc(100dvh - 125px)}.detail-view{height:calc(100dvh - 125px);margin:0 -12px}.detail-view .post{padding-top:0}.chat-layout{grid-template-columns:1fr;height:calc(100dvh - 250px);min-height:400px}.chat-layout.has-chat .chat-peers{display:none}.chat-layout:not(.has-chat) .chat-body{display:none}.chat-peers{border:0}.chat-peers p{max-width:220px}.chat-head .back-chat{border:0;background:none;padding:5px;color:#a78bfa}.upload-layout{gap:18px}.upload-preview{min-height:260px}.sound-banner{flex-wrap:wrap;gap:14px;padding:18px}.sound-banner .btn{margin-left:0}.modal .dialog-body{padding:18px}.activity{padding:14px}.settings-panel{padding:18px}}

@media(max-width:540px){body.comments-open .post-actions,body.comments-open .video-overlay{display:none}body.comments-open .video-stage{min-height:80px}}
/* Kocehind LIVE: real media, voice seats, compact mobile comments. */
.live-tag{display:inline-block;background:var(--pink);color:#fff;font-size:11px;font-weight:850;letter-spacing:.08em;padding:5px 10px;border-radius:7px;box-shadow:0 4px 14px rgba(255,46,99,.38)}
.live-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px}
.live-card{background:linear-gradient(155deg,#1d1836,#101320);padding:24px;border:1px solid var(--border);border-radius:22px;min-height:250px;display:flex;flex-direction:column;gap:14px;box-shadow:0 16px 36px rgba(0,0,0,.35)}
.live-card .avatar{width:64px;height:64px}
.live-card h2{font-size:21px;margin:0}
.live-setup{display:grid;grid-template-columns:1fr 1fr;gap:32px}
.live-setup form{display:flex;flex-direction:column;gap:18px;justify-content:center}
.live-setup-visual{position:relative;min-height:560px;border-radius:26px;overflow:hidden;border:1px solid var(--border);background:radial-gradient(ellipse at 30% 30%,rgba(139,92,246,.35),#0d101b 75%)}
.live-setup-visual video{position:absolute;width:100%;height:100%;object-fit:cover}
.live-setup-mark{position:absolute;bottom:35px;left:30px;font-size:68px;font-weight:900;line-height:.9}
.live-setup-mark span{font-size:22px}
.live-room{height:calc(100dvh - 140px);min-height:550px;display:flex;flex-direction:column;background:#06070c;border:1px solid var(--border);border-radius:22px;padding:15px;gap:12px;box-shadow:0 24px 60px rgba(0,0,0,.5)}
.live-top{display:flex;gap:15px;align-items:center}
.live-top>div{flex:1;min-width:0}
.live-top small{display:block;color:var(--muted)}
.live-columns{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;flex:1;min-height:0}
.live-stage{display:grid;gap:8px;grid-template-columns:1fr;min-height:0;position:relative;overflow:hidden}
.live-stage.together{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}
.live-tile{position:relative;border-radius:16px;overflow:hidden;background:var(--surface);min-height:0;display:flex;justify-content:center;align-items:center;border:2px solid rgba(255,255,255,.07)}
.live-tile.speaking{border-color:var(--pink);box-shadow:0 0 20px rgba(255,46,99,.32)}
.live-tile video{position:absolute;width:100%;height:100%;object-fit:cover}
.live-tile>span{position:absolute;bottom:8px;left:8px;background:rgba(0,0,0,.62);backdrop-filter:blur(6px);padding:3px 8px;border-radius:6px;font-size:11.5px;font-weight:600}
.live-avatar{display:flex;align-items:center;flex-direction:column;gap:10px}
.live-avatar .avatar{width:74px;height:74px}
.live-stage.voice .live-tile{background:transparent;border-radius:60px}
.live-stage.voice .live-tile>span{display:none}
.live-stage.voice strong{font-size:12px}
.empty-seat{background:rgba(255,255,255,.03);border:1px dashed rgba(255,255,255,.12);border-radius:16px;color:rgba(255,255,255,.45);display:flex;flex-direction:column;align-items:center;justify-content:center}
.empty-seat b{font-size:36px}
.live-conversation{display:flex;flex-direction:column;min-height:0;background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:15px}
#live-comments{flex:1;overflow-y:auto;overflow-wrap:anywhere}
#live-comments p{font-size:13.5px;margin:0 0 12px;line-height:1.5}
#live-comments strong{color:#fda4af}
#live-comment-form{display:flex;gap:8px;margin-top:10px}
#live-comment-form input{width:100%;min-width:0}
.live-controls{display:flex;flex-wrap:wrap;gap:8px}
.live-controls .btn{padding:8px 12px;font-size:12px}
.live-guests>div{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--border);overflow-wrap:anywhere}
.live-guests>div>span{flex:1}
.live-guests small{display:block;color:var(--muted)}
.live-guests>div>div{display:flex;flex-wrap:wrap;gap:4px}
.live-guests .btn{flex-shrink:0}
.live-summary{max-width:780px;margin:45px auto}
.live-summary h1{font-size:clamp(32px,5vw,52px);margin:20px 0}
.live-metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin:35px 0}
.live-metrics>div{padding:24px;background:var(--surface);border:1px solid var(--border);border-radius:20px}
.live-metrics b{display:block;font-size:36px;margin-top:6px}
#live-notice:not(:empty),#live-invite:not(:empty){padding:12px 16px;background:rgba(139,92,246,.16);border:1px solid rgba(139,92,246,.35);border-radius:12px;font-size:13px}
#live-audio-tracks{display:none}
@media(max-width:900px){.live-columns{grid-template-columns:1fr 230px}.live-setup{grid-template-columns:1fr}.live-setup-visual{min-height:300px}}
@media(max-width:620px){.live-room{height:calc(100dvh - 180px);min-height:520px;border:0;border-radius:0;margin:-10px;padding:8px;gap:6px}.live-columns{display:flex;flex-direction:column;gap:6px}.live-stage{flex:5;min-height:180px}.live-conversation{flex:3;min-height:100px;padding:8px}.live-avatar .avatar{width:48px;height:48px}.live-controls{gap:5px}.live-top small{font-size:10px}.live-controls .btn{font-size:10px;padding:7px}.live-tile>span{font-size:9px}.live-avatar strong{font-size:11px}.live-stage.voice .live-tile{border-radius:35px}}

/* v2.5: one real, silent LIVE preview per visible vertical card. */
.live-preview-card{height:100%;min-height:100%;position:relative;overflow:hidden;scroll-snap-align:start;scroll-snap-stop:always;background:#080a12;border-radius:20px;border:1px solid rgba(255,255,255,.08);isolation:isolate}
.live-preview-media,.live-preview-video,.live-preview-open{position:absolute;inset:0}
.live-preview-video video{width:100%;height:100%;object-fit:cover}
.live-preview-fallback{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse at top,rgba(139,92,246,.32),#080a12);color:#e2e8f0}
.live-preview-fallback .avatar{width:120px;height:120px;font-size:48px}
.live-preview-open{background:linear-gradient(transparent 35%,rgba(3,4,8,.88));display:flex;align-items:end;text-decoration:none;color:#fff}
.live-preview-caption{padding:32px;max-width:100%}
.live-preview-caption h2{font-size:25px;font-weight:850;margin:14px 0 8px}
.live-preview-caption p{margin:8px 0;overflow-wrap:anywhere}
.live-preview-caption strong{display:block;color:#fda4af;margin:16px 0}
.live-preview-caption small{display:block;color:#cbd5e1}
.live-floating-heart{position:absolute;color:var(--pink);font-size:46px;pointer-events:none;z-index:10;animation:live-heart-rise .85s ease-out forwards}
@keyframes live-heart-rise{from{opacity:1;transform:translate(0,0) scale(.8)}to{opacity:0;transform:translate(15px,-120px) scale(1.5)}}
@media(max-width:700px){.live-preview-card{border-radius:0}.live-preview-caption{padding:24px 20px 36px}.feed-header .buttons{gap:4px}.feed-header .buttons .btn{font-size:11px;padding:8px}}

.live-discovery-header h2{font-size:18px;margin:0;white-space:nowrap}
@media(max-width:540px){.live-discovery-header{height:65px;gap:8px}.live-discovery-header h2{font-size:14px;max-width:95px;white-space:normal}.live-discovery-header .buttons{flex-wrap:wrap;justify-content:flex-end;gap:4px}.live-discovery{height:calc(100dvh - 190px)}}

.moderation-options{display:grid;gap:8px}
.moderation-options .btn{justify-content:flex-start;text-align:left;white-space:normal}
.moderation-person{display:flex;gap:12px;align-items:center;margin-bottom:20px}
.live-tile,#live-comments p{touch-action:pan-y;-webkit-user-select:none;user-select:none}
.welcome-tag{color:#fbbf24;font-size:11px;font-weight:700}
@media(max-width:540px){.live-guests>div{flex-wrap:wrap}}

@media(max-width:540px){#header-actions .download-app{font-size:0;padding:6px;width:28px;min-width:28px;justify-content:center}#header-actions .download-app::before{content:'↓';font-size:20px}.app-header{gap:8px}.app-header .logo{font-size:19px}}
@media(max-width:360px){.app-header{gap:6px;padding:0 8px}.app-header .logo{font-size:17px}.app-header .logo img{width:26px;height:26px}#header-actions{gap:6px}#header-actions .btn{font-size:9px;padding:6px}#header-actions .download-app{font-size:0}}

/* v2.7 privacy, Studio and watch history. */
.friends-only{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;border-radius:999px;padding:5px 11px;background:rgba(56,189,248,.16);border:1px solid rgba(56,189,248,.35);color:#bae6fd;font-size:11px;font-weight:750;line-height:1.4;backdrop-filter:blur(8px)}
.grid-privacy{position:absolute;top:10px;left:10px;right:10px;width:max-content;max-width:calc(100% - 20px)}
.profile-tabs a{display:flex;align-items:center;gap:7px;min-height:44px}
.profile-tabs svg{width:18px;height:18px}
.caption a.mention,.comment-content a.mention,.grid-card p a.mention{color:var(--cyan);font-weight:750}
.owner-share{display:flex;gap:12px;border-top:1px solid var(--border);padding-top:16px;margin-top:16px;flex-wrap:wrap}
.comment-target{background:rgba(56,189,248,.12);outline:2px solid var(--cyan);outline-offset:-2px;border-radius:12px;padding:16px 10px;scroll-margin:16px}
.comment-target-note{font-size:12px;line-height:1.6;padding:14px;border:1px solid var(--border);background:var(--surface-2);border-radius:12px;color:#e2e8f0}
.settings-panel .buttons,.studio-clip .buttons{display:flex;gap:12px;flex-wrap:wrap}
.studio-toolbar,.history-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:12px 0 24px}
.studio-toolbar h2{margin:0;flex:1}
.studio-toolbar label{margin:0;min-width:160px}
.studio-toolbar .btn{align-self:flex-end}
.studio-section{padding:24px 0;border-top:1px solid var(--border)}
.studio-section h2,#studio-overview h2{font-size:19px;font-weight:800;margin:25px 0 16px}
.studio-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:14px;margin-bottom:28px}
.studio-metric{padding:18px 16px;background:var(--surface);border:1px solid var(--border);border-radius:16px;min-width:0;box-shadow:0 8px 24px rgba(0,0,0,.22)}
.studio-metric span{display:block;font-size:12px;font-weight:600;color:var(--muted);line-height:1.5}
.studio-metric strong{font-size:26px;font-weight:850;display:block;margin-top:8px;font-variant-numeric:tabular-nums;color:#fff}
.studio-table-scroll{overflow:auto;border:1px solid var(--border);background:var(--surface);border-radius:16px;margin-bottom:24px}
.studio-table{border-collapse:collapse;width:100%;font-size:12.5px;text-align:left}
.studio-table th,.studio-table td{padding:14px 16px;white-space:nowrap;border-bottom:1px solid var(--border)}
.studio-table th{color:#e2e8f0;font-weight:750;background:rgba(255,255,255,.02)}
.studio-table td{color:var(--muted)}
.studio-video{border-bottom:1px solid var(--border);padding:18px 0;display:flex;gap:20px;align-items:center;flex-wrap:wrap}
.studio-video>a,.history-row>a{display:flex;gap:14px;align-items:center;flex:1;min-width:0}
.studio-video img{width:62px;height:82px;border-radius:10px;object-fit:cover;border:1px solid var(--border)}
.studio-video strong,.history-row strong{display:block;font-size:13.5px;overflow-wrap:anywhere;line-height:1.55}
.studio-video small,.history-row small{display:block;color:var(--muted);font-size:11.5px;margin-top:5px;line-height:1.55}
.studio-video p{font-size:12px;color:var(--muted);line-height:1.75;margin:0}
.studio-live-recording{border:1px solid var(--border);background:var(--surface);border-radius:18px;padding:20px;margin:16px 0}
.studio-live-recording h3{font-size:17px;font-weight:800;margin:0 0 10px}
.studio-live-recording p{font-size:12.5px;line-height:1.75;color:var(--muted)}
.studio-live-recording video{display:block;max-height:420px;width:100%;border-radius:12px;background:#040508;margin:16px 0}
.studio-clip-form{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end}
.studio-clip-form label{margin:0}
.studio-clip-form .form-error{grid-column:1/-1}
.studio-clip{padding:18px 0;border-bottom:1px solid var(--border);display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.studio-clip p{margin:6px 0 0;font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.history-actions label{display:flex;align-items:center;gap:10px;margin:0;font-size:12.5px}
.history-actions input,.history-row>input{width:20px;height:20px;accent-color:var(--accent);flex-shrink:0}
.history-row{display:flex;gap:18px;align-items:center;padding:16px 0;border-bottom:1px solid var(--border)}
.history-row img{width:64px;height:86px;object-fit:cover;border-radius:10px;border:1px solid var(--border)}
.history-row span{min-width:0}
.studio-toolbar .btn,.history-actions .btn,.studio-clip-form .btn,.owner-share .btn,.studio-clip .btn{min-height:44px}
.studio-section .muted,#studio-overview>.muted{color:var(--muted);font-size:12.5px;line-height:1.75}
@media(max-width:540px){.studio-clip-form{grid-template-columns:1fr 1fr}.studio-clip-form .btn{grid-column:1/-1}.studio-live-recording{padding:16px}.studio-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-metric strong{font-size:23px}.history-actions{gap:12px}.history-actions label{width:100%;min-height:44px}.profile-tabs{gap:18px}.profile-tabs a{font-size:11px}.studio-video{gap:12px}.studio-video p{width:100%;padding-left:74px}.studio-toolbar{align-items:flex-start}.history-row{gap:12px}}
@media(prefers-reduced-motion:reduce){.comment-target{scroll-behavior:auto}.grid-card img{transition:none}.live-floating-heart{animation-duration:1ms}}

.studio-clip-form>.muted{grid-column:1/-1;margin:0 0 4px}
.grid-cover{display:block}
.collection-header{min-width:0}
.collection-header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px}
.collection-viewer{position:relative}
.collection-viewer .post{position:relative}
.collection-status{font-size:11.5px;color:var(--muted);margin:4px 0}
.privacy-request{border-top:1px solid var(--border);padding:18px 0 0;margin-top:18px}
.privacy-request p{white-space:pre-wrap;overflow-wrap:anywhere}

.trust-text{white-space:pre-wrap;overflow-wrap:anywhere}
.trust-card{display:block;color:inherit;text-decoration:none;transition:border-color .18s ease,transform .18s ease}
.trust-card:hover{border-color:rgba(139,92,246,.45);transform:translateY(-1px)}
[data-help] input,[data-help] select,[data-help] textarea,[data-cases] textarea{width:100%;box-sizing:border-box}
[data-thread] article{padding:14px;border-bottom:1px solid var(--border)}
/* v2.10 official inbox and mixed discovery */
.official-detail{max-width:760px;margin:0 auto;padding:24px}.official-detail h1{font-size:clamp(24px,4vw,36px);overflow-wrap:anywhere}.official-byline,.official-intro{display:flex;gap:14px;align-items:center;margin:20px 0}.official-byline small{display:block;margin-top:5px;color:var(--muted,#94a0b8)}.official-blocks{line-height:1.75;overflow-wrap:anywhere}.official-text{white-space:pre-wrap}.official-blocks figure{margin:20px 0}.official-blocks img,.official-blocks video{display:block;max-width:100%;max-height:70vh;border-radius:16px;object-fit:contain;background:#07080d}.official-blocks figcaption{font-size:14px;color:#94a0b8;padding-top:8px}.official-blocks .btn{white-space:normal;min-height:44px}.official-item{width:100%;text-align:left;background:transparent;color:inherit;border:0;cursor:pointer;align-items:center}.official-item:hover{background:#151b29}.official-category{font-size:12px;padding:6px 9px;background:#8b5cf626;border-radius:8px;color:#c4b5fd;flex-shrink:0}.official-intro h2{margin:0}.live-search-cover{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:15px;background:radial-gradient(circle at center,#48316a,#171727);position:relative}.live-search-cover>.avatar{height:76px;width:76px}.live-search-cover>.live-tag{position:absolute;left:10px;top:10px}.live-search-cover>strong{font-size:13px}.official-blocks a:focus-visible,.official-item:focus-visible{outline:2px solid #a78bfa;outline-offset:3px}@media(max-width:540px){.official-detail{padding:16px 6px}.official-item{gap:8px}.official-category{font-size:10px;max-width:80px;overflow-wrap:anywhere}.official-blocks figure{margin:16px 0}}

.shared-card{display:flex;gap:12px;align-items:center;min-width:0;width:280px;max-width:100%;color:inherit;text-decoration:none;overflow:hidden;border:1px solid #ffffff26;border-radius:12px;padding:10px;background:#ffffff0a}.shared-thumbnail{position:relative;flex:0 0 76px;width:76px;height:98px;background:#0b0d14;border-radius:8px;overflow:hidden;display:grid;place-items:center}.shared-thumbnail img{width:100%;height:100%;object-fit:cover}.shared-thumbnail>span{position:absolute;bottom:5px;left:5px;border-radius:4px;background:#111b;padding:1px 5px;color:#fff;font-size:11px}.shared-card>div:last-child{min-width:0;display:grid;gap:6px}.shared-card strong{font-size:13px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.shared-card small{font-size:10px;opacity:.8}.shared-card .shared-action{font-size:11px;font-weight:700;color:#bdeaff}.shared-card.unavailable{opacity:.7;width:auto}.shared-card svg{width:24px;height:24px}.profile-visitors-button{display:flex;align-items:center;gap:12px;width:100%;padding:12px 0;border:0;background:none;color:inherit;text-align:left;cursor:pointer}.profile-visitors-button>span:nth-child(2){flex:1;display:grid;gap:4px}.profile-visitors-button small{color:var(--muted);font-size:11px}.visitor-avatars{display:flex;padding-left:6px}.visitor-avatars .avatar{width:30px;height:30px;margin-left:-6px;border:2px solid var(--surface,#121622)}.visitor-avatars svg{width:28px;height:28px}.visitor-list .user-info small{display:block}

/* v2.12.6: every live seat fits its stage; full camera frames and shared focus. */
.live-room{min-height:0}
.live-stage,.live-stage.together{min-height:0;grid-auto-rows:minmax(0,1fr)}
.live-tile,.empty-seat{min-width:0;min-height:0}
.live-tile video{object-fit:contain;top:0;left:0;width:100%;height:calc(100% - 24px);background:#05060a}
.live-avatar{max-width:100%;max-height:100%;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;padding-bottom:24px}
.live-avatar .avatar{width:clamp(24px,7vw,72px);height:clamp(24px,7vw,72px);flex-shrink:1;min-height:0}
.live-avatar strong{max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.empty-seat{overflow:hidden;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px}
.empty-seat b{font-size:clamp(14px,3vw,28px)}
.empty-seat small{font-size:10px}
.live-slot-picker{display:grid;grid-template-columns:repeat(var(--slot-cols,3),minmax(0,1fr));gap:7px;margin:10px 0}
.layout-focus{margin-top:18px}
.post-actions[hidden],[data-camera-capacity][hidden]{display:none}
.live-setup-visual video{object-fit:contain}
@media(max-width:620px){.live-room{height:calc(100dvh - 130px);min-height:0}.live-columns{flex:1;min-height:0;overflow:hidden}.live-stage{flex:7;min-height:0}.live-conversation{flex:3;min-height:70px}.live-top{flex-shrink:0}.live-controls{flex-shrink:0}.live-avatar .avatar{width:36px;height:36px}.live-avatar strong{font-size:10px}.live-stage.voice .live-tile{border-radius:16px}}

/* v2.12.7: one full-size camera surface shared by room and preview. */
.live-tile video{inset:0;width:100%;height:100%;object-fit:cover;background:var(--bg)}
.live-tile.has-video .live-avatar{visibility:hidden}
.live-stage.solo .live-tile{border:0;border-radius:0}
.live-stage.solo .live-tile>span{display:none}
.live-preview-video.live-stage{display:grid;gap:4px}
.live-preview-card.together .live-preview-video{inset:48px 0 170px}
.live-preview-card.together .live-preview-caption{padding:16px 20px;max-height:170px}
.live-preview-card.together .live-preview-caption h2{font-size:18px;margin:8px 0 4px}
.live-preview-card.together .live-preview-caption p{font-size:12px;margin:4px 0;max-height:32px;overflow:hidden}
.live-preview-card.together .live-preview-caption strong{margin:8px 0}
.live-preview-video .live-avatar .avatar{width:clamp(32px,12vw,72px);height:clamp(32px,12vw,72px);object-fit:cover}
.live-preview-video .live-avatar strong{font-size:11px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-preview-video .empty-seat{cursor:default}
.camera-room .live-stage{gap:4px}
@media(max-width:620px){
 .live-room.camera-room{position:fixed;inset:0;height:100dvh;min-height:0;z-index:35;margin:0;padding:0;border:0;border-radius:0;overflow:hidden}
 .camera-room .live-top{position:absolute;inset:env(safe-area-inset-top,0px) 8px auto;z-index:2;padding:10px 4px;background:linear-gradient(rgba(0,0,0,.65),transparent)}
 .camera-room .live-columns{position:absolute;inset:0;display:block;overflow:visible}
 .camera-room .live-stage{position:absolute;inset:0;min-height:0}
 .camera-room .live-stage.together{top:90px;bottom:240px}
 .camera-room .live-conversation{position:absolute;left:8px;right:65px;bottom:112px;height:min(24dvh,220px);min-height:0;border:0;padding:6px;background:linear-gradient(transparent,rgba(0,0,0,.58));z-index:1}
 .camera-room .live-controls{position:absolute;inset:auto 8px env(safe-area-inset-bottom,0px);z-index:2;padding:8px 0;max-height:112px;overflow:auto;background:rgba(0,0,0,.25)}
 .camera-room #live-notice,.camera-room #live-invite{position:relative;z-index:3;margin-top:66px}
 .camera-room #live-invite:empty,.camera-room #live-notice:empty{display:none}
 .camera-room .live-avatar .avatar{width:52px;height:52px}
}
/* v2.13.1: shared LIVE canvas; viewer gestures pass through to the stage. */
.live-canvas{position:absolute;inset:0;z-index:4;pointer-events:none;overflow:hidden}
.live-canvas-item{position:absolute;display:flex;align-items:center;justify-content:center;overflow:hidden;pointer-events:none}
.live-canvas-item img{width:100%;height:100%;object-fit:contain;user-select:none}
.live-canvas-item>span{max-width:100%;max-height:100%;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.2;padding:.3em .5em;border-radius:.3em;text-align:center;text-shadow:0 1px 3px #0008}
.live-canvas.editing .live-canvas-item{pointer-events:auto;touch-action:none;outline:2px dashed #ff2857;outline-offset:-2px;cursor:move}
.live-overlay-row{display:flex;align-items:center;gap:8px;margin-top:12px;padding:8px;border:1px solid var(--border,#444);border-radius:8px}
.live-overlay-row>strong{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-overlay-preview{min-height:80px;display:flex;align-items:center;justify-content:center;background:#35353f;margin:12px 0;overflow:hidden;border-radius:12px}
.live-overlay-preview img{max-width:100%;max-height:180px;object-fit:contain}
#live-comments .gift-comment{color:#ffd777;display:flex;align-items:center;gap:7px}
.gift-comment img{width:30px;height:30px;object-fit:contain;border-radius:5px}

.live-stage{isolation:isolate}

.profile-avatar-button{display:block;flex:none;border:0;background:transparent;border-radius:50%;padding:0;cursor:zoom-in;color:inherit}.profile-avatar-button:focus-visible{outline:3px solid #a78bfa;outline-offset:5px}.profile-top .profile-avatar-button .avatar{display:block;width:96px;height:96px;font-size:35px;border:2.5px solid var(--accent);box-shadow:0 12px 32px rgba(139,92,246,.28)}.profile-photo-dialog{background:#080a10;color:#f8fafc}.profile-photo-dialog .dialog-body{padding:16px}.profile-photo-viewport{display:flex;align-items:center;justify-content:center;min-height:200px}.profile-photo-viewport img{display:block;max-width:100%;max-height:72dvh;object-fit:contain;border-radius:8px}.profile-photo-empty,.profile-photo-error{text-align:center;color:#aab5c8;padding:60px 20px}.live-gift-summary{margin:30px 0}.live-gift-summary h2{font-size:23px;letter-spacing:-.5px}.live-gift-summary .live-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.live-metrics>div{min-width:0}.live-gift-summary .live-metrics b{font-size:clamp(19px,4vw,30px);overflow-wrap:anywhere}.top-gift-senders{list-style-position:inside;padding:0;counter-reset:gift-rank}.top-gift-senders li{counter-increment:gift-rank;list-style:none;display:flex;align-items:center;gap:14px;margin:12px 0;padding:16px;background:var(--surface);border:1px solid var(--border);border-radius:16px}.top-gift-senders li:not(.empty):before{content:counter(gift-rank);font-size:21px;font-weight:900;color:#c4b5fd}.top-gift-senders li>div{min-width:0}.top-gift-senders strong{display:block;overflow-wrap:anywhere}.top-gift-senders span{display:block;font-size:13px;color:var(--muted);margin-top:6px}.top-gift-senders .avatar{width:44px;height:44px;flex:none}@media(max-width:540px){.live-gift-summary .live-metrics{grid-template-columns:1fr}.live-summary{margin:24px auto}}

/* MychaAI and profile curation */
.mycha-card{margin:18px 0;padding:22px;border:1px solid var(--border,#30283d);border-radius:20px;background:var(--surface,#181322)}
.mycha-brand{display:flex;align-items:center;gap:10px;color:#c4b5fd;font-weight:800;font-size:17px}.mycha-brand span{font-weight:400;font-size:12px;color:var(--muted,#aaa)}
.mycha-answer h2{font-size:23px;line-height:1.3;margin:18px 0 12px}.mycha-summary{white-space:pre-line;line-height:1.8;font-size:15px;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.mycha-card.expanded .mycha-summary{display:block}.mycha-answer~.mycha-answer{display:none}.mycha-card.expanded .mycha-answer~.mycha-answer{display:block;border-top:1px solid #383044;margin-top:18px}
.mycha-sources{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.mycha-sources a{font-size:12px;border:1px solid #44345e;border-radius:20px;padding:5px 10px}.mycha-answer small{display:block;color:var(--muted,#aaa);font-size:11px;margin-top:10px}.mycha-images{display:flex;gap:8px;overflow:auto;margin:10px 0}.mycha-images img{height:130px;max-width:180px;object-fit:cover;border-radius:12px}.mycha-expand{display:block;margin:12px auto 0}
.pinned-label{position:absolute;left:6px;top:6px;padding:3px 7px;background:#ff2857;color:white;border-radius:3px;font-weight:800;font-size:11px}.profile-links{display:flex;flex-direction:column;gap:8px;margin:12px 0;overflow-wrap:anywhere}.profile-links a{font-weight:700;color:#c4b5fd}

#profile-posts .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}#profile-posts .grid-card>p,#profile-posts .grid-author{display:none}#profile-posts .grid-cover{border-radius:4px;aspect-ratio:3/4}#profile-posts .pinned-label{left:3px;top:4px;font-size:10px;padding:3px 5px}
@media(max-width:600px){.download-app{flex-shrink:0;white-space:nowrap;min-width:68px!important;padding:8px!important;font-size:11px!important}#header-actions{gap:5px}}

/* Photo albums use horizontal scroll snapping inside the vertical feed. */
.photo-album{position:absolute;inset:0;background:#05060a}
.photo-slides{display:flex;width:100%;height:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y}
.photo-slides::-webkit-scrollbar{display:none}.photo-slide{flex:0 0 100%;min-width:0;height:100%;scroll-snap-align:center;scroll-snap-stop:always;display:flex;align-items:center;justify-content:center;padding:30px 0 155px}
.photo-slide .post-image{position:static;width:100%;height:100%;object-fit:contain}.photo-counter{position:absolute;top:30px;right:18px;border-radius:20px;padding:5px 10px;background:#0008;color:#fff;font-size:13px;pointer-events:none}
.photo-navigation{position:absolute;bottom:148px;left:15%;right:15%;display:flex;gap:8px;justify-content:center;align-items:center}.photo-navigation>button,.photo-music{border:0;background:#0009;color:#fff;border-radius:20px;min-width:32px;min-height:32px}.photo-dots{display:flex;gap:4px;flex-wrap:wrap;max-width:180px;justify-content:center}.photo-dots button{width:7px;height:7px;padding:0;border:0;background:#ffffff60;border-radius:50%}.photo-dots button.active{background:#fff}.photo-music{position:absolute;top:72px;right:18px}.photo-badge{padding:2px 7px;border-radius:5px;background:#ffffff26;color:white;font-size:12px;white-space:nowrap}.author-line{display:flex;gap:8px;align-items:center}
.video-overlay{pointer-events:none}.video-overlay a,.video-overlay button{pointer-events:auto}
.composer-photos{display:flex;gap:10px;overflow-x:auto;max-width:100%;padding:12px 0}.composer-photos>div{flex:0 0 110px}.composer-photos img,.composer-photos video{width:110px;height:135px;object-fit:contain}.composer-photos button{border:1px solid var(--border);background:var(--surface);color:var(--text);min-width:30px;min-height:30px}.sound-search{display:flex;gap:8px}.sound-search input{min-width:0}.recent-heading{display:flex;align-items:center;justify-content:space-between}.recent-list{list-style:none;padding:0}.recent-list li{display:flex;justify-content:space-between}.recent-list button{padding:10px;border:0;background:transparent;color:var(--text)}.inbox-search{margin:12px 0}.inbox-search input{width:100%}.inbox-search-results{max-height:320px;overflow:auto}.inbox-search-results .user-row{width:100%;text-align:left;background:var(--surface);color:var(--text);border:0}.inbox-search-results p{white-space:pre-wrap;overflow-wrap:anywhere}
.live-tile video{transform:none!important;image-rendering:auto}

/* LIVE profile ring: feed and visited profiles share one status owner. */
.profile-live-avatar{position:relative;display:inline-block;line-height:0;vertical-align:middle;border-radius:50%}
.profile-live-avatar.is-live{box-shadow:0 0 0 2px #ff2e63,0 0 0 4px #d92b9470}
.avatar-live-label{position:absolute;bottom:-5px;left:50%;transform:translateX(-50%);padding:2px 5px;border:1px solid #10121c;border-radius:4px;background:#ff2e63;color:#fff;font-size:9px;line-height:1.1;font-weight:900;z-index:2}
.avatar-live-label[hidden]{display:none}
.profile-top .avatar-live-label{font-size:12px;padding:3px 8px;bottom:-7px}
.profile-top .profile-avatar-button .avatar.letter{display:inline-grid;line-height:1}
.profile-top .profile-avatar-button .profile-live-avatar.is-live .avatar{border-color:var(--pink)}
.post-actions button:disabled{opacity:.65;cursor:wait}

/* Mirror only the local front-camera preview; rear and remote frames stay original. */
.live-tile video.local-front-camera{transform:scaleX(-1)!important}

.post-upload-time{color:#ffffffb3;font-size:12px;font-weight:500;white-space:nowrap}.author-line:has(.post-upload-time){flex-wrap:wrap;row-gap:3px}
.live-resize-handle{position:absolute;width:28px;height:28px;border:1px solid #ffffff80;border-radius:7px;background:#ff2857;color:#fff;font-size:18px;line-height:1;padding:0;display:grid;place-items:center;touch-action:none;z-index:2}.live-resize-handle.width{right:0;top:calc(50% - 14px);cursor:ew-resize}.live-resize-handle.height{bottom:0;left:calc(50% - 14px);cursor:ns-resize}.live-resize-handle.both{right:0;bottom:0;cursor:nwse-resize}
/* Cover editor: keep the selected frame and gallery cover inside the viewport. */
.cover-editor{width:min(620px,calc(100vw - 20px));max-height:calc(100dvh - 20px);padding:16px;border:1px solid var(--border,#ddd);border-radius:20px;box-sizing:border-box;overflow-y:auto;background:var(--surface,#fff);color:var(--text,#161616)}
.cover-editor::backdrop{background:#0009}.cover-editor header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}.cover-editor header button{background:transparent;color:inherit;border:0;padding:10px;font:inherit;cursor:pointer}.cover-editor [data-save]{font-weight:800;color:#fa315d}.cover-stage{height:min(48dvh,560px);background:#080808;display:grid;place-items:center;border-radius:12px;overflow:hidden}.cover-stage video,.cover-stage img{width:100%;height:100%;object-fit:contain;min-height:0}.cover-stage [hidden]{display:none}.cover-selection{display:flex;gap:12px;align-items:stretch;margin:12px 0}.cover-strip{position:relative;display:flex;flex:1;min-width:0;height:76px;overflow:hidden;border-radius:12px;touch-action:none;background:#171717;cursor:ew-resize}.cover-strip img{width:12.5%;height:100%;object-fit:cover}.cover-strip::after{content:'';position:absolute;left:clamp(0px,var(--cover-position,0%),calc(100% - 36px));width:36px;top:0;bottom:0;border:3px solid #fa315d;border-radius:10px;box-sizing:border-box;pointer-events:none}.cover-import{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:56px;cursor:pointer}.cover-import span{font-size:12px}.cover-seek-label{display:block}.cover-seek-label output{float:right}.cover-seek-label input{width:100%;accent-color:#fa315d}#cover-choice{margin:14px 0}#cover-choice img{width:72px;height:96px;object-fit:cover;border-radius:8px;vertical-align:middle;margin-right:12px}
