/**
 * Tema alinhado a referencia/racket-hub-frontend-main (tailwind.config.js + páginas).
 */
:root {
  --rh-green-300: #bcef86;
  --rh-green-500: #249570;
  --rh-green-600: #177c5b;
  --rh-green-700: #116247;
  --rh-green-800: #085b43;
  --rh-red-800: #a32817;
  --rh-yellow-200: #ffed3e;
  --rh-font: "Spline Sans", system-ui, sans-serif;
  --rh-text-dark: #0f172a;
  /** Espaço entre o cabeçalho do app (avatar + menu) e o conteúdo — paridade referência main mt-8+ */
  --rh-app-header-gap: 2rem;
  --rh-space-1: 0.25rem;
  --rh-space-2: 0.5rem;
  --rh-space-3: 0.75rem;
  --rh-space-4: 1rem;
  --rh-space-5: 1.25rem;
  --rh-space-6: 1.5rem;
  --rh-space-7: 2rem;
  --rh-radius-card: 1rem;
  --rh-radius-control: 0.5rem;
  --rh-panel-padding-y: 1.5rem;
  --rh-panel-padding-x: 1.25rem;
  --rh-panel-back-gap: 2rem;
  --rh-panel-title-gap: 2rem;
  --rh-panel-lede-gap: 0.75rem;
  --rh-panel-content-gap: 1.5rem;
  --rh-card-gap: 0.875rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  touch-action: manipulation;
}

body.rh-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--rh-font);
  line-height: 1.5;
}

body.rh-body--app,
body.rh-body--marketing-dark {
  background: var(--rh-green-800);
  color: #fff;
}

body.rh-body--marketing-light {
  background: #fff;
  color: var(--rh-text-dark);
}

/* Phosphor Icons Web (@phosphor-icons/web bold) — paridade com @phosphor-icons/react weight="bold" na referência */
.rh-ph {
  display: inline-flex;
  line-height: 1;
  vertical-align: middle;
  speak: none;
}

.rh-ph--sidebar-control {
  font-size: 2.375rem;
}

.rh-sidebar__link .rh-ph {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.rh-ph--court-badge {
  font-size: 1.5rem;
}

.rh-ph--btn-icon {
  font-size: 1.5rem;
}

.rh-time-chip__icon.rh-ph {
  font-size: 1.5rem;
}

.rh-search-select__glass.rh-ph {
  font-size: 1.5rem;
}

.rh-search-select__pill-remove .rh-ph {
  font-size: 1rem;
}

.rh-search-select__option-icon .rh-ph {
  font-size: 1.375rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  padding: 0.5rem 1rem;
  background: var(--rh-yellow-200);
  color: var(--rh-green-800);
  font-weight: 600;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 70;
}

.rh-shell {
  max-width: 700px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem 6rem;
  min-height: 100vh;
}

@media (min-width: 1200px) {
  .rh-shell {
    max-width: 1200px;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.rh-toast-root {
  position: fixed;
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  left: 50%;
  right: auto;
  top: auto;
  transform: translateX(-50%);
  z-index: 10050;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  width: min(22rem, calc(100vw - 2rem));
  max-width: min(22rem, calc(100vw - 2rem));
  pointer-events: none;
}

.rh-toast-root .rh-toast {
  pointer-events: auto;
}

.rh-toast {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid var(--rh-green-300);
  background: var(--rh-green-700);
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
  overflow: hidden;
  animation: rh-toast-in 0.28s ease-out;
}

.rh-toast--error {
  border-color: #fca5a5;
  background: #7f1d1d;
}

.rh-toast--error .rh-toast__icon {
  color: #fecaca;
}

.rh-toast--error .rh-toast__bar {
  background: #fecaca;
}

@keyframes rh-toast-in {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rh-toast--out {
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.rh-toast__main {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.875rem 0.75rem 0.65rem 1rem;
}

.rh-toast__icon {
  flex-shrink: 0;
  color: var(--rh-green-300);
  line-height: 1;
  padding-top: 0.1rem;
}

.rh-toast__icon .rh-ph {
  font-size: 1.375rem;
}

.rh-toast__text {
  flex: 1;
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.45;
  min-width: 0;
}

.rh-toast__close {
  flex-shrink: 0;
  border: none;
  padding: 0.2rem;
  margin: -0.15rem -0.05rem 0 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rh-toast__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.rh-toast__close .rh-ph {
  font-size: 1.125rem;
}

.rh-toast__track {
  height: 3px;
  margin: 0 1rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.rh-toast__bar {
  height: 100%;
  width: 100%;
  background: var(--rh-green-300);
  transform-origin: left center;
  animation-name: rh-toast-bar;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

@keyframes rh-toast-bar {
  from {
    transform: scaleX(1);
  }

  to {
    transform: scaleX(0);
  }
}

body.rh-body--marketing-light .rh-toast {
  background: #fff;
  color: var(--rh-green-800);
  border-color: var(--rh-green-500);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.15);
}

body.rh-body--marketing-light .rh-toast__icon {
  color: var(--rh-green-600);
}

body.rh-body--marketing-light .rh-toast__close {
  color: var(--rh-text-dark);
  opacity: 0.75;
}

body.rh-body--marketing-light .rh-toast__track {
  background: rgba(8, 91, 67, 0.12);
}

body.rh-body--marketing-light .rh-toast__bar {
  background: var(--rh-green-500);
}

/* ----- Marketing auth (login / signup / OTP / senha) ----- */
.rh-auth-page {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 0 3rem;
  min-height: calc(100vh - 8rem);
}

.rh-auth-card {
  width: 100%;
  max-width: 26rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(163, 230, 53, 0.22);
  background: linear-gradient(165deg, rgba(8, 91, 67, 0.92) 0%, rgba(6, 78, 59, 0.98) 100%);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
}

.rh-auth-card__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(163, 230, 53, 0.12);
  background: radial-gradient(circle at top, rgba(250, 204, 21, 0.08), transparent 70%);
}

.rh-auth-card__logo {
  display: block;
  width: 11rem;
  height: auto;
  margin: 0;
}

.rh-auth-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.16);
  border: 1px solid rgba(250, 204, 21, 0.35);
  color: var(--rh-yellow-200);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rh-auth-card__body {
  padding: 1.5rem 1.5rem 1.75rem;
}

.rh-auth-card__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--rh-green-300);
  text-align: center;
}

.rh-auth-card__lede {
  margin: 0.65rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}

.rh-auth-form {
  margin-top: 1.5rem;
}

.rh-auth-form__actions {
  margin-top: 0.35rem;
}

.rh-auth-form__resend {
  margin-top: 0.75rem;
}

.rh-auth-card__accent {
  font-weight: 600;
  color: var(--rh-green-300);
}

body.rh-body--marketing-light .rh-auth-card__accent {
  color: var(--rh-green-600);
}

.rh-auth-card__hint {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

body.rh-body--marketing-light .rh-auth-card__hint {
  color: #94a3b8;
}

.rh-auth-card .rh-otp-panel--auth-card {
  margin-top: 1.5rem;
  margin-bottom: 0;
  padding: 1.35rem 1.15rem 1.5rem;
  border-radius: 0.75rem;
}

.rh-auth-card .rh-auth-form__resend-btn {
  width: 100%;
  margin-top: 1rem;
}

.rh-auth-card .rh-auth-form__resend-btn + .rh-field {
  margin-top: 1.35rem;
}

.rh-auth-card .rh-otp-panel--auth-card .rh-otp-panel__label {
  margin-bottom: 1.125rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.rh-auth-card .rh-otp-panel--auth-card .rh-otp-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.55rem;
  justify-content: center;
}

.rh-auth-card .rh-otp-panel--auth-card .rh-otp-digit {
  flex: unset;
  min-width: 0;
  max-width: none;
  width: 100%;
  height: 3.25rem;
  font-size: 1.5rem;
}

.rh-auth-card .rh-auth-code-form .rh-field + .rh-auth-form__actions {
  margin-top: 0.65rem;
}

/* Nova senha — espaçamento do fluxo OTP (paridade print) */
.rh-auth-card .rh-auth-code-form.rh-stack-form {
  margin-top: 0;
  gap: 0;
}

.rh-auth-card .rh-auth-form.rh-auth-code-form {
  margin-top: 1.25rem;
}

.rh-auth-card .rh-auth-code-form .rh-otp-panel--auth-card {
  margin: 0;
  padding: 1.125rem 0.875rem 1.25rem;
  border-radius: 0.625rem;
}

.rh-auth-card .rh-auth-code-form .rh-otp-panel__label {
  margin: 0 0 1.125rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.rh-auth-card .rh-auth-code-form .rh-otp-grid {
  gap: 0.4375rem;
}

.rh-auth-card .rh-auth-code-form .rh-otp-digit {
  height: 2.875rem;
  font-size: 1.375rem;
  background: #fff;
}

.rh-auth-card .rh-auth-code-form .rh-auth-form__resend-btn {
  margin-top: 0.875rem;
}

.rh-otp-timer {
  margin-top: 0.875rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  text-align: center;
}

.rh-otp-timer__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.58);
}

body.rh-body--marketing-light .rh-otp-timer__label {
  color: #94a3b8;
}

.rh-otp-timer__value {
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.04em;
}

.rh-otp-timer__value--expired {
  color: #fca5a5;
}

body.rh-body--marketing-light .rh-otp-timer__value {
  color: #64748b;
}

body.rh-body--marketing-light .rh-otp-timer__value--expired {
  color: #dc2626;
}

.rh-otp-resend-form {
  margin: 0;
  padding: 0;
}

.rh-otp-resend {
  margin: 0.5rem 0 0;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.68);
}

body.rh-body--marketing-light .rh-otp-resend {
  color: #64748b;
}

.rh-otp-resend__link {
  display: inline;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--rh-green-300);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}

.rh-otp-resend__link:hover {
  color: var(--rh-green-200);
}

.rh-otp-resend__link:disabled,
.rh-admin-user-verification__form [data-rh-otp-resend-btn]:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  text-decoration: none;
}

body.rh-body--marketing-light .rh-otp-resend__link {
  color: var(--rh-green-600);
}

.rh-auth-card .rh-auth-code-form .rh-otp-resend {
  margin-top: 0.625rem;
}

.rh-auth-card .rh-auth-code-form .rh-otp-timer {
  margin-top: 0.75rem;
}

.rh-auth-card .rh-auth-code-form .rh-field {
  margin-top: 1.375rem;
  gap: 0.5rem;
}

.rh-auth-card .rh-auth-code-form .rh-field label {
  font-size: 1.125rem;
  font-weight: 500;
}

.rh-auth-card .rh-auth-code-form .rh-auth-form__actions.rh-actions-stack {
  margin-top: 0.875rem;
  gap: 0.75rem;
}

body.rh-body--marketing-light .rh-auth-card {
  border-color: rgba(8, 91, 67, 0.12);
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

body.rh-body--marketing-light .rh-auth-card__brand {
  border-bottom-color: rgba(8, 91, 67, 0.08);
  background: radial-gradient(circle at top, rgba(163, 230, 53, 0.12), transparent 70%);
}

body.rh-body--marketing-light .rh-auth-card__title {
  color: var(--rh-green-800);
}

body.rh-body--marketing-light .rh-auth-card__lede {
  color: #64748b;
}

.rh-logo {
  display: block;
  margin: 4rem auto 0;
  width: 14rem;
  height: auto;
}

.rh-logo--dark {
  filter: none;
}

.rh-heading-xl {
  margin: 3.5rem 0 0;
  font-size: 1.625rem;
  font-weight: 500;
  color: var(--rh-green-300);
}

.rh-heading-xl--signup {
  margin: 4rem 0 0;
}

body.rh-body--marketing-dark .rh-signup-page .rh-heading-xl--signup {
  margin-top: 4rem;
}

body.rh-body--marketing-light .rh-heading-xl {
  color: var(--rh-green-800);
}

.rh-lede {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
}

.rh-lede--signup {
  margin: 0.75rem 0 0;
}

body.rh-body--marketing-light .rh-lede {
  color: #64748b;
}

.rh-stack-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ----- Cadastro (paridade SignUp/index.tsx) ----- */
.rh-signup-page {
  display: flex;
  flex-direction: column;
}

/* Tela de código (/signup sem convite na sessão) */
.rh-signup-gate .rh-heading-xl--signup {
  margin: 4rem 0 0;
}

.rh-signup-gate__message {
  margin: 1rem 0 0;
  max-width: 36rem;
  line-height: 1.55;
}

.rh-signup-gate .rh-signup-form {
  margin: 2.5rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.rh-signup-gate .rh-signup-fields {
  gap: 0;
}

.rh-signup-gate .rh-marketing-field {
  padding: 1rem;
  gap: 0.75rem;
}

.rh-signup-gate .rh-marketing-field__control input {
  min-height: 1.5rem;
  padding: 0.15rem 0;
}

.rh-signup-gate .rh-signup-actions {
  margin: 0;
  gap: 0.75rem;
}

.rh-without-establishment .rh-signup-form {
  margin: 2rem 0 0;
  gap: 1.75rem;
}

.rh-without-establishment__secondary {
  margin-top: 1.75rem;
}

.rh-without-establishment__logout {
  margin: 0;
  width: 100%;
}

.rh-without-establishment__logout .rh-btn {
  width: 100%;
}

.rh-signup-club-badge {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.45;
}

.rh-signup-club-badge__change {
  color: var(--rh-green-300);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rh-signup-club-badge__change:hover {
  color: #fff;
}

.rh-signup-form {
  margin: 2.5rem 0 0.75rem;
  display: flex;
  flex-direction: column;
}

.rh-signup-fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Campos em caixa (paridade Input.tsx) */
.rh-marketing-field {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--rh-green-300);
  border-radius: 0.5rem;
  background: var(--rh-green-700);
}

.rh-marketing-field label {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--rh-green-300);
  line-height: 1.3;
}

.rh-marketing-field__control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.rh-marketing-field__control input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  outline: none;
  padding: 0;
}

.rh-marketing-field__control input::placeholder {
  color: #fff;
  opacity: 1;
}

/* Sexo — paridade Select.tsx (caixa + lista irmã colada) */
.rh-marketing-select {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.rh-marketing-field--select-box > .rh-custom-select {
  width: 100%;
  border: 0;
  padding: 0;
  min-height: 0;
  background: transparent;
  border-radius: 0;
}

.rh-marketing-field--select-box .rh-custom-select__trigger {
  width: 100%;
  padding: 0;
  color: #fff;
}

.rh-marketing-field--select-box .rh-custom-select__value {
  font-weight: 400;
}

.rh-marketing-field--select-box .rh-custom-select__caret {
  font-size: 1.5rem;
}

.rh-marketing-field--select-box-open {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.rh-marketing-select .rh-custom-select__list {
  position: static;
  z-index: 1;
  margin: 0;
  padding: 0;
  background: var(--rh-green-700);
  border: 1px solid var(--rh-green-300);
  border-top: 0;
  border-radius: 0 0 0.5rem 0.5rem;
  box-shadow: none;
  max-height: none;
  overflow: visible;
}

.rh-marketing-select .rh-custom-select__option {
  padding: 0.75rem;
  border-bottom: 1px solid var(--rh-green-300);
}

.rh-marketing-select .rh-custom-select__option:last-child {
  border-bottom: 0;
}

.rh-signup-terms {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  margin: 1.75rem 0;
}

.rh-signup-terms input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin: 0;
  accent-color: var(--rh-green-300);
}

.rh-signup-terms label {
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.35;
}

.rh-signup-terms .rh-text-accent {
  font-weight: 500;
  color: var(--rh-green-300);
}

.rh-signup-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rh-field {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
  border: none;
  background: transparent;
}

.rh-field[hidden],
[data-rh-super8-variant][hidden] {
  display: none !important;
}

.rh-field label {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--rh-green-300);
  line-height: 1.3;
}
body.rh-body--marketing-light .rh-field label {
  color: var(--rh-green-800);
}

.rh-field > input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.rh-field > textarea,
.rh-field > select:not(.rh-custom-select__native),
.rh-control {
  box-sizing: border-box;
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--rh-green-300);
  border-radius: 0.5rem;
  background: var(--rh-green-800);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  line-height: 1.35;
  outline: none;
  appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rh-field > input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):hover,
.rh-field > textarea:hover,
.rh-field > select:not(.rh-custom-select__native):hover,
.rh-control:hover {
  border-color: #9fd48f;
}

.rh-field > input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):focus,
.rh-field > textarea:focus,
.rh-field > select:not(.rh-custom-select__native):focus,
.rh-control:focus {
  border-color: var(--rh-green-300);
  box-shadow: 0 0 0 2px rgba(126, 179, 114, 0.35);
}

body.rh-body--marketing-light .rh-field > input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
body.rh-body--marketing-light .rh-field > textarea,
body.rh-body--marketing-light .rh-field > select:not(.rh-custom-select__native),
body.rh-body--marketing-light .rh-control {
  background: #fff;
  border-color: #cbd5e1;
  color: var(--rh-text-dark, #0f172a);
}

body.rh-body--marketing-light .rh-field > input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):hover,
body.rh-body--marketing-light .rh-field > textarea:hover,
body.rh-body--marketing-light .rh-field > select:not(.rh-custom-select__native):hover,
body.rh-body--marketing-light .rh-control:hover {
  border-color: #94a3b8;
}

body.rh-body--marketing-light .rh-field > input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):focus,
body.rh-body--marketing-light .rh-field > textarea:focus,
body.rh-body--marketing-light .rh-field > select:not(.rh-custom-select__native):focus,
body.rh-body--marketing-light .rh-control:focus {
  border-color: var(--rh-green-600);
  box-shadow: 0 0 0 2px rgba(34, 87, 54, 0.15);
}

.rh-field > input[type="time"],
.rh-field > input[type="date"],
.rh-field > input[type="number"] {
  color-scheme: dark;
}
body.rh-body--marketing-light .rh-field > input[type="time"],
body.rh-body--marketing-light .rh-field > input[type="date"],
body.rh-body--marketing-light .rh-field > input[type="number"] {
  color-scheme: light;
}

/* <select> nativo: lista de opções legível (evita texto branco em fundo branco) */
body.rh-body--app select,
body.rh-body--marketing-dark select,
.rh-select {
  color-scheme: dark;
}

body.rh-body--app select option,
body.rh-body--marketing-dark select option,
body.rh-body--app .rh-field select option,
body.rh-body--marketing-dark .rh-field select option,
.rh-select option {
  background-color: var(--rh-green-800);
  color: #fff;
}

body.rh-body--marketing-light select,
body.rh-body--marketing-light .rh-select {
  color-scheme: light;
}

body.rh-body--marketing-light select option,
body.rh-body--marketing-light .rh-field select option,
body.rh-body--marketing-light .rh-select option {
  background-color: #fff;
  color: var(--rh-text-dark, #0f172a);
}

/* Select customizado (lista com respiro e divisores — paridade com Select.tsx) */
.rh-field--has-select {
  position: relative;
}

.rh-field--has-select > .rh-custom-select {
  box-sizing: border-box;
  border: 1px solid var(--rh-green-300);
  border-radius: 0.5rem;
  background: var(--rh-green-800);
  padding: 0.75rem 1rem;
  min-height: 3rem;
}

body.rh-body--marketing-light .rh-field--has-select > .rh-custom-select {
  background: #fff;
  border-color: #cbd5e1;
}

.rh-field--select-open {
  z-index: 40;
}

.rh-field--select-open > .rh-custom-select {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.rh-custom-select {
  position: relative;
  width: 100%;
}

.rh-custom-select__native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.rh-custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}

body.rh-body--marketing-light .rh-custom-select__trigger {
  color: var(--rh-text-dark);
}

.rh-custom-select__value {
  flex: 1;
  min-width: 0;
}

.rh-custom-select__caret {
  flex-shrink: 0;
  color: var(--rh-green-300);
  font-size: 1.25rem;
}

.rh-field--has-select .rh-custom-select__list {
  position: absolute;
  z-index: 50;
  left: -1px;
  right: -1px;
  top: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--rh-green-700);
  border: 1px solid var(--rh-green-300);
  border-top: none;
  border-radius: 0 0 0.5rem 0.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  max-height: min(16rem, 50vh);
  overflow-y: auto;
}

.rh-custom-select__list {
  position: absolute;
  z-index: 50;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  margin: 0;
  padding: 0;
  background: var(--rh-green-700);
  border: 1px solid var(--rh-green-300);
  border-radius: 0.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  max-height: min(16rem, 50vh);
  overflow-y: auto;
}

body.rh-body--marketing-light .rh-custom-select__list {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.rh-custom-select__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
  padding: 0.75rem 0.85rem;
  border: 0;
  border-bottom: 1px solid var(--rh-green-300);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}

.rh-custom-select__option:last-child {
  border-bottom: none;
}

.rh-custom-select__option:hover,
.rh-custom-select__option:focus-visible {
  background: rgba(147, 233, 163, 0.14);
  outline: none;
}

body.rh-body--marketing-light .rh-custom-select__option {
  color: var(--rh-text-dark);
  border-bottom-color: #cbd5e1;
}

body.rh-body--marketing-light .rh-custom-select__option:hover,
body.rh-body--marketing-light .rh-custom-select__option:focus-visible {
  background: rgba(15, 23, 42, 0.06);
}

.rh-custom-select__option-text {
  flex: 1;
  min-width: 0;
}

.rh-custom-select__list--searchable {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: min(20rem, 55vh);
  padding: 0;
}

.rh-custom-select__search-wrap {
  flex-shrink: 0;
  padding: 0.5rem 0.6rem 0.45rem;
  border-bottom: 1px solid var(--rh-green-300);
  background: var(--rh-green-700);
}

.rh-custom-select__search {
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--rh-green-300);
  border-radius: 0.35rem;
  background: var(--rh-green-800, #1a3d2e);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
}

.rh-custom-select__search::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.rh-custom-select__search:focus {
  outline: none;
  border-color: var(--rh-green-300);
  box-shadow: 0 0 0 2px rgba(147, 233, 163, 0.25);
}

.rh-custom-select__options {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.rh-custom-select__list--searchable .rh-custom-select__option:last-child {
  border-bottom: 1px solid var(--rh-green-300);
}

.rh-custom-select__empty {
  margin: 0;
  padding: 0.75rem 0.85rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.rh-custom-select__check {
  flex-shrink: 0;
  color: var(--rh-green-300);
  font-size: 1.25rem;
  opacity: 0;
}

.rh-custom-select__option.is-selected .rh-custom-select__check {
  opacity: 1;
}

.rh-field input::placeholder {
  color: rgba(255, 255, 255, 0.85);
}
body.rh-body--marketing-light .rh-field input::placeholder {
  color: #94a3b8;
}

.rh-password-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  box-sizing: border-box;
  width: 100%;
  min-height: 3rem;
  padding: 0 0.75rem 0 1rem;
  border: 1px solid var(--rh-green-300);
  border-radius: 0.5rem;
  background: var(--rh-green-800);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rh-password-row:focus-within {
  border-color: var(--rh-green-300);
  box-shadow: 0 0 0 2px rgba(126, 179, 114, 0.35);
}

body.rh-body--marketing-light .rh-password-row {
  background: #fff;
  border-color: #cbd5e1;
}

body.rh-body--marketing-light .rh-password-row:focus-within {
  border-color: var(--rh-green-600);
  box-shadow: 0 0 0 2px rgba(34, 87, 54, 0.15);
}

.rh-password-row input {
  flex: 1;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.5rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 1rem;
  outline: none;
}

.rh-icon-btn {
  border: 0;
  background: none;
  padding: 0.25rem;
  cursor: pointer;
  color: var(--rh-green-300);
}

.rh-actions-stack {
  margin-top: var(--rh-panel-content-gap);
  display: flex;
  flex-direction: column;
  gap: var(--rh-card-gap);
}

.rh-divider-line {
  width: 100%;
  height: 1px;
  background: var(--rh-green-600);
}
body.rh-body--marketing-light .rh-divider-line {
  background: #e2e8f0;
}

.rh-link-muted {
  display: block;
  text-align: center;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
}
body.rh-body--marketing-light .rh-link-muted {
  color: #475569;
}

.rh-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3.5rem;
  padding: 0 1rem;
  border-radius: 999px;
  border: none;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.rh-btn--yellow {
  background: var(--rh-yellow-200);
  color: var(--rh-green-800);
}

.rh-btn--white {
  background: #fff;
  color: var(--rh-green-800);
}

.rh-btn--green {
  background: var(--rh-green-300);
  color: var(--rh-green-800);
}

.rh-btn--red,
.rh-btn--delete {
  background: var(--rh-red-800);
  color: #fff;
}

.rh-btn--red:hover,
.rh-btn--delete:hover {
  filter: brightness(1.08);
}

.rh-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.rh-btn svg {
  flex-shrink: 0;
}

.rh-btn .rh-ph {
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1;
}

/* OTP grid (autenticação) */
.rh-otp-panel {
  margin: 2rem 0 0;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--rh-green-300);
  background: var(--rh-green-700);
}

.rh-otp-panel__label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--rh-green-300);
}

.rh-otp-grid {
  display: flex;
  gap: 0.625rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.rh-otp-digit {
  flex: 1 1 2.5rem;
  min-width: 2.25rem;
  max-width: 3.25rem;
  height: 3.5rem;
  text-align: center;
  font-size: 1.6875rem;
  font-weight: 500;
  color: #07513b;
  border-radius: 0.5rem;
  border: 1px solid var(--rh-green-300);
}

/* ----- App header + sidebar (referência Header) ----- */
.rh-app-header {
  margin-top: 2.5rem;
  margin-bottom: var(--rh-app-header-gap);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/** Conteúdo abaixo do cabeçalho: evita painéis/toolbar colados no header em todas as telas app */
body.rh-body--app main#main {
  display: block;
  max-width: 100%;
  overflow-x: clip;
}

body.rh-body--app .rh-app-header + main#main > :first-child {
  margin-top: 0;
}

body.rh-body--app main#main > .rh-page-toolbar--layout:first-child {
  margin-top: 0;
}

body.rh-body--app main#main > .rh-page-toolbar--layout + .rh-card-panel {
  margin-top: 0.85rem;
}

body.rh-body--marketing-dark main#main > .rh-page-toolbar--layout:first-child {
  margin-top: 0;
}

body.rh-body--marketing-dark main#main > .rh-page-toolbar--layout + .rh-card-panel {
  margin-top: var(--rh-panel-back-gap);
}

.rh-legal-accept__section {
  margin-top: var(--rh-panel-content-gap);
}

.rh-legal-accept__section-title {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rh-green-300);
  line-height: 1.3;
}

.rh-legal-doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rh-legal-accept > .rh-profile-panel__title:first-child,
.rh-legal-document .rh-legal-document__header .rh-profile-panel__title {
  margin-top: 0;
}

.rh-legal-doc-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem 1rem;
  padding: 1rem 1.15rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

.rh-legal-doc-item__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.rh-legal-doc-item__title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  word-break: normal;
  overflow-wrap: anywhere;
}

