html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #0a0e14;
    color: #f1f5f9;
}

#app {
    min-height: 100vh;
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    color: #94a3b8;
}

/* ═══════════════════════════════════════════════════════════════
   Main Layout — header + content
   ═══════════════════════════════════════════════════════════════ */

.padel-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #0a0e14;
    color: #f1f5f9;
    overflow-x: hidden;
}

.padel-header {
    background: #131825;
    color: #f1f5f9;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.padel-logo {
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #b8ff3a;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.padel-nav a {
    color: #94a3b8;
    text-decoration: none;
    margin-left: 1.4rem;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.15s;
}

.padel-nav a:hover {
    color: #f1f5f9;
}

.padel-main {
    flex: 1;
    padding: 1rem 1.5rem;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════════════════
   Home / Index page
   ═══════════════════════════════════════════════════════════════ */

.home-header {
    margin-bottom: 1.75rem;
}

.home-header h1 {
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #f1f5f9;
    letter-spacing: -0.02em;
}

.home-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.home-filters input[type="text"] {
    flex: 1 1 200px;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    font-size: 0.95rem;
    background: #131825;
    color: #f1f5f9;
    font-family: "Figtree", system-ui, sans-serif;
    outline: none;
}

.home-filters input[type="text"]::placeholder {
    color: #64748b;
}

.home-filters input[type="text"]:focus {
    border-color: #b8ff3a;
}

.home-filters select {
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    background: #131825;
    color: #f1f5f9;
    font-size: 0.95rem;
    font-family: "Figtree", system-ui, sans-serif;
    outline: none;
    cursor: pointer;
}

.home-filters button {
    padding: 0.7rem 1.35rem;
    border: 0;
    border-radius: 10px;
    background: #b8ff3a;
    color: #0a1500;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: "Figtree", system-ui, sans-serif;
    cursor: pointer;
}

.home-filters button:hover {
    opacity: 0.9;
}

.clubes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.club-card {
    background: #131825;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s, background 0.2s;
}

.club-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.14);
    background: #1a1f2e;
}

.club-foto {
    height: 170px;
    background-color: #1a1f2e;
    overflow: hidden;
}

.club-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.club-info {
    padding: 1rem 1.1rem;
}

.club-info h3 {
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    margin: 0 0 0.4rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #f1f5f9;
}

.club-meta {
    margin: 0 0 0.5rem 0;
    color: #64748b;
    font-size: 0.85rem;
}

.club-meta span {
    margin-right: 0.35rem;
}

.club-precio {
    margin: 0;
    color: #b8ff3a;
    font-size: 0.92rem;
    font-weight: 700;
    font-family: "JetBrains Mono", ui-monospace, monospace;
}

.error {
    color: #f87171;
}

/* ═══════════════════════════════════════════════════════════════
   Auth cards (Login / Registro) — dark theme
   ═══════════════════════════════════════════════════════════════ */

.auth-card {
    max-width: 400px;
    margin: 2rem auto;
    background: #131825;
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 1.75rem 2rem;
    border-radius: 14px;
}

.auth-card h1 {
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    margin: 0 0 1.25rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f1f5f9;
}

.auth-card label {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #94a3b8;
}

.auth-card label input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 0.35rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    font-size: 0.95rem;
    background: #1a1f2e;
    color: #f1f5f9;
    font-family: "Figtree", system-ui, sans-serif;
    outline: none;
}

.auth-card label input:focus {
    border-color: #b8ff3a;
}

.auth-card label select.auth-select {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 0.35rem;
    padding: 0.65rem 2.2rem 0.65rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    font-size: 0.95rem;
    background-color: #1a1f2e;
    color: #f1f5f9;
    font-family: "Figtree", system-ui, sans-serif;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23b8ff3a' d='M6 8L0 0h12z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
}

.auth-card label select.auth-select:focus {
    border-color: #b8ff3a;
}

.auth-card label select.auth-select:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.auth-card label select.auth-select option {
    background: #1a1f2e;
    color: #f1f5f9;
}

.auth-card button {
    width: 100%;
    padding: 0.75rem;
    border: 0;
    border-radius: 8px;
    background: #b8ff3a;
    color: #0a1500;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 0.5rem;
    font-family: "Figtree", system-ui, sans-serif;
}

.auth-card button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.auth-card .link {
    margin: 1rem 0 0 0;
    text-align: center;
    font-size: 0.88rem;
    color: #94a3b8;
}

.auth-card .link a {
    color: #b8ff3a;
    text-decoration: none;
    font-weight: 600;
}

.auth-card .error {
    color: #f87171;
    font-size: 0.85rem;
    margin: 0.5rem 0;
}

.auth-card .muted {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0 0 1.25rem;
}

/* Login mode tabs (Jugador / Club) */
.login-tabs {
    display: flex;
    gap: 0.3rem;
    background: #0a0e14;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 0.3rem;
    margin-bottom: 1.25rem;
}

.login-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 0.5rem;
    border-radius: 7px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    font-family: "Figtree", system-ui, sans-serif;
    transition: all 0.15s;
}

.login-tab.active {
    background: #1a1f2e;
    color: #b8ff3a;
}

.login-tab:hover:not(.active) {
    color: #f1f5f9;
}

/* Empresa selection list */
.empresa-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.empresa-item {
    width: 100%;
    text-align: left;
    background: #1a1f2e;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    cursor: pointer;
    font-family: "Figtree", system-ui, sans-serif;
    transition: border-color 0.15s, background 0.15s;
}

.empresa-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: #232a3a;
}

.empresa-item.selected {
    border-color: #b8ff3a;
    background: rgba(184, 255, 58, 0.08);
}

.empresa-item .empresa-nombre {
    color: #f1f5f9;
    font-size: 0.95rem;
    font-weight: 600;
}

.empresa-item .empresa-razon {
    color: #64748b;
    font-size: 0.82rem;
    margin-top: 0.15rem;
}

/* ═══════════════════════════════════════════════════════════════
   Club panel
   ═══════════════════════════════════════════════════════════════ */

.club-root {
    color: #f1f5f9;
    font-family: "Figtree", system-ui, sans-serif;
}

/* Override del full-bleed de ClubDetalle para las páginas del panel del club.
   Cancela width:100vw y transform para que el contenido quede dentro del
   MainLayout (max-width 1100px, igual que el index). */
.club-panel-root.club-root {
    width: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0;
    min-height: auto !important;
    background: transparent !important;
    overflow-x: visible !important;
}

.club-header {
    margin-bottom: 1.5rem;
}

.club-header h1 {
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: #f1f5f9;
}

.club-subtitle {
    color: #94a3b8;
    font-size: 0.95rem;
    margin: 0;
}

.btn-back-link {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    font-size: 0.88rem;
    font-family: inherit;
    margin-bottom: 0.5rem;
}

.btn-back-link:hover { color: #b8ff3a; }

.dash-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.dash-card {
    background: #131825;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.dash-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.14);
    background: #1a1f2e;
}

.dash-card-icon,
.club-card-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1f2e;
    color: #94a3b8;
    border-radius: 12px;
}

.dash-card-icon-accent,
.club-card-icon-accent {
    background: rgba(184, 255, 58, 0.18);
    color: #b8ff3a;
}

.dash-card-body h3,
.club-card-body h3 {
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: #f1f5f9;
}

.dash-card-body p,
.club-card-body p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.88rem;
}

/* Club forms */

.club-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-section {
    background: #131825;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 1.5rem;
}

.form-section-title {
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.form-row { margin-bottom: 1rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }

.form-group { margin-bottom: 1rem; }

.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: #1a1f2e;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    color: #f1f5f9;
    font-size: 0.92rem;
    font-family: "Figtree", system-ui, sans-serif;
    outline: none;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: #b8ff3a; }

.form-group input:disabled { opacity: 0.5; cursor: not-allowed; }

.form-group textarea { resize: vertical; }

.form-static {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
}

.input-with-action {
    display: flex;
    gap: 0.4rem;
    align-items: stretch;
    width: 100%;
}

.input-with-action input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
}

