body.is-family :is(.parent-home-rsvp-card, .parent-home-player-list, .parent-home-empty, .parent-schedule-empty) {
  display: grid;
  gap: 8px;
}

body.is-family :is(.parent-home-rsvp-card, .parent-home-player-list) { gap: 12px; }

body.is-family .parent-schedule-empty { padding: 24px; }

body.is-family .parent-home-event-meta {
  display: grid;
  gap: 3px;
}

body.is-family .parent-home-event-meta > strong {
  font-size: 20px;
  line-height: 1.2;
}

body.is-family .parent-home-event-meta > span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

body.is-family .parent-home-player-rsvp {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

body.is-family .parent-home-player-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

body.is-family .parent-home-player-label > strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

body.is-family .parent-home-player-label > span {
  flex: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
}

body.is-family .parent-home-rsvp-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body.is-family .parent-rsvp-choice {
  min-height: 46px;
  padding: 8px 10px;
  border: 2px solid transparent;
  border-radius: 10px;
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  cursor: pointer;
}

body.is-family .parent-rsvp-choice.status-yes { background: #087329; }

body.is-family .parent-rsvp-choice.status-maybe {
  background: #f5c542;
  color: #332300;
}

body.is-family .parent-rsvp-choice.status-no { background: #9f1239; }

body.is-family .parent-rsvp-choice.selected {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(6, 23, 53, 0.42);
}

body.is-family .parent-rsvp-choice:focus-visible,
body.is-family .parent-event-details-button:focus-visible,
body.is-family .parent-home-attendance-link:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

body.is-family .parent-home-event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.is-family .parent-event-details-button {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 10px;
  background: #ffffff;
  color: var(--team-primary);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

body.is-family .parent-home-event-actions .map-button {
  min-height: 44px;
}

body.is-family .parent-rsvp-feedback,
body.is-family .parent-home-link-help {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

body.is-family .parent-rsvp-feedback[data-level="saved"]::before {
  content: "✓ ";
}

body.is-family .parent-home-attendance-link {
  box-sizing: border-box;
  width: 100%;
  min-height: 58px;
  border: 0;
  border-bottom: 1px solid rgba(7, 55, 99, 0.1);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

body.is-family .parent-home-attendance-link > span:first-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}

body.is-family .parent-home-attendance-link small {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.is-family .parent-home-attendance-link:hover {
  background: rgba(7, 55, 99, 0.04);
}

body.is-family .schedule-scope-picker[hidden] {
  display: none;
}

body.is-family .schedule-filter-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
}

body.is-family .schedule-filter-bar > label,
body.is-family .schedule-filter-bar select {
  min-width: 0;
  width: 100%;
}

body.is-family .schedule-scope-picker {
  display: grid;
  gap: 6px;
}

body.is-family .schedule-scope-picker > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

body.is-family .schedule-scope-picker select {
  min-height: 44px;
  padding: 0 38px 0 12px;
  border: 1px solid #d6e2ee;
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

body.is-family .event-availability-row.parent-event-rsvp-row {
  grid-template-columns: 44px minmax(0, 1fr);
}

body.is-family .parent-event-rsvp-row .schedule-family-detail-rsvp {
  grid-column: 1 / -1;
  width: 100%;
  justify-content: start;
}

body.is-family .parent-event-rsvp-row .schedule-family-detail-rsvp-actions {
  width: 100%;
}

@media (max-width: 720px) {
  body.is-family .family-hero-copy h3 {
    font-size: 24px;
  }

  body.is-family .parent-home-rsvp-actions {
    grid-template-columns: 1fr;
  }

  body.is-family .parent-rsvp-choice {
    min-height: 48px;
  }
}
