/* Training (#/training) · Präfix tr- (Seiten) und tp- (geführtes Training, Vollbild)
   Licht statt Rahmen: Bilder laufen weich in den Hintergrund aus, Timer leuchten in der Farbe der Phase. */
.tr { --ember: #ff7a4d; --ember-2: #ffb15e; --tcy: #38d9e6; display: flex; flex-direction: column; gap: 18px; max-width: 760px; margin: 0 auto; width: 100%; padding-bottom: 40px; }
.tr svg:where([class=""]), .tp svg:where([class=""]) { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.tr .h1 { letter-spacing: -0.02em; }

/* Hero: Bild ohne Kante, läuft unten und seitlich in den Hintergrund */
.tr-hero, .tr-phero, .tr-exhero { position: relative; margin: -18px -18px 0; min-height: 300px; display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.tr-hero > img, .tr-phero > img, .tr-exhero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; object-position: 60% 25%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 20%, #000 48%, transparent 98%); mask-image: linear-gradient(180deg, transparent 0, #000 20%, #000 48%, transparent 98%); }
.tr-hero::after, .tr-phero::after, .tr-exhero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 70% at 20% 100%, rgba(6, 10, 21, .92), transparent 70%), linear-gradient(90deg, rgba(6, 10, 21, .55), transparent 60%); }
.tr-hero-in, .tr-phero-in, .tr-exhero-in { padding: 120px 20px 6px; width: 100%; }
.tr-hero .h1 { font-size: clamp(28px, 7vw, 40px); max-width: 14ch; margin: 6px 0 14px; }
.tr-hero .eyebrow, .tr-phero .eyebrow, .tr-exhero .eyebrow { color: var(--ember-2); }
.tr-phero p { color: var(--text-2); margin: 6px 0 0; }
.tr-phero.sm { min-height: 230px; }
.tr-exhero { min-height: 340px; }
.tr-xback { position: absolute; top: 14px; left: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(6, 10, 21, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; z-index: 2; }

.tr-stats { display: flex; gap: 22px; }
.tr-stats span { display: flex; flex-direction: column; }
.tr-stats b { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.05; }
.tr-stats b small { font-size: 15px; color: var(--muted); font-weight: 700; }
.tr-stats > span > small { color: var(--muted); font-size: 12px; font-weight: 600; }
.tr-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 16px; }
.tr-wd { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); font-weight: 700; }
.tr-wd i { width: 100%; max-width: 40px; aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); color: var(--text-2); }
.tr-wd.plan i { background: rgba(255, 122, 77, .12); color: var(--ember-2); box-shadow: inset 0 0 0 1px rgba(255, 122, 77, .3); }
.tr-wd.done i { background: linear-gradient(135deg, var(--ember), var(--ember-2)); color: #1b0d05; box-shadow: 0 6px 18px -6px rgba(255, 122, 77, .8); }
.tr-wd.now small { color: var(--text); }
.tr-wd.now i { outline: 2px solid rgba(255, 255, 255, .5); outline-offset: 2px; }

/* Heute */
.tr-today { position: relative; border-radius: 24px; overflow: hidden; min-height: 210px; display: flex; align-items: flex-end; isolation: isolate; box-shadow: 0 30px 60px -30px rgba(255, 122, 77, .45); }
.tr-today > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tr-today::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 10, 21, .95) 10%, rgba(6, 10, 21, .2) 75%); }
.tr-today-in { padding: 18px; display: flex; flex-direction: column; gap: 4px; width: 100%; }
.tr-today-in small { color: var(--ember-2); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 11px; }
.tr-today-in b { font-size: 24px; font-weight: 800; }
.tr-today-in > span { color: var(--text-2); font-size: 14px; margin-bottom: 10px; }
.tr-today.live { box-shadow: 0 0 0 1px rgba(255, 177, 94, .5), 0 30px 60px -24px rgba(255, 122, 77, .7); }
.tr-today.live small::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); margin-right: 8px; animation: tr-blink 1.2s infinite; }
@keyframes tr-blink { 50% { opacity: .2; } }
.tr .btn.primary { background: linear-gradient(135deg, var(--ember), var(--ember-2)); color: #1b0d05; box-shadow: 0 12px 30px -12px rgba(255, 122, 77, .9); }
.tr-free, .tr-done { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.tr-free div, .tr-done div { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.tr-free small, .tr-done small { color: var(--muted); font-size: 13px; }
.tr-done > svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: rgba(61, 220, 151, .15); color: var(--ok); }

/* Werkzeuge mit Licht */
.tr-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tr-tool { position: relative; overflow: hidden; border-radius: 20px; padding: 16px 12px 14px; min-height: 124px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; background: var(--surface-solid); border: 1px solid var(--line); isolation: isolate; transition: transform .2s var(--ease-out); }
.tr-tool:active { transform: scale(.97); }
.tr-tool > svg { width: 30px; height: 30px; margin-bottom: auto; color: var(--c1); filter: drop-shadow(0 0 10px var(--c1)); }
.tr-tool b { font-size: 14px; white-space: nowrap; }
.tr-tool small { font-size: 11px; color: var(--muted); line-height: 1.3; }
.tr-glow { position: absolute; z-index: -1; width: 160%; aspect-ratio: 1; left: -30%; top: -95%; background: radial-gradient(circle, var(--c1), transparent 60%); opacity: .28; animation: tr-breathe 5s ease-in-out infinite; }
.t-ring { --c1: #ff6a3d; } .t-int { --c1: #9dff6a; } .t-sw { --c1: #38d9e6; }
.t-int .tr-glow { animation-delay: -1.6s; } .t-sw .tr-glow { animation-delay: -3.2s; }
@keyframes tr-breathe { 50% { opacity: .45; transform: scale(1.08); } }

/* Programme als Bildkarten */
.tr-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 6px; }
.tr-h .h3 { margin: 0; }
.tr-more { color: var(--ember-2); font-weight: 700; font-size: 14px; display: inline-flex; gap: 4px; align-items: center; }
.tr-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -18px; padding: 2px 18px 8px; scrollbar-width: none; }
.tr-rail::-webkit-scrollbar { display: none; }
.tr-pc { position: relative; flex: 0 0 min(64vw, 230px); aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; scroll-snap-align: start; isolation: isolate; display: flex; align-items: flex-end; }
.tr-rail.sm .tr-pc { flex-basis: min(46vw, 180px); aspect-ratio: 3 / 4; }
.tr-pc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease-out); }
.tr-pc::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 10, 21, .96) 8%, rgba(6, 10, 21, .1) 62%); }
@media (hover: hover) { .tr-pc:hover img { transform: scale(1.05); } }
.tr-pc-in { padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.tr-pc-in em { font-style: normal; font-size: 11px; font-weight: 800; color: var(--ember-2); letter-spacing: .04em; }
.tr-pc-in b { font-size: 18px; font-weight: 800; line-height: 1.15; }
.tr-pc-in small { font-size: 12px; color: var(--text-2); }

/* Muskelgruppen: Karte leuchtet aus dem Dunkel */
.tr-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.tr-groups a { position: relative; border-radius: 18px; overflow: hidden; background: radial-gradient(90% 80% at 50% 30%, #0f1a3a, #070b17); padding: 0 12px 12px; display: flex; flex-direction: column; isolation: isolate; border: 1px solid var(--line); }
.tr-groups img { width: 130%; margin: 0 -15% -6px; aspect-ratio: 16 / 9; object-fit: cover; }
.tr-groups b { font-size: 15px; }
.tr-groups small { color: var(--muted); font-size: 12px; }

.tr-two { display: grid; gap: 10px; }
.tr-link { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-align: left; color: inherit; font: inherit; width: 100%; }
.tr-link > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.tr-link small { color: var(--muted); font-size: 13px; }
.tr-li { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 122, 77, .12); color: var(--ember-2); flex: none; }
.tr-li.pro { background: rgba(255, 204, 122, .14); color: #ffd27a; }
.tr-hist { display: flex; flex-direction: column; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.tr-hr { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); }
.tr-hr:first-child { border-top: 0; }
.tr-hr .sp { flex: 1; display: flex; flex-direction: column; }
.tr-hr small { color: var(--muted); font-size: 12.5px; }
.tr-pr { font-style: normal; color: #ffd27a; font-weight: 800; font-size: 13px; display: inline-flex; gap: 4px; align-items: center; }

/* Programm */
.tr-sum { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.tr-sum span { display: flex; flex-direction: column; align-items: center; padding: 12px 6px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.tr-sum b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tr-sum small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.tr-exl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tr-exl a { display: flex; align-items: center; gap: 14px; padding: 8px 12px 8px 8px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.tr-exl .sp { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tr-exl small { color: var(--text-2); font-size: 13px; }
.tr-exl em { font-style: normal; font-size: 12px; color: var(--ember-2); font-weight: 700; }
.tr-thumb { position: relative; width: 74px; height: 74px; border-radius: 14px; overflow: hidden; flex: none; display: grid; place-items: center; background: #0b1226; color: var(--muted); }
.tr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tr-thumb i { position: absolute; left: 6px; top: 6px; min-width: 20px; height: 20px; border-radius: 10px; background: rgba(6, 10, 21, .75); font-style: normal; font-size: 11px; font-weight: 800; display: grid; place-items: center; color: #fff; }
.tr-note { padding: 0 4px; }
.tr-sticky { position: sticky; bottom: calc(var(--tabbar) + 12px + env(safe-area-inset-bottom)); z-index: 5; }
.tr-go { box-shadow: 0 18px 40px -12px rgba(255, 122, 77, .9) !important; }
.btn.lg.tr-go { min-height: 58px; font-size: 17px; }
.tr-cfg { display: flex; flex-direction: column; gap: 14px; }
.tr-f { display: flex; flex-direction: column; gap: 8px; }
.tr-f > small { color: var(--muted); font-weight: 700; font-size: 12.5px; }
.tr-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.tr-opts button, .tr-step button { font: inherit; color: inherit; border: 1px solid var(--line-2); background: var(--surface); border-radius: 12px; padding: 10px 14px; font-weight: 700; min-width: 56px; }
.tr-opts button.on { background: linear-gradient(135deg, var(--ember), var(--ember-2)); color: #1b0d05; border-color: transparent; }
.tr-step { display: flex; align-items: center; gap: 16px; }
.tr-step b { font-size: 26px; min-width: 2ch; text-align: center; }

/* Übungen */
.tr-top { display: flex; flex-direction: column; gap: 8px; }
.tr-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 0 18px; }
.tr-chips a { flex: none; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 700; font-size: 13.5px; }
.tr-chips a.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.tr-lib { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.tr-lib a { display: flex; flex-direction: column; gap: 3px; }
.tr-lib-img { aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: radial-gradient(#101a38, #070b17); margin-bottom: 6px; }
.tr-lib-img img { width: 100%; height: 100%; object-fit: cover; }
.tr-lib-img img.mx { object-fit: contain; }
.tr-lib b { font-size: 14.5px; line-height: 1.25; }
.tr-lib small { color: var(--muted); font-size: 12px; }
.tr-muscle { position: relative; border-radius: 24px; background: radial-gradient(70% 90% at 50% 40%, #0f1a3d, #060a15 80%); padding: 4px 0 14px; overflow: hidden; }
.tr-muscle img { display: block; width: 112%; margin: 0 -6%; filter: drop-shadow(0 0 30px rgba(47, 107, 255, .25)); }
.tr-mleg { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0 16px; }
.tr-mleg span { display: grid; grid-template-columns: 12px 1fr; column-gap: 8px; align-items: center; }
.tr-mleg i { width: 12px; height: 12px; border-radius: 4px; grid-row: span 2; }
.tr-mleg i.a { background: #2f6bff; box-shadow: 0 0 12px #2f6bff; } .tr-mleg i.b { background: #2a4a9a; }
.tr-mleg small { color: var(--muted); font-size: 11.5px; }
.tr-cues ol, .tr-tc { margin: 10px 0 0; padding: 0; list-style: none; counter-reset: c; display: flex; flex-direction: column; gap: 10px; }
.tr-cues li, .tr-tc li { counter-increment: c; display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.tr-cues li::before, .tr-tc li::before { content: counter(c); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: rgba(255, 122, 77, .14); color: var(--ember-2); }
.tr-err { display: flex; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 107, 122, .08); border: 1px solid rgba(255, 107, 122, .22); }
.tr-err > svg { color: var(--danger); margin-top: 2px; }
.tr-err span { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--text-2); }
.tr-err b { color: var(--text); }
.tr-best { display: flex; gap: 8px; align-items: center; color: #ffd27a; }
.tr-mine-l { display: flex; flex-direction: column; gap: 6px; }
.tr-mine-l div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface); font-variant-numeric: tabular-nums; }
.tr-mine-l small { color: var(--muted); }
.tr-prs { display: flex; flex-direction: column; gap: 6px; }
.tr-prs div { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 12px; background: rgba(255, 210, 122, .07); }
.tr-7 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; height: 110px; align-items: end; margin: 12px 0; }
.tr-7 span { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.tr-7 i { width: 100%; max-width: 30px; border-radius: 8px; background: rgba(255, 255, 255, .07); }
.tr-7 span.on i { background: linear-gradient(0deg, var(--ember), var(--ember-2)); box-shadow: 0 0 14px -2px rgba(255, 122, 77, .7); }
.tr-7 small { font-size: 11px; color: var(--muted); }
.tr-el { display: flex; flex-direction: column; gap: 10px; }
.tr-el div { display: flex; flex-direction: column; gap: 2px; }
.tr-el span { color: var(--text-2); font-size: 14px; }
.tr-recempty { display: flex; flex-direction: column; gap: 10px; }
.tr-recempty div { display: grid; grid-template-columns: 12px 1fr; column-gap: 10px; }
.tr-recempty i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); grid-row: span 2; margin-top: 5px; }
.tr-recempty small { color: var(--muted); }
.tr-tsheet .tr-tmx { width: 112%; margin: 0 -6%; display: block; filter: drop-shadow(0 0 24px rgba(47, 107, 255, .25)); }
.tr-jl { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.tr-jl button { display: flex; align-items: center; gap: 12px; padding: 6px 10px 6px 6px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: inherit; font: inherit; text-align: left; }
.tr-jl button.on { border-color: var(--ember); box-shadow: 0 0 0 1px var(--ember); }
.tr-jl .tr-thumb { width: 56px; height: 56px; }
.tr-jl .sp { flex: 1; display: flex; flex-direction: column; }
.tr-jl small { color: var(--muted); }
.tr-jl button.ok > svg { color: var(--ok); }
.tr-fin { position: relative; text-align: center; isolation: isolate; }
.tr-fin .btn.primary { background: linear-gradient(135deg, #ff7a4d, #ffb15e); color: #1b0d05; border: 0; box-shadow: 0 14px 34px -14px rgba(255, 122, 77, .9); }
.tr-fin-glow { position: absolute; left: 50%; top: -30px; width: 300px; height: 210px; transform: translateX(-50%); z-index: -1; background: radial-gradient(closest-side, rgba(255, 177, 94, .38), rgba(255, 177, 94, .12) 55%, transparent); pointer-events: none; animation: tr-soft 3s ease-in-out infinite; }
@keyframes tr-soft { 50% { opacity: .6; } }
.tr-trophy { position: relative; width: 76px; height: 76px; margin: 6px auto 8px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--ember, #ff7a4d), #ffd27a); color: #1b0d05; box-shadow: 0 0 40px rgba(255, 177, 94, .6); animation: tr-pop .6s var(--ease-out) both; }
.tr-trophy svg { width: 36px; height: 36px; }
@keyframes tr-pop { from { transform: scale(.4); opacity: 0; } }
.tr-fin .tr-sum { margin: 14px 0; }
.tr-prl { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 6px; }
.tr-prl li { display: flex; gap: 8px; justify-content: center; align-items: center; color: #ffd27a; font-weight: 700; }
.tr-km { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 10px; }
.tr-km .input { max-width: 120px; }
.tr-drop { display: block; margin: 8px auto 0; }
.tr-lock { min-height: 520px; }

/* ================= Geführtes Training (Vollbild) ================= */
body.tp-open { overflow: hidden; }
.tp { --a1: #ff7a4d; --a2: #ffb15e; position: fixed; inset: 0; z-index: 1000; background: #05070f; color: #fff; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; padding-bottom: env(safe-area-inset-bottom); }
.tp[data-ph='rest'] { --a1: #38d9e6; --a2: #5b7cff; }
.tp[data-ph='prep'], .tp[data-ph='ready'] { --a1: #ffcc7a; --a2: #ff9a5c; }
.tp[data-kind='int'][data-ph='work'] { --a1: #9dff6a; --a2: #38d9e6; }
.tp[data-kind='ring'][data-ph='work'] { --a1: #ff3d2e; --a2: #ff9a3c; }
.tp[data-ph='done'] { --a1: #ffd27a; --a2: #3ddc97; }
.tp[data-kind='free'] { --a1: #38d9e6; --a2: #8a5cff; }
.tp.hot { --a1: #ff5a2a; --a2: #ffcf5c; }
.tp-aura { position: fixed; inset: -30%; z-index: 0; pointer-events: none; background: radial-gradient(40% 35% at 30% 30%, color-mix(in srgb, var(--a1) 55%, transparent), transparent 70%), radial-gradient(45% 40% at 72% 68%, color-mix(in srgb, var(--a2) 40%, transparent), transparent 70%); opacity: .55; filter: blur(30px); animation: tp-drift 14s ease-in-out infinite alternate; transition: background 1s; }
.tp.hot .tp-aura { animation: tp-pulse 1s ease-in-out infinite; opacity: .8; }
.tp[data-ph='set'] .tp-aura { opacity: .3; }
@keyframes tp-drift { to { transform: rotate(18deg) scale(1.15); } }
@keyframes tp-pulse { 50% { opacity: .35; transform: scale(1.06); } }
.tp-flash { position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 45%, var(--a1), transparent 70%); }
.tp-flash.go { animation: tp-flash .9s ease-out; }
@keyframes tp-flash { 0% { opacity: .85; } 100% { opacity: 0; } }
.tp-big { position: fixed; inset: 0; z-index: 4; display: grid; place-items: center; pointer-events: none; font-size: clamp(90px, 34vw, 220px); font-weight: 900; letter-spacing: -.04em; color: #fff; text-shadow: 0 0 40px var(--a1), 0 0 90px var(--a1); opacity: 0; text-align: center; line-height: .9; }
.tp-big.go { animation: tp-big .95s var(--ease-out); }
@keyframes tp-big { 0% { opacity: 0; transform: scale(1.6); } 25% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(.85); } }
.tp > * { position: relative; z-index: 1; }
.tp-top { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; gap: 8px; padding: calc(10px + env(safe-area-inset-top)) 12px 8px; background: linear-gradient(180deg, rgba(5, 7, 15, .85), transparent); }
.tp-tt { flex: 1; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.tp-tt b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tp-tt small { color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; font-size: 12px; }
.tp-ib { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tp-ib i { position: absolute; top: 46px; right: 0; font-style: normal; font-size: 10px; white-space: nowrap; color: rgba(255, 255, 255, .55); }
.tp-bar { height: 3px; margin: 0 16px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.tp-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--a1), var(--a2)); box-shadow: 0 0 12px var(--a1); transition: width .5s var(--ease-out); }
.tp-main { flex: 1; display: flex; flex-direction: column; width: 100%; max-width: 560px; margin: 0 auto; padding: 0 18px 20px; }

/* Ring mit Licht */
.tp-clock { position: relative; width: min(78vw, 320px); aspect-ratio: 1; margin: 6px auto; display: grid; place-items: center; }
.tp-clock.xl { width: min(84vw, 360px); }
.tp-clock.sm { width: 150px; margin: 4px auto; }
.tp-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.tp-ring .bg { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 12; }
.tp-ring .v { fill: none; stroke-width: 12; stroke-linecap: round; transition: stroke-dashoffset .25s linear; }
.tp-ring { filter: drop-shadow(0 0 8px var(--a1)) drop-shadow(0 0 26px color-mix(in srgb, var(--a1) 70%, transparent)); }
.tp-ring .s1 { stop-color: var(--a1); } .tp-ring .s2 { stop-color: var(--a2); }
.tp-clock::before { content: ''; position: absolute; inset: 16%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--a1) 22%, transparent), transparent 70%); }
.tp.hot .tp-clock::before { animation: tp-pulse .5s ease-in-out infinite alternate; }
.tp-ci { position: relative; display: flex; flex-direction: column; align-items: center; }
.tp-ci b { font-size: clamp(54px, 17vw, 84px); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.03em; line-height: 1; text-shadow: 0 0 30px color-mix(in srgb, var(--a1) 70%, transparent); }
.tp-clock.sm .tp-ci b { font-size: 34px; }
.tp-ci small { color: rgba(255, 255, 255, .65); font-weight: 700; margin-top: 6px; font-size: 13px; }
.tp-lbl { text-align: center; text-transform: uppercase; letter-spacing: .22em; font-weight: 800; font-size: 13px; color: var(--a2); margin-top: 18px; text-shadow: 0 0 18px var(--a1); }

/* Satz */
.tp-photo { position: relative; margin: -60px -18px 0; height: min(46vh, 400px); }
.tp-photo img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 55%, transparent 100%); }
.tp-photo img.mx { object-fit: contain; }
.tp-exh { margin-top: -56px; position: relative; text-align: center; }
.tp-exh small { color: rgba(255, 255, 255, .6); font-weight: 700; font-size: 12.5px; letter-spacing: .06em; }
.tp-exh h2 { font-size: clamp(26px, 7.5vw, 34px); font-weight: 800; margin: 2px 0 8px; letter-spacing: -.02em; }
.tp-dots { display: flex; gap: 6px; justify-content: center; align-items: center; }
.tp-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); transition: all .3s; }
.tp-dots i.d { background: var(--a2); box-shadow: 0 0 10px var(--a1); }
.tp-dots i.c { width: 26px; border-radius: 6px; background: #fff; box-shadow: 0 0 14px rgba(255, 255, 255, .6); }
.tp-dots span { margin-left: 8px; font-size: 13px; color: rgba(255, 255, 255, .7); font-weight: 700; }
.tp-dots.big { margin: 6px 0 16px; } .tp-dots.big i { width: 12px; height: 12px; } .tp-dots.big i.c { width: 30px; }
.tp-vals { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 6px; }
.tp-v { border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); padding: 10px 8px 12px; text-align: center; }
.tp-v > small { font-size: 11.5px; color: rgba(255, 255, 255, .55); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.tp-v div { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-top: 4px; }
.tp-v b { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tp-v b em { font-style: normal; font-size: 13px; color: rgba(255, 255, 255, .5); margin-left: 2px; }
.tp-v button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 22px; font-weight: 700; line-height: 1; }
.tp-v button:active { background: var(--a1); color: #000; }
.tp-last { text-align: center; color: rgba(255, 255, 255, .6); font-size: 13.5px; margin: 6px 0 0; display: flex; gap: 6px; justify-content: center; align-items: center; }
.tp-cta { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.tp-done { position: relative; width: 100%; min-height: 66px; border: 0; border-radius: 22px; font: inherit; font-size: 19px; font-weight: 800; color: #160a03; background: linear-gradient(135deg, var(--a1), var(--a2)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .15) inset, 0 18px 50px -10px var(--a1); display: flex; align-items: center; justify-content: center; gap: 10px; overflow: hidden; }
.tp-done::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-100%); animation: tp-shine 3.2s ease-in-out infinite; }
@keyframes tp-shine { 60%, 100% { transform: translateX(100%); } }
.tp-done:active { transform: scale(.98); }
.tp-done svg { width: 24px; height: 24px; }
.tp-sub { display: flex; justify-content: space-between; gap: 6px; }
.tp-sub button { flex: 1; border: 0; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .8); font: inherit; font-size: 13px; font-weight: 700; padding: 11px 6px; border-radius: 14px; display: inline-flex; gap: 6px; justify-content: center; align-items: center; }

/* Pause */
.tp-rest { display: flex; flex-direction: column; flex: 1; }
.tp-adj { display: flex; justify-content: center; gap: 10px; margin: 8px 0 22px; }
.tp-adj button { border: 0; font: inherit; font-weight: 800; color: #fff; background: rgba(255, 255, 255, .08); padding: 12px 16px; border-radius: 14px; }
.tp-adj button.go { background: linear-gradient(135deg, var(--a1), var(--a2)); color: #051018; padding: 12px 22px; display: inline-flex; gap: 6px; align-items: center; box-shadow: 0 10px 30px -10px var(--a1); }
.tp-next { position: relative; margin-top: auto; border-radius: 22px; overflow: hidden; min-height: 120px; display: flex; align-items: flex-end; isolation: isolate; border: 1px solid rgba(255, 255, 255, .1); }
.tp-next img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tp-next::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 7, 15, .95) 30%, rgba(5, 7, 15, .3)); }
.tp-next div { padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.tp-next small { color: var(--a2); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }
.tp-next b { font-size: 20px; }
.tp-next span { color: rgba(255, 255, 255, .75); font-size: 14px; }
.tp-next.new { border-color: color-mix(in srgb, var(--a1) 60%, transparent); box-shadow: 0 0 30px -10px var(--a1); }

/* Runden & Stoppuhr */
.tp-rounds { display: flex; flex-direction: column; align-items: center; flex: 1; }
.tp-ctl { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: auto; padding-top: 8px; }
.tp-play { width: 96px; height: 96px; border-radius: 50%; border: 0; color: #120802; background: linear-gradient(135deg, var(--a1), var(--a2)); box-shadow: 0 0 0 8px color-mix(in srgb, var(--a1) 18%, transparent), 0 20px 50px -10px var(--a1); display: grid; place-items: center; }
.tp-play svg { width: 40px; height: 40px; }
.tp-c2 { width: 58px; height: 58px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; }
.tp-c2:disabled { opacity: .3; }
.tp-hint { color: rgba(255, 255, 255, .5); font-size: 13px; text-align: center; margin-top: 14px; }
.tp-rounds .tp-done { margin-top: auto; }
.tp-laps { list-style: none; padding: 0; margin: 16px 0 0; width: 100%; max-height: 160px; overflow: auto; }
.tp-laps li { display: flex; justify-content: space-between; padding: 8px 4px; border-bottom: 1px solid rgba(255, 255, 255, .07); font-variant-numeric: tabular-nums; }
.tp-sports { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.tp-sports button { border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); color: rgba(255, 255, 255, .8); font: inherit; font-size: 12.5px; font-weight: 700; padding: 8px 12px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; }
.tp-sports button.on { background: rgba(255, 255, 255, .9); color: #05070f; }

@media (min-width: 900px) {
  .tr-hero, .tr-phero, .tr-exhero { margin: 0; border-radius: 28px; }
  .tr-rail, .tr-chips { margin: 0; padding-left: 0; padding-right: 0; }
  .tr-sticky { bottom: 18px; }
  .tr-two { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-aura, .tr-glow, .tp-done::after, .tp.hot .tp-aura, .tp.hot .tp-clock::before { animation: none; }
  .tp-big.go, .tp-flash.go { animation-duration: .01s; }
}
:root[data-theme='light'] .tr-hero::after, :root[data-theme='light'] .tr-phero::after { background: linear-gradient(0deg, rgba(6, 10, 21, .85), transparent 75%); }
:root[data-theme='light'] .tr-hero-in, :root[data-theme='light'] .tr-phero-in, :root[data-theme='light'] .tr-exhero-in { color: #fff; }

/* Coach-Satz: erscheint ab und zu, leuchtet kurz auf */
.tp-coach { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px; border-radius: 18px; background: color-mix(in srgb, var(--a1) 14%, rgba(255, 255, 255, .04)); border: 1px solid color-mix(in srgb, var(--a1) 40%, transparent); box-shadow: 0 10px 40px -18px var(--a1); font-weight: 700; font-size: 15px; line-height: 1.4; animation: tp-in .6s var(--ease-out) both; }
.tp-coach svg { flex: none; width: 20px; height: 20px; color: var(--a2); margin-top: 1px; filter: drop-shadow(0 0 6px var(--a1)); }
@keyframes tp-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.tp-rest .tp-coach { margin: 0 0 16px; }
.tp-win { width: 90px; font: inherit; font-size: 28px; font-weight: 800; text-align: center; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid var(--a1); border-radius: 12px; padding: 4px; }
.tp-v b[data-wtype] { cursor: text; border-bottom: 1px dashed rgba(255, 255, 255, .25); }
.tp[data-ph='rest'] .tp-aura { opacity: .7; }

/* Kombi-Ansage im Rundentimer */
.tp-combo { min-height: 96px; display: grid; place-items: center; text-align: center; padding: 0 10px; }
.tp-combo small { color: rgba(255, 255, 255, .45); font-size: 13px; }
.tp-combo b { font-size: clamp(26px, 8vw, 38px); font-weight: 900; letter-spacing: -.01em; text-transform: uppercase; color: #fff; text-shadow: 0 0 24px var(--a1), 0 0 60px color-mix(in srgb, var(--a1) 60%, transparent); }
.tp-combo.go b { animation: tp-combo 4.5s var(--ease-out) both; }
@keyframes tp-combo { 0% { opacity: 0; transform: scale(1.35); filter: blur(6px); } 8% { opacity: 1; transform: scale(1); filter: none; } 75% { opacity: 1; } 100% { opacity: .15; } }
.tr-tog { flex-direction: row !important; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.tr-tog span { display: flex; flex-direction: column; gap: 2px; }
.tr-tog small { color: var(--muted); font-size: 12.5px; }
.tr-tog input { width: 22px; height: 22px; accent-color: #ff7a4d; flex: none; }
.tp .tp-aura { opacity: .7; }
.tp[data-ph='set'] .tp-aura { opacity: .35; }
.tr-free { flex-direction: column; align-items: stretch; }
.tr-free .btn { align-self: flex-start; }
.tr-hero { min-height: 380px; }
.tr-groups { grid-template-columns: 1fr 1fr; }
.tr-groups a { padding: 8px 12px 12px; }
.tr-groups img { width: 100%; margin: 0 0 4px; aspect-ratio: 16 / 9; object-fit: contain; transform: scale(1.12); filter: drop-shadow(0 0 18px rgba(47, 107, 255, .22)); }
.tr-groups a:last-child:nth-child(odd) { grid-column: span 2; }
.tr-groups a:last-child:nth-child(odd) img { aspect-ratio: 32 / 9; }

/* Rundentimer: Ring mittig, Licht steigt mit der Zeit, Countdown im Ring */
.tp-rounds { justify-content: space-between; min-height: calc(100dvh - 90px); }
.tp-stage { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; padding: 10px 0; }
.tp-stage .tp-clock { margin: 0 auto; }
.tp-ci .tp-lbl { margin: 0 0 4px; font-size: 13px; }
.tp-ci small#tp-rn { margin-top: 4px; }
.tp-stage .tp-dots.big { margin: 22px 0 0; }
.tp.cnt .tp-ci b { font-size: clamp(110px, 34vw, 150px); }
.tp-ci.pop b { animation: tp-pop .9s var(--ease-out); }
@keyframes tp-pop { 0% { transform: scale(1.45); opacity: 0; filter: blur(4px); } 30% { transform: scale(1); opacity: 1; filter: none; } }
.tp-fill { position: fixed; left: 0; right: 0; bottom: 0; height: calc(var(--f, 0) * 100%); z-index: 0; pointer-events: none; transition: height .3s linear;
  background: linear-gradient(0deg, color-mix(in srgb, var(--a1) 46%, transparent) 0%, color-mix(in srgb, var(--a2) 22%, transparent) 70%, transparent 100%); }
.tp-fill i { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--a2), transparent); box-shadow: 0 0 30px 10px color-mix(in srgb, var(--a1) 50%, transparent); opacity: .8; }
.tp[data-ph='set'] .tp-fill, .tp[data-ph='ready'] .tp-fill, .tp[data-ph='done'] .tp-fill { display: none; }
.tp.hot .tp-fill { animation: tp-fillp .55s ease-in-out infinite alternate; }
@keyframes tp-fillp { to { opacity: .55; } }
.tp-ctl { width: 100%; justify-content: space-evenly; align-items: start; gap: 0; }
.tp-cb { display: grid; grid-template-rows: 96px auto; justify-items: center; align-items: center; gap: 8px; border: 0; background: none; color: #fff; font: inherit; padding: 0; min-width: 84px; }
.tp-cb small { font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .72); letter-spacing: .02em; line-height: 1.2; text-align: center; }
.tp-cb:disabled { opacity: .3; }
.tp-cb:disabled .tp-c2 { opacity: 1; }
.tp-cb:active .tp-play, .tp-cb:active .tp-c2 { transform: scale(.94); }
.tp-play, .tp-c2 { transition: transform .15s var(--ease-out); }
.tp-ib { overflow: visible; }
.tp-ibd { position: absolute; right: 6px; bottom: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--a2); box-shadow: 0 0 6px var(--a1); }
.tp-hint { margin: 10px 0 4px; }

/* 14.10. Runde 2: Muskelkarten im Original-Schwarz, Programmbilder im ganzen Format, laufendes Training als schlanke Leiste */
.tr-groups a { background: #030405; border: 1px solid rgba(255, 255, 255, .06); padding: 0 0 12px; }
.tr-groups img, .tr-groups a:last-child:nth-child(odd) img { width: 100%; margin: 0 0 6px; aspect-ratio: 16 / 9; object-fit: cover; transform: none; filter: none; }
.tr-groups b, .tr-groups small { padding: 0 12px; }
.tr-muscle { background: #030405; border: 1px solid rgba(255, 255, 255, .06); padding: 0 0 14px; }
.tr-muscle img { width: 100%; margin: 0 0 6px; filter: none; }
.tr-tsheet .tr-tmx { width: 100%; margin: 4px 0 10px; border-radius: 16px; filter: none; }
.tr-lib-img { background: #030405; }
.tr-lib-img img.mx { object-fit: cover; }
.tr-pc { flex: 0 0 min(84vw, 360px); aspect-ratio: 16 / 10; }
.tr-rail.sm .tr-pc { flex-basis: min(66vw, 260px); aspect-ratio: 4 / 3; }
.tr-pc::after { background: linear-gradient(0deg, rgba(6, 10, 21, .92) 4%, rgba(6, 10, 21, .35) 45%, transparent 75%); }
.tr-pc img { object-position: center 30%; }
.tr-live { display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 16px; border-radius: 18px; background: linear-gradient(90deg, rgba(255, 122, 77, .18), rgba(255, 122, 77, .05)); border: 1px solid rgba(255, 122, 77, .35); }
.tr-live > i { width: 10px; height: 10px; border-radius: 50%; background: #ff7a4d; box-shadow: 0 0 0 4px rgba(255, 122, 77, .2), 0 0 14px #ff7a4d; animation: tr-blink 1.2s infinite; flex: none; }
.tr-live .sp { flex: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tr-live small { color: var(--text-2); font-size: 12.5px; }
.tr-live-go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #ff7a4d, #ffb15e); color: #1b0d05; flex: none; }
.tr-h { flex-direction: column; align-items: flex-start; gap: 2px; }
.tr-h:has(.tr-more) { flex-direction: row; align-items: baseline; }
.tr-groups a:last-child:nth-child(odd) { grid-column: auto; }
.tr-gall { justify-content: center; align-items: flex-start; gap: 4px; padding: 14px 12px !important; background: radial-gradient(90% 80% at 30% 20%, rgba(255, 122, 77, .14), #030405 70%) !important; }
.tr-gall span { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 122, 77, .16); color: #ffb15e; margin-bottom: auto; }
.tr-gall b, .tr-gall small { padding: 0 !important; }
@media (max-width: 899px) { .tr-hero, .tr-phero, .tr-exhero, .nu-hero2 { margin-left: -20px; margin-right: -20px; } }

/* Muskelgruppen v3: Foto-Bühne + leuchtende Muskel-Linse */
.tr-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tr-gt { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; border: 0; padding: 0; }
.tr-gt > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease-out); }
.tr-gt::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 10, 21, .95) 6%, rgba(6, 10, 21, .25) 55%, rgba(6, 10, 21, .05)); }
@media (hover: hover) { .tr-gt:hover > img { transform: scale(1.05); } }
.tr-gt-mx { position: absolute; top: 12px; left: 12px; width: 68px; height: 68px; border-radius: 50%; background-color: #030405; background-repeat: no-repeat; box-shadow: 0 0 0 2px rgba(47, 107, 255, .55), 0 0 22px rgba(47, 107, 255, .55), 0 10px 24px -8px rgba(0, 0, 0, .8); }
.tr-gt-in { padding: 14px; display: flex; flex-direction: column; gap: 1px; }
.tr-gt-in b { font-size: 18px; font-weight: 800; line-height: 1.15; }
.tr-gt-in small { font-size: 12.5px; color: var(--text-2); }
.tr-gt.all::after { background: linear-gradient(0deg, rgba(27, 10, 4, .92) 10%, rgba(255, 122, 77, .25) 70%, rgba(255, 122, 77, .1)); }
.tr-gt-go { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #ff7a4d, #ffb15e); color: #1b0d05; }
@media (min-width: 700px) { .tr-groups { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tr-groups .tr-gt { flex-direction: column; justify-content: flex-end; align-items: stretch; padding: 0; background: #05070f; border: 1px solid rgba(255, 255, 255, .06); }
.tr-groups .tr-gt > img { aspect-ratio: auto; margin: 0; height: 100%; }
.tr-groups .tr-gt b, .tr-groups .tr-gt small { padding: 0; }
.tr-groups .tr-gt.all { background: #1b0d05; }

/* Muskelgruppen v4: nur Muskelkarte im Original-Schwarz, Text im Bild, keine Kante */
.tr-groups { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.tr-gm { position: relative; display: block; border-radius: 22px; overflow: hidden; background: #030405; aspect-ratio: 16 / 9; box-shadow: 0 0 0 1px rgba(255, 255, 255, .05), 0 20px 40px -24px rgba(0, 0, 0, .9); }
.tr-gm img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; aspect-ratio: auto; transform: none; filter: none; transition: transform .6s var(--ease-out); }
@media (hover: hover) { .tr-gm:hover img { transform: scale(1.03); } }
.tr-gm-in { position: absolute; left: 16px; bottom: 14px; display: flex; flex-direction: column; gap: 1px; padding: 0; }
.tr-gm-in b { font-size: 19px; font-weight: 800; text-shadow: 0 2px 12px #000; padding: 0 !important; }
.tr-gm-in small { font-size: 12.5px; color: rgba(255, 255, 255, .7); padding: 0 !important; }
.tr-gm.all .tr-gm-in b { color: #ffb15e; }
@media (min-width: 700px) { .tr-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) {
  .tr-groups { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 2px 20px 8px; scrollbar-width: none; }
  .tr-groups::-webkit-scrollbar { display: none; }
  .tr-gm { flex: 0 0 82vw; scroll-snap-align: start; }
}
/* Muskelkarte rechts, Text links im freien Schwarz: nie über der Figur */
.tr-gm { aspect-ratio: 2.2 / 1; }
.tr-gm img { object-fit: contain; object-position: right center; }
.tr-gm-in { left: 16px; top: 0; bottom: 0; justify-content: center; max-width: 36%; }
.tr-gm-in b { font-size: 18px; line-height: 1.15; }
@media (max-width: 699px) { .tr-gm { flex-basis: 86vw; } }

/* ================= Erholung (rc-) ================= */
.rc-hero { position: relative; margin: -18px -20px 0; padding: 64px 20px 18px; background: radial-gradient(70% 50% at 50% 55%, rgba(61, 220, 151, .10), transparent 70%), radial-gradient(90% 60% at 50% 0%, rgba(123, 147, 255, .12), transparent 70%); }
.rc-top .eyebrow { color: #9db0ff; }
.rc-top .h1 { margin: 6px 0 6px; font-size: clamp(28px, 7.5vw, 38px); }
.rc-top p { color: var(--text-2); margin: 0; max-width: 46ch; }
.rc-stage { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 4px; margin-top: 14px; }
.rc-fig { width: 100%; height: auto; max-height: 360px; overflow: visible; }
.rc-fig path { cursor: pointer; transition: fill-opacity .3s; }
.rc-fig path:hover { fill-opacity: 1; }
.rc-ring { position: relative; width: 104px; height: 104px; display: grid; place-items: center; align-content: center; }
.rc-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); filter: drop-shadow(0 0 10px rgba(61, 220, 151, .35)); }
.rc-ring .bg { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 9; }
.rc-ring .v { fill: none; stroke-width: 9; stroke-linecap: round; transition: stroke-dashoffset .8s var(--ease-out); }
.rc-ring b { font-size: 30px; font-weight: 800; line-height: 1; }
.rc-ring b small { font-size: 14px; color: var(--text-2); }
.rc-ring span { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-top: 2px; }
.rc-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 12px; color: var(--text-2); font-weight: 600; }
.rc-legend span { display: inline-flex; align-items: center; gap: 6px; }
.rc-legend span::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.rc-for { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.rc-fc { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 18px; background: radial-gradient(90% 90% at 0% 0%, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%), var(--surface); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.rc-fi { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); margin-bottom: 8px; }
.rc-fc b { font-size: 15px; }
.rc-fc small { color: var(--c); font-weight: 700; font-size: 12.5px; }
.rc-rows { display: flex; flex-direction: column; gap: 8px; }
.rc-row { display: grid; grid-template-columns: 12px 1fr 80px 42px; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: inherit; font: inherit; text-align: left; width: 100%; }
.rc-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.rc-row .sp { display: flex; flex-direction: column; min-width: 0; }
.rc-row small { color: var(--muted); font-size: 12.5px; }
.rc-bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.rc-bar i { display: block; height: 100%; border-radius: 6px; background: var(--c); box-shadow: 0 0 10px var(--c); }
.rc-row em { font-style: normal; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.rc-cap { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 20px; background: radial-gradient(80% 120% at 100% 0%, rgba(123, 147, 255, .16), transparent 70%), var(--surface); border: 1px solid rgba(123, 147, 255, .22); }
.rc-cap small { color: #9db0ff; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 11px; }
.rc-cap b { font-size: 18px; }
.rc-cap p { margin: 4px 0 0; color: var(--text-2); font-size: 14px; line-height: 1.45; }
.rc-add { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; border: 1px dashed rgba(255, 122, 77, .45); background: rgba(255, 122, 77, .06); color: inherit; font: inherit; text-align: left; width: 100%; }
.rc-add > svg:first-child { width: 22px; height: 22px; color: #ffb15e; }
.rc-add span { flex: 1; display: flex; flex-direction: column; }
.rc-add small { color: var(--muted); font-size: 12.5px; }
.rc-feel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.rc-feel button { padding: 12px 6px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); color: inherit; font: inherit; font-weight: 700; }
.rc-feel button.on { border-color: var(--c); box-shadow: 0 0 0 1px var(--c); }
.tr-pick { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.tr-pick a { display: flex; align-items: center; gap: 12px; padding: 6px 14px 6px 6px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.tr-pick img { width: 84px; height: 56px; border-radius: 12px; object-fit: cover; }
.tr-pick span { flex: 1; display: flex; flex-direction: column; }
.tr-pick small { color: var(--muted); font-size: 12.5px; }
@media (min-width: 900px) { .rc-hero { margin: 0; border-radius: 28px; } .rc-stage { max-width: 640px; margin: 14px auto 0; } }
.tr-rpe { margin: 6px 0 8px; text-align: left; } .tr-rpe .tr-opts { display: grid; grid-template-columns: repeat(4, 1fr); } .tr-rpe .tr-opts button { min-width: 0; padding: 10px 4px; }

/* 15.10.: Wischleisten rasten mit Abstand zum Rand ein (vorher klebte die Karte am Bildschirmrand) */
.tr-rail, .tr-groups { scroll-padding-inline: 20px; margin-left: -20px !important; margin-right: -20px !important; padding-left: 20px !important; padding-right: 20px !important; }
@media (min-width: 900px) { .tr-rail { margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; scroll-padding-inline: 0; } }
/* Muskelkarte ohne Naht: Bild läuft links weich aus, Karte hat exakt den Bild-Hintergrund */
.tr-gm { background: #050607; box-shadow: none; border: 0; }
.tr-gm img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 92%, transparent 100%); }

/* Erholung hochwertig: gedeckte Töne, ruhige Karten mit Akzentlinie */
.rc-hero { background: radial-gradient(60% 45% at 50% 58%, rgba(92, 200, 178, .07), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .02), transparent); }
.rc-top .eyebrow { color: var(--muted); }
.rc-fc { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--c); }
.rc-fi { background: rgba(255, 255, 255, .05); color: var(--text-2); }
.rc-fc small { color: var(--c); font-weight: 600; }
.rc-dot { width: 8px; height: 8px; box-shadow: none; }
.rc-bar { height: 4px; }
.rc-bar i { box-shadow: none; opacity: .9; }
.rc-legend span::before { width: 8px; height: 8px; box-shadow: none; }
.rc-ring svg { filter: none; }
.rc-ring .v { stroke-width: 6; }
.rc-ring .bg { stroke-width: 6; }
.rc-cap { background: var(--surface); border: 1px solid var(--line); }
.rc-cap small { color: var(--muted); }
@media (min-width: 700px) { .tr-groups { margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; } }

/* ===== 15.10.: Woche antippbar ===== */
button.tr-wd { border: 0; background: none; color: inherit; font: inherit; padding: 0; cursor: pointer; }
.tr-wd.st-plan i, .tr-wd.st-today i, .tr-wd.st-open i { background: rgba(255, 122, 77, .12); color: #ffb15e; box-shadow: inset 0 0 0 1px rgba(255, 122, 77, .3); }
.tr-wd.st-open i { box-shadow: inset 0 0 0 1px rgba(255, 193, 94, .55); color: #ffc15e; }
.tr-wd.st-done i { background: linear-gradient(135deg, #ff7a4d, #ffb15e); color: #1b0d05; box-shadow: 0 6px 18px -6px rgba(255, 122, 77, .8); }
.tr-wd.st-skip i { background: rgba(255, 255, 255, .05); color: var(--muted); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.tr-wd:active i { transform: scale(.94); }
.tr-ds h2 { margin-bottom: 12px; }
.tr-dsl { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.tr-dsa { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.tr-dsa .sp { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.tr-dsa small { color: var(--muted); font-size: 12.5px; }
.tr-dsa.ok .tr-li { background: rgba(92, 200, 178, .14); color: #5cc8b2; }
.tr-dsb { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tr-dsb .btn { justify-content: center; }
.tr-dsb .btn:last-child:nth-child(odd) { grid-column: 1 / -1; }
.tr-dsweek { display: flex; margin: 12px auto 4px; }

/* Wochenbilanz */
.tr-week2 { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.tr-w2h { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.tr-w2h small { color: var(--muted); font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; }
.tr-w2h b { display: block; font-size: 17px; margin-top: 2px; }
.tr-bal { display: flex; flex-direction: column; align-items: flex-end; font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; color: #5cc8b2; }
.tr-bal.hi { color: #d6a861; } .tr-bal.lo { color: #9db0ff; }
.tr-bal small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.tr-bcs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.tr-bc { display: flex; flex-direction: column; align-items: center; gap: 5px; border: 0; background: none; color: inherit; font: inherit; padding: 0; cursor: pointer; }
.tr-bc small { font-size: 11px; color: var(--muted); font-weight: 700; }
.tr-bc i { width: 100%; max-width: 40px; aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .04); color: var(--text-2); }
.tr-bc.st-done i { background: linear-gradient(135deg, #ff7a4d, #ffb15e); color: #1b0d05; }
.tr-bc.st-skip i { color: var(--muted); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.tr-bc.st-open i { color: #ffc15e; box-shadow: inset 0 0 0 1px rgba(255, 193, 94, .55); }
.tr-bc.st-plan i, .tr-bc.st-today i { color: #ffb15e; box-shadow: inset 0 0 0 1px rgba(255, 122, 77, .3); }
.tr-bc em { font-style: normal; font-size: 10.5px; font-weight: 700; font-variant-numeric: tabular-nums; min-height: 13px; color: #5cc8b2; }
.tr-bc em.hi { color: #d6a861; } .tr-bc em.lo { color: #9db0ff; }
.tr-notes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tr-notes li { font-size: 13px; line-height: 1.4; color: var(--text-2); padding: 9px 12px; border-radius: 12px; background: rgba(214, 168, 97, .07); border-left: 3px solid #d6a861; cursor: pointer; }
.tr-notes b { color: var(--text); margin-right: 4px; }

/* Erholung als Hauptkarte */
.tr-recov { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 22px; background: radial-gradient(80% 140% at 0% 50%, rgba(92, 200, 178, .1), transparent 70%), var(--surface); border: 1px solid var(--line); }
.tr-rv-ring { position: relative; width: 76px; height: 76px; flex: none; display: grid; place-items: center; }
.tr-rv-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.tr-rv-ring .bg { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 6; }
.tr-rv-ring .v { fill: none; stroke-width: 6; stroke-linecap: round; }
.tr-rv-ring b { font-size: 22px; font-weight: 800; }
.tr-rv-ring b small { font-size: 12px; color: var(--text-2); }
.tr-recov .sp { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tr-recov .sp > small { color: var(--muted); font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; }
.tr-recov .sp > b { font-size: 15px; line-height: 1.3; }
.tr-rv-bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; height: 44px; align-items: end; margin-top: 4px; }
.tr-rv-bars span { display: flex; flex-direction: column; align-items: center; gap: 3px; height: 100%; justify-content: flex-end; }
.tr-rv-bars i { width: 100%; max-width: 14px; border-radius: 4px; min-height: 3px; opacity: .85; }
.tr-rv-bars small { font-size: 9px; color: var(--muted); white-space: nowrap; overflow: hidden; max-width: 100%; }

/* Trainingsbuch */
.tb-week { display: flex; flex-direction: column; gap: 8px; }
.tb-wh { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 2px; border-bottom: 1px solid var(--line); }
.tb-wh small { color: var(--muted); }
.tb-e { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.tb-d { display: flex; flex-direction: column; align-items: center; padding-top: 2px; }
.tb-d b { font-size: 22px; font-weight: 800; line-height: 1; }
.tb-d small { color: var(--muted); font-size: 11.5px; text-transform: uppercase; }
.tb-b { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tb-t { display: flex; flex-direction: column; }
.tb-t span { color: var(--muted); font-size: 12.5px; }
.tb-ex { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding-top: 6px; border-top: 1px dashed rgba(255, 255, 255, .07); }
.tb-ex span { color: var(--text-2); }
.tb-ex em { font-style: normal; font-variant-numeric: tabular-nums; text-align: right; color: var(--text); font-weight: 600; }
.tb-pr { color: #d6a861; font-size: 12.5px; font-weight: 700; display: flex; gap: 6px; align-items: center; }
.tb-prs { display: flex; flex-direction: column; gap: 6px; }
.tb-prs div { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 12px; background: rgba(214, 168, 97, .07); }
.tb-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 28px 18px; border-radius: 22px; border: 1px dashed var(--line-2); color: var(--text-2); }
.tb-empty svg { width: 30px; height: 30px; color: #ffb15e; }

/* Coach-Bereich + Auswahl */
.cp-card { display: grid; grid-template-columns: 56px 1fr; gap: 6px 14px; align-items: center; padding: 16px; border-radius: 22px; background: radial-gradient(90% 140% at 0% 0%, color-mix(in srgb, var(--c) 14%, transparent), transparent 70%), var(--surface); border: 1px solid color-mix(in srgb, var(--c) 22%, var(--line)); }
.cp-card > img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 55%, transparent); }
.cp-in { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cp-in small { color: var(--c); font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.cp-in b { font-size: 16px; }
.cp-in span { color: var(--text-2); font-size: 13px; line-height: 1.4; }
.cp-go { grid-column: 1 / -1; margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 0; border-radius: 14px; font: inherit; font-weight: 800; color: #0b0f19; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 60%, #fff)); cursor: pointer; }
.cp-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.cp-head img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 55%, transparent); }
.cp-head small { color: var(--c); font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.cp-head .h2 { margin: 2px 0 0; }
.cp-opts { display: flex; flex-direction: column; gap: 8px; }
.cp-opts button { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.cp-opts .sp { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.cp-opts small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.cp-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); flex: none; }
.cp-note { display: flex; gap: 6px; align-items: center; justify-content: center; margin-top: 12px; }
.tr-dsb .btn.ghost { background: var(--surface-2); border: 1px solid var(--line-2); }
.tr-bal small { text-transform: none; letter-spacing: 0; }

/* 17.11.: Absolvierte Einheit bearbeiten */
.tb-e { position: relative; }
.tb-edit { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface-solid); color: var(--muted); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.tb-edit svg { width: 14px; height: 14px; }
.tb-e .tb-t { padding-right: 104px; }
.te-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.te-f { display: grid; gap: 5px; }
.te-f > span, .te-lab { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.te-lab { margin: 16px 0 8px; }
.te-rpe { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.te-rpe button { height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-weight: 800; cursor: pointer; }
.te-rpe button.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.te-rpel { display: flex; justify-content: space-between; margin-top: 4px; font-size: 11px; color: var(--muted); }
.te-ex { margin-top: 10px; padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.te-exh { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.te-exh b { font-size: 14.5px; }
.te-sets { display: grid; gap: 6px; }
.te-set { display: grid; grid-template-columns: 22px 1fr 1fr 30px; gap: 8px; align-items: center; }
.te-set > span { font-size: 12px; font-weight: 800; color: var(--muted); text-align: center; }
.te-set label { position: relative; }
.te-set input { width: 100%; height: 40px; padding: 0 44px 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-solid); color: var(--text); font: inherit; font-size: 15px; font-weight: 700; }
.te-set em { position: absolute; right: 10px; top: 50%; translate: 0 -50%; font-style: normal; font-size: 11.5px; color: var(--muted); pointer-events: none; }
.te-x { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.te-x svg { width: 15px; height: 15px; }
.te-add { margin-top: 8px; display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 12px; border-radius: 99px; border: 1px dashed var(--line-2, var(--line)); background: transparent; color: var(--text); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.te-add svg { width: 14px; height: 14px; }
.te-del { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; margin-top: 10px; height: 46px; border-radius: 14px; border: 1px solid transparent; background: transparent; color: #e5484d; font: inherit; font-weight: 700; cursor: pointer; }
.te-del svg { width: 16px; height: 16px; }
.te-del.ask { border-color: #e5484d; background: rgba(229,72,77,.08); }
.te .eyebrow { display: inline-flex; align-items: center; gap: 6px; }
.te .eyebrow svg { width: 14px; height: 14px; }
.te-f[hidden] { display: none; }