.btn-map {
    flex: 0 0 44px;
    width: 44px;
    height: auto;
    background: #1a1f2e;
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #b8ff3a;
    border-radius: 8px;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s, background 0.15s;
}

.btn-map:hover {
    border-color: #b8ff3a;
    background: rgba(184, 255, 58, 0.08);
}

.btn-map svg { display: block; }

/* Textarea grande */
.textarea-large {
    min-height: 180px;
    font-family: "Figtree", system-ui, sans-serif !important;
    line-height: 1.5;
}

/* Galería de fotos del club */
.fotos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.foto-item {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: #1a1f2e;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.foto-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.foto-delete {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.85);
    color: #f87171;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.foto-delete:hover { background: rgba(239, 68, 68, 0.9); color: white; }

.foto-add {
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    background: #1a1f2e;
    border: 2px dashed rgba(255, 255, 255, 0.14);
    cursor: pointer;
    position: relative;
    transition: border-color 0.15s, background 0.15s;
    overflow: hidden;
}

.foto-add:hover {
    border-color: #b8ff3a;
    background: #232a3a;
}

.foto-add.is-uploading {
    border-style: solid;
    border-color: #b8ff3a;
}

.foto-add input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.foto-add-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #94a3b8;
    pointer-events: none;
}

.foto-add:hover .foto-add-inner { color: #b8ff3a; }

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.btn-save {
    background: #b8ff3a;
    color: #0a1500;
    border: none;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    font-family: "Figtree", system-ui, sans-serif;
}

.btn-save:hover { opacity: 0.9; }
.btn-save:disabled { opacity: 0.5; cursor: not-allowed; }

.save-ok { color: #4ade80; text-align: right; font-size: 0.85rem; margin: 0.5rem 0 0; }
.save-error { color: #f87171; text-align: right; font-size: 0.85rem; margin: 0.5rem 0 0; }
.muted { color: #94a3b8; font-size: 0.9rem; }

.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-accent { background: rgba(184, 255, 58, 0.18); color: #b8ff3a; }
.badge-ok { background: rgba(74, 222, 128, 0.15); color: #4ade80; }

.toggle-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
}

.toggle-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #b8ff3a;
    cursor: pointer;
}

.toggle-text { color: #cbd5e1; }

/* Horarios grid */

.horarios-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.horario-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0.65rem;
    background: #1a1f2e;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.horario-day .toggle-text { font-weight: 600; }

.horario-times {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.horario-times input {
    width: 70px;
    padding: 0.4rem 0.55rem;
    background: #232a3a;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 6px;
    color: #f1f5f9;
    font-size: 0.85rem;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    outline: none;
    text-align: center;
}

.horario-times input:focus { border-color: #b8ff3a; }

.horario-times .dash { color: #64748b; font-size: 0.85rem; }
.horario-times .hr-sep { color: #94a3b8; font-weight: 600; margin: 0 0.3rem; }
.horario-times.is-disabled { opacity: 0.4; }

/* Bloqueos */

.bloqueo-add {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.bloqueo-add input[type="date"],
.bloqueo-add input[type="text"] {
    background: #1a1f2e;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    color: #f1f5f9;
    font-family: "Figtree", system-ui, sans-serif;
    font-size: 0.9rem;
    outline: none;
}

.bloqueo-add input[type="text"] { flex: 1 1 200px; }

.btn-action {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #b8ff3a;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    font-family: "Figtree", system-ui, sans-serif;
}

.btn-action:hover { border-color: #b8ff3a; background: rgba(184, 255, 58, 0.08); }
.btn-action:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-subtle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #cbd5e1;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    font-family: "Figtree", system-ui, sans-serif;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-subtle:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.04);
    color: #f1f5f9;
}

.btn-subtle:disabled { opacity: 0.5; cursor: not-allowed; }

.bloqueo-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.bloqueo-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    background: #1a1f2e;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 0.9rem;
}

.bloqueo-fecha {
    font-family: "JetBrains Mono", ui-monospace, monospace;
    color: #b8ff3a;
    font-weight: 600;
}

.bloqueo-desc { color: #cbd5e1; flex: 1; }

.btn-delete {
    background: none;
    border: none;
    color: #f87171;
    cursor: pointer;
    font-size: 1.3rem;
    line-height: 1;
    padding: 0 0.4rem;
}

.btn-delete:hover { color: #ef4444; }

@media (max-width: 640px) {
    .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
    .horario-row { grid-template-columns: 1fr; gap: 0.5rem; }
}

#blazor-error-ui {
    background: #2a1518;
    color: #f87171;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.5);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* ═══════════════════════════════════════════════════════════════
   ClubDetalle — "Stadium scoreboard / editorial energy"
   Dark athletic theme with court-lime accent
   ═══════════════════════════════════════════════════════════════ */

/* ── LOADER / ERROR (light state, pre-club-root) ─────────────── */

.loader,
.error-state {
    padding: 5rem 1.25rem;
    text-align: center;
    color: #64748b;
    font-family: "Figtree", system-ui, sans-serif;
}

.loader-pulse {
    width: 52px;
    height: 52px;
    border: 3px solid rgba(100, 116, 139, 0.18);
    border-top-color: #b8ff3a;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════════
   FULL-BLEED CONTAINER
   Breaks out of MainLayout's max-width + padding constraints
   ═══════════════════════════════════════════════════════════════ */

.club-root {
    /* theme tokens */
    --bg: #0a0e14;
    --surface-1: #131825;
    --surface-2: #1a1f2e;
    --surface-3: #232a3a;
    --border: rgba(255, 255, 255, 0.07);
    --border-strong: rgba(255, 255, 255, 0.14);
    --text: #f1f5f9;
    --text-2: #cbd5e1;
    --text-dim: #94a3b8;
    --text-mute: #64748b;
    --accent: #b8ff3a;
    --accent-glow: rgba(184, 255, 58, 0.28);
    --accent-ink: #0a1500;
    --danger: #f87171;

    --ff-display: "Bricolage Grotesque", "Archivo", system-ui, sans-serif;
    --ff-body: "Figtree", system-ui, -apple-system, sans-serif;
    --ff-mono: "JetBrains Mono", ui-monospace, monospace;

    /* breakout */
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -1rem;
    margin-bottom: -1rem;

    background: var(--bg);
    color: var(--text);
    font-family: var(--ff-body);
    min-height: calc(100vh - 60px);
    overflow-x: hidden;
}

/* entrance staggering */
.club-root > * {
    animation: rise 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}
.club-root > .hero             { animation-delay: 0ms; }
.club-root > .stats-wrap       { animation-delay: 120ms; }
.club-root > .section-intro    { animation-delay: 200ms; }
.club-root > .section-map      { animation-delay: 240ms; }
.club-root > .section-hours    { animation-delay: 260ms; }
.club-root > .section-courts   { animation-delay: 280ms; }
.club-root > .section-booking  { animation-delay: 340ms; }

@keyframes rise {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */

.hero {
    position: relative;
    height: 58vh;
    min-height: 440px;
    max-height: 680px;
    overflow: hidden;
}

.hero-image-wrap {
    position: absolute;
    inset: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.05) brightness(0.92);
    animation: slow-zoom 12s ease-out forwards;
}

@keyframes slow-zoom {
    from { transform: scale(1.08); }
    to   { transform: scale(1); }
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(10, 14, 20, 0.35) 0%,
            rgba(10, 14, 20, 0) 30%,
            rgba(10, 14, 20, 0) 55%,
            rgba(10, 14, 20, 0.55) 78%,
            rgba(10, 14, 20, 0.98) 100%);
}

.hero-noise {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.1;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem clamp(1.25rem, 5vw, 4rem);
    max-width: 1400px;
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.1rem;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 14px var(--accent-glow);
    animation: blip 2s ease-in-out infinite;
}

@keyframes blip {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.55; transform: scale(0.8); }
}

.hero-title {
    font-family: var(--ff-display);
    font-weight: 700;
    font-optical-sizing: auto;
    font-size: clamp(2.75rem, 8.5vw, 6.25rem);
    line-height: 0.92;
    letter-spacing: -0.035em;
    margin: 0 0 1.5rem 0;
    color: var(--text);
    text-wrap: balance;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.55);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.75rem;
    color: var(--text-2);
    font-size: 0.9rem;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-item svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ═══════════════════════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════════════════════ */

.stats-wrap {
    background: var(--surface-1);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.stats-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        transparent,
        rgba(184, 255, 58, 0.025) 20%,
        rgba(184, 255, 58, 0.025) 80%,
        transparent);
    pointer-events: none;
}

.stats {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.75rem clamp(1.25rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
    position: relative;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    position: relative;
}

.stat-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-mute);
}

.stat-value {
    font-family: var(--ff-display);
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text);
    font-feature-settings: "tnum";
}

.stat-value-accent {
    color: var(--accent);
}

.stat-value-sm {
    font-size: 1rem;
    font-family: var(--ff-mono);
    font-weight: 500;
    letter-spacing: 0;
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS (shared)
   ═══════════════════════════════════════════════════════════════ */

.section {
    padding: 4rem 0;
    position: relative;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 4rem);
    position: relative;
}

.section-inner-narrow {
    max-width: 760px;
}

.section-kicker {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin: 0 0 1.15rem 0;
    font-family: var(--ff-body);
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.85rem;
}

.section-head .section-kicker {
    margin: 0;
}

.section-count {
    font-family: var(--ff-mono);
    font-size: 0.85rem;
    color: var(--text-dim);
    letter-spacing: 0.05em;
}

.lead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-2);
    font-weight: 400;
    max-width: 62ch;
    margin: 0;
    text-wrap: pretty;
}

/* ═══════════════════════════════════════════════════════════════
   MAP
   ═══════════════════════════════════════════════════════════════ */

.map-address {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-2);
    font-size: 1.05rem;
    margin: 0 0 1.25rem;
}

.map-pin-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--accent);
}

.map-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface-1);
}

