@import "https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap";/* Barra de contexto: categoría y período */
.filtros-ctx { position: relative; display: flex; align-items: center; }
.filtros-ctx-full { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filtro-ctx { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 30px 0 12px; border-radius: 10px; background: rgba(8, 22, 36, 0.75); border: 1px solid var(--pitch-border); color: var(--text-main); font-size: 13px; font-weight: 600; transition: border-color .15s ease; }
.filtro-ctx:hover { border-color: var(--gold); }
.filtro-ctx:focus-within { border-color: var(--gold); box-shadow: 0 0 0 2px color-mix(in srgb, var(--gold) 25%, transparent); }
.filtro-ctx svg { color: var(--gold); flex-shrink: 0; }
.filtro-ctx select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; outline: none; color: var(--text-pure); font: inherit; cursor: pointer; padding: 0; max-width: 240px; text-overflow: ellipsis; }
.filtro-ctx select option, .filtro-ctx select optgroup { background: #0d233a; color: #ffffff; }
.filtro-ctx .filtro-ctx-chevron { position: absolute; right: 10px; pointer-events: none; color: var(--text-dim); }
.filtro-ctx-fijo { padding-right: 12px; color: var(--text-pure); }
.filtros-ctx-compacto { display: none; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 10px; background: rgba(8, 22, 36, 0.75); border: 1px solid var(--pitch-border); color: var(--text-pure); font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.filtros-ctx-compacto svg { color: var(--gold); }
.filtros-ctx-panel { position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 10px; border-radius: 12px; background: #0d233a; border: 1px solid var(--pitch-border); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); min-width: 260px; }
.filtros-ctx-panel .filtro-ctx select { max-width: none; flex: 1; }
.filtros-ctx-resumen { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.filtros-ctx-compacto svg { flex-shrink: 0; }
@media (max-width: 720px) {
  .filtros-ctx { min-width: 0; }
  .filtros-ctx-full { display: none; }
  .filtros-ctx-compacto { display: inline-flex; max-width: 100%; height: 40px; }
}
/* Asistente de configuración inicial del club */
.asis-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(5, 15, 26, 0.88);
  backdrop-filter: blur(10px);
}
.asis-card {
  width: 100%; max-width: 620px; max-height: 94vh;
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--pitch-border-gold);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  background: var(--pitch-dark);
  overflow: hidden;
}
.asis-head { padding: 22px 24px 14px; border-bottom: 1px solid var(--pitch-border); }
.asis-head .app-page-title { font-size: clamp(20px, 3vw, 26px); margin: 2px 0 14px; }

.asis-pasos { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.asis-pasos li {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 4px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--pitch-border);
}
.asis-paso-num {
  width: 20px; height: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; background: rgba(255, 255, 255, 0.08); color: var(--text-muted);
}
.asis-pasos li.is-actual { color: var(--text-pure); border-color: var(--gold); }
.asis-pasos li.is-actual .asis-paso-num, .asis-pasos li.is-hecho .asis-paso-num { background: var(--gold); color: #fff; }
.asis-pasos li.is-hecho { color: var(--text-muted); }

.asis-body { padding: 18px 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.asis-body .app-field { margin: 0; }
.asis-ayuda { margin: 0; font-size: 13px; color: var(--text-muted); line-height: 1.45; }

.asis-escudo { display: flex; align-items: center; gap: 14px; }
.asis-escudo img {
  width: 72px; height: 72px; object-fit: contain; padding: 6px;
  border-radius: 16px; background: rgba(8, 22, 36, 0.9); border: 1px solid var(--pitch-border);
}

.asis-opciones { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.asis-opcion {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 92px; padding: 12px; border-radius: 14px; cursor: pointer;
  font: 600 14px Inter, sans-serif; color: var(--text-main);
  background: rgba(8, 22, 36, 0.7); border: 1px solid var(--pitch-border);
  transition: border-color 0.15s, background 0.15s;
}
.asis-opcion:hover { border-color: color-mix(in srgb, var(--gold) 60%, transparent); }
.asis-opcion.is-on { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 14%, rgba(8, 22, 36, 0.7)); color: var(--text-pure); box-shadow: 0 0 0 1px var(--gold) inset; }
.asis-opcion-emoji { font-size: 30px; line-height: 1; }
.asis-opcion-texto span { font-size: 12px; font-weight: 500; color: var(--text-muted); }

.asis-color { display: flex; flex-direction: column; gap: 8px; }
.asis-color-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.asis-color-head label { font-size: 13px; font-weight: 600; color: var(--text-main); }
.asis-color-actual { display: flex; align-items: center; gap: 6px; }
.asis-color-actual input[type="color"] { width: 30px; height: 30px; padding: 0; border: none; border-radius: 8px; background: transparent; cursor: pointer; }
.asis-color-actual code { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.asis-swatches { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 520px) { .asis-swatches { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.asis-swatch {
  aspect-ratio: 1; min-height: 28px; border-radius: 8px; cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.18);
}
.asis-swatch.is-on { border-color: #fff; box-shadow: 0 0 0 2px var(--pitch-dark), 0 0 0 4px #fff; }
.asis-intercambiar { align-self: flex-start; padding: 6px 12px !important; font-size: 12.5px !important; }
.asis-aviso {
  margin: 0; padding: 8px 12px; border-radius: 10px; font-size: 12.5px;
  color: var(--draw); background: var(--draw-bg); border: 1px solid color-mix(in srgb, var(--draw) 40%, transparent);
}

.asis-preview { border-radius: 14px; overflow: hidden; border: 1px solid var(--pitch-border); }
.asis-preview-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: #fff; }
.asis-preview-head img { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; background: rgba(255, 255, 255, 0.92); padding: 4px; }
.asis-preview-club { font-family: 'Bebas Neue', sans-serif; font-size: 22px; line-height: 1; letter-spacing: 0.03em; }
.asis-preview-sub { font-size: 11px; font-weight: 600; opacity: 0.85; }
.asis-preview-body { display: flex; align-items: center; gap: 10px; padding: 14px; flex-wrap: wrap; }
.asis-preview-btn { padding: 7px 14px; border-radius: 8px; color: #fff; font-size: 12.5px; font-weight: 700; }
.asis-preview-tag { padding: 3px 8px; border-radius: 6px; border: 1px solid; font: 700 10.5px var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; }
.asis-preview-link { font-size: 12.5px; font-weight: 600; }

.asis-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 14px 24px; border-top: 1px solid var(--pitch-border);
}
.asis-foot-acciones { display: flex; gap: 8px; margin-left: auto; }
.asis-mas-tarde { background: none; border: none; padding: 6px 0; cursor: pointer; font-size: 12.5px; color: var(--text-dim); text-decoration: underline; }
.asis-mas-tarde:hover { color: var(--text-muted); }

@media (max-width: 520px) {
  .asis-head, .asis-body, .asis-foot { padding-left: 16px; padding-right: 16px; }
}



@layer components;

/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */

@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-backdrop-blur: initial;
      --tw-backdrop-brightness: initial;
      --tw-backdrop-contrast: initial;
      --tw-backdrop-grayscale: initial;
      --tw-backdrop-hue-rotate: initial;
      --tw-backdrop-invert: initial;
      --tw-backdrop-opacity: initial;
      --tw-backdrop-saturate: initial;
      --tw-backdrop-sepia: initial;
      --tw-ease: initial;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
      "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
      "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: "IBM Plex Mono", monospace;
    --spacing: .25rem;
    --radius-sm: .25rem;
    --radius-md: .375rem;
    --radius-lg: .5rem;
    --ease-out: cubic-bezier(0, 0, .2, 1);
    --ease-in-out: cubic-bezier(.4, 0, .2, 1);
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --color-ground: var(--theme-background, oklch(24% .04 250));
    --color-panel: var(--theme-panel, oklch(28% .04 250));
    --color-ink: oklch(92% .01 250);
    --color-soft: oklch(70% .02 250);
    --color-accent: var(--theme-accent, oklch(65% .16 45));
    --color-pitch-card: oklch(32% .05 250);
    --color-pitch-surface: oklch(32% .05 250 / .75);
    --color-pitch-elevated: oklch(38% .06 250);
    --color-pitch-border: oklch(90% .01 250 / .1);
    --color-pitch-border-gold: var(--color-accent);
  }

  @supports (color: color-mix(in lab, red, red)) {
    :root, :host {
      --color-pitch-border-gold: color-mix(in oklch, var(--color-accent) 40%, transparent);
    }
  }

  :root, :host {
    --color-gold-glow: var(--color-accent);
  }

  @supports (color: color-mix(in lab, red, red)) {
    :root, :host {
      --color-gold-glow: color-mix(in oklch, var(--color-accent) 35%, transparent);
    }
  }

  :root, :host {
    --color-gold-soft: var(--color-accent);
  }

  @supports (color: color-mix(in lab, red, red)) {
    :root, :host {
      --color-gold-soft: color-mix(in oklch, var(--color-accent) 75%, white);
    }
  }

  :root, :host {
    --color-gold-dark: var(--color-accent);
  }

  @supports (color: color-mix(in lab, red, red)) {
    :root, :host {
      --color-gold-dark: color-mix(in oklch, var(--color-accent) 78%, black);
    }
  }

  :root, :host {
    --color-club-secondary: var(--theme-secondary, #0d1b2e);
    --color-win: oklch(65% .14 150);
    --color-draw: oklch(75% .14 70);
    --color-loss: oklch(60% .16 25);
    --font-bebas: "Bebas Neue", sans-serif;
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer utilities {
  .collapse {
    visibility: collapse;
  }

  .invisible {
    visibility: hidden;
  }

  .visible {
    visibility: visible;
  }

  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .relative {
    position: relative;
  }

  .static {
    position: static;
  }

  .sticky {
    position: sticky;
  }

  .order-first {
    order: -9999;
  }

  .block {
    display: block;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .inline {
    display: inline;
  }

  .inline-block {
    display: inline-block;
  }

  .inline-flex {
    display: inline-flex;
  }

  .flex-shrink {
    flex-shrink: 1;
  }

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

  .resize {
    resize: both;
  }

  .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .flex-wrap {
    flex-wrap: wrap;
  }

  .gap-6 {
    gap: calc(var(--spacing) * 6);
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .uppercase {
    text-transform: uppercase;
  }

  .underline {
    text-decoration-line: underline;
  }

  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }

  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .filter {
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .backdrop-filter {
    -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
    backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .ease-in-out {
    --tw-ease: var(--ease-in-out);
    transition-timing-function: var(--ease-in-out);
  }

  .ease-out {
    --tw-ease: var(--ease-out);
    transition-timing-function: var(--ease-out);
  }

  @media (min-width: 64rem) {
    .lg\:order-none {
      order: 0;
    }

    .lg\:grid-cols-\[1\.2fr_0\.8fr\] {
      grid-template-columns: 1.2fr .8fr;
    }
  }
}

:root {
  --pitch-void: var(--color-ground);
  --pitch-dark: var(--color-panel);
  --pitch-card: var(--color-pitch-card);
  --pitch-surface: var(--color-pitch-surface);
  --pitch-elevated: var(--color-pitch-elevated);
  --pitch-border: var(--color-pitch-border);
  --pitch-border-gold: var(--color-pitch-border-gold);
  --gold: var(--color-accent);
  --gold-glow: var(--color-gold-glow);
  --gold-soft: var(--color-gold-soft);
  --gold-dark: var(--color-gold-dark);
  --club-secondary: var(--color-club-secondary);
  --win: var(--color-win);
  --win-bg: oklch(65% .14 150 / .15);
  --draw: var(--color-draw);
  --draw-bg: oklch(75% .14 70 / .15);
  --loss: var(--color-loss);
  --loss-bg: oklch(60% .16 25 / .15);
  --sub12: oklch(70% .12 230);
  --sub14: var(--color-accent);
  --sub16: oklch(65% .18 10);
  --text-pure: var(--color-ink);
  --text-main: oklch(88% .01 250);
  --text-muted: var(--color-soft);
  --text-dim: oklch(55% .02 250);
  --sidebar-w: 260px;
  --header-h: 70px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --glass-blur: blur(14px);
  --shadow-subtle: 0 4px 20px #0006;
  --shadow-glow: 0 0 25px var(--gold);
}

@supports (color: color-mix(in lab, red, red)) {
  :root {
    --shadow-glow: 0 0 25px color-mix(in srgb, var(--gold) 25%, transparent);
  }
}

:root {
  --transition: all .22s cubic-bezier(.16, 1, .3, 1);
}

*, :before, :after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: var(--pitch-void);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  overflow-x: clip;
}

body:before {
  content: "";
  background-color: var(--color-ground);
  background-image: radial-gradient(ellipse at 15% 10%, var(--gold) 0%, transparent 45%), radial-gradient(ellipse at 85% 90%, #0e264299 0%, transparent 60%);
  position: fixed;
  inset: 0;
}

@supports (color: color-mix(in lab, red, red)) {
  body:before {
    background-image: radial-gradient(ellipse at 15% 10%, color-mix(in srgb, var(--gold) 5%, transparent) 0%, transparent 45%), radial-gradient(ellipse at 85% 90%, #0e264299 0%, transparent 60%);
  }
}

body:before {
  filter: url("#noise");
  opacity: .8;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  transform: translateZ(0);
}

.sport-title {
  font-family: var(--font-bebas);
  letter-spacing: .04em;
  line-height: 1;
}

.mono-stat {
  font-family: var(--font-mono);
  font-feature-settings: "tnum";
}

.glass-panel {
  background: var(--pitch-surface);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--pitch-border);
  border-radius: var(--radius-md);
  box-shadow: inset 0 1px 1px #ffffff1a, var(--shadow-subtle);
  transition: var(--transition);
  backface-visibility: hidden;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.glass-panel:before {
  content: "";
  opacity: .22;
  pointer-events: none;
  background-image: radial-gradient(#ffffff1f 1px, #0000 0);
  background-size: 6px 6px;
  position: absolute;
  inset: 0;
}

.glass-panel:hover {
  border-color: var(--gold);
}

@supports (color: color-mix(in lab, red, red)) {
  .glass-panel:hover {
    border-color: color-mix(in srgb, var(--gold) 35%, transparent);
  }
}

.glass-panel-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--club-secondary) 100%);
  position: relative;
}

@supports (color: color-mix(in lab, red, red)) {
  .glass-panel-gold {
    background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 14%, transparent) 0%, color-mix(in srgb, var(--club-secondary) 40%, #122e4dd9) 100%);
  }
}

.glass-panel-gold {
  border: 1px solid var(--pitch-border-gold);
  backface-visibility: hidden;
  overflow: hidden;
  transform: translateZ(0);
}

.glass-panel-gold:before {
  content: "";
  opacity: .3;
  background-image: radial-gradient(var(--gold) 1px, transparent 0);
  position: absolute;
  inset: 0;
}

@supports (color: color-mix(in lab, red, red)) {
  .glass-panel-gold:before {
    background-image: radial-gradient(color-mix(in srgb, var(--gold) 25%, transparent) 1px, transparent 0);
  }
}

.glass-panel-gold:before {
  pointer-events: none;
  background-size: 6px 6px;
}

.app-shell {
  z-index: 1;
  min-height: 100vh;
  display: flex;
  position: relative;
}

.main-content {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  display: flex;
}

.page-container {
  flex: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 32px 48px;
}

.btn-sport {
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid #0000;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
}

.btn-sport-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 16px var(--gold);
}

@supports (color: color-mix(in lab, red, red)) {
  .btn-sport-gold {
    box-shadow: 0 4px 16px color-mix(in srgb, var(--gold) 35%, transparent);
  }
}

.btn-sport-gold:hover {
  box-shadow: 0 6px 22px var(--gold);
  transform: translateY(-2px);
}

@supports (color: color-mix(in lab, red, red)) {
  .btn-sport-gold:hover {
    box-shadow: 0 6px 22px color-mix(in srgb, var(--gold) 50%, transparent);
  }
}

.btn-sport:disabled {
  opacity: .5;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-sport-outline {
  color: var(--text-main);
  border-color: var(--pitch-border);
  background: #ffffff0a;
}

.btn-sport-outline:hover {
  border-color: var(--gold);
  background: #ffffff17;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--pitch-void);
}

::-webkit-scrollbar-thumb {
  background: var(--pitch-elevated);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

.badge-pill {
  border-radius: var(--radius-full);
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-family: IBM Plex Mono, monospace;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
}

.badge-win {
  background: var(--win-bg);
  color: var(--win);
  border: 1px solid #10b9814d;
}

.badge-draw {
  background: var(--draw-bg);
  color: var(--draw);
  border: 1px solid #f59e0b4d;
}

.badge-loss {
  background: var(--loss-bg);
  color: var(--loss);
  border: 1px solid #ef44444d;
}

@media (max-width: 1024px) {
  .page-container {
    padding: 20px 20px 40px;
  }
}

@media (max-width: 768px), (pointer: coarse) {
  html, body {
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .glass-panel, .glass-panel-gold {
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px #00000059;
  }

  .btn-sport {
    min-height: 40px;
  }

  .toque {
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
  }

  .player-card-contain, .matrix-row-contain {
    content-visibility: auto;
    contain-intrinsic-size: 0 100px;
  }
}

@media (max-width: 768px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]), select, textarea {
    font-size: 16px !important;
  }
}

@media (max-width: 760px) {
  .acciones-celular {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px !important;
    display: grid !important;
  }

  .acciones-celular > * {
    justify-content: center;
    width: 100%;
    min-width: 0 !important;
  }

  .acciones-celular > .acc-ancho {
    grid-column: 1 / -1;
  }

  .ancho-celular {
    width: 100%;
  }

  .ancho-celular select {
    flex: 1;
    min-width: 0;
    min-height: 40px;
  }

  .pestanas-celular {
    grid-template-columns: repeat(var(--pestanas, 2), minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 4px;
    width: 100%;
    display: grid !important;
  }

  .pestanas-celular > button {
    text-align: center;
    flex-direction: column;
    justify-content: center;
    min-height: 52px;
    line-height: 1.2;
    gap: 4px !important;
    padding: 8px 4px !important;
    font-size: 11.5px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.app-modal-backdrop {
  z-index: 1000;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background: #040c16c7;
  justify-content: center;
  align-items: center;
  padding: 16px;
  display: flex;
  position: fixed;
  inset: 0;
}

.app-modal {
  border-radius: var(--radius-md);
  background: var(--pitch-dark);
  border: 1px solid var(--pitch-border);
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 32px);
  color: var(--text-main);
  padding: 26px 24px;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px #000000bf;
}

.app-modal-wide {
  max-width: 920px;
}

.app-dialogo {
  z-index: 1400;
}

.app-dialogo .app-modal h2 {
  font-size: 24px;
}

.app-dialogo-texto {
  color: var(--text-main);
  white-space: pre-line;
  margin: 6px 0 18px;
  font-size: 14px;
  line-height: 1.5;
}

.btn-sport-peligro {
  color: #fff;
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  box-shadow: 0 4px 16px #dc26264d;
}

.btn-sport-peligro:hover {
  box-shadow: 0 6px 22px #dc262673;
}

.app-modal h2 {
  font-family: var(--font-bebas);
  letter-spacing: .04em;
  color: var(--text-pure);
  margin: 0 0 4px;
  font-size: 28px;
}

.app-modal p.app-modal-sub {
  color: var(--text-muted);
  margin: 0 0 18px;
  font-size: 13px;
}

.app-field {
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  display: flex;
}

.app-field label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
  font-size: 11px;
}

.app-field input, .app-field select, .app-field textarea {
  border-radius: var(--radius-sm);
  border: 1px solid var(--pitch-border);
  width: 100%;
  color: var(--text-pure);
  background: #081624d9;
  outline: none;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13px;
}

.app-field input[type="date"], .app-field input[type="time"] {
  appearance: none;
  text-align: left;
  min-width: 0;
  max-width: 100%;
  min-height: 42px;
}

.app-field input::-webkit-date-and-time-value {
  text-align: left;
}

.app-field input:focus, .app-field select:focus, .app-field textarea:focus {
  border-color: var(--gold);
}

.app-field textarea {
  resize: vertical;
  font-family: inherit;
}

.app-field small {
  color: var(--text-dim);
  font-size: 11px;
}

.app-alert {
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  padding: 10px 14px;
  font-size: 12.5px;
}

.app-alert-error {
  background: var(--loss-bg);
  color: #f87171;
  border: 1px solid #ef44444d;
}

.app-alert-ok {
  background: var(--win-bg);
  color: var(--win);
  border: 1px solid #10b9814d;
}

.app-alert-info {
  border: 1px solid var(--pitch-border);
  color: var(--text-muted);
  background: #ffffff0a;
}

.app-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
  display: flex;
}

.app-table-wrap {
  overflow-x: auto;
}

.app-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}

.app-table th {
  text-align: left;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-dim);
  border-bottom: 1px solid var(--pitch-border);
  white-space: nowrap;
  padding: 10px 12px;
  font-size: 10.5px;
}

.app-table td {
  color: var(--text-main);
  vertical-align: middle;
  border-bottom: 1px solid #ffffff0d;
  padding: 10px 12px;
}

.app-badge {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  white-space: nowrap;
  background: #ffffff14;
  border-radius: 999px;
  padding: 2px 8px;
  display: inline-block;
}

.app-badge-ok {
  background: var(--win-bg);
  color: var(--win);
}

.app-badge-off {
  background: var(--loss-bg);
  color: var(--loss);
}

.app-badge-gold {
  background: var(--gold);
}

@supports (color: color-mix(in lab, red, red)) {
  .app-badge-gold {
    background: color-mix(in srgb, var(--gold) 15%, transparent);
  }
}

.app-badge-gold {
  color: var(--gold);
}

.app-page-title {
  font-family: var(--font-bebas);
  letter-spacing: .04em;
  color: var(--text-pure);
  margin: 4px 0;
  font-size: 34px;
}

.app-eyebrow {
  font-family: var(--font-mono);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 11px;
}

.plan-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  display: grid;
}

.plan-card {
  border-radius: var(--radius-md);
  background: var(--pitch-surface);
  border: 1px solid var(--pitch-border);
  flex-direction: column;
  gap: 12px;
  padding: 22px 20px;
  display: flex;
  position: relative;
}

.plan-card-current {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold) inset;
}

.plan-card h3 {
  font-family: var(--font-bebas);
  letter-spacing: .04em;
  color: var(--text-pure);
  margin: 0;
  font-size: 30px;
}

.plan-price {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
}

.plan-price-local {
  color: var(--text-muted);
  margin-top: -8px;
  font-size: 12px;
}

.plan-card ul {
  color: var(--text-main);
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  display: flex;
}

.plan-card .btn-sport {
  justify-content: center;
  margin-top: auto;
}

.plan-card-custom {
  border-style: dashed;
}

.plan-custom-form {
  border-radius: var(--radius-md);
  background: var(--pitch-surface);
  border: 1px solid var(--gold);
  margin-top: 16px;
  padding: 20px;
}

.plan-custom-form h3 {
  font-family: var(--font-bebas);
  letter-spacing: .04em;
  color: var(--text-pure);
  margin: 0 0 4px;
  font-size: 26px;
}

.pay-options {
  gap: 10px;
  display: grid;
}

.pay-option {
  border-radius: var(--radius-sm);
  border: 1px solid var(--pitch-border);
  cursor: pointer;
  background: #0816248c;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  display: flex;
}

.pay-option.is-selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold) inset;
}

.pay-option input {
  accent-color: var(--gold);
  margin-top: 3px;
}

.pay-option > span {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.pay-option strong {
  color: var(--text-pure);
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  display: flex;
}

.pay-option-price {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

.pay-option small {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
}

.plan-custom-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  column-gap: 12px;
  display: grid;
}

@media (max-width: 600px) {
  .app-modal {
    padding: 22px 16px;
  }

  .app-table th, .app-table td {
    padding: 8px;
  }
}

@media (min-width: 761px) and (max-width: 1500px), (min-width: 761px) and (max-height: 820px) {
  .pagina-hero {
    gap: 12px !important;
    padding: 14px 20px !important;
  }

  .hero-titulo {
    margin: 2px 0 !important;
    font-size: 26px !important;
  }

  .hero-desc, .hero-texto {
    display: none;
  }

  .app-page-title {
    font-size: 26px;
  }

  .kpi-card {
    padding: 12px 16px !important;
  }

  .kpi-card .kpi-cabeza {
    margin-bottom: 6px !important;
  }

  .kpi-card .kpi-valor {
    font-size: 28px !important;
  }
}

@property --tw-rotate-x {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-y {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-z {
  syntax: "*";
  inherits: false
}

@property --tw-skew-x {
  syntax: "*";
  inherits: false
}

@property --tw-skew-y {
  syntax: "*";
  inherits: false
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-blur {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-invert {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-ease {
  syntax: "*";
  inherits: false
}
