/* Rechtliche Links in der App (Impressum, Datenschutz, AGB) */
.mo-legal { margin: 22px 0 6px; text-align: center; font-size: 12px; color: var(--muted); }
.mo-legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
/* Feinschliff 22.10.: Trainings-Uhren symmetrisch und ruhig */
.tp-top.tp-sym { display: grid; grid-template-columns: 92px 1fr 92px; align-items: center; gap: 6px; }
.tp-sym .tp-side { display: flex; align-items: center; justify-content: flex-start; gap: 8px; }
.tp-sym .tp-side.r { justify-content: flex-end; }
.tp-sym .tp-tt { text-align: center; justify-self: stretch; }
.tp-sym .tp-tt b { font-size: 16px; letter-spacing: -.01em; }
.tp-sym .tp-tt small { font-size: 13px; margin-top: 1px; }
.tp-ib.mute { color: rgba(255, 255, 255, .45); }
.tp .tp-hint { display: none; }
.tp-free .tp-ci small#tp-fl { font-variant-numeric: tabular-nums; }

/* Training bearbeiten: alles passt in die Handybreite */
.tb2 { width: 100%; min-width: 0; }
@media (max-width: 520px) {
  .tb2-ex { padding: 10px 8px; }
  .tb2-exh { gap: 8px; }
  .tb2-grip { display: none; }
  .tb2-th { width: 44px; height: 44px; }
  .tb2-th > svg { margin: 11px; }
  .tb2-nm b { font-size: 14px; }
  .tb2-mv { gap: 3px; }
  .tb2-mv button { width: 32px; height: 34px; }
  .tb2-sts { gap: 5px; margin-top: 8px; }
  .tb2-st { padding: 5px 4px; min-width: 0; }
  .tb2-st div { gap: 0; }
  .tb2-st button { width: 28px; height: 30px; font-size: 16px; border-radius: 8px; }
  .tb2-st b { min-width: 0; font-size: 14px; }
  .tb2-sum b { font-size: 17px; }
  .tb2-sum small { font-size: 10px; }
}

/* Gewicht: Trend + feine Morgen-/Abendlinie */
.wx-combo .wx-plot { position: relative; }
.wx-combo .wx-line { stroke-width: 3.5; }
.wx-thin { fill: none; stroke-width: 1.3; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: .75; }
.wx-thin.m { stroke: #ffc15e; }
.wx-thin.e { stroke: #8fa2ff; stroke-dasharray: 3 3; }
.wx-dot { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; pointer-events: auto; }
.wx-dot.m { background: #ffc15e; box-shadow: 0 0 0 2px rgba(10, 12, 22, .9); }
.wx-dot.e { background: #8fa2ff; box-shadow: 0 0 0 2px rgba(10, 12, 22, .9); }
.wx-leg { flex-wrap: wrap; row-gap: 6px; margin-top: 10px; }
.wx-leg i.m { width: 8px; height: 8px; border-radius: 50%; background: #ffc15e; }
.wx-leg i.e { width: 8px; height: 8px; border-radius: 50%; background: #8fa2ff; }
.wx-note { margin-top: 8px; }

/* Erholung: Muskelkater-Auswahl + was heute geht */
.rc-feel { grid-template-columns: repeat(2, 1fr); }
.rc-feel button { font-size: 14px; line-height: 1.25; }
.rc-do { display: grid; gap: 4px; margin: 12px 0; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.rc-do b { font-size: 13px; color: var(--c, var(--gold)); }
.rc-do span { font-size: 14px; line-height: 1.45; }
.nu-bodyhero { position: relative; }
.nu-bodyhero .tr-xback { z-index: 2; }

/* Update-Knopf (nur nach Admin-Hinweis) */
.upd-pill { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; border-radius: 999px; border: 1px solid rgba(255, 193, 94, .45); background: rgba(14, 17, 30, .94); color: #fff; font: inherit; font-size: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); animation: upd-in .4s ease-out; }
.upd-pill b { padding: 6px 12px; border-radius: 999px; background: linear-gradient(135deg, #ffc15e, #ff9a5e); color: #1a1205; font-size: 13px; }
@keyframes upd-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
/* Körper & Gewicht: Waagen-Foto oben, weich in den Hintergrund auslaufend */
.nu-bodyhero { height: 240px; margin: -4px 0 -56px; -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%); }
.nu-bodyhero img { object-position: 45% 38%; opacity: .95; }
@media (min-width: 768px) { .nu-bodyhero { height: 300px; } }

/* Gewicht 05.11.: Trendlinie, Messpunkte mit Strich, antippbarer Wert, Wiege-Anleitung */
.wx-read { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 2px 0; }
.wx-read span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wx-read small { font-size: 12px; color: var(--muted); }
.wx-read b { font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.wx-read em { font-style: normal; font-size: 12px; color: var(--text-2); text-align: right; padding-bottom: 3px; }
.wx-combo .wx-plot { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.wx-stem { stroke: rgba(234, 240, 255, .28); stroke-width: 1.25; vector-effect: non-scaling-stroke; transition: stroke .15s; }
.wx-stem.on { stroke: rgba(234, 240, 255, .8); }
.wx-combo .wx-line { stroke-width: 3; }
.wx-dot { pointer-events: none; transition: transform .15s; }
.wx-dot.m { background: #eaf0ff; box-shadow: 0 0 0 2px var(--surface-solid, #0d1428); }
.wx-dot.e { background: var(--surface-solid, #0d1428); box-shadow: inset 0 0 0 1.5px #eaf0ff, 0 0 0 2px var(--surface-solid, #0d1428); }
.wx-dot.on { transform: scale(1.55); }
.wx-leg i.m { background: #eaf0ff; }
.wx-leg i.e { background: transparent; box-shadow: inset 0 0 0 1.5px #eaf0ff; }
.wx-tip { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.wx-tip summary { display: flex; align-items: center; gap: 10px; padding: 12px 14px; list-style: none; cursor: pointer; font-size: 14px; }
.wx-tip summary::-webkit-details-marker { display: none; }
.wx-tip summary svg { width: 18px; height: 18px; flex: none; color: #5fe0b0; }
.wx-tip summary svg:last-child { margin-left: auto; color: var(--muted); transition: transform .2s; }
.wx-tip[open] summary svg:last-child { transform: rotate(180deg); }
.wx-tip ul { list-style: none; margin: 0; padding: 0 14px 14px; display: flex; flex-direction: column; gap: 12px; }
.wx-tip li { display: flex; gap: 12px; align-items: flex-start; }
.wx-tip-ic { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(95, 224, 176, .1); color: #5fe0b0; }
.wx-tip-ic svg { width: 16px; height: 16px; }
.wx-tip li div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wx-tip li b { font-size: 14px; }
.wx-tip li span:not(.wx-tip-ic) { font-size: 13px; line-height: 1.4; color: var(--muted); }
.nu-wgo { margin-top: 8px; }
.nu-scanphoto { margin: 10px 0; cursor: pointer; }
