/* Navegación de la Unión: cabecera, avatar, campana, menú de cuenta y herramientas del club.
   Normas en estandares.md, sección "Navegación". Los colores son los tokens de sistema.css y de style.css.
   Va después de reference-r13.css (la carga club-v2.html), y por eso gana con html body. */

/* Cabecera del club. La versión y la moneda se consultan en el menú de cuenta. */
html body .club-topbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  min-height: 60px;
  height: auto;
  margin-bottom: 14px;
  padding: 6px 2px;
  border-bottom: 1px solid color-mix(in srgb, var(--trio-edge, #d8c3be) 70%, transparent);
  background: none;
}
html body .club-topbar > .header-meta { display: none !important; }
html body .club-topbar > .reference-page-title { flex: 1 1 auto; min-width: 0; text-align: center; }
html body .club-topbar .reference-page-title {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--trio-ink, inherit);
}
html body .club-topbar #reference-back-clubs {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 50%;
  border-color: transparent;
  background: transparent;
}
html body .club-topbar #reference-back-clubs > morph-icon { display: block; }

/* Campana de avisos: el icono es el trazo; el número va en una pastilla cobre. */
html body .club-topbar .reference-bell {
  position: relative;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--trio-ink, inherit);
}
html body .club-topbar .reference-bell:hover:not(:disabled) { background: var(--secundaria-hover, #ddd6cb); border-color: transparent; }
html body .club-topbar .reference-bell > svg,
html body .club-topbar .reference-bell > morph-icon { display: block; width: 22px; height: 22px; }

/* Avatar de cuenta. Kokonut profile-dropdown, con el cobre del estándar en vez de los grises. */
html body .club-topbar .nav-cuenta {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
}
html body .club-topbar .nav-cuenta:hover:not(:disabled) { background: transparent; }
@media (hover: hover) {
  html body .club-topbar .nav-cuenta:hover .nav-avatar { box-shadow: inset 0 0 0 2px var(--anillo-suave); }
}
.nav-avatar {
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accion), var(--accion-hover));
  color: var(--accion-tinta);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  user-select: none;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accion-tinta) 24%, transparent);
  transition: box-shadow 150ms ease;
}
.nav-avatar-md { width: 32px; height: 32px; font-size: 12px; }
.nav-avatar-lg { width: 52px; height: 52px; font-size: 18px; }