.map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    filter: invert(0.92) hue-rotate(180deg) brightness(1.1) contrast(1.05);
}

.map-directions {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1rem;
    font-family: var(--ff-body);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.map-directions:hover {
    gap: 0.75rem;
}

@media (max-width: 820px) {
    .map-frame {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 480px) {
    .map-frame {
        aspect-ratio: 4 / 3;
        border-radius: 10px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   COURTS RAIL
   ═══════════════════════════════════════════════════════════════ */

.courts-rail {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border-strong) transparent;
    scroll-snap-type: x proximity;
}

.courts-rail::-webkit-scrollbar {
    height: 4px;
}

.courts-rail::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 99px;
}

.court {
    flex: 0 0 auto;
    min-width: 230px;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.35rem 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    scroll-snap-align: start;
    transition: transform 0.2s ease, border-color 0.2s, background 0.2s;
    animation: rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

.court:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
    background: var(--surface-2);
}

.court-no {
    font-family: var(--ff-display);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 0.85;
    color: var(--accent);
    min-width: 2.2ch;
    letter-spacing: -0.02em;
}

.court-body {
    flex: 1;
    min-width: 0;
}

.court-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.55rem;
    line-height: 1.2;
}

.court-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.spec {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: var(--surface-3);
    color: var(--text-dim);
    border: 1px solid var(--border);
    white-space: nowrap;
}

.spec svg {
    width: 11px;
    height: 11px;
}

.spec-on {
    background: rgba(184, 255, 58, 0.1);
    color: var(--accent);
    border-color: rgba(184, 255, 58, 0.25);
}

/* ═══════════════════════════════════════════════════════════════
   BOOKING SECTION
   ═══════════════════════════════════════════════════════════════ */

.section-booking {
    padding-top: 4rem;
    padding-bottom: 6rem;
}

.section-booking::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at top right, rgba(184, 255, 58, 0.05), transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(79, 70, 229, 0.04), transparent 60%);
    pointer-events: none;
}

.booking-head {
    max-width: 720px;
    margin-bottom: 2.75rem;
}

.booking-title {
    font-family: var(--ff-display);
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.025em;
    margin: 0 0 1rem 0;
    color: var(--text);
}

.booking-title em {
    font-style: italic;
    color: var(--accent);
    font-weight: 600;
}

.booking-sub {
    font-size: 1rem;
    color: var(--text-dim);
    max-width: 56ch;
    margin: 0;
    line-height: 1.55;
}

/* ── Rails (shared by date + duration) ───────────────────── */

.rail {
    position: relative;
    margin-bottom: 2rem;
}

.rail-compact {
    margin-bottom: 2.75rem;
}

.rail-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 0.85rem;
}

/* ── Date chips ──────────────────────────────────────────── */

.date-rail {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.25rem 0 0.75rem;
    scrollbar-width: none;
    scroll-padding: 1rem;
}

.date-rail::-webkit-scrollbar {
    display: none;
}

.date-chip {
    flex: 0 0 auto;
    min-width: 74px;
    padding: 0.95rem 0.85rem 0.9rem;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1),
                border-color 0.15s,
                background 0.15s,
                box-shadow 0.15s;
    font-family: var(--ff-body);
}

.date-chip:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.chip-top {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-dim);
}

.chip-num {
    font-family: var(--ff-display);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text);
    font-feature-settings: "tnum";
}

.chip-month {
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    text-transform: uppercase;
}

.date-chip.is-selected {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.date-chip.is-selected .chip-top,
.date-chip.is-selected .chip-num,
.date-chip.is-selected .chip-month {
    color: var(--accent-ink);
}

/* ── Duration chips ──────────────────────────────────────── */

.duration-rail {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.duration-chip {
    padding: 0.78rem 1.5rem;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-2);
    font-family: var(--ff-mono);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    letter-spacing: 0.01em;
}

.duration-chip:hover {
    border-color: var(--border-strong);
    transform: translateY(-1px);
}

.duration-chip .prime {
    margin-left: 1px;
    opacity: 0.6;
}

.duration-chip.is-selected {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px var(--accent-glow);
}

.duration-chip.is-selected .prime {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════
   SCOREBOARD
   ═══════════════════════════════════════════════════════════════ */

.scoreboard-wrap {
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.scoreboard-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
    opacity: 0.4;
    pointer-events: none;
}

.board-state {
    padding: 3.5rem 1.5rem;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.95rem;
}

.board-state-error {
    color: var(--danger);
}

.scoreboard {
    overflow: auto;
    max-height: 600px;
    scrollbar-width: thin;
    scrollbar-color: var(--border-strong) transparent;
}

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

.scoreboard::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 99px;
}

.scoreboard::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.22);
}

.score-head,
.score-row {
    display: grid;
    grid-template-columns: 92px repeat(var(--courts, 4), minmax(108px, 1fr));
    min-width: 100%;
}

.score-head {
    position: sticky;
    top: 0;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border-strong);
    z-index: 2;
}

.score-row {
    border-top: 1px solid var(--border);
    transition: background 0.12s;
}

.score-row:hover {
    background: rgba(255, 255, 255, 0.015);
}

.score-row:hover .score-cell-time {
    color: var(--accent);
}

