/* Páginas públicas de la asociación (inicio, árbitros, clubes): grandes, claras y fáciles para cualquiera. */
:root {
  --bg: #eef2f8; --card: #ffffff; --ink: #111827; --muted: #4b5563; --line: #d6dce8;
  --green: #15803d; --green-2: #16a34a; --green-bg: #e8f7ee;
  --blue: #1d4ed8; --blue-2: #2563eb; --blue-bg: #e8effd;
  --red: #b91c1c; --red-bg: #fdecec; --gold: #a16207; --gold-bg: #fdf6e3;
  --head: #0b1f4d; --focus: #f59e0b;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.wrap { width: min(620px, 100%); margin: 0 auto; padding: 0 16px 48px; }
.top { background: var(--head); color: #fff; padding: 18px 16px 22px; margin-bottom: 18px; }
.top .in { width: min(620px, 100%); margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.top img { width: 56px; height: 56px; border-radius: 50%; background: #fff; object-fit: cover; flex: none; }
.top h1 { font-size: 21px; line-height: 1.2; margin: 0; }
.top p { margin: 3px 0 0; opacity: .85; font-size: 15px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 700; text-decoration: none; margin: 0 0 12px; font-size: 16px; padding: 6px 0; }
.card { background: var(--card); border: 2px solid var(--line); border-radius: 20px; padding: 20px 18px; margin-bottom: 18px; box-shadow: 0 6px 20px rgba(15, 23, 42, .06); }
.card h2 { margin: 0 0 6px; font-size: 24px; display: flex; align-items: center; gap: 10px; }
.card h2 img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.card .lead { margin: 0 0 16px; color: var(--muted); font-size: 16px; }
.big { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; border: 0; border-radius: 16px; padding: 16px 18px; margin-top: 12px;
  font: inherit; font-weight: 800; font-size: 21px; color: #fff; cursor: pointer; text-decoration: none; min-height: 74px; }
.big .ic { font-size: 30px; width: 40px; text-align: center; flex: none; }
.big small { display: block; font-weight: 600; font-size: 15px; opacity: .92; margin-top: 2px; }
.big.green { background: var(--green); } .big.green:hover { background: var(--green-2); }
.big.blue { background: var(--blue); } .big.blue:hover { background: var(--blue-2); }
.big:focus-visible, .btn:focus-visible, input:focus-visible, select:focus-visible, .opt:focus-within { outline: 4px solid var(--focus); outline-offset: 2px; }
.banner { border-radius: 16px; padding: 14px 16px; margin-bottom: 16px; font-weight: 800; font-size: 19px; display: flex; gap: 12px; align-items: center; }
.banner small { display: block; font-weight: 600; font-size: 14px; opacity: .85; }
.banner.green { background: var(--green-bg); color: var(--green); border: 2px solid #b7e4c7; }
.banner.blue { background: var(--blue-bg); color: var(--blue); border: 2px solid #c7d7fb; }
.banner .ic { font-size: 30px; }
.f { margin-bottom: 14px; }
.f label, .lbl { display: block; font-weight: 800; margin-bottom: 6px; font-size: 16px; }
.f .hint { color: var(--muted); font-size: 14px; margin-top: 4px; }
input, select, textarea { width: 100%; font: inherit; font-size: 18px; padding: 13px 14px; min-height: 54px; border: 2px solid #b9c3d6; border-radius: 12px; background: #fff; color: var(--ink); }
input[type=checkbox], input[type=radio] { width: 24px; height: 24px; min-height: 0; margin: 0; accent-color: var(--blue); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opt { display: flex; align-items: center; justify-content: center; gap: 10px; border: 2px solid #b9c3d6; border-radius: 14px; padding: 14px 8px; font-weight: 800; cursor: pointer; background: #fff; user-select: none; min-height: 58px; text-align: center; }
.opt.on { border-color: var(--blue); background: var(--blue-bg); color: var(--blue); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid transparent; border-radius: 14px; padding: 14px 18px; font: inherit; font-weight: 800; cursor: pointer; min-height: 56px; text-decoration: none; }
.btn.wide { width: 100%; font-size: 20px; }
.btn.go { background: var(--green); color: #fff; } .btn.go:hover { background: var(--green-2); }
.btn.pri { background: var(--blue); color: #fff; } .btn.pri:hover { background: var(--blue-2); }
.btn.ghost { background: #fff; color: var(--blue); border-color: #b9c3d6; }
.btn.dash { background: #fff; color: var(--blue); border: 2px dashed var(--blue); width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.switch { text-align: center; margin-top: 16px; font-size: 16px; color: var(--muted); }
.switch a { color: var(--blue); font-weight: 800; }
.msg { min-height: 22px; margin-top: 12px; text-align: center; font-weight: 700; color: var(--red); }
.msg.ok { color: var(--green); }
.who { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.who .n { font-size: 21px; font-weight: 800; }
.who .n small { display: block; font-size: 15px; font-weight: 600; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.stats div { background: #f6f8fc; border: 2px solid var(--line); border-radius: 14px; padding: 10px 8px; text-align: center; }
.stats span { font-size: 13px; color: var(--muted); font-weight: 700; }
.stats b { display: block; font-size: 18px; margin-top: 2px; }
.debt { border-radius: 16px; padding: 16px; text-align: center; margin-top: 14px; }
.debt.bad { background: var(--red-bg); color: var(--red); border: 2px solid #f5c2c2; }
.debt.ok { background: var(--green-bg); color: var(--green); border: 2px solid #b7e4c7; }
.debt b { display: block; font-size: 30px; }
.match { border: 2px solid var(--line); border-radius: 18px; padding: 16px 14px 4px; margin-bottom: 14px; background: #fbfcfe; }
.match .mt { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-weight: 800; font-size: 19px; }
.match .x { border: 2px solid var(--line); background: #fff; color: var(--red); font-weight: 800; border-radius: 10px; padding: 6px 12px; cursor: pointer; font-size: 15px; }
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: end; }
.vs .v { font-weight: 900; padding-bottom: 16px; color: var(--muted); }
.quota { text-align: center; font-size: 15px; color: var(--muted); margin: 10px 0 16px; font-weight: 600; }
.quota.bad { color: var(--red); }
.row-item { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.row-item:first-child { border-top: 0; }
.row-item .d { color: var(--muted); font-size: 14px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 14px; font-weight: 800; white-space: nowrap; }
.tag.ok { background: var(--green-bg); color: var(--green); } .tag.bad { background: var(--red-bg); color: var(--red); } .tag.gold { background: var(--gold-bg); color: var(--gold); }
.done { text-align: center; padding: 8px 0; }
.done .ck { font-size: 56px; line-height: 1; margin-bottom: 8px; }
.done h2 { justify-content: center; }
.preview { margin-top: 10px; max-width: 100%; max-height: 260px; border-radius: 12px; border: 2px solid var(--line); display: block; }
.foot { text-align: center; color: var(--muted); font-size: 14px; margin-top: 26px; }
.foot a { color: var(--muted); }
.hidden { display: none !important; }
@media (max-width: 420px) {
  body { font-size: 16px; }
  .two { grid-template-columns: 1fr; }
  .big { font-size: 19px; }
  .stats b { font-size: 16px; }
  .vs { grid-template-columns: 1fr; } .vs .v { padding: 0; text-align: center; }
}
