/* ════════════════════════════════════════════════════════════════════
   Flare Station Clubs — clubs.css · hoja base SIN MARCA
   Sitio público y sitio del socio. El panel de staff sigue con moon-*.

   Prefijo de clases: fc-   (Flare Clubs)  ·  tokens: --fc-*
   Estados: .is-on / aria-pressed / aria-current / aria-checked.

   Reglas de esta hoja:
   · Los ÚNICOS valores literales de color, fuente y radio viven en el
     bloque 1 (valores por defecto neutros, claro y oscuro). Todo lo demás
     es var(--fc-*). La identidad de cada club llega por el preset
     (web_settings.appearance.cssTokens / cssTokensDark → settingsHead).
   · Modo oscuro: preferencia del sistema + selector manual persistente
     (html[data-theme="light|dark"]). Sólo aplica con <html class="fc-themed">
     para que el panel de staff nunca se oscurezca.
   · Mobile first; escritorio desde 960px. Respeta prefers-reduced-motion.
   ════════════════════════════════════════════════════════════════════ */

/* ── 1. Tokens: valores por defecto (neutros, sin marca) ────────────── */
:root{
  color-scheme:light;
  /* primitivas */
  --fc-white:#fff; --fc-black:#000;
  /* superficies y texto (cambian en oscuro) */
  --fc-bg:#f3f4f6; --fc-card:#fff; --fc-soft:#eceef2;
  --fc-ink:#1d2430; --fc-muted:#5c6575; --fc-line:#e0e3e9;
  --fc-link:#2c5a85; --fc-focus:#2c5a85;
  --fc-inverse:#1d2430; --fc-on-inverse:#f3f4f6;
  --fc-warn:#a86400; --fc-ok:#17845a; --fc-error:#c2413a;
  --fc-shadow-soft:color-mix(in srgb,var(--fc-ink) 9%,transparent);
  --fc-glow-action:color-mix(in srgb,var(--fc-action-2) 18%,transparent);
  --fc-glow-structure:color-mix(in srgb,var(--fc-structure-2) 17%,transparent);
  /* acentos (iguales en claro y oscuro) */
  --fc-action-1:#23907f; --fc-action-2:#12695f;          /* UNA acción principal por pantalla */
  --fc-structure-1:#5e7a9c; --fc-structure-2:#34557a;    /* estructura y selección */
  --fc-sky-1:#aab8c8; --fc-sky-2:#72859b;                /* tono terciario */
  --fc-on-sky:#141a24;                                   /* texto sobre el tono terciario (claro: tinta oscura, AA) */
  --fc-ok-1:#3fbf88; --fc-ok-2:#17845a;
  --fc-deep-1:#4a5568; --fc-deep-2:#232a35;
  --fc-on-accent:#fff;
  --fc-wood-1:#c9a36b; --fc-wood-2:#8a6634;              /* madera del palo de hockey (sprite) */
  --fc-veil:#141a24;                                     /* velos de foto, rótulos de cancha, QR */
  /* textura de camiseta */
  --fc-stripe-a:#34557a; --fc-stripe-b:#232a35;
  --fc-stripe-sep:color-mix(in srgb,var(--fc-white) 15%,transparent);
  --fc-stripe-w:26px; --fc-stripe-gap:2px; --fc-stripe-dir:180deg;
  /* canchas (colores de superficie reales: no son marca) */
  --fc-court-grass-1:#7cc66c; --fc-court-grass-2:#58ab4a;
  --fc-court-grass-alt-1:#4e9c41; --fc-court-grass-alt-2:#3b8530;
  --fc-court-clay:#e07a3f; --fc-court-padel-1:#56bae2; --fc-court-padel-2:#2e92c5;
  --fc-court-water-1:#3f8fd9; --fc-court-water-2:#2a6cb0;
  --fc-court-line:color-mix(in srgb,var(--fc-white) 79%,transparent);
  /* bloques oscuros del sitio público */
  --fc-foot-bg:#1a202b; --fc-foot-ink:#cdd3dc; --fc-foot-muted:#97a0ae;
  --fc-promo-bg:#141a24;
  /* tipografía */
  --fc-font-title:var(--font-display,system-ui,-apple-system,'Segoe UI',Roboto,sans-serif);
  --fc-font-ui:var(--font-body,system-ui,-apple-system,'Segoe UI',Roboto,sans-serif);
  --fc-font-data:var(--font-mono,ui-monospace,SFMono-Regular,Menlo,Consolas,monospace);
  --fc-title-weight:800; --fc-title-tracking:-.02em; --fc-fs:15.5px;
  /* radios */
  --fc-r-card:18px; --fc-r-sheet:16px; --fc-r-item:13px; --fc-r-field:11px;
  --fc-r-tile:10px; --fc-r-sm:8px; --fc-r-xs:5px; --fc-r-pill:999px; --fc-r-round:50%;
  /* marca */
  --fc-crest:none; --fc-crest-ratio:400/520;
  /* derivados (no hace falta pisarlos en el preset) */
  --fc-grad-action:linear-gradient(135deg,var(--fc-action-1),var(--fc-action-2));
  --fc-grad-structure:linear-gradient(135deg,var(--fc-structure-1),var(--fc-structure-2));
  --fc-grad-sky:linear-gradient(135deg,var(--fc-sky-1),var(--fc-sky-2));
  --fc-grad-ok:linear-gradient(135deg,var(--fc-ok-1),var(--fc-ok-2));
  --fc-grad-deep:linear-gradient(135deg,var(--fc-deep-1),var(--fc-deep-2));
  --fc-stripes:repeating-linear-gradient(var(--fc-stripe-dir),
    var(--fc-stripe-a) 0 var(--fc-stripe-w),
    var(--fc-stripe-sep) var(--fc-stripe-w) calc(var(--fc-stripe-w) + var(--fc-stripe-gap)),
    var(--fc-stripe-b) calc(var(--fc-stripe-w) + var(--fc-stripe-gap)) calc(2*var(--fc-stripe-w) + var(--fc-stripe-gap)),
    var(--fc-stripe-sep) calc(2*var(--fc-stripe-w) + var(--fc-stripe-gap)) calc(2*var(--fc-stripe-w) + 2*var(--fc-stripe-gap)));
  --fc-scrim:color-mix(in srgb,var(--fc-veil) 80%,transparent);
  --fc-shadow-card:0 10px 26px var(--fc-shadow-soft);
  --fc-shadow-action:0 10px 24px var(--fc-glow-action);
  --fc-shadow-structure:0 10px 24px var(--fc-glow-structure);
  --fc-shadow-pop:0 30px 80px color-mix(in srgb,var(--fc-black) 53%,transparent);
  --fc-ease:cubic-bezier(.2,.8,.3,1);
  --fc-side-w:252px; --fc-maxw:1120px; --fc-pub-maxw:1180px;
}
/* oscuro: sistema (si el usuario no eligió claro) o elección manual */
@media (prefers-color-scheme:dark){
  :root.fc-themed:not([data-theme="light"]){
    color-scheme:dark;
    --fc-bg:#111418; --fc-card:#1a1f26; --fc-soft:#232933; --fc-ink:#eceff3; --fc-muted:#9ea7b4; --fc-line:#2d343e;
    --fc-link:#8db4dc; --fc-focus:#8db4dc; --fc-inverse:#eceff3; --fc-on-inverse:#111418; --fc-warn:#f0b34a; --fc-ok:#3fbf88; --fc-error:#f07a70;
    --fc-shadow-soft:color-mix(in srgb,var(--fc-black) 33%,transparent);
    --fc-glow-action:color-mix(in srgb,var(--fc-action-2) 30%,transparent);
    --fc-glow-structure:color-mix(in srgb,var(--fc-structure-2) 30%,transparent);
  }
}
:root.fc-themed[data-theme="dark"]{
  color-scheme:dark;
  --fc-bg:#111418; --fc-card:#1a1f26; --fc-soft:#232933; --fc-ink:#eceff3; --fc-muted:#9ea7b4; --fc-line:#2d343e;
  --fc-link:#8db4dc; --fc-focus:#8db4dc; --fc-inverse:#eceff3; --fc-on-inverse:#111418; --fc-warn:#f0b34a; --fc-ok:#3fbf88; --fc-error:#f07a70;
  --fc-shadow-soft:color-mix(in srgb,var(--fc-black) 33%,transparent);
  --fc-glow-action:color-mix(in srgb,var(--fc-action-2) 30%,transparent);
  --fc-glow-structure:color-mix(in srgb,var(--fc-structure-2) 30%,transparent);
}
/* ── fin del bloque de valores literales ─────────────────────────────── */

