@font-face{font-family:TT Halloween;src:url('../assets/fonts/creepster/Creepster-Regular.ttf') format('truetype');font-display:swap}
.community-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.community-left{min-width:0;display:grid;gap:24px}.community-section>h3,.community-news>h3{font-size:19px;margin:0 0 12px}.community-list{display:grid;gap:16px}.community-empty{padding:24px;border:1px dashed var(--border,#d7dfe9);border-radius:16px;color:var(--muted,#697386);font-size:14px;line-height:1.6;margin:0}.community-card{overflow:hidden;border:1px solid var(--border,#d7dfe9);border-radius:18px;background:var(--surface-solid,#fff);color:var(--text,#202735)}.community-card-body{padding:16px}.community-card h4{margin:0 0 8px;font-size:17px;line-height:1.4}.community-card time{display:block;font-size:13px;color:var(--muted,#697386)}.community-image{display:block;width:100%;max-height:300px;object-fit:contain;background:var(--surface-soft,#eef2f7)}
.community-halloween{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;width:100%;container-type:inline-size;min-height:160px;aspect-ratio:3/1;overflow:hidden;padding:20px 7%;background:radial-gradient(ellipse at 85% 80%,#8b3e17,#21161c 65%);color:#ffac46}.community-halloween::before,.community-halloween::after{content:'';position:absolute;inset:0;z-index:-1;background:url('../app/splash/web.svg') top left/34% auto no-repeat;opacity:.25}.community-halloween::after{transform:rotate(180deg);opacity:.16}.community-halloween strong{max-width:62%;font:400 clamp(26px,10cqw,56px)/1.1 'TT Halloween',fantasy;letter-spacing:.02em;text-shadow:0 3px 0 #160b09}.community-halloween img{position:absolute;right:4%;top:10%;height:80%;width:34%;object-fit:contain;filter:drop-shadow(0 8px 10px #0007);transform:rotate(7deg)}
.community-poll-options{display:grid;gap:8px;margin:12px 0}.community-poll-option{border:1px solid var(--border,#d7dfe9);background:var(--surface-soft,#f1f5fa);color:inherit;text-align:left;padding:11px 13px;border-radius:10px;font:inherit;font-size:14px;cursor:pointer}.community-poll-option:enabled:hover{border-color:#7799d1;background:color-mix(in srgb,#77a5ed 12%,var(--surface-solid,#fff))}.community-poll-option[aria-pressed=true]{border-color:#6d94ce;background:color-mix(in srgb,#77a5ed 18%,var(--surface-solid,#fff))}.community-poll-option:disabled{cursor:default}.community-vote-note{font-size:13px;color:var(--muted,#697386);margin:8px 0 0}.community-results{display:grid;gap:8px;margin-top:14px}.community-result{position:relative;isolation:isolate;overflow:hidden;border-radius:8px;background:var(--surface-soft,#eef2f7);padding:10px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.community-result i{position:absolute;z-index:-1;left:0;top:0;bottom:0;background:color-mix(in srgb,#81a8e1 30%,transparent)}.community-result span{overflow-wrap:anywhere}.community-result b{white-space:nowrap}.community-results>small{color:var(--muted,#697386)}.community-status{font-size:13px;color:var(--muted,#697386);min-height:18px}.community-retry{border:1px solid var(--border,#d7dfe9);border-radius:9px;padding:7px 12px;background:var(--surface-soft,#eef2f7);color:inherit;cursor:pointer}
.settings-pane--community .settings-page-heading{margin-bottom:20px}.settings-pane--community .settings-feed-content{max-height:none;overflow:visible}.settings-pane--community .settings-feed-content .changelog-entry{padding:16px;margin-top:12px}.settings-pane--community .settings-feed-content .changelog-entry h1{font-size:22px}
@media(max-width:850px){.community-layout{grid-template-columns:1fr}}


.community-event-open{display:block;width:100%;padding:0;border:0;background:transparent;color:inherit;text-align:inherit;cursor:pointer}.community-event-open:hover{filter:brightness(1.08)}.community-event-open:focus-visible{outline:3px solid #7ba5df;outline-offset:-3px}.community-event-dialog{box-sizing:border-box;width:min(900px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;overflow:auto;border:1px solid var(--border,#d7dfe9);border-radius:20px;background:var(--surface-solid,#fff);color:var(--text,#202735);box-shadow:0 24px 80px #0004}.community-event-dialog::backdrop{background:#11182799;backdrop-filter:blur(4px)}.community-event-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px}.community-event-dialog h2{margin:0;font-size:24px;overflow-wrap:anywhere}.community-event-dialog>.community-image{max-height:65dvh;object-fit:contain}.community-event-details{padding:24px}.community-event-details time{font-size:14px;color:var(--muted,#697386)}.community-event-description{margin:16px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.65}.community-event-description:first-child{margin-top:0}

.community-event-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.community-event-title>span:first-child{overflow-wrap:anywhere;min-width:0}.community-upcoming{display:inline-flex;align-items:center;padding:4px 9px;border:1px solid #abc8ed;border-radius:999px;background:#eaf3ff;color:#315f96;font-size:11px;font-weight:700;line-height:1.25;white-space:nowrap}

#community-events{max-height:min(52dvh,520px);overflow-y:auto;overscroll-behavior:contain;grid-auto-rows:max-content;align-content:start;padding:3px;scrollbar-width:thin;scrollbar-color:var(--border,#c5cfdd) transparent}
#community-events:focus-visible{outline:2px solid #7ba5df;outline-offset:3px;border-radius:12px}
.community-loading{display:flex;align-items:center;gap:9px;padding:12px 3px;color:var(--muted,#697386);font-size:13px}
.community-loading[hidden]{display:none}
.community-loading::before{content:'';width:15px;height:15px;flex:none;border:2px solid var(--border,#d7dfe9);border-top-color:#7799d1;border-radius:50%;animation:community-events-spin .8s linear infinite}
@keyframes community-events-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.community-loading::before{animation:none}}