.score-cell {
    padding: 0.9rem 0.5rem;
    text-align: center;
    border-right: 1px solid var(--border);
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.score-cell:last-child {
    border-right: none;
}

/* Time column — sticky left */
.score-cell-time {
    position: sticky;
    left: 0;
    background: var(--surface-2);
    font-family: var(--ff-mono);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-2);
    border-right: 1px solid var(--border-strong);
    z-index: 1;
    transition: color 0.2s;
}

.score-head .score-cell-time {
    background: var(--surface-3);
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.12em;
    z-index: 3;
}

/* Head row — court column labels */
.score-cell-head {
    background: var(--surface-2);
}

.head-no {
    font-family: var(--ff-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}

/* Available cell — clickable */
.score-cell-free {
    background: transparent;
    border: none;
    border-right: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    font-family: inherit;
    padding: 0.9rem 0.5rem;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.score-cell-free::before {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 7px;
    background: rgba(184, 255, 58, 0.04);
    border: 1px solid rgba(184, 255, 58, 0.18);
    transition: all 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
}

.score-cell-free:hover::before {
    background: var(--accent);
    border-color: var(--accent);
    inset: 3px;
    box-shadow: 0 0 20px var(--accent-glow);
}

.score-cell-free:hover .cell-price {
    color: var(--accent-ink);
}

.score-cell-free.is-active::before {
    background: var(--accent);
    border-color: var(--accent);
    inset: 3px;
    box-shadow: 0 0 26px var(--accent-glow),
                inset 0 0 0 2px rgba(10, 21, 0, 0.35);
}

.score-cell-free.is-active .cell-price {
    color: var(--accent-ink);
}

.cell-price {
    position: relative;
    font-family: var(--ff-mono);
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--accent);
    transition: color 0.15s;
    letter-spacing: -0.01em;
}

/* Occupied cell */
.score-cell-taken {
    color: var(--text-mute);
    opacity: 0.4;
}

.cell-dash {
    font-size: 1.5rem;
    line-height: 1;
    font-family: var(--ff-mono);
}

/* ═══════════════════════════════════════════════════════════════
   STICKY BOOKING BAR
   ═══════════════════════════════════════════════════════════════ */

.booking-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(19, 24, 37, 0.92);
    border-top: 1px solid var(--border-strong);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    z-index: 50;
    animation: slide-up 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.45);
}

.booking-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
    opacity: 0.6;
}

@keyframes slide-up {
    from { transform: translateY(110%); opacity: 0.4; }
    to   { transform: translateY(0);    opacity: 1; }
}

.bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.15rem clamp(1.25rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1.75rem;
    align-items: center;
}

.bar-info {
    min-width: 0;
}

.bar-line-1 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.2rem;
    letter-spacing: -0.005em;
}

.bar-line-2 {
    font-size: 0.8rem;
    color: var(--text-dim);
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.bar-dot {
    opacity: 0.45;
}

.bar-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
    border-right: 1px solid var(--border-strong);
    padding-right: 1.75rem;
}

.bar-price-label {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-mute);
}

.bar-price-value {
    font-family: var(--ff-mono);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: -0.02em;
    font-feature-settings: "tnum";
}

.bar-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.92rem 1.85rem;
    background: var(--accent);
    color: var(--accent-ink);
    border: none;
    border-radius: 10px;
    font-family: var(--ff-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
    letter-spacing: 0.005em;
    white-space: nowrap;
}

.bar-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.bar-cta:active {
    transform: translateY(0);
}

.bar-cta svg {
    transition: transform 0.15s;
}

.bar-cta:hover svg {
    transform: translateX(2px);
}

.booking-spacer {
    height: 130px;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 820px) {
    .hero {
        height: 52vh;
        min-height: 380px;
    }

    .hero-content {
        padding: 1.75rem 1.25rem;
    }

    .hero-eyebrow {
        margin-bottom: 0.75rem;
    }

    .hero-title {
        margin-bottom: 1.1rem;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 2rem;
        padding: 1.25rem;
    }

    .stat-value {
        font-size: 1.7rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-inner {
        padding: 0 1.25rem;
    }

    .booking-head {
        margin-bottom: 2rem;
    }

    .court {
        min-width: 210px;
        padding: 1.15rem 1.1rem;
    }

    .court-no {
        font-size: 2.1rem;
    }

    .score-head,
    .score-row {
        grid-template-columns: 68px repeat(var(--courts, 4), minmax(84px, 1fr));
    }

    .score-cell,
    .score-cell-free {
        padding: 0.7rem 0.35rem;
        min-height: 52px;
    }

    .score-cell-time {
        font-size: 0.78rem;
    }

    .score-head .score-cell-time {
        font-size: 0.62rem;
    }

    .head-no {
        font-size: 1rem;
    }

    .cell-price {
        font-size: 0.78rem;
    }

    .bar-inner {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 0.85rem 1rem;
        padding: 0.95rem 1rem;
    }

    .bar-info {
        grid-column: 1 / -1;
    }

    .bar-line-1 {
        font-size: 0.92rem;
    }

    .bar-price {
        border-right: none;
        padding-right: 0;
    }

    .bar-price-value {
        font-size: 1.25rem;
    }

    .bar-cta {
        padding: 0.78rem 1.35rem;
        font-size: 0.92rem;
    }

    .booking-spacer {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .hero-meta {
        gap: 0.5rem 1rem;
        font-size: 0.82rem;
    }
}


/* ═══════════════════════════════════════════════════════════════
   INTRO GRID (desc + carrusel | mapa)
   ═══════════════════════════════════════════════════════════════ */

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.intro-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
}

.intro-map {
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.25rem;
    position: sticky;
    top: 1rem;
    min-width: 0;
}

.map-frame-side {
    aspect-ratio: 1 / 1;
    margin-top: 0.75rem;
}

@media (max-width: 820px) {
    .intro-grid { grid-template-columns: 1fr; }
    .intro-map { position: static; }
}

/* ═══════════════════════════════════════════════════════════════
   CAROUSEL
   ═══════════════════════════════════════════════════════════════ */

.carousel {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    overflow: hidden;
    background: var(--surface-1);
    border: 1px solid var(--border);
}

.carousel-track { width: 100%; height: 100%; }

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(10, 14, 20, 0.75);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    transition: background 0.15s;
}

.carousel-arrow:hover { background: rgba(10, 14, 20, 0.95); color: var(--accent); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
    transition: background 0.15s, width 0.15s;
}

.carousel-dot.is-active { background: var(--accent); width: 20px; border-radius: 10px; }

/* ═══════════════════════════════════════════════════════════════
   HORARIOS
   ═══════════════════════════════════════════════════════════════ */

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.6rem 0.85rem;
    margin-top: 0.5rem;
}

.hours-row {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
}

.hours-row:last-child { border-bottom: none; }

.hours-day { color: var(--text-2); font-weight: 600; text-transform: capitalize; }
.hours-range { color: var(--text); font-family: var(--ff-mono); font-size: 0.82rem; }
.hours-closed { color: var(--text-mute); font-family: var(--ff-body); font-style: italic; font-size: 0.82rem; }
.hours-row.is-off .hours-day { color: var(--text-mute); }


/* ═══════════════════════════════════════════════════════════════
   BOOKING PLAYTOMIC-STYLE GRID
   ═══════════════════════════════════════════════════════════════ */

.date-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.date-nav-tag {
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-2);
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.date-arrow {
    background: var(--surface-1);
    border: 1px solid var(--border);
    color: var(--text-2);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
}

.date-arrow:hover { border-color: var(--accent); color: var(--accent); }

.date-current {
    background: var(--surface-1);
    border: 1px solid var(--border);
    padding: 0.45rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    min-width: 180px;
    text-align: center;
}

.grid-wrap {
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.14) transparent;
}