/* ── 2. Base (sólo dentro de .fc) ───────────────────────────────────── */
.fc,.fc *,.fc *::before,.fc *::after{box-sizing:border-box}
html:has(body.fc){scroll-behavior:smooth}
body.fc{margin:0; background:var(--fc-bg); color:var(--fc-ink); font-family:var(--fc-font-ui); font-size:var(--fc-fs); line-height:1.5; transition:background .35s,color .35s; overflow-x:clip; -webkit-font-smoothing:antialiased}
:where(.fc) :where(h1,h2,h3,h4,p,figure,blockquote){margin:0}
:where(.fc) :where(ul,ol){margin:0; padding:0; list-style:none}
:where(.fc) :where(h1,h2,h3,h4){font-family:var(--fc-font-title); font-weight:var(--fc-title-weight); letter-spacing:var(--fc-title-tracking); line-height:1.06}
:where(.fc) h1{font-size:clamp(26px,4vw,34px)} :where(.fc) h2{font-size:clamp(20px,3vw,24px)} :where(.fc) h3{font-size:17px} :where(.fc) h4{font-size:15px}
:where(.fc) a{color:var(--fc-link); text-decoration:none; font-weight:800}
:where(.fc) img{max-width:100%}
:where(.fc) :focus-visible{outline:3px solid var(--fc-focus); outline-offset:2px; border-radius:var(--fc-r-xs)}
:where(.fc) button{font:inherit; color:inherit}
.fc-mono{font-family:var(--fc-font-data)}
.fc-num{font-variant-numeric:tabular-nums; white-space:nowrap}
.fc-kicker{font:700 11.5px var(--fc-font-data); letter-spacing:.2em; text-transform:uppercase; color:var(--fc-action-2)}
.fc-kicker--structure{color:var(--fc-link)}
.fc-kicker a{color:inherit}
.fc-sub{color:var(--fc-muted); font-weight:600}
.fc-muted{color:var(--fc-muted)}
.fc-strong{color:var(--fc-ink); font-weight:800}
.fc-sm{font-size:12px} .fc-xs{font-size:11px}
.fc-spacer{flex:1}
.fc-hr{height:1.5px; background:var(--fc-line); border:0; margin:18px 0}
.fc-sr{position:absolute!important; width:1px; height:1px; margin:-1px; padding:0; border:0; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap}
.fc-skip{position:absolute; left:16px; top:-60px; z-index:100; background:var(--fc-inverse); color:var(--fc-on-inverse)!important; padding:10px 16px; border-radius:var(--fc-r-pill)}
.fc-skip:focus{top:12px}
.fc-ico{width:20px; height:20px; flex:none; display:inline-block; vertical-align:middle}
.fc-ico--sm{width:16px; height:16px}

/* ── 3. Layout ──────────────────────────────────────────────────────── */
.fc-row{display:flex; align-items:center; gap:10px; min-width:0}
.fc-row--wrap{flex-wrap:wrap}
.fc-row--top{align-items:flex-start}
.fc-row--lg{gap:16px}
.fc-stack{display:flex; flex-direction:column; gap:12px; min-width:0}
.fc-stack--tight{gap:8px}
.fc-stack--loose{gap:20px}
.fc-grow1{flex:1; min-width:0}
.fc-grid2,.fc-grid3,.fc-grid4{display:grid; gap:16px; grid-template-columns:repeat(auto-fit,minmax(min(270px,100%),1fr))}
.fc-grid3{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr))}
.fc-grid4{grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr)); gap:10px}
.fc-cols{display:grid; gap:20px; min-width:0}
.fc-cols > *{min-width:0}
.fc-pagehead{display:flex; align-items:end; gap:14px; flex-wrap:wrap; margin:6px 0 20px}
.fc-pagehead .fc-sub{max-width:640px; margin-top:6px}
.fc-pagehead h1{margin-top:4px}
.fc-crumb{margin-bottom:10px}
.fc-secrow{display:flex; align-items:center; gap:10px; margin:26px 0 12px}
.fc-secrow h2{flex:1; min-width:0}
.fc-secrow a{font-size:12px}
.fc-mt{margin-top:12px} .fc-mt-xs{margin-top:6px} .fc-mt-lg{margin-top:20px} .fc-mb{margin-bottom:16px} .fc-mb-sm{margin-bottom:10px}
.fc-center{text-align:center}
.fc-w-time{width:52px; flex:none}
.fc-stack--xs{gap:6px}
.fc-grid--tight{gap:10px}
@media (max-width:959.98px){.fc-only-d{display:none!important}}
@media (min-width:960px){
  .fc-cols--aside{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}
  .fc-only-m{display:none!important}
}

