.community-page{width:min(1000px,100%);margin:0 auto;padding:34px 24px 64px}.community-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px}.community-hero h1{font-size:30px;letter-spacing:-1px;margin:0 0 7px}.community-hero p{color:var(--muted);margin:0}.community-hero>.button{flex-shrink:0}
.community-filters,.community-entry{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:20px}.community-filters{display:flex;gap:12px;flex-wrap:wrap;align-items:end;padding:16px}.community-filters label{flex:1 1 110px}.community-filters .community-search{flex:2 1 180px}.community-page label,.community-compose-dialog label,.community-report label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600}.community-page input,.community-page select,.community-compose-dialog input,.community-compose-dialog select,.community-compose-dialog textarea,.community-report select{width:100%;border:1px solid var(--line);background:var(--bg);color:var(--text);border-radius:8px;padding:10px 12px;min-height:44px;font:inherit}.community-compose-dialog textarea{resize:vertical;line-height:1.7}.community-compose-dialog textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.community-entry{margin-bottom:14px;animation:community-arrive .2s ease both}.community-entry-header{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.community-entry time{font-size:11px;color:var(--muted);margin-left:auto}.community-badge{background:var(--active);color:var(--blue);font-size:11px;border-radius:5px;padding:3px 7px}.community-entry-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.9;margin:16px 0}.community-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.community-action,.community-text-button{background:transparent;border:1px solid var(--line);padding:7px 11px;border-radius:7px;font:inherit;font-size:12px;min-height:38px;color:var(--muted)}.community-action:hover,.community-text-button:hover{background:var(--active);color:var(--blue)}.community-action[aria-pressed=true]{color:var(--blue);border-color:var(--accent);background:var(--active)}.community-action:active,.community-page .button:active{transform:scale(.97)}.community-page button,.community-page a{transition:background .16s ease,color .16s ease,transform .16s ease}.community-page button:disabled,.community-compose-dialog button:disabled{opacity:.55;cursor:wait}
.community-replies{border-left:2px solid var(--line);margin-top:18px;padding-left:14px}.community-replies .community-entry{border-radius:9px;padding:14px;background:var(--card)}.community-replies .community-entry time{margin-left:0}.community-pages{display:flex;gap:16px;align-items:center;justify-content:center;margin-top:24px}.community-empty{padding:44px 24px;text-align:center;border:1px dashed var(--line);border-radius:12px;color:var(--muted)}.community-trap{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.community-rules{margin-top:28px;padding:12px 16px;border:1px solid var(--line);border-radius:10px}.community-rules summary{cursor:pointer;font-size:12px;font-weight:400;min-height:24px;color:var(--muted)}.community-rules p{font-size:12px;line-height:1.8;color:var(--muted)}.community-rules summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.community-compose-dialog,.community-report{width:min(560px,calc(100% - 28px));max-height:90dvh;padding:0;border:1px solid var(--line);border-radius:14px;background:var(--panel);color:var(--text)}.community-compose-dialog::backdrop,.community-report::backdrop{background:#11182766}.community-panel{padding:24px}.community-panel form{display:grid;gap:15px}.community-panel p{font-size:12px;line-height:1.8}.community-compose-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.community-compose-heading h2{font-size:20px;margin:0}.community-report{max-width:420px;padding:24px}.community-report h2{margin-top:0}.community-error{color:#b42318}.community-replies[hidden],.community-compose-dialog [hidden]{display:none}.community-meta-note{font-size:11px;color:var(--muted);margin:5px 0}.community-closed{color:var(--muted);font-size:12px}.community-page .button,.community-compose-dialog .button{display:inline-flex;align-items:center;justify-content:center;min-height:44px}
@keyframes community-arrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(max-width:520px){.community-page{padding:22px 14px 44px}.community-hero{gap:12px}.community-hero h1{font-size:26px}.community-hero p{font-size:12px}.community-entry{padding:17px}.community-filters{padding:14px;gap:10px}.community-filters label,.community-filters .community-search{flex-basis:calc(50% - 10px)}.community-entry time{width:100%;margin-left:0}.community-replies{padding-left:8px}.community-action{min-height:44px}.community-actions{gap:7px}.community-panel{padding:18px}.community-panel form{grid-template-columns:1fr 1fr}.community-panel form>label:nth-of-type(3),.community-panel form>p,.community-panel form>.button,.community-panel form>.community-trap,.community-panel form>#community-cancel{grid-column:1/-1}}@media(prefers-reduced-motion:reduce){.community-page *{animation:none;transition:none}}
@media(max-width:650px){
    .community-page input,.community-page select,.community-compose-dialog input,.community-compose-dialog select,.community-compose-dialog textarea,.community-report select{font-size:16px}
    .community-text-button{min-height:44px}
}
.community-view{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin:16px 0 8px;color:var(--muted);font-size:12px}
.community-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.community-grid>.community-entry{margin:0;min-width:0}
.community-grid .community-collapsible:not(.community-expanded){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden}
.community-expand{display:none;margin:0 0 12px}
.community-grid>.community-entry>.community-expand{display:inline-flex}
.community-grid>.community-empty{grid-column:1/-1}
.community-emoji summary{cursor:pointer;color:var(--blue);font-size:13px}
.community-emoji summary{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--line);border-radius:8px;list-style:none}
.community-emoji summary::-webkit-details-marker{display:none}
.community-emoji summary:hover,.community-emoji summary:focus-visible{background:var(--active)}
.community-emoji summary .community-emoji-image{width:25px;height:25px}
.community-emoji-list{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px;margin-top:10px;max-height:180px;overflow-y:auto;overscroll-behavior:contain}
.community-emoji-button{border:1px solid transparent;border-radius:8px;background:transparent;min-height:40px;cursor:pointer}
.community-emoji-button:hover,.community-emoji-button:focus-visible{background:var(--active);border-color:var(--line)}
.community-emoji-image{width:1.35em;height:1.35em;vertical-align:-.28em;object-fit:contain}
.community-emoji-button .community-emoji-image{width:27px;height:27px;vertical-align:middle}
@media(max-width:650px){.community-grid{grid-template-columns:1fr}.community-panel form>.community-emoji{grid-column:1/-1}}
