:root {
  color-scheme: light;
  --ink: #15213b;
  --navy: #0f1d4a;
  --green: #128a3a;
  --green2: #0f5a2a;
  --yellow: #ffd21f;
  --ok: #1fa64a;
  --bad: #e23b3b;
  --card: #ffffff;
  --line: #d6e3d8;
  --font: "Baloo 2", ui-rounded, "Trebuchet MS", system-ui, sans-serif;
  --title: "Lilita One", "Baloo 2", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--green2);
  color: var(--ink);
  font-family: var(--font);
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}
button { font-family: inherit; color: inherit; }
button:focus-visible, input:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ------------------------------ Juego ------------------------------ */
#app { height: 100%; height: 100dvh; display: flex; flex-direction: column; max-width: 1280px; margin: 0 auto; background: #eaf4ec; }
.stage { position: relative; flex: 1 1 auto; min-height: 210px; background: #3a6fd8; overflow: hidden; touch-action: manipulation; }
#cv { display: block; position: absolute; inset: 0; }
.panel {
  flex: 0 0 auto; max-height: 56%; overflow-y: auto;
  padding: 10px 12px calc(14px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 8px;
  background: linear-gradient(180deg, #dff1e3, #eaf4ec 90px);
  border-top: 4px solid var(--yellow);
}
@media (orientation: portrait) {
  .stage { flex: 0 0 auto; height: clamp(230px, 54vh, 118vw); }
  .panel { flex: 1 1 auto; max-height: none; }
}
@media (orientation: landscape) and (max-height: 560px) {
  #app { flex-direction: row; }
  .panel { flex: 0 0 42%; max-height: none; border-top: 0; border-left: 4px solid var(--yellow); justify-content: center; }
}
@media (min-width: 900px) and (min-height: 600px) {
  .panel { padding: 12px 22px 18px; }
}

/* Barra y marcador */
.bar {
  position: absolute; top: calc(6px + env(safe-area-inset-top, 0px)); left: 6px; right: 6px;
  display: flex; align-items: center; justify-content: space-between; gap: 6px; pointer-events: none;
}
.bar-btn {
  pointer-events: auto; flex: 0 0 auto; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .94); color: var(--navy); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .2);
}
.bar-btn svg { width: 22px; height: 22px; }
.sb {
  display: flex; align-items: stretch; border-radius: 12px; overflow: hidden; font-weight: 800; line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .35); background: var(--navy); color: #fff;
}
.sb:empty { display: none; }
.sb-t { display: flex; align-items: center; gap: 5px; padding: 6px 8px; font-family: var(--title); font-size: 16px; letter-spacing: .04em; font-weight: 400; }
.sb-k { width: 12px; height: 18px; border-radius: 3px; background: linear-gradient(90deg, var(--k1) 60%, var(--k2) 60%); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .7); }
.sb-n { background: #fff; color: var(--navy); padding: 6px 10px; font-family: var(--title); font-size: 21px; font-weight: 400; display: flex; align-items: center; gap: 4px; }
.sb-n i { font-style: normal; opacity: .5; }
.sb-m { background: var(--yellow); color: var(--navy); padding: 6px 8px; font-size: 14px; display: flex; align-items: center; min-width: 42px; justify-content: center; }
@media (max-width: 380px) { .sb-t { font-size: 13px; padding: 5px 5px; } .sb-n { font-size: 18px; padding: 5px 7px; } .sb-m { font-size: 12px; min-width: 36px; } }
.hud-x { position: absolute; top: calc(52px + env(safe-area-inset-top, 0px)); left: 0; right: 0; text-align: center; font-size: 15px; pointer-events: none; }
.pens { display: inline-flex; flex-direction: column; gap: 2px; background: rgba(15, 29, 74, .85); color: #fff; border-radius: 10px; padding: 4px 10px; font-size: 13px; }
.pen-row { display: flex; gap: 6px; align-items: center; }
.pen-row b { width: 36px; text-align: left; font-family: var(--title); font-weight: 400; }
.cast {
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); max-width: calc(100% - 16px);
  background: rgba(15, 29, 74, .86); color: #fff; font-weight: 700; font-size: 14px; line-height: 1.25;
  padding: 5px 12px; border-radius: 999px; text-align: center; pointer-events: none; opacity: 0;
}
.cast.on { animation: castIn 4.5s ease forwards; }
@keyframes castIn { 0% { opacity: 0; transform: translate(-50%, 8px); } 8% { opacity: 1; transform: translate(-50%, 0); } 85% { opacity: 1; } 100% { opacity: .0; } }
.banner {
  position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%) scale(.4); pointer-events: none; opacity: 0;
  font-family: var(--title); font-size: clamp(38px, 11vw, 92px); color: #fff; white-space: nowrap;
  -webkit-text-stroke: 3px var(--navy); paint-order: stroke fill;
  text-shadow: 0 6px 0 var(--bc, #ffd21f), 0 10px 18px rgba(0, 0, 0, .35);
}
.banner.on { animation: bannerIn 1.9s cubic-bezier(.2, 1.4, .4, 1) forwards; }
@keyframes bannerIn { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.3) rotate(-8deg); } 15% { opacity: 1; transform: translate(-50%, -50%) scale(1.1) rotate(-3deg); } 25% { transform: translate(-50%, -50%) scale(1) rotate(-3deg); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -60%) scale(1) rotate(-3deg); } }
@media (prefers-reduced-motion: reduce) { .banner.on, .cast.on { animation-duration: .01s; opacity: 1; } }

