/* Clubhouse section styles. Widget classes (w-*, including the quick-actions grid) come from
   widgets.css. Only Clubhouse-specific glue lives here.

   The "content" classes below are deliberately unscoped (not prefixed .clubhouse), because
   they're reused both on the page (inside .clubhouse) and inside sheets this section opens
   (SHOT.sheet renders into #sheet-body, which sits outside #main/.clubhouse entirely). */

/* ---------- shared content classes: page + sheets ---------- */
.cs-caption { font-size: 12px; color: var(--shot-text-muted); margin: 0 0 var(--s3); }
.cs-card-kind { display: flex; align-items: center; gap: 6px; font-size: var(--fs-caption); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--shot-text-muted); margin-bottom: 4px; }
.cs-card-kind svg { width: 13px; height: 13px; }
.cs-card-title { font-family: var(--font-heading); font-weight: 600; font-size: 14px; }
.cs-card-body { font-size: var(--fs-small); color: var(--shot-text-secondary); line-height: 1.4; margin: 4px 0 0; max-width: min(65ch, 720px); }
.cs-card-meta { font-size: var(--fs-caption); color: var(--shot-text-muted); margin-top: 3px; }
.cs-who { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--shot-text-secondary); margin-bottom: 6px; }
.cs-row-ic { display: inline-flex; color: var(--status-upcoming-text); }
.cs-row-ic svg { width: 18px; height: 18px; }
.cs-row-ic.is-blocked { color: var(--shot-error-text); }
.w-btn-row > .cs-dismiss { width: 52px; flex: none; padding: 0; }

/* ---------- sheet-only detail rows (event / past-event sheets) ---------- */
.sheet-meta { font-size: 12px; color: var(--shot-text-muted); margin: 0 0 var(--s2); }
.sheet-row { display: flex; align-items: center; gap: var(--s2); font-size: var(--fs-small); color: var(--shot-text-secondary); margin-bottom: 6px; }
.sheet-row svg { width: 16px; height: 16px; color: var(--status-upcoming-text); flex: none; }
.sheet-quote { background: var(--shot-surface-light); border-left: 3px solid var(--shot-teal); border-radius: 0 var(--r-md) var(--r-md) 0; padding: var(--s3); margin: var(--s3) 0; font-size: var(--fs-small); line-height: 1.5; }
.sheet-quote footer { font-size: var(--fs-caption); color: var(--shot-text-muted); margin-top: 6px; font-style: normal; }
.cs-msg-heading { font-size: var(--fs-caption); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--shot-text-muted); margin: var(--s4) 0 var(--s2); }
.cs-msg-heading:first-child { margin-top: 0; }

/* ---------- page-only overrides ---------- */
.clubhouse .cs-childpicker { margin-bottom: var(--s3); }
.cs-club-snapshot { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s1); line-height: 1.45; }
.cs-club-snapshot strong { font-family: var(--font-heading); font-size: 1rem; }
.cs-club-snapshot > span:not(.cs-club-snapshot-actions) { font-size: var(--fs-small); color: var(--shot-text-secondary); }
.cs-club-snapshot-team { font-weight: 700; }
.cs-club-snapshot-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s2); }
.cs-club-snapshot-actions a, .cs-club-snapshot-actions button { display: inline-flex; align-items: center; gap: var(--s1); min-height: 44px; border: 0; padding: 0; background: none; color: var(--status-upcoming-text); font: inherit; font-weight: 700; cursor: pointer; }
.cs-club-snapshot-actions svg { width: 16px; height: 16px; }
.cs-childpicker-label { color: var(--shot-text-secondary); font-size: var(--fs-caption); font-weight: 600; margin-bottom: var(--s2); }

/* ---------- For You groups: quick actions / live now / your development / community, each in
   its own .cs-group, a consistent divider between them (24 Sep 2026, decluttered per Liam). ---------- */
.cs-group + .cs-group { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--shot-border); }

