:root{--cover-content-inset:20px;--cover-name-line-height:24px;--green:#07c160;--blue:#576b95;--text:#191919;--line:#ededed;--bottom-nav-background:#fafafa;--page-edge-background:#ffffff;color-scheme:light}
*{box-sizing:border-box}
html{color:var(--text);font-size:16px;background:var(--page-edge-background)}
body{margin:0;background:#f5f5f5}
button,input,select,textarea{font:inherit}
a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}
button{cursor:pointer;border:0;background:0 0;color:inherit;padding:0}
a{color:var(--blue);text-decoration:none}
button:disabled{cursor:wait;opacity:.55}
a:focus-visible,button:focus-visible{outline:0}
svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
img{max-width:100%;object-fit:cover}
h1,h2,h3,p{margin:0}
input,select,textarea{color:var(--text)}
/* Square checkboxes share the guest-access control's colors on every browser. */
input[type=checkbox]{width:13px;height:13px;min-height:0;padding:0;flex-shrink:0;vertical-align:middle}
input[type=checkbox]:not([role=switch]):not(.friend-permission-switch){-webkit-appearance:none;appearance:none;border:1.5px solid #969d98;border-radius:4px;background:#fff;box-shadow:none;accent-color:var(--green);cursor:pointer}
input[type=checkbox]:not([role=switch]):not(.friend-permission-switch):checked{border-color:var(--green);background-color:var(--green);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m4 9 3.2 3.3L14 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-size:100% 100%;background-repeat:no-repeat}
input[type=checkbox]:not([role=switch]):not(.friend-permission-switch):disabled{opacity:.5;cursor:default}
input[type=checkbox]:not([role=switch]):not(.friend-permission-switch):focus-visible{outline:2px solid var(--green);outline-offset:3px}
@media(forced-colors:active){input[type=checkbox]:not([role=switch]):not(.friend-permission-switch),input[type=checkbox]:not([role=switch]):not(.friend-permission-switch):checked{-webkit-appearance:auto;appearance:auto;background-image:none}}
.desktop-brand{position:fixed;left:calc(50% - 520px);top:46px;display:flex;gap:10px;align-items:center;width:210px}
.desktop-brand img{width:50px;height:50px;border-radius:50%;object-fit:cover}
.desktop-brand b{font-size:18px;font-weight:600}
.desktop-brand small{display:block;color:#999;margin-top:4px;font-size:12px;letter-spacing:2px}
.side-nav{position:fixed;left:calc(50% - 520px);top:142px;width:190px;display:grid;gap:9px}
.side-nav button{display:flex;gap:18px;align-items:center;padding:14px 18px;text-align:left;border-radius:5px;color:#555}
.side-nav button.active{background:#e7e7e7;color:#111;font-weight:600}
.side-nav .active svg{color:var(--green)}
.desktop-foot{position:fixed;bottom:30px;left:calc(50% - 500px);font-size:12px;color:#999;line-height:1.8}
/* Keep the page separator inside its own box. An outer spread can remain
   visible past a media overlay at fractional or browser-toolbar viewport edges. */
.shell{max-width:580px;margin:0 auto;min-height:100vh;background:#fff;position:relative;box-shadow:inset 1px 0 #eaeaea,inset -1px 0 #eaeaea}
/* Media previews cover the page in both orientations. Hide the page outline
   and floating page controls until the final preview finishes closing. */
.viewing-media-preview .shell{box-shadow:none}
/* Match native scroll edges to the media canvas and prevent rubber-band
   movement from exposing the light page beneath a full-screen player. */
html.viewing-media-preview{color-scheme:dark;overscroll-behavior:none}
/* Match the first preview's native appearance to its dark canvas, including
   guest visits. Removing this class restores the page's own color scheme. */
html.safari-media-active{color-scheme:dark;background:var(--page-edge-background)}
html.safari-media-active body{background:var(--page-edge-background)}
/* The feed viewer used only a fading child backdrop; give Safari the same
   opaque surface as the album viewer, including the very first open. */
.photo-viewer.safari-media-surface{background:#000000}
html.viewing-media-preview body{overscroll-behavior:none}
/* A fixed viewer covers the visible viewport, while Safari can still sample
   the long document behind its bottom controls. Stop painting that covered
   page once the viewer is opaque; preserve its geometry and scroll position.
   Origin/drag/close motion must reveal it again before the first frame. */
@supports selector(:has(*)) {
  /* Crop offscreen paint without creating a visible inset at the page edge.
     PageFrame rounds the start and end independently inside the viewport. */
  html.ios-document-scroll.viewing-media-preview.media-viewport-fullscreen:not(.media-document-preview) #app{--media-page-live-height:100vh;--media-page-clip-end:calc(var(--media-page-clip-top,0px) + min(var(--media-page-live-height),var(--media-page-clip-height,100vh)));clip-path:polygon(0 var(--media-page-clip-top,0px),100% var(--media-page-clip-top,0px),100% var(--media-page-clip-end),0 var(--media-page-clip-end))}
  @supports (height:100dvh){html.ios-document-scroll.viewing-media-preview.media-viewport-fullscreen:not(.media-document-preview) #app{--media-page-live-height:100dvh}}
  html.viewing-media-preview.media-viewport-fullscreen:has(> body > :is(.photo-viewer,.album-media-viewer,.music-layer):not(.media-origin-motion,.dragging,.media-surface-closing)) :is(#app,#app *){visibility:hidden!important}
}
 html.media-viewport-fullscreen,html.media-viewport-fullscreen body{background:var(--page-edge-background,#000)}
 /* Safari can composite the offscreen feed beneath its translucent toolbar
    while an origin/drag animation needs the visible feed. Paint only the
    existing document above/below that visible slice, in the same color commit
    as the preview. No fixed samplers, clipping, delays or extra scroll extent. */
 html.media-document-preview #app{position:relative}
 html.media-document-preview #app::before,html.media-document-preview #app::after{content:"";position:absolute;left:0;right:0;z-index:2147483646;pointer-events:none;background:var(--page-edge-background);visibility:visible;transition:none;animation:none}
 html.media-document-preview #app::before{top:0;height:var(--media-document-paint-start,0px)}
 html.media-document-preview #app::after{top:var(--media-document-paint-end,100%);bottom:0}
 /* Reserve the live page's flow size while removing all of its renderers,
    including detail's sticky comment footer, from native edge sampling.
    The ordinary document canvas never creates fixed strips or clipped edges. */
 html.media-page-suspended #app,html.media-page-suspended .media-page-source{display:none!important}
 html.media-page-suspended,html.media-page-suspended body{overflow-anchor:none}
 .media-page-canvas{display:block;position:relative;width:100%;margin:0;padding:0;border:0;background:var(--page-edge-background);pointer-events:none;overflow-anchor:none}
 /* A short page ends at 100dvh, above Safari's obscured address-bar area.
    Paint a real document through the large viewport while the page is locked.
    Viewer controls still use the visual viewport; only this blank canvas grows. */
 html.safari-media-active .safari-media-canvas{min-height:calc(var(--safari-media-document-top,0px) + 100vh);min-height:calc(var(--safari-media-document-top,0px) + 100lvh)}
 /* An opaque edge shadow outlives the fading backdrop and becomes a black
    bottom/right line. Keep every preview state within its actual frame. */
 .media-viewport-fullscreen :is(.photo-viewer,.album-media-viewer,.music-layer){box-shadow:none}
 .media-viewport-fullscreen .desktop-media-backdrop{display:none}
.topbar{height:58px;background:#edededf5;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);display:flex;align-items:center;justify-content:space-between;padding:0 18px;position:sticky;top:0;z-index:10;border-bottom:1px solid #ddd6}
.topbar h1{font-size:17px;font-weight:600;letter-spacing:.5px}
.topbar button{min-width:38px;min-height:38px}
.topbar>button:first-child{display:flex;align-items:center;justify-content:center}
.topbar .logo-mini{display:block;width:34px;height:34px;border-radius:50%}
.topbar .camera{color:#1c1c1c}
.cover{height:272px;position:relative;background:transparent}
.cover>img{width:100%;height:100%;object-position:50% 58%;display:block}
.cover-change{position:absolute;inset:0;width:100%;height:100%;z-index:1}
.cover-person{--cover-avatar-size:78px;--cover-avatar-overhang:26px;--cover-name-gap:calc((var(--cover-avatar-size) - var(--cover-avatar-overhang) - var(--cover-name-line-height))/2);position:absolute;bottom:calc(0px - var(--cover-avatar-overhang));right:var(--cover-content-inset);display:flex;align-items:flex-start;gap:var(--cover-name-gap);z-index:2;max-width:calc(100% - 40px)}
.cover-name{color:#fff;margin:calc(var(--cover-name-gap) + 3px) 0 0;line-height:var(--cover-name-line-height);text-shadow:0 1px 4px #0006;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cover-person>:last-child{display:flex;flex-shrink:0}
.avatar{width:42px;height:42px;border-radius:4px;flex-shrink:0;object-fit:cover;display:inline-flex;align-items:center;justify-content:center;background:transparent;color:#51655a;font-size:18px;font-weight:600}
.cover-person .avatar{width:var(--cover-avatar-size);height:var(--cover-avatar-size);border-radius:8px;border:0;font-size:30px}
.signature{text-align:right;color:#666;padding:38px var(--cover-content-inset) 33px;min-height:92px}
.feed{padding-bottom:0}
.post{padding:14px 20px;display:flex;gap:11px;border-bottom:1px solid #f0f0f0}
.post-body{min-width:0;flex:1}
.name{color:var(--blue);font-size:16px;line-height:1.4}
.post-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 9px}
.expand{font-size:15px;color:var(--blue);margin:0 0 8px}
.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;max-width:330px;margin:8px 0}
.photo-grid.four,.photo-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));max-width:220px}
.photo-grid.one{display:block;max-width:270px}
.photo-grid>button{aspect-ratio:1;overflow:hidden;display:block}
.photo-grid.one>button{aspect-ratio:auto;max-height:320px}
.photo-grid img{width:100%;height:100%;display:block}
.photo-grid.one img{max-height:320px;width:auto;max-width:100%;object-fit:contain}
.music-card{background:#f4f4f4;display:flex;width:100%;margin:8px 0;text-align:left}
.music-cover{height:51px;width:51px;flex-shrink:0;background:transparent;display:flex;align-items:center;justify-content:center}
.music-cover img{width:100%;height:100%}
.music-info{flex:1;min-width:0}
.music-info b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.music-info small{color:#888;display:block;margin-top:5px}
.music-play{width:30px;height:30px;border:1px solid #bbb;border-radius:50%;display:grid;place-items:center}
.music-play svg{width:14px;height:14px}
.music-source{display:flex;gap:5px;align-items:center}
.music-source span{color:#d94141}
.post-location{color:var(--blue);font-size:12px;margin:9px 0}
.post-meta{display:flex;align-items:center;gap:13px;margin-top:8px;position:relative;color:#999;font-size:12px;height:24px}
.post-more{margin-left:auto;background:#f0f0f0;border-radius:4px;color:var(--blue);display:grid;place-items:center}
.action-pop{position:absolute;display:flex;color:#fff;white-space:nowrap}
.action-pop button{display:flex;align-items:center}
.action-pop button+button{border-left:1px solid #414141}
.interactions{background:#f7f7f7;position:relative;margin-top:9px;border-radius:8px;font-size:14px}
.interactions:before{display:none}
.likes{color:var(--blue);padding:6px 9px;line-height:1.6}
.likes svg{width:14px;height:14px;margin-right:5px}
.comments{padding:6px 0}
.comment+.comment{margin-top:2px}
.likes+.comments{border-top:1px solid #e9e9e9}
.comment{text-align:left;display:flex;align-items:center;gap:8px;width:100%;padding:0 9px;min-height:24px;line-height:24px;overflow-wrap:anywhere}
.comment>.comment-copy{flex:1;min-width:0;text-align:left;overflow-wrap:anywhere}
.comment .comment-name,.likes:not(.avatar-likes) button{font-size:var(--font-comment);font-weight:500;color:var(--blue)}
.comment .remove-comment{flex:0 0 auto;align-self:center;display:flex;align-items:center;justify-content:center;color:#576b95;font-size:12px;white-space:nowrap}
.bottom-nav{width:100%;height:65px;height:calc(65px + var(--page-safe-bottom, env(safe-area-inset-bottom,0px)));padding-bottom:var(--page-safe-bottom, env(safe-area-inset-bottom,0px));border-top:1px solid #ddd;z-index:12}
.bottom-nav button{display:grid;place-content:center;gap:4px;font-size:11px;color:#777}
.bottom-nav button svg{margin:auto;width:23px;height:23px}
.bottom-nav button.active{color:var(--green)}
.badge{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;background:#fa5151;color:#fff;min-width:18px;height:18px;padding:0 4px;flex-shrink:0;border-radius:9px;margin-left:4px;font-size:11px;font-weight:600;line-height:18px;white-space:nowrap}
.page{padding:20px;min-height:0;background:#ededed}
.page.white{background:#fff}
.card{background:#fff;border-radius:7px;margin-bottom:16px;overflow:hidden}
.page .card:last-child,.page>.notice:last-child{margin-bottom:0}
#admin-user-results{margin-bottom:0}
.row{display:flex;align-items:center;gap:12px;padding:16px;text-align:left;width:100%;border-bottom:1px solid #f2f2f2}
.row:last-child{border-bottom:0}
.row .details{flex:1;min-width:0;overflow-wrap:anywhere}
.row b{font-weight:500;display:block}
.row small{display:block;font-size:13px;color:#999;margin-top:6px;overflow-wrap:anywhere}
.row .chev{color:#bbb}
.row>.avatar,.row>.chev,.row>svg{flex-shrink:0}
.row svg{width:22px;height:22px}
.profile-card{padding:22px 17px;display:flex;align-items:center;gap:17px}
.profile-card .avatar{width:65px;height:65px;font-size:26px}
.profile-card>div{min-width:0}
.profile-card h2{font-size:21px;margin-bottom:8px;overflow-wrap:anywhere}
.profile-card p{font-size:13px;color:#999;overflow-wrap:anywhere}
.green{color:var(--green)}
.red{color:#fa5151}
.muted{color:#999}
.small{font-size:13px;line-height:1.6}
.notice{font-size:12px;color:#999;text-align:center;line-height:1.7;margin:18px 0;overflow-wrap:anywhere}
.notice button{color:var(--blue)}
.primary{padding:10px 24px;background:var(--green);border-radius:5px;color:#fff;font-size:15px;font-weight:600;min-height:40px}
.secondary{padding:10px 20px;background:#f0f0f0;border-radius:5px;color:#555;font-size:14px;min-height:40px}
.danger{color:#fa5151;background:#fff0f0}
.tiny{padding:7px 11px;min-height:32px;font-size:13px;border-radius:4px}
.empty{text-align:center;color:#aaa;padding:56px 20px;font-size:14px;line-height:1.8}
.empty svg{width:36px;height:36px;margin-bottom:16px}
.end{text-align:center;color:#bbb;font-size:12px;padding:26px}

.search{width:100%;border:0;background:#fff;padding:12px 15px;border-radius:6px;margin-bottom:16px;outline:0}
.tabs{display:flex;gap:24px;border-bottom:1px solid #ddd;margin-bottom:17px}
.tabs button{padding:12px 0;color:#888;font-size:14px}
.tabs button.active{border-bottom:2px solid transparent;color:#111}
/* Dialog containers receive focus to avoid opening the soft keyboard. */
dialog{border:0;outline:0;border-radius:9px;padding:0;width:min(520px, 100% - 24px);max-height:90dvh;background:#fff;color:var(--text);box-shadow:0 16px 80px #0003}
dialog::backdrop{background:#0006;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
.dialog-head{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;padding:15px 18px;background:#f8f8f8;border-bottom:1px solid #eee;z-index:2;gap:12px}
.dialog-head h2{font-size:16px;font-weight:600;min-width:0;overflow-wrap:anywhere}
.dialog-head>button{font-size:15px;min-height:30px;color:#555;flex-shrink:0;max-width:100%}
.dialog-head .primary{min-height:32px;padding:6px 14px;color:#fff}
.dialog-body{padding:22px}
.dialog-body h3{font-size:17px;margin-bottom:13px}
.field{display:block;margin-bottom:19px;font-size:14px;color:#666}
.field input,.field select,.field textarea{display:block;width:100%;min-width:0;max-width:100%;margin-top:8px;padding:11px 12px;border:1px solid #ddd;border-radius:4px;background:#fff;outline:0}
.field input:focus,.field textarea:focus{border-color:#ddd}
.field textarea{resize:vertical;min-height:74px}
.field .hint{display:block;color:#aaa;font-size:12px;margin-top:6px;overflow-wrap:anywhere}
.form-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;margin-top:22px}
.dialog-body>:last-child,.dialog-body>form>:last-child{margin-bottom:0}
.dialog-body>.field:has(+.error:empty:last-child),.dialog-body>form>.field:has(+.error:empty:last-child){margin-bottom:0}
.error{font-size:13px;color:#dc3939;background:#fff1f1;padding:10px;border-radius:4px;display:none;margin:10px 0;line-height:1.5;overflow-wrap:anywhere}
.error:not(:empty){display:block}
.composer-text{border:0;resize:vertical;width:100%;min-height:120px;outline:0;font-size:17px;line-height:1.6}
.composer-tools{display:flex;align-items:center;padding:12px 0;color:#777;border-bottom:1px solid #eee}
.composer-tools button{display:flex;align-items:center}
.composer-tools svg{width:21px;height:21px}
.emoji-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px;background:#f7f7f7;padding:13px;border-radius:4px;margin:10px 0}
.emoji-grid button{display:grid;place-items:center;min-width:0;font-size:24px;height:34px}
.upload-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:15px 0}
.upload-tile{aspect-ratio:1;position:relative;background:transparent;display:grid;place-items:center;color:#bbb}
.upload-tile img{width:100%;height:100%;position:absolute;inset:0}
.upload-tile>svg{width:36px;height:36px}
.compose-option{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #eee;font-size:14px}
.compose-option>label{flex:1}
.compose-option>input,.compose-option>select{border:0;background:0 0;text-align:right;font-size:14px;width:58%;outline:0;color:#888}
.compose-option svg{width:20px;height:20px}
#toast{position:fixed;left:50%;bottom:110px;transform:translate(-50%,10px);background:#222e;color:#fff;padding:12px 20px;width:max-content;max-width:calc(100% - 32px);border-radius:6px;z-index:100;font-size:14px;line-height:20px;opacity:0;pointer-events:none;white-space:normal;word-wrap:break-word;overflow-wrap:anywhere;text-align:center}
#toast.show{opacity:1;transform:translate(-50%)}
.admin-post{padding:15px;border-bottom:1px solid #eee}
.admin-post .text{font-size:14px;line-height:1.6;margin:8px 0;overflow-wrap:anywhere}
.admin-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.user-card .avatar{width:65px;height:65px}
.music-panel{background:#f7f7f7;padding:12px;margin:12px 0;border-radius:5px}
.music-input-row{display:flex;gap:8px}
.music-id-field{position:relative;flex:1;min-width:0;height:calc(1.2em + 20px);overflow:hidden;border:1px solid #ddd;border-radius:4px;background:#fff;font-size:14px}
.music-id-field:focus-within{border-color:#ddd}
.music-input-row input{position:absolute;top:0;left:0;width:114.285714%;height:114.285714%;min-width:0;max-width:none;margin:0;border:0;border-radius:0;padding:10.285714px;background:0 0;font-size:16px;line-height:1.2;outline:0;-webkit-appearance:none;appearance:none;-webkit-text-size-adjust:100%;transform:scale(.875);transform-origin:top left}
.auth-brand{text-align:center;padding:14px 0 25px}
@media(max-width:600px){.page.auth-landing{padding-top:16px}}
.auth-brand img{width:84px;height:84px;border-radius:50%;margin-bottom:13px}
.auth-brand h2{font-size:21px}
.auth-brand p{font-size:13px;color:#999;margin-top:8px}
.flex-between{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.flex-between>:is(b,p,span){min-width:0;overflow-wrap:anywhere}
.flex-between>button{flex-shrink:0;max-width:100%}
.notification{font-size:14px}
.auth-buttons{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.menu-choice{display:block;width:100%;padding:17px;text-align:center;border-bottom:1px solid #eee}
.menu-choice:last-child{border-bottom:0}
.avatar-edit{display:flex;align-items:center;gap:18px;margin-bottom:24px}
.avatar-edit .avatar{width:65px;height:65px;font-size:24px}
.full-width{width:100%}
.click-name{color:var(--blue)}
.footer-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:18px}
.page .footer-actions:last-child{margin-bottom:0}
.unread{background:#f4faf6}
@media(max-width:1099px){.desktop-brand,.desktop-foot,.side-nav{display:none}}
@media(max-width:600px){body{background:#fff}.shell{box-shadow:none}.cover{height:253px}.post{padding:14px 16px;gap:10px}.post .avatar{width:40px;height:40px}.topbar{height:52px;padding:0 12px}.photo-grid{max-width:300px}.photo-grid.four,.photo-grid.two{max-width:200px}:root{--cover-content-inset:18px}.page{padding:20px 16px}.dialog-body{padding:18px}.composer-tools{gap:20px}.signature{padding-bottom:26px}dialog.fullscreen-editor{width:100%;max-width:100%;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;border-radius:0;margin:0}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
[hidden]{display:none!important}
.action-pop{right:40px;bottom:-8px;box-shadow:none;transform-origin:right center;z-index:9}
.action-pop button{flex:1;justify-content:center;gap:7px;padding:0;font-size:14px;position:relative}
.action-pop button+button{border:0}
.action-pop button+button:before{content:"";position:absolute;left:0;height:21px;width:1px;background:#414141}
.action-pop button:active{background:#404040}
.action-pop svg{width:18px;height:18px;stroke-width:1.8}
.action-pop button[aria-pressed="true"]>svg{color:#fa5151;fill:currentColor;stroke:currentColor}
.post-more{font-weight:700;font-size:15px}
.post-more:active,.post-more[aria-expanded=true]{background:#dedede}
.post-interactions:empty{display:none}
.comments button:active{background:#e4e4e4}
.comment-dock,.detail-comment-entry{background:#f7f7f7;border-top:1px solid #d9d9d9;padding:7px 10px calc(7px + var(--page-safe-bottom, env(safe-area-inset-bottom)));box-shadow:none}
.detail-comment-entry{display:flex;flex:none;gap:12px;align-items:center;position:relative;z-index:2}
.comment-entry-field{position:relative;cursor:text;height:38px;color:#aaa;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.comment-dock{position:sticky;bottom:0;flex:0 0 auto;width:100%;z-index:11;box-sizing:border-box;overscroll-behavior:contain}
.comment-dock.showing-emojis{padding-bottom:0}
.comment-dock-form{display:flex;gap:12px;align-items:flex-end}
.comment-dock :is(textarea,.wechat-input,.comment-guest-fields input),.comment-entry-field{display:block;flex:1;min-width:0;margin:0;resize:none;max-height:112px;min-height:38px;padding:8px 12px;border:0;border-radius:5px;background:#fff;outline:0;caret-color:var(--green);font-size:16px;line-height:22px;overflow-y:auto;overscroll-behavior:contain;-webkit-appearance:none}
.comment-dock :is(textarea,.wechat-input,.comment-guest-fields input)::placeholder{color:#aaa;text-overflow:ellipsis;white-space:nowrap}
.comment-emoji-toggle{width:32px;height:38px;display:grid;place-items:center;flex-shrink:0}
.comment-emoji-toggle svg{width:28px;height:28px;stroke-width:1.5}
.comment-send{height:34px;align-self:flex-end;margin-bottom:2px;padding:0 14px;font-size:14px;border-radius:4px;color:#fff;background:#07c160}
.comment-send:disabled{background:#e4e4e4;color:#aaa;cursor:default;opacity:1}
.comment-dock-form>.comment-send{display:none}
.comment-dock.has-comment-text:not(.showing-emojis) .comment-dock-form>.comment-send{display:block}
.comment-emojis{position:relative;display:flex;flex-direction:column;background:#ededed;margin:7px -10px 0;height:300px;max-height:45vh;overflow:hidden;padding-bottom:0}
.comment-emoji-heading{display:flex;flex:none;align-items:center;gap:6px;height:52px;padding:0 10px 7px;background:#f7f7f7;overflow-x:auto;overscroll-behavior:contain;scrollbar-width:none}
.comment-emoji-heading::-webkit-scrollbar{display:none}
.comment-emoji-category{display:grid;place-items:center;flex:1 0 38px;max-width:52px;height:40px;border-radius:7px;font-size:25px;line-height:1;color:#191919;touch-action:manipulation}
.comment-emoji-category[aria-pressed=true]{background:#fff}
.comment-emoji-category svg{width:25px;height:25px;stroke-width:1.5}
.comment-emoji-scroll{position:absolute;inset:52px 0 0;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y pinch-zoom;-webkit-overflow-scrolling:touch;padding:2px 8px calc(64px + max(12px, var(--page-safe-bottom, env(safe-area-inset-bottom,0px))));scroll-padding-bottom:calc(64px + max(12px, var(--page-safe-bottom, env(safe-area-inset-bottom,0px))))}
.comment-emoji-scroll h3{font-size:11px;line-height:18px;color:#888;font-weight:400;margin:8px 6px 5px}
.comment-emoji-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:0}
.comment-emoji-grid button{display:grid;place-items:center;min-width:0;height:47px;border-radius:5px;font-size:28px;line-height:1;touch-action:pan-y}
.comment-emoji-grid button:active{background:#dedede}
.comment-emoji-footer{position:absolute;z-index:2;right:12px;bottom:max(12px, var(--page-safe-bottom, env(safe-area-inset-bottom,0px)));display:flex;align-items:center;gap:12px;padding:0;background:#ededed;box-shadow:0 0 12px 8px #ededed}
.comment-emoji-erase,.comment-emoji-footer .comment-send{display:grid;place-items:center;flex:none;width:55px;height:43px;min-width:0;margin:0;padding:0;border:0;border-radius:4px;font-size:17px;font-weight:400;line-height:24px;touch-action:manipulation}
.comment-emoji-footer .comment-send{background:#07c160;color:#fff}
.comment-emoji-footer .comment-send:disabled{background:#dedede;color:#b6b6b6;opacity:1}
.comment-emoji-erase{background:#dadada;color:#191919}
.comment-emoji-erase svg{width:23px;height:23px;stroke-width:1.5}
.comment-emoji-erase:disabled{color:#b6b6b6;background:#dedede;opacity:1}
.comment-emoji-footer button:focus-visible{outline:0;box-shadow:0 0 0 2px #999}
.comment-dock-error{padding:8px 2px 0;color:#df4545;font-size:12px}
.comment-dock-error[data-validation]{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;pointer-events:none}
.comment-dock .comment-guest-fields input[aria-invalid=true]{color:#df4545}
.comment-dock .comment-guest-fields input[name=guest_name][aria-invalid=true]::placeholder{color:#df4545;opacity:1}
.commenting .bottom-nav,.commenting .detail-comment-entry{display:none}
.comment-dock button:focus-visible{outline:2px solid #999;outline-offset:2px}
/* Media covers the fixed viewport directly, including toolbar expansion and
   wide phone layouts. A page/column height can remain shorter than the screen. */
.photo-viewer{position:fixed;inset:0;width:100%;height:auto;z-index:80;overflow:hidden;touch-action:none;overscroll-behavior:none;outline:0;color:#fff;background:0 0;isolation:isolate}
.viewer-backdrop{position:absolute;inset:0;background:#000;pointer-events:none}
.viewer-strip{position:absolute;inset:0;display:flex;gap:16px;will-change:transform;touch-action:none;cursor:zoom-in}
.zoomed .viewer-strip{cursor:grab}
.viewer-slide{position:relative;flex:0 0 100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden}
.viewer-photo{display:block;max-width:none;max-height:none;flex:none;object-fit:contain;transform-origin:center;user-select:none;-webkit-user-select:none;will-change:transform}

.viewer-next,.viewer-prev,.viewer-save{position:absolute;z-index:3;color:#fff;display:grid;place-items:center;width:44px;height:44px;background:0 0;filter:drop-shadow(0 1px 3px #0008)}

.viewer-save{right:17px;bottom:calc(18px + var(--page-safe-bottom, env(safe-area-inset-bottom)))}
.viewer-counter{position:absolute;z-index:3;bottom:max(50px, 15px + var(--page-safe-bottom, env(safe-area-inset-bottom,0px)));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;pointer-events:none}
.viewer-dot{display:block;width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:gray}
.viewer-dot.is-current{background:#fff}
.viewer-page-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:359px){.viewer-counter{gap:8px}}
.viewer-prev{left:12px;top:calc(50% - 22px);background:#0003;border-radius:50%}
.viewer-next{right:12px;top:calc(50% - 22px);background:#0003;border-radius:50%}
.photo-viewer.closing .viewer-counter,.photo-viewer.closing .viewer-next,.photo-viewer.closing .viewer-prev,.photo-viewer.closing .viewer-save,.photo-viewer.dragging .viewer-counter,.photo-viewer.dragging .viewer-save{opacity:0;pointer-events:none}
.viewer-image-error{position:absolute;left:0;right:0;text-align:center;color:#aaa;font-size:14px}
.viewing-photo #toast{z-index:90}
.mobile-feed-back{display:none}
/* Cover navigation fades in as content scrolls upward on every screen size. */
.moments-screen .topbar{--moments-header-bottom:0;--moments-header-top:0;--moments-header-title:0;--moments-header-ink:255;--moments-header-surface:linear-gradient(to top,rgba(237,237,237,var(--moments-header-bottom,0)),rgba(237,237,237,var(--moments-header-top,0)));--moments-header-color:rgb(var(--moments-header-ink,255),var(--moments-header-ink,255),var(--moments-header-ink,255));--moments-header-line:rgba(221,221,221,calc(var(--moments-header-top,0)*.33));--moments-header-heading:var(--moments-header-title,0);background:var(--moments-header-surface);border-color:transparent;border-bottom-color:var(--moments-header-line);-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--moments-header-color)}.moments-screen .topbar h1{color:#191919;opacity:var(--moments-header-title,0)}.moments-screen .topbar .camera{color:inherit}
/* Keep the transparent feed logo legible over a changing cover. The shared
   navigation ink keeps it white over the cover and dark over the revealed bar. */
.moments-screen:not(.remaining-screen)>.topbar .desktop-feed-logo .logo-mini{
 filter:brightness(0) invert(calc(var(--moments-header-ink,255) / 255)) drop-shadow(0 1px 2px rgba(0,0,0,calc(.45 * (1 - var(--moments-header-title,0)))))
}
@media(max-width:600px){.moments-screen .cover{height:calc(305px + env(safe-area-inset-top))}.moments-screen .feed>.end,.moments-screen .feed>.notice{display:none}.mobile-feed-back{display:none}.desktop-feed-logo{display:block}.viewer-next,.viewer-prev{display:none}dialog.cover-gallery::backdrop,dialog.fullscreen-editor::backdrop{background:#0003;-webkit-backdrop-filter:none;backdrop-filter:none}dialog.action-sheet{width:100%;max-width:100%;margin:auto 0 0;border-radius:12px 12px 0 0;padding-bottom:var(--page-safe-bottom, env(safe-area-inset-bottom));}dialog.action-sheet::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:#0006}dialog.action-sheet .dialog-head{display:none}dialog.action-sheet .dialog-body{padding:0}.action-sheet .menu-choice{font-size:17px;padding:17px}}

@media(prefers-reduced-motion:reduce){dialog.action-sheet,dialog.cover-gallery[open],dialog.fullscreen-editor[open]{animation:none}.viewer-photo,.viewer-strip{transition:none!important}}
:root{--font-body:17px;--font-post:16px;--font-comment:15px;--font-meta:12px;--font-nav:17px}
html{font-family:"Microsoft YaHei","微软雅黑","Microsoft YaHei UI","PingFang SC",sans-serif;font-size:var(--font-body);-webkit-text-size-adjust:100%;text-size-adjust:100%}
body,button,input,select,textarea{font-family:inherit}
body{font-size:var(--font-body)}
button,input,select,textarea{font-size:inherit}
.dialog-head h2,.topbar h1{font-size:var(--font-nav);letter-spacing:0}
.name{font-size:var(--font-body)}
.post-text{font-size:var(--font-post)}
.name{font-weight:600}
.post-text{line-height:1.45;margin-top:4px}
.interactions{font-size:var(--font-comment);line-height:1.5}
.music-source,.post-location,.post-meta{font-size:var(--font-meta)}
.signature{font-size:15px}
.cover-name{font-size:22px;font-weight:600}
.field,.row{font-size:17px}
.details small,.notice,.profile-card p{font-size:13px}
.comment-dock :is(textarea,.wechat-input,.comment-guest-fields input),.comment-entry-field,.composer-text{font-size:17px}
.music-info b{font-size:15px;font-weight:400}
.music-info small{font-size:12px}
.composer .dialog-head>button,.dialog-head>button{font-size:16px}
.post-more{display:flex;align-items:center;justify-content:center;padding:0;box-sizing:border-box;width:31px;height:21px;min-width:31px;line-height:0;letter-spacing:0;position:relative}
.more-dots{display:flex;gap:3px;align-items:center;justify-content:center;width:11px;height:4px}
.more-dots i{display:block;flex:0 0 4px;width:4px;height:4px;border-radius:50%;background:currentColor}
.avatar-likes{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.avatar-likes>svg{color:var(--blue);margin-right:3px}
.avatar-likes button{padding:0;display:block;flex:none}
.avatar-likes .avatar{width:27px;height:27px;font-size:13px;border-radius:3px}
.likes.avatar-likes{padding:10px;gap:6px}
.likes.avatar-likes .avatar{width:32px;height:32px}
.album-feed{padding:0 16px}
/* A date window starts with newer-page loading until it reaches the real beginning. */
.timeline-window>.cover,.timeline-window>.signature,.timeline-window>.album-feed>.pinned-strip{display:none}
.timeline-window>.album-feed{padding-top:36px}
/* The mobile header overlays the cover. A date window hides that cover, so
   reserve both navigation rows before its first pagination trigger. */
@media(max-width:600px){.timeline-window>.album-feed{padding-top:calc(var(--nav-total-height) + 36px)}}
.album-row{display:grid;grid-template-columns:66px minmax(0,1fr);gap:8px;padding:8px 0 18px;align-items:start}
.album-date{display:flex;align-items:baseline;gap:2px;white-space:nowrap;padding-top:1px}
.album-date b{font-size:24px;font-weight:600;line-height:1.15;letter-spacing:-1px}
.album-date span{font-size:11px}
.album-date b:first-child:last-child{font-size:22px;letter-spacing:0}
.album-entry{min-width:0}
.album-content{display:flex;width:100%;gap:10px;text-align:left;align-items:flex-start}
.album-thumbnail{width:var(--moment-thumb-size);height:var(--moment-thumb-size);flex:0 0 var(--moment-thumb-size);display:grid;gap:2px;overflow:hidden;position:relative;background:transparent}
.album-thumbnail img{width:100%;height:100%;min-width:0;min-height:0;object-fit:cover}
.album-thumbnail.count-2{grid-template-columns:repeat(2,1fr)}
.album-thumbnail.count-3,.album-thumbnail.count-4{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr)}
.album-thumbnail.count-3 img:first-child{grid-row:span 2}
.album-sticker{background:transparent}
.album-copy{display:flex;flex-direction:column;min-width:0;flex:1;gap:5px}
.album-text{font-size:var(--font-post);line-height:1.45;white-space:pre-wrap;display:block;overflow:visible;overflow-wrap:anywhere;-webkit-line-clamp:unset;max-height:none}
.album-copy small{font-size:12px;color:#999}
.album-content.text-only{background:0 0;padding:0;min-height:43px}
.album-copy .music-card{margin:0;min-width:0}
.album-copy .music-cover{width:42px;height:42px;flex:0 0 42px}
.album-year{font-size:24px;margin:20px 0 12px}
.album-entry-meta{display:flex;align-items:center;gap:6px;color:#999;font-size:11px;min-height:19px;margin-top:4px}
.pinned-label{color:#b48d56;font-size:11px}
.pinned-label:before{content:"▴";margin-right:3px}
.detail-page{padding-bottom:0;min-height:0}
.detail-page .post{border-bottom:0}
.album-video{position:absolute;inset:auto;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:30px;height:30px;border:1px solid #fff;border-radius:50%;color:#fff;background:#ffffff0a;pointer-events:none}
.composer-tools{gap:16px;flex-wrap:wrap}
.composer-tools button{font-size:13px;gap:5px}
.video-card{position:relative;display:block;width:210px;max-width:100%;height:280px;overflow:hidden;background:transparent;color:#fff}
.video-card>img{width:100%;height:100%;object-fit:cover}
.video-play{position:absolute;inset:auto;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:40px;height:40px;border:1px solid #fff;border-radius:50%;background:#ffffff0a;color:#fff;pointer-events:none}
.video-duration{position:absolute;bottom:7px;right:8px;font-size:12px;text-shadow:0 1px 3px #000}
.video-placeholder{display:grid;place-items:center;height:100%;color:#bbb}
.draft-video{width:150px;height:190px;position:relative;background:transparent;overflow:hidden}
.draft-video img{width:100%;height:100%;object-fit:cover}
.media-layer{position:fixed;inset:0;z-index:85;overscroll-behavior:contain;outline:0}
.music-layer{background:var(--music-card-bg,#343434);display:flex;align-items:flex-end;justify-content:center}
.music-sheet{width:min(580px, 100%);overflow-y:auto;background:linear-gradient(155deg,#525752,#232724);color:#fff;border-radius:12px 12px 0 0;padding:12px 32px calc(25px + var(--page-safe-bottom, env(safe-area-inset-bottom)));text-align:center;position:relative;animation:music-player-enter 230ms cubic-bezier(.2,.72,.22,1)}
.player-handle{display:flex;flex-direction:column;align-items:center;width:100%;height:35px;color:#eee}
.player-handle span{width:30px;height:4px;background:#aaa;border-radius:2px}
.player-handle svg{position:absolute;top:16px;right:20px;width:23px;height:23px;transform:rotate(-90deg)}
.player-source{font-size:13px;color:#d0d3d0;margin:4px 0 23px}
.player-art{width:calc(min(61vw, 260px));height:calc(min(61vw, 260px));background:transparent;margin:0 auto 24px;display:grid;place-items:center;border-radius:5px;overflow:hidden;box-shadow:0 5px 20px #0002}
.player-art>img{width:100%;height:100%;object-fit:cover}
.player-art>svg{width:75px;height:75px}
.music-sheet h2{font-size:21px;font-weight:500;margin:0}
.player-artist{font-size:14px;color:#c6cac6;margin:9px 0 0}
.player-status{font-size:12px;color:#d2d6d2;min-height:18px;margin:16px 0 7px}
.player-progress{-webkit-appearance:none;appearance:none;display:block;width:100%;height:24px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:pointer}
.player-progress::-webkit-slider-runnable-track{height:2px;border:0;border-radius:999px;background:#b8b7bd}
.player-progress::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:8px;height:8px;margin-top:-3px;border:0;border-radius:50%;background:#cccccc;box-shadow:none}
.player-progress::-moz-range-track{height:2px;border:0;border-radius:999px;background:#b8b7bd}
.player-progress::-moz-range-progress{height:2px;border:0;background:transparent}
.player-progress::-moz-range-thumb{width:8px;height:8px;border:0;border-radius:50%;background:#cccccc;box-shadow:none}
.player-times{display:flex;justify-content:space-between;font-size:14px;line-height:20px;font-weight:400;font-variant-numeric:tabular-nums;color:#a09fa5;margin-top:0}
.player-transport{display:flex;align-items:center;justify-content:space-between;width:min(270px, 100%);margin:12px auto 15px}
.player-skip,.player-toggle{border:0;border-radius:0;background:0 0;width:62px;height:62px;flex:0 0 62px;display:grid;place-items:center;color:#e5e5e5;margin:0;padding:0;cursor:pointer}
.player-skip svg,.player-toggle svg{width:40px;height:40px;fill:currentColor;stroke:none}
.player-external{font-size:12px;color:#c7cec7;text-decoration:none}
.music-card.is-playing .music-play svg{display:none}
.music-card.is-playing .music-play:after{font-size:23px}
.video-error{position:absolute;bottom:95px;left:18px;right:18px;text-align:center;color:#fff;font-size:13px;pointer-events:none}
@media(prefers-reduced-motion:reduce){.music-sheet{animation:none}}
.album-media-open{flex:0 0 var(--moment-thumb-size)}
.album-copy .album-text{text-align:left;width:100%}
.row b{font-size:17px}
.emoji-grid{max-height:260px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y pinch-zoom;-webkit-overflow-scrolling:touch}
html.ios-emoji-touch-scroll .comment-emoji-scroll,html.ios-emoji-touch-scroll #emoji-panel .emoji-grid{touch-action:pan-x pinch-zoom;scroll-behavior:auto}
html.ios-emoji-touch-scroll .comment-emoji-grid button,html.ios-emoji-touch-scroll #emoji-panel .emoji-grid button{touch-action:pan-x pinch-zoom;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.post-sticker{font-size:17px;line-height:1.5}
.album-sticker .post-sticker{align-self:center;justify-self:center;font-size:30px}
.draft-video,.video-card{height:auto;max-width:100%;min-height:0}
.draft-video>img,.video-card>img{display:block;width:100%;height:100%;object-fit:contain}
.draft-video{grid-column:1/-1}
.album-video-thumb{height:var(--moment-thumb-size);aspect-ratio:1;max-width:var(--moment-thumb-size);grid-template-columns:1fr;grid-template-rows:1fr}
.album-video-thumb>img{object-fit:cover}
.music-mini{position:fixed;right:14px;bottom:calc(78px + var(--page-safe-bottom, env(safe-area-inset-bottom)));z-index:20;border-radius:8px;display:flex;align-items:center;overflow:hidden}
.music-mini [data-mini-open]{display:flex;align-items:center;gap:9px;text-align:left}
.music-mini img{width:36px;height:36px;border-radius:3px}
.music-mini span{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.music-mini small{display:block;color:#999;font-size:11px;margin-top:2px}
.music-mini [data-mini-toggle]{flex-shrink:0;width:42px;height:52px;color:#07c160;font-size:22px}
.video-dock button:focus-visible,.video-seek:focus-visible{outline:2px solid #fff;outline-offset:-3px}
.avatar-likes,.likes.avatar-likes{--like-size:32px;display:grid;grid-template-columns:17px minmax(0,1fr);align-items:start;column-gap:7px;row-gap:0;min-width:0;line-height:1}
.avatar-likes>svg{display:block;width:17px;height:17px;margin:calc(.5 * (-17px + var(--like-size))) 0 0;flex:none}
.likes-avatar-list{display:flex;flex-wrap:wrap;align-items:flex-start;align-content:flex-start;gap:6px;min-width:0}
.avatar-likes .likes-avatar-list>button{display:flex;align-items:center;justify-content:center;flex:0 0 var(--like-size);width:var(--like-size);height:var(--like-size);min-width:var(--like-size);min-height:var(--like-size);padding:0;margin:0;line-height:1;overflow:hidden;border-radius:3px;vertical-align:top}
.avatar-likes .likes-avatar-list .avatar{width:100%;height:100%;max-width:none;min-width:0;flex:0 0 100%;padding:0;margin:0;border:0;border-radius:3px;font-size:13px;line-height:1;object-fit:cover;vertical-align:top}
.avatar-likes .likes-avatar-list img.avatar{display:block}
.avatar-likes .likes-avatar-list span.avatar{display:flex;align-items:center;justify-content:center}
.detail-screen .topbar .camera{display:flex;align-items:center;justify-content:center}
.album-row{border-bottom:0;padding-top:14px;padding-bottom:0}
.album-row>.album-entry{border-bottom:1px solid #ededed;padding-bottom:18px}
.album-entry-meta{position:relative}
.topbar .action-pop{z-index:12}
.topbar .action-pop button{min-width:0;min-height:0}
.action-pop button span{white-space:nowrap}
.music-sheet .player-art{width:calc(min(38vw, 150px));height:calc(min(38vw, 150px));margin-bottom:14px}
.music-sheet .player-source{margin-bottom:14px}
.player-lyrics{position:relative;max-height:190px;height:calc(clamp(112px, 24vh, 190px));height:calc(clamp(112px, 24dvh, 190px));overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;margin:16px 0 5px;padding:55px 6px;color:#b5bcb5;-webkit-mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent);mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent)}
.player-lyrics::-webkit-scrollbar{display:none}
.lyric-line{font-size:16px;line-height:1.75;padding:6px 0;white-space:pre-wrap;overflow-wrap:anywhere;transition:color 180ms,transform 180ms}
.lyric-line.current{color:#fff;font-weight:600;transform:scale(1.025)}
.lyric-message{font-size:13px;line-height:1.6;color:#c2cac2;padding:8px 0}
.lyric-tools{position:relative;height:0;min-height:0;margin:0;padding:0;overflow:visible;z-index:1}
.lyric-tools button{position:absolute;bottom:5px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:12px;color:#fff;min-height:30px;padding:4px 12px;border-radius:15px;background:var(--music-card-bg,#525752);box-shadow:0 1px 6px #0002}
.lyric-tools button[hidden]{display:none}
.music-sheet .player-status{margin:5px 0;min-height:16px}
.music-sheet .player-artist{margin-top:6px}
.post-more.menu-expanded{background:#dedede}
.topbar-spacer{display:block;width:38px;height:38px;flex:none}
.music-mini{touch-action:none;user-select:none;-webkit-user-select:none}
.music-mini [data-mini-open]{cursor:grab}
.music-mini.dragging,.music-mini.dragging [data-mini-open]{cursor:grabbing}
.music-stop{position:absolute;left:12px;top:10px;width:38px;height:38px;z-index:3;color:#eee;font-size:28px;line-height:1}
.music-sheet .player-handle{padding-right:38px;padding-left:38px}
.post-text.long.collapsed{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;max-height:none;overflow:hidden}
.post-text+.expand{display:block;text-align:left;color:var(--blue);font-size:15px;line-height:1.5;margin:0 0 8px}
.album-text.long.collapsed{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;overflow:hidden}
.album-text.long:not(.collapsed){display:block;-webkit-line-clamp:unset;max-height:none;overflow:visible}
.album-copy>.expand{text-align:left;align-self:flex-start;margin:0;font-size:15px;line-height:1.5}
.album-text,.album-text.long.collapsed,.album-text.long:not(.collapsed),.post-text.long,.post-text.long.collapsed{display:block;-webkit-line-clamp:unset;line-clamp:none;-webkit-box-orient:initial;max-height:none;height:auto;overflow:visible}
.detail-page .post.detail-dated{display:grid;grid-template-columns:66px minmax(0,1fr);gap:8px;padding:14px 0 0;align-items:start}
.detail-dated>.post-body{min-width:0}
.detail-dated .post-text{margin-top:5px}
.detail-dated .photo-grid{max-width:100%}
.detail-dated .post-meta{flex-wrap:nowrap;height:auto;min-height:24px}
.detail-dated .album-entry{border-bottom:1px solid #ededed;padding-bottom:18px}
.album-date.album-date-location{display:flex;flex-direction:column;align-items:flex-start;gap:0;min-width:0;white-space:normal}
.album-date-main{display:flex;flex-direction:column;align-items:flex-start;gap:3px;white-space:nowrap}
.album-date-main>span{font-size:13px;font-weight:400;line-height:1.35;letter-spacing:1px}
.album-date-main>b{font-size:24px;font-weight:600;line-height:1.15;letter-spacing:0}
.album-location{width:100%;margin-top:6px;font-size:12px;line-height:1.45;font-weight:400;color:#888;white-space:normal;overflow-wrap:anywhere}
.album-date-main:empty+.album-location{margin-top:0}
.detail-page{padding-left:0;padding-right:0}
.detail-page>.post{border-bottom:0}
.profile-name{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.profile-name>span:first-child{min-width:0;overflow-wrap:anywhere}
.gender-badge{display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:20px}
.gender-badge svg{display:block;width:18px;height:18px;stroke-width:2.2}
.gender-badge.male{color:#4f94e8}
.gender-badge.female{color:#ed86ad}

.profile-region{overflow-wrap:anywhere}
.compose-option.compose-location{display:grid;grid-template-columns:20px minmax(0,1fr) auto;column-gap:12px}
.compose-location .location-detect{font-size:14px;color:var(--blue);min-height:32px;white-space:nowrap}
.compose-option.compose-location>input{grid-column:2/4;width:100%;text-align:left;min-width:0;padding:4px 0}
.compose-location>small{grid-column:2/4;font-size:12px;color:#999;line-height:1.5}
.tabs{flex-shrink:0}
.tabs button{white-space:nowrap}
.provider-panel h3{font-size:17px;margin:14px 0}
.provider-card{padding:14px;margin-top:12px}
.provider-card p{overflow-wrap:anywhere;margin:10px 0;line-height:1.5}
:root{--media-radius:2px;--moment-thumb-size:87px;--moment-thumb-gap:4px;--moment-thumb-grid:calc(3 * var(--moment-thumb-size) + 2 * var(--moment-thumb-gap))}
.album-media-open,.album-media-tile,.photo-grid>button,.pinned-tile,.profile-moments-thumb,.upload-grid>.upload-tile,.video-card{margin:0;-webkit-appearance:none;appearance:none}
.album-thumbnail,.draft-video,.photo-grid>button,.upload-tile,.video-card{border-radius:var(--media-radius);overflow:hidden}
.album-thumbnail img,.draft-video>img,.photo-grid img,.upload-tile>img,.video-card>img{border-radius:var(--media-radius)}
.album-video-thumb>img,.draft-video>img,.draft-video>video,.video-card>img{border-radius:0}
:is(.video-card,.draft-video,.album-video-thumb):has(>img,>video){background:transparent}
.music-card,.music-cover,.music-mini,.music-mini img,.player-art,.player-art>img{border-radius:var(--media-radius)}
.music-card,.music-cover{overflow:hidden}
.music-sheet{border-radius:var(--media-radius) var(--media-radius) 0 0}
.album-entry .music-card,.post-body .music-card{width:calc(100% - 43px);max-width:calc(100% - 43px)}
.music-card{background:var(--music-card-bg,#f1f2f3)}
.music-card .music-info small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.music-card .music-play{flex-shrink:0;border-color:#73787b}
.music-card .music-cover{background:transparent}
.music-mini{width:36px;height:36px;max-width:36px;min-width:36px;background:#fff;border:0;box-shadow:0 4px 24px #0000001a;border-radius:18px 0 0 18px}
.music-mini [data-mini-open]{width:36px;height:36px;min-width:36px;padding:0;display:grid;place-items:center;color:#07c160;border-radius:inherit}
.music-mini .mini-music-note{width:22px;height:22px;fill:currentColor;stroke:none;display:block}
.music-mini [data-mini-open]:active{background:#f0f0f0}
.feed-ad{display:flex;gap:10px;padding:20px;border-bottom:1px solid var(--line);background:#fff;align-items:flex-start}
.ad-avatar{width:42px;height:42px;flex:0 0 42px;border-radius:4px;overflow:hidden;position:relative;background:transparent}
.ad-avatar>img{display:block;width:100%;height:100%;object-fit:cover}
.ad-body{flex:1;min-width:0}
.ad-header{display:flex;align-items:center;justify-content:space-between;min-height:27px;gap:8px;margin-bottom:7px}
.ad-header>b{font-size:17px;font-weight:600;color:#576b95;overflow-wrap:anywhere}
.ad-menu-wrap{position:relative;flex-shrink:0}
.ad-badge,.ad-menu-wrap summary{list-style:none;background:#f7f7f7;color:#888;font-size:13px;padding:4px 8px;border-radius:5px;cursor:pointer}
.ad-menu-wrap summary::-webkit-details-marker{display:none}
.ad-badge,.ad-menu-wrap summary{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:27px;line-height:19px}
.ad-chevron{display:block;width:10px;height:10px;flex:0 0 10px;stroke-width:1.5}

@media(prefers-reduced-motion:reduce){.ad-menu-wrap[open] .ad-feedback{animation:none}}
.ad-feedback{position:absolute;z-index:15;right:0;top:calc(100% + 7px);width:max-content;background:#f7f7f7;color:#576b95;box-shadow:none;border-radius:2px;overflow:hidden}
.ad-feedback button{display:flex;align-items:center;justify-content:center;width:100%;margin:0;padding:8px 15px;border:0;background:transparent;color:inherit;text-align:center;font-size:14px;font-weight:400;line-height:22px;white-space:nowrap;-webkit-tap-highlight-color:transparent}
.ad-image{display:block;position:relative;width:100%;overflow:hidden;border-radius:4px 4px 0 0;background:transparent}
.ad-image>img{display:block;width:100%;height:auto;object-fit:contain}
.ad-copy{font-size:16px;line-height:1.5;color:#191919;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 4px 9px}
.ad-cta{display:block;width:100%;text-align:center;background:#fff;border-radius:5px;padding:10px 5px;color:#43b978;font-size:16px;font-weight:500;line-height:1.3}
.ad-cta:active{background:#edf7ef}
.ad-preview{margin:16px 0;border:1px solid #eee;border-radius:8px;overflow:hidden}
.ad-preview .feed-ad{padding:12px 8px}
.ad-image-empty{display:grid;place-items:center;min-height:130px;color:#999;font-size:14px}
@media(max-width:600px){.feed-ad{padding-left:16px;padding-right:16px}}
.cover>.cover-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none;opacity:0}
.cover>.cover-change{z-index:1}
.likes:not(.avatar-likes) .like-separator{display:inline-block;width:.65em;font:inherit;color:inherit;line-height:inherit}
.post-meta{flex-wrap:nowrap}
.post-published{display:flex;align-items:center;gap:8px;flex:1;min-width:0}
.post-published>time,.post-time-actions>time{font-size:13px;white-space:nowrap;flex:none}
.post-published>.post-location,.post-time-actions>.post-location{font-size:13px;margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.post-meta>.post-delete,.post-meta>span:not(.post-published){flex:none;white-space:nowrap}
.pinned-strip{display:grid;grid-template-columns:66px minmax(0,1fr);gap:8px;align-items:center;padding:17px 0;margin-bottom:0;border-bottom:1px solid var(--line)}
.pinned-strip h2{font-size:20px;font-weight:500;line-height:1.2;color:#191919}
.pinned-grid{display:grid;grid-template-columns:repeat(var(--pinned-columns,3),minmax(0,var(--moment-thumb-size)));gap:var(--moment-thumb-gap);width:100%;max-width:var(--moment-thumb-grid);min-width:0}
@media(min-width:601px){.pinned-grid{max-width:none}}
.pinned-tile{position:relative;display:block;width:100%;aspect-ratio:1;min-width:0;overflow:hidden;background:transparent;border-radius:2px;text-align:left;color:var(--text);container-type:inline-size}
.pinned-tile-text{display:flex;align-items:center;justify-content:center;background:#f7f7f7}
.pinned-tile>img{display:block;width:100%;height:100%;object-fit:cover}
.pinned-mosaic{display:grid;gap:1px;width:100%;height:100%}
.pinned-mosaic img{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:cover}
.pinned-mosaic.count-2{grid-template-columns:repeat(2,1fr)}
.pinned-mosaic.count-3,.pinned-mosaic.count-4{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr)}
/* Keep a compact, left-aligned text area centered in each pinned tile.
   Native wrapping and a four-line clamp preserve the full post content. */
.pinned-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;overflow-wrap:anywhere;white-space:pre-wrap;font-size:13px;font-weight:400;line-height:16px;margin:5px 8px;max-width:calc(5em - 1px);max-height:64px;color:#707070}
.pinned-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:30px;height:30px;aspect-ratio:1;border:1.5px solid #fff;border-radius:50%;background:#0002;color:#fff}
.pinned-play svg{width:60%;height:60%;fill:#fff;stroke-width:1.3}
.pinned-fallback{display:grid;place-items:center;height:100%;font-size:12px;color:#777}
.pinned-page{padding-top:0}
.pinned-page .album-year{margin:10px 0 24px}
.pinned-page .pinned-label{display:none}
.pinned-page .album-row{padding-top:16px}
.pinned-page .album-entry{padding-bottom:24px}
.pinned-page .album-copy .album-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.pinned-page .album-copy .expand{display:none}
.pinned-page .album-video-thumb{height:var(--moment-thumb-size);aspect-ratio:1}
.pinned-page .album-video-thumb>img{object-fit:cover}
.timeline-year{position:fixed;z-index:9;height:36px;display:flex;align-items:center;padding:0 16px;background:#fffffff5;border-bottom:1px solid #ededed;color:#888;font-size:14px;font-weight:500;line-height:1;pointer-events:none;box-sizing:border-box}
.timeline-year[hidden]{display:none}
.timeline-year button{pointer-events:auto;display:flex;align-items:center;gap:5px;height:36px;color:inherit;font:inherit;padding:0;background:0 0;border:0}
.timeline-year button svg{width:13px;height:13px;transform:rotate(90deg)}
.date-filter{display:flex;justify-content:space-between;align-items:center;padding:18px 0;color:#888;font-size:14px}
.date-filter button{color:#576b95;font-size:14px}
dialog.date-picker{position:fixed;inset:auto 0 0;width:100%;max-width:580px;max-height:90dvh;margin:0 auto;border:0;border-radius:12px 12px 0 0;padding:0;background:#fff;}
.date-picker::backdrop{background:rgba(0,0,0,.22)}
.date-picker .dialog-head{display:none}
.date-picker .dialog-body{padding:0 8px calc(44px + var(--page-safe-bottom, env(safe-area-inset-bottom)));overflow:hidden}
.date-picker h2{font-size:17px;font-weight:600;margin:0 16px;padding:21px 0 18px;border-bottom:1px solid #ededed;text-align:left}
.date-wheels{position:relative;display:flex;justify-content:center;gap:0;height:220px;margin:18px 0 20px}
.date-band{position:absolute;left:0;right:0;top:88px;height:44px;border-radius:9px;background:#f7f7f7;pointer-events:none}
.date-wheel{width:26%;height:220px;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none;padding:88px 0;box-sizing:border-box;position:relative;mask-image:linear-gradient(transparent,#000 25%,#000 75%,transparent);-webkit-mask-image:linear-gradient(transparent,#000 25%,#000 75%,transparent);outline-offset:0}
.date-wheel::-webkit-scrollbar{display:none}
.date-wheel [role=option]{height:44px;display:flex;justify-content:center;align-items:center;scroll-snap-align:center;font-size:15px;color:#999;cursor:pointer;-webkit-user-select:none;user-select:none}
.date-wheel [aria-selected=true]{font-size:18px;color:#191919}
.date-actions{display:flex;justify-content:center;gap:16px}
.date-actions button{width:108px;height:44px;background:#f2f2f2;border-radius:8px;font-size:18px;font-weight:600;color:#191919}
.date-actions button:last-child{background:#07c160;color:#fff}
.date-actions button:disabled{opacity:.55}

@media(prefers-reduced-motion:reduce){dialog.date-picker{animation:none}}
body:has(dialog.date-picker[open]){overflow:hidden}
.album-video,.pinned-play.pinned-video-play,.video-play{border:0;background:transparent url("video-cover-play.svg?v=76bed130c60471fd") 50%/100% 100% no-repeat;pointer-events:none}
.music-card{display:grid;grid-template-columns:33.333% minmax(0,1fr) 17%;gap:0;padding:0;align-items:center;background:var(--music-card-bg,#999);color:#f5f5f5;overflow:hidden}
.album-copy .music-card .music-cover,.music-card .music-cover{width:100%;height:auto;aspect-ratio:1;min-width:0;border-radius:0;display:grid;place-items:center;background:transparent}
.music-card .music-cover img{width:100%;height:100%;display:block;object-fit:cover}
.music-card .music-info{padding:0 0 0 10px;min-width:0}
.music-card .music-info b{font-size:15px;font-weight:400;line-height:1.4;color:#f5f5f5}
.music-card .music-info small{font-size:13px;line-height:1.4;margin-top:3px}
.music-card .music-play{justify-self:center;width:30px;height:40px;border:0;border-radius:0;background:0 0;color:#f5f5f5}
.music-card .music-play svg{width:19px;height:22px;fill:currentColor;stroke:none}
.music-card.is-playing .music-play{color:#f5f5f5}
.music-card.is-playing .music-play:after{content:"";width:4px;height:16px;border:0;border-radius:1px;background:currentColor;transform:translateX(-5px);box-shadow:10px 0 currentColor}
.music-source{color:#aaa;font-size:13px;margin:6px 0 9px}
.topbar .camera-glyph{width:26px;height:26px;fill:none;stroke:currentColor}
.moments-screen .topbar .camera-glyph{fill:currentColor;fill-opacity:calc(1 - var(--moments-header-title,0));stroke-opacity:var(--moments-header-title,0)}
dialog .dialog-head>button[data-act=close]{border:0;box-shadow:none;outline:0;background:0 0}
dialog .dialog-head>button[data-act=close],dialog .dialog-head>button[data-act=close]:focus-visible{text-decoration:none}
dialog.action-sheet{overscroll-behavior:contain}
dialog.action-sheet .dialog-body{overscroll-behavior:contain}
.comment-emojis,.dialog-body,.music-sheet,.player-lyrics,dialog{overscroll-behavior:contain}
.post-body>.name+.video-card{margin:8px 0}
.ad-mosaic .ad-header>b{font-size:16px}
.ad-mosaic .ad-copy{font-size:16px}
.ad-mosaic .ad-gallery{max-width:100%}
.ad-mosaic .ad-link-mark{position:absolute;top:5px;left:5px;width:16px;height:16px;display:grid;place-items:center;border-radius:50%;background:#ffffff66;color:#666;pointer-events:none}
.ad-link-mark svg{width:12px;height:12px}
.ad-mosaic .ad-cta{display:flex;width:max-content;max-width:100%;text-align:left;background:0 0;color:#576b95}
.ad-mosaic .ad-cta>svg{flex-shrink:0}
.ad-meta{display:flex;align-items:center;gap:10px;min-height:30px;color:#aaa;font-size:13px;margin-top:0}
.ad-meta>.post-published{flex-shrink:1}
.ad-location{color:#576b95;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.ad-meta>.post-more{margin-left:auto;flex-shrink:0}
.ad-note{margin-top:9px;padding:6px 9px;background:#f7f7f7;border-radius:8px;font-size:var(--font-comment);line-height:24px;overflow-wrap:anywhere;white-space:pre-wrap;color:#191919}
.ad-note-copy>b,.ad-note-reply>b{color:#576b95;font-weight:600}
.ad-location-icon{display:inline-flex;align-items:center}
.ad-location-icon svg{width:13px;height:15px;stroke-width:1.6}
.ad-mosaic .ad-gallery{width:100%;overflow:visible}
.ad-mosaic .ad-gallery .photo-grid{margin:8px 0}
.comment-colon{margin:0 2px 0 1px;font-weight:400}
.comment-reply-word{margin:0 2px}
.compose-option.visibility-row{width:100%;text-align:left;cursor:pointer;color:#191919;background:0 0;border-left:0;border-right:0;border-radius:0}
.visibility-row>span:first-of-type{flex-shrink:0}
.visibility-row .visibility-value{margin-left:auto;text-align:right;display:inline-flex;align-items:center;white-space:nowrap}
.visibility-row .visibility-value>svg{width:14px;height:14px;flex-shrink:0;margin-right:5px}
.visibility-row>svg:last-child{width:18px;height:18px;color:#b2b2b2;margin-left:8px;flex-shrink:0}
.visibility-row:active{background:#e5e5e5}
.visibility-row:focus,.visibility-row:focus-visible{outline:0;box-shadow:none}
dialog.visibility-picker{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:580px;max-height:85dvh;border-radius:12px 12px 0 0;padding:0 0 var(--page-safe-bottom, env(safe-area-inset-bottom));}
.visibility-picker::backdrop{background:#0006;-webkit-backdrop-filter:none;backdrop-filter:none}
.visibility-picker h2{text-align:center;font-size:16px;font-weight:500;padding:20px;border-bottom:1px solid #eee}
.visibility-options>button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:81px;margin:0;padding:16px 24px;text-align:left;border:0;border-bottom:1px solid #eee;gap:16px}
.visibility-options>button>span:first-child{display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0}
.visibility-options b{display:block;font-weight:400;font-size:17px;line-height:24px;margin:0}
.visibility-options small{display:block;color:#999;font-size:13px;line-height:20px;margin:0}

.visibility-options>button:active{background:#ededed}
.compose-option.compose-location{padding:0;row-gap:0}
.compose-location .location-row{grid-column:1/-1;display:flex;align-items:center;gap:12px;width:100%;padding:16px 0;min-height:52px;text-align:left;color:#191919}
.location-row>span:first-of-type{flex-shrink:0}
.location-row-value{margin-left:auto;max-width:52%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--green);text-align:right}
.location-row>svg{flex-shrink:0}
.location-row>svg:last-child{width:18px;height:18px;color:#b2b2b2;margin-left:8px}
.location-row:active{background:#e5e5e5}
.location-row:focus,.location-row:focus-visible{outline:0;box-shadow:none}
.visibility-picker button,.visibility-picker button:active,.visibility-picker button:focus,.visibility-picker button:focus-visible{outline:0;box-shadow:none}
.desktop-right{display:none}
@media(min-width:1100px){:root{--desktop-width:calc(min(1180px, 100vw - 48px));--desktop-rail:calc(.5 * (-628px + var(--desktop-width)))}.shell{margin-left:auto;margin-right:auto;width:580px}.desktop-brand,.desktop-foot,.side-nav{left:calc(50% - var(--desktop-width) / 2);width:var(--desktop-rail)}.desktop-brand{top:32px;gap:10px}.desktop-brand>div{min-width:0}.desktop-brand b{font-size:17px}.desktop-brand small{font-size:11px;letter-spacing:1px}.side-nav{top:124px}.side-nav button{width:100%;gap:14px;padding:14px 16px}.desktop-foot{bottom:30px;font-size:12px;line-height:1.8}.desktop-right{display:flex;flex-direction:column;gap:18px;position:fixed;top:28px;bottom:24px;left:calc(50% + 314px);width:var(--desktop-rail);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}.desktop-panel{padding:18px;background:#fff;border:1px solid #e9e9e9;border-radius:10px}.desktop-panel h2{font-size:15px;font-weight:600;margin:0 0 12px}.desktop-user{display:flex;align-items:center;gap:10px;width:100%;text-align:left}.desktop-user>span{min-width:0;flex:1}.desktop-user b{display:block;font-size:16px;overflow-wrap:anywhere}.desktop-user small{display:block;font-size:11px;color:#999;margin-top:5px;overflow-wrap:anywhere}.desktop-user>svg{width:15px;height:15px;flex-shrink:0;color:#bbb}.desktop-signature{font-size:12px;color:#888;line-height:1.7;overflow-wrap:anywhere;margin-top:16px}.desktop-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:18px 0;border-top:1px solid #eee;padding-top:16px}.desktop-counts button+button{border-left:1px solid #eee}.desktop-counts b{display:block;font-size:19px;font-weight:500}.desktop-counts span{display:block;font-size:12px;color:#888;margin-top:4px}.desktop-publish{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;font-size:14px}.desktop-publish svg{width:20px;height:20px}.desktop-shortcut{display:flex;align-items:center;gap:10px;width:100%;padding:13px 0;text-align:left;font-size:13px}.desktop-shortcut>span{flex:1}.desktop-shortcut>svg{width:19px;height:19px;color:#666}.desktop-shortcut>svg:last-child{width:15px;height:15px;color:#bbb}.desktop-shortcut:active{background:#f5f5f5}.desktop-shortcut+.desktop-shortcut{border-top:1px solid #f3f3f3}.desktop-welcome{text-align:center;margin-bottom:20px}.desktop-welcome img{width:56px;height:56px;border-radius:50%;margin-bottom:14px}.desktop-welcome p{font-size:12px;color:#888;line-height:1.6}.desktop-register{margin-top:10px}}
.detail-page .post-meta{height:auto;min-height:24px;flex-wrap:nowrap}
.detail-page .post-published{flex:1 1 0;flex-wrap:nowrap}
.post-time-actions>:not(.post-location){flex-shrink:0}
.post-delete{display:inline-flex;align-items:center;justify-content:center;min-width:28px;min-height:28px;color:#ccc}
.post-delete .post-trash-icon{display:block;width:13px;height:13px;fill:currentColor;stroke:none}
.post-delete:active{opacity:.65}
.post-friends-visibility{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;color:#ccc}
.post-friends-visibility svg{display:block;width:13px;height:13px;fill:currentColor;stroke:none}
.post-self-visibility{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;color:#ccc}
.post-self-visibility svg{display:block;width:13px;height:13px;fill:currentColor;stroke:none}
.post-privacy-actions{display:inline-flex;align-items:center;gap:4px;flex-shrink:0}
.post-privacy-actions:empty{display:none}
.post-privacy-actions>.post-friends-visibility,.post-privacy-actions>.post-self-visibility,.post-time-actions>.post-friends-visibility{width:13px}
.post-privacy-actions>.post-delete,.post-time-actions>.post-delete{position:relative;justify-content:center;width:13px;min-width:13px;padding:0}
.post-privacy-actions>.post-delete:before,.post-time-actions>.post-delete:before{content:"";position:absolute;inset:0 -7px}
.album-content{position:relative}
.album-content.has-visibility{padding-right:26px}
.album-content>.post-friends-visibility,.album-content>.post-self-visibility{position:absolute;right:0;bottom:0;width:24px;height:24px}
.album-content.text-only>.post-friends-visibility,.album-content.text-only>.post-self-visibility{top:50%;bottom:auto;transform:translateY(-50%)}
.album-feed>.album-row{grid-template-columns:66px minmax(0,1fr);gap:8px;padding-top:17px}
.album-feed>.album-row>.album-entry{padding-bottom:17px}
.album-feed .album-location{font-size:12px;font-weight:400;line-height:1.5;margin-top:5px;word-break:break-word;color:#707070}
.album-feed .album-content{gap:10px}
.album-feed .album-content.has-media{min-height:var(--moment-thumb-size);padding-right:0}
.album-feed .album-thumbnail{width:var(--moment-thumb-size);height:var(--moment-thumb-size);flex:0 0 var(--moment-thumb-size)}
.album-feed .album-media-open{width:var(--moment-thumb-size);height:var(--moment-thumb-size);flex:0 0 var(--moment-thumb-size)}
.album-feed .album-copy>.album-text{-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;font-size:var(--font-post);line-height:1.5;text-overflow:ellipsis;text-align:left}
.album-feed .album-copy>.expand,.album-feed .album-copy>small{display:none}
.album-feed .album-content.has-media.has-visibility>.album-copy{padding-bottom:20px}
.album-feed .album-content.has-media>.post-friends-visibility,.album-feed .album-content.has-media>.post-self-visibility{right:0;bottom:0;width:20px;height:20px}
.album-feed .album-content.text-only{background:0 0;padding-top:0;padding-bottom:0;min-height:24px}
.album-feed .album-content.text-only>.post-friends-visibility,.album-feed .album-content.text-only>.post-self-visibility{top:auto;bottom:0;transform:none}
.album-feed .album-video-thumb>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.album-feed .album-content,.album-feed .album-content.has-media,.album-feed .album-content.text-only{padding-right:35px}
.album-music-preview{display:flex;align-items:center;gap:8px;width:100%;min-width:0;padding:0;margin:0;background:0 0;text-align:left;color:#888}
.album-music-cover{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;overflow:hidden;border-radius:var(--media-radius);background:transparent}
.album-music-cover img{display:block;width:100%;height:100%;object-fit:cover}
.album-music-info{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1;font-size:16px;line-height:23px;font-weight:400}
.album-music-info>span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.album-feed .album-copy>.album-text{display:block;-webkit-line-clamp:unset;line-clamp:none;max-height:none;overflow:visible;appearance:none;-webkit-appearance:none}
.album-text-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;text-overflow:ellipsis;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}
.detail-options svg{fill:currentColor;stroke:none}
dialog.post-options-sheet .menu-choice{min-height:53px;padding:17px 20px;line-height:24px}
dialog.post-options-sheet .post-pin-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-align:center}
.post-pin-choice small{font-size:12px;line-height:18px;color:#999;font-weight:400}
dialog.post-options-sheet .menu-choice:last-of-type{border-bottom:0}
dialog.post-options-sheet .menu-choice:focus{outline:0}
.feed.feed-ended>article:last-of-type{border-bottom:0}
.feed.feed-ended>.album-row:last-of-type>.album-entry{border-bottom:0}
.feed-end{display:flex;align-items:center;justify-content:center;gap:8px;height:55px;margin:0 auto;color:#d8d8d8}
.feed-end:after,.feed-end:before{content:"";display:block;width:24px;height:1px;background:currentColor}
.feed-end>span{display:block;width:4px;height:4px;border-radius:50%;background:currentColor}
.post-privacy-actions>.post-pin-icon{display:inline-flex;align-items:center;justify-content:center;width:13px;height:28px;flex:none;color:#ccc}
.post-pin-icon>svg{display:block;width:13px;height:13px;fill:currentColor;stroke:none}
.detail-page .post-time-actions>.post-friends-visibility,.detail-page .post-time-actions>.post-pin-icon,.post-time-actions>.post-delete{color:var(--blue)}
.feed-end-private{height:auto;min-height:20px;margin:0 auto 20px;color:#aaa;font-size:14px;line-height:20px;gap:9px}
.feed-end-private>span{width:auto;height:auto;border-radius:0;background:0 0;white-space:nowrap}
.post-time-actions{display:inline-flex;align-items:center;gap:8px;flex:0 1 auto;min-width:0;max-width:100%;white-space:nowrap}
.detail-page .post-more.post-more-private{color:#d3d3d3;background:#f7f7f7;opacity:1;cursor:default;pointer-events:none}
.album-feed .album-entry-meta{min-height:0;margin-top:0}
.album-feed .album-entry-meta>.pinned-label{margin-top:4px}
.album-feed>.album-row>.album-date{padding-top:0;align-self:start}
.album-feed .album-date-main{width:max-content;min-width:28px;align-items:flex-start;text-align:left}
.album-feed .album-date-main>span{font-size:12px;letter-spacing:0}
.album-feed .album-date-main>span+b{line-height:25px;font-variant-numeric:tabular-nums;letter-spacing:0}
.album-feed .album-date-main{gap:2px}
.album-feed .album-date-main>span{line-height:1}
/* Match the personal timeline labels to the reference: one size, weight and ink. */
.album-feed .pinned-strip h2,.album-feed .album-date-main>b,.album-feed .album-date-main>b:only-child{font-size:20px;font-weight:500;color:#191919;letter-spacing:0}
.album-feed .album-date-main>span{color:#191919}
.album-feed .album-date-main>b:only-child{line-height:1}
.album-feed>.album-text-leading>.album-date{padding-top:4px}
.album-feed>.album-media-leading>.album-date{padding-top:0}
.me-profile-card>.avatar{align-self:flex-start}
.profile-card.user-card>div{min-width:0;flex:1;min-height:65px;display:flex;flex-direction:column;justify-content:space-between}
.profile-card.user-card .profile-name{margin:0;line-height:25px}
.profile-card.user-card p{margin:0;line-height:18px}
dialog.navigation-menu .menu-choice:focus,dialog.navigation-menu .menu-choice:focus-visible{outline:0;box-shadow:none}
dialog.navigation-menu .menu-choice:focus-visible{background:#f7f7f7}
.post>.avatar-button{display:block;line-height:0;align-self:flex-start;margin:0;padding:0;border:0;-webkit-appearance:none;appearance:none}
.post>.avatar-button>.avatar{vertical-align:top}
.post>.avatar-button>img.avatar{display:block}
.post>.post-body{align-self:flex-start;padding-top:0}
.post>.post-body>.name{display:block;text-align:left;line-height:20px;margin:0;padding:0;border:0;border-radius:0;min-height:0;max-width:100%;overflow-wrap:anywhere;-webkit-appearance:none;appearance:none}
.post>.post-body>.music-card,.post>.post-body>.photo-grid,.post>.post-body>.video-card{margin-top:4px}
.feed-ad.ad-mosaic>.ad-body,.post>.post-body{--post-author-gap:6px}
.post>.post-body>.name+.music-card,.post>.post-body>.name+.photo-grid,.post>.post-body>.name+.post-sticker,.post>.post-body>.name+.post-text,.post>.post-body>.name+.video-card{margin-top:var(--post-author-gap)}
.feed-ad.ad-mosaic>.ad-body>.ad-header+.ad-copy,.post>.post-body>.name+.post-text{margin-top:calc(var(--post-author-gap) - var(--post-first-line-inset,.225em))}
.post>.post-body>.name+.post-sticker{margin-top:calc(var(--post-author-gap) - var(--post-first-line-inset,.25em))}
.post>.post-body>.name+.post-sticker{display:block}
.post>.post-body>.post-text:has(+.photo-grid,+.video-card,+.music-card){margin-bottom:6px}
.ad-mosaic .ad-header{margin-bottom:0;align-items:flex-start}
.ad-mosaic .ad-copy{margin-top:0;margin-bottom:5px}
.ad-mosaic .ad-gallery .photo-grid,.ad-mosaic .ad-gallery>.video-card{margin-top:4px}
.feed-ad.ad-mosaic{padding:20px;gap:11px;border-bottom-color:#f0f0f0}
.ad-mosaic .ad-header{position:relative;display:block;min-height:20px;padding-right:76px;margin:0}
.ad-mosaic .ad-header>b,.post>.post-body>.name>.post-author-label{display:block;font-family:inherit;font-size:var(--font-body);font-weight:600;line-height:20px}
.ad-mosaic .ad-header>.ad-badge,.ad-mosaic .ad-header>.ad-menu-wrap{position:absolute;right:0;top:-1px}
.ad-mosaic .ad-copy{font-size:var(--font-post);line-height:1.45;margin:0 0 5px}
.ad-mosaic .ad-gallery{display:contents}
.ad-mosaic .ad-gallery>.photo-grid{margin:var(--post-author-gap,6px) 0 8px}
.ad-mosaic .ad-gallery>.video-card{margin:4px 0 8px}
.ad-mosaic .ad-meta{height:24px;min-height:24px;margin-top:8px;gap:13px;font-size:var(--font-meta)}
.ad-mosaic .ad-note{margin-top:9px}
@media(max-width:600px){.feed-ad.ad-mosaic{padding:17px 16px;gap:10px}.ad-mosaic .ad-avatar{width:40px;height:40px;flex-basis:40px}}
.ad-mosaic .ad-header>.ad-menu-wrap{margin:0;padding:0}
.ad-mosaic .ad-menu-wrap>summary{display:flex;margin:0;vertical-align:top;-webkit-tap-highlight-color:transparent}
.ad-mosaic .ad-header>.ad-badge{margin:0;vertical-align:top}
.music-source{line-height:18px}
.ad-mosaic .ad-header>.ad-badge,.ad-mosaic .ad-menu-wrap>summary{font-size:13px;line-height:18px;height:22px;min-height:22px;--ad-badge-gap:6px;padding:2px var(--ad-badge-gap);gap:var(--ad-badge-gap);align-items:center;justify-content:center;flex-wrap:nowrap;white-space:nowrap;width:max-content;box-sizing:border-box}
.ad-mosaic .ad-badge>svg,.ad-mosaic .ad-menu-wrap>summary>svg{width:10px;height:10px}
.ad-mosaic .ad-cta{padding:0;margin:6px 0 9px;font-size:13px;line-height:18px;min-height:18px;align-items:center}
.ad-mosaic .ad-cta{position:relative;gap:5px;color:var(--blue);font-weight:500;border-radius:3px;touch-action:manipulation}
.ad-mosaic .ad-cta>svg{display:block;width:14px;height:14px;flex:0 0 14px;stroke-width:1.8}
.ad-mosaic .ad-cta:before{content:"";position:absolute;inset:-7px -8px;border-radius:5px}
.ad-mosaic .ad-cta:active{color:#40577f;background:#f0f3f8}
.ad-mosaic .ad-cta:focus-visible{outline:2px solid #a7b3c7;outline-offset:4px}
@media(hover:hover){.ad-mosaic .ad-cta:hover{color:#40577f;text-decoration:underline;text-underline-offset:3px}}
.ad-mosaic .ad-badge-label{display:block;flex:0 0 auto;font-size:12px;font-weight:400;font-style:normal;line-height:18px;letter-spacing:0;white-space:nowrap;margin-left:calc(-.02em + var(--ad-label-trim-left,-.08em));margin-right:calc(-.02em + var(--ad-label-trim-right,-.05em))}
.ad-mosaic .ad-location-icon{display:flex;align-items:center;justify-content:center;flex:0 0 8.45px;width:8.45px;height:18px;margin:0;overflow:visible}
.ad-mosaic .ad-chevron{display:flex;align-items:center;justify-content:center;width:5.9375px;height:10px;flex:0 0 5.9375px;margin:0;overflow:visible}
.ad-mosaic .ad-chevron>svg{display:block;width:10px;height:10px;flex:0 0 10px;stroke-width:1.5;overflow:visible}
.ad-mosaic .ad-location-icon>svg{display:block;width:13px;height:13px;flex:0 0 13px;overflow:visible}
.ad-mosaic .ad-location-icon>svg>path{transform:translateY(.5px)}
.visibility-options>button:last-child{border-bottom:0}

.ad-avatar-editor{display:flex;align-items:center;gap:16px;margin:18px 0 20px}
.ad-avatar-preview{display:block;flex:0 0 48px;width:48px;height:48px}
.ad-avatar-preview>.ad-avatar{display:block;width:48px;height:48px}
.ad-avatar-preview>.ad-avatar-empty{display:flex;align-items:center;justify-content:center;color:#aaa}
.ad-avatar-editor>.secondary{flex:0 1 auto}
:is(.ad-upload-grid,#draft-images) .delete{position:absolute;top:3px;right:3px;display:grid;place-items:center;width:23px;height:23px;aspect-ratio:1;padding:0;border:0;border-radius:50%;background:#0008;color:#fff;font-size:0;line-height:1;z-index:1}
:is(.ad-upload-grid,#draft-images) .delete:after,:is(.ad-upload-grid,#draft-images) .delete:before{content:"";position:absolute;left:50%;top:50%;width:12px;height:1.5px;background:currentColor;border-radius:1px;transform:translate(-50%,-50%) rotate(45deg);pointer-events:none}
:is(.ad-upload-grid,#draft-images) .delete:after{transform:translate(-50%,-50%) rotate(-45deg)}
form[data-form=provider] button[data-act=locationRestore]{margin-bottom:14px}
.music-swipe-zone{user-select:none;-webkit-user-select:none;outline-offset:4px}
.music-list-end{position:absolute;top:24px;left:58px;right:58px;display:flex;align-items:center;justify-content:center;gap:12px;margin:0;font-size:12px;line-height:18px;color:#b5bcb5;pointer-events:none}
.music-list-end[hidden]{display:none}
.music-list-end:after,.music-list-end:before{content:"";width:26px;height:1px;background:currentColor;opacity:.55}
.ad-meta{position:relative}
.ad-interactions .interactions{margin-top:10px}
.likes:not(.avatar-likes){display:flex;align-items:center;gap:5px;min-height:36px;padding:6px 9px;line-height:24px}
.likes:not(.avatar-likes)>svg{display:block;flex:0 0 14px;margin:0}
.like-names{display:flex;flex-wrap:wrap;align-items:center;align-content:center;min-width:0;line-height:24px;overflow-wrap:anywhere}
.like-names>button{-webkit-appearance:none;appearance:none;border:0;border-radius:0;box-shadow:none;display:block;max-width:100%;margin:0;padding:0;line-height:24px;text-align:left;overflow-wrap:anywhere}
.likes:not(.avatar-likes) .like-names>.like-separator{display:block;flex:0 0 .65em;line-height:24px}
.comment>.comment-copy{display:block;line-height:24px;margin:0;padding:0;word-break:break-all}
.comment .comment-name{display:inline-block;max-width:100%;white-space:normal;word-break:normal;overflow-wrap:anywhere}
.comment .remove-comment{height:24px;line-height:24px;margin:0;padding:0}
.upload-grid>button.upload-tile{display:block;width:100%;min-width:0;padding:0;appearance:none;-webkit-appearance:none;line-height:0}
.upload-grid>button.upload-tile>svg{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:block;margin:0;pointer-events:none}
.music-sheet{background:var(--music-card-bg,#999)}
@media(min-width:900px){dialog.navigation-menu .dialog-body{padding:0}dialog.navigation-menu .menu-choice{display:flex;align-items:center;justify-content:center;min-height:58px;margin:0;padding:17px 20px;line-height:24px}dialog.fullscreen-editor .dialog-body{padding:20px 24px}dialog.composer .composer-text{display:block;margin:0;padding:0;min-height:120px}dialog.composer #draft-images{margin:16px 0}dialog.composer .composer-tools{margin:0;padding:14px 0}dialog.composer #compose-form>.notice{margin:16px 0 0}}
.site-logo-editor{display:grid;gap:12px;margin-bottom:24px}
.site-logo-preview{width:80px;height:80px;object-fit:contain;background:transparent;border:1px solid #eee;border-radius:6px}
.site-logo-upload-preview{display:block;width:80px;height:80px}
#avatar-preview[data-upload-preview]{display:block;width:65px;height:65px;flex:0 0 65px}
[data-upload-preview]{position:relative;isolation:isolate}
[data-upload-preview]>.media-upload-progress{position:absolute;inset:0;z-index:3;display:block;overflow:hidden;background:rgba(0,0,0,.38);color:#fff;border-radius:inherit;pointer-events:none;text-align:center;text-shadow:0 1px 3px #0005}
[data-upload-preview][aria-busy]>.video-placeholder{visibility:hidden}
.media-upload-progress>b{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:22px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.2;white-space:nowrap}
.media-upload-progress>small{position:absolute;left:4px;right:4px;top:calc(50% + 18px);font-size:11px;line-height:1.3;white-space:nowrap}
#avatar-preview>.media-upload-progress>b,.ad-avatar>.media-upload-progress>b,.site-logo-upload-preview>.media-upload-progress>b{font-size:16px}
#avatar-preview>.media-upload-progress>small,.ad-avatar>.media-upload-progress>small{display:none}
.cover-edit-preview,.system-cover-upload-frame{margin-bottom:14px}
.cover-edit-preview>img,.cover-edit-preview>video,.system-cover-upload-frame>img{display:block;margin-bottom:0}
.system-cover-upload-frame[hidden]{display:none}
.auth-brand img,.desktop-brand img,.desktop-welcome img,.topbar .logo-mini{object-fit:contain;border-radius:0}
.notice-editor{padding:18px}
.notice-editor .primary{margin-top:16px}
.system-notice-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;text-align:left}
.system-avatar{background:transparent;color:#888}
.avatar.default-user-avatar{background:0 0;object-fit:contain}
.site-description{white-space:pre-wrap;overflow-wrap:anywhere}
.desktop-brand small.site-description{letter-spacing:0;line-height:1.5;max-height:72px;overflow:auto}
.bottom-nav .nav-icon,.side-nav .nav-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;flex:0 0 24px;overflow:visible}
.bottom-nav .nav-icon{justify-self:center}
.bottom-nav .nav-icon .badge,.side-nav .nav-icon .badge{position:absolute;margin:0;pointer-events:none}
body,html{overflow-x:hidden;overflow-x:clip}
html.has-page-nav,html.has-page-nav body{overscroll-behavior-y:none}
html.has-page-nav{--page-edge-background:var(--bottom-nav-background)}
@media(max-width:1099px){body{background:var(--page-edge-background)}}
.shell.has-bottom-nav,.shell.people-screen,.shell.account-screen,.shell.notifications-screen{background:#ededed}
/* The Moments canvas stays white, including empty feeds with bottom navigation. */
.shell.moments-screen{background:#fff}
.shell.has-bottom-nav>.topbar{flex:0 0 auto}
.shell.has-bottom-nav>.page{flex:1 0 auto;min-height:0;padding-bottom:20px}
.tabs{min-width:0;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.tabs>button{flex-shrink:0}
.bottom-nav{position:relative;flex:0 0 auto;margin:0;box-sizing:border-box;background:var(--bottom-nav-background);display:flex;align-items:stretch;isolation:isolate}
.bottom-nav button{flex:1 1 0;min-width:0;min-height:48px;padding:5px 0;grid-template-rows:24px 16px;justify-items:center;align-content:center;touch-action:manipulation}
.bottom-nav .nav-icon .badge,.side-nav .nav-icon .badge{left:14px;top:-5px}
.compat-backdrop{position:fixed;inset:0;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.4);z-index:100}
dialog.compat-dialog[open]{display:block;position:fixed;top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);margin:0;width:calc(100% - 32px);max-width:560px;max-height:85vh;overflow:auto;animation:none}
@media(max-width:600px){.bottom-nav{height:58px;height:calc(58px + var(--page-safe-bottom, env(safe-area-inset-bottom,0px)))}}
@media(prefers-reduced-motion:reduce){*,:after,:before{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
.notification:not(.unread){background:#fff}
img.moment-photo{opacity:0;border:0;outline:0;color:transparent;font-size:0}
img.moment-photo.photo-loaded{opacity:1}
.photo-grid>button:not(.photo-loaded){background:0 0}
.photo-grid.one>button:not(.photo-loaded){width:270px;max-width:100%;aspect-ratio:1}
.photo-viewer:focus{outline:0;box-shadow:none}

.music-boundary-anchor{position:static;height:0;min-height:0;margin:0;padding:0;overflow:visible}
.music-boundary-anchor.is-bottom{position:relative}
.music-list-end.music-list-end-bottom{position:absolute;top:auto;bottom:0;left:0;right:0;margin:0}
.music-sheet.music-boundary-bottom-visible .player-status{visibility:hidden}
.feed-end.empty-state{margin:0 auto;height:119px}

.mobile-icp a{color:#999;font-size:12px;line-height:1.7}
@media(min-width:1100px){.mobile-icp{display:none}.desktop-right>.desktop-panel{flex-shrink:0}}
.pinned-mosaic{grid-template-columns:none;grid-template-rows:none}
.pinned-mosaic.count-1{grid-template-areas:"a"}
.pinned-mosaic.count-2{grid-template-areas:"a b";grid-template-columns:repeat(2,minmax(0,1fr))}
.pinned-mosaic.count-3{grid-template-areas:"a b" "a c";grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}
.pinned-mosaic.count-4{grid-template-areas:"a b" "c d";grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}
.pinned-mosaic.count-5{grid-template-areas:"a a a b b b" "c c d d e e";grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}
.pinned-mosaic.count-6{grid-template-areas:"a a b" "a a c" "d e f";grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}
.pinned-mosaic.count-7{grid-template-areas:"a a a" "b c d" "e f g";grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}
.pinned-mosaic.count-8{grid-template-areas:"a a b" "c d e" "f g h";grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}
.pinned-mosaic.count-9{grid-template-areas:"a b c" "d e f" "g h i";grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}
.shell>.topbar{align-self:stretch;flex-shrink:0}
.topbar h1{position:absolute;left:50%;transform:translateX(-50%);max-width:calc(100% - 120px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;pointer-events:none}
.album-thumbnail.album-mosaic{display:block}
.album-mosaic .pinned-mosaic{gap:1px}
.album-mosaic .pinned-mosaic img{border-radius:0}
body,html{height:100%;overflow:hidden;overscroll-behavior:none}
.shell,.shell.has-bottom-nav{display:flex;flex-direction:column;height:100vh;height:var(--page-viewport-height,100vh);min-height:0;overflow:hidden;overflow:clip;padding-bottom:0}
@supports(height:100dvh){.shell,.shell.has-bottom-nav{height:var(--page-viewport-height,100dvh)}}
.shell>.topbar{flex:0 0 auto;position:relative;top:auto}
.page-scroll{flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:none;-webkit-overflow-scrolling:touch}
.page-scroll>.page{min-height:0;padding-bottom:20px}
.detail-screen>.page-scroll{overflow-anchor:none}
.detail-screen>.topbar{background:#ededed}
.detail-screen>.comment-dock{position:relative;bottom:auto}
@media(min-width:901px){
 .shell.moments-screen{display:block;overflow:hidden}
 .shell.moments-screen>.page-scroll{height:calc(100% - var(--nav-total-height,58px));min-height:0;max-height:calc(100% - var(--nav-total-height,58px));overflow-y:auto;overflow-x:hidden}
 /* The overlaid cover header consumes no separate row. */
 .shell.moments-screen:not(.remaining-screen)>.page-scroll{height:100%;max-height:100%}
}
.shell.moments-screen.desktop-feed-commenting{display:block;height:var(--desktop-comment-height,var(--page-viewport-height,100vh));overflow:hidden;overflow:clip}
.shell.moments-screen.desktop-feed-commenting>.topbar{position:relative;top:0;margin:0;background:var(--moments-header-surface,#ededed);color:var(--moments-header-color,#191919);border-bottom-color:var(--moments-header-line,#ddd5);z-index:12;-webkit-backdrop-filter:none;backdrop-filter:none}
.shell.moments-screen.desktop-feed-commenting>.topbar h1{opacity:var(--moments-header-heading,1)}
.shell.moments-screen.desktop-feed-commenting>.page-scroll{position:absolute;top:var(--desktop-comment-header,var(--nav-total-height,58px));bottom:var(--desktop-comment-dock,53px);left:0;right:0;height:auto;max-height:none;min-height:0;overflow-y:auto;overflow-x:hidden;overflow-anchor:none;scroll-behavior:auto}
.shell.moments-screen.desktop-feed-commenting>.comment-dock{position:absolute;left:0;right:0;bottom:0;width:100%}
/* Opening the desktop comment dock keeps the cover beneath the same header. */
@media(min-width:601px){.shell.moments-screen.desktop-feed-commenting>.page-scroll{top:0}}
.video-controls .video-toggle{display:grid;place-items:center;padding:0;color:#fff;line-height:0;background:0 0;border:0}
.video-controls .video-toggle svg{display:block;width:18px;height:20px;fill:currentColor;stroke:none}
.pending-upload{position:relative;isolation:isolate;min-height:100px}
.pending-upload>video{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
.pending-upload.draft-video{aspect-ratio:16/9}
.pending-upload .preview-status{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:#0006;color:#fff;text-align:center}
.preview-status b{font-weight:600}
.preview-status small{line-height:1.4;max-width:100%;overflow-wrap:anywhere}
.preview-status button{font-size:13px;border:1px solid #fff8;border-radius:4px;padding:4px 12px}
.pending-upload .delete{z-index:2}
dialog .dialog-body :is(.row,.menu-choice,.compose-option):not(:has(~:is(.row,.menu-choice,.compose-option))){border-bottom:0}
dialog.composer .dialog-body .compose-option.visibility-row{border-bottom:1px solid #eee}
.photo-viewer .viewer-photo{-webkit-touch-callout:default;user-select:auto;-webkit-user-select:auto}
.viewer-save{width:auto;min-width:76px;display:flex;gap:6px;padding:0 10px;border-radius:22px;background:#ffffff20;font-size:14px}
.viewer-save-help{position:absolute;z-index:3;left:18px;right:110px;bottom:calc(17px + var(--page-safe-bottom, env(safe-area-inset-bottom)));font-size:12px;line-height:1.5;color:#ddd;text-shadow:0 1px 3px #000}
.viewer-save-help p{margin:0}
.photo-viewer .viewer-save-help{bottom:calc(75px + var(--page-safe-bottom, env(safe-area-inset-bottom,0px)))}
.photo-viewer.closing .viewer-save-help,.photo-viewer.dragging .viewer-save-help{opacity:0;pointer-events:none}
.cover>img.default-cover{object-position:50% 50%}
.desktop-foot .site-description{display:block;white-space:pre-wrap;overflow-wrap:anywhere;max-height:144px;overflow-y:auto}
:root{--floating-edge:14px;--floating-base:calc(20px + var(--page-safe-bottom, env(safe-area-inset-bottom)))}
.music-mini{right:0;top:20%;bottom:auto}
.music-mini[data-edge="left"]:not(.is-expanded){border-radius:0 18px 18px 0}
.music-mini.dragging:not(.is-expanded){border-radius:50%}
@media(max-width:900px){html.has-detail-comment-toolbar,html.has-page-nav{--floating-base:calc(78px + var(--page-safe-bottom, env(safe-area-inset-bottom)))}}
.cover-gallery .dialog-body{padding:20px;overflow-y:auto}
.cover-gallery .dialog-head{flex-shrink:0}
.cover-gallery-note{font-size:13px;line-height:1.7;color:#999;text-align:center;margin:0 0 20px}
.system-cover-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.system-cover-tile{position:relative;background:transparent;text-align:left;padding:0;border:2px solid #ededed;border-radius:6px;overflow:hidden;min-width:0}
.system-cover-tile>img{width:100%;aspect-ratio:1.15;object-fit:cover;display:block}
.system-cover-tile>span{display:block;padding:12px;font-size:14px;color:#333}
.system-cover-tile.is-selected{border-color:#ededed}
.cover-selected{position:absolute;right:8px;top:8px;width:23px;height:23px;border-radius:50%;background:#07c160;color:#fff;text-align:center;line-height:23px}
.system-cover-preview{position:relative;margin:-20px -20px 42px}
.system-cover-preview>img{display:block;width:100%;aspect-ratio:2;object-fit:cover}
.system-cover-person{--cover-avatar-size:64px;--cover-avatar-overhang:24px;--cover-name-gap:calc((var(--cover-avatar-size) - var(--cover-avatar-overhang) - var(--cover-name-line-height))/2);position:absolute;bottom:calc(0px - var(--cover-avatar-overhang));right:20px;display:flex;align-items:flex-start;gap:var(--cover-name-gap);max-width:calc(100% - 40px)}
.system-cover-person>b{color:#fff;font-size:22px;font-weight:600;line-height:var(--cover-name-line-height);text-shadow:0 1px 4px #0006;margin:calc(var(--cover-name-gap) + 3px) 0 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.system-cover-person .avatar{width:var(--cover-avatar-size);height:var(--cover-avatar-size);border:0;border-radius:6px}
.cover-preview-name{text-align:center;font-size:18px;font-weight:600;margin:16px 0 10px}
.cover-preview .cover-gallery-note{margin-bottom:0}
.cover-preview-actions{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;padding:20px 0 0}
.system-cover-admin{padding:18px}
.system-cover-admin>.hint{margin:12px 0 20px}
.system-cover-item{min-width:0}
.system-cover-item>img{width:100%;aspect-ratio:1.5;object-fit:cover;display:block;border-radius:5px}
.system-cover-item>div{padding:10px 0;gap:8px;font-size:13px}
.system-cover-item span{overflow-wrap:anywhere}
.system-cover-item button{flex-shrink:0}
.system-cover-item>.system-cover-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:0 0 10px;gap:8px}
.system-cover-default{color:var(--green);font-size:12px;font-weight:600;padding:6px 0}
.system-cover-item.is-default>img{outline:2px solid var(--green);outline-offset:-2px}
.system-cover-upload-preview{display:block;width:100%;aspect-ratio:1.5;object-fit:cover;margin-bottom:14px}
.system-cover-upload-preview[hidden]{display:none}
.music-layer{overflow:hidden;overscroll-behavior:none}
.music-sheet{display:flex;flex-direction:column;height:calc(min(720px, 96vh));height:calc(min(720px, 96dvh));max-height:96vh;max-height:96dvh;overflow:hidden;overscroll-behavior:none}
.music-sheet>:not(.player-lyrics){flex-shrink:0}
.music-sheet .player-lyrics{flex:1 1 0;min-height:0;height:auto;max-height:none;overflow-x:hidden;overscroll-behavior:none;touch-action:pan-y;padding:calc(clamp(14px, 6dvh, 55px)) 6px}
.music-swipe-zone{touch-action:none}
.music-sheet .player-artist,.music-sheet h2{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.music-sheet .player-status{height:auto;min-height:16px;line-height:16px;white-space:normal;overflow-wrap:anywhere}
.music-sheet .player-progress:disabled{cursor:default;opacity:.45}
@media(max-height:520px){.music-sheet{padding:8px 20px calc(8px + var(--page-safe-bottom, env(safe-area-inset-bottom)))}.music-sheet .player-handle{height:24px}.music-sheet .player-source{margin:2px 0 4px}.music-sheet .player-art{width:calc(min(18vh, 72px));height:calc(min(18vh, 72px));margin-bottom:5px}.music-sheet h2{font-size:17px}.music-sheet .player-artist{font-size:12px;margin-top:3px}.music-sheet .player-lyrics{margin:6px 0 5px;padding:10px 6px}.music-sheet .player-transport{margin:5px auto}.music-sheet .player-skip,.music-sheet .player-toggle{height:40px}.music-sheet .player-skip svg,.music-sheet .player-toggle svg{height:30px;width:30px}}
.pull-refresh{position:absolute;z-index:11;left:20px;top:calc(48px + env(safe-area-inset-top));width:26px;height:26px;pointer-events:none;opacity:0;transform:translateY(calc(-50px + var(--pull-distance,0)));transition:transform 540ms cubic-bezier(.16,1,.3,1),opacity 540ms cubic-bezier(.16,1,.3,1)}
.topbar h1[data-refresh-top]{cursor:pointer;-webkit-tap-highlight-color:transparent}
.topbar h1[data-refresh-top]:focus-visible{outline:2px solid #999;outline-offset:4px;border-radius:3px}
.pull-refresh.is-visible{opacity:var(--pull-opacity,0)}
.pull-refresh.is-pulling{transition:none}
.pull-refresh-wheel{display:block;width:26px;height:26px;border:1.5px solid #ffffffeb;border-radius:50%;background:conic-gradient(#ef6164 0deg 60deg,#f6bf53 0 120deg,#84c96d 0 180deg,#51c4b8 0 240deg,#58a4e5 0 300deg,#af7acb 0);box-shadow:0 1px 4px #0003;position:relative}
.pull-refresh-wheel:after{content:"";position:absolute;inset:calc(50% - 4px);border-radius:50%;background:#fff}
.pull-refresh.is-loading .pull-refresh-wheel,.pull-refresh.is-pulling .pull-refresh-wheel{animation:pull-refresh-spin 750ms linear infinite}
@keyframes pull-refresh-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.pull-refresh{transition:none}.pull-refresh.is-loading .pull-refresh-wheel,.pull-refresh.is-pulling .pull-refresh-wheel{animation-duration:1.8s}}
.nav-icon>.moments-nav-glyph{width:24px;height:24px;flex:0 0 24px;box-shadow:none}
.nav-icon>.moments-nav-glyph:after{inset:6px}
.desktop-shortcut>svg.chun-about-glyph{width:21px;height:21px;flex:0 0 21px}
.upload-settings{background:#f5faf7;border:1px solid #e2e2e2;border-radius:12px;padding:18px;margin-bottom:26px}
.upload-settings-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.upload-engine{font-size:11px;color:#13834a;background:#e3f4e9;border-radius:20px;padding:5px 9px;white-space:nowrap}
.upload-engine.unavailable{background:#fff0dc;color:#925d16}
.upload-summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:14px;margin:20px 0 10px}
.upload-summary span{font-size:18px;color:#158448;font-weight:700}
.upload-limit-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
.upload-limit-fields .field{min-width:0;margin-bottom:4px}
.upload-limit-control{display:block;position:relative;width:100%;height:40px;margin-top:8px;overflow:hidden;border:1px solid #ddd;border-radius:4px;background:#fff}
.upload-limit-control:focus-within{border-color:#ddd}
.upload-limit-fields .upload-limit-control input{position:absolute;top:0;left:0;width:123.076923%;height:123.076923%;min-width:0;max-width:none;margin:0;border:0;border-radius:0;padding:13.538462px 14.769231px;background:0 0;font-size:16px;line-height:1.2;outline:0;box-sizing:border-box;-webkit-appearance:none;appearance:none;-webkit-text-size-adjust:100%;transform:scale(.8125);transform-origin:top left}
.upload-settings .hint{line-height:1.7}
.upload-warning{font-size:12px;line-height:1.6;color:#8b5310;background:#fff2df;border-radius:7px;padding:10px;overflow-wrap:anywhere}
.upload-settings .field{font-size:13px}
@media(max-width:420px){.upload-settings{padding:14px}.upload-limit-fields{gap:10px}.upload-summary span{font-size:17px}}
.upload-settings p.hint{font-size:12px;color:#718078;line-height:1.7;margin:10px 0}
.upload-settings .upload-limit-fields small.hint{font-size:11px;color:#819087;line-height:1.5}
.upload-settings .upload-summary{margin:18px 0 10px}
.pending-upload .preview-status{padding:8px}
.preview-status b{font-size:16px}
.preview-status small{font-size:11px}
.pending-upload.draft-video{min-height:150px;width:270px;max-width:100%}
.music-card .music-info small{color:#ffffffc7}
.timeline-range-notice{clear:both;padding:24px 12px;text-align:center}
.feed-end.feed-end-range{height:auto;min-height:22px;margin:0 auto;gap:10px;font-size:13px;line-height:22px;color:#aaa}
.feed-end-range>span{width:auto;height:auto;border-radius:0;background:0 0;max-width:calc(100% - 68px);overflow-wrap:anywhere}
.feed-end-range:after,.feed-end-range:before{flex:0 0 24px}
.timeline-range-settings{display:block;margin:10px auto 24px;padding:5px 12px;font-size:14px;line-height:22px;color:var(--blue)}
.timeline-range-notice .timeline-range-settings{margin-bottom:0}
.timeline-range-settings:focus-visible{outline:0}
.profile-moments-row{width:100%;gap:4px;min-height:76px;text-align:left}
.profile-moments-label{flex:0 0 auto}
.profile-moments-strip{display:flex;align-items:center;justify-content:flex-start;gap:var(--profile-thumb-gap,4px);padding:0 var(--profile-thumb-inset,0px);flex:1;min-width:0;min-height:48px;overflow:hidden}
.profile-moments-thumb{position:relative;display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;min-width:0;aspect-ratio:1;background:transparent;overflow:hidden;color:#999}
.profile-moments-thumb>img{width:100%;height:100%;object-fit:cover}
.profile-moments-thumb>svg{width:20px;height:20px}
.profile-moments-music{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:15px;height:15px;border-radius:50%;background:#0006;color:#fff}
.profile-moments-music svg{width:11px;height:11px}
/* Small preview markers have their own artwork; larger players keep theirs. */
.profile-moments-marker{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:block;width:16px;height:16px;line-height:0;pointer-events:none;color:#fff}
.profile-moments-marker>svg{display:block;width:16px;height:16px;fill:none;stroke:none}
.profile-moments-marker .profile-marker-ring{fill:#000;fill-opacity:.16;stroke:#fff;stroke-width:2}
.profile-moments-marker .profile-marker-glyph{fill:#fff;stroke:none}
.profile-moments-marker .profile-marker-stem{fill:none;stroke:#fff;stroke-width:2;stroke-linecap:butt}
/* The 24-unit chevron starts at x=9 with a 1.7-unit round stroke. Reserve
   from its painted left edge (8.15), keeping the 22px SVG in its original x position. */
.profile-moments-row>.chev{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;width:calc(22px * 15.85 / 24);height:22px;line-height:0}
.profile-moments-row>.chev>svg{flex:0 0 22px;width:22px;height:22px;max-width:none}
.pinned-tile>.profile-moments-music{width:30px;height:30px;aspect-ratio:1;border:1px solid #fff;background:transparent}
.pinned-tile>.profile-moments-music svg{width:46.666667%;height:46.666667%}
dialog.form-dialog[open]{--form-layout-height:100vh;position:fixed;inset:0 0 auto;top:0;right:0;bottom:auto;left:0;width:100%;max-width:none;height:var(--form-layout-height);max-height:none;min-height:0;margin:0;padding:12px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:0 0;border:0;border-radius:0;box-shadow:none;transform:none;animation:none}
@supports(height:100dvh){dialog.form-dialog[open]{--form-layout-height:100dvh}}
.form-dialog-card{display:flex;flex-direction:column;width:min(520px, 100%);max-height:100%;min-height:0;overflow:hidden;background:#fff;border-radius:9px;box-shadow:0 16px 80px #0003}
.form-dialog-card>.dialog-head{flex:0 0 auto;position:relative;top:auto}
.form-dialog-card>.dialog-body{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scroll-padding-block:12px}
.footer-actions>button:is([data-act=loadMore],[data-act=listLoadMore],[data-act=loadNewer]){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:10px 0;background:0 0;border:0;border-radius:0;box-shadow:none;color:#888}
.footer-actions>button.more-loading{opacity:1;cursor:wait;color:#888}
.footer-actions>button.more-loading:before{content:"";width:14px;height:14px;flex:0 0 14px;border:2px solid #d4d4d4;border-top-color:#888;border-radius:50%;animation:more-loading-spin .8s linear infinite}
@keyframes more-loading-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.footer-actions>button.more-loading:before{animation:none}}
.action-pop{width:180px;height:40px;background:transparent;border-radius:4px;transform:none;clip-path:none;will-change:auto;overflow:hidden;isolation:isolate}
.action-pop-track{position:relative;display:flex;flex:0 0 100%;width:100%;height:100%;min-width:0;background:#444;color:#fff;border-radius:4px;box-shadow:6px 0 #444;transform:translate3d(100%,0,0);backface-visibility:hidden;will-change:transform}
.action-pop-track>button{flex:1 1 0;min-width:0;height:100%;box-sizing:border-box}
.action-pop-track>button+button:before{background:#363636;height:22px}
.guest-like-form{display:flex;align-items:center;flex:1 1 100%;width:100%;height:100%;min-width:0;margin:0;padding:0 0 0 8px;box-sizing:border-box}
.action-pop .guest-like-form input{flex:1 1 0;width:0;min-width:0;height:30px;margin:0;padding:0 4px;border:0;border-radius:0;outline:0;box-shadow:none;background:transparent;color:#fff;caret-color:#fff;font-size:16px;line-height:30px;-webkit-appearance:none}
.action-pop .guest-like-form input::placeholder{color:#d3d3d3;opacity:1}
.action-pop .guest-like-form input[aria-invalid=true]::placeholder{color:#ffb3b3}
.action-pop .guest-like-form>button{flex:0 0 46px;align-self:stretch;margin:0;padding:0;border:0;border-left:1px solid #363636;border-radius:0;font-size:13px;color:#fff}
.action-pop .guest-like-form>button:disabled{color:#aaa}
.guest-like-error{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(prefers-reduced-motion:reduce){.action-pop-track{will-change:auto}}
.post-more{touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
.post-more:before{content:"";position:absolute;inset:-12px -7px;background:transparent}
.post-more>svg{pointer-events:none}
.notifications-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:18px}
.notification-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:14px;margin-left:auto}
.notification-actions>button{white-space:nowrap;min-height:32px;touch-action:manipulation}
.notification-actions>button[data-act=readNotifications]{color:#278149}
.notification-actions>button.notification-clear{color:#b75959}
.notification-actions>button:disabled{color:#999;opacity:.6;cursor:default}
.album-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--moment-thumb-gap);width:100%;max-width:var(--moment-thumb-grid)}
.album-media-tile{position:relative;display:block;min-width:0;width:100%;aspect-ratio:1;overflow:hidden;border-radius:var(--media-radius);text-align:left}
.album-media-thumb{position:absolute;inset:0;display:block;overflow:hidden}
.album-media-thumb>img{display:block;width:100%;height:100%;object-fit:cover}
.album-media-tile .pinned-video-play{width:30px;height:30px}
.album-media-thumb .pinned-mosaic img{border-radius:0}
.album-media-visibility,.album-private-lock{position:absolute;right:4px;bottom:4px;width:16px;height:18px;color:#fff;filter:drop-shadow(0 1px 2px #0008);pointer-events:none}
.album-media-visibility svg,.album-private-lock svg{width:13px;height:16px}
.album-feed .album-content.has-private-media{padding-right:0}
.album-feed .album-content.has-private-media>.album-copy{padding-bottom:0}
.ad-mosaic,.post{--moment-thumb-gap:5px;--moment-thumb-grid:calc(3 * var(--moment-thumb-size) + 2 * var(--moment-thumb-gap))}
:is(.post,.ad-mosaic) .moment-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--moment-thumb-gap);width:var(--moment-thumb-grid);max-width:100%}
:is(.post,.ad-mosaic) .moment-photo-grid:is(.two,.four){grid-template-columns:repeat(2,minmax(0,1fr));width:calc(2 * var(--moment-thumb-size) + var(--moment-thumb-gap))}
:is(.post,.ad-mosaic) .moment-photo-grid>:is(button,a,.upload-tile){display:block;position:relative;min-width:0;width:100%;max-width:100%;height:auto;max-height:none;aspect-ratio:1;padding:0;border-radius:var(--media-radius);overflow:hidden}
:is(.post,.ad-mosaic) .moment-photo-grid img{display:block;position:static;inset:auto;width:100%;height:100%;max-width:100%;max-height:none;object-fit:cover}
:is(.post,.ad-mosaic) .moment-photo-grid.one{display:block;width:auto;max-width:min(270px, 100%)}
:is(.post,.ad-mosaic) .moment-photo-grid.one>:is(button,a,.upload-tile){width:fit-content;max-width:100%;height:auto;max-height:180px;aspect-ratio:auto}
:is(.post,.ad-mosaic) .moment-photo-grid.one img{width:auto;height:auto;max-width:100%;max-height:180px;object-fit:contain}
.post .moment-photo-grid.one>button:not(.photo-loaded){width:270px;height:180px;max-width:100%;max-height:180px;aspect-ratio:auto}
.moment-video-thumb{width:168.75px;max-width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:3/4}
.moment-video-thumb>img{position:absolute;inset:0;object-fit:cover;object-position:center}
#draft-images .draft-video{width:168px;max-width:100%;height:auto;min-height:0;aspect-ratio:3/4}
#draft-images .draft-video>img,#draft-images .draft-video>video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center}
#draft-images .draft-video[data-video-orientation=landscape],.moment-video-thumb[data-video-orientation=landscape]{width:225px;aspect-ratio:4/3}
.album-media-viewer{position:fixed;inset:0;z-index:10050;width:100%;height:auto;background:#000;color:#fff;overflow:hidden;overscroll-behavior:none;isolation:isolate;-webkit-user-select:none;user-select:none}
.album-media-viewer:focus{outline:0;box-shadow:none}
.desktop-media-backdrop{display:none}
@media(min-width:601px){.desktop-media-backdrop{display:block;position:fixed;inset:0;background:transparent;touch-action:none}}
.album-media-viewer *{box-sizing:border-box}
.album-media-viewer button{font:inherit;color:inherit;cursor:pointer;border:0;-webkit-tap-highlight-color:transparent}
.album-media-viewer button:focus-visible,.album-video-timeline input:focus-visible{outline:2px solid #fff;outline-offset:3px}
.album-media-viewer [hidden],.album-media-viewer button[hidden]{display:none!important}
.album-media-viewer svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.album-view-stage{position:absolute;inset:0;overflow:hidden;touch-action:none;transform-origin:center;will-change:transform}
.album-view-track{height:100%;display:flex;gap:16px;width:100%;will-change:transform}
.album-view-slide{position:relative;flex:0 0 100%;height:100%;overflow:hidden;display:flex;align-items:center;justify-content:center}
.album-view-slide>img,.album-view-slide>video{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;border-radius:0;background:transparent;transform-origin:center;pointer-events:none;-webkit-user-drag:none}
.album-view-slide>img{will-change:transform}
.feed-media-preview .album-view-slide[data-current="true"]>img,.detail-media-preview .album-view-slide[data-current="true"]>img,.personal-media-preview .album-view-slide[data-current="true"]>img{pointer-events:auto;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.album-view-header{position:absolute;z-index:2;inset:0 0 auto;display:grid;place-items:center;min-height:64px;padding:calc(8px + env(safe-area-inset-top,0px)) 16px 8px;background:linear-gradient(#0009,transparent);pointer-events:none}
.album-view-header time{text-align:center;font-size:17px;font-weight:500;line-height:1.4;color:#f4f4f4}
.album-view-location{max-width:100%;min-width:0;margin-top:3px;font-size:12px;line-height:18px;color:#bbb;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.album-view-bottom,.single-video-bottom{position:absolute;z-index:3;left:16px;right:16px;bottom:calc(16px + var(--page-safe-bottom, env(safe-area-inset-bottom,0px)));height:44px;pointer-events:none}
.album-media-viewer .album-view-detail{position:absolute;right:0;bottom:0;display:flex;align-items:center;gap:5px;min-height:32px;max-width:calc(100% - 96px);padding:6px 12px 6px 14px;border-radius:999px;background:#3d3d3d;font-size:13px;font-weight:400;line-height:20px;white-space:nowrap;touch-action:manipulation;pointer-events:auto;transition:opacity 220ms,transform 340ms cubic-bezier(.16,1,.3,1)}
.album-view-detail>span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.album-media-viewer .album-view-detail svg{width:12px;height:14px;flex:0 0 12px;stroke:#f2f2f2;stroke-width:1.8}
.album-view-bottom.is-video-expanded .album-view-detail{opacity:0;transform:translateY(6px);pointer-events:none}
.personal-media-preview .album-view-bottom:not(.is-video-expanded) .album-video-dock{right:calc(8px + var(--album-detail-width,80px))}
.album-view-next,.album-view-prev{position:absolute;z-index:2;top:50%;width:44px;height:52px;display:grid;place-items:center;border-radius:8px;background:#29292999;transform:translateY(-50%)}
.album-view-prev{left:12px}
.album-view-next{right:12px}
.album-view-next:disabled,.album-view-prev:disabled{opacity:.2;cursor:default}
.album-view-status{position:absolute;z-index:3;left:50%;bottom:calc(70px + var(--page-safe-bottom, env(safe-area-inset-bottom,0px)));transform:translateX(-50%);max-width:calc(100% - 32px);padding:7px 12px;border-radius:6px;background:#292929dc;font-size:12px;white-space:normal;overflow-wrap:anywhere;text-align:center}
.album-view-status:disabled{pointer-events:none;color:#aaa}
.album-video-dock,.video-dock{position:absolute;right:0;bottom:0;width:44px;height:32px;overflow:hidden;border-radius:999px;background:#3d3d3d;pointer-events:auto;touch-action:manipulation;transition:width 340ms cubic-bezier(.16,1,.3,1),right 340ms cubic-bezier(.16,1,.3,1),height 340ms cubic-bezier(.16,1,.3,1)}
.single-video-viewer .video-dock{right:0}
.is-video-expanded .album-video-dock,.video-dock.is-expanded{right:0;width:100%;height:44px}
.album-video-panel{position:absolute;right:44px;bottom:0;width:var(--video-panel-width,calc(100vw - 76px));height:44px;display:flex;align-items:center;opacity:0;transform:translateX(8px);pointer-events:none;transition:opacity 220ms,transform 340ms cubic-bezier(.16,1,.3,1)}
.is-video-expanded .album-video-panel,.video-dock.is-expanded .album-video-panel{opacity:1;transform:translateX(0);pointer-events:auto}
.album-media-viewer .album-video-disclosure{position:absolute;right:0;top:0;width:44px;height:100%;display:grid;place-items:center;background:transparent}
.album-video-disclosure svg{width:18px;height:18px;transition:transform 340ms cubic-bezier(.16,1,.3,1)}
.is-video-expanded .album-video-disclosure svg,.video-dock.is-expanded .album-video-disclosure svg{transform:rotate(180deg)}
.album-media-viewer .album-video-toggle{flex:0 0 44px;height:44px;display:grid;place-items:center;background:transparent}
.album-video-toggle svg{width:18px;height:20px}
.album-control-fill{fill:currentColor;stroke:none}
.album-video-timeline{flex:1;min-width:0;margin:0;display:flex;flex-direction:column;justify-content:center;align-self:center}
.album-video-labels{display:flex;align-items:center;justify-content:space-between;gap:8px;height:16px}
.album-video-labels output{font-size:10px;line-height:16px;white-space:nowrap;font-variant-numeric:tabular-nums;color:#e1e1e1}
.album-media-viewer .album-video-rate{font-size:10px;line-height:16px;min-width:30px;padding:0;text-align:right;white-space:nowrap;background:transparent}
.album-video-timeline input{display:block;width:100%;height:14px;margin:0;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer;touch-action:none;-webkit-appearance:none;appearance:none}
.album-video-timeline input::-webkit-slider-runnable-track{height:2px;border-radius:1px;background:linear-gradient(to right,#fff var(--played,0%),#ffffff50 var(--played,0%))}
.album-video-timeline input::-webkit-slider-thumb{width:5px;height:5px;margin-top:-1.5px;border:0;border-radius:50%;background:#fff;-webkit-appearance:none;appearance:none}
.album-video-timeline input::-moz-range-track{height:2px;border-radius:1px;background:linear-gradient(to right,#fff var(--played,0%),#ffffff50 var(--played,0%))}
.album-video-timeline input::-moz-range-thumb{width:5px;height:5px;border:0;border-radius:50%;background:#fff}
.album-media-retry{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);padding:12px 16px;border-radius:8px;background:#333e;max-width:85%;line-height:1.5;font-size:14px}
.album-video-placeholder{color:#aaa;font-size:16px}
.album-media-save-overlay{position:absolute;inset:0;z-index:8;display:flex;align-items:flex-end;justify-content:center;background:#0009;touch-action:none}
.album-media-save-sheet{width:100%;max-width:560px;max-height:100%;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain;padding:16px 16px calc(16px + env(safe-area-inset-bottom,0px));border-radius:16px 16px 0 0;background:#1c1c1e;color:#fff;touch-action:pan-y}
.album-media-save-sheet h2{margin:0 0 8px;text-align:center;font-size:17px;font-weight:600}
.album-media-save-sheet p{margin:0 0 16px;text-align:center;font-size:13px;line-height:1.5;color:#bbb}
.album-media-save-sheet button,.album-media-save-sheet a{display:block;box-sizing:border-box;width:100%;min-height:48px;margin:8px 0 0;padding:12px;border:0;border-radius:10px;background:#353537;color:#fff;text-align:center;text-decoration:none;font-size:17px;line-height:24px}
.album-media-save-sheet button:disabled{opacity:.55}
.album-media-save-sheet .album-media-save-action{background:#f1f1f1;color:#111;font-weight:500}

@media(hover:none) and (pointer:coarse){.album-view-next,.album-view-prev{display:none}}
@media(prefers-reduced-motion:reduce){.album-view-stage,.album-view-track{transition:none!important}}
.compose-mentions{display:flex;align-items:center;width:100%;gap:12px;min-height:52px;text-align:left;color:#191919;border-radius:0}
.mention-at{display:block;width:20px;height:20px;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mention-value{flex:1;min-width:0;text-align:right;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#888;font-size:13px}
.compose-mentions.has-mentions{color:var(--green);font-weight:600;padding:8px 0}
.compose-mentions.has-mentions>.mention-label{display:none}
.compose-mentions.has-mentions>.mention-at{stroke-width:2.3}
.compose-mentions.has-mentions>.mention-value{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;max-height:2.8em;line-height:1.4;text-align:left;white-space:normal;overflow-wrap:anywhere;color:inherit;font-size:inherit;font-weight:inherit}
.compose-mentions>svg:last-child{width:18px;height:18px;flex:0 0 18px;color:#b2b2b2;margin-left:8px}
.compose-mentions:focus,.compose-mentions:focus-visible{outline:0;box-shadow:none}
.compose-mentions:active{background:#e5e5e5}
.compose-mentions:disabled{opacity:.55}
dialog.mention-picker{position:fixed;inset:0;display:none;flex-direction:column;width:min(540px, 100%);height:100vh;height:100dvh;max-width:100%;max-height:none;margin:0 auto;padding:0;border:0;border-radius:0;background:#fff;overflow:hidden;color:#191919;box-sizing:border-box}
dialog.mention-picker[open]{display:flex;}
.mention-picker::backdrop{background:#0003;-webkit-backdrop-filter:none;backdrop-filter:none}
.mention-picker *{box-sizing:border-box}
.mention-picker svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mention-picker button{font:inherit;color:inherit;background:transparent;border:0;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.mention-picker button:focus-visible{outline:0}
.mention-picker .mention-close{height:48px;display:grid;place-items:center;padding:0;font-size:16px;color:#555}
.mention-picker .mention-close:focus,.mention-picker .mention-close:focus-visible{outline:0;box-shadow:none}
.mention-search-wrap{padding:4px 8px 15px;background:#ededed;flex:0 0 auto}
.mention-search{height:36px;display:flex;align-items:center;justify-content:center;gap:5px;background:#fff;border-radius:6px;color:#b2b2b2;padding:0 12px;-webkit-tap-highlight-color:transparent}
.mention-search input{width:100%;min-width:0;height:36px;border:0;background:transparent;font-size:16px;line-height:22px;outline:0;padding:0;margin:0;color:#222;-webkit-appearance:none;appearance:none}
.mention-search input::-webkit-search-decoration{-webkit-appearance:none;display:none}
.mention-search input:placeholder-shown::-webkit-search-cancel-button{-webkit-appearance:none;display:none}
.mention-search svg{flex:0 0 18px;width:18px;height:18px}
.mention-search input::placeholder{color:#b2b2b2}
.mention-search:not(:focus-within):has(input:placeholder-shown) input{flex:0 0 2.5em;width:2.5em}
.mention-list{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 24px 12px 0;scroll-behavior:auto;scrollbar-width:none}
.mention-list section>h3{position:-webkit-sticky;position:sticky;top:0;z-index:1;background:#fff;height:36px;margin:0;padding:12px 16px 4px;font-size:13px;font-weight:500;color:#888}
.mention-picker .mention-friend,.people-person>.mention-friend{display:flex;align-items:center;gap:14px;min-height:64px;width:100%;padding:0 0 0 16px;text-align:left}
.mention-check{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border:1px solid #b7b7b7;border-radius:50%;color:transparent}
.mention-check svg{width:20px;height:20px;stroke-width:2}
.is-selected>.mention-check{border-color:transparent;background:#07c160;color:#fff}
.mention-friend>img{flex:0 0 40px;width:40px;height:40px;object-fit:cover;border-radius:4px}
.mention-name{display:flex;align-items:center;align-self:stretch;flex:1;min-width:0;overflow:hidden;overflow-wrap:anywhere;font-size:17px;line-height:1.3;padding:12px 2px 12px 0;border-bottom:1px solid #f0f0f0}
.mention-picker .mention-friend{position:relative}
.mention-picker .mention-list>section:last-child>.mention-friend:last-child>.mention-name{border-bottom-color:transparent}
.mention-picker .mention-list>section:last-child>.mention-friend:last-child::after{content:"";position:absolute;left:54px;right:0;bottom:0;height:1px;background:#f0f0f0;pointer-events:none}
.mention-index{position:absolute;right:1px;top:calc(130px + env(safe-area-inset-top));bottom:calc(12px + var(--page-safe-bottom, env(safe-area-inset-bottom)));display:flex;flex-direction:column;justify-content:center;overflow:hidden;z-index:1}
.mention-index button{flex:0 1 17px;min-height:0;font-size:10px;line-height:1.1;width:23px;padding:0;color:#555}
.mention-index button:disabled{opacity:.4}
.mention-index button{position:relative;isolation:isolate}
.mention-index button:before{content:"";position:absolute;z-index:-1;left:50%;top:50%;width:14px;height:14px;max-height:100%;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}
.mention-index button.is-current{background:transparent;color:#fff}
.mention-index button.is-current:before{background:#07c160}
.mention-empty{padding:36px 16px;color:#999;font-size:14px;text-align:center}
.mention-footer{flex:0 0 auto;display:flex;align-items:center;gap:10px;min-height:70px;padding:12px 12px calc(12px + var(--page-safe-bottom, env(safe-area-inset-bottom)));background:#f7f7f7;border-top:1px solid #eee}
.mention-footer .mention-done{flex:0 0 auto;min-width:68px;height:36px;padding:0 12px;border-radius:5px;background:#07c160;color:#fff;font-size:15px;white-space:nowrap;margin-left:auto}
.mention-tray-toggle{flex:0 0 28px;width:28px;height:32px;display:grid;place-items:center;padding:0}
.mention-tray-toggle[hidden]{display:none}
.mention-tray-toggle svg{width:18px;height:18px;}
.mention-selected{display:flex;align-items:center;gap:5px;flex:1;min-width:0;overflow:auto;scrollbar-width:none}
.mention-selected:empty{display:none}
.mention-selected button{flex:0 0 40px;width:40px;padding:0}
.mention-selected img{display:block;width:40px;height:40px;object-fit:cover;border-radius:4px}
.mention-selected span{display:none}
.mention-footer.is-expanded{flex-wrap:wrap}
.is-expanded>.mention-tray-toggle svg{transform:rotate(180deg)}
.mention-footer.is-expanded .mention-selected{order:3;flex-basis:100%;flex-wrap:wrap;max-height:180px;gap:12px;padding-top:10px}
.mention-footer.is-expanded .mention-selected button{flex-basis:48px;width:48px}
.mention-footer.is-expanded .mention-selected img{margin:auto}
.mention-footer.is-expanded .mention-selected span{display:block;font-size:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-top:4px}
dialog.mention-limit{width:min(320px, 100% - 64px);max-width:none;padding:0;border:0;border-radius:8px;background:#fff;color:#191919;text-align:center}
.mention-limit::backdrop{background:#0008}
.mention-limit h2{font-size:18px;margin:28px 20px 14px;font-weight:600}
.mention-limit p{font-size:17px;color:#888;margin:0 20px 30px}
.mention-limit button{width:100%;height:56px;border:0;border-top:1px solid #eee;background:transparent;color:#576b95;font-size:18px;font-weight:600}
@media(prefers-reduced-motion:reduce){dialog.mention-picker[open]{animation:none}.mention-list{scroll-behavior:auto}}
.single-video-viewer .video-disclosure svg{width:18px;height:18px}
.music-card-interactive{position:relative}
.music-card-open{position:absolute;inset:0;z-index:1;width:100%;height:100%;padding:0;border:0;border-radius:inherit;background:transparent;cursor:pointer;outline-offset:-3px}
.music-card-interactive>.music-play{position:relative;z-index:2;width:100%;height:100%;min-height:40px;padding:0;cursor:pointer;outline-offset:-3px}
@media(max-width:600px){
.music-layer{height:100vh;height:100dvh;align-items:stretch}
.music-layer>.music-sheet{width:100%;height:100%;max-height:none;border-radius:0;padding-top:calc(12px + env(safe-area-inset-top))}
.music-layer .music-stop{top:calc(10px + env(safe-area-inset-top))}
.music-layer .player-handle svg{top:calc(16px + env(safe-area-inset-top))}
}
.music-mini-backdrop{position:fixed;inset:0;z-index:79;background:rgba(0,0,0,.2);touch-action:none}
.music-mini.is-expanded{z-index:80;width:calc(min(300px, 100vw - 28px));min-width:0;max-width:calc(100vw - 28px);height:50px;padding:0 8px 0 12px;gap:0;border-radius:14px;background:#fff;box-shadow:0 2px 12px #0000000a}
.music-mini.is-expanded [data-mini-open]{display:flex;flex:1;min-width:0;width:auto;height:50px;gap:10px;justify-content:flex-start;text-align:left;color:#777;cursor:pointer}
.music-mini.is-expanded .mini-music-note{width:22px;height:22px;flex:none;color:#07c160}
.music-mini.is-expanded .mini-title{display:block;min-width:0;font-size:14px;font-weight:500;line-height:1.4;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.music-mini.is-expanded [data-mini-close],.music-mini.is-expanded [data-mini-toggle]{display:grid;place-items:center;flex:0 0 40px;width:40px;height:50px;padding:0;border:0;background:transparent;color:#777;cursor:pointer}
.music-mini.is-expanded [data-mini-toggle] svg{width:18px;height:18px;fill:currentColor;stroke:none}
.music-mini.is-expanded [data-mini-close] svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round}
.music-mini.is-expanded button:active{background:#f5f5f5}
.music-mini.is-expanded button:focus-visible{outline-offset:-3px}
.music-mini.is-animating{will-change:clip-path,opacity}
.music-mini-ghost{position:fixed;z-index:81;pointer-events:none!important;-webkit-user-select:none;user-select:none}
.music-mini-ghost *{pointer-events:none!important}
.admin-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;min-width:0;max-width:100%;margin:0 0 16px;padding:10px;background:#fff;border:1px solid #e7e7e7;border-radius:12px;box-shadow:0 2px 8px #00000003}
.admin-nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:76px;padding:8px 4px;border:1px solid transparent;border-radius:10px;background:#f8faf9;color:#626e66;font-size:13px;font-weight:500;line-height:18px;touch-action:manipulation;transition:background-color .16s,border-color .16s,color .16s}
.admin-nav-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:10px;background:#edf1ee;color:#6a7c70;pointer-events:none;transition:background-color .16s,color .16s}
.admin-nav-icon>svg{display:block;width:21px;height:21px;stroke-width:1.65;pointer-events:none}
.admin-nav-label{display:block;max-width:100%;white-space:nowrap;pointer-events:none}
.admin-nav-item.active{border-color:#d4e9db;background:#eaf5ee;color:#2f7648;box-shadow:none;font-weight:600}
.admin-nav-item.active .admin-nav-icon{background:#398653;color:#fff}
.admin-nav-item:focus-visible{outline:0;box-shadow:inset 0 0 0 2px #94bba2}
.admin-nav-item:active{border-color:#d4e9db;background:#e5f0e9}
@media(hover:hover){.admin-nav-item:not(.active):hover{border-color:#e0e8e2;background:#f0f5f1;color:#376c48}}
@media(max-width:359px){.admin-nav{gap:5px;padding:8px}.admin-nav-item{min-height:72px;padding:6px 2px}}
@media(prefers-reduced-motion:reduce){.admin-nav-icon,.admin-nav-item{transition:none}}
.admin-overview{margin:0 0 16px;padding:17px 14px 13px;background:#fff;border:1px solid #e7e7e7;border-radius:12px}
.admin-overview>h2{margin:0 3px 5px;color:#2a302c;font-size:16px;font-weight:600;line-height:24px}
.admin-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0;padding:0}
.admin-metric{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:17px 5px;text-align:center}
.admin-metric:nth-child(n+4){border-top:1px solid #f0f0f0}
.admin-metric:not(:nth-child(3n)):after{content:"";position:absolute;top:50%;right:0;width:1px;height:30px;transform:translateY(-50%);background:#ededed;pointer-events:none}
.admin-metric dt{order:1;display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;max-width:100%;margin:9px 0 0;color:#7c857f;font-size:11px;font-weight:400;line-height:17px}
.admin-metric dt>span:last-child{min-width:0;overflow-wrap:anywhere}
.admin-metric-icon{display:grid;place-items:center;flex:none;width:14px;height:14px;color:#609170}
.admin-metric-icon>svg{display:block;width:14px;height:14px;stroke-width:1.65}
.admin-metric dd{order:0;min-width:0;max-width:100%;margin:0;color:#242c27;font-size:20px;font-weight:500;line-height:1.1;letter-spacing:-.6px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.admin-overview-note{margin:0 3px;padding-top:11px;border-top:1px solid #f0f0f0}
.admin-overview-note p{margin:0;color:#949b96;font-size:10px;line-height:17px;overflow-wrap:anywhere}
@media(min-width:600px){.admin-overview{padding:20px 22px 16px}.admin-overview>h2{margin-bottom:8px}.admin-metric{padding:20px 8px}.admin-metric dd{font-size:22px}.admin-metric dt{font-size:12px;gap:5px}.admin-overview-note p{font-size:11px}}
@media(max-width:359px){.admin-overview{padding:15px 12px 12px}.admin-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-metric{padding:15px 6px}.admin-metric:nth-child(n+3){border-top:1px solid #f0f0f0}.admin-metric:after{display:none}.admin-metric:nth-child(odd):after{content:"";display:block;position:absolute;top:50%;right:0;width:1px;height:30px;transform:translateY(-50%);background:#ededed;pointer-events:none}.admin-metric dd{font-size:18px}}
dialog.edit-profile .field :is(input,select,textarea){font-size:16px;font-size:calc(max(16px, 1em))}
@media(max-width:600px){dialog.fullscreen-editor :is(input,select,textarea){font-size:16px;font-size:calc(max(16px, 1em))}dialog.fullscreen-editor>.dialog-body{padding-bottom:calc(18px + var(--page-safe-bottom, env(safe-area-inset-bottom,0px)))}}
dialog.cover-screen{background:#fff}
dialog.cover-screen::backdrop{background:#0003;-webkit-backdrop-filter:none;backdrop-filter:none}
@media(prefers-reduced-motion:reduce){dialog.cover-screen[open]{animation:none}}
dialog.cover-screen.cover-settings{background:#ededed}
dialog.cover-screen>.dialog-head{display:grid;grid-template-columns:64px minmax(0,1fr) 64px;gap:8px;min-height:52px;padding:0 16px;border:0;background:#ededed}
dialog.cover-screen>.dialog-head h2{margin:0;text-align:center}
dialog.cover-screen>.dialog-head>button[data-act=close]{display:flex;align-items:center;justify-content:center;width:32px;min-height:44px;padding:0;color:#191919}
dialog.cover-screen>.dialog-head>button[data-act=close]>span{display:flex;align-items:center;justify-content:center}
dialog.cover-screen>.dialog-head>button[data-act=close] svg{width:24px;height:24px}
dialog.cover-screen>.dialog-head>.primary{justify-self:end}
dialog.cover-screen>.dialog-body{padding:20px 20px calc(20px + var(--page-safe-bottom, env(safe-area-inset-bottom)));overflow:visible}
dialog.cover-settings>.dialog-body{padding:0}
.cover-settings-group{background:#fff}
.cover-settings-group+.cover-settings-group{margin-top:8px}
.cover-settings-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:56px;padding:16px;background:#fff;color:#191919;font-size:17px;line-height:24px;text-align:left}
.cover-settings-row>span{min-width:0}
.cover-settings-row.has-subtitle{min-height:72px;padding-block:12px}
.cover-settings-row small{display:block;margin-top:4px;color:#b2b2b2;font-size:13px;line-height:20px}
.cover-settings-row>svg{flex:none;width:18px;height:18px;color:#b2b2b2}
.cover-settings-row:active{background:#f7f7f7}
dialog.composer-picker{background:#fff;overflow-y:auto;overscroll-behavior:contain}
dialog.composer-visibility{background:#ededed}
.composer-picker>.dialog-head{display:grid;grid-template-columns:64px minmax(0,1fr) 64px;gap:8px;min-height:52px;padding:8px 16px;background:#ededed;border-bottom:1px solid #e8e8e8}
.composer-picker>.dialog-head h2{margin:0;text-align:center;font-size:17px;line-height:24px}
.composer-picker>.dialog-head>[data-picker-cancel]{justify-self:start;min-height:36px;padding:0;font-size:16px;color:#555;background:transparent;border:0;outline:0;box-shadow:none}
.composer-picker>.dialog-head>.primary{justify-self:end;min-height:34px;padding:6px 12px;font-size:15px;white-space:nowrap}
dialog.composer-picker>.dialog-body{padding:0 0 var(--page-safe-bottom, env(safe-area-inset-bottom));overflow:visible}
.composer-picker *{box-sizing:border-box}
.picker-search-wrap{padding:8px;background:#ededed}
.picker-search{display:flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:0 12px;background:#fff;border-radius:5px;color:#b2b2b2}
.picker-search>svg{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.8}
.picker-search>input{min-width:0;width:100%;height:36px;padding:0;margin:0;border:0;background:transparent;outline:0;font-size:16px;line-height:22px;color:#191919;-webkit-appearance:none;appearance:none}
.picker-search>input::-webkit-search-decoration{-webkit-appearance:none;display:none}
.picker-search>input:placeholder-shown::-webkit-search-cancel-button{-webkit-appearance:none;display:none}
.picker-search>input::placeholder{color:#b2b2b2}
.picker-search:not(:focus-within):has(input:placeholder-shown)>input{flex:0 0 7em;width:7em}
.composer-picker .picker-row{display:flex;align-items:center;gap:14px;width:100%;min-height:52px;margin:0;padding:12px 16px;text-align:left;background:#fff;border:0;border-bottom:1px solid #ededed;color:#191919;font-size:17px;line-height:24px}
.composer-picker .picker-row:active{background:#f7f7f7}
.picker-copy{display:block;flex:1;min-width:0;overflow:hidden}
.picker-copy>b{display:block;overflow-wrap:anywhere;font-size:17px;line-height:24px;font-weight:400}
.picker-copy>small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;color:#888;font-size:13px;line-height:20px}
.picker-check{display:grid;place-items:center;flex:0 0 22px;width:22px;height:24px;color:#07c160;visibility:hidden}
.picker-check>svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.picker-row[aria-pressed=true]>.picker-check{visibility:visible}
.composer-picker .location-none{color:#576b95}
.composer-visibility-options>.picker-row{min-height:80px;padding-block:16px;gap:16px}
.composer-visibility-options>.picker-row>.picker-check{margin-left:auto}
.composer-visibility-options .picker-copy>small{color:#999}
.composer-range>.dialog-head h2{min-width:0;overflow-wrap:anywhere}
.composer-range .picker-copy>small{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.composer-range[aria-busy=true] button{opacity:.55;cursor:wait}
.picker-save-error{margin:16px;color:#d84c4c;font-size:14px;line-height:1.5}
.picker-location-status{padding:18px 16px;color:#999;font-size:13px;line-height:1.6}
.picker-location-status>p{margin:0 0 10px}
.picker-location-status>[data-picker-retry]{padding:4px 0;color:#576b95;font-size:14px}
.picker-location-status>[data-picker-retry]:disabled{color:#bbb;cursor:default}
.picker-empty{padding:24px 16px;margin:0;text-align:center;color:#999;font-size:14px}
@media(max-width:600px){dialog.mention-picker.fullscreen-editor{width:100%;max-width:100%;max-height:100dvh;margin:0}}
.mention-picker .mention-close{justify-self:start;height:44px}
dialog.composer .dialog-head>[form=compose-form]:disabled{background:#ededed;color:#b2b2b2;opacity:1;cursor:default;box-shadow:none}
.mention-picker:not(.has-mention-index) .mention-list{padding-right:0}
dialog.composer-leave-prompt[open]{position:fixed;inset:auto;top:50%;left:50%;right:auto;bottom:auto;display:block;width:320px;max-width:calc(100% - 64px);height:auto;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);margin:0;padding:0;border:0;border-radius:8px;background:#fff;color:#191919;text-align:center;box-shadow:none;overflow-y:auto;transform:translate(-50%,-50%)}
.composer-leave-prompt::backdrop{background:#0008;-webkit-backdrop-filter:none;backdrop-filter:none}
.composer-leave-prompt>h2{display:flex;align-items:center;justify-content:center;min-height:104px;padding:32px 20px;margin:0;font-size:17px;font-weight:600;line-height:26px}
.composer-leave-actions{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #e5e5e5}
.composer-leave-actions>button{min-height:56px;padding:12px 8px;margin:0;background:#fff;color:#191919;border:0;font-size:17px;font-weight:500;line-height:24px}
.composer-leave-actions>button+button{border-left:1px solid #e5e5e5;color:#576b95}
.composer-leave-actions>button:active{background:#f5f5f5}
.composer-leave-actions>button:focus,.composer-leave-actions>button:focus-visible{outline:0;box-shadow:none}
.composer-leave-actions>button:disabled{color:#aaa;cursor:default}
.composer-leave-error{margin:0;padding:0 20px 20px;color:#c74d4d;font-size:13px;line-height:20px}
.people-screen{--people-rail-height:459px;--people-index-offset:56px;--people-search-height:48px}
.people-screen>.topbar{border-bottom:0;background:#ededed;-webkit-backdrop-filter:none;backdrop-filter:none}
.people-screen>.people-content{position:relative;display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow:hidden;background:#fff}
.people-content>.page-scroll{background:#fff;padding-bottom:var(--page-safe-bottom, env(safe-area-inset-bottom,0px))}
.people-screen.has-bottom-nav .people-content>.page-scroll{padding-bottom:0}
.people-content .page-scroll>.people-page{padding:0;min-height:100%;background:#fff}
.people-content .page-scroll>.people-page.has-people-index{min-height:max(100%,calc(var(--people-index-offset) + var(--people-rail-height) + 4px))}
.people-tools{position:sticky;top:0;z-index:2;background:#ededed}
.people-tools>.mention-search-wrap{padding-bottom:8px}
.topbar>.people-discover-button{display:inline-flex;align-items:center;justify-content:center;color:#191919}
.topbar>.people-discover-button>svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.65}
.people-list.mention-list{overflow:visible;flex:none;scroll-behavior:auto;padding-bottom:0}
.people-list.mention-list section>h3{top:var(--people-search-height)}
.people-page:not(.has-people-index) .people-list{padding-right:0}
.people-person{position:relative;display:flex;align-items:stretch;min-width:0}
.people-person>.mention-friend{flex:1;min-width:0}
.people-person .mention-name{font-weight:400}
.people-list>section:last-child>.people-person:last-child .mention-name{border-bottom-color:transparent}
.people-list>section:last-child>.people-person:last-child::after{content:"";position:absolute;left:16px;right:0;bottom:0;height:1px;background:#f0f0f0;pointer-events:none}
.people-person .avatar{background:transparent;font-weight:400}
.people-add,.people-status{flex:0 0 auto;align-self:center;font-size:12px;margin-left:8px;margin-right:8px;white-space:nowrap}
.people-add{padding:5px 10px;min-height:30px;color:var(--green);background:#f2f2f2;border-radius:4px;font-weight:500}
.people-status{color:#999}
.people-index.mention-index{top:var(--people-index-offset);bottom:auto;right:1px;justify-content:flex-start;width:23px;height:var(--people-rail-height);max-height:none;padding:0;overflow:visible;z-index:1}
.people-index.mention-index{transform:translateY(calc(var(--people-index-center,0px) - var(--people-index-shift,0px)));clip-path:inset(var(--people-index-shift,0px) 0 var(--people-index-tail,0px) 0);-webkit-clip-path:inset(var(--people-index-shift,0px) 0 var(--people-index-tail,0px) 0);transition:none}
.people-page.has-people-index .people-list.mention-list{padding-right:24px}
html.page-keyboard-cover .people-index.mention-index{visibility:hidden;pointer-events:none}
.people-index[hidden]{display:none}
.people-directory-state{display:flex;align-items:center;justify-content:center;gap:8px;min-height:119px;padding:24px 16px;color:#888;font-size:14px;line-height:22px;text-align:center}
.people-directory-retry{padding:6px 10px;color:var(--green);font-size:14px;line-height:22px}
.people-index button,.mention-picker .mention-index button{flex:0 0 17px;font-weight:700;isolation:auto}
/* Keep the original search area and fixed 27 × 17px column.
   Scrolling must never reposition, rescale or scroll the letters. */
.people-index button{display:flex;align-items:center;justify-content:center}
/* Paint the marker with its letter, without a separate negative-z layer. */
.people-index button:before,.mention-picker .mention-index button:before{content:none}
.people-index button.is-current,.mention-picker .mention-index button.is-current{background:radial-gradient(circle closest-side,#07c160 99%,transparent 100%) center/14px min(14px,100%) no-repeat}
.people-index button:disabled{cursor:default;opacity:1;color:#888}
.people-requests{padding-bottom:8px;border-bottom:8px solid #ededed}
.people-requests>h3{height:36px;margin:0;padding:12px 16px 4px;font-size:13px;font-weight:500;color:#888}
.people-request{display:flex;align-items:center;gap:8px;padding:10px 28px 10px 16px;min-height:72px}
.people-request-profile{display:flex;align-items:center;gap:14px;min-width:0;flex:1;text-align:left}
.people-request-profile>.avatar{width:40px;height:40px;background:transparent}
.people-request-profile>span{min-width:0;overflow-wrap:anywhere}
.people-request-profile b{font-size:16px;font-weight:400;display:block}
.people-request-profile small{display:block;font-size:12px;color:#999;margin-top:4px}
.people-request-actions{display:flex;flex:0 0 auto;gap:6px}
.people-request-actions .tiny{padding:5px 8px;font-size:12px}
@media(max-width:359px){.people-request{flex-wrap:wrap}.people-request-actions{margin-left:54px}}
.media-upload-progress.upload-failed>b{font-size:14px;top:38%}
.media-upload-progress.upload-failed>.media-upload-retry{position:absolute;inset:auto;top:53%;left:50%;transform:translateX(-50%);display:block;width:auto;height:auto;min-height:30px;min-width:58px;padding:4px 10px;border:0;border-radius:5px;background:#fff;color:#333;font-size:13px;line-height:20px;pointer-events:auto;text-shadow:none}
.media-upload-progress.upload-failed>.media-upload-retry:disabled{opacity:.55}
.media-upload-progress.upload-done{inset:auto 0 0;background:rgba(0,0,0,.42);height:24px;border-radius:0}
.media-upload-progress.upload-done>b{display:none}
.media-upload-progress.upload-done>small{position:static;display:block!important;line-height:24px;font-size:11px}
[data-upload-preview]>.delete{z-index:4}
.detail-page .detail-interactions{margin-top:8px;margin-left:-53px;width:calc(100% + 53px);background:#f7f7f7;border-radius:8px;overflow:hidden}
.detail-comments-panel,.detail-likes{position:relative;padding:0 10px 0 53px}
.detail-likes{padding-top:10px;padding-bottom:10px;min-height:56px}
.detail-interaction-icon{position:absolute;top:16px;left:15px;display:flex;align-items:center;justify-content:center;width:20px;height:20px;color:var(--blue)}
.detail-interaction-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}
.detail-likes>.detail-interaction-icon{top:18px}
.detail-comments-icon{top:22px;pointer-events:none}
.detail-like-avatars{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.detail-like-avatars>button{display:block;flex:0 0 36px;width:36px;height:36px;line-height:0}
.detail-page .detail-like-avatars .avatar{display:block;width:36px;height:36px;border-radius:3px}
.detail-likes+.detail-comments-panel{border-top:1px solid #e5e5e5}
.detail-comment-list{min-width:0}
.detail-comment-row{position:relative;display:grid;grid-template-columns:36px minmax(0,1fr);column-gap:5px;align-items:start;margin-left:-53px;margin-right:-10px;padding:12px 10px 12px 53px;min-height:66px}
.detail-comment-row:not(:last-child):after{content:"";position:absolute;bottom:0;left:53px;right:10px;border-bottom:1px solid #e5e5e5;pointer-events:none}
.detail-comment-avatar{display:block;width:36px;height:36px;line-height:0}
.detail-page .detail-comment-avatar>.avatar{display:block;width:36px;height:36px;border-radius:3px}
.detail-comment-copy{min-width:0}
.detail-comment-heading{display:flex;align-items:flex-start;gap:8px;min-height:20px}
.detail-comment-name{flex:0 1 auto;min-width:0;text-align:left;overflow-wrap:anywhere;font-size:var(--font-comment);font-weight:600;line-height:20px;color:var(--blue)}
.detail-comment-heading time{flex:0 0 auto;max-width:46%;margin-left:auto;font-size:12px;font-weight:400;line-height:20px;color:#888;text-align:right;overflow-wrap:anywhere}
.detail-comment-body{display:flex;align-items:center;gap:8px;margin-top:1px}
.detail-comment-content{display:block;flex:1 1 0%;width:100%;min-width:0;max-width:100%;margin:0;padding:0;text-align:left;color:#191919;font-size:var(--font-comment);font-weight:400;line-height:23px;white-space:pre-wrap;overflow-wrap:anywhere}
.detail-reply-name{color:var(--blue);font-weight:600}
.comment-text,.detail-comment-text{cursor:pointer}
.comment-name,.detail-reply-name{margin:0;padding:0;line-height:inherit;vertical-align:baseline}
.comment-text:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.detail-comment-text:focus,.detail-comment-text:focus-visible{outline:0;box-shadow:none}
@media(max-width:600px){.detail-page .detail-interactions{margin-left:-50px;width:calc(100% + 50px)}.detail-comments-panel,.detail-likes{padding-left:50px}.detail-interaction-icon{left:14px}}
.detail-comment-row{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:pan-y pinch-zoom;cursor:pointer}
.detail-comment-pressed,.detail-comment-selected{background:#dedede}
.detail-comment-popover{position:fixed;z-index:1400;display:flex;max-width:calc(100vw - 16px);border-radius:10px;background:#f8f8f8;box-shadow:0 5px 24px #0003;color:#191919;isolation:isolate}
.detail-comment-popover:after{content:"";position:absolute;bottom:-7px;left:var(--comment-menu-arrow,50%);width:14px;height:14px;transform:translateX(-50%) rotate(45deg);border-radius:0 0 3px;background:#f8f8f8;z-index:-1}
.detail-comment-popover.below:after{bottom:auto;top:-7px;border-radius:3px 0 0}
.detail-comment-popover button{min-width:70px;min-height:42px;padding:9px 16px;font-size:16px;line-height:24px;white-space:nowrap}
.detail-comment-popover button+button{border-left:1px solid #d9d9d9}
.detail-comment-popover button:active{background:#e5e5e5}
.post-delete-sheet .post-delete-title{color:#191919;font-weight:400}
dialog.post-delete-sheet .post-delete-confirm{display:flex;align-items:center;justify-content:center;color:#fa5151;background:#fff;min-height:53px;padding:17px 20px;line-height:24px}
dialog.post-delete-sheet .post-delete-confirm:focus-visible{background:#fff}
.post-delete-sheet .error:empty{display:none}
.post-delete-sheet .error:not(:empty){padding:0 16px 12px}
@media(max-width:600px){.detail-comment-row{margin-left:-50px;padding-left:50px}.detail-comment-row:not(:last-child):after{left:50px}}
.bottom-nav-items{display:contents}
@media(min-width:601px){
 .photo-viewer .viewer-save{right:17px;bottom:18px}
 .photo-viewer .viewer-save-help{bottom:17px}
 .photo-viewer .viewer-save-help{bottom:75px}
 .album-view-bottom,.single-video-bottom{bottom:16px}
 dialog.form-dialog[open]{top:var(--desktop-overlay-top,0px);height:var(--desktop-overlay-height,100vh)}
 dialog.form-dialog>.form-dialog-card{max-height:calc(-24px + var(--desktop-overlay-height,100vh))}
}
.wechat-emoji{display:inline-block;width:1.4em;height:1.4em;vertical-align:-.25em;overflow:hidden;text-indent:-9999px;white-space:nowrap;background-image:url("wechat-emoji-65eacc21f5ca.png");background-size:1000% 1100%;background-repeat:no-repeat;pointer-events:none}
/* Center comment sprites inside each text line, independent of font baselines. */
.comment-copy .wechat-emoji{vertical-align:top;margin:calc(12px - .7em) 0}
.detail-comment-content .wechat-emoji{vertical-align:top;margin:calc(11.5px - .7em) 0}
/* Keep post sprites centered within the existing 1.45em / 1.5em text lines. */
.post-text .wechat-emoji,.album-text .wechat-emoji,.ad-mosaic .ad-copy .wechat-emoji{vertical-align:top;margin:.025em 0}
.album-text-preview .wechat-emoji,.pinned-text .wechat-emoji{vertical-align:top;margin:.05em 0}
.comment-emoji-grid .wechat-emoji,.emoji-grid .wechat-emoji{width:32px;height:32px;vertical-align:middle}
.emoji-grid .wechat-emoji{max-width:100%;height:32px}
@supports(aspect-ratio:1){.emoji-grid .wechat-emoji{height:auto;aspect-ratio:1}}
.wechat-input-model{display:none!important}
.wechat-input{position:relative;white-space:pre-wrap;overflow-wrap:break-word;outline:0;caret-color:currentColor;-webkit-user-select:text;user-select:text;-webkit-tap-highlight-color:transparent}
.comment-entry-field:before,.wechat-input[data-empty=true]:before{content:attr(data-placeholder);position:absolute;inset:0;padding:inherit;color:#aaa;pointer-events:none}
.wechat-input .wechat-emoji{width:1.2em;height:1.2em;vertical-align:-.18em;pointer-events:auto;user-select:all;-webkit-user-select:all}
.composer-text.wechat-input{height:120px;overflow-y:auto;background:#fff}
.comment-dock .wechat-input[data-empty=true]:before,.comment-entry-field:before{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
dialog.fullscreen-dialog[open]{--dialog-layout-height:100vh;--dialog-body-gap:16px;position:fixed;inset:0;top:var(--desktop-overlay-top,0px);right:0;bottom:auto;left:0;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;width:100%;max-width:none;height:var(--desktop-overlay-height,var(--dialog-layout-height));max-height:var(--desktop-overlay-height,var(--dialog-layout-height));min-height:0;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;overflow:hidden;box-sizing:border-box;transform:none}
@supports(height:100dvh){dialog.fullscreen-dialog[open]{--dialog-layout-height:100dvh}}
@media(max-width:600px){.compat-backdrop.editor-backdrop,dialog.fullscreen-dialog.fullscreen-editor::backdrop{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}}
dialog.fullscreen-dialog.form-dialog{background:#fff}
dialog.fullscreen-dialog>.form-dialog-card{flex:1 1 auto;width:100%;max-width:none;height:100%;max-height:100%;min-height:0;border-radius:0;box-shadow:none}
dialog.fullscreen-dialog>.dialog-head,dialog.fullscreen-dialog>.form-dialog-card>.dialog-head{position:relative;top:auto;display:grid;grid-template-columns:minmax(64px,auto) minmax(0,1fr) minmax(64px,auto);align-items:center;flex:0 0 auto;gap:8px;min-height:52px;padding:calc(8px + env(safe-area-inset-top,0px)) max(16px, env(safe-area-inset-right,0px)) 8px max(16px, env(safe-area-inset-left,0px));background:#ededed}
dialog.fullscreen-dialog .dialog-head>h2{padding:0;margin:0;min-width:0;border:0;text-align:center;font-size:17px;line-height:24px;overflow-wrap:anywhere}
dialog.fullscreen-dialog .dialog-head>button:first-child{justify-self:start;visibility:visible}
dialog.fullscreen-dialog .dialog-head>:last-child{justify-self:end}
dialog.fullscreen-dialog>.dialog-body,dialog.fullscreen-dialog>.form-dialog-card>.dialog-body{flex:0 1 auto;min-height:0;max-height:none;margin-top:0;margin-bottom:auto;padding-top:var(--dialog-body-gap);padding-bottom:calc(var(--dialog-body-gap) + var(--page-safe-bottom, env(safe-area-inset-bottom,0px)));overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scroll-padding-block:var(--dialog-body-gap)}
dialog.fullscreen-dialog.action-sheet[open],dialog.fullscreen-dialog.visibility-picker[open]{padding-bottom:var(--page-safe-bottom, env(safe-area-inset-bottom,0px))}
dialog.fullscreen-dialog.action-sheet>.dialog-body,dialog.fullscreen-dialog.visibility-picker>.dialog-body{padding-block:0}
dialog.fullscreen-dialog.composer-location>.dialog-body{flex:1 1 auto;margin-block:0;padding-top:0;padding-bottom:var(--page-safe-bottom, env(safe-area-inset-bottom,0px))}
dialog.fullscreen-dialog.composer-visibility>.dialog-body,dialog.fullscreen-dialog.cover-settings>.dialog-body{padding-top:0;padding-bottom:var(--page-safe-bottom, env(safe-area-inset-bottom,0px))}
dialog.mention-picker>.mention-content{position:relative;display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow:hidden;background:#fff}
.mention-content>.mention-scroll{flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:none;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.mention-scroll::-webkit-scrollbar{display:none}
.mention-tools{position:sticky;top:0;z-index:2;background:#ededed}
.mention-tools>.mention-search-wrap{padding-bottom:8px}
.mention-scroll>.mention-list{flex:none;overflow:visible;margin-block:0;padding-bottom:0}
.mention-scroll>.mention-list section>h3{top:48px}
/* Anchor the letter rows below search. Auto centering used to lose its
   spare margins as the keyboard opened, moving every letter upward. Keep
   the same starting point and row spacing when the visible list shortens. */
.mention-content>.mention-index{top:56px;bottom:12px;justify-content:flex-start}
.mention-content>.mention-index>button:first-child{margin-top:0}
.mention-content>.mention-index>button:last-child{margin-bottom:0}
.mention-picker:not(.has-mention-selection) .mention-scroll{padding-bottom:var(--page-safe-bottom, env(safe-area-inset-bottom,0px))}
.mention-picker:not(.has-mention-selection) .mention-index{bottom:calc(12px + var(--page-safe-bottom, env(safe-area-inset-bottom,0px)))}
dialog.fullscreen-dialog.mention-picker .mention-empty{padding-block:var(--dialog-body-gap)}
dialog.fullscreen-dialog.mention-picker>.mention-footer{min-height:0}
@media(min-width:601px){dialog.fullscreen-dialog[open]{--dialog-body-gap:20px}}
@media(min-width:601px){dialog.fullscreen-dialog.composer>.dialog-body{overflow-y:scroll}}
dialog.fullscreen-dialog.composer-range[open],dialog.fullscreen-dialog.cover-screen[open],dialog.fullscreen-dialog.mention-picker[open]{--dialog-body-gap:16px}
dialog.fullscreen-dialog .mention-footer.is-expanded .mention-selected{max-height:calc(min(180px, 25vh))}
dialog.fullscreen-dialog.mention-limit[open]{align-items:center;justify-content:flex-start;padding:calc(var(--dialog-body-gap) + env(safe-area-inset-top,0px)) var(--dialog-body-gap) calc(var(--dialog-body-gap) + var(--page-safe-bottom, env(safe-area-inset-bottom,0px)));overflow-y:auto}
dialog.fullscreen-dialog.mention-limit>h2:first-child{margin-top:0}
dialog.fullscreen-dialog.mention-limit>:last-child{margin-bottom:auto}
dialog.fullscreen-dialog.mention-limit>*{flex-shrink:0;width:min(420px, 100%);max-width:100%;box-sizing:border-box}
/* Full-page menus and About keep an opaque white surface at Safari's bottom
   edge. A short fixed child replaces a stale tint from the previous overlay. */
dialog.fullscreen-dialog.page-surface-dialog{--browser-surface-background:#ffffff;background:#fff}
.dialog-surface-edge{display:none}
@media(max-width:600px){
 .compat-backdrop.page-surface-backdrop,dialog.fullscreen-dialog.page-surface-dialog::backdrop{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}
 dialog.fullscreen-dialog.page-surface-dialog[open]{padding-bottom:max(12px,var(--page-safe-bottom,env(safe-area-inset-bottom,0px)))}
 dialog.page-surface-dialog>.dialog-surface-edge{display:block;position:fixed;left:0;right:0;bottom:0;height:12px;z-index:1;pointer-events:none;background:#fff}
}
/* Anchor to both viewport edges so cached page heights cannot leave a gap. */
.music-layer{inset:0;height:auto;align-items:stretch}
.music-layer>.music-sheet{width:100%;height:100%;max-height:none;border-radius:0;padding-top:calc(12px + env(safe-area-inset-top,0px));padding-bottom:calc(12px + var(--page-safe-bottom, env(safe-area-inset-bottom,0px)))}
.music-layer .music-stop{top:calc(10px + env(safe-area-inset-top,0px))}
.music-layer .player-handle svg{top:calc(16px + env(safe-area-inset-top,0px))}

@media(max-height:520px){.music-layer>.music-sheet{padding-top:calc(8px + env(safe-area-inset-top,0px));padding-bottom:calc(8px + var(--page-safe-bottom, env(safe-area-inset-bottom,0px)))}}
dialog.main-navigation-menu>.dialog-body{padding:0}
dialog.main-navigation-menu>.dialog-body>.menu-choice{gap:12px}
.main-navigation-menu .main-menu-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 20px;width:20px;height:20px;color:#666;pointer-events:none}
.main-navigation-menu .main-menu-icon>svg{display:block;width:20px;height:20px}
.main-navigation-menu .main-menu-label{flex:1 1 auto;min-width:0}
.me-menu-list>.row,dialog.main-navigation-menu>.dialog-body>.menu-choice{position:relative;display:flex;align-items:center;justify-content:flex-start;min-height:56px;margin:0;padding:16px 44px 16px 16px;border:0;border-radius:0;background:#fff;color:#191919;font-size:17px;font-weight:400;line-height:24px;text-align:left;white-space:normal;overflow-wrap:anywhere}
.me-menu-list>.row:before,dialog.main-navigation-menu>.dialog-body>.menu-choice+.menu-choice:before{content:"";position:absolute;top:0;left:16px;right:0;height:1px;background:#ededed;pointer-events:none}
.me-menu-list>.row:after,dialog.main-navigation-menu>.dialog-body>.menu-choice:after{content:"";position:absolute;right:20px;top:50%;width:8px;height:8px;border-top:2px solid #b2b2b2;border-right:2px solid #b2b2b2;transform:translateY(-50%) rotate(45deg);pointer-events:none}
.me-menu-list>.row:active,.me-menu-list>.row:focus-visible,dialog.main-navigation-menu>.dialog-body>.menu-choice:active,dialog.main-navigation-menu>.dialog-body>.menu-choice:focus-visible{background:#f7f7f7}
.page.me-page{padding:0 0 8px;background:#ededed}
.me-page>.card{border-radius:0;margin:0}
.me-page>.me-menu-list{border-top:8px solid #ededed}
.me-menu-list>.row:first-child:before{display:none}
.me-menu-list>.row>.chev{display:none}
.me-menu-list>.row>.small{flex:0 1 auto;min-width:0;max-width:42%;overflow-wrap:anywhere}
.me-page>.me-account-switch,.me-page>.me-logout{display:block;width:100%;min-height:56px;margin:8px 0 0;padding:16px;border:0;border-radius:0;background:#fff;color:#191919;font-size:17px;font-weight:400;line-height:24px;text-align:center}
.me-page>.me-account-switch:active,.me-page>.me-account-switch:focus-visible,.me-page>.me-logout:active,.me-page>.me-logout:focus-visible{background:#f5f5f5}
.me-page>.mobile-icp{margin:0;padding:16px}
dialog.profile-details[open]{background:#ededed}
dialog.profile-details .dialog-head>button[data-act=removeFriend]{min-height:32px;padding:6px 14px;border-radius:5px;background:#fff;color:#fa5151;font-weight:700}
dialog.profile-details .dialog-head>button[data-act=removeFriend]:active{background:#fff}
dialog.profile-details>.dialog-body{padding:0;background:#ededed}
dialog.profile-details>.dialog-body>.profile-card{padding:22px 16px;margin-bottom:8px;background:#fff}
dialog.profile-details>.dialog-body>.row{position:relative;min-height:56px;margin:0;padding:16px;border:0;background:#fff;font-size:17px;line-height:24px}
dialog.profile-details>.dialog-body>.profile-signature-row{gap:24px}
dialog.profile-details>.dialog-body>.profile-signature-row>span:first-child{flex:0 0 auto;white-space:nowrap}
dialog.profile-details>.dialog-body>.row:before{content:"";position:absolute;top:0;left:16px;right:0;height:1px;background:#ededed;pointer-events:none}
dialog.profile-details>.dialog-body>.profile-card+.row:before,dialog.profile-details>.dialog-body>.profile-moments-row:before{display:none}
dialog.profile-details>.dialog-body>.profile-moments-row{margin-top:8px}
dialog.profile-details>.dialog-body>.error:not(:empty),dialog.profile-details>.dialog-body>.form-actions:not(:empty){margin:16px}
.profile-friend-notice{margin:16px;padding:16px 12px;border-radius:10px;background:#f7f7f7;text-align:center;overflow-wrap:anywhere}
.profile-friend-notice-title{margin:0;color:#555;font-size:14px;font-weight:400;line-height:22px}
.profile-friend-notice-description{margin:4px 0 0;color:#999;font-size:12px;line-height:20px}
/* Only the form shortens above the keyboard. Use the recovered page bounds so
   blur reveals its lower rows before Safari finishes updating the viewport. */
dialog.fullscreen-dialog>.dialog-body,dialog.fullscreen-dialog>.form-dialog-card>.dialog-body,dialog.edit-profile.fullscreen-dialog>.dialog-body,dialog.edit-profile.fullscreen-dialog>.form-dialog-card>.dialog-body,dialog.admin-editor.fullscreen-dialog>.dialog-body,dialog.admin-editor.fullscreen-dialog>.form-dialog-card>.dialog-body,dialog.composer.fullscreen-dialog>.dialog-body,dialog.composer.fullscreen-dialog>.form-dialog-card>.dialog-body,dialog.auth-editor.fullscreen-dialog>.dialog-body,dialog.auth-editor.fullscreen-dialog>.form-dialog-card>.dialog-body{max-height:max(0px,calc(var(--page-viewport-height,var(--dialog-layout-height)) - var(--desktop-overlay-top,0px) - var(--nav-total-height,52px)))}
dialog.edit-profile.fullscreen-dialog>.dialog-body,dialog.edit-profile.fullscreen-dialog>.form-dialog-card>.dialog-body{padding:0 0 var(--page-safe-bottom, env(safe-area-inset-bottom,0px))}
#profile-edit-form{margin:0;background:#fff}
#profile-edit-form>.profile-setting,.account-security-rows>.profile-setting{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px 16px;min-height:56px;margin:0;padding:16px 44px 16px 16px;color:#191919;font-size:17px;font-weight:400;line-height:24px}
#profile-edit-form>.profile-setting~.profile-setting:before,.account-security-rows>.profile-setting~.profile-setting:before{content:"";position:absolute;top:0;left:16px;right:0;height:1px;background:#ededed;pointer-events:none}
#profile-edit-form>.profile-setting:after,.account-security-rows>.profile-setting:after{content:"";position:absolute;right:20px;top:28px;width:8px;height:8px;border-top:2px solid #b2b2b2;border-right:2px solid #b2b2b2;transform:translateY(-50%) rotate(45deg);pointer-events:none}
#profile-edit-form>.profile-setting:focus-within{background:#f7f7f7}
#profile-edit-form .profile-setting-label,.account-security-rows .profile-setting-label{min-width:0;line-height:24px;white-space:nowrap}
#profile-edit-form>.profile-setting>input:not([type=file]),#profile-edit-form>.profile-setting>select,#profile-edit-form>.profile-setting>textarea{min-width:0;min-height:24px;width:100%;max-width:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#666;font-size:17px;line-height:24px;text-align:right;box-shadow:none}
/* Older Safari ignores text-align-last on native selects. Keep the control's
   value at the right edge with direction, while its options read normally. */
#profile-edit-form>.profile-setting>select{appearance:none;-webkit-appearance:none;direction:rtl;text-align-last:right}
#profile-edit-form>.profile-setting>select>option{direction:ltr;text-align:left}
#profile-edit-form>.profile-setting>input[name=age]{justify-self:end;width:5em;text-align:right;-webkit-appearance:none;appearance:textfield}
#profile-edit-form>.profile-setting>input[name=age]::-webkit-inner-spin-button,#profile-edit-form>.profile-setting>input[name=age]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
#profile-edit-form>.profile-setting>textarea{resize:vertical;overflow-wrap:anywhere}
#profile-edit-form>.profile-setting>.hint{grid-column:1/-1;margin:0;font-size:12px;line-height:18px;color:#999}
#profile-edit-form #signature-count{text-align:right}
#profile-edit-form>.profile-signature-setting{align-items:start;column-gap:24px}
#profile-edit-form>.profile-signature-setting>textarea{resize:none;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere}
#profile-edit-form>.profile-avatar-setting{width:100%;border:0;background:transparent;text-align:left;cursor:pointer}
#profile-edit-form>.profile-avatar-setting:focus,#profile-edit-form>.profile-avatar-setting:focus-visible{outline:0;box-shadow:none}
#profile-edit-form>.profile-avatar-setting:focus-visible{background:#f7f7f7}
#profile-edit-form>.profile-avatar-setting:after{top:50%}
#profile-edit-form #avatar-preview{justify-self:end;line-height:0}
#profile-edit-form>.profile-region-setting{width:100%;border:0;background:transparent;text-align:left;cursor:pointer}
#profile-edit-form>.profile-region-setting:after{top:50%}
#profile-edit-form>.profile-region-setting:focus,#profile-edit-form>.profile-region-setting:focus-visible{outline:0;box-shadow:none}
#profile-edit-form>.profile-region-setting:focus-visible{background:#f7f7f7}
#profile-edit-form .profile-region-value{display:block;min-width:0;color:#666;font-size:17px;line-height:24px;text-align:right;overflow-wrap:anywhere}
#profile-edit-form .profile-region-value[data-empty=true]{color:#aaa}
#profile-edit-form>.profile-value-setting{width:100%;border:0;background:transparent;text-align:left;cursor:pointer}
#profile-edit-form>.profile-value-setting:after{top:50%}
#profile-edit-form>.profile-value-setting:focus-visible{outline:0;background:#f7f7f7}
#profile-edit-form .profile-setting-value{display:block;min-width:0;color:#666;text-align:right;white-space:pre-wrap;overflow-wrap:anywhere}
#profile-edit-form .profile-setting-value[data-empty=true]{color:#aaa}
dialog.profile-field-editor.fullscreen-dialog{--browser-surface-background:#ededed;background:#ededed}
dialog.profile-field-editor>.dialog-head{background:#ededed}
dialog.profile-field-editor>.dialog-head .primary:disabled{background:#e0e0e0;color:#b9b9b9;opacity:1}
dialog.profile-field-editor>.dialog-body{padding:0 0 var(--page-safe-bottom,env(safe-area-inset-bottom,0px));background:#ededed}
dialog.profile-field-editor>.dialog-surface-edge{background:#ededed}
#profile-field-form{margin:0}
.profile-field-band{display:flex;align-items:flex-start;gap:12px;min-height:56px;padding:16px;background:#fff}
.profile-field-band :is(input,textarea){flex:1 1 0;min-width:0;width:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#191919;font-size:17px;line-height:24px;box-shadow:none;outline:none;caret-color:#07c160}
.profile-field-band textarea{resize:none;min-height:72px;overflow-wrap:anywhere}
.profile-field-hint,.profile-field-counter{margin:12px 16px 0;color:#999;font-size:12px;line-height:18px}
.profile-field-counter{text-align:right}
#profile-field-form>.error,.region-save-error{margin:12px 16px;font-size:13px;line-height:20px}
.profile-gender-options{background:#fff}
.profile-gender-option{position:relative;display:flex;align-items:center;min-height:56px;margin:0 16px;padding:16px 0;gap:16px;font-size:17px;line-height:24px;cursor:pointer}
.profile-gender-option+.profile-gender-option{border-top:1px solid #ededed}
.profile-gender-option input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.profile-gender-option span{flex:1}
.profile-gender-option svg{width:24px;height:24px;fill:none;stroke:#07c160;stroke-width:2.4;visibility:hidden}
.profile-gender-option input:checked~svg{visibility:visible}
.profile-gender-option:focus-within{outline:2px solid #07c160;outline-offset:2px}
dialog.profile-region-picker[open]{display:flex;flex-direction:column;overflow:hidden;background:#fff}
dialog.profile-region-picker>.dialog-head{flex:none;background:#ededed}
dialog.profile-region-picker>.dialog-head>[data-region-done]:disabled{background:#ddd;color:#aaa;opacity:1}
dialog.profile-region-picker>.dialog-body{flex:1 1 0;min-height:0;max-height:none;padding:0 0 var(--page-safe-bottom,env(safe-area-inset-bottom,0px));overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;scrollbar-width:thin}
.region-section-title{margin:0;padding:18px 16px 7px;background:#ededed;color:#888;font-size:14px;font-weight:400;line-height:22px}
/* Keep both gray section headings unchanged; discard only the inherited white gap below them. */
dialog.profile-region-picker>.dialog-body>.region-section-title{margin-bottom:0}
.region-options{padding-left:20px;background:#fff}
.region-choice{position:relative;display:flex;align-items:center;gap:14px;flex:0 0 auto;width:100%;height:52px;min-height:52px;padding:0 20px 0 0;border:0;border-radius:0;background:#fff;color:#191919;font-size:17px;line-height:26px;text-align:left;cursor:pointer}
.region-choice>span:first-of-type{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.region-options>.region-choice+.region-choice:before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:#e5e5e5;pointer-events:none}
.region-choice:focus,.region-choice:focus-visible,.region-level>button:focus,.region-level>button:focus-visible{outline:0;box-shadow:none}
.region-choice:active,.region-choice:focus-visible{background:#f7f7f7}
.region-chevron{flex:none;width:8px;height:8px;border-top:2px solid #bbb;border-right:2px solid #bbb;transform:rotate(45deg);margin-right:2px}
.region-choice-check{display:flex;align-items:center;justify-content:center;flex:0 0 22px;color:var(--green);visibility:hidden}
.region-choice-check svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.region-choice[aria-pressed=true]>.region-choice-check{visibility:visible}
.region-location{padding-left:20px}
.region-location-icon{width:22px;height:26px;flex:none;fill:var(--green);stroke:none}
.region-location:disabled{color:#888;cursor:wait}
.region-location-status{margin:0;padding:8px 16px 12px;color:#888;background:#fff;font-size:13px;line-height:20px}
.region-level{display:flex;align-items:center;gap:18px;min-height:48px;padding:0 16px;background:#ededed;font-size:15px;line-height:24px;color:#888}
.region-level>button{display:inline-flex;align-items:center;gap:8px;flex:none;min-height:48px;padding:0;border:0;background:transparent;color:#191919;font-size:15px}
.region-level>span{min-width:0;overflow-wrap:anywhere}
.region-clear{padding-left:20px;margin-top:8px;box-shadow:0 -8px 0 #ededed;color:#666}
@keyframes region-refresh-spin{to{transform:rotate(360deg)}}
#profile-edit-form>.error:not(:empty){margin:16px}
.profile-avatar-viewer[open]{z-index:100000;background:#000;color:#ccc;padding:0;isolation:isolate;overflow:hidden;overflow:clip}
/* A modal editor is also a native backdrop owner. While its avatar is open,
   every retained editor/backdrop surface must have the preview's black base. */
dialog.avatar-preview-parent,dialog.avatar-preview-parent::backdrop{background:#000!important;-webkit-backdrop-filter:none;backdrop-filter:none}
dialog.profile-avatar-viewer::backdrop{background:#000;-webkit-backdrop-filter:none;backdrop-filter:none}
/* Clip translated pages inside a fixed viewport. Their overflow must not
   become the dialog's scrollable area when focus or an image load arrives. */
.profile-avatar-viewer .avatar-navigation-viewport{position:absolute;inset:0;overflow:hidden;overflow:clip;contain:layout paint;isolation:isolate;clip-path:inset(0)}
.profile-avatar-viewer .avatar-viewer-page{position:absolute;inset:0;display:flex;flex-direction:column;overflow:hidden;overflow:clip;background:#000}
.profile-avatar-viewer .avatar-viewer-head{position:relative;z-index:1}
.profile-avatar-viewer .avatar-page-picture{pointer-events:none}
.profile-avatar-viewer.safari-media-surface[open]{max-height:none;background:#000}
.profile-avatar-viewer .avatar-viewer-head{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:12px;flex:0 0 auto;padding:calc(8px + env(safe-area-inset-top,0px)) max(12px, env(safe-area-inset-right,0px)) 8px max(12px, env(safe-area-inset-left,0px));background:#000}
.profile-avatar-viewer .avatar-viewer-head h2{margin:0;font-size:17px;font-weight:400;line-height:24px;text-align:center;color:#ccc}
.profile-avatar-viewer .avatar-viewer-head button{display:grid;place-items:center;width:44px;height:40px;padding:0;color:#ccc;background:transparent;border:0}
.profile-avatar-viewer .avatar-viewer-head button:focus,.profile-avatar-viewer .avatar-viewer-head button:focus-visible{outline:0;box-shadow:none;background:transparent}
.profile-avatar-viewer .avatar-viewer-head svg{width:24px;height:24px}
.profile-avatar-viewer .avatar-viewer-more svg{fill:currentColor;stroke:none}
.profile-avatar-viewer .avatar-viewer-stage{position:absolute;inset:0;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;padding:max(var(--nav-total-height,56px),calc(56px + var(--page-safe-bottom, env(safe-area-inset-bottom,0px)))) 0}
.profile-avatar-viewer .avatar-viewer-stage img{display:block;width:100%;height:100%;min-height:0;max-width:100%;max-height:100%;object-fit:contain;border-radius:0;-webkit-touch-callout:default;-webkit-user-select:auto;user-select:auto}
.profile-avatar-viewer .avatar-viewer-status{position:absolute;left:16px;right:16px;bottom:calc(16px + var(--page-safe-bottom, env(safe-area-inset-bottom,0px)));margin:0;color:#ddd;font-size:13px;line-height:20px;text-align:center;pointer-events:none}
.profile-avatar-viewer .avatar-viewer-status:empty{display:none}
.profile-avatar-viewer .avatar-action-overlay{position:absolute;inset:0;z-index:2;display:flex;align-items:flex-end;background:#0006}
.profile-avatar-viewer .avatar-action-panel{width:100%;max-height:100%;overflow:auto;overscroll-behavior:contain;border-radius:12px 12px 0 0;background:#fff;padding-bottom:var(--page-safe-bottom, env(safe-area-inset-bottom,0px))}
.profile-avatar-viewer .avatar-action-panel button{display:block;width:100%;min-height:56px;margin:0;padding:16px;border:0;border-radius:0;outline:0;box-shadow:none;background:#fff;color:#191919;font-size:17px;font-weight:400;line-height:24px;text-align:center}
.profile-avatar-viewer .avatar-action-panel button+button{border-top:1px solid #ededed}
.profile-avatar-viewer .avatar-action-panel button[data-avatar-action=cancel]{border-top:8px solid #f5f5f5}
.profile-avatar-viewer .avatar-action-panel button:disabled{color:#aaa}
.profile-avatar-viewer .avatar-action-panel button:active,.profile-avatar-viewer .avatar-action-panel button:focus-visible{background:#f7f7f7}
.profile-avatar-viewer .avatar-camera{position:absolute;inset:0;z-index:4;display:flex;flex-direction:column;overflow:auto;background:#000;color:#eee;padding-top:env(safe-area-inset-top,0px)}
.profile-avatar-viewer .avatar-camera h2{flex:0 0 auto;margin:0;padding:16px;font-size:17px;line-height:24px;text-align:center;font-weight:400}
.profile-avatar-viewer .avatar-camera-preview{position:relative;flex:1 1 auto;min-height:80px;overflow:hidden}
.profile-avatar-viewer .avatar-camera-preview video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;background:#000}
.profile-avatar-viewer .avatar-camera-status{flex:0 0 auto;margin:0;padding:12px 20px 4px;color:#ddd;font-size:14px;line-height:22px;text-align:center}
.profile-avatar-viewer .avatar-camera-footer,.profile-avatar-viewer .avatar-camera-options{display:flex;align-items:center;justify-content:center;gap:16px;flex:0 0 auto;padding:4px 20px}
.profile-avatar-viewer .avatar-camera button{min-height:44px;padding:10px 12px;border:0;border-radius:4px;background:transparent;color:#eee;font-size:16px;line-height:24px}
.profile-avatar-viewer .avatar-camera button:focus-visible{outline:2px solid #eee;outline-offset:-2px}
.profile-avatar-viewer .avatar-camera-options button{font-size:14px;color:#aaa}
.profile-avatar-viewer .avatar-camera-footer{justify-content:space-between;border-top:1px solid #191919;padding:12px 20px calc(12px + var(--page-safe-bottom, env(safe-area-inset-bottom,0px)))}
.profile-avatar-viewer .avatar-camera-footer [data-camera=take]{min-width:80px;background:var(--green);color:#fff}
.profile-avatar-viewer .avatar-camera-footer [data-camera=take]:disabled{background:#222;color:#666}
.profile-avatar-viewer .avatar-use-previous{position:absolute;left:0;right:0;bottom:0;z-index:1;width:100%;min-height:56px;padding:16px 20px calc(16px + var(--page-safe-bottom, env(safe-area-inset-bottom,0px)));border:0;border-radius:0;background:#111;color:#eee;font-size:16px;line-height:24px}
.profile-avatar-viewer .avatar-viewer-page.avatar-previous .avatar-viewer-head{background:#ededed}
.profile-avatar-viewer .avatar-viewer-page.avatar-previous .avatar-viewer-head button,.profile-avatar-viewer .avatar-viewer-page.avatar-previous .avatar-viewer-head h2{color:#191919}
.profile-avatar-viewer .avatar-viewer-status.is-loading,.profile-avatar-viewer .avatar-viewer-status.is-success{z-index:5;top:50%;bottom:auto;left:50%;right:auto;transform:translate(-50%,-50%);width:124px;min-height:112px;padding:24px 12px 16px;border-radius:8px;background:#333e;color:#fff;font-size:13px;line-height:20px}
.profile-avatar-viewer .avatar-viewer-status.is-loading:before{content:"";display:block;width:26px;height:26px;margin:0 auto 14px;border:2px solid #ffffff40;border-top-color:#fff;border-radius:50%;animation:region-refresh-spin .8s linear infinite}
.profile-avatar-viewer .avatar-viewer-status.is-success:before{content:"";display:block;width:22px;height:12px;border:solid #fff;border-width:0 0 2px 2px;transform:rotate(-45deg);margin:0 auto 20px}
.profile-avatar-viewer .avatar-crop{position:absolute;inset:0;z-index:4;display:flex;flex-direction:column;overflow:hidden;background:#000;padding-top:env(safe-area-inset-top,0px);color:#eee}
.profile-avatar-viewer .avatar-crop-area{position:relative;flex:1 1 auto;min-height:0;overflow:hidden;touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab;outline-offset:-4px}
.profile-avatar-viewer .avatar-crop-area:active{cursor:grabbing}
.profile-avatar-viewer .avatar-crop-area>img{position:absolute;left:50%;top:50%;display:block;max-width:none;max-height:none;min-width:0;object-fit:fill;transform-origin:center;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.profile-avatar-viewer .avatar-crop-frame{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:1px solid #fff;box-shadow:0 0 0 200vmax #000a;pointer-events:none}
.profile-avatar-viewer .avatar-crop-frame i{position:absolute;width:15px;height:15px;border:solid #fff}
.profile-avatar-viewer .avatar-crop-frame i:first-child{left:-2px;top:-2px;border-width:3px 0 0 3px}
.profile-avatar-viewer .avatar-crop-frame i:nth-child(2){right:-2px;top:-2px;border-width:3px 3px 0 0}
.profile-avatar-viewer .avatar-crop-frame i:nth-child(3){right:-2px;bottom:-2px;border-width:0 3px 3px 0}
.profile-avatar-viewer .avatar-crop-frame i:nth-child(4){left:-2px;bottom:-2px;border-width:0 0 3px 3px}
.profile-avatar-viewer .avatar-crop-frame span{position:absolute;inset:0;background:linear-gradient(90deg,transparent calc(33.333% - .5px),#ffffff60 33.333%,transparent calc(33.333% + .5px),transparent calc(66.667% - .5px),#ffffff60 66.667%,transparent calc(66.667% + .5px)),linear-gradient(180deg,transparent calc(33.333% - .5px),#ffffff60 33.333%,transparent calc(33.333% + .5px),transparent calc(66.667% - .5px),#ffffff60 66.667%,transparent calc(66.667% + .5px));opacity:0}
.profile-avatar-viewer .avatar-crop.is-adjusting .avatar-crop-frame span{opacity:1}
.profile-avatar-viewer .avatar-crop-footer,.profile-avatar-viewer .avatar-crop-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:0 0 auto;padding:4px max(16px, env(safe-area-inset-right,0px)) 4px max(16px, env(safe-area-inset-left,0px));background:#000}
.profile-avatar-viewer .avatar-crop-footer button,.profile-avatar-viewer .avatar-crop-tools button{min-width:44px;min-height:48px;padding:10px 4px;border:0;border-radius:0;background:transparent;color:#eee;font-size:16px;line-height:24px}
.profile-avatar-viewer .avatar-crop-footer button:disabled,.profile-avatar-viewer .avatar-crop-tools button:disabled{color:#555}
.profile-avatar-viewer .avatar-crop-tools svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.profile-avatar-viewer .avatar-crop-footer{border-top:1px solid #191919;padding-top:12px;padding-bottom:calc(12px + var(--page-safe-bottom, env(safe-area-inset-bottom,0px)))}
.profile-avatar-viewer .avatar-crop-error{flex:0 0 auto;margin:0;padding:0 16px 8px;font-size:13px;color:#fbb}
.profile-avatar-viewer .avatar-crop-error:empty{display:none}
@media(max-height:480px){.profile-avatar-viewer .avatar-crop-footer{padding-top:0;padding-bottom:var(--page-safe-bottom, env(safe-area-inset-bottom,0px))}.profile-avatar-viewer .avatar-crop-tools{padding-top:0;padding-bottom:0}}
@media(prefers-reduced-motion:reduce){.profile-avatar-viewer .avatar-viewer-status.is-loading:before{animation:none}}
dialog:not([open]){display:none}
dialog.compat-dialog[open]{z-index:var(--compat-dialog-z,20001)}
dialog.bottom-action-sheet[open]{position:fixed;inset:auto 0 0;top:auto;right:0;bottom:0;left:0;display:flex;flex-direction:column;width:100%;max-width:none;height:auto;min-height:0;max-height:calc(100vh - max(12px, env(safe-area-inset-top,0px)));max-height:calc(100dvh - max(12px, env(safe-area-inset-top,0px)));margin:0;padding:0;border:0;border-radius:12px 12px 0 0;background:#fff;box-shadow:none;overflow:hidden;box-sizing:border-box;transform:none}
dialog.bottom-action-sheet{animation:none}
dialog.bottom-action-sheet>.dialog-head{display:none}
dialog.bottom-action-sheet>.dialog-body{flex:0 1 auto;min-height:0;max-height:none;margin:0;padding:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
dialog.bottom-action-sheet .error:empty{display:none}
dialog.bottom-action-sheet>.bottom-action-sheet-cancel{flex:0 0 auto;display:block;width:100%;min-height:64px;margin:0;padding:16px max(20px, env(safe-area-inset-right,0px)) calc(16px + var(--page-safe-bottom, env(safe-area-inset-bottom,0px))) max(20px, env(safe-area-inset-left,0px));border:0;border-top:8px solid #f7f7f7;border-radius:0;background:#fff;color:#191919;font-size:17px;line-height:24px;text-align:center}
dialog.bottom-action-sheet>.bottom-action-sheet-cancel:active{background:#f7f7f7}
/* The date selector owns its Cancel/Confirm row and stays out of fullscreen positioning. */
dialog.bottom-action-sheet.date-picker{--date-wheel-height:clamp(44px,calc(var(--page-viewport-height,100dvh) - 204px - var(--page-safe-bottom,env(safe-area-inset-bottom,0px))),200px);background:#fafafa}
dialog.bottom-action-sheet.date-picker[open]{animation:date-sheet-enter 240ms cubic-bezier(.22,.8,.25,1)}
dialog.bottom-action-sheet.date-picker::backdrop{background:rgba(0,0,0,.22);animation:date-backdrop-enter 240ms ease-out}
dialog.bottom-action-sheet.date-picker.date-picker-closing::backdrop{animation:date-backdrop-exit 180ms ease-in forwards}
dialog.bottom-action-sheet.date-picker>.dialog-body{padding:0 8px calc(40px + var(--page-safe-bottom,env(safe-area-inset-bottom,0px)))}
dialog.bottom-action-sheet.date-picker>.bottom-action-sheet-cancel{display:none}
dialog.bottom-action-sheet.date-picker .date-wheels,dialog.bottom-action-sheet.date-picker .date-wheel{height:var(--date-wheel-height)}
dialog.bottom-action-sheet.date-picker #date-title{outline:none}
dialog.bottom-action-sheet.date-picker .date-wheels{margin:0 0 20px}
dialog.bottom-action-sheet.date-picker .date-wheel{padding-block:calc((var(--date-wheel-height) - 44px)/2)}
dialog.bottom-action-sheet.date-picker .date-band{height:54px;top:calc((var(--date-wheel-height) - 54px)/2);background:#f2f2f2}
dialog.bottom-action-sheet.date-picker .date-wheels[aria-busy=true]{pointer-events:none}
dialog.bottom-action-sheet.date-picker .date-actions button{font-size:17px;font-weight:500}
@keyframes date-sheet-enter{from{transform:translateY(100%)}to{transform:translateY(0)}}
@keyframes date-backdrop-enter{from{background:rgba(0,0,0,0)}to{background:rgba(0,0,0,.22)}}
@keyframes date-backdrop-exit{to{background:rgba(0,0,0,0)}}
@media(prefers-reduced-motion:reduce){dialog.bottom-action-sheet.date-picker[open],dialog.bottom-action-sheet.date-picker::backdrop,dialog.bottom-action-sheet.date-picker.date-picker-closing::backdrop{animation:none}}
@media(min-width:601px){dialog.bottom-action-sheet[open]{bottom:max(0px, 100vh - var(--desktop-overlay-top,0px) - var(--desktop-overlay-height,100vh));max-height:calc(-12px + var(--desktop-overlay-height,100vh))}}
@media(min-width:601px){
 .album-media-viewer,.music-layer,.photo-viewer,dialog.bottom-action-sheet[open],dialog.fullscreen-dialog[open]{left:var(--desktop-overlay-left,max(0px, 50% - 290px));right:auto;width:var(--desktop-overlay-width,min(580px, 100%));max-width:none;box-sizing:border-box}
 dialog.fullscreen-dialog[open]{top:var(--desktop-overlay-top,0px);height:var(--desktop-overlay-height,100vh);max-height:var(--desktop-overlay-height,100vh)}
 dialog.profile-avatar-viewer::backdrop{background:#0006}
}
:root{--nav-bar-height:58px;--nav-side-gap:18px;--nav-safe-top:0px;--nav-total-height:calc(var(--nav-bar-height) + var(--nav-safe-top))}
@media(max-width:600px){:root{--nav-bar-height:52px;--nav-side-gap:12px;--nav-safe-top:env(safe-area-inset-top,0px)}}
.album-view-header,.composer-picker>.dialog-head,.dialog-head,.moments-screen .topbar,.profile-avatar-viewer .avatar-viewer-head,.topbar,dialog.cover-screen>.dialog-head,dialog.fullscreen-dialog>.dialog-head,dialog.fullscreen-dialog>.form-dialog-card>.dialog-head{
 box-sizing:border-box;height:var(--nav-total-height);min-height:var(--nav-total-height);max-height:var(--nav-total-height);
 padding-top:var(--nav-safe-top);padding-bottom:0;
 padding-left:var(--nav-side-gap);padding-right:var(--nav-side-gap);
 padding-left:max(var(--nav-side-gap), env(safe-area-inset-left,0px));padding-right:max(var(--nav-side-gap), env(safe-area-inset-right,0px));
}
.moments-screen .topbar{margin-bottom:calc(0px - var(--nav-total-height))}
.dialog-head>h2,.profile-avatar-viewer .avatar-viewer-head>h2{margin:0;line-height:24px}
.album-view-header{align-content:center}

.music-layer .music-stop{top:calc(var(--nav-safe-top) + .5 * (-38px + var(--nav-bar-height)));left:var(--nav-side-gap)}
html.ios-document-scroll,html.ios-document-scroll body{height:auto;min-height:100%;overflow-x:hidden;overflow-x:clip;overflow-y:visible}
html.ios-feed-document-scroll,html.ios-feed-document-scroll body{overscroll-behavior-y:none}
html.ios-document-scroll .shell{display:flex;height:auto;min-height:100vh;min-height:100dvh;overflow:visible}
html.ios-document-scroll .shell>.page-scroll{flex:1 0 auto;height:auto;max-height:none;overflow:visible}
html.ios-document-scroll .people-screen>.people-content{display:block;flex:1 0 auto;overflow:visible}
html.ios-document-scroll .people-content>.page-scroll{height:auto;max-height:none;overflow:visible}
html.ios-document-scroll .people-list.mention-list section>h3{top:calc(var(--nav-total-height) + var(--people-search-height))}
/* One opaque shield belongs to the fixed search toolbar, not to the moving
   groups. The original headings retain their flow space and semantics. */
.people-group-shield{display:none;position:absolute;top:100%;left:0;right:24px;height:36px;overflow:hidden;background:#fff;pointer-events:none}
.people-group-shield>span{position:absolute;top:var(--people-group-shift,0px);left:0;right:0;height:100%;padding:12px 16px 4px;font-size:13px;font-weight:500;color:#888}
.people-group-shield>span+span{top:calc(100% + var(--people-group-shift,0px))}
html.ios-document-scroll .people-fixed-group-heading .people-group-shield:not([hidden]){display:block}
html.ios-document-scroll .people-fixed-group-heading .people-list.mention-list section>h3{position:static}
/* The fixed window follows the page frame; only its letter strip translates. */
html.ios-document-scroll .people-index.mention-index{position:fixed;top:calc(var(--nav-total-height) + var(--people-index-offset));bottom:auto;right:max(1px, calc((100vw - 580px)/2 + 1px))}
html.ios-document-scroll .shell>.topbar{position:sticky;top:0}
/* Detail browsing and editing share the same header layer and flow space. */
html.ios-document-scroll .shell.detail-screen{padding-top:var(--nav-total-height)}
html.ios-document-scroll .shell.detail-screen>.topbar{position:fixed;top:0;left:0;right:0;width:100%;max-width:580px;margin:0 auto;z-index:12;transform:translateZ(0);-webkit-backdrop-filter:none;backdrop-filter:none}
/* The cover already occupies the mobile header's flow space. Keep one fixed
   navigation layer across native browsing and comment viewport handoffs; a
   sticky/absolute switch can drop the bar while Safari restores document scroll. */
@media(max-width:600px){
 html.ios-document-scroll .shell.moments-screen:not(.remaining-screen)>.topbar{position:fixed;top:0;left:0;right:0;width:100%;max-width:580px;margin:0 auto;z-index:10;transform:translateZ(0)}
}
html.ios-document-scroll .shell>.bottom-nav,html.ios-document-scroll .shell>.detail-comment-entry{position:sticky;bottom:0}
/* Keep the iPhone Safari detail footer out of WebKit's animated fixed-color
   extensions from the first route paint, not just during a media preview.
   PageFrame follows native document scrolling; this row still reserves its
   exact height. The existing keyboard layout owns the row while editing. */
html.ios-detail-document-toolbar .shell.detail-screen:not(.detail-comment-viewport)>.detail-comment-entry{position:relative;bottom:auto;transform:translateY(var(--detail-entry-offset,0px));will-change:transform}
/* Keep pinned headers and directory controls out of Safari's sticky/backdrop tile path.
   Reserve their original flow space, so native scrolling, keyboard focus and
   letter jumps keep the same coordinates without scroll-time repositioning. */
html.ios-document-scroll .shell.people-screen,html.ios-document-scroll .shell.admin-screen{padding-top:var(--nav-total-height)}
html.ios-document-scroll .people-screen>.topbar,html.ios-document-scroll .admin-screen>.topbar{position:fixed;top:0;left:0;right:0;width:100%;max-width:580px;margin:0 auto}
html.ios-document-scroll .people-content .page-scroll>.people-page{padding-top:var(--people-search-height)}
html.ios-document-scroll .people-screen .people-tools{position:fixed;top:var(--nav-total-height);left:0;right:0;width:100%;max-width:580px;height:var(--people-search-height);margin:0 auto}
/* Keep input controls on their own paint layers. The changing index paints
   normally; it does not need an extra forced compositing layer. */
html.ios-document-scroll .people-screen>.topbar,html.ios-document-scroll .people-screen .people-tools{transform:translateZ(0)}
dialog.confirmation-dialog[open]{position:fixed;inset:auto;top:50%;left:50%;right:auto;bottom:auto;display:block;width:320px;max-width:calc(100% - 48px);height:auto;min-height:0;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);margin:0;padding:0;border:0;border-radius:8px;background:#fff;color:#191919;box-shadow:none;overflow-y:auto;box-sizing:border-box;transform:translate(-50%,-50%)}
dialog.confirmation-dialog::backdrop{background:#0008;-webkit-backdrop-filter:none;backdrop-filter:none}
.confirmation-dialog>.confirmation-title{margin:0;padding:24px 24px 16px;font-size:17px;font-weight:600;line-height:26px;text-align:center}
.confirmation-dialog>.dialog-body{padding:0}
.confirmation-dialog>.dialog-body>p{margin:0;padding:0 24px 24px;color:#777;font-size:15px;text-align:left;overflow-wrap:anywhere}
.confirmation-dialog .error{margin:0;padding:0 24px 16px}
.confirmation-dialog .error:empty{display:none}
.confirmation-dialog .form-actions{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0;border-top:1px solid #e5e5e5}
.confirmation-dialog .form-actions>button{min-width:0;min-height:56px;margin:0;padding:14px 8px;border:0;border-radius:0;background:#fff;color:#191919;font-size:17px;font-weight:500;line-height:24px}
.confirmation-dialog .form-actions>button+button{border-left:1px solid #e5e5e5}
.confirmation-dialog .form-actions>.danger{color:#fa5151}
.confirmation-dialog .form-actions>button:active{background:#f5f5f5}
.confirmation-dialog .form-actions>button:disabled{color:#aaa;cursor:default}
.system-notice-dialog>.dialog-body>.system-notice-text{margin:0}
.system-notice-dialog>.dialog-body>.notice{margin:20px 0 0;padding:0;color:#999;font-size:12px;text-align:center}
.pull-refresh.is-retreating{transition-duration:820ms,820ms}
@keyframes music-player-enter{0%{transform:translateY(100%)}to{transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.music-sheet{animation:none!important}.album-video-disclosure svg,.album-video-dock,.album-video-panel,.lyric-line,.video-dock{transition:none!important}}
.album-media-viewer:is(.media-origin-motion,.is-dismissing)>:not(.album-view-stage){opacity:0;visibility:hidden;pointer-events:none}
.photo-viewer.media-origin-motion>:not(.viewer-strip):not(.viewer-backdrop){opacity:0;pointer-events:none}
dialog .dialog-head>button:last-child:not(:first-child):not([hidden]){display:inline-flex;align-items:center;justify-content:center;justify-self:end;box-sizing:border-box;flex:0 0 auto;width:auto;min-width:0;max-width:none;height:32px;min-height:32px;max-height:32px;padding:0 12px;border-radius:5px;font-size:16px;line-height:20px;white-space:nowrap}
.composer-picker>.dialog-head,dialog.cover-screen>.dialog-head,dialog.fullscreen-dialog>.dialog-head,dialog.fullscreen-dialog>.form-dialog-card>.dialog-head{grid-template-columns:88px minmax(0,1fr) 88px}
dialog.fullscreen-dialog.composer-range>.dialog-head{grid-template-columns:56px minmax(0,1fr) 56px}
@media(max-width:359px){dialog.fullscreen-dialog.composer-range>.dialog-head>h2{font-size:14px;font-size:calc(clamp(14px, (100vw - 152px) / 12, 17px))}}
.profile-avatar-viewer .avatar-viewer-head>.avatar-viewer-more:not([hidden]),.topbar>button.camera:not([hidden]),.topbar>button.detail-options:not([hidden]){display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;flex:0 0 44px;width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;max-height:44px;padding:0}
.profile-avatar-viewer .avatar-viewer-head>.avatar-viewer-more>svg,.topbar>button.camera>svg,.topbar>button.detail-options>svg{display:block;flex:none;width:24px;height:24px}
.composer-picker>.dialog-head>[data-picker-cancel]:not([hidden]),.profile-avatar-viewer .avatar-viewer-head>button:first-child:not([hidden]),.topbar>button:first-child:not([hidden]),dialog .dialog-head>button:first-child:not([hidden]),dialog.cover-screen>.dialog-head>button[data-act=close]:not([hidden]){
 display:inline-flex;align-items:center;justify-content:center;justify-self:start;
 box-sizing:border-box;flex:0 0 auto;width:auto;min-width:38px;max-width:none;
 height:38px;min-height:38px;max-height:38px;margin:0;padding:0;line-height:20px;white-space:nowrap;
}
.profile-avatar-viewer .avatar-viewer-head>button:first-child>svg,.topbar>button:first-child>.mobile-feed-back>svg,.topbar>button:first-child>svg,dialog .dialog-head>button:first-child>span>svg,dialog .dialog-head>button:first-child>svg{display:block;flex:none;width:24px;height:24px}
/* One glyph and stroke for every navigation back arrow, including nested region pages. */
svg.nav-back-icon{display:block;flex:0 0 24px;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.music-layer .music-stop{left:max(var(--nav-side-gap), env(safe-area-inset-left,0px))}
/* Media controls use their own safe canvas in every phone/tablet width.
   Desktop breakpoints must not strip the insets from an unfolded screen. */
.media-viewport-fullscreen :is(.photo-viewer,.album-media-viewer,.music-layer){--media-safe-top:env(safe-area-inset-top,0px);--media-safe-right:env(safe-area-inset-right,0px);--media-safe-bottom:env(safe-area-inset-bottom,0px);--media-safe-left:env(safe-area-inset-left,0px);--media-control-left:max(16px,calc(8px + var(--media-safe-left)));--media-control-right:max(16px,calc(8px + var(--media-safe-right)));--media-usable-height:calc(var(--media-frame-height) - var(--media-safe-top) - var(--media-safe-bottom))}
.media-viewport-fullscreen .photo-viewer .viewer-save{right:var(--media-control-right);bottom:calc(18px + var(--media-safe-bottom))}
.media-viewport-fullscreen :is(.photo-viewer,.album-media-viewer) .viewer-counter{bottom:max(50px,calc(15px + var(--media-safe-bottom)))}
.media-viewport-fullscreen .photo-viewer .viewer-save-help{left:var(--media-control-left);right:calc(110px + var(--media-safe-right));bottom:calc(75px + var(--media-safe-bottom))}
.media-viewport-fullscreen :is(.viewer-prev,.album-view-prev){left:var(--media-control-left)}
.media-viewport-fullscreen :is(.viewer-next,.album-view-next){right:var(--media-control-right)}
.media-viewport-fullscreen :is(.album-view-bottom,.single-video-bottom){left:var(--media-control-left);right:var(--media-control-right);bottom:calc(16px + var(--media-safe-bottom))}
.media-viewport-fullscreen .album-video-panel{--video-panel-width:calc(var(--media-frame-width) - var(--media-control-left) - var(--media-control-right) - 44px)}
.media-viewport-fullscreen .album-view-header{padding-top:calc(8px + var(--media-safe-top));padding-left:var(--media-control-left);padding-right:var(--media-control-right)}
.media-viewport-fullscreen .album-view-status{bottom:calc(70px + var(--media-safe-bottom))}
.media-viewport-fullscreen .music-layer>.music-sheet{padding:calc(12px + var(--media-safe-top)) max(32px,var(--media-control-right)) calc(12px + var(--media-safe-bottom)) max(32px,var(--media-control-left))}
.media-viewport-fullscreen .music-layer .music-stop{top:calc(7px + var(--media-safe-top));left:var(--media-control-left)}
.media-viewport-fullscreen .music-layer .player-handle svg{top:calc(14px + var(--media-safe-top));right:var(--media-control-right)}
.media-viewport-fullscreen .music-sheet .player-art{--media-art-size:min(260px,calc(var(--media-frame-width) * .38),max(64px,calc(var(--media-usable-height) - 440px)));width:var(--media-art-size);height:var(--media-art-size)}
.media-viewport-fullscreen .music-sheet .player-lyrics{padding:clamp(10px,calc(var(--media-usable-height) * .06),55px) 6px}
.media-viewport-fullscreen .media-compact>.music-sheet{padding-top:calc(8px + var(--media-safe-top));padding-bottom:calc(8px + var(--media-safe-bottom));padding-left:max(20px,var(--media-control-left));padding-right:max(20px,var(--media-control-right))}
.media-viewport-fullscreen .media-compact .player-handle{height:32px}
.media-viewport-fullscreen .media-compact .player-source{margin:2px 0 4px}
.media-viewport-fullscreen .media-compact .player-art{--media-art-size:min(72px,max(48px,calc(var(--media-usable-height) - 320px)));margin-bottom:5px}
.media-viewport-fullscreen .media-compact h2{font-size:17px}
.media-viewport-fullscreen .media-compact .player-artist{font-size:12px;margin-top:3px}
.media-viewport-fullscreen .media-compact .player-lyrics{margin:6px 0 5px;padding:8px 6px}
.media-viewport-fullscreen .media-compact .player-transport{margin:5px auto}
.media-viewport-fullscreen .media-compact :is(.player-skip,.player-toggle){height:44px}
.media-viewport-fullscreen .media-compact :is(.player-skip,.player-toggle) svg{height:30px;width:30px}
/* A wide outer display and an unfolded landscape display share two columns:
   artwork and title on the left; lyrics and all playback controls on the right. */
.media-viewport-fullscreen .media-wide>.music-sheet{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:32px minmax(0,1fr) 0 auto 24px 20px auto auto;column-gap:clamp(20px,4vw,64px)}
.media-viewport-fullscreen .media-wide .player-handle{grid-column:1/-1;grid-row:1;height:32px}
.media-viewport-fullscreen .media-wide .music-swipe-zone{grid-column:1;grid-row:2/9;min-width:0;min-height:0;align-self:center}
.media-viewport-fullscreen .media-wide .player-source{margin:0 0 10px}
.media-viewport-fullscreen .media-wide .player-art{--media-art-size:min(280px,calc((var(--media-frame-width) - var(--media-safe-left) - var(--media-safe-right)) * .32),max(48px,calc(var(--media-usable-height) - 174px)));margin-bottom:10px}
.media-viewport-fullscreen .media-wide .player-lyrics{grid-column:2;grid-row:2;align-self:stretch;min-width:0;margin:0;padding:12px 6px}
.media-viewport-fullscreen .media-wide .lyric-tools{grid-column:2;grid-row:3}
.media-viewport-fullscreen .media-wide .player-status{grid-column:2;grid-row:4;margin:5px 0}
.media-viewport-fullscreen .media-wide .music-boundary-anchor{grid-column:2;grid-row:4;align-self:end}
.media-viewport-fullscreen .media-wide .player-progress{grid-column:2;grid-row:5;min-width:0}
.media-viewport-fullscreen .media-wide .player-times{grid-column:2;grid-row:6}
.media-viewport-fullscreen .media-wide .player-transport{grid-column:2;grid-row:7;min-width:0;margin:8px auto}
.media-viewport-fullscreen .media-wide .player-external{grid-column:2;grid-row:8;margin-top:4px}
.media-viewport-fullscreen.media-viewport-changing :is(.album-video-dock,.video-dock,.album-video-panel){transition:none}
.people-total{display:flex;align-items:center;justify-content:center;height:50px;margin:0;color:#888;font-size:16px;font-weight:400;background:#fff}
.recycle-notice{padding:12px 16px;line-height:1.7}
.detail-admin-delete{display:flex;flex:0 0 auto;align-self:center;align-items:center;justify-content:center;width:auto;height:24px;margin:0;padding:0;background:transparent;border:0;color:#576b95;font-size:12px;line-height:24px;white-space:nowrap}
.edge-back-moving{overflow-x:clip!important;user-select:none;-webkit-user-select:none}
.edge-back-moving>*{pointer-events:none}
.edge-back-stage{position:fixed;inset:0;z-index:2147483000;overflow:hidden;pointer-events:none!important;background:#fff;contain:layout paint style;isolation:isolate}
dialog>.edge-back-stage{position:absolute}
.edge-back-front,.edge-back-under{position:absolute;inset:0;overflow:hidden;background:#fff;will-change:transform}
.edge-back-front{box-shadow:-4px 0 18px #0002}
.edge-back-shade{position:absolute;inset:0;background:#000;pointer-events:none}
.edge-back-picture{contain:layout paint style}
.personal-site .compose-mentions,.personal-site .desktop-counts [data-id=people],.personal-site [data-act=nav][data-id=people]{display:none!important}
.personal-visitor .topbar>.camera{visibility:hidden;pointer-events:none}
dialog.profile-details .dialog-head>button.profile-friend-more:last-child{width:38px;height:38px;min-height:38px;max-height:38px;padding:0;border-radius:0;background:transparent;color:#191919}
dialog.profile-details .profile-friend-more svg{display:block;width:24px;height:24px;fill:currentColor;stroke:none}
dialog.friend-settings[open],dialog.friend-settings>.form-dialog-card{background:#ededed}
dialog.friend-settings .dialog-body{padding:0;background:#ededed}
.friend-settings-list{margin:0;padding:0}
.friend-setting-row{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:56px;padding:16px;border:0;border-radius:0;background:#fff;color:#191919;font-size:17px;font-weight:400;line-height:24px;text-align:left}
button.friend-setting-row:active{background:#f5f5f5}
.friend-setting-row>span{min-width:0;overflow-wrap:anywhere}
.friend-setting-row>svg{flex:none;width:18px;height:18px;color:#b2b2b2}
.friend-setting-group{margin-top:8px}
.friend-setting-row.friend-setting-delete{justify-content:center;color:#fa5151}
.friend-permission-row{position:relative;min-height:62px}
.friend-permission-row+.friend-permission-row:before{position:absolute;content:"";height:1px;left:16px;right:0;top:0;background:#ededed}
input.friend-permission-switch{appearance:none;-webkit-appearance:none;flex:none;position:relative;width:50px;min-width:50px;height:30px;margin:0;padding:0;border:0;border-radius:16px;background:#e9e9eb;cursor:pointer;transition:background .16s}
input.friend-permission-switch:before{content:"";position:absolute;left:2px;top:2px;width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transition:transform .16s}
input.friend-permission-switch:checked{background:#07c160}
input.friend-permission-switch:checked:before{transform:translateX(20px)}
input.friend-permission-switch:focus-visible{outline:2px solid #576b95;outline-offset:3px}
.friend-report-person{margin:0;padding:18px 16px;color:#888;font-size:14px;overflow-wrap:anywhere}
.friend-report-form fieldset{margin:0;padding:0;border:0}
.friend-report-form legend{padding:0 16px 10px;color:#888;font-size:14px}
.friend-report-form input[type=radio]{flex:none;width:20px;height:20px;accent-color:#07c160}
.friend-report-detail{padding:16px;background:#fff;margin-top:8px;font-size:14px;color:#888}
.friend-report-detail textarea{width:100%;font-size:16px;color:#191919;resize:vertical}
.friend-settings .error:not(:empty){margin:16px}
dialog.friend-report-success .dialog-head h2{visibility:hidden}
dialog.friend-report-success .dialog-body{flex:1;display:flex;flex-direction:column;align-items:center;min-height:0;padding:0 24px calc(64px + var(--page-safe-bottom, env(safe-area-inset-bottom,0px)));text-align:center}
.friend-report-result{width:100%;padding-top:48px}
.friend-report-check{display:block;width:54px;height:54px;margin:0 auto 40px}
.friend-report-result h3{margin:0 0 20px;font-size:22px;line-height:32px;font-weight:600;color:#191919}
.friend-report-result p{margin:0;font-size:16px;line-height:28px;color:#191919;overflow-wrap:anywhere}
.friend-report-close{flex:none;width:184px;max-width:100%;min-height:40px;margin-top:auto;padding:8px 24px;border:0;border-radius:5px;background:#07c160;color:#fff;font-size:17px;font-weight:600;line-height:24px}
.friend-report-result+.friend-report-close{margin-bottom:0}
dialog.friend-delete-sheet[open]{border-radius:16px 16px 0 0;background:#fff;color:#191919}
dialog.friend-delete-sheet::backdrop{background:#0008;-webkit-backdrop-filter:none;backdrop-filter:none}
dialog.friend-delete-sheet>.dialog-body{padding:36px 24px calc(36px + var(--page-safe-bottom, env(safe-area-inset-bottom,0px)));text-align:center}
.friend-delete-sheet h2{margin:0;font-size:17px;line-height:26px;font-weight:600;overflow-wrap:anywhere}
.friend-delete-sheet #friend-delete-description{margin:12px 0 0;font-size:15px;line-height:24px}
.friend-delete-actions{display:flex;justify-content:center;gap:16px;margin:64px auto 0;max-width:320px}
.friend-delete-actions button{flex:1;min-width:0;min-height:48px;padding:10px 8px;border:0;border-radius:8px;font-size:17px;font-weight:600;line-height:26px}
.friend-delete-cancel{background:#f2f2f2;color:#191919}
.friend-delete-confirm{background:#fa5151;color:#fff}
.friend-delete-actions button:disabled{opacity:.5}
.friend-delete-sheet .error:not(:empty){margin:16px 0 0;color:#fa5151;font-size:14px;line-height:22px}
@media(max-height:500px){.friend-report-result{padding-top:12px}.friend-report-check{margin-bottom:16px}.friend-report-result h3{margin-bottom:8px}dialog.friend-report-success .dialog-body{padding-bottom:16px}.friend-report-close{margin-top:24px}.friend-delete-actions{margin-top:24px}}
dialog.profile-details>.dialog-body>.profile-add-friend{display:block;width:100%;min-height:56px;margin:8px 0 0;padding:16px;border:0;border-radius:0;background:#fff;color:#576b95;font-size:17px;font-weight:600;line-height:24px;text-align:center}
dialog.profile-details>.dialog-body>.profile-add-friend:active{background:#f5f5f5}
*,:after,:before{scrollbar-width:none!important;-ms-overflow-style:none!important}
::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
.mobile-feed-comment{position:fixed;bottom:auto;z-index:11}
.mobile-detail-comment{position:relative;bottom:auto}
.mobile-detail-comment,.mobile-detail-entry,.mobile-feed-comment{padding:7px 10px;border-top:0;background:#f7f7f7;overflow:visible}
/* An actual editor-owned surface receives taps behind floating browser
   controls. It is removed before blur/exit rather than leaving an overflowing
   pseudo-element attached to the animated toolbar. */
.comment-keyboard-background{position:absolute;top:100%;left:0;right:0;height:100vh;height:100lvh;background:#f7f7f7;pointer-events:auto}
.comment-dock[inert]>.comment-keyboard-background{display:none;pointer-events:none}
.mobile-detail-entry{padding-bottom:calc(7px + var(--page-safe-bottom, env(safe-area-inset-bottom,0px)))}
.mobile-detail-comment .comment-emojis,.mobile-feed-comment .comment-emojis{height:var(--mobile-emoji-height,348px);max-height:none;margin-top:7px}
.mobile-feed-commenting .moments-screen>.bottom-nav{display:flex;visibility:hidden;pointer-events:none}
html.ios-feed-comment-viewport,html.ios-feed-comment-viewport body{overscroll-behavior:none;overflow-anchor:none}
.feed-comment-placeholder,.detail-comment-placeholder{flex:none;visibility:hidden;pointer-events:none;overflow-anchor:none}
html.ios-detail-comment-viewport,html.ios-detail-comment-viewport body{overflow:hidden;overscroll-behavior:none;overflow-anchor:none}
/* The keyboard editor floats above the page. Keep the original shell/header
   layer and scroll only the content clipped below the navigation bar. */
html.ios-document-scroll .detail-screen.detail-comment-viewport>.page-scroll{position:fixed;top:calc(var(--detail-content-top,var(--nav-total-height)) + var(--comment-viewport-top,0px));left:0;right:0;width:100%;max-width:580px;margin:0 auto;height:calc(var(--detail-overlay-height,100dvh) - var(--detail-content-top,var(--nav-total-height)));min-height:0;padding-bottom:var(--detail-editor-inset,0px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:none;overflow-anchor:none;z-index:1;background:#fff}
html.ios-document-scroll .detail-screen.detail-comment-viewport>.comment-dock{position:fixed;top:var(--detail-editor-top);left:0;right:0;bottom:auto;width:100%;max-width:580px;margin:0 auto;z-index:11}
html.ios-document-scroll .detail-screen.detail-comment-viewport>.detail-comment-entry{position:fixed;left:0;right:0;bottom:0;width:100%;max-width:580px;margin:0 auto;z-index:2}
html.ios-document-scroll .commenting .detail-screen.detail-comment-viewport>.detail-comment-entry{display:flex;visibility:hidden;pointer-events:none}
/* Keep the shell/header in their browsing layer. Only the feed scrollport is
   pinned; neither keyboard viewport offsets nor blur may move the whole page. */
html.ios-document-scroll .moments-screen.feed-comment-viewport>.page-scroll{position:fixed;top:calc(var(--feed-content-top,0px) + var(--comment-viewport-top,0px));left:0;right:0;width:100%;max-width:580px;margin:0 auto;bottom:auto;height:calc(var(--feed-comment-height) - var(--feed-content-top,0px));min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:none;overflow-anchor:none;z-index:1;background:#fff}
@media(min-width:601px){html.ios-document-scroll .moments-screen.feed-comment-viewport>.topbar{position:fixed;top:0;left:0;right:0;width:100%;max-width:580px;margin:0 auto;z-index:10}}
/* Keep the header on the visible screen while Safari pans its layout viewport. */
html.ios-document-scroll .shell.moments-screen.feed-comment-viewport>.topbar,html.ios-document-scroll .shell.detail-screen.detail-comment-viewport>.topbar{top:var(--comment-viewport-top,0px)}
.moments-screen>.topbar.mobile-comment-header-open{background:var(--moments-header-surface,#ededed);color:var(--moments-header-color,#191919);border-bottom-color:var(--moments-header-line,#ddd5);-webkit-backdrop-filter:none;backdrop-filter:none}
.moments-screen>.topbar.mobile-comment-header-open h1{opacity:var(--moments-header-heading,1)}
.mobile-comment-space{height:0;flex:none;pointer-events:none;overflow-anchor:none}
.desktop-foot-brand{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:8px;min-width:0}
.desktop-foot-icp{min-width:0;max-width:100%;overflow-wrap:anywhere}
.desktop-foot-icp>a{color:inherit;font:inherit}
.ad-interactions:not(.ad-note)>.interactions{margin-top:9px;border-radius:8px}
.ad-interactions>.interactions:before{display:none}
.ad-interactions.ad-note{padding:0;white-space:normal}
.ad-interactions.ad-note>.interactions{margin:0;background:transparent;border-radius:0}
.ad-note-copy{font-size:var(--font-comment);line-height:24px;min-height:24px}
.ad-interactions .ad-note-copy{padding:0 9px}
.ad-note-copy+.comment{margin-top:2px}
.ad-note-reply{display:block;width:100%;padding:0;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;color:inherit;line-height:inherit}
.ad-note-reply:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:2px}
.feed-remaining-entry{display:flex;align-items:center;gap:4px;width:100%;margin-top:14px;padding:12px 0 0;border:0;border-top:1px solid #f0f0f0;border-radius:0;background:transparent;color:#888;text-align:left;font-size:14px;line-height:1.5}
.feed-remaining-entry svg{width:15px;height:15px;flex-shrink:0}
.feed-remaining-entry:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.remaining-feed>.post:first-child{border-top:0}
.shell.remaining-screen>.topbar{margin-bottom:0;background:#ededed;color:#191919;border-bottom-color:#ddd5;-webkit-backdrop-filter:none;backdrop-filter:none}
.shell.remaining-screen>.topbar h1{opacity:1}
.admin-ads,.admin-audit,.admin-complaints,.admin-recycle,.personal-moderation{min-width:0}
.admin-ads-toolbar,.admin-audit-toolbar,.admin-complaints-heading,.admin-moderation-toolbar,.admin-recycle>.admin-records-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:18px 0 12px}
.admin-ads-toolbar h2,.admin-audit-toolbar h2,.admin-complaints-heading h2,.admin-moderation-toolbar h2,.admin-records-toolbar h2{margin:0;color:#252a27;font-size:16px;font-weight:600;line-height:1.5}
.admin-ads-toolbar p,.admin-records-toolbar p{margin:3px 0 0;color:#929794;font-size:12px;line-height:1.5}
.admin-audit-title>span,.admin-complaints-heading>span,.admin-moderation-toolbar>span{color:#929794;font-size:12px;line-height:1.5;white-space:nowrap;font-variant-numeric:tabular-nums}
.admin-ads-toolbar>div,.admin-audit-title,.admin-recycle-title{min-width:0}
.admin-audit-title,.admin-recycle-title{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 8px}
.admin-recycle>.admin-records-toolbar p{margin:0;flex-shrink:0}
.admin-ads-add{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:36px;padding:7px 10px;flex-shrink:0;border-radius:5px;font-size:12px;line-height:1.5;white-space:nowrap}
.admin-ads-add svg{width:14px;height:14px}
.admin-audit-clear,.admin-recycle-clear{flex-shrink:0;min-height:36px;padding:7px 10px;border:0;border-radius:5px;background:#fff;color:#b75959;font-size:12px;line-height:1.5;white-space:nowrap}
.admin-audit-clear:disabled,.admin-recycle-clear:disabled{color:#b5bab7;background:#f5f6f5;cursor:default}
.admin-moderation-hint{margin:-3px 0 12px;color:#909691;font-size:12px;font-weight:400;line-height:1.65}
.personal-moderation>.tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:0 0 10px;padding:4px;border:0;border-radius:8px;background:#fff}
.personal-moderation>.tabs>button{min-width:0;min-height:36px;margin:0;padding:7px 3px;border:0;border-radius:5px;color:#8c948f;font-size:12px;line-height:1.5;text-align:center}
.personal-moderation>.tabs>button.active{background:#eef7f0;color:#278149;font-weight:600}
.admin-ad-list,.admin-audit-list,.admin-complaints-list,.personal-review-list,.recycle-list{display:grid;gap:10px;min-width:0}
.admin-ad,.admin-complaint,.admin-log,.personal-review-item,.recycle-item{min-width:0;margin:0;padding:14px;background:#fff;border:0;border-radius:8px;box-shadow:none;overflow-wrap:anywhere}
.admin-ad{overflow:hidden}
.admin-ad-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin:0 0 10px}
.admin-ad-heading h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;min-width:0;margin:0;color:#2c332e;font-size:15px;line-height:1.5;font-weight:600}
.admin-ad-status{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;margin-top:2px;padding:0;border-radius:0;font-size:11px;line-height:1.6;white-space:nowrap}
.admin-ad-status:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}
.admin-ad-status.is-enabled{color:#278149;background:transparent}
.admin-ad-status.is-disabled{color:#929994;background:transparent}
.admin-ad-main{display:flex;gap:12px;align-items:flex-start}
.admin-ad-thumb{color:#a3aaa3}
.admin-ad-thumb>img{width:100%;height:100%;object-fit:cover}
.admin-ad-thumb>svg{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:25px;height:25px}
.admin-ad-thumb>.pinned-video-play{width:30px;height:30px}
.admin-ad-summary{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:space-between;align-self:stretch;gap:8px}
.admin-ad-copy{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;margin:0;color:#535f57;font-size:13px;line-height:1.6}
.admin-ad-copy.is-empty{color:#a0a6a1}
.admin-ad-position{display:flex;flex-wrap:wrap;gap:2px 7px;margin:0;color:#949c96;font-size:11px;line-height:1.6}
.admin-ad-position>span{color:#7b877f}
.admin-ad-position b{color:#57685d;font-weight:500}
.admin-ad-footer{margin-top:12px;padding:0;border:0}
.admin-ad-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0}
.admin-ad-actions>button{min-width:0;min-height:36px;padding:7px 8px;border:0;border-radius:5px;background:#f6f7f6;color:#647167;font-size:12px;line-height:1.5;white-space:nowrap}
.admin-ad-actions>.admin-ad-edit{color:#278149;background:#eef7f0;font-weight:500}
.admin-ad-actions>.admin-ad-delete{color:#b75959;background:#f8f6f6}
.admin-complaint-heading,.admin-log-heading,.recycle-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px 10px;min-width:0}
.admin-complaint-heading h3,.admin-log-heading h3,.recycle-identity h3{min-width:0;margin:0;color:#303a33;font-size:14px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}
.admin-complaint-heading h3,.admin-log-heading h3{flex:1}
.admin-complaint-heading time,.admin-record-time{color:#9aa29c;font-size:11px;line-height:1.6;white-space:nowrap;font-variant-numeric:tabular-nums}
.admin-complaint-heading time,.admin-log-heading>.admin-record-time,.recycle-heading>.admin-record-time{flex-shrink:0}
.admin-complaint dl,.admin-log-details{display:grid;gap:4px;min-width:0;margin:8px 0 0;font-size:12px;line-height:1.65}
.admin-complaint dl>div,.admin-log-details>div{display:grid;grid-template-columns:4em minmax(0,1fr);align-items:baseline;gap:9px;min-width:0;margin:0;padding:0;border:0}
.admin-complaint dt,.admin-log-details dt{color:#969e98;font-weight:400;white-space:nowrap}
.admin-complaint dd,.admin-log-details dd{min-width:0;margin:0;color:#596b60;font-weight:400;overflow-wrap:anywhere}
.admin-complaint-detail,.admin-log-details dd{white-space:pre-wrap}
.recycle-identity{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 8px;min-width:0}
.recycle-kind{padding:0;background:transparent;color:#939d96;font-size:11px;line-height:1.6;white-space:nowrap}
.recycle-content{margin:9px 0;padding:0;background:transparent;color:#46544b;font-size:14px;line-height:1.65;overflow-wrap:anywhere;white-space:pre-wrap}
.recycle-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 10px;min-width:0}
.recycle-deletion{flex:1 1 100px;min-width:0;margin:0;color:#969e98;font-size:11px;line-height:1.65}
.recycle-deleted-by{margin-left:6px;color:#73877a;overflow-wrap:anywhere}
.recycle-actions{flex:0 0 auto;justify-content:flex-end;gap:6px;margin:0 0 0 auto;padding:0;border:0}
.recycle-actions>button{min-height:36px;padding:7px 10px;border:0;border-radius:5px;font-size:12px;line-height:1.5;white-space:nowrap}
.recycle-actions>.recycle-restore{background:#eef7f0;color:#278149;font-weight:500}
.recycle-actions>.recycle-purge{background:#f8f6f6;color:#b75959}
.admin-complaint-heading{flex-wrap:wrap}
.admin-complaint-name{margin-right:8px;font-weight:500}
.admin-complaint-account{display:inline;color:#929d96;font-size:11px}
.admin-complaint-ids{margin-top:5px;color:#9aa49d;font-size:11px}
.admin-complaint-ids summary{width:fit-content;min-height:32px;box-sizing:border-box;padding:6px 0;line-height:20px;cursor:pointer}
.admin-complaint-ids dl{margin:0;padding:0 0 2px;font-size:11px}
.admin-complaint-ids dd{color:#8b998f}
.personal-review-heading{display:flex;align-items:flex-start;gap:9px;min-width:0}
.personal-review-heading>.avatar{width:32px;height:32px;flex:0 0 32px;font-size:14px}
.personal-review-author{min-width:0;flex:1;line-height:1.5}
.personal-review-author>b{display:block;font-size:14px;font-weight:600;color:#303a33}
.personal-review-reply{display:block;margin-top:2px;font-size:12px;color:#939d96}
.personal-review-reply>span{color:var(--blue)}
.personal-review-author>time{display:block;margin-top:2px;color:#9aa29c;font-size:11px}
.personal-review-content{margin-top:10px;color:#46544b;font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
.personal-review-source{display:flex;align-items:baseline;gap:8px;margin-top:8px;padding:0;border:0;border-radius:0;background:transparent;color:#929d96;font-size:12px;line-height:1.6}
.personal-review-source>span{flex:none;color:#a0a7a2}
.personal-review-source>p{min-width:0;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.personal-review-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:10px;padding:0;border:0}
.personal-review-status{font-size:11px;color:#a18248}
.personal-review-status[data-status=approved]{color:#278149}
.personal-review-status[data-status=rejected]{color:#b07878}
.personal-review-actions{display:flex;flex-wrap:wrap;gap:6px;margin-left:auto}
.personal-review-actions>button{min-width:58px;min-height:36px;padding:7px 12px;border:0;border-radius:5px;background:#f6f7f6;color:#6c7870;font-size:12px;line-height:1.5;font-weight:500}
.personal-review-actions>.primary{background:#eef7f0;color:#278149}
.personal-review-actions>.red{color:#b75959}
.admin-ads-hint,.admin-records-hint{margin:10px 0 0;text-align:center;color:#a0a7a2;font-size:11px;line-height:1.6}
.admin-empty-card.feed-end.empty-state{width:100%;height:76px;min-height:76px;margin:0;padding:0;border:0;border-radius:8px;background:#fff;box-shadow:none;color:#d2d7d3;gap:8px}
.admin-empty-card.feed-end:after,.admin-empty-card.feed-end:before{width:20px;height:1px}
.admin-empty-card.feed-end>span{width:4px;height:4px}
.admin-ad-actions>button:focus-visible,.admin-ads-add:focus-visible,.admin-audit-clear:focus-visible,.admin-complaint-ids summary:focus-visible,.admin-recycle-clear:focus-visible,.personal-moderation>.tabs>button:focus-visible,.personal-review-actions>button:focus-visible,.recycle-actions>button:focus-visible{outline:2px solid var(--green);outline-offset:3px}
@media(hover:hover){.admin-ad-actions>button:hover,.personal-review-actions>button:hover{background:#edf1ee}.admin-ad-actions>.admin-ad-edit:hover,.personal-review-actions>.primary:hover,.recycle-actions>.recycle-restore:hover{background:#e0f0e5}.admin-ad-actions>.admin-ad-delete:hover,.admin-audit-clear:not(:disabled):hover,.admin-recycle-clear:not(:disabled):hover,.recycle-actions>.recycle-purge:hover{background:#f9eeee}}
@media(max-width:359px){.admin-ad,.admin-complaint,.admin-log,.personal-review-item,.recycle-item{padding:12px}.admin-ad-main{gap:10px}.admin-ad-heading,.admin-log-heading,.recycle-heading{gap:8px}.admin-complaint dl>div,.admin-log-details>div{gap:7px}.recycle-deletion{flex-basis:100%}}
dialog.profile-details>.dialog-body>.profile-visibility-hint{margin:0;padding:0 16px 16px;background:#fff;color:#999;font-size:13px;font-weight:400;line-height:1.6;text-align:center}
dialog.profile-details>.dialog-body>.profile-visibility-hint.profile-guest-hint{margin-top:8px;padding-top:16px}
form[data-form=settings] .admin-setting-options{margin:4px 0 0;border-top:1px solid #ededed}
form[data-form=settings] .admin-setting-option{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;column-gap:10px;min-height:52px;margin:0;padding:14px 0;cursor:pointer}
form[data-form=settings] .admin-setting-option+.admin-setting-option{border-top:1px solid #ededed}
form[data-form=settings] .admin-setting-option>input[type=checkbox]{display:block;width:18px;height:18px;min-height:0;margin:2px 0 0;padding:0}
form[data-form=settings] .admin-setting-copy{display:block;min-width:0}
form[data-form=settings] .admin-setting-title{display:block;color:#333;font-size:14px;font-weight:400;line-height:22px;overflow-wrap:anywhere}
form[data-form=settings] .admin-setting-scope{color:#888;font-size:12px;white-space:nowrap}
form[data-form=settings] .admin-setting-hint{display:block;margin:5px 0 0;color:#888;font-size:12px;font-weight:400;line-height:1.65;overflow-wrap:anywhere}
form[data-form=settings] .admin-setting-option>input:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.comment-guest-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin:0 0 8px}
.comment-guest-fields input{width:100%;height:38px;margin:0;color:var(--text)}
.comment-dock .comment-guest-fields input::placeholder{font-size:inherit}
.guest-identity-badge{display:inline-block;margin-left:5px;color:#999;font-size:11px;font-weight:400;line-height:1.4;white-space:nowrap;vertical-align:baseline}
.personal-review-author .guest-identity-website{display:block;margin-top:3px;color:#888;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
[contenteditable],input,textarea{caret-color:var(--green)}


/* One stationary outer canvas for every route, matching the mention picker. */
html.app-contained-scroll,html.app-contained-scroll body{height:100%;overflow:hidden;overscroll-behavior:none}
html.app-contained-scroll body{position:fixed;inset:0;width:100%}
html.app-contained-scroll .shell{top:var(--page-viewport-top,0px)}
html.app-contained-scroll,html.ios-document-scroll{--app-bottom-nav-height:calc(65px + var(--page-safe-bottom, env(safe-area-inset-bottom,0px)))}
/* In contained scrolling the footer is a real, non-shrinking flex row.
   Reserving padding for a separate fixed footer can leave Safari's scroll
   pane extending behind the bar, making the last form action unreachable. */
html.app-contained-scroll .shell.has-bottom-nav{padding-bottom:0}
html.app-contained-scroll .shell.has-bottom-nav>.bottom-nav{position:relative;left:auto;right:auto;top:auto;bottom:auto;flex:0 0 var(--app-bottom-nav-height);width:100%;max-width:580px;height:var(--app-bottom-nav-height);margin:0 auto}
html.ios-document-scroll .shell.has-bottom-nav{padding-bottom:var(--app-bottom-nav-height)}
/* Let the browser anchor ordinary navigation above its own controls. A top
   derived from visualViewport includes transient toolbar/panning offsets and
   can push the bar below the visible edge while its content space stays put. */
html.ios-document-scroll .shell.has-bottom-nav>.bottom-nav{position:fixed;left:0;right:0;top:auto;bottom:0;width:100%;max-width:580px;height:var(--app-bottom-nav-height);margin:0 auto}
/* In native page scrolling, the footer itself reserves its space immediately
   after the content. A separate fixed bar plus shell padding can expose that
   padding as a gray band at the end of a list during browser toolbar motion.
   Keep the existing detached frame while a feed comment owns the viewport. */
html.ios-document-scroll .shell.has-bottom-nav:not(.feed-comment-viewport){padding-bottom:0}
html.ios-document-scroll .shell.has-bottom-nav:not(.feed-comment-viewport)>.bottom-nav{position:sticky}
/* Directory and admin routes share one fixed navigation layer. Reserve its
   height once; keep each route's original content color above that space. */
html.ios-document-scroll .shell.people-screen.has-bottom-nav{padding-bottom:var(--app-bottom-nav-height);background:#fff}
html.ios-document-scroll .shell.admin-screen.has-bottom-nav{padding-bottom:var(--app-bottom-nav-height)}
html.ios-document-scroll .shell.people-screen.has-bottom-nav>.bottom-nav,html.ios-document-scroll .shell.admin-screen.has-bottom-nav>.bottom-nav{position:fixed;transform:translateZ(0)}
html.ios-document-scroll .shell.admin-screen.has-bottom-nav>.page-scroll{background:#ededed}
html.ios-document-scroll .admin-screen>.topbar{background:#ededed;-webkit-backdrop-filter:none;backdrop-filter:none;transform:translateZ(0)}
/* The software keyboard is a separate, smaller viewport. Retain its measured
   edge only while editing with a keyboard, not for browser toolbar resizing. */
html.ios-document-scroll.page-keyboard-open .shell.has-bottom-nav{padding-bottom:var(--app-bottom-nav-height)}
html.ios-document-scroll.page-keyboard-open .shell.has-bottom-nav>.bottom-nav{position:fixed;top:calc(var(--page-viewport-bottom,100dvh) - var(--app-bottom-nav-height));bottom:auto}
/* The global keyboard paint belongs only to an actively focused native page.
   Comment editors own their own edge, including while closing. Recovery and
   suspended frames must not retain an opaque mask over the restored feed. */
html.ios-document-scroll.page-keyboard-mask:not(.page-input-frame):not(.ios-feed-comment-viewport):not(.ios-detail-comment-viewport) body:focus-within::after{content:"";position:fixed;left:0;right:0;top:var(--page-viewport-bottom,100dvh);height:100vh;height:100lvh;z-index:2147483645;pointer-events:none;background:var(--page-edge-background,#fafafa);opacity:1;backdrop-filter:none;-webkit-backdrop-filter:none}
html.ios-document-scroll.page-keyboard-cover .people-screen>.topbar{top:var(--page-input-top,0px)}
html.ios-document-scroll.page-keyboard-cover .people-screen .people-tools{top:calc(var(--page-input-top,0px) + var(--nav-total-height))}
html.ios-document-scroll.page-keyboard-cover .people-index.mention-index{top:calc(var(--page-input-top,0px) + var(--nav-total-height) + var(--people-index-offset))}
/* Before keyboard focus, pin one frame and transfer only its content scroll.
   Keep header and footer in that frame through resize/blur/field switches.
   Ordinary browsing returns to native document scrolling after it settles. */
.page-input-space{visibility:hidden;pointer-events:none;overflow-anchor:none}
html.page-input-frame,html.page-input-frame body{overscroll-behavior-y:none}
html.ios-document-scroll .shell.admin-screen.page-input-frame{position:fixed;inset:0 0 auto;top:var(--page-editing-top,0px);width:100%;max-width:580px;height:var(--page-viewport-height,100dvh);min-height:0;padding:0;overflow:hidden;isolation:isolate;overflow-anchor:none}
html.ios-document-scroll .shell.admin-screen.page-input-frame>.topbar{position:relative;top:0;flex:0 0 auto}
html.ios-document-scroll .shell.admin-screen.page-input-frame>.page-scroll{flex:1 1 0;min-height:0;height:auto;max-height:none;overflow-y:auto;overflow-x:hidden;padding-bottom:0;overflow-anchor:none}
html.ios-document-scroll .shell.admin-screen.page-input-frame>.bottom-nav{position:relative;top:auto;bottom:auto;flex:0 0 auto}
@media(max-width:600px){html.app-contained-scroll,html.ios-document-scroll{--app-bottom-nav-height:calc(58px + var(--page-safe-bottom, env(safe-area-inset-bottom,0px)))}}
html.app-contained-scroll dialog.fullscreen-dialog:not(.confirmation-dialog)[open]{top:calc(var(--desktop-overlay-top,0px) + var(--page-input-top,0px));height:var(--desktop-overlay-height,var(--page-viewport-height,100dvh));max-height:var(--desktop-overlay-height,var(--page-viewport-height,100dvh))}
/* Counter Safari's native viewport pan: the header stays at the same visible
   top. Only the body shortens/scrolls as the keyboard occupies the lower area. */
html.ios-document-scroll dialog.fullscreen-dialog:not(.composer-document)[open]{top:calc(var(--desktop-overlay-top,0px) + var(--page-input-top,0px))}
/* This picker has a selected-friends footer outside its scroller. Keep both
   controls visible while its list receives the remaining keyboard space. */
html.app-contained-scroll dialog.mention-picker.fullscreen-dialog[open],html.ios-document-scroll dialog.mention-picker.fullscreen-dialog[open]{height:min(var(--desktop-overlay-height,var(--dialog-layout-height)),max(0px,calc(var(--page-viewport-height,100dvh) - var(--desktop-overlay-top,0px))));max-height:min(var(--desktop-overlay-height,var(--dialog-layout-height)),max(0px,calc(var(--page-viewport-height,100dvh) - var(--desktop-overlay-top,0px))))}
html.app-contained-scroll dialog.edit-profile.fullscreen-dialog[open],html.ios-document-scroll dialog.edit-profile.fullscreen-dialog[open],html.app-contained-scroll dialog.admin-editor.fullscreen-dialog[open],html.ios-document-scroll dialog.admin-editor.fullscreen-dialog[open],html.app-contained-scroll dialog.composer.fullscreen-dialog[open],html.ios-document-scroll dialog.composer.fullscreen-dialog[open],html.app-contained-scroll dialog.auth-editor.fullscreen-dialog[open],html.ios-document-scroll dialog.auth-editor.fullscreen-dialog[open],html.app-contained-scroll dialog.profile-field-editor.fullscreen-dialog[open],html.ios-document-scroll dialog.profile-field-editor.fullscreen-dialog[open]{top:calc(var(--desktop-overlay-top,0px) + var(--page-input-top,0px));height:var(--desktop-overlay-height,var(--dialog-layout-height));max-height:var(--desktop-overlay-height,var(--dialog-layout-height))}
/* The iOS composer uses native page scrolling when browsing, like admin.
   Its former page is hidden, so it cannot add scroll range behind the form. */
html.composer-document-open #app[hidden]{display:none}
html.ios-document-scroll dialog.composer.fullscreen-dialog.composer-document[open]{position:relative;inset:auto;display:block;width:100%;max-width:580px;height:auto;min-height:100dvh;max-height:none;margin:0 auto;padding:var(--nav-total-height) 0 0;overflow:visible;overflow-anchor:none}
html.ios-document-scroll dialog.composer.fullscreen-dialog.composer-document>.dialog-head{position:fixed;top:0;left:0;right:0;width:100%;max-width:580px;margin:0 auto;background:#ededed;z-index:10;transform:translateZ(0)}
html.ios-document-scroll dialog.composer.fullscreen-dialog.composer-document>.dialog-body{height:auto;min-height:calc(100dvh - var(--nav-total-height));max-height:none;overflow:visible}
/* PageFrame transfers the current document offset into this body before
   focus, then keeps the same frame through keyboard changes and dismissal. */
html.ios-document-scroll dialog.composer.fullscreen-dialog.composer-document.page-input-frame[open]{position:fixed;inset:0 0 auto;top:var(--page-editing-top,0px);display:flex;height:var(--page-viewport-height,100dvh);min-height:0;padding:0;overflow:hidden;isolation:isolate}
html.ios-document-scroll dialog.composer.fullscreen-dialog.composer-document.page-input-frame>.dialog-head{position:relative;top:0;flex:0 0 auto}
html.ios-document-scroll dialog.composer.fullscreen-dialog.composer-document.page-input-frame>.dialog-body{flex:1 1 0;min-height:0;height:auto;max-height:none;overflow-y:auto;overflow-x:hidden;overflow-anchor:none}
/* Keep the existing contained admin frame on desktop and non-iOS browsers. */
html.admin-contained-scroll .shell.admin-screen{--admin-layout-height:100vh;--admin-footer-space:0px;top:var(--page-viewport-top,0px);height:var(--page-viewport-height,var(--admin-layout-height))}
@supports(height:100dvh){html.admin-contained-scroll .shell.admin-screen{--admin-layout-height:100dvh}}
html.admin-contained-scroll .shell.admin-screen.has-bottom-nav{--admin-footer-space:var(--app-bottom-nav-height)}
/* Header, content and footer share the measured visible frame. Let flex
   subtract the actual header/footer rows, including after window resizing. */
html.admin-contained-scroll .shell.admin-screen>.page-scroll{max-height:none}
html.app-contained-scroll dialog.bottom-action-sheet[open]{bottom:max(0px, 100% - var(--page-viewport-bottom,100dvh));max-height:calc(var(--page-viewport-height,100dvh) - 12px)}
html.app-contained-scroll dialog.confirmation-dialog[open]{top:calc(var(--page-viewport-top,0px) + var(--page-viewport-height,100dvh)/2);max-height:calc(var(--page-viewport-height,100dvh) - 48px)}
html.app-contained-scroll .dialog-body,html.app-contained-scroll .music-sheet{overscroll-behavior-y:none}
.photo-viewer,.album-media-viewer,.profile-avatar-viewer{--browser-surface-background:#000000}
.music-layer,.music-sheet{--browser-surface-background:var(--music-card-bg,#343434);background:var(--music-card-bg,#343434)}
/* Avoid Safari's focus zoom without disabling user pinch zoom. Larger profile
   and composer text keeps its inherited size. */
html.ios-input-focus :is(input,textarea,select,[contenteditable="true"]){font-size:max(16px,1em)}

/* Keep native-scrolling directory rows painted: Safari can retain skipped
   content after keyboard dismissal and show blank groups during a swipe. */
@supports (content-visibility: auto) {
 .mention-picker .mention-list>section>.mention-friend { content-visibility: auto; contain-intrinsic-size: auto 64px; }
}

.personal-notification-review .personal-review-item{margin:0;border:0;box-shadow:none}
.notification .personal-review-status{display:inline-block;margin-top:4px}
.personal-notice-context{margin-bottom:12px}

.page-browser-edge{display:none}
/* WebKit samples all four sides separately, including Duo's side controls.
   Text clipping paints no pixels because these nodes are empty. Each strip
   spans one complete side without becoming a viewport-sized overlay, whose
   native tint can retain its previous color during media transitions. */
@supports ((background-clip:text) or (-webkit-background-clip:text)) {
 .page-browser-edge{display:block;position:fixed;z-index:2147483646;pointer-events:none;margin:0;padding:0;border:0;outline:0;box-shadow:none;background-clip:text;-webkit-background-clip:text;transition:none;animation:none}
 .page-browser-edge-top,.page-browser-edge-bottom{left:0;right:0;height:var(--page-browser-edge-size,12px)}
 .page-browser-edge-left,.page-browser-edge-right{top:0;bottom:0;width:var(--page-browser-edge-size,12px)}
 .page-browser-edge-top{top:0;background-color:var(--page-top-edge-background,#ffffff)}
 .page-browser-edge-bottom{bottom:0;background-color:var(--page-bottom-edge-background,#ffffff)}
 .page-browser-edge-left{left:0;background-color:var(--page-left-edge-background,#ffffff)}
 .page-browser-edge-right{right:0;background-color:var(--page-right-edge-background,#ffffff)}
}

/* Keep the personal profile card compact after removing its unread counter. */
.personal-site .desktop-signature + .desktop-publish{margin-top:18px}

/* Saved account selection uses the same quiet white rows as the Me page. */
dialog.account-switch-editor>.dialog-body{padding:0;background:#ededed}
.account-switch-hint{margin:0;padding:24px 16px;color:#888;font-size:14px;line-height:1.7;text-align:center}
.saved-account-list{background:#fff}
.saved-account-row{display:flex;align-items:center;min-width:0;padding:0 16px}
.saved-account-row+.saved-account-row{border-top:1px solid #eee}
.saved-account-select{display:flex;align-items:center;gap:14px;min-width:0;flex:1;padding:20px 0;background:transparent;text-align:left;color:#191919}
.saved-account-select>.avatar{width:48px;height:48px;border-radius:5px;flex:none}
.saved-account-copy{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.saved-account-name{font-size:17px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.saved-account-copy small{font-size:13px;color:#888;overflow-wrap:anywhere}
.saved-account-state{font-size:12px;color:#888;white-space:nowrap}
.saved-account-state.is-current{color:#07a34a}
.saved-account-select>svg{width:16px;height:16px;color:#bbb;flex:none}
.saved-account-remove{padding:16px 0 16px 12px;color:#888;font-size:13px;flex:none}
.account-add{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;min-height:56px;margin:8px 0 0;padding:16px;background:#fff;color:#191919;font-size:17px;font-weight:400}
.account-add>svg{width:20px;height:20px}.account-switch-empty{padding:32px 16px;text-align:center;color:#888}
.account-switch-editor .error:empty{display:none}.account-switch-editor .error{padding:0 16px}
.account-switch-footer{padding-top:18px;font-size:12px}
.account-session-cover{position:fixed;inset:0;z-index:2147483647;display:grid;place-items:center;background:#fff;color:#888;font:15px/1.6 system-ui;text-align:center}

/* Version labels: about page and main navigation menu. */
.about-screen .auth-brand .about-version{margin:6px 0 0;color:#999;font-size:15px;font-weight:400;line-height:1.5;text-align:center}
.main-navigation-menu .main-menu-version{flex:0 0 auto;margin-left:auto;padding-left:12px;color:#999;font-size:15px;font-weight:400;line-height:24px;white-space:nowrap}

/* Destructive admin actions stay beside the section title and user controls. */
.admin-maintenance-title{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 8px;min-width:0}
.admin-maintenance-title>span{color:#929794;font-size:12px;line-height:1.5;white-space:nowrap;font-variant-numeric:tabular-nums}
.admin-maintenance-clear{flex-shrink:0;min-height:36px;padding:7px 10px;border:0;border-radius:5px;background:#fff;color:#b75959;font-size:12px;line-height:1.5;white-space:nowrap}
.admin-maintenance-clear:disabled{color:#b5bab7;background:#f5f6f5;cursor:default}
.admin-maintenance-clear:focus-visible{outline:2px solid var(--green);outline-offset:3px}

/* Cloud storage administration. Shared by the local and licensed installers. */
.cloud-panel{margin-top:22px;padding:20px;background:#fff;border-radius:10px;border:1px solid #e7ebe8}.cloud-title,.cloud-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.cloud-title h3,.cloud-card h4{margin:0;font-size:17px}.cloud-hint,.cloud-card p,.cloud-local p{color:#717975;font-size:13px;line-height:1.65;overflow-wrap:anywhere}.cloud-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.cloud-card{padding:16px;border:1px solid #e5e9e6;border-radius:8px;min-width:0}.cloud-card h4{font-size:15px}.cloud-badge{display:inline-block;padding:3px 8px;background:#f1f3f2;color:#6a716c;border-radius:5px;font-size:12px;white-space:nowrap}.cloud-badge.active{color:#16834d;background:#eaf6ee}.cloud-actions{display:flex;flex-wrap:wrap;gap:8px}.cloud-actions button,.cloud-local button{padding:8px 12px;font-size:13px;border-radius:5px;min-height:36px}.cloud-local{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-top:1px solid #eee}.cloud-local p{margin:4px 0}.cloud-status,.cloud-form-status{font-size:13px;line-height:1.6;overflow-wrap:anywhere;color:#626b65}.cloud-status[data-severity=success],.cloud-form-status[data-severity=success]{color:#226d47}.cloud-status[data-severity=warning],.cloud-form-status[data-severity=warning]{color:#8a5300}.cloud-status[data-severity=error],.cloud-form-status[data-severity=error]{color:#b42318}.cloud-status:empty,.cloud-form-status:empty{display:none}.cloud-demo{padding:10px 12px;background:#f5f7f5;color:#5c6d61;font-size:13px;line-height:1.6;border-radius:6px}dialog.cloud-page[open]{top:var(--desktop-overlay-top,var(--page-viewport-top,0px));height:var(--desktop-overlay-height,var(--page-viewport-height,100vh));max-height:var(--desktop-overlay-height,var(--page-viewport-height,100vh))}
dialog.cloud-page>.dialog-head{grid-template-columns:88px minmax(0,1fr) 88px}
dialog.cloud-page>.dialog-head>.cloud-page-cancel{display:flex;align-items:center;justify-content:center;width:44px;min-height:44px;padding:0;font-size:16px;font-weight:400;color:#555;white-space:nowrap}
dialog.cloud-page>.cloud-page-body{flex:1 1 auto;margin:0;padding:20px max(20px,env(safe-area-inset-right,0px)) calc(24px + var(--page-safe-bottom,env(safe-area-inset-bottom,0px))) max(20px,env(safe-area-inset-left,0px));scroll-padding-block:20px}
.cloud-dialog input{font-size:16px}.cloud-dialog input:focus{outline:0;box-shadow:none;border-color:#ddd}.cloud-dialog input:disabled{background:#f6f7f6}dialog.cloud-page>.dialog-head>.primary:disabled{background:#e0e0e0;color:#b9b9b9;opacity:1;cursor:default}
/* Keep R5 content movement; only the navigation is viewport-fixed. A parent
   transform/will-change would bind that fixed header to the moving dialog. */
html.ios-document-scroll dialog#cloud-storage-dialog.cloud-page.fullscreen-dialog[open]{--desktop-overlay-top:0px;top:0;padding-top:var(--nav-total-height,52px);transform:none;will-change:auto}
html.ios-document-scroll dialog#cloud-storage-dialog.cloud-page>.dialog-head{position:fixed;top:0;left:var(--desktop-overlay-left,0px);right:auto;width:var(--desktop-overlay-width,100%);z-index:3;transform:translate3d(0,0,0);will-change:transform}
html.ios-document-scroll dialog#cloud-storage-dialog.cloud-page>.cloud-page-body{position:fixed;top:var(--nav-total-height,52px);left:var(--desktop-overlay-left,0px);right:auto;width:var(--desktop-overlay-width,100%);height:max(0px,calc(var(--page-viewport-height,100dvh) - var(--nav-total-height,52px)));max-height:max(0px,calc(var(--page-viewport-height,100dvh) - var(--nav-total-height,52px)));padding-bottom:calc(24px + var(--page-safe-bottom,env(safe-area-inset-bottom,0px)));background:#fff}
html.ios-document-scroll dialog#cloud-storage-dialog.cloud-page>.dialog-surface-edge{position:absolute}
.cloud-panel button:disabled,.cloud-dialog button:disabled{opacity:.45;cursor:default}@media(max-width:600px){.cloud-panel{padding:14px}.cloud-grid{grid-template-columns:1fr}.cloud-title{flex-wrap:wrap}dialog.cloud-page>.cloud-page-body{padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}}

/* Shared album controls on feed, personal timeline and detail. */
.album-view-save{position:absolute;right:0;bottom:0;min-height:32px;display:flex;align-items:center;gap:5px;padding:6px 12px;border-radius:999px;background:#3d3d3d;color:#fff;font-size:13px;line-height:20px;pointer-events:auto;touch-action:manipulation}
.album-view-save svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.album-view-save:disabled{opacity:.55}
.album-save-message{position:absolute;left:0;right:0;bottom:76px;margin:0;text-align:center;color:#ddd;font-size:12px;line-height:1.5;text-shadow:0 1px 3px #000;pointer-events:none}

/* Provider controls share the exact horizontal edges of the fields below. */
#provider-edit-form .provider-visibility-row{padding:0;margin:0 0 19px;min-height:44px}

/* The account's existing Moments cover fades into the desktop card. */
@media(min-width:1100px){
.desktop-account{position:relative;isolation:isolate;overflow:hidden;padding-top:72px}
.desktop-account-cover{position:absolute;top:0;left:0;right:0;height:174px;z-index:-1;pointer-events:none}
.desktop-account-cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.desktop-account-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.08) 0%,rgba(255,255,255,.16) 10%,rgba(255,255,255,.34) 22%,rgba(255,255,255,.58) 34%,rgba(255,255,255,.80) 46%,rgba(255,255,255,.94) 58%,#fff 72%,#fff 100%)}
.desktop-account .desktop-user>.avatar{width:52px;height:52px;flex:0 0 52px;box-sizing:border-box;border:0;border-radius:8px}
.desktop-account .desktop-user b{color:#191919}
.desktop-account .desktop-user small{color:#595959}
.desktop-counts button{min-width:0}
.desktop-counts b{overflow-wrap:anywhere}
.personal-site .desktop-counts{grid-template-columns:repeat(2,minmax(0,1fr))}
}

.music-input-message{margin:8px 0 0;line-height:1.5;text-align:left}
.music-panel .music-input-error{color:#fa5151}

/* Publication device uses the existing timestamp typography and colors. */
/* Keep time, publication device and action icons intact; only the location shrinks. */
.post-time-actions>.post-time-device{--post-device-spacing:4px;display:inline-flex;align-items:center;gap:var(--post-device-spacing);flex:0 0 auto;min-width:0;max-width:none;white-space:nowrap}
.post-time-device>time{font-size:13px;white-space:nowrap;flex:none}
.post-time-device>.post-device{display:inline-flex;align-items:center;gap:var(--post-device-spacing);flex:0 0 auto;min-width:0;max-width:none;font-size:13px;font-weight:400;color:inherit;white-space:nowrap}
.post-device-label{flex:none;white-space:nowrap}
.detail-page .post-time-actions{flex-wrap:nowrap}
.post-meta>.post-more{flex-shrink:0}

/* Own-album search follows the same page frame and pagination controls. */
.topbar>.album-search-open{display:grid;place-items:center;color:inherit}
.album-search-open svg{width:24px;height:24px;fill:none;stroke-width:1.8}
.album-search-screen{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Helvetica Neue","Microsoft YaHei",sans-serif;font-size:17px;font-weight:400;letter-spacing:normal}
.album-search-screen,.album-search-screen .page-scroll{background:#ededed}
.topbar.album-search-header{height:calc(72px + env(safe-area-inset-top,0px));min-height:calc(72px + env(safe-area-inset-top,0px));max-height:calc(72px + env(safe-area-inset-top,0px));gap:12px;padding:calc(24px + env(safe-area-inset-top,0px)) max(14px,env(safe-area-inset-right,0px)) 12px max(20px,env(safe-area-inset-left,0px));background:#ededed;color:#191919;border-bottom:0;-webkit-backdrop-filter:none;backdrop-filter:none}
.album-search-header>form{display:flex;align-items:center;flex:1;min-width:0;height:36px;margin:0;background:#fff;border-radius:6px;overflow:hidden}
.album-search-header .album-search-submit{display:grid;place-items:center;flex:0 0 36px;min-width:36px;height:36px;min-height:36px;color:#b2b2b2;padding:0}
.album-search-submit svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}
.album-search-header input{flex:1;min-width:0;width:0;height:36px;margin:0;padding:0 12px 0 0;border:0;border-radius:0;outline:0;box-shadow:none;background:transparent;color:#191919;font-size:16px;line-height:36px;appearance:none;-webkit-appearance:none;font-weight:400}
.album-search-header input::placeholder{color:#b2b2b2;opacity:1}
.album-search-header>.album-search-cancel{flex:0 0 34px;min-width:34px;height:36px;min-height:36px;padding:0;color:#576b95;font-size:17px;line-height:36px;white-space:nowrap;font-weight:400}
.album-search-results{min-height:100%;background:#ededed}
.album-search-results.has-results{background:#fff}
.album-search-loading{position:relative;min-height:calc(var(--page-viewport-height,100vh) - 72px - env(safe-area-inset-top,0px))}
.album-search-spinner{position:absolute;left:50%;top:calc(var(--page-viewport-height,100vh) * .45 - 72px - env(safe-area-inset-top,0px));width:24px;height:24px;margin:-12px 0 0 -12px;border:2px solid #d2d2d2;border-top-color:#555;border-left-color:#888;border-right-color:transparent;border-radius:50%;animation:album-search-spin .8s linear infinite}
@keyframes album-search-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.album-search-spinner{animation:none}}
.album-search-item{padding:17px 20px;border-bottom:1px solid #f2f2f2}
.album-search-item:last-child{border-bottom:0}
.album-search-result{display:block;width:100%;text-align:left;color:#191919;font-weight:400}
.album-search-copy{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:17px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;font-weight:400}
.album-search-result mark{padding:0;background:transparent;color:#07ae56}
.album-search-media{display:block;width:var(--moment-thumb-size);height:var(--moment-thumb-size);margin-top:9px}
.album-search-music{margin-top:9px}
.album-search-music .album-music-info{font-size:17px;font-weight:400;line-height:1.5;color:#737373}
.album-search-visibility{display:flex;align-items:center;gap:3px;min-width:16px;height:16px;margin-top:9px;color:#aaa}
.album-search-visibility>.post-friends-visibility,.album-search-visibility>.post-self-visibility,.album-search-visibility>.post-pin-icon{position:static;display:flex;align-items:center;justify-content:flex-start;flex:none;width:16px;height:16px;color:inherit;filter:none;transform:none}
.album-search-visibility svg{display:block;width:13px;height:13px}
.album-search-date,.album-search-comment{display:block;margin-top:9px;color:#b2b2b2;font-size:14px;line-height:1.5;overflow-wrap:anywhere;font-weight:400}
.album-search-date>span{margin-left:9px}
.album-search-comment{margin-top:3px}
.album-search-empty{margin:0;padding:48px 20px;text-align:center;color:#999;font-size:14px;background:transparent;font-weight:400}
.album-search-end{display:flex;align-items:center;justify-content:center;gap:8px;margin:0;padding:52px 20px 56px;text-align:center;color:#b2b2b2;font-size:14px;line-height:21px;white-space:nowrap;font-weight:400}
.album-search-end::before,.album-search-end::after{content:"";display:block;flex:0 0 24px;height:1px;background:#dadada}
@media(max-width:600px){.album-search-item{padding-left:20px;padding-right:20px}}
.album-search-header>.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.album-search-summary{margin:0;padding:20px 20px 2px;color:#737373;font-size:14px;line-height:1.6;overflow-wrap:anywhere;font-weight:500}.album-search-summary mark{padding:0;background:transparent;color:#07ae56}

/* Shared compact admin footer; pagination retains its own loading control. */
.admin-screen .page{padding-bottom:12px}
.admin-list-empty.feed-end.empty-state{width:100%;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#d2d7d3;gap:8px}
.admin-list-empty.feed-end:after,.admin-list-empty.feed-end:before{width:20px;height:1px}
.admin-list-empty.feed-end>span{width:4px;height:4px}
.friend-links-admin>.fl-admin-toolbar{margin:18px 0 12px}
/* Header titles are also keyboard-accessible return-to-top controls. */
.topbar h1[data-scroll-top],.topbar h1[data-refresh-top],.dialog-head h2[data-scroll-top]{pointer-events:auto;cursor:pointer;-webkit-tap-highlight-color:transparent}
[data-scroll-top]:focus-visible{outline:2px solid #999;outline-offset:4px;border-radius:3px}

/* The interaction opened from a notification is briefly located in context. */
.notification-focus{animation:notification-focus 1.8s ease-out}
@keyframes notification-focus{0%,35%{background:#e9f5ec}100%{background:transparent}}
@media(prefers-reduced-motion:reduce){.notification-focus{animation:none;outline:1px solid #a7cdb1;outline-offset:3px}}

/* Personal album preview: compact date/location stack, independent of page navigation. */
.album-media-viewer.personal-media-preview .album-view-header{height:auto;min-height:0;max-height:none;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:0;padding-top:max(30px,calc(8px + env(safe-area-inset-top,0px)));padding-bottom:12px}
.album-media-viewer.personal-media-preview .album-view-header time{font-size:17px;font-weight:500;line-height:22px;color:#ccc}
.album-media-viewer.personal-media-preview .album-view-location{margin-top:0;font-size:10px;line-height:14px;color:#bbb}

/* Friend notifications: one current card per peer, with direct request actions. */
.friend-notification{align-items:center;gap:12px}
.friend-notification .friend-notice-avatar{flex:none;display:block;padding:0;background:transparent;border:0;line-height:0}
.friend-notification .friend-notice-open{flex:1;min-width:0;width:auto;padding:0;background:transparent;border:0;text-align:left;color:inherit;white-space:normal}
.friend-notification .friend-notice-open b,.friend-notification .friend-notice-open small{display:block;overflow-wrap:anywhere}
.friend-notification .friend-notice-actions{display:flex;flex:none;gap:8px;align-items:center}
.friend-notification .friend-notice-actions button{min-width:48px;min-height:36px;margin:0;white-space:nowrap;touch-action:manipulation}
@media(max-width:420px){.friend-notification{gap:9px}.friend-notification .friend-notice-actions{gap:6px}.friend-notification .friend-notice-actions button{min-width:44px;padding-left:8px;padding-right:8px}}

/* A stable entry and a dedicated pending-request view inside Friends. */
.new-friends-entry{display:flex;align-items:center;gap:14px;width:100%;min-height:68px;padding:12px 16px;text-align:left;background:#fff;border-bottom:8px solid #ededed;border-radius:0;color:#191919}
.new-friends-icon{display:flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;border-radius:4px;background:#f49b35;color:#fff}
.new-friends-icon svg{width:26px;height:26px}
.new-friends-label{flex:1;min-width:0;font-size:16px;font-weight:400}
.new-friends-count{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#fa5151;color:#fff;font-size:11px;line-height:18px}
.new-friends-chevron{display:flex;align-items:center;color:#aaa}
.new-friends-chevron svg{width:16px;height:16px}
.new-friends-page .people-requests{padding:0;border:0;background:transparent}
.new-friends-page .people-request{padding-right:16px;border-bottom:1px solid #f0f0f0}
.new-friends-page .people-request-actions button{min-height:36px;touch-action:manipulation}
html.ios-document-scroll .people-content .page-scroll>.people-page.new-friends-page{padding-top:0}
