/* ============================================================
   Quiniela Mundial 2026 — screen-specific styles
   ============================================================ */

/* ---------- AUTH ---------- */
.auth { position: absolute; inset: 0; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text); z-index: 40; overflow-y: auto; scrollbar-width: none; }
.auth::-webkit-scrollbar { display: none; }
.auth__hero {
  position: relative; padding: 64px 30px 34px;
  background:
    radial-gradient(120% 90% at 80% -10%, color-mix(in oklab, var(--accent) 26%, transparent), transparent 60%),
    linear-gradient(180deg, color-mix(in oklab, var(--accent) 9%, var(--bg)), var(--bg));
  overflow: hidden;
}
.auth__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill);
  font-weight: 700; font-size: 12px; color: var(--text-muted); box-shadow: var(--shadow-card);
}
.auth__badge .dotflag { display: flex; gap: 3px; }
.auth__badge .dotflag i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.auth__h1 { font-family: var(--font-display); font-weight: 600; font-size: 38px; line-height: 1.02;
  letter-spacing: -.03em; margin: 22px 0 12px; text-wrap: balance; }
.auth__h1 .accent { color: var(--accent); }
.auth__lead { font-size: 15px; color: var(--text-muted); margin: 0; max-width: 30ch; line-height: 1.45; }
.auth__ball { position: absolute; right: -40px; top: -30px; width: 200px; height: 200px;
  border-radius: 50%; opacity: .5;
  background: radial-gradient(circle at 35% 30%, color-mix(in oklab, var(--accent) 40%, transparent), transparent 62%); filter: blur(6px); }
.auth__logo { display: block; height: 92px; width: auto; margin: 0 0 18px -4px; }
[data-theme="dark"] .auth__logo { background: #fff; padding: 10px 14px; border-radius: 16px; box-sizing: content-box; }

.auth__body { padding: 26px 24px 40px; display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > label { font-weight: 700; font-size: 12.5px; color: var(--text-muted); letter-spacing: .01em; padding-left: 2px; }
.input {
  width: 100%; padding: 15px 16px; border-radius: 15px;
  background: var(--surface); border: 1.5px solid var(--border); color: var(--text);
  font-family: var(--font-body); font-size: 15.5px; font-weight: 500;
  transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: var(--text-faint); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.auth__alt { text-align: center; font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.auth__alt button { color: var(--accent); font-weight: 700; }
.auth__legal { text-align: center; font-size: 11.5px; color: var(--text-faint); margin-top: 6px; line-height: 1.5; }
.seglg { display: flex; gap: 4px; padding: 4px; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-pill); margin-bottom: 6px; }
.seglg button { flex: 1; padding: 11px; border-radius: var(--r-pill); font-family: var(--font-display);
  font-weight: 600; font-size: 14.5px; color: var(--text-muted); }
.seglg button.is-active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-card); }

/* ---------- PREDICT SCREEN ---------- */
.sheetscreen { position: absolute; inset: 0; z-index: 45; background: var(--bg); color: var(--text);
  display: flex; flex-direction: column; animation: screenIn .3s var(--ease) forwards; }
.sheethdr { display: flex; align-items: center; gap: 10px; padding: 14px 16px; flex: none; }
.sheethdr h3 { font-family: var(--font-display); font-weight: 600; font-size: 16px; margin: 0; flex: 1; text-align: center; }

.predhero { padding: 8px 24px 6px; text-align: center; }
.predhero .meta { font-size: 12px; color: var(--text-faint); font-weight: 600; display: flex; align-items: center;
  justify-content: center; gap: 7px; margin-bottom: 22px; }
.predteams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 8px; }
.predteam { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.predteam .nm { font-family: var(--font-display); font-weight: 600; font-size: 15px; text-align: center; line-height: 1.15; min-height: 2.3em; display: flex; align-items: center; }
.predteam .role { font-size: 11px; color: var(--text-faint); font-weight: 600; }
.predvs { font-family: var(--font-display); font-weight: 600; color: var(--text-faint); font-size: 13px; padding-top: 28px; }

.stepper { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.stepper__num { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-weight: 600;
  font-size: 64px; line-height: 1; letter-spacing: .02em; min-width: 70px; text-align: center;
  transition: transform .12s var(--ease); }
.stepbtns { display: flex; gap: 10px; }
.stepbtn { width: 50px; height: 46px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border);
  color: var(--text); display: grid; place-items: center; box-shadow: var(--shadow-card); transition: transform .1s var(--ease); }
.stepbtn:active { transform: scale(.9); }
.stepbtn:disabled { opacity: .4; cursor: not-allowed; }

.predoutcome { text-align: center; margin: 26px 0 4px; }
.predoutcome .res { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: var(--r-pill);
  background: var(--accent-soft); color: var(--accent); font-family: var(--font-display); font-weight: 600; font-size: 15px; }

.scoring { margin: 18px 16px 0; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-card); padding: 4px 4px; box-shadow: var(--shadow-card); }
.scoring__row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; }
.scoring__row + .scoring__row { border-top: 1px solid var(--border); }
.scoring__ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.scoring__row .t { flex: 1; }
.scoring__row .t b { font-family: var(--font-display); font-weight: 600; font-size: 14px; display: block; }
.scoring__row .t span { font-size: 12px; color: var(--text-muted); }
.scoring__pts { font-family: var(--font-display); font-weight: 600; font-size: 15px; }

