/* /run-tracker. Widgets follow the app's one widget system: #101211 surface,
   a corner glow in the widget's one accent, label 13 / hero 34 / caption 12. */
.rt { color: #f4f1ea; }
.rt-wrap { max-width: 1240px; margin: 0 auto; padding-inline: 24px; box-sizing: content-box; }
.rt-eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: #9cc6f0; }
.rt h1 { margin: 0; font-size: clamp(44px, 6vw, 84px); line-height: .98; letter-spacing: -0.05em; font-weight: 700; }
.rt h1 span { color: rgba(244, 241, 234, 0.45); }
.rt h2 { margin: 0; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; }
.rt-lede { margin: 24px 0 0; max-width: 560px; font-size: 19px; line-height: 1.55; color: rgba(244, 241, 234, 0.72); }
.rt-sub { margin: 16px 0 0; max-width: 520px; font-size: 18px; line-height: 1.55; color: rgba(244, 241, 234, 0.66); }

.rt-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 64px; align-items: center; padding-top: 56px; }
.rt-hero .crumbs { margin-bottom: 20px; }
.rt-jump { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; padding: 0; }
.rt-jump a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; color: rgba(244, 241, 234, 0.75); transition: border-color .2s, color .2s; }
.rt-jump a:hover { border-color: rgba(156, 198, 240, 0.5); color: #f4f1ea; }

.rt-phone { margin: 0; justify-self: center; width: min(320px, 100%); border-radius: 46px; padding: 9px; background: #1a1c1f; box-shadow: 0 40px 80px rgba(0, 0, 0, .55), inset 0 0 0 1.5px #3b3f44; }
.rt-phone img { display: block; width: 100%; height: auto; border-radius: 38px; }

.rt-sec { margin-top: 160px; scroll-margin-top: 96px; }
.rt-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 80px; align-items: center; }
.rt-split.rev > :first-child { order: 2; }
.rt-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin-top: 40px; }
.rt-spec { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.rt-spec b { display: block; font-size: 16px; font-weight: 600; }
.rt-spec p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: rgba(244, 241, 234, 0.62); }
.rt-center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.rt-fly { margin: 0; border-radius: 28px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 40px 80px rgba(0, 0, 0, .5); }
.rt-fly img { display: block; width: 100%; height: auto; }
.rt-more { margin-top: 120px; font-size: 16px; color: rgba(244, 241, 234, 0.62); }
.rt-more a { color: #9cc6f0; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(156, 198, 240, .35); }

/* Lock Screen + Dynamic Island */
.rt-lock { position: relative; justify-self: center; width: min(340px, 100%); aspect-ratio: 390 / 600; border-radius: 48px; padding: 64px 14px 20px; box-sizing: border-box; overflow: hidden; background: radial-gradient(120% 70% at 30% 0%, #2a4c74 0%, #14243a 40%, #0a0f17 75%); box-shadow: 0 40px 80px rgba(0, 0, 0, .55), inset 0 0 0 1.5px #3b3f44; }
.rt-island { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: #000; font-size: 13px; white-space: nowrap; }
.rt-island b { font-weight: 600; font-variant-numeric: tabular-nums; }
.rt-is-pace { color: #9cc6f0; font-variant-numeric: tabular-nums; }
.rt-dot { width: 8px; height: 8px; border-radius: 50%; background: #4282C6; box-shadow: 0 0 10px #4282C6; }
.rt-clock { text-align: center; }
.rt-clock small { display: block; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .8); }
.rt-clock b { display: block; font-size: 84px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; color: rgba(255, 255, 255, .92); }
.rt-la { margin-top: 36px; padding: 14px 16px; border-radius: 22px; background: rgba(16, 18, 17, .86); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.rt-la-top { display: flex; justify-content: space-between; align-items: center; }
.rt-brand { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(244, 241, 234, .7); }
.rt-brand img { width: 12px; height: auto; }
.rt-pause { display: inline-flex; gap: 3px; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.rt-pause i { width: 3px; height: 10px; border-radius: 1px; background: #f4f1ea; }
.rt-la-main { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 10px; }
.rt-la-main small, .rt-la-splits small { display: block; font-size: 12px; color: rgba(244, 241, 234, .55); }
.rt-la-main b { font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.rt-la-main em { font-style: normal; font-size: 12px; font-weight: 500; color: rgba(244, 241, 234, .55); margin-left: 2px; }
.rt-la-main > div:first-child b { color: #9cc6f0; }
.rt-la-splits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.rt-la-splits .cur { color: #9cc6f0; }

/* Home Screen widgets */
.rt-widgets { display: grid; grid-template-columns: repeat(4, 170px); grid-auto-rows: 170px; gap: 22px; justify-content: center; margin-top: 56px; }
.rt-w { position: relative; overflow: hidden; border-radius: 24px; padding: 16px; box-sizing: border-box; display: flex; flex-direction: column; background: radial-gradient(120% 90% at 100% 0%, var(--glow) 0%, #101211 62%); box-shadow: 0 24px 50px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .05); }
.rt-w.m { grid-column: span 2; }
.rt-w.blue { --glow: rgba(66, 130, 198, .32); --acc: #6aa8e6; }
.rt-w.gold { --glow: rgba(232, 205, 149, .26); --acc: #E8CD95; }
.rt-w.green { --glow: rgba(111, 207, 127, .24); --acc: #6fcf7f; }
.rt-w small { font-size: 13px; font-weight: 500; color: rgba(244, 241, 234, .7); }
.rt-w > b, .rt-w .rt-wrow + b { margin-top: 4px; font-size: 34px; line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.rt-w b em { font-style: normal; font-size: 12px; font-weight: 500; color: rgba(244, 241, 234, .6); margin-left: 4px; letter-spacing: 0; }
.rt-wrow { display: flex; justify-content: space-between; align-items: center; }
.rt-cap { font-size: 12px; color: rgba(244, 241, 234, .55); }
.rt-chg { align-self: flex-start; margin-top: auto; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.rt-wrow .rt-chg { margin-top: 0; }
.rt-chg.up { color: #6fcf7f; background: rgba(111, 207, 127, .14); }
.rt-w.s .rt-chg + .rt-cap { margin-top: 4px; }
.rt-dots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; margin-top: auto; }
.rt-dots i { aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.rt-dots i.on { background: var(--acc); }
.rt-dots.grid i:not(.on) { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14); }
.rt-bars, .rt-days { display: flex; align-items: flex-end; gap: 10px; flex: 1; margin-top: 10px; }
.rt-bars > div { flex: 1; display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; align-items: end; column-gap: 6px; height: 100%; }
.rt-bars span { grid-column: 1 / -1; display: block; height: calc(var(--f) * 100%); min-height: 6px; border-radius: 6px; background: rgba(106, 168, 230, .45); }
.rt-bars .best span { background: #6aa8e6; box-shadow: 0 0 14px rgba(106, 168, 230, .7); }
.rt-bars small, .rt-days small { font-size: 11px; color: rgba(244, 241, 234, .5); margin-top: 5px; }
.rt-bars em { font-style: normal; font-size: 11px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; margin-top: 5px; }
.rt-days > div { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; }
.rt-days span { display: block; width: 100%; height: calc(var(--f) * 100%); min-height: 4px; border-radius: 5px; background: var(--acc); opacity: .85; }
.rt-goal { display: flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 12.5px; color: rgba(244, 241, 234, .6); }
.rt-goal::before { content: ""; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); }
.rt-goal.on { color: #f4f1ea; }
.rt-goal.on::before { background: #6fcf7f; box-shadow: none; }
.rt-goal:first-of-type { margin-top: auto; }
.rt-w.lock { background: none; box-shadow: none; align-items: center; justify-content: center; gap: 12px; }
.rt-gauge { --f: .5; width: 76px; height: 76px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(closest-side, #101211 82%, transparent 84%), conic-gradient(from 225deg, #f4f1ea calc(var(--f) * 75%), rgba(255, 255, 255, .15) 0 75%, transparent 0); }
.rt-gauge b { font-size: 22px; line-height: 1; font-weight: 700; }
.rt-gauge small { font-size: 11px; color: rgba(244, 241, 234, .6); }

.rt-body .wbc { margin-top: 120px; }

@media (max-width: 980px) {
  .rt-hero, .rt-split { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .rt-split.rev > :first-child { order: 0; }
  .rt-sec { margin-top: 112px; }
  .rt-widgets { grid-template-columns: repeat(2, 160px); grid-auto-rows: 160px; gap: 16px; }
}
@media (max-width: 560px) {
  .rt-specs { grid-template-columns: 1fr; gap: 20px; }
  .rt-widgets { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .rt-w { aspect-ratio: 1; }
  .rt-w.m { aspect-ratio: 2.1; }
  .rt-w > b, .rt-w .rt-wrow + b { font-size: 28px; }
}
.rt .crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(244, 241, 234, 0.45); }
.rt .crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(244, 241, 234, 0.25); }
.rt .crumbs a { color: rgba(244, 241, 234, 0.62); }