/* Quick Actions Card (matching app.shotclubhouse.com) */
.cs-qa-card {
  background: var(--shot-surface);
  border: 1px solid var(--shot-border);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 14px;
}
.cs-qa-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cs-qa-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--shot-text);
  margin: 0;
}
.cs-qa-card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cs-qa-toggle-btn {
  background: transparent;
  border: none;
  color: var(--shot-text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  min-width: 36px;
  min-height: 36px;
}
.cs-qa-toggle-btn svg, .cs-qa-toggle-btn i {
  width: 18px;
  height: 18px;
}
.cs-qa-chip--edit {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--status-upcoming-text) !important;
  font-weight: 700;
  font-size: 13px;
  padding: 0 !important;
  min-height: 32px !important;
  gap: 4px !important;
  display: inline-flex;
  align-items: center;
}
.cs-qa-chip--edit svg, .cs-qa-chip--edit i {
  color: var(--status-upcoming-text) !important;
  width: 14px;
  height: 14px;
}

.cs-qa-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: space-between;
  padding: 2px 0;
}
.cs-qa-row::-webkit-scrollbar { display: none; }

.cs-qa-chip:not(.cs-qa-chip--edit) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  min-width: 64px;
  flex: 1;
  text-decoration: none;
  cursor: pointer;
  color: var(--shot-text);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
}
.cs-qa-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--shot-surface-light);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  color: var(--status-upcoming-text);
  flex: none;
}
.cs-qa-icon-wrap svg, .cs-qa-icon-wrap i {
  width: 20px;
  height: 20px;
}

/* Scrollable Filter Pills under Quick Actions */
.cs-filter-pills-wrap {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 6px 0 16px;
  padding: 2px 0 6px;
  scrollbar-width: none;
}
.cs-filter-pills-wrap::-webkit-scrollbar { display: none; }
.cs-filter-pill {
  display: inline-flex;
  align-items: center;
  height: 44px;
  min-width: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--shot-surface);
  color: var(--shot-text-secondary);
  border: 1px solid var(--shot-border);
  cursor: pointer;
  white-space: nowrap;
}
.cs-filter-pill.is-active {
  background: var(--shot-teal);
  color: #000;
  border-color: var(--shot-teal);
  font-weight: 700;
}

/* Event Cards (matching Screenshot 1) */
.cs-events-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cs-live-event-card {
  display: flex;
  gap: 12px;
  background: var(--shot-surface);
  border-radius: 16px;
  box-shadow: var(--e-default);
  padding: 12px 14px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  align-items: stretch;
}
.cs-live-event-card:hover { background: var(--shot-surface-hover); }
.ev-date-tile {
  width: 44px;
  min-height: 52px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: none;
  line-height: 1.1;
}
.ev-date-tile--match {
  background: #241A08;
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #F59E0B;
}
.ev-date-tile--training {
  background: #062320;
  border: 1px solid rgba(20, 184, 166, 0.4);
  color: var(--shot-teal);
}
.ev-date-day {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.ev-date-num {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
}
.ev-card-content {
  flex: 1;
  min-width: 0;
}
.ev-card-badges {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  overflow: hidden;
  margin-bottom: 4px;
}
.ev-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9.5px;
  font-weight: 700;
  border-radius: 5px;
  padding: 2px 5px;
  letter-spacing: .02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.ev-badge-pill svg, .ev-badge-pill i {
  width: 11px;
  height: 11px;
}
.ev-badge-pill--match {
  background: rgba(245, 158, 11, 0.2);
  color: var(--status-past-text);
}
.ev-badge-pill--training {
  background: rgba(20, 184, 166, 0.2);
  /* The text-safe teal: raw teal on the light tint is 2:1 in Mixed and Light (tools/contrast.mjs). */
  color: var(--status-upcoming-text);
}
.ev-badge-pill--rsvp, .ev-badge-pill--eval {
  background: rgba(255, 255, 255, 0.06);
  color: var(--shot-text-secondary);
}
.ev-dot-amber {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F59E0B;
  display: inline-block;
}
.ev-card-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--shot-text);
  line-height: 1.25;
  margin: 2px 0 4px;
  word-break: break-word;
}
.ev-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 12px;
  color: var(--shot-text-muted);
  min-width: 0;
  max-width: 100%;
}
.ev-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ev-card-meta svg, .ev-card-meta i {
  width: 13px;
  height: 13px;
}
.sec-item-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--shot-text-muted);
  margin-left: 6px;
  letter-spacing: .04em;
}