.sheetfoot { flex: none; padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border);
  background: var(--surface); }
.quickscores { display: flex; gap: 7px; justify-content: center; padding: 8px 16px 0; flex-wrap: wrap; }
.qscore { padding: 7px 12px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--border);
  font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--text-muted); }
.qscore.is-active { background: var(--accent); border-color: transparent; color: var(--accent-ink); }

/* ---------- LEADERBOARD ---------- */
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 10px; padding: 18px 24px 8px; }
.pod { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pod__ava { position: relative; }
.pod__ava .av { box-shadow: 0 6px 16px -6px rgba(20,12,4,.3); }
.pod__rankbadge { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 12px; color: #fff; border: 2px solid var(--bg); }
.pod__name { font-family: var(--font-display); font-weight: 600; font-size: 13px; text-align: center; line-height: 1.1;
  max-width: 92px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pod__pts { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.pod__bar { width: 100%; border-radius: 14px 14px 0 0; background: var(--surface-2); border: 1px solid var(--border); border-bottom: none;
  display: flex; align-items: flex-start; justify-content: center; padding-top: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--text-faint); }
.pod--1 .pod__bar { height: 64px; background: linear-gradient(180deg, var(--accent-soft), var(--surface-2)); }
.pod--2 .pod__bar { height: 46px; }
.pod--3 .pod__bar { height: 36px; }

.av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 16px; flex: none; }

.lbrows { display: flex; flex-direction: column; gap: 8px; padding: 8px 16px; }
.lbrow { display: flex; align-items: center; gap: 13px; padding: 12px 16px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--border); }
.lbrow__rank { font-family: var(--font-display); font-weight: 700; font-size: 15px; width: 22px; text-align: center; color: var(--text-faint); }
.lbrow__nm { flex: 1; min-width: 0; }
.lbrow__nm b { font-family: var(--font-display); font-weight: 600; font-size: 15px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lbrow__nm span { font-size: 12px; color: var(--text-muted); }
.lbrow__pts { font-family: var(--font-display); font-weight: 600; font-size: 17px; font-variant-numeric: tabular-nums; }
.lbrow__pts small { font-size: 11px; color: var(--text-faint); font-weight: 600; margin-left: 2px; }
.lbrow.is-me { border-color: var(--accent); background: var(--accent-soft); }
.lbrow.is-me .lbrow__rank { color: var(--accent); }

/* ---------- PROFILE ---------- */
.prof { padding: 8px 0 20px; }
.prof__head { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 24px 22px; text-align: center; }
.prof__ava { width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 32px; color: #fff;
  box-shadow: 0 10px 28px -8px rgba(20,12,4,.35); }
.prof__name { font-family: var(--font-display); font-weight: 600; font-size: 23px; margin: 0; letter-spacing: -.02em; }
.prof__sub { font-size: 13px; color: var(--text-muted); margin: 0; }
.prof__rankpill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 13px; }

.statgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 6px 16px; }
.statcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 16px; box-shadow: var(--shadow-card); }
.statcard .big { font-family: var(--font-display); font-weight: 600; font-size: 30px; letter-spacing: -.02em; line-height: 1; }
.statcard .lab { font-size: 12px; color: var(--text-muted); font-weight: 600; margin-top: 6px; display: flex; align-items: center; gap: 5px; }
.statcard--accent { background: linear-gradient(150deg, var(--accent), var(--accent-press)); border-color: transparent; color: var(--accent-ink); }
.statcard--accent .lab { color: color-mix(in oklab, var(--accent-ink) 78%, transparent); }

