/* =========================================================================
   LOUNGE GLASS MENUS — Home and Pause.
   The live pool table with randomly scattered balls fills the stage behind
   the Home menu. Loaded after base/home css.
   ========================================================================= */

/* ---- Full-stage live table on Home -------------------------------------- */
body.is-home .hud-top,
body.is-home .hud-bottom {
  display: none;
}
body.is-home .app {
  padding: 12px 16px;
  gap: 0;
}
.home-overlay {
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(5, 9, 16, 0.22) 0%,
    rgba(4, 7, 13, 0.72) 100%
  );
  backdrop-filter: none;
}

/* ---- Rules & Controls modals above Home and Pause ----------------------- */
#rules-modal,
#gamepad-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  border-radius: 0;
}

/* ---- Glassmorphic Cards -------------------------------------------------- */
.home-card,
.pause-modal-card {
  background: linear-gradient(
    180deg,
    rgba(13, 19, 31, 0.86) 0%,
    rgba(8, 12, 20, 0.93) 100%
  );
  border: 1px solid rgba(250, 204, 21, 0.28);
  border-radius: 20px;
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px) saturate(1.18);
}
.home-card {
  width: min(720px, 96vw);
  padding: 20px 24px 16px;
  gap: 10px;
}
.pause-modal-card {
  width: min(460px, 94vw);
  padding: 20px 24px 16px;
  gap: 10px;
}

/* ---- Titles & Headers ---------------------------------------------------- */
.home-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #d4a106;
}
.home-title {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.42em;
  padding-left: 0.42em; /* balance trailing letter-spacing */
  background: linear-gradient(180deg, #fffbeb 0%, #fde68a 52%, #eab308 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pause-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}
.pause-modal-card h2 {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.36em;
  padding-left: 0.36em;
  text-transform: uppercase;
  color: #fde68a;
  margin-bottom: 0;
}
.pause-context {
  display: inline-flex;
  align-items: center;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(250, 204, 21, 0.22);
}
.pause-context.hidden {
  display: none;
}

/* ---- Tabs: clean underline bar ------------------------------------------ */
.menu-tabs {
  gap: 8px;
  margin: 0 auto 2px;
}
.menu-tabs-rail {
  max-width: none;
  flex: none;
  gap: 24px;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}
.menu-tab {
  flex: none;
  padding: 4px 2px 6px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.14s, border-color 0.14s;
}
.menu-tab:hover {
  color: #cbd5e1;
}
.menu-tab.active {
  background: none;
  box-shadow: none;
  color: #fde68a;
  border-bottom-color: #facc15;
}
.menu-tab-icon {
  display: inline-flex;
  margin-right: 6px;
}
.menu-tab-key {
  transform: scale(0.85);
  opacity: 0.5;
}

/* The game format is a standard choice row: 1 or 3 tables. */
.menu-mini-faces {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-right: 8px;
  vertical-align: middle;
}
.menu-mini-faces .menu-mini-face {
  width: 25px;
  height: 25px;
  margin: 0;
}
.menu-team-member {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.menu-team-member + .menu-team-member {
  margin-left: 8px;
}
.menu-team-member > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.menu-mini-face-button {
  padding: 0;
  cursor: pointer;
}
.menu-mini-face-button:hover {
  border-color: rgba(250, 204, 21, 0.95);
  filter: brightness(1.12);
}

/* ---- Menu Rows ----------------------------------------------------------- */
.menu-list {
  width: 100%;
  gap: 0;
}
.menu-row {
  min-height: 42px;
  padding: 5px 8px 5px 14px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  background: none;
  position: relative;
}
.menu-row:hover {
  background: rgba(255, 255, 255, 0.03);
}
.menu-row.focused {
  border-color: rgba(255, 255, 255, 0.06);
  background: linear-gradient(90deg, rgba(250, 204, 21, 0.1), transparent 78%);
  box-shadow: none;
}
.menu-row.focused::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 3px;
  border-radius: 2px;
  background: #facc15;
}
.menu-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #cbd5e1;
}
.menu-row.focused .menu-label {
  color: #f8fafc;
}
.menu-choice {
  min-width: 224px;
  justify-content: space-between;
}
.menu-value {
  flex: 1;
  min-width: 146px;
  font-size: 13.5px;
  font-weight: 700;
  color: #fde68a;
}
.menu-arrow {
  width: 26px;
  height: 26px;
  border: 0;
  background: none;
  color: #fde047;
  font-size: 11px;
  opacity: 0.28;
  transition: opacity 0.12s, transform 0.1s;
}
.menu-row.focused .menu-arrow,
.menu-row:hover .menu-arrow,
body.touch-device .menu-arrow {
  opacity: 1;
  border: 0;
}
.menu-arrow:hover {
  transform: scale(1.15);
}
.menu-row.confirming {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.16), transparent 80%);
}
.menu-row.confirming::before {
  background: #f87171;
}