/* Communities Strip Initials & Subroles (Screenshot 1) */
.cs-strip-initials {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--shot-text);
}
.cs-strip-subrole {
  font-size: 10px;
  color: var(--status-upcoming-text);
  max-width: 76px;
  margin-top: 1px;
  line-height: 1.15;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Quick actions edit sheet (coach/parent): a selected row with reorder + remove
   controls. Built on w.card rather than w.listRow, whose end slot is a fixed-height single line
   with no wrap and would overflow at 390px with three controls in it (see clubhouse.js). ---------- */
.cs-qa-editrow { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s2); }
.cs-qa-editrow-label { flex: 1; min-width: 90px; font-weight: 600; font-size: var(--fs-small); }
.cs-qa-editrow-controls { display: flex; gap: 6px; flex: none; }
.cs-qa-reset { margin-top: var(--s4); }

/* ---------- Your communities strip: a horizontal row of community tiles (icon in the community's
   own brand colour, unread dot, LIVE marker), plus a trailing "Find more" tile into Discover. ---------- */
.cs-strip-tile {
  display: flex; flex-direction: column; align-items: center; gap: 4px; width: 72px; flex: none;
  text-align: center; color: inherit; text-decoration: none; min-height: 44px; padding-top: 2px;
}
.cs-strip-ic {
  position: relative; width: 48px; height: 48px; border-radius: 50%; background: var(--shot-surface-light);
  color: var(--c, var(--status-upcoming-text)); display: flex; align-items: center; justify-content: center;
}
.cs-strip-ic svg, .cs-strip-ic i { width: 22px; height: 22px; }
.cs-strip-ic--more { border: 1px dashed var(--shot-border); color: var(--shot-text-muted); background: transparent; }
.cs-strip-dot, .cs-strip-live {
  position: absolute; top: -1px; right: -1px; width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--shot-background);
}
.cs-strip-dot { background: var(--shot-teal); }
.cs-strip-live { background: var(--status-live); }
.cs-strip-label {
  font-size: var(--fs-caption);
  color: var(--shot-text-secondary);
  line-height: 1.25;
  max-width: 76px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Live now: "Your clubs" vs "Following" subheadings ---------- */
.cs-subhead { font-size: var(--fs-caption); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--shot-text-muted); margin: var(--s3) 0 6px; }
.cs-subhead:first-child { margin-top: 0; }

/* ---------- Community feed cards ("From your communities" on For You, and all of All): a
   community chip (icon + short name in the community's brand colour) sits above whatever the item
   type needs. Everything else reuses the unscoped .cs-card-* classes above. ---------- */
.cs-feed-card { margin-bottom: var(--s3); }
.cs-chip {
  display: inline-flex; align-items: center; gap: 5px; font-size: var(--fs-caption); font-weight: 700;
  color: var(--c, var(--status-upcoming-text)); margin-bottom: 6px;
}
.cs-chip svg, .cs-chip i { width: 13px; height: 13px; }
.cs-poll-link {
  display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600;
  color: var(--status-upcoming-text); margin-top: var(--s2); min-height: 44px;
}
.cs-poll-link svg, .cs-poll-link i { width: 14px; height: 14px; }

/* ---------- Live now follows and alerts, team events (5 Oct 2026) ---------- */
.cs-live-row { display: flex; align-items: center; gap: 4px; }
.cs-live-row > .w-row { flex: 1; min-width: 0; }
.cs-match-card { border-bottom: 1px solid var(--shot-border); padding-bottom: var(--s2); }
.cs-match-actions { display: flex; flex-wrap: wrap; gap: var(--s1); padding: 0 var(--s2) var(--s1); }
.cs-match-actions .w-btn { flex: 1 1 auto; }
.cs-alert-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-full); color: var(--shot-text-secondary); background: transparent; }
.cs-alert-btn svg { width: 18px; height: 18px; }
.cs-alert-btn[aria-pressed="true"] { color: var(--accent-purple-text); background: var(--shot-surface-light); }
.cs-more-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--s1); font-size: var(--fs-small); font-weight: 700; color: var(--status-upcoming-text); }
.cs-quiet { display: flex; align-items: flex-start; gap: var(--s1); margin: var(--s1) 0 0; }
.cs-quiet svg { flex: none; width: 16px; height: 16px; margin-top: 2px; }

