/* ==========================================================================
   Circles · one page per circle, in its colour and its world (members/backdrops.js), on the Events bones (events.css).
   ========================================================================== */
.cc-page { --c: #1d8fc4; min-height: 100vh; }
.cc-bg .mc-bubbles i { --bubble: color-mix(in srgb, var(--c) 50%, transparent); }
.cc-bg .mc-bubbles i:nth-child(3n) { --bubble: rgba(255, 255, 255, .3); }
.cc-switch { position: absolute; right: clamp(12px, 3vw, 28px); top: 14px; display: flex; gap: 6px; z-index: 2; }
.cc-switch-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; padding: 7px; box-sizing: border-box; background: rgba(255, 255, 255, .12); color: var(--c); border: 1px solid rgba(255, 255, 255, .18); transition: transform .2s var(--mc-ease), background .2s ease; }
.cc-switch-dot .mc-icon { filter: brightness(1.1); }
.cc-switch-dot:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .22); }
.cc-switch-dot.is-on { background: #fff; box-shadow: 0 0 0 2px var(--c), 0 8px 20px color-mix(in srgb, var(--c) 50%, transparent); }
.cc-hero { padding-top: clamp(40px, 8vh, 80px); }
.cc-medallion { position: relative; display: inline-grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; padding: 3px; margin-bottom: 14px;
  box-shadow: 0 20px 50px -10px color-mix(in srgb, var(--c) 80%, transparent), 0 0 40px color-mix(in srgb, var(--c) 35%, transparent); }
.cc-medallion::before { content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: 0;
  background: conic-gradient(var(--c), #fff 25%, color-mix(in srgb, var(--c) 60%, #fff) 50%, #fff 75%, var(--c)); animation: cc-turn 6s linear infinite; }
@keyframes cc-turn { to { transform: rotate(360deg); } }
.cc-medallion-face { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; padding: 20%; box-sizing: border-box; color: var(--c);
  background: radial-gradient(circle at 34% 26%, #fff 0%, #f6faff 48%, color-mix(in srgb, var(--c) 20%, #eaf1fb) 100%); }
.cc-medallion-face .mc-icon { filter: brightness(.86) saturate(1.2); }
.cc-hero .mc-kicker { color: color-mix(in srgb, var(--c) 70%, #fff); }
.cc-btn { background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #1d8fc4)); box-shadow: 0 10px 26px color-mix(in srgb, var(--c) 40%, transparent); }
.cc-ping-btn { gap: 8px; }
.cc-ping { display: grid; justify-items: center; margin: 0 auto 36px; }
.cc-ping-form .mc-q { font-size: clamp(24px, 4vw, 32px); }
.cc-ping-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cc-ping-actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.cc-place { position: relative; }
.cc-events, .cc-members, .cc-courses, .ev-live { max-width: 1180px; margin: 0 auto 40px; }
.cc-more { color: #fff; opacity: .8; font-size: 13.5px; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.cc-more:hover { opacity: 1; }
.cc-faces { display: flex; flex-wrap: wrap; gap: 12px; }
.cc-face { display: grid; justify-items: center; gap: 6px; text-decoration: none; color: #fff; width: 72px; opacity: 0; animation: ev-rise .6s var(--mc-ease) forwards; animation-delay: calc(var(--i) * 40ms); }
.cc-face .ev-face { width: 52px; height: 52px; margin: 0; font-size: 18px; border-color: rgba(255, 255, 255, .7); }
.cc-face small { font-size: 12px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.cc-courses-lede { margin: -6px 0 14px; text-align: left; max-width: none; }
.cc-search { max-width: 560px; background: rgba(255, 255, 255, .92); border-radius: 18px; display: flex; align-items: center; gap: 10px; padding: 0 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.cc-course-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; margin-top: 14px; }
.cc-course { display: grid; gap: 6px; padding: 14px 16px; border-radius: 18px; background: #fff; color: var(--mc-ink); box-shadow: 0 14px 34px rgba(5, 20, 45, .35); }
.cc-course b { font: 600 17px/1.2 var(--mc-serif); }
.cc-course small { color: var(--mc-muted); font-size: 13px; }
.cc-course-row { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.cc-course-row .mc-btn { min-height: 38px; padding: 8px 14px; font-size: 13.5px; }

/* the index: five tiles */
.cc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 14px; max-width: 1180px; margin: 10px auto 0; }
.cc-tile { --c: #1d8fc4; display: grid; gap: 10px; padding: 22px 18px; border-radius: 24px; text-decoration: none; color: var(--mc-ink); background: #fff;
  box-shadow: 0 18px 44px rgba(5, 20, 45, .4); transition: transform .3s var(--mc-ease), box-shadow .3s ease; opacity: 0; animation: ev-rise .6s var(--mc-ease) forwards; animation-delay: calc(var(--i) * 70ms); }
.cc-tile:hover { transform: translateY(-4px); box-shadow: 0 28px 60px rgba(5, 20, 45, .5), 0 0 0 2px var(--c); }
.cc-tile-icon { width: 56px; height: 56px; color: var(--c); }
.cc-tile-icon .mc-icon { filter: brightness(.88) saturate(1.15); }
.cc-tile b { font: 600 24px/1 var(--mc-serif); }
.cc-tile small { color: var(--mc-muted); font-size: 13.5px; line-height: 1.4; }

.cc-out { opacity: 0; transform: translateY(-8px); transition: opacity .16s ease, transform .16s ease; pointer-events: none; }