/* Primary gold CTA (Jugar / Continuar) */
.menu-row.menu-primary {
  min-height: 46px;
  margin-top: 12px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #facc15 0%, #d4a106 100%);
  color: #1c1917;
  box-shadow: 0 8px 24px rgba(234, 179, 8, 0.24);
}
.menu-row.menu-primary:hover {
  background: linear-gradient(180deg, #fde047 0%, #eab308 100%);
}
.menu-row.menu-primary::before {
  display: none;
}
.menu-row.menu-primary .menu-label {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #1c1917;
}
.menu-row.menu-primary.focused {
  box-shadow:
    0 0 0 3px rgba(250, 204, 21, 0.32),
    0 10px 26px rgba(234, 179, 8, 0.3);
  transform: none;
}

.menu-mini-face {
  width: 26px;
  height: 26px;
  border-width: 1px;
}

/* Section headings inside a menu */
.menu-section {
  width: 100%;
  text-align: left;
  margin: 10px 0 2px;
  padding-left: 14px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ca8a04;
}
.menu-section.hidden {
  display: none;
}

/* ---- Footer links & hints ------------------------------------------------ */
.home-secondary-row,
.pause-secondary-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.home-secondary-row .btn,
.pause-secondary-row .btn {
  background: none;
  border: 0;
  color: #94a3b8;
  font-size: 11px;
  padding: 4px 8px;
}
.home-secondary-row .btn:hover,
.pause-secondary-row .btn:hover {
  color: #f8fafc;
}
.home-pad-hint,
.pause-footer-hint {
  font-size: 10px;
  color: #64748b;
  text-align: center;
}
.home-pad-hint .pad-key,
.pause-footer-hint .pad-key {
  transform: scale(0.9);
}
.home-personalize {
  align-self: center;
}
.home-personalize.hidden,
#home-start-hint.hidden {
  display: none;
}

/* ---- Narrow & short screens --------------------------------------------- */
@media (max-width: 560px) {
  .home-card,
  .pause-modal-card {
    padding: 16px 14px 14px;
  }
  .menu-choice {
    min-width: 0;
  }
}
@media (max-height: 620px) {
  .home-card,
  .pause-modal-card {
    padding: 14px 20px 12px;
    gap: 6px;
  }
  .menu-row {
    min-height: 36px;
  }
  .menu-row.menu-primary {
    min-height: 40px;
    margin-top: 8px;
  }
}

