.nfc-app__tabs:has(button:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nfc-app__tabs:has(button:nth-child(4)) button { padding-inline: 7px; font-size: clamp(11px, 3.2vw, 14px); }
.nfc-app__authorized-scroll { display: flex; flex-direction: column; overflow: hidden; padding-bottom: 0; }
.nfc-app__account-header { flex: 0 0 auto; }
.nfc-app__tab-panel { flex: 1 1 auto; overflow-y: auto; overscroll-behavior-y: contain; padding-bottom: 12px; scrollbar-width: none; }
.nfc-app__tab-panel::-webkit-scrollbar { display: none; }
@media (max-height: 620px) {
  .nfc-app__account-header .nfc-app__welcome { padding-block: 6px; }
  .nfc-app__account-header .nfc-app__welcome p { font-size: 20px; line-height: 23px; }
  .nfc-app__account-header .nfc-app__qr-scan-button { width: 42px; height: 42px; }
  .nfc-app__account-header .nfc-app__profile-hero { margin-bottom: 10px; }
  .nfc-app__account-header .nfc-app__profile-stage { width: 152px; height: 75px; }
  .nfc-app__account-header .nfc-app__profile-photo { width: 68px; height: 68px; }
  .nfc-app__account-header .nfc-app__profile-hero h2 { font-size: 21px; line-height: 24px; }
}
.id-services, .id-services__sheet { --id-accent: #dfff39; color: #fffffff5; }
.id-services { padding: 0 0 18px; }
.nfc-app__payment-modal.id-services__sheet {
  position: fixed; inset: auto 0 max(12px, env(safe-area-inset-bottom)) 0; margin: 0 auto;
  width: min(calc(100% - 28px), 520px); max-width: none; max-height: min(86dvh, 780px);
  box-sizing: border-box; padding: 0; color-scheme: dark;
}
.id-services__sheet[open] { display: flex; flex-direction: column; }
.id-services__sheet::backdrop { background: #0009; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.id-services__sheet-frame, .id-services__sheet-surface { display: flex; flex-direction: column; min-height: 0; }
.id-services__sheet-heading {
  display: grid; grid-template: 'back title close' auto / 38px minmax(0, 1fr) 38px; align-items: center;
  flex: 0 0 auto; gap: 10px; padding: 14px 16px 10px;
}
.id-services__sheet-heading h2 {
  grid-area: title; margin: 0; font-size: 17px; font-weight: 500; line-height: 1.25;
  text-align: center; text-wrap: balance; overflow-wrap: anywhere;
}
.id-services__sheet-heading h2:focus { outline: none; }
.id-services__sheet-heading .nfc-app__modal-close { grid-area: close; position: static; width: 38px; height: 38px; }
.id-services__sheet-heading .id-services__sheet-back { grid-area: back; }
.id-services__sheet-heading .id-services__sheet-back .padel-id-icon { color: var(--id-accent); }
.id-services__sheet-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 6px 20px 20px; }
.id-services__sheet-body > p { margin: 0; }
.id-mba-banner {
  display: block; width: 100%; padding: 0; margin-top: 12px; border: 0; border-radius: 10px;
  background: #20211f; overflow: hidden; cursor: pointer;
}
.id-mba-banner img { display: block; width: 100%; height: auto; }
.nfc-app__payment-modal.id-services__sheet.is-mba {
  inset: 0; width: min(100%, 640px); height: 100dvh; max-height: none;
  border: 0; border-radius: 0; animation: none;
  background: linear-gradient(145deg, #25271e, #171817 37%);
}
.is-mba .id-services__sheet-frame, .is-mba .id-services__sheet-surface { flex: 1; }
.is-mba .id-services__sheet-heading { padding: max(10px, env(safe-area-inset-top)) 14px 8px; }
.is-mba .id-services__sheet-heading h2 { font-size: 14px; }
.is-mba .id-services__sheet-heading .nfc-app__modal-close { width: 36px; height: 36px; }
.is-mba .id-services__sheet-body { display: block; flex: 1; padding: 8px 18px max(20px, env(safe-area-inset-bottom)); }
.id-mba { display: grid; gap: 13px; font-size: 14px; }
.id-mba h3, .id-mba p, .id-mba ul { margin: 0; }
.id-mba h3 { font-size: 19px; font-weight: 650; line-height: 1.24; }
.id-mba p, .id-mba li { color: #ffffffc4; line-height: 1.52; text-wrap: pretty; }
.id-mba ul { display: grid; gap: 6px; padding-inline-start: 17px; }
.id-mba li::marker { color: var(--id-accent); }
.id-mba .id-services__video { aspect-ratio: 16 / 9; max-height: min(34dvh, 268px); object-fit: contain; border-radius: 8px; }
.id-mba__lesson-text { display: grid; gap: 10px; }
.id-mba__checklist {
  display: grid; min-width: 0; margin: 0; padding: 2px 10px;
  border: 1px solid #ffffff1a; border-radius: 8px; background: #ffffff06;
}
.id-mba__checklist legend { padding: 0 5px; font-size: 13px; font-weight: 600; color: #ffffffcd; }
.id-mba__checklist label { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 4px 0; font-size: 13px; line-height: 1.35; cursor: pointer; }
.id-mba__checklist label + label { border-top: 1px solid #ffffff17; }
.id-mba__checklist input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: var(--id-accent); }
.id-mba .id-services__primary { font-size: 14px; }
.id-services__sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; border: 1px solid #ffffff17; border-radius: 10px; background: #151616; }
.id-services__sections button { min-height: 36px; padding: 5px 4px; border: 0; border-radius: 7px; background: transparent; color: #ffffffa8; font: inherit; font-size: 14px; cursor: pointer; }
.id-services__sections button[aria-pressed="true"] { background: #dfff391a; color: var(--id-accent); }
.id-services__content { display: grid; gap: 10px; }
.id-services .nfc-app__dashboard-card { min-height: 128px; height: auto; }
.padel-id-icon { display: inline-grid; place-items: center; color: #dfff39; }
.padel-id-icon.nfc-app__card-icon, .padel-id-icon.nfc-app__operation-icon { display: grid; }
.padel-id-icon svg { display: block; width: 19px; height: 19px; }
.nfc-app__topup-method > .padel-id-icon::before,
.padel-id-icon.nfc-app__card-icon::before, .padel-id-icon.nfc-app__operation-icon::before,
.nfc-app__topup-method > .padel-id-icon::after,
.padel-id-icon.nfc-app__card-icon::after, .padel-id-icon.nfc-app__operation-icon::after { content: none; }
.nfc-app__qr-scan-button .padel-id-icon svg { width: 29px; height: 29px; }
.nfc-app__modal-close:has(.padel-id-icon) { padding: 0; }
.nfc-app__modal-close .padel-id-icon { color: inherit; }
.nfc-app__qr-spinner.padel-id-icon { border: 0; }
.nfc-app__qr-spinner.padel-id-icon svg { width: 46px; height: 46px; }
.nfc-app__sign-out:has(.padel-id-icon), .id-services__button:has(.padel-id-icon) {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.id-services__card { display: grid; gap: 9px; border: 1px solid #ffffff17; border-radius: 8px; padding: 16px; background: linear-gradient(180deg,#ffffff12,#ffffff08),#161616db; }
.id-services__card h3, .id-services p { margin: 0; }
.id-services__card p { color: #ffffffa3; }
.id-services__card strong { color: var(--id-accent); }
.id-services__item { color: inherit; text-align: left; font: inherit; cursor: pointer; }
.id-services__item strong { color: inherit; font-size: 17px; }
.id-services__item > .padel-id-icon { justify-self: start; }
.id-services__city { display: grid; gap: 6px; }
.id-services__city-trigger, .id-services__city-list button {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px;
  text-align: left; padding: 8px 12px; color: inherit; font: inherit; cursor: pointer;
}
.id-services__city-trigger, .id-services__city-list { background: #252524; border: 1px solid #ffffff24; border-radius: 8px; }
.id-services__city-list { display: grid; }
.id-services__city-list button { border: 0; background: transparent; }
.id-services__city-list button + button { border-top: 1px solid #ffffff15; }
.id-services__city-list button[aria-pressed="true"] { color: var(--id-accent); }
.id-services__invite { display: flex; align-items: center; justify-content: space-between; }
.id-services__invite[aria-pressed="true"] { border-color: var(--id-accent); }
.id-services__invite small { display: block; margin-top: 3px; color: #ffffffa3; }
.id-services__field { display: grid; gap: 7px; font-size: 14px; color: #ffffffbd; }
.id-services__field :is(select, input, textarea) {
  width: 100%; min-height: 44px; color-scheme: dark; color: #fff; background: #252524;
  border: 1px solid #ffffff24; border-radius: 8px; padding: 8px 12px; font: inherit;
}
.id-services__field textarea { resize: vertical; min-height: 84px; }
.id-services__person { display: flex; align-items: center; gap: 12px; }
.id-services__avatar {
  display: block; flex: 0 0 48px; width: 48px; height: 48px; overflow: hidden; border-radius: 50%;
  background: radial-gradient(circle at center, #444737, #30322b);
}
.id-services__avatar img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}
.id-services__player-actions { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 8px; }
.id-services__player-actions .id-services__button { min-width: 0; padding-inline: 6px; font-size: 13px; line-height: 1.2; }
.id-services__message { justify-self: end; max-width: 100%; overflow-wrap: anywhere; border-radius: 8px; padding: 9px 12px; background: #dfff391a; }
.id-services__ticket { --ticket-notch: 8px; --ticket-edge: #646744; }
.id-services__ticket-offer, .id-services__ticket-stub {
  position: relative; overflow: hidden; border: 1px solid var(--ticket-edge);
  background: linear-gradient(90deg, #dfff3915, transparent 62%), #242525;
}
.id-services__ticket-offer { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 10px; }
.id-services__ticket:has(.id-services__ticket-stub) .id-services__ticket-offer {
  border-bottom: 0; border-radius: 10px 10px 0 0;
  mask: radial-gradient(circle at bottom left, transparent calc(var(--ticket-notch) - 1px), #000 var(--ticket-notch)) left / 51% 100% no-repeat,
        radial-gradient(circle at bottom right, transparent calc(var(--ticket-notch) - 1px), #000 var(--ticket-notch)) right / 51% 100% no-repeat;
}
.id-services__ticket-offer .padel-id-icon { flex: 0 0 34px; margin: 0; }
.id-services__ticket h3 { margin: 0; line-height: 1.2; font-size: 17px; }
.id-services__ticket p { margin: 5px 0 0; color: #ffffffa3; font-size: 13px; }
.id-services__ticket-stub {
  display: grid; gap: 8px; padding: 10px 16px 13px; border-top: 1px dashed #dfff3955; border-radius: 0 0 10px 10px;
  mask: radial-gradient(circle at top left, transparent calc(var(--ticket-notch) - 1px), #000 var(--ticket-notch)) left / 51% 100% no-repeat,
        radial-gradient(circle at top right, transparent calc(var(--ticket-notch) - 1px), #000 var(--ticket-notch)) right / 51% 100% no-repeat;
}
.id-services__ticket:has(.id-services__ticket-stub) .id-services__ticket-offer::before,
.id-services__ticket:has(.id-services__ticket-stub) .id-services__ticket-offer::after,
.id-services__ticket-stub::before, .id-services__ticket-stub::after {
  position: absolute; width: calc(2 * var(--ticket-notch) + 2px); height: calc(2 * var(--ticket-notch) + 2px);
  box-sizing: border-box; border: 1px solid var(--ticket-edge); border-radius: 50%; pointer-events: none; content: '';
}
.id-services__ticket-offer::before, .id-services__ticket-offer::after { bottom: calc(-1 * var(--ticket-notch) - 1px); }
.id-services__ticket-stub::before, .id-services__ticket-stub::after { top: calc(-1 * var(--ticket-notch) - 2px); }
.id-services__ticket-offer::before, .id-services__ticket-stub::before { left: calc(-1 * var(--ticket-notch) - 2px); }
.id-services__ticket-offer::after, .id-services__ticket-stub::after { right: calc(-1 * var(--ticket-notch) - 2px); }
.id-services__promo-code { display: flex; align-items: center; justify-content: space-between; color: #ffffffb8; }
.id-services__promo-code strong { color: var(--id-accent); letter-spacing: .08em; }
.nfc-app__hero .id-demo-login {
  border: 0; padding: 4px 8px; background: transparent; color: #dfff39; font: inherit;
  font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; user-select: none; -webkit-touch-callout: none;
}
.nfc-app__hero h1 { line-height: 1.02; }
.nfc-app__hero #id-demo-login-hint { display: block; margin-top: 10px; color: #ffffff85; font-size: 12px; }
.id-services__button, .id-services__primary, .id-services__choices button {
  min-height: 42px; border: 1px solid #ffffff24; border-radius: 8px; padding: 8px 12px;
  background: #252524; color: inherit; font: inherit; cursor: pointer;
}
.id-services > .id-services__button { justify-self: start; }
.id-services__primary { background: var(--id-accent); color: #141414; border-color: transparent; font-weight: 700; }
.id-services__sheet button:disabled { opacity: .44; cursor: default; }
.id-services button:focus-visible, .id-services__sheet button:focus-visible, .nfc-app__tabs button:focus-visible { outline: 2px solid #dfff39; outline-offset: 2px; }
.id-services__choices, .id-services__quantity { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.id-services__choices button[aria-pressed="true"] { color: var(--id-accent); border-color: var(--id-accent); }
.id-services__notice { color: var(--id-accent); }
.id-services__notice:empty { display: none; }
.id-services__video { width: 100%; max-height: 54vh; border-radius: 8px; background: #111; }
.id-services__metrics { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 0; }
.id-services__metrics dd { margin: 0; color: var(--id-accent); text-align: right; }
.id-analysis { display: grid; gap: 16px; }
.id-analysis__figure { display: grid; gap: 12px; padding: 14px; border: 1px solid #ffffff15; border-radius: 10px; background: #202121; }
.id-analysis__figure h3 { margin: 0; font-size: 16px; font-weight: 600; }
.id-analysis__bars { display: grid; gap: 12px; }
.id-analysis__bar-row { display: grid; grid-template-columns: 42px 1fr 34px; gap: 8px; align-items: center; font-size: 13px; color: #ffffffab; }
.id-analysis__bar-row strong { color: var(--id-accent); text-align: right; font-variant-numeric: tabular-nums; }
.id-analysis__track { height: 8px; border-radius: 99px; background: #ffffff15; }
.id-analysis__track i { display: block; height: 100%; border-radius: inherit; background: #a0ae59; }
.id-analysis__bar-row:last-child .id-analysis__track i { background: var(--id-accent); }
.id-analysis__figure-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.id-analysis__figure-head .id-services__sections { flex: 0 0 108px; padding: 2px; }
.id-analysis__figure-head .id-services__sections button { min-height: 27px; white-space: nowrap; font-size: 12px; }
.id-analysis__court {
  position: relative; display: grid; grid-template: repeat(4, 1fr) / repeat(6, 1fr);
  aspect-ratio: 2 / 1; gap: 2px; padding: 4px; border: 1px solid #ffffff60; border-radius: 5px; background: #1d241b;
}
.id-analysis__court span { border-radius: 2px; background: rgb(223 255 57 / var(--heat)); }
.id-analysis__court::after {
  position: absolute; inset: 4px; pointer-events: none; content: '';
  background: linear-gradient(90deg, transparent 16.4%, #ffffff70 16.4% 16.9%, transparent 16.9% 49.6%, #ffffffd1 49.6% 50.4%, transparent 50.4% 83.1%, #ffffff70 83.1% 83.6%, transparent 83.6%),
    linear-gradient(#ffffff70, #ffffff70) center / 66% 1px no-repeat;
}
.id-analysis__legend { display: flex; align-items: center; justify-content: end; gap: 7px; font-size: 11px; color: #ffffffab; }
.id-analysis__legend i { width: 54px; height: 5px; border-radius: 99px; background: linear-gradient(90deg, #34452a, #dfff39); }
.id-analysis > .id-services__primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.id-analysis > .id-services__primary .padel-id-icon { color: inherit; }
.id-score { display: grid; gap: 14px; }
.id-score__meta { display: grid; justify-items: center; gap: 3px; color: #ffffffa3; font-size: 13px; }
.id-score__meta time { color: #fff; font-size: 22px; font-variant-numeric: tabular-nums; }
.id-score__set-score { display: grid; width: min(100%, 138px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 5px; }
.id-score__set-chip { display: grid; place-items: center; min-height: 31px; border-radius: 8px; background: #dfff39; color: #141515; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.id-score__set-chip:nth-child(2) { background: #acc2ff; }
.id-score__set-picker { display: flex; gap: 4px; margin-top: 4px; }
.id-score__set-picker button { width: 29px; min-height: 28px; padding: 0; border: 1px solid #ffffff24; border-radius: 6px; background: #ffffff0a; color: inherit; font: inherit; cursor: pointer; }
.id-score__set-picker button[aria-pressed="true"] { border-color: #ffffff78; color: #fff; }
.id-score__teams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.id-score__team {
  --team-accent: #dfff39; display: grid; min-width: 0; grid-template-rows: auto minmax(30px, auto) auto 1fr 18px auto;
  gap: 5px; padding: 9px; border: 1px solid #ffffff18; border-top: 3px solid var(--team-accent);
  border-radius: 9px; text-align: center; background: #ffffff0b;
}
.id-score__team:nth-child(2) { --team-accent: #acc2ff; }
.id-score__team h3 { margin: 0; font-size: clamp(14px, 4vw, 18px); }
.id-score__team p { margin: 0; color: #ffffffb5; font-size: 12px; overflow-wrap: anywhere; }
.id-score__team .id-score__games, .id-score__serve { color: var(--team-accent); font-size: 11px; }
.id-score__team output { font-size: clamp(38px, 14vw, 72px); font-weight: 700; line-height: 1.2; }
.id-score__team .id-services__primary { margin-top: 5px; padding-inline: 5px; background: var(--team-accent); }
.nfc-app__payment-modal.id-services__sheet.is-score { inset: 0; width: 100dvw; height: 100dvh; max-height: none; border: 0; border-radius: 0; background: #141515; animation: none; }
.is-score .id-services__sheet-frame { position: relative; flex: 1; overflow: hidden; background: #141515; }
.is-score .id-services__sheet-surface { position: absolute; inset: 0; }
.is-score .id-services__sheet-heading { padding: 8px 12px; }
.is-score .id-services__sheet-heading h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.is-score .id-services__sheet-body { flex: 1; padding: 0 12px 12px; }
.is-score .id-score {
  min-height: 100%; grid-template: 'left meta right' 1fr 'left undo right' auto /
    minmax(0, 1fr) minmax(104px, .52fr) minmax(0, 1fr); gap: clamp(6px, 2vmin, 18px);
}
.is-score .id-score__teams { display: contents; }
.is-score .id-score__team { grid-area: left; align-items: center; }
.is-score .id-score__team:nth-child(2) { grid-area: right; }
.is-score .id-score__meta { grid-area: meta; align-self: center; }
.is-score .id-score > .id-services__button { grid-area: undo; min-height: 42px; padding-inline: 5px; }
@media (orientation: portrait) {
  .is-score .id-services__sheet-surface {
    inset: 50% auto auto 50%; width: 100dvh; height: 100dvw;
    transform: translate(-50%, -50%) rotate(90deg);
  }
}