.rh-legal-doc-item__meta {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

.rh-legal-doc-item__link.rh-btn {
  width: auto;
  max-width: 100%;
  min-height: 2.75rem;
  flex: 0 0 auto;
  justify-self: end;
  padding-left: 1rem;
  padding-right: 1rem;
}

.rh-legal-accept__form {
  margin-top: calc(var(--rh-panel-content-gap) + 0.25rem);
  padding-top: var(--rh-panel-content-gap);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: var(--rh-panel-content-gap);
}

.rh-legal-accept__checkbox {
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
}

.rh-legal-accept__checkbox span {
  line-height: 1.5;
}

.rh-legal-document__header {
  margin: 0;
}

.rh-legal-document__meta {
  color: rgba(255, 255, 255, 0.82);
}

.rh-legal-document__body {
  margin-top: var(--rh-panel-content-gap);
  padding: 1.35rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

.rh-legal-document__text {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: #fff;
}

.rh-legal-document__text strong {
  font-weight: 600;
  color: var(--rh-green-300);
}

@media (max-width: 520px) {
  .rh-legal-doc-item {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .rh-legal-doc-item__link.rh-btn {
    width: 100%;
    justify-self: stretch;
    justify-content: center;
  }

  .rh-legal-document__body {
    padding: 1.15rem 1.2rem;
  }
}

.rh-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--rh-space-3);
  margin-bottom: var(--rh-panel-back-gap);
}

.rh-profile-panel > .rh-page-toolbar__nav:first-child,
.rh-profile-panel > .rh-page-toolbar__back:first-child {
  margin-bottom: 0;
}

/* Toolbar unificada: Voltar + filtros (mesma altura e alinhamento) */
:root {
  --rh-toolbar-h: 2.75rem;
}

.rh-page-toolbar {
  display: flex;
  align-items: stretch;
  gap: var(--rh-space-3);
  flex-wrap: wrap;
  margin-top: 0;
}

.rh-page-toolbar--layout {
  margin-top: 0;
}

.rh-page-toolbar--in-panel {
  margin-top: 0;
}

.rh-page-toolbar__nav {
  display: inline-flex;
  align-items: stretch;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.rh-page-toolbar__nav--standalone {
  margin-bottom: var(--rh-panel-back-gap);
}

.rh-page-toolbar__home.rh-btn,
.rh-page-toolbar__back.rh-btn {
  flex: 0 0 auto;
  width: auto;
  min-height: var(--rh-toolbar-h);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 1rem;
  font-weight: 500;
}

.rh-page-toolbar__home.rh-btn {
  min-width: var(--rh-toolbar-h);
  width: var(--rh-toolbar-h);
  padding: 0;
}

.rh-page-toolbar__back.rh-btn {
  padding: 0 1rem;
}

.rh-page-toolbar__home .rh-ph,
.rh-page-toolbar__back .rh-ph {
  font-size: 1.375rem;
}

.rh-page-toolbar__filters {
  flex: 1;
  min-width: 0;
}

.rh-page-toolbar .rh-modality-row,
.rh-page-toolbar .rh-schedule-segmented {
  margin-top: 0;
  min-height: var(--rh-toolbar-h);
  align-self: stretch;
}

.rh-page-toolbar .rh-schedule-segmented {
  padding: 0.375rem;
}

.rh-page-toolbar .rh-schedule-segmented__btn {
  min-height: calc(var(--rh-toolbar-h) - 0.75rem);
}

@media (max-width: 520px) {
  .rh-page-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .rh-page-toolbar__nav {
    width: 100%;
  }

  .rh-page-toolbar__home.rh-btn {
    flex: 0 0 var(--rh-toolbar-h);
  }

  .rh-page-toolbar__back.rh-btn {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .rh-page-toolbar__filters {
    width: 100%;
  }
}

.rh-app-user {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.rh-app-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 2px solid var(--rh-green-300);
  object-fit: cover;
  background: var(--rh-green-700);
}

.rh-app-names {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.rh-app-name {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--rh-green-300);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rh-app-ranking {
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
}

.rh-menu-trigger {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  color: var(--rh-green-300);
  line-height: 0;
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.rh-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 55;
  -webkit-tap-highlight-color: transparent;
}

body.rh-sidebar-open #rh-sidebar-backdrop {
  display: block;
}

body.rh-notif-open #rh-notif-backdrop {
  display: block;
}

body.rh-overlay-open {
  overflow: hidden;
  touch-action: none;
}

.rh-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: min(100%, 20rem);
  max-width: 100%;
  height: 100%;
  height: 100dvh;
  background: var(--rh-green-600);
  z-index: 60;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.25s ease, visibility 0.25s ease;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  pointer-events: none;
  padding-right: env(safe-area-inset-right, 0px);
}

body.rh-sidebar-open #rh-sidebar.rh-sidebar {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.rh-sidebar__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: max(1.25rem, env(safe-area-inset-top, 0px)) 1.25rem 1rem;
  padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
}

.rh-sidebar__head > div {
  flex: 1;
  min-width: 0;
}

.rh-sidebar__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
}

.rh-sidebar__close {
  border: 0;
  background: none;
  padding: 0.35rem;
  margin: -0.35rem -0.35rem 0 0;
  cursor: pointer;
  color: var(--rh-green-300);
  line-height: 0;
  min-width: 2.75rem;
  min-height: 2.75rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.rh-sidebar__intro {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: #fff;
}

.rh-sidebar__accent {
  color: var(--rh-green-300);
  font-weight: 500;
}

.rh-sidebar__nav {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
}

.rh-sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  min-height: 3.25rem;
  border-bottom: 1px solid var(--rh-green-500);
  color: var(--rh-green-300);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  background: none;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: rgba(188, 239, 134, 0.15);
  touch-action: manipulation;
}

.rh-sidebar__link:active {
  background: rgba(0, 0, 0, 0.12);
}

.rh-sidebar__link svg {
  flex-shrink: 0;
}

/* Modalidades (pills brancas) */
.rh-modality-row {
  margin-top: 2rem;
  width: 100%;
  background: #fff;
  padding: 0.375rem;
  border-radius: 999px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: 3.5rem;
}

.rh-modality-row a {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  color: var(--rh-green-800);
  overflow-wrap: anywhere;
  text-align: center;
  padding: 0 0.35rem;
}

.rh-modality-row a.rh-modality-row__pill--active {
  background: var(--rh-green-300);
}

@media (max-width: 520px) {
  .rh-modality-row {
    flex-wrap: wrap;
    border-radius: var(--rh-radius-control);
    min-height: 0;
    gap: 0.25rem;
  }

  .rh-modality-row a {
    flex: 1 1 calc(50% - 0.25rem);
    min-height: 2.75rem;
    font-size: 0.875rem;
  }
}

.rh-page-toolbar .rh-modality-row {
  margin-top: 0;
}

.rh-page-toolbar + .rh-section-title,
.rh-page-toolbar + .rh-toggle-section {
  margin-top: var(--rh-panel-back-gap);
}

/* Lista de quadras (SelectCourt) */
.rh-section-title {
  margin: var(--rh-panel-content-gap) 0 0;
  font-size: 1.625rem;
  font-weight: 500;
  color: var(--rh-green-300);
  line-height: 1.2;
}

.rh-section-lede {
  margin: var(--rh-panel-lede-gap) 0 0;
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
}

.rh-section-lede--flush {
  margin-top: 0;
}

.rh-section-lede--compact {
  font-size: 0.92rem;
  opacity: 0.92;
}

.rh-section-lede--danger {
  color: #fecaca;
}

.rh-actions-stack--compact {
  margin-top: var(--rh-space-4);
}

.rh-code-inline {
  color: var(--rh-green-300);
}

.rh-heading-xl--spaced {
  margin-top: 4rem;
}

.rh-marketing-note {
  margin-top: var(--rh-panel-content-gap);
  background: #f8fafc;
  border-color: #cbd5e1;
}

.rh-marketing-note__text {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.5;
}

.rh-marketing-note__link {
  color: var(--rh-green-800);
}

.rh-finish-hero--spaced {
  margin-top: var(--rh-panel-content-gap);
}

.rh-admin-dashboard-table {
  margin-top: var(--rh-space-4);
}

.rh-auth-code-form {
  margin-bottom: var(--rh-space-4);
}

.rh-auth-code-hint {
  margin-top: var(--rh-space-4);
  font-size: 0.9rem;
}

.rh-court-list {
  margin-top: var(--rh-panel-content-gap);
  display: flex;
  flex-direction: column;
  gap: var(--rh-card-gap);
}

.rh-court-accordion-item {
  border-radius: var(--rh-radius-control);
}

.rh-court-accordion-item--open {
  border: 1px solid var(--rh-yellow-200);
  border-radius: var(--rh-radius-control);
  background: var(--rh-green-800);
  overflow: hidden;
}

.rh-court-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--rh-space-3);
  padding: var(--rh-space-3);
  border-radius: var(--rh-radius-control);
  border: 1px solid var(--rh-green-300);
  background: var(--rh-green-700);
  text-decoration: none;
  color: inherit;
}

.rh-court-row--disabled {
  cursor: default;
}

.rh-court-row__left {
  display: flex;
  align-items: center;
  gap: var(--rh-space-3);
  min-width: 0;
}

.rh-court-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--rh-green-300);
  color: var(--rh-green-800);
  font-size: 1rem;
  font-weight: 500;
  flex-shrink: 0;
}

.rh-court-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--rh-green-300);
  line-height: 1.3;
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 520px) {
  .rh-court-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "left icon";
    align-items: center;
    gap: var(--rh-space-2) var(--rh-space-3);
  }

  .rh-court-row__left {
    grid-area: left;
    min-width: 0;
  }

  .rh-court-row > .rh-court-icon {
    grid-area: icon;
  }
}

.rh-court-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rh-court-icon--go {
  background: var(--rh-yellow-200);
  color: var(--rh-green-800);
}

.rh-court-icon--closed {
  background: var(--rh-red-800);
  color: #fff;
}

.rh-court-icon--cancel {
  background: var(--rh-yellow-200);
  color: var(--rh-green-800);
}

.rh-court-icon--expand {
  background: var(--rh-yellow-200);
  color: var(--rh-green-800);
}

button.rh-court-row {
  width: 100%;
  border: 1px solid var(--rh-green-300);
  background: var(--rh-green-700);
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.rh-court-accordion-item--open .rh-court-row {
  border: none;
  border-radius: 0;
  border-bottom: 1px solid rgba(163, 230, 53, 0.28);
  background: var(--rh-green-600);
}

.rh-court-accordion-item--open [data-rh-court-chevron] {
  transform: rotate(180deg);
}

[data-rh-court-chevron] {
  transition: transform 0.2s ease;
}

.rh-court-row__panel {
  overflow: hidden;
  border: 1px solid var(--rh-green-500);
  border-top: none;
  border-radius: 0 0 var(--rh-radius-control) var(--rh-radius-control);
  background: var(--rh-green-800);
  animation: rh-court-panel-in 0.22s ease-out;
}

.rh-court-accordion-item--open .rh-court-row__panel {
  border: none;
  border-radius: 0;
  background: var(--rh-green-800);
  animation: none;
}

.rh-court-row__panel-inner {
  padding: 0;
}

.rh-court-row__panel-inner .rh-court-panel-fragment__body {
  padding: 0;
}

.rh-court-row__panel-inner .rh-schedule-callout {
  margin: var(--rh-space-3) var(--rh-space-3) 0;
}

.rh-court-row__panel-inner .rh-slot-list--compact {
  margin: 0;
  padding: var(--rh-space-3);
}

.rh-court-row__panel-inner .rh-slot-list--compact .rh-slot-row {
  padding: var(--rh-space-3) 0;
  margin-bottom: 0;
}

.rh-court-row__panel-inner .rh-slot-list--compact .rh-slot-row:first-child {
  padding-top: 0;
}

.rh-court-row__panel-inner .rh-slot-list--compact .rh-slot-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.rh-court-row__panel-inner .rh-court-panel-fragment__footer {
  margin-top: var(--rh-space-2);
  padding: var(--rh-space-3) var(--rh-space-3) 0;
  border-top: 1px solid var(--rh-green-600);
}

.rh-court-row__panel-inner .rh-class-slot-list {
  margin: 0;
  padding: var(--rh-space-3);
}

.rh-court-panel-loading,
.rh-court-panel-error {
  margin: 0;
  padding: var(--rh-space-3);
  font-size: 0.9375rem;
  color: var(--rh-green-300);
  text-align: center;
}

.rh-court-panel-error {
  color: var(--rh-red-200);
}

.rh-court-panel-fragment__footer {
  margin-top: var(--rh-space-3);
  padding-top: var(--rh-space-3);
  border-top: 1px solid var(--rh-green-600);
  text-align: center;
}

.rh-court-panel-fragment__fullscreen {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--rh-green-300);
  text-decoration: none;
}

.rh-court-panel-fragment__fullscreen:hover {
  color: var(--rh-yellow-200);
}

.rh-court-hub-filters {
  display: flex;
  flex-direction: column;
  gap: var(--rh-space-4);
  margin-bottom: var(--rh-space-5);
  padding: var(--rh-space-4);
  border-radius: var(--rh-radius-card);
  border: 1px solid var(--rh-green-500);
  background: var(--rh-green-700);
}

.rh-court-hub-filters--class {
  gap: var(--rh-space-4);
}

.rh-court-hub-filters__group {
  display: flex;
  flex-direction: column;
  gap: var(--rh-space-2);
}

.rh-court-hub-filters__group + .rh-court-hub-filters__group {
  padding-top: var(--rh-space-4);
  border-top: 1px solid var(--rh-green-600);
}

.rh-court-hub-filters__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rh-green-300);
  line-height: 1.3;
}

.rh-court-hub-filters__label.rh-field {
  gap: var(--rh-space-2);
}

.rh-court-hub-filters__label .rh-field-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rh-green-300);
}

.rh-court-hub-filters__row {
  display: flex;
  align-items: stretch;
  gap: 0.375rem;
  padding: 0.375rem;
  border-radius: 999px;
  background: #fff;
  min-height: 3rem;
}

.rh-court-hub-filters__row--days {
  flex-wrap: wrap;
  border-radius: var(--rh-radius-control);
  padding: 0.5rem;
  gap: 0.5rem;
  min-height: 0;
}

.rh-court-hub-filters__row--date {
  border-radius: var(--rh-radius-control);
  padding: 0;
  background: transparent;
  min-height: 0;
}

.rh-court-hub-filters__pill {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  min-width: 0;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--rh-green-800);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.rh-court-hub-filters__pill:hover {
  background: rgba(163, 230, 53, 0.25);
}

.rh-court-hub-filters__pill--active {
  background: var(--rh-green-300);
  color: var(--rh-green-800);
}

.rh-court-hub-filters__pill--day {
  flex: 1 1 calc(14.28% - 0.5rem);
  min-width: 2.25rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
}

.rh-court-hub-filters__row--days .rh-court-hub-filters__pill--day:not(.rh-court-hub-filters__pill--active) {
  background: var(--rh-green-800);
  color: #fff;
  border: 1px solid var(--rh-green-600);
}

.rh-court-hub-filters__row--days .rh-court-hub-filters__pill--day:not(.rh-court-hub-filters__pill--active):hover {
  background: var(--rh-green-600);
}

.rh-court-hub-filters__select {
  width: 100%;
  max-width: 100%;
}

.rh-court-hub-filters--class .rh-court-hub-filters__duration {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rh-court-hub-filters--class .rh-court-hub-filters__duration .rh-field-label {
  margin-bottom: 0;
}

.rh-court-hub-filters--class .rh-court-hub-filters__select.rh-select {
  margin-top: 0;
  min-height: 3.25rem;
  padding: 0.875rem 1rem;
  line-height: 1.35;
  box-sizing: border-box;
}

.rh-court-hub-filters--class .rh-class-reminder {
  margin-top: 0;
  margin-bottom: 0;
}

.rh-court-hub-filters__date-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border-radius: var(--rh-radius-control);
  border: 1px solid var(--rh-green-500);
  background: var(--rh-green-800);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}

.rh-court-hub-filters__date-pill .rh-ph {
  color: var(--rh-green-300);
  font-size: 1.25rem;
}

.rh-court-hub-filters__date-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.rh-court-hub__toolbar {
  margin-bottom: var(--rh-space-4);
}

.rh-court-hub__toolbar .rh-page-toolbar__nav {
  margin-bottom: 0;
}

.rh-court-hub__back.rh-btn {
  width: auto;
  min-height: var(--rh-toolbar-h);
  padding: 0 1rem;
}

.rh-court-hub__lede {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.rh-court-hub__empty-filter {
  margin-bottom: 1rem;
}

.rh-court-modality-section + .rh-court-modality-section .rh-section-title {
  margin-top: var(--rh-space-6);
}

.rh-court-hub .rh-section-title {
  margin-top: 0;
}

.rh-court-hub .rh-section-title:not(:first-child) {
  margin-top: var(--rh-space-6);
}

@media (max-width: 520px) {
  .rh-court-hub-filters {
    padding: var(--rh-space-3);
    gap: var(--rh-space-3);
  }

  .rh-court-hub-filters__group + .rh-court-hub-filters__group {
    padding-top: var(--rh-space-3);
  }

  .rh-court-hub-filters__pill {
    font-size: 0.875rem;
    padding: 0.5rem 0.5rem;
  }

  .rh-court-hub-filters__pill--day {
    flex: 1 1 calc(25% - 0.5rem);
    min-width: 2.5rem;
  }

  .rh-court-hub-filters__row:not(.rh-court-hub-filters__row--days) {
    flex-wrap: wrap;
    border-radius: var(--rh-radius-control);
    gap: 0.35rem;
  }

  .rh-court-hub-filters__row:not(.rh-court-hub-filters__row--days) .rh-court-hub-filters__pill {
    flex: 1 1 calc(33.33% - 0.35rem);
    min-width: 4.5rem;
  }
}

.rh-slot-list--compact {
  margin: 0;
}

.rh-slot-list--compact .rh-slot-row {
  padding: var(--rh-space-3) 0;
  margin-bottom: 0;
}

.rh-slot-list--compact .rh-slot-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

@keyframes rh-court-panel-in {
  from {
    opacity: 0;
    transform: translateY(-0.35rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Agenda / slots (referência CourtSchedules/matches.tsx — toolbar dentro do painel) */
.rh-schedule-panel {
  margin-top: 0;
  padding: var(--rh-panel-padding-y) var(--rh-panel-padding-x);
  border: 1px solid var(--rh-green-600);
  background: var(--rh-green-700);
  border-radius: var(--rh-radius-card);
}

.rh-schedule-panel__toolbar {
  margin: 0;
}

.rh-schedule-panel__toolbar .rh-page-toolbar {
  margin-top: 0;
}

.rh-schedule-segmented {
  display: flex;
  align-items: stretch;
  min-height: var(--rh-toolbar-h);
  padding: 0.375rem;
  border-radius: 999px;
  background: #fff;
  gap: 0.125rem;
}

.rh-schedule-segmented__btn {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--rh-green-800);
  text-decoration: none;
  cursor: pointer;
  overflow-wrap: anywhere;
  text-align: center;
  padding: 0 0.35rem;
  line-height: 1.2;
}

.rh-schedule-segmented__btn:hover {
  opacity: 0.92;
}

.rh-schedule-segmented__btn--active {
  background: var(--rh-green-300);
}

.rh-schedule-panel__intro {
  margin-top: var(--rh-panel-back-gap);
}

.rh-schedule-panel__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--rh-green-300);
  line-height: 1.2;
}

.rh-schedule-panel__lede {
  margin: var(--rh-panel-lede-gap) 0 0;
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
}

.rh-schedule-panel__lede-strong {
  font-weight: 500;
  color: var(--rh-green-300);
}

.rh-schedule-callout {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  border-radius: 0.625rem;
  border: 2px solid var(--rh-yellow-200);
  background: rgba(255, 237, 62, 0.14);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06) inset;
}

.rh-schedule-callout__icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 1.5rem;
  color: var(--rh-yellow-200);
}

.rh-schedule-callout__body {
  min-width: 0;
}

.rh-schedule-callout__title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--rh-yellow-200);
  line-height: 1.35;
}

.rh-schedule-callout__text {
  margin: 0.35rem 0 0;
  font-size: 0.9375rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.45;
}

.rh-schedule-callout__text strong {
  font-weight: 600;
  color: var(--rh-yellow-200);
}

.rh-slot-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.rh-slot-row {
  display: flex;
  flex-direction: column;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--rh-green-600);
}

.rh-slot-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.rh-slot-row--empty-cancel {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.rh-schedule-empty-cancel {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
}

.rh-slot-row__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.rh-slot-row__datetime {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.rh-slot-date-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--rh-green-300);
}

.rh-slot-time-range {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 500;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.rh-chip--slot-meta {
  margin-top: 0.35rem;
}

.rh-slot-meta-free {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
}

.rh-slot-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
  align-items: center;
}

.rh-slot-inline-form {
  margin: 0;
  display: inline-block;
}

.rh-btn-slot-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
}

.rh-slot-row__match {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.rh-slot-players-block {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  min-width: 0;
  flex: 1;
}

.rh-slot-avatar-stack {
  display: flex;
  align-items: center;
}

.rh-slot-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 2px solid var(--rh-green-300);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--rh-green-800);
}

.rh-slot-avatar--overlap {
  margin-left: -0.25rem;
}

.rh-slot-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rh-slot-player-names {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rh-slot-player-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.rh-slot-player-name__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.35;
  text-decoration: none;
}

.rh-slot-player-name__link:hover {
  color: var(--rh-green-300);
}

.rh-slot-player-name form {
  margin: 0;
  flex-shrink: 0;
}

.rh-slot-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: flex-end;
  align-items: center;
}

.rh-slot-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: var(--rh-green-300);
  color: var(--rh-green-800);
  font-size: 0.875rem;
  font-weight: 500;
}

.rh-slot-pill .rh-ph {
  flex-shrink: 0;
  font-size: 1.125rem;
}

.rh-btn-slot-action .rh-ph {
  flex-shrink: 0;
  font-size: 1.375rem;
}

.rh-slot-time {
  font-variant-numeric: tabular-nums;
}

.rh-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--rh-green-300);
}

.rh-chip--busy {
  background: rgba(163, 40, 23, 0.35);
  color: #ffb4a8;
}

.rh-btn-small {
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.9375rem;
}

.rh-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}

.rh-btn-row > .rh-btn,
.rh-btn-row > form,
.rh-btn-row > a.rh-btn {
  flex: 1 1 calc(50% - 0.375rem);
  min-width: min(100%, 9rem);
  margin: 0;
}

.rh-btn-row > form {
  display: flex;
}

.rh-btn-row .rh-btn {
  width: 100%;
}

/* Toggle quadras */
.rh-fieldset {
  border: 1px solid var(--rh-green-300);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin: 0 0 1.25rem;
}

.rh-fieldset legend {
  padding: 0 0.35rem;
  color: var(--rh-green-300);
  font-weight: 500;
}

.rh-check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.35rem 0;
  font-size: 0.95rem;
}

.rh-app-footer {
  margin-top: 3rem;
  padding: 1.25rem 1rem 0.5rem;
  border-top: 1px solid var(--rh-green-600);
  text-align: center;
}

.rh-app-footer p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

.rh-app-footer__note {
  margin-top: 0.35rem !important;
  font-size: 0.75rem !important;
  color: rgba(255, 255, 255, 0.45) !important;
}

body.rh-body--marketing-light .rh-app-footer {
  border-color: #e2e8f0;
}

body.rh-body--marketing-light .rh-app-footer p {
  color: #64748b;
}

body.rh-body--marketing-light .rh-app-footer__note {
  color: #94a3b8 !important;
}

/* Aulas (CourtSchedulesClasses / ClassCreate / ClassFinish) */
.rh-card-panel {
  border: 1px solid var(--rh-green-600);
  background: var(--rh-green-700);
  border-radius: var(--rh-radius-card);
  padding: var(--rh-panel-padding-y) var(--rh-panel-padding-x);
}

.rh-card-panel__toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rh-select {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid var(--rh-green-300);
  background: var(--rh-green-800);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  color-scheme: dark;
}

.rh-select option {
  background-color: var(--rh-green-800);
  color: #fff;
}

.rh-day-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: space-between;
}

.rh-day-pill {
  flex: 1;
  min-width: 2rem;
  text-align: center;
  padding: 0.5rem 0.35rem;
  border-radius: 0.5rem;
  border: 1px solid var(--rh-green-600);
  background: var(--rh-green-800);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.rh-day-pill--active {
  background: var(--rh-green-300);
  color: var(--rh-green-800);
}

.rh-switch {
  width: 3.25rem;
  height: 1.75rem;
  border-radius: 999px;
  border: 2px solid var(--rh-green-600);
  background: var(--rh-green-800);
  padding: 0;
  cursor: pointer;
  position: relative;
  transition: background 0.15s ease;
}

.rh-switch--on {
  background: var(--rh-green-300);
}

.rh-switch__knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(1.75rem - 8px);
  height: calc(1.75rem - 8px);
  border-radius: 999px;
  background: #fff;
  transition: transform 0.15s ease;
}

.rh-switch--on .rh-switch__knob {
  transform: translateX(1.45rem);
}

.rh-class-slot {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--rh-green-600);
}

.rh-class-slot:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.rh-class-slot__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.rh-class-slot__time {
  font-size: 1.375rem;
  font-weight: 500;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.rh-class-slot__meta {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.rh-class-slot__avatars {
  display: flex;
  align-items: center;
}

.rh-avatar-ring {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 2px solid var(--rh-green-300);
  overflow: hidden;
  flex-shrink: 0;
}

.rh-avatar-ring--overlap {
  margin-left: -0.35rem;
}

.rh-avatar-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rh-avatar-ring--lg {
  width: 3rem;
  height: 3rem;
}

.rh-class-slot__names {
  margin: 0;
  flex: 1;
  min-width: 8rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
}

.rh-class-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 2.25rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: var(--rh-green-300);
  color: var(--rh-green-800);
  font-size: 0.875rem;
  font-weight: 500;
}

.rh-class-badge__dot {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: var(--rh-green-800);
  opacity: 0.85;
}

.rh-class-reserve-head {
  display: flex;
  align-items: stretch;
  gap: var(--rh-space-3);
  flex-wrap: wrap;
}

.rh-class-reserve-head .rh-page-toolbar__nav {
  flex: 0 0 auto;
}

.rh-class-reserve-head .rh-page-toolbar__back,
.rh-class-reserve-head .rh-reserve-create__back {
  flex: 0 0 auto;
  width: auto;
  min-height: var(--rh-toolbar-h);
  padding: 0 1rem;
}

.rh-class-reserve-head .rh-time-chip,
.rh-class-reserve-head .rh-reserve-create__time {
  margin-left: auto;
  min-height: var(--rh-toolbar-h);
  align-self: stretch;
  display: inline-flex;
  align-items: center;
}

@media (max-width: 520px) {
  .rh-class-reserve-head {
    flex-direction: column;
    align-items: stretch;
  }

  .rh-class-reserve-head .rh-time-chip,
  .rh-class-reserve-head .rh-reserve-create__time {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}

.rh-reserve-create__intro {
  margin-top: var(--rh-panel-back-gap);
}

.rh-reserve-create .rh-reserve-create__lede.rh-section-lede {
  margin-top: var(--rh-panel-lede-gap);
}

.rh-reserve-create .rh-reserve-create__form.rh-stack-form {
  margin-top: var(--rh-panel-content-gap);
}

.rh-class-reserve-create__actions {
  margin-top: 1.25rem;
}

.rh-class-weekly-toolbar {
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rh-class-weekly-toolbar .rh-page-toolbar__nav,
.rh-class-weekly-toolbar .rh-page-toolbar__back {
  flex: 0 0 auto;
}

.rh-class-weekly-toolbar .rh-page-toolbar__action {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.rh-class-weekly-filter,
.rh-class-weekly-days,
.rh-holiday-row,
.rh-class-reminder,
.rh-class-slot-list {
  margin-top: var(--rh-panel-content-gap);
}

.rh-class-weekly-filter__duration {
  gap: 0.5rem;
}

.rh-class-weekly-filter__duration .rh-field-label {
  margin-bottom: 0;
}

.rh-class-weekly-filter__select.rh-select {
  margin-top: 0;
  min-height: 3.25rem;
  padding: 0.875rem 1rem;
  line-height: 1.35;
}

.rh-class-reminder {
  padding: var(--rh-space-4);
  border: 1px solid var(--rh-green-300);
  border-radius: var(--rh-radius-control);
  background: var(--rh-green-800);
  margin-top: var(--rh-panel-content-gap);
}

.rh-class-reminder__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--rh-green-300);
}

.rh-class-reminder__lede {
  margin: 0.65rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: #fff;
}

.rh-class-reminder__form {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rh-class-reminder__modes {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rh-class-reminder__modes > .rh-field-label {
  margin-bottom: 0.15rem;
}

.rh-class-reminder__mode {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: #fff;
  cursor: pointer;
}

.rh-class-reminder__preview-text {
  margin: 0.35rem 0 0;
  padding: 0.875rem 1rem;
  border-radius: var(--rh-radius-control);
  border: 1px solid var(--rh-green-600);
  background: var(--rh-green-700);
  color: #fff;
  line-height: 1.45;
  font-size: 0.9375rem;
}

.rh-class-reminder__textarea {
  width: 100%;
  min-height: 6.5rem;
  margin-top: 0.35rem;
  box-sizing: border-box;
  resize: vertical;
}

.rh-class-reminder__hint {
  margin: 0.4rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
}

.rh-class-reminder__submit {
  width: 100%;
  min-height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.rh-class-reminder--empty {
  border-style: dashed;
}

.rh-class-reminder--empty .rh-class-reminder__lede {
  color: rgba(255, 255, 255, 0.9);
}

.rh-class-absence,
.rh-court-hub-filters--class .rh-class-absence {
  margin-top: 0.75rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.12);
}

.rh-class-absence__title {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
}

.rh-class-absence .rh-field-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.rh-class-absence .rh-field > input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]) {
  border-color: rgba(255, 255, 255, 0.22);
}

.rh-class-absence .rh-field > input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):focus {
  border-color: var(--rh-green-300);
}

.rh-class-absence__lede,
.rh-class-absence__hint {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
}

.rh-class-absence__hint {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
}

.rh-class-absence__hint--inline {
  margin-top: 0.5rem;
}

.rh-class-absence__hint--inline a {
  color: var(--rh-green-300);
}

.rh-class-absence__immediate {
  margin: 0.85rem 0 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rh-class-absence__holiday-row {
  margin: 0;
}

.rh-class-absence__holiday-copy {
  flex: 1;
  min-width: 0;
}

.rh-class-absence__status {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
}

.rh-class-absence__status--active {
  color: var(--rh-green-300);
}

.rh-class-absence__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rh-class-absence__dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.rh-class-absence__submit {
  width: 100%;
  min-height: 3rem;
}

.rh-class-absence__list-wrap {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rh-class-absence__list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.rh-class-absence__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
}

.rh-class-absence__item-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.rh-class-absence__item-range {
  font-size: 0.9375rem;
  color: #fff;
}

.rh-class-absence__item-reason {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 520px) {
  .rh-class-absence__dates {
    grid-template-columns: 1fr;
  }

  .rh-class-absence__item {
    flex-direction: column;
    align-items: stretch;
  }
}

.rh-class-reserve-delete {
  margin-top: 0.75rem;
}

.rh-class-reserve-delete__btn {
  width: 100%;
}

.rh-search-select__hint {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
}

.rh-form-inline {
  margin: 0;
}

.rh-holiday-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--rh-space-4);
  flex-wrap: wrap;
}