.ev-badge-pill--live { background: rgba(255, 59, 59, 0.16); color: var(--status-live-text); }
.ev-badge-pill--session { background: rgba(26, 188, 156, 0.16); color: var(--status-upcoming-text); }
.ev-dot-live, .ev-dot-teal, .ev-dot-green { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.ev-dot-live { background: var(--status-live); }
.ev-dot-teal { background: var(--shot-teal); }
.ev-dot-green { background: var(--shot-success); }
.ev-v { color: var(--shot-text-muted); font-weight: 500; }
.ev-card-title strong { font-weight: 700; }

/* =====================================================================================
   Production-shaped Home (24 Nov 2026), from the real app's ClubhouseHome, ChipNav,
   QuickActionsTile, LiveNowSection, CommunityRow, HomeEvents and the announcements widget.
   Cards are shadow only, no borders, no gradients; every colour is a token with a dark and a
   light value (tokens.css).
   ===================================================================================== */
.cs-home { padding-bottom: 80px; }
.cs-home-body { margin-top: 4px; }

/* Chips (ChipNav): sticky, 44px touch targets, an inner pill */
.cs-chipnav {
  position: sticky; top: 0; z-index: 3;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 -12px; padding: 3px 12px; background: var(--shot-canvas-home);
}
.cs-chipnav::-webkit-scrollbar { display: none; }
.cs-chipnav::after { content: ''; flex: 0 0 4px; }
.cs-chipnav-item { display: inline-flex; align-items: center; flex: none; min-height: 44px; text-decoration: none; }
.cs-chipnav-pill {
  display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px;
  font-family: var(--font-body); font-size: 13px; font-weight: 500; white-space: nowrap;
  background: var(--shot-chip-off); border: 1px solid var(--shot-chip-border); color: var(--shot-text-muted);
}
.cs-chipnav-item[aria-selected="true"] .cs-chipnav-pill { background: var(--shot-teal); border-color: var(--shot-teal); color: #000; font-weight: 700; }

/* Quick actions tile */
.cs-qat { background: var(--shot-surface); border-radius: 16px; box-shadow: var(--e-subtle); padding: 2px 16px 12px; margin: 12px 0 8px; }
.cs-qat-head { display: flex; align-items: center; gap: 8px; }
.cs-qat-title { flex: 1; min-width: 0; margin: 0; font-size: inherit; }
.cs-qat-toggle { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 44px; text-align: left; font-family: var(--font-heading); font-size: 14px; font-weight: 600; color: var(--shot-text); }
.cs-qat-toggle svg { width: 18px; height: 18px; flex: none; color: var(--shot-text-muted); margin-left: auto; }
.cs-qat-hidden { font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--shot-text-muted); margin-left: auto; }
.cs-qat-hidden + svg { margin-left: 0; }
.cs-qat-edit { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; color: var(--status-upcoming-text); font-family: var(--font-heading); font-size: 13px; font-weight: 600; }
.cs-qat-edit svg { width: 16px; height: 16px; }
.cs-qat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding-top: 4px; }
.cs-qat-slot { display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 64px; color: var(--shot-text); text-decoration: none; text-align: center; }
.cs-qat-ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--shot-surface-light); color: var(--status-upcoming-text); flex: none; }
.cs-qat-ic svg { width: 20px; height: 20px; }
.cs-qat-label { font-size: 10px; font-weight: 600; line-height: 1.25; }
.cs-qae-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: var(--s3); }
.cs-qae-slot { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 6px 10px; border-radius: 12px; background: var(--shot-surface-light); color: var(--shot-text); text-align: left; font-size: 12px; font-weight: 600; }
.cs-qae-slot svg:last-child { margin-left: auto; width: 16px; height: 16px; color: var(--shot-text-muted); flex: none; }
.cs-qae-slot.is-selected { outline: 2px solid var(--shot-teal); outline-offset: -2px; }
.cs-qae-name { min-width: 0; }
.cs-qae-sub { font-size: 12px; font-weight: 700; color: var(--shot-text-muted); text-transform: uppercase; letter-spacing: .04em; margin: var(--s3) 0 var(--s1); }