.menu { margin: 14px 16px 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  overflow: hidden; box-shadow: var(--shadow-card); }
.menu__row { display: flex; align-items: center; gap: 14px; padding: 15px 16px; width: 100%; text-align: left; }
.menu__row + .menu__row { border-top: 1px solid var(--border); }
.menu__ic { width: 36px; height: 36px; border-radius: 11px; background: var(--surface-2); display: grid; place-items: center; color: var(--text-muted); flex: none; }
.menu__row .t { flex: 1; }
.menu__row .t b { font-family: var(--font-display); font-weight: 600; font-size: 15px; display: block; }
.menu__row .t span { font-size: 12px; color: var(--text-muted); }
.menu__row .chev { color: var(--text-faint); display: grid; }

/* theme switch */
.tswitch { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 3px; gap: 2px; }
.tswitch button { width: 36px; height: 30px; border-radius: var(--r-pill); display: grid; place-items: center; color: var(--text-faint); }
.tswitch button.is-active { background: var(--surface); color: var(--accent); box-shadow: var(--shadow-card); }
[data-theme="dark"] .tswitch button.is-active { background: var(--surface-3); }

/* ---------- EXTRAS (champion / scorer) ---------- */
.pickgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 4px 16px; }
.pickcell { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; border-radius: 18px;
  background: var(--surface); border: 1.5px solid var(--border); transition: transform .12s var(--ease), border-color .2s, background .2s; }
.pickcell:active { transform: scale(.95); }
.pickcell .nm { font-size: 11.5px; font-weight: 600; color: var(--text-muted); text-align: center; line-height: 1.1; }
.pickcell.is-active { border-color: var(--accent); background: var(--accent-soft); }
.pickcell.is-active .nm { color: var(--accent); font-weight: 700; }

.scorerlist { display: flex; flex-direction: column; gap: 8px; padding: 4px 16px; }
.scorerrow { display: flex; align-items: center; gap: 13px; padding: 11px 14px; border-radius: 16px;
  background: var(--surface); border: 1.5px solid var(--border); transition: border-color .2s, background .2s; }
.scorerrow .nm { flex: 1; font-family: var(--font-display); font-weight: 600; font-size: 14.5px; }
.scorerrow .nm small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 11.5px; color: var(--text-muted); }
.scorerrow .goals { font-size: 12px; color: var(--text-muted); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.scorerrow .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border-2); flex: none; display: grid; place-items: center; }
.scorerrow.is-active { border-color: var(--accent); background: var(--accent-soft); }
.scorerrow.is-active .radio { border-color: var(--accent); background: var(--accent); }
.scorerrow.is-active .radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-ink); }

