/* ==========================================================
   WodPoint App de socios · PWA (propuesta)
   Hereda la identidad de la landing: rojo WodPoint sobre negro,
   Barlow Condensed en titulares y botones tipo píldora.
   ========================================================== */

:root {
  --red: #BB1C1B;
  --red-hot: #D9271F;
  --red-deep: #8E1413;
  --ink: #0E0E0E;
  --ink-2: #151515;
  --card: #1B1B1B;
  --card-2: #232323;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #FFFFFF;
  --muted: #A3A3A3;
  --muted-2: #777;
  --paper: #F3F3F1;
  --ok: #3DDC84;
  --amber: #F2A93B;

  --f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, sans-serif;

  --radius: 16px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --pad: 18px;
  --safe-top: 48px;
  --safe-bot: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--f-body); font-size: 15px; line-height: 1.5; color: var(--text);
  background: var(--ink); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
button:disabled { cursor: default; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; line-height: 1; letter-spacing: .01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 2px; border-radius: 6px; }

.ic { width: 22px; height: 22px; flex: none; }
.ic--lg { width: 30px; height: 30px; }
.ic--xl { width: 44px; height: 44px; stroke-width: 2.2; }
.text-red { color: var(--red-hot); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.fine { font-size: 12.5px; color: var(--muted); line-height: 1.45; margin: 10px 0; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.fine .ic { width: 15px; height: 15px; }
.center { text-align: center; justify-content: center; }
.ok { color: var(--ok); }
.warn { color: var(--amber); }
.spacer { height: 28px; }

/* ==========================================================
   Escenario de presentación (escritorio)
   ========================================================== */
.stage {
  min-height: 100vh; display: grid; grid-template-columns: minmax(250px, 320px) auto minmax(250px, 320px);
  justify-content: center; align-items: center; gap: clamp(28px, 4vw, 64px); padding: 24px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(187, 28, 27, .22), transparent 70%),
    radial-gradient(ellipse 40% 30% at 85% 90%, rgba(187, 28, 27, .12), transparent 70%),
    var(--ink);
  position: relative; isolation: isolate;
}
.stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../../img/simbolo-rojo.png") 0 0 / 30px auto space; opacity: .04; filter: grayscale(1);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0 30%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 50%, #000 0 30%, transparent 75%);
}