/* Live now */
.cs-ln { padding: 8px 0 4px; }
.cs-ln h2 { font-family: var(--font-body); font-size: 13px; font-weight: 700; margin: 0 0 8px 4px; color: var(--shot-text); }
.cs-ln-row { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 12px 16px; margin-bottom: 8px; border-radius: 12px; background: var(--shot-surface); box-shadow: var(--e-subtle); color: inherit; text-decoration: none; text-align: left; }
.cs-ln-row > svg { width: 16px; height: 16px; flex: none; color: var(--shot-text-muted); }
.cs-ln-main { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.cs-ln-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cs-ln-top strong { font-size: 14px; font-weight: 600; }
.cs-ln-meta { font-size: 12px; color: var(--shot-text-muted); }
.cs-ln-prompt { font-size: 12px; font-weight: 600; color: var(--status-upcoming-text); }
.cs-clc { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; padding: 16px; margin-bottom: 8px; border-radius: 16px; border-left: 4px solid var(--shot-teal); background: var(--shot-surface); box-shadow: var(--e-default); color: inherit; text-align: left; min-height: 44px; }
.cs-clc-top { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--status-upcoming-text); }
.cs-clc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--shot-teal); }
@media (prefers-reduced-motion: no-preference) { .cs-clc-dot { animation: cs-pulse 1.6s ease-in-out infinite; } }
@keyframes cs-pulse { 50% { opacity: .35; } }
.cs-clc-head { font-family: var(--font-heading); font-size: 16px; font-weight: 700; }
.cs-clc-sub { font-size: 12px; color: var(--shot-text-muted); }
.cs-clc-row { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--shot-text-secondary); }
.cs-clc-row svg { width: 14px; height: 14px; flex: none; }
.cs-clc-pill { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--shot-surface-light); color: var(--shot-text-secondary); }
.cs-clc-pill.is-present { background: rgba(26, 188, 156, 0.15); color: var(--status-upcoming-text); }
.cs-clc-pill svg { width: 12px; height: 12px; }
.cs-clc-foot { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--status-upcoming-text); }
.cs-clc-foot svg { width: 16px; height: 16px; }

/* Your communities */
.cs-cr { padding: 8px 0; }
.cs-cr h2 { font-family: var(--font-body); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--shot-text-muted); margin: 0 0 2px 4px; }
.cs-cr-scroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 8px 4px; }
.cs-cr-scroll::-webkit-scrollbar { display: none; }
.cs-cr-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: none; width: 92px; min-height: 44px; text-align: center; color: var(--shot-text); }
.cs-cr-av { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--shot-surface-elevated); color: var(--shot-text); font-family: var(--font-heading); font-size: 14px; font-weight: 800; }
.cs-cr-av svg { width: 22px; height: 22px; }
.cs-cr-tile.is-selected .cs-cr-av { box-shadow: 0 0 0 2px var(--shot-canvas-home), 0 0 0 4px var(--shot-teal); }
.cs-cr-name { font-size: 11px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cs-cr-role { font-size: 10px; line-height: 1.25; color: var(--status-upcoming-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cs-cr-join .cs-cr-av { background: transparent; border: 1px dashed var(--shot-text-muted); color: var(--shot-text-muted); }
.cs-cr-join .cs-cr-name { color: var(--shot-text-muted); }
.cs-cfilter { display: flex; align-items: center; gap: 12px; margin: 4px 4px 0; padding: 4px 4px 4px 12px; border-radius: 12px; background: var(--shot-surface); }
.cs-cfilter-name { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; }
.cs-cfilter a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; font-weight: 600; color: var(--status-upcoming-text); }
.cs-cfilter button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--shot-text-muted); }
.cs-cfilter button svg { width: 16px; height: 16px; }