@media (max-width: 520px) {
  .rh-class-weekly-toolbar .rh-page-toolbar__action {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}

.rh-class-transfer__lede {
  margin-top: 0.75rem;
}

.rh-class-transfer__notice {
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--rh-green-300);
  border-radius: 0.5rem;
  background: var(--rh-green-700);
}

.rh-class-transfer__notice-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #fff;
}

.rh-class-transfer__pick {
  margin-top: 1.5rem;
}

.rh-class-transfer__preview {
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
}

.rh-class-transfer__confirm {
  margin-top: 1.5rem;
}

.rh-class-transfer__confirm .rh-check-row {
  margin-bottom: 1.25rem;
}

.rh-class-transfer__actions {
  margin-top: 0.5rem;
}

.rh-reserve-create__submit {
  margin-top: 1.25rem;
}

.rh-time-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff;
  color: var(--rh-green-800);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-weight: 500;
  white-space: nowrap;
}

.rh-time-chip__label {
  font-size: 1.1rem;
}

.rh-time-chip__icon {
  flex-shrink: 0;
  color: var(--rh-green-800);
}

.rh-time-chip__text {
  font-variant-numeric: tabular-nums;
}

/* Pesquisa de adversários (Reserve SearchSelect) */
.rh-search-select {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  z-index: 2;
}

.rh-search-select__box {
  width: 100%;
  background: var(--rh-green-700);
  border: 1px solid var(--rh-green-300);
  border-radius: 0.5rem;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rh-search-select__box--dropdown-open {
  border-radius: 0.5rem 0.5rem 0 0;
  border-bottom-color: transparent;
}

.rh-search-select__label {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--rh-green-300);
}

.rh-search-select__desc {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.45;
}

.rh-search-select__asterisk {
  margin-right: 0.15rem;
}

.rh-search-select__desc-strong {
  font-weight: 600;
  color: var(--rh-green-300);
}

.rh-search-select__input-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  box-sizing: border-box;
  width: 100%;
  min-height: 3rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--rh-green-300);
  border-radius: 0.5rem;
  background: var(--rh-green-800);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rh-search-select:not(.rh-search-select--embedded):not(.rh-search-select--league-partner):not(.rh-admin-user-search) .rh-search-select__input-row {
  border: 0;
  background: transparent;
  padding: 0;
  min-height: auto;
  box-shadow: none;
}

.rh-search-select:not(.rh-search-select--embedded):not(.rh-search-select--league-partner):not(.rh-admin-user-search) .rh-search-select__box:focus-within .rh-search-select__input-row {
  box-shadow: none;
}

.rh-search-select:not(.rh-search-select--embedded):not(.rh-search-select--league-partner):not(.rh-admin-user-search) .rh-search-select__box:focus-within {
  border-color: var(--rh-green-300);
  box-shadow: 0 0 0 2px rgba(126, 179, 114, 0.35);
}

.rh-search-select--embedded .rh-search-select__box:focus-within .rh-search-select__input-row,
.rh-search-select--league-partner .rh-search-select__box:focus-within .rh-search-select__input-row,
.rh-admin-user-search .rh-search-select__box:focus-within .rh-search-select__input-row {
  border-color: var(--rh-green-300);
  box-shadow: 0 0 0 2px rgba(126, 179, 114, 0.35);
}

.rh-search-select__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
}

.rh-search-select__input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.rh-search-select__glass {
  flex-shrink: 0;
  color: var(--rh-green-300);
}

.rh-search-select__dropdown {
  width: 100%;
  background: var(--rh-green-800);
  border: 1px solid var(--rh-green-300);
  border-top: 0;
  border-radius: 0 0 0.5rem 0.5rem;
  overflow: hidden;
  position: relative;
  z-index: 6;
}

.rh-search-select__dropdown-inner {
  display: flex;
  flex-direction: column;
}

.rh-search-select__empty {
  margin: 0;
  padding: 0.85rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.rh-search-select__option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 0;
  border-bottom: 1px solid var(--rh-green-300);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.rh-search-select__option:last-child {
  border-bottom: 0;
}

.rh-search-select__option-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
}

.rh-search-select__avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 2px solid var(--rh-green-300);
  overflow: hidden;
  flex-shrink: 0;
}

.rh-search-select__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rh-search-select__option-name {
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rh-search-select__option-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rh-green-300);
  color: var(--rh-green-800);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
}

.rh-search-select__option-icon--done {
  background: transparent;
  color: var(--rh-green-300);
  font-size: 1.35rem;
}

.rh-search-select__selected {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rh-search-select__selected:not(:empty) {
  margin-top: 0.75rem;
}

.rh-search-select__pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--rh-green-600);
  background: var(--rh-green-700);
}

.rh-search-select__pill-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

@media (min-width: 640px) {
  .rh-search-select__pill-left {
    gap: 1.25rem;
  }

  .rh-search-select__pill .rh-search-select__avatar {
    width: 3rem;
    height: 3rem;
  }
}

.rh-search-select__pill-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
}

@media (min-width: 640px) {
  .rh-search-select__pill-name {
    font-size: 1rem;
  }
}

.rh-search-select__pill-remove {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  background: var(--rh-red-800);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.rh-search-select__warn {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--rh-yellow-200);
}

.rh-peer-checkboxes {
  max-height: 14rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.rh-finish-hero {
  margin-top: 2rem;
}

.rh-finish-hero--conflict .rh-finish-hero__callout {
  margin-top: 1.25rem;
}

.rh-finish-hero__title {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.25;
}

.rh-text-accent {
  color: var(--rh-green-300);
}

.rh-finish-facts {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.rh-finish-facts li {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  color: #fff;
}

.rh-finish-fact {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.rh-finish-fact__icon {
  font-size: 1.5rem;
  color: var(--rh-green-300);
  flex-shrink: 0;
  line-height: 1.2;
}

.rh-finish-facts__val {
  color: #fff;
  font-weight: 400;
}

.rh-finish-users {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rh-finish-user-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  border-radius: 0.5rem;
  border: 1px solid var(--rh-green-600);
  background: var(--rh-green-700);
}

.rh-finish-user-card--with-action {
  justify-content: space-between;
}

.rh-finish-user-card__main {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.rh-finish-user-card__main:hover .rh-finish-user-card__name {
  color: var(--rh-green-300);
}

.rh-finish-user-card__action {
  margin: 0;
  flex-shrink: 0;
}

.rh-finish-user-card__name {
  color: #fff;
  font-size: 1rem;
}

.rh-finish-manage {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}

.rh-finish-manage form {
  margin: 0;
  flex: 1 1 calc(50% - 0.375rem);
  min-width: min(100%, 10rem);
  display: flex;
}

.rh-finish-manage .rh-btn {
  width: 100%;
}

.rh-finish-manage form:only-child {
  flex: 1 1 100%;
}

.rh-finish-hero__actions {
  margin-top: 2rem;
}

/* Gerenciamento de quadras (referência Home/toggle.tsx + ToggleCourt) */
.rh-toggle-page {
  --rh-t-space-1: 0.25rem;
  --rh-t-space-2: 0.5rem;
  --rh-t-space-3: 0.75rem;
  --rh-t-space-4: 1rem;
  --rh-t-space-5: 1.25rem;
  --rh-t-space-6: 1.5rem;
  --rh-t-toolbar-h: 2.75rem;
  --rh-t-touch: 2.5rem;
  --rh-t-fs-label: 0.8125rem;
  --rh-t-fs-body: 1rem;
  --rh-t-fs-title: 1.5rem;
  --rh-t-radius-card: 0.5rem;
  --rh-t-radius-input: 0.5rem;

  margin-top: 0;
  padding-bottom: var(--rh-t-space-6);
}

.rh-toggle-page > .rh-page-toolbar:first-child {
  margin-top: 0;
}

.rh-toggle-page .rh-page-toolbar + .rh-toggle-section {
  margin-top: var(--rh-t-space-5);
}

.rh-toggle-section + .rh-toggle-section {
  margin-top: var(--rh-t-space-6);
}

.rh-toggle-section__title {
  margin: 0;
  font-size: var(--rh-t-fs-title);
  font-weight: 500;
  line-height: 1.25;
  color: var(--rh-green-300);
}

.rh-toggle-section__lede {
  margin: var(--rh-t-space-3) 0 0;
  font-size: var(--rh-t-fs-body);
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
}

.rh-toggle-court-list {
  margin-top: var(--rh-t-space-5);
  display: flex;
  flex-direction: column;
  gap: var(--rh-t-space-3);
}

.rh-toggle-court {
  background: var(--rh-green-700);
  border: 1px solid var(--rh-green-300);
  border-radius: var(--rh-t-radius-card);
  overflow: hidden;
  position: relative;
}

.rh-toggle-court__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--rh-t-space-3);
  padding: var(--rh-t-space-3) var(--rh-t-space-4);
}

.rh-toggle-court__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: var(--rh-t-touch);
  height: var(--rh-t-touch);
  padding: 0 var(--rh-t-space-2);
  border-radius: var(--rh-t-radius-input);
  background: var(--rh-green-300);
  color: var(--rh-green-800);
  font-size: var(--rh-t-fs-body);
  font-weight: 500;
  flex-shrink: 0;
}

.rh-toggle-court__meta {
  flex: 1;
  min-width: 0;
  font-size: var(--rh-t-fs-body);
  font-weight: 500;
  line-height: 1.35;
  color: var(--rh-green-300);
  overflow-wrap: anywhere;
}

.rh-toggle-court__icons {
  display: flex;
  align-items: center;
  gap: var(--rh-t-space-2);
  flex-shrink: 0;
}

.rh-toggle-inline-form {
  margin: 0;
}

.rh-toggle-icon-btn {
  width: var(--rh-t-touch);
  height: var(--rh-t-touch);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.rh-toggle-icon-btn .rh-ph {
  font-size: 1.25rem;
}

.rh-toggle-icon-btn--racket {
  background: var(--rh-red-800);
  color: #fff;
}

.rh-toggle-icon-btn--racket.is-on {
  background: var(--rh-yellow-200);
  color: var(--rh-green-800);
}

.rh-toggle-lock-btn {
  flex-shrink: 0;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
}

.rh-toggle-lock {
  width: var(--rh-t-touch);
  height: var(--rh-t-touch);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rh-toggle-lock .rh-ph {
  font-size: 1.25rem;
}

.rh-toggle-lock-btn:focus-visible {
  outline: 2px solid var(--rh-yellow-200);
  outline-offset: 2px;
}

.rh-toggle-modality-btn {
  flex-shrink: 0;
  width: var(--rh-t-touch);
  height: var(--rh-t-touch);
  border-radius: 999px;
  border: 1px solid var(--rh-green-300);
  background: var(--rh-green-800);
  color: var(--rh-green-300);
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rh-toggle-modality-btn .rh-ph {
  font-size: 1.25rem;
}

.rh-toggle-modality-btn:hover {
  background: var(--rh-green-700);
  color: #fff;
}

.rh-toggle-modality-btn.is-on {
  background: var(--rh-yellow-200);
  color: var(--rh-green-800);
  border-color: var(--rh-green-300);
}

.rh-toggle-modality-btn:focus-visible {
  outline: 2px solid var(--rh-yellow-200);
  outline-offset: 2px;
}

.rh-toggle-section-block,
.rh-toggle-section-modality {
  min-width: 0;
}

.rh-toggle-court__panel:has([data-rh-toggle-block-section]:not([hidden])) [data-rh-toggle-modality-section]:not([hidden]) {
  margin-top: var(--rh-t-space-3);
  padding-top: var(--rh-t-space-4);
  border-top: 1px solid var(--rh-green-600);
}

.rh-toggle-lock--closed {
  background: var(--rh-red-800);
  color: #fff;
}

.rh-toggle-lock--open {
  background: var(--rh-yellow-200);
  color: var(--rh-green-800);
}

.rh-toggle-court__panel {
  border-top: 1px solid var(--rh-green-300);
  padding: var(--rh-t-space-4);
  display: flex;
  flex-direction: column;
  gap: var(--rh-t-space-4);
}

.rh-toggle-block-form {
  display: flex;
  flex-direction: column;
  gap: var(--rh-t-space-3);
}

.rh-toggle-dates-stack {
  display: flex;
  flex-direction: column;
  gap: var(--rh-t-space-3);
}

/* `hidden` + `display:flex` no autor: o browser deixa de ocultar — forçar none */
.rh-toggle-dates-stack[hidden],
.rh-toggle-time-row[hidden],
.rh-toggle-block-form .rh-toggle-field[hidden],
[data-rh-toggle-block-section][hidden],
[data-rh-toggle-modality-section][hidden],
[data-rh-toggle-panel][hidden] {
  display: none !important;
}

.rh-toggle-field-hint {
  margin: 0.4rem 0 0;
  font-size: 0.75rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
}

body.rh-body--marketing-light .rh-toggle-field-hint {
  color: rgba(15, 23, 42, 0.72);
}

.rh-toggle-pills {
  display: flex;
  gap: var(--rh-t-space-2);
}

.rh-toggle-pill {
  flex: 1;
  cursor: pointer;
}

.rh-toggle-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Mesmo vocabulário visual dos segmentos do topo: pill + altura estável */
.rh-toggle-pill span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(var(--rh-t-toolbar-h) - var(--rh-t-space-2));
  padding: var(--rh-t-space-2) var(--rh-t-space-2);
  border-radius: 999px;
  border: 1px solid var(--rh-green-300);
  background: var(--rh-green-800);
  color: var(--rh-green-300);
  font-size: var(--rh-t-fs-label);
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

.rh-toggle-pill input:checked + span {
  background: var(--rh-green-300);
  color: var(--rh-green-800);
  border-color: var(--rh-green-300);
}

.rh-toggle-field-label {
  display: block;
  font-size: var(--rh-t-fs-label);
  font-weight: 600;
  color: var(--rh-green-300);
  margin-bottom: var(--rh-t-space-2);
  line-height: 1.3;
}

.rh-toggle-field {
  min-width: 0;
}

.rh-toggle-input {
  width: 100%;
  min-height: var(--rh-t-touch);
  padding: var(--rh-t-space-3) var(--rh-t-space-4);
  border-radius: var(--rh-t-radius-input);
  border: 1px solid var(--rh-green-300);
  background: var(--rh-green-800);
  color: #fff;
  font-family: inherit;
  font-size: var(--rh-t-fs-body);
  box-sizing: border-box;
  max-width: 100%;
}

.rh-toggle-input[type="date"],
.rh-toggle-input[type="time"] {
  min-width: 0;
}

.rh-toggle-time-row {
  display: flex;
  gap: var(--rh-t-space-3);
}

.rh-toggle-time-row .rh-toggle-field {
  flex: 1;
}

/* Herdam .rh-btn — mesma altura dos outros botões primários da página */
.rh-toggle-page .rh-toggle-block-submit.rh-btn,
.rh-toggle-page .rh-toggle-save-days.rh-btn {
  width: 100%;
  min-height: 3.5rem;
  margin-top: var(--rh-t-space-1);
  font-size: var(--rh-t-fs-body);
  font-weight: 500;
}

.rh-toggle-blocks-title {
  margin: 0;
  font-size: var(--rh-t-fs-label);
  font-weight: 600;
  color: var(--rh-green-300);
  line-height: 1.3;
}

.rh-toggle-blocks-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--rh-t-space-2);
}

.rh-toggle-block-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--rh-t-space-3);
  padding: var(--rh-t-space-3) var(--rh-t-space-4);
  border-radius: var(--rh-t-radius-input);
  border: 1px solid var(--rh-green-300);
  background: var(--rh-green-800);
}

.rh-toggle-block-row__label {
  flex: 1;
  min-width: 0;
  font-size: var(--rh-t-fs-label);
  color: #fff;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.rh-toggle-trash {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border: none;
  border-radius: 999px;
  background: var(--rh-red-800);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.rh-toggle-trash .rh-ph {
  font-size: 1rem;
}

.rh-toggle-days-form {
  margin-top: var(--rh-t-space-1);
  padding-top: var(--rh-t-space-4);
  border-top: 1px solid var(--rh-green-600);
  display: flex;
  flex-direction: column;
  gap: var(--rh-t-space-3);
}

.rh-toggle-days-title {
  margin: 0;
  font-size: var(--rh-t-fs-label);
  font-weight: 600;
  color: var(--rh-green-300);
  line-height: 1.3;
}

.rh-toggle-days-hint {
  margin: 0;
  font-size: var(--rh-t-fs-label);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.rh-toggle-days-grid {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  gap: 0.35rem;
  box-sizing: border-box;
}

@media (max-width: 520px) {
  .rh-toggle-days-grid {
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .rh-toggle-day-chip {
    flex: 1 1 calc(25% - 0.27rem);
    min-width: 2.5rem;
  }
}

.rh-toggle-day-chip {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  cursor: pointer;
  user-select: none;
}

.rh-toggle-day-chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.rh-toggle-day-chip span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 2.25rem;
  padding: 0.35rem 0.2rem;
  border-radius: 999px;
  border: 1px solid var(--rh-green-300);
  background: var(--rh-green-800);
  color: var(--rh-green-300);
  font-size: var(--rh-t-fs-label);
  font-weight: 600;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.1;
}

@media (max-width: 400px) {
  .rh-toggle-day-chip span {
    font-size: 0.6875rem;
    padding: 0.3rem 0.1rem;
    min-height: 2rem;
  }
}

.rh-toggle-day-chip input:checked + span {
  background: var(--rh-green-300);
  color: var(--rh-green-800);
}

.rh-toggle-day-chip input:focus-visible + span {
  outline: 2px solid var(--rh-yellow-200);
  outline-offset: 2px;
}

.rh-toggle-save-days {
  align-self: stretch;
}

@media (max-width: 520px) {
  .rh-toggle-section__title {
    font-size: 1.25rem;
  }

  .rh-toggle-court__bar {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "badge meta"
      "icons icons";
    align-items: center;
    gap: var(--rh-t-space-2) var(--rh-t-space-3);
    padding: var(--rh-t-space-3);
  }

  .rh-toggle-court__badge {
    grid-area: badge;
  }

  .rh-toggle-court__meta {
    grid-area: meta;
    overflow-wrap: anywhere;
  }

  .rh-toggle-court__icons {
    grid-area: icons;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: var(--rh-t-space-2);
  }

  .rh-toggle-court__panel {
    padding: var(--rh-t-space-3);
    gap: var(--rh-t-space-3);
  }

  .rh-toggle-pills {
    flex-wrap: wrap;
  }

  .rh-toggle-pill {
    flex: 1 1 calc(33.33% - var(--rh-t-space-2));
    min-width: 5rem;
  }

  .rh-toggle-pill span {
    font-size: 0.75rem;
    padding: var(--rh-t-space-2) var(--rh-t-space-1);
  }

  .rh-toggle-time-row {
    flex-direction: column;
    gap: var(--rh-t-space-2);
  }

  .rh-toggle-time-row .rh-toggle-field {
    width: 100%;
  }

  .rh-toggle-block-row {
    align-items: flex-start;
    gap: var(--rh-t-space-2);
    padding: var(--rh-t-space-3);
  }

  .rh-schedule-segmented__btn {
    font-size: 0.875rem;
  }
}

/* Perfil (atualizar / visualizar) */
.rh-profile-panel {
  margin-top: 0;
}

.rh-profile-panel__title {
  margin: var(--rh-panel-title-gap) 0 0;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--rh-green-300);
  line-height: 1.2;
}

.rh-profile-panel__lede {
  margin: var(--rh-panel-lede-gap) 0 0;
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
}

.rh-profile-panel__subtitle {
  margin: var(--rh-panel-content-gap) 0 0;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--rh-green-300);
  line-height: 1.25;
}

.rh-card-panel > .rh-page-toolbar__nav:first-child,
.rh-card-panel > .rh-page-toolbar__back:first-child {
  display: flex;
  width: fit-content;
  margin-bottom: 0;
}

.rh-profile-panel > .rh-profile-panel__title:first-child,
.rh-profile-panel > .rh-panel-head:first-child + .rh-profile-panel__title,
.rh-profile-panel > .rh-page-toolbar__nav:first-child + .rh-tournament-show__header .rh-profile-panel__title,
.rh-profile-panel > .rh-page-toolbar__back:first-child + .rh-tournament-show__header .rh-profile-panel__title {
  margin-top: 0;
}

.rh-profile-panel > .rh-page-toolbar__nav:first-child + .rh-tournament-show__header,
.rh-profile-panel > .rh-page-toolbar__back:first-child + .rh-tournament-show__header {
  margin-top: var(--rh-panel-back-gap);
}

.rh-profile-media {
  position: relative;
  margin: 2rem 0 0;
  min-height: 11.875rem;
  border-radius: 0.5rem;
  border: 1px solid var(--rh-green-300);
  padding: 0.5rem;
  background-color: var(--rh-green-800);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: visible;
}

.rh-profile-upload-form {
  margin: 0;
}

.rh-profile-upload-form--banner {
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
  z-index: 2;
}

.rh-profile-media-btn {
  width: 2.25rem;
  height: 1.75rem;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: var(--rh-green-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.rh-profile-media-btn:focus-visible {
  outline: 2px solid var(--rh-yellow-400);
  outline-offset: 2px;
}

.rh-profile-media-btn .rh-ph {
  font-size: 1rem;
  line-height: 1;
}

.rh-profile-media--default {
  background-image: linear-gradient(135deg, var(--rh-green-600) 0%, var(--rh-green-800) 100%);
}

.rh-profile-upload-form--avatar {
  position: relative;
  z-index: 1;
}

.rh-profile-avatar {
  position: relative;
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  border: 1px solid var(--rh-green-300);
  overflow: visible;
  background: var(--rh-green-700);
}

.rh-profile-avatar > img {
  border-radius: 999px;
  overflow: hidden;
}

.rh-profile-media-btn--avatar {
  position: absolute;
  top: 1.3125rem;
  right: -1.125rem;
  z-index: 3;
}

.rh-profile-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rh-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 999px;
}

.rh-profile-form {
  margin-top: var(--rh-panel-content-gap);
}

.rh-profile-form__actions {
  margin-top: var(--rh-panel-content-gap);
}

.rh-profile-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rh-card-gap);
  width: 100%;
}

@media (max-width: 520px) {
  .rh-profile-grid-2 {
    grid-template-columns: 1fr;
  }
}

.rh-profile-details {
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rh-profile-details__row {
  margin: 0;
  padding: 0.75rem;
  border: 1px solid var(--rh-green-300);
  border-radius: 0.5rem;
  background: var(--rh-green-700);
}

.rh-profile-details__row dt {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--rh-green-300);
}

.rh-profile-details__row dd {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  color: #fff;
}

/* Painel administrativo (mesmo sistema do perfil) */
.rh-admin-panel .rh-profile-form,
.rh-admin-panel .rh-admin-panel__body {
  margin-top: var(--rh-panel-content-gap);
}

.rh-admin-panel .rh-modality-row.rh-admin-panel__tabs {
  margin-top: var(--rh-panel-content-gap);
  margin-bottom: 0;
}

.rh-admin-panel .rh-option-grid.rh-admin-panel__tabs {
  margin-top: var(--rh-panel-content-gap);
  margin-bottom: 0;
}

.rh-admin-panel--no-back .rh-profile-panel__title {
  margin-top: 0;
}

.rh-admin-panel .rh-admin-court-tab .rh-profile-panel__subtitle {
  margin-top: var(--rh-panel-content-gap);
}

.rh-admin-panel .rh-admin-court-tab .rh-profile-form,
.rh-admin-panel .rh-admin-court-tab .rh-admin-panel__body {
  margin-top: 1rem;
}

.rh-admin-empty .rh-link-muted {
  display: inline;
  margin-left: 0.25rem;
}

.rh-admin-panel .rh-actions-stack--menu .rh-btn {
  width: 100%;
  justify-content: center;
}

.rh-admin-hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.65rem;
  margin-top: var(--rh-panel-content-gap);
}

@media (min-width: 640px) {
  .rh-admin-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

.rh-admin-hub-tile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 4.5rem;
  padding: 0.85rem 1rem;
  border-radius: var(--rh-radius-md);
  background: rgba(255, 255, 255, 0.94);
  color: var(--rh-green-800);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

.rh-admin-hub-tile:hover,
.rh-admin-hub-tile:focus-visible {
  transform: translateY(-1px);
  background: #fff;
  border-color: rgba(188, 239, 134, 0.5);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.rh-admin-hub-tile:focus-visible {
  outline: 2px solid var(--rh-yellow-400);
  outline-offset: 2px;
}

.rh-admin-hub-tile:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.rh-admin-hub-tile__icon-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
  background: rgba(8, 91, 67, 0.08);
  color: var(--rh-green-700);
}

.rh-admin-hub-tile__icon {
  font-size: 1.35rem;
  line-height: 1;
}

.rh-admin-hub-tile__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  text-align: left;
}

.rh-admin-hub-tile__label {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--rh-green-800);
}

.rh-admin-hub-tile__hint {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(8, 91, 67, 0.68);
}

.rh-admin-hub-tile__chevron {
  flex-shrink: 0;
  font-size: 0.9rem;
  color: rgba(8, 91, 67, 0.34);
  transition: color 0.15s ease, transform 0.15s ease;
}

.rh-admin-hub-tile:hover .rh-admin-hub-tile__chevron,
.rh-admin-hub-tile:focus-visible .rh-admin-hub-tile__chevron {
  color: var(--rh-green-600);
  transform: translateX(2px);
}

@media (max-width: 520px) {
  .rh-admin-hub-tile {
    gap: 0.7rem;
    padding: 0.75rem 0.85rem;
    min-height: 4.15rem;
  }

  .rh-admin-hub-tile__icon-wrap {
    width: 2.5rem;
    height: 2.5rem;
  }

  .rh-admin-hub-tile__icon {
    font-size: 1.2rem;
  }

  .rh-admin-hub-tile__label {
    font-size: 0.875rem;
  }

  .rh-admin-hub-tile__hint {
    font-size: 0.7rem;
  }
}

.rh-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--rh-card-gap);
  margin-top: var(--rh-panel-content-gap);
}

.rh-option-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: var(--rh-panel-content-gap);
}

.rh-option-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: var(--rh-panel-content-gap);
}

