/* Club interface: compact identity, clear actions and one glass layer.
   All surfaces continue to use the colours and strength saved in Studio. */
body.srccV10 { --ui-detail-line: #ffffff24; }
body.srccV10 .top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px;
  min-height: 88px !important;
  padding: 18px 0 !important;
  border-bottom: 0 !important;
}
body.srccV10 .top .brand {
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
body.srccV10 .brand > div { min-width: 0; }
body.srccV10 .srccTopLogo {
  width: 48px !important; height: 48px !important; max-height: 48px !important;
  flex: 0 0 48px; border-radius: 0; box-shadow: none;
}
body.srccV10 .uiClubName { font-size: 20px; line-height: 1.25; font-weight: 750; letter-spacing: -.035em; }
body.srccV10 .brand #matchHeaderInfo {
  margin-top: 4px !important;
  max-width: 560px !important;
  font-size: 12px !important;
  letter-spacing: .015em;
  opacity: .8;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.uiHeaderActions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
body:not(.srccLogged) .uiHeaderActions { display: none; }
body.srccV10 .top .uiHeaderActions :is(#v7Fab, #v74Bell) {
  position: relative !important; inset: auto !important; margin: 0 !important;
  width: 44px; height: 44px; flex: 0 0 44px; padding: 0;
  border-radius: 14px; box-shadow: inset 0 1px 0 #ffffff20;
  border: 1px solid #ffffff30; background: #102137b3; color: #f7f5ef;
  font-size: 20px; z-index: auto;
}
body.srccV10 .top .uiHeaderActions :is(#v7Fab, #v74Bell):not(.hidden) { display: grid; place-items: center; }
body.srccV10 .top .uiHeaderActions #v7Fab { color: var(--ui-accent); }
.uiHeaderActions #v74Bell b { width: 6px; height: 6px; top: 8px; right: 8px; }

/* Quiet edges and highlights keep the chosen background visible. */
body.srccV10 :is(.v12MatchPanel, #mainView > section:not([data-page="home"]), #bottomNav) {
  border-color: #ffffff2d !important;
  box-shadow: inset 0 1px 0 #ffffff24, 0 16px 44px #00000020 !important;
}
body.srccV10 #bottomNav { padding: 5px; border-radius: 18px; }
body.srccV10 #bottomNav button {
  min-height: 56px; border-radius: 13px; font-weight: 600;
  transition: background-color .16s ease, color .16s ease;
}
body.srccV10 #bottomNav button.active { font-weight: 750; }
body.srccV10 #mainView > section:not([data-page="home"]) > h1 { margin: 5px 0 14px; font-weight: 750; }
body.srccV10 #mainView > section:not([data-page="home"]) > .eyebrow { font-size: 10px; letter-spacing: .14em; color: var(--ui-surface-muted); }
body.srccV10 .v12MatchPanel { padding: clamp(20px, 3vw, 32px); }
body.srccV10 #nextMatch.uiMatchCard .v12MatchPanel .v10Hero h2 { font-weight: 750; font-size: clamp(25px, 3vw, 32px) !important; }
.v12MatchPanel .v10Hero { margin-bottom: 26px; }
.v10Status, .mhBadge, .maStatus { display: inline-flex; align-items: center; gap: 7px; }
.v10Status::before, .mhBadge::before, .maStatus::before { content: ''; width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%; background: currentColor; opacity: .8; }

/* The calendar tile carries the accent; the time and location stay on glass. */
body.srccV10 .v12MatchPanel .v11MatchDate {
  padding: 0; gap: 20px; margin: 0 0 14px; border: 0;
  background: transparent; color: var(--ui-surface-text); box-shadow: none;
}
body.srccV10 .v12MatchPanel .v11DateNumber {
  min-width: 86px; min-height: 102px; padding: 14px 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid #ffffff35; border-radius: calc(var(--ui-radius) * .7);
  background: linear-gradient(140deg,#ffffff26,transparent), var(--ui-accent);
  color: var(--ui-accent-text, #102137); box-shadow: inset 0 1px 0 #ffffff30;
}
.v12MatchPanel .v11DateNumber strong { font-weight: 800; font-size: 48px; }
.v12MatchPanel .v11DateNumber span { font-size: 11px; letter-spacing: .14em; }
.v12MatchPanel .v11MatchDate > div:last-child { gap: 5px; }
.v12MatchPanel .v11MatchDate > div:last-child > strong { font-weight: 650; font-size: 17px; }
.v12MatchPanel .v11MatchDate > div:last-child > span { font-size: 22px; letter-spacing: -.035em; font-weight: 750; }
.v12MatchPanel .v11MatchDate small { color: var(--ui-surface-muted); }
.v12MatchPanel .v10Facts { padding-left: 106px; font-size: 13px; }
.v12MatchPanel .v10Facts a { text-decoration-color: #ffffff50; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.v12MatchPanel .v10Facts small { margin-top: 4px; }
.v12MatchPanel .v10Clock { padding-left: 28px; }
.v12MatchPanel .v10Clock > strong { font-family: inherit; font-weight: 750; letter-spacing: -.04em; }
.v12MatchPanel .v10Clock > span { font-size: 10px; letter-spacing: .1em; margin-bottom: 9px; }
.v12MatchPanel .v10Attendance { margin-top: 24px; padding-top: 20px; }
.v12MatchPanel .v10Attendance > p { font-size: 10px; letter-spacing: .12em; font-weight: 650; }
.v12MatchPanel .v10Attendance .uiAttendance button {
  min-height: 50px; flex-direction: row; gap: 8px;
  border-color: #ffffff30; background: #ffffff05; font-weight: 650;
}
.v12MatchPanel .uiAttendance b { min-width: 23px; border-radius: 7px; padding: 2px 5px; font-size: 11px; }
.v12MatchPanel .v10Roster { margin: 4px 0 0; gap: 8px 22px; }
.v12MatchPanel .v10Roster button { min-height: 44px; text-decoration: none; font-size: 12px; }
.v12ActionRow { margin-top: 8px; }
.v12MatchPanel .v10Gold { min-height: 56px; font-weight: 750; }
.v12CheckinNote { background: transparent; border: 1px dashed #ffffff30; }
.v12ReadyButton { min-height: 56px; }
.v12MatchPanel .v10DetailsActions { padding-top: 10px; margin-top: 18px; }
.v12MatchPanel .v10DetailsActions button { min-height: 44px; color: var(--ui-surface-muted); }

/* Match information uses spacing, rather than a border around every row. */
#matchHub h1 { font-weight: 750; }
.mhHeading { margin-bottom: 26px; }
.mhEyebrow { font-size: 9px; letter-spacing: .14em; }
.mhPersonal { border: 0; border-radius: calc(var(--ui-radius) * .75); background: rgba(var(--ui-accent-rgb), .08); padding: 20px; }
.mhPersonal > div:first-child > strong { font-size: 17px; font-weight: 700; }
.mhResponse { padding: 4px; border: 1px solid #ffffff25; border-radius: 14px; gap: 3px; background: #00000008; }
.mhResponse button { border: 0; background: transparent; padding: 10px 14px; }
.mhContent { gap: 28px; }
.mhRosterTabs { border-bottom: 1px solid var(--ui-detail-line); padding-bottom: 10px; }
.mhRosterTabs button { min-height: 44px; border: 0; font-weight: 650; }
.mhRosterTabs button[aria-pressed="true"] { background: rgba(var(--ui-accent-rgb), .13); }
.mhRosterTabs b { background: #ffffff0d; padding: 2px 6px; border-radius: 6px; }
.mhPerson { min-height: 60px; padding: 10px 8px; }
.mhPerson strong { font-size: 13px; font-weight: 650; }
.mhPerson small { font-size: 11px; }
.mhAvatar { width: 38px; height: 38px; flex-basis: 38px; border-color: rgba(var(--ui-accent-rgb), .35); }
.mhTeams > span { border: 0; background: #ffffff08; padding: 10px 12px; }
.mhActions button, .mhTextButton { min-height: 44px; }
.mhActions button { color: var(--ui-surface-muted); }
.mhPrimary { min-height: 52px; }

/* Secondary pages share the glass palette, including custom light colours. */
body.srccV10 #playersList { padding: 0 !important; border: 0 !important; }
body.srccV10 #playersList .v61PlayerCard {
  padding: 18px; background: #ffffff06; color: var(--ui-surface-text);
  border-color: #ffffff20; border-radius: calc(var(--ui-radius) * .75);
  box-shadow: none; transform: none; transition: background-color .16s ease;
}
body.srccV10 #playersList .v61Info b { color: var(--ui-surface-text); font-size: 16px; font-weight: 650; }
body.srccV10 #playersList .v61Info span, body.srccV10 #playersList .v61Arrow { color: var(--ui-surface-muted); }
body.srccV10 #playersList .v61Avatar { border: 1px solid rgba(var(--ui-accent-rgb), .45); }
body.srccV10 #mainView #statsTabs {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px; padding: 5px; border: 1px solid #ffffff20; border-radius: 15px;
  background: #00000008; margin: 22px 0; overflow: visible;
}
body.srccV10 #mainView #statsTabs button {
  min-height: 44px; border: 0; border-radius: 10px; background: transparent;
  color: var(--ui-surface-muted); font-size: 12px; font-weight: 650;
  white-space: normal; padding: 10px 8px; overflow-wrap: normal;
}
body.srccV10 #mainView #statsTabs button.on { background: var(--ui-accent); color: var(--ui-accent-text, #102137); box-shadow: inset 0 1px 0 #ffffff25; }
body.srccV10 #statsList { padding: 0 !important; border: 0 !important; }
body.srccV10 #statsList .player { padding: 18px 12px; border-bottom: 1px solid #ffffff1a; }
body.srccV10 #statsList .player:first-child { background: rgba(var(--ui-accent-rgb), .08); border-radius: 12px; }
body.srccV10 #statsList .player :is(strong, b) { font-variant-numeric: tabular-nums; }
body.srccV10 #uiProfileActions { padding-top: 8px; gap: 10px; }
body.srccV10 #uiProfileActions .btn { min-height: 48px; font-size: 13px; }
body.srccV10 #uiProfileActions :is(#notifyBtn, #adminOpenBtn) { background: #ffffff06; border: 1px solid #ffffff30; color: var(--ui-surface-text); }
body.srccV10 #uiProfileActions #adminOpenBtn { background: #ffffff06 !important; color: var(--ui-surface-text) !important; }
body.srccV10 #uiProfileActions #logoutBtn { color: var(--ui-surface-muted); background: transparent; }
body.srccV10 #uiAccount { border-top: 1px solid var(--ui-detail-line); }
body.srccV10 #uiAccount summary { min-height: 44px; padding: 14px 0; font-size: 13px; }
body.srccV10 #mainView .uiAdminTabs { padding: 5px; background: #00000012; border: 1px solid #ffffff24; border-radius: 14px; }
body.srccV10 #mainView .uiAdminTabs button { min-height: 44px; color: var(--ui-surface-muted); border-radius: 10px; font-weight: 650; }
body.srccV10 #mainView .uiAdminTabs button[aria-selected="true"] { background: rgba(var(--ui-accent-rgb), .16); color: var(--ui-surface-text); box-shadow: inset 0 0 0 1px rgba(var(--ui-accent-rgb), .3); }
.maHeading h2 { font-size: clamp(21px, 2.5vw, 25px); font-weight: 700; }
.maStep { border-color: #ffffff24; box-shadow: none; }
.maStepNumber { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: rgba(var(--ui-accent-rgb), .14); color: var(--ui-surface-text); }
.maStep h3 { font-weight: 700; }

@media (min-width: 761px) {
  body.srccV10 #bottomNav { width: 100% !important; max-width: none; margin: 0 0 26px !important; }
  body.srccV10 #bottomNav button { flex-direction: row; gap: 9px; min-height: 46px; }
  body.srccV10 .v10Home { padding-top: 0; }
}
@media (max-width: 760px) {
  body.srccV10 .top { min-height: 80px !important; gap: 10px; padding: 16px 0 12px !important; }
  body.srccV10 .top .brand { gap: 9px; }
  body.srccV10 .srccTopLogo { width: 40px !important; height: 40px !important; max-height: 40px !important; flex-basis: 40px; }
  body.srccV10 .uiClubName { font-size: 17px; }
  body.srccV10 .brand #matchHeaderInfo { max-width: 100% !important; font-size: 10px !important; }
  .uiHeaderActions { gap: 5px; }
  body.srccV10 .v10Home { padding-top: 6px; }
  body.srccV10 .v12MatchPanel { padding: 20px 18px 12px; }
  .v12MatchPanel .v10Hero { gap: 10px; margin-bottom: 22px; }
  body.srccV10 #nextMatch.uiMatchCard .v12MatchPanel .v10Hero h2 { font-size: 25px !important; }
  body.srccV10 .v12MatchPanel .v11MatchDate { gap: 16px; margin-bottom: 10px; }
  body.srccV10 .v12MatchPanel .v11DateNumber { min-width: 76px; min-height: 92px; padding: 12px 8px; }
  .v12MatchPanel .v11DateNumber strong { font-size: 43px; }
  .v12MatchPanel .v11MatchDate > div:last-child > strong { font-size: 16px; }
  .v12MatchPanel .v11MatchDate > div:last-child > span { font-size: 20px; }
  .v12MatchPanel .v10Facts { padding-left: 92px; font-size: 12px; }
  .v12Overview { gap: 18px; }
  .v12MatchPanel .v10Clock { padding: 14px 0 0; }
  .v12MatchPanel .v10Clock > span { margin: 0; font-size: 9px; }
  .v12MatchPanel .v10Clock > strong { font-size: 22px; }
  .v12MatchPanel .v10Attendance { margin-top: 18px; padding-top: 16px; }
  .v12MatchPanel .v10Attendance .uiAttendance button { min-height: 48px; font-size: 12px; gap: 5px; }
  .v12MatchPanel .v10Roster { gap: 8px 18px; }
  .v12MatchPanel .v10Roster button { font-size: 11px; }
  .v12MatchPanel .v10DetailsActions { margin-top: 12px; gap: 4px 16px; }
  .mhHeading { margin-bottom: 22px; }
  .mhPersonal { padding: 16px 14px; }
  .mhResponse button { padding: 9px 6px; font-size: 12px; }
  body.srccV10 #mainView #statsTabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.srccV10 #playersList .v61PlayerCard { padding: 15px; }
  .maStep { grid-template-columns: 28px minmax(0, 1fr); }
  .maStepNumber { padding: 0; margin-top: -4px; }
}
@media (hover: hover) {
  body.srccV10 #bottomNav button:not(.active):hover,
  body.srccV10 #playersList .v61PlayerCard:hover,
  .mhPerson:hover { background: #ffffff12; transform: none; }
  .v12MatchPanel .v10Roster button:hover, .mhActions button:hover { color: var(--ui-surface-text); text-decoration: underline; text-underline-offset: 4px; }
  .v12MatchPanel .uiAttendance button:not([aria-pressed="true"]):hover { background: #ffffff10; }
}
@media (prefers-reduced-motion: reduce) {
  body.srccV10 [data-page], body.srccV10 #bottomNav button, body.srccV10 #playersList .v61PlayerCard { animation: none !important; transition: none !important; }
}
body.srccV10.uiNoMotion [data-page], body.srccV10.v7NoMotion [data-page] { animation: none !important; }
