/* EntreGolf · estilo general. Móvil primero. */
:root {
  --lado-a: #c62828;
  --lado-b: #1565c0;
  --verde-osc: #0b3d2c;
  --verde: #128a52;
  --verde-claro: #e7f4ec;
  --oro: #f2c94c;
  --rojo: #e5484d;
  --azul: #2563eb;
  --texto: #18261f;
  --gris: #5d6d65;
  --fondo: #f5f7f3;
  --borde: #dbe4de;
  --blanco: #fff;
  --club: #128a52;
  --radio: 14px;
  --sombra: 0 1px 2px rgba(11, 61, 44, .06), 0 6px 20px rgba(11, 61, 44, .07);
  --fuente: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--fuente); color: var(--texto); background: var(--fondo); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; height: auto; }
a { color: var(--verde); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
code { background: var(--verde-claro); padding: .1em .35em; border-radius: 4px; font-size: .9em; }
[hidden], .oculto { display: none !important; }
.contenedor { width: min(1160px, 100% - 32px); margin-inline: auto; }
.estrecho { width: min(720px, 100% - 32px); }
.centrado { text-align: center; }
.fila { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* ---------- Cabecera ---------- */
.cabecera { background: var(--verde-osc); color: #fff; position: sticky; top: 0; z-index: 20; }
.cabecera .fila { min-height: 64px; }
.marca { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.icono-marca { width: 34px; height: 34px; flex: none; }
.boton-menu { display: none; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 1.3rem; border-radius: 10px; padding: 4px 12px; cursor: pointer; }
.menu { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.menu a { color: #e4f1ea; text-decoration: none; padding: 8px 10px; border-radius: 8px; font-weight: 500; font-size: .95rem; }
.menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
.menu a.destacado { color: var(--oro); }
.menu .boton { color: var(--verde-osc); }
.menu .boton.claro { color: #fff; }
.enlinea { display: inline; margin: 0; }
.enlace { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 8px 10px; opacity: .85; }
.pagina-panel .cabecera .enlace, .cabecera .enlace { color: #e4f1ea; }
@media (max-width: 860px) {
  .boton-menu { display: block; }
  .menu { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--verde-osc); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; box-shadow: 0 10px 20px rgba(0,0,0,.2); }
  .menu.abierto { display: flex; }
  .menu a, .menu .enlace { padding: 12px 8px; }
  .menu .boton { text-align: center; margin-top: 6px; }
}

/* ---------- Botones ---------- */
.boton { display: inline-block; background: var(--oro); color: var(--verde-osc); border: 0; border-radius: 999px; padding: 11px 22px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .1s, box-shadow .1s, background .15s; text-align: center; }
.boton:hover { box-shadow: 0 4px 14px rgba(242, 201, 76, .45); transform: translateY(-1px); }
.boton.claro { background: transparent; color: var(--verde); box-shadow: inset 0 0 0 2px currentColor; }
.boton.claro:hover { background: var(--verde-claro); }
.cab-torneo .boton.claro, .heroe .boton.claro { color: #fff; }
.cab-torneo .boton.claro:hover, .heroe .boton.claro:hover { background: rgba(255,255,255,.12); }
.boton.peq { padding: 6px 14px; font-size: .88rem; }
.boton.grande { padding: 15px 28px; font-size: 1.05rem; }
.boton.ancho { display: block; width: 100%; }
.boton.peligro { background: #fde8e8; color: #b42318; }
.boton:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Portada ---------- */
.heroe { background: radial-gradient(circle at 85% 20%, #1b6b4a 0, transparent 45%), linear-gradient(160deg, #0b3d2c 0%, #0f5138 60%, #13684a 100%); color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden; }
.heroe::after { content: ""; position: absolute; inset: auto -10% -60px -10%; height: 120px; background: var(--fondo); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.heroe.pequeno { padding: 44px 0 72px; }
.heroe-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.heroe h1 span { color: var(--oro); }
.antetitulo { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: #9fd8b8; margin-bottom: .8em; }
.entradilla { font-size: 1.12rem; color: #d7ebe0; max-width: 40em; }
.seccion .entradilla, .seccion:not(.heroe) .entradilla { color: var(--gris); }
.dos-puertas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; max-width: 620px; }
.puerta { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--radio); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; text-decoration: none; transition: background .15s, transform .15s; }
.puerta:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.puerta b { font-size: 1.12rem; }
.puerta small { color: #cfe5d8; }
.puerta-icono .ico { width: 30px; height: 30px; color: var(--oro); }
.ico { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.movil-demo { background: #fff; color: var(--texto); border-radius: 32px; padding: 18px 16px 14px; box-shadow: 0 30px 60px rgba(0,0,0,.35), 0 0 0 10px #0a2e22; max-width: 340px; justify-self: center; width: 100%; }
.md-cab { display: flex; flex-direction: column; gap: 6px; padding-bottom: 10px; border-bottom: 1px solid var(--borde); font-weight: 700; }
.movil-demo ol { list-style: none; padding: 0; margin: 6px 0; }
.movil-demo li { display: grid; grid-template-columns: 36px 1fr 28px 34px; gap: 6px; align-items: center; padding: 9px 2px; border-bottom: 1px solid #eef2ef; font-size: .95rem; }
.md-pos { font-weight: 800; color: var(--gris); }
.md-nom { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.md-thru { color: var(--gris); font-size: .82rem; text-align: center; }
.movil-demo li b { text-align: right; color: var(--verde); }
.md-ver { display: block; text-align: center; font-weight: 700; text-decoration: none; padding-top: 8px; font-size: .92rem; }
@media (max-width: 860px) {
  .heroe-grid { grid-template-columns: 1fr; }
  .dos-puertas { grid-template-columns: 1fr; }
}

.seccion { padding: 48px 0; }
.seccion.clara { background: #fff; border-block: 1px solid var(--borde); }
.titulo-con-enlace { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.titulo-con-enlace h1, .titulo-con-enlace h2 { margin: 0; }
.con-punto { display: flex; align-items: center; gap: 10px; }

.etiqueta { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #eef1ef; color: var(--gris); white-space: nowrap; width: fit-content; }
.etiqueta.vivo { background: #fde7e8; color: #c2272d; }
.etiqueta.azul { background: #e5edff; color: #1d4ed8; }
.punto-vivo { width: 9px; height: 9px; border-radius: 50%; background: var(--rojo); display: inline-block; animation: latido 1.6s infinite; }
@keyframes latido { 0% { box-shadow: 0 0 0 0 rgba(229,72,77,.6); } 70% { box-shadow: 0 0 0 8px rgba(229,72,77,0); } 100% { box-shadow: 0 0 0 0 rgba(229,72,77,0); } }

.rejilla-torneos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-bottom: 28px; }
.tarjeta-torneo { display: block; background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 18px; color: inherit; text-decoration: none; box-shadow: var(--sombra); transition: transform .15s, box-shadow .15s; }
.tarjeta-torneo:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(11,61,44,.13); }
.tt-cab { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.tt-fecha { display: flex; flex-direction: column; align-items: center; background: var(--verde-claro); color: var(--verde-osc); border-radius: 10px; padding: 4px 10px; line-height: 1.1; font-size: .78rem; text-transform: uppercase; }
.tt-fecha b { font-size: 1.35rem; }
.tarjeta-torneo h3 { margin-bottom: .25em; }
.tt-club { color: var(--verde); font-weight: 600; margin: 0 0 .3em; }
.tt-meta { color: var(--gris); font-size: .88rem; margin: 0; }

.rejilla-ventajas { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.ventaja { background: var(--fondo); border-radius: var(--radio); padding: 22px; border: 1px solid var(--borde); }
.seccion:not(.clara) .ventaja { background: #fff; }
.ventaja > span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--verde-claro); color: var(--verde); margin-bottom: 12px; }
.seccion:not(.clara) .ventaja > span { background: var(--verde-osc); color: var(--oro); }
.ventaja p { color: var(--gris); margin: 0; }

.pasos { counter-reset: paso; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 24px 0 32px; }
.pasos li { counter-increment: paso; background: #fff; border-radius: var(--radio); padding: 22px 22px 22px 70px; position: relative; box-shadow: var(--sombra); display: flex; flex-direction: column; gap: 4px; }
.pasos li::before { content: counter(paso); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--verde-osc); color: var(--oro); display: grid; place-items: center; font-weight: 800; }
.pasos span { color: var(--gris); }

.dos-columnas { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .dos-columnas { grid-template-columns: 1fr; } }
.lista-check { list-style: none; padding: 0; margin: 0 0 1em; }
.lista-check li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.lista-check li::before { content: "✓"; position: absolute; left: 0; color: var(--verde); font-weight: 800; }
.nota { color: var(--gris); font-size: .9rem; }

.planes { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin: 24px 0; }
.plan { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 26px; display: flex; flex-direction: column; }
.plan.destacado { border: 2px solid var(--verde); box-shadow: var(--sombra); }
.plan .lista-check { flex: 1; }
.plan-para { color: var(--gris); }
.plan-precio { font-size: 1.3rem; font-weight: 800; color: var(--verde-osc); }

.tres-accesos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 24px; }
.acceso { background: #fff; color: var(--texto); border-radius: var(--radio); padding: 20px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--sombra); }
.acceso b { color: var(--verde-osc); font-size: 1.1rem; }
.acceso span { color: var(--gris); }
.buscador { display: flex; gap: 10px; margin: 0 0 28px; }
.buscador input { flex: 1; }
.vacio { color: var(--gris); font-style: italic; }

/* ---------- Formularios ---------- */
.formulario { display: flex; flex-direction: column; gap: 14px; }
.formulario label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .93rem; }
input, select, textarea { font: inherit; font-weight: 400; padding: 11px 13px; border: 1px solid #c9d6ce; border-radius: 10px; background: #fff; color: var(--texto); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(18,138,82,.25); border-color: var(--verde); }
input[type=checkbox], input[type=radio] { width: auto; flex: none; }
input[type=color] { padding: 4px; height: 46px; }
.formulario label.check { flex-direction: row; align-items: center; gap: 10px; font-weight: 400; }
.fila-campos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.tarjeta-form { background: #fff; padding: 26px; border-radius: var(--radio); box-shadow: var(--sombra); border: 1px solid var(--borde); }
.formulario.en-linea { flex-direction: row; flex-wrap: wrap; align-items: flex-end; margin-bottom: 18px; }
.formulario.en-linea label { flex: 1 1 160px; }
.error, .exito, .aviso { padding: 12px 16px; border-radius: 10px; margin: 0 0 16px; }
.error { background: #fde8e8; color: #9b1c1c; }
.exito { background: #def7e8; color: #0f5132; transition: opacity .6s; }
.aviso { background: #fff6d6; color: #6b4e00; }
.aviso-correo { margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.aviso-correo form { margin: 0; }
.aviso-correo .enlace { color: #6b4e00; font-weight: 700; text-decoration: underline; }
details summary { cursor: pointer; font-weight: 600; margin-bottom: 10px; }

/* ---------- Torneo ---------- */
.cab-torneo { background: linear-gradient(140deg, var(--verde-osc), color-mix(in srgb, var(--club) 70%, #0b3d2c)); color: #fff; padding: 34px 0 30px; }
.ct-club { display: flex; align-items: center; gap: 12px; color: #cfe5d8; font-weight: 600; margin-bottom: 10px; }
.logo-club { height: 46px; width: auto; background: #fff; border-radius: 10px; padding: 4px; }
.logo-club.grande { height: 90px; }
.ct-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: #d7ebe0; }
.ct-acciones { display: flex; flex-wrap: wrap; gap: 8px; }
.torneo-grid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; padding: 28px 0 48px; align-items: start; }
@media (max-width: 960px) { .torneo-grid { grid-template-columns: 1fr; } }
.torneo-grid > * { min-width: 0; } /* las tablas anchas se desplazan dentro, sin ensanchar la página en el móvil */
.caja { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 22px; margin-bottom: 18px; box-shadow: var(--sombra); }
.caja h2, .caja h3 { margin-top: 0; }
.pestanas { display: flex; gap: 4px; overflow-x: auto; border-bottom: 2px solid var(--borde); margin-bottom: 4px; }
.pestanas a { padding: 10px 16px; text-decoration: none; color: var(--gris); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.pestanas a.activa { color: var(--verde-osc); border-color: var(--club); }
.actualizado { font-size: .85rem; color: var(--gris); }

.clasif { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radio); overflow: hidden; }
.clasif th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gris); padding: 12px 10px; border-bottom: 1px solid var(--borde); background: #fafcfb; }
.clasif td { padding: 12px 10px; border-bottom: 1px solid #edf2ee; vertical-align: middle; }
.clasif tr:hover td { background: #f8fbf9; }
.clasif .pos { font-weight: 800; width: 52px; color: var(--verde-osc); }
.clasif .jug a { color: var(--texto); font-weight: 600; text-decoration: none; }
.clasif .jug a:hover { color: var(--verde); }
.clasif .jug small { display: block; color: var(--gris); font-size: .8rem; }
.clasif .thru { color: var(--gris); width: 60px; text-align: center; }
.clasif th:nth-child(3) { text-align: center; }
.clasif .valor { font-size: 1.15rem; width: 90px; }
.clasif .valor b { color: var(--verde-osc); }
.clasif .bajo-par { color: #c2272d !important; }
.clasif tbody tr:nth-child(-n+3) .pos { color: var(--club); }
.clasif .sin-empezar { opacity: .55; }
@media (max-width: 560px) { .clasif .col-extra { display: none; } .clasif td, .clasif th { padding: 10px 6px; } }
.lista-inscritos { columns: 2 220px; padding-left: 18px; }
.lista-inscritos small { color: var(--gris); }
.patrocinadores h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gris); }
.logos-patro { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.logos-patro > * { background: #fff; border: 1px solid var(--borde); border-radius: 10px; min-height: 70px; display: grid; place-items: center; padding: 10px; text-decoration: none; color: var(--verde-osc); font-weight: 700; text-align: center; }
.logos-patro img { max-height: 50px; width: auto; }

/* ---------- Ranking de temporada ---------- */
.tt-icono { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: #fff6d6; color: #a07800; }
.tt-icono .ico { width: 24px; height: 24px; }
.etiqueta .ico { width: 14px; height: 14px; }
.enlace-ranking { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.enlace-ranking .ico { width: 20px; height: 20px; color: #a07800; }
.ranking-tabla { min-width: 520px; }
.ranking-tabla .col-torneo { text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ranking-tabla th.col-torneo a { color: var(--gris); text-decoration: none; display: flex; flex-direction: column; align-items: center; text-transform: none; letter-spacing: 0; }
.ranking-tabla th.col-torneo small { font-size: .7rem; max-width: 90px; overflow: hidden; text-overflow: ellipsis; font-weight: 400; }
.ranking-tabla .no-cuenta { color: #9aa8a0; text-decoration: line-through; }
.ranking-tabla .nada { color: #c4cec8; }
.ranking-tabla .valor { width: 80px; }
.tabla-puntos { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 0 0 12px; }
.tabla-puntos li { background: var(--verde-claro); border-radius: 8px; padding: 6px 4px; text-align: center; display: flex; flex-direction: column; }
.tabla-puntos span { font-size: .75rem; color: var(--gris); }
.lista-torneos-ranking { list-style: none; padding: 0; margin: 0; }
.lista-torneos-ranking li { padding: 8px 0; border-bottom: 1px solid #edf2ee; }
.lista-torneos-ranking small { display: block; color: var(--gris); }
.lista-check-torneos { border: 1px solid var(--borde); border-radius: 12px; padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; }
.lista-check-torneos legend { font-weight: 700; padding: 0 6px; }
.lista-check-torneos small { color: var(--gris); }

/* ---------- Tarjeta de juego ---------- */
.migas { margin-bottom: 14px; }
.migas a { text-decoration: none; font-weight: 600; }
.cab-jugador { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.cab-jugador h1 { margin-bottom: .2em; }
.resumen-jugador { display: flex; gap: 10px; }
.resumen-jugador div { background: #fff; border: 1px solid var(--borde); border-radius: 12px; padding: 10px 16px; text-align: center; min-width: 76px; }
.resumen-jugador small { display: block; color: var(--gris); font-size: .75rem; text-transform: uppercase; }
.resumen-jugador b { font-size: 1.5rem; color: var(--verde-osc); }
.tarjeta-scroll { overflow-x: auto; margin-bottom: 16px; border-radius: var(--radio); border: 1px solid var(--borde); background: #fff; }
.tarjeta { border-collapse: collapse; width: 100%; min-width: 560px; font-variant-numeric: tabular-nums; }
.tarjeta th, .tarjeta td { padding: 8px 6px; text-align: center; border-bottom: 1px solid #edf2ee; }
.tarjeta thead th { background: var(--verde-osc); color: #fff; font-weight: 700; }
.tarjeta thead th.actual { background: var(--oro); color: var(--verde-osc); }
.tarjeta tbody th { text-align: left; color: var(--gris); font-weight: 600; white-space: nowrap; padding-left: 12px; }
.tarjeta .tot { background: #f1f6f3; font-weight: 800; }
.tarjeta thead .tot { background: #0a3326; }
.tarjeta.mini { min-width: 0; }
.tarjeta.mini th, .tarjeta.mini td { padding: 6px 3px; font-size: .88rem; }
.tarjeta.editable input { width: 44px; padding: 6px 2px; text-align: center; }
.golpes-rec { color: var(--verde); letter-spacing: 1px; }
.res { display: inline-grid; place-items: center; min-width: 28px; height: 28px; font-weight: 700; }
.res.eagle { background: #f2c94c; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #f2c94c; }
.res.birdie { border-radius: 50%; box-shadow: inset 0 0 0 2px #c2272d; color: #c2272d; }
.res.bogey { box-shadow: inset 0 0 0 2px #5d6d65; }
.res.doble { box-shadow: inset 0 0 0 2px #5d6d65, inset 0 0 0 4px #fff, inset 0 0 0 6px #5d6d65; }
.res.levantada { color: var(--gris); }
.tarjeta small.pts { display: block; font-size: .7rem; color: var(--verde); }
.tarjeta th small { color: var(--gris); font-weight: 400; }
.tarjeta .fila-equipo th, .tarjeta .fila-equipo td { background: var(--verde-claro); }
.leyenda { color: var(--gris); font-size: .88rem; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.leyenda .res { min-width: 24px; height: 24px; font-size: .8rem; }

/* ---------- Marcador del móvil ---------- */
.pagina-marcador { background: #eef3ef; }
.pagina-marcador .cabecera { position: static; }
.marcador { padding: 16px 0 40px; }
.mc-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.mc-cab h1 { font-size: 1.35rem; margin: 0; }
.mc-cab small { color: var(--club); font-weight: 700; }
.mc-cab p { margin: 0; color: var(--gris); font-size: .92rem; }
.fichas-hoyos { display: flex; gap: 6px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; }
.ficha-hoyo { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--texto); text-decoration: none; font-weight: 700; border: 1px solid var(--borde); }
.ficha-hoyo.hecho { background: var(--verde-claro); color: var(--verde); border-color: #b8e0c8; }
.ficha-hoyo.actual { background: var(--verde-osc); color: #fff; border-color: var(--verde-osc); transform: scale(1.08); }
.marca-hoyo { background: #fff; border-radius: 20px; padding: 18px; box-shadow: var(--sombra); margin-bottom: 22px; }
.info-hoyo { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.num-hoyo { width: 58px; height: 58px; border-radius: 16px; background: var(--club); color: #fff; display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; }
.info-hoyo b { display: block; font-size: 1.25rem; }
.info-hoyo span { color: var(--gris); }
.info-hoyo .num-hoyo { color: #fff; }
.consejo-club { background: #fff9e3; border-radius: 10px; padding: 10px 12px; font-size: .92rem; }
.marca-jugador { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "nombre control" "puntos control" "estad estad"; gap: 2px 12px; align-items: center; padding: 14px 0; border-top: 1px solid #edf2ee; }
.mj-estad { grid-area: estad; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 8px; padding: 8px 10px; background: #f6f9f7; border-radius: 12px; }
.contador.mini { display: flex; align-items: center; gap: 6px; }
.contador.mini span, .calle > span { font-size: .82rem; color: var(--gris); font-weight: 600; margin-right: 2px; }
.contador.mini .mas-menos { width: 34px; height: 34px; font-size: 1.2rem; }
.contador.mini input { width: 44px; height: 38px; text-align: center; font-weight: 800; padding: 0; -moz-appearance: textfield; }
.calle { display: flex; align-items: center; gap: 4px; }
.calle label { position: relative; }
.calle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.calle label span { display: grid; place-items: center; width: 40px; height: 36px; border-radius: 10px; background: #fff; border: 1px solid var(--borde); font-weight: 800; cursor: pointer; }
.calle input:checked + span { background: var(--verde-osc); color: #fff; border-color: var(--verde-osc); }
.calle input:focus-visible + span { outline: 3px solid rgba(18,138,82,.35); }
.gps { margin: 4px 0 12px; }
.gps .boton { display: flex; align-items: center; justify-content: center; gap: 8px; }
.gps .ico { width: 20px; height: 20px; }
.gps-dato { display: flex; align-items: center; gap: 12px; background: var(--verde-osc); color: #fff; border-radius: 14px; padding: 12px 16px; }
.gps-dato .ico { width: 30px; height: 30px; color: var(--oro); flex: none; }
.gps-dato b { font-size: 1.9rem; color: var(--oro); }
.gps-dato small { display: block; color: #bfe0cd; font-size: .8rem; }
.gps-salida { display: block; color: var(--gris); font-size: .82rem; margin-top: 6px; }
.resumen-estad { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-bottom: 16px; }
.resumen-estad div { background: #fff; border: 1px solid var(--borde); border-radius: 12px; padding: 12px 14px; }
.resumen-estad small { display: block; color: var(--gris); font-size: .75rem; text-transform: uppercase; }
.resumen-estad b { font-size: 1.4rem; color: var(--verde-osc); }
.resumen-estad span { display: block; color: var(--gris); font-size: .85rem; }
.hg-mapa { display: inline-flex; align-items: center; gap: 4px; font-size: .85rem; font-weight: 600; text-decoration: none; margin-bottom: 6px; }
.hg-mapa .ico { width: 16px; height: 16px; }
.tabla-gps .coord { display: flex; gap: 4px; min-width: 240px; }
.tabla-gps .coord .boton { padding: 4px 8px; display: grid; place-items: center; }
.tabla-gps .coord .ico { width: 18px; height: 18px; }
.tabla-gps .aviso-dist { color: #8a6100; font-weight: 700; }
.mj-nombre { grid-area: nombre; }
.mj-nombre b { display: block; font-size: 1.05rem; }
.mj-nombre small { display: block; color: var(--gris); font-size: .82rem; }
.mj-control { grid-area: control; display: flex; align-items: center; gap: 6px; }
.mj-control input { width: 62px; height: 54px; text-align: center; font-size: 1.5rem; font-weight: 800; padding: 0; border-radius: 12px; -moz-appearance: textfield; }
.mj-control input::-webkit-outer-spin-button, .mj-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mas-menos { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--verde-claro); color: var(--verde-osc); font-size: 1.6rem; font-weight: 700; cursor: pointer; touch-action: manipulation; }
.mas-menos:active { background: #c9ead7; }
.mj-puntos { grid-area: puntos; color: var(--verde); font-weight: 700; font-size: .9rem; min-height: 1.2em; }
.mc-sub { font-size: 1.05rem; }
.codigo-form { max-width: 360px; margin: 24px auto; }
.codigo-input { text-align: center; font-size: 2rem; letter-spacing: .3em; font-weight: 800; text-transform: uppercase; }

/* ---------- Hándicap y guía del campo ---------- */
.resultado-hcp .cifras { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.cifras div, .cifra { background: var(--verde-claro); border-radius: 12px; padding: 14px; text-align: center; }
.cifras small, .cifra small { display: block; color: var(--gris); font-size: .8rem; }
.cifras b, .cifra b { font-size: 2rem; color: var(--verde-osc); }
.cab-guia { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.cab-guia small { color: var(--club); font-weight: 700; }
.plan-resumen { background: var(--verde-claro); border-radius: 12px; padding: 14px 16px; }
.hoyos-guia { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.hoyo-guia { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 14px; break-inside: avoid; }
.hg-num { display: flex; align-items: baseline; gap: 10px; }
.hg-num b { font-size: 1.6rem; color: var(--club); }
.hg-datos { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--gris); font-size: .9rem; margin: 4px 0 8px; }
.hg-tupar { color: var(--verde-osc); }
.hg-tupar i { color: var(--verde); font-style: normal; letter-spacing: 1px; }
.hg-consejo { font-size: .9rem; background: #fff9e3; border-radius: 8px; padding: 8px 10px; margin-bottom: 6px; }
.hg-plan { font-size: .9rem; margin: 0; }
.texto-legal { background: #fff; padding: 28px; border-radius: var(--radio); }
.texto-legal h2 { font-size: 1.15rem; margin: 26px 0 8px; color: var(--verde); }
.texto-legal ul { padding-left: 20px; margin: 0 0 12px; }
.texto-legal li { margin-bottom: 6px; }
.texto-legal .datos-titular { list-style: none; padding: 0; }
.texto-legal .pendiente { background: #fff6d6; color: #6b4e00; padding: 0 6px; border-radius: 6px; }

/* ---------- Panel ---------- */
.subnav { background: #fff; border-bottom: 1px solid var(--borde); }
.subnav .contenedor { display: flex; gap: 4px; align-items: center; overflow-x: auto; }
.subnav a { padding: 14px 14px; text-decoration: none; color: var(--gris); font-weight: 600; border-bottom: 3px solid transparent; white-space: nowrap; }
.subnav a.activa { color: var(--verde-osc); border-color: var(--verde); }
.subnav-club { margin-left: auto; color: var(--gris); font-size: .88rem; white-space: nowrap; padding-left: 12px; }
.primeros-pasos ol { margin: 0; padding-left: 20px; }
.primeros-pasos li { margin-bottom: 6px; }
.primeros-pasos li.hecho a { color: var(--gris); text-decoration: line-through; }
.tabla-scroll { overflow-x: auto; margin-bottom: 20px; }
.tabla-panel { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); }
.tabla-panel th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--gris); padding: 12px; background: #fafcfb; border-bottom: 1px solid var(--borde); }
.tabla-panel td { padding: 10px 12px; border-bottom: 1px solid #edf2ee; vertical-align: middle; }
.tabla-panel td small { display: block; color: var(--gris); font-size: .8rem; }
.tabla-panel .acciones { white-space: nowrap; text-align: right; }
.tabla-panel .pendiente { color: #8a6100; display: inline; }
.tabla-panel tr.fila-pendiente td { background: #fffbea; }
.tabla-panel tr.atendida td { opacity: .55; }
.tabla-jugadores input, .tabla-jugadores select { padding: 7px 8px; min-width: 70px; }
.tabla-jugadores input[name=nombre] { min-width: 190px; }
.corto { max-width: 76px; }
.medio { max-width: 130px; }
.rejilla-resumen { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.botonera { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.lista-enlaces { padding-left: 18px; }
.lista-enlaces li { margin-bottom: 8px; }
.lista-enlaces small { color: var(--gris); margin: 0 6px; }
.rejilla-campos, .rejilla-patro { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.rejilla-grupos { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.tabla-form { border-collapse: collapse; width: 100%; background: #fff; }
.tabla-form th { text-align: left; font-size: .8rem; color: var(--gris); padding: 8px; }
.tabla-form td { padding: 4px; }
.tabla-form input, .tabla-form select { padding: 8px; }
.hoyos-form tbody th { width: 50px; text-align: center; color: var(--verde-osc); }
.grupo-cab { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin-bottom: 8px; }
.grupo-cab h3 { margin: 0 auto 6px 0; width: 100%; }
.grupo-cab label { display: flex; flex-direction: column; font-size: .8rem; color: var(--gris); }
.grupo-cab input { padding: 6px 8px; }
.grupo ul { list-style: none; padding: 0; margin: 0 0 10px; }
.grupo li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid #edf2ee; line-height: 1.3; }
.grupo li small { display: block; }
.grupo li small { color: var(--gris); }
.mover select { padding: 4px 6px; font-size: .82rem; width: 112px; }
.codigo-grupo { margin: 0; font-size: .9rem; color: var(--gris); }
.codigo-grupo b { color: var(--verde-osc); letter-spacing: .12em; }
.patro { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.patro img { max-height: 60px; width: auto; }
.zona-peligro { margin-top: 28px; padding-top: 18px; border-top: 1px dashed #e7b4b4; }
.panel-pestanas { margin-bottom: 20px; }

/* ---------- Pantalla de TV ---------- */
.modo-tv { background: #06261b; color: #fff; height: 100vh; overflow: hidden; display: flex; flex-direction: column; }
.tv-cab { display: flex; justify-content: space-between; align-items: center; padding: 20px 36px; background: linear-gradient(90deg, #0b3d2c, color-mix(in srgb, var(--club) 60%, #0b3d2c)); }
.tv-cab > div { display: flex; align-items: center; gap: 18px; }
.tv-cab h1 { margin: 0; font-size: 2.4rem; }
.tv-cab p { margin: 0; color: #bfe0cd; font-size: 1.2rem; }
.tv-der { gap: 20px; }
.tv-der .etiqueta { font-size: 1.1rem; padding: 6px 16px; }
.tv-reloj { font-size: 2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.tv-cuerpo { flex: 1; overflow: hidden; padding: 0 36px; }
.clasif.tv { background: transparent; font-size: 1.6rem; }
.clasif.tv th { background: #06261b; color: #8fbfa5; font-size: 1rem; position: sticky; top: 0; }
.clasif.tv td { border-color: rgba(255,255,255,.08); padding: 14px 10px; }
.clasif.tv tr:hover td { background: transparent; }
.clasif.tv .pos, .clasif.tv .valor b, .clasif.tv tbody tr:nth-child(-n+3) .pos { color: var(--oro); }
.clasif.tv .jug small { color: #8fbfa5; font-size: 1rem; }
.clasif.tv .thru { color: #bfe0cd; width: 100px; }
.clasif.tv .valor { width: 150px; font-size: 2rem; }
.tv-pie { display: flex; gap: 28px; align-items: center; justify-content: space-between; padding: 14px 36px; background: #fff; min-height: 70px; }
.tv-patro { display: flex; gap: 32px; align-items: center; flex: 1; justify-content: center; }
.tv-pie img { max-height: 56px; width: auto; }
.tv-pie span { color: var(--verde-osc); font-weight: 800; font-size: 1.3rem; }
.tv-marca { display: flex; align-items: center; gap: 8px; color: var(--verde-osc); font-weight: 800; white-space: nowrap; }

/* ---------- Hoja de salidas con QR ---------- */
.hoja-qr { background: #fff; padding: 24px; }
.hq-cab { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; border-bottom: 2px solid var(--verde-osc); margin-bottom: 18px; }
.hq-cab h1 { margin: 0; font-size: 1.6rem; }
.hq-cab p { margin: 0; flex: 1; color: var(--gris); }
.hq-rejilla { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hq-ficha { display: flex; gap: 14px; border: 2px dashed #b9c8bf; border-radius: 12px; padding: 14px; break-inside: avoid; }
.hq-texto { flex: 1; }
.hq-texto h2 { margin: 0 0 4px; font-size: 1.3rem; }
.hq-texto ol { padding-left: 20px; margin: 6px 0; }
.hq-codigo { font-size: .85rem; color: var(--gris); margin: 0; }
.hq-qr { width: 150px; flex: none; }
.hq-qr svg { width: 100%; height: auto; }

/* ---------- Pie ---------- */
.pie { background: var(--verde-osc); color: #cfe5d8; padding: 44px 0 24px; margin-top: 20px; }
.pie-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 24px; }
.pie-cols div { display: flex; flex-direction: column; gap: 8px; }
.pie-cols strong { color: #fff; }
.pie a { color: #cfe5d8; text-decoration: none; }
.pie a:hover { color: #fff; }
.pie .marca { color: #fff; }
.pie-marca p { font-size: .92rem; }
.pie-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 16px; font-size: .82rem; color: #9fbfae; }
@media (max-width: 760px) { .pie-cols { grid-template-columns: 1fr 1fr; } .pie-marca { grid-column: 1 / -1; } }

/* ---------- Impresión ---------- */
@media print {
  .cabecera, .pie, .no-imprimir, .subnav { display: none !important; }
  body { background: #fff; }
  .hoyo-guia, .caja { box-shadow: none; }
  .hq-rejilla { grid-template-columns: 1fr 1fr; }
  .seccion { padding: 0; }
}

/* ---------- Ryder Cup ---------- */
.ryder-marcador { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); margin-bottom: 16px; }
.rm-lado { color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; font-weight: 800; font-size: 1.2rem; }
.rm-lado b { font-size: 2.6rem; line-height: 1; }
.rm-lado.lado-a { background: var(--lado-a); }
.rm-lado.lado-b { background: var(--lado-b); }
.rm-centro { background: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 8px 16px; text-align: center; gap: 4px; }
.rm-centro small { color: var(--gris); }
.ryder-sesion { margin: 18px 0 8px; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gris); }
.ryder-partidos { display: flex; flex-direction: column; gap: 8px; }
.ryder-partido { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--borde); border-radius: 12px; padding: 10px 14px; color: var(--texto); text-decoration: none; }
a.ryder-partido:hover { box-shadow: var(--sombra); }
.rp-lado { font-weight: 600; line-height: 1.3; }
.rp-lado small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gris); }
.rp-lado.lado-a { border-left: 5px solid var(--lado-a); padding-left: 10px; }
.rp-lado.lado-b { border-right: 5px solid var(--lado-b); padding-right: 10px; text-align: right; }
.rp-lado.gana { font-weight: 800; }
.estado-partido { display: inline-block; padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: .85rem; background: #eef1ef; color: var(--gris); text-align: center; white-space: nowrap; }
.estado-partido.lado-a { background: var(--lado-a); color: #fff; }
.estado-partido.lado-b { background: var(--lado-b); color: #fff; }
.estado-partido.igual { background: #e8ecea; color: var(--texto); }
.estado-partido:not(.final).lado-a, .estado-partido:not(.final).lado-b { opacity: .85; }
.ryder-partido.grande { padding: 18px; font-size: 1.15rem; margin-bottom: 16px; }
.marcador-ryder { margin-bottom: 12px; font-size: .95rem; }
.marcador-ryder .estado-partido { white-space: normal; }
.antetitulo-oscuro { text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; font-weight: 700; color: var(--gris); }
.marca-jugador.lado-a .mj-nombre b { border-left: 5px solid var(--lado-a); padding-left: 8px; }
.marca-jugador.lado-b .mj-nombre b { border-left: 5px solid var(--lado-b); padding-left: 8px; }
.tarjeta.partido tr.lado-a th { border-left: 5px solid var(--lado-a); }
.tarjeta.partido tr.lado-b th { border-left: 5px solid var(--lado-b); }
.tarjeta.partido .fila-ganador td.lado-a { background: var(--lado-a); color: #fff; font-weight: 800; }
.tarjeta.partido .fila-ganador td.lado-b { background: var(--lado-b); color: #fff; font-weight: 800; }
.tarjeta.partido i.golpes-rec { display: block; font-style: normal; font-size: .7rem; }
.tarjeta.editable tr.lado-a th { border-left: 5px solid var(--lado-a); }
.tarjeta.editable tr.lado-b th { border-left: 5px solid var(--lado-b); }
.grupo.lado-a { border-top: 5px solid var(--lado-a); }
.grupo.lado-b { border-top: 5px solid var(--lado-b); }
.ryder-resumen-panel { font-size: 1.3rem; margin-bottom: 14px; }
.lado-a-txt { color: var(--lado-a); }
.lado-b-txt { color: var(--lado-b); }
b.codigo { letter-spacing: .12em; }
.ryder.tv .rm-lado { font-size: 2rem; padding: 18px 30px; }
.ryder.tv .rm-lado b { font-size: 4rem; }
.ryder.tv .rm-centro { background: #0b3d2c; color: #fff; }
.ryder.tv .ryder-partido { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff; font-size: 1.4rem; }
.ryder.tv .rp-lado small, .ryder.tv .ryder-sesion { color: #9fd8b8; }
@media (max-width: 560px) {
  .rm-lado { padding: 12px; font-size: 1rem; } .rm-lado b { font-size: 2rem; }
  .ryder-partido { grid-template-columns: 1fr 1fr; } .ryder-partido .estado-partido { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- Alta de jugadores ---------- */
.anadir-jugador { margin-bottom: 18px; }
.anadir-jugador > summary { list-style: none; display: inline-block; margin-bottom: 12px; }
.anadir-jugador > summary::-webkit-details-marker { display: none; }
.anadir-jugador[open] > summary { background: var(--verde-claro); color: var(--verde-osc); }
.anadir-caja h2 { font-size: 1.15rem; margin-top: 6px; }
.anadir-caja h2 + form, .anadir-caja [data-resultados] { margin-bottom: 18px; }
.lista-fichas { list-style: none; padding: 0; margin: 0; border: 1px solid var(--borde); border-radius: 12px; overflow: hidden; }
.lista-fichas li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid #edf2ee; background: #fff; }
.lista-fichas li:first-child { border-top: 0; }
.lista-fichas small { display: block; color: var(--gris); }
.anadir-ficha { display: flex; align-items: center; gap: 8px; }
.anadir-ficha label { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--gris); }
.anadir-ficha input { padding: 6px 8px; }
.pegar-lista summary { cursor: pointer; font-weight: 600; color: var(--verde); }

/* ---------- Torneo privado ---------- */
.eleccion-visibilidad label.check { align-items: flex-start; }
.eleccion-visibilidad label.check input { margin-top: 4px; accent-color: var(--verde); }
.eleccion-visibilidad small { display: block; color: var(--gris); font-weight: 400; }
.etiqueta-privado { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.14); color: #fff; }
.etiqueta-privado .ico { width: 16px; height: 16px; }
.privado-club { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--gris); font-weight: 600; }
.privado-club .logo-club { max-height: 48px; }
.contenedor h1 .ico { width: 30px; height: 30px; vertical-align: -4px; color: var(--verde); }
.caja-invitacion { border: 2px solid var(--oro); }
.codigo-invitacion { display: flex; flex-direction: column; align-items: flex-start; margin: 8px 0; }
.codigo-invitacion small { color: var(--gris); }
.codigo-invitacion b { font-size: 2rem; letter-spacing: .25em; color: var(--verde-osc); }
.enlace-invitacion { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--borde); border-radius: 10px; background: var(--fondo); color: var(--texto); }

/* ---------- Partidas privadas de organizadores particulares ---------- */
.enlace-organizar { margin-top: 16px; color: #cfe5d8; }
.enlace-organizar a { color: var(--oro); font-weight: 700; }
.aviso-privado { display: flex; align-items: flex-start; gap: 10px; background: var(--verde-claro); border-radius: 12px; padding: 12px 14px; margin: 0; }
.aviso-privado .ico { width: 22px; height: 22px; flex: none; color: var(--verde); }

/* ---------- Torneos oficiales (Federación) ---------- */
.etiqueta.oficial { background: #fff4d6; color: #8a5a00; }
.caja-oficial { border: 2px solid #e8c45a; }
.avisos-federacion ul { margin: 8px 0 0; padding-left: 20px; }
.avisos-federacion li { margin-bottom: 4px; }
.casilla-larga { align-items: flex-start; }
.casilla-larga input { margin-top: 4px; }
h1.antetitulo-oscuro { margin: 0 0 1em; }

/* ---------- Premios especiales (bola más cerca, drive más largo) ---------- */
.premio-especial { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; }
.premio-especial .ico { width: 22px; height: 22px; flex: none; color: #b8860b; }
.concurso { border: 2px solid #e8c45a; border-radius: 12px; padding: 10px 14px 12px; margin: 14px 0; background: #fffaf0; }
.concurso legend { font-weight: 700; padding: 0 6px; display: flex; align-items: center; gap: 6px; }
.concurso legend .ico { width: 20px; height: 20px; color: #b8860b; }
.concurso-jugador { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.concurso-jugador input { width: 110px; text-align: center; font-size: 1.1rem; }
.premio-panel { border-top: 1px solid var(--borde); padding-top: 10px; margin-top: 10px; }
.lista-marcas { margin: 6px 0 10px; padding-left: 22px; }
.tv-premios { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; padding: 8px 16px; background: rgba(0,0,0,.25); color: #fff; font-size: 1.1rem; }
.tv-premios span { display: inline-flex; align-items: center; gap: 8px; }
.tv-premios .ico { width: 22px; height: 22px; color: var(--oro); }

/* ---------- Estadísticas por hoyo, lista de espera y categorías ---------- */
.est-hoyos summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.est-hoyos summary small { color: var(--gris); }
.est-hoyos table td, .est-hoyos table th { text-align: center; }
.lista-espera ol { padding-left: 22px; }
.lista-espera li { margin-bottom: 8px; }
.lista-espera small { color: var(--gris); margin-right: 6px; }
.categorias-auto summary { cursor: pointer; }

/* ---------- Firma de tarjetas, Skins y banderas del día ---------- */
.firmas .firma-form { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--borde); padding-top: 10px; margin-top: 10px; }
.firma-hecha { display: flex; gap: 8px; align-items: flex-start; }
.firma-hecha .ico { width: 20px; height: 20px; flex: none; color: var(--verde); }
.mj-nombre small.firmada { color: var(--verde); font-weight: 700; }
.skins-totales { list-style: none; padding: 0; margin: 8px 0; }
.skins-totales li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #edf2ee; }
.skins h2 small { font-size: .8rem; color: var(--gris); font-weight: 400; }
.info-hoyo .bandera-hoy { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--verde-osc); background: var(--verde-claro); border-radius: 999px; padding: 4px 10px; }
.mini-green { position: relative; display: inline-block; width: 18px; height: 22px; border-radius: 50%; background: #7cc68f; border: 1px solid #4f9f63; vertical-align: middle; }
.mini-green::after { content: ''; position: absolute; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #c62828; }
.mini-green.pos-delante::after { bottom: 3px; }
.mini-green.pos-centro::after { top: 50%; margin-top: -3px; }
.mini-green.pos-fondo::after { top: 3px; }
.rejilla-banderas { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.tabla-banderas { width: 100%; max-width: 520px; border-collapse: collapse; margin: 12px 0; }
.tabla-banderas th, .tabla-banderas td { border-bottom: 1px solid var(--borde); padding: 6px 10px; text-align: left; }
.tarjeta-ideal { font-size: .72rem; color: var(--gris); letter-spacing: .02em; }

/* ---------- Guía del campo hoyo a hoyo con GPS ---------- */
.gh-cab { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.gh-cab .num-hoyo { width: 56px; height: 56px; font-size: 1.6rem; flex: none; }
.gh-cab h1 { margin: 0; font-size: 1.6rem; }
.gh-cab h1 span { font-size: 1rem; color: var(--gris); font-weight: 400; }
.gh-cab p, .gh-cab small { margin: 0; color: var(--gris); }
.gps-guia .gps-dato small { display: block; }
.gps-otro-hoyo { background: #fff6d6; color: #6b4e00; border-radius: 10px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.plano-hoyo { display: block; width: 100%; max-width: 230px; height: auto; margin: 14px auto 4px; }
.plano-hoyo .ph-calle { stroke: #a8d5b2; stroke-width: 22; stroke-linecap: round; }
.plano-hoyo .ph-green { fill: #5cb874; stroke: #3c8f53; stroke-width: 1; }
.plano-hoyo .ph-bandera { fill: #c62828; }
.plano-hoyo .ph-salida { fill: #d9c48a; stroke: #a8915a; stroke-width: .6; }
.plano-hoyo .ph-texto { font-size: 7px; fill: var(--gris); text-anchor: middle; }
.plano-hoyo .ph-yo { fill: #1565c0; stroke: #fff; stroke-width: 1.5; }
.plano-hoyo [hidden] { display: none; }
.gh-nav { display: flex; justify-content: space-between; gap: 12px; margin: 18px 0; }
.hg-gps { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; margin-right: 12px; }
.hg-gps .ico { width: 18px; height: 18px; }

/* Precio: un solo plan, gratis */
.plan-unico-caja { grid-template-columns: minmax(250px, 440px); justify-content: center; }
.plan-unico-caja .plan-precio { font-size: 2.2rem; }

/* Aviso de que de momento todo es gratis */
.aviso-gratis { display: inline-block; margin: 14px 0 0; padding: 8px 14px; border-radius: 999px; background: rgba(242,201,76,.18); color: #fff; }
.aviso-gratis b { color: var(--oro); }
.aviso-gratis a { color: var(--oro); margin-left: 6px; }
.pie-gratis { color: var(--oro); font-weight: 700; }