/* Menú de cuenta: tarjeta de cristal (estandares.md, «Cristal») con cabecera, tema y filas con icono. */
html body dialog.reference-menu[data-kind=account] {
  width: min(372px, calc(100vw - 24px));
  max-height: 88dvh;
  padding: 16px 14px 12px;
  border: 0;
  border-radius: 16px;
  background: color-mix(in srgb, var(--trio-surface, #1f1819) 76%, transparent);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  backdrop-filter: blur(22px) saturate(1.35);
  box-shadow: 0 30px 80px #0000004d;
  color: var(--trio-ink, inherit);
}
html body dialog.reference-menu[data-kind=account] > header.reference-menu-heading h2 {
  font-size: 13px;
  font-weight: 600;
  color: var(--trio-muted, inherit);
}
.nav-cuenta-identidad {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 4px 14px;
  border-bottom: 1px solid color-mix(in srgb, var(--trio-edge, #d8c3be) 70%, transparent);
  margin-bottom: 10px;
}
.nav-cuenta-textos { display: grid; gap: 3px; min-width: 0; }
html body dialog[data-kind=account] .reference-account-name {
  margin: 0;
  color: var(--trio-ink, inherit);
  font-size: 16px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* El enlace de marca recibe el foco al abrir el menú: sin halo, salvo con teclado. */
html body dialog[data-kind=account] .reference-brand:focus:not(:focus-visible) { outline: 2px solid transparent !important; outline-offset: 0 !important; }
html body dialog[data-kind=account] .reference-account-version { font-size: 12px; color: var(--trio-muted, inherit); }
.nav-cuenta-tema {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 4px 12px;
}
.nav-cuenta-etiqueta { font-size: 13px; color: var(--trio-muted, inherit); }
.nav-tema {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 3px;
  padding: 3px;
  border-radius: 10px;
  border: 1px solid var(--secundaria-borde, #c7beb5);
  background: var(--secundaria, #e6e1d8);
}
.nav-tema-opcion {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 4px 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--secundaria-tinta, #292d33);
  font-size: 13px;
  font-weight: 600;
  box-shadow: none;
}
.nav-tema-opcion morph-icon { display: block; }
.nav-tema-opcion[aria-checked="true"] { background: var(--accion); color: var(--accion-tinta); }
.nav-tema-opcion[aria-checked="true"]:hover:not(:disabled) { background: var(--accion-hover); }
.nav-tema-opcion:hover:not(:disabled):not([aria-checked="true"]) { background: var(--secundaria-hover, #ddd6cb); }

/* Filas de acción: icono en una ficha, texto y, si es la salida, color de acción destructiva. */
html body dialog[data-kind=account] .reference-account-desktop,
html body dialog[data-kind=account] .reference-profile-menu { display: grid; gap: 2px; }
html body dialog[data-kind=account] .reference-profile-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 6px 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--trio-ink, inherit);
  font-size: 14px;
  font-weight: 550;
  text-align: left;
  box-shadow: none;
}
html body dialog[data-kind=account] .reference-profile-row:hover:not(:disabled) { background: var(--secundaria-hover, #ddd6cb); border-color: transparent; }
html body dialog[data-kind=account] .reference-profile-row:active:not(:disabled) { transform: translateY(1px); }
html body dialog[data-kind=account] .reference-profile-glyph {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--secundaria, #e6e1d8);
  color: var(--secundaria-tinta, #292d33);
}
html body dialog[data-kind=account] .reference-profile-glyph morph-icon { display: block; }
html body dialog[data-kind=account] .reference-profile-row > span:not(.reference-profile-glyph):not(.reference-profile-arrow) { flex: 1; min-width: 0; }
html body dialog[data-kind=account] .reference-profile-arrow { display: none; }
html body dialog[data-kind=account] .reference-profile-signout,
html body dialog[data-kind=account] .reference-profile-signout .reference-profile-glyph {
  color: var(--peligro, #b3283a);
}
html body dialog[data-kind=account] .reference-profile-signout .reference-profile-glyph { background: transparent; }
html body[data-home-theme="dark"] dialog[data-kind=account] .reference-profile-signout,
html body[data-home-theme="dark"] dialog[data-kind=account] .reference-profile-signout .reference-profile-glyph { color: #d4566a; }

/* Herramientas del club (botón flotante y bandeja). Mismo cobre y mismo cristal que el menú de cuenta. */
html body .reference-floating.reference-floating {
  background: var(--accion);
  border-color: transparent;
  color: var(--accion-tinta);
  box-shadow: 0 10px 26px #0000004d;
}
html body .reference-floating.reference-floating:hover:not(:disabled) { background: var(--accion-hover); }
html body .reference-dock {
  border: 1px solid color-mix(in srgb, var(--trio-edge, #d8c3be) 80%, transparent);
  background: color-mix(in srgb, var(--trio-surface, #1f1819) 76%, transparent);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  backdrop-filter: blur(22px) saturate(1.35);
  box-shadow: 0 18px 48px #0000004d;
  color: var(--trio-ink, inherit);
}
html body .reference-dock button { color: var(--trio-ink, inherit); }
html body .reference-dock button:hover:not(:disabled) { background: var(--secundaria-hover, #ddd6cb); border-color: transparent; }
html body .reference-dock small { color: var(--trio-muted, inherit); }

@media (prefers-reduced-transparency: reduce) {
  html body dialog.reference-menu[data-kind=account],
  html body .reference-dock {
    background: var(--trio-surface, #1f1819);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-avatar { transition: none; }
}

html body {
  --club-menu-right: max(12px, env(safe-area-inset-right), calc((100% - var(--club-mobile-width, 480px)) / 2 + 12px));
  --club-menu-bottom: max(12px, env(safe-area-inset-bottom));
  --club-menu-button-size: 48px;
}
html body[data-view=lobby] #reference-club-toggle.reference-floating {
  right: var(--club-menu-right);
  bottom: var(--club-menu-bottom);
  inline-size: var(--club-menu-button-size);
  min-inline-size: var(--club-menu-button-size);
  block-size: var(--club-menu-button-size);
  min-block-size: var(--club-menu-button-size);
  place-items: center;
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: var(--accion);
  color: var(--accion-tinta);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--trio-ink) 24%, transparent);
  transition: background-color 150ms ease;
}
html body[data-view=lobby] #reference-club-toggle.reference-floating[hidden] { display: none; }
html body[data-view=lobby] #reference-club-toggle.reference-floating:is(:hover,[aria-expanded=true]):not(:disabled) {
  background: var(--accion-hover);
}
html body[data-view=lobby] #reference-club-toggle.reference-floating:focus-visible {
  outline: 2px solid var(--anillo);
  outline-offset: 2px;
}
html body[data-view=lobby] #reference-club-toggle.reference-floating svg { width: 22px; height: 22px; }

/* Bandeja de avisos (notification-stack de Kokonut): cada aviso es una tarjeta con una ficha de icono a la
   izquierda, título, texto, fecha y estado. Sin leer: la ficha, el borde y el título van en cobre. */
html body .account-inbox-content :is(.club-management-row, .club-network-transfer-notice) {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 4px;
  align-items: start;
  position: relative;
  border: 1px solid color-mix(in srgb, var(--trio-edge, #d8c3be) 70%, transparent);
  border-radius: 14px;
  background: var(--trio-surface, #1f1819);
  padding: 12px 14px !important;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}
html body .account-inbox-content .club-management-row:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px #0000001f;
  border-color: color-mix(in srgb, var(--accion) 38%, var(--trio-edge, #d8c3be));
}
html body .account-inbox-content :is(.club-management-row, .club-network-transfer-notice) > :not(.aviso-icono) { grid-column: 2; min-width: 0; }
html body .account-inbox-content .aviso-icono {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--secundaria, #e6e1d8);
  color: var(--secundaria-tinta, #292d33);
}
html body .account-inbox-content .aviso-icono morph-icon { display: block; width: 18px; height: 18px; }
html body .account-inbox-content .club-management-row[data-seen=false] {
  border-color: color-mix(in srgb, var(--accion) 50%, transparent);
  background: color-mix(in srgb, var(--accion) 7%, var(--trio-surface, #1f1819));
}
html body .account-inbox-content .club-management-row[data-seen=false] .aviso-icono {
  background: color-mix(in srgb, var(--accion) 20%, transparent);
  color: var(--accion);
}
html body .account-inbox-content .club-management-row[data-seen=false] > strong { color: var(--accion); }
html body .account-inbox-content .account-inbox-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: var(--trio-muted, inherit); }
html body .account-inbox .account-inbox-heading button:focus:not(:focus-visible) { outline: 2px solid transparent !important; outline-offset: 0 !important; box-shadow: none !important; }

/* La caja del menú recibe el foco al abrir; no dibuja su propio contorno. */
html body dialog.reference-menu[data-kind=account]:focus,
html body dialog.reference-menu[data-kind=account]:focus-visible { outline: 2px solid transparent !important; outline-offset: 0 !important; }

/* ---- Grupos (móvil): cabecera de cuenta a la izquierda, fichas y avisos en una barra a la derecha. ---- */
html body .mobile-groups-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline: 14px;
  padding: 6px 0 2px;
}
/* Disparador de la cuenta: avatar con su chevron, nombre y rol. Pastilla que se marca al pasar el cursor. */
html body .mobile-groups-profile.mobile-groups-profile {
  flex: 1 1 auto;
  min-width: 0;
  gap: 11px;
  padding: 4px 12px 4px 4px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--trio-ink, inherit);
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}
html body .mobile-groups-profile:hover:not(:disabled) {
  background: color-mix(in srgb, var(--secundaria, #e6e1d8) 55%, transparent);
  border-color: color-mix(in srgb, var(--trio-edge, #d8c3be) 80%, transparent);
}
html body .mobile-groups-profile:active:not(:disabled) { transform: translateY(1px); }
html body .mobile-groups-profile[aria-expanded="true"] {
  background: var(--secundaria, #e6e1d8);
  border-color: var(--secundaria-borde, #c7beb5);
}
html body .mobile-groups-profile .mobile-groups-photo {
  transition: box-shadow 150ms ease, transform 150ms ease;
}
@media (hover: hover) {
  html body .mobile-groups-profile:hover:not(:disabled) .mobile-groups-photo {
    box-shadow: inset 0 0 0 2px var(--anillo-suave);
  }
}
html body .mobile-groups-profile-chevron {
  transition: rotate 200ms ease, background-color 150ms ease;
}
html body .mobile-groups-profile[aria-expanded="true"] .mobile-groups-profile-chevron { rotate: 180deg; }
html body .mobile-groups-name strong {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
html body .mobile-groups-name small {
  color: var(--accion, #8d4b32);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.14em;
}
/* La versión de Grupos va en el menú de cuenta. */
html body .mobile-groups-header .club-web-version { display: none !important; }
html body .mobile-groups-bell {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--accion, #d4926a);
  transition: background-color 150ms ease, transform 150ms ease;
}
html body .mobile-groups-bell:hover:not(:disabled) { background: var(--secundaria-hover, #ddd6cb); }
html body .mobile-groups-bell:active:not(:disabled) { transform: translateY(1px); }
html body .mobile-groups-bell:not([data-count="0"])[data-count]::after {
  top: 8px;
  right: 8px;
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 2px var(--bg, #242a23);
}

/* Menú de cuenta desde Grupos: tarjeta anclada bajo el avatar, a todo el ancho del móvil. */
html body dialog.reference-menu[data-kind=account][data-home-profile=true] {
  position: fixed;
  inset: var(--menu-top, 96px) 12px auto 12px;
  width: auto;
  max-width: 372px;
  margin: 0 auto;
  translate: none !important;
  transform-origin: 18% 0;
  max-height: calc(100dvh - var(--menu-top, 96px) - 20px);
}
html body dialog[data-kind=account][data-home-profile=true] .nav-cuenta-retrato { flex: none; display: block; }
html body dialog[data-kind=account][data-home-profile=true] .nav-cuenta-retrato .mobile-groups-photo {
  width: 52px;
  height: 52px;
  font-size: 0;
  cursor: default;
}
html body dialog[data-kind=account][data-home-profile=true] .nav-cuenta-retrato .mobile-groups-photo .mobile-groups-avatar-art { width: 100%; height: 100%; }
html body dialog[data-kind=account][data-home-profile=true] .nav-cuenta-retrato .mobile-groups-profile-chevron { display: none; }

/* Campana de Grupos: 38 px, centrada con el resto de la barra. Hover: anillo cobre y balanceo (balancearCampana). */
html body .mobile-groups-bell {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  color: var(--accion, #d4926a);
  transition: box-shadow 150ms ease, transform 150ms ease;
}
html body .mobile-groups-bell:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accion, #8d4b32) 55%, transparent); }
html body .mobile-groups-bell:active:not(:disabled) { transform: translateY(1px); }
html body .mobile-groups-bell-icono { display: grid; place-items: center; width: 22px; height: 22px; }
html body .mobile-groups-bell-icono morph-icon { display: block; width: 22px; height: 22px; }
html body .mobile-groups-bell:not([data-count="0"])[data-count]::after { top: 6px; right: 6px; }

/* Menú de cuenta: el resaltado único sigue al cursor (resaltadoSeguidor). Las filas quedan encima y sin fondo propio. */
html body dialog[data-kind=account] .nav-resalte {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accion, #8d4b32) 16%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accion, #8d4b32) 38%, transparent);
  opacity: 0;
  pointer-events: none;
}
html body dialog[data-kind=account] .reference-profile-row { position: relative; z-index: 1; }
html body dialog[data-kind=account] .reference-profile-row:hover:not(:disabled) { background: transparent; }

/* Diálogo de moneda (table-social-r6.mjs, FAMILIAS_AUTO): las opciones van con el estilo de los botones
   secundarios de los modales; la elegida lleva borde y tinte cobre. */
html body #profile-currency-dialog.modal .profile-actions { display: grid; gap: 8px; }
html body #profile-currency-dialog.modal .profile-actions > button {
  min-height: 44px;
  justify-content: flex-start;
  padding: 0 14px;
  border: 1px solid color-mix(in srgb, var(--trio-ink, #2a2223) 22%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--trio-ink, #2a2223) 4%, transparent);
  color: var(--trio-ink, inherit);
  font-size: 14px;
  font-weight: 550;
  box-shadow: none;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}
html body #profile-currency-dialog.modal .profile-actions > button:hover:not(:disabled) {
  background: color-mix(in srgb, var(--trio-ink, #2a2223) 11%, transparent);
  border-color: color-mix(in srgb, var(--trio-ink, #2a2223) 38%, transparent);
  transform: translateY(-1px);
}
html body #profile-currency-dialog.modal .profile-actions > button[aria-pressed=true] {
  border-color: var(--accion, #8d4b32);
  background: color-mix(in srgb, var(--accion, #8d4b32) 14%, transparent);
  color: var(--trio-ink, inherit);
}
@media (prefers-reduced-motion: reduce) {
  html body #profile-currency-dialog.modal .profile-actions > button { transition: none; }
  html body #profile-currency-dialog.modal .profile-actions > button:hover:not(:disabled) { transform: none; }
}

/* Hoja de avisos (smooth-drawer de Kokonut): se apoya abajo, con asa y dos alturas; en pantalla ancha, centrada. */
html body dialog.account-inbox[data-hoja=true] {
  --cristal-base: rgb(251 247 241 / .58);
  position: fixed;
  inset: auto 0 0 0;
  margin: 0 auto;
  width: 100%;
  max-width: 100vw;
  height: 42dvh;
  max-height: 92dvh;
  display: flex;
  flex-direction: column;
  padding: 0 0 env(safe-area-inset-bottom, 0px);
  border: 0;
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  color: var(--trio-ink, inherit);
  background: linear-gradient(color-mix(in srgb, var(--trio-surface) 42%, transparent), color-mix(in srgb, var(--trio-surface) 42%, transparent)), var(--cristal-base);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  box-shadow: 0 -10px 40px #5a1e2326, 0 -2px 8px #5a1e231a;
  translate: 0 0;
  animation: nav-hoja-entrada .36s cubic-bezier(.22,.72,.24,1);
}
html body dialog.account-inbox[data-hoja=true]:not([open]) { display: none; }
html body[data-home-theme=dark] dialog.account-inbox[data-hoja=true] { --cristal-base: rgb(18 13 14 / .6); box-shadow: 0 -20px 60px #000000a6; }
html body dialog.account-inbox[data-hoja=true]::backdrop { background: #0b070833; backdrop-filter: blur(2px); }
@media (min-width: 601px) {
  html body dialog.account-inbox[data-hoja=true] {
    inset: auto auto 16px 50%;
    translate: -50% 0;
    width: min(560px, 100vw - 32px);
    border-radius: 22px;
    animation: nav-hoja-entrada-ancha .36s cubic-bezier(.22,.72,.24,1);
  }
}
@keyframes nav-hoja-entrada { from { translate: 0 100%; } to { translate: 0 0; } }
@keyframes nav-hoja-entrada-ancha { from { translate: -50% 120%; } to { translate: -50% 0; } }
@media (prefers-reduced-motion: reduce) { html body dialog.account-inbox[data-hoja=true] { animation: none; } }
@media (prefers-reduced-transparency: reduce) {
  html body dialog.account-inbox[data-hoja=true] { background: var(--trio-surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
html body .nav-hoja-asa { display: grid; place-items: center; flex: none; height: 24px; cursor: grab; touch-action: none; }
html body .nav-hoja-asa span { width: 40px; height: 5px; border-radius: 99px; background: color-mix(in srgb, var(--trio-ink) 26%, transparent); }
html body dialog.account-inbox[data-hoja=true] .account-inbox-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 4px;
  padding: 0 12px 6px 16px;
  flex: none;
  touch-action: none;
}
html body dialog.account-inbox[data-hoja=true] .account-inbox-heading h2 { margin: 0; text-align: left; font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }
html body dialog[data-hoja=true] :is(header, .account-inbox-heading) > button:last-of-type {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  color: var(--trio-muted, inherit);
  font-size: 0;
  line-height: 0;
  justify-self: end;
}
html body dialog[data-hoja=true] :is(header, .account-inbox-heading) > button:last-of-type::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 4px;
  border-radius: var(--icono-radio, 6px);
  background: transparent;
  pointer-events: none;
}
html body dialog[data-hoja=true] :is(header, .account-inbox-heading) > button:last-of-type:is(:hover, :active):not(:disabled) {
  border-color: transparent;
  background: var(--icono-placa);
  color: var(--accion);
  box-shadow: none;
  transform: none;
}
html body dialog[data-hoja=true] :is(header, .account-inbox-heading) > button:last-of-type:is(:hover, :active):not(:disabled)::before {
  background: var(--icono-hover);
}
html body dialog[data-hoja=true] :is(header, .account-inbox-heading) > button:last-of-type :is(morph-icon, svg) {
  display: block;
  width: 18px;
  height: 18px;
  margin: auto;
}
/* Pestañas con indicador que se desliza (smooth-tab de Kokonut). */
html body dialog.account-inbox[data-hoja=true] .account-inbox-tabs {
  position: relative;
  display: flex;
  gap: 0;
  flex: none;
  margin: 0 14px 8px;
  padding: 3px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--trio-ink) 8%, transparent);
}
html body dialog.account-inbox[data-hoja=true] .account-inbox-tabs button {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 36px;
  border: 0 !important;
  border-radius: 9px;
  background: transparent;
  color: var(--trio-muted, inherit);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: none !important;
  transition: color 150ms ease;
}
html body dialog.account-inbox[data-hoja=true] .account-inbox-tabs button[aria-pressed=true] { color: var(--trio-ink, inherit); }
html body dialog.account-inbox[data-hoja=true] .account-inbox-tabs button:hover:not([aria-pressed=true]) { color: var(--trio-ink, inherit); }
html body .nav-indicador {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  width: 0;
  z-index: 0;
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 1px 2px #0000001a;
  pointer-events: none;
}
html body[data-home-theme=dark] .nav-indicador { background: rgb(255 255 255 / .14); box-shadow: none; }
html body dialog.account-inbox[data-hoja=true] .account-inbox-content { flex: 1; min-height: 0; padding: 0 12px 14px; overflow: auto; }
html body dialog.account-inbox[data-hoja=true] .account-inbox-content :is(.club-management-row, .club-network-transfer-notice) {
  margin: 0 0 2px;
  padding: 10px 10px !important;
  border: 0;
  border-radius: 12px;
  background: transparent;
  transition: background-color 150ms ease;
}
html body dialog.account-inbox[data-hoja=true] .account-inbox-content .club-management-row:hover { transform: none; box-shadow: none; background: color-mix(in srgb, var(--trio-ink) 5%, transparent); border-color: transparent; }
html body dialog.account-inbox[data-hoja=true] .account-inbox-content .club-management-row[data-seen=false] { background: color-mix(in srgb, var(--accion) 8%, transparent); border-color: transparent; }
html body dialog.account-inbox[data-hoja=true] .account-inbox-content .aviso-icono { width: 38px; height: 38px; border-radius: 11px; }
html body dialog.account-inbox[data-hoja=true] .account-inbox-content .club-management-row > strong { font-size: 14px; font-weight: 600; line-height: 1.3; }
/* ===== W-018 · Menú de cuenta como el account menu de Kokonut: cristal, filas planas, tema y moneda en línea ===== */
/* Cristal de los menús de cuenta y del club, con fondo sólido si se reduce la transparencia. */
html body dialog:is(#reference-account-menu,#reference-club-menu) {
  --menu-cristal: color-mix(in srgb, var(--trio-surface) 76%, transparent);
  border: 0;
  background: var(--menu-cristal);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  box-shadow: 0 18px 48px rgb(60 35 25 / .16);
}
html body[data-home-theme=dark] dialog:is(#reference-account-menu,#reference-club-menu) {
  box-shadow: 0 18px 48px rgb(0 0 0 / .45);
}
@media (prefers-reduced-transparency: reduce) {
  html body dialog:is(#reference-account-menu,#reference-club-menu) {
    --menu-cristal: var(--trio-surface);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
html body dialog.reference-menu.reference-menu[data-kind=account] {
  --cuenta-tinta: #1d1a18;
  --cuenta-suave: #7b726b;
  --cuenta-tinte: color-mix(in srgb, var(--trio-ink) 8%, transparent);
  --cuenta-linea: rgb(29 26 24 / .1);
  --cuenta-marca: #ffffff;
  position: fixed;
  inset: auto;
  left: var(--menu-left, 12px);
  top: var(--menu-top, 72px);
  width: var(--menu-ancho, 288px);
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - var(--menu-top, 72px) - 12px);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-radius: 16px;
  overflow: auto;
  scrollbar-width: none;
  color: var(--cuenta-tinta);
  translate: none !important;
}
html body[data-home-theme=dark] dialog.reference-menu.reference-menu[data-kind=account] {
  --cuenta-tinta: #f3eeea;
  --cuenta-suave: #a39a93;
  --cuenta-linea: rgb(255 255 255 / .12);
  --cuenta-marca: rgb(255 255 255 / .16);
}
html body dialog.reference-menu.reference-menu[data-kind=account]::backdrop { background: transparent; }
html body dialog.reference-menu.reference-menu[data-kind=account]:focus,
html body dialog.reference-menu.reference-menu[data-kind=account]:focus-visible { outline: 2px solid transparent !important; outline-offset: 0 !important; }
html body dialog.reference-menu.reference-menu[data-kind=account] .reference-account-desktop[hidden] { display: none !important; }

/* La X: un trazo, sin fondo ni borde. */
html body dialog.reference-menu.reference-menu[data-kind=account] > header.reference-menu-heading {
  position: absolute; top: 10px; right: 10px; z-index: 3; margin: 0; padding: 0; border: 0; background: none; display: block;
}
html body dialog.reference-menu.reference-menu[data-kind=account] > header.reference-menu-heading h2 {
  position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
}
html body dialog.reference-menu.reference-menu[data-kind=account] > header.reference-menu-heading button {
  display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 8px;
  background: transparent !important; box-shadow: none; color: var(--cuenta-suave); font-size: 20px; line-height: 1;
  transition: color 150ms ease, background-color 150ms ease;
}
html body dialog.reference-menu.reference-menu[data-kind=account] > header.reference-menu-heading button:is(:hover, :active):not(:disabled) {
  color: var(--accion); background: var(--icono-placa) !important; border-color: transparent; transform: none;
}

html body dialog.reference-menu.reference-menu[data-kind=account] .nav-cuenta-cuerpo { padding: 12px 6px 6px; }

/* Identidad: retrato, nombre y lo que es (como el avatar y el email de Kokonut). */
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-cuenta-identidad {
  display: flex; align-items: center; gap: 10px; padding: 0 34px 12px 8px;
}
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-cuenta-retrato .nav-avatar,
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-cuenta-retrato .mobile-groups-photo { width: 36px; height: 36px; }
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-cuenta-textos { display: grid; gap: 1px; min-width: 0; }
html body dialog.reference-menu.reference-menu[data-kind=account] p.reference-account-name {
  margin: 0; font-size: 14px; font-weight: 600; color: var(--cuenta-tinta); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-cuenta-rol { font-size: 12px; font-weight: 400; color: var(--cuenta-suave); }

html body #reference-account-menu .nav-cuenta-contexto:not([hidden]) {
  margin: 0 6px 6px;
  padding: 7px 9px;
  border: 1px solid var(--cuenta-linea);
  border-radius: 10px;
  background: var(--cuenta-tinte);
}
.nav-cuenta-contexto-texto { display: grid; gap: 2px; min-width: 0; }
.nav-cuenta-contexto-texto small { color: var(--cuenta-suave); font-size: 11px; }
.nav-cuenta-contexto-texto strong { color: var(--cuenta-tinta); font-size: 13px; line-height: 1.3; overflow-wrap: anywhere; }

html body #reference-account-menu .nav-cuenta-version .nav-cuenta-inicio {
  display: grid;
  flex: 0 0 28px;
  height: 28px;
  place-items: center;
  padding: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}
html body #reference-account-menu[data-home-profile=true] .nav-cuenta-version .nav-cuenta-inicio { display: none; }
html body #reference-account-menu .nav-cuenta-inicio:is(:hover, :active):not(:disabled) { background: var(--icono-placa); color: var(--accion); border-color: transparent; transform: none; }
html body #reference-account-menu .nav-cuenta-inicio img { width: 18px; height: 18px; }

html body dialog.reference-menu.reference-menu[data-kind=account] .nav-cuenta-separador {
  height: 1px; margin: 6px 10px; background: var(--cuenta-linea);
}

/* Menú del club, alineado con el botón inferior. */
html body #reference-club-menu {
  --club-panel-bottom: calc(var(--club-menu-bottom) + var(--club-menu-button-size) + 8px);
  position: fixed;
  inset: auto var(--club-menu-right) var(--club-panel-bottom) auto;
  box-sizing: border-box;
  inline-size: min(352px, calc(100% - var(--club-menu-right) - max(12px, env(safe-area-inset-left))));
  max-block-size: calc(100dvh - var(--club-panel-bottom) - max(12px, env(safe-area-inset-top)));
  overflow: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 12px;
  border-radius: 14px;
  color: var(--trio-ink);
  --nav-accent: var(--accion);
  --nav-icon: var(--secundaria);
  --nav-ink: var(--trio-ink);
}
html body #reference-club-menu::backdrop { background: #150d0e1a; }
html body #reference-club-menu .reference-menu-heading button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  border-radius: 8px;
  background: transparent;
  color: var(--trio-muted);
}
html body #reference-club-menu .reference-menu-heading button:is(:hover, :active):not(:disabled) { background: var(--icono-placa); color: var(--accion); border-color: transparent; transform: none; }
html body #reference-club-menu .reference-menu-heading h2 { font-size: 16px; }
html body #reference-club-menu .reference-menu-heading { margin-block-end: 4px; }
html body #reference-club-menu .reference-club-menu-items { gap: 2px; }
html body #reference-club-menu .reference-club-menu-items button {
  min-height: 40px;
  padding: 5px 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--trio-ink);
  box-shadow: none;
  font: 560 14px/1.25 system-ui, sans-serif;
  text-align: start;
}
html body #reference-club-menu .reference-club-menu-items button:hover { background: var(--secundaria-hover); }
html body #reference-club-menu .reference-club-menu-icon {
  position: relative;
  background: transparent;
  color: var(--accion);
}
html body #reference-club-menu button:hover:not(:focus-visible) { outline: 2px solid transparent; outline-offset: 0; }
html body #reference-club-menu button:focus-visible { outline: 2px solid var(--anillo); outline-offset: -3px; }

/* Versión: globo, «Web N» y, si hay una nueva, actualizar. Compartir va a la derecha, pequeño y sin borde. */
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-cuenta-version {
  display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 4px 0 10px; font-size: 13px; color: var(--cuenta-suave);
}
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-cuenta-version-icono { display: grid; place-items: center; width: 16px; height: 16px; flex: none; }
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-cuenta-version .club-web-version { display: flex; align-items: center; gap: 6px; min-width: 0; flex: 1; }
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-cuenta-version .club-web-version[hidden] { display: none; }
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-cuenta-version small { font-size: 13px; font-weight: 500; color: var(--cuenta-tinta); }
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-cuenta-version .club-web-update {
  display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--accion, #8d4b32);
}
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-cuenta-version .club-web-update:is(:hover, :active):not(:disabled) { background: var(--icono-placa); color: var(--accion); border-color: transparent; transform: none; }
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-cuenta-version .club-web-update[hidden] { display: none; }
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-cuenta-version .club-web-update morph-icon { display: block; width: 16px; height: 16px; }
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-compartir {
  display: grid; place-items: center; width: 28px; height: 28px; margin-left: auto; padding: 0; border: 0; border-radius: 8px;
  background: transparent; color: var(--cuenta-suave); box-shadow: none;
  transition: color 150ms ease, background-color 150ms ease;
}
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-compartir:is(:hover, :active):not(:disabled) { color: var(--accion); background: var(--icono-placa); border-color: transparent; transform: none; }
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-compartir morph-icon,
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-compartir svg { display: block; width: 16px; height: 16px; }

/* Filas de ajuste (Tema, Ver importes en): etiqueta a la izquierda, control a la derecha, como en Kokonut. */
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-cuenta-ajuste {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; padding: 0 6px 0 10px;
}
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-cuenta-ajuste[hidden] { display: none; }
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-cuenta-etiqueta { font-size: 13px; color: var(--cuenta-suave); }

/* Tema: el switch de Kokonut. Dos iconos en una pastilla; la marca blanca se desliza hasta la opción activa. */
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-tema {
  position: relative; display: flex; padding: 2px; border-radius: 10px; background: var(--cuenta-tinte);
}
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-tema-marca {
  position: absolute; top: 2px; bottom: 2px; left: 0; width: 0; border-radius: 8px;
  background: var(--cuenta-marca); box-shadow: 0 1px 2px rgb(0 0 0 / .08);
}
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-tema-opcion {
  position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 28px; padding: 0; border: 0; border-radius: 8px;
  background: transparent; color: var(--cuenta-suave); box-shadow: none; transition: color 150ms ease;
}
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-tema-opcion:hover,
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-tema-opcion[aria-checked=true] { color: var(--cuenta-tinta); }
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-tema-opcion:focus-visible { outline: 2px solid var(--cuenta-tinta); outline-offset: 1px; }
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-tema-opcion morph-icon,
html body dialog.reference-menu.reference-menu[data-kind=account] .nav-tema-opcion svg { display: block; width: 14px; height: 14px; }

/* Ver importes en: como el selector de status de Kokonut (punto + texto), cambia al tocarlo. */
html body dialog.reference-menu.reference-menu[data-kind=account] .display-currency-options { display: flex; gap: 2px; min-inline-size: 0; }
html body dialog.reference-menu.reference-menu[data-kind=account] .display-currency-options:not([data-scroll]) { flex-shrink: 0; }
html body dialog.reference-menu.reference-menu[data-kind=account] .display-currency-options[data-scroll] {
  inline-size: 190px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
html body dialog.reference-menu.reference-menu[data-kind=account] .display-currency-options[data-scroll]::-webkit-scrollbar { display: none; }
html body dialog.reference-menu.reference-menu[data-kind=account] .display-currency-options[data-scroll] .display-currency-option {
  flex: 0 0 60px;
  justify-content: center;
}
html body dialog.reference-menu.reference-menu[data-kind=account] :is(.display-currency-options, .display-currency-review)[hidden] { display: none; }
html body dialog.reference-menu.reference-menu[data-kind=account] :is(.display-currency-option, .display-currency-review) {
  display: flex; flex: none; white-space: nowrap; align-items: center; gap: 6px; height: 28px; padding: 0 8px; border: 0; border-radius: 8px;
  background: transparent; color: var(--cuenta-suave); font-size: 12.5px; font-weight: 500; box-shadow: none;
  transition: color 150ms ease, background-color 150ms ease;
}
html body dialog.reference-menu.reference-menu[data-kind=account] .display-currency-option::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cuenta-linea); transition: background-color 200ms ease;
}
html body dialog.reference-menu.reference-menu[data-kind=account] :is(.display-currency-option, .display-currency-review):hover { background: var(--cuenta-tinte); color: var(--cuenta-tinta); }
html body dialog.reference-menu.reference-menu[data-kind=account] .display-currency-option[aria-checked=true] { color: var(--cuenta-tinta); }
html body dialog.reference-menu.reference-menu[data-kind=account] .display-currency-option[aria-checked=true]::before { background: var(--accion, #8d4b32); }
html body dialog.reference-menu.reference-menu[data-kind=account] :is(.display-currency-option, .display-currency-review):focus-visible { outline: 2px solid var(--cuenta-tinta); outline-offset: -2px; }
html body dialog.reference-menu.reference-menu[data-kind=account] .display-player-debt:not([hidden]) {
  display: table;
  margin: 0 6px 4px 10px;
}

/* Acciones: icono de 16 px, texto de 14 px y un tinte suave al pasar el cursor (ITEM_CLASS de Kokonut), sin caja ni borde. */
html body dialog.reference-menu.reference-menu[data-kind=account] .reference-profile-menu { display: grid; gap: 1px; }
html body dialog.reference-menu.reference-menu[data-kind=account] .reference-profile-row {
  display: flex !important; align-items: center; gap: 10px; width: 100%; min-height: 38px; margin: 0; padding: 8px 10px;
  border: 0 !important; border-radius: 10px !important; background: transparent !important; background-image: none !important;
  box-shadow: none !important; transform: none !important; color: var(--cuenta-tinta); font-size: 14px; font-weight: 450;
  text-align: left; text-decoration: none; outline: none;
  transition: background-color 120ms ease;
}
/* Un solo hover: el de la propia fila (pintado al pasar el cursor). El resaltado que sigue al cursor (.nav-resalte) queda oculto. */
html body dialog.reference-menu.reference-menu[data-kind=account] .reference-profile-row:hover:not(:disabled),
html body dialog.reference-menu.reference-menu[data-kind=account] .reference-profile-row:focus-visible { background: var(--cuenta-tinte) !important; }
html body dialog[data-kind=account] .nav-resalte { display: none; }
html body dialog.reference-menu.reference-menu[data-kind=account] .reference-profile-glyph {
  display: grid; place-items: center; flex: none; width: 16px; height: 16px; padding: 0; border-radius: 0;
  background: none !important; color: var(--cuenta-suave); transition: color 120ms ease;
}
html body dialog.reference-menu.reference-menu[data-kind=account] .reference-profile-glyph > * { width: 16px; height: 16px; display: block; }
html body dialog.reference-menu.reference-menu[data-kind=account] .reference-profile-row:hover .reference-profile-glyph { color: var(--cuenta-tinta); }
html body dialog.reference-menu.reference-menu[data-kind=account] .reference-profile-signout,
html body dialog.reference-menu.reference-menu[data-kind=account] .reference-profile-signout .reference-profile-glyph { color: #c2373c; }
html body[data-home-theme=dark] dialog.reference-menu.reference-menu[data-kind=account] .reference-profile-signout,
html body[data-home-theme=dark] dialog.reference-menu.reference-menu[data-kind=account] .reference-profile-signout .reference-profile-glyph { color: #ff8a85; }


/* W-036 · Aceptar y rechazar de las solicitudes: botones compactos de icono a la derecha del aviso, no debajo. */
html body dialog.account-inbox .account-inbox-content .club-management-row:has(> .aviso-decisiones) { grid-template-columns: 34px minmax(0, 1fr) auto; }
html body dialog.account-inbox .account-inbox-content .club-management-row > .aviso-decisiones {
  grid-column: 3;
  grid-row: 1 / -1;
  align-self: center;
  justify-self: end;
  display: flex;
  flex-direction: row;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
html body dialog.account-inbox .account-inbox-content .club-management-row > .aviso-decisiones button.aviso-decision {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  min-height: 0;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--secundaria, #e6e1d8);
  color: var(--secundaria-tinta, #292d33);
  font-size: 0;
  line-height: 0;
  box-shadow: none;
}
html body dialog.account-inbox .account-inbox-content .club-management-row > .aviso-decisiones button.aviso-decision.primary {
  background: color-mix(in srgb, var(--accion) 18%, transparent);
  color: var(--accion);
}
html body dialog.account-inbox .account-inbox-content .club-management-row > .aviso-decisiones button.aviso-decision:hover:not(:disabled) {
  background: color-mix(in srgb, var(--trio-ink, #292d33) 12%, transparent);
  color: var(--trio-ink, #292d33);
}
html body dialog.account-inbox .account-inbox-content .club-management-row > .aviso-decisiones button.aviso-decision.primary:hover:not(:disabled) {
  background: var(--accion);
  color: var(--accion-tinta, #fff);
}
html body dialog.account-inbox .account-inbox-content .club-management-row > .aviso-decisiones .aviso-decision-icono { width: 14px; height: 14px; }

/* W-038 · Iconos de aceptar y rechazar centrados: flex en lugar de cuadrícula (el texto oculto ya no crea una fila extra). */
html body dialog.account-inbox .account-inbox-content .club-management-row > .aviso-decisiones button.aviso-decision {
  display: flex;
  align-items: center;
  justify-content: center;
}
html body dialog.account-inbox .account-inbox-content .club-management-row > .aviso-decisiones .aviso-decision-icono {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 14px;
  height: 14px;
  margin: 0;
  line-height: 0;
}
html body dialog.account-inbox .account-inbox-content .club-management-row > .aviso-decisiones .aviso-decision-icono morph-icon,
html body dialog.account-inbox .account-inbox-content .club-management-row > .aviso-decisiones .aviso-decision-icono svg {
  display: block !important;
  width: 14px;
  height: 14px;
}

/* W-039 · Iconos centrados (sin el hueco de 6 px que hereda el botón) y hover con morphicons en aceptar y rechazar. */
html body dialog.account-inbox .account-inbox-content .club-management-row > .aviso-decisiones button.aviso-decision { gap: 0; }
html body dialog.account-inbox .account-inbox-content .club-management-row > .aviso-decisiones button.aviso-decision:hover:not(:disabled) { transform: none; }

/* Las filas usan un solo resaltado. El panel entra desde el botón inferior. */
html body #reference-club-menu .reference-club-menu-items button:is(:hover, :active):not(:disabled) {
  background: var(--secundaria-hover);
  border-color: transparent;
  box-shadow: none;
  transform: none;
}
html body #reference-club-menu .reference-club-menu-items button:is(:hover, :active):not(:disabled)::before { content: none; }
html body dialog#reference-club-menu:focus, html body dialog#reference-club-menu:focus-visible { outline: 2px solid transparent !important; outline-offset: 0 !important; box-shadow: none !important; }
html body dialog#reference-club-menu {
  transition: translate .22s cubic-bezier(.22, .72, .24, 1), opacity .18s ease-out, overlay .22s allow-discrete, display .22s allow-discrete;
}
html body dialog#reference-club-menu:modal { translate: 0 0; opacity: 1; }
html body dialog#reference-club-menu:not([open]) { translate: 0 10px; opacity: 0; }
@starting-style { html body dialog#reference-club-menu:modal { translate: 0 10px; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { html body dialog#reference-club-menu { transition: none; } }