.rh-option-grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: var(--rh-panel-content-gap);
}

.rh-option-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: var(--rh-card-gap);
  margin-top: var(--rh-panel-content-gap);
  width: 100%;
}

.rh-option-row .rh-option-tile {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  aspect-ratio: auto;
  min-height: 4.75rem;
  flex-direction: column;
  justify-content: center;
  gap: var(--rh-space-2);
  padding: 0.9rem 0.75rem;
  text-align: center;
}

.rh-option-row .rh-option-tile__icon {
  font-size: 1.75rem;
}

.rh-option-row .rh-option-tile__label {
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.25;
}

@media (max-width: 520px) {
  .rh-option-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: stretch;
  }

  .rh-option-row > a,
  .rh-option-row > form {
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  .rh-option-row .rh-option-tile {
    flex: none;
    width: 100%;
    min-height: 4.75rem;
    padding: 0.9rem 0.75rem;
  }

  .rh-option-row .rh-option-tile__label {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  .rh-option-row > :only-child,
  .rh-option-row > .rh-option-tile--primary,
  .rh-option-row > form:has(.rh-option-tile--primary),
  .rh-option-row > :last-child:nth-child(odd):not(:only-child) {
    grid-column: 1 / -1;
  }

  .rh-option-grid,
  .rh-option-grid--3,
  .rh-option-grid--4,
  .rh-option-grid--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.rh-league-hub-role__grid {
  margin-top: 1rem;
}

.rh-option-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--rh-space-2);
  aspect-ratio: 1;
  min-height: 0;
  padding: 0.85rem 0.65rem;
  border-radius: 0.75rem;
  background: #fff;
  color: var(--rh-green-800);
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rh-admin-panel__tabs .rh-option-tile {
  aspect-ratio: auto;
  min-height: 7rem;
  padding: 0.95rem 0.7rem;
}

.rh-option-tile:hover,
.rh-option-tile:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.rh-option-tile:focus-visible {
  outline: 2px solid var(--rh-yellow-400);
  outline-offset: 2px;
}

.rh-option-tile--primary {
  background: var(--rh-yellow-200, #fde047);
  color: var(--rh-green-800, #085b43);
}

.rh-option-tile--primary:hover,
.rh-option-tile--primary:focus-visible {
  box-shadow: 0 4px 14px rgba(253, 224, 71, 0.35);
}

.rh-option-tile__icon {
  font-size: 1.875rem;
  line-height: 1;
  color: currentColor;
}

.rh-option-tile__label {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.25;
  max-width: 100%;
}

.rh-option-tile__hint {
  max-width: 100%;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.25;
  color: rgba(0, 69, 51, 0.72);
}

.rh-option-tile--primary .rh-option-tile__hint {
  color: rgba(0, 69, 51, 0.82);
}

@media (max-width: 380px) {
  .rh-option-grid {
    gap: 0.5rem;
  }

  .rh-option-grid--4,
  .rh-option-grid--5 {
    gap: 0.5rem;
  }

  .rh-option-tile {
    padding: 0.5rem 0.35rem;
  }

  .rh-option-tile__icon {
    font-size: 1.5rem;
  }

  .rh-option-tile__label {
    font-size: 0.75rem;
  }

  .rh-option-tile__hint {
    font-size: 0.62rem;
  }
}

.rh-admin-court-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rh-admin-court-list .rh-btn {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}

.rh-admin-court-list__meta {
  opacity: 0.75;
  font-size: 0.875rem;
  font-weight: 400;
}

.rh-admin-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rh-admin-slot-card {
  padding: 1rem;
  border: 1px solid var(--rh-green-300);
  border-radius: 0.5rem;
  background: var(--rh-green-700);
}

.rh-admin-slot-card + .rh-admin-slot-card {
  margin-top: 0.75rem;
}

.rh-admin-slot-card__label {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--rh-green-300);
}

.rh-admin-slot-card__hint {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

.rh-admin-slot-card__delete {
  margin-top: 0.5rem;
}

.rh-admin-slot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-end;
  margin-top: 0.5rem;
}

.rh-admin-slot-actions .rh-field {
  flex: 0 0 auto;
  min-width: 4.5rem;
  margin: 0;
}

.rh-admin-slot-actions .rh-field label {
  font-size: 0.875rem;
}

.rh-admin-slot-actions__sep {
  align-self: center;
  color: rgba(255, 255, 255, 0.85);
  padding: 0 0.25rem 0.5rem;
}

.rh-admin-empty {
  margin: 0;
  font-size: 1rem;
  color: #fff;
  line-height: 1.45;
}

.rh-admin-invite-link {
  margin: 0;
  word-break: break-all;
  font-size: 0.9rem;
  color: #fff;
}

.rh-admin-invite-link code {
  color: var(--rh-green-300);
  font-family: inherit;
  font-size: inherit;
}

/* Convites de cadastro (clube / SaaS) */
.rh-admin-invites .rh-admin-club-code {
  margin: 1.5rem 0 0;
  padding: 1.25rem;
}

.rh-admin-invites__form.rh-profile-form {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rh-admin-invites__form .rh-profile-form__actions {
  margin-top: 0.5rem;
}

.rh-admin-invites__form .rh-profile-grid-2 {
  gap: 0.75rem;
}

.rh-admin-invites__recent {
  margin-top: 2.75rem;
}

.rh-admin-invites__recent > .rh-profile-panel__subtitle {
  margin: 0 0 1.25rem;
}

.rh-admin-invites__recent .rh-admin-list {
  margin-top: 0;
  gap: 1rem;
}

.rh-admin-invite-card {
  padding: 1.125rem;
}

.rh-admin-invite-card__meta {
  margin: 0;
}

.rh-admin-invite-card__meta dd + dd {
  margin-top: 0.65rem;
}

.rh-admin-invite-card__actions {
  margin-top: 1.125rem;
}

.rh-admin-invite-card__edit {
  margin-top: 1rem;
}

.rh-admin-invite-card__edit:not([open]) {
  display: none;
}

.rh-admin-invite-card__edit-form {
  margin-top: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--rh-green-300);
}

.rh-admin-invite-card__edit-hint {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  opacity: 0.9;
}

.rh-admin-invite-link a {
  color: inherit;
  text-decoration: none;
}

.rh-admin-invite-link a:hover code {
  text-decoration: underline;
}

.rh-admin-club-code {
  margin: 0 0 1.75rem;
  padding: 1.25rem;
  border: 1px solid rgba(181, 239, 118, 0.85);
  border-radius: var(--rh-radius-md, 12px);
  background:
    linear-gradient(135deg, rgba(181, 239, 118, 0.1), rgba(0, 0, 0, 0) 42%),
    rgba(0, 0, 0, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.rh-admin-club-code__head {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
}

.rh-admin-club-code__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(181, 239, 118, 0.16);
  color: var(--rh-green-300);
}

.rh-admin-club-code__icon .rh-ph {
  font-size: 1.35rem;
}

.rh-admin-club-code__title-wrap {
  min-width: 0;
}

.rh-admin-club-code__title-wrap .rh-profile-panel__subtitle {
  margin: 0;
}

.rh-admin-club-code__club {
  display: inline-block;
  margin-top: 0.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.rh-admin-club-code__lede {
  max-width: 42rem;
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #fff;
}

.rh-admin-club-code__lede code {
  color: var(--rh-green-300);
  font-size: 0.875rem;
}

.rh-admin-club-code__box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem;
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.16);
}

.rh-admin-club-code__code-wrap {
  min-width: 0;
}

.rh-admin-club-code__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(181, 239, 118, 0.76);
}

.rh-admin-club-code__value {
  display: block;
  margin: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.65rem;
  background: rgba(0, 0, 0, 0.24);
  color: var(--rh-green-300);
  font-size: 0.9rem;
  line-height: 1.35;
  word-break: break-all;
}

.rh-admin-club-code__copy.rh-btn {
  align-self: end;
  min-width: 11rem;
}

@media (max-width: 620px) {
  .rh-admin-club-code {
    padding: 1rem;
  }

  .rh-admin-club-code__box {
    grid-template-columns: 1fr;
  }

  .rh-admin-club-code__copy.rh-btn {
    width: 100%;
    min-width: 0;
  }
}

.rh-admin-user-card {
  --rh-user-card-block-gap: 1.15rem;
  --rh-user-card-title-gap: 0.7rem;
  padding: 1.35rem 1.5rem 1.5rem;
  border: 1px solid var(--rh-green-300);
  border-radius: var(--rh-radius-card, 0.75rem);
  background: var(--rh-green-700);
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.rh-admin-user-card__header {
  margin: 0;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.rh-admin-user-card__name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
}

.rh-admin-user-card__phone {
  margin: 0.4rem 0 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.72);
}

.rh-admin-user-card__section {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.rh-admin-user-card__section--status {
  padding-top: var(--rh-user-card-block-gap);
}

.rh-admin-user-card__section--configure {
  padding-top: 0;
}

.rh-admin-user-card__section--clubs {
  margin-top: 0;
  padding: 1rem 1.1rem 0.95rem;
  border-radius: 0.625rem;
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rh-admin-user-card__section--clubs .rh-admin-user-card__section-title {
  float: left;
  width: 100%;
  margin-bottom: 0.45rem;
}

.rh-admin-user-card__section--clubs .rh-admin-user-card__section-lede {
  clear: both;
  margin-bottom: var(--rh-user-card-title-gap);
}

.rh-admin-user-card__section-title {
  display: block;
  margin: 0 0 var(--rh-user-card-title-gap);
  padding: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rh-green-300);
  line-height: 1.35;
}

.rh-admin-user-card__section-lede {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: normal;
  text-transform: none;
  color: rgba(255, 255, 255, 0.72);
}

.rh-admin-user-card__panel {
  padding: 1.05rem 1.1rem;
  border-radius: 0.625rem;
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rh-admin-user-card__fields {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.rh-admin-user-card__fields .rh-field {
  margin: 0;
}

.rh-admin-user-card .rh-field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0.4rem;
}

.rh-admin-user-card__fields .rh-field-hint {
  margin-top: 0.55rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
}

.rh-admin-user-card__form {
  margin: 0;
  padding-top: var(--rh-user-card-block-gap);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: var(--rh-user-card-block-gap);
}

.rh-admin-user-card__actions {
  margin-top: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.rh-admin-empty--compact {
  margin: 0;
  font-size: 0.9rem;
}

.rh-admin-user-roles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.rh-admin-user-roles li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.18);
  border-left: 3px solid var(--rh-green-300);
  font-size: 0.875rem;
}

.rh-admin-user-roles__club {
  font-weight: 600;
  color: #fff;
}

.rh-admin-user-roles__role {
  color: rgba(255, 255, 255, 0.78);
}

.rh-admin-user-roles__role::before {
  content: '·';
  margin-right: 0.35rem;
  opacity: 0.65;
}

.rh-admin-checkbox-list--card {
  margin-top: 0;
  gap: 0.65rem;
}

.rh-admin-user-card .rh-admin-checkbox {
  padding: 0.55rem 0.65rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.rh-admin-user-card .rh-admin-checkbox:has(input:checked) {
  background: rgba(181, 239, 118, 0.1);
  border-color: rgba(181, 239, 118, 0.35);
}

.rh-admin-checkbox__label {
  font-weight: 500;
}

.rh-admin-checkbox__hint {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
  font-style: italic;
}

.rh-admin-user-card .rh-field--has-select > .rh-custom-select {
  min-height: 3rem;
}

.rh-admin-user-card .rh-custom-select__caret {
  font-size: 1.125rem;
  opacity: 0.95;
}

.rh-admin-user-search__results .rh-admin-list {
  gap: 1.35rem;
}

.rh-admin-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: stretch;
}

.rh-admin-search-row > input {
  box-sizing: border-box;
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--rh-green-300);
  border-radius: 0.5rem;
  background: var(--rh-green-800);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  outline: none;
}

body.rh-body--marketing-light .rh-admin-search-row > input {
  background: #fff;
  border-color: #cbd5e1;
  color: var(--rh-text-dark, #0f172a);
}

@media (max-width: 480px) {
  .rh-admin-search-row {
    grid-template-columns: 1fr;
  }
}

.rh-admin-section-divider {
  margin: 2rem 0 0;
  padding-top: 0;
}

.rh-admin-panel .rh-profile-panel__subtitle.rh-admin-panel__subtitle--spaced {
  margin-top: 2.5rem;
}

.rh-admin-panel .rh-admin-court-tab > .rh-profile-panel__subtitle + .rh-admin-empty {
  margin-top: 1.5rem;
}

.rh-saas-club-cards {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.rh-saas-club-card {
  background: #fff;
  color: var(--rh-green-800, #085b43);
  border-radius: 0.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.rh-saas-club-card__info {
  padding: 1.5rem 1.5rem 1.625rem;
}

.rh-saas-club-card__manage {
  padding: 1.625rem 1.5rem 1.75rem;
  border-top: 1px solid rgba(8, 91, 67, 0.12);
  background: rgba(8, 91, 67, 0.03);
}

.rh-saas-club-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 1.625rem;
}

.rh-saas-club-card__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
}

.rh-saas-club-card__meta {
  margin: 0;
  font-size: 0.8125rem;
  opacity: 0.72;
}

.rh-saas-club-card__section-label {
  margin: 0 0 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.65;
}

.rh-saas-club-card__manage .rh-saas-club-card__section-label {
  margin-bottom: 1.125rem;
}

.rh-saas-club-card__stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.rh-saas-club-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.85rem 0.5rem;
  border-radius: 0.625rem;
  background: rgba(8, 91, 67, 0.07);
  text-align: center;
}

.rh-saas-club-stat__icon {
  font-size: 1.375rem;
  line-height: 1;
  opacity: 0.85;
}

.rh-saas-club-stat__value {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.1;
}

.rh-saas-club-stat__label {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
  opacity: 0.88;
}

.rh-saas-club-card .rh-option-grid {
  margin-top: 0;
}

@media (max-width: 520px) {
  .rh-saas-club-card__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .rh-saas-club-card__info,
  .rh-saas-club-card__manage {
    padding: 1.25rem;
  }

  .rh-saas-club-card__head {
    margin-bottom: 1.375rem;
  }
}

.rh-option-tile--danger {
  background: #fee2e2;
  color: #991b1b;
}

.rh-option-tile--danger:hover,
.rh-option-tile--danger:focus-visible {
  box-shadow: 0 4px 14px rgba(153, 27, 27, 0.15);
}

.rh-admin-delete-summary {
  list-style: disc;
  padding-left: 1.35rem;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.95rem;
  opacity: 0.95;
}

.rh-admin-delete-form {
  margin-top: 0.5rem;
}

.rh-admin-panel__lede-inline {
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.rh-saas-admin-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: calc(var(--rh-panel-content-gap) * 1.15);
  margin-bottom: calc(var(--rh-panel-content-gap) * 1.2);
}

.rh-saas-admin-tab,
.rh-saas-admin-tab:visited {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 7.25rem;
  padding: 1rem 0.85rem;
  border: 1px solid transparent;
  border-radius: var(--rh-radius-card);
  background: #fff;
  color: #00513d;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.rh-saas-admin-tab:hover,
.rh-saas-admin-tab:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.rh-saas-admin-tab--active,
.rh-saas-admin-tab--active:visited {
  background: #ffeb3b;
  color: #003f2f;
}

.rh-saas-admin-tab__icon {
  flex: 0 0 auto;
  font-size: 1.55rem;
}

.rh-saas-admin-tab__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  width: 100%;
}

.rh-saas-admin-tab__body strong {
  font-size: 0.86rem;
  line-height: 1.2;
  color: currentColor;
}

.rh-saas-admin-tab__body small {
  display: block;
  max-width: 10rem;
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.25;
  color: #00513d;
}

.rh-saas-admin-tab--active .rh-saas-admin-tab__body small {
  color: #00402f;
}

.rh-diagnostics__header {
  margin-bottom: 1.25rem;
}

.rh-diagnostics__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.85rem;
}

.rh-diagnostics__updated {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.88);
}

.rh-diagnostics__note {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.65);
}

.rh-diagnostics__status-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  padding: 0.75rem 0.95rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.rh-diagnostics__status-bar--error {
  background: rgba(183, 28, 28, 0.14);
  border-color: rgba(229, 115, 115, 0.35);
}

.rh-diagnostics__status-bar--warn {
  background: rgba(191, 54, 12, 0.12);
  border-color: rgba(255, 183, 77, 0.35);
}

.rh-diagnostics__status-bar--ok {
  background: rgba(27, 94, 32, 0.14);
  border-color: rgba(129, 199, 132, 0.35);
}

.rh-diagnostics__status-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.rh-diagnostics__reload,
.rh-diagnostics__reload:visited {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--rh-green-300);
  text-decoration: none;
  white-space: nowrap;
}

.rh-diagnostics__reload:hover,
.rh-diagnostics__reload:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.rh-diagnostics__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.rh-diagnostics__card {
  overflow: hidden;
  padding: 0;
  border: 1px solid #dfe8e3;
  border-radius: 0.65rem;
  background: #fff;
  box-shadow: none;
}

.rh-diagnostics__card--error {
  border-color: #e57373;
}

.rh-diagnostics__card--warn {
  border-color: #ffb74d;
}

.rh-diagnostics__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #fafcfb;
  border-bottom: 1px solid #e8efeb;
}

.rh-diagnostics__card-title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0d2b22;
  line-height: 1.25;
}

.rh-diagnostics__section-status {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rh-diagnostics__section-status--ok {
  color: #2e7d32;
}

.rh-diagnostics__section-status--warn {
  color: #e65100;
}

.rh-diagnostics__section-status--error {
  color: #c62828;
}

.rh-diagnostics__list {
  margin: 0;
  padding: 0;
}

.rh-diagnostics__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 0.5rem 1rem;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid #f0f4f2;
  background: #fff;
}

.rh-diagnostics__row:last-child {
  border-bottom: 0;
}

.rh-diagnostics__row dt {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #5c7168;
  line-height: 1.35;
}

.rh-diagnostics__row dd {
  margin: 0;
  min-width: 0;
  text-align: right;
  font-size: 0.8125rem;
  line-height: 1.35;
}

.rh-diagnostics__value {
  font-weight: 600;
  color: #102820;
  word-break: break-word;
}

.rh-diagnostics__value--ok {
  color: #1b5e20;
}

.rh-diagnostics__value--warn {
  color: #e65100;
}

.rh-diagnostics__value--error {
  color: #c62828;
}

.rh-diagnostics__value--muted {
  color: #374151;
  font-weight: 500;
}

.rh-diagnostics__row dd .rh-diag-chip {
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.78rem;
  font-weight: 600;
}

.rh-diagnostics__hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #6b7f76;
  text-align: right;
}

.rh-diag-chip {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  border: 1px solid transparent;
}

.rh-diag-chip--section {
  padding: 0.25rem 0.6rem;
  font-size: 0.72rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.rh-diag-chip--ok {
  background: #e8f5e9;
  color: #1b5e20;
  border-color: #a5d6a7;
}

.rh-diag-chip--warn {
  background: #fff3e0;
  color: #bf360c;
  border-color: #ffcc80;
}

.rh-diag-chip--error {
  background: #ffebee;
  color: #b71c1c;
  border-color: #ef9a9a;
}

.rh-diag-chip--muted {
  background: #f3f4f6;
  color: #374151;
  border-color: #e5e7eb;
}

.rh-privacy-toolbar {
  display: flex;
  flex-direction: column;
  gap: var(--rh-card-gap);
  margin-top: calc(var(--rh-panel-content-gap) * 1.25);
}

.rh-privacy-toolbar__copy .rh-profile-panel__subtitle {
  margin-top: 0;
}

.rh-privacy-retention-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--rh-radius-card);
  background: rgba(0, 0, 0, 0.2);
}

.rh-privacy-retention-card strong {
  font-size: 1rem;
  color: #fff;
}

.rh-privacy-retention-card small {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.rh-privacy-retention-card .rh-btn {
  margin-top: 0.25rem;
  color: #00513d;
  background: #fff;
}

.rh-privacy-retention-card__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--rh-yellow);
  text-transform: uppercase;
}

.rh-privacy-filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: var(--rh-card-gap);
}

.rh-privacy-filter,
.rh-privacy-filter:visited {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-height: 5.5rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--rh-radius-card);
  background: #fff;
  color: #00513d;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.rh-privacy-filter:hover,
.rh-privacy-filter:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.rh-privacy-filter--active {
  border-color: #ffeb3b;
  background: #ffeb3b;
  color: #003f2f;
}

.rh-privacy-filter > .rh-ph {
  flex: 0 0 auto;
  margin-top: 0.1rem;
  font-size: 1.35rem;
  color: #00513d;
}

.rh-privacy-filter--active > .rh-ph {
  color: #003f2f;
}

.rh-privacy-filter__text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.rh-privacy-filter__text strong {
  font-size: 0.96rem;
  line-height: 1.25;
  color: #00513d;
}

.rh-privacy-filter__text small {
  font-size: 0.82rem;
  line-height: 1.35;
  color: #17644f;
}

.rh-privacy-filter--active .rh-privacy-filter__text strong,
.rh-privacy-filter--active .rh-privacy-filter__text small {
  color: #003f2f;
}

.rh-privacy-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding: 1rem;
  border-radius: var(--rh-radius-card);
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
}

.rh-privacy-empty .rh-ph {
  font-size: 1.5rem;
  color: var(--rh-yellow);
}

.rh-privacy-empty span {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.rh-privacy-request-card {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.rh-privacy-request-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.rh-privacy-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.rh-privacy-action {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 5.4rem;
  padding: 0.85rem;
  border: 0;
  border-radius: var(--rh-radius-control);
  color: #004533;
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rh-privacy-action:hover,
.rh-privacy-action:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.rh-privacy-action strong {
  font-size: 0.9rem;
  line-height: 1.25;
  color: currentColor;
}

.rh-privacy-action small {
  font-size: 0.78rem;
  line-height: 1.35;
  color: currentColor;
  opacity: 0.82;
}

.rh-privacy-action--review {
  background: #fff;
  color: #00513d;
}

.rh-privacy-action--complete {
  background: #ffeb3b;
  color: #003f2f;
}

.rh-privacy-action--reject {
  background: #fee2e2;
  color: #991b1b;
}

@media (max-width: 720px) {
  .rh-privacy-toolbar,
  .rh-privacy-filter-grid,
  .rh-privacy-action-grid {
    grid-template-columns: 1fr;
  }

  .rh-saas-admin-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .rh-saas-admin-tab {
    min-height: 6.35rem;
  }

  .rh-privacy-filter,
  .rh-privacy-action {
    min-height: 0;
  }

  .rh-privacy-request-card__head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  .rh-privacy-filter-grid {
    grid-template-columns: 1fr;
  }

  .rh-saas-admin-tab {
    min-height: 6.75rem;
    padding-inline: 0.75rem;
  }

  .rh-saas-admin-tab__body strong {
    font-size: 0.84rem;
  }
}

@media (max-width: 420px) {
  .rh-saas-admin-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .rh-saas-admin-tab {
    min-height: 5.85rem;
    padding: 0.65rem 0.35rem;
  }

  .rh-saas-admin-tab__body small {
    display: none;
  }
}

@media (max-width: 760px) {
  .rh-diagnostics__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .rh-diagnostics__row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
    padding: 0.55rem 0.95rem;
  }

  .rh-diagnostics__row dd {
    text-align: left;
  }

  .rh-diagnostics__hint {
    text-align: left;
  }

  .rh-diagnostics__card-head {
    padding: 0.7rem 0.95rem;
  }

  .rh-saas-admin-tab {
    min-height: 6.1rem;
    padding: 0.7rem 0.45rem;
  }

  .rh-saas-admin-tab__icon {
    font-size: 1.3rem;
  }

  .rh-saas-admin-tab__body strong {
    font-size: 0.76rem;
    line-height: 1.15;
  }

  .rh-saas-admin-tab__body small {
    max-width: none;
    font-size: 0.62rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
}

.rh-admin-user-search {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin-top: 0.25rem;
}

.rh-admin-user-search__head {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: 36rem;
}

.rh-admin-user-search__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--rh-green-300, #bcef86);
}

.rh-admin-user-search__intro {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.rh-admin-user-search__intro strong {
  font-weight: 600;
  color: #fff;
}

.rh-admin-user-filter {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rh-admin-user-filter__legend {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.rh-admin-user-filter__segment {
  display: flex;
  gap: 0.35rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.rh-admin-user-filter__btn,
.rh-admin-user-filter__btn:visited,
.rh-admin-user-filter__btn:hover,
.rh-admin-user-filter__btn:focus-visible {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.55rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.rh-admin-user-filter__btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.rh-admin-user-filter__btn:focus-visible {
  outline: 2px solid var(--rh-green-300, #bcef86);
  outline-offset: 2px;
}

.rh-admin-user-filter__btn--active,
.rh-admin-user-filter__btn--active:visited,
.rh-admin-user-filter__btn--active:hover {
  background: var(--rh-yellow-200, #ffed3e);
  color: var(--rh-green-800, #085b43);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.rh-admin-user-filter__hint {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  max-width: 38rem;
}

.rh-admin-user-filter__hint-label {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.rh-admin-user-search__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rh-admin-user-search__field-label {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
}

.rh-admin-user-search .rh-search-select__box {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.rh-admin-user-search__input-row {
  min-height: 3rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(188, 239, 134, 0.55);
  border-radius: 0.65rem;
  background: rgba(0, 0, 0, 0.22);
}

.rh-admin-user-search .rh-search-select__box:focus-within .rh-admin-user-search__input-row {
  border-color: var(--rh-green-300, #bcef86);
  box-shadow: 0 0 0 2px rgba(188, 239, 134, 0.28);
  background: rgba(0, 0, 0, 0.32);
}

.rh-admin-user-search__field-hint {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.58);
}

.rh-admin-user-search__results {
  margin-top: 0.15rem;
}

.rh-admin-user-card--pending {
  border-color: rgba(255, 193, 7, 0.35);
}

.rh-admin-user-verification {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rh-admin-user-verification__lede {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.rh-admin-user-verification__code-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
}

.rh-admin-user-verification__code-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.65);
  width: 100%;
}

.rh-admin-user-verification__code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 0.35rem 0.65rem;
  border-radius: 0.4rem;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
}

.rh-admin-user-verification__expires {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}

.rh-admin-user-verification__expires--expired {
  color: #ffb4b4;
}

.rh-admin-user-verification__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  margin-top: 0.35rem;
}

.rh-admin-user-verification__form {
  display: inline-flex;
  margin: 0;
}

.rh-admin-user-verification__actions .rh-btn {
  min-height: 2.5rem;
  padding-inline: 1rem;
}

.rh-admin-empty--compact {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
}

.rh-admin-checkbox-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 14rem;
  overflow-y: auto;
}

.rh-admin-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
}

.rh-admin-checkbox input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--rh-yellow);
  flex-shrink: 0;
}

.rh-admin-hourly-preview {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: 0.35rem 0.75rem;
}

.rh-admin-hourly-preview li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.rh-admin-court-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--rh-card-gap);
}

.rh-admin-court-card {
  padding: 1rem;
  border: 1px solid var(--rh-green-300);
  border-radius: var(--rh-radius-card);
  background: var(--rh-green-700);
  display: flex;
  flex-direction: column;
  gap: var(--rh-card-gap);
}

.rh-admin-court-card__meta {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--rh-green-300);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Gerenciar confrontos — lista compacta de jogos pendentes */
.rh-fixtures-pending-page .rh-profile-panel__lede {
  margin-bottom: 0;
}

.rh-fixture-pending-list {
  list-style: none;
  margin: var(--rh-panel-content-gap) 0 0;
  padding: 0;
  display: grid;
  gap: var(--rh-card-gap);
}

.rh-fixture-pending-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.95rem 1rem;
  border-radius: var(--rh-radius-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.rh-fixture-pending-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.26);
}

.rh-fixture-pending-card__main {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.rh-fixture-pending-card__category {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.3;
}

.rh-fixture-pending-card__matchup {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
}

.rh-fixture-pending-card__matchup span:not(.rh-fixture-pending-card__vs) {
  word-break: break-word;
}

.rh-fixture-pending-card__vs {
  margin: 0 0.25em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
}

.rh-fixture-pending-card__round {
  align-self: flex-start;
  margin-top: 0.15rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.6875rem;
  line-height: 1.3;
}

.rh-fixture-pending-card__cta {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .rh-fixture-pending-card {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.875rem 0.9375rem;
  }

  .rh-fixture-pending-card__cta {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
}

.rh-admin-court-card__actions {
  margin-top: var(--rh-space-3);
}

.rh-admin-court-tab__lede {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.rh-admin-court-group + .rh-admin-court-group {
  margin-top: 1.5rem;
}

.rh-admin-court-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.rh-admin-court-group__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--rh-green-300);
}

.rh-admin-court-group__auto {
  margin: 0;
}

.rh-admin-court-card__order {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rh-admin-court-card__position {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  border: 1px solid var(--rh-green-300);
  border-radius: 0.35rem;
  font-weight: 600;
  color: var(--rh-green-300);
}

.rh-admin-court-card__order-actions {
  display: flex;
  gap: 0.35rem;
}

.rh-admin-court-card__order-actions form {
  margin: 0;
}

.rh-rack-rules-form {
  margin-top: 1.5rem;
}

.rh-rack-rules-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rh-rack-rule-item + .rh-rack-rule-item {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.rh-rack-rule-row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.rh-rack-rule-row__fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rh-rack-rule-row__times {
  margin-top: 0.25rem;
}

.rh-rack-rule-row__foot {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.25rem;
}

.rh-rack-rule-row__foot .rh-btn-small {
  width: auto;
  min-height: 2.75rem;
  padding: 0 1.25rem;
}

.rh-rack-rules-empty {
  display: none;
  margin: 1.5rem 0 0;
  padding: 1rem 1.25rem;
  border: 1px dashed rgba(188, 239, 134, 0.45);
  border-radius: 0.5rem;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--rh-green-300);
  line-height: 1.5;
}

.rh-rack-rules-empty.is-visible {
  display: block;
}

.rh-rack-rules-form__actions {
  margin-top: 2rem;
}

.rh-app-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rh-notif-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--rh-green-300);
  text-decoration: none;
  line-height: 0;
  border: 0;
  background: none;
  padding: 0.35rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.rh-notif-bell .rh-ph--notif-bell {
  font-size: 1.5rem;
}

body.rh-notif-open .rh-notif-drawer {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

body.rh-notif-open .rh-sidebar#rh-sidebar {
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
}

body.rh-sidebar-open .rh-notif-drawer {
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
}

.rh-sidebar__user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.25rem 1rem;
  margin: 0;
  border-bottom: 1px solid var(--rh-green-500);
}

.rh-sidebar__user-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--rh-green-300);
}

