.community-page{padding-top:30px;padding-bottom:70px}.community-top{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:28px;border-bottom:1px solid var(--line)}.community-wordmark{font-size:23px;font-weight:800;letter-spacing:.08em}.community-wordmark span{font-size:12px;color:var(--muted);font-weight:400;letter-spacing:0;margin-left:18px}.community-tabs{display:flex;gap:32px;overflow:auto;white-space:nowrap;border-bottom:1px solid var(--line);margin-bottom:26px}.community-tabs a{padding:20px 0 15px;font-size:15px;color:var(--muted);border-bottom:3px solid transparent}.community-tabs a[aria-current=page]{color:var(--green);font-weight:700;border-color:var(--green)}.community-heading{margin:42px 0 30px}.community-heading h1{font-family:Georgia,'Songti SC',serif;font-size:clamp(28px,4vw,44px);letter-spacing:-.04em;margin:14px 0}.community-heading p{color:var(--muted);line-height:1.8}.community-filter,.community-chips{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 26px}.community-filter a,.community-chips a{font-size:12px;border:1px solid var(--line);border-radius:30px;padding:8px 14px;background:white}.community-filter .selected{background:var(--green);color:white}.community-grid{columns:4;column-gap:20px}.community-card{break-inside:avoid;background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden;margin:0 0 20px;transition:transform .18s}.community-card:hover{transform:translateY(-3px)}.community-cover{display:block;background:var(--cream);overflow:hidden}.community-cover img{display:block;width:100%;height:auto;max-height:430px;object-fit:cover}.community-cover-placeholder{aspect-ratio:3/4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;background:linear-gradient(145deg,#eef2e6,#e0e9df);color:#356754}.community-cover-placeholder>span{font-family:Georgia,'Songti SC',serif;font-size:76px;opacity:.5}.community-cover-placeholder small{font-size:12px;letter-spacing:.12em}.community-card-body{padding:16px}.community-card h3{font-size:16px;line-height:1.6;margin:10px 0 15px;overflow-wrap:anywhere}.community-badges{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.community-badges span{font-size:10px;color:#68766b;background:#f0f3ec;border-radius:4px;padding:4px 7px}.community-card-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.community-author{display:inline-flex;align-items:center;gap:8px;min-width:0;font-size:13px}.community-author>span:not(.community-avatar){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:130px}.community-author img,.community-avatar{width:30px;height:30px;border-radius:50%;object-fit:cover;display:inline-grid;place-items:center;background:#e5ece1;color:#476146;flex-shrink:0}.community-card-stats{font-size:10px;color:var(--muted);margin:12px 0}.community-empty{padding:65px 20px;text-align:center;background:#f0f2ea;border-radius:16px}.community-empty>span{font-size:42px;color:var(--green)}.community-empty h3{font-size:22px}.community-empty p{font-size:13px;color:var(--muted);margin-bottom:30px}.community-load-more{display:block;margin:28px auto}.community-work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.community-work{padding:32px;background:#f0f2e9;border:1px solid var(--line);border-radius:12px}.community-work:nth-child(2n){background:#f5efe4}.community-work-number{font-family:Georgia,serif;color:#789382;font-size:35px}.community-work h2{font-size:22px}.community-work p{font-size:13px;color:var(--muted);line-height:1.8}.community-work>span:last-child{display:block;font-size:12px;margin-top:28px}.community-filter-form{display:flex;flex-wrap:wrap;align-items:end;gap:14px}.community-filter-form label{font-size:12px;color:var(--muted)}.community-filter-form select{display:block;margin-top:7px;padding:10px 14px;border:1px solid var(--line);border-radius:8px;background:white}.community-ranking{margin-top:30px}.community-rank-row{display:flex;gap:22px;align-items:center;border-bottom:1px solid var(--line);padding:24px 16px;background:#fff}.community-rank-row:first-child{background:#f3ebd8;border-radius:14px 14px 0 0}.community-rank-number{font-family:Georgia,serif;font-size:30px;color:#a2ada3;width:46px}.community-rank-avatar{width:54px;height:54px;display:grid;place-items:center;border-radius:50%;background:#e7ede1;font-size:24px;color:var(--green)}.community-rank-row h2{font-size:18px;margin:0 0 8px}.community-rank-row p{font-size:12px;color:var(--muted);margin:0}.community-rank-row strong{margin-left:auto;font-size:25px;color:var(--green)}.community-rank-row strong small{display:block;font-size:10px;font-weight:400;margin-top:5px;text-align:right}.community-search-form{display:flex;gap:10px;max-width:700px}.community-search-form input{flex:1;min-width:0;border:1px solid var(--line);padding:14px 18px;border-radius:10px}.community-detail{max-width:820px;margin:38px auto}.community-detail>h1{font-size:clamp(25px,4vw,40px);line-height:1.5;overflow-wrap:anywhere}.community-detail-byline{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.community-detail-byline>small{color:var(--muted);font-size:11px}.community-detail-byline>button{margin-left:auto}.community-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:28px 0}.community-gallery>a:only-child{grid-column:1/-1}.community-gallery img{width:100%;height:auto;max-height:750px;object-fit:contain;display:block;background:#eef1e8;border-radius:10px}.community-prose{white-space:pre-wrap;line-height:2;font-size:16px;overflow-wrap:anywhere;margin:30px 0}.community-source{font-size:12px;color:var(--muted);line-height:1.8;overflow-wrap:anywhere}.community-spoiler{padding:60px 24px;text-align:center;background:var(--cream);border:1px solid var(--line);border-radius:12px;margin:30px 0}.community-spoiler>span{font-size:40px;color:var(--green)}.community-spoiler p{color:var(--muted);line-height:1.8}.community-owner-tools{padding:18px;background:#edf2e8;border-radius:10px;font-size:13px}.community-reactions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:25px 0;border-bottom:1px solid var(--line);font-size:13px}.community-reactions [aria-pressed=true]{color:var(--green);background:#e5eee0;border-color:#b4c8b4}.community-reactions [disabled]{opacity:.45;cursor:default}.community-comments{margin-top:38px}.community-comments h2{font-size:22px}.community-comment{padding:20px 0;border-bottom:1px solid var(--line)}.community-comment .community-author{display:flex}.community-comment small{font-size:10px;color:var(--muted);margin-left:auto}.community-comment p{font-size:14px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.community-reply{margin-left:32px;padding-left:16px;border-left:2px solid var(--line)}.community-comments form{margin-top:28px}.community-comments textarea{width:100%;border:1px solid var(--line);border-radius:8px;padding:15px;resize:vertical;margin:10px 0}.community-warning{font-size:12px;color:#9b582c;line-height:1.7}.community-profile-head{display:flex;gap:25px;align-items:center;padding:44px 0}.community-profile-head>img,.community-profile-head>.community-avatar{width:90px;height:90px;font-size:36px;border-radius:50%;object-fit:cover}.community-profile-head h1{font-size:30px;margin:10px 0}.community-profile-head p{font-size:13px;color:var(--muted);line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.community-profile-head>button{margin-left:auto}.community-local-drafts{background:var(--cream);padding:20px;border-radius:10px;margin:20px 0}.community-local-drafts a{display:block;font-size:12px;padding:10px 0}.community-dialog{border:1px solid var(--line);border-radius:16px;padding:30px;max-width:min(90vw,640px);width:100%;max-height:85vh;overflow:auto;color:var(--ink)}.community-dialog::backdrop{background:#14252180;backdrop-filter:blur(3px)}.community-dialog label,.community-admin form>label{display:block;font-size:13px;margin:14px 0}.community-dialog input:not([type=checkbox]),.community-dialog textarea,.community-dialog select,.community-admin form>label input,.community-admin form>label select,.community-admin form>label textarea{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid var(--line);border-radius:7px;min-width:0}.community-dialog [role=alert],.community-editor [role=alert],.community-comments [role=alert],.community-admin [role=alert]{font-size:13px;color:#a3452c;line-height:1.6}.community-person{display:flex;align-items:center;gap:12px;padding:15px 0}.community-editor{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:35px}.community-editor-main,.community-editor-settings{background:white;border:1px solid var(--line);border-radius:14px;padding:28px}.community-editor-settings{align-self:start}.community-editor h2{font-size:18px;margin:0 0 18px}.community-editor h2 small{font-size:12px;color:var(--muted);font-weight:400}.community-upload-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.community-upload-head h2{margin:0}.community-file-label{cursor:pointer;font-size:12px;position:relative;overflow:hidden}.community-file-label input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.community-image-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}.community-image-tile{position:relative;min-width:0;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#f5f7f1}.community-image-tile>img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block}.community-image-tile>span{position:absolute;left:6px;top:6px;background:#fff;padding:4px 8px;border-radius:5px;font-size:11px}.community-image-tile>small{display:block;text-align:center;font-size:10px;color:var(--muted);padding:7px}.community-image-tile>div{display:flex;justify-content:center;gap:4px;padding:0 6px 8px}.community-image-tile button{padding:4px 8px;background:white;border:1px solid var(--line);border-radius:5px;font-size:11px}.community-tag-list{max-height:250px;overflow:auto;padding:8px 4px;margin-top:12px}.community-check{display:flex!important;align-items:center;gap:8px;font-size:12px;line-height:1.7;margin:10px 0!important}.community-check input{width:auto!important;flex-shrink:0;accent-color:var(--green)}.community-check small{font-size:10px;color:var(--muted);margin-left:auto}.community-editor-settings fieldset{border:0;padding:0;margin:25px 0}.community-editor-settings legend{font-size:13px;font-weight:700}.community-editor-actions{display:grid;gap:10px;margin-top:25px}.community-editor #community-save-state{font-size:11px;color:var(--muted);line-height:1.8}.community-preview-images{display:flex;gap:8px;overflow:auto}.community-preview-images img{height:200px;max-width:240px;object-fit:contain;border-radius:6px}.community-preview-dialog .community-prose{font-size:14px}.community-admin h2{margin:35px 0 20px}.community-admin .form-panel{margin:15px 0}.community-moderate{margin-top:20px;border-top:1px solid var(--line);padding-top:8px}.community-moderate input{width:100%;padding:10px;border:1px solid var(--line);border-radius:7px;display:block;margin:8px 0 15px}.community-review-avatar{width:100px;height:100px;object-fit:cover;border-radius:50%}.community-audit{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.community-audit p{padding:12px 0;border-bottom:1px solid var(--line)}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:1050px){.community-grid{columns:3}.community-editor{grid-template-columns:minmax(0,1fr) 280px;gap:18px}.community-wordmark span{display:none}.desktop-nav{gap:18px}}
@media(max-width:760px){.community-grid{columns:2;column-gap:14px}.community-card{margin-bottom:14px}.community-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.community-editor{grid-template-columns:1fr}.community-editor-main,.community-editor-settings{padding:20px}.community-tabs{gap:24px}.community-rank-row{gap:14px}.community-rank-avatar{width:40px;height:40px;font-size:20px}.community-profile-head{gap:15px;flex-wrap:wrap}.community-profile-head>button{margin-left:0}.community-top .primary,.community-top .secondary{font-size:12px;padding:10px 12px}}
@media(max-width:420px){.community-card-body{padding:12px}.community-author>span:not(.community-avatar){max-width:65px}.community-rank-number{font-size:24px;width:30px}.community-rank-row p{font-size:10px}.community-rank-row h2{font-size:16px}.community-dialog{padding:22px}.community-gallery{grid-template-columns:1fr}.community-work{padding:22px}.community-image-list{gap:8px}.community-heading h1{font-size:28px}}
/* Keep every community destination visible without changing library filters. */
@media(max-width:420px){
  .community-page>.community-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 12px;overflow:visible;white-space:normal}
  .community-page>.community-tabs>a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:11px 3px;font-size:13px;line-height:1.5;text-align:center}
}
