/* Adapt the supplied static components to the existing theme and real API DOM. */
.community-layout{width:100%;padding:0;margin:0}.community-layout-content{width:100%}
.community-scope{--cc-accent:var(--cg-green);min-width:0}.community-scope .community-text{white-space:pre-wrap;overflow-wrap:anywhere}
.community-scope .community-form{margin:0;padding:0;border:0;background:none;min-width:0}
.community-scope .community-form .form-title{font-weight:500}.community-scope .quality-panel .page-description{margin-bottom:0}
.community-scope .community-message:empty,.community-scope .contribution-form-error:empty{display:none}
.community-scope .community-message{font-size:14px;color:#f2aaaa;margin:16px 0;overflow-wrap:anywhere}
.community-scope .community-upload-items{display:contents}.community-scope .contribution-preview{margin:0}.community-scope .community-upload-status{position:absolute;left:0;bottom:0;max-width:100%;padding:2px 6px;background:#222b;color:#ddd;font-size:11px;pointer-events:none}.community-scope .community-upload-status.is-error{color:#ffb5b5}
.community-scope .contribution-preview-remove{cursor:pointer}.community-scope .contribution-preview-remove:disabled{opacity:.4;cursor:default}.community-scope .media-retry{bottom:28px}
.community-scope .contribution-preview-open{position:relative;cursor:pointer}.community-scope .community-video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:4px 9px;border-radius:50%;background:#0009;color:#fff;pointer-events:none}
.community-scope .community-media-modal{box-sizing:border-box}.community-scope .community-media-modal .contribution-media-dialog{box-sizing:border-box;min-width:0}.community-scope .community-media-modal img,.community-scope .community-media-modal video{width:auto;max-width:100%;max-height:70vh}
.community-scope .community-read-state p{margin:0}.community-scope .community-read-state button{margin:16px auto 0}
.community-scope .record-author-info span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.community-scope .record-author-info time,.community-scope .record-meta>span,.community-scope .record-result>span,.community-scope .record-feedback,.community-scope .detail-meta{min-width:0;overflow-wrap:anywhere}
.community-scope .record-actions{flex-wrap:wrap}.community-scope .record-result>span{flex:1}
.community-scope .result-card{scroll-margin-top:100px}.community-scope .result-summary>div{min-width:0}
.community-scope .community-comment-form{box-sizing:border-box}.community-scope .community-editor-actions{flex-wrap:wrap}.community-scope .community-editor-actions .comment-input,#comments.community-scope #comment-form input.comment-input{width:150px;max-width:100%;height:36px;min-height:0;min-width:0;margin:0;padding:4px 10px;background:#ffffff05;color:#ddd;border:1px solid #ffffff2e;border-radius:4px;font-size:14px}
.community-scope .community-editor-actions #submit,#comments.community-scope #comment-form #submit{margin:0 0 0 auto;width:auto;min-width:0;float:none;height:auto;line-height:24px;padding:8px 20px;border:0;border-radius:6px;cursor:pointer;background:var(--cg-green);color:#fff;font-weight:400;animation:none}
/* The legacy theme targets form IDs and every input under #comments. */
#comments.community-scope .respond{margin-top:0}#comments.community-scope #comment-form{padding:0 20px 20px;white-space:normal}
#comments.community-scope #comment-form textarea{display:block;padding:0;border:0;border-radius:0;background:none}
#comments.community-scope .community-form .contribution-control{width:100%;min-width:0;margin:0}#comments.community-scope .choice-option input{width:1px;min-width:0;margin:0}#comments.community-scope .contribution-upload-tile input{width:100%;min-width:0;margin:0}
.community-scope .community-comment-content .community-formatted{display:block}.community-scope .community-formatted p{margin:0 0 4px}.community-scope .community-formatted p:last-child{margin-bottom:0}.community-scope .community-comment-content img{max-width:100%;height:auto}.community-scope .community-comment-content pre{white-space:pre-wrap;overflow-wrap:anywhere}
.community-scope .comment-like>img,.community-scope [data-community-reply]>img{width:20px;height:20px;object-fit:contain}
.community-scope .community-thread .community-replies{margin-bottom:0}.community-scope .community-comment-author{min-width:0}.community-scope .community-comment-author>span{overflow-wrap:anywhere}.community-scope .community-comment-meta{flex-wrap:wrap}.community-scope .community-comment-meta .community-like{color:inherit}
.community-scope .community-comment-meta .comment-like:is(.is-active,[aria-pressed="true"]){color:#ff3865}.community-scope .community-reply-to[hidden]{display:none}
.community-scope .contribution-pagination{flex-wrap:wrap}.community-scope .contribution-pagination>.contribution-help{flex:0 0 100%}
/* Keep footer configuration and links; constrain only these independent pages. */
/* Static pages place the footer inside .contribution-main and reserve fixed-bar space on body. */
main.community-scope .contribution-main{padding-bottom:0}main.community-scope[data-page="center"]{padding-bottom:0}
main.community-scope .contribution-container>.privacy-note{margin-bottom:0}
body:has(main.community-scope){padding-bottom:80px}body:has(main.community-scope[data-page="center"]){padding-bottom:180px}
body:has(main.community-scope) #foot-menu{padding:0 24px;background:var(--cg-bg)}
body:has(main.community-scope) #foot-menu{margin-top:100px}
body:has(main.community-scope) #foot-menu>.line-container{display:none}
body:has(main.community-scope) #foot-menu>.container{max-width:1072px;width:100%;padding:0;margin:0 auto}
body:has(main.community-scope) #footer{max-width:1072px;width:calc(100% - 48px);margin:0 auto;background:var(--cg-bg)}
body:has(main.community-scope) #footer>.container{width:100%;padding:0}
/* Use the existing compact navigation before the desktop categories run out of room. */
@media(min-width:768px) and (max-width:1399px){
 body.use-navbar:has(main.community-scope) #navbar{display:none}
 body.use-navbar:has(main.community-scope) .sidebar,body.use-navbar:has(main.community-scope) .nav-fixed{display:block}
 body.use-navbar:has(main.community-scope) .nav-fixed{top:0;left:0;right:0}
 body.use-navbar:has(main.community-scope) #toggle-nav{display:flex}
 body.use-navbar:has(main.community-scope) .nav-categories{padding-right:16px}
}
@media(max-width:767px){
 .community-scope .comment-like>img,.community-scope [data-community-reply]>img{width:16px;height:16px}
 .community-scope .community-editor-actions{gap:8px}.community-scope .community-editor-actions .comment-input,#comments.community-scope #comment-form input.comment-input{width:105px}.community-scope .community-editor-actions #submit,#comments.community-scope #comment-form #submit{font-size:13px;min-height:32px;padding:4px 10px}#comments.community-scope #comment-form{padding:0 16px 16px}
 .community-scope .result-card{scroll-margin-top:80px}
 body:has(main.community-scope){padding-bottom:48px}body:has(main.community-scope[data-page="center"]){padding-bottom:148px}
 body:has(main.community-scope) #foot-menu{margin-top:64px;padding:32px 16px 0;border-top:1px solid #ffffff0a}body:has(main.community-scope) #footer{width:calc(100% - 32px)}
}
@media(prefers-reduced-motion:reduce){.community-scope .reaction-particle{display:none}.community-scope .reaction-press{animation:none}}