/* ── 4. Shell del socio: sidebar (escritorio) · topbar + tabbar (móvil) ─ */
body.fc-app{display:grid; grid-template-rows:auto 1fr auto; min-height:100vh; min-height:100dvh}
.fc-side{display:none}
.fc-topbar{grid-row:1; display:flex; align-items:center; gap:10px; padding:12px 16px; position:sticky; top:0; z-index:40; background:color-mix(in srgb,var(--fc-bg) 86%,transparent); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-bottom:1.5px solid var(--fc-line); min-width:0}
.fc-topbar .fc-crest{width:30px}
.fc-topbar__txt{min-width:0; flex:1}
.fc-topbar__title{font:800 15px var(--fc-font-title); letter-spacing:-.01em}
.fc-topbar__sub{font-size:11px; color:var(--fc-muted); font-weight:700; margin-top:-2px}
.fc-topbar__title,.fc-topbar__sub{white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.fc-main{grid-row:2; width:100%; max-width:var(--fc-maxw); margin:0 auto; padding:20px 16px 110px; min-width:0}
.fc-foot{grid-row:3; color:var(--fc-muted); font-weight:600; font-size:12px; text-align:center; padding:0 16px 96px}
.fc-linkbtn{all:unset; cursor:pointer; color:var(--fc-link); font-weight:800}
.fc-linkbtn:focus-visible{outline:3px solid var(--fc-focus); outline-offset:2px}
.fc-foot__logos{display:flex; gap:22px; align-items:center; justify-content:center; flex-wrap:wrap; margin-bottom:10px}
.fc-tabbar{position:fixed; left:0; right:0; bottom:0; z-index:40; display:flex; align-items:center; justify-content:space-around; padding:8px 10px calc(10px + env(safe-area-inset-bottom)); background:color-mix(in srgb,var(--fc-card) 92%,transparent); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-top:1.5px solid var(--fc-line)}
.fc-tabbar a{color:var(--fc-muted); display:grid; place-items:center; gap:3px; font:800 9.5px var(--fc-font-ui); letter-spacing:.04em; min-width:52px; min-height:44px}
.fc-tabbar a[aria-current="page"]{color:var(--fc-ink)}
.fc-tabbar a[aria-current="page"] .fc-ico{color:var(--fc-action-2)}
.fc-tabbar__plus{width:46px; height:46px; border-radius:var(--fc-r-round); background:var(--fc-grad-action); color:var(--fc-on-accent); display:grid; place-items:center; box-shadow:var(--fc-shadow-action); margin-top:-20px; border:4px solid var(--fc-bg); cursor:pointer; padding:0}
@media (min-width:960px){
  body.fc-app{grid-template-columns:var(--fc-side-w) minmax(0,1fr)}
  .fc-side{grid-row:1/span 3; grid-column:1; display:flex; flex-direction:column; gap:4px; position:sticky; top:0; height:100vh; overflow:auto; padding:18px 14px; border-right:1.5px solid var(--fc-line); background:color-mix(in srgb,var(--fc-card) 55%,transparent)}
  .fc-topbar,.fc-main,.fc-foot{grid-column:2}
  .fc-tabbar{display:none}
  .fc-main{padding:26px 28px 60px}
  .fc-foot{padding-bottom:26px}
}
.fc-side__brand{display:flex; align-items:center; gap:10px; padding:4px 8px 14px; color:var(--fc-ink)}
.fc-side__brand .fc-crest{width:34px}
.fc-side__brand b{font:800 15px/1.1 var(--fc-font-title); display:block}
.fc-side__brand small{color:var(--fc-muted); font-weight:700; font-size:10.5px}
.fc-side__group{font:700 10px var(--fc-font-data); letter-spacing:.2em; text-transform:uppercase; color:var(--fc-muted); padding:14px 10px 6px}
.fc-nav{display:flex; align-items:center; gap:10px; padding:9px 10px; border-radius:var(--fc-r-sm); color:var(--fc-muted); font-weight:800; font-size:13.5px}
.fc-nav:hover{background:var(--fc-soft); color:var(--fc-ink)}
.fc-nav[aria-current="page"]{background:var(--fc-grad-structure); color:var(--fc-on-accent); box-shadow:var(--fc-shadow-structure)}
.fc-side__foot{margin-top:auto; padding:12px 8px 0; display:flex; align-items:center; gap:8px}

/* botón ícono y avatar */
.fc-iconbtn{width:38px; height:38px; border-radius:var(--fc-r-tile); background:var(--fc-card); border:1.5px solid var(--fc-line); display:grid; place-items:center; color:var(--fc-ink); cursor:pointer; position:relative; flex:none; padding:0}
.fc-iconbtn:hover{border-color:var(--fc-structure-2)}
.fc-iconbtn__dot{position:absolute; top:8px; right:9px; width:7px; height:7px; border-radius:var(--fc-r-round); background:var(--fc-action-2); border:2px solid var(--fc-card)}
.fc-avatar{width:38px; height:38px; border-radius:var(--fc-r-round); background:var(--fc-grad-structure); color:var(--fc-on-accent); display:grid; place-items:center; font:900 14px var(--fc-font-title); flex:none; overflow:hidden}
.fc-avatar img{width:100%; height:100%; object-fit:cover}
.fc-avatar--sm{width:30px; height:30px; font-size:12px}
.fc-avatar--md{width:32px; height:32px; font-size:12px}
.fc-avatar--lg{width:52px; height:52px; font-size:19px}
.fc-avatars{display:flex; align-items:center; gap:6px; flex-wrap:wrap}
.fc-name{font:800 17px/1.2 var(--fc-font-title); display:block; margin-top:2px}

/* ── 5. Escudo, íconos de deportes, flotantes ───────────────────────── */
.fc-crest{aspect-ratio:var(--fc-crest-ratio); background:var(--fc-crest) center/contain no-repeat; display:inline-block; flex:none; width:34px}
.fc-crest-md{width:40px} .fc-crest-lg{width:64px}
.fc-sport.fc-sport-lg{width:56px}
.fc-crest--glint{position:relative}
.fc-crest--glint::after{content:''; position:absolute; inset:0; -webkit-mask:var(--fc-crest) center/contain no-repeat; mask:var(--fc-crest) center/contain no-repeat;
  background:linear-gradient(115deg,transparent 38%,color-mix(in srgb,var(--fc-white) 60%,transparent) 47%,color-mix(in srgb,var(--fc-white) 87%,transparent) 50%,color-mix(in srgb,var(--fc-white) 60%,transparent) 53%,transparent 62%) no-repeat;
  background-size:260% 100%; background-position:120% 0; animation:fc-glint 5.6s ease-in-out infinite}
@keyframes fc-glint{0%,64%{background-position:130% 0} 78%,100%{background-position:-50% 0}}
.fc-sport{aspect-ratio:1/1; width:26px; height:auto; flex:none; filter:drop-shadow(0 8px 14px color-mix(in srgb,var(--fc-black) 20%,transparent))}
.fc-sport--flat{filter:none}
.fc-float{position:absolute; pointer-events:none}
.fc-float--tr{width:50px; right:-10px; top:-17px; rotate:10deg}
.fc-float--bl{width:40px; left:-8px; bottom:-14px}
@keyframes fc-bob{0%,100%{translate:0 0} 50%{translate:0 -8px}}
.fc-bob{animation:fc-bob 5.4s ease-in-out infinite}
.fc-bob--slow{animation-duration:6.6s; animation-direction:reverse}

/* ── 6. Botones, chips, pills ───────────────────────────────────────── */
.fc-btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; font:800 14px var(--fc-font-ui); border-radius:var(--fc-r-pill); padding:13px 20px; cursor:pointer; border:0; color:var(--fc-on-accent); letter-spacing:.01em; transition:transform .12s,box-shadow .2s,border-color .2s; text-align:center; line-height:1.2}
.fc-btn:active{transform:scale(.97)}
.fc-btn--action{background:var(--fc-grad-action); box-shadow:var(--fc-shadow-action)}
.fc-btn--primary{background:var(--fc-grad-structure); box-shadow:var(--fc-shadow-structure)}
.fc-btn--ghost{background:var(--fc-card); color:var(--fc-ink); border:1.5px solid var(--fc-line)}
.fc-btn--ghost:hover{border-color:var(--fc-structure-2)}
.fc-btn--glass{background:color-mix(in srgb,var(--fc-white) 8%,transparent); border:1.5px solid color-mix(in srgb,var(--fc-white) 19%,transparent)}
.fc-btn--block{width:100%}
.fc-btn--lg{width:100%; padding:15px 22px; font-size:15px}
.fc-btn--sm{padding:9px 14px; font-size:12.5px}
.fc-btn:disabled,.fc-btn[aria-disabled="true"]{opacity:.45; pointer-events:none; box-shadow:none}
.fc-btn.is-loading{pointer-events:none; opacity:.8}
.fc-btn.is-loading::after{content:''; width:14px; height:14px; border-radius:var(--fc-r-round); border:2px solid currentColor; border-right-color:transparent; animation:fc-spin .7s linear infinite}
@keyframes fc-spin{to{rotate:360deg}}
.fc-chip{display:inline-flex; align-items:center; gap:6px; padding:9px 15px; border-radius:var(--fc-r-pill); background:var(--fc-soft); color:var(--fc-muted); font:800 13px var(--fc-font-ui); border:0; cursor:pointer; text-align:left}
.fc-chip.is-on,.fc-chip[aria-pressed="true"]{background:var(--fc-grad-structure); color:var(--fc-on-accent); box-shadow:0 7px 18px var(--fc-glow-structure)}
.fc-chip:disabled{opacity:.4; cursor:not-allowed}
.fc-chip:is(.is-on,[aria-pressed="true"]) .fc-pill{background:color-mix(in srgb,var(--fc-white) 22%,transparent); color:var(--fc-on-accent)}
.fc-chip--sm{padding:6px 11px; font-size:11.5px}
.fc-chip--slot{justify-content:space-between}
.fc-chip--option{width:100%; justify-content:flex-start; padding:13px 16px}
.fc-chip--static{cursor:default}
.fc-pill{display:inline-flex; align-items:center; gap:5px; border-radius:var(--fc-r-pill); padding:5px 11px; font:800 11px var(--fc-font-ui); white-space:nowrap; flex:none}
.fc-pill--ok{background:color-mix(in srgb,var(--fc-ok) 16%,transparent); color:var(--fc-ok)}
.fc-pill--warn{background:color-mix(in srgb,var(--fc-warn) 16%,transparent); color:var(--fc-warn)}
.fc-pill--info{background:color-mix(in srgb,var(--fc-structure-2) 13%,transparent); color:var(--fc-link)}
.fc-pill--action{background:color-mix(in srgb,var(--fc-action-2) 13%,transparent); color:var(--fc-action-2)}
.fc-pill--solid{background:var(--fc-ok); color:var(--fc-on-accent)}
.fc-pill--glass{background:color-mix(in srgb,var(--fc-white) 18%,transparent); color:var(--fc-on-accent)}
.fc-pill--veil{background:color-mix(in srgb,var(--fc-veil) 80%,transparent); color:var(--fc-on-accent)}
.fc-pill--paper{background:var(--fc-white); color:var(--fc-structure-2)}
.fc-pill--sm{padding:3px 8px; font-size:10.5px}
.fc-kbd{font:700 10.5px var(--fc-font-data); background:var(--fc-soft); border:1.5px solid var(--fc-line); border-bottom-width:2.5px; border-radius:var(--fc-r-xs); padding:2px 6px; color:var(--fc-muted)}

