/* BUFF OS v82 — Goal tab: this week toward the goal. */
.v82-card { margin-bottom: 16px; padding: 16px 14px 14px; border-radius: 22px; background: linear-gradient(165deg, rgba(var(--accent-rgb), .15), rgba(255, 122, 69, .05) 60%, rgba(255, 255, 255, .02)); border: 1.5px solid rgba(var(--accent-rgb), .45); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .05), 0 10px 30px rgba(0, 0, 0, .35); }
.v82-kick { font-size: 10.5px; font-weight: 800; letter-spacing: .09em; color: var(--accent); }
.v82-hero { display: flex; align-items: center; gap: 14px; margin: 12px 0 14px; }
.v82-ringwrap { position: relative; flex: 0 0 auto; width: 78px; height: 78px; }
.v82-ring { width: 100%; height: 100%; transform: rotate(-90deg); } .v82-ring circle { fill: none; stroke-width: 8; } .v82-ring .t { stroke: rgba(255, 255, 255, .09); }
.v82-ring .p { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset .7s cubic-bezier(.2, .9, .3, 1.1); filter: drop-shadow(0 0 5px rgba(var(--accent-rgb), .55)); }
.v82-rt { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; } .v82-rt b { font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; }
.v82-ht { flex: 1 1 auto; min-width: 0; } .v82-t { font-size: 16px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; } .v82-s { margin-top: 5px; font-size: 12.5px; line-height: 1.35; font-weight: 600; color: var(--txt2); }
.v82-r { margin-bottom: 13px; }
.v82-rh { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; } .v82-rh b { font-size: 15px; font-weight: 800; } .v82-rh em { font-style: normal; font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; } .v82-rh small { font-size: 11px; font-weight: 700; color: var(--txt3); }
.v82-bar { position: relative; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: visible; }
.v82-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #ff7a45, var(--accent)); transition: width .55s cubic-bezier(.2, .9, .3, 1.1); }
.v82-bar u { position: absolute; top: -3px; width: 2px; height: 16px; border-radius: 1px; background: rgba(255, 255, 255, .55); }
.v82-r.ok .v82-bar i { box-shadow: 0 0 10px rgba(var(--accent-rgb), .7); } .v82-r.ok .v82-rh em { color: var(--accent); }
.v82-rn { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--txt2); } .v82-rn small { font-size: 11px; font-weight: 600; color: var(--txt3); }
.v82-sup { margin-top: 4px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); } .v82-note { font-size: 11.5px; line-height: 1.4; font-weight: 600; color: var(--txt3); }
.v82-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; } .v82-pills div { padding: 11px 6px; border-radius: 14px; text-align: center; background: rgba(255, 255, 255, .05); }
.v82-pills b { display: block; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; } .v82-pills small { font-size: 10.5px; line-height: 1.25; font-weight: 700; color: var(--txt3); }
.v82-foot { margin-top: 12px; font-size: 11.5px; line-height: 1.4; font-weight: 600; color: var(--txt3); }

