/* ==========================================================================
   ethos. — elegante y cálido, en la línea de Soma y de las referencias de Aarón (Luma, Oripova,
   EMBr): fotografía teñida de terracota a pantalla completa, letra fina, números grandes y ligeros,
   botones píldora blancos y tarjetas limpias sobre crema. Poco ruido: un solo acento naranja.
   Layout: una columna de móvil; portada a pantalla completa; cabeceras de foto con esquinas
   inferiores redondeadas; barra de pestañas flotante de vidrio.
   ========================================================================== */
:root {
  --tone: #E5461C; --tone-2: #B42E10; --tone-3: #FF7A45;
  --bg: var(--tone); --bg-2: rgba(255, 255, 255, .1); --card: rgba(255, 255, 255, .13); --glass: rgba(255, 255, 255, .13);
  --ink: #FFFFFF; --ink-2: rgba(255, 255, 255, .78); --ink-3: rgba(255, 255, 255, .58);
  --line: rgba(255, 255, 255, .16); --line-2: rgba(255, 255, 255, .28);
  --acc: #FFFFFF; --on-acc: var(--tone-2); --acc-2: #FFE2D3; --acc-soft: rgba(255, 255, 255, .14); --rosa: #FFC2B5;
  --good: #FFFFFF; --shadow: none;
  --r-xl: 34px; --r-lg: 28px; --r-md: 22px; --r-sm: 16px;
  --gut: 20px; --col: 540px; --tab-h: 70px;
  --f: "Funnel Sans", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
/* Cada sección tiene su color, como las campañas del tablero */
body[data-tono="entreno"], body[data-tono="entrenar"] { --tone: #2046E0; --tone-2: #14288F; --tone-3: #4F7BFF; }
body[data-tono="peso"], body[data-tono="registro"] { --tone: #6A35E0; --tone-2: #3E1C9A; --tone-3: #9A6BFF; }
body[data-tono="comer"] { --tone: #E2365A; --tone-2: #A11D3B; --tone-3: #FF6F8C; }
body[data-tono="mas"] { --tone: #0E7F86; --tone-2: #07505A; --tone-3: #2BB3B5; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; min-height: 100dvh; background: var(--tone-2) linear-gradient(180deg, var(--tone) 0%, var(--tone-2) 100%) fixed; color: var(--ink); font: 15px/1.5 var(--f); letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom) + 34px); }
body.is-full { padding-bottom: 0; }
body.is-full .nav { display: none; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; touch-action: manipulation; text-align: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -.03em; text-wrap: balance; }
h2 { font-size: 21px; display: flex; align-items: center; gap: 8px; }
h2 svg { width: 20px; height: 20px; color: var(--acc); }
h3 { font-size: 18px; font-weight: 500; }
p { margin: 0; }
em { font-style: normal; color: var(--acc); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 10px; }
.view-host { display: contents; }
.app:focus { outline: none; }
.wrap { max-width: var(--col); margin: 0 auto; padding: 0 var(--gut); display: flex; flex-direction: column; gap: 14px; }
.mut { color: var(--ink-2); } .sm { font-size: 14px; } .xs { font-size: 12.5px; color: var(--ink-3); }
.eyebrow { font-size: 12.5px; font-weight: 500; color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; letter-spacing: 0; }
.eyebrow svg { width: 15px; height: 15px; }
.sec-t { font-size: 26px; font-weight: 300; margin-top: 8px; }

/* Fotografía con tono cálido común a toda la app */


/* ---------- Portada (Hoy) ---------- */
.home .hero { position: relative; isolation: isolate; overflow: hidden; min-height: 84dvh; border-radius: 0; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: calc(env(safe-area-inset-top) + 120px) var(--gut) 24px; margin-bottom: 8px; background: var(--tone-2); }
.home .hero > img { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.home .hero::before { content: none; }
.home .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, 0) 46%, var(--tone) 100%); }
.hero-top { position: absolute; top: 0; left: 0; right: 0; padding: calc(env(safe-area-inset-top) + 16px) var(--gut) 0; display: flex; justify-content: space-between; align-items: center; }
.wordmark { font-family: var(--serif); font-size: 32px; line-height: 1; letter-spacing: -.01em; }
.wordmark i { font-style: normal; opacity: .7; }
.date-pill, .glass-pill, .tag { display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 99px; font-size: 13px; font-weight: 500;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: #FFF7F2; }
.glass-pill, .tag { align-self: flex-start; }
.hello { position: absolute; top: calc(env(safe-area-inset-top) + 72px); left: var(--gut); font-size: 30px; font-weight: 300; letter-spacing: -.03em; line-height: 1.1; }
.hello b { font-weight: 300; opacity: .75; }
.hero-title { font-size: clamp(52px, 15vw, 68px); font-weight: 400; line-height: 1; letter-spacing: -.045em; }
.hero-title em { color: inherit; }
.hero-sub { font-size: 16px; opacity: .88; max-width: 30ch; font-weight: 300; }
.hero-meta { font-size: 13.5px; opacity: .75; }
.cta { margin-top: 10px; align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; padding: 0 26px 0 22px; min-height: 60px; border-radius: 99px; background: #fff; color: var(--tone-2); font-size: 16px; font-weight: 500; }
.cta i { display: grid; place-items: center; }
.cta i svg { width: 16px; height: 16px; }

/* ---------- Cabeceras de pantalla ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; height: calc(330px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) var(--gut) 26px;
  margin-bottom: 8px; border-radius: 0; display: flex; align-items: flex-end; color: #fff; background: var(--tone-2); }
.page-hero > img { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.page-hero::before { content: none; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, 0) 50%, var(--tone)); }
.hero-in { width: 100%; max-width: var(--col); margin: 0 auto; display: flex; flex-direction: column; gap: 6px; }
.page-hero .kicker { font-size: 13px; font-weight: 500; opacity: .8; }
.hero-t { font-size: clamp(44px, 13vw, 58px); font-weight: 400; line-height: 1; letter-spacing: -.045em; }
.hero-t em { color: inherit; opacity: .78; }
.hero-s { font-size: 15px; font-weight: 300; opacity: .88; max-width: 34ch; }
.hero-back, .round-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; }
.hero-back { position: absolute; top: calc(env(safe-area-inset-top) + 16px); left: var(--gut); background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hero-back svg, .round-btn svg { width: 18px; height: 18px; }

.round-btn.glass { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #FFF7F2; }

/* ---------- Tarjetas ---------- */
.card { background: var(--card); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; box-shadow: var(--shadow); }
.card.soft { background: var(--bg-2); box-shadow: none; }
.card.link { position: relative; }
.card.link:active, .qt:active, .tile:active, .ses:active, .row-card:active, .rc:active, .mov-card:active, .dish:active { transform: scale(.985); }
.card-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.note { border-radius: var(--r-md); padding: 14px 16px; background: var(--acc-soft); display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.note.sage, .note.good { background: rgba(255, 255, 255, .14); color: #fff; }
.pill { font-size: 12.5px; font-weight: 500; padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, .1); color: var(--ink-2); white-space: nowrap; }
.pill.good { background: var(--acc); color: var(--on-acc); }
.pill.warn { background: var(--acc-soft); color: var(--acc); }
.bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: inherit; background: #fff; transition: width .5s var(--ease); }
.big-n { font-size: 60px; line-height: .95; font-weight: 300; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.big-n small { font-size: 18px; color: var(--ink-3); }
.score { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.score .unit { font-size: 20px; font-weight: 300; color: var(--ink-3); }
.premio { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--acc); }
.premio svg { width: 16px; height: 16px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); padding-top: 12px; }
.kpis > div { display: flex; flex-direction: column; }
.kpis > div + div { border-left: 1px solid var(--line); padding-left: 14px; }
.kpis b { font-size: 24px; font-weight: 300; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.kpis span { font-size: 12px; color: var(--ink-3); }
.dish-t { font-size: 24px; font-weight: 400; letter-spacing: -.03em; line-height: 1.15; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { border-radius: var(--r-lg); padding: 18px; background: var(--card); display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow);  border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.stat b { font-size: 44px; font-weight: 300; letter-spacing: -.05em; line-height: 1; }
.stat small { font-size: 15px; color: var(--ink-3); }

/* Botones y formularios */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px; border-radius: 99px; font-weight: 500; font-size: 15.5px; background: rgba(255, 255, 255, .1); }
.btn svg { width: 15px; height: 15px; }
.btn.pri { background: #fff; color: var(--on-acc); }
.btn.white { background: #fff; color: var(--on-acc); }
.btn.ghost { background: transparent; border: 1px solid var(--line-2); }
.btn.link { background: none; min-height: 40px; padding: 0; color: var(--acc); align-self: flex-start; }
.btn.sm { min-height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn.wide { width: 100%; }
.btn.file { cursor: pointer; }
.fld { display: flex; flex-direction: column; gap: 6px; flex: 1 1 120px; min-width: 0; }
.fld > span { font-size: 12.5px; color: var(--ink-3); }
.fld input, .search { width: 100%; min-height: 54px; padding: 0 20px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255, 255, 255, .1); font-size: 16px; color: #fff; }
.fld input::placeholder, .search::placeholder { color: rgba(255, 255, 255, .45); }
.fld input:focus, .search:focus { outline: none; border-color: #fff; background: rgba(255, 255, 255, .18); }
.inline { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid var(--line); font-size: 14px; font-weight: 400; display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }
.chip svg { width: 15px; height: 15px; }
.chip.on, .chip[aria-pressed="true"] { background: var(--acc); color: var(--on-acc); border-color: transparent; }
.chip.st { min-height: 30px; padding: 0 12px; font-size: 13px; cursor: default; background: rgba(255, 255, 255, .1); border-color: transparent; }
.row-btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* Hoy toca */
.tasks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.task { display: grid; grid-template-columns: 38px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.task:first-child { border-top: 0; padding-top: 0; }
.tick { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: transparent; }
.tick svg { width: 16px; height: 16px; }
.task.done .tick { background: var(--acc); border-color: transparent; color: #fff; }
.task.done .tt b { color: var(--ink-3); }
.tt { display: flex; flex-direction: column; min-width: 0; }
.tt b { font-weight: 500; }
.tt span { font-size: 13px; color: var(--ink-3); }
.go { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--ink-2); }
.go svg { width: 15px; height: 15px; }

/* ---------- Entreno ---------- */
.tiles2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg); padding: 16px; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; color: #fff; background: var(--tone-2); }
.tile > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .55)); }
.tile.done { opacity: .7; }
.tile.next { box-shadow: 0 0 0 2px var(--acc); }
.tile-k { font-size: 12px; font-weight: 500; opacity: .85; }
.tile b { font-size: 24px; font-weight: 400; letter-spacing: -.04em; line-height: 1.05; }
.tile span:last-child { font-size: 12.5px; opacity: .8; }
.row-card { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; padding: 8px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow);  border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.row-card img { width: 84px; height: 84px; border-radius: 20px; object-fit: cover; }
.row-card .rk { font-size: 12px; font-weight: 500; color: var(--ink-3); display: flex; gap: 6px; align-items: center; }
.row-card .rk svg { width: 14px; height: 14px; }
.row-card h3 { font-size: 19px; font-weight: 500; margin: 1px 0; }
.row-card p { font-size: 13px; color: var(--ink-3); }
.mov-card { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 14px 12px 12px; border-radius: var(--r-lg); background: #fff; color: #241915; }
.mov-thumbs { display: flex; }
.mov-thumbs img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.mov-thumbs img + img { margin-left: -14px; }
.mov-t { display: flex; flex-direction: column; min-width: 0; }
.mov-t .eyebrow { color: var(--tone); font-weight: 600; }
.mov-t b { font-size: 13px; font-weight: 400; color: #6E615A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.play-mini { width: 40px; height: 40px; border-radius: 50%; background: var(--tone); color: #fff; display: grid; place-items: center; }
.play-mini svg { width: 14px; height: 14px; margin-left: 2px; }
.exl { list-style: none; margin: 0; padding: 0; }
.exr { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.exl li:first-child .exr { border-top: 0; padding-top: 0; }
.exr-n { font-size: 28px; font-weight: 300; line-height: 1; display: flex; flex-direction: column; gap: 3px; letter-spacing: -.05em; }
.exr-n small { font-size: 11px; color: var(--ink-3); letter-spacing: 0; line-height: 1.15; }
.exr-m { display: flex; flex-direction: column; min-width: 0; }
.exr-m b { font-weight: 500; }
.exr-m span { font-size: 12.5px; color: var(--ink-3); }
.exr-b { font-size: 12.5px; font-weight: 500; padding: 5px 11px; border-radius: 99px; background: rgba(255, 255, 255, .1); color: var(--ink-2); white-space: nowrap; }
.fold summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary > svg { width: 20px; height: 20px; color: var(--ink-3); transition: transform .2s; }
.fold[open] summary > svg { transform: rotate(180deg); }
.fold:not([open]) { gap: 0; }
.rules { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; color: var(--ink-2); }
.rules li::marker { color: var(--acc); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { padding: 10px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.tbl th { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.tbl .r { text-align: right; }
.tbl a { color: var(--acc); }
.x { width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--ink-3); }
.x svg { width: 14px; height: 14px; }
.x.armed { background: var(--acc-soft); color: var(--acc); }
.cargas { display: flex; flex-direction: column; gap: 10px; }
.carga { border: 0; border-radius: var(--r-md); padding: 12px; display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin: 0; background: rgba(255, 255, 255, .1); }
.carga legend { font-weight: 500; padding: 0; float: left; width: 100%; margin-bottom: 4px; }
.carga legend small { color: var(--ink-3); font-weight: 400; }
.carga .fld { flex: 1 1 70px; }
.chk { display: flex; align-items: center; gap: 6px; min-height: 54px; font-size: 14px; }
.chk input { width: 20px; height: 20px; accent-color: var(--acc); }

/* Carrera y dominada */
.steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.steps li::marker { color: var(--acc); }
.plan12 { list-style: none; margin: 0; padding: 0; }
.plan12 li { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.plan12 li.done { color: var(--ink-3); }
.plan12 li.now { color: var(--acc); font-weight: 500; }
.log { list-style: none; margin: 0; padding: 0; }
.log li { display: flex; gap: 10px; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.ladder { list-style: none; margin: 0; padding: 16px 18px; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow);  border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.ladder li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 6px 0; color: var(--ink-3); }
.ladder li span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; border: 1px solid var(--line-2); }
.ladder li span svg { width: 14px; height: 14px; }
.ladder li.done { color: var(--ink-2); }
.ladder li.done span { background: var(--acc-soft); color: var(--acc); border-color: transparent; }
.ladder li.now { color: var(--ink); }
.ladder li.now span { background: var(--acc); color: var(--on-acc); border-color: transparent; }
.ladder li.now b { font-size: 17px; font-weight: 500; }
.ladder b { font-weight: 400; }
.series { display: flex; flex-direction: column; gap: 10px; }
.series-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

/* ---------- Peso ---------- */
.chart { width: 100%; height: auto; display: block; font: 11.5px var(--f); }
.chart .grid { stroke: var(--line); }
.chart .ax { fill: var(--ink-3); }
.chart .today { stroke: var(--acc); stroke-opacity: .4; stroke-width: 1.2; stroke-dasharray: 3 4; }
.chart .mline { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.chart .hit { fill: var(--tone); stroke: var(--ink-3); stroke-width: 1.4; }
.chart .pt { fill: rgba(255, 255, 255, .45); }
.chart .pt.last { fill: #fff; stroke: var(--tone); stroke-width: 2; }
.chart stop { stop-color: #fff; }
.hitos { list-style: none; margin: 0; padding: 0; }
.hit-row { display: grid; grid-template-columns: 64px 76px 1fr auto; gap: 8px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; font-size: 14px; }
.hit-row small { display: block; font-size: 11.5px; color: var(--ink-3); }
.hk b { font-size: 18px; font-weight: 400; }
.hp { font-size: 13px; color: var(--acc); display: flex; gap: 5px; align-items: center; min-width: 0; }
.hp svg { width: 15px; height: 15px; flex: none; }
.hp i { color: var(--ink-3); font-style: normal; }

/* ---------- Comer ---------- */
.tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: 9px 16px; border-radius: 99px; font-size: 14px; color: var(--ink-3); white-space: nowrap; }
.tabs a[aria-current] { background: var(--acc); color: var(--on-acc); }
.menu { list-style: none; margin: 0; padding: 0; }
.menu li { display: grid; grid-template-columns: 50px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.menu li:first-child { border-top: 0; padding-top: 0; }
.menu li.past { opacity: .45; }
.menu li.today .md { color: var(--acc); }
.md { font-weight: 500; font-size: 15px; display: flex; flex-direction: column; }
.md small { font-weight: 400; font-size: 11.5px; color: var(--ink-3); }
.mm { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.slot { display: flex; gap: 6px; }
.slot > button:first-child { flex: 1; text-align: left; padding: 10px 14px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .1); font-size: 14px; min-width: 0; }
.slot small { display: block; font-size: 11px; color: var(--ink-3); }
.swap { width: 44px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .1); color: var(--ink-3); font-size: 18px; }
.counters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cnt { border-radius: var(--r-md); padding: 14px; display: flex; flex-direction: column; gap: 8px; background: rgba(255, 255, 255, .1); }
.cnt > span { font-weight: 500; display: flex; flex-direction: column; }
.cnt small { font-size: 12px; color: var(--ink-3); font-weight: 400; }
.cnt-c { display: flex; align-items: center; justify-content: space-between; }
.cnt-c b { font-size: 34px; font-weight: 300; letter-spacing: -.04em; }
.cnt-c b.ok { color: var(--acc); }
.rnd { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: grid; place-items: center; }
.rnd svg { width: 16px; height: 16px; }
.hand { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hand div { border-radius: var(--r-md); padding: 12px 14px; background: rgba(255, 255, 255, .1); display: flex; flex-direction: column; font-size: 13px; color: var(--ink-2); }
.hand b { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--acc); }
.filters { display: flex; flex-direction: column; gap: 10px; }
.rcl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rc { width: 100%; display: flex; flex-direction: column; text-align: left; padding: 16px 18px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow);  border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.rc-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rc b { font-size: 17px; font-weight: 500; line-height: 1.25; letter-spacing: -.02em; }
.rc-k { font-size: 12px; color: var(--acc); font-weight: 500; }
.rc-f { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--ink-3); }
.rc-f .ok { color: var(--good); display: inline-flex; gap: 4px; align-items: center; }
.rc-f svg { width: 14px; height: 14px; }
.hrt { color: var(--acc); }
.antojos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.antojo { min-height: 96px; display: flex; align-items: flex-end; padding: 16px; border-radius: var(--r-md); font-family: var(--serif); font-size: 28px; line-height: 1; color: #fff; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .18); }

.antojo:last-child:nth-child(odd) { grid-column: span 2; }
.shop { list-style: none; margin: 0 0 6px; padding: 0; }
.shop label { display: flex; gap: 12px; align-items: center; min-height: 48px; border-top: 1px solid var(--line); }
.shop input { width: 22px; height: 22px; accent-color: var(--acc); }
.shop input:checked + span { text-decoration: line-through; color: var(--ink-3); }
.shop small { margin-left: auto; color: var(--ink-3); font-size: 12px; }
.ing, .pasos { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--ink-2); }
.ing li::marker, .pasos li::marker { color: var(--acc); }
.stars { display: flex; gap: 6px; }
.stars button { font-size: 28px; color: rgba(255, 255, 255, .25); width: 44px; height: 44px; }
.stars button[aria-pressed="true"] { color: var(--acc); }

/* ---------- Tú (Más) ---------- */
.metric { display: flex; flex-direction: column; gap: 6px; }
.days7 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.dd { height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: rgba(255, 255, 255, .1); color: var(--ink-3); aspect-ratio: 1; justify-self: center; width: 38px; }
.dd.ok { background: var(--acc); color: var(--on-acc); }
.dd.now { box-shadow: 0 0 0 1.5px var(--ink); }
.dd.fut { opacity: .5; }
.weeks { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.wk { width: 20px; height: 20px; border-radius: 50%; background: var(--bg-2); }
.wk.ok { background: var(--acc); }
.wk.now { box-shadow: 0 0 0 1.5px var(--ink); }
.medals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.medal { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 12px 6px; border-radius: var(--r-md); background: rgba(255, 255, 255, .1); }
.orb { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: var(--ink-2); }
.orb svg { width: 18px; height: 18px; }
.medal.on .orb { background: var(--acc); color: var(--on-acc); }
.medal b { font-size: 13px; font-weight: 500; margin-top: 4px; }
.medal small { font-size: 11px; color: var(--ink-3); line-height: 1.25; }
.medal:not(.on) { opacity: .6; }
.sleep { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sleep li { display: flex; gap: 16px; align-items: center; padding: 12px 16px; border-radius: var(--r-md); background: rgba(255, 255, 255, .1); }
.sleep li.rec { background: #fff; color: var(--tone-2); }
.sleep li.rec small { color: var(--tone); }
.sleep b { font-size: 32px; font-weight: 300; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.sleep span { display: flex; flex-direction: column; font-weight: 500; }
.sleep small { font-weight: 400; color: var(--ink-3); font-size: 13px; }
.infu-i { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.infu-i ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink-2); }

/* ---------- Calma ---------- */
.ses-list { display: flex; flex-direction: column; gap: 10px; }
.ses { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; align-items: center; padding: 8px 18px 8px 8px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow);  border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.ses-img { width: 74px; height: 74px; border-radius: 20px; background: center/cover no-repeat var(--bg-2); }
.ses-t { display: flex; flex-direction: column; min-width: 0; }
.ses-t b { font-weight: 500; font-size: 16px; }
.ses-t small { font-size: 12.5px; color: var(--ink-3); line-height: 1.3; }
.ses-m { font-size: 22px; font-weight: 300; color: var(--acc); }

/* Reproductor de Calma y de calentamientos (pantalla completa con foto cálida) */
.cp, .mv { position: fixed; inset: 0; z-index: 20; color: #fff; background: var(--tone-2); }
.cp-bg, .mv-media { position: absolute; inset: 0; background: center/cover no-repeat; }
.mv-media iframe { position: absolute; inset: -12% -60%; width: 220%; height: 124%; border: 0; opacity: 0; transition: opacity .4s; pointer-events: none; }
.mv-media.playing iframe { opacity: 1; }
.mv-media .clip-play { position: absolute; top: 45%; left: 50%; transform: translate(-50%, -50%); display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 99px; background: rgba(255, 255, 255, .2); color: #fff; backdrop-filter: blur(12px); }
.mv-media .clip-play svg { width: 14px; height: 14px; }
.cp-bg.espejo { transform: scaleX(-1); }
.cp::before, .mv::before { content: none; }
.cp::after, .mv::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0) 48%, var(--tone) 82%); }
.cp-in { position: relative; z-index: 2; max-width: var(--col); height: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; padding: calc(env(safe-area-inset-top) + 16px) var(--gut) calc(env(safe-area-inset-bottom) + 26px); }
.cp-top, .mv-top { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.mv-top { position: absolute; z-index: 2; top: 0; left: 0; right: 0; padding: calc(env(safe-area-inset-top) + 16px) var(--gut) 0; justify-content: space-between; text-align: center; }
.cp-top span, .mv-top > span:nth-child(2) { flex: 1; text-align: center; opacity: .9; font-size: 14.5px; }
.cp-top b { font-size: 20px; font-weight: 300; }
.mv-left { font-size: 13px; font-weight: 500; }
.cp-mid { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.cp-mid h1, .mv-panel h1 { font-size: clamp(32px, 9vw, 40px); font-weight: 400; letter-spacing: -.04em; line-height: 1.05; }
.cp-mid p, .mv-panel p { font-size: 16px; line-height: 1.45; max-width: 34ch; opacity: .88; font-weight: 300; }
.cp-clock { font-size: 64px; font-weight: 200; letter-spacing: -.05em; font-variant-numeric: tabular-nums; min-height: 1em; }
.cp .bar, .slider { height: 4px; background: rgba(255, 255, 255, .28); border-radius: 99px; overflow: visible; position: relative; }
.cp .bar > i, .slider > i { display: block; height: 100%; background: #fff; border-radius: 99px; position: relative; transition: width .3s linear; }
.slider > i::after { content: ""; position: absolute; right: -7px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #fff; }
.cp-ctrl, .mv-ctrl { display: grid; grid-template-columns: 56px 1fr 56px; gap: 10px; align-items: center; justify-items: center; }
.cp .tm-side { width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .22); }
.cp .tm-pri { height: 64px; width: 100%; border-radius: 99px; background: #fff; color: var(--tone-2); font-size: 17px; font-weight: 500; text-align: center; }
.play-btn { width: 84px; height: 84px; border-radius: 50%; background: #fff; color: var(--tone-2); display: grid; place-items: center; box-shadow: 0 16px 34px -14px rgba(40, 12, 4, .7); }
.play-btn svg { width: 28px; height: 28px; }
.cp-opts { justify-content: center; }
.cp-opts .chip { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .22); color: #fff; }
.cp-opts .chip.on { background: #fff; color: var(--tone-2); }
.mv-panel { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; max-width: var(--col); margin: 0 auto; padding: 0 var(--gut) calc(env(safe-area-inset-bottom) + 26px); display: flex; flex-direction: column; gap: 12px; }
.mv-time { display: flex; justify-content: space-between; font-size: 14px; font-variant-numeric: tabular-nums; opacity: .9; }
.mv-time span:first-child { font-size: 44px; font-weight: 200; letter-spacing: -.04em; line-height: 1; }
.mv-time span:last-child { align-self: flex-end; }

/* ---------- Fichas ---------- */
.fichas-tools { display: flex; flex-direction: column; gap: 10px; }
.fchips { display: flex; gap: 8px; flex-wrap: wrap; }
.fchip { min-height: 40px; padding: 0 16px; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.fchip[aria-pressed="true"] { background: var(--acc); color: var(--on-acc); border-color: transparent; }
.fichas { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ficha { border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 12px;  border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.ficha-h { margin: 0; font-size: inherit; }
.ficha-btn { width: 100%; display: grid; grid-template-columns: 1fr auto 20px; gap: 10px; align-items: center; padding: 16px 18px; text-align: left; }
.ficha-btn .txt { display: flex; flex-direction: column; min-width: 0; }
.ficha-btn .nm { font-weight: 500; font-size: 16px; }
.ficha-btn .para { font-size: 13px; color: var(--ink-3); }
.ficha-btn .tags { font-size: 11px; font-weight: 500; color: var(--acc); }
.ficha-btn svg { width: 20px; height: 20px; color: var(--ink-3); transition: transform .2s; }
.ficha-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.ficha-body { padding: 0 18px 18px; display: flex; flex-direction: column; gap: 12px; }
.ficha-empty { color: var(--ink-3); padding: 12px 0; }
.claves .k, .fallo .k { font-size: 12px; font-weight: 500; color: var(--acc); }
.claves ol { margin: 6px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; color: var(--ink-2); }
.fallo { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: var(--r-md); background: var(--acc-soft); font-size: 14.5px; }
.yt { display: inline-flex; gap: 8px; align-items: center; color: var(--acc); min-height: 44px; }
.yt svg { width: 22px; height: 22px; }
.clip { aspect-ratio: 16 / 9; max-width: 100%; border-radius: var(--r-md); overflow: hidden; background: #000; }
.clip iframe { display: block; width: 100%; height: 100%; border: 0; }
.fig { margin: 0; border-radius: var(--r-md); background: rgba(255, 255, 255, .94); --ink: #241915; padding: 12px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
.fig svg { display: block; width: 100%; height: auto; max-height: 260px; }
.fig .limb { fill: none; stroke: currentColor; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.fig .torso { stroke-width: 8; } .fig .far { stroke-width: 6; opacity: .35; } .fig .head { fill: currentColor; }
.fig .ground { stroke: var(--line-2); stroke-width: 2; } .fig .prop { fill: none; stroke: var(--ink-3); stroke-width: 4; stroke-linecap: round; }
.fig .kb path { stroke: var(--acc); fill: none; stroke-linecap: round; } .fig .kb .bell { fill: var(--acc); }
.fig .pose-a { animation: kbA 2.6s ease-in-out infinite; } .fig .pose-b { color: var(--acc-2); animation: kbB 2.6s ease-in-out infinite; }
@keyframes kbA { 0%, 42% { opacity: 1; } 50%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes kbB { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
.fig figcaption { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.fig figcaption b { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; margin-right: 6px; }
.fig figcaption .b { color: var(--acc); } .fig figcaption .b > b { background: var(--acc); }

/* ---------- Hoja inferior y aviso ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 40; }
.sheet-bg { position: absolute; inset: 0; background: rgba(36, 25, 21, .35); opacity: 0; transition: opacity .2s; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 90vh; overflow: auto; background: var(--tone-2); border-radius: 30px 30px 0 0;
  padding: 24px var(--gut) calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; transform: translateY(100%); transition: transform .26s var(--ease); max-width: 640px; margin: 0 auto; }
.sheet h2 { font-size: 28px; font-weight: 400; padding-right: 44px; }
.sheet h3 { margin-top: 6px; }
.sheet-x { position: absolute; top: 16px; right: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; }
.sheet-x svg { width: 16px; height: 16px; }
.sheet-wrap.open .sheet-bg { opacity: 1; }
.sheet-wrap.open .sheet { transform: none; }
.toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + 32px + env(safe-area-inset-bottom)); transform: translate(-50%, 12px); opacity: 0; pointer-events: none; z-index: 50;
  background: #fff; color: var(--tone-2); padding: 12px 20px 12px 12px; border-radius: 99px; display: flex; gap: 10px; align-items: center; transition: .25s var(--ease); width: max-content; max-width: 92vw; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast i { width: 24px; height: 24px; border-radius: 50%; background: var(--tone); display: grid; place-items: center; color: #fff; }
.toast i svg { width: 13px; height: 13px; }

/* ---------- Barra de pestañas flotante ---------- */
.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 0 max(16px, env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); pointer-events: none; }
.nav-in { pointer-events: auto; max-width: 420px; height: var(--tab-h); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 8px; border-radius: 99px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .24); backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4); }
.nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 10.5px; color: rgba(255, 255, 255, .78); min-width: 0; border-radius: 99px; }
.nav a svg { width: 22px; height: 22px; }
.nav a[aria-current="page"] { background: #fff; color: var(--tone); }

/* ---------- Modo entreno a pantalla completa ---------- */
.tm { --tm-pri-bg: #fff; --tm-pri-fg: var(--tone-2); position: fixed; inset: 0; z-index: 20; color: #fff; font-family: var(--f); background: linear-gradient(170deg, var(--tone-3) 0%, var(--tone) 55%, var(--tone-2) 100%); }
.tm[data-state="ready"] { background: linear-gradient(180deg, var(--tone), var(--tone-2)); }
.tm[data-state="rest"] { background: linear-gradient(170deg, var(--tone-2) 0%, #15151d 120%); }
.tm.run[data-state="rest"] { background: linear-gradient(170deg, var(--tone-2) 0%, #15151d 120%); }
.tm[data-state="pause"] { background: var(--tone-2); }
.tm[data-state="done"] { background: linear-gradient(180deg, var(--tone), var(--tone-2)); }
.tm-in { max-width: var(--col); height: 100%; margin: 0 auto; display: flex; flex-direction: column; overflow: hidden; padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); }
.tm-top { display: flex; align-items: center; gap: 12px; padding: 16px var(--gut) 0; }
.tm-x { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .22); }

.tm-x svg { width: 18px; height: 18px; }
.tm-title { flex: 1; min-width: 0; font-size: 14px; line-height: 1.25; opacity: .85; }
.tm-count { font-size: 18px; font-weight: 400; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tm-label { padding: 20px var(--gut) 0; display: flex; align-items: center; gap: 10px; }
.tm-label .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.tm-label .d, .tm-label [data-el="label"] { font-size: 28px; line-height: 1; font-weight: 300; letter-spacing: -.03em; }
.tm-center { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gut); gap: 10px; }
.tm-clock { margin: 0 calc(var(--gut) * -1); font-size: min(180px, 46vw); line-height: .9; font-weight: 200; text-align: center; white-space: nowrap; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.tm-clock.long { font-size: min(150px, 38vw); }
.tm-digit { font-size: 280px; line-height: .8; font-weight: 200; text-align: center; letter-spacing: -.06em; }
.tm-reps { display: flex; flex-direction: column; gap: 4px; }
.tm-reps .n { font-size: 150px; line-height: .85; font-weight: 200; white-space: nowrap; letter-spacing: -.06em; }
.tm-reps .u { font-size: 18px; }
.tm-fin { display: flex; flex-direction: column; gap: 14px; }
.tm-fin .d { font-family: var(--serif); font-size: 96px; line-height: .9; }
.tm-fin p { font-size: 17px; line-height: 1.45; }
.run-next { text-align: center; font-size: 16px; opacity: .85; }
.tm-card { padding: 0 var(--gut) 14px; display: flex; flex-direction: column; gap: 6px; }
.tm-card .lbl { font-size: 12px; font-weight: 500; opacity: .75; letter-spacing: .04em; }
.tm-card .nm { font-size: 34px; font-weight: 400; letter-spacing: -.04em; line-height: 1.05; }
.tm-card .meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 17px; }
.tm-card .b { padding: 4px 12px; border-radius: 99px; background: rgba(255, 255, 255, .24); }
.tm-card .later { font-size: 14px; opacity: .8; }
.tm-list { margin: 0; padding: 0 var(--gut) 14px; list-style: none; }
.tm-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; min-height: 52px; border-top: 1px solid rgba(255, 255, 255, .3); }
.tm-list .nm { font-size: 22px; font-weight: 400; letter-spacing: -.03em; }
.tm-list .r { font-size: 15px; } .tm-list .b { font-size: 13px; padding: 3px 10px; border-radius: 99px; background: rgba(255, 255, 255, .24); }
.tm-segs { padding: 0 var(--gut) 14px; display: flex; gap: 4px; }
.seg { flex: 1; height: 4px; border-radius: 5px; background: currentColor; opacity: .25; }
.seg.now { opacity: .6; } .seg.done { opacity: 1; }
.tm-end { padding: 0 var(--gut) 6px; display: flex; justify-content: center; }
.tm-end button { min-height: 44px; padding: 0 16px; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.tm-ctrl { padding: 0 var(--gut) 24px; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; gap: 12px; align-items: center; }
.tm-side { width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: grid; place-items: center; }

.tm-side svg { width: 22px; height: 22px; }
.tm-side:disabled { opacity: .35; cursor: default; }
.tm-pri { height: 72px; border-radius: 99px; background: var(--tm-pri-bg); color: var(--tm-pri-fg); font-size: 19px; font-weight: 500; text-align: center; }
.tm-pri.small { font-size: 17px; }
.tm-finbtns { padding: 0 var(--gut) 24px; display: flex; flex-direction: column; gap: 10px; }
.tm-fin-btn { min-height: 64px; border-radius: 99px; background: #fff; color: var(--tone-2); display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 18px; font-size: 17px; font-weight: 500; }
.tm-fin-btn.ghost { min-height: 56px; background: rgba(255, 255, 255, .16); color: #fff; font-size: 16px; }
@media (max-height: 740px) {
  .tm-clock { font-size: min(140px, 38vw); } .tm-digit { font-size: 220px; }
  .tm-reps .n { font-size: 110px; } .tm-fin .d { font-size: 80px; } .tm-card .nm { font-size: 28px; }
  .home .hero { min-height: 90dvh; }
}
@media (max-width: 370px) { .hero-title { font-size: 46px; } .hello { font-size: 26px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ==========================================================================
   Estructura nueva: Hoy (registro rápido), Entrenar (listas), sesión tipo Hevy, Registro
   ========================================================================== */
.hello { font-size: 26px; }
.hello span { font-size: 14px; opacity: .75; text-transform: capitalize; }
.hero-top .round-btn { color: #fff; }
.week7 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.week7 span { aspect-ratio: 1; max-width: 42px; justify-self: center; width: 100%; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .7); }
.week7 span.ok { background: #fff; color: var(--tone-2); font-weight: 600; }
.week7 span.now { box-shadow: 0 0 0 1.5px #fff; }
.log { gap: 4px; }
.log-row { display: flex; align-items: flex-end; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.log-row label { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.log-row label span { font-size: 12.5px; color: var(--ink-3); }
.log-row input { width: 100%; background: none; border: 0; color: #fff; font-size: 30px; font-weight: 300; letter-spacing: -.03em; padding: 0; font-variant-numeric: tabular-nums; }
.log-row input::placeholder { color: rgba(255, 255, 255, .35); }
.log-row input:focus { outline: none; }
.log-row input[type="time"] { font-size: 24px; color-scheme: dark; }
.log-row.two { gap: 16px; }
.log-meta { font-size: 15px; font-weight: 400; color: var(--ink-3); padding-bottom: 6px; }
.log .btn { margin-top: 10px; }
.row-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 16px 18px; border-radius: var(--r-lg); background: var(--card); border: 1px solid rgba(255, 255, 255, .16); text-align: left; }
.row-link span { display: flex; flex-direction: column; }
.row-link b { font-weight: 500; font-size: 16px; }
.row-link small { font-size: 13px; color: var(--ink-3); }
.row-link svg { width: 16px; height: 16px; opacity: .7; }
.rlist { display: flex; flex-direction: column; gap: 8px; }
.rrow { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; width: 100%; padding: 8px 16px 8px 8px; border-radius: 22px; background: var(--card); border: 1px solid rgba(255, 255, 255, .14); text-align: left; }
.rrow img { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; background: rgba(0, 0, 0, .2); }
.rrow span { display: flex; flex-direction: column; min-width: 0; }
.rrow b { font-weight: 500; font-size: 16px; }
.rrow small { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rrow > svg { width: 16px; height: 16px; opacity: .7; }
.tiles3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile3 { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 20px; display: flex; flex-direction: column; justify-content: flex-end; padding: 10px; background: rgba(0, 0, 0, .2); }
.tile3 img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.tile3::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .65)); }
.tile3 b { font-size: 13px; font-weight: 500; line-height: 1.15; }
.tile3 small { font-size: 11px; opacity: .75; }
.exgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.exg { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.exg img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; background: rgba(0, 0, 0, .2); }
.exg b { font-size: 12.5px; font-weight: 500; line-height: 1.2; }
.vid { position: relative; margin: -24px calc(var(--gut) * -1) 4px; aspect-ratio: 9 / 13; max-height: 62vh; background: #000 center/cover no-repeat; border-radius: 30px 30px 0 0; overflow: hidden; }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Sesión */
.ses-wrap { min-height: 100dvh; padding-bottom: 120px; }
.ses-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px; padding: calc(env(safe-area-inset-top) + 10px) var(--gut) 10px;
  background: rgba(0, 0, 0, .18); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); }
.ses-top > div { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.ses-top b { font-weight: 500; font-size: 16px; }
.ses-top span { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ses-top .round-btn { background: rgba(255, 255, 255, .14); color: #fff; }
.ses-body { padding-top: 14px; }
.exc { padding: 14px; gap: 10px; }
.exc-h { display: grid; grid-template-columns: 64px 1fr 36px; gap: 12px; align-items: center; cursor: pointer; }
.exc-h img { width: 64px; height: 80px; border-radius: 14px; object-fit: cover; }
.exc-h b { font-size: 17px; font-weight: 500; display: block; }
.exc-h small { font-size: 12.5px; color: var(--ink-3); line-height: 1.3; display: block; }
.exc-play { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: grid; place-items: center; }
.exc-play svg { width: 13px; height: 13px; margin-left: 2px; }
.sets { display: flex; flex-direction: column; gap: 4px; }
.set { display: grid; grid-template-columns: 34px 1fr 64px 64px 44px; gap: 8px; align-items: center; padding: 4px 6px; border-radius: 14px; font-variant-numeric: tabular-nums; }
.set.head { font-size: 11.5px; color: var(--ink-3); padding-bottom: 0; }
.set .prev { font-size: 13px; color: var(--ink-3); }
.set input { width: 100%; height: 40px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .12); color: #fff; text-align: center; font-size: 16px; }
.set input:focus { outline: 2px solid #fff; }
.set.ok { background: rgba(255, 255, 255, .16); }
.chk-btn { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; color: rgba(255, 255, 255, .5); }
.chk-btn svg { width: 18px; height: 18px; }
.chk-btn[aria-pressed="true"] { background: #fff; color: var(--tone-2); }
.exc .btn.link { color: #fff; font-size: 14px; min-height: 34px; display: inline-flex; gap: 6px; }
.rest-bar { position: fixed; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 30; max-width: 520px; margin: 0 auto; display: grid; grid-template-columns: 54px 1fr 54px auto; gap: 8px; align-items: center;
  padding: 10px; border-radius: 26px; background: #fff; color: var(--tone-2); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); }
.rest-bar > div { text-align: center; display: flex; flex-direction: column; }
.rest-bar small { font-size: 12px; opacity: .7; }
.rest-bar b { font-size: 30px; font-weight: 300; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.rest-bar button { height: 46px; border-radius: 16px; background: rgba(0, 0, 0, .06); font-weight: 500; text-align: center; color: inherit; }
.rest-bar .skip { padding: 0 14px; background: var(--tone); color: #fff; }

/* Registro y perfil */
.plain-h { max-width: var(--col); margin: 0 auto; padding: calc(env(safe-area-inset-top) + 28px) var(--gut) 10px; display: flex; flex-direction: column; gap: 4px; }
.plain-h .round-btn { background: rgba(255, 255, 255, .14); align-self: flex-start; margin-bottom: 10px; }
.kpis.big { border: 0; padding: 0; gap: 8px; }
.kpis.big > div { padding: 14px; border-radius: 20px; background: var(--card); border: 1px solid rgba(255, 255, 255, .14); }
.kpis.big b { font-size: 30px; }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 120px; align-items: end; }
.bars .b { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.bars .b i { width: 100%; max-width: 28px; border-radius: 10px; background: rgba(255, 255, 255, .3); min-height: 4px; }
.bars .b.ok i { background: #fff; }
.bars .b span { font-size: 11.5px; color: var(--ink-3); }
.bars .b.now span { color: #fff; font-weight: 600; }
.sueno { list-style: none; margin: 0; padding: 0; }
.sueno li { display: grid; grid-template-columns: 70px 1fr auto; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; font-variant-numeric: tabular-nums; }
.sueno li:first-child { border-top: 0; }
.sueno b { font-weight: 500; }
.hist { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line); }
.hist b { font-weight: 500; }
.hist span { color: var(--ink-2); font-size: 14px; font-variant-numeric: tabular-nums; }
.hist small { color: var(--ink-3); font-size: 12px; }

/* Iconos Material: contorno normal, relleno en la pestaña activa */
.nav a .i-on { display: none; }
.nav a[aria-current] .i-on { display: block; }
.nav a[aria-current] .i-off { display: none; }

/* ==========================================================================
   Estilo B (aprobado por Aarón, 14 nov 2026): fotos de su tablero gym-app en tarjetas grandes
   redondeadas; el fondo toma el color de la foto (--tone fuerte, --tone-2 oscuro, --tone-3 brillo);
   vidrio claro, botones píldora blancos, títulos en mayúsculas gruesas y números grandes y finos.
   ========================================================================== */
body { background: var(--tone-2); transition: background-color .4s; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; transition: opacity .4s;
  background: radial-gradient(95% 55% at 50% 0%, var(--tone), transparent 72%),
              radial-gradient(75% 40% at 100% 100%, color-mix(in srgb, var(--tone-3) 50%, transparent), transparent 70%),
              var(--tone-2); }
:root { --card: rgba(255, 255, 255, .14); --line: rgba(255, 255, 255, .18); --ink-3: rgba(255, 255, 255, .68); --ink-2: rgba(255, 255, 255, .84); }
.wm { font: 500 21px/1 var(--f); letter-spacing: -.035em; }

/* Hoy */
.hoy { max-width: var(--col); margin: 0 auto; padding: calc(env(safe-area-inset-top) + 12px) 16px 0; display: flex; flex-direction: column; gap: 12px; }
.hoy .wrap { width: 100%; margin: 0; padding: 0; gap: 12px; }
.hoy-top { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 2px; }
.hoy-hero { position: relative; isolation: isolate; overflow: hidden; display: block; height: min(600px, 66dvh); min-height: 470px; border-radius: 32px; color: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.hoy-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: saturate(1.1) contrast(1.04); }
.hoy-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, 0) 52%, color-mix(in srgb, var(--tone-2) 82%, transparent)); }
.hoy-hero h1 { position: absolute; top: 22px; left: 22px; right: 22px; font-size: clamp(38px, 12vw, 48px); font-weight: 600; line-height: .98; letter-spacing: -.055em; text-transform: uppercase; text-wrap: balance; }
.hoy-hero h1 span { display: block; font-size: 17px; font-weight: 300; letter-spacing: -.01em; text-transform: none; opacity: .9; margin-bottom: 6px; }
.hoy-note { position: absolute; left: 18px; right: 18px; bottom: 112px; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 18px; font-size: 13.5px; font-weight: 500;
  background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.hoy-note i { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--tone-2); display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 600; }
.hoy-note small { display: block; font-size: 12px; font-weight: 400; opacity: .85; }
.hoy-bot { position: absolute; left: 22px; right: 18px; bottom: 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.hoy-bot b { display: block; font-size: 14.5px; font-weight: 500; }
.hoy-bot p { font-size: 13px; opacity: .82; }
.hoy-go { flex: none; width: auto; display: inline-flex; align-items: center; gap: 6px; height: 58px; padding: 0 24px 0 16px; border-radius: 99px; background: #fff; color: var(--tone-2); font-size: 16px; font-weight: 600; }
.hoy-go svg { width: 26px; height: 26px; }
.glass-card { background: var(--card); border: 1px solid rgba(255, 255, 255, .2); border-radius: 26px; padding: 18px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); color: #fff; }
.week7 { display: flex; justify-content: space-between; gap: 0; }
.week7 > div { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; color: rgba(255, 255, 255, .62); }
.week7 i { width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .15); display: grid; place-items: center; }
.week7 i svg { width: 18px; height: 18px; }
.week7 .ok i { background: #fff; color: var(--tone-2); }
.week7 .now { color: #fff; font-weight: 600; }
.week7 .now i { box-shadow: inset 0 0 0 1.5px #fff; }
.dato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dato { display: flex; flex-direction: column; align-items: stretch; text-align: left; gap: 0; min-width: 0; }
.dato-l { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255, 255, 255, .8); }
.plus { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--tone-2); display: grid; place-items: center; }
.plus svg { width: 18px; height: 18px; }
.dato-n { margin-top: 8px; font-size: clamp(32px, 10vw, 40px); font-weight: 300; letter-spacing: -.05em; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.dato-n small { font-size: 14px; letter-spacing: 0; margin-left: 4px; color: rgba(255, 255, 255, .68); }
.dato-bar { display: block; height: 6px; border-radius: 9px; background: rgba(255, 255, 255, .18); margin: 14px 0 6px; overflow: hidden; }
.dato-bar i { display: block; height: 100%; background: #fff; border-radius: 9px; }
.dato > small { font-size: 12px; color: rgba(255, 255, 255, .68); }
.dato .dato-pie { margin-top: auto; padding-top: 14px; }
.dato.wide { width: 100%; }
.dato:active { transform: scale(.985); }
.dato-form { display: flex; flex-direction: column; gap: 16px; }
.big-in { display: flex; align-items: baseline; gap: 10px; border-bottom: 1px solid var(--line-2); padding-bottom: 8px; }
.big-in input { flex: 1; min-width: 0; width: 100%; background: none; border: 0; color: inherit; font-size: 56px; font-weight: 300; letter-spacing: -.05em; padding: 0; font-variant-numeric: tabular-nums; }
.big-in input:focus { outline: none; }
.big-in span { flex: none; font-size: 16px; opacity: .7; }
.big-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.big-two label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; opacity: .85; min-width: 0; }
.big-two input { width: 100%; min-width: 0; height: 58px; border-radius: 16px; border: 0; background: rgba(255, 255, 255, .14); color: inherit; font-size: 22px; padding: 0 12px; color-scheme: dark; }

/* Cabeceras de las demás pantallas: la foto va en una tarjeta grande redondeada */
.page-hero { height: auto; min-height: 400px; margin: calc(env(safe-area-inset-top) + 12px) 16px 12px; padding: 22px; border-radius: 32px; align-items: flex-end; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.page-hero > img { filter: saturate(1.1) contrast(1.04); object-position: center 22%; }
.page-hero::after { background: linear-gradient(180deg, rgba(0, 0, 0, .32), rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 45%, color-mix(in srgb, var(--tone-2) 85%, transparent)); }
.page-hero.no-ph { min-height: 0; padding-top: 70px; box-shadow: none; background: none; }
.page-hero.no-ph::after { content: none; }
.hero-back { top: 16px; left: 16px; }
.hero-t { font-size: clamp(36px, 11vw, 46px); font-weight: 600; line-height: .98; letter-spacing: -.055em; text-transform: uppercase; text-wrap: balance; }
.hero-t em { font-style: normal; opacity: 1; }
.page-hero .kicker { font-size: 15px; font-weight: 300; opacity: .9; }
.hero-s { opacity: .85; }
.page-hero .cta, .cta { color: var(--tone-2); font-weight: 600; }
.plain-h h1, .plain-h .hero-t { text-transform: uppercase; }

/* Barra de pestañas: vidrio del color de la pantalla; la activa, blanca */
.nav-in { background: color-mix(in srgb, var(--tone-2) 58%, rgba(255, 255, 255, .1)); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5); }
.nav a { color: rgba(255, 255, 255, .78); }
.nav a[aria-current] { background: #fff; color: var(--tone-2); font-weight: 600; }
.nav a svg { width: 23px; height: 23px; }

/* Hojas inferiores con el color de la pantalla */
.sheet { background: color-mix(in srgb, var(--tone-2) 88%, #000); color: #fff; }
.toast i { background: var(--tone); }

/* Programa A/B: bloques de la sesión, densidad con temporizador, progresión */
.parte-h { display: flex; align-items: center; gap: 12px; margin: 14px 2px 2px; }
.parte-h > span { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--tone-2); display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.parte-h b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.03em; text-transform: uppercase; }
.parte-h small { display: block; font-size: 12.5px; color: var(--ink-3); }
.dens-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 22px; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .26); }
.dens-card.ok { background: rgba(255, 255, 255, .1); }
.dens-card .dens-t { font-size: 14px; font-weight: 500; min-width: 0; }
.dens-card label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--ink-2); }
.dens-card input { width: 84px; height: 44px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .16); color: #fff; font-size: 20px; text-align: center; }
.dens-card .btn { flex: none; min-height: 48px; padding: 0 18px; display: inline-flex; align-items: center; gap: 6px; }
.dens-card .btn svg { width: 20px; height: 20px; }
.set.dens { grid-template-columns: 0 0 1fr 1fr 0; }
.set.head.dens { grid-template-columns: 0 0 1fr 1fr 0; }
.sug { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; padding: 3px 10px 3px 6px; border-radius: 99px; background: #fff; color: var(--tone-2); font-style: normal; font-size: 12px; font-weight: 600; }
.sug svg { width: 15px; height: 15px; }
.ses-blq { font-size: 13px; color: var(--ink-2); margin: 0 4px; }
.rest-bar.dens { grid-template-columns: 0 1fr 0 auto; }
.rest-bar.dens [data-rest="-15"], .rest-bar.dens [data-rest="15"] { visibility: hidden; padding: 0; }
.blq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.blq span { padding: 12px; border-radius: 18px; background: var(--card); border: 1px solid rgba(255, 255, 255, .16); display: flex; flex-direction: column; }
.blq span b { font-size: 14px; font-weight: 600; }
.blq span small { font-size: 11.5px; color: var(--ink-3); }
.blq span.on { background: #fff; color: var(--tone-2); }
.blq span.on small { color: var(--tone-2); opacity: .7; }
.blq span.ok { opacity: .6; }

/* Modo guiado: foto/vídeo a sangre arriba, todo lo demás abajo, a mano del pulgar.
   Descanso y «Prepárate»: el reloj manda, en grande y fino. En el descanso la foto se desenfoca. */
.gp { position: fixed; inset: 0; z-index: 20; display: flex; flex-direction: column; color: #fff; background: var(--tone-2); overflow: hidden; }
.gp-media { position: absolute; inset: 0 0 auto; height: 62dvh; background: #111 center/cover no-repeat; transition: height .45s cubic-bezier(.2, .8, .2, 1), filter .45s, transform .45s; }
.gp-media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, transparent 20%, transparent 45%, color-mix(in srgb, var(--tone-2) 80%, transparent) 82%, var(--tone-2) 100%); }
.gp-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .4s; pointer-events: none; transform: scale(1.35); }
.gp-media.playing iframe { opacity: 1; }
.gp-media .clip-play { position: absolute; z-index: 2; top: 42%; left: 50%; transform: translate(-50%, -50%); display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 99px; background: rgba(255, 255, 255, .25); backdrop-filter: blur(12px); color: #fff; }
.gp-media .clip-play svg { width: 16px; height: 16px; }
.gp[data-state="rest"] .gp-media, .gp[data-state="rondas"] .gp-media, .gp[data-state="fin"] .gp-media { height: 100dvh; filter: blur(22px) brightness(.6) saturate(1.2); transform: scale(1.15); }
.gp[data-state="rest"] .gp-media iframe, .gp[data-state="fin"] .gp-media iframe { display: none; }

.gp-top { position: absolute; z-index: 3; top: calc(env(safe-area-inset-top) + 10px); left: 16px; right: 16px; display: flex; flex-direction: column; gap: 12px; }
.gp-prog { display: flex; gap: 6px; }
.gp-prog i { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.gp-prog b { display: block; height: 100%; width: 0; border-radius: 4px; background: #fff; transition: width .4s; }
.gp-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gp-x { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .3); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.gp-x svg { width: 18px; height: 18px; }
.gp-bar > span:nth-child(2) { flex: 1; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0, 0, 0, .45); }
.gp-total { font-size: 13px; font-variant-numeric: tabular-nums; padding: 9px 12px; border-radius: 99px; background: rgba(0, 0, 0, .3); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

.gp-panel { position: relative; z-index: 2; margin: auto auto 0; width: 100%; max-width: var(--col); max-height: calc(100dvh - env(safe-area-inset-top) - 96px);
  padding: 0 20px calc(env(safe-area-inset-bottom) + 18px); display: flex; flex-direction: column; gap: 12px; }
.gp-kick { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 30px; }
.gp-chip { padding: 7px 13px; border-radius: 99px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: rgba(255, 255, 255, .2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.gp-chip:empty { display: none; }
.gp[data-state="rest"] .gp-chip, .gp[data-state="prep"] .gp-chip, .gp[data-state="fin"] .gp-chip { background: #fff; color: var(--tone-2); }
.gp-dots { display: inline-flex; align-items: center; gap: 5px; }
.gp-dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .3); transition: width .3s; }
.gp-dots i.ok { background: rgba(255, 255, 255, .75); }
.gp-dots i.on { width: 22px; background: #fff; }
.gp-dots span { margin-left: 6px; font-size: 12px; font-weight: 600; opacity: .85; font-variant-numeric: tabular-nums; }
.gp-panel h1 { font-size: clamp(34px, 10.5vw, 48px); font-weight: 700; line-height: .95; letter-spacing: -.045em; text-transform: uppercase; text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.gp-body { min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 12px; scrollbar-width: none; }

/* Dosis en grande: 8 por lado · 12 kg */
.gp-dose { display: flex; align-items: flex-end; gap: 28px; width: 100%; padding: 2px 0 4px; background: none; border: 0; color: #fff; text-align: left; }
.gp-dose > span { display: flex; flex-direction: column; gap: 6px; }
.gp-dose b { font-size: clamp(72px, 24vw, 96px); font-weight: 200; line-height: .82; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.gp-dose small { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.gp-dose i { margin-left: auto; align-self: center; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); }
.gp-dose i svg { width: 18px; height: 18px; }

/* Reloj: número fino enorme y barra que se llena */
.gp-clock { display: flex; align-items: baseline; gap: 12px; }
.gp-clock b { font-size: clamp(96px, 32vw, 136px); font-weight: 200; line-height: .8; letter-spacing: -.06em; font-variant-numeric: tabular-nums; transition: color .2s; }
.gp-clock small { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.gp-line { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.gp-line i { display: block; height: 100%; width: 0; border-radius: 6px; background: #fff; transition: width .12s linear; }
.gp[data-state="rest"] .gp-line i { background: color-mix(in srgb, var(--tone-3) 55%, #fff); }
.gp.ult3 .gp-clock b { animation: gp-late .5s ease-in-out infinite alternate; }
@keyframes gp-late { to { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .gp.ult3 .gp-clock b { animation: none; } }
.gp[data-state="rest"] .gp-clock b { font-size: clamp(110px, 38vw, 160px); }
.gp[data-state="rest"] .gp-clock small { display: none; }

.gp-kg { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 99px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-size: 16px; font-weight: 600; }
.gp-kg i { display: grid; opacity: .7; } .gp-kg i svg { width: 15px; height: 15px; }
.gp-adj { display: flex; gap: 10px; }
.gp-adj button { min-height: 44px; padding: 0 18px; border-radius: 99px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .24); color: #fff; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.gp-sub { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
p.gp-sub { font-size: 15px; letter-spacing: .02em; text-transform: none; opacity: .9; }

/* Lo siguiente: miniatura + nombre + dosis */
.gp-next { display: flex; align-items: center; gap: 12px; padding: 9px 14px 9px 9px; border-radius: 20px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.gp-next img, .gp-next .ico { flex: none; width: 46px; height: 46px; border-radius: 14px; object-fit: cover; }
.gp-next .ico { display: grid; place-items: center; background: rgba(255, 255, 255, .16); }
.gp-next .ico svg { width: 22px; height: 22px; }
.gp-next > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gp-next small { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .65; }
.gp-next b { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-next em { font-style: normal; font-size: 14px; opacity: .8; white-space: nowrap; }

.gp-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.gp-meta span { padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 500; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .18); }
.gp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.gp-list li { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 12px; padding: 7px 14px 7px 7px; border-radius: 18px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .15); }
.gp-list img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.gp-list li > span { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.gp-list b { font-weight: 600; font-size: 15px; line-height: 1.2; }
.gp-list small { color: rgba(255, 255, 255, .75); font-size: 13px; font-variant-numeric: tabular-nums; }
.gp-sec { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 99px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .26); font-weight: 600; }
.gp-sec svg { width: 18px; height: 18px; }
.gp-sec.ghost { background: none; }
.gp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 6px 0 4px; }
.gp-kpis div { display: flex; flex-direction: column; gap: 6px; }
.gp-kpis b { font-size: clamp(36px, 11vw, 48px); font-weight: 200; line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.gp-kpis span { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.gp-rondas { display: flex; align-items: baseline; gap: 12px; border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 6px; }
.gp-rondas input { width: 150px; background: none; border: 0; color: #fff; font-size: 104px; font-weight: 200; letter-spacing: -.06em; line-height: 1; }
.gp-rondas input:focus { outline: none; }
.gp-rondas span { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }

.gp-ctrl { flex: none; display: grid; grid-template-columns: 56px 1fr 56px; gap: 14px; align-items: center; justify-items: center; padding-top: 6px; }
.gp-rb { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.gp-rb svg { width: 24px; height: 24px; }
.gp-rb:disabled { opacity: .3; }
.gp-pri { width: 100%; height: 64px; border-radius: 99px; background: #fff; color: var(--tone-2); font-size: 18px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .6); }
.gp-pri svg { width: 26px; height: 26px; }
.gp-pri.round { width: 78px; height: 78px; border-radius: 50%; }
.gp-pri.round svg { width: 34px; height: 34px; }
@media (max-height: 760px) {
  .gp-media { height: 54dvh; }
  .gp-panel { gap: 10px; }
  .gp-list li { grid-template-columns: 36px 1fr; padding: 5px 12px 5px 5px; }
  .gp-list img { width: 36px; height: 36px; border-radius: 10px; }
  .gp[data-state="rest"] .gp-clock b { font-size: 96px; }
}

.parte-go { margin-left: auto; flex: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; }
.parte-go svg { width: 22px; height: 22px; }
.guia-btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; color: var(--tone-2); font-weight: 600; }
.guia-btn svg { width: 22px; height: 22px; }
.cta-sec { align-self: flex-start; margin-top: 6px; font-size: 14px; font-weight: 500; opacity: .9; text-decoration: underline; text-underline-offset: 3px; }

/* Diseño v2 (15-11-2026) ---------------------------------------------------------------
   1. Los colores que dependen del tono se calculan en body (donde main.js pone el tono de la foto),
      no en :root: así el texto de los botones blancos y los acentos siguen a cada foto.
   2. Titulares: Funnel Display (y textos en Funnel Sans): grotesca con carácter, grande y apretada, mayúscula inicial, en la línea de la referencia «Performance is not pressure». Nada de Inter: está cansado de verla (16-11-2026; probó Bricolage, Syne, Archivo e Inter Tight). */
body { --bg: var(--tone); --on-acc: var(--tone-2); }
:root { --disp: "Funnel Display", "Funnel Sans", system-ui, sans-serif; }
.hoy-hero h1, .hero-t, .plain-h h1, .plain-h .hero-t, .hero-title, .gp-panel h1, .cp-mid h1, .mv-panel h1, .parte-h b {
  font-family: var(--disp); text-transform: none; font-weight: 500; letter-spacing: -.045em; }
.hoy-hero h1 { font-size: clamp(44px, 13.5vw, 56px); line-height: .94; }
.hero-t { font-size: clamp(42px, 13vw, 54px); line-height: .94; }
.gp-panel h1 { font-size: clamp(36px, 11vw, 46px); line-height: .94; }
.hoy-hero h1 span { font-family: var(--f); text-transform: none; font-weight: 300; letter-spacing: -.01em; }
.parte-h b { font-size: 24px; letter-spacing: -.04em; }

/* Tu semana (Entrenar): una fila por día con lo que toca, hecho o pendiente */
.sem-prog { margin: -6px 0 2px; font-size: 13px; color: var(--ink-2); }
.semana { display: flex; flex-direction: column; gap: 6px; }
.sem-d { display: grid; grid-template-columns: 44px 40px 1fr auto; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 20px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .12); }
.sem-d.now { background: #fff; color: var(--tone-2); border-color: #fff; }
.sem-d.miss { opacity: .55; }
.sem-l { display: flex; flex-direction: column; align-items: center; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .75; line-height: 1.1; }
.sem-l b { font-family: var(--disp); font-size: 22px; font-weight: 400; letter-spacing: -.03em; text-transform: none; }
.sem-d > i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); }
.sem-d.now > i { background: color-mix(in srgb, var(--tone-2) 12%, transparent); }
.sem-d > i svg { width: 22px; height: 22px; }
.sem-t { min-width: 0; display: flex; flex-direction: column; }
.sem-t b { font-weight: 600; font-size: 15px; line-height: 1.25; }
.sem-t small { font-size: 13px; opacity: .75; }
.sem-d em { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--tone-2); }
.sem-d.now em { background: var(--tone-2); color: #fff; }
.sem-d em svg { width: 16px; height: 16px; }
a.week7 { color: inherit; }

/* Cabeceras a sangre (16-11-2026): la foto ocupa todo el ancho y llega hasta arriba (bajo la barra de estado),
   con las esquinas de abajo redondeadas. Arriba, en todas las pantallas: (volver) · ethos. · perfil. */
.topbar { position: absolute; z-index: 5; top: calc(env(safe-area-inset-top) + 12px); left: 16px; right: 16px; display: flex; align-items: center; gap: 10px; color: #fff; }
.topbar .wm { margin-right: auto; font: 600 23px/1 var(--f); letter-spacing: -.04em; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.topbar .wm i { font-style: normal; color: var(--tone-3); }
.tb-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.tb-btn svg { width: 18px; height: 18px; }
.page-hero { margin: 0; border-radius: 0 0 34px 34px; min-height: calc(480px + env(safe-area-inset-top)); padding: calc(env(safe-area-inset-top) + 80px) 22px 26px; box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .6); }
.page-hero.no-ph { min-height: 0; padding-top: calc(env(safe-area-inset-top) + 84px); }
.page-hero > img { object-position: center 25%; }
.page-hero::after { background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .12) 18%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 45%, color-mix(in srgb, var(--tone-2) 88%, transparent)); }
.hoy { position: relative; max-width: none; padding: 0 0 0; }
.hoy > .topbar { position: absolute; }
.hoy-hero { height: calc(min(640px, 72dvh) + env(safe-area-inset-top)); min-height: 520px; border-radius: 0 0 34px 34px; }
.hoy-hero h1 { top: calc(env(safe-area-inset-top) + 80px); }
.hoy-hero::after { background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .12) 18%, rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, 0) 52%, color-mix(in srgb, var(--tone-2) 84%, transparent)); }
.hoy .wrap { width: 100%; max-width: var(--col); margin: 0 auto; padding: 0 16px; }
.plain-h { position: relative; padding-top: calc(env(safe-area-inset-top) + 84px); }
.plain-h > .topbar { left: var(--gut); right: var(--gut); }

/* Logotipo «Paso» en la barra (16-11-2026): isotipo + «ethos» en Funnel Display 500, como los títulos */
.topbar .wm { display: inline-flex; align-items: center; gap: .06em; font: 500 25px/1 var(--disp); letter-spacing: -.045em; }
.topbar .wm .iso { width: .9em; height: .9em; margin-top: .06em; filter: drop-shadow(0 1px 8px rgba(0, 0, 0, .3)); }
.topbar .wm .iso path, .topbar .wm .iso circle { fill: currentColor; }

/* Yoga: la postura entera en una tarjeta arriba; detrás, la misma foto desenfocada (16-11-2026) */
.cp-bg.difusa { filter: blur(26px) brightness(.85) saturate(1.1); transform: scale(1.2); }
.cp-pose { position: absolute; z-index: 1; top: calc(env(safe-area-inset-top) + 68px); left: 0; right: 0; margin: 0 auto;
  width: min(calc(100% - 32px), 520px, 40dvh * 10 / 9); aspect-ratio: 10 / 9; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.cp-pose.espejo { transform: scaleX(-1); }

/* Hoy como panel (16-11-2026): semana con números, resumen, objetivo, programa y racha */
.hoy .wrap { display: flex; flex-direction: column; gap: 12px; padding-bottom: 8px; }
.hsec { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.hsec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 4px; }
.hsec-h h2 { font: 500 24px/1.1 var(--disp); letter-spacing: -.045em; }
.hsec-h a, .hsec-h > span { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.hsec-h a svg { width: 13px; height: 13px; }
.sem7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; padding: 14px 8px; }
.s7 { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.s7-l { font-size: 11.5px; color: var(--ink-3); }
.s7-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; background: rgba(255, 255, 255, .12); }
.s7-n svg { width: 18px; height: 18px; }
.s7-t { font-size: 10.5px; color: var(--ink-3); white-space: nowrap; }
.s7.t-libre .s7-n { background: transparent; border: 1px dashed rgba(255, 255, 255, .3); }
.s7.ok .s7-n { background: #fff; color: var(--tone-2); border: 0; }
.s7.miss .s7-n { color: rgba(255, 255, 255, .45); text-decoration: line-through; }
.s7.now .s7-l, .s7.now .s7-t { color: #fff; font-weight: 600; }
.s7.now .s7-n { box-shadow: 0 0 0 2px var(--tone-2), 0 0 0 3.5px #fff; }
.kpis4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.kpi { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 12px 12px 12px; border-radius: 20px; background: var(--card); border: 1px solid rgba(255, 255, 255, .16); }
.kpi b { font: 500 24px/1.1 var(--disp); letter-spacing: -.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.kpi b small { font: 400 13px var(--f); color: var(--ink-3); letter-spacing: 0; }
.kpi > span { font-size: 11.5px; line-height: 1.25; color: var(--ink-3); }
.kpi-bar { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .16); margin-top: auto; padding-top: 0; overflow: hidden; }
.kpi > span + .kpi-bar { margin-top: 8px; }
.kpi-bar i { display: block; height: 100%; background: #fff; border-radius: 4px; }
@media (max-width: 400px) { .kpis4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dato.cena { gap: 0; }
.cena-n { margin-top: 10px; font: 500 18px/1.2 var(--disp); letter-spacing: -.03em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dato.cena small { margin-top: auto; padding-top: 8px; font-size: 12px; color: var(--ink-3); }
.obj { display: flex; flex-direction: column; gap: 10px; }
.obj-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.obj-n { font: 300 44px/1 var(--f); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.obj-n small { font-size: 15px; margin-left: 4px; color: var(--ink-3); letter-spacing: 0; }
.obj-top > span { font-size: 13px; color: var(--ink-2); }
.obj-bar { position: relative; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .16); margin-top: 4px; }
.obj-bar > i { position: absolute; inset: 0 auto 0 0; border-radius: 8px; background: #fff; }
.obj-bar > em { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); }
.obj-ends { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.obj-rows { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; }
.obj-rows li { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.obj-rows span { font-size: 13.5px; color: var(--ink-2); }
.obj-rows b { font-weight: 500; font-size: 14.5px; text-align: right; font-variant-numeric: tabular-nums; }
.obj-rows small { grid-column: 2; text-align: right; font-size: 12px; color: var(--ink-3); }
.prog2 { display: flex; flex-direction: column; padding: 4px 18px; }
.prog2 > a { display: flex; flex-direction: column; gap: 10px; padding: 14px 0; }
.prog2 > a + a { border-top: 1px solid rgba(255, 255, 255, .14); }
.prog-l { display: flex; flex-direction: column; }
.prog-l b { font-weight: 500; font-size: 15.5px; }
.prog-l small { font-size: 12.5px; color: var(--ink-3); }
.segs { display: flex; gap: 3px; }
.segs i { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .16); }
.segs i.gap { margin-left: 5px; }
.segs i.on { background: #fff; }
.segs i.cur { background: rgba(255, 255, 255, .5); }
.racha { display: flex; align-items: center; gap: 14px; margin: 10px 0 4px; }
.racha-i { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--tone-2); display: grid; place-items: center; }
.racha-i svg { width: 24px; height: 24px; }
.racha-t { display: flex; flex-direction: column; min-width: 0; }
.racha-t b { font: 500 19px/1.2 var(--disp); letter-spacing: -.035em; }
.racha-t small { font-size: 12.5px; color: var(--ink-3); }

/* Perfil: pegar o copiar los datos como texto (16-11-2026) */
.datos-txt { width: 100%; min-height: 160px; resize: vertical; padding: 12px 14px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(0, 0, 0, .18); color: #fff; font: 12px/1.4 ui-monospace, monospace; }
.datos-txt::placeholder { color: rgba(255, 255, 255, .45); }

/* Correr con el reloj: los pasos con los botones de cuenta atrás que se pulsan (16-11-2026) */
.reloj { list-style: none; margin: 0; padding: 0; counter-reset: r; display: flex; flex-direction: column; }
.reloj li { counter-increment: r; display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.reloj li:first-child { border-top: 0; }
.reloj li::before { content: counter(r); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 600; background: rgba(255, 255, 255, .16); }
.reloj li > span:first-of-type { font-size: 14.5px; line-height: 1.3; min-width: 0; }
.rbs { display: inline-flex; align-items: center; gap: 4px; }
.rbs em { font-style: normal; font-size: 12px; color: var(--ink-3); }
.rb { min-width: 38px; height: 38px; padding: 0 8px; border-radius: 50%; display: grid; place-items: center; font: 500 16px/1 var(--disp); font-style: normal; letter-spacing: -.03em; background: #fff; color: var(--tone-2); }
.hecho-hoy { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 99px; background: rgba(255, 255, 255, .16); font-weight: 500; }
.hecho-hoy svg { width: 18px; height: 18px; }