/* ── 7. Formularios ─────────────────────────────────────────────────── */
.fc-label{font:800 11px var(--fc-font-ui); color:var(--fc-muted); letter-spacing:.1em; text-transform:uppercase; display:block; margin:14px 0 7px}
.fc-field:first-child .fc-label{margin-top:0}
.fc-input{display:flex; align-items:center; gap:8px; background:var(--fc-soft); border:1.5px solid transparent; border-radius:var(--fc-r-field); padding:13px 15px; font:700 14px var(--fc-font-ui); color:var(--fc-ink); width:100%; min-width:0}
.fc-input:focus-within{border-color:var(--fc-structure-2); background:var(--fc-card); box-shadow:0 0 0 4px var(--fc-glow-structure)}
.fc-input :is(input,select,textarea){all:unset; flex:1; min-width:0; color:var(--fc-ink); font:inherit}
.fc-input textarea{min-height:84px; white-space:pre-wrap}
.fc-input :is(input,textarea)::placeholder{color:var(--fc-muted); opacity:1; font-weight:600}
.fc-input :is(input,select,textarea):focus-visible{outline:0}
.fc-input--sm{padding:9px 13px}
.fc-input.is-error{border-color:var(--fc-error)}
.fc-hint{font-size:12px; color:var(--fc-muted); font-weight:600; margin-top:6px}
.fc-error{font-size:12px; color:var(--fc-error); font-weight:800; margin-top:6px}
.fc-check{display:flex; align-items:center; gap:10px; font-weight:700; font-size:13.5px; cursor:pointer}
.fc-check input{width:18px; height:18px; accent-color:var(--fc-structure-2)}
.fc-seg{display:inline-flex; background:var(--fc-soft); border-radius:var(--fc-r-pill); padding:4px; gap:2px; max-width:100%; overflow-x:auto}
.fc-seg button{all:unset; cursor:pointer; padding:8px 16px; border-radius:var(--fc-r-pill); font:800 12.5px var(--fc-font-ui); color:var(--fc-muted); white-space:nowrap}
.fc-seg button.is-on,.fc-seg button[aria-pressed="true"]{background:var(--fc-card); color:var(--fc-ink); box-shadow:0 4px 12px var(--fc-shadow-soft)}
.fc-seg button:focus-visible{outline:3px solid var(--fc-focus)}
.fc-switch{width:44px; height:26px; border-radius:var(--fc-r-pill); background:var(--fc-line); position:relative; cursor:pointer; border:0; flex:none; transition:background .2s; padding:0}
.fc-switch::after{content:''; position:absolute; top:3px; left:3px; width:20px; height:20px; border-radius:var(--fc-r-round); background:var(--fc-white); box-shadow:0 2px 6px color-mix(in srgb,var(--fc-black) 20%,transparent); transition:left .2s}
.fc-switch.is-on,.fc-switch[aria-checked="true"]{background:var(--fc-ok)}
.fc-switch.is-on::after,.fc-switch[aria-checked="true"]::after{left:21px}
.fc-setting{display:flex; align-items:center; gap:10px; font-size:12px; font-weight:800}
.fc-setting > span{flex:1; min-width:0}

/* pasos (flujos de inscripción, alta, compra) */
.fc-steps{display:flex; gap:6px; align-items:center; margin-bottom:16px; overflow-x:auto}
.fc-steps li{display:flex; align-items:center; gap:8px; font:800 12px var(--fc-font-ui); color:var(--fc-muted); white-space:nowrap}
.fc-steps li::before{content:counter(fc-step); counter-increment:fc-step; width:26px; height:26px; border-radius:var(--fc-r-round); display:grid; place-items:center; background:var(--fc-soft); font:700 11px var(--fc-font-data)}
.fc-steps li:not(:last-child)::after{content:''; width:22px; height:1.5px; background:var(--fc-line)}
.fc-steps{counter-reset:fc-step}
.fc-steps li[aria-current="step"]{color:var(--fc-ink)}
.fc-steps li[aria-current="step"]::before{background:var(--fc-grad-structure); color:var(--fc-on-accent)}
.fc-steps li.is-done::before{content:'✓'; background:color-mix(in srgb,var(--fc-ok) 16%,transparent); color:var(--fc-ok)}

/* ── 8. Tarjetas, ítems, tonos ──────────────────────────────────────── */
.fc-card{display:block; background:var(--fc-card); border:1.5px solid var(--fc-line); border-radius:var(--fc-r-card); padding:20px; box-shadow:var(--fc-shadow-card); color:inherit; min-width:0}
a.fc-card{color:inherit; font-weight:inherit}
.fc-card--sm{padding:14px}
.fc-card--flat{box-shadow:none}
.fc-card--dashed{border-style:dashed; box-shadow:none}
.fc-card--media{padding:0; overflow:hidden}
.fc-card--rel{position:relative; overflow:hidden}
.fc-card__body{padding:12px 16px 14px}
.fc-card__body h3{margin:8px 0 4px}
.fc-item{display:flex; align-items:center; gap:12px; background:var(--fc-card); border:1.5px solid var(--fc-line); border-radius:var(--fc-r-item); padding:13px 15px; color:inherit; font-weight:inherit; min-width:0}
a.fc-item:hover{border-color:var(--fc-structure-2)}
.fc-item__ic{width:42px; height:42px; border-radius:var(--fc-r-tile); flex:none; display:grid; place-items:center; color:var(--fc-on-accent); font:900 16px var(--fc-font-title)}
.fc-item__body{min-width:0; flex:1}
.fc-item__title{display:block; font-size:13.5px; font-weight:800; line-height:1.3}
.fc-item__meta{display:block; color:var(--fc-muted); font-size:11.5px; font-weight:700}
.fc-tone-action{background:var(--fc-grad-action)}
.fc-tone-structure{background:var(--fc-grad-structure)}
.fc-tone-sky{background:var(--fc-grad-sky)}
.fc-tone-ok{background:var(--fc-grad-ok)}
.fc-tone-deep{background:var(--fc-grad-deep)}
.fc-stripes,.fc-ph.fc-stripes,.fc-media.fc-stripes{background:linear-gradient(180deg,color-mix(in srgb,var(--fc-veil) 40%,transparent),color-mix(in srgb,var(--fc-veil) 87%,transparent)),var(--fc-stripes)}
.fc-banner{height:84px; display:flex; align-items:flex-end; padding:10px; position:relative; overflow:hidden}
.fc-banner > img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover}

