.group-phone {
  width: min(100%, 23.25rem);
  border-radius: 2.45rem;
  border: 8px solid #111318;
  box-shadow: var(--phone-shadow);
  background: #111318;
  overflow: hidden;
  margin-inline: auto;
}

.group-phone-notch {
  width: 7.4rem;
  height: 1rem;
  border-radius: 999px;
  background: #05070b;
  margin: 0.55rem auto 0.75rem;
}

.group-screen {
  min-height: 36.5rem;
  background: #fcfbff;
  overflow: hidden;
}

.group-screen.android {
  min-height: 38rem;
}

.group-shot-stack {
  display: grid;
  gap: 0.8rem;
}

.group-shot-frame {
  width: min(100%, 23.25rem);
  margin-inline: auto;
  border-radius: 2rem;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--phone-shadow);
  border: 1px solid rgba(117, 106, 143, 0.16);
}

.group-shot-frame.wide {
  width: min(100%, 27rem);
}

.group-shot {
  display: block;
  width: 100%;
  height: auto;
}

.group-hole-row {
  min-height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.group-hole {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  background: #05070b;
}

.group-header {
  background: #f5efff;
  padding: 0.85rem 0.9rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.group-header.centered {
  justify-content: center;
  position: relative;
}

.group-header.centered .group-left,
.group-header.centered .group-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.group-header.centered .group-left { left: 1rem; }
.group-header.centered .group-right { right: 1rem; }

.group-icon,
.group-badge-icon,
.group-mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.group-icon {
  font-size: 1.35rem;
  font-weight: 700;
  color: #2d2b36;
}

.group-icon.green { color: #56a85d; }
.group-icon.red { color: #ef5a58; }
.group-icon.purple { color: #765ac7; }
.group-icon.gray { color: #9a95a4; }

.group-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.84rem;
  line-height: 1.16;
  font-weight: 700;
  color: #2d2b36;
  text-align: center;
}

.group-body {
  padding: 0.72rem;
}

.group-card,
.group-panel,
.group-history-card,
.group-msg,
.group-summary-card,
.group-floating-card {
  background: #f7f3ff;
  border-radius: 1.15rem;
  box-shadow: 0 8px 14px rgba(31, 31, 46, 0.07);
}

.group-card {
  padding: 0.72rem;
}

.group-floating-card {
  position: relative;
  padding: 0.72rem;
}

.group-club-card {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 0.6rem;
  align-items: center;
}

.group-logo {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: #ece7f3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: #7b60d0;
}

.group-logo.gold {
  background: #fff7df;
  color: #b6841a;
}

.group-logo.fixed {
  background: #ebe4f3;
  color: #6c58ba;
}

.group-club-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.72rem;
  line-height: 1.15;
  color: #2d2b36;
}

.group-muted {
  font-size: 0.7rem;
  color: #6e6879;
}

.group-chip-row,
.group-pill-row,
.group-icon-tabs,
.group-split-tabs,
.group-filter-row,
.group-meta-row,
.group-action-row,
.group-team-row,
.group-inline-row,
.group-rsvp-tabs {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.group-icon-tabs {
  margin-top: 0.72rem;
  border: 2px solid rgba(89, 81, 104, 0.45);
  border-radius: 999px;
  overflow: hidden;
  gap: 0;
}

.group-icon-tab {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.46rem 0.24rem;
  border-left: 1px solid rgba(89, 81, 104, 0.28);
  color: #27242f;
  background: #fff;
  font-size: 0.76rem;
}

.group-icon-tab:first-child { border-left: 0; }
.group-icon-tab.active {
  background: #eee7ff;
  color: #765ac7;
  font-weight: 700;
}

.group-badge {
  background: #f18b92;
  color: white;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.22rem 0.4rem;
  margin-left: -0.2rem;
}

.group-table {
  margin-top: 0.76rem;
}

.group-table-head,
.group-table-row {
  display: grid;
  grid-template-columns: 0.45fr 2fr 1.15fr 1.1fr 1fr;
  gap: 0.42rem;
  align-items: center;
}

.group-table.fixed .group-table-head,
.group-table.fixed .group-table-row {
  grid-template-columns: 0.45fr 2.4fr 1fr 1fr 0.9fr;
}

.group-table-head > span,
.group-table-row > span {
  min-width: 0;
}

.group-table-head {
  color: #595362;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0 0.2rem 0.55rem;
}

.group-table-row {
  padding: 0.68rem 0.2rem;
  border-top: 1px solid rgba(111, 104, 121, 0.22);
  color: #22202a;
  font-size: 0.84rem;
  line-height: 1.22;
}

.group-table-row.tall {
  align-items: start;
}

.group-table-name {
  min-width: 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.group-table-name.stack {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.group-fab {
  position: absolute;
  right: 0.72rem;
  bottom: 0.72rem;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  background: #59bb48;
  color: #f8d34e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.12rem;
  box-shadow: 0 8px 16px rgba(49, 117, 39, 0.2);
}

.group-fab.red {
  background: #59bb48;
  color: #f65d56;
  font-size: 1.22rem;
}

.group-fab-menu {
  position: absolute;
  right: 0.72rem;
  bottom: 3.9rem;
  display: grid;
  gap: 0.44rem;
}

.group-fab-action {
  background: #82cb79;
  color: #6f53c4;
  border-radius: 1.05rem;
  padding: 0.52rem 0.72rem;
  min-width: 7.4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 8px 14px rgba(49, 117, 39, 0.16);
}

.group-form-card {
  background: #fff;
  border: 2px solid rgba(90, 84, 100, 0.18);
  border-radius: 1.12rem;
  padding: 0.72rem;
}

.group-form-stack > * + * { margin-top: 0.58rem; }

.group-field {
  border: 2px solid rgba(90, 84, 100, 0.5);
  border-radius: 0.84rem;
  padding: 0.58rem 0.72rem;
  color: #5f586a;
  min-height: 2.32rem;
  display: flex;
  align-items: center;
  font-size: 0.74rem;
}

.group-radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.56rem 0.76rem;
}

.group-radio {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  color: #2a2831;
  font-weight: 600;
  font-size: 0.74rem;
}

.group-radio-dot {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  border: 3px solid #6350b5;
  box-shadow: inset 0 0 0 0.24rem #fff;
  background: #6350b5;
}

.group-radio-ring {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  border: 3px solid #5b5666;
}

.group-button {
  border-radius: 999px;
  padding: 0.54rem 0.82rem;
  font-weight: 700;
  text-align: center;
  font-size: 0.76rem;
}

.group-button.purple {
  background: #f2ebff;
  color: #7558cb;
}

.group-button.outline {
  border: 2px solid rgba(89, 81, 104, 0.4);
  color: #7558cb;
  background: #fff;
}

.group-button.green {
  background: #57b94b;
  color: #fff;
}

.group-slider-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0.8rem;
  align-items: center;
}

.group-slider {
  position: relative;
  height: 0.35rem;
  border-radius: 999px;
  background: #ddd8e4;
}

.group-slider::after {
  content: "";
  position: absolute;
  left: 55%;
  top: 50%;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: #a7a1b0;
  transform: translate(-50%, -50%);
}

.group-manager-list > * + *,
.group-team-list > * + * { margin-top: 0.7rem; }

.group-manager-item,
.group-team-item,
.group-player-item,
.group-rsvp-card,
.group-history-card {
  border-radius: 1.12rem;
  background: #f7f3ff;
  padding: 0.64rem 0.72rem;
  box-shadow: 0 8px 16px rgba(31, 31, 46, 0.07);
}

.group-player-item {
  display: grid;
  grid-template-columns: 2.2rem 1fr auto;
  gap: 0.42rem;
  align-items: center;
}

.group-avatar {
  width: 1.92rem;
  height: 1.92rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 0.74rem;
  color: #6a56bf;
  background: #efe6ff;
  border: 2px solid #ef68a2;
}

.group-avatar.blue { border-color: #7ca6c7; }
.group-avatar.pink { border-color: #ef68a2; }
.group-avatar.gray { border-color: #d8d3df; }

.group-split-tabs {
  margin-top: 0.76rem;
  border: 2px solid rgba(89, 81, 104, 0.42);
  border-radius: 999px;
  overflow: hidden;
  gap: 0;
}

.group-split-tab {
  flex: 1 1 0;
  padding: 0.46rem 0.62rem;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  color: #423d4e;
  background: #fff;
  font-size: 0.74rem;
}

.group-split-tab.active {
  background: #eee7ff;
  color: #604bb0;
  font-weight: 700;
}

.group-split-tab.active.green {
  background: #57b94b;
  color: #fff;
}

.group-history-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.group-history-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  color: #282530;
}

.group-history-meta {
  color: #645f70;
  margin-top: 0.16rem;
  font-size: 0.68rem;
}

.group-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.28rem 0.66rem;
  font-weight: 800;
  font-size: 0.76rem;
}

.group-chip.gold {
  background: #ffd75d;
  color: #4d3900;
}

.group-summary-team {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #2a2634;
}

.group-summary-team + .group-summary-team {
  margin-top: 0.35rem;
}

.group-summary-team.champion {
  font-weight: 700;
}

.group-summary-team.runnerup {
  color: #5b5568;
}

.group-msg-stack > * + * { margin-top: 0.7rem; }

.group-msg {
  padding: 0.68rem 0.72rem;
  max-width: 85%;
  font-size: 0.74rem;
  line-height: 1.25;
}

.group-msg.manager {
  margin-left: auto;
  background: #b8ddff;
}

.group-msg.player {
  background: #ededed;
}

.group-msg.compact {
  max-width: 68%;
}

.group-reply {
  margin-top: 0.65rem;
  color: #5f7584;
  font-size: 0.76rem;
}

.group-empty {
  text-align: center;
  padding: 3rem 1rem 2rem;
  color: #3c3748;
}

.group-empty-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.group-rsvp-tabs {
  margin-top: 0.72rem;
  border: 2px solid rgba(89, 81, 104, 0.42);
  border-radius: 999px;
  overflow: hidden;
  gap: 0;
}

.group-rsvp-tab {
  flex: 1 1 0;
  padding: 0.5rem 0.62rem;
  text-align: center;
  color: #46404f;
  background: #fff;
  font-size: 0.74rem;
}

.group-rsvp-tab.active {
  background: #eee7ff;
  color: #604bb0;
  font-weight: 700;
}

.group-rsvp-card {
  display: grid;
  grid-template-columns: 2.55rem 1fr auto;
  gap: 0.58rem;
  align-items: center;
  background: #b5b5b5;
  color: #fff;
}

.group-rsvp-count {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: #ede1ff;
  color: #7157c8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.72rem;
}

.group-rsvp-detail {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  text-align: center;
  color: #2f2b38;
}

.group-rsvp-status {
  text-align: center;
  font-size: 0.72rem;
  color: #2f2b38;
}

.group-rsvp-chart {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: #ede1ff;
  position: relative;
}

.group-rsvp-chart::before,
.group-rsvp-chart::after {
  content: "";
  position: absolute;
  bottom: 0.55rem;
  width: 0.28rem;
  border-radius: 999px;
  background: #57b94b;
}

.group-rsvp-chart::before {
  left: 0.82rem;
  height: 0.95rem;
}

.group-rsvp-chart::after {
  left: 1.28rem;
  height: 1.35rem;
}

.group-rsvp-section {
  margin-top: 0.72rem;
  border: 2px solid rgba(89, 81, 104, 0.42);
  border-radius: 1.18rem;
  padding: 0.76rem;
}

.group-rsvp-section.empty {
  text-align: center;
  color: #686271;
}

.group-rsvp-section-head {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: #241f2d;
}

.group-rsvp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.54rem;
  margin-top: 0.62rem;
}

.group-rsvp-grid span {
  min-width: 0;
  background: #f7f3ff;
  border-radius: 0.84rem;
  padding: 0.56rem 0.62rem;
  font-size: 0.72rem;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.group-empty-copy {
  margin-top: 0.7rem;
}

.group-pill {
  background: #f7f3ff;
  border-radius: 1rem;
  padding: 0.55rem 0.68rem;
  color: #292531;
  font-size: 0.74rem;
  line-height: 1.18;
}

.group-summary-card {
  padding: 0.72rem;
}

.group-summary-card.done {
  background: #def4df;
}

.group-summary-banner {
  background: #decffd;
  color: #6147ad;
  border-radius: 1.08rem;
  padding: 0.68rem 0.76rem;
  font-weight: 700;
  font-size: 0.72rem;
  line-height: 1.3;
}

.group-knockout-row {
  display: grid;
  grid-template-columns: 1.4rem 1fr auto;
  gap: 0.7rem;
  align-items: start;
  color: #342f3d;
}

.group-podium {
  margin-top: 0.72rem;
  background: #f7f3ff;
  border-radius: 1.12rem;
  padding: 0.68rem;
}

.group-podium-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.7rem;
  align-items: end;
  text-align: center;
}

.group-podium-box {
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #2c2735;
  text-align: center;
  padding: 0.55rem;
}

.group-podium-box span {
  font-size: 1.28rem;
  font-weight: 800;
}

.group-podium-box strong {
  font-size: 0.84rem;
  margin-top: 0.35rem;
}

.group-podium-box small {
  font-size: 0.72rem;
  color: #5c5667;
  margin-top: 0.15rem;
}

.group-podium-box.gold { height: 5rem; background: #ffd75d; }
.group-podium-box.silver { height: 4.2rem; background: #ddd; }
.group-podium-box.bronze { height: 3.8rem; background: #c5b3ab; }

.group-mini-section-title {
  font-weight: 800;
  color: #241f2e;
  margin-bottom: 0.7rem;
}

.group-ghost-line {
  height: 1px;
  background: rgba(89, 81, 104, 0.28);
  margin: 0.8rem 0;
}

.group-phone.slim {
  width: min(100%, 23rem);
}


.mock-density-tight,
.phone-screen,
.group-screen,
.device-body {
  letter-spacing: -0.01em;
}
