/* CommunityHub Theme v0.4.361 — Community progression + Event Hub presentation. */
body.ch-theme .ch-community-streaks{border-color:color-mix(in srgb,#f97316 22%,var(--ch-theme-border));background:linear-gradient(145deg,color-mix(in srgb,var(--ch-theme-surface) 94%,#fff7ed 6%),var(--ch-theme-surface));box-shadow:0 14px 34px rgba(15,23,42,.07)}
body.ch-theme .ch-community-streaks::before{content:"";position:absolute;inset:-60% -20%;pointer-events:none;background:linear-gradient(105deg,transparent 39%,rgba(249,115,22,.075) 49%,transparent 60%);transform:translateX(-55%);animation:chThemeStreakSweep 9s ease-in-out infinite}@keyframes chThemeStreakSweep{0%,35%{transform:translateX(-58%)}65%,100%{transform:translateX(58%)}}
body.ch-theme .ch-community-streaks__fire{background:radial-gradient(circle at 35% 25%,#ffedd5,#fb923c 45%,#ea580c 100%);box-shadow:0 8px 22px rgba(234,88,12,.18)}
body.ch-theme .ch-community-streaks__head strong,body.ch-theme .ch-community-streaks__copy strong,body.ch-theme .ch-community-streaks__value strong{color:var(--ch-theme-text)}body.ch-theme .ch-community-streaks__head p,body.ch-theme .ch-community-streaks__copy small,body.ch-theme .ch-community-streaks__value span,body.ch-theme .ch-community-streaks__foot{color:var(--ch-theme-muted)}
body.ch-theme .ch-community-streaks__item{border-color:var(--ch-theme-border);background:color-mix(in srgb,var(--ch-theme-surface-soft) 82%,transparent);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}body.ch-theme .ch-community-streaks__item:hover{transform:translateY(-1px);border-color:color-mix(in srgb,#fb923c 34%,var(--ch-theme-border));box-shadow:0 8px 20px rgba(15,23,42,.06)}
body.ch-theme .ch-community-streaks__bonus{padding:7px 10px;border:1px solid rgba(245,158,11,.24);border-radius:11px;background:rgba(245,158,11,.09);color:#b45309}body.ch-theme .ch-community-streaks.is-celebrating{border-color:rgba(245,158,11,.42);box-shadow:0 15px 36px rgba(245,158,11,.13)}
body.ch-theme .ch-reward-boost{border-color:rgba(245,158,11,.54);background:linear-gradient(135deg,#171005,#3a2704 52%,#17110a);box-shadow:0 16px 36px rgba(90,58,0,.22)}body.ch-theme .ch-reward-boost.is-live .ch-reward-boost__badge{animation:chThemeBoostPulse 2.2s ease-in-out infinite}@keyframes chThemeBoostPulse{0%,100%{box-shadow:0 0 0 4px rgba(251,191,36,.11),0 8px 20px rgba(0,0,0,.22)}50%{box-shadow:0 0 0 8px rgba(251,191,36,.04),0 10px 24px rgba(0,0,0,.25)}}
body.ch-theme .ch-reward-boost.is-live .ch-reward-boost__pulse{animation:chThemeBoostRing 2.2s ease-out infinite}@keyframes chThemeBoostRing{0%{opacity:.8;transform:translateY(-50%) scale(.75)}75%,100%{opacity:0;transform:translateY(-50%) scale(1.45)}}
html[data-ch-theme-mode="dark"] body.ch-theme .ch-community-streaks{background:linear-gradient(145deg,rgba(35,27,23,.96),rgba(16,20,29,.97));border-color:rgba(251,146,60,.18);box-shadow:0 14px 34px rgba(0,0,0,.24)}html[data-ch-theme-mode="dark"] body.ch-theme .ch-community-streaks__item{background:rgba(30,41,59,.50);border-color:rgba(148,163,184,.13)}html[data-ch-theme-mode="dark"] body.ch-theme .ch-community-streaks__bonus{color:#fdba74;background:rgba(249,115,22,.10);border-color:rgba(251,146,60,.22)}
@media(max-width:760px){body.ch-theme .ch-community-streaks,body.ch-theme .ch-reward-boost{box-shadow:0 9px 22px rgba(15,23,42,.07)}}
@media(prefers-reduced-motion:reduce){body.ch-theme .ch-community-streaks::before,body.ch-theme .ch-reward-boost__badge,body.ch-theme .ch-reward-boost__pulse{animation:none!important}body.ch-theme .ch-community-streaks__item{transition:none!important}}

/* v0.4.361 — Community Event Hub presentation. */
body.ch-theme .ch-event-hub__hero{position:relative;overflow:hidden;border-color:color-mix(in srgb,var(--ch-theme-primary,#2271b1) 24%,var(--ch-theme-border));background:linear-gradient(145deg,color-mix(in srgb,var(--ch-theme-surface) 94%,var(--ch-theme-primary,#2271b1) 6%),var(--ch-theme-surface));box-shadow:0 18px 44px rgba(15,23,42,.08)}body.ch-theme .ch-event-hub__hero::after{content:"";position:absolute;width:260px;height:260px;right:-110px;top:-140px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--ch-theme-primary,#2271b1) 18%,transparent),transparent 68%);pointer-events:none}body.ch-theme .ch-event-hub__hero h1,body.ch-theme .ch-event-hub__section-head h2,body.ch-theme .ch-event-hub__summary strong,body.ch-theme .ch-event-hub__empty strong{color:var(--ch-theme-text)}body.ch-theme .ch-event-hub__hero p,body.ch-theme .ch-event-hub__section-head p,body.ch-theme .ch-event-hub__summary span,body.ch-theme .ch-event-hub__empty p{color:var(--ch-theme-muted)}body.ch-theme .ch-event-hub__eyebrow,body.ch-theme .ch-event-hub__section-head span{color:var(--ch-theme-primary,#2271b1)}body.ch-theme .ch-event-hub__summary>div{border-color:var(--ch-theme-border);background:color-mix(in srgb,var(--ch-theme-surface-soft) 86%,transparent)}body.ch-theme .ch-event-hub__section{padding:18px;border:1px solid var(--ch-theme-border);border-radius:18px;background:color-mix(in srgb,var(--ch-theme-surface) 96%,transparent);box-shadow:0 10px 28px rgba(15,23,42,.045)}body.ch-theme .ch-event-hub__empty,body.ch-theme .ch-event-hub-login{border-color:var(--ch-theme-border);background:var(--ch-theme-surface);color:var(--ch-theme-text)}html[data-ch-theme-mode="dark"] body.ch-theme .ch-event-hub__hero{background:linear-gradient(145deg,rgba(20,31,48,.98),rgba(15,20,29,.98));box-shadow:0 18px 44px rgba(0,0,0,.28)}html[data-ch-theme-mode="dark"] body.ch-theme .ch-event-hub__section{background:rgba(18,24,34,.82);box-shadow:0 12px 30px rgba(0,0,0,.2)}@media(max-width:760px){body.ch-theme .ch-event-hub__section{padding:14px;border-radius:15px}}
