/* Bandeja — estilos compartidos (app del jugador, panel del club y página de confirmación) */
:root {
  --ink: #0F1B2D; --ink2: #1B2A40; --ink3: #2A3A52; --ink-line: #3A4A62;
  --on-ink: #FFFFFF; --on-ink2: #DCE2EA; --on-ink-muted: #B9C2D0;
  --ground: #F4F5F0; --card: #FFFFFF; --soft: #F0F1EC; --seg: #E6E8E1;
  --line: #E2E4DC; --line2: #EEF0EA; --muted: #5B6474; --muted2: #4B5563;
  --lime: #D4F23C; --lime-soft: #EEF8C8; --lime-ink: #3B4A0A; --lime-dark: #4D6410;
  --blue: #1A56DB; --blue-soft: #E3E9F8; --blue-ink: #173E99;
  --orange: #E07A2F; --orange-soft: #FCE3CF; --orange-ink: #7A3208; --peach: #F7C9A8;
  --red-ink: #9F1D1D; --red-soft: #FBE1E1;
  --club: #1A56DB;
  --r-sm: 12px; --r: 16px; --r-lg: 22px;
  --display: 'Archivo', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --tabbar: 76px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.4; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden { display: none !important; }
.sr-only:checked + span { box-shadow: 0 0 0 3px var(--ink) !important; border-color: #fff !important; }
.sr-only:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ---------- estructura ---------- */
.app { max-width: 520px; margin: 0 auto; min-height: 100dvh; position: relative; }
.screen { padding: 24px 20px calc(var(--tabbar) + 28px); display: flex; flex-direction: column; gap: 18px; }
.screen.no-tab { padding-bottom: 28px; }
.row { display: flex; align-items: center; gap: 12px; }
.row.between { justify-content: space-between; }
.row.wrap { flex-wrap: wrap; }
.col { display: flex; flex-direction: column; gap: 4px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-lg { display: flex; flex-direction: column; gap: 18px; }
.grow { flex: 1; min-width: 0; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.center { text-align: center; }
.mt0 { margin-top: 0; }

/* ---------- tipografía ---------- */
.brand { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.5px; }
.brand .dot { color: var(--blue); }
.h1 { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.5px; margin: 0; line-height: 1.1; }
.h2 { font-family: var(--display); font-weight: 700; font-size: 18px; margin: 0; }
.big { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -1px; line-height: 1; }
.num { font-family: var(--display); font-weight: 800; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.xs { font-size: 12px; }
.label { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .3px; text-transform: uppercase; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- logo ---------- */
.logo-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--lime); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-mark svg { width: 26px; height: 26px; }

/* ---------- tarjetas ---------- */
.card { background: var(--card); border-radius: var(--r-lg); padding: 16px; }
.card.tight { padding: 4px 16px; }
.card.flush { padding: 0; overflow: hidden; }
.card-dark { background: var(--ink); color: var(--on-ink); border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.card-dark .muted { color: var(--on-ink-muted); }
.card-dark .soft { color: var(--on-ink2); }
.note-dark { background: var(--ink2); border-radius: 12px; padding: 10px 12px; font-size: 13px; color: var(--peach); display: flex; gap: 8px; align-items: center; }
.list-row { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 0; border-bottom: 1px solid var(--line2); }
.list-row:last-child { border-bottom: 0; }
a.list-row:hover .grow b { color: var(--blue); }

/* ---------- botones ---------- */
.btn { min-height: 48px; padding: 0 18px; border-radius: 14px; border: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; background: var(--ink); color: #fff; text-align: center; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.lime { background: var(--lime); color: var(--ink); }
.btn.blue { background: var(--blue); color: #fff; }
.btn.club { background: var(--club); color: #fff; }
.btn.outline { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); font-weight: 600; }
.btn.outline-dark { background: transparent; border: 1.5px solid var(--ink-line); color: #fff; font-weight: 600; }
.btn.ghost { background: transparent; color: var(--blue); padding: 0 8px; min-height: 44px; }
.btn.white { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn.danger { background: var(--red-soft); color: var(--red-ink); }
.btn.sm { min-height: 40px; padding: 0 12px; font-size: 13px; border-radius: 12px; }
.btn.lg { min-height: 56px; font-size: 16px; border-radius: 16px; }
.btn.block { width: 100%; }
.icon-btn { width: 44px; height: 44px; border-radius: 22px; background: #fff; border: none; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; }
.icon-btn .count { position: absolute; top: 4px; right: 4px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

/* ---------- chips, badges, segmentado ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.chip[aria-pressed="true"], .chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.day { flex-shrink: 0; width: 56px; height: 60px; border-radius: 14px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.day b { font-family: var(--display); font-size: 18px; font-weight: 800; }
.day span { font-size: 11px; font-weight: 600; }
.day[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.badge.lime { background: var(--lime); color: var(--ink); }
.badge.ok { background: var(--lime-soft); color: var(--lime-ink); }
.badge.warn { background: var(--orange-soft); color: var(--orange-ink); }
.badge.info { background: var(--blue-soft); color: var(--blue-ink); }
.badge.dark { background: var(--ink); color: var(--lime); }
.badge.grey { background: #E3E5DE; color: #374151; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--seg); border-radius: 14px; padding: 4px; gap: 4px; }
.seg button { min-height: 44px; border: none; border-radius: 11px; background: transparent; color: var(--muted); font-weight: 600; font-size: 14px; }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); font-weight: 700; }

/* ---------- avatar ---------- */
.avatar { width: 40px; height: 40px; border-radius: 20px; background: #C9D7F5; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; color: var(--ink); }
.avatar.lg { width: 64px; height: 64px; border-radius: 32px; font-size: 22px; background: var(--lime); font-family: var(--display); font-weight: 800; }
.avatar.cat { background: var(--ink); color: var(--lime); font-family: var(--display); font-weight: 800; font-size: 14px; width: 48px; height: 48px; border-radius: 24px; }
.club-logo { width: 40px; height: 40px; border-radius: 12px; background: var(--club); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 14px; flex-shrink: 0; }

/* ---------- formularios ---------- */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea { min-height: 48px; border-radius: 14px; border: 1px solid var(--line); background: #fff; padding: 0 14px; font-size: 15px; font-weight: 600; color: var(--ink); width: 100%; }
.field textarea { padding: 12px 14px; min-height: 80px; resize: vertical; }
.field .hint { font-weight: 500; font-size: 12px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; font-weight: 600; }
.check input { width: 22px; height: 22px; accent-color: var(--blue); }
.switch { width: 52px; height: 32px; border-radius: 16px; border: none; padding: 3px; display: flex; justify-content: flex-start; background: #C9CDC2; flex-shrink: 0; transition: background .15s; }
.switch::after { content: ''; width: 26px; height: 26px; border-radius: 13px; background: #fff; transition: transform .15s; }
.switch[aria-checked="true"] { background: var(--blue); }
.switch[aria-checked="true"]::after { transform: translateX(20px); }
.switch:disabled { background: #E3E5DE; cursor: not-allowed; }
.radio-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: #FAFAF7; text-align: left; width: 100%; }
.radio-card[aria-checked="true"] { border: 2px solid var(--ink); background: #fff; }
.radio-card .dot { width: 22px; height: 22px; border-radius: 11px; border: 2px solid #8A93A3; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.radio-card[aria-checked="true"] .dot { border-color: var(--ink); }
.radio-card[aria-checked="true"] .dot::after { content: ''; width: 10px; height: 10px; border-radius: 5px; background: var(--blue); }
.score-input { width: 64px; height: 56px; border-radius: 14px; border: 1px solid var(--line); text-align: center; font-family: var(--display); font-weight: 800; font-size: 24px; background: var(--soft); }

/* ---------- grilla de turnos ---------- */
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.slot { position: relative; min-height: 44px; border-radius: 12px; border: 1px solid #C9CDC2; background: #fff; font-weight: 600; font-size: 14px; }
.slot.taken { background: #E3E5DE; border-color: transparent; color: #6B7280; text-decoration: line-through; cursor: not-allowed; }
.slot.soon { background: var(--orange-soft); border-color: transparent; color: var(--orange-ink); text-decoration: none; }
.slot.past { opacity: .4; cursor: not-allowed; }
.slot[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }

/* ---------- tabla ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { font-size: 11px; font-weight: 700; color: var(--muted); text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); }
.table td { padding: 11px 8px; border-bottom: 1px solid var(--line2); }
.table tr.me td { background: var(--lime-soft); }
.table .n { text-align: center; color: var(--muted); }
.table .pts { text-align: right; font-family: var(--display); font-weight: 800; }
.table th:first-child, .table td:first-child { padding-left: 16px; }
.table th:last-child, .table td:last-child { padding-right: 16px; }

/* ---------- barra inferior ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: #fff; border-top: 1px solid var(--line); height: calc(var(--tabbar) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; max-width: 520px; margin: 0 auto; }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11px; font-weight: 500; color: var(--muted); }
.tabbar a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.tabbar a[aria-current="page"] svg { fill: var(--lime); }

/* ---------- hojas (diálogos) y avisos ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 50; background: rgba(15, 27, 45, .45); display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: var(--ground); width: 100%; max-width: 520px; max-height: 92dvh; overflow: auto; border-radius: 24px 24px 0 0; padding: 20px 20px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 14px; animation: up .18s ease-out; }
@media (min-width: 700px) { .sheet-wrap { align-items: center; } .sheet { border-radius: 24px; } }
@keyframes up { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar) + 18px); transform: translateX(-50%); z-index: 60; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 14px; font-size: 14px; font-weight: 600; max-width: calc(100% - 32px); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.toast.error { background: var(--red-ink); }
.toast.ok { background: var(--lime); color: var(--ink); }

/* ---------- estados ---------- */
.empty { background: #fff; border-radius: var(--r-lg); padding: 22px; text-align: center; color: var(--muted); display: flex; flex-direction: column; gap: 10px; align-items: center; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--ink); animation: spin .8s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress { height: 6px; border-radius: 3px; background: var(--ink3); overflow: hidden; }
.progress > i { display: block; height: 100%; border-radius: 3px; background: var(--lime); }
.levelbar { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }
.levelbar i { height: 8px; border-radius: 4px; background: var(--ink3); }
.levelbar i.on { background: var(--lime); }
.soon-card { background: #fff; border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 12px; }

/* ---------- panel del club ---------- */
.club-layout { display: flex; min-height: 100dvh; }
.sidebar { display: none; }
.club-main { flex: 1; min-width: 0; }
.club-main .screen { max-width: 1100px; margin: 0 auto; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kpi { background: #fff; border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.kpi b { font-family: var(--display); font-weight: 800; font-size: 28px; }
.kpi span { font-size: 12px; color: var(--muted); font-weight: 600; }
.kpi.dark { background: var(--ink); color: #fff; }
.kpi.dark span { color: var(--on-ink-muted); }
.panel-cols { display: grid; gap: 16px; }
.court-grid { overflow-x: auto; background: #fff; border-radius: var(--r-lg); }
.court-grid table { border-collapse: separate; border-spacing: 6px; min-width: 100%; }
.court-grid th { font-size: 12px; color: var(--muted); font-weight: 700; padding: 6px; text-align: left; white-space: nowrap; }
.cell { width: 100%; min-width: 120px; min-height: 52px; border-radius: 12px; border: 1px dashed #C9CDC2; background: #FAFAF7; text-align: left; padding: 8px 10px; font-size: 13px; color: var(--muted); }
.cell.booked { border: none; background: var(--blue-soft); color: var(--blue-ink); }
.cell.fixed { border: none; background: var(--ink); color: #fff; }
.cell.fixed.pending, .cell.fixed.requested { background: var(--orange-soft); color: var(--orange-ink); }
.cell.fixed.confirmed { background: var(--lime-soft); color: var(--lime-ink); }
.cell.noshow { border: none; background: #E3E5DE; color: #6B7280; text-decoration: line-through; }
.cell b { display: block; font-size: 13px; color: inherit; }
@media (min-width: 900px) {
  .sidebar { display: flex; flex-direction: column; gap: 22px; width: 240px; flex-shrink: 0; background: var(--ink); color: #fff; padding: 22px 14px; position: sticky; top: 0; height: 100dvh; overflow-y: auto; }
  .sidebar nav { display: flex; flex-direction: column; gap: 4px; }
  .sidebar nav a { min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: 12px; font-size: 14px; color: var(--on-ink2); }
  .sidebar nav a[aria-current="page"] { background: var(--lime); color: var(--ink); font-weight: 700; }
  .sidebar nav a .badge { margin-left: auto; }
  .sidebar .sep { height: 1px; background: var(--ink3); margin: 6px 4px; }
  .club-main .tabbar { display: none; }
  .club-main .screen { padding: 32px 36px 48px; }
  .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .panel-cols { grid-template-columns: 3fr 2fr; align-items: start; }
  .toast { bottom: 24px; }
}

/* ================================================================
   BANDEJA · Sport Premium V2 — capa visual no invasiva.
   Conserva los contratos CSS originales usados por las pantallas.
   ================================================================ */
:root {
  --ink:#0B1624; --ink2:#14283B; --ink3:#264055; --ink-line:#3C5368;
  --ground:#F3F6F8; --card:#FFFFFF; --soft:#EDF2F4; --seg:#E7EEF1;
  --line:#DCE5EA; --line2:#EEF2F5; --muted:#526575; --muted2:#44586A;
  --lime:#D7FF3F; --lime-soft:#ECFFC2; --lime-ink:#314400; --lime-dark:#4F6600;
  --blue:#143C57; --blue-soft:#E0EEF5; --blue-ink:#15394E;
  --club:#214F65; --r-lg:22px;
}
body { background:var(--ground); letter-spacing:-.005em; }
.h1,.h2,.big,.brand { letter-spacing:-.035em; }
.h1 { font-weight:800; }
.app { background:linear-gradient(180deg,#EDF3F5 0,#F7F9FA 260px); }
.screen { gap:20px; }
.card,.kpi,.empty { border:1px solid rgba(15,38,54,.055); box-shadow:0 5px 20px rgba(10,32,50,.035); }
.card-dark { background:linear-gradient(142deg,#102A3D 0%,#081521 78%); border:1px solid #193649; box-shadow:0 12px 30px rgba(6,22,35,.12); }
.card-dark .muted { color:#C6D4DB; }
.card-dark .soft { color:#DAE6EA; }
.btn { transition:filter .15s ease,transform .15s ease; }
.btn:hover:not(:disabled) { filter:brightness(1.035); }
.btn:active:not(:disabled) { transform:scale(.985); }
.btn.blue,.btn.lime { background:var(--lime); color:var(--ink); font-weight:800; }
.btn.club { background:var(--lime); color:var(--ink); }
.btn.ghost { color:var(--blue); }
.btn.white { border-color:#D9E4EA; }
.icon-btn { box-shadow:0 4px 15px rgba(5,25,39,.045); }
.logo-mark { width:36px;height:36px;background:#0B1624;border:1px solid #294052;overflow:hidden;border-radius:11px; }
.logo-mark svg { width:30px;height:30px; }
.brand { font-weight:800;font-size:22px;line-height:1;color:var(--ink);letter-spacing:-1.1px; }
.brand-lockup { min-width:0; }
.brand-ball { display:inline-block;width:.43em;height:.43em;vertical-align:baseline;margin:0 0 .03em .13em;border-radius:50%;background:#D7FF3F;position:relative;overflow:hidden;box-shadow:inset -1px -1px 1px #A0C521; }
.brand-ball::before,.brand-ball::after { content:"";position:absolute;width:70%;height:105%;border:1.5px solid #fff;border-radius:50%;top:-3%; }
.brand-ball::before { left:-48%;transform:rotate(-25deg); }
.brand-ball::after { right:-48%;transform:rotate(-25deg); }
.club-layout .sidebar .brand { color:white !important; font-size:19px !important; }
.club-layout .sidebar .logo-mark { background:#0C1B29 !important; border-color:#314657; }
.badge.lime { color:var(--ink); }
.seg button[aria-selected="true"] { box-shadow:0 2px 6px #102B3C0C; }
.tabbar { background:#0B1624; border-top:1px solid #264257; box-shadow:0 -8px 28px rgba(7,24,37,.12); }
.tabbar a { color:#B3C6D1; font-weight:600; }
.tabbar a[aria-current="page"] { color:var(--lime); font-weight:800; }
.tabbar a[aria-current="page"] svg { fill:none;stroke:var(--lime); }
.tabbar a:focus-visible { outline-color:var(--lime); }
.slot[aria-pressed="true"], .day[aria-pressed="true"] { background:var(--ink);border-color:var(--ink);color:white; }
.field input:focus,.field select:focus,.field textarea:focus { outline:2px solid #8AB929;outline-offset:1px; }
.kpi.dark { background:linear-gradient(135deg,#153447,#091927);border-color:#1E3D50; }
.kpi.dark span { color:#C6D4DB; }
.club-layout { background:var(--ground); }
@media (min-width:900px) {
 .sidebar { background:linear-gradient(160deg,#10293B,#06131F);border-right:1px solid #254054; }
 .sidebar nav a[aria-current="page"] { background:var(--lime); }
 .club-main .screen { padding-top:38px; }
}
/* Bienvenida y home del jugador: cabecera nocturna y acciones prominentes. */
.hero-premium { position:relative;overflow:hidden;padding:20px;border-radius:24px;background:radial-gradient(circle at 92% 8%,#254B4E 0%,transparent 42%),linear-gradient(140deg,#122F42,#071320);color:#fff;min-height:148px;display:flex;flex-direction:column;justify-content:space-between;gap:18px; }
.hero-premium::after { content:"";position:absolute;right:-28px;bottom:-58px;width:184px;height:184px;border:1px solid rgba(215,255,63,.23);border-radius:50%;pointer-events:none;box-shadow:0 0 0 37px rgba(215,255,63,.035),0 0 0 74px rgba(215,255,63,.027); }
.hero-premium .brand { color:white; }
.hero-premium .greeting { color:#C6D6DF;font-size:13px; }
.hero-premium .hero-title { font-family:var(--display);font-size:25px;line-height:1.12;font-weight:800;letter-spacing:-.04em;max-width:285px;margin:0; }
.hero-premium .hero-title em { color:var(--lime);font-style:normal; }
.hero-premium .hero-actions { display:flex;justify-content:space-between;align-items:center;gap:12px;position:relative;z-index:1; }
.hero-premium .icon-btn { background:#203D50;color:#fff; }
.action-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }
.action-tile { min-height:110px;padding:16px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:12px;background:#fff;border:1px solid #E0E9ED;border-radius:19px;color:var(--ink);font-size:14px;font-weight:750;box-shadow:0 4px 14px #0B223508; }
.action-tile svg { width:25px;height:25px;stroke-width:1.8; }
.action-tile.primary { color:var(--ink);background:var(--lime);border-color:var(--lime); }
.action-tile.secondary { background:#102B3D;color:white;border-color:#17394E; }
.action-tile small { font-size:11px;font-weight:500;color:inherit;opacity:.76; }
.section-heading { display:flex;justify-content:space-between;align-items:baseline;gap:10px; }
.screen-label { display:inline-flex;align-items:center;gap:7px;font-size:11px;letter-spacing:.15em;text-transform:uppercase;font-weight:800;color:var(--lime); }
.login-premium { position:relative;overflow:hidden;border-radius:25px;background:radial-gradient(circle at 95% 5%,#305044 0,transparent 45%),linear-gradient(135deg,#122F42,#06121E);color:#fff;padding:25px 22px;min-height:210px;display:flex;flex-direction:column;justify-content:space-between;gap:18px; }
.login-premium .brand { color:white; }
.login-premium .h1 { font-size:31px;max-width:310px;line-height:1.04; }
.login-premium p { color:#C8D8DD;line-height:1.55; }
@media(min-width:520px) { .hero-premium { min-height:172px; } }
@media(max-width:390px) { .brand { font-size:19px; } .hero-premium .hero-title { font-size:23px; } .tabbar a { font-size:10px; } }


/* BANDEJA LOGIN PREMIUM V3 — aislado: no afecta otras pantallas */
.login-screen-v3 { width:100%; max-width:520px; margin:0 auto; min-height:100dvh; padding:14px 16px 30px !important; gap:0 !important; justify-content:flex-start; background:#F3F6F8; }
.login-hero-v3 { position:relative; isolation:isolate; min-height:295px; overflow:hidden; border-radius:26px 26px 20px 20px; background:#0B1E2A; color:#fff; }
.login-hero-v3::before { content:""; position:absolute; inset:0; z-index:-2; background-image:linear-gradient(180deg,rgba(5,20,31,.46),rgba(5,20,31,.24) 37%,rgba(5,20,31,.94) 100%),url('/images/bandeja-login-padel.png'); background-size:cover; background-position:center 47%; }
.login-hero-v3::after { content:""; position:absolute; inset:0; z-index:-1; background:radial-gradient(circle at 85% 10%,rgba(215,255,63,.15),transparent 52%); }
.login-hero-content-v3 { min-height:295px; display:flex; flex-direction:column; justify-content:space-between; gap:24px; padding:22px 23px 18px; }
.login-hero-v3 .brand { color:#fff; font-size:25px; }
.login-hero-v3 .brand-lockup { gap:10px; }
.login-eyebrow-v3 { display:block; font-size:9px; font-weight:800; letter-spacing:.13em; color:#D7FF3F; }
.login-hero-copy-v3 h1 { font-family:var(--display); font-size:clamp(25px,6vw,34px); line-height:1.07; letter-spacing:-.045em; max-width:360px; margin:10px 0 9px; font-weight:900; text-wrap:balance; }
.login-hero-copy-v3 p { margin:0; font-size:13px; line-height:1.5; color:#E2EDF0; max-width:315px; }
.login-hero-foot-v3 { display:flex; align-items:center; gap:8px; font-size:9px; letter-spacing:.13em; font-weight:800; color:#C6D5D9; }
.login-live-dot-v3 { display:inline-block; width:7px; height:7px; background:#D7FF3F; border-radius:50%; box-shadow:0 0 12px #D7FF3F88; }
.login-panel-v3 { position:relative; z-index:1; margin:-2px 0 0; background:#fff; border-radius:20px; padding:23px 21px 21px; box-shadow:0 12px 32px #0B223511; display:flex; flex-direction:column; gap:16px; }
.login-panel-heading-v3 h2 { margin:0; font-family:var(--display); font-size:21px; font-weight:800; letter-spacing:-.04em; }
.login-panel-heading-v3 p { margin:4px 0 0; font-size:12px; color:#657582; }
.login-google-v3 { border:1px solid #D9E4EA !important; min-height:49px !important; border-radius:12px !important; }
.login-divider-v3 { display:flex; align-items:center; gap:13px; color:#87939D; font-size:11px; }
.login-divider-v3::before,.login-divider-v3::after { content:""; height:1px; flex:1; background:#E6EDF0; }
.login-tabs-v3 { background:#EDF2F4; border-radius:12px; }
.login-tabs-v3 button { min-height:40px; font-size:12px; }
.login-form-v3 { gap:12px; }
.login-form-v3 .field { font-size:12px; color:#44586A; }
.login-form-v3 .field input { min-height:47px; border-radius:11px; background:#F9FBFC; }
.login-submit-v3 { min-height:51px !important; border-radius:12px !important; }
.login-reset-v3 { align-self:center; font-size:12px; min-height:30px !important; }
.login-club-link-v3 { margin:2px 0 0; font-size:11px; }
.login-club-link-v3 a { color:#143C57; font-weight:800; }
@media(min-width:700px) { body:has(.login-screen-v3) { background:radial-gradient(circle at 50% 5%,#DCE9EC,#F3F6F8 60%); } .login-screen-v3 { padding-top:30px !important; } }
@media(max-width:370px) { .login-screen-v3 { padding:10px 10px 24px !important; } .login-panel-v3 { padding:18px 16px; } .login-hero-content-v3 { padding:20px 18px 16px; } }

/* Ajustes de login: separación, jerarquía y espacios compactos */
.login-screen-v3 { gap:12px !important; }
.login-hero-v3 { min-height:280px; border-radius:24px; }
.login-hero-content-v3 { min-height:280px; gap:17px; }
.login-hero-copy-v3 h1 { font-size:clamp(24px,5.5vw,30px); line-height:1.1; max-width:370px; }
.login-panel-v3 { margin:0; padding:21px 21px 19px; gap:13px; }
.login-form-v3 { gap:10px; }
@media(max-width:390px) { .login-hero-v3,.login-hero-content-v3 { min-height:265px; } .login-panel-v3 { padding:18px 17px; gap:11px; } }

/* Bandeja Clubes V4: usa componentes del login de jugadores sin alterar otras pantallas. */
.club-login-v4 { max-width:520px; }
.club-login-hero-v4::before { background-image:linear-gradient(180deg,rgba(3,15,29,.68),rgba(3,15,29,.44) 36%,rgba(3,15,29,.97) 100%),url('/images/bandeja-login-padel.png'); background-position:center 47%; }
.club-login-hero-v4::after { background:radial-gradient(circle at 90% 8%,rgba(30,104,130,.22),transparent 53%); }
.club-login-hero-v4 .brand { color:#fff; }
.club-login-hero-v4 .badge { color:#D7FF3F; }
.club-login-hero-v4 .login-hero-copy-v3 h1 { max-width:370px; }
.club-login-panel-v4 .club-login-footer-v4 { margin:3px 0 0; font-size:11px; }
.club-login-panel-v4 .club-login-footer-v4 a { color:#143C57; font-weight:800; }
@media(min-width:900px) { .club-main .screen.club-login-v4 { padding:30px 16px 38px; } }
/* Aviso de pedidos nuevos: destella "Mostrador y pedidos" */
@keyframes bj-alert { 0%, 100% { box-shadow: inset 0 0 0 0 rgba(224,122,47,0); background-color: transparent; } 50% { box-shadow: inset 0 0 0 2px var(--orange); background-color: rgba(224,122,47,.32); } }
@keyframes bj-alert-on { 0%, 100% { box-shadow: inset 0 0 0 0 rgba(224,122,47,0); } 50% { box-shadow: inset 0 0 0 3px var(--orange); } }
.nav-alert { animation: bj-alert 1.1s ease-in-out infinite; border-radius: 12px; }
.sidebar nav a.nav-alert[aria-current="page"] { animation-name: bj-alert-on; }
.badge.alert-dot { background: var(--orange); color: #fff; }
.tabbar a { position: relative; }
.tab-dot { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 18px; height: 18px; border-radius: 9px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.order-new { animation: bj-alert-on 1.1s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .nav-alert, .order-new { animation: none; box-shadow: inset 0 0 0 2px var(--orange); } }
.order-pops { position: fixed; top: 12px; right: 12px; left: 12px; z-index: 60; display: flex; flex-direction: column; gap: 10px; pointer-events: none; align-items: flex-end; }
.order-pop { pointer-events: auto; width: min(380px, 100%); background: var(--ink); color: #fff; border: 2px solid var(--orange); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 14px 40px rgba(0,0,0,.35); animation: bj-pop-in .25s ease-out, bj-alert-on 1.1s ease-in-out .25s 4; }
.order-pop svg { stroke: var(--lime); flex: none; }
.order-pop .pop-items { background: rgba(255,255,255,.08); border-radius: 12px; padding: 8px 10px; font-weight: 600; display: flex; flex-direction: column; gap: 4px; }
.order-pop .pop-x { background: none; border: 0; color: #fff; font-size: 24px; line-height: 1; width: 32px; height: 32px; cursor: pointer; }
.order-pop.out { opacity: 0; transform: translateY(-8px); transition: .2s; }
@keyframes bj-pop-in { from { opacity: 0; transform: translateY(-14px) scale(.97); } to { opacity: 1; transform: none; } }

/* Torneos: cuadro por rondas */
.bracket { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; align-items: stretch; }
.bracket-col { min-width: 230px; flex: 1 0 230px; display: flex; flex-direction: column; gap: 8px; }
.bracket-list { display: flex; flex-direction: column; justify-content: space-around; flex: 1; gap: 12px; }
.bracket-box { border: 1px solid var(--line); box-shadow: none; }
.list-row.me-row { background: var(--lime-soft); border-radius: 12px; }
.zones-grid { align-items: start; }
@media (max-width: 700px) { .zones-grid { grid-template-columns: 1fr; } }
