@import url('./community-picker.css');
@import url('./community-creations-browser.css');
@import url('./timi-comment-app-picker.css');
@import url('./profile-programs.css');
@import url('./post-search.css');
@import url('./pull-to-refresh.css');
@import url('./keyboard-viewport.css');
:root{--social-ink:#252525;--social-muted:#858585;--social-paper:#fff;--social-line:#ececec;--social-accent:#f65398;--social-nav-bottom-gap:10px;--social-nav-height:calc(76px + var(--social-nav-bottom-gap));--social-accent-strong:#d63379;--social-accent-soft:#f9e7ed;--social-green:var(--social-accent)}
.social-revise-button{display:inline-flex;align-items:center;gap:5px;flex:none;border-radius:99px;padding:7px 10px;font-size:12px;font-weight:600}.social-revise-button .social-icon{width:16px;height:16px}
.social-video-content-selected .social-video-actions .social-revise-button{display:none}
.timi-revise-prompt{position:absolute;inset:0;z-index:60;display:flex;align-items:flex-end;justify-content:center;background:#19191959;backdrop-filter:blur(8px);padding:calc(16px + var(--safe-top)) 12px calc(12px + var(--safe-bottom));overflow:auto;overscroll-behavior:contain;color:var(--social-ink)}
.timi-revise-panel{box-sizing:border-box;width:100%;max-width:520px;max-height:100%;overflow-y:auto;overscroll-behavior:contain;padding:22px;border:1px solid #ffffffab;border-radius:28px;background:var(--social-paper);box-shadow:0 16px 70px #22222230;display:grid;gap:16px}
.timi-revise-header{display:flex;align-items:center;justify-content:space-between}.timi-revise-header h2{margin:0;font-size:23px;letter-spacing:-.5px}.timi-revise-close{width:34px;height:34px;border-radius:50%;background:#f2e2e6;color:var(--social-ink);font-size:24px}
.timi-revise-source{margin:0;font-size:13px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#696969}.timi-revise-label{display:grid;gap:12px;font-size:15px;font-weight:600}.timi-revise-input{box-sizing:border-box;resize:vertical;width:100%;min-height:140px;max-height:34dvh;border:1px solid #d8d8d8;border-radius:18px;padding:14px;background:#fff;color:var(--social-ink);font-family:inherit;font-size:16px;font-weight:400;line-height:1.6;touch-action:pan-y}.timi-revise-input:focus{outline:2px solid var(--social-accent);outline-offset:2px}.timi-revise-input::placeholder{color:#959595;font-size:14px}.timi-revise-note{margin:0;font-size:12px;line-height:1.7;color:#7a7a7a}.timi-revise-error{color:#a64141;font-size:13px;margin:0}.timi-revise-submit{min-height:46px;border-radius:24px;background:var(--social-accent-strong);color:white;font-size:15px;font-weight:600}.timi-revise-submit:disabled{opacity:.4}
.app-shell{width:min(100%,460px)}
.social-screen{position:absolute;inset:0 0 var(--social-nav-height);z-index:9;background:var(--social-paper);color:var(--social-ink);overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin}
.social-section-surface{min-height:100%}.social-section-surface[hidden],.social-messages-host[hidden],.social-feed-card[hidden]{display:none!important}
.social-screen button,.social-detail button,.social-navigation button{font:inherit;cursor:pointer;color:inherit}
.social-header{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:14px;background:#ffffffed;backdrop-filter:blur(18px);border-bottom:1px solid var(--social-line);min-height:67px;padding:calc(12px + var(--safe-top)) 23px 12px}
.social-wordmark{display:flex;align-items:center;gap:9px;padding:0;color:var(--social-ink)}.social-wordmark strong{font-size:23px;font-weight:800;letter-spacing:-1px}.social-wordmark small{font-size:8px;letter-spacing:1.6px;align-self:flex-end;margin-bottom:7px;color:#7a7a7a}.social-brand-mark{display:grid;place-items:center;width:30px;height:30px;padding:0;flex-shrink:0;border-radius:9px;overflow:hidden}.social-brand-mark img{display:block;width:100%;height:100%;object-fit:contain}
.social-icon{display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;flex:none}.social-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.social-icon-button{display:grid;place-items:center;min-width:40px;min-height:40px;border:1px solid #cfcfcf;border-radius:50%;background:transparent;padding:8px}
.social-greeting{padding:24px 23px 0;background:linear-gradient(155deg,#ffffff,transparent 80%)}.social-eyebrow{font-size:8px;letter-spacing:2px;color:#8b8b8b;margin:0 0 10px}.social-greeting h1{font-family:Georgia,"Songti SC","SimSun",serif;font-weight:500;letter-spacing:-.4px;font-size:24px;margin:0 0 22px}
.social-quick-compose{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;background:#ffffffbd;border:1px solid #dbdbdb;border-radius:14px;text-align:left}.social-quick-compose>span:nth-child(2){flex:1;font-size:12px;color:#929292}.social-quick-compose .user-avatar{width:31px;height:31px}.social-quick-compose>.social-icon{color:var(--social-accent);width:20px;height:20px}
.social-filters{display:flex;gap:24px;margin-top:24px;border-bottom:1px solid var(--social-line)}.social-filters button{font-size:12px;padding:0 0 14px;color:#939393;font-weight:500;border-bottom:2px solid transparent}.social-filters button[aria-pressed=true]{border-color:var(--social-accent);color:var(--social-accent-strong);font-weight:700}
.social-posts{padding-bottom:22px}.social-post{padding:0 22px 18px;border-bottom:7px solid #ececec;background:var(--social-paper)}.social-post-header{display:flex;align-items:center;justify-content:space-between;padding:18px 0 13px}.social-author{display:flex;align-items:center;gap:10px;padding:0;text-align:left}.social-author .user-avatar{width:34px;height:34px;border:1px solid #d6d6d6;background:#ffffff}.social-author>span:last-child{display:grid;gap:4px}.social-author strong{font-size:12px;font-weight:700}.social-author small{font-size:9px;color:var(--social-muted)}.social-kind{font-size:9px;color:#7c7c7c;border:1px solid #dadada;border-radius:12px;padding:4px 9px}
.social-inline-video{display:block;width:100%;height:min(300px,40dvh);object-fit:contain;border-radius:12px;background:#181818}
.social-carousel{display:flex;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;border-radius:13px;background:#ffffff}.social-carousel-frame{position:relative;flex:0 0 100%;width:100%;scroll-snap-align:center}.social-carousel-frame>img{display:block;width:100%;height:340px;object-fit:contain}.social-image-index{position:absolute;top:12px;right:12px;padding:5px 8px;border-radius:12px;background:#1b1b1b99;color:white;font-size:9px}
.social-post-media:empty{display:none}.social-post-copy{padding-top:14px}.social-post-title{margin:0 0 6px;font-size:16px;font-weight:700;line-height:1.5;letter-spacing:-.15px;white-space:pre-wrap;overflow-wrap:anywhere;color:#2a2a2a}.social-post-title:last-child{margin-bottom:0}.social-caption{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.9;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#414141}.social-caption.expanded{display:block}.social-text-post .social-post-copy{padding:22px 18px;background:#fff;border-radius:12px}.social-text-post .social-post-title{font-family:Georgia,"Songti SC",serif;font-size:22px;line-height:1.6}.social-text-post .social-caption{font-size:15px;line-height:1.8;-webkit-line-clamp:5}.social-expand{font-size:10px!important;color:#8b8b8b!important;padding:6px 0}.social-post-actions{display:flex;align-items:center;gap:20px;margin-top:14px}.social-reaction{display:inline-flex;align-items:center;gap:6px;padding:0;min-height:30px;font-size:11px!important;color:#414141!important}.social-reaction[aria-pressed=true]{color:#f65398!important}.social-reaction[aria-pressed=true] .social-icon svg{fill:#f6539824}.social-card-end{margin-left:auto;font-size:8px;color:#9e9e9e;letter-spacing:1px}
.social-navigation{position:absolute;inset:auto max(16px,var(--safe-right)) var(--social-nav-bottom-gap) max(16px,var(--safe-left));z-index:11;display:flex;align-items:center;justify-content:space-around;gap:4px;max-width:420px;height:64px;margin-inline:auto;padding:6px 8px;border:1px solid #ffffffc2;border-radius:999px;background:linear-gradient(155deg,#ffffffe0,#ffffff78);box-shadow:0 8px 30px #2222221c,inset 0 1px 0 #fff,inset 0 -1px 0 #ffffff5c;-webkit-backdrop-filter:blur(24px) saturate(160%);backdrop-filter:blur(24px) saturate(160%);color:#717171}
.social-author-name{display:flex;align-items:center;flex-wrap:wrap;gap:6px;max-width:100%}.social-author-name>strong{overflow-wrap:anywhere}.social-author{min-width:0}.social-author>span:last-child{min-width:0}.social-relation-badge{display:inline-flex;align-items:center;flex:none;max-width:100%;padding:3px 6px;border:1px solid #d5d5d5;border-radius:6px;background:#ffffff;color:#5c5c5c;font-size:8px;line-height:1.25;white-space:nowrap;font-weight:500;letter-spacing:0}.social-relation-badge[data-relationship=mutual]{background:#ffffff;border-color:#cdcdcd;color:#414141}.social-relation-badge[data-relationship=self]{background:transparent;color:#828282;border-color:#dcdcdc}.social-relation-badge[hidden]{display:none}
.social-profile-stats>.social-profile-stat{display:grid;gap:5px;padding:5px 7px;margin:-5px -7px;text-align:center;border-radius:10px;background:transparent}.social-profile-stat:hover,.social-profile-stat:focus-visible{background:#ffffff}.social-profile-stat:focus-visible,.social-relation-row:focus-visible{outline:2px solid #f65398;outline-offset:3px}.social-profile-relationship{margin:-8px 0 17px;font-size:11px;line-height:1.8;color:#636363}.social-relations-intro{font-size:12px;line-height:1.8;color:#797979;margin:0 0 15px}.social-relations-list{display:grid}.social-relation-row{display:flex;align-items:center;gap:12px;padding:16px 0;width:100%;border-bottom:1px solid var(--social-line);background:transparent;text-align:left}.social-relation-row>.user-avatar{flex:none;width:43px;height:43px}.social-relation-copy{display:grid;gap:6px;min-width:0;flex:1}.social-relation-copy>strong{font-size:13px;overflow-wrap:anywhere}.social-relation-copy>small{font-size:8px;line-height:1.6;color:#8a8a8a;overflow-wrap:anywhere}.social-relation-row>.social-relation-badge{font-size:9px;padding:4px 7px}
.social-messages-host{height:100%;min-height:0}
.social-nav-item{display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;gap:3px;min-width:44px;min-height:50px;padding:0!important;border-radius:999px;font-size:10px!important;line-height:1.2;transition:background .18s ease,color .18s ease}.social-nav-item[aria-pressed=true]{color:var(--social-accent-strong)!important;background:#eed7dd8c}.social-nav-item[aria-pressed=true] .social-icon svg{stroke-width:2.2}.social-navigation .social-nav-item:focus-visible{outline:2px solid #f65398;outline-offset:1px}.social-create>.social-icon{width:38px;height:29px;border-radius:10px;background:var(--social-accent);color:#fff;padding:4px;box-shadow:0 3px 8px #3b3b3b20}.social-create>span:last-child{color:var(--social-accent-strong)}
.social-button{background:var(--social-accent-strong, #d63379);color:white!important;border-radius:10px;padding:11px 18px;font-size:12px!important;border:1px solid var(--social-accent-strong, #d63379);min-height:42px}
.social-button.subtle{background:transparent;color:#4e4e4e!important;border-color:#cecece}
/* A single soft backdrop sits behind the profile; only the compact identity
   pane and sticky toolbar use blur, keeping the masonry scroll inexpensive. */
.social-profile-surface{position:relative;isolation:isolate;background:#fff}
.social-profile-header{min-height:56px;padding:calc(7px + var(--safe-top)) 16px 7px;border-bottom:1px solid #ffffff75;background:#ffffff38;-webkit-backdrop-filter:blur(22px) saturate(140%);backdrop-filter:blur(22px) saturate(140%)}
.social-profile-heading{font-size:14px;font-weight:600;letter-spacing:.03em}
.social-profile-tool,.social-profile-tool-spacer{width:40px;height:40px;flex:none}
.social-profile-tool{display:grid;place-items:center;padding:8px;background:transparent;border:0;border-radius:50%;color:#4c4c4c}
.social-profile-tool:hover{background:#ffffff}.social-profile-tool:focus-visible{outline:2px solid #f65398;outline-offset:2px}
.social-profile{padding:18px 22px 22px;margin:0 auto;max-width:620px;background:linear-gradient(135deg,#ffffff60,#ffffff27);border-bottom:1px solid #ffffffad;box-shadow:inset 0 1px 0 #ffffff80,0 8px 24px #31313110;-webkit-backdrop-filter:blur(26px) saturate(135%);backdrop-filter:blur(26px) saturate(135%)}
.social-profile-identity{display:flex;align-items:center;gap:18px}
.social-profile-identity>.user-avatar{flex:none;width:82px;height:82px;background:linear-gradient(145deg,#ffffff,#ffffff);border:3px solid #fff;box-shadow:0 0 0 1px #dadada;font-size:32px;color:#505050}
.social-profile-identity-copy{flex:1;min-width:0}
.social-profile h1{font-size:23px;font-weight:700;line-height:1.3;letter-spacing:-.4px;margin:0 0 9px;overflow-wrap:anywhere}
.social-profile-id{position:relative;font-size:10px;color:#898989;line-height:1.6}
.social-profile-id summary{width:fit-content;cursor:pointer;list-style:none;border-radius:5px}.social-profile-id summary::-webkit-details-marker{display:none}
.social-profile-id summary:after{content:'⌄';margin-left:7px;color:#858585}.social-profile-id[open] summary:after{content:'⌃'}
.social-profile-id summary:focus-visible{outline:2px solid #f65398;outline-offset:3px}
.social-profile-id p{margin:6px 0 0;overflow-wrap:anywhere;user-select:all;font-size:10px}
.social-bio{font-size:13px;line-height:1.8;color:#595959;white-space:pre-wrap;overflow-wrap:anywhere;margin:18px 0 0}
.social-profile-relationship{font-size:11px;line-height:1.7;margin:8px 0 0;color:#717171}
.social-profile-summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;margin-top:21px}
.social-profile-stats{display:flex;align-items:center;gap:23px;flex:none}
.social-profile-stats>.social-profile-stat{display:grid;gap:4px;text-align:center;min-width:28px}
.social-profile-stats strong{font-size:18px;font-weight:650;line-height:1.3;font-variant-numeric:tabular-nums}
.social-profile-stats span{font-size:11px;color:#898989}
.social-profile-buttons{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0}
.social-profile-buttons>.social-button{font-size:12px!important;min-height:35px;padding:7px 19px;border-radius:999px;white-space:nowrap;font-weight:600}
.social-profile-buttons>.social-button.subtle{background:#ffffffa3;border-color:#d5d5d5}
.social-profile-content{max-width:620px;margin:0 auto;background:#ffffff32;border-top:1px solid #ffffff6b}
.social-profile-tabs{display:flex;align-items:center;justify-content:center;gap:32px;padding:8px 16px;border-bottom:1px solid var(--social-line)}
.social-profile-tabs button{position:relative;padding:10px 8px;min-height:40px;border:0;background:transparent;color:#878787;font-size:15px;font-weight:500}
.social-profile-tabs button[aria-selected=true]{color:var(--social-ink);font-weight:650}
.social-profile-tabs button[aria-selected=true]::after{content:"";position:absolute;width:20px;height:3px;bottom:3px;left:calc(50% - 10px);border-radius:9px;background:var(--social-accent)}
.social-profile-tabs button:focus-visible{outline:2px solid var(--social-accent);outline-offset:-2px;border-radius:12px}
/* App icons are launchers, never live players. Horizontal scrolling preserves
   the compact profile header regardless of the size of a creator's catalogue. */
.social-profile-apps{margin:23px -6px 0;padding-top:17px;border-top:1px solid #ffffffa1}
.social-profile-apps-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 6px;margin-bottom:14px}
.social-profile-apps-header h2{margin:0;font-size:13px;font-weight:650;letter-spacing:.02em;color:#404040}
.social-profile-apps-all{display:inline-flex;align-items:center;gap:4px;min-height:28px;padding:2px 0;border:0;background:transparent;color:#727272!important;font-size:11px!important}
.social-profile-apps-all:after{content:'›';font-size:17px;line-height:1}
.social-profile-app-list{display:flex;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:0 6px 8px;scroll-padding-inline:6px;scrollbar-width:none;touch-action:pan-x pan-y}
.social-profile-app-list::-webkit-scrollbar{display:none}
.social-profile-app{display:flex;flex:0 0 70px;min-width:0;flex-direction:column;align-items:center;gap:8px;padding:0;border:0;background:transparent;scroll-snap-align:start;text-align:center}
.social-profile-app-icon{position:relative;isolation:isolate;display:grid;place-items:center;width:62px;height:62px;aspect-ratio:1;flex:none;border-radius:18px;border:1px solid #ffffffd9;background:linear-gradient(145deg,#ffffffb8,#ffffff66);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 5px 12px #41414113,inset 0 1px 0 #fff;font-size:29px;line-height:1;overflow:hidden;color:#525252;transition:transform .16s ease,box-shadow .16s ease}
.social-profile-app-icon[data-cover-ready="true"] .social-profile-app-icon-badge{position:absolute;right:4px;bottom:4px;display:grid;place-items:center;width:21px;height:21px;border:1px solid #ffffffc9;border-radius:7px;background:#ffffffde;box-shadow:0 1px 4px #0002;font-size:13px;line-height:1}
.social-profile-app:nth-child(4n+2) .social-profile-app-icon{background:linear-gradient(145deg,#ffffff,#ffffff)}
.social-profile-app:nth-child(4n+3) .social-profile-app-icon{background:linear-gradient(145deg,#fcfbff,#ffffff)}
.social-profile-app:nth-child(4n) .social-profile-app-icon{background:linear-gradient(145deg,#ffffff,#ffffff)}
.social-profile-app-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;max-width:70px;min-height:30px;font-size:10px;font-weight:500;line-height:1.5;color:#585858}
.social-profile-app:hover .social-profile-app-icon{transform:translateY(-2px);box-shadow:0 7px 17px #41414120,inset 0 1px 0 #fff}
.social-profile-app:active .social-profile-app-icon{transform:scale(.95)}
.social-profile-app:focus-visible{outline:2px solid #f65398;outline-offset:3px;border-radius:18px}
.social-profile-apps-all:focus-visible,.social-profile-apps-retry:focus-visible{outline:2px solid #f65398;outline-offset:3px;border-radius:5px}
.social-profile-apps-status{margin:2px 6px 10px;color:#7c7c7c;font-size:12px;line-height:1.8}
.social-profile-apps-status:empty{display:none}
.social-profile-apps-retry{border:0;background:transparent;color:#4f4f4f!important;padding:4px 6px;font-size:12px!important;text-decoration:underline;text-underline-offset:3px}
@media(prefers-reduced-motion:reduce){.social-profile-app-icon{transition:none}.social-profile-app:hover .social-profile-app-icon{transform:none}}
.social-profile-grid{margin:0}
@media(max-width:360px){.social-profile{padding-left:18px;padding-right:18px}.social-profile-summary{gap:12px}.social-profile-stats{gap:17px}.social-profile-buttons>.social-button{padding:7px 13px}.social-profile-identity>.user-avatar{width:74px;height:74px}.social-profile h1{font-size:22px}}
.social-empty{text-align:center;padding:40px 18px;color:#7b7b7b}.social-empty>span{font-size:29px;color:#858585}.social-empty h2{font-size:15px;color:#494949;line-height:1.7;margin:16px 0 8px}.social-empty p{font-size:11px;line-height:1.9}
.social-detail{position:absolute;inset:0;z-index:17;background:var(--social-paper);color:var(--social-ink);overflow-y:auto;touch-action:pan-y;overscroll-behavior:contain}.social-detail .social-header{justify-content:flex-start}.social-detail-body{padding:20px 22px calc(24px + var(--safe-bottom))}.social-detail-body>.social-post{padding:0;border:0}.social-comment-title{display:block;font-size:14px;line-height:1.6;color:#414141;overflow-wrap:anywhere}.social-comment-context p{margin:6px 0 0;overflow-wrap:anywhere}.social-comment-context{font-size:11px;line-height:1.9;color:#7a7a7a;border-bottom:1px solid #dddddd;padding-bottom:18px;white-space:pre-wrap}.social-comment{display:flex;gap:12px;padding:18px 0;border-bottom:1px solid #dedede}.social-comment>div{flex:1;min-width:0}.social-comment strong{font-size:11px}.social-comment p{font-size:13px;line-height:1.8;overflow-wrap:anywhere;white-space:pre-wrap;margin:7px 0 0}.social-comment-form{display:grid;gap:12px;margin-top:20px}.social-comment-form textarea{width:100%;font:inherit;font-size:14px;background:white;border:1px solid #d4d4d4;color:#343434;padding:14px;border-radius:12px;resize:vertical}.social-comment-form button{justify-self:end}
.app-shell[data-social-overlay=true]>.social-navigation,.app-shell[data-profile=true]>.social-navigation,.app-shell[data-upload=true]>.social-navigation{visibility:hidden;pointer-events:none}
.app-shell>.toast{z-index:35}.app-shell>.profile-screen{z-index:18}.desktop-signature small{font-size:10px}.desktop-footnote{font-size:10px}
@media(max-width:780px){.app-shell{width:100%}.social-header{padding-left:20px;padding-right:20px}.social-post{padding-left:18px;padding-right:18px}.social-carousel-frame>img{height:360px}}
@media(max-width:360px){.social-carousel-frame>img{height:300px}.social-header{padding-left:16px;padding-right:16px}.social-wordmark small{display:none}.social-greeting{padding-left:18px;padding-right:18px}}
@media(orientation:landscape) and (max-height:600px){.social-home,.social-profile{max-width:650px;margin:auto}}
/* Scrollable feeds continue behind the glass; their final card can still clear
   the dock. Messaging keeps its reserved viewport for the input composer. */
.app-shell:is([data-surface=home],[data-surface=profile],[data-surface=community])>.social-screen{bottom:0;padding-bottom:var(--social-nav-height);scroll-padding-bottom:var(--social-nav-height)}
.app-shell[data-surface=home]>.social-screen{scrollbar-width:none}
.app-shell[data-surface=home]>.social-screen::-webkit-scrollbar{display:none}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.social-navigation{background:#fffffff5}}
@media(prefers-reduced-motion:reduce){.social-nav-item{transition:none}}

/* The action lives on the image surface, including when its card is letterboxed. */
.dough-poster-surface{--poster-height:340px;position:relative;width:min(100%,calc(var(--poster-height) * 776 / 1200));aspect-ratio:776/1200;margin:auto;container-type:inline-size}
.dough-poster-surface>img{display:block;width:100%;height:100%;object-fit:contain}
.social-carousel-frame .dough-apply{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:3px 1px;background:#232b52;color:#f7efd9;border:1px solid #f5e9c6;border-radius:2px;box-shadow:2px 3px 0 #b86d28;font-family:Georgia,"Times New Roman",serif;font-size:5.8cqw;font-weight:800;line-height:1.08;letter-spacing:-.4px;text-shadow:1px 1px 0 #b77537;transition:filter .15s,transform .15s}
.dough-apply:hover{filter:brightness(1.16)}.dough-apply:active{transform:translateY(1px)}.dough-apply:focus-visible{outline:3px solid #fff5d7;outline-offset:3px}
.dough-application{color-scheme:light;--dough-navy:#232b52;--dough-orange:#d98932;--dough-paper:#f8f1e3;position:fixed;inset:0;margin:auto;padding:0;width:min(410px,calc(100vw - 28px));max-width:100%;max-height:calc(100dvh - 36px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));border:1px solid #dcbf8e;border-radius:16px;background:var(--dough-paper);color:var(--dough-navy);box-shadow:0 24px 90px #0b122365;overflow-y:auto;overscroll-behavior:contain;font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
.dough-application::backdrop{background:#141c31a6;backdrop-filter:blur(5px)}
.dough-application-header{display:flex;align-items:center;justify-content:space-between;padding:17px 22px 15px;background:var(--dough-orange);border-bottom:3px solid var(--dough-navy);position:sticky;top:0;z-index:1}
.dough-wordmark{display:grid;gap:4px;font:bold 23px/.95 Georgia,"Times New Roman",serif;letter-spacing:-1px;text-shadow:1px 1px 0 #f8e0b4}
.dough-wordmark small{font:700 8px/1.5 sans-serif;letter-spacing:2px;text-shadow:none}
.dough-application .dough-close{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;margin:-7px -10px -7px 0;border-radius:50%;font-size:28px;color:var(--dough-navy)}
.dough-close:hover{background:#f4dfba45}
.dough-application-body{padding:22px 23px 24px}
.dough-eyebrow{font-size:8px;letter-spacing:1.7px;font-weight:700;margin:0 0 8px;color:#8d6234}
.dough-application h2{font:800 clamp(23px,6vw,30px)/1.05 Georgia,"Times New Roman",serif;letter-spacing:-1.2px;margin:0;outline:none}
.dough-intro{font-size:11px;line-height:1.8;color:#737081;margin:9px 0 20px}
.dough-application-form{margin:0}
.dough-application-form fieldset{display:grid;grid-template-columns:1fr 1fr;gap:13px 12px;min-width:0;border:0;padding:0;margin:0}
.dough-field{display:grid;gap:6px;min-width:0;font-size:10px;font-weight:650}
.dough-field:nth-child(2),.dough-field:nth-child(n+5){grid-column:1/-1}
.dough-field:first-child{grid-column:1/-1}
.dough-field input,.dough-field select,.dough-field textarea{font:inherit;font-size:16px;line-height:1.4;font-weight:400;color:var(--dough-navy);background:#fffaf1;min-width:0;width:100%;min-height:44px;border:1px solid #d9cfbc;border-radius:7px;padding:10px 11px;box-shadow:0 1px 1px #232b5205}
.dough-field select{padding-right:3px;font-size:12px}.dough-field textarea{resize:vertical;min-height:72px}
.dough-field input::placeholder,.dough-field textarea::placeholder{color:#a7a093;font-size:11px;opacity:1}
.dough-application :is(button,input,select,textarea):focus-visible{outline:2px solid var(--dough-orange);outline-offset:3px}
.dough-local{font-size:10px;line-height:1.7;color:#8c7e6b;margin:17px 0 12px}
.dough-application .dough-submit{display:block;width:100%;min-height:47px;padding:13px 17px;border:1px solid var(--dough-navy);border-radius:7px;background:var(--dough-navy);color:#fff4da;font-family:inherit;font-size:13px;font-weight:700;line-height:1.5;box-shadow:0 3px 0 var(--dough-orange);text-align:center;letter-spacing:.7px}
.dough-submit:hover{filter:brightness(1.12)}.dough-submit:disabled{opacity:.6}.dough-error{font-size:12px;line-height:1.7;color:#a73427;margin:12px 0 0}.dough-error:empty,.dough-status:empty{display:none}.dough-status{margin:14px 0 0;text-align:center;font-size:11px;color:#8c7e6b}.dough-retry{text-decoration:underline;text-underline-offset:3px;color:#232b52}
.dough-receipt{padding:20px 0 6px;text-align:center}.dough-receipt-mark{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 18px;background:#e8d1a8;border:1px solid #d1b27f;border-radius:50%;font-size:27px}.dough-receipt h3{font-size:17px}.dough-receipt p{font-size:12px;line-height:1.8}.dough-receipt-email{overflow-wrap:anywhere}.dough-receipt .dough-submit{margin-top:24px}
@media(max-width:780px){.dough-poster-surface{--poster-height:360px}}
@media(max-width:360px){.dough-poster-surface{--poster-height:300px}.dough-application-body{padding:20px 18px}.dough-application-header{padding-left:18px}}
@media(prefers-reduced-motion:reduce){.dough-apply{transition:none}}

/* Reading-first posts: text and media share a card instead of competing for
   a full screen. CP receives the real smaller root, so image interactions keep
   their source-relative coordinates. Video stays inline in the same post. */
.social-home{max-width:620px;margin-inline:auto;background:#fff}
.social-posts{padding:12px 12px 24px;display:grid;gap:12px}
.social-post{min-width:0;padding:16px;background:#fff;border:1px solid var(--social-line);border-radius:18px}
.social-post-header{padding:0 0 12px;gap:12px}
.social-author .user-avatar{width:36px;height:36px}
.social-author strong{font-size:13px}
.social-author small{font-size:10px}
.social-kind{font-size:9px;border:0;background:#ffffff;color:#737373}
.social-post-content{min-width:0;display:flex;flex-direction:column;gap:14px}
.social-post-copy{padding:0}
.social-caption,.social-text-post .social-caption{font-size:15px;line-height:1.7;letter-spacing:.05px;color:#2d2d2d;-webkit-line-clamp:4}
.social-caption.expanded{display:block}
.social-text-post .social-post-copy{padding:0;background:#fff;border-radius:0}
.social-expand{padding:7px 0 0;font-size:12px!important;color:#686868!important}
.social-post-media{min-width:0}
.social-post-media .asset-content-surface:not([data-expanded=true]){border-radius:12px}
.social-carousel{background:transparent}
.social-carousel-frame>img{height:min(300px,40dvh);border-radius:12px}
.social-post-actions{gap:22px;margin-top:15px;padding-top:11px;border-top:1px solid #ececec}
.social-reaction{font-size:12px!important;min-height:32px}
.social-reaction>.social-icon{width:21px;height:21px}
.social-card-end{font-size:9px;letter-spacing:0}
.social-detail-body>.social-post{background:transparent;border-radius:0}
.social-post-link{cursor:pointer}
.social-post-link:focus-visible{outline:2px solid #f65398;outline-offset:3px}
.social-post-open{padding:6px 0 6px 12px;font-size:11px!important;color:#686868!important;letter-spacing:0}
.social-post-open:hover{text-decoration:underline;text-underline-offset:3px}
.social-post-detail:not([hidden]){display:flex;flex-direction:column;overflow:hidden}
.social-post-detail>.social-header{flex:none}
.social-post-detail>.social-detail-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-bottom:24px}
/* The trusted native post viewport reaches the bottom edge. Keep only a short
   home-indicator gap here; creation dialogs still use the full --safe-bottom. */
.social-post-detail>.social-comment-form,.social-comment-dock{flex:none;display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:0;padding:8px 14px clamp(8px,var(--safe-bottom,0px),16px);border-top:1px solid var(--social-line);background:var(--social-paper)}
.social-comment-reactions{display:flex;flex:none;align-items:center;align-self:center}.social-comment-reactions[hidden]{display:none}.social-comment-reactions>.social-post-like{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:44px;min-height:44px;padding:0 3px;border:0;border-radius:22px;background:transparent;font-size:12px!important;white-space:nowrap}.social-comment-reactions .social-icon{width:22px;height:22px}.social-comment-reactions>.social-post-like:focus-visible{outline:2px solid #f65398;outline-offset:2px}
.social-detail-content-slot{position:relative;min-width:0}
.social-detail-content-slot>.social-post{padding:0;border:0;background:transparent;border-radius:0}
.social-inline-candidate{position:absolute!important;top:0;left:0;width:100%;height:100%;overflow:hidden;contain:layout paint;opacity:0;visibility:hidden;pointer-events:none}
.social-hot-creations{display:flex;flex:0 0 76px;flex-wrap:nowrap;align-items:center;gap:20px;box-sizing:border-box;height:76px;min-height:76px;max-height:76px;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;touch-action:pan-x pan-y;scrollbar-width:none;scroll-padding-inline:16px;-webkit-overflow-scrolling:touch;padding:14px calc(22px + var(--safe-right,0px)) 9px calc(16px + var(--safe-left,0px));margin:0;border-top:1px solid var(--social-line);background:var(--social-paper);user-select:none;-webkit-user-select:none}
.social-hot-creations[data-elastic-enabled=true]{touch-action:pan-y}
.social-hot-creations>.social-hot-creation-item{transform:translate3d(var(--revise-rail-shift,0px),0,0);transition:transform .38s cubic-bezier(.2,.85,.25,1.12)}
.social-hot-creations[data-elastic-dragging=true]>.social-hot-creation-item{transition:none}
@media(prefers-reduced-motion:reduce){.social-hot-creations>.social-hot-creation-item{transition:none}}
.social-hot-creations[hidden],.social-hot-creations-status[hidden]{display:none}.social-hot-creations::-webkit-scrollbar{display:none}
.social-hot-creation-item{position:relative;flex:none;width:52px;height:52px}
.social-hot-creation{position:relative;flex:none;display:grid;place-items:center;width:52px;height:52px;border:1px solid #d8d8d8;border-radius:16px;background:linear-gradient(145deg,#ffffffd9,#ffffff);color:var(--social-ink);box-shadow:0 3px 10px #28282808;transition:box-shadow .16s,transform .16s,border-color .16s}
.social-hot-creation-like{position:absolute;z-index:2;top:-14px;right:-12px;display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0;border:0;border-radius:999px;background:transparent;color:#797979!important;font-size:10px!important;font-weight:650!important;line-height:1;white-space:nowrap;touch-action:manipulation;cursor:pointer}
.social-hot-creation-like-badge{display:flex;align-items:center;justify-content:center;gap:3px;box-sizing:border-box;min-width:36px;min-height:26px;padding:3px 6px;border:1px solid #dedede;border-radius:999px;background:#fffffff5;box-shadow:0 2px 7px #3434341a;pointer-events:none}
.social-hot-creation-like .social-icon{width:11px;height:11px}.social-hot-creation-like[aria-pressed=true]{color:var(--social-accent-strong)!important}.social-hot-creation-like[aria-pressed=true] .social-hot-creation-like-badge{background:#fff1f2;border-color:#dbdbdb}.social-hot-creation-like[aria-pressed=true] svg{fill:#ba61702b}.social-hot-creation-like:active .social-hot-creation-like-badge{transform:scale(.94)}.social-hot-creation-like:disabled{opacity:.65}.social-hot-creation-like:focus-visible{outline:2px solid #797979;outline-offset:2px}
.social-post-detail>.social-hot-creations:not([hidden])~.social-comment-form{border-top:0;padding-top:5px}
.social-hot-creation-icon{font-size:28px;line-height:1}.social-hot-creation[aria-pressed=true]{border:2px solid var(--social-accent);box-shadow:none}.social-hot-creation:active{transform:scale(.94)}
.social-hot-creation:focus-visible{outline:2px solid var(--social-accent);outline-offset:-2px;box-shadow:none}.social-hot-creation[aria-busy=true]:after{content:'';position:absolute;inset:0;border:2px solid transparent;border-top-color:var(--social-accent);border-radius:15px;animation:social-hot-spin .8s linear infinite}
.social-hot-creations-status{position:relative;z-index:3;flex:0 0 30px;box-sizing:border-box;align-self:center;height:30px;min-height:30px;max-height:30px;max-width:calc(100% - 32px);margin:-30px 16px 0;padding:6px 12px;transform:translateY(-76px);font-size:11px;color:var(--social-muted);line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-radius:999px;background:#fffffff5;box-shadow:0 2px 10px #28282810;pointer-events:none}
/* Community creations share the Revise rail, floating above the main menu. */
.social-community-header{display:flex;align-items:center;gap:10px;min-width:0;padding-left:14px;padding-right:14px;overflow:hidden}
.social-community-heading{position:sticky;top:0;z-index:3;background:#fffffff2;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid #d9d9d990}
.social-community-heading .social-community-header{position:relative;border-bottom:0;background:transparent}
.social-community-subtopics{display:flex;align-items:center;gap:8px;min-width:0;min-height:44px;padding:0 16px 10px;overflow-x:auto;white-space:nowrap;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y}
.social-community-subtopics::-webkit-scrollbar{display:none}
.social-community-subtopics .social-community-subtopic{flex:none;padding:6px 13px;min-height:30px;border:1px solid transparent;border-radius:18px;background:transparent;color:#7a7a7a;font-size:12px;font-weight:500;line-height:16px;white-space:nowrap;transition:border-color .18s ease,color .18s ease}
.social-community-subtopics .social-community-subtopic[aria-pressed=true]{border-color:var(--social-accent);color:var(--social-accent)}
.social-community-subtopic:focus-visible{outline:2px solid var(--social-accent);outline-offset:1px}
.social-community-creations[data-has-more=true]{max-width:calc(100% - 58px)}
.social-community-dock .social-community-all{position:absolute;right:10px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:52px;padding:0;border:1px solid #ffffffde;border-radius:18px;background:#ffffffe6;color:var(--social-accent);box-shadow:-8px 0 14px #f4f4f4b8,0 2px 10px #2f2f2f0d;cursor:pointer}
.social-community-all .social-icon{width:21px;height:21px}
.social-community-all:focus-visible{outline:2px solid var(--social-accent);outline-offset:1px}
.social-community-header .social-wordmark{flex:none;width:32px;min-width:32px;padding:0}
.social-community-header .social-wordmark strong,.social-community-header .social-wordmark small{display:none}
.social-community-header{display:grid;grid-template-columns:var(--community-side-width,36px) minmax(0,1fr) var(--community-side-width,36px);gap:10px}
.social-community-header[data-topic-actions="2"]{--community-side-width:76px}
.social-community-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px}
.social-community-topics{position:relative;display:flex;align-items:center;flex:1;min-width:0;gap:22px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch;scroll-padding-inline:10px}
.social-community-topics::-webkit-scrollbar{display:none}
.social-community-topics>.social-community-topic:first-child{margin-left:auto}
.social-community-topics>.social-community-topic:last-child{margin-right:auto}
.social-community-topics .social-community-topic{position:relative;flex:none;min-height:48px;padding:10px 0 12px;border:0;border-radius:0;background:transparent;color:#828282;font-size:16px;font-weight:500;white-space:nowrap}
.social-community-topics .social-community-topic[aria-pressed=true]{color:var(--social-accent-strong);font-weight:750}
.social-community-topic[aria-pressed=true]::after{content:"";position:absolute;bottom:4px;left:calc(50% - 10px);width:20px;height:3px;border-radius:4px;background:var(--social-accent)}
.social-community-header .social-community-add{flex:none;width:36px;height:36px;min-height:36px;display:grid;place-items:center;border:1px solid transparent;border-radius:50%;padding:0;background:transparent;color:#7a7a7a;font-size:25px;font-weight:400;line-height:1;transition:border-color .18s ease,color .18s ease}
.social-community-header .social-community-add[aria-expanded=true],.social-community-header .social-community-add:active:not(:disabled),.social-community-header .social-community-add:focus-visible{border-color:var(--social-accent);color:var(--social-accent)}
.social-community-add:disabled{opacity:.45}
.social-community-header .social-community-refresh{flex:none;display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:0;border:1px solid transparent;border-radius:50%;background:transparent;color:var(--social-accent)}
.social-community-refresh .social-icon{width:19px;height:19px}
.social-community-refresh[aria-busy=true] .social-icon{animation:community-refresh-spin .85s linear infinite}
.social-community-refresh:focus-visible{outline:2px solid var(--social-accent);outline-offset:2px}
.social-community-update-status{margin:0;padding:0 16px 8px;font-size:12px;line-height:1.5;color:#777}
.social-community-update-status[hidden]{display:none}
@keyframes community-refresh-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.social-community-refresh[aria-busy=true] .social-icon{animation:none}}
.social-community-topic:focus-visible{outline:2px solid var(--social-accent);outline-offset:-2px;border-radius:8px}.social-community-add:focus-visible{outline:none}
.social-community-feed{padding-bottom:0}.social-community-surface[data-has-creations=true] .social-community-feed{padding-bottom:100px}
.social-community-dock{position:absolute;z-index:10;left:max(16px,var(--safe-left));right:max(16px,var(--safe-right));bottom:calc(var(--social-nav-height) + 8px);max-width:420px;margin-inline:auto;border:1px solid #ffffffc2;border-radius:28px;background:linear-gradient(145deg,#ffffffe0,#ffffff80);box-shadow:0 8px 30px #22222218,inset 0 1px 0 #fff;-webkit-backdrop-filter:blur(24px) saturate(155%);backdrop-filter:blur(24px) saturate(155%);color:var(--social-ink);overflow:hidden}
.social-community-dock[hidden]{display:none!important}
.app-shell[data-social-overlay=true] .social-community-dock:not([data-detail=true][data-interactive=true]),.app-shell:is([data-profile=true],[data-upload=true]) .social-community-dock{visibility:hidden;pointer-events:none}
.social-community-dock[data-detail=true]{position:absolute;z-index:18;bottom:max(10px,var(--safe-bottom,0px));border-radius:24px}
.social-community-dock[data-detail=true][data-has-composer=true]{bottom:var(--community-menu-bottom,72px)}
.social-community-cardset{position:relative;display:flex;flex:none;align-items:center;gap:20px;min-width:52px;height:52px;transform:translate3d(var(--revise-rail-shift,0px),0,0);transition:transform .38s cubic-bezier(.2,.85,.25,1.12)}
.social-community-cardset[data-expanded=true]{gap:14px}
.social-community-revise{animation:community-card-unfold .2s ease-out}
.social-community-collapse{display:grid;place-items:center;flex:none;width:28px;height:36px;padding:0;border:0;border-radius:14px;background:transparent;color:var(--social-muted);cursor:pointer}
.social-community-collapse .social-icon{width:15px;height:15px}
.social-community-collapse:focus-visible{outline:2px solid var(--social-accent);outline-offset:-2px}
.social-community-creations[data-elastic-dragging=true]>.social-community-cardset{transition:none}
.social-community-dock>.social-community-menu-status{position:absolute;inset:0 auto auto 0;width:1px;min-width:0;max-width:1px;height:1px;min-height:1px;max-height:1px;margin:0;padding:0;overflow:hidden;clip-path:inset(50%);transform:none;border:0;pointer-events:none}
@keyframes community-card-unfold{from{opacity:0;transform:translateX(-10px) scale(.92)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.social-community-cardset{transition:none}.social-community-revise{animation:none}}
.social-community-dock .social-community-creations{height:84px;min-height:84px;max-height:84px;padding:17px 26px 13px 16px;border:0;border-radius:27px;background:transparent}
.social-community-dock .social-hot-creation{padding:0;cursor:pointer;font:inherit}
.social-community-creation-count .social-hot-creation-like-badge{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffe6}
.social-community-creations-empty{flex:1;min-width:0;text-align:center;font-size:12px;color:#717171;line-height:1.5;white-space:nowrap}
.social-community-retry{flex:none;min-height:34px;padding:7px 12px;border:1px solid #cecece;border-radius:999px;background:#ffffffb8;color:#434343;font:inherit;font-size:12px;cursor:pointer}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.social-community-dock{background:#fffffff5}}
.social-video-inline-content{position:absolute;inset:0;z-index:5;overflow-y:auto;overscroll-behavior:contain;background:var(--social-paper);color:var(--social-ink);padding-top:12px;touch-action:pan-y}
.social-video-inline-content[hidden]{display:none}
.social-video-inline-content[data-preloading=true]{opacity:0;pointer-events:none}
.social-inline-topbar{position:sticky!important;top:0}.social-inline-topbar>.social-post-header{padding:10px 14px!important;min-height:62px;gap:8px}
.social-video-detail .social-video-inline-content:not([hidden]){display:block;overflow-y:auto}
.social-video-inline-content:has(>.social-inline-candidate:only-child){opacity:0;pointer-events:none}
.social-video-content-selected .social-video-stage>.social-video-layer,.social-video-content-selected .social-video-stage>.social-video-copy{opacity:0!important;visibility:hidden;pointer-events:none}
.social-video-content-selected:not(.video-comments-open) .social-video-stage>.social-video-actions{z-index:6;bottom:18px;padding:12px 10px;border:1px solid var(--social-line);border-radius:22px;background:#ffffffe8;backdrop-filter:blur(14px)}
.social-video-content-selected .social-video-actions .social-reaction{color:var(--social-ink)!important;text-shadow:none}.social-video-content-selected .social-video-actions .social-icon{filter:none}
@keyframes social-hot-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.social-hot-creation{transition:none}.social-hot-creation[aria-busy=true]:after{animation:none}}
.social-comment-field{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;flex:1;min-width:0;border:1px solid #d4d4d4;border-radius:23px;background:#ffffff}
.social-comment-field:focus-within{border-color:var(--social-accent);box-shadow:0 0 0 2px #79797918}
.social-post-detail>.social-comment-form textarea{display:block;width:100%;min-width:0;min-height:44px;max-height:140px;font-size:16px;line-height:24px;padding:10px 0 10px 13px;resize:none;border:0;outline:0;border-radius:23px;background:transparent;overflow-y:hidden;overscroll-behavior:contain}
.social-comment-field[data-recipient=timi]{border-color:#a7a7a7;background:#fefbfc}
.social-comment-field[data-recipient=timi] textarea{text-indent:58px}
.social-comment-recipient{position:absolute;left:12px;top:11px;display:inline-flex;align-items:center;height:23px;padding:0 6px;border-radius:6px;background:#f2e0e5;color:var(--social-accent-strong);font-size:12px;font-weight:650;line-height:1;pointer-events:none;user-select:none}
.social-comment-recipient[hidden]{display:none}
.social-comment-creation-status{position:absolute;left:10px;right:10px;top:8px;display:flex;align-items:center;gap:2px;width:fit-content;max-width:calc(100% - 20px);height:28px;padding:0 3px 0 8px;border-radius:8px;background:#f2e0e5;color:var(--social-accent-strong);font-size:12px;font-weight:600;line-height:20px;user-select:none}
.social-comment-attachment-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.social-comment-creation-status .social-comment-remove-attachment{flex:none;display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:6px;background:transparent;color:#666666;font-size:19px;line-height:1}
.social-comment-remove-attachment:hover{background:#eaced5}
.social-comment-remove-attachment:focus-visible{outline:2px solid #f65398;outline-offset:1px}
.social-comment-creation-status[hidden]{display:none}
.social-post-detail>.social-comment-form .social-comment-field[data-creation-status=true] textarea{padding-top:42px;min-height:76px}
.social-comment-form .social-comment-send{flex:none;min-height:32px;padding:7px 10px;border-radius:17px;font-size:12px!important;line-height:18px;white-space:nowrap}
.social-comment-send[hidden]{display:none!important}
.social-comment-form :is(.social-comment-timi,.social-comment-choose-app){flex:none;display:grid;place-items:center;width:32px;height:32px;min-height:32px;padding:5px;border:0;border-radius:50%;background:transparent;color:#6a6a6a}
.social-comment-form :is(.social-comment-timi,.social-comment-choose-app) svg{display:block;width:22px;height:22px;pointer-events:none}
.social-comment-form :is(.social-comment-timi,.social-comment-choose-app):hover{background:#f0dbe1}
.social-comment-timi:focus-visible{outline:2px solid #f65398;outline-offset:3px}
.social-comment-timi[aria-pressed=true]{border-color:#979797;background:#f0dbe1;color:var(--social-accent-strong)}
.social-comment-actions{display:flex;align-items:center;align-self:end;gap:2px;padding:6px 6px 6px 4px}
.social-comment-choose-app:focus-visible{outline:2px solid #f65398;outline-offset:3px}
.social-timi-comment-text{margin:0 0 9px;white-space:pre-wrap;overflow-wrap:anywhere}
.social-comment-feedback{flex-basis:100%;margin:0;font-size:12px;line-height:1.6;color:#6c6c6c;overflow-wrap:anywhere}
.social-comment-feedback[hidden]{display:none}
.social-comment-form button:disabled{opacity:.5;cursor:default}
.social-comments{margin-top:24px;padding-top:22px;border-top:1px solid var(--social-line);scroll-margin-top:16px}
.social-comments-heading{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:16px;font-weight:650}
.social-comments-total{font-size:12px;font-weight:400;color:var(--social-muted)}
.social-comments-list>.social-empty{padding:24px 12px}
.social-comments-list>.social-empty>span{display:none}
.social-comments-list>.social-empty h2{font-size:13px;margin-top:4px}
.social-comments-status{font-size:13px;color:var(--social-muted);line-height:1.8}
.social-comments-retry{font-size:12px!important;color:#4e4e4e!important;text-decoration:underline;text-underline-offset:3px}
.social-app-comment>div{flex:1;min-width:0}
.social-timi-creator{padding:0;margin:0 0 8px;font-size:12px!important;font-weight:650;color:var(--social-ink);text-align:left}
.social-timi-app-card{display:flex;align-items:center;gap:11px;width:100%;max-width:360px;padding:13px;border:1px solid #d9d9d9;border-radius:14px;background:linear-gradient(135deg,#ffffff,#fff);text-align:left;box-shadow:0 3px 12px #2c2c2c06;transition:border-color .15s,transform .15s}
.social-timi-app-card:hover{border-color:#a0a0a0;transform:translateY(-1px)}
.social-timi-app-card:focus-visible{outline:2px solid #f65398;outline-offset:3px}
.social-timi-app-icon{flex:none;display:grid;place-items:center;width:42px;height:42px;border:1px solid #dddddd;border-radius:12px;background:#fff;font-size:24px}
.social-timi-app-card>span:nth-child(2){flex:1;min-width:0;display:grid;gap:5px}
.social-timi-app-card strong{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.social-timi-app-card small{font-size:10px;color:#707070}
.social-timi-app-arrow{font-size:21px;color:#6a6a6a}
.social-timi-app-description{margin:8px 0 0!important;font-size:12px!important;line-height:1.7;color:#6f6f6f}
.social-timi-app-overlay{position:absolute;inset:0;z-index:5;display:flex;flex-direction:column;overflow:auto;background:var(--social-paper);overscroll-behavior:contain}
.social-timi-app-overlay>.social-header{flex:none;position:sticky;top:0;z-index:2;background:var(--social-paper)}
.social-timi-app-note{flex:none;margin:0;padding:10px 20px 16px;font-size:11px;color:var(--social-muted)}
.social-timi-app-surface{position:relative;min-width:0;padding-bottom:var(--safe-bottom);margin:auto 0}
.social-timi-app-surface>.social-comments-status{padding:20px}
.social-timi-app-surface>.social-button{margin:0 20px 20px}
.social-timi-mode-note{flex-basis:100%;margin:0;font-size:10px;line-height:1.5;color:#6e6e6e}
 .social-timi-mode-note[hidden],.social-timi-creation-progress[hidden]{display:none}
.social-timi-creation-progress{display:flex;align-items:center;gap:8px;justify-content:space-between;flex-basis:100%;color:#6d6d6d;font-size:11px;line-height:1.6}
.social-timi-creation-progress>span{min-width:0}
.social-timi-chat-link{flex:none;padding:4px 0;font-size:11px!important;color:#4c4c4c;text-decoration:underline;text-underline-offset:3px}
.social-timi-retry{grid-column:1/-1;justify-self:start;border:0;border-radius:12px;padding:7px 12px;background:#ffffff;color:#4c4c4c;font:inherit;font-size:12px;cursor:pointer}
.social-timi-retry[hidden]{display:none}
.social-app-comment[data-preview=true] .social-timi-app-card{border-style:dashed;background:#ffffff;box-shadow:none}
@media(prefers-reduced-motion:reduce){.social-timi-app-card{transition:none}}

/* Discovery uses compact, media-first cards. Authored projects run in detail,
   keeping the two-column feed light and every cover a clear entry point. */
.social-discovery-header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);min-height:60px;padding:calc(9px + var(--safe-top)) 16px 9px;background:#fffffff5;border-bottom:0;gap:12px}
.social-discovery-header .social-wordmark{grid-column:1;justify-self:start;gap:6px}.social-discovery-header .social-wordmark strong{font-size:20px;letter-spacing:-.6px}.social-discovery-header .social-brand-mark{width:30px;height:30px}.social-discovery-header .social-wordmark small{display:none}
.social-discovery-header .social-filters{grid-column:2;justify-self:center;align-self:stretch;align-items:center;gap:25px;margin:0;border:0;padding:0 2px}
.social-discovery-header .social-filters button{position:relative;min-height:40px;padding:8px 0;border:0;font-size:15px;font-weight:500;letter-spacing:.02em;color:#858585}
.social-discovery-header .social-filters button[aria-pressed=true]{color:var(--social-accent-strong);font-weight:700}.social-discovery-header .social-filters button[aria-pressed=true]:after{content:'';position:absolute;bottom:1px;left:50%;width:19px;height:3px;transform:translateX(-50%);border-radius:4px;background:var(--social-accent)}
.social-home{max-width:620px;background:#fff;min-height:calc(100% - 60px)}
.social-discovery-grid{--masonry-gap:10px;display:block;columns:2;column-gap:10px;padding:6px 10px 24px}
.social-discovery-grid.social-masonry{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1px;grid-auto-flow:row;align-items:start;row-gap:0}
.social-discovery-grid>.social-empty{grid-column:1/-1;column-span:all;padding:70px 20px}
.social-discovery-grid .social-feed-card,.timi-drafts-grid .social-feed-card{display:inline-flex;vertical-align:top;break-inside:avoid;flex-direction:column;align-self:start;width:100%;min-width:0;margin:0 0 var(--masonry-gap);padding:0;overflow:hidden;border:0;border-radius:12px;background:#fff;box-shadow:0 1px 2px #2f2f2f04;outline-offset:2px}
.social-discovery-grid.social-masonry .social-feed-card{margin:0}
.social-feed-card:focus-visible{outline:2px solid #f65398}.social-feed-card .social-feed-cover{position:relative;display:block;flex:none;width:100%;min-width:0;aspect-ratio:4/5;margin:0;padding:0;border:0;border-radius:0;background:#ffffff;overflow:hidden;text-align:left}
.social-feed-cover>img,.social-feed-cover>video{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%;pointer-events:none}
.social-feed-authored-cover{position:absolute;inset:0;display:block;overflow:hidden;pointer-events:none}
.social-feed-authored-cover .asset-content-cover,.social-feed-authored-cover .asset-content-slot,.social-feed-authored-cover .asset-content-surface,.social-feed-authored-cover .asset-content-stage{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;max-height:none!important;margin:0;padding:0;border:0;border-radius:0;background:transparent;aspect-ratio:auto!important}
.social-feed-authored-cover iframe{pointer-events:none!important}
/* Scale the whole captured creation, including its media and overlay, together. */
.social-feed-authored-cover .asset-content-cover .asset-static-creation{object-fit:cover;object-position:50% 50%}
.social-feed-cover:focus-visible{outline:3px solid #f65398;outline-offset:-3px}
.social-feed-badges{position:absolute;z-index:2;right:8px;top:8px;display:flex;gap:5px;pointer-events:none}
.social-feed-media-badge{display:grid;place-items:center;min-width:24px;height:24px;padding:4px;border:1px solid #ffffff55;border-radius:50%;background:#1c1c1c66;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:white;font-size:10px;line-height:1;pointer-events:none}
.social-feed-media-badge .social-icon{width:15px;height:15px}
.social-feed-video-badge svg{fill:currentColor;stroke-width:1.2}
.social-feed-media-badge.social-feed-creation-badge{border-radius:7px;background:#ffffffe6;box-shadow:0 1px 4px #21212114;color:#2a2a2a;font-size:17px;padding:3px;line-height:1;width:26px;min-width:26px;height:26px}
.social-discovery-header .social-search-button{grid-column:3;justify-self:end;width:40px;height:40px;padding:9px;border:0;border-radius:50%;background:transparent}
.social-search-button:focus-visible{outline:2px solid #f65398;outline-offset:2px}
.social-screen>.pull-to-refresh{--pull-refresh-top:calc(60px + var(--safe-top));z-index:8}
.app-shell:not([data-surface=home]) .pull-to-refresh,.app-shell[data-social-overlay=true] .pull-to-refresh{display:none}
.social-feed-card .social-feed-copy{min-width:0;padding:8px 9px 0}
.social-feed-card .social-feed-copy>.social-post-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0;font-family:inherit;font-size:13px;font-weight:650;line-height:1.45;letter-spacing:0;color:#2b2b2b}
.social-feed-card .social-feed-copy>.social-post-title+.social-caption{-webkit-line-clamp:1;margin-top:4px;font-size:11px;font-weight:400;line-height:1.5;color:#737373}
.social-feed-card .social-feed-copy>.social-caption{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0;color:#2b2b2b;font-size:13px;font-weight:600;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;letter-spacing:0}
.social-feed-card .social-feed-footer{display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:30px;padding:6px 7px 7px}
.social-feed-footer .social-author{flex:1;min-width:0;gap:4px;overflow:hidden}
.social-feed-footer .social-author>.user-avatar{flex:none;width:16px;height:16px;border:0;font-size:8px;background:#ffffff}
.social-feed-footer .social-author-name{flex:1;flex-wrap:nowrap;min-width:0;gap:4px;overflow:hidden}
.social-feed-footer .social-author-name>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:400;color:#6b6b6b}


.social-feed-footer .social-reaction[aria-pressed=true]{color:#f65398!important}
.social-feed-footer .social-feed-stats{display:flex;flex:none;align-items:center;gap:6px;padding:0}
.social-feed-stats>.social-reaction,.social-feed-stats>.social-feed-views{display:inline-flex;align-items:center;justify-content:center;gap:2px;min-width:0;min-height:18px;padding:0;font-size:9px!important;font-weight:400;line-height:1;color:#737373!important;white-space:nowrap;font-variant-numeric:tabular-nums}
.social-feed-stats .social-icon{flex:none;width:12px;height:12px}.social-feed-stats>.social-reaction[aria-pressed=true]{color:#f65398!important}
.social-feed-card .social-feed-text-cover{padding:0;background:#fff}
.social-feed-card.social-text-post:not(:has(.social-feed-cover)) .social-feed-copy{padding:12px 10px 2px}
.social-feed-card.social-text-post:not(:has(.social-feed-cover)) .social-feed-copy>.social-caption{-webkit-line-clamp:4}
.social-feed-text-cover>.social-feed-text{display:-webkit-box;-webkit-line-clamp:8;-webkit-box-orient:vertical;overflow:hidden;font-size:18px;font-weight:550;line-height:1.65;white-space:pre-wrap;color:#3c3c3c;overflow-wrap:anywhere}
.social-post-detail .social-detail-body{padding:0 0 24px;scrollbar-width:none}.social-post-detail .social-detail-body::-webkit-scrollbar{display:none}
.social-post-detail>.social-header{border-bottom:0}
.social-post-detail .social-post-content{gap:16px}.social-post-detail .social-post-content>.social-post-copy{padding-top:2px}.social-post-detail .social-caption{font-size:15px;line-height:1.8}
.social-post-detail .social-post-header{padding:0 calc(16px + var(--safe-right,0px)) 14px calc(16px + var(--safe-left,0px))}
.social-post-topbar{position:relative;z-index:3;flex:none;padding-top:var(--safe-top);background:#fffffff5;border-bottom:1px solid #e1e1e185;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
.social-post-detail>.social-post-topbar>.social-post-header{min-height:62px;margin:0;padding:10px calc(16px + var(--safe-right,0px)) 10px calc(16px + var(--safe-left,0px));gap:12px}
.social-post-detail .social-post-header .user-avatar,.social-post-detail .social-video-copy .social-author .user-avatar{border:0;box-shadow:none;background:transparent}
.social-post-topbar .social-author{min-width:0;flex:1}.social-post-topbar .social-author-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.social-post-topbar .social-author small{display:none}.social-post-topbar .social-revise-button{background:#f3e2e7;border:1px solid #d8d8d8;border-radius:999px;min-height:34px;padding:7px 12px}
.social-current-revise{flex:0 1 142px;min-width:0;max-width:42%;display:flex;align-items:center;gap:6px;padding:6px 8px;border:1px solid #d9d9d9;border-radius:14px;background:#ffffff;color:#515151;text-align:left;overflow:hidden}.social-current-revise-icon{flex:none;font-size:19px;line-height:1}.social-current-revise-copy{display:grid;gap:2px;min-width:0}.social-current-revise-copy>strong,.social-current-revise-copy>small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.social-current-revise-copy>strong{font-size:10px;font-weight:650}.social-current-revise-copy>small{font-size:9px;color:#727272}.social-current-revise:focus-visible{outline:2px solid #6c6c6c;outline-offset:2px}.social-post-topbar:has(.social-current-revise) .social-post-header{gap:7px}.social-post-topbar:has(.social-current-revise) .social-author{gap:6px;min-width:70px}.social-post-topbar:has(.social-current-revise) .social-author .user-avatar{width:30px;height:30px;flex:none}.social-post-topbar:has(.social-current-revise) .social-revise-button{padding:7px 9px;flex:none}
.social-detail-edge-back{position:absolute;left:0;top:0;bottom:0;width:18px;z-index:4;touch-action:pan-y;background:transparent}
.social-post-detail .social-post-content>.social-post-copy,.social-post-detail .social-post-actions,.social-post-detail .social-comments{margin-left:calc(16px + var(--safe-left,0px));margin-right:calc(16px + var(--safe-right,0px))}
.social-post-detail:not(.social-video-comments)>.social-detail-body>.social-post>.social-post-actions{padding:11px 0;border-top:1px solid var(--social-line);border-bottom:1px solid var(--social-line)}
.social-post-detail:not(.social-video-comments)>.social-detail-body>.social-comments{margin-top:0;padding-top:20px;border-top:0}
/* Authored CP surfaces retain their shared original/overlay coordinate space.
   Ordinary photo carousels display complete photographs inside a stable frame. */
.social-post-detail .social-post-media{width:100%;min-width:0;margin:0;padding:0}
.social-post-detail .social-post-media .asset-content-stack{display:flex;align-items:flex-start;gap:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none}
.social-post-detail .social-post-media .asset-content-stack::-webkit-scrollbar{display:none}
.social-post-detail .social-post-media .asset-content-slot{flex:0 0 100%;scroll-snap-align:start}
.social-post-detail .social-post-media .asset-content-surface:not([data-expanded=true]){width:100%;max-height:none;border-radius:0;border:0;background:transparent}
.social-post-detail .social-post-media .asset-content-slot:is([data-kind=image],[data-kind=video]) .asset-content-surface[data-source-ratio]:not([data-expanded=true]){height:auto;aspect-ratio:var(--asset-source-ratio)}
.social-post-detail .social-post-media .asset-content-surface:not([data-expanded=true])>.asset-content-stage{position:absolute;inset:0;width:100%;height:100%}
.social-post-detail .social-post-media .asset-content-slot>.asset-video-controls{padding-inline:calc(12px + var(--safe-left,0px)) calc(12px + var(--safe-right,0px))}
.social-post-detail .social-carousel,.social-post-detail .social-carousel-frame>img,.social-post-detail .social-inline-video{border-radius:0}
.social-post-detail .social-carousel{align-items:flex-start;background:transparent}
.social-post-detail .social-carousel-frame>img,.social-post-detail .social-inline-video,.social-post-detail .asset-original-image,.social-post-detail .asset-original-video{display:block;height:auto;max-height:none;width:100%;object-fit:contain;background:transparent}
/* One device-sized frame for every photo: no slide-dependent layout shifts.
   Portraits may leave side margins; landscapes may leave top/bottom margins. */
.social-post-detail .social-carousel{width:100%;aspect-ratio:4/5;max-height:min(560px,65svh);overflow-y:hidden;background:#fff}
.social-post-detail .social-carousel[data-photo-sized=true]{align-items:stretch}
.social-post-detail .social-carousel[data-photo-sized=true]>.social-carousel-frame{height:100%;min-height:0;overflow:hidden}
.social-post-detail .social-carousel[data-photo-sized=true]>.social-carousel-frame>img{width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center}
.social-post-creation{min-width:0}.social-post-creation:empty{display:none}.social-post-detail .social-text-post .social-post-copy{padding:0;background:transparent;border-radius:0}.social-feed-text[hidden]{display:none!important}
@media(max-width:360px){.social-discovery-header{padding-left:12px;padding-right:12px}.social-discovery-header .social-filters{gap:19px}.social-discovery-grid{--masonry-gap:10px;column-gap:8px;padding-left:8px;padding-right:8px}.social-feed-card .social-feed-copy{padding:8px 8px 0}.social-feed-card .social-feed-footer{padding:7px 8px 9px}.social-feed-footer .social-author-name>strong{font-size:9px}.social-feed-card .social-feed-copy>.social-caption{font-size:12px}.social-feed-text-cover>.social-feed-text{font-size:16px}}

.social-composer .social-compose-title{display:block;flex:none;box-sizing:border-box;width:100%;min-width:0;margin:0 0 14px;padding:0;border:0;border-radius:0;outline:none;background:transparent;color:#292929;font:inherit;font-size:16px;font-weight:700;line-height:1.5}.social-compose-title::placeholder{color:#9a9a9a;font-weight:500}.social-compose-title:focus-visible{outline:2px solid #bfbfbf;outline-offset:6px;border-radius:6px}

/* One platform-owned title poster for text posts, including native WebViews.
   Container units scale typography only; no observers, transforms or reflow loop. */
.text-post-poster{position:relative;isolation:isolate;display:flex;align-items:center;box-sizing:border-box;width:100%;height:100%;aspect-ratio:4/5;container-type:inline-size;padding:0;overflow:hidden;background:linear-gradient(145deg,#fff,#f6f6f6);color:var(--social-ink);text-align:left}
.text-post-poster::before{content:"";position:absolute;top:9%;left:11%;width:15%;height:1.3%;border-radius:99px;background:var(--social-accent)}
.text-post-poster::after{content:"";position:absolute;right:11%;bottom:9%;width:21%;height:1px;background:#dcdcdc}
.text-post-poster>.text-post-poster-title{display:block;position:relative;flex:none;width:78%;margin:0 11%!important;padding:0;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif!important;font-size:12cqw!important;font-weight:720!important;line-height:1.32!important;letter-spacing:-.025em;white-space:normal;overflow-wrap:anywhere;word-break:normal;text-wrap:pretty;color:inherit;-webkit-line-clamp:unset;overflow:visible}
.text-post-poster[data-density=medium]>.text-post-poster-title{font-size:9.3cqw!important}
.text-post-poster[data-density=long]>.text-post-poster-title{font-size:7.4cqw!important}
.text-post-poster[data-density=dense]>.text-post-poster-title{font-size:5.8cqw!important}
.social-feed-default-poster .text-post-poster{pointer-events:none}
.social-feed-card:has(.social-feed-default-poster) .social-feed-copy>.social-caption{font-size:11px;font-weight:400;line-height:1.5;color:#737373;-webkit-line-clamp:1}
.social-post-copy>.text-post-poster{height:auto;max-width:480px;margin:0 auto 20px;border-radius:14px}
.program-cover-text-poster{position:absolute;inset:0;display:block;overflow:hidden;pointer-events:none}
.program-cover-text-poster>.text-post-poster{height:100%;aspect-ratio:auto}

/* Video posts open a dedicated viewer. The active project and comments are
   sibling regions, so reading or writing comments never covers the video. */
.social-video-detail:not([hidden]){display:grid;grid-template-rows:minmax(0,1fr);overflow:hidden;background:#0b0b0b;color:#fff;touch-action:pan-y;isolation:isolate}
.social-video-stage{position:relative;min-width:0;min-height:0;overflow:hidden;background:#0b0b0b}
.social-video-edge-back{position:absolute;z-index:6;inset:0 auto 0 0;width:24px;touch-action:pan-y;background:transparent}
.social-video-description{padding:0 16px 18px;border-bottom:1px solid var(--social-line)}
.social-video-layer[data-video-active=false]{opacity:0;visibility:hidden;pointer-events:none;z-index:0}
/* Iframe visibility is managed by CP and can be explicitly visible. Parent
   opacity cannot be overridden by a descendant, unlike visibility alone. */
.social-video-layer{position:absolute;inset:0;overflow:hidden;background:#0b0b0b;isolation:isolate}
.social-video-layer[data-video-active=true]{opacity:1;z-index:1}
.social-video-poster{display:block;width:100%;height:100%;object-fit:contain}
.social-video-layer>.asset-content-stack,.social-video-layer .asset-content-slot{width:100%;height:100%;min-height:0;display:block}
.social-video-layer .asset-content-surface:not([data-expanded=true]){width:100%;height:100%;max-width:none;aspect-ratio:auto;border-radius:0;background:transparent;container-type:size}
.social-video-layer .asset-content-surface:not([data-expanded=true])>.asset-content-stage{position:absolute;inset:0;width:100%;height:100%}
.social-video-layer .asset-content-surface[data-source-ratio]:not([data-expanded=true])>.asset-content-stage{inset:auto;left:50%;top:50%;width:max(100%,calc(100cqh * var(--asset-source-ratio)));height:max(100%,calc(100cqw / var(--asset-source-ratio)));transform:translate(-50%,-50%)}
.social-video-layer .asset-original-video{width:100%;height:100%;object-fit:contain}
.social-video-copy{position:absolute;z-index:2;left:calc(16px + var(--safe-left,0px));right:78px;bottom:calc(40px + var(--safe-bottom,0px));min-width:0;text-shadow:0 1px 5px #000b}
.social-video-copy:before{content:'';position:absolute;z-index:-1;pointer-events:none;left:calc(-16px - var(--safe-left,0px));right:-78px;bottom:calc(-40px - var(--safe-bottom,0px));height:calc(100% + 80px);background:linear-gradient(transparent,#0009)}
.social-video-copy>.social-author{max-width:100%;gap:8px;margin:0 0 9px;background:transparent;border:0;color:#fff;font-size:13px;text-shadow:inherit}
.social-video-copy>.social-author .user-avatar{flex:none;width:30px;height:30px;border:1px solid #fff6}
.social-video-copy>.social-author>span:last-child{display:block;min-width:0;overflow:hidden}
.social-video-copy .social-author-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.social-video-copy .social-author-name>strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal}
.social-video-copy>.social-author small{display:none}
.social-video-copy>.social-author>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.social-video-copy>.social-post-title{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;overflow-wrap:normal;font-size:16px;line-height:1.45;margin:0 0 5px;color:#fff}
.social-video-caption{display:flex;align-items:baseline;min-width:0;overflow:hidden;white-space:nowrap;font-size:12px;line-height:1.6;margin:0;color:#ffffffe0}
.social-video-caption-text,.social-video-caption.expanded .social-video-caption-text{display:block;flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.social-video-caption .social-video-more{display:inline;flex:none;border:0;background:transparent;margin:0;padding:0 0 0 4px;color:#ffffff8c;font:inherit;line-height:inherit;text-shadow:inherit;vertical-align:baseline;white-space:nowrap}
.social-video-more[hidden]{display:none}
.social-video-actions{position:absolute;z-index:3;right:calc(14px + var(--safe-right,0px));bottom:calc(58px + var(--safe-bottom,0px));display:flex;flex-direction:column;gap:20px}
.social-video-actions .social-reaction{display:flex;flex-direction:column;gap:5px;border:0;background:transparent;color:#fff!important;text-shadow:0 1px 4px #0009;font-size:11px!important;min-width:34px;padding:0}
.social-video-actions .social-icon{width:27px;height:27px;filter:drop-shadow(0 1px 2px #0006)}
.social-video-actions .social-reaction[aria-pressed=true]{color:#ff707f!important}
.social-video-layer .asset-content-slot>.asset-video-controls{position:absolute;z-index:3;bottom:calc(9px + var(--safe-bottom,0px));left:16px;right:16px;height:24px;padding:0;color:white}
.social-video-layer .asset-content-slot>.asset-video-controls .asset-video-progress{background:linear-gradient(to right,#fff var(--progress,0%),#ffffff50 var(--progress,0%));accent-color:white}
.social-video-layer .asset-video-progress::-webkit-slider-thumb{background:#fff}
.social-video-layer .asset-video-message{bottom:34px;left:0}
/* A keyboard only changes this platform-owned split layout. Authored expanded
   canvases retain their existing stable design size and scale rules. */
.social-video-detail.video-comments-open{bottom:0;padding-bottom:var(--video-comments-keyboard-inset,0px);grid-template-rows:minmax(0,calc((100 - var(--video-comments-fraction,58)) * 1%)) minmax(0,calc(var(--video-comments-fraction,58) * 1%))}
.social-video-detail.video-comments-open .social-video-layer .asset-content-surface[data-source-ratio]:not([data-expanded=true])>.asset-content-stage{width:calc((max(100%,calc(100cqh * var(--asset-source-ratio))) * (58 - var(--video-comments-fraction,58)) + min(100%,calc(100cqh * var(--asset-source-ratio))) * var(--video-comments-fraction,58)) / 58);height:calc((max(100%,calc(100cqw / var(--asset-source-ratio))) * (58 - var(--video-comments-fraction,58)) + min(100%,calc(100cqw / var(--asset-source-ratio))) * var(--video-comments-fraction,58)) / 58)}
.social-video-detail.video-comments-open .social-video-copy,.social-video-detail.video-comments-open .social-video-actions{display:none}
.social-video-detail.video-comments-open .asset-video-progress{display:none}
.social-video-detail.video-comments-open .social-video-layer .asset-content-slot>.asset-video-controls{height:0;bottom:0}
.social-video-comments:not([hidden]){position:relative;z-index:auto;inset:auto;display:flex;flex-direction:column;min-width:0;min-height:0;height:auto;border-radius:24px 24px 0 0;overflow:hidden;background:var(--social-paper);color:var(--social-ink);border-top:1px solid var(--social-line);touch-action:pan-y}
.social-video-comments>.social-header{position:relative;justify-content:space-between;padding:17px 16px 9px;min-height:56px;flex:none;background:var(--social-paper);backdrop-filter:none;touch-action:none;cursor:grab;user-select:none}
.social-video-comments>.social-header:before{content:'';position:absolute;top:6px;left:50%;width:30px;height:3px;border-radius:99px;background:#ffffff;transform:translateX(-50%);pointer-events:none}
.social-video-detail[data-comments-dragging=true] .social-video-comments>.social-header{cursor:grabbing}
.social-video-comments>.social-header>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.social-video-comments>.social-detail-body{padding:0 0 16px;min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain}
.social-video-comments .social-comments{margin-top:0}.social-video-comments .social-comments-heading{display:none}
.social-video-comments .social-comment-form{padding-bottom:clamp(8px,var(--safe-bottom,0px),16px)}
.social-video-detail[data-comment-keyboard=true] .social-video-comments .social-comment-form{padding-bottom:8px}
/* The menu floats above the comment field. Extra trailing scroll space lets
   the final comment scroll clear of it without splitting or shrinking the post. */
.social-post-detail[data-community-menu=true]>.social-detail-body,
.social-video-detail[data-community-menu=true] .social-video-comments>.social-detail-body{padding-bottom:112px;scroll-padding-bottom:104px}

/* Detail order is platform-owned. Reordering whole blocks never detaches CP. */
.social-detail-block{min-width:0}.social-detail-block[hidden]{display:none!important}
.social-detail-block-body>.text-post-poster{height:auto;max-width:480px;margin:0 auto;border-radius:14px}
.social-detail-cover{position:relative;width:100%;max-width:480px;margin:0 auto 14px;overflow:hidden;border-radius:14px;isolation:isolate}
.social-detail-cover>.text-post-poster{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto}

/* Back moves the live page above its retained feed. The detached community
   menu follows the same offset; project frames never move between parents. */
.social-detail[data-detail-back-motion]{transform:translate3d(var(--detail-back-x,0px),0,0);will-change:transform;box-shadow:-12px 0 32px #0002;transition:none!important}
.app-shell[data-detail-back-preview]>.social-community-dock[data-detail=true]{transform:translate3d(var(--detail-back-x,0px),0,0);will-change:transform;transition:none!important}
.app-shell[data-detail-back-preview=page][data-social-overlay=true]:not([data-profile=true]):not([data-upload=true])>.social-navigation{visibility:visible}

/* The footer is an entry, while editing has its own retained input surface. */
.social-comment-entry{display:flex;align-items:center;gap:9px;flex:1;min-width:0;min-height:42px;padding:10px 14px;border:1px solid #ececef;border-radius:24px;background:#f6f6f7;color:#8a8589;text-align:left;font:inherit;font-size:14px;line-height:20px}
.social-comment-entry-icon{display:grid;place-items:center;flex:none;width:18px;height:18px}.social-comment-entry-icon svg{width:18px;height:18px}
.social-comment-entry-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.social-comment-entry[data-has-draft=true]{color:var(--social-ink)}
.social-comment-entry:focus-visible{outline:2px solid var(--social-accent);outline-offset:2px}
.social-post-detail>.social-hot-creations:not([hidden])~.social-comment-dock{border-top:0;padding-top:5px}
.social-comment-input-view{position:absolute;inset:0;z-index:5;display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box;min-height:0;overflow:hidden;padding:calc(12px + var(--safe-top,0px)) 0 var(--keyboard-inset,0px);background:#16101645;isolation:isolate;overscroll-behavior:contain;touch-action:pan-y}
.social-comment-input-view[hidden]{display:none!important}
.social-comment-input-view::after{content:"";position:absolute;bottom:0;left:0;right:0;height:var(--keyboard-inset,0px);background:#fff;pointer-events:none}
.social-comment-input-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent;cursor:default}
.social-comment-input-panel{position:relative;z-index:1;flex:0 1 auto;min-height:0;max-height:100%;overflow-y:auto;overscroll-behavior:contain;scroll-padding:12px;background:#fff;border-radius:26px 26px 0 0;padding:9px 16px max(12px,var(--safe-bottom,0px));box-shadow:0 -8px 36px #251c2412;animation:comment-input-enter .2s cubic-bezier(.2,.75,.25,1)}
.social-comment-input-handle{display:block;width:30px;height:4px;margin:0 auto 7px;border-radius:8px;background:#dedbdf}
.social-comment-input-header{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px;padding:0 0 0 3px}
.social-comment-input-header h2{margin:0;font-size:16px;line-height:24px;font-weight:650;color:var(--social-ink)}
.social-comment-input-close{display:grid;place-items:center;width:36px;height:36px;padding:7px;border:0;border-radius:50%;background:#f4f3f5;color:#77727b}.social-comment-input-close svg{width:21px;height:21px}
.social-comment-input-panel>.social-comment-form{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;border:0;background:transparent}
.social-comment-input-panel .social-comment-field{display:flex;flex-direction:column;align-items:stretch;width:100%;flex:none;min-width:0;background:#f7f6f8;border:1px solid #f0edf1;border-radius:19px;box-shadow:none}
.social-comment-input-panel .social-comment-field:focus-within{border-color:#e5dfe6;box-shadow:none}
.social-comment-input-panel .social-comment-field textarea{display:block;width:100%;box-sizing:border-box;min-width:0;min-height:112px;max-height:200px;padding:14px 14px 9px;border:0;border-radius:19px;resize:none;outline:0;box-shadow:none;background:transparent;color:var(--social-ink);font:inherit;font-size:16px;line-height:24px;overflow-y:auto;overscroll-behavior:contain}
.social-comment-input-panel .social-comment-field[data-creation-status=true]>textarea{padding-top:46px;min-height:144px}
.social-comment-input-panel .social-comment-recipient{top:15px;left:14px}
.social-comment-input-panel .social-comment-actions{align-self:stretch;gap:8px;padding:7px 10px 10px;align-items:center}
.social-comment-input-panel .social-comment-actions :is(.social-comment-timi,.social-comment-choose-app){width:36px;height:36px;min-height:36px;padding:7px;color:var(--social-accent);background:#fff;border:1px solid #eadfe4}
.social-comment-input-panel .social-comment-timi[aria-pressed=true]{background:#f9e2ea;border-color:var(--social-accent)}
.social-comment-input-panel .social-comment-send{margin-left:auto;min-height:36px;min-width:62px;padding:8px 16px;border:0;border-radius:19px;background:var(--social-accent);color:#fff;font-size:14px!important}
.app-shell[data-keyboard-open=true] .social-comment-input-panel{padding-bottom:10px}
@keyframes comment-input-enter{from{transform:translateY(24px);opacity:.65}to{transform:translateY(0);opacity:1}}
@media(prefers-reduced-motion:reduce){.social-comment-input-panel{animation:none}}

/* Remix is a project action, not a special recipient in the comment text. */
.social-comment-input-panel .social-comment-actions .social-comment-remix{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:auto;min-width:84px;height:36px;padding:6px 11px;border:1px solid #e7ccd6;border-radius:19px;color:var(--social-accent);background:#fff;font:inherit;font-size:12px;font-weight:600}
.social-comment-input-panel .social-comment-remix svg{width:18px;height:18px}
.social-remix-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;padding:1px 5px;border-radius:8px;background:#ffffff70;font-size:11px;line-height:17px;font-variant-numeric:tabular-nums}
.social-comment-reply-context{display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:11px 12px;border:1px solid #eee9ec;border-radius:15px;background:#faf8f9}
.social-comment-reply-context[hidden]{display:none!important}
.social-comment-reply-copy{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.social-comment-reply-name{font-size:12px;font-weight:600;color:var(--social-accent)}
.social-comment-reply-text{font-size:12px;line-height:18px;color:#81747c;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.social-comment-reply-cancel{display:grid;place-items:center;flex:none;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;color:#8d7d85;font-size:20px}
.social-comment-reply-cancel svg{width:18px;height:18px}
.social-comment-thread{border-bottom:1px solid #f0edf0;padding-bottom:7px}
.social-comment-thread>.social-comment{border-bottom:0;padding-bottom:0}
.social-comment-tools{display:flex;align-items:center;gap:14px;min-height:40px;margin-top:3px}
.social-comment-tools :is(.social-comment-like,.social-comment-reply){position:static;display:inline-flex;align-items:center;justify-content:center;gap:5px;width:auto;min-width:44px;min-height:44px;padding:7px 5px;border:0;border-radius:15px;background:transparent;color:#8a8186;font:inherit;font-size:11px;line-height:18px;touch-action:manipulation}
.social-comment-tools .social-comment-like .social-icon{display:inline-flex;width:17px;height:17px}
.social-comment-tools .social-comment-like svg{width:17px;height:17px;fill:none}
.social-comment-tools .social-comment-like[aria-pressed=true]{color:var(--social-accent)}
.social-comment-tools .social-comment-like[aria-pressed=true] svg{fill:currentColor}
.social-comment-tools :is(.social-comment-like,.social-comment-reply):active{background:#f7eff2}
.social-comment-tools button:disabled{opacity:.5}
.social-comment-replies{margin:0 0 0 38px;padding:0 10px 0 12px;border-left:2px solid #f2edf0;border-radius:0 0 0 10px}
.social-comment-replies .social-comment{padding:10px 0 0;border:0;gap:9px}
.social-comment-replies .user-avatar{width:25px;height:25px;min-width:25px;font-size:11px}
.social-comment-reply-to{display:block;font-size:11px!important;line-height:17px;color:#95858d;margin-top:3px}

/* Remix is composed inside the comment, while its generation lives in the store. */
.social-comment-remix-request{margin:0 10px 7px;padding:12px;border:1px solid #ead8df;border-radius:15px;background:#fff}
.social-comment-remix-request[hidden],.social-comment-remix-strip[hidden],.social-comment-remix-spinner[hidden],.social-comment-remix-indicator[hidden]{display:none!important}
.social-comment-remix-label{display:block;color:var(--social-accent);font-size:12px;line-height:18px;font-weight:600}
.social-comment-input-panel .social-comment-field .social-comment-remix-input{min-height:74px;max-height:132px;height:74px;margin:7px 0 0;padding:7px 0;border-radius:0;font-size:16px;line-height:23px;font-weight:400;background:transparent}
.social-comment-remix-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:5px}
.social-comment-remix-actions button{min-height:36px;min-width:58px;border-radius:18px;padding:7px 14px;border:0;font:inherit;font-size:12px;touch-action:manipulation}
.social-comment-remix-cancel{background:transparent;color:#8a7b82}
.social-comment-remix-confirm{background:var(--social-accent);color:#fff}.social-comment-remix-confirm:disabled{opacity:.4}
.social-comment-remix-feedback{margin:6px 0;color:#ac465c;font-size:12px;line-height:18px}
.social-comment-remix-indicator{display:inline-flex;align-items:center}.social-comment-remix-indicator svg{width:18px;height:18px}
.social-comment-remix-spinner{display:inline-block;width:14px;height:14px;border:2px solid #e9c8d5;border-top-color:var(--social-accent);border-radius:50%;animation:comment-remix-spin .75s linear infinite}
.social-comment-input-panel .social-comment-remix[aria-busy=true]{opacity:1;background:#fff8fa;color:var(--social-accent)}
.social-comment-remix-strip{display:flex;align-items:center;gap:10px;flex:none;max-width:100%;min-width:0;padding:6px 8px;border:1px solid #efe7ec;border-radius:20px;background:#fcfafbe8}
.social-comment-remix-strip-title{font-size:11px;line-height:16px;color:#95828c;padding:0 2px}
.social-comment-remix-icons{display:flex;align-items:center;gap:9px;flex:1;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding:3px;touch-action:pan-x}.social-comment-remix-icons::-webkit-scrollbar{display:none}
.social-comment-remix-app{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;min-height:52px;padding:0;border:2px solid transparent;border-radius:16px;background:#fff;touch-action:manipulation}
.social-comment-remix-app .social-comment-remix-app-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;font-size:25px;background:#faf5f8}
.social-comment-remix-app[aria-pressed=true]{border-color:var(--social-accent)}
@keyframes comment-remix-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.social-comment-remix-spinner{animation-duration:1.5s}}

/* Connected, in-flow post pages warm without showing a second screen. */
.social-prepared-post[data-preparing=true]{opacity:0;pointer-events:none;z-index:-1}
.social-prepared-post[hidden]{display:none!important}

/* Text editing uses a caret, without a second focus rectangle around the post. */
.social-composer textarea:focus,.social-composer textarea:focus-visible,.social-composer input:focus,.social-composer [contenteditable]:focus{outline:none;box-shadow:none}