/* ---------- BRACKET ---------- */
.bracket { padding: 10px 0 20px; overflow-x: auto; scrollbar-width: none; }
.bracket::-webkit-scrollbar { display: none; }
.brkround { padding: 0 16px; }
.brkround__lbl { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-faint); padding: 14px 4px 8px; }
.tie { display: flex; flex-direction: column; gap: 0; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; margin-bottom: 10px; box-shadow: var(--shadow-card); }
.tieteam { display: flex; align-items: center; gap: 11px; padding: 12px 14px; transition: background .15s; }
.tieteam + .tieteam { border-top: 1px solid var(--border); }
.tieteam .nm { flex: 1; font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.tieteam.is-pick { background: var(--accent-soft); }
.tieteam.is-pick .nm { color: var(--accent); }
.tieteam .pickdot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border-2); flex: none; display: grid; place-items: center; }
.tieteam.is-pick .pickdot { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.tieteam.empty { opacity: .5; }
.tieteam.empty .nm { color: var(--text-faint); }
.champ-final { text-align: center; padding: 8px 24px 0; }
.champ-final .crown { color: var(--accent); display: inline-grid; margin-bottom: 6px; }
.champ-final .who { font-family: var(--font-display); font-weight: 600; font-size: 22px; }
.champ-final .lbl { font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* banner card (extras summary, my picks summary) */
.bigcard { margin: 4px 16px; padding: 18px; border-radius: var(--r-card); position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--accent), var(--accent-press)); color: var(--accent-ink); box-shadow: var(--shadow-card); }
.bigcard h4 { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin: 0 0 4px; }
.bigcard p { margin: 0; font-size: 13px; opacity: .85; }
.bigcard .ball { position: absolute; right: -30px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.28), transparent 60%); }
.bigcard__row { display: flex; align-items: center; gap: 10px; margin-top: 14px; }

/* ---------- modal sheet ---------- */
.modal-scrim { position: absolute; inset: 0; z-index: 70; background: var(--scrim);
  display: flex; align-items: flex-end; opacity: 0; transition: opacity .25s var(--ease); backdrop-filter: blur(2px); }
.modal-scrim.show { opacity: 1; }
.modal-card { width: 100%; background: var(--surface); border-radius: 28px 28px 0 0; padding: 10px 20px calc(24px + env(safe-area-inset-bottom));
  box-shadow: var(--shadow-pop); transform: translateY(100%); transition: transform .3s var(--ease); }
.modal-scrim.show .modal-card { transform: translateY(0); }
.modal-grab { width: 38px; height: 4px; border-radius: 999px; background: var(--border-2); margin: 4px auto 14px; }
.modal-title { font-family: var(--font-display); font-weight: 600; font-size: 21px; margin: 0 0 6px; letter-spacing: -.02em; }
.modal-lead { font-size: 13.5px; color: var(--text-muted); margin: 0 0 14px; line-height: 1.5; }
.modal-card .scoring__row + .scoring__row { border-top: 1px solid var(--border); }

/* progress meter */
.meter { padding: 16px 20px 4px; }
.meter__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.meter__top b { font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.meter__top span { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.meter__track { height: 8px; border-radius: var(--r-pill); background: var(--surface-3); overflow: hidden; }
.meter__fill { height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--accent), var(--accent-press)); transition: width .5s var(--ease); }