.rh-sidebar__user-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.rh-sidebar__user-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rh-sidebar__user-meta {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 520px) {
  .rh-sidebar__intro {
    display: none;
  }

  .rh-sidebar__title {
    font-size: 1.1rem;
  }

  .rh-app-header {
    margin-top: max(1rem, env(safe-area-inset-top, 0px));
  }
}

@media (min-width: 521px) {
  .rh-sidebar {
    width: 75%;
    max-width: 20rem;
  }

  .rh-sidebar__head {
    padding: 2.5rem 1.75rem 1.25rem;
  }

  .rh-sidebar__link {
    padding: 1.15rem 1.75rem;
  }

  .rh-sidebar__user {
    display: none;
  }
}

.rh-notif-drawer__body {
  padding-bottom: 2rem;
}

.rh-notif-drawer__loading,
.rh-notif-drawer__empty {
  margin: 0;
  padding: 1.25rem 1.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.rh-notif-drawer__bulk {
  margin: 0;
}

.rh-notif-drawer__bulk-btn {
  width: 100%;
  text-align: left;
}

.rh-notif-drawer__list {
  margin-top: 0;
}

.rh-notif-drawer__item {
  position: relative;
  border-bottom: 1px solid var(--rh-green-500);
}

.rh-notif-drawer__item--unread {
  background: var(--rh-green-800);
}

.rh-notif-drawer__link {
  padding-right: 3rem;
  align-items: flex-start;
}

.rh-notif-drawer__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.rh-notif-drawer__type {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--rh-yellow);
}

.rh-notif-drawer__title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.rh-notif-drawer__excerpt {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rh-notif-drawer__when {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.rh-notif-drawer__read-form {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  margin: 0;
}

.rh-notif-drawer__read-btn {
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: var(--rh-green-300);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.rh-notif-drawer__read-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.rh-notif-drawer__settings {
  margin-top: 0.5rem;
}

.rh-notif-bell__badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.2rem;
  border-radius: 999px;
  background: var(--rh-red-800);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 2px solid var(--rh-green-700);
}

.rh-sidebar__badge {
  margin-left: auto;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--rh-red-800);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.rh-notif-toolbar .rh-page-toolbar__nav,
.rh-notif-toolbar .rh-page-toolbar__back {
  flex: 0 0 auto;
}

.rh-notif-toolbar .rh-page-toolbar__action {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

@media (max-width: 520px) {
  .rh-notif-toolbar .rh-page-toolbar__action {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}

.rh-notif-bulk {
  margin: 0.75rem 0 0;
}

.rh-notif-panel__empty {
  margin-top: 2rem;
}

.rh-notif-list {
  margin-top: 2rem;
}

.rh-profile-details__row.rh-notif-item--unread {
  border-color: var(--rh-yellow);
  background: var(--rh-green-800);
}

.rh-notif-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.rh-notif-item__when {
  margin-left: auto;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.rh-chip--accent {
  background: rgba(255, 214, 0, 0.18);
  color: var(--rh-yellow);
  font-weight: 600;
}

.rh-notif-item__body {
  margin: 0;
}

.rh-notif-item__body dt {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.rh-notif-item__body dt .rh-ph {
  flex-shrink: 0;
  font-size: 1.125rem;
}

.rh-notif-item__actions {
  margin-top: 1rem;
}

/* Configurações de alertas — passo 1 (dispositivo) + passo 2 (preferências) */
.rh-notif-settings__lede {
  max-width: 42rem;
}

.rh-notif-section {
  margin-top: var(--rh-space-7);
  padding: var(--rh-space-6) var(--rh-space-6);
  border: 1px solid var(--rh-green-300);
  border-radius: var(--rh-radius-card);
  background: rgba(0, 0, 0, 0.12);
}

.rh-notif-section__head {
  margin-bottom: var(--rh-space-5);
}

.rh-notif-section__step {
  margin: 0 0 var(--rh-space-2);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rh-yellow);
}

.rh-notif-section__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--rh-green-300);
  line-height: 1.3;
}

.rh-notif-section__lede {
  margin: var(--rh-space-3) 0 0;
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
  max-width: 38rem;
}

.rh-notif-section__status {
  margin: 0 0 var(--rh-space-5);
  padding: var(--rh-space-4) var(--rh-space-5);
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--rh-green-800);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #fff;
}

.rh-notif-section__status--muted {
  color: rgba(255, 255, 255, 0.75);
}

.rh-notif-device-actions {
  display: flex;
  flex-direction: column;
  gap: var(--rh-space-3);
}

.rh-notif-section__footnote {
  margin: var(--rh-space-5) 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}

.rh-notif-section__footnote code {
  font-size: 0.8125rem;
}

.rh-notif-settings-form {
  margin-top: 0;
}

.rh-notif-section--prefs {
  margin-top: var(--rh-space-6);
}

.rh-notif-prefs {
  border: 0;
  padding: 0;
  margin: 0;
}

.rh-notif-prefs legend.rh-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rh-notif-pref + .rh-notif-pref {
  margin-top: var(--rh-space-6);
  padding-top: var(--rh-space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rh-notif-pref__hint {
  margin: var(--rh-space-2) 0 0 1.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.68);
}

.rh-notif-pref__sub {
  margin: var(--rh-space-4) 0 0 1.75rem;
  padding-left: var(--rh-space-4);
  border-left: 2px solid rgba(255, 255, 255, 0.12);
}

.rh-notif-pref__sub-label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.rh-notif-pref__sub-hint {
  margin: var(--rh-space-2) 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
}

.rh-notif-pref__sub-options {
  margin-top: var(--rh-space-3);
  display: flex;
  flex-direction: column;
  gap: var(--rh-space-2);
}

.rh-notif-pref__sub-option {
  margin: 0;
}

.rh-notif-settings__actions {
  margin-top: var(--rh-space-7);
  gap: var(--rh-space-3);
}

@media (min-width: 480px) {
  .rh-notif-device-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .rh-notif-device-actions .rh-btn {
    flex: 1 1 auto;
    min-width: 12rem;
  }
}

/* Legado — manter compatibilidade se alguma view antiga usar */
.rh-notif-prefs .rh-admin-checkbox__hint {
  margin: 0.15rem 0 0 1.6rem;
}

.rh-notif-prefs__row {
  margin-top: 1rem;
}

.rh-notif-device {
  margin-top: 1.25rem;
}

.rh-notif-device > .rh-btn {
  margin-top: 0.75rem;
}

.rh-notif-device__hint {
  margin-top: var(--rh-space-2);
}

/* Liga / torneios internos */
.rh-league-hub-roles {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rh-league-hub-role {
  padding: 1rem 1.1rem 1.15rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--rh-green-800, #0d2818);
}

.rh-league-hub-role--player {
  border-color: rgba(253, 224, 71, 0.45);
  box-shadow: 0 0 0 1px rgba(253, 224, 71, 0.08) inset;
}

.rh-league-hub-role--staff {
  border-color: rgba(134, 239, 172, 0.35);
}

.rh-league-hub-role__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.rh-league-hub-role__icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 1.5rem;
  line-height: 1;
}

.rh-league-hub-role--player .rh-league-hub-role__icon {
  color: var(--rh-yellow-200, #fde047);
}

.rh-league-hub-role--staff .rh-league-hub-role__icon {
  color: var(--rh-green-300, #86efac);
}

.rh-league-hub-role__head-text {
  min-width: 0;
}

.rh-league-hub-role__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
}

.rh-league-hub-role__lede {
  margin: 0.35rem 0 0;
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.rh-league-hub-role__actions {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rh-league-hub-role__empty {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.rh-league-manage__grid {
  margin-top: var(--rh-panel-content-gap);
}

.rh-league-manage__hint {
  margin: var(--rh-panel-content-gap) 0 0;
}

.rh-league-staff-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  margin-top: var(--rh-panel-content-gap);
  padding: 1rem 1.15rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(134, 239, 172, 0.35);
  background: rgba(0, 0, 0, 0.2);
}

.rh-league-staff-banner__icon {
  flex-shrink: 0;
  font-size: 1.5rem;
  color: var(--rh-green-300);
}

.rh-league-staff-banner__body {
  flex: 1 1 12rem;
  min-width: 0;
}

.rh-league-staff-banner__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
}

.rh-league-staff-banner__text {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.rh-league-staff-banner__action.rh-btn {
  width: auto;
  flex: 0 0 auto;
  margin-left: auto;
}

.rh-league-player__empty {
  margin: var(--rh-panel-content-gap) 0 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

@media (max-width: 520px) {
  .rh-league-staff-banner__action.rh-btn {
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }
}

.rh-field-hint {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

.rh-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rh-tournament-slots {
  margin-top: 1.25rem;
}

.rh-tournament-slots__title {
  margin: 0 0 0.75rem;
}

.rh-tournament-slots__list {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rh-tournament-slots__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.625rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.12);
}

.rh-tournament-slots__times {
  display: flex;
  flex: 1 1 12rem;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.35rem 0.5rem;
  min-width: 0;
}

.rh-tournament-slots__time-field {
  margin: 0;
  flex: 1 1 6.5rem;
  min-width: 0;
}

.rh-tournament-slots__time-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--rh-green-300, #86efac);
}

.rh-tournament-slots__time-field input[type="time"] {
  width: 100%;
  min-width: 0;
}

.rh-tournament-slots__sep {
  flex: 0 0 auto;
  align-self: flex-end;
  padding-bottom: 0.55rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

.rh-tournament-slots__row .rh-btn,
.rh-tournament-slots__add {
  width: auto;
  min-height: 2.5rem;
  flex: 0 0 auto;
}

.rh-tournament-slots__add {
  margin-top: 0.15rem;
}

.rh-tournament-schedule__filters {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 1rem;
}

.rh-tournament-schedule__hint {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.rh-tournament-schedule__step {
  margin-top: 1.25rem;
}

.rh-tournament-schedule__step--date {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rh-tournament-schedule__step--date .rh-btn {
  width: 100%;
}

.rh-tournament-schedule__preview-day {
  margin: 1rem 0 0;
}

.rh-tournament-schedule__fixture-slot label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--rh-green-300, #86efac);
}

.rh-tournament-schedule__day-picker {
  margin: 1rem 0 1.25rem;
}

.rh-tournament-schedule__fixtures {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rh-tournament-schedule__fixture-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.rh-tournament-schedule__fixture-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
}

.rh-tournament-schedule__mode-lede {
  margin-bottom: 0.75rem;
}

.rh-tournament-schedule__mode-picker {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.rh-tournament-schedule__mode-picker-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--rh-green-300, #86efac);
}

.rh-schedule-mode-segment {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.rh-schedule-mode-segment__btn {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.15);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.rh-schedule-mode-segment__btn:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.rh-schedule-mode-segment__btn--active {
  border-color: var(--rh-yellow, #facc15);
  background: rgba(250, 204, 21, 0.18);
  color: #fff;
}

.rh-tournament-schedule__fixture-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.rh-tournament-schedule__fixture-panel[hidden] {
  display: none !important;
}

.rh-tournament-schedule__fixture-note {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.rh-tournament-schedule__fixture-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.625rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--rh-green-800, #0d2818);
}

.rh-tournament-schedule__fixture-row[data-active-mode="slot"] {
  border-color: rgba(134, 239, 172, 0.35);
}

.rh-tournament-schedule__fixture-row[data-active-mode="court"] {
  border-color: rgba(250, 204, 21, 0.35);
}

.rh-tournament-schedule__fixture-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
}

.rh-tournament-schedule__fixture-slot {
  margin: 0;
}

.rh-tournament-schedule__preview {
  margin-top: 2rem;
}

.rh-tournament-schedule__preview-text {
  margin: 0.75rem 0 1rem;
  padding: 1rem;
  border-radius: 0.625rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
}

.rh-tournament-schedule__preview-actions {
  margin-top: 0;
}

.rh-league-player .rh-league-section:first-of-type,
.rh-league-player .rh-league-staff-banner + .rh-league-section {
  margin-top: var(--rh-panel-content-gap);
}

.rh-league-section {
  margin-top: 2rem;
}

#rh-league-inscricoes,
#rh-league-abertos,
#rh-league-games,
#rh-league-pending-fixtures,
#rh-league-registrations {
  scroll-margin-top: 1rem;
}

.rh-league-section .rh-profile-panel__subtitle {
  margin-bottom: 0.35rem;
}

.rh-league-section .rh-section-lede {
  margin: 0.5rem 0 1.125rem;
  line-height: 1.5;
}

#rh-league-games.rh-league-section {
  margin-top: 0;
}

.rh-league-section--nested {
  margin-top: 1.5rem;
}

.rh-league-games-callout {
  margin-bottom: 1.25rem;
}

.rh-league-tournament-item__program-hint,
.rh-bracket-tree__program-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

.rh-league-tabs__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
  color: #111;
  background: #fff;
}

.rh-league-tabs__pill--active .rh-league-tabs__badge {
  color: var(--rh-green-800, #085b43);
  background: rgba(255, 255, 255, 0.95);
}

.rh-league-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.rh-league-tournament-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--rh-card-gap);
}

.rh-league-tournament-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--rh-space-3);
  padding: 1rem;
  border-radius: var(--rh-radius-card);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.2);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.rh-league-tournament-card:hover,
.rh-league-tournament-card:focus-visible {
  border-color: var(--rh-yellow-200, #fde047);
  background: rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}

.rh-league-tournament-card:focus-visible {
  outline: 2px solid var(--rh-yellow-400);
  outline-offset: 2px;
}

.rh-league-tournament-card__main {
  display: flex;
  align-items: center;
  gap: var(--rh-space-3);
  min-width: 0;
  flex: 1;
}

.rh-league-tournament-card__icon-wrap {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rh-yellow-200, #fde047);
}

.rh-league-tournament-card__icon-wrap .rh-ph {
  font-size: 1.35rem;
  line-height: 1;
}

.rh-league-tournament-card__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  min-width: 0;
}

.rh-league-tournament-card__text strong {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
}

.rh-league-tournament-card__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
}

.rh-league-tournament-card__go {
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--rh-yellow-200, #fde047);
}

.rh-league-tournaments-page__head {
  margin-bottom: var(--rh-panel-back-gap);
}

.rh-league-tournaments-page__list {
  margin-top: 0.75rem;
}

.rh-league-tournaments-page__create {
  margin-top: 1.25rem;
}

.rh-league-tournaments-page__create .rh-btn {
  width: 100%;
  min-height: 3.5rem;
  padding: 0 1.25rem;
  font-size: 1rem;
  font-weight: 500;
}

.rh-league-inline-form {
  display: inline;
}

.rh-league-category-picker {
  margin: 1rem 0 1.5rem;
}

/* —— Chave visual (liga / painel app) —— */
.rh-bracket-page {
  padding-bottom: 0.5rem;
}

.rh-bracket-page__head {
  margin-bottom: 0;
}

.rh-bracket-page__actions {
  margin: 0 0 1rem;
}

.rh-bracket-page__actions--solo > form,
.rh-bracket-page__actions--solo > .rh-btn {
  flex: 1 1 100%;
}

.rh-bracket-page__actions:not(.rh-bracket-page__actions--solo) > form {
  flex: 1 1 9.5rem;
}

.rh-bracket-page__actions:not(.rh-bracket-page__actions--solo) > .rh-btn--yellow {
  flex: 1.4 1 11rem;
  font-weight: 600;
}

@media (max-width: 520px) {
  .rh-bracket-page__actions:not(.rh-bracket-page__actions--solo) > form,
  .rh-bracket-page__actions:not(.rh-bracket-page__actions--solo) > .rh-btn {
    flex: 1 1 100%;
    min-width: 100%;
  }
}

.rh-bracket-page .rh-super8-board,
.rh-bracket-page .rh-super8-groups,
.rh-bracket-page .rh-super8-rotating,
.rh-bracket-page .rh-super8-layout--groups,
.rh-bracket-page .rh-super8-groups-phase,
.rh-bracket-page .rh-super8-groups-grid,
.rh-bracket-page .rh-super8-groups-fixtures {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.rh-bracket-page__lede {
  margin: 0 0 1.25rem;
}

.rh-bracket-tree {
  --bracket-gap: 0.5rem;
  --rh-bracket-bleed: 1.25rem;
  margin: 0;
  width: 100%;
  max-width: none;
}

.rh-bracket-tree--draw {
  --bracket-gap: 1.35rem;
  --bracket-group-gap: 0.35rem;
  --bracket-line-color: rgba(188, 239, 134, 0.7);
  --bracket-line-width: 2px;
}

.rh-bracket-tree__stage,
.rh-bracket-tree__track {
  width: 100%;
}

.rh-bracket-tree .rh-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rh-bracket-tree__scroll {
  overflow: visible;
  box-sizing: border-box;
  width: calc(100% + (2 * var(--rh-bracket-bleed)));
  margin-left: calc(-1 * var(--rh-bracket-bleed));
  margin-right: calc(-1 * var(--rh-bracket-bleed));
  padding: 0.75rem 0.65rem 1rem;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

.rh-bracket-tree__track {
  position: relative;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--rh-green-300) rgba(0, 0, 0, 0.2);
  scrollbar-width: thin;
  padding-bottom: 0.25rem;
}

.rh-bracket-tree--draw .rh-bracket-tree__columns {
  position: relative;
  z-index: 1;
}

.rh-bracket-tree__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}

.rh-bracket-tree__scroll:has(.rh-field--select-open),
.rh-bracket-tree__track:has(.rh-field--select-open) {
  overflow: visible;
}

.rh-bracket-tree__scroll:focus-visible {
  outline: 2px solid var(--rh-green-300);
  outline-offset: 2px;
}

.rh-bracket-tree__columns {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-width: 100%;
  padding: 0;
}

.rh-bracket-tree__round {
  flex: 0 0 auto;
  min-width: 100%;
  width: 100%;
  padding: 0;
  position: relative;
  box-sizing: border-box;
}

.rh-bracket-tree:not(.rh-bracket-tree--compact) .rh-bracket-tree__round {
  min-width: clamp(11.5rem, 42vw, 16.5rem);
  width: clamp(11.5rem, 42vw, 16.5rem);
  padding: 0 calc(var(--bracket-gap) / 2);
  scroll-snap-align: start;
}

.rh-bracket-tree:not(.rh-bracket-tree--compact) .rh-bracket-tree__columns {
  min-width: min-content;
  width: auto;
  align-items: stretch;
}

.rh-bracket-tree__round-title {
  margin: 0 0 0.4rem;
  padding: 0;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rh-green-300);
  line-height: 1.2;
}

.rh-bracket-tree__round-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  height: auto;
  gap: 0.35rem;
  overflow: visible;
}

.rh-bracket-tree--draw .rh-bracket-tree__round {
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.rh-bracket-tree--draw .rh-bracket-tree__round-body {
  flex: 1 1 auto;
  gap: var(--bracket-group-gap);
}

.rh-bracket-tree__group {
  display: flex;
  flex-direction: column;
  gap: var(--bracket-group-gap, 0.35rem);
  position: relative;
  flex: 0 0 auto;
}

.rh-bracket-tree--draw .rh-bracket-tree__group {
  flex: 1 1 auto;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
}

.rh-bracket-tree--draw .rh-bracket-tree__group-matches {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--bracket-group-gap);
  justify-content: center;
  overflow: visible;
}

.rh-bracket-tree--draw .rh-bracket-tree__group {
  overflow: visible;
}

.rh-bracket-tree--draw .rh-bracket-tree__round--advance .rh-bracket-tree__group {
  padding-left: var(--bracket-gap);
}

.rh-bracket-tree--draw .rh-bracket-tree__round--advance .rh-bracket-tree__group--single .rh-bracket-tree__group-matches {
  flex: 1;
  justify-content: center;
}

.rh-bracket-tree--draw .rh-bracket-tree__join {
  flex: 0 0 var(--bracket-gap);
  align-self: stretch;
  min-height: 0.5rem;
  pointer-events: none;
}

.rh-bracket-tree__pair {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  flex: 0 0 auto;
  overflow: visible;
  position: relative;
  min-width: 0;
}

.rh-bracket-tree__pair:has(.rh-field--select-open) {
  position: relative;
  z-index: 60;
}

.rh-bracket-tree__match-box {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  overflow: visible;
}

.rh-bracket-tree__match-box--ready {
  border-color: rgba(188, 239, 134, 0.35);
}

.rh-bracket-tree__match-badge {
  position: absolute;
  top: 0.2rem;
  left: 0.35rem;
  z-index: 1;
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.38);
  pointer-events: none;
}

.rh-bracket-tree__slots {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  border-radius: 0.4rem 0.4rem 0 0;
}

.rh-bracket-tree__slot {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.3rem;
  padding: 0.3rem 0.45rem 0.3rem 1.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  color: #fff;
  border: none;
  min-height: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rh-bracket-tree__slot:last-child {
  border-bottom: none;
}

.rh-bracket-tree__slot-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.rh-bracket-tree__slot-icon {
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--rh-yellow-200);
}

.rh-bracket-tree__slot--winner {
  background: rgba(188, 239, 134, 0.12);
  box-shadow: inset 3px 0 0 var(--rh-green-300);
}

.rh-bracket-tree__slot--tbd {
  color: rgba(255, 255, 255, 0.45);
  font-style: italic;
  font-weight: 500;
}

.rh-bracket-tree__slot--bye {
  color: rgba(255, 255, 255, 0.38);
  font-style: italic;
  font-weight: 500;
}

.rh-bracket-tree__correct {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rh-bracket-tree__correct-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.45rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  list-style: none;
}

.rh-bracket-tree__correct-toggle::-webkit-details-marker {
  display: none;
}

.rh-bracket-tree__correct-toggle .rh-ph {
  font-size: 0.85rem;
}

.rh-bracket-tree__correct[open] .rh-bracket-tree__correct-toggle {
  color: var(--rh-green-300);
}

.rh-bracket-tree__admin {
  padding: 0.35rem 0.4rem 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.12);
  border-radius: 0 0 0.4rem 0.4rem;
}

.rh-bracket-tree__admin-form {
  margin: 0;
  width: 100%;
}

.rh-bracket-tree__admin-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.4rem;
  width: 100%;
}

.rh-bracket-tree__admin-field {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  gap: 0;
}

.rh-bracket-tree__admin-field > .rh-custom-select,
.rh-bracket-tree__admin-field > select.rh-select {
  width: 100%;
}

.rh-bracket-tree__admin-field.rh-field--has-select {
  position: relative;
  z-index: 1;
}

.rh-bracket-tree__admin-field.rh-field--has-select > .rh-custom-select {
  position: relative;
  min-height: 2rem;
  padding: 0.3rem 0.45rem;
  box-sizing: border-box;
}

.rh-bracket-tree__admin-field .rh-custom-select__trigger {
  font-size: 0.875rem;
}

.rh-bracket-tree__admin-field .rh-custom-select__value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rh-bracket-tree__admin-field.rh-field--select-open {
  z-index: 80;
}

.rh-bracket-tree__admin-field.rh-field--select-open > .rh-custom-select {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.rh-bracket-tree__admin-field .rh-custom-select > .rh-custom-select__list {
  left: 0;
  right: 0;
  top: 100%;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  border-top: none;
  border-radius: 0 0 0.5rem 0.5rem;
}

.rh-bracket-tree__admin-submit.rh-btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 2.5rem;
  min-height: 2rem;
  margin: 0;
  padding: 0 0.5rem;
  align-self: stretch;
  gap: 0.25rem;
}

.rh-bracket-tree__admin-submit .rh-ph {
  font-size: 1.125rem;
}

.rh-bracket-tree__admin-submit-text {
  font-size: 0.875rem;
  font-weight: 700;
}

.rh-bracket-tree__match-box:not(:has(.rh-bracket-tree__admin)):not(:has(.rh-bracket-tree__correct)):not(:has(.rh-bracket-tree__score-entry)) .rh-bracket-tree__slots {
  border-radius: 0.4rem;
}

.rh-bracket-tree__match-box:has(.rh-bracket-tree__score-entry):not(:has(.rh-bracket-tree__score-entry[open])) .rh-bracket-tree__slots,
.rh-bracket-tree__match-box:has(.rh-bracket-tree__correct):not(:has(.rh-bracket-tree__correct[open])) .rh-bracket-tree__slots {
  border-radius: 0 0 0.4rem 0.4rem;
}

