/* The pages a searcher lands on: "How the day score is made" and "Padel scoring on Apple Watch".
   Sits on top of soar.css; only what those two pages add. Nothing here moves. */

.block > .wrap > h2 + .lede { margin-top: 20px; }
.block .lede { max-width: 36em; }
.block > .wrap > .lede + * { margin-top: clamp(36px, 4.5vw, 56px); }
.block .three { margin-top: clamp(40px, 5vw, 64px); }
.body a, .reads a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
figure { margin: 0; }

/* How the day score is made: the shares */
.method { display: flex; flex-direction: column; gap: 28px; }
.method .sharebar, .case .sharebar { margin-top: 0; }
.shares { border-bottom: 1px solid var(--hairline); }
.shares li { border-top: 1px solid var(--hairline); padding: 22px 0 24px 0; display: grid; grid-template-columns: 200px minmax(0, 1fr) 64px; grid-template-areas: "name reads points"; gap: 8px 40px; align-items: baseline; }
.shares .name { grid-area: name; display: flex; align-items: center; gap: 12px; font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }
.shares .dot { width: 10px; height: 10px; border-radius: 5px; background: var(--c); flex: none; }
.shares .reads { grid-area: reads; max-width: 36em; font-size: 17px; line-height: 25px; color: var(--text2); text-wrap: pretty; }
.shares .points { grid-area: points; text-align: right; font-size: 28px; line-height: 34px; font-weight: 600; }
@media (max-width: 760px) {
  .shares li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name points" "reads reads"; }
}

/* The same 100 points, shared two ways */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 36px 72px; }
.case { display: flex; flex-direction: column; gap: 14px; }
.case h3 { font-size: 17px; line-height: 22px; font-weight: 600; }
.key { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; line-height: 20px; color: var(--text2); }
.key li { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.key i { width: 8px; height: 8px; border-radius: 4px; background: var(--c); flex: none; }
.key b { color: var(--text); font-weight: 600; }

/* White until 18:00, then the score's colour */
.evening { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.rings { display: flex; justify-content: center; gap: clamp(20px, 5vw, 56px); }
.rings figure { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.rings .ring { width: clamp(132px, 38vw, 172px); }
.rings .ring .number { font-size: clamp(46px, 13.2vw, 60px); line-height: 1.07; }
.rings .before .arc { stroke: #ffffff; stroke-dasharray: 189.1 540.4; }
.rings .before .number { color: #ffffff; }
.scale { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3px; }
.scale li { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.scale i { height: 14px; margin-bottom: 8px; background: linear-gradient(90deg, var(--from), var(--to)); }
.scale li:first-child i { border-radius: 7px 0 0 7px; }
.scale li:last-child i { border-radius: 0 7px 7px 0; }
.scale b { font-size: 15px; line-height: 20px; font-weight: 600; }
.scale span { font-size: 13px; line-height: 18px; color: var(--text2); }

/* Padel scoring on Apple Watch: the opening, with the court beside the words */
.lead .wrap.beside { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px clamp(40px, 6vw, 96px); }
.beside .words { display: flex; flex-direction: column; gap: 28px; }
.courtside { --k: 1.14; display: flex; justify-content: center; }
@media (max-width: 1040px) { .courtside { --k: 1; } }
@media (max-width: 900px) { .lead .wrap.beside { grid-template-columns: minmax(0, 1fr); } }

/* Three stills of the Watch, each with its words */
.stills { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 56px 48px; }
.stills figure { --k: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.stills figcaption { display: flex; flex-direction: column; gap: 8px; max-width: 26em; }
.stills h3 { font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }

/* What the stills add to the court drawn in soar.css. Colours are the Watch's own: the court blue is Steps' blue,
   their half and the neutral buttons the grey above the surface, the heart rate and End match the Watch's red. */
.face .us .point.num { font-size: 52px; }
.face .call { left: 50%; top: 140px; transform: translate(-50%, -50%); padding: 5px 11px; border-radius: 13px; background: var(--raised); box-shadow: 0 0 0 4px #000000; font-size: 13px; line-height: 16px; font-weight: 600; white-space: nowrap; }
.face .panel { position: absolute; left: 14px; right: 14px; top: 44px; display: flex; flex-direction: column; gap: 8px; }
.face .panel p, .face .panel b, .face .panel i { margin: 0; font-style: normal; }
.face .elapsed { font-family: var(--rounded); font-size: 36px; line-height: 38px; font-weight: 600; color: var(--steps); }
.face .vitals { margin-top: -4px; display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 16px; color: var(--text2); white-space: nowrap; }
.face .vitals .heart { display: flex; align-items: center; gap: 3px; color: #ff5a6a; font-weight: 600; }
.face .vitals svg { width: 12px; height: 12px; fill: #ff5a6a; }
.face .press { height: 44px; border-radius: 22px; background: #2b2b2d; display: flex; align-items: center; justify-content: center; font-size: 17px; line-height: 22px; font-weight: 600; }
.face .press.end { color: #ff5a6a; }
.face .press.save { background: var(--steps); color: #000000; }
.face .tiny { font-size: 11px; line-height: 13px; color: var(--text2); }
.face .panel.ended { top: 34px; }
.face .heading { font-size: 20px; line-height: 24px; font-weight: 500; color: var(--text2); }
.face .sets { display: grid; grid-template-columns: 1fr 22px 22px; column-gap: 8px; font-size: 17px; line-height: 22px; font-weight: 600; }
.face .sets i { text-align: right; }
.face .sets .ours { color: var(--steps); }
.face .stands { font-size: 13px; line-height: 16px; color: var(--text2); }