.grid-wrap::-webkit-scrollbar,
.table-wrap::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}

.grid-wrap::-webkit-scrollbar-track,
.table-wrap::-webkit-scrollbar-track {
    background: transparent;
}

.grid-wrap::-webkit-scrollbar-thumb,
.table-wrap::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.14);
    border-radius: 99px;
}

.grid-wrap::-webkit-scrollbar-thumb:hover,
.table-wrap::-webkit-scrollbar-thumb:hover {
    background: rgba(184, 255, 58, 0.5);
}

.table-wrap {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.14) transparent;
}

.court-grid {
    display: grid;
    grid-template-columns: 160px repeat(var(--cols), minmax(40px, 1fr));
    grid-auto-rows: minmax(44px, auto);
    gap: 2px;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 6px;
    min-width: 100%;
}

.cg-corner { background: transparent; }

.cg-hour {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff-mono);
    font-size: 0.82rem;
    color: var(--text-dim);
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--border);
}

.cg-court {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.4rem 0.6rem;
    border-right: 1px solid var(--border);
    background: var(--surface-1);
}

.cg-court-name {
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cg-court-specs { color: var(--text-mute); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.03em; }

.cg-cell {
    border-radius: 4px;
    min-height: 44px;
    cursor: default;
    border: none;
    padding: 0;
    transition: transform 0.1s, background 0.15s;
}

.cg-free {
    background: rgba(184, 255, 58, 0.12);
    border: 1px solid rgba(184, 255, 58, 0.25);
    cursor: pointer;
}

.cg-free:hover { background: rgba(184, 255, 58, 0.25); transform: scale(1.04); }

.cg-free.is-active {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-glow);
}

.cg-taken {
    background-image: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.05) 6px,
        rgba(255, 255, 255, 0.1) 6px,
        rgba(255, 255, 255, 0.1) 12px
    );
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    min-height: 44px;
}

.cg-past { opacity: 0.35; cursor: not-allowed; }

.cg-booked {
    background: rgba(251, 191, 36, 0.22);
    border: 1px solid rgba(251, 191, 36, 0.5);
    border-radius: 4px;
    min-height: 44px;
    cursor: not-allowed;
}

.legend {
    display: flex;
    justify-content: flex-end;
    gap: 1.25rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-dim);
    font-size: 0.82rem;
}

.legend-chip {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    display: inline-block;
}

.legend-free { background: rgba(184, 255, 58, 0.25); border: 1px solid rgba(184, 255, 58, 0.4); }
.legend-taken {
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.05), rgba(255,255,255,0.05) 3px, rgba(255,255,255,0.15) 3px, rgba(255,255,255,0.15) 6px);
}
.legend-mine { background: var(--accent); }
.legend-booked { background: rgba(251, 191, 36, 0.22); border: 1px solid rgba(251, 191, 36, 0.5); }


/* intro-col: canchas + título + carrusel compacto */
.intro-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.courts-rail-compact {
    gap: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.courts-rail-compact .court {
    min-width: 180px !important;
    padding: 0.9rem 0.85rem !important;
}

.courts-rail-compact .court-no {
    font-size: 1.9rem !important;
}

.booking-title-inline {
    margin: 1.25rem 0 0.75rem !important;
    font-size: 1.6rem !important;
    line-height: 1.15 !important;
}


/* ═══════════════════════════════════════════════════════════════
   DURATION MODAL (seleccionar duracion al clickear slot)
   ═══════════════════════════════════════════════════════════════ */

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    animation: fadeIn 0.15s ease-out;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.duration-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #131825;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 1.5rem;
    width: min(420px, 92vw);
    z-index: 1001;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    animation: popIn 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    color: #f1f5f9;
    font-family: "Figtree", system-ui, sans-serif;
}