/* ---------- promo banner slider (transform-based, draggable) ---------- */
.adsec { padding: 0 16px 2px; }
.adviewport { overflow: hidden; border-radius: 18px; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.adviewport:active { cursor: grabbing; }
.adtrack { display: flex; will-change: transform; }
.adtrack.is-anim { transition: transform .38s var(--ease); }
.adslide { flex: 0 0 100%; aspect-ratio: 3363 / 1246; }
.adimg { display: block; width: 100%; height: 100%; }
.adimg--photo { object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.addots { display: flex; justify-content: center; gap: 6px; padding: 10px 0 4px; }
.addot { width: 6px; height: 6px; border-radius: 999px; background: var(--border-2);
  transition: width .25s var(--ease), background .25s; cursor: pointer; }
.addot.is-on { width: 18px; background: var(--accent); }

/* ---------- síguenos en redes ---------- */
.socsec { padding: 14px 16px 18px; }
.soctitle { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.soctext { font-size: 12.5px; color: var(--text-muted); margin: 2px 0 12px; }
.socrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.socbtn { display: flex; align-items: center; gap: 11px; padding: 13px 14px; border-radius: 16px; min-width: 0;
  color: #fff; text-decoration: none; box-shadow: var(--shadow-card);
  transition: transform .12s var(--ease), filter .2s; }
.socbtn:active { transform: scale(.97); filter: brightness(.96); }
.socbtn__ic { display: grid; place-items: center; width: 30px; height: 30px; flex: none; color: #fff; }
.socbtn__ic .ico, .socbtn__ic svg { display: block; }
.socbtn__tx { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.socbtn__tx b { font-family: var(--font-display); font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.socbtn__tx small { font-size: 11px; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.socbtn--fb { background: #1877F2; }
.socbtn--ig { background: linear-gradient(135deg, #feda75 0%, #fa7e1e 24%, #d62976 54%, #962fbf 78%, #4f5bd5 100%); }

/* ---------- filtros de Pronósticos ---------- */
.predfilters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 16px 2px; }
.predfilters .pf { border: 1px solid var(--border-2); background: var(--surface); color: var(--text-muted);
  font-weight: 700; font-size: 12.5px; padding: 7px 13px; border-radius: 999px; cursor: pointer; transition: all .15s; }
.predfilters .pf.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.predfilters__next { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; border: 0;
  background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 12.5px;
  padding: 7px 13px; border-radius: 999px; cursor: pointer; }
.predfilters__next:active { transform: scale(.96); }

/* botón colapsable de juegos pasados */
.pastsec__btn { display: flex; align-items: center; gap: 9px; width: calc(100% - 32px); margin: 16px 16px 2px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px;
  padding: 12px 14px; color: var(--text-muted); font-weight: 700; font-size: 13px; cursor: pointer; }
.pastsec__btn .c { margin-left: auto; display: inline-flex; transition: transform .2s; }
.pastsec__btn.is-open .c { transform: rotate(90deg); }

/* ---------- banner CSS de recordatorios por WhatsApp ---------- */
.wabanner {
  display: flex; align-items: center; gap: 13px; position: relative; overflow: hidden;
  padding: 15px 16px; border-radius: 18px; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, #2bd366 0%, #18a558 55%, #128c7e 100%);
  box-shadow: 0 12px 26px -12px rgba(18, 140, 126, .55);
  transition: transform .12s var(--ease), filter .2s;
}
.wabanner:active { transform: scale(.985); filter: brightness(.97); }
.wabanner__glow {
  position: absolute; right: -36px; top: -46px; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.22), rgba(255,255,255,0) 70%); pointer-events: none;
}
.wabanner__ic {
  flex: none; width: 46px; height: 46px; border-radius: 50%; z-index: 1;
  background: rgba(255,255,255,.20); display: grid; place-items: center; color: #fff;
}
.wabanner__ic svg { display: block; }
.wabanner__tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; z-index: 1; }
.wabanner__tx b { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.wabanner__tx span { font-size: 12.2px; line-height: 1.35; opacity: .94; }
.wabanner__cta {
  flex: none; margin-left: auto; z-index: 1; display: inline-flex; align-items: center; gap: 1px;
  background: #fff; color: #0f7a5f; font-weight: 800; font-size: 12.5px;
  padding: 8px 12px; border-radius: 999px; white-space: nowrap;
}

/* ---------- cómo se puntúa (card en Tabla) ---------- */
.scorebtn { display: flex; align-items: center; gap: 12px; margin: 0 16px; padding: 14px 16px; width: calc(100% - 32px);
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; cursor: pointer;
  box-shadow: var(--shadow-card); text-align: left; transition: transform .12s var(--ease); }
.scorebtn:active { transform: scale(.99); }
.scorebtn__ic { width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); }
.scorebtn__t { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.scorebtn__t b { font-family: var(--font-display); font-weight: 600; font-size: 14.5px; }
.scorebtn__t span { font-size: 11.5px; color: var(--text-muted); font-weight: 600; }
.scorebtn__chev { flex: none; display: grid; color: var(--text-faint); }

/* ---------- ver premios + popup ---------- */
.prizebtn { display: flex; align-items: center; gap: 10px; margin: 8px 16px 2px; padding: 14px 16px;
  border: none; border-radius: 16px; cursor: pointer; width: calc(100% - 32px);
  background: linear-gradient(135deg, var(--accent), var(--accent-press)); color: var(--accent-ink);
  font-family: var(--font-display); font-weight: 600; font-size: 15px; box-shadow: var(--shadow-card);
  transition: transform .12s var(--ease), filter .2s; }
.prizebtn:active { transform: scale(.98); filter: brightness(.97); }
.prizebtn__ic { display: grid; }
.prizebtn__chev { margin-left: auto; display: grid; opacity: .9; }

.pzscrim { position: absolute; inset: 0; z-index: 80; background: var(--scrim);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; transition: opacity .25s var(--ease); backdrop-filter: blur(3px); }
.pzscrim.show { opacity: 1; }
.pzcard { position: relative; width: min(88%, 380px); aspect-ratio: 4 / 3; transform: scale(.92);
  transition: transform .28s var(--ease); }
.pzscrim.show .pzcard { transform: scale(1); }
.pzimg { display: block; width: 100%; height: 100%; }
.pzclose { position: absolute; top: -48px; right: -2px; width: 38px; height: 38px; border: none; border-radius: 50%;
  background: rgba(255,255,255,.16); color: #fff; display: grid; place-items: center; cursor: pointer;
  backdrop-filter: blur(4px); transition: background .2s; }
.pzclose:active { background: rgba(255,255,255,.3); }
.pzclose .ico { display: grid; transform: rotate(45deg); }

/* ---------- invitar amigos ---------- */
.invhero { margin: 8px 16px 4px; padding: 20px 18px; border-radius: var(--r-card); position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--accent), var(--accent-press)); color: var(--accent-ink); box-shadow: var(--shadow-card); }
.invhero__ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(255,255,255,.16); margin-bottom: 12px; }
.invhero h2 { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin: 0 0 6px; letter-spacing: -.01em; }
.invhero p { margin: 0; font-size: 13.5px; line-height: 1.5; color: color-mix(in oklab, var(--accent-ink) 88%, transparent); }
.invlink { display: flex; align-items: center; gap: 10px; margin: 0 16px; padding: 6px 6px 6px 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-card); }
.invlink__url { flex: 1; min-width: 0; font-family: var(--font-display); font-weight: 600; font-size: 13.5px;
  color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.invlink__copy { flex: none; border: none; cursor: pointer; padding: 9px 16px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent); font-family: var(--font-display); font-weight: 600; font-size: 13px; }
.invlink__copy:active { filter: brightness(.96); }
.invshare { margin: 12px 16px 0; width: calc(100% - 32px); }
.invlist { display: flex; flex-direction: column; gap: 8px; padding: 2px 16px; }
.invrow { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-card); }
.invrow__nm { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.invrow__nm b { font-family: var(--font-display); font-weight: 600; font-size: 14.5px; }
.invrow__nm span { font-size: 11.5px; color: var(--text-faint); font-weight: 600; margin-top: 1px; }
.invrow__pts { flex: none; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--good); }
.invrow__pts small { font-size: 11px; font-weight: 600; }
