/* Legacy community: one narrow social timeline, enhanced by Vue. */
.community-layout{display:block;max-width:640px!important;padding:0!important;margin:24px auto 70px;background:#fff;border:1px solid #e8e6e7;border-radius:10px;overflow:clip;color:#29272a}
.community-main{min-width:0}
.community-main h1,.community-main h2,.community-dialog h2{font-size:17px;line-height:1.5;margin:0;font-weight:700}
.community-topbar{display:grid;grid-template-columns:76px 1fr 76px;align-items:center;min-height:64px;padding:4px 12px;border-bottom:1px solid #eee;background:#faf9fa}
.community-topbar h1{text-align:center;white-space:nowrap}
.community-topbar>div{display:flex;align-items:center;justify-content:flex-end}
.community-icon{border:0;background:transparent;color:inherit;display:inline-flex;align-items:center;justify-content:center;width:36px;min-height:40px;padding:6px;cursor:pointer;text-decoration:none;flex:none;border-radius:8px}
.community-icon:hover{background:#f7edf1;color:#a74669}
.community-personal{position:relative}
.community-dot{position:absolute;right:5px;top:5px;border:2px solid #fff;background:#d34464;border-radius:50%;width:10px;height:10px}
.community-tabs{display:flex;align-items:stretch;width:100%;border-bottom:1px solid #e9e7e8}
.community-tabs>a,.community-tabs>button{flex:1;min-height:48px;display:flex;align-items:center;justify-content:center;gap:5px;text-decoration:none;color:#777078;font:inherit;font-weight:600;padding:10px 6px;background:#fff;border:0;border-bottom:2px solid transparent;cursor:pointer}
.community-tabs .is-active{color:#262126;border-bottom-color:#a74669}
.community-tabs>a:hover,.community-tabs>button:hover{background:#fcf8fa}
.community-tab-spinner{width:12px;height:12px;flex:none;border:2px solid #eadbe3;border-top-color:#a74669;border-radius:50%;animation:community-tab-spin .7s linear infinite}
@keyframes community-tab-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.community-tab-spinner{animation:none}}
.community-search{display:flex;gap:0;padding:12px;background:#faf9fa}
.community-search input{width:0;flex:1;min-width:0;border:1px solid #dcd6da;border-radius:7px 0 0 7px;padding:10px;font:inherit}
.community-search .button{min-height:44px;border-radius:0 7px 7px 0;padding:8px 16px}
.community-compose-trigger{display:flex;gap:10px;align-items:center;width:100%;min-height:80px;background:#fff;border:0;border-bottom:1px solid #e8e6e7;padding:16px 20px;font:inherit;color:#8a8389;text-align:left;cursor:pointer}
.community-compose-trigger>strong{margin-left:auto;border:1px solid #d6cfd4;color:#3b343b;border-radius:6px;font-size:14px;font-weight:500;padding:7px 14px}
.community-avatar{width:40px;height:40px;object-fit:cover;border-radius:50%;flex:none;display:block}
.community-avatar-empty{display:inline-flex;align-items:center;justify-content:center;background:#f3edf0;color:#ac8a9b;border:1px solid #e9dfe4}
.community-avatar-button{display:block;padding:0;border:0;background:transparent;border-radius:50%;cursor:pointer}
.community-avatar-large{width:76px;height:76px}
.community-card{display:flex;gap:10px;position:relative;padding:17px 20px 13px;border-bottom:1px solid #ece9eb;background:#fff;margin:0!important;border-radius:0!important;min-width:0}
.community-card-avatar{flex:none;position:relative;z-index:1}
.community-card-main{min-width:0;flex:1}
.community-card header{display:flex;gap:7px;align-items:center;min-height:25px;flex-wrap:wrap}
.community-author{border:0;background:transparent;padding:0;color:#262126;font:inherit;font-size:15px;font-weight:600;cursor:pointer;overflow-wrap:anywhere;text-align:left}
.community-card time{font-size:12px;color:#948b92;white-space:nowrap}
.community-card header time{display:inline-block;min-width:4.5em}
.community-card header>a{text-decoration:none;color:inherit}
.community-delete{margin-left:auto;color:#aaa0a8;min-height:28px;width:28px}
.community-delete svg{width:17px;height:17px}
.community-body-link{display:block;color:inherit;text-decoration:none}
.community-body-link:hover{color:inherit}
.community-text{white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;line-height:1.7;font-size:15px;margin:4px 0 9px}
.community-card footer,.community-reply-actions{display:flex;gap:2px;align-items:center;min-height:32px;color:#8d8189}
.community-like{display:inline-flex;align-items:center;justify-content:center;padding:6px 6px 6px 0;min-width:30px;min-height:38px;color:inherit;background:none;border:0;cursor:pointer}
.community-like.is-liked{color:#c0517b}
.community-like.is-liked svg{fill:currentColor}
.community-count{padding:6px 8px 6px 0;min-width:18px;font:inherit;font-size:13px;text-decoration:none;background:none;border:0;color:inherit;cursor:pointer}
.community-action-group{position:relative;display:inline-flex;align-items:center;min-height:40px;padding:0 6px;border-radius:20px;color:inherit;transition:background-color .15s ease,color .15s ease}
.community-action-group+.community-action-group{margin-left:6px}
.community-action-group>.community-count:empty{display:none}
.community-action-group>.community-icon:hover{background:transparent;color:inherit}
.community-action-group:after{content:attr(data-label);position:absolute;left:calc(100% - 4px);top:calc(100% + 5px);z-index:6;padding:4px 8px;border-radius:6px;background:#51394a;color:#fff;font-size:12px;font-weight:500;line-height:1.5;white-space:nowrap;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .12s ease}
.community-action-group.is-hovered,.community-action-group:has(:focus-visible){background:#f7edf1;color:#a74669}
.community-action-group.is-hovered:after,.community-action-group:has(:focus-visible):after{opacity:1;visibility:visible}
@media(prefers-reduced-motion:reduce){.community-action-group,.community-action-group:after{transition:none}}
.community-read{margin-left:auto;font-size:12px;background:none;border:0;color:#a74669;cursor:pointer;padding:8px}
.community-unread{font-size:11px;background:#d85172;color:#fff;border-radius:12px;padding:1px 6px}
.community-ancestors .community-card{border-bottom:0;padding-bottom:0}
.community-ancestors .community-card:after{content:'';position:absolute;left:39px;top:59px;bottom:-20px;border-left:2px solid #e2dce0}
.community-focus{background:#fff}
.community-profile{padding:20px 20px 0;background:#fff}
.community-profile-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.community-profile-heading h2{font-size:22px;overflow-wrap:anywhere}
.community-fans{display:flex;align-items:center;gap:8px;min-height:48px;border:0;background:none;padding:8px 0 14px;color:#7e737b;font:inherit;font-size:14px;cursor:pointer}
.community-follower-preview{display:flex;padding-left:4px}
.community-follower-preview>span{margin-left:-4px}
.community-follower-preview img,.community-follower-preview .community-avatar-empty{width:23px;height:23px;border-radius:50%;object-fit:cover;border:2px solid #fff}
.community-status,.community-access{padding:12px 16px;font-size:14px;color:#765568;background:#fff5f8;margin:0;border-bottom:1px solid #f0dce5}
.community-access p{margin:0}
.community-status button{border:0;background:none;color:#a74669;font:inherit;text-decoration:underline;cursor:pointer}
.community-empty{padding:36px 18px;color:#8b8189;text-align:center;font-size:14px;margin:0}
.community-new{width:100%;border:0;background:#fff1f6;color:#a74669;padding:12px;font:inherit;cursor:pointer}
.community-load{text-align:center;padding:12px;font-size:12px;color:#b0a6ad}
.community-more{display:block;margin:8px auto;border:1px solid #ded6db;border-radius:7px;background:#fff;padding:9px 18px;color:#73616d;font:inherit;font-size:14px;cursor:pointer}
.community-replybar{position:sticky;bottom:0;z-index:5;display:flex;align-items:flex-end;gap:10px;padding:12px 16px;background:rgba(255,255,255,.97);border-top:1px solid #e4dce1;box-shadow:0 -4px 14px #51304706}
.community-replybar textarea{flex:1;width:0;min-width:0;border:0;background:#f6f3f5;border-radius:18px;min-height:40px;max-height:160px;resize:vertical;padding:10px 14px;font:inherit;font-size:16px;line-height:1.4;box-sizing:border-box}
.community-replybar>.community-icon{background:#a74669;color:#fff;border-radius:50%;width:38px;min-height:38px}
.community-dialog{width:calc(100% - 32px);max-width:510px;max-height:calc(100dvh - 40px);border:1px solid #ece5e9;border-radius:14px;padding:0;background:#fff;color:#302730;box-shadow:0 20px 80px #36243133;overflow:auto}
.community-dialog::backdrop{background:#2a172958}
.community-dialog>header{position:sticky;top:0;z-index:1;display:grid;grid-template-columns:64px 1fr 64px;align-items:center;gap:6px;min-height:58px;padding:6px 10px;border-bottom:1px solid #eee7eb;background:#fff;text-align:center}
.community-dialog>header button{padding:10px 4px;border:0;background:none;color:#a74669;font:inherit;font-size:14px;cursor:pointer}
.community-dialog-body{padding:18px 20px}
.community-compose-author{display:flex;align-items:center;gap:10px;font-size:14px;margin-bottom:12px}
.community-dialog textarea{width:100%;min-height:160px;box-sizing:border-box;padding:8px 0;border:0;resize:vertical;font:inherit;font-size:16px;line-height:1.75;max-height:45dvh}
.community-compose-bottom{display:flex;justify-content:space-between;gap:12px;color:#8a7c85;font-size:12px}
.community-note{color:#a08f99;font-size:12px;margin:10px 0 0}
.community-reply-context{border-left:2px solid #e4d8df;padding-left:12px;margin-bottom:16px;max-height:180px;overflow:auto;font-size:14px}
.community-reply-context .community-text{font-size:14px;color:#8c7f87}
.community-member-dialog{text-align:center;max-width:390px}
.community-member-dialog .community-avatar{margin:0 auto}
.community-member-dialog h3{font-size:20px;margin:12px 0 8px;overflow-wrap:anywhere}
.community-member-meta{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;font-size:14px;color:#8a7985;margin:8px 0 20px}
.community-member-actions{display:flex;justify-content:center;gap:10px;margin-bottom:8px}
.community-person-row{display:flex;align-items:center;gap:8px;border-bottom:1px solid #f0eaee}
.community-person{display:flex;align-items:center;gap:10px;padding:12px 0;flex:1;min-width:0;background:transparent;border:0;color:inherit;text-align:left;font:inherit;font-size:15px;cursor:pointer;overflow-wrap:anywhere}
.community-follow-small{flex:none;border:1px solid #ddd1d9;background:#fff;border-radius:7px;font:inherit;font-size:12px;color:#8c5975;padding:7px 9px;cursor:pointer}
.community-people-scroll{max-height:min(55dvh,390px);overflow:auto;overscroll-behavior:contain}
.community-people{padding:18px}
.community-pages{display:flex;gap:20px;justify-content:center;padding:18px}
.community-notice.panel{padding:24px;background:#fff;border:0;border-radius:0;margin:0}
.community-notice h1{text-align:center;margin-bottom:20px}
.community-notice-scroll{max-height:55dvh;overflow:auto;padding:0 10px}
.community-gate.panel{padding:16px 24px 24px;margin:0;border:0;border-radius:0;background:#fff;text-align:center}
.community-gate h2{margin-bottom:12px}
.community-check{display:flex;gap:8px;align-items:flex-start;text-align:left;font-size:14px;margin-bottom:16px}
.community-check input{flex:none;margin-top:4px;width:18px;height:18px}
.community-main button:disabled,.community-dialog button:disabled{opacity:.45;cursor:not-allowed}
.community-main button:focus-visible,.community-dialog button:focus-visible,.community-main a:focus-visible{outline:2px solid #b45b82;outline-offset:3px}
.community-layout .sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}

@media(max-width:680px){.community-layout{width:100%;max-width:100%!important;border-left:0;border-right:0;border-radius:0;margin-top:0;margin-bottom:30px}
.community-card{padding:15px 14px 11px;gap:10px}
.community-compose-trigger{padding:15px 14px}
.community-profile{padding:18px 16px 0}
.community-ancestors .community-card:after{left:33px}
.community-topbar{min-height:58px;padding-inline:8px}
.community-topbar h1{font-size:16px}
.community-card time{font-size:11px}
.community-replybar{bottom:calc(64px + env(safe-area-inset-bottom,0px));padding:10px 12px}
.community-dialog{max-height:calc(100dvh - 32px);border-radius:12px}
.community-dialog-body{padding:16px}
.community-dialog .button{min-height:42px;padding:8px 15px}
}

@media(prefers-reduced-motion:reduce){.community-main *{scroll-behavior:auto}
}


.community-entry--reply>.community-context-entry>.community-card{border-bottom:0}
.community-replybar{position:fixed;left:50%;transform:translateX(-50%);width:min(638px,100%);box-sizing:border-box}
.community-main:has(.community-replybar){padding-bottom:80px}


.community-replybar{bottom:calc(var(--site-dock-height,64px) + var(--site-dock-edge,0px) + 8px)}
.community-main:has(.community-replybar){padding-bottom:160px}
.community-avatar-plus{position:absolute;right:-4px;bottom:0;width:18px;height:18px;border:1px solid #e2d4dc;border-radius:50%;background:#fff;color:#c7597c;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;font-size:16px}
.community-entry{min-width:0}
.site-keyboard-open .community-replybar{bottom:0}


.community-member-dialog .community-dialog-body{display:grid;grid-template-columns:minmax(0,1fr) 80px;grid-template-areas:"name avatar" "meta avatar" "actions actions";text-align:left;gap:0 14px}
.community-member-dialog .community-avatar{grid-area:avatar;margin:0}
.community-member-dialog h3{grid-area:name;align-self:end;margin:4px 0 8px}
.community-member-meta{grid-area:meta;justify-content:flex-start;margin:0 0 12px}
.community-member-actions{grid-area:actions;flex-direction:column;margin:12px 0 4px}
.community-member-actions .button{width:100%;justify-content:center}


.community-notice.panel,.community-gate.panel{background:#f8f9fa}
.community-notice-scroll{height:calc(100dvh - 240px);max-height:700px;min-height:260px;border:1px solid #d3d3d3;border-radius:30px 30px 0 0;padding:12px;font-size:16px;line-height:2.2}
.community-card footer .community-delete{margin-left:8px;width:32px;min-height:36px}
.community-dialog .community-empty{min-height:0}


/* Keep the composer inside the conversation, including at its bottom boundary. */
.community-card-avatar{align-self:flex-start;width:40px;height:40px}
.community-avatar-plus{right:-3px;bottom:-1px;width:18px;height:18px;background:#fff;border:1px solid #dfd6dc;color:#d24d6b}
.community-reply-author{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.community-main:has(.community-replybar){padding-bottom:0}
.community-thread{display:flex;flex-direction:column;min-height:calc(100svh - var(--community-page-top,130px) - var(--site-dock-height,64px) - var(--site-dock-edge,0px) - 8px)}
.community-thread>.community-replybar{position:sticky;left:auto;transform:none;width:100%;bottom:calc(var(--site-dock-height,64px) + var(--site-dock-edge,0px) + 8px);margin-top:auto;flex-shrink:0;align-self:stretch;scrollbar-width:none}
.community-thread>.community-replybar textarea{resize:none;scrollbar-width:none}
.community-thread>.community-replybar textarea::-webkit-scrollbar{display:none}
.site-keyboard-open .community-thread>.community-replybar{bottom:0}

/* White outer ring, red inner disc, white plus; keep the avatar corner anchor. */
.community-avatar-plus{width:18px;height:18px;border:3px solid #fff;background:#dc3545;color:#fff;font-size:13px;font-weight:500;line-height:1;box-sizing:border-box;isolation:isolate}
.community-avatar-plus:hover{background:#bb2d3b;color:#fff}

/* Shared 40px avatar rails: equal, compact clear space at both endpoints. */
.community-main{--community-avatar-size:40px;--community-rail-gap:4px;--community-card-pad-x:20px;--community-card-pad-y:16px}
.community-card,.community-ancestors .community-card{padding:var(--community-card-pad-y) var(--community-card-pad-x)}
.community-ancestors .community-card:after,.community-entry--reply>.community-context-entry>.community-card:after{content:'';position:absolute;left:calc(var(--community-card-pad-x) + var(--community-avatar-size)/2 - 1px);top:calc(var(--community-card-pad-y) + var(--community-avatar-size) + var(--community-rail-gap));bottom:calc(var(--community-rail-gap) - var(--community-card-pad-y));width:2px;border:0;background:#e2dce0;z-index:1;pointer-events:none}
.community-avatar-plus{border-width:1px;padding:0;font-size:0;line-height:0}
.community-avatar-plus svg{display:block;width:10px;height:10px;flex:none;pointer-events:none}
.community-compose-flow .community-reply-context,.community-compose-flow .community-compose-author{display:grid;grid-template-columns:var(--community-avatar-size) minmax(0,1fr);gap:10px;align-items:start;border:0;margin:0;padding:0;overflow:visible;max-height:none;min-width:0}
.community-compose-flow .community-reply-context{position:relative;padding-bottom:24px}
.community-compose-flow .community-reply-context:after{content:'';position:absolute;left:calc(var(--community-avatar-size)/2 - 1px);top:calc(var(--community-avatar-size) + var(--community-rail-gap));bottom:var(--community-rail-gap);width:2px;background:#e2dce0;pointer-events:none}
.community-reply-avatar,.community-compose-avatar{width:var(--community-avatar-size);height:var(--community-avatar-size)}
.community-reply-body,.community-compose-fields{min-width:0}
.community-reply-meta{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;min-height:24px}
.community-reply-meta strong,.community-compose-name{font-size:14px;line-height:24px;overflow-wrap:anywhere}
.community-reply-meta time{font-size:12px;color:#948b92;white-space:nowrap}
.community-compose-flow .community-reply-context .community-text{margin:4px 0 0;max-height:220px;overflow:auto;line-height:1.7;color:#6f626b}
.community-compose-name{display:block}
.community-compose-flow textarea{padding-top:6px;min-height:140px}
.community-compose-flow .community-compose-author textarea{display:block;margin:10px 0 12px;padding:10px 12px;border:1px solid transparent;border-radius:10px}
.community-compose-flow .community-compose-author textarea:focus{outline:none;border-color:#a74669;box-shadow:0 0 0 3px #a746691a}
.community-compose-controls{display:flex;align-items:center;justify-content:space-between;gap:12px}
.community-compose-controls .community-compose-bottom{flex:1;flex-wrap:wrap;gap:2px 12px}
.community-compose-submit{flex:none;min-height:40px;padding:8px 16px;font-size:14px}
@media(max-width:680px){.community-main{--community-card-pad-x:14px;--community-card-pad-y:15px}}

/* Keep the readable first paint until the entire Vue tree is ready. */
#community-app:not([data-community-ready]){display:none!important}
#community-ssr[hidden]{display:none!important}
.community-pending,.community-load-message{display:none}
.community-enhancing .community-pending{display:flex;pointer-events:none}
.community-enhancing .community-action-placeholder{display:inline-block}
.community-load-failed .community-load-message{display:flex}
.community-load-message{gap:8px;align-items:center;justify-content:space-between;padding:12px 16px;background:#fbf4f7;border-bottom:1px solid #ecdee5;color:#77646e;font-size:13px}
.community-load-message a{color:#a74669;white-space:nowrap}
.community-skeleton{position:relative;overflow:hidden;background:#efe9ed;border-radius:6px;isolation:isolate}
.community-skeleton:after{content:'';position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.7),transparent);animation:community-shimmer 1.7s ease-in-out infinite;pointer-events:none}
.community-avatar{background-color:#f3edf0}
.community-skeleton.community-avatar{border-radius:50%}
.community-skeleton-line{display:block;height:14px;width:38%;max-width:180px}
.community-skeleton-button{display:block;height:38px;width:58px;margin-left:auto}
.community-action-placeholder{width:24px;height:14px;margin-left:auto}
.community-reply-placeholder{height:42px;flex:1;border-radius:18px}
.community-feed-placeholder{padding:16px var(--community-card-pad-x);border-bottom:1px solid #ece9eb;display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px}
.community-feed-placeholder>div{padding-top:5px}
.community-feed-placeholder .community-skeleton-line{max-width:none;width:88%;margin-bottom:13px}
.community-feed-placeholder .community-skeleton-line:first-child{width:35%;height:12px;margin-bottom:20px}
.community-feed-placeholder .community-skeleton-line:last-child{width:56%;margin-bottom:6px}
.community-more-placeholder{width:100%;min-height:66px;padding:16px;text-align:left}
.community-more-placeholder .community-skeleton-line{width:65%;margin:8px 0 0 50px}
@keyframes community-shimmer{to{transform:translateX(100%)}}
@media(prefers-reduced-motion:reduce){.community-skeleton:after{animation:none;transform:none;background:none}}
@media(max-width:800px){.community-enhancing-page .site-header .site-navigation{display:none}.community-enhancing-page .site-header .header-inner.menu-open .site-navigation{display:grid}}
