/* ============================================
   LUUM PADEL & SOCIAL CLUB
   Paleta: blanco, niebla, tinta, verde agave y amarillo pelota (solo para reservar)
   ============================================ */
:root {
  --white: #ffffff;
  --mist: #eef2ef;
  --ink: #18221f;
  --muted: #5b6964;
  --line: #dce3df;
  --agave: #2c6a5c;
  --agave-deep: #1e4a40;
  --ball: #dfec5e;
  --danger: #a5321f;

  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
}
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.5rem; letter-spacing: -0.015em; }

:focus-visible { outline: 2px solid var(--agave); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--ink); color: #fff;
  font: 600 .95rem/1 var(--body);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--agave-deep); }
.btn-ball { background: var(--ball); color: var(--ink); }
.btn-ball:hover { background: #d1df48; }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(127,127,127,.12); }
.btn-lg { padding: 1.1em 2.1em; font-size: 1.05rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.has-hero .site-header {
  position: fixed; left: 0; right: 0;
  background: transparent; border-color: transparent; color: #fff;
  backdrop-filter: none;
  transition: background .25s, color .25s, border-color .25s;
}
.has-hero .site-header.is-solid {
  background: rgba(255,255,255,.95); color: var(--ink); border-color: var(--line);
  backdrop-filter: blur(10px);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: baseline; gap: .55em; text-decoration: none; }
.brand-mark { font-family: var(--display); font-weight: 800; font-size: 1.75rem; letter-spacing: -.05em; line-height: 1; }
.brand-sub { font-size: .8rem; opacity: .75; white-space: nowrap; }
.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { border-color: currentColor; }
.nav-links a[aria-current="page"] { border-color: currentColor; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { padding: .7em 1.2em; }
.nav-toggle { display: none; background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .brand-sub { display: none; }
  .nav-menu {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 24px;
    background: #fff; color: var(--ink);
    padding: 28px 24px 32px; border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; gap: 14px; }
  .nav-links a { font-size: 1.25rem; }
  .has-hero .site-header.menu-open { background: #fff; color: var(--ink); }
}

/* ---------- Hero con video ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 560px;
  overflow: hidden; color: #fff;
  background: var(--agave-deep);
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,22,19,.72) 0%, rgba(12,22,19,.12) 55%, rgba(12,22,19,.38) 100%);
}
.hero-content {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding-bottom: clamp(48px, 9vh, 104px);
}
.hero-mark {
  font-size: clamp(6rem, 23vw, 19rem);
  font-weight: 800; letter-spacing: -.065em; line-height: .78;
  margin-left: -.045em;
}
.hero-sub { font-size: clamp(1.15rem, 2vw, 1.55rem); margin: 22px 0 34px; max-width: 34ch; }

@media (prefers-reduced-motion: no-preference) {
  .hero-mark { animation: rise 1.1s cubic-bezier(.2,.7,.1,1) both; }
  .hero-sub { animation: rise 1.1s .15s cubic-bezier(.2,.7,.1,1) both; }
  .hero-content .btn { animation: rise 1.1s .3s cubic-bezier(.2,.7,.1,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
}

/* ---------- Secciones ---------- */
.section { padding: clamp(72px, 10vw, 136px) 0; }
.section-head { margin-bottom: 44px; max-width: 60ch; }
.section-head p { color: var(--muted); margin: 14px 0 0; }

.about { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.prose p { margin: 0 0 1em; max-width: 62ch; color: #33403b; font-size: 1.1rem; }
.prose p:last-child { margin-bottom: 0; }

/* Canchas */
.courts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px 28px; }
.court-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; background: var(--mist); }
.court h3 { margin: 20px 0 8px; }
.court p { margin: 0; color: var(--muted); max-width: 44ch; }
.img-empty { display: grid; place-items: center; color: var(--muted); font-size: .9rem; }

/* Terraza */
.terrace { background: var(--mist); }
.terrace-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
.terrace-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: #dfe6e2; }
.terrace h2 { margin-bottom: 24px; }

@media (max-width: 860px) {
  .about, .terrace-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Encabezado de páginas internas ---------- */
.page-head { padding: clamp(56px, 8vw, 112px) 0 clamp(40px, 5vw, 64px); }
.page-head h1 { font-size: clamp(3rem, 8vw, 6rem); letter-spacing: -.05em; line-height: .95; }
.page-head p { color: var(--muted); max-width: 56ch; margin: 20px 0 0; font-size: 1.15rem; }

/* ---------- Membresías ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px 36px; padding-bottom: 112px; }
.plan { display: flex; flex-direction: column; }
.plan-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; background: var(--mist); margin-bottom: 22px; }
.plan h2 { font-size: 1.9rem; }
.plan-price-big { font-family: var(--display); font-size: 2.6rem; font-weight: 700; letter-spacing: -.035em; line-height: 1.1; margin-top: 10px; }
.plan-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 6px; }
.plan-split > div { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--mist); border-radius: 6px; font-size: .9rem; line-height: 1.3; }
.plan-split-num { font-family: var(--display); font-size: 2.2rem; font-weight: 700; letter-spacing: -.03em; color: var(--agave-deep); line-height: 1; }
.plan-split small { color: var(--muted); }
.plan-desc { color: var(--muted); margin: 8px 0 0; max-width: 52ch; white-space: pre-line; }
.benefits { list-style: none; padding: 0; margin: 22px 0 28px; border-top: 1px solid var(--line); }
.benefits li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.benefits li span:last-child { color: var(--muted); white-space: nowrap; }
.plan .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Eventos: torneos, ligas y retas ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 999px; padding: .5em 1.05em; font: 500 .92rem var(--body); cursor: pointer;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.events-list { padding-bottom: 112px; }
.event-section { margin-top: 48px; }
.event-section:first-child { margin-top: 16px; }
.event-section-title { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.event { display: grid; grid-template-columns: 120px 1fr 300px; gap: 36px; padding: 36px 0; border-top: 1px solid var(--line); }
.event-date { font-family: var(--display); }
.event-date .day { display: block; font-size: 3.6rem; font-weight: 700; line-height: .9; letter-spacing: -.04em; }
.event-date .month { display: block; font-size: 1.05rem; font-weight: 500; margin-top: 6px; text-transform: capitalize; }
.event-date .weekday { display: block; font-family: var(--body); color: var(--muted); font-size: .9rem; text-transform: capitalize; }
.event-type { display: inline-block; font-size: .88rem; font-weight: 600; color: var(--agave); margin-bottom: 6px; }
.event-title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.event-facts { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 16px 0 0; }
.event-facts dt { font-size: .82rem; color: var(--muted); }
.event-facts dd { margin: 2px 0 0; font-weight: 600; }
.event-facts dd::first-letter { text-transform: uppercase; }
.event-facts.compact { margin: 0 0 20px; }
.event-desc { margin: 16px 0 0; max-width: 62ch; white-space: pre-line; color: #33403b; }
.prizes { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.prizes > div { background: var(--mist); border-radius: 6px; padding: 10px 14px; min-width: 120px; }
.prizes dt { font-size: .8rem; color: var(--muted); }
.prizes dd { margin: 2px 0 0; font-weight: 600; }
.spots { margin-top: 22px; max-width: 420px; }
.spots-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-size: .95rem; }
.spots-top span { color: var(--muted); }
.spots .bar { margin-top: 8px; }
.spots.full strong { color: var(--danger); }
.event .btn { margin-top: 22px; }
.event-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.event.past { opacity: .55; }
.past-block { margin-top: 8px; border-top: 1px solid var(--line); }
.past-block > summary { cursor: pointer; padding: 18px 0; color: var(--muted); font-weight: 500; }
.bar { height: 6px; border-radius: 3px; background: var(--mist); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--agave); }

@media (max-width: 900px) {
  .event { grid-template-columns: 1fr; gap: 16px; }
  .event-date { display: flex; align-items: baseline; gap: 12px; }
  .event-date .day { font-size: 2.4rem; }
  .event-img { order: -1; }
}

/* Ventana de inscripción */
.modal { border: 0; border-radius: 12px; padding: 0; width: min(560px, calc(100% - 24px)); max-height: calc(100vh - 32px); color: var(--ink); }
.modal::backdrop { background: rgba(24, 34, 31, .5); }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 24px 28px 0; }
.modal-head h2 { font-size: 1.8rem; }
.modal-close { background: none; border: 0; font-size: 1.15rem; color: var(--muted); cursor: pointer; padding: 6px; }
.modal-body { padding: 20px 28px 28px; }
.modal-body p { margin: 0 0 16px; }
.mode-pick { border: 0; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.mode-pick legend { font-weight: 600; margin-bottom: 10px; }
.mode-card { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; cursor: pointer; }
.mode-card:has(input:checked) { border-color: var(--agave); background: #f2f7f4; }
.mode-card:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.mode-card input, .pick input { margin-top: 4px; accent-color: var(--agave); }
.mode-card small { display: block; color: var(--muted); font-size: .9rem; }
.form-sub { font-family: var(--body); font-size: 1rem; font-weight: 600; letter-spacing: 0; margin: 4px 0 12px; }
.pick-list { display: grid; gap: 6px; margin: 10px 0 16px; max-height: 240px; overflow-y: auto; }
.pick { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.pick:has(input:checked) { border-color: var(--agave); background: #f2f7f4; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; margin: 8px 0 16px; border-top: 1px solid var(--line); }
.total strong { font-family: var(--display); font-size: 1.8rem; }
.modal .btn-lg { width: 100%; }
.hint { font-size: .88rem; color: var(--muted); }
.muted { color: var(--muted); }

/* ---------- Formularios ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: .92rem; }
.field .hint { font-size: .85rem; color: var(--muted); }
.input {
  font: inherit; width: 100%;
  padding: .8em .95em;
  border: 1px solid #c6d0cb; border-radius: 6px;
  background: #fff; color: var(--ink);
}
.input:focus { outline: 2px solid var(--agave); outline-offset: 0; border-color: var(--agave); }
textarea.input { min-height: 150px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .row-2 { grid-template-columns: 1fr; } }

.notice { padding: 14px 16px; border-radius: 6px; background: var(--mist); margin-bottom: 22px; }
.notice.error { background: #fbe9e6; color: var(--danger); }
.notice.ok { background: #e2f0e9; color: var(--agave-deep); }
.empty { padding: 48px 0 112px; color: var(--muted); font-size: 1.1rem; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 7fr 4fr; gap: 72px; padding-bottom: 112px; align-items: start; }
.contact-info dl { margin: 0; }
.contact-info dt { font-size: .9rem; color: var(--muted); margin-top: 22px; }
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { margin: 4px 0 0; font-size: 1.1rem; white-space: pre-line; }
.contact-info a { text-decoration-color: var(--line); text-underline-offset: 4px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }

/* ---------- Entrar / registro ---------- */
.auth { max-width: 460px; padding-bottom: 112px; }
.auth-switch { display: flex; gap: 6px; margin-bottom: 28px; }
.auth form .btn { width: 100%; margin-top: 6px; }
.admin-link { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); text-align: center; }
.link-btn { background: none; border: 0; padding: 4px; color: var(--muted); font-size: .92rem; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.link-btn:hover { color: var(--ink); }

/* ---------- Mi cuenta ---------- */
.account-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.subs { display: grid; gap: 28px; padding-bottom: 112px; }
.sub { display: grid; grid-template-columns: 260px 1fr; gap: 36px; padding: 32px 0; border-top: 1px solid var(--line); }
.sub-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: var(--mist); }
.sub h2 { font-size: 2rem; }
.badge { display: inline-block; font-size: .85rem; font-weight: 600; padding: .25em .8em; border-radius: 999px; margin-bottom: 10px; }
.badge.activa { background: #e2f0e9; color: var(--agave-deep); }
.badge.vencida, .badge.cancelada { background: #f0f0ee; color: var(--muted); }
.sub-dates { color: var(--muted); margin: 8px 0 22px; }
.benefit { padding: 12px 0; border-bottom: 1px solid var(--line); }
.benefit:first-of-type { border-top: 1px solid var(--line); }
.benefit-top { display: flex; justify-content: space-between; gap: 16px; }
.benefit-top span:last-child { color: var(--muted); white-space: nowrap; }
.bar { height: 6px; border-radius: 3px; background: var(--mist); margin-top: 8px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--agave); }
@media (max-width: 760px) { .sub { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Pie de página (patrocinadores en todas las páginas) ---------- */
.site-footer { border-top: 1px solid var(--line); }
.sponsors { padding: 56px 0; border-bottom: 1px solid var(--line); }
.sponsors h2 { font-family: var(--body); font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: 30px; }
.sponsor-row { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 60px; }
.sponsor-row a, .sponsor-row span { display: block; }
.sponsor-row img { height: 60px; width: auto; max-width: 170px; object-fit: contain; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 56px 0 28px; }
.footer-main .brand-mark { font-size: 2.6rem; }
.footer-main h3 { font-family: var(--body); font-size: .95rem; font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.footer-main ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-main a { text-decoration: none; }
.footer-main a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-main p { margin: 0; color: var(--muted); white-space: pre-line; }
.footer-bottom { padding: 20px 0 36px; color: var(--muted); font-size: .85rem; }
@media (max-width: 760px) { .footer-main { grid-template-columns: 1fr; } }

/* Contador de horas en Mi cuenta */
.hours-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hours-card { border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; }
.hours-card-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.hours-card-head span { color: var(--muted); font-size: .9rem; }
.hours-cards.off .hours-num { color: var(--muted); }
@media (max-width: 560px) { .hours-cards { grid-template-columns: 1fr; } }
.hours-left { display: flex; align-items: center; gap: 16px; }
.hours-num { font-family: var(--display); font-size: clamp(3rem, 6vw, 4rem); font-weight: 800; letter-spacing: -.05em; line-height: .9; color: var(--agave-deep); }
.hours-label { color: var(--muted); line-height: 1.4; }
.sub .bar { height: 8px; border-radius: 4px; margin: 14px 0 0; }
.usage-title { font-family: var(--body); font-size: 1rem; font-weight: 600; letter-spacing: 0; margin: 28px 0 8px; }
.usage-list { list-style: none; margin: 0; padding: 0; }
.usage-list li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.usage-list li span:last-child { white-space: nowrap; font-weight: 600; }

/* Mis inscripciones */
.section-label { font-family: var(--body); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--muted); margin: 8px 0 16px; }
.my-events { margin-bottom: 48px; }
.reg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.reg-card { border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.reg-card h3 { font-size: 1.4rem; }
.reg-card .sub-dates::first-letter { text-transform: uppercase; }
.reg-pair { margin: 10px 0 14px; }
.reg-card .badge { margin: 0; }

/* Partidos en Mi cuenta */
.my-matches { margin: 4px 0 16px; }
.my-matches h4 { font-size: .9rem; font-weight: 600; margin: 0 0 6px; }
.my-matches ul { list-style: none; margin: 0; padding: 0; }
.my-matches li { display: grid; grid-template-columns: 74px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.mm-when strong { display: block; font-family: var(--display); font-size: 1.25rem; line-height: 1.1; }
.mm-when span { font-size: .82rem; color: var(--muted); text-transform: capitalize; }

/* ---------- Rankings ---------- */
.rank-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 8px; }
.rank-nav .chip { text-decoration: none; }
.rank-block { padding: 36px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.rank-head h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.rank-head .hint { margin: 6px 0 0; }
.rank-sub { font-size: 1rem; font-weight: 600; margin: 28px 0 10px; }
.rank-prize { margin: 14px 0 0; }
.round { border-top: 1px solid var(--line); margin-top: 16px; }
.round > summary { list-style: none; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; cursor: pointer; padding: 14px 0; }
.round > summary::-webkit-details-marker { display: none; }
.round > summary h4 { font-family: var(--display); font-size: 1.3rem; margin: 0; }
.round > summary span { color: var(--muted); font-size: .9rem; }
.round > summary::after { content: "+"; font-size: 1.3rem; color: var(--muted); margin-left: auto; }
.round[open] > summary::after { content: "−"; }
.round > summary span { margin-left: 12px; }
.score-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; padding-bottom: 12px; }
.score-card { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.score-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 5px 0; color: var(--muted); }
.score-line.win { color: var(--ink); font-weight: 600; }
.score-name { min-width: 0; overflow-wrap: anywhere; }
.score-sets { display: flex; gap: 6px; }
.score-sets b { width: 26px; text-align: center; font-family: var(--display); font-size: 1.15rem; font-weight: 500; }
.score-sets b.set-won { font-weight: 800; }
.score-meta { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); text-transform: capitalize; }
.table-wrap { overflow-x: auto; margin-top: 18px; }
.rank-table { width: 100%; border-collapse: collapse; min-width: 420px; }
.rank-table th { text-align: left; font-size: .82rem; color: var(--muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--ink); }
.rank-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); }
.rank-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.rank-table td:first-child { font-family: var(--display); font-weight: 700; width: 40px; }
.rank-table tr.top td { background: #f2f7f4; }
.rank-table tr.top td:first-child { color: var(--agave-deep); }
.mm-result { margin-top: 4px; font-weight: 600; font-size: .92rem; }
.mm-result.won { color: var(--agave-deep); }
.mm-result.lost { color: var(--muted); }
.reg-card .hint + .hint { margin-top: 0; }

/* Recuperar contraseña y aviso de verificación */
.forgot { text-align: center; margin: 14px 0 0; }
.verify-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  max-width: 640px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  background: var(--ink); color: #fff; border-radius: 10px; padding: 14px 16px 14px 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18); font-size: .95rem;
}
.verify-bar p { margin: 0; flex: 1 1 260px; }
.verify-bar .btn { padding: .6em 1.1em; font-size: .88rem; }
.verify-bar .x { background: none; border: 0; color: rgba(255,255,255,.7); font-size: 1.1rem; cursor: pointer; padding: 4px; }
.verify-bar .x:hover { color: #fff; }
.notice .link-btn { color: inherit; font-weight: 600; font-size: inherit; padding: 0; }