/* ── 9. Hero de pantalla, anillo, barras ────────────────────────────── */
.fc-hero{position:relative; border-radius:var(--fc-r-card); padding:20px; color:var(--fc-on-accent); box-shadow:0 16px 36px var(--fc-glow-action)}
.fc-hero.fc-tone-structure,.fc-hero.fc-tone-sky,.fc-hero.fc-tone-deep{box-shadow:0 16px 36px var(--fc-glow-structure)}
.fc-hero__title{font:800 17px/1.18 var(--fc-font-title); display:block; letter-spacing:-.01em}
.fc-hero__title--lg{font-size:24px}
.fc-hero__text{font-weight:700; font-size:12.5px; opacity:.95; display:block; margin-top:4px; line-height:1.45}
.fc-hero__pad{padding-right:30px; min-width:0}
.fc-hero a{color:inherit}
.fc-ring{flex:none; width:76px; height:76px}
.fc-ring--sm{width:46px; height:46px}
.fc-ring--md{width:68px; height:68px}
.fc-ring circle{fill:none; stroke-width:4}
.fc-ring__track{stroke:color-mix(in srgb,var(--fc-white) 33%,transparent)}
.fc-ring__bar{stroke:var(--fc-white); stroke-linecap:round; transform:rotate(-90deg); transform-origin:center; transition:stroke-dasharray .8s ease}
.fc-ring text{fill:var(--fc-on-accent); font:800 9.5px var(--fc-font-ui)}
.fc-ring--ink .fc-ring__track{stroke:var(--fc-line)}
.fc-ring--ink .fc-ring__bar{stroke:var(--fc-ok)}
.fc-ring--ink text{fill:var(--fc-ink)}
.fc-abar{display:flex; align-items:center; justify-content:space-between; gap:10px; color:var(--fc-on-accent); font:800 13px var(--fc-font-ui); border-radius:var(--fc-r-field); padding:13px 15px; width:var(--w,100%); max-width:100%; min-width:0}
.fc-abar > span:first-child{min-width:0}
.fc-abar__time{font:700 12px var(--fc-font-data); flex:none}
.fc-abar small{display:block; font:700 10.5px var(--fc-font-ui); opacity:.9}
.fc-meter{height:8px; border-radius:var(--fc-r-pill); background:var(--fc-soft); flex:1; overflow:hidden}
.fc-meter > i{display:block; height:100%; width:var(--v,0%); border-radius:inherit; background:var(--fc-grad-structure)}
.fc-meter > i.fc-tone-action{background:linear-gradient(90deg,var(--fc-action-1),var(--fc-action-2))}
.fc-meter > i.fc-tone-sky{background:linear-gradient(90deg,var(--fc-sky-1),var(--fc-sky-2))}
.fc-meter > i.fc-tone-ok{background:linear-gradient(90deg,var(--fc-ok-1),var(--fc-ok-2))}
.fc-meter--under{margin:-6px 2px 0; flex:none}
.fc-bignum{font:var(--fc-title-weight) clamp(26px,3.4vw,34px) var(--fc-font-title); letter-spacing:-.02em}

/* ── 10. Tablas (scroll horizontal propio en móvil) ─────────────────── */
.fc-scrollx{position:relative; overflow-x:auto; -webkit-overflow-scrolling:touch; margin:0 -4px; padding:0 4px; max-width:calc(100% + 8px)}
.fc-scrollx .fc-table{min-width:500px}
.fc-table{width:100%; border-collapse:collapse; margin-top:8px}
.fc-table th{font:700 10.5px var(--fc-font-data); letter-spacing:.12em; text-transform:uppercase; color:var(--fc-muted); text-align:left; padding:10px 12px; border-bottom:1.5px solid var(--fc-line)}
.fc-table td{padding:12px; border-bottom:1.5px solid var(--fc-line); font-weight:700; font-size:13.5px; vertical-align:middle}
.fc-table tr:last-child td{border-bottom:0}
.fc-table :is(td,th).fc-num{text-align:right}
.fc-table td small{display:block; color:var(--fc-muted); font-size:11px}

/* ── 11. Fecha, ticket, QR ──────────────────────────────────────────── */
.fc-date{width:52px; flex:none; border-radius:var(--fc-r-tile); background:var(--fc-soft); text-align:center; padding:7px 0; border:1.5px solid var(--fc-line)}
.fc-date b{display:block; font:900 18px/1 var(--fc-font-title)}
.fc-date span{font:700 9.5px var(--fc-font-data); letter-spacing:.12em; color:var(--fc-muted); text-transform:uppercase}
.fc-date--hot{background:var(--fc-grad-action); border-color:transparent}
.fc-date--hot :is(b,span){color:var(--fc-on-accent)}
.fc-ticket{position:relative; border-radius:var(--fc-r-sheet); overflow:hidden; color:var(--fc-on-accent); padding:16px 18px; display:flex; gap:14px; align-items:center}
.fc-ticket::before,.fc-ticket::after{content:''; position:absolute; top:50%; width:22px; height:22px; border-radius:var(--fc-r-round); background:var(--fc-card); translate:0 -50%}
.fc-ticket::before{left:-11px} .fc-ticket::after{right:-11px}
.fc-ticket__body{min-width:0}
.fc-ticket__title{font:800 14px var(--fc-font-title); display:block; text-transform:uppercase}
.fc-ticket__meta{font-size:11px; font-weight:700; opacity:.95}
.fc-ticket .fc-qr{margin-left:auto}
.fc-qr{--qr:var(--fc-qr-ink,var(--fc-veil)); width:64px; height:64px; border-radius:var(--fc-r-sm); flex:none; border:4px solid var(--fc-white); display:block; background:
  conic-gradient(var(--qr) 0 25%,transparent 0 50%,var(--qr) 0 75%,transparent 0) 0 0/14px 14px,
  repeating-linear-gradient(90deg,var(--qr) 0 4px,transparent 4px 9px),
  repeating-linear-gradient(0deg,var(--qr) 0 4px,var(--fc-white) 4px 9px)}
.fc-qr--sm{width:52px; height:52px}
.fc-qr--lg{width:120px; height:120px}
img.fc-qr{background:var(--fc-white); object-fit:contain}

/* ── 12. Canchas ────────────────────────────────────────────────────── */
.fc-courts{display:grid; gap:12px; grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr))}
.fc-courts--2{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:600px){.fc-courts--2{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}}
.fc-court{position:relative; border-radius:var(--fc-r-field); height:118px; overflow:hidden; cursor:pointer; box-shadow:0 10px 24px var(--fc-shadow-soft); display:block; border:0; padding:0; width:100%; text-align:left}
.fc-court--grass{background:repeating-linear-gradient(90deg,var(--fc-court-grass-1) 0 22px,var(--fc-court-grass-2) 22px 44px)}
.fc-court--grass-alt{background:repeating-linear-gradient(90deg,var(--fc-court-grass-alt-1) 0 22px,var(--fc-court-grass-alt-2) 22px 44px)}
.fc-court--clay{background:radial-gradient(color-mix(in srgb,var(--fc-black) 8%,transparent) 1.2px,transparent 1.2px) 0 0/7px 7px,var(--fc-court-clay)}
.fc-court--padel{background:linear-gradient(180deg,var(--fc-court-padel-1),var(--fc-court-padel-2))}
.fc-court--water{background:linear-gradient(180deg,var(--fc-court-water-1),var(--fc-court-water-2))}
.fc-court::before{content:''; position:absolute; inset:9px; border:2px solid var(--fc-court-line); border-radius:var(--fc-r-xs); pointer-events:none}
.fc-court::after{content:''; position:absolute; left:50%; top:9px; bottom:9px; border-left:2px solid var(--fc-court-line); pointer-events:none}
.fc-court--fill{height:100%; border-radius:0; box-shadow:none}
.fc-court__name{position:absolute; left:10px; bottom:9px; z-index:2; background:color-mix(in srgb,var(--fc-veil) 80%,transparent); color:var(--fc-on-accent); font:800 10.5px var(--fc-font-ui); padding:4px 9px; border-radius:var(--fc-r-pill)}
.fc-court__state{position:absolute; right:10px; top:9px; z-index:2}
.fc-court--busy{filter:saturate(.45) brightness(.82)}

/* ── 13. Fotos y medios ─────────────────────────────────────────────── */
.fc-thumb{width:100%; height:100%; object-fit:cover; display:block}
.fc-ph{position:relative; display:block; border-radius:var(--fc-r-field); overflow:hidden; background:var(--fc-soft); min-height:100px}
.fc-ph__cap{position:absolute; left:0; right:0; bottom:0; padding:22px 14px 10px; background:linear-gradient(transparent,color-mix(in srgb,var(--fc-veil) 85%,transparent)); color:var(--fc-on-accent); font:800 12.5px var(--fc-font-ui)}
.fc-mosaic{display:grid; gap:10px; grid-template-columns:1.8fr 1fr; grid-template-rows:118px 118px}
.fc-mosaic > :first-child{grid-row:1/3}
.fc-media{height:160px; position:relative; overflow:hidden; background:var(--fc-grad-deep)}
.fc-media img{width:100%; height:100%; object-fit:cover; display:block}
.fc-media__tag{position:absolute; left:12px; top:12px; z-index:2}
.fc-media--glow::before,.fc-media--glow::after{content:''; position:absolute; width:220px; height:220px; border-radius:var(--fc-r-round); filter:blur(70px); opacity:.5; background:var(--fc-structure-2); left:-60px; top:-60px}
.fc-media--glow::after{background:var(--fc-action-2); left:auto; top:auto; right:-50px; bottom:-80px; opacity:.45}
.fc-media__center{position:absolute; left:50%; top:50%; translate:-50% -50%; width:62px; z-index:1}