.rh-bracket-tree__score-summary {
  margin: 0;
  padding: 0.2rem 0.45rem 0;
  font-size: 0.68rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.rh-bracket-tree__score-entry {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rh-bracket-tree__score-entry-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.32rem 0.45rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  list-style: none;
}

.rh-bracket-tree__score-entry-toggle::-webkit-details-marker {
  display: none;
}

.rh-bracket-tree__score-entry-toggle .rh-ph {
  font-size: 0.85rem;
}

.rh-bracket-tree__score-entry[open] .rh-bracket-tree__score-entry-toggle {
  color: var(--rh-green-300);
}

.rh-bracket-tree__pair:has(.rh-bracket-tree__score-entry[open]),
.rh-bracket-tree__pair:has(.rh-bracket-tree__correct[open]) {
  z-index: 55;
}

.rh-bracket-tree:not(.rh-bracket-tree--compact) .rh-bracket-tree__round:has(.rh-bracket-tree__score-entry[open]),
.rh-bracket-tree:not(.rh-bracket-tree--compact) .rh-bracket-tree__round:has(.rh-bracket-tree__correct[open]) {
  min-width: clamp(13.5rem, 48vw, 18rem);
  width: clamp(13.5rem, 48vw, 18rem);
}

/* Set score form (chave / Super 8) */
.rh-fixture-sets {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.rh-fixture-sets__mode {
  display: inline-flex;
  gap: 0.25rem;
  margin-bottom: 0.45rem;
  padding: 0.15rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
}

.rh-fixture-sets__mode-opt {
  display: inline-flex;
  margin: 0;
  cursor: pointer;
}

.rh-fixture-sets__mode-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rh-fixture-sets__mode-opt span {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.2;
}

.rh-fixture-sets__mode-opt input:checked + span {
  background: rgba(188, 239, 134, 0.2);
  color: var(--rh-green-300);
}

.rh-fixture-sets__walkover {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.35rem;
  position: relative;
  z-index: 95;
}

.rh-fixture-sets__walkover:not([hidden]) {
  padding-bottom: 0.5rem;
  margin-bottom: 0.35rem;
}

.rh-fixture-sets__walkover-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.rh-fixture-sets__walkover-select {
  width: 100%;
  min-height: 2rem;
  font-size: 0.8125rem;
}

.rh-fixture-sets__panel {
  width: 100%;
  min-width: 0;
}

.rh-fixture-sets__rows {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rh-fixture-sets__row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.rh-fixture-sets__row-main {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  width: 100%;
  min-width: 0;
}

.rh-fixture-sets__set-num {
  flex: 0 0 auto;
  margin-top: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.rh-fixture-sets__score-pair {
  display: flex;
  align-items: flex-end;
  gap: 0.3rem;
  flex: 1 1 auto;
  min-width: 0;
}

.rh-fixture-sets__score-field {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
}

.rh-fixture-sets__score-label {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.58rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rh-fixture-sets--compact .rh-fixture-sets__score-label {
  font-size: 0.55rem;
}

.rh-fixture-sets__score,
.rh-fixture-sets__tb-input {
  width: 100%;
  min-width: 0;
  min-height: 2rem;
  padding: 0.2rem 0.25rem;
  box-sizing: border-box;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 0.35rem;
}

.rh-fixture-sets__sep {
  flex: 0 0 auto;
  padding-bottom: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
}

.rh-fixture-sets__remove {
  flex: 0 0 auto;
  margin-top: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.rh-fixture-sets__remove:hover {
  background: rgba(255, 255, 255, 0.12);
}

.rh-fixture-sets__tb-wrap {
  margin-top: 0.15rem;
}

.rh-fixture-sets__tb-wrap[hidden] {
  display: none !important;
}

.rh-fixture-sets__tb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  width: 100%;
  padding: 0.35rem 0.5rem;
  border: 1px dashed rgba(188, 239, 134, 0.45);
  border-radius: 0.4rem;
  background: rgba(188, 239, 134, 0.08);
  color: var(--rh-green-300);
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.2;
}

.rh-fixture-sets__tb-btn:hover,
.rh-fixture-sets__tb-btn:focus-visible {
  background: rgba(188, 239, 134, 0.16);
  outline: none;
}

.rh-fixture-sets__tb-btn[aria-expanded="true"] {
  border-style: solid;
  background: rgba(188, 239, 134, 0.14);
}

.rh-fixture-sets__tb-btn .rh-ph {
  font-size: 0.8rem;
}

.rh-fixture-sets__tb-panel {
  margin-top: 0.35rem;
  padding: 0.4rem;
  border-radius: 0.4rem;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rh-fixture-sets__tb-panel[hidden] {
  display: none !important;
}

.rh-fixture-sets__tb-hint {
  margin: 0 0 0.35rem;
  font-size: 0.62rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.45);
}

.rh-fixture-sets__tb-fields {
  display: flex;
  gap: 0.35rem;
}

.rh-fixture-sets__tb-field {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  gap: 0.2rem;
}

.rh-fixture-sets__tb-label {
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rh-fixture-sets__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.rh-fixture-sets__add {
  flex: 0 0 auto;
  padding: 0.2rem 0.5rem;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 0.35rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
}

.rh-fixture-sets__add:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.rh-fixture-sets__hint {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.62rem;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.4);
  text-align: right;
}

.rh-bracket-tree__admin {
  padding: 0.4rem 0.45rem 0.45rem;
}

.rh-bracket-tree__admin-row {
  margin-top: 0.35rem;
}

.rh-bracket-tree__admin-submit.rh-btn {
  width: 100%;
  justify-content: center;
}

.rh-bracket-tree--compact .rh-bracket-tree__admin-submit-text {
  display: inline;
}

.rh-fixture-sets--compact .rh-fixture-sets__players {
  display: none;
}

.rh-super8-rotating-match__form .rh-fixture-sets {
  margin-top: 0;
}

.rh-super8-rotating-match__form .rh-fixture-sets__score-pair {
  gap: 0.4rem;
}

/* W.O. no card da chave */
.rh-bracket-tree .rh-fixture-sets:has(.rh-fixture-sets__walkover:not([hidden])) .rh-fixture-sets__panel {
  display: none !important;
}

.rh-bracket-tree .rh-fixture-sets__walkover {
  gap: 0.35rem;
  margin-bottom: 0;
  z-index: auto;
  position: relative;
}

.rh-bracket-tree .rh-fixture-sets__walkover:not([hidden]) {
  padding-bottom: 0;
  margin-bottom: 0.25rem;
}

.rh-bracket-tree .rh-fixture-sets__walkover:has(.rh-custom-select--open) {
  z-index: 95;
}

.rh-bracket-tree .rh-fixture-sets__walkover-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.2;
}

.rh-bracket-tree .rh-fixture-sets__walkover .rh-custom-select {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-height: 2rem;
  padding: 0.3rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.35rem;
  background: rgba(0, 0, 0, 0.22);
}

.rh-bracket-tree .rh-fixture-sets__walkover .rh-custom-select__trigger {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}

.rh-bracket-tree .rh-fixture-sets__walkover .rh-custom-select__value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rh-bracket-tree .rh-fixture-sets__walkover .rh-custom-select__caret {
  font-size: 0.85rem;
  color: var(--rh-green-300);
}

.rh-bracket-tree .rh-fixture-sets__walkover .rh-custom-select > .rh-custom-select__list {
  left: 0;
  right: 0;
  top: 100%;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  border: 1px solid rgba(188, 239, 134, 0.35);
  border-top: none;
  border-radius: 0 0 0.35rem 0.35rem;
  background: var(--rh-green-700);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  max-height: min(8rem, 40vh);
  z-index: 100;
  isolation: isolate;
  overflow: hidden;
}

.rh-bracket-tree .rh-fixture-sets__walkover .rh-custom-select__options {
  background: var(--rh-green-700);
}

.rh-bracket-tree .rh-fixture-sets__walkover .rh-custom-select__option {
  padding: 0.35rem 0.45rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  background: var(--rh-green-700);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.rh-bracket-tree .rh-fixture-sets__walkover .rh-custom-select__option:hover,
.rh-bracket-tree .rh-fixture-sets__walkover .rh-custom-select__option:focus-visible {
  background: var(--rh-green-800);
}

.rh-bracket-tree .rh-fixture-sets__walkover .rh-custom-select__option.is-selected {
  background: var(--rh-green-800);
}

.rh-bracket-tree .rh-fixture-sets__walkover .rh-custom-select--open {
  z-index: 90;
  border-color: rgba(188, 239, 134, 0.35);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: var(--rh-green-700);
}

@media (max-width: 767px) {
  .rh-bracket-tree:not(.rh-bracket-tree--compact) .rh-bracket-tree__round:has(.rh-bracket-tree__score-entry[open]),
  .rh-bracket-tree:not(.rh-bracket-tree--compact) .rh-bracket-tree__round:has(.rh-bracket-tree__correct[open]) {
    min-width: min(100%, 18.5rem);
    width: min(100%, 18.5rem);
  }

  .rh-fixture-sets__score,
  .rh-fixture-sets__tb-input {
    min-height: 2.35rem;
    font-size: 1rem;
  }

  .rh-fixture-sets__remove {
    width: 2rem;
    height: 2rem;
  }

  .rh-bracket-tree__admin-submit.rh-btn {
    min-height: 2.35rem;
  }
}


.rh-bracket-tree--compact .rh-bracket-tree__columns {
  width: 100%;
  min-width: 100%;
}

.rh-bracket-tree--compact .rh-bracket-tree__pair {
  width: 100%;
  padding-right: 0;
}

.rh-bracket-tree--draw .rh-bracket-tree__scroll {
  padding-top: 0.5rem;
  padding-bottom: 0.65rem;
}

@media (max-width: 700px) {
  .rh-bracket-page .rh-bracket-tree {
    --rh-bracket-bleed: 2.5rem;
  }
}

@media (max-width: 640px) {
  .rh-bracket-tree--draw {
    --bracket-gap: 1rem;
  }

  .rh-bracket-tree__track {
    scroll-snap-type: x mandatory;
  }
}

@media (min-width: 900px) {
  .rh-bracket-tree:not(.rh-bracket-tree--compact) .rh-bracket-tree__round {
    min-width: 14.5rem;
    width: 14.5rem;
  }
}

.rh-league-bracket-round {
  margin-bottom: 1.75rem;
}

.rh-league-bracket-round h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.rh-league-bracket-matches {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.rh-league-bracket-match {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: var(--rh-radius-md, 12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

.rh-league-bracket-match__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
}

.rh-league-bracket-match__players {
  margin: 0;
  flex: 1 1 10rem;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.35;
}

.rh-league-bracket-match__vs {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

.rh-league-bracket-match__winner {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.rh-league-bracket-match__winner strong {
  color: var(--rh-yellow-200, #e8f962);
}

.rh-league-winner-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  margin: 0;
}

.rh-league-bracket-match__field {
  margin: 0;
}

.rh-league-bracket-match__field label {
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

.rh-league-bracket-match__field.rh-field--select-open {
  z-index: 50;
}

.rh-league-winner-form__submit {
  width: 100%;
  margin: 0;
}

.rh-league-fixture-callout {
  margin-top: 1rem;
}

.rh-league-promo {
  display: block;
  margin: 1rem 0 2rem;
  padding: 1.125rem 1.15rem 1.25rem;
}

.rh-league-promo__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.rh-league-promo .rh-schedule-callout__icon {
  margin: 0;
  flex-shrink: 0;
  font-size: 1.375rem;
  line-height: 1;
}

.rh-league-promo .rh-schedule-callout__title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.rh-league-promo .rh-schedule-callout__text {
  margin: 0 0 1.125rem;
}

.rh-league-promo .rh-league-tournament-list {
  margin: 0 0 1rem;
  gap: 0.65rem;
}

.rh-league-promo__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.rh-league-promo__actions--solo .rh-btn {
  flex: 1 1 100%;
  justify-content: center;
  text-align: center;
}

.rh-league-promo__customize {
  margin-left: auto;
  flex-shrink: 0;
  width: auto;
}

.rh-league-promo + .rh-page-toolbar {
  margin-top: 0.25rem;
}

.rh-league-promo + .rh-court-hub {
  margin-top: var(--rh-space-4);
}

.rh-league-tournament-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
  padding: 1.125rem 1.25rem;
  border-radius: var(--rh-radius-md, 12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

.rh-league-tournament-item__info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  flex: 1 1 10rem;
}

.rh-league-tournament-item__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
}

.rh-league-tournament-item__chips .rh-chip {
  align-self: auto;
  margin-top: 0;
}

.rh-league-tournament-item__info strong {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}

.rh-league-tournament-item__category {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}

.rh-league-tournament-item .rh-chip {
  align-self: flex-start;
  margin-top: 0.1rem;
  padding: 0.35rem 0.75rem;
  line-height: 1.35;
  max-width: 100%;
  white-space: normal;
  text-align: left;
}

.rh-league-tournament-item__pending {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.rh-league-my-registrations {
  gap: 1rem;
}

.rh-league-my-registrations .rh-league-tournament-item__info .rh-chip {
  align-self: flex-start;
  margin-top: 0.1rem;
}

.rh-league-tournament-item .rh-btn {
  flex-shrink: 0;
}

.rh-league-tournament-item.rh-league-tournament-item--promo,
.rh-league-tournament-item.rh-league-tournament-item--registration {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem 1rem;
  flex-wrap: nowrap;
  padding: 0.85rem 1rem;
}

.rh-league-tournament-item--promo {
  padding: 0;
  overflow: hidden;
}

.rh-league-tournament-item__promo-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 0.75rem;
  row-gap: 0.55rem;
  width: 100%;
  min-width: 0;
  padding: 0.65rem 0.4rem 0.65rem 0.85rem;
  color: inherit;
  text-decoration: none;
  box-sizing: border-box;
  border-radius: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.rh-league-tournament-item__promo-link:hover,
.rh-league-tournament-item__promo-link:focus-visible {
  background: transparent;
  outline: none;
  text-decoration: none;
  color: inherit;
}

.rh-league-tournament-item__promo-link:hover .rh-league-tournament-item__info strong,
.rh-league-tournament-item__promo-link:focus-visible .rh-league-tournament-item__info strong {
  color: var(--rh-yellow-200, #ffed3e);
}

.rh-league-tournament-item__promo-link:hover .rh-league-tournament-item__cta,
.rh-league-tournament-item__promo-link:focus-visible .rh-league-tournament-item__cta {
  box-shadow: 0 0 0 2px rgba(255, 237, 62, 0.35);
}

.rh-league-tournament-item--promo .rh-league-tournament-item__info,
.rh-league-tournament-item--registration .rh-league-tournament-item__info {
  flex: none;
  min-width: 0;
}

.rh-league-tournament-item--promo .rh-league-tournament-item__info strong {
  text-decoration: none;
  color: #fff;
  transition: color 0.15s ease;
}

.rh-league-tournament-item--promo .rh-chip--accent,
.rh-league-tournament-item--promo .rh-chip--promo-status.rh-chip--accent {
  background: rgba(255, 237, 62, 0.18);
  color: var(--rh-yellow-200, #ffed3e);
  border: 1px solid rgba(255, 237, 62, 0.28);
}

.rh-league-tournament-item--promo .rh-chip--audience {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
}

.rh-league-tournament-item--promo .rh-chip--audience-open {
  background: rgba(188, 239, 134, 0.16);
  color: var(--rh-green-300, #bcef86);
}

.rh-league-tournament-item--promo .rh-league-tournament-item__cta,
.rh-league-tournament-item--registration .rh-league-tournament-item__cta.rh-btn {
  width: auto;
  align-self: center;
  white-space: nowrap;
  flex-shrink: 0;
  pointer-events: none;
  transition: box-shadow 0.15s ease;
}

.rh-league-tournament-item--registration .rh-league-tournament-item__pending {
  justify-self: end;
  text-align: right;
}

.rh-league-tournament-item--registration .rh-league-tournament-item__actions.rh-btn-row {
  justify-self: end;
  width: auto;
  max-width: 100%;
}

.rh-bracket-tree__schedule {
  margin-top: 0.5rem;
  width: 100%;
}

.rh-super8-board {
  display: grid;
  gap: 1rem;
  margin-top: 0.75rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.rh-super8-only-mobile {
  display: none;
}

.rh-super8-only-desktop {
  display: inline;
}

.rh-super8-layout--mobile {
  display: none;
}

.rh-super8-layout--desktop {
  display: grid;
  gap: 1.5rem;
}

.rh-super8-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rh-super8-steps__item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  position: relative;
}

.rh-super8-steps__item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 0.45rem;
  left: calc(50% + 0.55rem);
  right: calc(-50% + 0.55rem);
  height: 2px;
  background: rgba(255, 255, 255, 0.14);
  z-index: 0;
}

.rh-super8-steps__item--done:not(:last-child)::after {
  background: rgba(181, 239, 118, 0.45);
}

.rh-super8-steps__dot {
  position: relative;
  z-index: 1;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.28);
  background: var(--rh-green-800, #1a3d2e);
}

.rh-super8-steps__item--current .rh-super8-steps__dot {
  border-color: var(--rh-green-300);
  background: rgba(181, 239, 118, 0.35);
  box-shadow: 0 0 0 3px rgba(181, 239, 118, 0.15);
}

.rh-super8-steps__item--done .rh-super8-steps__dot {
  border-color: var(--rh-green-300);
  background: var(--rh-green-300);
}

.rh-super8-steps__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.rh-super8-steps__item--current .rh-super8-steps__label,
.rh-super8-steps__item--done .rh-super8-steps__label {
  color: var(--rh-green-300);
}

.rh-super8-format {
  border-radius: var(--rh-radius-md, 12px);
  border: 1px solid rgba(181, 239, 118, 0.22);
  background: rgba(181, 239, 118, 0.06);
}

.rh-super8-format__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rh-green-300);
  cursor: pointer;
  list-style: none;
}

.rh-super8-format__chevron {
  flex-shrink: 0;
  font-size: 0.875rem;
  color: var(--rh-green-300);
  transition: transform 0.2s ease;
}

.rh-super8-format[open] .rh-super8-format__chevron {
  transform: rotate(180deg);
}

.rh-super8-format__summary::-webkit-details-marker {
  display: none;
}

.rh-super8-format__body {
  padding: 0 0.9rem 0.85rem;
}

.rh-super8-format__steps {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.rh-super8-format__legend-title {
  margin: 0.75rem 0 0.4rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.rh-super8-format__legend {
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.rh-super8-format__legend > div {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: baseline;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.rh-super8-format__legend dt {
  margin: 0;
  font-weight: 700;
  color: var(--rh-green-300);
}

.rh-super8-format__legend dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.rh-super8-phase {
  display: grid;
  gap: 1rem;
}

.rh-super8-phase__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
}

.rh-super8-phase__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(181, 239, 118, 0.16);
  border: 1px solid rgba(181, 239, 118, 0.35);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rh-green-300);
}

.rh-super8-phase__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.rh-super8-section__lede {
  margin: -0.35rem 0 0.85rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.rh-super8-section {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--rh-radius-md, 12px);
  background: rgba(0, 0, 0, 0.16);
}

.rh-super8-section--group {
  min-width: 0;
}

.rh-super8-section .rh-profile-panel__subtitle {
  margin: 0 0 0.85rem;
}

.rh-super8-group__title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.rh-super8-group__fixtures-title {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rh-green-300);
}

.rh-super8-round {
  margin-top: 1rem;
}

.rh-super8-round:first-of-type {
  margin-top: 0;
}

.rh-super8-round__title {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--rh-green-300);
}

.rh-super8-subtitle {
  margin: 1rem 0 0.5rem;
  font-size: 0.95rem;
  color: var(--rh-green-300);
}

.rh-super8-standings {
  margin-bottom: 1rem;
}

.rh-super8-standings__note {
  margin: 0.55rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.68);
}

.rh-super8-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 0.65rem;
  font-size: 0.875rem;
  background: rgba(0, 0, 0, 0.14);
  table-layout: fixed;
}

.rh-super8-table th,
.rh-super8-table td {
  padding: 0.55rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: middle;
}

.rh-super8-table th:not(:first-child),
.rh-super8-table td:not(:first-child) {
  text-align: center;
  width: 2.5rem;
}

.rh-super8-table td:first-child,
.rh-super8-table th:first-child {
  width: auto;
  white-space: normal;
}

.rh-super8-table__name {
  display: inline-block;
  max-width: calc(100% - 3.5rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.rh-super8-table th {
  color: var(--rh-green-300);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rh-super8-table__row--qualified {
  background: rgba(181, 239, 118, 0.07);
}

.rh-super8-table__row--leader {
  background: rgba(181, 239, 118, 0.12);
}

.rh-super8-table__place {
  display: inline-block;
  min-width: 1.75rem;
  margin-right: 0.25rem;
  font-weight: 700;
  color: var(--rh-green-300);
}

.rh-super8-table__tag {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: rgba(181, 239, 118, 0.14);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--rh-green-300);
  vertical-align: middle;
}

.rh-super8-fixtures {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.rh-super8-fixture {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 0;
}

.rh-super8-fixture--played {
  border-color: rgba(181, 239, 118, 0.22);
}

.rh-super8-fixture--pending {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.12);
}

.rh-super8-fixture__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.65rem;
}

.rh-super8-fixture__slot {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rh-green-300);
  letter-spacing: 0.02em;
}

.rh-super8-fixture__status {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.rh-super8-fixture--played .rh-super8-fixture__status {
  color: var(--rh-green-300);
}

.rh-super8-fixture__wait {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.65);
}

.rh-super8-fixture__players {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
}

.rh-super8-fixture__player {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.rh-super8-fixture__player--away {
  justify-content: flex-end;
  text-align: right;
}

.rh-super8-fixture__player--winner .rh-super8-fixture__name,
.rh-super8-fixture__player--winner .rh-super8-fixture__score {
  color: var(--rh-green-300);
}

.rh-super8-fixture__name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.rh-super8-fixture__score {
  flex: 0 0 auto;
  min-width: 1.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #fff;
  text-align: center;
}

.rh-super8-fixture__vs {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
}

.rh-super8-fixture__form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.5rem 0.65rem;
  padding-top: 0.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rh-super8-fixture__form-label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.rh-super8-fixture__form-label input {
  width: 3.75rem;
  min-height: 2.35rem;
  padding: 0.35rem;
  border-radius: 0.55rem;
  text-align: center;
}

.rh-super8-fixture__form-sep {
  align-self: center;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.45);
}

.rh-super8-fixture__form .rh-btn {
  margin-left: auto;
}

.rh-super8-fixture__actions {
  padding-top: 0.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rh-super8-knockout {
  display: grid;
  gap: 0.85rem;
}

.rh-super8-knockout__semis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.rh-super8-knockout__slot,
.rh-super8-knockout__final {
  min-width: 0;
}

.rh-super8-knockout__label {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rh-green-300);
}

.rh-super8-knockout__label--final {
  font-size: 0.9375rem;
  text-align: center;
}

.rh-super8-knockout__arrow {
  display: flex;
  justify-content: center;
  gap: 35%;
  font-size: 1.25rem;
  line-height: 1;
  color: rgba(181, 239, 118, 0.55);
}

.rh-super8-knockout__final {
  max-width: 34rem;
  margin: 0 auto;
  width: 100%;
}

.rh-super8-tabs__bar {
  display: flex;
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0.5rem;
  z-index: 5;
}

.rh-super8-tabs__btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 2.5rem;
  padding: 0.35rem 0.5rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rh-super8-tabs__btn--active {
  background: rgba(181, 239, 118, 0.22);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(181, 239, 118, 0.35);
}

.rh-super8-panel {
  display: grid;
  gap: 1rem;
  padding-top: 0.85rem;
}

.rh-super8-panel[hidden] {
  display: none !important;
}

.rh-super8-mobile-hint {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
}

.rh-super8-mobile-group__title {
  margin: 0 0 0.55rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
}

.rh-super8-rank {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.rh-super8-rank__item {
  padding: 0.7rem 0.75rem;
  border-radius: 0.65rem;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rh-super8-rank__item--qualified {
  border-color: rgba(181, 239, 118, 0.28);
  background: rgba(181, 239, 118, 0.07);
}

.rh-super8-rank__item--first {
  border-color: rgba(181, 239, 118, 0.4);
}

.rh-super8-rank__head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.rh-super8-rank__place {
  flex: 0 0 auto;
  font-weight: 700;
  color: var(--rh-green-300);
}

.rh-super8-rank__name {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.rh-super8-rank__badge {
  flex: 0 0 auto;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: rgba(181, 239, 118, 0.16);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rh-green-300);
}

.rh-super8-rank__stats {
  display: flex;
  gap: 0.85rem;
  margin-top: 0.35rem;
  padding-left: 1.75rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72);
}

.rh-super8-rank__stats strong {
  color: #fff;
}

.rh-super8-group-tabs__bar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.rh-super8-group-tabs__btn {
  flex: 1 1 0;
  min-height: 2.35rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.14);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.rh-super8-group-tabs__btn--active {
  border-color: rgba(181, 239, 118, 0.4);
  background: rgba(181, 239, 118, 0.14);
  color: #fff;
}

/* Super 8 — duplas rotativas */
.rh-super8-rotating {
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.rh-super8-rotating__header {
  display: grid;
  gap: 0.35rem;
}

.rh-super8-rotating__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.rh-super8-rotating__meta,
.rh-super8-rotating__tiebreak {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.rh-super8-rotating__tiebreak strong {
  color: var(--rh-green-300);
  font-weight: 700;
}

.rh-super8-rotating-champion {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.45rem 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, rgba(181, 239, 118, 0.18), rgba(181, 239, 118, 0.06));
  border: 1px solid rgba(181, 239, 118, 0.35);
  color: #fff;
  font-size: 0.9375rem;
  width: 100%;
  box-sizing: border-box;
}

.rh-super8-rotating-champion span {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.35;
}

.rh-super8-rotating-champion strong {
  word-break: normal;
  overflow-wrap: break-word;
}

.rh-super8-rotating-champion .rh-ph {
  color: var(--rh-green-300);
  font-size: 1.125rem;
}

.rh-super8-rotating-champion small {
  width: 100%;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
}

.rh-super8-rotating-leader {
  padding: 0.55rem 0.75rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
}

.rh-super8-format--inline {
  margin: 0;
}

.rh-super8-layout--rotating {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.rh-super8-layout--rotating .rh-super8-tabs__sticky {
  position: sticky;
  top: 0;
  z-index: 20;
  margin-left: calc(-1 * var(--rh-panel-padding-x));
  margin-right: calc(-1 * var(--rh-panel-padding-x));
  width: calc(100% + (2 * var(--rh-panel-padding-x)));
  padding: 0.55rem var(--rh-panel-padding-x);
  background: var(--rh-green-800);
  border-bottom: 1px solid var(--rh-green-600);
  box-sizing: border-box;
}

.rh-super8-layout--rotating .rh-super8-tabs__bar {
  position: static;
  top: auto;
  z-index: auto;
  background: var(--rh-green-700);
  border: 1px solid var(--rh-green-600);
}

.rh-super8-layout--rotating .rh-super8-tabs__btn--active {
  background: var(--rh-green-600);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--rh-green-300);
}

.rh-super8-rotating-rank {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.rh-super8-table--rotating .rh-super8-table__col-gp {
  color: var(--rh-green-300);
  font-weight: 700;
}

.rh-super8-table__row--champion {
  background: rgba(181, 239, 118, 0.1);
}

.rh-super8-rotating-round {
  margin-bottom: 1.15rem;
}

.rh-super8-rotating-round__title {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
}

.rh-super8-rotating-matches {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
}

.rh-super8-rotating-match {
  padding: 0.75rem;
  border-radius: 0.65rem;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.rh-super8-rotating-match--played {
  border-color: rgba(255, 255, 255, 0.12);
}

.rh-super8-rotating-match__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.rh-super8-rotating-match__label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.rh-super8-rotating-match__status {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.rh-super8-rotating-match__teams {
  display: grid;
  gap: 0.45rem;
}

.rh-super8-rotating-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
}

.rh-super8-rotating-team--winner {
  border-color: rgba(181, 239, 118, 0.35);
  background: rgba(181, 239, 118, 0.08);
}

.rh-super8-rotating-team__info {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  flex: 1 1 auto;
}

.rh-super8-rotating-team__avatars {
  flex-shrink: 0;
}

.rh-super8-rotating-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
}

.rh-super8-rotating-team__names {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
}

.rh-super8-rotating-team__names span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

.rh-super8-rotating-team__score-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.rh-super8-rotating-team__check {
  color: var(--rh-green-300);
  font-size: 0.875rem;
}

.rh-super8-rotating-team__score {
  min-width: 1.75rem;
  text-align: right;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

.rh-super8-rotating-team--winner .rh-super8-rotating-team__score {
  color: var(--rh-green-300);
}

.rh-super8-rotating-match__form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.5rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rh-super8-rotating-match__form > input[type="hidden"] {
  display: none;
}

.rh-super8-rotating-match__form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1 1 0;
  min-width: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
}

.rh-super8-rotating-match__form-field input {
  width: 100%;
  min-height: 2.25rem;
  padding: 0.35rem 0.5rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
}

.rh-super8-rotating-match__actions {
  margin-top: 0.55rem;
}

@media (min-width: 769px) {
  .rh-super8-layout--rotating {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 1.25rem 1.5rem;
    align-items: start;
    width: 100%;
  }

  .rh-super8-layout--rotating .rh-super8-tabs__sticky {
    display: none;
  }

  .rh-super8-layout--rotating .rh-super8-panel {
    padding-top: 0;
  }

  .rh-super8-layout--rotating .rh-super8-panel[data-super8-panel="standings"] {
    position: sticky;
    top: 0.5rem;
  }
}

/* Super 8 — grupos + mata-mata */
.rh-super8-groups {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.rh-super8-groups__top {
  display: grid;
  gap: 0.75rem;
  width: 100%;
}

.rh-super8-layout--groups {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.rh-super8-layout--groups .rh-super8-tabs__sticky {
  position: sticky;
  top: 0;
  z-index: 20;
  margin-left: calc(-1 * var(--rh-panel-padding-x));
  margin-right: calc(-1 * var(--rh-panel-padding-x));
  width: calc(100% + (2 * var(--rh-panel-padding-x)));
  margin-bottom: 0.85rem;
  padding: 0.55rem var(--rh-panel-padding-x);
  background: var(--rh-green-800);
  border-bottom: 1px solid var(--rh-green-600);
  box-sizing: border-box;
}

.rh-super8-layout--groups .rh-super8-tabs__btn {
  font-size: 0.6875rem;
  padding: 0.35rem 0.25rem;
  min-height: 2.35rem;
}

.rh-super8-layout--groups .rh-super8-tabs__bar {
  position: static;
  top: auto;
  z-index: auto;
  background: var(--rh-green-700);
  border: 1px solid var(--rh-green-600);
}

.rh-super8-layout--groups .rh-super8-tabs__btn--active {
  background: var(--rh-green-600);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--rh-green-300);
}

.rh-super8-table--groups .rh-super8-table__col-v {
  color: var(--rh-green-300);
  font-weight: 700;
}

.rh-super8-groups-rank__note {
  margin: 0.55rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
}

.rh-super8-groups-section {
  margin-bottom: 1rem;
}

.rh-super8-groups-section__title {
  margin: 0 0 0.55rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
}

.rh-super8-groups-section__fixtures-title {
  margin: 1rem 0 0.55rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.rh-super8-group-tabs__sticky {
  position: sticky;
  top: 3.35rem;
  z-index: 15;
  margin-left: calc(-1 * var(--rh-panel-padding-x));
  margin-right: calc(-1 * var(--rh-panel-padding-x));
  width: calc(100% + (2 * var(--rh-panel-padding-x)));
  margin-bottom: 0.75rem;
  padding: 0 var(--rh-panel-padding-x) 0.45rem;
  background: var(--rh-green-800);
  box-sizing: border-box;
}

.rh-super8-group-tabs__bar {
  background: var(--rh-green-700);
  border: 1px solid var(--rh-green-600);
  border-radius: 999px;
  padding: 0.25rem;
}

.rh-super8-group-tabs {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.rh-super8-group-tabs__panel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.rh-super8-group-tabs__panel[hidden] {
  display: none !important;
}

.rh-super8-rotating-match--pending {
  opacity: 0.88;
}

.rh-super8-rotating-match__wait,
.rh-super8-rotating-match__hint {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
}

.rh-super8-rotating-match__hint {
  margin-top: 0.45rem;
}

.rh-super8-groups-phase {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.rh-super8-groups-phase__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.85rem;
}

.rh-super8-groups-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  width: 100%;
}

.rh-super8-groups-section--standings {
  padding: 0.85rem;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.rh-super8-groups-fixtures {
  width: 100%;
  max-width: 100%;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
}

.rh-super8-groups-fixtures__title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.rh-super8-groups-fixtures__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  width: 100%;
}

.rh-super8-groups-fixtures__group {
  width: 100%;
  min-width: 0;
}

.rh-super8-groups-phase--knockout {
  width: 100%;
  max-width: 100%;
}

.rh-super8-rotating-matches--full {
  width: 100%;
  max-width: 100%;
}

.rh-super8-layout--groups.rh-super8-layout--mobile {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.rh-super8-layout--groups .rh-super8-panel--full {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.rh-super8-groups-section--desktop {
  padding: 0.85rem;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (min-width: 769px) {
  .rh-super8-layout--groups.rh-super8-layout--desktop {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .rh-super8-groups-grid--standings {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rh-super8-groups-fixtures__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Grupos: abas mobile até viewport larga */
@media (max-width: 1023px) {
  .rh-super8-layout--groups.rh-super8-layout--mobile {
    display: flex;
    flex-direction: column;
  }

  .rh-super8-layout--groups.rh-super8-layout--desktop {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .rh-super8-layout--groups.rh-super8-layout--mobile {
    display: none !important;
  }

  .rh-super8-layout--groups.rh-super8-layout--desktop {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .rh-super8-only-mobile {
    display: inline;
  }

  .rh-super8-only-desktop {
    display: none;
  }

  .rh-super8-layout--mobile {
    display: block;
  }

  .rh-super8-layout--desktop {
    display: none;
  }

  .rh-super8-table__col-extra {
    display: none;
  }

  .rh-super8-standings--table {
    display: none;
  }

  .rh-super8-fixture__players {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }

  .rh-super8-fixture__player,
  .rh-super8-fixture__player--away {
    justify-content: space-between;
    padding: 0.55rem 0.65rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    text-align: left;
  }

  .rh-super8-fixture__vs {
    text-align: center;
    font-size: 0.75rem;
    line-height: 1;
  }

  .rh-super8-fixture__form {
    flex-direction: column;
    align-items: stretch;
  }

  .rh-super8-fixture__form-label {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .rh-super8-fixture__form-label span {
    flex: 1 1 auto;
    min-width: 0;
    text-transform: none;
    font-size: 0.8125rem;
    letter-spacing: normal;
    color: rgba(255, 255, 255, 0.88);
  }

  .rh-super8-fixture__form-sep {
    display: none;
  }

  .rh-super8-fixture__form .rh-btn {
    width: 100%;
    margin-left: 0;
  }

  .rh-super8-knockout__semis {
    grid-template-columns: 1fr;
  }

  .rh-super8-knockout__arrow {
    display: none;
  }

  .rh-super8-rotating-match__form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    align-items: end;
  }

  .rh-super8-rotating-match__form .rh-btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .rh-league-tournament-item.rh-league-tournament-item--promo,
  .rh-league-tournament-item.rh-league-tournament-item--registration {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 1rem;
    padding: 1.125rem 1.15rem;
  }

  .rh-league-tournament-item--promo {
    padding: 0;
  }

  .rh-league-tournament-item--promo .rh-league-tournament-item__promo-link {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 0.75rem 0.75rem;
  }

  .rh-league-tournament-item--promo .rh-league-tournament-item__cta,
  .rh-league-tournament-item--registration .rh-league-tournament-item__cta.rh-btn {
    width: 100%;
    justify-self: stretch;
    white-space: normal;
    text-align: center;
  }

  .rh-league-tournament-item--registration .rh-league-tournament-item__pending {
    justify-self: start;
    text-align: left;
  }

  .rh-league-section__head {
    flex-direction: column;
    align-items: stretch;
  }

  .rh-league-section__head > .rh-btn {
    width: 100%;
  }
}

.rh-league-category-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 1200px) {
  .rh-league-category-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    align-items: start;
  }

  .rh-league-category-list > .rh-league-category-card {
    min-width: 0;
  }
}

.rh-league-category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  padding: 0.9rem 1rem 0.95rem;
  border-radius: var(--rh-radius-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.rh-league-category-card__delete {
  margin: 0 0 0 auto;
  flex: 0 0 auto;
}

.rh-league-category-card__delete-btn {
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.rh-league-category-card__delete-btn:hover,
.rh-league-category-card__delete-btn:focus-visible {
  background: var(--rh-red-800);
  color: #fff;
}

.rh-league-category-card__delete-btn .rh-ph {
  font-size: 1.05rem;
}

.rh-league-category-card__body {
  min-width: 0;
}

.rh-league-category-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
}

.rh-league-category-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
}

.rh-league-category-card__head .rh-chip {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
}

.rh-league-category-card__meta {
  margin: 0.4rem 0 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.35;
}

.rh-league-category-card__deadline {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.2rem 0 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.35;
}

.rh-league-category-card__participants {
  margin: 0.55rem 0 0;
  max-width: 100%;
}

.rh-league-category-card__participants > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 100%;
  min-height: 2.25rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
  user-select: none;
  box-sizing: border-box;
}

.rh-league-category-card__participants > summary::-webkit-details-marker {
  display: none;
}

.rh-league-category-card__participants > summary:hover,
.rh-league-category-card__participants[open] > summary {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
  outline: none;
}

.rh-league-category-card__participants > summary .rh-ph:first-child {
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--rh-yellow-200, #ffed3e);
}

.rh-league-category-card__participants-label {
  white-space: nowrap;
}

.rh-league-category-card__participants-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(255, 237, 62, 0.18);
  color: var(--rh-yellow-200, #ffed3e);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.rh-league-category-card__participants-chevron {
  flex-shrink: 0;
  margin-left: 0.1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  transition: transform 0.15s ease;
}

.rh-league-category-card__participants[open] .rh-league-category-card__participants-chevron {
  transform: rotate(180deg);
}

.rh-league-category-card__participants-panel {
  margin-top: 0.5rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.rh-league-category-card__participants-empty {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

.rh-league-category-card__participants-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rh-league-category-card__participants-list li {
  margin: 0;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rh-league-category-card__participants-list li:last-child {
  border-bottom: none;
  padding-bottom: 0.15rem;
}

.rh-league-category-card__participants-list li:first-child {
  padding-top: 0.15rem;
}

.rh-league-category-card__participants-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.35;
  word-break: break-word;
}

.rh-league-category-card__deadline .rh-ph {
  flex-shrink: 0;
  font-size: 0.9rem;
  color: var(--rh-yellow-200, #ffed3e);
}

.rh-league-category-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.5rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rh-league-category-card__actions.rh-league-category-card__actions--admin {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.55rem;
  width: 100%;
  min-width: 0;
}

.rh-league-category-card__form--primary {
  display: block;
  width: 100%;
  max-width: 100%;
  flex: 0 0 auto;
  min-width: 0;
  margin: 0;
}

.rh-league-category-card__action--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  max-width: 100%;
  min-height: 2.625rem;
  font-weight: 700;
  box-sizing: border-box;
}

.rh-league-category-card__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
}

.rh-league-category-card__toolbar > .rh-btn {
  width: auto;
  flex: 0 1 auto;
  white-space: nowrap;
}

.rh-league-category-card__tool-form {
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}

.rh-league-category-card__tool-form .rh-btn {
  width: auto;
  white-space: nowrap;
}

.rh-league-category-card__seeds > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  max-width: 100%;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: none;
  background: #fff;
  color: var(--rh-green-800);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  list-style: none;
  user-select: none;
}

.rh-league-category-card__seeds > summary:hover,
.rh-league-category-card__seeds[open] > summary {
  filter: brightness(0.97);
  outline: none;
}

.rh-league-category-card__actions--admin .rh-ph--btn-icon {
  flex: 0 0 auto;
  font-size: 1.05rem;
}

.rh-league-category-card__status {
  margin: 0;
  flex: 1 1 100%;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}

.rh-league-category-card__form {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 0.65rem;
  flex: 1 1 100%;
  min-width: 100%;
  margin: 0;
}

.rh-league-category-card__actions > .rh-btn {
  flex: 1 1 calc(33.333% - 0.34rem);
  min-width: min(100%, 7.25rem);
  width: auto;
  min-height: 2.5rem;
  padding: 0.4rem 0.65rem;
  font-size: 0.875rem;
  justify-content: center;
}

.rh-league-category-card__form .rh-btn {
  flex: 0 0 clamp(10rem, 38%, 14rem);
  width: auto;
  min-height: 3rem;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  justify-content: center;
}

.rh-league-category-card__form:not(:has(.rh-league-category-card__field)) .rh-btn {
  flex-basis: 100%;
  width: 100%;
}

.rh-league-category-card__field {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.rh-league-category-card__field label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.rh-league-category-card__field select {
  width: 100%;
}

.rh-league-category-card__form:has(.rh-league-category-card__field--partner) {
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}

.rh-league-category-card__form:has(.rh-league-category-card__field--partner) .rh-btn {
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  min-height: 2.75rem;
}

.rh-league-category-card__field--partner {
  flex: 1 1 100%;
  width: 100%;
  min-width: 0;
}

.rh-league-category-card__field--partner .rh-search-select {
  width: 100%;
}

.rh-league-category-card__actions:has(.rh-search-select--league-partner) {
  overflow: visible;
}

/* SearchSelect embutido em painéis / cards (alias --league-partner) */
.rh-search-select--embedded,
.rh-search-select--league-partner {
  position: relative;
  z-index: 1;
  gap: 0.5rem;
}

.rh-search-select--embedded:has([data-rh-opponent-dropdown]:not([hidden])),
.rh-search-select--league-partner:has([data-rh-opponent-dropdown]:not([hidden])) {
  z-index: 30;
}

.rh-search-select--embedded .rh-search-select__box,
.rh-search-select--league-partner .rh-search-select__box {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  gap: 0.45rem;
}

.rh-search-select--embedded .rh-search-select__box--dropdown-open,
.rh-search-select--league-partner .rh-search-select__box--dropdown-open {
  border-radius: 0;
}

.rh-search-select--embedded .rh-search-select__label,
.rh-search-select--league-partner .rh-search-select__label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.rh-search-select--embedded .rh-search-select__desc,
.rh-search-select--league-partner .rh-search-select__desc {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.65);
}

.rh-search-select--embedded .rh-search-select__input-row,
.rh-search-select--league-partner .rh-search-select__input-row {
  min-height: 2.75rem;
  padding: 0.45rem 0.65rem;
}

.rh-search-select--embedded .rh-search-select__input,
.rh-search-select--league-partner .rh-search-select__input {
  font-size: 0.9375rem;
}

.rh-search-select--embedded .rh-search-select__dropdown,
.rh-search-select--league-partner .rh-search-select__dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.2rem);
  width: auto;
  margin: 0;
  border: 1px solid var(--rh-green-300);
  border-radius: 0.5rem;
  max-height: min(12rem, 42vh);
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  z-index: 40;
}

.rh-search-select--embedded .rh-search-select__option,
.rh-search-select--league-partner .rh-search-select__option {
  padding: 0.55rem 0.65rem;
}

.rh-search-select--embedded .rh-search-select__option-left,
.rh-search-select--league-partner .rh-search-select__option-left {
  gap: 0.65rem;
}

.rh-search-select--embedded .rh-search-select__avatar,
.rh-search-select--league-partner .rh-search-select__avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-width: 1px;
}

.rh-search-select--embedded .rh-search-select__option-name,
.rh-search-select--league-partner .rh-search-select__option-name {
  font-size: 0.875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rh-search-select--embedded .rh-search-select__option-icon,
.rh-search-select--league-partner .rh-search-select__option-icon {
  width: 1.65rem;
  height: 1.65rem;
  font-size: 0.95rem;
}

.rh-search-select--embedded .rh-search-select__selected:not(:empty),
.rh-search-select--league-partner .rh-search-select__selected:not(:empty) {
  margin-top: 0;
}

.rh-search-select--embedded .rh-search-select__pill,
.rh-search-select--league-partner .rh-search-select__pill {
  width: 100%;
  box-sizing: border-box;
  padding: 0.45rem 0.55rem;
}

.rh-search-select--embedded .rh-search-select__pill-left,
.rh-search-select--league-partner .rh-search-select__pill-left {
  gap: 0.55rem;
  min-width: 0;
}

.rh-search-select--embedded .rh-search-select__pill .rh-search-select__avatar,
.rh-search-select--league-partner .rh-search-select__pill .rh-search-select__avatar {
  width: 2rem;
  height: 2rem;
}

.rh-search-select--embedded .rh-search-select__pill-name,
.rh-search-select--league-partner .rh-search-select__pill-name {
  font-size: 0.875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rh-search-select--embedded .rh-search-select__warn,
.rh-search-select--league-partner .rh-search-select__warn {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.35;
}

.rh-search-select--embedded .rh-search-select__warn[hidden],
.rh-search-select--league-partner .rh-search-select__warn[hidden] {
  display: none;
}

@media (max-width: 520px) {
  .rh-league-category-card__form,
  .rh-league-category-card__actions > .rh-btn {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .rh-league-category-card__form {
    flex-direction: column;
    align-items: stretch;
  }

  .rh-league-category-card__form .rh-btn {
    width: 100%;
    flex-basis: auto;
  }
}

.rh-tournament-show__header {
  margin-bottom: var(--rh-panel-content-gap);
}

.rh-tournament-show__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin-top: var(--rh-space-3);
}

.rh-tournament-show__lede {
  margin-top: var(--rh-panel-lede-gap);
}

.rh-tournament-show__lock-meta {
  margin: var(--rh-panel-lede-gap) 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.45;
}

.rh-tournament-show__actions {
  margin-bottom: var(--rh-panel-content-gap);
}

.rh-tournament-show__action-form {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  display: flex;
}

.rh-tournament-show__action-form .rh-option-tile {
  width: 100%;
}

button.rh-option-tile {
  border: none;
  font: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.rh-tournament-show__actions-danger {
  margin: 0 0 var(--rh-panel-content-gap);
  padding-bottom: var(--rh-space-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rh-tournament-show__actions-danger .rh-btn {
  width: 100%;
}

.rh-tournament-show__manage-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 var(--rh-panel-content-gap);
  padding-bottom: var(--rh-space-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rh-tournament-show__manage-row--single {
  grid-template-columns: minmax(0, 1fr);
}

.rh-tournament-show__manage-form {
  margin: 0;
  display: flex;
  min-width: 0;
}

.rh-tournament-show__manage-btn {
  width: 100%;
  justify-content: center;
  min-height: 2.75rem;
}

.rh-tournament-show__actions-divider {
  margin: 0 0 var(--rh-panel-content-gap);
  padding-bottom: var(--rh-space-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rh-tournament-show .rh-league-section {
  margin-top: 0;
}

.rh-tournament-show .rh-league-section__head .rh-profile-panel__subtitle {
  margin: 0;
}

/* Regras de torneio — hub unificado (admin clube) */
.rh-tournament-rules-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.rh-tournament-rules-sections__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.14);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.rh-tournament-rules-sections__tab:hover,
.rh-tournament-rules-sections__tab:focus-visible {
  border-color: rgba(188, 239, 134, 0.45);
  color: #fff;
}

.rh-tournament-rules-sections__tab--active {
  background: rgba(188, 239, 134, 0.18);
  border-color: rgba(188, 239, 134, 0.55);
  color: var(--rh-green-300);
}

.rh-tournament-rules-sections__tab:focus-visible {
  outline: 2px solid var(--rh-yellow-400);
  outline-offset: 2px;
}

/* Regras de torneio por modalidade (admin clube) */
.rh-modality-rules__sections {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.rh-modality-rules__section-link {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.12);
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--rh-fs-micro);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
}

.rh-modality-rules__section-link:hover,
.rh-modality-rules__section-link:focus-visible {
  border-color: rgba(188, 239, 134, 0.45);
  color: var(--rh-green-300);
  outline: none;
}

.rh-modality-rules__meta {
  margin-top: 0;
  margin-bottom: 0;
  font-size: var(--rh-fs-hint);
  color: var(--rh-text-muted);
}

.rh-modality-rules__section {
  scroll-margin-top: 5.5rem;
}

.rh-modality-rules__formats {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rh-modality-rules__format {
  align-items: flex-start;
  padding: 0.65rem 0.75rem;
  border-radius: var(--rh-radius-control);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.1);
}

.rh-modality-rules__format:has(input:checked) {
  border-color: rgba(188, 239, 134, 0.4);
  background: rgba(188, 239, 134, 0.08);
}

.rh-modality-rules__format span {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.rh-modality-rules__format strong {
  font-weight: 700;
  color: #fff;
}

.rh-modality-rules__format small {
  font-size: var(--rh-fs-hint);
  color: var(--rh-text-muted);
  line-height: 1.35;
}

.rh-modality-rules__super8 {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid rgba(188, 239, 134, 0.45);
  border-radius: 0 var(--rh-radius-control) var(--rh-radius-control) 0;
  background: rgba(0, 0, 0, 0.14);
}

.rh-modality-rules__super8[hidden] {
  display: none !important;
}

.rh-modality-rules__tiebreaker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  gap: 0.35rem 0.75rem;
}

.rh-modality-rules__actions {
  margin-top: 0.5rem;
  padding-top: 0.25rem;
}

.rh-admin-panel .rh-modality-rules__sections + .rh-modality-rules__meta {
  margin-top: 0.75rem;
}

.rh-admin-panel .rh-modality-rules__meta + .rh-modality-rules {
  margin-top: 1rem;
}

@media (max-width: 520px) {
  .rh-modality-rules__sections {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.15rem;
  }

  .rh-modality-rules__section-link {
    flex: 0 0 auto;
  }
}

.rh-tournament-lock-form {
  margin-top: 1rem;
}

.rh-tournament-lock-courts {
  margin: 1.25rem 0;
  padding: 0;
  border: none;
}

.rh-tournament-lock-courts legend {
  margin-bottom: 0.75rem;
}

.rh-tournament-lock-courts__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 520px) {
  .rh-tournament-lock-courts__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.rh-radio-card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.rh-radio-card input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.rh-radio-card__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.rh-radio-card__text small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8125rem;
}

.rh-check-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.35rem 0;
}

.rh-admin-court-card__modes {
  margin-top: 0.35rem;
}

.rh-admin-court-card__modes-label {
  display: block;
  font-size: 0.8125rem;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Modalidades — admin do clube */
.rh-admin-modalities__create {
  margin-top: 0.75rem;
}

.rh-admin-modalities__create .rh-profile-form__actions {
  margin-top: 0.75rem;
}

.rh-admin-modalities__hint {
  margin: 0.65rem 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.rh-admin-modalities__list-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rh-admin-modalities__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: rgba(181, 239, 118, 0.18);
  color: var(--rh-green-300);
  font-size: 0.8125rem;
  font-weight: 600;
}

.rh-admin-modality-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rh-admin-modality-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--rh-green-300);
  border-radius: var(--rh-radius-control);
  background: var(--rh-green-700);
}

.rh-admin-modality-item__order {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.rh-admin-modality-item__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--rh-green-300);
}

.rh-admin-modality-item__order-btns {
  display: flex;
  gap: 0.25rem;
}

.rh-admin-modality-item__order-btns form {
  margin: 0;
}

.rh-admin-modality-item__order-btns .rh-btn {
  min-width: 2rem;
  padding-inline: 0.4rem;
}

.rh-admin-modality-item__info {
  flex: 1 1 10rem;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
}

.rh-admin-modality-item__name {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.rh-admin-modality-item__slug {
  font-size: 0.75rem;
  padding: 0.15rem 0.45rem;
  border-radius: 0.35rem;
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.75);
}

.rh-admin-modality-item__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.rh-admin-modality-item__actions form {
  margin: 0;
}

.rh-admin-modality-item__edit {
  position: relative;
}

.rh-admin-modality-item__edit > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
}

.rh-admin-modality-item__edit > summary::-webkit-details-marker {
  display: none;
}

.rh-admin-modality-item__edit-form {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 2;
  width: min(18rem, calc(100vw - 2.5rem));
  padding: 0.85rem;
  border: 1px solid var(--rh-green-300);
  border-radius: var(--rh-radius-control);
  background: var(--rh-green-800);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.rh-admin-modality-item__edit-form .rh-field {
  margin-bottom: 0.65rem;
}

.rh-admin-modality-item__edit-form .rh-field label {
  font-size: 0.875rem;
}

@media (max-width: 540px) {
  .rh-admin-modality-item {
    flex-direction: column;
    align-items: stretch;
  }

  .rh-admin-modality-item__actions {
    margin-left: 0;
    justify-content: flex-start;
  }

  .rh-admin-modality-item__edit-form {
    position: static;
    width: 100%;
    margin-top: 0.5rem;
    box-shadow: none;
  }
}

.rh-schedule-date-picker {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.rh-page-toolbar .rh-schedule-date-picker {
  margin-top: 0;
  min-height: var(--rh-toolbar-h);
  align-self: stretch;
}

.rh-schedule-date-picker__pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: var(--rh-toolbar-h);
  margin: 0;
  padding: 0.375rem 1.125rem;
  border-radius: 999px;
  background: #fff;
  color: var(--rh-green-800);
  cursor: pointer;
  user-select: none;
}

.rh-schedule-date-picker__icon.rh-ph {
  font-size: 1.35rem;
  flex-shrink: 0;
  color: var(--rh-green-800);
}

.rh-schedule-date-picker__label {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rh-schedule-date-picker__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.rh-schedule-date-picker__pill:has(.rh-schedule-date-picker__input:focus-visible) {
  outline: 2px solid var(--rh-yellow-200);
  outline-offset: 2px;
}

@media (max-width: 520px) {
  .rh-schedule-date-picker__label {
    font-size: 0.9375rem;
  }

  .rh-schedule-date-picker__pill {
    padding: 0.375rem 0.875rem;
  }
}

.rh-schedule-weekly-pills .rh-day-pills {
  margin: 0;
}

.rh-profile-panel__toolbar {
  margin-bottom: 0.75rem;
}

.rh-profile-tabs {
  margin-bottom: 1rem;
}

.rh-profile-stats__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1rem 0 1.5rem;
}

.rh-profile-stats__card {
  padding: 0.85rem;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.rh-profile-stats__card-label {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
}

.rh-profile-stats__card-value {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--rh-yellow-200, #ffed3e);
}

.rh-profile-stats__ranking-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.rh-profile-stats__period-field {
  margin: 0;
  min-width: 10rem;
}

.rh-profile-stats__your-rank {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
}

.rh-profile-stats__rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.rh-profile-stats__rank-item {
  display: grid;
  grid-template-columns: 2.5rem 2rem 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.06);
}

.rh-profile-stats__rank-item--you {
  border: 1px solid rgba(255, 237, 62, 0.45);
  background: rgba(255, 237, 62, 0.08);
}

.rh-profile-stats__rank-pos {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.rh-profile-stats__rank-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  object-fit: cover;
}

.rh-profile-stats__rank-name {
  font-size: 0.875rem;
  color: #fff;
}

.rh-profile-stats__rank-count {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

@media (max-width: 520px) {
  .rh-profile-stats__cards {
    grid-template-columns: 1fr;
  }

  .rh-profile-stats__rank-item {
    grid-template-columns: 2rem 1.75rem 1fr;
  }

  .rh-profile-stats__rank-count {
    grid-column: 2 / -1;
  }
}

.rh-tournament-lock-courts__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-size: 0.9375rem;
}

.rh-tournament-lock-courts__item input {
  flex-shrink: 0;
}

.rh-league-lock-dates {
  margin: 2rem 0 1.25rem;
  padding: 0;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rh-league-lock-dates legend {
  margin-bottom: 0.55rem;
}

.rh-league-lock-dates .rh-profile-panel__lede {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

.rh-league-lock-dates .rh-profile-grid-2 {
  gap: 1rem;
}

.rh-tournament-payment {
  margin-top: 2rem;
  padding: 0;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rh-tournament-payment legend {
  margin-bottom: 0.55rem;
}

.rh-tournament-payment .rh-profile-panel__lede {
  margin: 0;
  line-height: 1.55;
}

.rh-tournament-payment__paid {
  display: grid;
  gap: 1rem;
  margin-top: 0.15rem;
}

.rh-tournament-payment__paid[hidden] {
  display: none !important;
}

.rh-tournament-payment__category-pix {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--rh-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.14);
}

.rh-tournament-payment__category-pix-list {
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.rh-tournament-payment__category-pix-item {
  display: grid;
  gap: 0.15rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.88);
}

.rh-tournament-payment__category-pix-item strong {
  color: #fff;
}

.rh-tournament-payment__category-pix-item span {
  color: rgba(255, 255, 255, 0.7);
}

.rh-tournament-payment__fee-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem;
}

.rh-tournament-payment__fee-row .rh-field {
  width: auto;
  min-width: 0;
}

.rh-tournament-payment__field--fee {
  flex: 0 0 10.5rem;
  max-width: 100%;
}

.rh-tournament-payment__field--pix {
  flex: 1 1 14rem;
}

.rh-tournament-payment__field--fee input {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 520px) {
  .rh-tournament-payment__fee-row {
    flex-direction: column;
    align-items: stretch;
  }

  .rh-tournament-payment__field--fee,
  .rh-tournament-payment__field--pix {
    flex: 1 1 auto;
    width: 100%;
  }
}

.rh-tournament-payment .rh-field,
.rh-league-lock-dates .rh-field {
  gap: 0.6rem;
}

.rh-tournament-payment .rh-field label,
.rh-league-lock-dates .rh-field label {
  line-height: 1.25;
}

.rh-pix-payment__summary {
  margin: 1rem 0 1.25rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.rh-pix-payment__category,
.rh-pix-payment__amount,
.rh-pix-payment__beneficiary {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
}

.rh-pix-payment__discount {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  color: var(--rh-yellow-200, #ffed3e);
}

.rh-pix-payment__shares {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
}

.rh-pix-payment__shares li {
  margin: 0.2rem 0 0;
}

.rh-pix-payment__share-note {
  opacity: 0.8;
  font-size: 0.8rem;
}

.rh-pix-payment__status--review {
  color: var(--rh-yellow-200, #ffed3e);
}

.rh-pix-payment__reject-note {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.65rem;
  background: rgba(163, 40, 23, 0.25);
  border: 1px solid rgba(163, 40, 23, 0.45);
  font-size: 0.875rem;
}

.rh-pix-qr {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: #fff;
}

.rh-pix-qr img {
  display: block;
  width: min(240px, 100%);
  height: auto;
}

.rh-pix-copy__input {
  width: 100%;
  min-height: 5rem;
  resize: vertical;
  font-family: inherit;
  font-size: 0.8125rem;
  line-height: 1.35;
  word-break: break-all;
}

.rh-pix-copy__btn {
  margin-top: 0.5rem;
  width: 100%;
}

.rh-pix-payment__proof-form {
  margin-top: 1.5rem;
}

.rh-payment-admin-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 1rem 0 1.25rem;
  padding: 0.4rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rh-payment-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid transparent;
  text-align: center;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.rh-payment-filter:hover,
.rh-payment-filter:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  text-decoration: none;
}

.rh-payment-filter.is-active {
  color: var(--rh-green-800);
  background: var(--rh-yellow-200);
  border-color: rgba(255, 255, 255, 0.28);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.rh-payment-filter.is-active:hover,
.rh-payment-filter.is-active:focus-visible {
  color: var(--rh-green-800);
  background: #fff176;
}

.rh-payment-filter:focus-visible {
  outline: 2px solid var(--rh-green-300);
  outline-offset: 2px;
}

@media (min-width: 520px) {
  .rh-payment-admin-filters {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rh-payment-filter {
    font-size: 0.875rem;
    padding: 0.6rem 0.75rem;
  }
}

.rh-payment-admin-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 1200px) {
  .rh-payment-admin-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    align-items: start;
  }
}

.rh-payment-admin-card {
  min-width: 0;
  padding: 1rem;
  border-radius: var(--rh-radius-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

.rh-payment-admin-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--rh-space-2);
}

.rh-payment-admin-card__meta {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.82);
}

.rh-payment-admin-card__actions {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.rh-payment-admin-card__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
}

.rh-payment-admin-card__toolbar[hidden] {
  display: none !important;
}

.rh-payment-admin-card__toolbar > .rh-btn {
  width: auto;
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap;
}

.rh-payment-admin-card__approve-form {
  display: flex;
  flex: 1 1 auto;
  min-width: 7.5rem;
  margin: 0;
}

.rh-payment-admin-card__approve-form .rh-btn {
  width: 100%;
  font-weight: 700;
}

.rh-payment-admin-card__reject-form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  padding: 0.75rem;
  border-radius: var(--rh-radius-md, 0.75rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.16);
}

.rh-payment-admin-card__reject-form[hidden] {
  display: none !important;
}

.rh-payment-admin-card__reject-form .rh-field {
  margin: 0;
}

.rh-payment-admin-card__reject-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.rh-payment-admin-card__reject-actions .rh-btn {
  flex: 1 1 auto;
  min-width: 8rem;
  justify-content: center;
}

.rh-payment-admin-card__withdraw-form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  padding: 0.75rem;
  border-radius: var(--rh-radius-md, 0.75rem);
  border: 1px solid rgba(163, 40, 23, 0.45);
  background: rgba(163, 40, 23, 0.12);
}

.rh-payment-admin-card__withdraw-form[hidden] {
  display: none !important;
}

.rh-payment-admin-card__withdraw-form .rh-field {
  margin: 0;
}

.rh-pix-payment--submitted .rh-pix-payment__submitted-hint {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.rh-pix-payment__submitted-actions {
  margin-top: 1.5rem;
}

.rh-pix-payment__submitted-actions .rh-btn {
  width: 100%;
  justify-content: center;
}

.rh-booking-rules__unlock-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.rh-booking-rules__unlock-grid--days-time {
  grid-template-columns: minmax(5.5rem, 7rem) minmax(8rem, 11rem);
  align-items: end;
}

.rh-field__legend {
  display: block;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.rh-booking-rules__unlock-at .rh-field > input[type="time"],
.rh-booking-rules__tomorrow-unlock .rh-field > input[type="time"] {
  max-width: 11rem;
}

.rh-maintenance__message {
  max-width: 28rem;
}

.rh-maintenance__hint {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 26rem;
  line-height: 1.45;
}

@media (max-width: 520px) {
  .rh-booking-rules__unlock-grid {
    grid-template-columns: 1fr;
  }
}

.rh-profile-grid-3 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 640px) {
  .rh-profile-grid-3 {
    grid-template-columns: 1fr;
  }
}

.rh-tournament-points {
  margin-top: 2rem;
  padding: 0;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rh-tournament-points__table {
  margin-top: 0.25rem;
}

.rh-tournament-points__head {
  display: none;
}

.rh-tournament-points__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rh-tournament-points__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.65rem 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 0.625rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.12);
}

.rh-tournament-points__range {
  display: flex;
  flex: 1 1 14rem;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.35rem 0.5rem;
  min-width: 0;
}

.rh-tournament-points__field {
  margin: 0;
  flex: 1 1 4.5rem;
  min-width: 0;
}

.rh-tournament-points__field--points {
  flex: 0 1 6.5rem;
}

.rh-tournament-points__label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--rh-green-300, #86efac);
}

.rh-tournament-points__field input[type="number"] {
  width: 100%;
  min-width: 0;
}

.rh-tournament-points__sep {
  flex: 0 0 auto;
  align-self: flex-end;
  padding-bottom: 0.55rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

.rh-tournament-points__row .rh-btn,
.rh-tournament-points__add {
  width: auto;
  min-height: 2.5rem;
  flex: 0 0 auto;
}

.rh-tournament-points__add {
  align-self: flex-start;
  margin-top: 0.15rem;
}

@media (min-width: 640px) {
  .rh-tournament-points__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 6.5rem auto;
    gap: 0.85rem 1rem;
    padding: 0 1rem 0.35rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
  }

  .rh-tournament-points__head-col--action {
    width: 5.5rem;
  }
}

@media (max-width: 520px) {
  .rh-tournament-points__field--points {
    flex: 1 1 100%;
  }

  .rh-tournament-points__row .rh-tournament-points__remove {
    width: 100%;
  }
}

.rh-league-seeds-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.85rem;
  padding: 1rem 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.14);
}

.rh-league-seeds-form__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rh-accent, #d4e157);
  line-height: 1.35;
}

.rh-league-seeds-form .rh-profile-grid-2 {
  gap: 0.85rem 1rem;
  margin: 0;
}

.rh-league-seeds-form .rh-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  min-width: 0;
}

.rh-league-seeds-form .rh-field label {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.rh-league-seeds-form .rh-field--has-select {
  position: relative;
  z-index: 1;
}

.rh-league-seeds-form .rh-field--select-open {
  z-index: 25;
  padding-bottom: 0.15rem;
}

.rh-league-seeds-form .rh-field--has-select > .rh-custom-select {
  min-height: 2.75rem;
  padding: 0.55rem 0.75rem;
}

.rh-league-seeds-form .rh-field--has-select .rh-custom-select__list {
  max-height: min(11rem, 36vh);
}

.rh-league-seeds-form > .rh-btn {
  margin: 0.35rem 0 0;
  width: 100%;
  max-width: 100%;
  min-height: 2.5rem;
  flex-shrink: 0;
}

.rh-league-category-card__body > .rh-league-category-card__deadline {
  margin-top: 0.75rem;
}

.rh-league-category-card__meta + .rh-league-seeds-form {
  margin-top: 0.65rem;
}

.rh-league-category-card__meta--preview + .rh-league-seeds-form {
  margin-top: 0.5rem;
}

.rh-league-category-card__meta--preview {
  opacity: 0.9;
  font-size: 0.85rem;
}

.rh-league-ranking.rh-card-panel {
  padding: 1.75rem 1.35rem 1.65rem;
}

.rh-league-ranking > .rh-page-toolbar__nav:first-child,
.rh-league-ranking > .rh-page-toolbar__back:first-child {
  margin-bottom: 1.25rem;
}

.rh-league-ranking > .rh-page-toolbar__nav:first-child + .rh-profile-panel__title,
.rh-league-ranking > .rh-page-toolbar__back:first-child + .rh-profile-panel__title {
  margin-top: 0;
}

.rh-league-ranking .rh-profile-panel__title {
  margin-bottom: 1.35rem;
}

.rh-league-ranking--manage .rh-profile-panel__lede {
  margin-bottom: 1.25rem;
  max-width: 40rem;
  line-height: 1.55;
}

.rh-league-ranking__panel-box {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: 1.2rem 1.25rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--rh-radius-md, 12px);
  background: rgba(0, 0, 0, 0.12);
}

.rh-league-ranking__panel-box__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.rh-league-ranking__filters {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0 0 1.75rem;
}

.rh-league-ranking__adjust {
  margin: 0;
}

.rh-league-section--ranking-adjust {
  margin-top: 1.75rem;
}

.rh-league-ranking__adjust-lede {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.rh-league-ranking__adjust-form {
  gap: 1.35rem;
}

.rh-league-ranking__adjust-field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.rh-league-ranking__adjust-field .rh-field-hint {
  margin-top: 0.15rem;
}

.rh-league-ranking__adjust-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .rh-league-ranking__adjust-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem 1.25rem;
  }
}

.rh-league-ranking__adjust-fields .rh-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.rh-league-ranking__adjust-fields .rh-field-hint {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
}

.rh-league-ranking__adjust-fields .rh-field-hint code {
  font-size: 0.92em;
  padding: 0.05rem 0.3rem;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.08);
}

.rh-league-ranking__adjust-actions {
  padding-top: 0.15rem;
}

.rh-ranking-adjust-preview {
  padding: 0.95rem 1rem;
  border-radius: 0.75rem;
  background: rgba(253, 224, 71, 0.08);
  border: 1px solid rgba(253, 224, 71, 0.22);
}

.rh-ranking-adjust-preview__title {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.rh-ranking-adjust-preview__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
}

.rh-ranking-adjust-preview__stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.rh-ranking-adjust-preview__label {
  font-size: 0.78rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.65);
}

.rh-ranking-adjust-preview__value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.rh-ranking-adjust-preview__value--accent {
  color: var(--rh-yellow-200, #fde047);
}

.rh-ranking-adjust-preview__hint {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.rh-league-ranking__adjust .rh-stack-form {
  gap: 1rem;
}

.rh-league-ranking__adjust .rh-field {
  margin: 0;
}

.rh-league-ranking__filters-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.15rem;
}

.rh-league-ranking__filters-row--search {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1rem;
}

.rh-league-ranking__filters .rh-field {
  margin: 0;
}

.rh-league-ranking__filters .rh-field label {
  display: block;
  margin-bottom: 0.55rem;
}

.rh-league-ranking__filters-actions {
  display: flex;
  align-items: flex-end;
  padding-top: 0.15rem;
}

.rh-league-ranking__filters-actions .rh-btn {
  min-width: 7.5rem;
  justify-content: center;
}

.rh-league-ranking__empty {
  margin: 1.35rem 0 0;
  padding: 1.1rem 1.15rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.rh-league-ranking__list {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
}

@media (max-width: 520px) {
  .rh-league-ranking__filters-row,
  .rh-league-ranking__filters-row--search {
    grid-template-columns: 1fr;
  }

  .rh-league-ranking__filters-actions .rh-btn {
    width: 100%;
  }
}

.rh-league-ranking__item {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rh-league-ranking__pos {
  font-weight: 700;
  color: var(--rh-accent, #d4e157);
}

.rh-league-ranking__pts {
  font-weight: 600;
  white-space: nowrap;
}

.rh-league-ranking__ledger {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rh-league-ranking__ledger-row {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  gap: 0.5rem 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.rh-league-ranking__ledger-pts--neg {
  color: #f87171;
}

.rh-chip--audience {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
}

.rh-chip--audience-open {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}

.rh-league-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0.75rem;
}

.rh-league-tabs__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid transparent;
}

.rh-league-tabs__pill--active {
  color: #111;
  background: var(--rh-yellow, #f5d547);
}

.rh-league-tabs__filters {
  margin-bottom: 1rem;
}

.rh-league-promo--compact .rh-schedule-callout__text {
  display: none;
}

.rh-league-promo__subsection + .rh-league-promo__subsection {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.rh-league-promo__subtitle {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.rh-league-promo__more {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rh-yellow, #f5d547);
  text-decoration: none;
}

.rh-league-tournament-item__club {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

.rh-tournament-audience {
  margin: 2rem 0 0;
  padding: 0;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rh-tournament-audience legend {
  margin: 0;
  padding: 0;
}

.rh-tournament-audience__lede {
  margin: 0;
  max-width: 40rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.rh-tournament-audience__options {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.15rem;
}

@media (min-width: 640px) {
  .rh-tournament-audience__options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

.rh-tournament-audience .rh-radio-card {
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.rh-tournament-audience .rh-radio-card:hover {
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(255, 255, 255, 0.16);
}

.rh-tournament-audience .rh-radio-card:has(input:checked) {
  background: rgba(245, 213, 71, 0.1);
  border-color: rgba(245, 213, 71, 0.42);
  box-shadow: inset 0 0 0 1px rgba(245, 213, 71, 0.18);
}

.rh-tournament-audience .rh-radio-card input {
  margin: 0;
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.rh-tournament-audience .rh-radio-card__text {
  gap: 0.35rem;
  min-width: 0;
}

.rh-tournament-audience .rh-radio-card__text strong {
  font-size: 0.975rem;
  line-height: 1.35;
}

.rh-tournament-audience .rh-radio-card__text small {
  line-height: 1.55;
}

.rh-tournament-audience__note {
  margin: 0.35rem 0 0;
  padding: 0.8rem 1rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid rgba(245, 213, 71, 0.55);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-width: 40rem;
}

.rh-tournament-show__open-note,
.rh-tournament-open-register-note {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
}

.rh-home-prefs-page__head {
  margin-bottom: 0.5rem;
}

.rh-home-prefs-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.rh-home-prefs-section {
  margin: 0;
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--rh-radius-md, 12px);
  background: rgba(0, 0, 0, 0.14);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.rh-home-prefs-section__title {
  margin: 0;
  padding: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--rh-green-300, #b8e986);
  line-height: 1.3;
}

.rh-home-prefs-section__lede {
  margin: 0;
  max-width: 38rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.rh-home-prefs-section__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rh-home-prefs-toggle {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.rh-home-prefs-toggle input {
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.rh-home-prefs-toggle__text {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.rh-home-prefs-toggle__text strong {
  font-size: 0.95rem;
  color: #fff;
  line-height: 1.35;
}

.rh-home-prefs-toggle__text small {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.rh-home-prefs-fields {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .rh-home-prefs-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.15rem;
  }
}

.rh-home-prefs-section .rh-field {
  margin: 0;
}

.rh-home-prefs-section .rh-field label {
  margin-bottom: 0.45rem;
}

.rh-home-prefs-form__actions {
  margin-top: 0.35rem;
  padding-top: 0.25rem;
}

.rh-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rh-tournament-show__action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: stretch;
}

.rh-tournament-show__action-grid > a,
.rh-tournament-show__action-grid > form {
  min-width: 0;
  margin: 0;
  display: flex;
}

.rh-tournament-show__action-grid .rh-option-tile {
  flex: 1 1 auto;
  width: 100%;
  aspect-ratio: auto;
  min-height: 5.25rem;
  padding: 1rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.rh-tournament-show__action-grid .rh-option-tile__icon {
  font-size: 1.65rem;
  opacity: 0.92;
}

.rh-tournament-show__action-grid .rh-option-tile--primary {
  border-color: rgba(253, 224, 71, 0.45);
  box-shadow: 0 4px 14px rgba(253, 224, 71, 0.22);
}

@media (min-width: 480px) {
  .rh-tournament-show__action-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .rh-tournament-show__action-grid {
    grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
  }
}

.rh-delegate-page__head {
  margin-bottom: var(--rh-panel-content-gap);
}

.rh-delegate-card {
  margin-bottom: var(--rh-panel-content-gap);
  padding: 1rem 1.05rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rh-delegate-card--form {
  background: rgba(255, 255, 255, 0.07);
}

.rh-delegate-card__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.rh-delegate-card__title .rh-ph {
  font-size: 1.15rem;
  opacity: 0.9;
}

.rh-delegate-person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rh-delegate-person__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}

.rh-delegate-person__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.rh-delegate-person__text strong {
  font-size: 1rem;
  color: #fff;
}

.rh-delegate-person__meta {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
}

.rh-delegate-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.rh-delegate-list__item {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rh-delegate-list__item:first-child {
  border-top: none;
  padding-top: 0;
}

.rh-delegate-list__remove {
  margin-top: 0.75rem;
}

.rh-delegate-perm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
}

.rh-delegate-perm-chips__item {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  line-height: 1.25;
}

.rh-delegate-form__step + .rh-delegate-form__step {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rh-delegate-form__step-label {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.rh-delegate-form__step-hint {
  margin: -0.45rem 0 0.75rem;
  font-size: 0.82rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.65);
}

.rh-delegate-preset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.65rem;
}

.rh-delegate-preset {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  width: 100%;
  padding: 0.8rem 0.85rem;
  border-radius: 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.rh-delegate-preset:hover,
.rh-delegate-preset:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28);
}

.rh-delegate-preset--active {
  border-color: var(--rh-yellow-200, #fde047);
  background: rgba(253, 224, 71, 0.14);
  box-shadow: 0 0 0 1px rgba(253, 224, 71, 0.25);
}

.rh-delegate-preset__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.rh-delegate-preset__label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.rh-delegate-preset__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  opacity: 0.45;
}

.rh-delegate-preset--active .rh-delegate-preset__check {
  opacity: 1;
  background: var(--rh-yellow-200, #fde047);
  border-color: var(--rh-yellow-200, #fde047);
  color: var(--rh-green-800, #085b43);
}

.rh-delegate-preset__desc {
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
}

.rh-delegate-perm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 480px) {
  .rh-delegate-perm-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.rh-delegate-perm-grid > li {
  display: flex;
  min-width: 0;
}

.rh-delegate-perm-toggle {
  display: flex;
  flex: 1;
  width: 100%;
  cursor: pointer;
}

.rh-delegate-perm-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rh-delegate-perm-toggle__box {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1;
  width: 100%;
  min-height: 2.85rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.65rem;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.rh-delegate-perm-toggle__icon {
  font-size: 0.95rem;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.rh-delegate-perm-toggle__label {
  font-size: 0.84rem;
  line-height: 1.3;
}

.rh-delegate-perm-toggle input:checked + .rh-delegate-perm-toggle__box {
  border-color: var(--rh-yellow-200, #fde047);
  background: rgba(253, 224, 71, 0.12);
  color: #fff;
}

.rh-delegate-perm-toggle input:checked + .rh-delegate-perm-toggle__box .rh-delegate-perm-toggle__icon {
  opacity: 1;
  transform: scale(1);
}

.rh-delegate-perm-toggle input:focus-visible + .rh-delegate-perm-toggle__box {
  outline: 2px solid var(--rh-yellow-400);
  outline-offset: 2px;
}

.rh-delegate-summary {
  margin-top: 1.15rem;
  padding: 0.9rem 0.95rem;
  border-radius: 0.75rem;
  background: rgba(253, 224, 71, 0.1);
  border: 1px solid rgba(253, 224, 71, 0.28);
}

.rh-delegate-summary__title {
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.rh-delegate-summary__user {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  color: #fff;
}

.rh-delegate-summary__chips {
  margin-top: 0;
}

.rh-delegate-form__actions .rh-btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Design system tabs (.rh-tabs) — used by league, payments, operation */
.rh-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin: 1rem 0 0.75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.rh-tabs::-webkit-scrollbar {
  display: none;
}

.rh-tabs__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.rh-tabs__pill:hover,
.rh-tabs__pill:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.rh-tabs__pill.is-active {
  color: var(--rh-green-800);
  background: var(--rh-green-300);
  border-color: transparent;
}

.rh-tabs__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
  color: #111;
  background: #fff;
}

.rh-tabs__pill.is-active .rh-tabs__badge {
  color: var(--rh-green-800);
  background: rgba(255, 255, 255, 0.95);
}

.rh-league-tabs.rh-tabs {
  margin-top: 0.75rem;
}

.rh-league-tabs__pill--active {
  color: var(--rh-green-800);
  background: var(--rh-green-300);
}

.rh-league-tournaments-page__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin-bottom: 0.35rem;
}

.rh-league-tournaments-page__head-text {
  min-width: 0;
  flex: 1 1 12rem;
}

.rh-league-tournaments-page__head-text .rh-profile-panel__title {
  margin-bottom: 0.35rem;
}

.rh-league-tournaments-page__head-text .rh-profile-panel__lede {
  margin-bottom: 0;
}

.rh-league-tournaments-page__head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem 0.85rem;
  flex: 0 0 auto;
}

.rh-league-tournaments-page__ranking-link {
  font-size: 0.875rem;
  white-space: nowrap;
}

.rh-league-tournaments-page__create-btn.rh-btn {
  flex-shrink: 0;
}

.rh-league-tournaments-page__create {
  display: none;
}

/* Tournament workspace continuous flow */
.rh-tournament-stepper {
  margin: 0.85rem 0 1.1rem;
}

.rh-tournament-stepper__caption {
  margin: 0 0 0.65rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
}

.rh-tournament-stepper__caption strong {
  color: #fff;
  font-weight: 600;
}

.rh-tournament-stepper__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0.15rem 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.rh-tournament-stepper__list::-webkit-scrollbar {
  display: none;
}

.rh-tournament-stepper__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  color: rgba(255, 255, 255, 0.45);
  position: relative;
}

.rh-tournament-stepper__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(50% + 0.75rem);
  right: calc(-50% + 0.75rem);
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: rgba(255, 255, 255, 0.14);
  z-index: 0;
  pointer-events: none;
}

.rh-tournament-stepper__item--done:not(:last-child)::after {
  background: rgba(188, 239, 134, 0.55);
}

.rh-tournament-stepper__item--current:not(:last-child)::after {
  background: linear-gradient(90deg, var(--rh-yellow-200, #ffed3e) 0 40%, rgba(255, 255, 255, 0.14) 100%);
}

.rh-tournament-stepper__dot {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--rh-green-700, #116247);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.rh-tournament-stepper__dot .rh-ph {
  font-size: 0.75rem;
}

.rh-tournament-stepper__item--done {
  color: rgba(188, 239, 134, 0.95);
}

.rh-tournament-stepper__item--done .rh-tournament-stepper__dot {
  border-color: rgba(188, 239, 134, 0.55);
  background: rgba(188, 239, 134, 0.18);
  color: var(--rh-green-300, #bcef86);
}

.rh-tournament-stepper__item--current {
  color: #111;
}

.rh-tournament-stepper__item--current .rh-tournament-stepper__dot {
  width: 1.5rem;
  height: 1.5rem;
  border-color: transparent;
  background: var(--rh-yellow-200, #ffed3e);
  color: #111;
}

.rh-tournament-show__details {
  margin: 0.65rem 0 0;
}

.rh-tournament-show__details-summary {
  cursor: pointer;
  color: var(--rh-green-300, #bcef86);
  font-size: 0.875rem;
  font-weight: 600;
  list-style: none;
}

.rh-tournament-show__details-summary::-webkit-details-marker {
  display: none;
}

.rh-tournament-show__details[open] .rh-tournament-show__details-summary {
  margin-bottom: 0.4rem;
}

.rh-tournament-show__lede {
  margin: 0.5rem 0 0;
}

.rh-tournament-show__lock-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.55rem 0 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}

.rh-tournament-show__lock-meta .rh-ph {
  font-size: 0.9rem;
  color: var(--rh-green-300, #bcef86);
}

.rh-tournament-show__open-note {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
}

.rh-tournament-show__primary {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 0.75rem;
  row-gap: 0.2rem;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--rh-radius-card, 1rem);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rh-tournament-show__primary--setup {
  border-color: rgba(255, 237, 62, 0.45);
  background: rgba(255, 237, 62, 0.08);
}

.rh-tournament-show__primary-kicker {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rh-green-300, #bcef86);
}

.rh-tournament-show__primary-hint {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.rh-tournament-show__primary-form {
  grid-column: 2;
  grid-row: 1 / 3;
  margin: 0;
}

.rh-tournament-show__primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: auto;
  white-space: nowrap;
  min-height: 2.75rem;
}

/* link CTA (not inside a form) also goes to the right column */
a.rh-tournament-show__primary-btn {
  grid-column: 2;
  grid-row: 1 / 3;
}

.rh-tournament-show__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rh-tournament-show__tools > .rh-btn {
  width: auto;
  flex: 0 1 auto;
  white-space: nowrap;
}

.rh-tournament-show__empty-categories {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.rh-tournament-show__danger {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rh-tournament-show__danger > summary {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  font-weight: 600;
  list-style: none;
}

.rh-tournament-show__danger > summary::-webkit-details-marker {
  display: none;
}

.rh-tournament-show__danger[open] > summary {
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
}

.rh-tournament-show__danger-hint {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
}

.rh-league-category-card__seeds {
  margin: 0;
  flex: 0 0 auto;
}

.rh-league-category-card__seeds[open] {
  flex: 1 1 100%;
}

.rh-league-category-card__seeds > summary::-webkit-details-marker {
  display: none;
}

.rh-league-category-card__seeds[open] > summary {
  margin-bottom: 0.55rem;
}

.rh-league-category-card__seeds .rh-league-seeds-form {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: var(--rh-radius-md, 0.75rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.16);
}

.rh-league-category-card__seeds .rh-league-seeds-form .rh-btn {
  justify-self: start;
  width: auto;
}

.rh-league-category-card__reg-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.rh-league-category-card__reg-item {
  padding: 0.85rem;
  border-radius: var(--rh-radius-md, 0.75rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.16);
  display: grid;
  gap: 0.65rem;
}

.rh-league-category-card__reg-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: baseline;
}

.rh-league-category-card__reg-fee {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.rh-league-category-card__withdraw-form {
  display: grid;
  gap: 0.55rem;
}

.rh-league-category-card__withdraw-form .rh-btn {
  justify-self: start;
}

.rh-fixture-sets__walkover-hint {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
}

.rh-chip--next-action {
  background: rgba(255, 237, 62, 0.18);
  color: var(--rh-yellow-200, #ffed3e);
  border: 1px solid rgba(255, 237, 62, 0.35);
}

.rh-tournament-operation-tabs {
  margin: 0.75rem 0 1.1rem;
}

.rh-league-tournament-card__meta {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}

.rh-league-tournament-card__title {
  display: block;
  color: #fff;
  font-weight: 600;
}

@media (min-width: 640px) {
  .rh-tournament-show__primary-btn {
    width: auto;
    align-self: flex-start;
  }
}

/* Category create/edit form */
.rh-league-category-form .rh-league-category-section {
  margin: 0 0 1.15rem;
  padding: 0.85rem 0.95rem 1rem;
  border: 1px solid rgba(188, 239, 134, 0.18);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
}

.rh-league-category-form .rh-league-category-section > legend {
  padding: 0 0.25rem;
  margin-bottom: 0.15rem;
}

.rh-league-category-form .rh-league-category-form__section-lede {
  margin: 0 0 0.85rem;
}

.rh-league-category-form .rh-league-category-form__rows {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.rh-league-category-form .rh-league-category-form__row-note,
.rh-league-category-form .rh-league-category-form__row-notes {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

.rh-league-category-form .rh-league-category-form__callout {
  margin: 0.25rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(255, 237, 62, 0.08);
  border: 1px solid rgba(255, 237, 62, 0.2);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}
