/* GHIM on Apple Watch, Gym theme: black canvas, a green wash at the top, the ring and the breathing bloom. */
.app-watch { background: #0e0e11; color: #fff; font-family: var(--sf); }
.app-watch > * { position: absolute; }
.w-air { inset: 0; background: radial-gradient(circle at 50% 8%, rgba(28, 186, 84, 0.34), transparent 60%), radial-gradient(circle at 50% 46%, rgba(51, 217, 179, 0.1), transparent 52%), linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.7)); }
.w-air-rest { position: absolute; inset: 0; opacity: 0; background: radial-gradient(circle at 50% 8%, rgba(20, 120, 100, 0.5), transparent 62%), radial-gradient(circle at 50% 50%, rgba(89, 230, 199, 0.14), transparent 52%); }
.w-time { right: 18px; top: 10px; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; z-index: 3; }
/* while the Crown scrolls, the pages fade out beneath the time, as on watchOS (--wm: 1 at rest, 0 moving) */
.w-pages { left: 0; top: 0; width: 208px; height: 260px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, var(--wm, 1)) 0, rgba(0, 0, 0, var(--wm, 1)) 22px, #000 44px); mask-image: linear-gradient(180deg, rgba(0, 0, 0, var(--wm, 1)) 0, rgba(0, 0, 0, var(--wm, 1)) 22px, #000 44px); }
.wp-in { position: absolute; left: 0; top: 0; width: 208px; will-change: transform; }
.wp { position: relative; width: 208px; height: 260px; }
.w-btn { position: absolute; top: 6px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.12); color: #c8c8cc; }
.w-btn .gl { width: 15px; height: 15px; }
.w-btn.l { left: 8px; } .w-btn.r { right: 8px; display: none; }
.wf-fig { position: absolute; left: 52px; top: 36px; width: 104px; height: 146px; }
.wf-st { position: absolute; width: 38px; display: flex; flex-direction: column; align-items: center; gap: 0; color: #8e8e93; }
.wf-st .gl { width: 14px; height: 14px; margin-bottom: 1px; }
.wf-st b { font-family: var(--sfr); font-size: 13px; font-weight: 700; color: #fff; line-height: 1.1; }
.wf-st small { font-size: 7.5px; font-weight: 700; letter-spacing: 0.08em; }
.wf-st.l1 { left: 4px; top: 54px; } .wf-st.l2 { left: 4px; top: 104px; } .wf-st.l3 { left: 4px; top: 154px; }
.wf-st.r1 { right: 4px; top: 54px; } .wf-st.r2 { right: 4px; top: 104px; } .wf-st.r3 { right: 4px; top: 154px; }
.wf-pill { position: absolute; left: 28px; right: 28px; top: 206px; height: 36px; border-radius: 18px; display: grid; place-items: center; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, 0.14); }
.wk-h { position: absolute; left: 16px; top: 40px; font-size: 13px; font-weight: 700; color: #1cba54; }
.wk-grid { position: absolute; left: 10px; right: 10px; top: 66px; display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 10px; text-align: center; }
.wk-grid small { font-size: 9px; font-weight: 600; color: #8e8e93; }
.wk-grid span { position: relative; font-size: 13px; font-weight: 600; height: 30px; display: grid; place-items: center; border-radius: 9px; font-variant-numeric: tabular-nums; }
.wk-grid span.today { background: rgba(28, 186, 84, 0.25); box-shadow: inset 0 0 0 1.5px #1cba54; }
.wk-grid span.nx { color: #8e8e93; }
.wk-grid span i { position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; }
.wk-grid span i.on { background: #1cba54; }
.wk-grid span i.plan { background: rgba(255, 255, 255, 0.35); }
.ws-l { position: absolute; left: 14px; top: 46px; }
.ws-l small, .ws-r small { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; color: #8e8e93; }
.ws-l b { display: flex; align-items: baseline; gap: 3px; font-family: var(--sfr); font-size: 38px; font-weight: 800; line-height: 1.1; }
.ws-l em { font-style: normal; font-family: var(--sf); font-size: 14px; font-weight: 600; color: #fa9e47; }
.ws-l .gl { width: 15px; height: 15px; color: #fa9e47; align-self: center; }
.ws-r { position: absolute; right: 14px; top: 46px; text-align: right; }
.ws-r b { display: block; margin-top: 2px; font-family: var(--sfr); font-size: 17px; font-weight: 700; color: #1cba54; }
.ws-r em { display: block; font-style: normal; font-size: 12px; color: #b8b8bd; }
.ws-days { position: absolute; left: 10px; right: 10px; top: 160px; display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.ws-days small { display: block; font-size: 9px; font-weight: 600; color: #8e8e93; margin-bottom: 5px; }
.ws-days i { width: 22px; height: 22px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.25); }
.ws-days i.on { background: #1cba54; box-shadow: none; }
.ws-days i .gl { width: 12px; height: 12px; }
.w-dots { right: 3px; top: 104px; display: flex; flex-direction: column; gap: 3px; }
.w-dots i { width: 4px; height: 7px; border-radius: 2px; background: #fff; opacity: 0.35; }

/* the session */
.w-sess { left: 0; top: 0; width: 208px; height: 260px; background: #0e0e11; visibility: hidden; z-index: 2; overflow: hidden; }
.w-sess::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 8%, rgba(28, 186, 84, 0.3), transparent 60%), linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.6)); }
.w-rings { position: absolute; left: 0; top: 26px; width: 208px; height: 208px; overflow: visible; }
.w-track { fill: none; stroke: rgba(28, 186, 84, 0.2); stroke-width: 16; }
.w-prog { fill: none; stroke: url(#w-grad); stroke-width: 16; stroke-linecap: round; }
.w-halo { fill: none; stroke: rgba(28, 186, 84, 0.18); stroke-width: 26; stroke-linecap: round; }
.w-restring { fill: none; stroke: rgba(89, 230, 199, 0.4); stroke-width: 3; stroke-linecap: round; opacity: 0; }
.w-move { position: absolute; left: 34px; top: 52px; width: 140px; height: 118px; }
.w-move .still { inset: 0; width: 100%; height: 100%; }
.w-load { position: absolute; left: 0; right: 0; top: 166px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.w-load b { font-size: 11.5px; font-weight: 700; }
.w-load span { font-size: 10.5px; color: rgba(255, 255, 255, 0.68); }
.w-load strong { font-family: var(--sf); font-size: 20px; font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; }
.w-count { position: absolute; left: 0; right: 0; top: 70px; text-align: center; visibility: hidden; }
.w-count b { display: block; font-family: var(--sfr); font-size: 64px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.w-count small { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; color: #33d9b3; }
.w-rest { position: absolute; left: 0; top: 26px; width: 208px; height: 208px; opacity: 0; }
.wb { position: absolute; left: 18px; top: 18px; width: 172px; height: 172px; }
.wb i { position: absolute; border-radius: 50%; }
.wb-glow { inset: -10px; background: radial-gradient(circle, rgb(89, 230, 199) 0%, rgba(89, 230, 199, 0.75) 42%, rgba(89, 230, 199, 0) 70%); opacity: 0.12; }
.wb-dot { left: 62px; top: 62px; width: 48px; height: 48px; background: rgb(89, 230, 199); opacity: 0.28; }
.wb-core { left: 56.75px; top: 56.75px; width: 58.5px; height: 58.5px; background: rgba(0, 0, 0, 0.42); }
.w-cue { position: absolute; left: 0; right: 0; top: 72px; height: 30px; font: 700 19px/30px var(--sfr); text-align: center; color: rgba(255, 255, 255, 0.96); text-shadow: 0 0 6px rgba(0, 0, 0, 0.55); }
.w-cue span { position: absolute; inset: 0; }
.w-next { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.w-next small { font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.w-next span { font-size: 11.5px; font-weight: 600; color: rgba(255, 255, 255, 0.72); white-space: nowrap; }

/* the iPhone beside the Watch, mirroring the session */
.app-mirror { color: #fff5ed; font-family: var(--sf); }
.app-mirror > * { position: absolute; }
.mi-field { inset: 0; }
.mi-clock { left: 0; right: 0; top: 140px; text-align: center; font-family: var(--sfr); font-size: 56px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mi-drain { left: 141px; top: 212px; width: 110px; height: 2px; background: rgba(255, 255, 255, 0.25); }
.mi-drain i { position: absolute; inset: 0; background: currentColor; transform-origin: 0 50%; }
.mi-voice { left: 0; right: 0; top: 226px; text-align: center; font-size: 16px; opacity: 0.86; }
.mi-row { left: 38px; right: 26px; height: 64px; padding-left: 30px; display: flex; flex-direction: column; justify-content: center; }
.mi-row b { font-size: 22px; font-weight: 700; }
.mi-row small { font-size: 13px; opacity: 0.72; }
.mi-row i { position: absolute; left: 0; top: 26px; width: 12px; height: 12px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.22); }
.mi-row.dim { opacity: 0.5; }
.mi-row.dim b { font-size: 16px; font-weight: 500; }
.mi-row.dim i { width: 8px; height: 8px; left: 2px; top: 28px; opacity: 0.5; box-shadow: none; }
.mi-watch { left: 0; right: 0; top: 66px; display: flex; justify-content: center; gap: 6px; font-size: 12px; font-weight: 600; opacity: 0.8; }
.mi-watch .gl { width: 14px; height: 14px; }