/* ── 14. Sponsors ───────────────────────────────────────────────────── */
.fc-slogo{height:22px; width:auto; object-fit:contain; filter:grayscale(1) opacity(.75); display:inline-block}
.fc-slogo:hover{filter:none}
.fc-slogo--square{height:30px}
.fc-slogo--lg{height:34px; filter:none}
.fc-slogo--lg.fc-slogo--square{height:46px}
.fc-sponsors{display:grid; gap:14px; grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr))}
.fc-sponsor{background:var(--fc-card); border:1.5px solid var(--fc-line); border-radius:var(--fc-r-item); min-height:104px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:14px; box-shadow:var(--fc-shadow-card); position:relative}
.fc-sponsor img{max-height:38px; max-width:72%; object-fit:contain}
.fc-sponsor img.fc-slogo--square{max-height:46px}
.fc-sponsor__tag{position:absolute; top:10px; right:10px}
.fc-sponsor-word{font:800 15px var(--fc-font-ui); letter-spacing:.08em; color:var(--fc-muted)}
/* oscuro: los logos monocromos se pasan a claro; los --keep (cuadrados/a color, ej. banco) NUNCA se invierten */
:root.fc-themed[data-theme="dark"] .fc-slogo:not(.fc-slogo--keep){filter:brightness(0) invert(.8)}
:root.fc-themed[data-theme="dark"] .fc-slogo:not(.fc-slogo--keep):hover{filter:brightness(0) invert(1)}
:root.fc-themed[data-theme="dark"] :is(.fc-slogo--lg,.fc-sponsor img):not(.fc-slogo--keep){filter:brightness(0) invert(.92)}
@media (prefers-color-scheme:dark){
  :root.fc-themed:not([data-theme="light"]) .fc-slogo:not(.fc-slogo--keep){filter:brightness(0) invert(.8)}
  :root.fc-themed:not([data-theme="light"]) :is(.fc-slogo--lg,.fc-sponsor img):not(.fc-slogo--keep){filter:brightness(0) invert(.92)}
}
.fc-slogo--keep,.fc-sponsor img.fc-slogo--keep{filter:none}

/* ── 15. Paleta de comandos (⌘K), toasts, vacíos ────────────────────── */
.fc-ovl{position:fixed; inset:0; z-index:90; background:var(--fc-scrim); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); display:none; align-items:flex-start; justify-content:center; padding:min(14vh,120px) 16px 20px}
.fc-ovl.is-open{display:flex}
.fc-palette{width:min(560px,100%); background:var(--fc-card); border:1.5px solid var(--fc-line); border-radius:var(--fc-r-sheet); box-shadow:var(--fc-shadow-pop); overflow:hidden; animation:fc-up .18s ease; color:var(--fc-ink)}
@keyframes fc-up{from{transform:translateY(10px); opacity:0}}
.fc-palette__in{display:flex; gap:10px; align-items:center; padding:14px 18px; border-bottom:1.5px solid var(--fc-line)}
.fc-palette__in input{all:unset; flex:1; min-width:0; font:700 15px var(--fc-font-ui); color:var(--fc-ink)}
.fc-palette__in input::placeholder{color:var(--fc-muted)}
.fc-palette__list{max-height:min(48vh,380px); overflow:auto; padding:8px}
.fc-palette__group{font:700 10px var(--fc-font-data); letter-spacing:.18em; text-transform:uppercase; color:var(--fc-muted); padding:10px 12px 4px}
.fc-palette__item{display:flex; align-items:center; gap:11px; padding:10px 12px; border-radius:var(--fc-r-sm); cursor:pointer; color:var(--fc-ink); font-weight:inherit}
.fc-palette__item:hover,.fc-palette__item[aria-selected="true"]{background:var(--fc-soft)}
.fc-palette__ic{width:34px; height:34px; border-radius:var(--fc-r-sm); flex:none; display:grid; place-items:center; color:var(--fc-on-accent)}
.fc-palette__item b{font-size:13.5px; display:block; font-weight:800}
.fc-palette__item small{color:var(--fc-muted); font-weight:700; font-size:11px}
.fc-palette__hint{padding:10px 18px; font:700 10.5px var(--fc-font-data); color:var(--fc-muted); border-top:1.5px solid var(--fc-line); display:flex; gap:14px; flex-wrap:wrap}
@media (pointer:coarse){.fc-palette__hint{display:none}}
.fc-toast{position:fixed; left:50%; bottom:92px; translate:-50% 0; z-index:95; background:var(--fc-inverse); color:var(--fc-on-inverse); font:800 13px var(--fc-font-ui); padding:12px 20px; border-radius:var(--fc-r-pill); box-shadow:0 14px 34px color-mix(in srgb,var(--fc-black) 40%,transparent); opacity:0; pointer-events:none; transition:opacity .25s,translate .25s; max-width:calc(100vw - 32px); text-align:center}
.fc-toast.is-show{opacity:1; translate:-50% -6px}
.fc-toast--error{background:var(--fc-error); color:var(--fc-on-accent)}
@media (min-width:960px){.fc-toast{bottom:26px}}
.fc-pub .fc-toast{bottom:26px}
.fc-empty{text-align:center; padding:34px 18px; color:var(--fc-muted); font-weight:700}
.fc-empty .fc-sport,.fc-empty__ic{width:46px; margin:0 auto 12px; display:block; color:var(--fc-muted)}
.fc-empty h3{color:var(--fc-ink); margin-bottom:6px}
.fc-empty p{max-width:380px; margin:0 auto 16px; font-size:13.5px}
.fc-skel{border-radius:var(--fc-r-sm); background:linear-gradient(90deg,var(--fc-soft),var(--fc-line),var(--fc-soft)) 0 0/200% 100%; animation:fc-skel 1.2s linear infinite; min-height:14px}
@keyframes fc-skel{to{background-position:-200% 0}}