/* Event bands */
.cs-band { margin-top: 16px; }
.cs-dayhead { display: flex; align-items: baseline; gap: 8px; margin: 0 4px 8px; }
.cs-dayhead h3 { font-family: var(--font-heading); font-size: 16px; font-weight: 700; color: var(--shot-text); }
.cs-dayhead span { font-size: 12px; font-weight: 500; color: var(--shot-text-muted); letter-spacing: .04em; }
.cs-older { margin-top: 16px; }
.cs-older summary { display: flex; align-items: center; min-height: 44px; padding: 0 4px; font-size: 14px; font-weight: 600; color: var(--shot-text-secondary); cursor: pointer; }
.cs-switcher { display: flex; gap: 8px; overflow-x: auto; padding: 4px; margin: 4px 0; scrollbar-width: none; }
.cs-switcher-pill { flex: none; min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: 13px; font-weight: 500; background: var(--shot-chip-off); border: 1px solid var(--shot-chip-border); color: var(--shot-text-muted); }
.cs-switcher-pill[aria-pressed="true"] { background: var(--shot-teal); border-color: var(--shot-teal); color: #000; font-weight: 700; }

/* Announcements: widget, card, detail */
.cs-annw { padding: 16px 0 8px; }
.cs-annw-head { display: flex; align-items: center; gap: 8px; padding: 0 4px 8px; }
.cs-annw-head > svg { width: 20px; height: 20px; color: var(--status-upcoming-text); flex: none; }
.cs-annw-head h2 { font-size: 16px; font-weight: 700; }
.cs-annw-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--shot-error); color: var(--shot-error-fill-text); font-size: 10px; font-weight: 700; }
.cs-annw-all { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--shot-text-muted); }
.cs-annw-all svg { width: 20px; height: 20px; }
.cs-annw-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 4px 10px; }
.cs-annw-track::-webkit-scrollbar { display: none; }
.cs-ann-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 44px; padding: 16px; border-radius: 16px; background: var(--shot-surface); box-shadow: var(--e-default); color: inherit; text-align: left; }
.cs-ann-card.is-carousel { flex: none; width: 280px; scroll-snap-align: start; }
.cs-annfeed { display: flex; flex-direction: column; gap: 12px; }
.cs-annfeed .cs-ann-card { width: 100%; }
.cs-ann-unread { position: absolute; top: 12px; right: 12px; width: 10px; height: 10px; border-radius: 50%; background: var(--shot-error); }
.cs-ann-by { display: flex; align-items: center; gap: 8px; max-width: 100%; padding-right: 18px; }
.cs-ann-av { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(26, 188, 156, 0.2); color: var(--status-upcoming-text); font-size: 12px; font-weight: 700; flex: none; }
.cs-ann-author { font-size: 12px; font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-ann-time { font-size: 10px; color: var(--shot-text-muted); flex: none; }
.cs-ann-title { font-family: var(--font-heading); font-size: 14px; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.cs-ann-body { font-size: 12px; color: var(--shot-text-secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cs-ann-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 2px; }
.cs-ann-react { display: inline-flex; align-items: center; gap: 3px; padding: 2px 6px; border-radius: 999px; background: var(--shot-surface-light); font-size: 10px; color: var(--shot-text-secondary); }
.cs-ann-react svg { width: 10px; height: 10px; }
.cs-ann-chan { padding: 2px 8px; border-radius: 999px; background: rgba(26, 188, 156, 0.15); color: var(--status-upcoming-text); font-size: 10px; font-weight: 500; }
.cs-ann-flag { padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 600; }
.cs-ann-flag--urgent { background: var(--shot-gold); color: #000; }
.cs-ann-flag--ack { background: rgba(245, 158, 11, 0.12); color: var(--shot-warning-text); }
.cs-ad { display: flex; flex-direction: column; gap: 12px; }
.cs-ad-by { display: flex; align-items: center; gap: 10px; }
.cs-ad-by strong { display: block; font-size: 14px; }
.cs-ad-time { display: block; font-size: 12px; color: var(--shot-text-muted); }
.cs-ad-title { font-size: 16px; font-weight: 700; }
.cs-ad-body { font-size: 14px; line-height: 1.5; color: var(--shot-text-secondary); }
.cs-ad-react { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-ad-rbtn { min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--shot-surface-light); font-size: 14px; color: var(--shot-text); }
.cs-ad-rbtn[aria-pressed="true"] { outline: 2px solid var(--shot-teal); outline-offset: -2px; }
.cs-ad-sub { font-size: 14px; font-weight: 700; margin-top: 4px; }
.cs-ad-comment { font-size: 14px; color: var(--shot-text-secondary); }
.cs-ad-comment strong { color: var(--shot-text); }
.cs-ad-reply { display: flex; gap: 8px; align-items: flex-end; }
.cs-ad-reply .w-field-group { flex: 1; margin: 0; }

/* Polls, empty states, block headers, links */
.cs-polls { padding-top: 8px; }
.cs-polls-label { font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--shot-text-muted); margin: 8px 4px; }
.cs-polls-new { display: flex; justify-content: flex-end; padding: 8px 4px 0; }
.cs-poll { background: var(--shot-surface); border-radius: 16px; box-shadow: var(--e-default); padding: 16px; margin-bottom: 12px; }
.cs-poll-from { font-size: 12px; font-weight: 600; color: var(--status-upcoming-text); margin-bottom: 6px; }
.cs-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 48px 24px; }
.cs-empty-emoji { font-size: 48px; line-height: 1; }
.cs-empty-ic { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(26, 188, 156, 0.12); color: var(--status-upcoming-text); }
.cs-empty-ic svg { width: 24px; height: 24px; }
.cs-empty-title { font-size: 14px; font-weight: 600; color: var(--shot-text-secondary); margin-top: 8px; }
.cs-empty-sub { font-size: 12px; color: var(--shot-text-muted); max-width: 30ch; }
.cs-bhead { display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin-top: 8px; }
.cs-bhead h2 { font-size: 16px; font-weight: 700; margin-left: 4px; }
.cs-bhead a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; font-weight: 600; color: var(--status-upcoming-text); }
.cs-bhead-note { font-size: 12px; color: var(--shot-text-muted); }
.cs-pill-link, .cs-pill-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 20px; margin: 12px 4px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.cs-pill-link { border: 1px solid var(--status-upcoming-text); color: var(--status-upcoming-text); text-decoration: none; }
.cs-pill-btn { background: var(--shot-teal); color: #000; }
.cs-pill-btn svg { width: 16px; height: 16px; }
.cs-myfeed { padding: 8px 0; }
.cs-invite { display: flex; gap: 8px; align-items: flex-start; padding: 16px; border-radius: 12px; background: var(--shot-surface); box-shadow: var(--e-subtle); margin: 8px 0; }
.cs-invite > div { flex: 1; }
.cs-invite-title { font-size: 14px; font-weight: 700; }
.cs-invite-sub { font-size: 12px; color: var(--shot-text-muted); margin: 4px 0; }
.cs-invite a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 600; color: var(--status-upcoming-text); }
.cs-invite button { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--shot-text-muted); flex: none; }
.cs-invite button svg { width: 16px; height: 16px; }

