body { overflow:auto; background:#f7f7fc; }
.community-top { background:#fff; }
.community-exit { color:#4e307e; font-weight:650; }
.community-page { width:min(720px, calc(100% - 32px)); margin:clamp(24px,5vh,56px) auto 0; padding-bottom:40px; }
.community-page svg,.community-nav svg { width:20px; height:20px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.community-page [hidden] { display:none; }
.community-heading { border-bottom:1px solid #e5e0ed; padding:0 0 20px; margin-bottom:22px; }
.community-title-row { display:flex; gap:12px; flex-wrap:wrap; align-items:center; justify-content:space-between; }
.community-heading h1 { margin:0; font-size:clamp(2rem,7vw,3.25rem); letter-spacing:-.045em; line-height:1.05; }
.community-heading p { margin:10px 0 0; color:#5e576d; }
.community-city { display:grid; grid-template-columns:18px 1fr 15px; align-items:center; position:relative; border:1px solid #ded7e9; border-radius:12px; background:#fff; color:#392360; }
.community-city svg { width:17px; height:17px; pointer-events:none; z-index:1; }
.community-city svg:first-child { grid-column:1; grid-row:1; margin-left:10px; }
.community-city svg:last-child { grid-column:3; grid-row:1; justify-self:end; margin-right:9px; width:14px; }
.community-city select { grid-area:1/1/2/4; appearance:none; min-height:44px; border:0; padding:0 30px 0 32px; border-radius:inherit; background:transparent; color:inherit; font:inherit; font-weight:700; }
.community-demo { padding:10px 14px; margin:0 0 14px; border-radius:10px; background:#fff1dc; color:#754300; font-weight:650; }
.community-notices { display:grid; gap:12px; }
.community-notice,.community-empty { border:1px solid #e6deef; background:#fff; border-radius:18px; padding:clamp(16px,3vw,22px); }
.community-notice { --tag-ink:#572793; --tag-surface:#efe5fb; box-shadow:0 3px 9px #23104808; }
.community-notice[data-kind="cancelacion"] { --tag-ink:#972c47; --tag-surface:#fce6ed; }
.community-notice[data-kind="ingreso"] { --tag-ink:#825006; --tag-surface:#fff0d6; }
.community-notice[data-kind="sede"] { --tag-ink:#186651; --tag-surface:#e5f5ef; }
.notice-kind { display:inline-flex; align-items:center; gap:6px; font-weight:750; font-size:.82rem; margin:0 0 10px; padding:5px 9px; border-radius:8px; background:var(--tag-surface); color:var(--tag-ink); }
.notice-kind svg { width:16px; height:16px; }
.community-notice h2 { font-size:clamp(1.22rem,4vw,1.5rem); line-height:1.16; letter-spacing:-.023em; margin:0 0 7px; }
.notice-detail { color:#524a61; line-height:1.45; margin:0 0 13px; }
.notice-event { display:grid; grid-template-columns:20px minmax(0,1fr) 18px; gap:10px; align-items:center; padding:9px 10px; border-radius:10px; background:#f5f0fc; color:#4b247f; text-decoration:none; }
.notice-event span { min-width:0; display:grid; gap:1px; }
.notice-event time { font-size:.83rem; color:#5c506c; }
.notice-meta { display:flex; flex-wrap:wrap; column-gap:12px; align-items:center; color:#5e576c; font-size:.8rem; margin-top:7px; overflow-wrap:anywhere; }
.notice-meta a { display:inline-flex; gap:5px; min-height:44px; align-items:center; color:#532697; font-weight:750; }
.community-empty { text-align:center; padding:32px 12px; }
.empty-symbol { display:grid; place-items:center; width:50px; height:50px; margin:0 auto 12px; border-radius:16px; background:#f1e7fc; color:#6330a3; }
.empty-symbol svg { width:27px; height:27px; }
.community-empty h2 { font-size:1.18rem; margin:0; }
.community-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:15px; }
.community-actions a { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:44px; padding:0 12px; border-radius:11px; font-weight:750; font-size:.9rem; text-decoration:none; }
.community-report { background:#5b26ac; color:#fff; }
.community-agenda { background:#fff; color:#532697; border:1px solid #ddd4e9; }
.community-nav svg { width:19px; height:19px; }
.community-page :focus-visible,.community-nav :focus-visible { outline:2px solid #6932ac; outline-offset:3px; }

@media (max-width:760px) {
  .community-page { padding-bottom:calc(84px + env(safe-area-inset-bottom)); }
  .community-nav { position:fixed; inset:auto 0 0; z-index:3; padding-bottom:max(4px, env(safe-area-inset-bottom)); }
}