/* ── 16. Sitio público ──────────────────────────────────────────────── */
body.fc-pub{display:block}
.fc-wrap{max-width:var(--fc-pub-maxw); margin:0 auto; padding:0 16px; min-width:0}
.fc-pubbar{position:sticky; top:0; z-index:50; background:color-mix(in srgb,var(--fc-bg) 86%,transparent); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-bottom:1.5px solid var(--fc-line)}
.fc-pubbar__in{display:flex; align-items:center; gap:12px; padding-top:12px; padding-bottom:12px}
.fc-pubbar__brand{display:flex; align-items:center; gap:10px; color:var(--fc-ink); min-width:0; flex:1}
.fc-pubbar__brand b{font:800 16px var(--fc-font-title); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.fc-pubbar nav{display:none; gap:4px}
.fc-pubbar nav a{color:var(--fc-muted); font-weight:800; font-size:13.5px; padding:8px 12px; border-radius:var(--fc-r-sm)}
.fc-pubbar nav a:hover,.fc-pubbar nav a[aria-current="page"]{background:var(--fc-soft); color:var(--fc-ink)}
.fc-pubbar__login{flex:none}   /* "Ingresar": nunca se oculta */
@media (min-width:960px){.fc-pubbar nav{display:flex} .fc-pubbar__brand{flex:none}}
.fc-pubhero{position:relative; height:clamp(380px,56vh,500px); display:flex; align-items:flex-end; overflow:hidden; background:var(--fc-grad-deep)}
.fc-pubhero > img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 30%}
.fc-pubhero__veil{position:absolute; inset:0; background:linear-gradient(180deg,color-mix(in srgb,var(--fc-veil) 8%,transparent) 30%,color-mix(in srgb,var(--fc-veil) 94%,transparent))}
.fc-pubhero__txt{position:relative; width:100%; padding-bottom:30px; color:var(--fc-on-accent)}
.fc-pubhero h1{color:var(--fc-on-accent); font-size:clamp(32px,5.5vw,54px); margin:12px 0 8px; max-width:720px}
.fc-pubhero p{font-weight:700; color:color-mix(in srgb,var(--fc-white) 88%,transparent); max-width:560px}
.fc-pubhero--brand{height:clamp(360px,52vh,460px); background:linear-gradient(180deg,color-mix(in srgb,var(--fc-veil) 35%,transparent),color-mix(in srgb,var(--fc-veil) 80%,transparent)),var(--fc-stripes)}
.fc-pubhero__crest{position:absolute; right:max(16px,calc((100% - var(--fc-pub-maxw)) / 2 + 16px)); top:50%; translate:0 -50%; width:clamp(90px,16vw,190px); opacity:.95; filter:drop-shadow(0 18px 40px color-mix(in srgb,var(--fc-black) 45%,transparent))}
@media (max-width:959.98px){.fc-pubhero__crest{top:28px; translate:none; width:84px}}
.fc-gallery{display:flex; gap:6px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; margin-top:6px}
.fc-gallery::-webkit-scrollbar{display:none}
.fc-gallery > .fc-ph{flex:0 0 80vw; height:240px; border-radius:0; scroll-snap-align:center}
.fc-gallery .fc-ph__cap{font-size:14px}
@media (min-width:960px){
  .fc-gallery{display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; overflow:visible}
  .fc-gallery > .fc-ph{height:300px}
}
.fc-bigmark{position:absolute; right:2px; top:-16px; font:var(--fc-title-weight) 120px var(--fc-font-title); color:color-mix(in srgb,var(--fc-white) 8%,transparent); letter-spacing:-.04em; pointer-events:none}
/* bloque promocional oscuro con teléfono */
.fc-promo{position:relative; max-width:1148px; margin:84px auto 30px; border-radius:var(--fc-r-card); background:var(--fc-promo-bg); color:var(--fc-on-accent); box-shadow:0 30px 70px color-mix(in srgb,var(--fc-veil) 30%,transparent)}
@media (min-width:960px){.fc-promo:has(.fc-phone){min-height:460px}}
.fc-promo__glow{position:absolute; inset:0; border-radius:inherit; overflow:hidden; pointer-events:none}
.fc-promo__glow::before,.fc-promo__glow::after{content:''; position:absolute; width:480px; height:480px; border-radius:var(--fc-r-round); filter:blur(120px); opacity:.5; background:var(--fc-structure-2); left:-140px; top:-120px}
.fc-promo__glow::after{background:var(--fc-action-2); left:auto; top:auto; right:140px; bottom:-220px}
.fc-promo__in{position:relative; padding:44px 40px; max-width:600px}
.fc-promo h2{color:var(--fc-on-accent); font-size:clamp(26px,3.6vw,38px); margin-top:10px}
.fc-promo .fc-kicker{color:var(--fc-action-1)}
.fc-feat{display:flex; gap:10px; align-items:center; color:color-mix(in srgb,var(--fc-white) 82%,transparent); font-weight:700; font-size:14px; margin-top:12px}
.fc-feat__dot{width:26px; height:26px; border-radius:var(--fc-r-sm); flex:none; display:grid; place-items:center; color:var(--fc-on-accent)}
.fc-feat__dot .fc-ico{width:15px; height:15px}
.fc-promo__by{display:flex; align-items:center; gap:10px; margin-top:22px; color:color-mix(in srgb,var(--fc-white) 58%,transparent); font-weight:700; font-size:12px; flex-wrap:wrap}
.fc-promo__by img{height:20px; filter:brightness(0) invert(1); opacity:.95}
.fc-phone{position:absolute; right:52px; top:-40px; width:250px; rotate:4deg; border-radius:calc(var(--fc-r-card) * 1.6); padding:9px; background:linear-gradient(165deg,var(--fc-deep-1),var(--fc-deep-2)); box-shadow:0 36px 80px color-mix(in srgb,var(--fc-black) 45%,transparent); z-index:2}
.fc-phone__screen{background:var(--fc-promo-bg); border-radius:calc(var(--fc-r-card) * 1.3); overflow:hidden; display:flex; flex-direction:column; height:496px; padding-bottom:4px}
.fc-phone__bar{display:flex; justify-content:space-between; padding:9px 16px 5px; font:800 10px var(--fc-font-ui)}
.fc-phone__bar i{width:64px; height:17px; border-radius:var(--fc-r-pill); background:var(--fc-black)}
.fc-phone__screen > .fc-hero,.fc-phone__screen > .fc-abar{margin:8px 12px 0; padding:11px; border-radius:var(--fc-r-field); width:auto; font-size:10px; box-shadow:none}
.fc-phone__screen > .fc-abar{width:calc(var(--w,100%) - 24px)}
.fc-phone .fc-hero__title{font-size:11.5px}
.fc-phone .fc-hero__text{font-size:9px}
.fc-phone__tabs{margin-top:auto; display:flex; align-items:center; justify-content:space-around; padding:8px 10px 10px; border-top:1.5px solid color-mix(in srgb,var(--fc-white) 10%,transparent)}
.fc-phone__tabs i{width:17px; height:17px; border-radius:var(--fc-r-xs); background:color-mix(in srgb,var(--fc-white) 14%,transparent)}
.fc-phone__tabs b{width:34px; height:34px; border-radius:var(--fc-r-round); background:var(--fc-grad-action); margin-top:-16px; border:3px solid var(--fc-promo-bg); display:grid; place-items:center}
.fc-phone__greet{padding:8px 14px 0; font:900 16px var(--fc-font-title)}
.fc-phone__greet small{display:block; font:700 8.5px var(--fc-font-data); letter-spacing:.14em; opacity:.6; margin-top:2px}
@media (max-width:959px){
  .fc-promo{margin:26px auto 30px}
  .fc-promo:has(.fc-phone){margin-bottom:86px}
  .fc-promo__in{padding:30px 22px 28px; max-width:none}
  .fc-promo:has(.fc-phone) .fc-promo__in{padding-bottom:0}
  .fc-phone{position:relative; right:auto; top:auto; rotate:0deg; margin:26px auto -56px; display:block; max-width:100%}
}
/* pie institucional */
.fc-pubfoot{background:var(--fc-foot-bg); color:var(--fc-foot-ink); margin-top:44px}
.fc-pubfoot__in{padding-top:36px; padding-bottom:28px}
.fc-pubfoot__cols{display:grid; gap:24px; grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr))}
.fc-pubfoot h4{color:var(--fc-white); font:700 12.5px var(--fc-font-data); letter-spacing:.08em; text-transform:uppercase}
.fc-pubfoot :where(a){color:var(--fc-white)}
.fc-pubfoot__brand{gap:10px}
.fc-pubfoot__brand b{font:800 16px/1.1 var(--fc-font-title); color:var(--fc-white)}
.fc-pubfoot__link{display:block; font-weight:700; font-size:13.5px; margin-top:9px; color:var(--fc-foot-ink)}
.fc-pubfoot__link:hover{color:var(--fc-white)}
.fc-pubfoot__text{color:var(--fc-foot-muted); margin-top:10px; font-size:12px}
.fc-pubfoot__logo{height:22px; width:auto; filter:brightness(0) invert(1); opacity:.9; display:block; align-self:flex-start}
.fc-pubfoot__logo.fc-slogo--square{height:30px}
.fc-pubfoot__logo.fc-slogo--keep{filter:none; opacity:1}
.fc-pubfoot .fc-sponsor-word{color:var(--fc-foot-ink); font-size:13px}
.fc-foot__logos .fc-sponsor-word{font-size:12px}
.fc-pubfoot__sponsors{display:flex; flex-wrap:wrap; gap:14px 18px; align-items:center; margin-top:12px}
.fc-slogo-plate{display:inline-flex; align-items:center; padding:6px 10px; border-radius:var(--fc-r-sm); background:var(--fc-white)}
.fc-slogo-plate .fc-slogo{filter:none; height:22px}
.fc-slogo--on-dark{display:none!important}
:root.fc-themed[data-theme="dark"] .fc-slogo--on-light{display:none!important}
:root.fc-themed[data-theme="dark"] .fc-slogo--on-dark{display:inline-flex!important}
@media (prefers-color-scheme:dark){
  :root.fc-themed:not([data-theme="light"]) .fc-slogo--on-light{display:none!important}
  :root.fc-themed:not([data-theme="light"]) .fc-slogo--on-dark{display:inline-flex!important}
}
.fc-pubfoot__legal{margin-top:26px; color:var(--fc-foot-muted); font-size:11px}