@keyframes popIn {
    from { opacity: 0; transform: translate(-50%, -48%) scale(0.96); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.dm-head { text-align: center; margin-bottom: 1.25rem; }

.dm-title {
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.dm-sub { color: #94a3b8; font-size: 0.88rem; }

.dm-options {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.dm-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1a1f2e;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: #f1f5f9;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.15s, background 0.15s;
}

.dm-option:hover { border-color: rgba(184, 255, 58, 0.4); background: #232a3a; }

.dm-option.is-selected {
    border-color: #b8ff3a;
    background: rgba(184, 255, 58, 0.1);
}

.dm-opt-dur { font-weight: 600; }
.dm-opt-price { font-family: "JetBrains Mono", monospace; color: #b8ff3a; font-weight: 700; }

.dm-cta {
    width: 100%;
    background: #b8ff3a;
    color: #0a1500;
    border: none;
    padding: 0.8rem;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.dm-cta:hover { opacity: 0.9; }

.dm-close {
    width: 100%;
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 0.4rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.88rem;
}

.dm-close:hover { color: #f1f5f9; }

.bar-error { color: #f87171; text-align: center; font-size: 0.85rem; padding: 0.5rem 1rem; background: rgba(248,113,113,0.08); border-top: 1px solid rgba(248,113,113,0.25); }


/* Portada del club */
.portada-wrap {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.portada-preview {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: #1a1f2e;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.portada-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }

.portada-wrap .foto-add { aspect-ratio: 16 / 9; }

@media (max-width: 640px) {
    .portada-wrap { grid-template-columns: 1fr; }
}


/* Ubicación actual en el index */
.home-location {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #131825;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
}

.loc-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 255, 58, 0.12);
    color: #b8ff3a;
    border-radius: 10px;
}

.loc-text { flex: 1; display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.loc-label { color: #f1f5f9; font-weight: 600; font-size: 0.9rem; }
.loc-coords { color: #94a3b8; font-size: 0.82rem; font-family: "JetBrains Mono", monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.loc-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #b8ff3a;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: "Figtree", system-ui, sans-serif;
    flex-shrink: 0;
}

.loc-btn:hover { border-color: #b8ff3a; background: rgba(184, 255, 58, 0.08); }


/* Tarifas inline en /club/canchas */
.tarifas-block {
    margin-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 1rem;
}

.tarifas-block h4 {
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: 0.95rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.tarifas-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.copiar-tarifas-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    background: #1a1f2e;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}
.copiar-tarifas-box label { color: #94a3b8; font-size: 0.82rem; font-weight: 600; }
.copiar-tarifas-box select {
    background: #131825;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 0.4rem 0.55rem;
    color: #f1f5f9;
    font-size: 0.88rem;
    font-family: inherit;
    outline: none;
}
.copiar-tarifas-box select:focus { border-color: #b8ff3a; }
.copiar-warn { color: #fbbf24; font-size: 0.82rem; font-weight: 600; }

.btn-delete-strong {
    background: #ef4444;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.45rem 0.8rem;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
}
.btn-delete-strong:hover { background: #dc2626; }
.btn-delete-strong:disabled { opacity: 0.6; cursor: not-allowed; }

/* Filtro de grupos fijos */
.grupos-filtro {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #131825;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 0.6rem 0.85rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.grupos-filtro label { color: #94a3b8; font-size: 0.82rem; font-weight: 600; }
.grupos-filtro select {
    background: #1a1f2e;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    color: #f1f5f9;
    font-size: 0.88rem;
    font-family: inherit;
    outline: none;
    color-scheme: dark;
}
.grupos-filtro select:focus { border-color: #b8ff3a; }
.grupos-count {
    margin-left: auto;
    color: #94a3b8;
    font-size: 0.82rem;
    font-family: "JetBrains Mono", monospace;
}

.tarifas-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.tarifas-table th {
    text-align: left;
    font-size: 0.72rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.4rem 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.tarifas-table td {
    padding: 0.3rem 0.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.tarifas-table input, .tarifas-table select {
    width: 100%;
    background: #1a1f2e;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 6px;
    padding: 0.35rem 0.5rem;
    color: #f1f5f9;
    font-size: 0.85rem;
    font-family: "Figtree", system-ui, sans-serif;
    outline: none;
    box-sizing: border-box;
}
.tarifas-table input[type="checkbox"] { width: auto; }
.tarifas-table .center { text-align: center; }
.tarifas-table .btn-action, .tarifas-table .btn-save, .tarifas-table .btn-delete {
    padding: 0.3rem 0.6rem;
    font-size: 0.85rem;
    margin-right: 0.2rem;
}
.tarifa-new { background: rgba(184, 255, 58, 0.04); }


/* Mis reservas */
.mis-reservas-root { color: #f1f5f9; font-family: "Figtree", system-ui, sans-serif; }
.mis-reservas-header { margin-bottom: 1.5rem; }
.mis-reservas-header h1 { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-size: 1.75rem; font-weight: 700; margin: 0 0 0.25rem; }
.section-title { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-size: 1rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.08em; margin: 1.5rem 0 0.75rem; }

.reservas-list { display: flex; flex-direction: column; gap: 0.75rem; }

.reserva-card {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 1rem;
    background: #131825;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: border-color 0.15s;
}

.reserva-card:hover { border-color: rgba(255, 255, 255, 0.14); }
.reserva-card.is-cancelled { opacity: 0.55; }

.reserva-main { display: flex; gap: 1rem; align-items: center; flex: 1; min-width: 0; }

.reserva-fecha {
    width: 56px;
    flex-shrink: 0;
    background: rgba(184, 255, 58, 0.12);
    border: 1px solid rgba(184, 255, 58, 0.25);
    border-radius: 10px;
    padding: 0.4rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.reserva-dia { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-size: 1.4rem; font-weight: 700; color: #b8ff3a; line-height: 1; }
.reserva-mes { font-size: 0.7rem; font-weight: 600; color: #94a3b8; letter-spacing: 0.04em; }

.reserva-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.reserva-club { font-weight: 600; color: #f1f5f9; }
.reserva-club a { color: inherit; text-decoration: none; }
.reserva-club a:hover { color: #b8ff3a; }
.reserva-mesa { color: #94a3b8; font-weight: 500; }
.reserva-horario { font-size: 0.85rem; color: #94a3b8; font-family: "JetBrains Mono", monospace; text-transform: capitalize; }
.reserva-tags { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.2rem; }

.reserva-badge {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.reserva-badge.badge-danger { background: rgba(248, 113, 113, 0.15); color: #f87171; }
.reserva-badge.estado-pendiente { background: rgba(250, 204, 21, 0.12); color: #fbbf24; }
.reserva-badge.estado-pagada { background: rgba(74, 222, 128, 0.15); color: #4ade80; }
.reserva-badge.estado-confirmada { background: rgba(74, 222, 128, 0.15); color: #4ade80; }

.reserva-total { font-family: "JetBrains Mono", monospace; color: #b8ff3a; font-weight: 700; font-size: 0.88rem; }

.reserva-actions { display: flex; align-items: center; gap: 0.4rem; flex-shrink: 0; }

.btn-delete-link {
    background: transparent;
    border: none;
    color: #64748b;
    padding: 0.4rem 0.6rem;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

.btn-delete-link:hover { color: #f87171; background: rgba(248, 113, 113, 0.08); }

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    background: #131825;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
}

.empty-state p { color: #94a3b8; margin: 0 0 1rem; }

@media (max-width: 560px) {
    .reserva-card { flex-direction: column; align-items: stretch; }
    .reserva-actions { justify-content: flex-end; }
}


/* MercadoPago validación */
.mp-validado {
    background: rgba(74,222,128,0.06);
    border: 1px solid rgba(74,222,128,0.25);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-top: 0.75rem;
}
.mp-validado .save-ok { display: block; margin-bottom: 0.4rem; text-align: left; font-weight: 700; }
.mp-validado-info { color: #cbd5e1; font-size: 0.85rem; display: flex; flex-direction: column; gap: 0.15rem; }
.mp-validado-info strong { color: #94a3b8; font-weight: 600; }


.btn-cancel {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(248, 113, 113, 0.08);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: #f87171;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: "Figtree", system-ui, sans-serif;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn-cancel:hover {
    background: rgba(248, 113, 113, 0.18);
    border-color: #f87171;
    color: #fca5a5;
}

.btn-cancel svg { display: block; }


/* Historial de reservas del club */
.historial-filtros {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
    flex-wrap: wrap;
    background: #131825;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}

.filtro-group { display: flex; flex-direction: column; gap: 0.3rem; }
.filtro-group label { font-size: 0.78rem; color: #94a3b8; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.filtro-group input {
    background: #1a1f2e;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    color: #f1f5f9;
    font-size: 0.9rem;
    font-family: "Figtree", system-ui, sans-serif;
    outline: none;
    color-scheme: dark;
}

.filtro-group input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(1.4);
    opacity: 0.75;
    cursor: pointer;
}
.filtro-group input[type="date"]::-webkit-calendar-picker-indicator:hover { opacity: 1; }

.totales-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.5rem;
    background: #131825;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.total-item { display: flex; flex-direction: column; gap: 0.2rem; }
.total-label { font-size: 0.72rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.total-value { font-family: "JetBrains Mono", monospace; font-size: 1.1rem; font-weight: 700; color: #f1f5f9; }
.total-primary { color: #f1f5f9; }
.total-fee { color: #fbbf24; }
.total-net { color: #b8ff3a; }

.historial-filtros .btn-save, .historial-filtros .btn-action { height: 36px; }

/* Historial table */
.table-wrap table td.right, .table-wrap table th.right { text-align: right; }
.table-wrap .hora { display: block; color: #94a3b8; font-size: 0.78rem; }
.table-wrap .email { color: #94a3b8; font-size: 0.78rem; }
.table-wrap td.fee { color: #fbbf24; }
.table-wrap td.fee .pct { color: #64748b; font-size: 0.75rem; margin-left: 0.25rem; }
.table-wrap td.net { color: #b8ff3a; font-weight: 600; }
.row-cancelled { opacity: 0.5; }
.row-cancelled td.net, .row-cancelled td.fee { color: #64748b; }

.table-wrap td .email a { color: #94a3b8; text-decoration: none; }
.table-wrap td .email a:hover { color: #b8ff3a; }


/* Seguridad — lista de operadores */
.operadores-list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.75rem; }

.operador-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: #1a1f2e;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    flex-wrap: wrap;
}

.operador-info { flex: 1; min-width: 0; }
.operador-nombre { color: #f1f5f9; font-weight: 600; }
.operador-meta { color: #64748b; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 0.15rem; }

.operador-edit {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    align-items: center;
}

.operador-edit input {
    background: #232a3a;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    color: #f1f5f9;
    font-size: 0.85rem;
    font-family: "Figtree", system-ui, sans-serif;
    outline: none;
    min-width: 160px;
}

.operador-edit input:focus { border-color: #b8ff3a; }

/* ═════════════ Reserva interna (panel /club) ═════════════ */
.internal-booking {
    background: #131825;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 1.25rem 1rem 1.4rem;
    margin-top: 1.5rem;
}

.ib-head { margin-bottom: 0.9rem; }
.ib-head h2 {
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    color: #f1f5f9;
}
.ib-head .muted { color: #94a3b8; font-size: 0.85rem; margin: 0; }

.ib-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 0.75rem 0 1rem;
}
.ib-label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.82rem;
    color: #cbd5e1;
    font-weight: 600;
}
.ib-label .muted { color: #94a3b8; font-weight: 400; }
.ib-input {
    background: #1a1f2e;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 0.55rem 0.7rem;
    color: #f1f5f9;
    font-size: 0.92rem;
    font-family: "Figtree", system-ui, sans-serif;
    outline: none;
    resize: vertical;
}
.ib-input:focus { border-color: #b8ff3a; }

.notas-cell {
    font-size: 0.85rem;
    color: #cbd5e1;
    white-space: normal;
    word-break: break-word;
}

/* ═════════════ Historial tabla ═════════════ */
.padel-main:has(.historial-wide) { max-width: 1320px; }

.historial-table-wrap {
    background: #131825;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 0.4rem 0.5rem;
    overflow-x: auto;
}

.historial-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9rem;
    color: #e2e8f0;
    table-layout: fixed;
}

.historial-table .col-fecha    { width: 11%; }
.historial-table .col-cancha   { width: 10%; }
.historial-table .col-jugador  { width: 16%; }
.historial-table .col-notas    { width: 22%; }
.historial-table .col-monto    { width: 8%; }
.historial-table .col-estado   { width: 9%; }
.historial-table .col-acciones { width: 6%; }

.historial-table thead th {
    text-align: left;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    font-weight: 700;
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: transparent;
}

.historial-table tbody td {
    padding: 0.8rem 0.85rem;
    vertical-align: top;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    line-height: 1.35;
}

.historial-table tbody tr:last-child td { border-bottom: none; }
.historial-table tbody tr:hover { background: rgba(255,255,255,0.025); }

.historial-table td.mono, .historial-table .mono {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.88rem;
}

.historial-table td.right, .historial-table th.right { text-align: right; }

.acciones-confirm { display: inline-flex; gap: 0.3rem; justify-content: flex-end; }

.btn-del-icon {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    border-radius: 7px;
    padding: 0.35rem 0.45rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-del-icon:hover { background: rgba(239,68,68,0.12); border-color: rgba(239,68,68,0.45); color: #fca5a5; }

.btn-del-confirm, .btn-del-cancel {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    padding: 0.3rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}
.btn-del-confirm { color: #fca5a5; border-color: rgba(239,68,68,0.5); }
.btn-del-confirm:hover { background: rgba(239,68,68,0.15); }
.btn-del-cancel { color: #cbd5e1; }
.btn-del-cancel:hover { background: rgba(255,255,255,0.05); }

/* ═══════════════════════════════════════════════════════════════
   Home — CTA "Buscar partido"
   ═══════════════════════════════════════════════════════════════ */

.home-cta-partido {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, #1a2410 0%, #131825 100%);
    border: 1px solid rgba(184, 255, 58, 0.25);
    border-radius: 14px;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.15s;
}
.home-cta-partido:hover {
    border-color: rgba(184, 255, 58, 0.55);
    transform: translateY(-1px);
}
.home-cta-partido .cta-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #b8ff3a;
    color: #0a1500;
    border-radius: 12px;
}
.home-cta-partido .cta-body { flex: 1; min-width: 0; }
.home-cta-partido .cta-title {
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #f1f5f9;
    line-height: 1.2;
}
.home-cta-partido .cta-sub {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 0.15rem;
}
.home-cta-partido .cta-arrow {
    color: #b8ff3a;
    font-size: 1.3rem;
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════
   Wizard "Buscar partido"
   ═══════════════════════════════════════════════════════════════ */

.wizard {
    max-width: 640px;
    margin: 0 auto;
    padding: 0.5rem 0 2rem;
}
.wizard-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.wizard-back {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #131825;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    color: #f1f5f9;
    cursor: pointer;
    padding: 0;
}
.wizard-back:hover { border-color: rgba(255,255,255,0.2); }
.wizard-progress {
    flex: 1;
    display: flex;
    gap: 0.35rem;
}
.wizard-dot {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.08);
}
.wizard-dot.active { background: #b8ff3a; }
.wizard-dot.done { background: rgba(184,255,58,0.5); }
.wizard-step-label {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: "JetBrains Mono", ui-monospace, monospace;
}

.wizard-step h1 {
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.35rem 0;
    color: #f1f5f9;
    letter-spacing: -0.02em;
}
.wizard-sub {
    color: #94a3b8;
    margin: 0 0 1.5rem 0;
    font-size: 0.95rem;
}
.wizard-subtitle {
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 1.75rem 0 0.9rem 0;
    color: #f1f5f9;
}

.wizard-options {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.wizard-opt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.15rem;
    background: #131825;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    color: #f1f5f9;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s, background 0.15s;
}
.wizard-opt:hover { border-color: rgba(255,255,255,0.2); }
.wizard-opt.selected {
    border-color: #b8ff3a;
    background: rgba(184,255,58,0.08);
    color: #b8ff3a;
}

.wizard-loc {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    background: #131825;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    margin-bottom: 1.25rem;
}
.wizard-loc .loc-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184,255,58,0.12);
    color: #b8ff3a;
    border-radius: 10px;
    flex-shrink: 0;
}
.wizard-loc .loc-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wizard-loc .loc-label { font-size: 0.78rem; color: #94a3b8; }
.wizard-loc .loc-coords { font-size: 0.9rem; color: #f1f5f9; font-family: "JetBrains Mono", ui-monospace, monospace; }
.wizard-loc .loc-btn {
    padding: 0.55rem 1rem;
    background: #b8ff3a;
    color: #0a1500;
    border: 0;
    border-radius: 9px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
}

.wizard-km label {
    display: block;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
}
.wizard-km label strong { color: #b8ff3a; font-family: "JetBrains Mono", ui-monospace, monospace; }
.wizard-km input[type="range"] {
    width: 100%;
    accent-color: #b8ff3a;
}
.wizard-km-ticks {
    display: flex;
    justify-content: space-between;
    color: #64748b;
    font-size: 0.75rem;
    margin-top: 0.3rem;
}

.wizard-fechas {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.wizard-fechas::-webkit-scrollbar { height: 4px; }
.wizard-fechas::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.wizard-fecha {
    flex: 0 0 auto;
    width: 68px;
    padding: 0.7rem 0.3rem;
    background: #131825;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    color: #f1f5f9;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    font-family: inherit;
    scroll-snap-align: start;
    text-transform: capitalize;
}
.wizard-fecha:hover { border-color: rgba(255,255,255,0.2); }
.wizard-fecha.selected {
    border-color: #b8ff3a;
    background: rgba(184,255,58,0.1);
    color: #b8ff3a;
}
.wizard-fecha .fecha-dow { font-size: 0.72rem; color: #94a3b8; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.wizard-fecha.selected .fecha-dow { color: #b8ff3a; }
.wizard-fecha .fecha-num { font-size: 1.4rem; font-weight: 700; font-family: "Bricolage Grotesque", system-ui, sans-serif; }
.wizard-fecha .fecha-mes { font-size: 0.72rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; }
.wizard-fecha.selected .fecha-mes { color: #b8ff3a; }

.wizard-horas {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.wizard-hora {
    padding: 0.65rem 0.5rem;
    background: #131825;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    color: #f1f5f9;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}
.wizard-hora:hover { border-color: rgba(255,255,255,0.2); }
.wizard-hora.selected {
    border-color: #b8ff3a;
    background: rgba(184,255,58,0.1);
    color: #b8ff3a;
}

.wizard-footer {
    margin-top: 2rem;
    position: sticky;
    bottom: 0;
    background: linear-gradient(to top, #0a0e14 70%, transparent);
    padding: 1rem 0;
}
.wizard-next {
    width: 100%;
    padding: 1rem;
    background: #b8ff3a;
    color: #0a1500;
    border: 0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s;
}
.wizard-next:disabled {
    background: rgba(255,255,255,0.08);
    color: #64748b;
    cursor: not-allowed;
}
.wizard-next:not(:disabled):hover { opacity: 0.9; }

.resumen-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}
.resumen-filtros .chip {
    padding: 0.35rem 0.7rem;
    background: rgba(184,255,58,0.08);
    border: 1px solid rgba(184,255,58,0.25);
    color: #b8ff3a;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

.partidos-list { display: flex; flex-direction: column; gap: 0.85rem; }
.partido-card {
    display: flex;
    gap: 0.9rem;
    background: #131825;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    overflow: hidden;
    padding: 0.75rem;
}
.partido-foto {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    border-radius: 10px;
    background-color: #1a1f2e;
    background-size: cover;
    background-position: center;
}
.partido-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.partido-info h3 {
    margin: 0 0 0.2rem 0;
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #f1f5f9;
}
.partido-meta {
    margin: 0 0 0.55rem 0;
    color: #94a3b8;
    font-size: 0.82rem;
    display: flex;
    gap: 0.35rem;
}
.partido-slots { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.partido-slot {
    padding: 0.35rem 0.7rem;
    background: rgba(184,255,58,0.1);
    border: 1px solid rgba(184,255,58,0.3);
    color: #b8ff3a;
    border-radius: 8px;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.partido-slot:hover { background: rgba(184,255,58,0.2); }

.wizard-cta-alt {
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.9rem;
    background: transparent;
    color: #b8ff3a;
    border: 1px dashed rgba(184,255,58,0.4);
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}
.wizard-cta-alt:hover { background: rgba(184,255,58,0.05); }

.nivel-result {
    text-align: center;
    padding: 1.5rem 0;
}
.nivel-badge {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    background: radial-gradient(circle at 30% 30%, #b8ff3a, #7cbf22);
    border-radius: 50%;
    display: flex;
    align-items: baseline;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(184,255,58,0.25);
    color: #0a1500;
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    gap: 0.1rem;
}
.nivel-badge .nivel-num {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
}
.nivel-badge .nivel-scale {
    font-size: 1.4rem;
    font-weight: 700;
    opacity: 0.6;
}
.nivel-result h1 {
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #f1f5f9;
}
.nivel-actions {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.partido-slot.selected {
    background: #b8ff3a;
    color: #0a1500;
    border-color: #b8ff3a;
}

.genero-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}
.genero-btn {
    padding: 0.8rem 0.5rem;
    background: #131825;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    color: #f1f5f9;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.genero-btn:hover { border-color: rgba(255,255,255,0.2); }
.genero-btn.selected {
    background: rgba(184,255,58,0.1);
    border-color: #b8ff3a;
    color: #b8ff3a;
}

.nivel-pills {
    display: flex;
    gap: 0.35rem;
}
.nivel-pill {
    flex: 1;
    padding: 0.65rem 0;
    background: #131825;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    color: #94a3b8;
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.nivel-pill:hover { border-color: rgba(255,255,255,0.2); }
.nivel-pill.selected {
    background: rgba(184,255,58,0.12);
    border-color: #b8ff3a;
    color: #b8ff3a;
}

/* Club mini card (resumen) */
.club-mini-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem;
    background: #131825;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    margin-bottom: 1rem;
}
.club-mini-foto {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 10px;
    background-color: #1a1f2e;
    background-size: cover;
    background-position: center;
}
.club-mini-info { flex: 1; min-width: 0; }
.club-mini-info h3 {
    margin: 0 0 0.3rem 0;
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #f1f5f9;
}
.club-mini-info p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.club-mini-info p svg { flex-shrink: 0; }

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #94a3b8;
}
.empty-state p { margin: 0 0 1.25rem 0; font-size: 1rem; }

.chip-completo {
    background: rgba(251,191,36,0.12) !important;
    border-color: rgba(251,191,36,0.35) !important;
    color: #fbbf24 !important;
}

.partido-card-actionable {
    position: relative;
}
.partido-acciones {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding-right: 0.5rem;
    flex-shrink: 0;
}
.btn-eliminar {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
}
.btn-eliminar:hover {
    border-color: rgba(239,68,68,0.5);
    color: #fca5a5;
    background: rgba(239,68,68,0.08);
}

/* Resumen card */
.resumen-card {
    background: #131825;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 0.4rem 1rem;
}
.resumen-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    gap: 1rem;
}
.resumen-row:last-child { border-bottom: 0; }
.resumen-label { color: #94a3b8; font-size: 0.9rem; }
.resumen-value { color: #f1f5f9; font-size: 0.95rem; font-weight: 600; text-align: right; text-transform: capitalize; }
.resumen-row.resumen-total .resumen-value {
    color: #b8ff3a;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 1.05rem;
}

/* ═══════════════════════════════════════════════════════════════
   Partido detail (/partido/{id})
   ═══════════════════════════════════════════════════════════════ */

.partido-detalle {
    max-width: 720px;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.partido-hero {
    position: relative;
    height: 180px;
    border-radius: 16px;
    background: #1a1f2e;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    margin-bottom: 1.25rem;
}
.partido-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(10,14,20,0.85) 100%);
}
.hero-back {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    z-index: 2;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    color: #f1f5f9;
    cursor: pointer;
    padding: 0;
}
.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem;
    z-index: 1;
}
.hero-overlay h1 {
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
    color: #f1f5f9;
}
.hero-overlay p {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.88rem;
    text-transform: capitalize;
}

.partido-datos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

/* Cancha visual */
.cancha-layout {
    background: linear-gradient(180deg, #0f3d1f 0%, #0a2614 100%);
    border: 1px solid rgba(184,255,58,0.2);
    border-radius: 16px;
    padding: 1.25rem 1rem;
    margin-bottom: 1.5rem;
}
.cancha-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.lado-title {
    color: #b8ff3a;
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
}
.net-icon {
    padding: 0.2rem 0.5rem;
    background: rgba(184,255,58,0.15);
    color: #b8ff3a;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}
.cancha-grid {
    display: grid;
    grid-template-columns: 1fr 2px 1fr;
    gap: 0.75rem;
    align-items: start;
}
.cancha-net {
    background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.3) 0, rgba(255,255,255,0.3) 6px, transparent 6px, transparent 12px);
    min-height: 100%;
    align-self: stretch;
}
.lado-slots {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.slot-jugador {
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    min-height: 96px;
    justify-content: center;
}
.slot-jugador.es-mio {
    border-color: #b8ff3a;
    background: rgba(184,255,58,0.08);
}
.slot-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b8ff3a, #7cbf22);
    color: #0a1500;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}
.slot-nombre {
    color: #f1f5f9;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}
.slot-cambiar {
    margin-top: 0.2rem;
    padding: 0.25rem 0.6rem;
    background: transparent;
    border: 1px dashed rgba(184,255,58,0.5);
    color: #b8ff3a;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
}
.slot-cambiar:hover { background: rgba(184,255,58,0.1); }

.slot-unirme {
    width: 100%;
    height: 100%;
    min-height: 96px;
    background: transparent;
    border: 2px dashed rgba(255,255,255,0.15);
    border-radius: 12px;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    font-family: inherit;
    padding: 0.75rem;
}
.slot-unirme:hover {
    border-color: #b8ff3a;
    color: #b8ff3a;
    background: rgba(184,255,58,0.04);
}
.slot-plus {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}
.slot-label {
    font-size: 0.75rem;
    font-weight: 600;
}

.partido-pago {
    background: #131825;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
}
.pago-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.25rem 0;
}
.pago-row strong {
    font-family: "JetBrains Mono", ui-monospace, monospace;
    color: #b8ff3a;
    font-size: 1.1rem;
}
.pago-row.pago-sub strong {
    color: #f1f5f9;
    font-size: 0.95rem;
}
.pago-row.pago-sub span { color: #94a3b8; font-size: 0.85rem; }
.pago-nota {
    margin: 0.9rem 0 0;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #94a3b8;
    font-size: 0.82rem;
    line-height: 1.5;
}