/* ---- Home parity, 25 Nov 2026 (wave 12): survey cards, stories, empty states, trial card, filter bar ---- */
.cs-annw-viewall { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin: 0 4px; font-size: 14px; font-weight: 600; color: var(--status-upcoming-text); }
.cs-annw-viewall svg { width: 16px; height: 16px; }
.cs-ann-flags { display: flex; gap: 6px; margin-top: 8px; }
.cs-seeall { display: flex; justify-content: center; }
.cs-cfilter { margin: 8px 16px; min-height: 44px; padding: 0 4px 0 12px; border-radius: 16px; gap: 4px; }
.cs-cfilter-name { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-cfilter-tag { color: var(--status-upcoming-text); }
.cs-cfilter button { order: 2; flex: none; }
.cs-cfilter a { order: 3; flex: none; gap: 2px; padding: 0 8px; max-width: 50%; }
.cs-cfilter a svg { width: 16px; height: 16px; flex: none; }
.cs-feed-note { margin: 0 4px 12px; }
.cs-feedempty { margin: 0 4px; padding: 24px 16px; border-radius: 8px; background: var(--shot-surface); box-shadow: var(--e-default); text-align: center; font-size: 13px; color: var(--shot-text-muted); }

/* SurveyFeedCard */
.cs-sv-list { display: flex; flex-direction: column; gap: 8px; padding: 0 4px; }
.cs-sv { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 12px 16px; border-radius: 16px; border: 1px solid var(--shot-border); background: var(--shot-surface); color: var(--shot-text); text-align: left; cursor: pointer; }
.cs-sv-ic { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--shot-teal); color: #000; }
.cs-sv-ic svg { width: 20px; height: 20px; }
.cs-sv-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.cs-sv-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cs-sv-title { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cs-sv-open { flex: none; padding: 2px 8px; border-radius: 999px; background: var(--shot-teal); color: #000; font-size: 10px; font-weight: 600; }
.cs-sv-sub { font-size: 12px; color: var(--shot-text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-sv-act { display: inline-flex; align-items: center; gap: 4px; flex: none; font-size: 12px; font-weight: 500; color: var(--status-upcoming-text); }
.cs-sv-act svg { width: 14px; height: 14px; }
.cs-polls-new .cs-pill-btn { min-height: 44px; margin: 0; }

/* Events empty state (EventsEmptyState) */
.cs-evempty { display: flex; align-items: center; gap: 20px; margin: 8px 4px; padding: 24px; border-radius: 16px; background: var(--shot-surface); border: 1px solid var(--shot-border); }
.cs-evempty-ic { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 64px; height: 64px; border-radius: 12px; background: rgba(26, 188, 156, 0.1); color: var(--status-upcoming-text); }
.cs-evempty-ic svg { width: 32px; height: 32px; }
.cs-evempty h3 { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.cs-evempty p { font-size: 14px; color: var(--shot-text); margin-bottom: 8px; }
.cs-evempty .cs-evempty-hint { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; color: var(--shot-text-muted); }
.cs-evempty-hint span { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--shot-teal); }

/* Pulse chip: Stories for you */
.cs-stories { display: flex; flex-direction: column; gap: 8px; padding: 0 4px; }
.cs-story { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 80px; padding: 12px; border-radius: 8px; background: var(--shot-surface); color: var(--shot-text); text-align: left; cursor: pointer; }
.cs-story img { flex: none; width: 80px; height: 56px; border-radius: 6px; object-fit: cover; background: var(--shot-surface-elevated); }
.cs-story-t { font-size: 14px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cs-myfeed--news { padding-bottom: 20px; }

/* TrialWelcomeCard */
.cs-trial { display: flex; align-items: flex-start; gap: 12px; margin: 12px 16px 0; padding: 16px; border-radius: 16px; background: var(--shot-surface); color: var(--shot-text); }
.cs-trial > svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--status-upcoming-text); }
.cs-trial p { flex: 1; font-size: 14px; line-height: 1.35; }
.cs-trial button { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; margin: -12px -12px 0 0; border-radius: 50%; color: var(--shot-text-muted); }
.cs-trial button svg { width: 18px; height: 18px; }

/* Community crest tile (SHOT.w.crest): no circle behind it; the selected ring follows the tile box */
.cs-cr-av--crest { background: none; border-radius: 14px; }
.cs-cr-av--crest svg { width: 56px; height: 56px; }

/* ---- Home: Social stories, From Social, demo scores, Pulse stories (25 Nov 2026) ---- */
.cs-sst { padding: 4px 0; }
.cs-sst .cs-bhead { margin-top: 0; }
.cs-sst-tile { text-decoration: none; }
.cs-sst-ring { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--shot-teal); background: var(--shot-surface-elevated); color: var(--shot-text); font-size: 24px; overflow: hidden; }
.cs-sst-ring img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.cs-sst-init { font-family: var(--font-heading); font-size: 18px; font-weight: 800; }
.cs-sst-ring--watch { border-color: var(--shot-border); }
.cs-sp-list { display: flex; flex-direction: column; gap: 8px; padding: 0 4px; }
.cs-sp { display: flex; align-items: center; gap: 12px; min-height: 80px; padding: 12px; border-radius: 8px; background: var(--shot-surface); color: var(--shot-text); text-decoration: none; }
.cs-sp img { flex: none; width: 80px; height: 56px; border-radius: 6px; object-fit: cover; background: var(--shot-surface-elevated); }
.cs-sp-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cs-sp-by { font-size: 12px; color: var(--shot-text-muted); }
.cs-sp-t { font-size: 14px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cs-story-src { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--shot-text-muted); }
.cs-hs-wrap { margin-top: 8px; }
.cs-hs-head { margin-top: 0; }
.cs-hs-head h3 { font-size: 14px; font-weight: 700; margin-left: 4px; }
.cs-hs { display: flex; flex-direction: column; gap: 6px; flex: none; width: 176px; min-height: 96px; padding: 12px; border-radius: 12px; border: 1px solid var(--shot-border); background: var(--shot-surface); color: var(--shot-text); text-decoration: none; }
.cs-hs-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.cs-hs-sport { font-size: 11px; font-weight: 600; color: var(--shot-text-muted); }
.cs-hs-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cs-hs-team { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-hs-score { font-size: 16px; font-weight: 800; }
.cs-fromsocial .sc-card, .cs-fromsocial .w-card { margin: 0; }

.cs-qa-soon { margin-top: 2px; font-size: 10px; font-weight: 600; line-height: 1; padding: 2px 6px; border-radius: 6px; border: 1px solid var(--shot-text-secondary); color: var(--shot-text-secondary); white-space: nowrap; }
