/* BUFF OS v64 — the Kegel protocol rows and the guided player.
   Calm teal-violet: it is the one challenge that is about control, not effort. */
.c100-presc { margin-top: 12px; padding: 12px 14px; border-radius: 16px;
  background: rgba(124, 178, 255, .07); border: 1px solid rgba(124, 178, 255, .26); }
.c100-prow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 5px 0; }
.c100-prow + .c100-prow { border-top: 1px solid rgba(255, 255, 255, .05); }
.c100-prow span { flex: 0 0 auto; font-size: 11px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--txt3); }
.c100-prow b { text-align: right; font-size: 13.5px; font-weight: 700; color: var(--txt); }
.c100-easy { margin-top: 9px; padding: 9px 11px; border-radius: 12px; font-size: 12px; line-height: 1.45;
  font-weight: 600; color: var(--txt2); background: rgba(255, 255, 255, .05); border: 1px dashed rgba(255, 255, 255, .18); }
.c100-chips .keg-go { flex-basis: 100%; background: #7cb2ff !important; color: #07172c !important; border: 0 !important; }

/* the guided player */
.keg-run { position: fixed; inset: 0; z-index: 260; display: none; flex-direction: column;
  padding: calc(env(safe-area-inset-top) + 16px) 22px calc(env(safe-area-inset-bottom) + 12px);
  background-color: #080c14; background-image: radial-gradient(circle at 50% 38%, #13203a, #060910); color: var(--txt); }
.keg-run.on { display: flex; animation: crIn .3s var(--ease); }
.keg-sets { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.keg-sets i { width: 40px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .12); }
.keg-sets i.done { background: #7cb2ff; }
.keg-sets i.now { background: rgba(124, 178, 255, .45); box-shadow: 0 0 0 1px rgba(124, 178, 255, .6); }
.keg-mid { flex: 0 0 auto; margin-top: auto; display: flex; justify-content: center; }
.keg-dial { --d: min(68vw, 280px); position: relative; width: var(--d); height: var(--d);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.keg-dial.squeeze { transform: scale(1.04); }
.keg-dial.relax { transform: scale(.93); }
.keg-ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.keg-ring circle { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 5; }
.keg-ring .keg-fg { stroke: #7cb2ff; stroke-linecap: round; transition: stroke-dashoffset .35s linear, stroke .3s; }
.keg-dial.relax .keg-ring .keg-fg { stroke: #5bd6a0; }
.keg-dial.rest .keg-ring .keg-fg { stroke: rgba(255, 255, 255, .3); }
.keg-dial.done .keg-ring .keg-fg { stroke: #5bb98c; }
.keg-num { display: flex; align-items: baseline; justify-content: center; font-weight: 800;
  letter-spacing: -.04em; line-height: .86; font-size: calc(var(--d) * .36); font-variant-numeric: tabular-nums; }
.keg-num small { font-size: 22px; margin-left: 6px; color: var(--txt3); font-weight: 700; }
.keg-lbl { font-size: 13px; letter-spacing: .2em; font-weight: 800; text-transform: uppercase; color: #7cb2ff; }
.keg-dial.relax .keg-lbl { color: #5bd6a0; }
.keg-dial.rest .keg-lbl, .keg-dial.done .keg-lbl { color: var(--txt3); }
.keg-rep { margin-top: 22px; text-align: center; font-size: 16px; font-weight: 800; }
.keg-cue { margin: 10px auto auto; max-width: 360px; text-align: center; font-size: 14px; line-height: 1.5;
  font-weight: 600; color: var(--txt2); min-height: 64px; }
.keg-btns { margin-top: 14px; }
.keg-btns .btn { flex: 1; padding: 14px !important; font-size: 15px !important; }
.keg-btns .btn:not(.ghost) { background: var(--elev2) !important; color: var(--txt) !important; border: 1px solid var(--line2) !important; }
.keg-btns .btn:disabled { opacity: .35; pointer-events: none; }
@media (max-height: 760px) { .keg-dial { --d: 220px; } .keg-rep { margin-top: 14px; font-size: 15px; } .keg-cue { font-size: 13px; } }

/* the written guide inside the challenge sheet */
.keg-guide-btn { width: 100%; margin-top: 12px; min-height: 46px; border-radius: 14px; font-family: inherit;
  font-size: 14.5px; font-weight: 800; color: #7cb2ff; background: rgba(124, 178, 255, .1);
  border: 1px solid rgba(124, 178, 255, .32); cursor: pointer; }
.keg-guide-btn:active { transform: scale(.98); }
.keg-guide { margin-top: 12px; padding: 14px 15px; border-radius: 18px;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line2); }
.keg-img { display: block; width: 100%; height: auto; border-radius: 14px; margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, .07); }
.keg-guide h3 { margin: 16px 0 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: #7cb2ff; }
.keg-guide h3:first-of-type { margin-top: 0; }
.keg-guide p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--txt2); font-weight: 500; }
.keg-ol, .keg-dl { margin: 0; padding: 0; list-style: none; counter-reset: keg; }
.keg-ol li, .keg-dl li { position: relative; padding: 9px 0 9px 32px; font-size: 14px; line-height: 1.55;
  color: var(--txt2); font-weight: 500; }
.keg-ol li + li, .keg-dl li + li { border-top: 1px solid rgba(255, 255, 255, .05); }
.keg-ol li { counter-increment: keg; }
.keg-ol li::before { content: counter(keg); position: absolute; left: 0; top: 10px; width: 22px; height: 22px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px;
  font-weight: 800; color: #07172c; background: #7cb2ff; }
.keg-dl li { padding-left: 0; }
.keg-dl b, .keg-steps b { display: block; margin-bottom: 2px; font-size: 14.5px; font-weight: 800; color: var(--txt); }
.keg-still { display: flex; flex-wrap: wrap; gap: 7px; }
.keg-still span { font-size: 12.5px; font-weight: 700; color: var(--txt2); padding: 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line2); }
.keg-still span::before { content: "✕ "; color: #ff6b6b; font-weight: 800; }
.keg-warn { margin-top: 16px; padding: 12px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.55;
  font-weight: 500; color: var(--txt2); background: rgba(255, 107, 107, .07); border: 1px solid rgba(255, 107, 107, .3); }
.keg-warn b { display: block; margin-bottom: 3px; font-weight: 800; color: #ff9b9b; }