/* Calm, readable menu palette: warm ivory text with a muted sage focus cue. */
.home-card,
.pause-modal-card {
  border-color: rgba(169, 190, 180, 0.22);
}
.home-title {
  background: none;
  color: #e2e4d9;
  -webkit-text-fill-color: #e2e4d9;
}
.home-eyebrow,
.menu-section {
  color: #b8b39c;
}
.home-badge {
  color: #e2e2d7;
  background: rgba(164, 181, 170, 0.09);
  border-color: rgba(164, 181, 170, 0.24);
}
.home-value-tag,
.pause-modal-card h2,
.menu-value,
.menu-tab.active {
  color: #e5e1d2;
}
.menu-tab.active {
  border-bottom-color: #9fb4a8;
}
.menu-row.focused {
  background: linear-gradient(90deg, rgba(150, 178, 163, 0.11), transparent 78%);
}
.menu-row.focused::before {
  background: #9fb4a8;
}
.menu-row.focused .menu-arrow,
.menu-row:hover .menu-arrow,
body.touch-device .menu-arrow {
  color: #c7d4cc;
}
.home-section.focused {
  border-color: rgba(159, 180, 168, 0.66);
  background: rgba(150, 178, 163, 0.08);
  box-shadow: 0 0 14px rgba(128, 156, 142, 0.1);
}
.menu-row.menu-primary {
  background: linear-gradient(180deg, #d2c9ad 0%, #b7ad90 100%);
  color: #1b211e;
  box-shadow: 0 6px 18px rgba(169, 157, 123, 0.12);
}
.menu-row.menu-primary:hover {
  background: linear-gradient(180deg, #ded6be 0%, #c5baa0 100%);
}
.menu-row.menu-primary.focused {
  box-shadow:
    0 0 0 2px rgba(180, 192, 178, 0.2),
    0 8px 20px rgba(169, 157, 123, 0.16);
}
.diff-pill.active {
  background: #b8ad8d;
  border-color: #d5ccb2;
  color: #1b211e;
}
.home-pad-hint,
.pause-footer-hint {
  color: #8491a3;
}

/* Home is also a ten-foot interface: keep the selected tab and active row distinct. */
.home-card {
  --home-ink: #eef1e9;
  --home-muted: #b5c0bf;
  --home-accent: #b6dbc8;
  --home-line: #344445;
  width: min(760px, 96vw);
  padding: 22px 28px 18px;
  gap: 14px;
  background: linear-gradient(155deg, #172525, #101919 55%, #0d1518);
  border-color: #405351;
  scroll-padding-block: 66px 22px;
  scrollbar-width: thin;
  scrollbar-color: #607e74 #101919;
}
.home-card .home-title {
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: .28em;
  padding-left: .28em;
}
.home-card .menu-tabs {
  position: sticky;
  z-index: 2;
  top: 0;
  padding: 3px 0 9px;
  margin: 0 0 6px;
  background: #152121;
}
.home-card .menu-tabs-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  flex: 1;
  max-width: 550px;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--home-line);
  border-radius: 13px;
  background: #0c1517;
}
.home-card .menu-tab {
  min-height: 44px;
  padding: 6px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--home-muted);
  font-size: 14px;
  letter-spacing: .035em;
  white-space: nowrap;
}
.home-card .menu-tab.active {
  background: var(--home-accent);
  color: #14251e;
  border-color: #cfe8db;
  box-shadow: none;
}
.home-card .menu-tab:not(.active):hover {
  background: #213232;
  color: var(--home-ink);
}
.home-card .menu-tab-key {
  opacity: 1;
  transform: none;
  color: var(--home-ink);
}
.home-card .menu-section {
  margin: 9px 0 3px;
  padding-left: 12px;
  color: var(--home-muted);
  font-size: 11px;
  letter-spacing: .12em;
}
.home-card .menu-row {
  min-height: 43px;
  border: 1px solid transparent;
  border-bottom-color: #293939;
  border-radius: 8px;
  font: inherit;
}
.home-card .menu-row:not(.menu-primary).focused {
  background: #263b36;
  border-color: var(--home-accent);
  outline: none;
}
.home-card .menu-row:not(.menu-primary).confirming {
  background: #492a2f;
  border-color: #fb9da4;
}
.home-card .menu-row.focused::before { display: none; }
.home-card .menu-label,
.home-card .menu-value {
  color: var(--home-ink);
  font-size: 15px;
}
.home-card .menu-row > .menu-choice {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  width: min(61%, 325px);
  min-width: 0;
  gap: 4px;
}
.home-card .menu-value {
  min-width: 0;
  gap: 5px;
  text-align: center;
  overflow-wrap: anywhere;
}
.home-card .menu-arrow {
  width: 34px;
  height: 32px;
  opacity: 1;
  color: #c1d1cc;
  border: 1px solid #405653;
  border-radius: 7px;
  background: #172725;
}
.home-card .menu-row.focused .menu-arrow {
  color: #1b3228;
  background: #b6dbc8;
}
.home-card .menu-row.menu-primary {
  min-height: 49px;
  border-color: #e1d8b8;
  color: #1b211e;
}
.home-card .menu-row.menu-primary .menu-label {
  color: inherit;
  font-size: 17px;
}
.home-card .menu-row.menu-primary.focused {
  outline: 2px solid #f3edda;
  outline-offset: 2px;
}
.home-card button:focus-visible {
  outline: 2px solid #f3edda;
  outline-offset: 2px;
}
.home-card .home-pad-hint {
  gap: 14px;
  color: var(--home-muted);
  font-size: 12px;
}
.home-card .home-personalize {
  padding: 6px 13px;
  min-height: 32px;
  font-size: 13px;
  color: var(--home-ink);
}
.home-profile-title {
  margin: 0;
  color: var(--home-ink);
  font-size: 19px;
  text-align: center;
}
.home-card .portrait-card {
  align-items: center;
  gap: 9px;
}
.home-card .portrait-card.focused {
  border-color: var(--home-accent);
  outline: 1px solid var(--home-accent);
  background: #263b36;
  box-shadow: none;
}
.home-card .portrait-gallery-strip {
  justify-content: center;
}
.profile-portrait-option {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 5px 12px;
  border: 1px solid #405653;
  border-radius: 9px;
  background: #172725;
  color: #eef1e9;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.profile-portrait-option[aria-pressed="true"] {
  border-color: #b6dbc8;
  background: #344e45;
}
.profile-portrait-option .portrait-thumb {
  width: 42px;
  height: 42px;
  pointer-events: none;
}
.tv-mode .home-card .menu-row:not(.menu-primary).focused {
  box-shadow: inset 0 0 0 1px var(--home-accent);
}
@media (max-width: 560px) {
  .home-card { padding: 15px 12px 12px; }
  .home-card .menu-tab { font-size: 12px; }
  .home-card .menu-tab-icon { margin-right: 3px; }
  .home-card .menu-row { gap: 5px; padding-inline: 7px; }
  .home-card .menu-label,
  .home-card .menu-value { font-size: 13px; }
  .home-card .menu-row > .menu-choice {
    width: min(65%, 290px);
    grid-template-columns: 26px minmax(0, 1fr) 26px;
  }
  .home-card .menu-arrow { width: 26px; }
}
@media (max-width: 420px) {
  .home-card .menu-tab-icon { display: none; }
  .home-card .menu-tabs { gap: 3px; }
  .home-card .menu-tab { padding-inline: 2px; }
}
@media (max-height: 620px) {
  .home-card { padding-block: 11px; gap: 8px; }
  .home-card .home-title { font-size: 24px; }
  .home-card .menu-row { min-height: 38px; }
  .home-card .menu-tab { min-height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-card,
  .home-card * { animation: none; transition: none; }
}
.home-card .portrait-gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.profile-portrait-option:disabled {
  opacity: 0.48;
  cursor: default;
}
@media (min-width: 700px) {
  .home-card .portrait-gallery-strip {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}
.profile-portrait-option {
  padding-inline: 3px;
  font-size: 12px;
}
.home-card .portrait-gallery-box.section-focused {
  border-color: var(--home-accent);
  box-shadow: inset 0 0 0 1px rgba(182, 219, 200, 0.35);
}
.home-card .portrait-card.section-active {
  box-shadow: 0 0 0 2px rgba(182, 219, 200, 0.45);
}
.portrait-card-cue-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--home-muted);
  letter-spacing: 0.02em;
}
.cue-gallery-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: 6px;
}
@media (min-width: 700px) {
  .cue-gallery-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.profile-cue-option {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 6px 6px 5px;
  border: 1px solid #405653;
  border-radius: 9px;
  background: #172725;
  color: #eef1e9;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.profile-cue-option:hover {
  border-color: rgba(182, 219, 200, 0.65);
  background: #213633;
}
.profile-cue-option[aria-pressed="true"] {
  border-color: #b6dbc8;
  background: #344e45;
}
.cue-thumb-canvas {
  width: 100%;
  height: 20px;
  display: block;
  pointer-events: none;
}

/* Bottom actions share one surface and keep motion tied to interaction. */
.home-card .home-command-bar {
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 0;
  padding: 8px 10px;
  border: 1px solid #30413e;
  border-radius: 11px;
  background: #101c1c;
}
.home-card .home-command-bar .home-pad-hint {
  margin-inline-start: auto;
  gap: 12px;
}
.home-card .home-command {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.home-card .home-command.hidden,
.home-card .home-start-alternative,
.home-card .home-pad-hint[data-action="start"] #home-start-hint {
  display: none;
}
.home-card .home-pad-hint[data-action="start"] .home-start-alternative {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.home-card .home-command .pad-key {
  transform: none;
}
.home-card .home-personalize {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #435953;
  border-radius: 8px;
  background: #233632;
}
.home-card .home-personalize:hover {
  background: #344b43;
  border-color: var(--home-accent);
}
.home-card .home-personalize.hidden {
  display: none;
}
.home-card .home-profile-actions .home-step2-cta-row {
  width: auto;
  flex-wrap: wrap;
}
.home-card .menu-row.menu-primary {
  background: linear-gradient(180deg, #ddd8bc, #b9b393);
}
.home-card .menu-row.menu-primary:hover,
.home-card .menu-row.menu-primary.focused {
  background: linear-gradient(180deg, #eee8ce, #c5bea0);
}
@media (max-width: 520px) {
  .home-card .home-command-bar { justify-content: center; }
  .home-card .home-command-bar .home-pad-hint { margin-inline-start: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .home-card .home-command-bar {
    animation: pool-command-enter 180ms ease-out both;
  }
  .home-card .menu-row.menu-primary,
  .home-card .home-command-bar button {
    transition: transform 130ms ease-out, background-color 130ms ease-out, border-color 130ms ease-out;
  }
  .home-card .menu-row.menu-primary.focused {
    animation: pool-primary-focus 180ms ease-out;
  }
  .home-card .menu-row.menu-primary:active,
  .home-card .home-command-bar button:active {
    transform: translateY(1px) scale(.99);
  }
  /* Alternate animation names so each change can enter once without a timer. */
  .home-pad-hint[data-action="change"] #home-accept-hint { animation: pool-hint-change 150ms ease-out; }
  .home-pad-hint[data-action="start"] #home-accept-hint { animation: pool-hint-start 150ms ease-out; }
  .home-pad-hint[data-action="accept"] #home-accept-hint { animation: pool-hint-accept 150ms ease-out; }
  @keyframes pool-command-enter {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes pool-primary-focus {
    from { transform: scale(.992); }
    to { transform: scale(1); }
  }
  @keyframes pool-hint-change { from { opacity: .55; } }
  @keyframes pool-hint-start { from { opacity: .55; } }
  @keyframes pool-hint-accept { from { opacity: .55; } }
}

/* Table options share an arrow column and a centered value in both menus. */
#pause-rows:has(.menu-tab.active[data-tab="mesa"]) > .menu-row > .menu-choice {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 30px;
  width: min(65%, 240px);
  flex: 0 1 auto;
  min-width: 0;
  gap: 4px;
}
#pause-rows:has(.menu-tab.active[data-tab="mesa"]) .menu-arrow {
  justify-self: center;
}
:is(#home-rows, #pause-rows):has(.menu-tab.active[data-tab="mesa"]) .menu-value {
  display: grid;
  min-width: 0;
  place-items: center;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Compact seat markers, grouped under each team in doubles. */
#home-rows:has([data-row="lado0pareja"]:not(.hidden)) > :is([data-row="lado0"], [data-row="lado0pareja"], [data-row="lado1"], [data-row="lado1pareja"]) > .menu-label {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  min-height: 25px;
  padding-inline: 5px;
  border: 1px solid #506962;
  border-radius: 6px;
  background: #1b2b28;
  color: #e1ebe5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .035em;
}

/* Keep both seats of each team visible together when there is room. */
@media (min-width: 850px) {
  .home-card:has(#home-rows [data-row="lado0pareja"]:not(.hidden)) {
    width: min(920px, 96vw);
  }
  #home-rows:has([data-row="lado0pareja"]:not(.hidden)) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 10px;
  }
  #home-rows:has([data-row="lado0pareja"]:not(.hidden)) > * { grid-column: 1 / -1; }
  #home-rows:has([data-row="lado0pareja"]:not(.hidden)) > :is([data-row="lado0"], [data-row="lado0pareja"], [data-row="lado1"], [data-row="lado1pareja"]) {
    grid-column: auto;
  }
  #home-rows:has([data-row="lado0pareja"]:not(.hidden)) > :is([data-row="lado0"], [data-row="lado0pareja"], [data-row="lado1"], [data-row="lado1pareja"]) > .menu-choice {
    width: min(72%, 265px);
  }
}

.menu-tabs.hidden, .menu-tab.hidden { display: none; }
