/* BUFF OS v53 — the plan card */
.v53-block { display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin: -2px 0 9px; }
.v53-bn { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); }
.v53-bd { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; color: var(--txt3);
  white-space: nowrap; }
.v53-bar { height: 6px !important; }
.v53-why { margin: 10px 0 14px !important; }

.v53-session { border: 1px solid rgba(var(--accent-rgb), .24); border-radius: 17px;
  background: rgba(var(--accent-rgb), .06); padding: 14px 14px 13px; }
.v53-session.v53-ok { border-color: rgba(91, 185, 140, .3); background: rgba(91, 185, 140, .07); }
.v53-sh { display: flex; align-items: center; gap: 11px; }
.v53-se { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; font-size: 18px;
  background: rgba(var(--accent-rgb), .14); border: 1px solid rgba(var(--accent-rgb), .26); }
.v53-session.v53-ok .v53-se { background: rgba(91,185,140,.15); border-color: rgba(91,185,140,.32); }
.v53-st { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.v53-st b { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.v53-st small { font-size: 11.5px; font-weight: 600; color: var(--txt3); }
.v53-min { flex: 0 0 auto; font-size: 10.5px; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; color: var(--txt3); }

.v53-list { margin: 12px 0 4px; }
.v53-ex { display: flex; align-items: center; gap: 10px; padding: 8px 2px;
  border-top: 1px solid rgba(255,255,255,.06); }
.v53-ex:first-child { border-top: none; }
.v53-xe { flex: 0 0 20px; font-size: 14px; text-align: center; }
.v53-xn { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 700; color: var(--txt); }
.v53-xd { flex: 0 0 auto; font-size: 12px; font-weight: 800; color: var(--accent); white-space: nowrap; }
.v53-extra { margin-top: 8px; font-size: 11.5px; font-weight: 700; color: var(--txt3); }
.v53-go { width: 100% !important; margin-top: 13px !important; }

.v53-week { display: flex; gap: 6px; margin-top: 14px; }
.v53-day { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 7px 0 6px; border-radius: 12px; background: var(--elev2);
  border: 1px solid var(--line2); }
.v53-day.v53-r { opacity: .72; }
.v53-day.v53-t { border-color: rgba(var(--accent-rgb), .6); background: rgba(var(--accent-rgb), .1); }
.v53-day.v53-hit { border-color: rgba(91,185,140,.4); background: rgba(91,185,140,.12); }
.v53-dl { font-size: 9px; font-weight: 800; letter-spacing: .06em; color: var(--txt3); }
.v53-di { font-size: 13px; line-height: 1; }
.v53-day.v53-hit .v53-di { color: #5bb98c; font-weight: 800; }

/* ---- full plan sheet ---- */
.v53-gtitle { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px; }
.v53-lead { font-size: 13.5px; line-height: 1.5; color: var(--txt2); font-weight: 500; margin-bottom: 14px; }
.v53-note { font-size: 12.5px; line-height: 1.5; color: var(--txt2); font-weight: 500;
  background: var(--elev2); border: 1px solid var(--line2); border-radius: 14px;
  padding: 12px 13px; margin: 14px 0; }
.v53-note b { color: var(--txt); font-weight: 800; }
.v53-pblock { border: 1px solid var(--line2); border-radius: 16px; padding: 13px 13px 8px;
  margin-bottom: 12px; }
.v53-pblock.cur { border-color: rgba(var(--accent-rgb), .42); background: rgba(var(--accent-rgb), .05); }
.v53-ph { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.v53-ph b { font-size: 15px; font-weight: 800; }
.v53-ph span { font-size: 10px; font-weight: 700; letter-spacing: .04em; color: var(--txt3);
  text-align: right; }
.v53-pdose { margin-top: 5px; font-size: 11px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: var(--accent); }
.v53-pwhy { margin: 7px 0 10px; font-size: 12.5px; line-height: 1.45; color: var(--txt3); font-weight: 500; }
.v53-prow { display: flex; align-items: center; gap: 10px; padding: 9px 0;
  border-top: 1px solid rgba(255,255,255,.06); }
.v53-prow.now { background: rgba(var(--accent-rgb), .07); border-radius: 10px;
  padding: 9px 8px; margin: 0 -4px; }
.v53-pd { flex: 0 0 32px; font-size: 10px; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; color: var(--txt3); }
.v53-pb { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.v53-pb b { font-size: 13.5px; font-weight: 800; }
.v53-pb small { font-size: 11px; font-weight: 600; color: var(--txt3); line-height: 1.35; }
.v53-pn { flex: 0 0 auto; font-size: 11.5px; font-weight: 800; color: var(--accent); }
/* days later this week sit back a little */
.v53-day.v53-fwd { opacity: .5; }

/* ---- Andrew's word before the session ---- */
.pep-overlay { position: fixed; inset: 0; z-index: 900; display: none;
  align-items: flex-start; justify-content: center; padding: 24px;
  overflow-y: auto; overscroll-behavior: contain;
  padding-top: calc(var(--buff-top-clearance, 34px) + 24px);
  padding-bottom: calc(var(--buff-bottom-clearance, 0px) + 28px);
  background: rgba(4, 4, 10, .92); backdrop-filter: blur(22px) saturate(130%);
  animation: pepIn .35s var(--spring); }
.pep-overlay.on { display: flex; }
@keyframes pepIn { from { opacity: 0 } to { opacity: 1 } }
.pep-inner { width: 100%; max-width: 420px; text-align: center; }
.pep-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--txt3); margin-bottom: 26px; }
.pep-orb { width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 50%;
  display: flex; align-items: flex-end; justify-content: center; gap: 5px; padding-bottom: 30px;
  background: rgba(var(--accent-rgb), .12);
  border: 1px solid rgba(var(--accent-rgb), .34);
  box-shadow: 0 0 0 10px rgba(var(--accent-rgb), .05), 0 0 44px 0 rgba(var(--accent-rgb), .28); }
.pep-b { width: 5px; border-radius: 3px; background: var(--accent); height: 10px;
  animation: pepBar .82s ease-in-out infinite; }
.pep-b:nth-child(2) { animation-delay: .16s; }
.pep-b:nth-child(3) { animation-delay: .32s; }
@keyframes pepBar { 0%,100% { height: 9px } 50% { height: 32px } }
.pep-who { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px; }
.pep-txt { font-size: 17px; line-height: 1.52; font-weight: 600; color: var(--txt);
  letter-spacing: -.01em; }
.pep-skip { width: 100% !important; margin-top: 30px !important; }
.pep-overlay .btn.pep-skip { background: var(--elev2); color: var(--txt);
  border: 1px solid var(--line2); }

@media (max-width: 380px) { .pep-txt { font-size: 15.5px } .pep-orb { width: 80px; height: 80px } }
.v53-gear { margin-top: 9px; font-size: 11.5px; font-weight: 700; color: var(--txt3); }
.v53-pg { display: block; margin-top: 3px; font-size: 10.5px; font-style: normal;
  font-weight: 700; color: var(--txt3); opacity: .8; }

/* ---- kit you need: loud on purpose ---- */
.v53-gear { margin-top: 11px !important; display: inline-block;
  font-size: 12.5px !important; font-weight: 800 !important; letter-spacing: .01em;
  color: #3ddc84 !important;
  background: rgba(61, 220, 132, .12); border: 1px solid rgba(61, 220, 132, .42);
  border-radius: 100px; padding: 6px 12px; }

/* ---- listen-to-this control on the written blocks ---- */
.v53-say { display: flex; width: fit-content; align-items: center; gap: 7px; margin-top: 13px;
  background: rgba(var(--accent-rgb), .13); border: 1px solid rgba(var(--accent-rgb), .42);
  color: var(--accent); border-radius: 100px; padding: 6px 13px 6px 11px;
  font-family: inherit; font-size: 11.5px; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; cursor: pointer; transition: transform .15s var(--spring); }
.v53-say span { font-size: 9px; line-height: 1; }
.v53-say:active { transform: scale(.94); }
.v53-say.on { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.v53-sayrow { margin: -6px 0 14px; }

/* ---- which speeches are recorded ---- */
.v53-spw { display: block; margin-top: 4px; font-size: 10.5px; font-style: normal; font-weight: 700;
  color: var(--txt3); }
.v53-sp { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px;
  margin-left: 3px; border-radius: 5px; font-style: normal; font-size: 8.5px; font-weight: 800;
  background: var(--elev3); color: var(--txt3); border: 1px solid var(--line2); vertical-align: middle; }
.v53-sp.has { background: rgba(var(--accent-rgb), .18); border-color: rgba(var(--accent-rgb), .5);
  color: var(--accent); }
.v53-note.v53-speech { border-color: rgba(var(--accent-rgb), .3); background: rgba(var(--accent-rgb), .06); }
.v53-note.v53-speech i { margin-left: 2px; }
.v53-eased { display: block; font-style: normal; font-size: 10px; font-weight: 700;
  color: #ffb052; letter-spacing: .02em; margin-top: 1px; }
.v53-caps { margin-top: 11px; }
.v53-crow { display: flex; align-items: baseline; gap: 9px; padding: 7px 0;
  border-top: 1px solid rgba(255,255,255,.06); }
.v53-crow:first-child { border-top: 0; }
.v53-cn { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; color: var(--txt); }
.v53-crow b { font-size: 14px; font-weight: 800; }
.v53-cg { color: #5bb98c; }
.v53-ce { color: #ffb052; }
.v53-crow small { flex: 0 0 auto; font-size: 10.5px; font-weight: 700; color: var(--txt3); }
.v53-load { display: block; font-style: normal; font-size: 10px; font-weight: 700;
  color: var(--accent); letter-spacing: .02em; margin-top: 1px; }

/* ---- warm-up, once a day, before anything gets loaded ---- */
.warm-overlay { position: fixed; inset: 0; z-index: 905; display: none;
  align-items: flex-start; justify-content: center; padding: 26px;
  /* on a short phone the four rows plus two buttons can outgrow the viewport;
     scroll rather than clip the Start button off the bottom */
  overflow-y: auto; overscroll-behavior: contain;
  padding-top: calc(var(--buff-top-clearance, 34px) + 24px);
  padding-bottom: calc(var(--buff-bottom-clearance, 0px) + 26px);
  background: rgba(5,5,11,.94); backdrop-filter: blur(20px) saturate(130%); }
.warm-overlay.on { display: flex; }
.warm-inner { width: 100%; max-width: 420px; }
.warm-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.warm-h { font-size: 34px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 20px; }
.warm-list { display: flex; flex-direction: column; gap: 9px; }
.warm-row { display: flex; align-items: center; gap: 13px; padding: 13px 14px;
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: 15px; }
.warm-e { font-size: 20px; flex: 0 0 auto; width: 30px; text-align: center; }
.warm-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.warm-t b { font-size: 15.5px; font-weight: 800; }
.warm-t small { font-size: 12px; font-weight: 600; color: var(--txt3); line-height: 1.35; }
.warm-go { width: 100% !important; margin-top: 22px !important; }
.warm-skip { width: 100% !important; margin-top: 10px !important; }
.v53-home { margin-bottom: 14px; }
.v53-deload { margin: 2px 0 12px; padding: 8px 12px; border-radius: 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .02em;
  background: rgba(111,176,232,.12); border: 1px solid rgba(111,176,232,.35); color: #6fb0e8; }
.v53-knee { display: block; width: 100%; margin: 10px 0 0; padding: 10px 12px;
  border-radius: 12px; font-family: inherit; font-size: 12.5px; font-weight: 700;
  text-align: left; cursor: pointer; color: #6fb0e8;
  background: rgba(111,176,232,.09); border: 1px solid rgba(111,176,232,.3); }
.v53-knee:active { transform: scale(.98); }

/* the inner block centres itself with auto margins so it stays reachable when it
   is taller than the viewport (landscape, or large Dynamic Type) */
.warm-inner, .pep-inner { margin: auto 0; }
.pep-back { width: 100% !important; margin-top: 10px !important; }
