/* Entrenar sin reloj (live-log.js): the big numbers first, controls large enough to use while moving. */
.live-log .player-head{min-width:0}.live-log .live-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;flex:1}
.live-status{margin:0;text-align:center}
.live-total{margin:0;font-size:3.4rem;font-weight:700;line-height:1.05;text-align:center;font-variant-numeric:tabular-nums}
.live-caption{margin:0;text-align:center;font-size:.85rem}
.live-block,.live-next,.live-rest{display:grid;gap:4px;min-width:0;background:var(--card);border:1px solid var(--sep);border-left:6px solid var(--blue);border-radius:18px;padding:12px 14px}
.live-block.str{border-left-color:var(--pink)}
.live-next,.live-rest{border-left-width:1px}
.live-name{font-size:1.35rem;line-height:1.2;overflow-wrap:anywhere}
.live-left{font-size:2.5rem;font-variant-numeric:tabular-nums;line-height:1.1}
.live-sub{margin:0}
.live-block input[type=text]{font-size:1.1rem;padding:10px;width:100%;box-sizing:border-box}
.live-steppers{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.live-stepper{display:grid;gap:2px;text-align:center;min-width:0}.live-stepper label{font-size:.8rem;color:var(--muted)}
.live-val{font-size:1.9rem;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.live-val small{font-size:.9rem;color:var(--muted)}
.live-pm{display:flex;gap:6px}.live-pm button{flex:1;min-height:46px;font-size:1.3rem;font-weight:600}
.live-ctrls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.live-ctrls button{min-height:52px;font-size:1rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.live-done summary{cursor:pointer;color:var(--muted)}.live-done ul{margin:6px 0 0;padding-left:18px}
.live-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.live-kpis div{display:grid;text-align:center;border:1px solid var(--sep);border-radius:14px;padding:10px 6px;min-width:0}
.live-kpis b{font-size:1.3rem;white-space:nowrap}.live-kpis span{font-size:.75rem;color:var(--muted)}
.live-rpe{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:6px}
.live-rpe button{min-height:44px;min-width:0;padding:0;font-weight:600}
@media (max-width:560px){.live-rpe{grid-template-columns:repeat(5,minmax(0,1fr))}}
.live-ctrls button,.live-pm button,.live-sports button{min-width:0}
.live-rpe button[aria-pressed=true]{background:var(--accent,#c8ff31);color:var(--on-accent);border-color:var(--accent,#c8ff31)}
.live-sports{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px}
.live-sports button{min-height:48px}
@media (min-width:900px){.live-log{max-width:640px}}
/* Phase 2: the figures in large, like a bike computer; each metric keeps its colour (speed blue, heart red, power purple…). */
.live-record{display:grid;gap:6px}
.live-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.live-field{display:grid;gap:2px;min-width:0;padding:10px 12px;border-radius:16px;background:var(--card);border:1px solid var(--sep);border-top:4px solid var(--field,var(--accent,#c8ff31))}
.live-field span{font-size:.78rem;color:var(--muted)}
.live-field b{font-size:2.1rem;line-height:1.05;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.live-field b small{font-size:.85rem;font-weight:600;color:var(--muted)}
.live-record-line{margin:0;text-align:center}
@media (min-width:640px){.live-fields{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Gym mode and live screens have no bottom bar: on a phone the theme switch goes, so the header never runs off the screen (reestudio 18 nov). */
@media (max-width:639px){body:has(#app > .player) header.top{flex-wrap:nowrap;gap:4px}body:has(#app > .player) #theme-toggle{display:none}}