/* ── 17. Movimiento ─────────────────────────────────────────────────── */
.fc-fade{animation:fc-fade .5s ease both}
.fc-d1{animation-delay:.06s} .fc-d2{animation-delay:.12s} .fc-d3{animation-delay:.18s} .fc-d4{animation-delay:.24s}
@keyframes fc-fade{from{opacity:0; transform:translateY(10px)}}
.fc-grow{transform-origin:left center; animation:fc-grow .9s var(--fc-ease) both}
@keyframes fc-grow{from{transform:scaleX(.08)}}

/* ── 17b. Puente con el framework dentro del sitio del club ───────────
   Pantallas que usan clases del framework (btn, moon-*) dentro de un layout del
   club (acceso, primer ingreso, Mi cuenta, formularios de módulos) toman la
   marca y el esquema claro/oscuro sin reescribirse. Lo nuevo usa fc-*. */
.fc .btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; font:800 14px var(--fc-font-ui); border-radius:var(--fc-r-pill); padding:12px 20px; border:1.5px solid var(--fc-line); background:var(--fc-card); color:var(--fc-ink); cursor:pointer; min-height:44px}
.fc .btn:hover:not(:disabled){border-color:var(--fc-structure-2)}
.fc .btn-primary{background:var(--fc-grad-action); color:var(--fc-on-accent); border-color:transparent; box-shadow:var(--fc-shadow-action)}
.fc .btn-secondary{background:var(--fc-grad-structure); color:var(--fc-on-accent); border-color:transparent}
.fc .btn-ghost{background:transparent; border-color:transparent; color:var(--fc-link)}
.fc .btn-danger{background:var(--fc-error); color:var(--fc-on-accent); border-color:transparent}
.fc .btn-lg{padding:15px 24px; font-size:15px}
.fc .btn:disabled{opacity:.5; cursor:not-allowed; box-shadow:none}
.fc .moon-page-title{font:var(--fc-title-weight) clamp(26px,4vw,32px)/1.1 var(--fc-font-title); letter-spacing:var(--fc-title-tracking); color:var(--fc-ink); margin:4px 0 10px}
.fc .moon-tagline{font:700 11.5px var(--fc-font-data); letter-spacing:.2em; text-transform:uppercase; color:var(--fc-action-2); margin:0 0 6px}
.fc .moon-label{font:800 11px var(--fc-font-ui); color:var(--fc-muted); letter-spacing:.1em; text-transform:uppercase; display:block; margin:14px 0 7px}
.fc :is(.moon-input,.moon-select,.moon-textarea){width:100%; background:var(--fc-soft); border:1.5px solid transparent; border-radius:var(--fc-r-field); padding:13px 15px; font:700 15px var(--fc-font-ui); color:var(--fc-ink); min-height:48px}
.fc :is(.moon-input,.moon-select,.moon-textarea):focus{outline:0; border-color:var(--fc-structure-2); background:var(--fc-card); box-shadow:0 0 0 4px var(--fc-glow-structure)}
.fc :is(.moon-input,.moon-textarea)::placeholder{color:var(--fc-muted)}
.fc :is(.moon-field-help,.moon-checkbox-desc){color:var(--fc-muted); font-size:12.5px; font-weight:600; margin-top:6px}
.fc .moon-msg-error{color:var(--fc-error); font-weight:800; font-size:12.5px; margin-top:6px}
.fc .moon-checkbox-label{color:var(--fc-ink); font-weight:700}
.fc .moon-input-group{display:flex; gap:8px; min-width:0}
.fc .moon-input-group > .moon-select{flex:0 1 46%; width:auto; min-width:0}
.fc .moon-input-group > .moon-input{flex:1 1 auto; width:auto; min-width:0}
.fc .moon-alert{border-radius:var(--fc-r-item); border:1.5px solid var(--fc-line); background:var(--fc-card); color:var(--fc-ink); padding:12px 16px}
.fc .moon-alert-warning{border-color:color-mix(in srgb,var(--fc-warn) 45%,transparent); background:color-mix(in srgb,var(--fc-warn) 10%,var(--fc-card))}
.fc .moon-alert-success{border-color:color-mix(in srgb,var(--fc-ok) 45%,transparent); background:color-mix(in srgb,var(--fc-ok) 10%,var(--fc-card))}
.fc .moon-alert-error{border-color:color-mix(in srgb,var(--fc-error) 45%,transparent); background:color-mix(in srgb,var(--fc-error) 10%,var(--fc-card))}
.fc .modal-overlay{background:var(--fc-scrim); backdrop-filter:blur(6px)}
.fc .modal{background:var(--fc-card); color:var(--fc-ink); border:1.5px solid var(--fc-line); border-radius:var(--fc-r-sheet)}
/* acceso (/ingresar, link del mail) y primer ingreso: una tarjeta centrada */
.fc :is(.fc-access,.fc-onboarding){display:block; max-width:520px; margin:clamp(20px,6vh,64px) auto; padding:0 16px}
.fc :is(.fc-access-step,.fc-onboarding-step,.fc-access-notice){background:var(--fc-card); border:1.5px solid var(--fc-line); border-radius:var(--fc-r-card); padding:clamp(20px,4vw,32px); box-shadow:var(--fc-shadow-card); margin-bottom:16px}
.fc :is(.fc-access-step,.fc-onboarding-step) > p{color:var(--fc-muted); font-weight:600; margin:0 0 14px}
.fc :is(.fc-access-form,.fc-onboarding-group){display:flex; flex-direction:column; gap:14px; margin-top:8px}
.fc :is(.fc-access-form,.fc-onboarding-step) .btn-primary{width:100%}
.fc .fc-access-code-input{font:700 24px var(--fc-font-data); letter-spacing:.4em; text-align:center; text-transform:uppercase}
.fc .fc-access-welcome{background:linear-gradient(180deg,color-mix(in srgb,var(--fc-veil) 40%,transparent),color-mix(in srgb,var(--fc-veil) 87%,transparent)),var(--fc-stripes); color:var(--fc-on-accent); border:0}
.fc .fc-access-welcome :is(.moon-page-title,.moon-tagline,p){color:var(--fc-on-accent)}
.fc :is(.fc-access-secondary,.fc-onboarding-secondary){text-align:center; margin-top:10px}
.fc .fc-onboarding-progress{text-align:center}
.fc .fc-onboarding-minor{display:flex; gap:10px; flex-wrap:wrap; align-items:flex-end}
.fc .fc-onboarding-minor > *{flex:1 1 160px; min-width:0}
.fc .fc-onboarding-summary{background:var(--fc-soft); border-radius:var(--fc-r-item); padding:14px 16px}

/* texto sobre el tono terciario: tinta oscura (el blanco sobre celeste no llega a AA) */
:is(.fc-abar,.fc-item__ic,.fc-avatar,.fc-hero,.fc-palette__ic,.fc-ticket,.fc-feat__dot).fc-tone-sky{color:var(--fc-on-sky)}
.fc-hero.fc-tone-sky .fc-ring__bar{stroke:var(--fc-on-sky)}
.fc-hero.fc-tone-sky .fc-ring__track{stroke:color-mix(in srgb,var(--fc-on-sky) 20%,transparent)}
.fc-hero.fc-tone-sky .fc-ring text{fill:var(--fc-on-sky)}

/* ── 18. Táctil y accesibilidad ─────────────────────────────────────── */
@media (pointer:coarse){
  .fc-btn,.fc-chip:not(.fc-chip--sm),.fc-seg button{min-height:44px}
  .fc-iconbtn{width:44px; height:44px}
}
@media (prefers-reduced-motion:reduce){
  .fc-crest--glint::after,.fc-bob,.fc-fade,.fc-grow,.fc-palette,.fc-skel,.fc-btn.is-loading::after{animation:none}
  body.fc,.fc-toast,.fc-ring__bar,.fc-btn,.fc-switch,.fc-switch::after{transition:none}
  html:has(body.fc){scroll-behavior:auto}
}
@media print{.fc-side,.fc-topbar,.fc-tabbar,.fc-foot,.fc-ovl,.fc-toast{display:none!important} body.fc-app{display:block}}
