.community{padding:52px 0 80px;background:linear-gradient(135deg,#f5f3ff,transparent 42%),var(--paper);min-height:100vh}.community-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:30px}.community-head h1{font-size:clamp(2.4rem,5vw,4rem);letter-spacing:-.06em;line-height:1;margin:9px 0}.community-head p{color:var(--muted);max-width:590px;margin:0}.community-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.community-post{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:22px}.community-post__unapprove{position:absolute;top:11px;right:11px;margin:0}.community-post__unapprove button{display:grid;width:27px;height:27px;padding:0;place-items:center;border:1px solid var(--line);border-radius:50%;color:var(--muted);background:var(--paper);font-size:1.1rem;line-height:1;cursor:pointer}.community-post__unapprove button:hover{border-color:#e25656;color:#c53434}.community-post__meta{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:.84rem}.community-post__avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--violet);color:#fff;font-weight:800}.community-post h2{font-size:1.28rem;line-height:1.22;margin:17px 0 8px}.community-post p{color:var(--muted);margin:0;white-space:pre-wrap}.community-post img{width:100%;max-height:320px;object-fit:cover;border-radius:12px;margin-top:17px}.community-tag{display:inline-block;margin-top:17px;padding:4px 9px;border-radius:99px;background:#eceaff;color:#5143d8;font-size:.78rem;font-weight:800}.community-empty{grid-column:1/-1;padding:42px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:18px}.post-modal{position:fixed;z-index:50;inset:0;display:none;padding:5vh 16px;background:#0f172a8a}.post-modal.open{display:block}.post-dialog{width:min(100%,610px);max-height:90vh;overflow:auto;margin:auto;padding:26px;background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:0 24px 70px #0006}.post-dialog__top{display:flex;justify-content:space-between;align-items:center;gap:16px}.post-dialog h2{margin:0}.post-close{width:38px;height:38px;background:transparent;color:var(--ink);border:1px solid var(--line);border-radius:10px;font-size:1.2rem}.post-dialog textarea,.post-dialog input,.post-dialog select{width:100%;padding:11px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink);font:inherit}.post-dialog textarea{min-height:140px;resize:vertical}.community-note{margin:12px 0;color:var(--muted);font-size:.88rem}.dark-mode .community{background:linear-gradient(135deg,#242047,transparent 42%),var(--paper)}.dark-mode .community-tag{background:#312b64;color:#d7d3ff}@media(max-width:760px){.community{padding:34px 0 60px}.community-head{align-items:start;flex-direction:column}.community-grid{grid-template-columns:1fr}.post-dialog{padding:20px}}