.tour { align-self: stretch; display: flex; flex-direction: column; gap: 22px; padding: 12px 0; max-height: calc(100vh - 48px); overflow-y: auto; scrollbar-width: none; }
.tour::-webkit-scrollbar { display: none; }
.tour__brand img { height: 34px; width: auto; }
.tour__brand p { margin-top: 10px; font-family: var(--f-display); font-weight: 600; letter-spacing: .24em; text-transform: uppercase; font-size: 12px; color: var(--red-hot); }
.tour__eyebrow { font-family: var(--f-display); font-weight: 600; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--red-hot); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.tour__eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.tour__screen { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.tour__screen h2 { font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.tour__screen p { color: var(--muted); font-size: 14px; }
.tour__req { margin-top: 14px; display: grid; gap: 8px; }
.tour__req li { display: flex; gap: 8px; font-size: 13px; color: #ddd; line-height: 1.35; }
.tour__req .ic { width: 16px; height: 16px; color: var(--red-hot); margin-top: 1px; }
.tour__nav { display: grid; gap: 14px; }
.tour__group p { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; font-weight: 600; }
.tour__group button { display: block; width: 100%; padding: 6px 10px; border-radius: 8px; color: #cfcfcf; font-size: 14px; transition: background .2s, color .2s; }
.tour__group button:hover { background: rgba(255,255,255,.06); color: #fff; }
.tour__group button.is-on { background: rgba(187,28,27,.18); color: #fff; box-shadow: inset 2px 0 0 var(--red-hot); }
.tour__box { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.tour__box ul { display: grid; gap: 6px; font-size: 13px; color: #cfcfcf; padding-left: 0; }
.tour__box li::before { content: "·"; color: var(--red-hot); margin-right: 6px; font-weight: 700; }
.tour__muted { color: var(--muted); font-size: 13px; margin-bottom: 14px; }

/* Demo */
.demo__label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; margin: 14px 0 8px; }
.demo__label:first-child { margin-top: 0; }
.demo__people { display: grid; gap: 6px; }
.demo__person { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; border: 1px solid var(--line); transition: border-color .2s, background .2s; width: 100%; }
.demo__person:hover { border-color: var(--line-2); }
.demo__person.is-on { border-color: var(--red); background: rgba(187,28,27,.12); }
.demo__person b { display: block; font-size: 13.5px; }
.demo__person small { color: var(--muted); font-size: 12px; }
.demo__btns { display: grid; gap: 6px; }
.chip-btn { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.06); font-size: 13.5px; transition: background .2s; width: 100%; }
.chip-btn:hover { background: rgba(187,28,27,.25); }
.chip-btn .ic { width: 17px; height: 17px; color: var(--red-hot); }
.chip-btn--muted .ic { color: var(--muted); }

/* ---------- Teléfono ---------- */
.device {
  position: relative; width: 390px; height: min(844px, calc(100vh - 48px)); min-height: 640px;
  border-radius: 54px; padding: 11px; background: linear-gradient(145deg, #2a2a2a, #050505 40%, #111);
  box-shadow: 0 0 0 1.5px #3a3a3a, 0 40px 90px -20px rgba(0,0,0,.9), 0 0 120px -30px rgba(187,28,27,.45);
}
.device__notch { position: absolute; top: 22px; left: 50%; translate: -50% 0; width: 118px; height: 34px; border-radius: 20px; background: #000; z-index: 30; pointer-events: none; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: var(--ink); isolation: isolate; transform: translateZ(0); }
.view { position: absolute; inset: 0; display: flex; flex-direction: column; }

@media (max-width: 1279px) {
  .stage { grid-template-columns: minmax(250px, 320px) auto; }
  .tour--right { display: none; }
}
/* Teléfono real o app instalada: pantalla completa */
@media (max-width: 899px), (display-mode: standalone) {
  :root { --safe-top: max(14px, env(safe-area-inset-top)); --safe-bot: max(10px, env(safe-area-inset-bottom)); }
  .stage { display: block; padding: 0; min-height: 0; }
  .stage::before, .tour { display: none; }
  .device { position: fixed; inset: 0; width: 100%; height: 100dvh; min-height: 0; border-radius: 0; padding: 0; background: var(--ink); box-shadow: none; }
  .device__notch { display: none; }
  .screen { border-radius: 0; }
}

/* ==========================================================
   Shell: encabezado, contenido y pestañas
   ========================================================== */
.top {
  flex: none; display: flex; align-items: center; gap: 10px; padding: calc(var(--safe-top) + 4px) var(--pad) 10px;
  background: linear-gradient(180deg, rgba(14,14,14,.98), rgba(14,14,14,.9)); border-bottom: 1px solid var(--line); position: relative; z-index: 5;
}
.top__logo { height: 30px; width: auto; }
.top__title { flex: 1; font-size: 25px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top__actions { display: flex; align-items: center; gap: 6px; }
.top__me { border-radius: 50%; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; position: relative; flex: none; transition: background .2s; }
.icon-btn:hover { background: rgba(255,255,255,.07); }
.icon-btn--glass { background: rgba(0,0,0,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dot-count { position: absolute; top: 4px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--red-hot); font-size: 10.5px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--ink); }

.scroll { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 16px var(--pad) 0; overscroll-behavior: contain; scrollbar-width: none; }
.scroll::-webkit-scrollbar { display: none; }
.scroll--bare { padding: 0; }

.tabbar {
  flex: none; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 6px var(--safe-bot);
  background: rgba(14,14,14,.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); z-index: 5;
}
.tab { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0 4px; color: var(--muted-2); font-family: var(--f-display); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; position: relative; transition: color .25s; }
.tab .ic { width: 23px; height: 23px; }
.tab.is-on { color: #fff; }
.tab.is-on .ic { color: var(--red-hot); }
.tab.is-on::before { content: ""; position: absolute; top: -7px; width: 26px; height: 3px; border-radius: 0 0 3px 3px; background: var(--red-hot); }

/* ==========================================================
   Botones y piezas básicas
   ========================================================== */
.btn {
  --bg: transparent; --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--bd); background: var(--bg); color: var(--fg);
  font-family: var(--f-display); font-weight: 700; font-size: 15.5px; letter-spacing: .06em; text-transform: uppercase; text-align: center;
  position: relative; overflow: hidden; isolation: isolate; transition: transform .3s var(--ease), background .3s, border-color .3s, box-shadow .3s;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: scale(.97); }
.btn .ic { width: 18px; height: 18px; }
.btn__arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--red { --bg: var(--red); --bd: var(--red); box-shadow: 0 10px 28px -12px rgba(187,28,27,.85); }
.btn--red:hover { --bg: var(--red-hot); --bd: var(--red-hot); }
.btn--ghost { --bd: rgba(255,255,255,.28); }
.btn--ghost:hover { --bd: #fff; --bg: rgba(255,255,255,.06); }
.btn--outline { --bd: rgba(255,255,255,.5); }
.btn--outline:hover { --bg: #fff; --fg: var(--ink); }
.btn--light { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--danger { --bg: var(--red-deep); --bd: var(--red-deep); }
.btn--block { display: flex; width: 100%; }
.btn--lg { padding: 15px 24px; font-size: 17px; }
.btn--sm { padding: 8px 15px; font-size: 13.5px; }
.btn + .btn--block, .btn--block + .btn { margin-top: 10px; }

.link-btn { color: var(--red-hot); font-weight: 600; font-size: 13.5px; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .2s; }
.link-btn:hover { text-decoration-color: currentColor; }
.link-btn--light { color: #fff; opacity: .85; }

.eyebrow { font-family: var(--f-display); font-weight: 600; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--red-hot); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; flex: none; }
.eyebrow .ic { width: 15px; height: 15px; }
.h-lg { font-size: 44px; font-weight: 800; line-height: .92; margin-bottom: 10px; }
.intro { margin-bottom: 18px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.card--flat { background: rgba(255,255,255,.03); }
.card--list { padding: 4px 0; }
.card--list > * + * { border-top: 1px solid var(--line); }

.block { margin-top: 24px; }
.block__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; gap: 10px; }
.block__head h3 { font-size: 20px; font-weight: 700; letter-spacing: .03em; }

.avatar {
  --s: 40px; width: var(--s); height: var(--s); border-radius: 50%; flex: none; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(140deg, hsl(var(--h, 0) 45% 32%), hsl(calc(var(--h, 0) + 30) 40% 18%));
  font-family: var(--f-display); font-weight: 700; font-size: calc(var(--s) * .4); letter-spacing: .02em; color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.avatar--icon { background: var(--card-2); color: var(--muted); }
.avatar--icon .ic { width: 55%; height: 55%; }
.coach-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }

.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.1); color: #fff; vertical-align: middle; font-family: var(--f-body); }
.badge--activa { background: rgba(61,220,132,.16); color: var(--ok); }
.badge--por-vencer, .badge--pendiente { background: rgba(242,169,59,.16); color: var(--amber); }
.badge--vencida { background: rgba(217,39,31,.2); color: #ff6b63; }
.badge--congelada { background: rgba(120,180,255,.16); color: #9cc6ff; }
.badge--convenio { background: rgba(255,255,255,.12); color: #fff; }

.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: rgba(255,255,255,.08); color: var(--muted); white-space: nowrap; }
.tag .ic { width: 13px; height: 13px; stroke-width: 2.6; }
.tag--red { background: rgba(217,39,31,.18); color: #ff7a72; }
.tag--amber { background: rgba(242,169,59,.16); color: var(--amber); }
.tag--dark { background: rgba(255,255,255,.12); color: #fff; }
.tag--ok { background: rgba(61,220,132,.15); color: var(--ok); }

.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(255,255,255,.05); font-size: 13.5px; color: #ddd; margin: 12px 0; line-height: 1.45; }
.note .ic { width: 19px; height: 19px; color: var(--muted); margin-top: 1px; }
.note--warn { background: rgba(242,169,59,.1); }
.note--warn .ic { color: var(--amber); }
.note--ok { background: rgba(61,220,132,.09); }
.note--ok .ic { color: var(--ok); }

/* Segmentado */
.seg { display: flex; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); margin-bottom: 14px; }
.seg__btn { flex: 1; padding: 9px 6px; border-radius: 999px; text-align: center; font-family: var(--f-display); font-weight: 600; font-size: 14.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transition: background .25s, color .25s; white-space: nowrap; }
.seg__btn.is-on { background: var(--red); color: #fff; box-shadow: 0 6px 18px -8px rgba(187,28,27,.9); }
.seg--sm .seg__btn { font-size: 13px; padding: 7px 4px; }
.seg--sticky { position: sticky; top: 0; z-index: 3; box-shadow: 0 10px 18px -6px var(--ink); }

/* Chips de filtro */
.filters { display: flex; gap: 8px; margin-bottom: 12px; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 500; white-space: nowrap; transition: all .2s; color: #ddd; }
.chip.is-on { background: #fff; color: var(--ink); border-color: #fff; font-weight: 600; }

/* Filas tipo lista */
.row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; width: 100%; text-align: left; transition: background .2s; }
.row:hover { background: rgba(255,255,255,.03); }
.row__ic { width: 36px; height: 36px; border-radius: 10px; background: rgba(187,28,27,.14); color: var(--red-hot); display: grid; place-items: center; flex: none; }
.row__ic .ic { width: 19px; height: 19px; }
.row__txt { flex: 1; min-width: 0; }
.row__txt b { display: block; font-weight: 600; font-size: 14.5px; }
.row__txt small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.row__go { color: var(--muted-2); }
.row__go .ic { width: 18px; height: 18px; }

.kv { display: flex; justify-content: space-between; gap: 16px; padding: 11px 16px; font-size: 14px; }
.kv span { color: var(--muted); flex: none; }
.kv b { font-weight: 600; text-align: right; }
.kv--total { font-size: 16px; }
.kv--total b { font-family: var(--f-display); font-size: 22px; letter-spacing: .02em; }

.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px; cursor: pointer; }
.toggle-row b { display: block; font-weight: 600; font-size: 14.5px; }
.toggle-row small { display: block; color: var(--muted); font-size: 12.5px; }
.switch { appearance: none; -webkit-appearance: none; width: 46px; height: 28px; border-radius: 14px; background: #3a3a3a; position: relative; flex: none; cursor: pointer; transition: background .25s; margin: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.switch:checked { background: var(--red); }
.switch:checked::after { transform: translateX(18px); }

.empty { text-align: center; padding: 34px 20px; }
.empty__ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 12px; background: rgba(255,255,255,.05); color: var(--muted); }
.empty h4 { font-size: 20px; margin-bottom: 6px; }
.empty p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }

.card-link { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); margin: 12px 0; text-align: left; transition: border-color .2s; }
.card-link:hover { border-color: var(--line-2); }
.card-link > span:nth-child(2) { flex: 1; }
.card-link b { display: block; font-size: 14.5px; }
.card-link small { color: var(--muted); font-size: 12.5px; }
.card-link__ic { width: 40px; height: 40px; border-radius: 12px; background: var(--red); display: grid; place-items: center; flex: none; }
.card-link__ic .ic { width: 21px; height: 21px; }
.card-link > .ic { color: var(--muted-2); width: 18px; }
.card-link--warn .card-link__ic { background: rgba(242,169,59,.2); color: var(--amber); }

/* Anillo de progreso */
.ring { --size: 116px; width: var(--size); height: var(--size); position: relative; flex: none; }
.ring > svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring__bg { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 9; }
.ring__fg { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease-out); }
.ring__txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring__txt strong { font-family: var(--f-display); font-weight: 800; font-size: calc(var(--size) * .36); line-height: .9; display: grid; place-items: center; }
.ring__txt small { font-size: 11px; color: rgba(255,255,255,.8); line-height: 1.2; max-width: 70px; margin-top: 2px; }

/* Gráficas */
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart__v { fill: #fff; font: 600 10.5px var(--f-body); }
.chart__x { fill: var(--muted-2); font: 500 9.5px var(--f-body); }
.chart-card { padding: 12px 10px 8px; }

/* ==========================================================
   Formularios
   ========================================================== */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field-label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field-label { display: block; margin: 18px 0 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm); background: var(--ink-2); border: 1.5px solid var(--line-2); color: #fff; font-size: 16px; transition: border-color .2s, background .2s; min-width: 0;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red-hot); background: #181818; }
.field input::placeholder, .field textarea::placeholder { color: #5f5f5f; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #aaa 50%), linear-gradient(135deg, #aaa 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input[type="date"] { color-scheme: dark; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: #ddd; cursor: pointer; line-height: 1.45; }
.check input { width: 20px; height: 20px; accent-color: var(--red); margin: 1px 0 0; flex: none; }
.radio-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-pills label { cursor: pointer; }
.radio-pills input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pills span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); font-size: 14px; transition: all .2s; }
.radio-pills input:checked + span { background: var(--red); border-color: var(--red); font-weight: 600; }
.radio-pills input:focus-visible + span { outline: 2px solid var(--red-hot); outline-offset: 2px; }
.otp { width: 100%; text-align: center; font-family: var(--f-display); font-size: 40px; font-weight: 700; letter-spacing: .5em; padding: 14px 0 14px .5em; border-radius: var(--radius); background: var(--ink-2); border: 1.5px solid var(--line-2); color: #fff; }
.otp:focus { outline: none; border-color: var(--red-hot); }
.stepper-in { display: flex; align-items: center; background: var(--ink-2); border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); }
.stepper-in input { border: 0 !important; background: none !important; text-align: center; padding: 12px 0 !important; font-family: var(--f-display); font-size: 22px !important; font-weight: 700; -moz-appearance: textfield; }
.stepper-in input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stepper-in button { width: 40px; height: 46px; display: grid; place-items: center; color: var(--muted); flex: none; }
.stepper-in button:hover { color: #fff; }

/* ==========================================================
   Toasts, notificaciones y hojas
   ========================================================== */
.toasts { position: absolute; left: 12px; right: 12px; bottom: calc(var(--safe-bot) + 76px); z-index: 60; display: grid; gap: 8px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #f5f5f3; color: var(--ink); box-shadow: 0 14px 36px -10px rgba(0,0,0,.7); font-size: 14px; font-weight: 500; pointer-events: auto; opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
.toast.is-in { opacity: 1; transform: none; }
.toast__ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #0a3a20; flex: none; }
.toast__ic .ic { width: 16px; height: 16px; stroke-width: 2.6; }
.toast--err .toast__ic { background: var(--red); color: #fff; }
.toast--info .toast__ic { background: var(--ink); color: #fff; }
.toast__msg { flex: 1; line-height: 1.35; }
.toast__act { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--red); }

.banners { position: absolute; top: calc(var(--safe-top) - 6px); left: 10px; right: 10px; z-index: 70; display: grid; gap: 8px; pointer-events: none; }
.push { display: flex; gap: 11px; align-items: flex-start; padding: 11px 13px; border-radius: 22px; background: rgba(40,40,40,.86); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); box-shadow: 0 16px 40px -10px rgba(0,0,0,.8); border: 1px solid rgba(255,255,255,.08); text-align: left; pointer-events: auto; width: 100%; opacity: 0; transform: translateY(-120%); transition: opacity .45s var(--ease-out), transform .55s var(--ease-out); }
.push.is-in, .push--static { opacity: 1; transform: none; }
.push__app img { width: 38px; height: 38px; border-radius: 10px; }
.push__txt { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.35; }
.push__txt strong { display: block; font-weight: 600; }
.push__txt > span:last-child { color: #d4d4d4; display: block; }
.push__top { display: flex; justify-content: space-between; font-size: 11.5px; color: #b5b5b5; text-transform: uppercase; letter-spacing: .04em; }
.push__top b { font-weight: 600; }
.notif-preview { margin: 18px 0; padding: 22px 14px; border-radius: var(--radius); background: url("../../../assets/generadas/hero/hero-movil.jpg") center 30% / cover; position: relative; }
.notif-preview::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(0,0,0,.45); }
.notif-preview .push { position: relative; }

.layer { position: absolute; inset: 0; z-index: 50; pointer-events: none; }
.sheet-wrap { position: absolute; inset: 0; pointer-events: auto; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); opacity: 0; transition: opacity .35s; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92%; display: flex; flex-direction: column; background: #161616; border-radius: 26px 26px 0 0; border-top: 1px solid var(--line-2); transform: translateY(100%); transition: transform .42s var(--ease-out); box-shadow: 0 -20px 60px rgba(0,0,0,.6); }
.sheet-wrap.is-open .sheet-backdrop { opacity: 1; }
.sheet-wrap.is-open .sheet { transform: none; }
.sheet__grab { width: 100%; height: 22px; display: grid; place-items: center; flex: none; cursor: pointer; position: relative; z-index: 2; }
.sheet__grab::before { content: ""; width: 42px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.25); }
.sheet__body { overflow-y: auto; padding: 4px var(--pad) calc(var(--safe-bot) + 14px); scrollbar-width: none; }
.sheet__body::-webkit-scrollbar { display: none; }
.sheet__head { margin-bottom: 16px; }
.sheet__head h3 { font-size: 28px; font-weight: 800; margin-bottom: 4px; }
.sheet__head p { color: var(--muted); font-size: 14px; }
.sheet__head .notice__tag { margin-bottom: 8px; }
.sheet__text { color: #ddd; margin-bottom: 18px; line-height: 1.55; }
.stack-btns { display: grid; gap: 0; }
.sheet.sheet--tall { height: 92%; }
.sheet--class .sheet__grab { position: absolute; top: 0; left: 0; right: 0; }
.sheet--class .sheet__grab::before { background: rgba(255,255,255,.6); }
.sheet--class .sheet__body { padding: 0 0 calc(var(--safe-bot) + 14px); }
.sheet.sheet--timer { height: 100%; max-height: 100%; border-radius: 0; background: var(--ink); border-top: 0; }
.sheet--timer .sheet__grab { display: none; }
.sheet--timer .sheet__body { height: 100%; padding: 0; }

.cs-hero { position: relative; height: 200px; overflow: hidden; border-radius: 26px 26px 0 0; }
.cs-hero img { width: 100%; height: 100%; object-fit: cover; }
.cs-hero__shade { position: absolute; inset: 0; background: linear-gradient(0deg, #161616 2%, rgba(22,22,22,.55) 45%, rgba(0,0,0,.25)); }
.cs-hero__txt { position: absolute; left: var(--pad); right: var(--pad); bottom: 14px; }
.cs-hero__txt h3 { font-size: 36px; font-weight: 800; }
.cs-hero__txt p:last-child { color: #ddd; font-size: 14px; margin-top: 4px; }
.cs-close { position: absolute; top: 14px; right: 14px; }
.cs-body { padding: 10px var(--pad) 0; }
.cs-body > p:first-child { color: #ddd; margin-bottom: 12px; }
.cs-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.cs-coach { display: flex; gap: 10px; align-items: center; }
.cs-coach b { display: block; font-size: 15px; }
.cs-coach small { color: var(--muted); font-size: 12.5px; }
.cs-cap { display: flex; align-items: center; gap: 6px; text-align: left; }
.cs-cap b { font-family: var(--f-display); font-size: 40px; font-weight: 800; line-height: 1; }
.cs-cap small { font-size: 11.5px; color: var(--muted); line-height: 1.15; text-transform: uppercase; letter-spacing: .06em; }

.cap { display: block; width: 64px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
.cap i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--red), var(--red-hot)); }
.cap--lg { width: 100%; height: 8px; border-radius: 4px; }

/* ==========================================================
   Acceso, registro y onboarding
   ========================================================== */
.auth-hero { position: relative; height: 44%; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--pad) 22px; overflow: hidden; }
.auth-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; animation: kenburns 16s var(--ease-out) both; }
.auth-hero__shade { position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink) 3%, rgba(14,14,14,.5) 38%, rgba(14,14,14,.05) 75%, rgba(14,14,14,.45)); }
.auth-hero__logo { position: absolute; top: calc(var(--safe-top) + 6px); left: var(--pad); height: 30px; width: auto; }
.auth-hero h1 { position: relative; font-size: 40px; font-weight: 800; line-height: .95; }
.auth-body { padding: 4px var(--pad) 28px; }
.back-site { position: absolute; top: calc(var(--safe-top) + 8px); right: var(--pad); z-index: 2; display: inline-flex; align-items: center; gap: 2px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(0,0,0,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; }
.back-site .ic { width: 17px; height: 17px; }
.auth-next { display: flex; align-items: center; gap: 8px; padding: 10px 12px; margin-bottom: 14px; border-radius: var(--radius-sm); background: rgba(187,28,27,.14); color: #ffb4ae; font-size: 13.5px; }
.auth-next .ic { width: 17px; height: 17px; }
.auth-new { margin-top: 14px; text-align: center; font-size: 13.5px; color: var(--muted); }
.auth-new a { color: var(--red-hot); font-weight: 600; }
.card-link--hl { margin-top: 0; margin-bottom: 18px; border-color: var(--red); background: linear-gradient(120deg, rgba(187,28,27,.25), var(--card) 70%); }
.auth-alt { margin-top: 18px; }
.demo-quick { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.demo-quick > p { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; margin-bottom: 10px; }
.demo-quick > div { display: grid; gap: 8px; }
.demo-quick__btn { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-align: left; width: 100%; transition: border-color .2s; }
.demo-quick__btn:hover { border-color: var(--red); }
.demo-quick__btn b { display: block; font-size: 14px; }
.demo-quick__btn small { color: var(--muted); font-size: 12px; }

.auth-page { padding: calc(var(--safe-top) + 4px) var(--pad) 28px; min-height: 100%; }
.auth-top { display: flex; align-items: center; gap: 12px; margin: 0 -8px 22px; }
.auth-top__n { font-family: var(--f-display); font-weight: 600; font-size: 14px; color: var(--muted); width: 32px; text-align: right; }
.stepper { flex: 1; display: flex; gap: 6px; }
.stepper span { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.12); transition: background .4s; }
.stepper span.is-on { background: var(--red-hot); }
.auth-title { font-size: 38px; font-weight: 800; margin-bottom: 6px; }
.auth-page > .muted { margin-bottom: 22px; }
.import-card { background: linear-gradient(150deg, rgba(187,28,27,.2), rgba(255,255,255,.03)); border: 1px solid rgba(187,28,27,.4); border-radius: var(--radius); padding: 6px 0 2px; margin: 4px 0 22px; }
.import-card__row { display: flex; justify-content: space-between; padding: 10px 16px; font-size: 14px; border-bottom: 1px solid var(--line); }
.import-card__row span { color: var(--muted); }
.import-card .fine { padding: 0 16px; }

.ob-hero { margin: 0 calc(var(--pad) * -1) 22px; height: 230px; overflow: hidden; position: relative; border-radius: 0 0 26px 26px; }
.ob-hero img { width: 100%; height: 100%; object-fit: cover; }
.ob-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink), transparent 60%); }
.ob-title { font-size: 40px; font-weight: 800; line-height: .95; margin-bottom: 14px; }
.ob-title--c { text-align: center; }
.ob-list { display: grid; gap: 14px; margin: 20px 0 26px; }
.ob-list li { display: flex; gap: 12px; align-items: flex-start; color: #ddd; font-size: 14.5px; }
.ob-list .ic { color: var(--red-hot); margin-top: 1px; }
.ob-list b { color: #fff; }
.ob-done { display: grid; place-items: center; margin: 30px 0 18px; }
.ob-done .ring__fg { stroke: var(--red-hot); }
.rules { display: grid; gap: 10px; margin-bottom: 20px; }
.rule { display: flex; gap: 14px; padding: 14px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); }
.rule > span { font-family: var(--f-display); font-weight: 800; font-size: 24px; color: var(--red-hot); line-height: 1; }
.rule b { display: block; font-size: 15px; margin-bottom: 2px; }
.rule p { color: var(--muted); font-size: 13.5px; }
.ob form { display: grid; gap: 16px; }
.legal { color: #cfcfcf; font-size: 13.5px; display: grid; gap: 10px; margin-bottom: 18px; line-height: 1.55; }
.legal--box { max-height: 200px; overflow-y: auto; padding: 14px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); }
.sig { position: relative; border-radius: var(--radius); background: var(--ink-2); border: 1.5px dashed var(--line-2); margin-bottom: 18px; overflow: hidden; }
.sig canvas { display: block; width: 100%; height: 140px; touch-action: none; cursor: crosshair; }
.sig__hint { position: absolute; left: 50%; top: 50%; translate: -50% -50%; color: #4a4a4a; font-family: var(--f-display); font-size: 22px; letter-spacing: .2em; text-transform: uppercase; pointer-events: none; transition: opacity .3s; }
.sig.is-signed .sig__hint { opacity: 0; }
.sig::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 34px; height: 1px; background: var(--line-2); pointer-events: none; }
.sig__clear { position: absolute; top: 8px; right: 10px; font-size: 12px; color: var(--muted); padding: 4px 8px; z-index: 1; }
.sig--view { display: grid; place-items: center; min-height: 120px; padding: 10px; }
.sig--view img { max-height: 120px; }
.sig__name { font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 38px; color: #ddd; }
.steps-list { display: grid; gap: 12px; margin-bottom: 16px; }
.steps-list li { display: flex; gap: 12px; align-items: center; font-size: 14.5px; color: #ddd; }
.steps-list li > span { width: 28px; height: 28px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; flex: none; }
.steps-list .ic { width: 18px; height: 18px; vertical-align: -3px; }

/* ==========================================================
   Inicio
   ========================================================== */
.hello { margin-bottom: 16px; }
.hello__date { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.hello h2 { font-size: 36px; font-weight: 800; margin-top: 4px; }
.hello__streak { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 5px 12px 5px 8px; border-radius: 999px; background: rgba(187,28,27,.16); font-size: 13px; font-weight: 600; color: #ffb4ae; }
.hello__streak .ic { width: 17px; height: 17px; color: var(--red-hot); }
.status { display: inline-flex; align-items: center; gap: 5px; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.status.is-open i { background: var(--ok); animation: pulse 2s infinite; }

.plan-card {
  position: relative; display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 18px; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 70%, #5c0c0c 100%); box-shadow: 0 20px 44px -18px rgba(187,28,27,.8);
}
.plan-card::before { content: ""; position: absolute; right: -40px; top: -30px; width: 210px; height: 260px; z-index: -1; background: #fff; opacity: .08; -webkit-mask: url("../../img/simbolo-rojo.png") center / contain no-repeat; mask: url("../../img/simbolo-rojo.png") center / contain no-repeat; transform: rotate(-12deg); }
.plan-card--vencida, .plan-card--sin-plan, .plan-card--pendiente { background: linear-gradient(135deg, #2a2a2a, #161616); box-shadow: 0 0 0 1px var(--line-2); }
.plan-card--congelada { background: linear-gradient(135deg, #22303f, #141a22); box-shadow: 0 0 0 1px rgba(156,198,255,.2); }
.plan-card--convenio { background: linear-gradient(135deg, #2b2b2b, #121212); box-shadow: 0 0 0 1px var(--line-2); }
.plan-card__info { min-width: 0; }
.plan-card__eyebrow { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.75); font-weight: 600; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.plan-card__eyebrow .badge { background: rgba(0,0,0,.28); color: #fff; }
.plan-card h2 { font-size: 30px; font-weight: 800; margin: 6px 0 4px; line-height: .95; }
.plan-card__sub { font-size: 13.5px; color: rgba(255,255,255,.85); }
.plan-card__cta { display: flex; gap: 14px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.plan-card--compact .plan-card__cta:empty { display: none; }

.offer { position: relative; padding: 18px; border-radius: 22px; background: #fff; color: var(--ink); margin-bottom: 14px; overflow: hidden; animation: pop .5s var(--ease-out) both; }
.offer__pulse { position: absolute; right: 18px; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: var(--red-hot); box-shadow: 0 0 0 0 rgba(217,39,31,.6); animation: ring 1.6s infinite; }
.offer__eyebrow { display: flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.offer__eyebrow .ic { width: 16px; height: 16px; }
.offer h3 { font-size: 26px; font-weight: 800; margin: 6px 0; }
.offer p { font-size: 14px; color: #444; }
.offer__btns { display: flex; gap: 8px; margin-top: 14px; }
.offer .btn--light { --bg: var(--red); --fg: #fff; --bd: var(--red); flex: 1; }
.offer .btn--ghost { --fg: var(--ink); --bd: #ccc; }

.next { display: flex; gap: 16px; align-items: center; }
.next__when { text-align: center; padding-right: 16px; border-right: 1px solid var(--line); flex: none; min-width: 92px; }
.next__day { display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red-hot); }
.next__when strong { display: block; font-family: var(--f-display); font-size: 30px; font-weight: 800; line-height: 1.05; white-space: nowrap; }
.next__when small { font-size: 12px; color: var(--muted); }
.next__info { flex: 1; min-width: 0; display: grid; gap: 6px; }
.next__info > b { font-size: 16px; }
.next__btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.next--empty { justify-content: space-between; }
.next--empty b { display: block; }
.next--slim { justify-content: space-between; margin: 12px 0; }
.next--slim b { display: block; }
.wait-strip { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; margin-top: 8px; border-radius: var(--radius-sm); background: rgba(242,169,59,.1); color: #f5d8a8; font-size: 13.5px; text-align: left; }
.wait-strip > span { flex: 1; }
.wait-strip .ic { width: 18px; height: 18px; color: var(--amber); }

.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.quick__btn { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 14px 6px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); font-family: var(--f-display); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; transition: border-color .2s, transform .2s; }
.quick__btn:hover { border-color: var(--red); transform: translateY(-2px); }
.quick__btn .ic { color: var(--red-hot); width: 25px; height: 25px; }

.wod-teaser { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border-radius: var(--radius); text-align: left; background: linear-gradient(160deg, rgba(14,14,14,.75), rgba(14,14,14,.95)), url("../../../assets/generadas/fondos/wod-pizarron.webp") center / cover; border: 1px solid var(--line); }
.wod-teaser__num { font-family: var(--f-display); font-weight: 800; font-size: 54px; line-height: .8; color: var(--red-hot); }
.wod-teaser__txt { flex: 1; min-width: 0; display: grid; }
.wod-teaser__txt small { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.wod-teaser__txt b { font-family: var(--f-display); font-size: 21px; text-transform: uppercase; line-height: 1.05; }
.wod-teaser__txt span { font-size: 13px; color: #ccc; }
.wod-teaser > .ic { color: var(--muted-2); }

.notice { display: block; width: 100%; text-align: left; padding: 14px 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); position: relative; }
.notice + .notice { margin-top: 10px; }
.notice b { display: block; font-size: 15px; margin: 6px 0 4px; }
.notice p { color: var(--muted); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.notice--pinned { border-left: 3px solid var(--red-hot); }
.notice.is-unread::after { content: ""; position: absolute; top: 16px; right: 16px; width: 9px; height: 9px; border-radius: 50%; background: var(--red-hot); }
.notice__tag { display: inline-block; padding: 2px 8px; border-radius: 6px; background: rgba(187,28,27,.18); color: #ff8a83; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.notice__top { display: flex; justify-content: space-between; align-items: center; padding-right: 18px; }
.notice__top small { color: var(--muted-2); font-size: 12px; }

/* ==========================================================
   Horarios y reservas
   ========================================================== */
.days { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 14px; }
.days--5 { grid-template-columns: repeat(5, 1fr); }
.day { display: flex; flex-direction: column; align-items: center; padding: 8px 0 9px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); position: relative; transition: all .2s; }
.day small { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.day b { font-family: var(--f-display); font-size: 24px; font-weight: 700; line-height: 1.05; }
.day i { position: absolute; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--red-hot); }
.day.is-on { background: var(--red); border-color: var(--red); box-shadow: 0 8px 20px -10px rgba(187,28,27,.9); }
.day.is-on small { color: rgba(255,255,255,.85); }
.day.is-on i { background: #fff; }
.day.is-future { opacity: .55; }
.credits-line { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--radius-sm); background: rgba(255,255,255,.04); font-size: 13.5px; color: #ddd; margin-bottom: 4px; }
.credits-line > span { flex: 1; }
.credits-line .ic { width: 18px; height: 18px; color: var(--red-hot); }
.credits-line.is-warn { background: rgba(242,169,59,.1); }
.credits-line.is-warn .ic { color: var(--amber); }
.day-title { font-size: 22px; margin: 18px 0 2px; }
.group-label { font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); margin: 14px 0 8px; }
.classes { display: grid; gap: 8px; }
.class { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); width: 100%; text-align: left; transition: border-color .2s, transform .2s; }
.class:hover { border-color: var(--line-2); }
.class:active { transform: scale(.99); }
.class.is-mine { border-color: var(--red); background: linear-gradient(90deg, rgba(187,28,27,.18), var(--card) 70%); }
.class.is-past { opacity: .45; }
.class__time { display: flex; flex-direction: column; line-height: 1; padding-right: 10px; border-right: 1px solid var(--line); }
.class__time b { font-family: var(--f-display); font-size: 26px; font-weight: 800; }
.class__time small { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: 2px; }
.class__info { display: grid; gap: 3px; min-width: 0; }
.class__info b { font-size: 15.5px; }
.class__cap { display: grid; justify-items: end; gap: 4px; }
.class__cap small { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Mis reservas */
.list { display: grid; gap: 8px; }
.list--tight { gap: 0; }
.res { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 12px 14px; }
.res__date { width: 52px; height: 56px; border-radius: 14px; background: var(--red); display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; }
.res__date small { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.res__date b { font-family: var(--f-display); font-size: 24px; font-weight: 800; line-height: 1; }
.res__date b .ic { width: 22px; height: 22px; }
.res__date--wait { background: rgba(242,169,59,.18); color: var(--amber); }
.res__info { flex: 1; min-width: 0; }
.res__info b { display: block; font-size: 15px; }
.res__info small { color: var(--muted); font-size: 13px; }
.res > .ic { color: var(--muted-2); }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.stats-row > div { padding: 12px 8px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); text-align: center; }
.stats-row b { display: block; font-family: var(--f-display); font-size: 28px; font-weight: 800; line-height: 1; }
.stats-row small { font-size: 11.5px; color: var(--muted); }
.hist { display: grid; grid-template-columns: 82px 1fr auto; gap: 10px; align-items: center; padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.hist__d { color: var(--muted); font-size: 12.5px; }

/* ==========================================================
   WOD y whiteboard
   ========================================================== */
.board { position: relative; padding: 20px 18px 6px; border-radius: 22px; overflow: hidden; isolation: isolate; background: url("../../../assets/generadas/fondos/wod-pizarron.webp") center / cover; }
.board::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(14,14,14,.84), rgba(14,14,14,.95)); }
.board__top { display: flex; justify-content: space-between; align-items: center; }
.board__top .eyebrow { margin: 0; }
.rpe { padding: 4px 10px; border-radius: 999px; background: var(--red); font-family: var(--f-display); font-weight: 700; font-size: 14px; letter-spacing: .06em; }
.board h2 { font-size: 34px; font-weight: 800; margin-top: 12px; line-height: .95; }
.board__focus { color: var(--muted); font-size: 14px; margin: 6px 0 12px; }
.board__block { padding: 14px 0; border-top: 1px solid var(--line); }
.board__block h4 { font-size: 15px; letter-spacing: .2em; color: var(--red-hot); margin-bottom: 8px; }
.board__big { font-family: var(--f-display); font-size: 22px; font-weight: 700; text-transform: uppercase; margin-bottom: 6px; }
.board__block li { font-size: 14.5px; color: rgba(255,255,255,.88); padding-left: 14px; position: relative; margin-bottom: 4px; }
.board__block li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 1px; background: var(--red-hot); }
.board__note { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 6px; }
.scale-list { display: grid; gap: 8px; margin-top: 4px; }
.scale-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: #ddd; }
.scale-list .ic { width: 18px; height: 18px; color: var(--red-hot); margin-top: 2px; stroke-width: 2.4; }
.score { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.score small { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.score b { font-family: var(--f-display); font-size: 36px; font-weight: 800; margin-right: 8px; }
.score--empty { width: 100%; justify-content: flex-start; text-align: left; border-style: dashed; border-color: var(--line-2); }
.score--empty > .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--red); }
.score--empty b { font-family: var(--f-body); font-size: 15px; font-weight: 600; display: block; margin: 0; }
.score--empty small { text-transform: none; letter-spacing: 0; font-size: 13px; }
.wb-head { margin-bottom: 12px; }
.wb-head h3 { font-size: 26px; }
.wb { display: grid; gap: 6px; margin-top: 4px; }
.wb__row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.wb__row.is-me { border-color: var(--red); background: linear-gradient(90deg, rgba(187,28,27,.2), var(--card)); }
.wb__pos { width: 22px; font-family: var(--f-display); font-weight: 700; font-size: 18px; color: var(--muted); text-align: center; }
.wb__row:nth-child(-n+3) .wb__pos { color: var(--red-hot); }
.wb__name { flex: 1; min-width: 0; }
.wb__name b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb__name small { font-size: 11.5px; color: var(--muted-2); }
.wb__score { font-family: var(--f-display); font-size: 19px; font-weight: 700; min-width: 64px; text-align: right; font-variant-numeric: tabular-nums; }
.lvl { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; padding: 3px 7px; border-radius: 6px; text-transform: uppercase; }
.lvl--rx { background: var(--red); }
.lvl--int { background: rgba(255,255,255,.14); }
.lvl--pri { background: rgba(255,255,255,.06); color: var(--muted); }

/* ==========================================================
   Membresía, planes y pagos
   ========================================================== */
.pending { margin-top: 14px; border-color: rgba(242,169,59,.35); }
.pending .eyebrow { color: var(--amber); }
.pending h3 { font-size: 22px; margin-bottom: 6px; }
.ref { font-family: var(--f-display); font-size: 26px; font-weight: 700; letter-spacing: .08em; padding: 12px; border-radius: var(--radius-sm); background: var(--ink-2); text-align: center; margin: 10px 0 12px; border: 1px dashed var(--line-2); }
.pay { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; text-align: left; }
.pay__ic { width: 34px; height: 34px; border-radius: 50%; background: rgba(61,220,132,.14); color: var(--ok); display: grid; place-items: center; flex: none; }
.pay__ic .ic { width: 17px; height: 17px; stroke-width: 2.4; }
.pay__txt { flex: 1; min-width: 0; }
.pay__txt b { display: block; font-size: 14px; font-weight: 600; }
.pay__txt small { color: var(--muted); font-size: 12px; }
.pay__amt { text-align: right; }
.pay__amt b { display: block; font-family: var(--f-display); font-size: 18px; }
.pay__amt small { font-size: 11.5px; }
.receipt { text-align: center; margin-bottom: 18px; }
.receipt__logo { height: 26px; width: auto; margin: 6px auto 16px; }
.receipt h3 { font-size: 44px; font-weight: 800; margin-bottom: 14px; }
.receipt .eyebrow { justify-content: center; }
.receipt .kv { padding: 10px 0; border-top: 1px solid var(--line); }

.plans { display: grid; gap: 10px; }
.plan-opt { position: relative; display: grid; gap: 4px; padding: 16px; border-radius: var(--radius); background: var(--card); border: 1.5px solid var(--line); width: 100%; text-align: left; transition: border-color .2s, transform .2s; }
.plan-opt:hover { border-color: var(--line-2); transform: translateY(-2px); }
.plan-opt.is-popular { border-color: rgba(187,28,27,.6); background: linear-gradient(150deg, rgba(187,28,27,.16), var(--card) 60%); }
.plan-opt.is-hl { border-color: var(--red-hot); box-shadow: 0 0 0 3px rgba(217,39,31,.2); }
.plan-opt__flag { position: absolute; top: -9px; right: 14px; padding: 2px 9px; border-radius: 6px; background: var(--red); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.plan-opt__flag--cur { right: auto; left: 14px; background: #fff; color: var(--ink); }
.plan-opt__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.plan-opt__top b { font-family: var(--f-display); font-size: 22px; text-transform: uppercase; line-height: 1.05; }
.plan-opt__price { font-family: var(--f-display); font-size: 28px; font-weight: 800; white-space: nowrap; }
.plan-opt__price small { font-size: 14px; color: var(--muted); font-weight: 600; }
.plan-opt__desc { color: var(--muted); font-size: 13.5px; }
.plan-opt__feat { font-size: 13px; color: #ddd; }
.plan-opt__go { display: flex; align-items: center; gap: 4px; justify-content: flex-end; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; color: var(--red-hot); margin-top: 4px; }
.plan-opt__go .ic { width: 16px; height: 16px; }
.conv { margin-top: 14px; display: grid; gap: 4px; }

.methods { display: grid; gap: 8px; margin-bottom: 18px; }
.method { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--card); border: 1.5px solid var(--line); width: 100%; text-align: left; transition: border-color .2s; }
.method > span:nth-child(2) { flex: 1; }
.method b { display: block; font-size: 14.5px; }
.method small { color: var(--muted); font-size: 12.5px; }
.method__ic { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.06); display: grid; place-items: center; flex: none; }
.method__ic .ic { width: 19px; height: 19px; }
.radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; transition: all .2s; }
.method.is-on { border-color: var(--red); }
.method.is-on .radio { border: 6px solid var(--red-hot); }
.cc { position: relative; aspect-ratio: 1.6; border-radius: 18px; padding: 20px; margin-bottom: 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; overflow: hidden; background: linear-gradient(135deg, var(--red), var(--red-deep) 60%, #3d0808); box-shadow: 0 18px 40px -16px rgba(187,28,27,.8); }
.cc::before { content: ""; position: absolute; right: -30px; top: -40px; width: 180px; height: 230px; background: #fff; opacity: .1; -webkit-mask: url("../../img/simbolo-rojo.png") center / contain no-repeat; mask: url("../../img/simbolo-rojo.png") center / contain no-repeat; }
.cc__chip { position: absolute; top: 22px; left: 20px; width: 42px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, #e8d18b, #b49445); }
.cc__num { font-family: var(--f-display); font-size: 25px; letter-spacing: .12em; font-weight: 600; }
.cc__row { display: flex; justify-content: space-between; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.processing { display: grid; justify-items: center; gap: 10px; padding: 70px 0; text-align: center; }
.processing h3 { font-size: 26px; }
.spinner { width: 54px; height: 54px; border-radius: 50%; border: 4px solid rgba(255,255,255,.12); border-top-color: var(--red-hot); animation: spin .8s linear infinite; margin-bottom: 8px; }
.result { display: grid; justify-items: center; text-align: center; gap: 10px; padding-top: 12px; }
.result .ring__fg { stroke: var(--ok); }
.result h3 { font-size: 32px; font-weight: 800; }
.result > .card, .result > .btn, .result > .ref, .result > .tiles { width: 100%; }
.result > .card { text-align: left; }
.result__ic { width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; background: rgba(242,169,59,.14); color: var(--amber); }

/* Avisos */
.read-all { display: block; margin: -4px 0 10px auto; }
.inbox { display: flex; gap: 12px; padding: 14px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); width: 100%; text-align: left; position: relative; }
.inbox.is-unread { border-color: rgba(187,28,27,.45); }
.inbox.is-unread::after { content: ""; position: absolute; top: 16px; right: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--red-hot); }
.inbox__ic { width: 38px; height: 38px; border-radius: 12px; background: rgba(187,28,27,.15); color: var(--red-hot); display: grid; place-items: center; flex: none; }
.inbox__ic .ic { width: 19px; height: 19px; }
.inbox b { display: block; font-size: 14.5px; padding-right: 16px; }
.inbox p { font-size: 13.5px; color: var(--muted); margin: 2px 0; }
.inbox small { font-size: 12px; color: var(--muted-2); }
.push-cta { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.push-cta > span { flex: 1; }
.push-cta b { display: block; font-size: 14.5px; }
.push-cta small { color: var(--muted); font-size: 12.5px; }
.push-cta > .ic { color: var(--red-hot); }

/* Perfil y Más */
.profile-head { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 6px 0 4px; }
.profile-head h2 { font-size: 30px; font-weight: 800; margin-top: 6px; }
.logout { margin-top: 26px; }
.logout .ic { width: 18px; height: 18px; }
.me-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); text-align: left; }
.me-row > span:nth-child(2) { flex: 1; min-width: 0; }
.me-row b { display: block; font-size: 16px; }
.me-row small { color: var(--muted); font-size: 12.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-row > .ic { color: var(--muted-2); width: 18px; }

/* Ayuda */
.help-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.help-btn { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: border-color .2s; }
.help-btn:hover { border-color: var(--line-2); }
.help-btn b { display: block; font-size: 15px; }
.help-btn small { font-size: 12px; color: var(--muted); }
.help-btn > .ic { width: 28px; height: 28px; color: var(--red-hot); }
.help-btn--wa > .ic { color: #3DDC84; }
.loc { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.loc > span { flex: 1; }
.loc b { display: block; font-size: 14.5px; }
.loc small { color: var(--muted); font-size: 12.5px; }
.loc > .ic:first-child { color: var(--red-hot); }
.loc > .ic:last-child { color: var(--muted-2); width: 18px; }
.faq { display: grid; gap: 8px; }
.faq details { border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 14px; cursor: pointer; font-weight: 600; font-size: 14.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 18px; height: 18px; color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 14px 14px; color: var(--muted); font-size: 14px; }

/* ==========================================================
   Progreso y comunidad
   ========================================================== */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { padding: 14px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: grid; gap: 2px; }
.tile .ic { color: var(--red-hot); width: 22px; height: 22px; margin-bottom: 4px; }
.tile b { font-family: var(--f-display); font-size: 36px; font-weight: 800; line-height: 1; }
.tile small { color: var(--muted); font-size: 12.5px; }
.tile--red { background: linear-gradient(140deg, var(--red), var(--red-deep)); border-color: transparent; }
.tile--red .ic { color: #fff; }
.tile--red small { color: rgba(255,255,255,.85); }
.tiles--2 { margin: 10px 0 6px; text-align: left; }
.heat-card { padding: 14px; }
.heat { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; }
.heat > span { display: grid; gap: 5px; }
.heat i { display: block; aspect-ratio: 1; border-radius: 5px; background: rgba(255,255,255,.07); }
.heat i.on { background: var(--red-hot); box-shadow: 0 0 10px -2px rgba(217,39,31,.7); }
.heat i.fut { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.heat i.today { outline: 1.5px solid #fff; outline-offset: 1px; }
.heat-legend { display: flex; gap: 16px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.heat-legend span { display: flex; align-items: center; gap: 6px; }
.heat-legend i { width: 12px; height: 12px; border-radius: 3px; background: rgba(255,255,255,.07); display: inline-block; }
.heat-legend i.on { background: var(--red-hot); }
.pr, .mark { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; text-align: left; }
.pr__ic { width: 36px; height: 36px; border-radius: 10px; background: rgba(242,169,59,.14); color: var(--amber); display: grid; place-items: center; flex: none; }
.pr__ic .ic { width: 19px; height: 19px; }
.pr > span:nth-child(2) { flex: 1; }
.pr b { display: block; font-size: 14.5px; }
.pr small { color: var(--muted); font-size: 12px; }
.pr__v { font-family: var(--f-display); font-size: 21px; }
.mark__txt { flex: 1; min-width: 0; }
.mark__txt b { display: block; font-size: 15px; }
.mark__txt small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mark__v { text-align: right; flex: none; }
.mark__v b { display: block; font-family: var(--f-display); font-size: 21px; }
.mark__v small { font-size: 11.5px; color: var(--muted); }
.mark > .ic { width: 17px; color: var(--muted-2); }
.up { color: var(--ok); font-size: 10px; }
.best { display: grid; justify-items: center; text-align: center; margin-bottom: 12px; }
.best small { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.best b { font-family: var(--f-display); font-size: 58px; font-weight: 800; line-height: 1; color: #fff; }
.best span { font-size: 13px; color: var(--muted); }
.pct { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pct span { padding: 8px 4px; border-radius: 10px; background: var(--card); text-align: center; border: 1px solid var(--line); }
.pct small { display: block; font-size: 11px; color: var(--muted); }
.pct b { font-family: var(--f-display); font-size: 19px; }
.form--inline { margin-bottom: 4px; }

.challenge { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 18px; border-radius: 22px; background: linear-gradient(160deg, rgba(14,14,14,.7), rgba(14,14,14,.92)), url("../../../assets/generadas/comunidad/clase-grupal.webp") center / cover; border: 1px solid var(--line-2); }
.challenge h2 { font-size: 30px; font-weight: 800; margin-bottom: 6px; }
.challenge p { color: #ccc; font-size: 13.5px; }
.challenge__pos { margin-top: 10px; color: #fff !important; }
.challenge .ring__fg { stroke: var(--red-hot); }
.rank { display: grid; gap: 6px; }
.rank li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.rank li.is-me { border-color: var(--red); background: linear-gradient(90deg, rgba(187,28,27,.2), var(--card)); }
.rank b { width: 92px; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: none; }
.rank__pos { width: 24px; text-align: center; font-family: var(--f-display); font-weight: 700; color: var(--muted); display: grid; place-items: center; }
.rank__pos.is-top { color: var(--amber); }
.rank__pos .ic { width: 22px; height: 22px; }
.rank__bar { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.rank__bar i { display: block; height: 100%; background: var(--red-hot); border-radius: inherit; }
.rank__v { font-family: var(--f-display); font-weight: 700; font-size: 18px; width: 26px; text-align: right; }
.feed { display: grid; gap: 8px; }
.post { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.post__ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(242,169,59,.14); color: var(--amber); }
.post__ic .ic { width: 18px; height: 18px; }
.post__ic--streak { background: rgba(217,39,31,.16); color: var(--red-hot); }
.post__ic--coach { background: rgba(255,255,255,.08); color: #fff; }
.post__txt { flex: 1; min-width: 0; }
.post__txt p { font-size: 13.5px; line-height: 1.4; color: #ddd; }
.post__txt b { color: #fff; }
.post__txt small { font-size: 12px; color: var(--muted-2); }
.kudo { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 8px; border-radius: 12px; color: var(--muted); font-size: 12px; font-weight: 600; transition: color .2s, transform .2s; }
.kudo .ic { width: 22px; height: 22px; }
.kudo.is-on { color: var(--red-hot); }
.kudo.is-on .ic { fill: currentColor; animation: pop .4s var(--ease-out); }
.kudo:disabled { opacity: .5; }

/* Eventos */
.events { display: grid; gap: 12px; }
.event { display: block; width: 100%; text-align: left; border-radius: 20px; overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform .25s, border-color .25s; }
.event:hover { transform: translateY(-2px); border-color: var(--line-2); }
.event__img { display: block; position: relative; height: 140px; overflow: hidden; }
.event__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.event:hover .event__img img { transform: scale(1.05); }
.event__type { position: absolute; top: 12px; left: 12px; padding: 3px 9px; border-radius: 6px; background: rgba(0,0,0,.65); backdrop-filter: blur(6px); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.event__mine { position: absolute; top: 12px; right: 12px; display: flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 6px; background: var(--ok); color: #073a1f; font-size: 11.5px; font-weight: 700; }
.event__mine .ic { width: 13px; height: 13px; stroke-width: 3; }
.event__body { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.event__date { width: 46px; text-align: center; line-height: 1; flex: none; }
.event__date b { display: block; font-family: var(--f-display); font-size: 30px; font-weight: 800; }
.event__date small { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--red-hot); font-weight: 700; }
.event__txt { flex: 1; min-width: 0; }
.event__txt b { display: block; font-family: var(--f-display); font-size: 20px; text-transform: uppercase; line-height: 1.05; }
.event__txt small { font-size: 12.5px; color: var(--muted); }
.event__price { font-family: var(--f-display); font-weight: 700; font-size: 18px; }

/* Check-in */
.qr-card { background: #fff; color: var(--ink); border-radius: 24px; padding: 18px; box-shadow: 0 24px 60px -24px rgba(187,28,27,.7); }
.qr-card__top { display: flex; gap: 12px; align-items: center; }
.qr-card__top > span:nth-child(2) { flex: 1; }
.qr-card__top b { display: block; font-size: 16px; }
.qr-card__top small { font-size: 12.5px; color: #666; }
.qr-card__code { display: grid; place-items: center; padding: 18px 0 8px; }
.qr { width: min(230px, 70vw); height: auto; }
.qr-card__hint { display: flex; align-items: center; gap: 6px; justify-content: center; font-size: 12.5px; color: #666; }
.qr-card__hint .ic { width: 15px; height: 15px; }
.qr-card .badge--activa { background: #e5f8ee; color: #138a4b; }

/* Timer */
.t-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.t-mode { padding: 14px; border-radius: var(--radius); background: var(--card); border: 1.5px solid var(--line); text-align: left; transition: border-color .2s; }
.t-mode b { display: block; font-family: var(--f-display); font-size: 24px; text-transform: uppercase; }
.t-mode small { color: var(--muted); font-size: 12.5px; line-height: 1.3; display: block; }
.t-mode.is-on { border-color: var(--red); background: linear-gradient(150deg, rgba(187,28,27,.22), var(--card)); }
.t-cfg .field-label { margin-top: 0; font-family: var(--f-display); font-size: 22px; color: #fff; letter-spacing: .04em; }
.t-cfg .field-row { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); }
.timer-run { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: calc(var(--safe-top) + 10px) var(--pad) calc(var(--safe-bot) + 20px); position: relative; transition: background .4s; }
.timer-run[data-kind="work"] { background: radial-gradient(ellipse at 50% 40%, rgba(187,28,27,.45), var(--ink) 70%); }
.timer-run[data-kind="rest"] { background: radial-gradient(ellipse at 50% 40%, rgba(61,220,132,.2), var(--ink) 70%); }
.timer-run[data-kind="prep"] { background: radial-gradient(ellipse at 50% 40%, rgba(242,169,59,.18), var(--ink) 70%); }
.timer-run[data-kind="done"] { background: radial-gradient(ellipse at 50% 40%, rgba(255,255,255,.12), var(--ink) 70%); }
.tr__top { position: absolute; top: calc(var(--safe-top) + 4px); left: var(--pad); right: var(--pad); display: flex; justify-content: space-between; align-items: center; font-family: var(--f-display); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.tr__label { font-family: var(--f-display); font-weight: 700; font-size: 30px; text-transform: uppercase; letter-spacing: .1em; }
.timer-run[data-kind="work"] .tr__label { color: var(--red-hot); }
.timer-run[data-kind="rest"] .tr__label { color: var(--ok); }
.timer-run[data-kind="prep"] .tr__label { color: var(--amber); }
.tr__time { font-family: var(--f-display); font-weight: 800; font-size: clamp(96px, 30vw, 128px); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.tr__round { font-size: 17px; color: #ddd; margin-top: 6px; min-height: 26px; }
.tr__bar { width: 80%; height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); margin: 26px 0 34px; overflow: hidden; }
.tr__bar i { display: block; height: 100%; width: 0; background: #fff; transition: width 1s linear; }
.tr__btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* Confeti y estados */
.confetti { position: absolute; inset: 0; z-index: 80; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -12px; left: var(--x); width: 8px; height: 13px; border-radius: 2px; animation: fall 2.2s var(--d) cubic-bezier(.3, .6, .5, 1) forwards; transform: rotate(var(--r)); }
.offline-pill { position: absolute; top: calc(var(--safe-top) - 6px); left: 50%; translate: -50% -12px; opacity: 0; visibility: hidden; z-index: 65; padding: 5px 12px; border-radius: 999px; background: var(--amber); color: #3a2400; font-size: 12px; font-weight: 700; transition: translate .4s var(--ease-out), opacity .3s, visibility 0s .4s; pointer-events: none; }
body.is-offline .offline-pill { translate: -50% 0; opacity: 1; visibility: visible; transition: translate .4s var(--ease-out), opacity .3s; }

@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.6); } 70% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(217,39,31,.55); } 80% { box-shadow: 0 0 0 14px rgba(217,39,31,0); } 100% { box-shadow: 0 0 0 0 rgba(217,39,31,0); } }
@keyframes pop { 0% { transform: scale(.92); opacity: 0; } 60% { transform: scale(1.03); opacity: 1; } 100% { transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fall { to { top: 105%; transform: rotate(calc(var(--r) + 540deg)); } }

.view.is-enter > .scroll > * { animation: viewIn .35s var(--ease-out) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