.v82-r { cursor: pointer; -webkit-tap-highlight-color: transparent; border-radius: 14px; padding: 2px 0; transition: background .2s; } .v82-r:active { background: rgba(255, 255, 255, .05); }
.v82-go { font-style: normal; font-size: 18px; color: var(--txt3); margin-left: 2px; }
.v82-sh .v82-big { margin: 4px 0 8px; display: flex; align-items: baseline; gap: 8px; } .v82-big b { font-size: 40px; font-weight: 800; font-variant-numeric: tabular-nums; } .v82-big span { font-size: 13px; font-weight: 700; color: var(--txt3); }
.v82-sh .v82-bar { margin-bottom: 4px; } .v82-status { margin: 10px 0 14px; font-size: 14px; line-height: 1.4; font-weight: 700; }
.v82-start { display: block; width: 100%; height: 52px; border-radius: 16px; border: 0; cursor: pointer; font: inherit; font-size: 16px; font-weight: 800; color: var(--accent-ink); background: linear-gradient(145deg, var(--accent-hot), var(--accent)); box-shadow: 0 6px 18px rgba(var(--accent-rgb), .3); }
.v82-start:active { transform: scale(.98); }
.v82-part { margin-top: 12px; } .v82-ph b { display: block; font-size: 15px; font-weight: 800; } .v82-ph small { display: block; margin: 2px 0 8px; font-size: 12px; line-height: 1.35; font-weight: 600; color: var(--txt3); }
.v82-ex { padding: 11px 12px; margin-bottom: 8px; border-radius: 15px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.v82-et { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; } .v82-et b { font-size: 15px; font-weight: 800; } .v82-et em { font-style: normal; font-size: 11px; font-weight: 800; color: var(--accent); }
.v82-ex p { margin: 4px 0 9px; font-size: 12.5px; line-height: 1.4; font-weight: 500; color: var(--txt2); }
.v82-eb { display: flex; gap: 8px; } .v82-do, .v82-how { height: 38px; border-radius: 12px; border: 0; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 800; }
.v82-do { flex: 1 1 auto; color: var(--accent-ink); background: var(--accent); } .v82-how { padding: 0 16px; color: var(--txt); background: rgba(255, 255, 255, .1); }

.v82-pic { display: block; width: 100%; margin: 0 0 10px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer; background: #11141b; }
.v82-pic img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; background: #11141b; }
.v82-cap { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255, 255, 255, .08); }
.v82-cap i { padding: 5px 6px; font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-align: center; color: var(--txt2); background: rgba(0, 0, 0, .3); }

.v82-log { padding: 0 14px; height: 38px; border-radius: 12px; border: 1.5px solid rgba(var(--accent-rgb), .6); cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 800; color: var(--accent); background: transparent; }
.v82-lg { margin-top: 10px; padding: 12px; border-radius: 14px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .08); } .v82-lg[hidden] { display: none; }
.v82-lr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; } .v82-lr > span { font-size: 13px; font-weight: 700; color: var(--txt2); }
.v82-lr > div { display: flex; align-items: center; gap: 14px; } .v82-lr b { min-width: 44px; text-align: center; font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.v82-lr button { width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; font-size: 22px; font-weight: 700; color: var(--txt); background: rgba(255, 255, 255, .1); } .v82-lr button:active { transform: scale(.93); }
.v82-lgo { display: block; width: 100%; height: 46px; border-radius: 14px; border: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 800; color: var(--accent-ink); background: var(--accent); }
/* exercise photo thumbnails, everywhere */
.bth { position: relative; display: inline-block; width: 60px; height: 45px; border-radius: 10px; overflow: hidden; background: #11141b; flex: 0 0 auto; vertical-align: middle; }
.bth b { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; font-size: 22px; font-weight: 400; } .bth.none b { display: flex; }
.bth img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; display: block; background: #11141b; }
.v76-i:has(.bth), .v73-pl-i:has(.bth), .v78-ie:has(.bth), .tl-i:has(.bth) { width: auto; font-size: 0; display: inline-flex; margin-right: 2px; }
.et-emoji:has(.bth) { font-size: 0; display: block; margin: 0 0 8px; } .et-emoji .bth { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; border-radius: 12px; margin: 0; } .et-emoji .bth b { font-size: 34px; }

/* the traffic light: how often each exercise can be done. Green every day, amber most days, red every other day. */
.v82-leg { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: -6px 0 14px; font-size: 11.5px; font-weight: 700; color: var(--txt3); } .v82-leg span { display: inline-flex; align-items: center; gap: 5px; }
.v82-leg i, .v82-tier { --c: #ffb866; } .v82-leg i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); display: inline-block; }
.v82-leg .tg, .v82-tier.tg, .v82-ex.tier-g { --c: #5fd39a; } .v82-leg .ta, .v82-tier.ta, .v82-ex.tier-a { --c: #ffb866; } .v82-leg .tr, .v82-tier.tr, .v82-ex.tier-r { --c: #ff7a6b; }
.v82-ex { border-color: color-mix(in srgb, var(--c, transparent) 55%, transparent); box-shadow: inset 3px 0 0 var(--c, transparent); }
.v82-tier { margin-left: auto; margin-right: 8px; font-size: 10.5px; font-weight: 800; color: var(--c); white-space: nowrap; }
.bth.tier-g { box-shadow: 0 0 0 2px #5fd39a; } .bth.tier-a { box-shadow: 0 0 0 2px #ffb866; } .bth.tier-r { box-shadow: 0 0 0 2px #ff7a6b; }
.bth { margin: 2px; }
.tldr-row[data-tier="g"] { box-shadow: inset 3px 0 0 #5fd39a; } .tldr-row[data-tier="a"] { box-shadow: inset 3px 0 0 #ffb866; } .tldr-row[data-tier="r"] { box-shadow: inset 3px 0 0 #ff7a6b; }

/* tiles: the photo is the label. No tier word, no round info button, no explainer card. The coloured outline says it. */
.ex-tile .et-tier, .ex-tile .et-info, .v68-legend { display: none !important; }

.v82-todaycard { border-color: rgba(var(--accent-rgb), .55); }
.v82-sub { margin: 14px 0 7px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--txt3); }
.v82-nx { display: flex; align-items: center; gap: 11px; width: 100%; margin-bottom: 7px; padding: 7px 12px 7px 7px; border: 0; border-radius: 14px; cursor: pointer; font: inherit; color: inherit; text-align: left; background: rgba(255, 255, 255, .05); }
.v82-nx b { flex: 1 1 auto; font-size: 14.5px; font-weight: 800; } .v82-nx i { font-style: normal; font-size: 20px; color: var(--txt3); }

/* ring text sits inside the ring without touching the stroke; a second darker lap shows anything over 100% */
.v82-rt { flex-direction: column; gap: 1px; } .v82-rt b { font-size: 16px !important; line-height: 1; letter-spacing: -.02em; }
.v82-rt small { display: block; font-size: 9px; font-weight: 800; line-height: 1.05; color: var(--txt3); text-align: center; max-width: 52px; } .v82-rt small.over { color: #ffb866; }
.v82-ring .p2 { fill: none; stroke: #8a4f0c; stroke-width: 8; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(255, 184, 102, .6)); transition: stroke-dashoffset .7s cubic-bezier(.2, .9, .3, 1.1); }