/* Preguntas */
.q-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.q-kind { font-weight: 800; font-size: 15px; color: var(--green2); line-height: 1.2; }
.q-hard { margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: linear-gradient(90deg, #ff7a18, #e8361b); color: #fff; font-size: 12px; font-weight: 900; white-space: nowrap; box-shadow: 0 2px 6px rgba(232, 54, 27, 0.35); animation: hardPulse 1.2s ease-in-out infinite; }
@keyframes hardPulse { 50% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .q-hard { animation: none; } }
.q-who { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; color: #fff; background: var(--navy); border-radius: 999px; padding: 2px 10px 2px 4px; }
.q-who::before { content: ""; width: 14px; height: 18px; border-radius: 4px; background: linear-gradient(90deg, var(--k1) 60%, var(--k2) 60%); }
.q-card { background: var(--card); border-radius: 16px; padding: 8px 12px 10px; border: 3px solid var(--sc); box-shadow: 0 3px 0 rgba(0, 0, 0, .08); }
.q-head { display: flex; justify-content: space-between; align-items: center; }
.q-subj { font-weight: 800; font-size: 13px; color: #fff; background: var(--sc); border-radius: 999px; padding: 1px 10px; }
.q-say { border: 0; background: #eef3ff; border-radius: 50%; width: 34px; height: 34px; font-size: 17px; cursor: pointer; }
.q-text { margin: 4px 0 0; font-size: 19px; font-weight: 800; line-height: 1.22; }
.q-big { font-size: 30px; font-weight: 800; text-align: center; letter-spacing: .02em; line-height: 1.15; margin-top: 2px; word-break: break-word; }
.q-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.q-opts.n3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 420px) { .q-opts.n3 { grid-template-columns: 1fr; } .q-opts.n3 .q-opt { min-height: 46px; } }
.q-opt {
  display: flex; align-items: center; gap: 8px; text-align: left; min-height: 54px;
  border: 0; border-radius: 14px; padding: 6px 10px; background: #fff; cursor: pointer;
  font-size: 17px; font-weight: 800; line-height: 1.15; box-shadow: 0 4px 0 #b8cdbd; transition: transform .08s;
}
.q-opt b { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 13px; }
.q-opt:active { transform: translateY(3px); box-shadow: 0 1px 0 #b8cdbd; }
.q-opt.right { background: var(--ok); color: #fff; box-shadow: 0 4px 0 #157a35; animation: pop .35s; }
.q-opt.right b { background: #fff; color: var(--ok); }
.q-opt.wrong { background: var(--bad); color: #fff; box-shadow: 0 4px 0 #a52121; animation: shake .4s; }
.q-opt.wrong b { background: #fff; color: var(--bad); }
.q-opt:disabled { cursor: default; }
.q-opt:disabled:not(.right):not(.wrong) { opacity: .55; }
@keyframes pop { 50% { transform: scale(1.06); } }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.q-wait { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; color: var(--green2); min-height: 60px; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: dot 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-5px); opacity: .5; } }

/* Elegir pase y disparo */
.pick-hint { margin: 0; font-size: 14px; font-weight: 600; color: #3c5a44; }
.pick-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pick-row.n2 { grid-template-columns: 1fr 1fr; }
.pick {
  border: 0; background: #fff; border-radius: 14px; padding: 6px 4px 8px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px; box-shadow: 0 4px 0 #b8cdbd;
  animation: pop .4s;
}
.pick svg { width: 48px; height: 48px; }
.pick-s { font-size: 12px; font-weight: 800; color: #fff; background: var(--sc, var(--green)); border-radius: 999px; padding: 0 7px; white-space: nowrap; }
.pick:active { transform: translateY(3px); box-shadow: 0 1px 0 #b8cdbd; }
.zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 360px; width: 100%; margin: 0 auto; }
.zone {
  border: 0; border-radius: 14px; min-height: 50px; font-size: 26px; font-weight: 900; cursor: pointer;
  background: repeating-linear-gradient(45deg, #fff, #fff 6px, #f2f4f8 6px, #f2f4f8 12px); box-shadow: 0 4px 0 #b8cdbd; color: var(--navy);
}
.zone:active { transform: translateY(3px); box-shadow: 0 1px 0 #b8cdbd; }

/* Resultado */
.result { text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.result h2 { margin: 0; font-family: var(--title); font-weight: 400; font-size: 30px; color: var(--green2); }
.r-score { display: flex; align-items: center; justify-content: center; gap: 12px; }
.r-team { display: flex; flex-direction: column; align-items: center; font-size: 13px; max-width: 110px; }
.r-team svg { width: 44px; height: 44px; }
.r-n { font-family: var(--title); font-size: 40px; color: var(--navy); }
.r-pens { margin: 0; font-weight: 800; }
.r-stars { font-size: 34px; letter-spacing: 4px; color: #cfd7d0; line-height: 1; }
.r-stars .on { color: #ffb800; text-shadow: 0 2px 0 #c98700; }
.r-stat { margin: 0; font-weight: 700; }
.r-miss { text-align: left; background: #fff; border-radius: 12px; padding: 6px 12px; max-width: 520px; width: 100%; font-size: 14px; }
.r-miss summary { font-weight: 800; cursor: pointer; }
.r-miss p { margin: 4px 0; }
.r-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.btn {
  border: 0; border-radius: 14px; padding: 10px 18px; font-size: 17px; font-weight: 800; cursor: pointer;
  background: #fff; color: var(--navy); box-shadow: 0 4px 0 #b8cdbd;
}
.btn.gold { background: linear-gradient(180deg, #ffe45c, #ffc61a); box-shadow: 0 4px 0 #d79a00; }
.btn.alt { background: #fff; }
.btn.big { width: 100%; font-size: 20px; padding: 14px; }
.btn:active { transform: translateY(3px); }

.pause { position: fixed; inset: 0; background: rgba(5, 20, 10, .6); display: grid; place-items: center; z-index: 30; }
.pause-c { background: #fff; border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 260px; text-align: center; }
.pause-c h2 { margin: 0; font-family: var(--title); font-weight: 400; color: var(--green2); font-size: 30px; }

/* ------------------------------ Menú ------------------------------ */
.menu {
  min-height: 100%; padding: 14px 12px 40px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, .18), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 64px, transparent 64px 128px),
    linear-gradient(180deg, #2fb457, #138a3a 45%, #0b5a28);
}
/* Portada: estadio de fondo y tu jugador haciendo toques */
.m-hero {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 6px;
  min-height: 210px; border-radius: 24px; overflow: hidden; padding: 14px 8px 0 18px; color: #fff;
  background: linear-gradient(180deg, rgba(10, 30, 80, .05) 30%, rgba(10, 30, 80, .55) 100%), url("graficos/estadio.webp") center bottom / cover no-repeat, #2a6fd6;
  box-shadow: 0 6px 0 rgba(0, 0, 0, .22);
}
.m-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: repeating-linear-gradient(90deg, #35b257 0 40px, #2c9f4c 40px 80px); border-top: 3px solid #fff; z-index: 0; }
.m-hero-txt { position: relative; z-index: 1; align-self: center; padding-bottom: 30px; }
.m-hero #heroPlayer { position: relative; z-index: 1; width: 150px; height: auto; flex: none; margin-bottom: -2px; }
.m-hero p { margin: 4px 0 0; font-weight: 800; font-size: 17px; max-width: 300px; text-shadow: 0 2px 0 rgba(0, 0, 0, .45), 0 0 10px rgba(0, 0, 0, .5); }
.m-hero .m-logo { display: flex; align-items: center; gap: 8px; }
.m-hero h1 {
  margin: 0; font-family: var(--title); font-weight: 400; font-size: clamp(44px, 12vw, 76px); line-height: 1;
  -webkit-text-stroke: 3px var(--navy); paint-order: stroke fill; text-shadow: 0 6px 0 var(--navy);
}
.m-hero h1 b { color: var(--yellow); font-weight: 400; }
.m-hero .m-ball { font-size: 44px; }
@media (min-width: 600px) { .m-hero { min-height: 250px; padding-left: 28px; } .m-hero #heroPlayer { width: 200px; } }
@media (max-width: 370px) { .m-hero #heroPlayer { width: 120px; } .m-hero p { font-size: 15px; } }
.m-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-size: 16px; margin-right: 4px; box-shadow: 0 2px 0 var(--green2); vertical-align: 2px; }
.m-wrap { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.m-head { text-align: center; color: #fff; }
.m-logo { display: inline-flex; align-items: center; gap: 10px; }
.m-ball { font-size: 52px; display: inline-block; animation: spin 6s linear infinite; filter: drop-shadow(0 6px 4px rgba(0, 0, 0, .3)); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .m-ball { animation: none; } }
.m-head h1 {
  margin: 0; font-family: var(--title); font-weight: 400; font-size: clamp(46px, 13vw, 76px); line-height: 1;
  -webkit-text-stroke: 3px var(--navy); paint-order: stroke fill; text-shadow: 0 6px 0 var(--navy);
}
.m-head h1 b { color: var(--yellow); font-weight: 400; }
.m-head p { margin: 4px 0 0; font-weight: 800; font-size: 18px; text-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.m-head.small { display: flex; align-items: center; gap: 10px; text-align: left; }
.m-head.small h1 { font-size: 34px; -webkit-text-stroke: 2px var(--navy); text-shadow: 0 4px 0 var(--navy); }
.m-head.small h1 small { font-size: 18px; -webkit-text-stroke: 0; text-shadow: none; opacity: .9; }
.m-back { width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font-size: 22px; font-weight: 900; cursor: pointer; box-shadow: 0 3px 0 rgba(0, 0, 0, .25); }
.m-intro { color: #fff; font-weight: 700; margin: 0; text-shadow: 0 1px 0 rgba(0, 0, 0, .3); }
.m-card { background: rgba(255, 255, 255, .97); border-radius: 22px; padding: 14px 16px; box-shadow: 0 6px 0 rgba(0, 0, 0, .18), 0 10px 24px rgba(0, 40, 10, .18); border: 2px solid rgba(255, 255, 255, .8); }
.m-card h2 { margin: 0 0 10px; font-size: 21px; color: var(--navy); font-weight: 900; }
.m-lbl { margin: 8px 0 4px; font-weight: 800; font-size: 14px; color: #3c5a44; }
.kits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
@media (max-width: 420px) { .kits { gap: 4px; } }
.kit {
  border: 3px solid transparent; background: #f2f7f3; border-radius: 14px; padding: 4px 2px 2px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; font-size: 12px; font-weight: 800; color: #3c5a44;
}
.kit svg { width: 100%; max-width: 54px; height: auto; aspect-ratio: 1; }
.kit.on { border-color: var(--green); background: #fff8d6; box-shadow: 0 0 0 2px var(--yellow); }
.kit:disabled { opacity: .25; cursor: not-allowed; }
.m-name { display: flex; flex-direction: column; gap: 3px; margin-top: 10px; font-weight: 800; font-size: 14px; color: #3c5a44; }
.m-name input { font: inherit; font-size: 18px; font-weight: 800; padding: 8px 12px; border-radius: 12px; border: 2px solid var(--line); color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  border: 2px solid var(--line); background: #fff; border-radius: 12px; padding: 5px 12px; cursor: pointer;
  font-weight: 800; font-size: 15px; display: flex; flex-direction: column; align-items: center; line-height: 1.15;
}
.chip small { font-size: 11px; font-weight: 700; color: #6b7d70; }
.chip.on { border-color: var(--green); background: var(--green); color: #fff; }
.chip.on small { color: #d9f5e0; }
.m-check { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 700; }
.m-check input { width: 22px; height: 22px; accent-color: var(--green); }
.m-modes { display: flex; flex-direction: column; gap: 8px; }
.m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mode {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left;
  border: 0; border-radius: 18px; padding: 12px 12px 12px; cursor: pointer; min-height: 120px; color: #fff;
  background: linear-gradient(160deg, #3fa2ff, #1f6fe0); box-shadow: 0 5px 0 #154fa6;
  transition: transform .12s, box-shadow .12s;
}
.mode::before { content: ""; position: absolute; right: -24px; top: -24px; width: 90px; height: 90px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.mode b { display: block; font-size: 19px; line-height: 1.1; text-shadow: 0 2px 0 rgba(0, 0, 0, .2); }
.mode small { display: block; font-size: 12.5px; font-weight: 700; line-height: 1.25; opacity: .95; margin-top: 2px; }
.mode .mi { font-size: 34px; line-height: 1; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .18)); }
.mode.gold { background: linear-gradient(160deg, #ffe45c, #ffb800); box-shadow: 0 5px 0 #c98900; color: var(--navy); }
.mode.gold b { text-shadow: none; }
.mode.gold small { color: #5e4200; }
.mode.fast { background: linear-gradient(160deg, #ff8a3d, #ef4e2a); box-shadow: 0 5px 0 #b3361a; }
.mode.duo { background: linear-gradient(160deg, #3fd18a, #13a05a); box-shadow: 0 5px 0 #0c7440; }
.mode.reto { background: linear-gradient(160deg, #9d7bff, #6a43e0); box-shadow: 0 5px 0 #4b2ca8; }
.mode:hover { transform: translateY(-2px); }
.mode:active { transform: translateY(4px); box-shadow: 0 1px 0 rgba(0, 0, 0, .3); }
@media (max-width: 340px) { .m-grid { grid-template-columns: 1fr; } }
.link { border: 0; background: none; color: var(--green2); font-weight: 800; font-size: 15px; cursor: pointer; text-decoration: underline; padding: 4px; }
.link.danger { color: #fff; opacity: .85; }
.m-how summary { font-weight: 800; font-size: 18px; color: var(--green2); cursor: pointer; }
.m-how ul { margin: 8px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-weight: 600; line-height: 1.35; }

/* Liga */
.l-next { text-align: center; }
.l-vs { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 4px 0; }
.l-vs span { display: flex; flex-direction: column; align-items: center; max-width: 140px; font-size: 15px; }
.l-vs svg { width: 60px; height: 60px; }
.l-vs i { font-style: normal; font-family: var(--title); font-size: 30px; color: var(--bad); }
.l-f { margin: 0 0 8px; font-weight: 700; font-size: 14px; color: #4f6455; }
.l-final { text-align: center; }
.l-final h2 { font-size: 24px; }
.lt { width: 100%; border-collapse: collapse; font-size: 14px; }
.lt th { font-size: 12px; color: #6b7d70; font-weight: 800; padding: 3px 2px; }
.lt td { text-align: center; padding: 5px 2px; border-top: 1px solid #e7efe9; }
.lt .lt-n { text-align: left; font-weight: 700; }
.lt tr.me td { background: #fff4c2; font-weight: 800; }
.lt tr:first-child td:first-child { color: #c98700; font-weight: 900; }
.lt-me { display: inline-flex; align-items: center; gap: 4px; }
.lt-me svg { width: 20px; height: 20px; }
@media (max-width: 420px) { .lt th:nth-child(4), .lt td:nth-child(4), .lt th:nth-child(5), .lt td:nth-child(5), .lt th:nth-child(6), .lt td:nth-child(6) { display: none; } }
.l-res { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.l-res li { display: grid; grid-template-columns: 36px 1fr 52px 50px; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 10px; background: #f2f7f3; font-weight: 700; font-size: 14px; }
.l-res li.now { background: #fff4c2; box-shadow: inset 0 0 0 2px var(--yellow); }
.l-res .st { color: #ffb800; letter-spacing: 1px; }

/* 2 jugadores */
.dos { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 720px) { .dos { grid-template-columns: 1fr 1fr; } .dos .kits { grid-template-columns: repeat(5, 1fr); } }

/* Moneda al aire (2 jugadores) */
.coin-ov { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: rgba(8, 24, 14, .55); perspective: 800px; }
.coin-t, .coin-r { margin: 0; color: #fff; font-weight: 800; font-size: 18px; text-align: center; text-shadow: 0 2px 0 rgba(0, 0, 0, .4); padding: 0 12px; }
.coin-r { font-family: var(--title); font-weight: 400; font-size: 30px; min-height: 36px; color: var(--yellow); }
.coin { position: relative; width: 132px; height: 132px; transform-style: preserve-3d; animation: toss 2.3s cubic-bezier(.25, .7, .35, 1) forwards; }
.coin-f {
  position: absolute; inset: 0; border-radius: 50%; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: radial-gradient(circle at 35% 30%, #fff3a8, #ffcc1a 55%, #d79a00); border: 6px solid #c98700;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .45), 0 8px 18px rgba(0, 0, 0, .35);
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--navy);
}
.coin-f svg { width: 58px; height: 58px; }
.coin-f b { font-size: 13px; max-width: 100px; text-align: center; line-height: 1.1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.coin-b { transform: rotateY(180deg); }
.coin-ov.done .coin-f { box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .45), 0 0 26px 6px #ffd21f; }
@keyframes toss {
  0% { transform: translateY(40px) rotateY(0); }
  45% { transform: translateY(-70px) scale(1.15) rotateY(calc(var(--end) * .55)); }
  100% { transform: translateY(0) scale(1) rotateY(var(--end)); }
}
@media (prefers-reduced-motion: reduce) { .coin { animation-duration: .4s; } }

/* Cabecera de Liga y 2 jugadores: franja con el estadio */
.m-head.small {
  padding: 12px 14px; border-radius: 20px; min-height: 76px;
  background: linear-gradient(90deg, rgba(16, 24, 72, .78), rgba(16, 24, 72, .2)), url("graficos/estadio.webp") center 70% / cover no-repeat, #2a6fd6;
  box-shadow: 0 5px 0 rgba(0, 0, 0, .22);
}
