/* BUFF OS v80 — Daily stretch card, sheet and guided runner. */
#v80Stretch { --sc: 90, 169, 255; }
.v80-card { position: relative; margin-bottom: 16px; padding: 16px 14px 14px; border-radius: 22px;
  background: linear-gradient(165deg, rgba(var(--sc), .15), rgba(255, 122, 69, .05) 60%, rgba(255, 255, 255, .02));
  border: 1.5px solid rgba(var(--sc), .42); box-shadow: 0 0 0 4px rgba(var(--sc), .05), 0 10px 30px rgba(0, 0, 0, .35); }
.v80-card.done { border-color: rgb(var(--sc)); box-shadow: 0 0 0 4px rgba(var(--sc), .14), 0 0 26px rgba(var(--sc), .22); }
.v80-card.restday { opacity: .92; }
.v80-kick { font-size: 10.5px; font-weight: 800; letter-spacing: .09em; color: rgb(var(--sc)); }
.v80-hero { display: flex; align-items: center; gap: 14px; margin: 12px 0 12px; }
.v80-ringwrap { position: relative; flex: 0 0 auto; width: 78px; height: 78px; }
.v80-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.v80-ring circle { fill: none; stroke-width: 8; }
.v80-ring .t { stroke: rgba(255, 255, 255, .09); }
.v80-ring .p { stroke: rgb(var(--sc)); stroke-linecap: round; transition: stroke-dashoffset .7s cubic-bezier(.2, .9, .3, 1.1); filter: drop-shadow(0 0 5px rgba(var(--sc), .6)); }
.v80-ringtxt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.v80-ringtxt b { font-size: 20px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.v80-ringtxt small { font-size: 10px; font-weight: 700; color: var(--txt3); margin-top: 2px; }
.v80-herotxt { flex: 1 1 auto; min-width: 0; }
.v80-title { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.v80-sub { margin-top: 4px; font-size: 12.5px; line-height: 1.35; font-weight: 600; color: var(--txt2); }
.v80-facts { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 7px; font-size: 12px; font-weight: 700; color: var(--txt3); }
.v80-facts b { color: var(--txt); font-weight: 800; }

.v80-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 12px; }
.v80-d { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.v80-d i { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 34px; aspect-ratio: 1; border-radius: 50%; font-style: normal; font-size: 13px; font-weight: 800;
  background: rgba(255, 255, 255, .06); border: 1.5px solid rgba(255, 255, 255, .1); color: var(--accent-ink); }
.v80-d small { font-size: 10px; font-weight: 800; color: var(--txt3); }
.v80-d.ok i { background: rgb(var(--sc)); border-color: rgb(var(--sc)); }
.v80-d.part i { border-color: rgb(var(--sc)); background: rgba(var(--sc), .22); }
.v80-d.t i { box-shadow: 0 0 0 3px rgba(var(--sc), .25); }
.v80-d.t small { color: var(--txt); }
.v80-d.off:not(.ok) { opacity: .45; }

.v80-list { display: flex; flex-direction: column; gap: 7px; }
.v80-row { display: flex; align-items: center; gap: 11px; width: 100%; padding: 7px 11px 7px 7px; border-radius: 16px; cursor: pointer; font: inherit; color: inherit; text-align: left;
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .08); transition: transform .15s, background .2s; -webkit-tap-highlight-color: transparent; }
.v80-row:active { transform: scale(.985); background: rgba(255, 255, 255, .08); }
.v80-row.ok { border-color: rgba(var(--sc), .5); background: rgba(var(--sc), .09); }
.v80-row.wall { margin-top: 7px; }
.v80-th { flex: 0 0 auto; width: 74px; height: 50px; border-radius: 11px; background: rgba(0, 0, 0, .28); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.v80-th svg, .v80-lvf svg { width: 100%; height: 100%; }
.v80-rt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.v80-rt b { font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; }
.v80-rt small { font-size: 11.5px; font-weight: 600; color: var(--txt3); }
.v80-rt em { align-self: flex-start; margin-top: 3px; padding: 2px 8px; border-radius: 8px; font-style: normal; font-size: 11px; font-weight: 800; color: var(--accent-ink); background: var(--accent); }
.v80-dots { flex: 0 0 auto; display: flex; gap: 5px; }
.v80-dots i { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .25); }
.v80-dots i.on { background: rgb(var(--sc)); border-color: rgb(var(--sc)); }
.v80-dots i.ck { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 13px; font-weight: 800; color: var(--accent-ink); background: rgb(var(--sc)); border-color: rgb(var(--sc)); }

.v80-btns { display: flex; gap: 8px; margin-top: 12px; }
.v80-go, .v80-sec { height: 48px; border-radius: 15px; border: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 800; }
.v80-go { flex: 1 1 auto; color: #06121f; background: linear-gradient(145deg, #8fc6ff, rgb(var(--sc))); box-shadow: 0 6px 18px rgba(var(--sc), .3); }
.v80-sec { flex: 0 0 auto; padding: 0 16px; color: var(--txt); background: rgba(255, 255, 255, .09); }
.v80-go.full, .v80-sec.full { display: block; width: 100%; margin-top: 10px; }
.v80-go:active, .v80-sec:active { transform: scale(.97); }
.v80-fact { margin-top: 11px; font-size: 12px; line-height: 1.4; font-weight: 600; color: var(--txt3); }

/* figures */
.v80-fig { display: block; width: 100%; height: 100%; overflow: visible; }
.v80-fig .pr { stroke: rgba(var(--sc), .55); stroke-width: 2.4; stroke-linecap: round; fill: none; }
.v80-fig .pr.w { stroke-width: 4; } .v80-fig .pr.b { stroke-width: 4; stroke: rgba(255, 255, 255, .55); }
.v80-fig .pr.c { fill: rgba(var(--sc), .18); }
.v80-fig .bd { fill: none; stroke: #f2f2f7; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.v80-fig .hd { fill: #f2f2f7; }
.v80-fig .hi { animation: v80pulse 2.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.v80-fig .gp line { stroke: rgba(255, 255, 255, .6); stroke-width: 3; stroke-linecap: round; }
.v80-fig .gp circle { fill: #ff7a45; }
.v80-fig.mini .bd { stroke-width: 8; } .v80-fig.mini .pr { stroke-width: 3.4; } .v80-fig.mini .hi { animation: none; }
@keyframes v80pulse { 0%, 100% { opacity: .55; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.12); } }

/* overlays */
.v80-ov { position: fixed; inset: 0; z-index: 340; display: flex; flex-direction: column; justify-content: flex-end; background: rgba(0, 0, 0, .0); pointer-events: none; transition: background .3s; }
.v80-ov.on { background: rgba(0, 0, 0, .55); pointer-events: auto; }
.v80-sh { position: relative; max-height: 92vh; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 10px 16px calc(env(safe-area-inset-bottom) + 28px); border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, #14171f, #0b0d12); border-top: 1px solid rgba(var(--sc, 90, 169, 255), .4); transform: translateY(105%); transition: transform .38s cubic-bezier(.2, .9, .3, 1); }
.v80-ov.on .v80-sh { transform: none; }
.v80-ov { --sc: 90, 169, 255; }
.v80-grab { width: 40px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .2); margin: 0 auto 10px; }
.v80-x { position: absolute; top: 12px; right: 14px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer; font-size: 14px; font-weight: 800; color: var(--txt); background: rgba(255, 255, 255, .1); }
.v80-shk { font-size: 10.5px; font-weight: 800; letter-spacing: .09em; color: rgb(var(--sc)); }
.v80-sht { margin: 3px 40px 10px 0; font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.v80-big { position: relative; border-radius: 20px; padding: 10px 6px 34px; background: radial-gradient(120% 100% at 50% 0%, rgba(var(--sc), .16), rgba(0, 0, 0, .3)); border: 1px solid rgba(255, 255, 255, .07); }
.v80-big .v80-fig { height: 190px; }
.v80-feel { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-size: 10.5px; font-weight: 800; letter-spacing: .07em; color: #ff9a6b; padding: 0 12px; }
.v80-lvdesc { margin: 12px 0 2px; font-size: 14.5px; line-height: 1.4; font-weight: 700; }
.v80-why { margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; font-weight: 500; color: var(--txt2); }
.v80-h { margin: 18px 0 8px; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--txt3); }
.v80-ol { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.5; font-weight: 600; } .v80-ol li { margin-bottom: 6px; }
.v80-lvls { display: flex; flex-direction: column; gap: 8px; }
.v80-lv { display: grid; grid-template-columns: 84px 1fr; grid-template-rows: auto auto; column-gap: 12px; text-align: left; padding: 8px; border-radius: 15px; cursor: pointer; font: inherit; color: inherit;
  background: rgba(255, 255, 255, .045); border: 1.5px solid rgba(255, 255, 255, .09); }
.v80-lv.on { border-color: rgb(var(--sc)); background: rgba(var(--sc), .12); }
.v80-lvf { grid-row: 1 / 3; height: 58px; border-radius: 10px; background: rgba(0, 0, 0, .3); overflow: hidden; }
.v80-lv b { font-size: 14px; font-weight: 800; align-self: end; } .v80-lv small { font-size: 12px; line-height: 1.35; font-weight: 600; color: var(--txt2); }
.v80-tip { margin-top: 16px; padding: 11px 13px; border-radius: 14px; font-size: 13px; line-height: 1.45; font-weight: 600; background: rgba(255, 122, 69, .09); border: 1px solid rgba(255, 122, 69, .25); }
.v80-prog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.v80-prog div { padding: 11px 6px; border-radius: 14px; text-align: center; background: rgba(255, 255, 255, .05); }
.v80-prog b { display: block; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; } .v80-prog small { font-size: 10.5px; font-weight: 700; color: var(--txt3); }

/* guided runner */
.v80-ov.run { justify-content: stretch; background: #07090d; z-index: 345; }
.v80-ov.run.on { background: #07090d; }
.v80-r { position: relative; flex: 1; display: flex; flex-direction: column; padding: calc(env(safe-area-inset-top) + 8px) 16px calc(env(safe-area-inset-bottom) + 18px);
  background: radial-gradient(130% 70% at 50% 0%, rgba(var(--sc), .22), transparent 60%); transition: background .4s; }
.v80-r.pause, .v80-r.switch { background: radial-gradient(130% 70% at 50% 0%, rgba(255, 255, 255, .08), transparent 60%); }
.v80-r.prep { background: radial-gradient(130% 70% at 50% 0%, rgba(255, 122, 69, .2), transparent 60%); }
.v80-rbar { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; margin: 4px 0 10px; } .v80-rbar i { display: block; height: 100%; width: 0; background: rgb(var(--sc)); }
.v80-rtop { display: flex; align-items: center; gap: 12px; } .v80-rtop .v80-x { position: static; flex: 0 0 auto; }
.v80-rtop b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; } .v80-rtop small { font-size: 12px; font-weight: 700; color: var(--txt3); }
.v80-rfig { position: relative; flex: 1 1 auto; min-height: 150px; max-height: 300px; margin: 8px 0 4px; border-radius: 22px; padding: 8px 4px 30px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .06); }
.v80-rfig .v80-fig { height: 100%; }
.v80-rclock { position: relative; width: 150px; height: 150px; margin: 6px auto 4px; }
.v80-rring { width: 100%; height: 100%; transform: rotate(-90deg); } .v80-rring circle { fill: none; stroke-width: 9; } .v80-rring .t { stroke: rgba(255, 255, 255, .1); }
.v80-rring .p { stroke: rgb(var(--sc)); stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(var(--sc), .6)); transition: stroke-dashoffset .25s linear; }
.v80-r.pause .p, .v80-r.switch .p { stroke: rgba(255, 255, 255, .7); } .v80-r.prep .p { stroke: #ff9a6b; }
.v80-rnum { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.v80-rnum b { font-size: 52px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.03em; } .v80-rnum small { margin-top: 3px; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; color: var(--txt3); }
.v80-rcue { min-height: 52px; text-align: center; font-size: 14.5px; line-height: 1.4; font-weight: 700; padding: 0 6px; }
.v80-rlv { display: flex; gap: 6px; justify-content: center; margin: 8px 0 12px; flex-wrap: wrap; }
.v80-rlv button { padding: 7px 13px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .14); font: inherit; font-size: 12.5px; font-weight: 800; color: var(--txt2); background: transparent; cursor: pointer; }
.v80-rlv button.on { color: #06121f; background: rgb(var(--sc)); border-color: rgb(var(--sc)); }
.v80-rctl { display: flex; align-items: center; justify-content: center; gap: 12px; }
.v80-rctl button { height: 54px; min-width: 54px; border-radius: 18px; border: 0; cursor: pointer; font: inherit; font-size: 20px; color: var(--txt); background: rgba(255, 255, 255, .1); }
.v80-rctl button.big { flex: 1 1 auto; max-width: 220px; font-size: 16px; font-weight: 800; color: #06121f; background: linear-gradient(145deg, #8fc6ff, rgb(var(--sc))); }
.v80-fin { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 24px 22px calc(env(safe-area-inset-bottom) + 24px); text-align: center; background: radial-gradient(120% 60% at 50% 20%, rgba(var(--sc), .25), transparent 65%); }
.v80-finem { font-size: 64px; } .v80-fint { margin-top: 6px; font-size: 32px; font-weight: 800; letter-spacing: -.03em; } .v80-fins { margin: 6px 0 20px; font-size: 14.5px; font-weight: 600; color: var(--txt2); }
.v80-fingrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.v80-fingrid div { padding: 14px 6px; border-radius: 16px; background: rgba(255, 255, 255, .06); } .v80-fingrid b { display: block; font-size: 26px; font-weight: 800; } .v80-fingrid small { font-size: 11px; font-weight: 700; color: var(--txt3); }
@media (max-height: 700px) { .v80-rclock { width: 120px; height: 120px; } .v80-rnum b { font-size: 40px; } .v80-rfig { min-height: 110px; } }

/* photos */
.v80-ph { position: relative; width: 100%; height: 100%; overflow: hidden; background: #0d0f14; }
.v80-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.v80-ph .fb { display: none; } .v80-ph.nophoto .fb { display: block; } .v80-ph.nophoto img, .v80-ph.nophoto .v80-hl { display: none; }
.v80-ph.thumb img { object-fit: cover; }
.v80-hl { position: absolute; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255, 122, 69, .85) 0%, rgba(255, 122, 69, .45) 38%, rgba(255, 122, 69, 0) 70%); animation: v80glow 2.2s ease-in-out infinite; }
@keyframes v80glow { 0%, 100% { opacity: .5; transform: translate(-50%, -50%) scale(.88); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); } }
.v80-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.v80-pair > div { position: relative; aspect-ratio: 883 / 887; border-radius: 14px; overflow: hidden; }
.v80-pair small { position: absolute; left: 8px; top: 7px; z-index: 3; padding: 2px 7px; border-radius: 7px; font-size: 9.5px; font-weight: 800; letter-spacing: .08em; color: #fff; background: rgba(0, 0, 0, .55); }
.v80-big { padding: 8px 8px 34px; } .v80-big .v80-fig { height: auto; }
.v80-rfig { padding: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.v80-rfig .v80-ph { width: auto; max-width: 100%; height: 100%; aspect-ratio: 883 / 887; border-radius: 22px; }
.v80-rfig .v80-feel { z-index: 3; text-shadow: 0 1px 6px #000; }
.v80-th .v80-ph, .v80-lvf .v80-ph { border-radius: inherit; }
.v80-rtop { position: relative; } .v80-snd { margin-left: auto; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 0; font-size: 18px; cursor: pointer; background: rgba(255,255,255,.1); } .v80-snd.off { opacity: .55; }
