/* Live Activity primitives shared by films, stills and the v2 board. */
@font-face{font-family:'New York';src:local('New York');font-weight:100 900}
.la{position:relative;background:#000;color:#fff;overflow:hidden;white-space:nowrap;letter-spacing:-.01em;font-family:-apple-system,'SF Pro Text','SF Pro',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
.la-lock{border-radius:24px}
.la-in{position:absolute;inset:0;color:#fff}   /* activity content is always light-on-black, whatever page hosts it */
.row{display:flex;align-items:center}.sp{flex:1}
.num{font-variant-numeric:tabular-nums}
.rl{display:inline-flex;vertical-align:baseline;overflow:hidden;height:1.2em;line-height:1.2em}
.rc{display:inline-block;height:1.2em;overflow:hidden;position:relative}
.rc b{display:block;height:1.2em;line-height:1.2em;font-weight:inherit;text-align:center}

/* Widgets (shared/widgets.js). One drawing, three variable sets: full colour, tinted, clear (+ StandBy night). */
.wg{--card:#110E08;--ink:#FFFFFF;--mut:rgba(255,255,255,.62);--faint:rgba(255,255,255,.34);--well:rgba(255,255,255,.09);--line:rgba(255,255,255,.12);
  --up:#CCFF00;--down:#FF5000;--on-bg:#CCFF00;--on-fg:#110E08;
  position:relative;flex:none;overflow:hidden;border-radius:28px;background:var(--card);color:var(--ink);box-shadow:inset 0 0 0 .5px rgba(255,255,255,.08);
  font:500 12px/16px -apple-system,'SF Pro Text',system-ui,sans-serif;letter-spacing:0;text-align:left;white-space:nowrap;-webkit-font-smoothing:antialiased}
.wg.field{--card:#CCFF00;--ink:#110E08;--mut:rgba(17,14,8,.62);--faint:rgba(17,14,8,.34);--well:rgba(17,14,8,.10);--line:rgba(17,14,8,.14);--on-bg:#110E08;--on-fg:#CCFF00}
.wg .a{position:absolute;white-space:nowrap}
.wg-h{font-weight:600;font-size:11px;line-height:14px;letter-spacing:.06em;text-transform:uppercase;color:var(--mut)}
.wg-fr{font-weight:500;font-size:11px;line-height:14px;color:var(--mut)}
.wg-fe{display:block;color:var(--mut)}.wg-fe svg{display:block}
/* The one large line: the system font (SF Pro Display at this size), as HIG prefers for widget text. */
.wg-sen{font:600 28px/32px -apple-system,'SF Pro Display',system-ui,sans-serif;letter-spacing:0;font-variant-numeric:lining-nums tabular-nums}
.wgf-s .wg-sen{font-size:26px;line-height:30px}.wg .wg-sen.sm{font-size:24px;line-height:28px}.wg .wg-sen.md{font-size:26px;line-height:30px}
.wg-hero{font-weight:600;font-size:34px;line-height:38px;letter-spacing:-.9px;margin-left:-.04em}   /* the $ side bearing: ink lines up with the header */
.wg-v{font-weight:600;font-size:15px;line-height:20px}
.wg-t{font-weight:600;font-size:14px;line-height:20px}
.wg-l{font-weight:500;font-size:12px;line-height:16px;color:var(--mut)}
.wg-c{font-weight:500;font-size:11px;line-height:14px;color:var(--mut)}
.wg-d{font-weight:600;font-size:20px;line-height:24px}
.wg-chg{font-weight:600;font-size:14px;line-height:18px}
.wg-bp{font-weight:600;font-size:13px;line-height:16px}
.wg .ink{color:var(--ink);font-weight:600}.wg .b{font-weight:600}.wg .mut{color:var(--mut)}
.wg .up{color:var(--up)}.wg .dn{color:var(--down)}
.wg .cut{overflow:hidden;text-overflow:ellipsis}
.wg-hero,.wg-v,.wg-d,.wg-chg,.wg-bp,.wg-l,.wl-n{font-variant-numeric:tabular-nums}
.wg-tri{display:inline-flex}
.wg-ok{flex:none;width:8px;height:8px;border-radius:50%;background:var(--up)}
.wg-prow{position:absolute;display:flex;align-items:center;gap:12px}.wg-prow>span{min-width:88px;text-align:right}   /* fixed label column, so every rail ends at the same x */.wg-rail{position:relative;flex:1;min-width:0;height:10px}
.wg-chip{display:inline-flex;align-items:center;height:21px;padding:0 8px;border-radius:10.5px;background:var(--well);font-weight:600;font-size:12px;line-height:16px}
.wg-red{display:inline-block;height:12px;line-height:12px;overflow:hidden;vertical-align:middle;color:transparent !important;background:var(--faint);border-radius:4px}
.wg .sr,.wl .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
/* Controls: the button is the hit box, the capsule inside is the drawing. */
.wg-hit{position:absolute;display:flex;align-items:center;justify-content:center;margin:0;padding:0;border:0;background:none;color:inherit;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.wg-hit:focus-visible{outline:none}
.wg-hit:focus-visible .wg-cap{outline:2px solid #CCFF00;outline-offset:2px}
.wg.field .wg-hit:focus-visible .wg-cap{outline-color:#110E08}
.wg-hit[disabled]{cursor:default}
.wg-cap{display:inline-flex;align-items:center;justify-content:center;gap:4px;flex:none;border-radius:999px;background:var(--well);color:var(--mut);font-weight:600;font-size:12px;line-height:16px;transition:transform .1s}
.wg-cap.pad,.wg-cap.wg-mk{padding:0 12px}
.wg-cap svg{display:block;flex:none}
.wg-cap.on{background:var(--on-bg);color:var(--on-fg)}
.wg-cap.wide,.wg-cap.wg-pill{color:var(--ink);font-size:13px}
.wg-cap.wg-mk{color:var(--ink);gap:5px}
.wg-cap.wg-pill{gap:6px}
.wg-tog[aria-pressed=true] .wg-cap{background:var(--on-bg);color:var(--on-fg)}
.wg-hit:active .wg-cap{transform:scale(.97)}
.wg-segs{display:flex;gap:6px}
/* Rails and rules */
.wg-track,.wg-fill{height:4px;border-radius:2px;background:var(--well)}
.wg-fill.up{background:var(--up)}.wg-fill.dn{background:var(--down)}
.wg-tick{width:2px;height:10px;border-radius:1px;background:var(--mut)}
.wg-dot{width:8px;height:8px;border-radius:50%;background:var(--ink)}
.wg-day{height:8px;border-radius:4px;background:var(--ink);opacity:.22}.wg-day.on{opacity:1}.wg-day.off{opacity:.1}
.wg-mark{width:2px;height:16px;border-radius:1px;background:var(--ink);box-shadow:0 0 0 2px var(--card)}
.wg-hl{height:1px;background:var(--line)}.wg-vl{width:1px;background:var(--line)}
.wg-panel{border-radius:12px;background:var(--well)}
.wg-wdot{width:6px;height:6px;border-radius:50%;background:var(--mut)}.wg-wdot.on{background:var(--on-bg)}
/* Modes. iOS keeps alpha and drops colour, so every grey above is white at an alpha. */
.wgm-tinted .wg,.wgm-tinted .wg.field,.wgm-clear .wg,.wgm-clear .wg.field{--card:rgba(18,16,12,.55);--ink:#FFFFFF;--mut:rgba(255,255,255,.8);--faint:rgba(255,255,255,.4);--well:rgba(255,255,255,.16);--line:rgba(255,255,255,.16);
  --up:#FFFFFF;--down:#FFFFFF;--on-bg:#FFFFFF;--on-fg:#111111;-webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4)}
/* Clear: the darkened variant. Glass dimmed so every line clears 4.5:1 on the wallpaper. */
.wgm-clear .wg,.wgm-clear .wg.field{--card:rgba(0,0,0,.42);--mut:rgba(255,255,255,.8);--faint:rgba(255,255,255,.4);--well:rgba(255,255,255,.18);box-shadow:inset 0 0 0 .5px rgba(255,255,255,.3)}
/* Tinted: iOS draws the content white and puts the person's tint behind it (here amber). Buttons stay filled, as
   SwiftUI's bordered style: iOS has no outline-only button. */
.wgm-tinted .wg,.wgm-tinted .wg.field{--card:rgba(72,38,14,.84);--well:rgba(255,255,255,.18)}
.wgm-tinted .wg-cap:not(.on),.wgm-clear .wg-cap:not(.on){color:#FFFFFF}.wgm-tinted .wg-tog[aria-pressed=true] .wg-cap,.wgm-clear .wg-tog[aria-pressed=true] .wg-cap{color:var(--on-fg)}
.wgm-tinted .wg-day:not(.on),.wgm-clear .wg-day:not(.on){opacity:.3}
.wgm-tinted .wg-track,.wgm-clear .wg-track{background:rgba(255,255,255,.2)}
.wgm-tinted .wg.field .wg-hit:focus-visible .wg-cap,.wgm-clear .wg.field .wg-hit:focus-visible .wg-cap{outline-color:#CCFF00}
.wgm-night .wg,.wgm-night .wg.field{--card:#000;--ink:rgb(255,59,48);--mut:rgba(255,59,48,.62);--faint:rgba(255,59,48,.34);--well:rgba(255,59,48,.16);--line:rgba(255,59,48,.2);
  --up:rgb(255,59,48);--down:rgb(255,59,48);--on-bg:rgb(255,59,48);--on-fg:#000;box-shadow:none}
/* Lock Screen accessories: vibrant, opaque greys, no card */
.wl{position:relative;color:#FFFFFF;font:500 13px/16px -apple-system,'SF Pro Text',system-ui,sans-serif;white-space:nowrap;-webkit-font-smoothing:antialiased}
.wl-c{width:76px;height:76px;border-radius:50%;background:rgba(255,255,255,.14)}
.wl-cin{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.wl-s{font-weight:600;font-size:11px;line-height:14px;color:#DCDCDC}
.wl-n{font-weight:700;font-size:15px;line-height:18px}
.wl-r{width:172px;height:76px;padding:12px 0 0 8px}
.wl-r1{font-weight:600;font-size:15px;line-height:20px}.wl-r2{color:#D6D6D6}.wl-r3{color:#BDBDBD}   /* 4.5:1 or better on the lock wallpapers used here */
.wl-in{display:inline}.wl-in svg{display:inline-block;vertical-align:-.01em;margin-right:6px}   /* about 0.9 cap height, centred on the caps, as on his phone */   /* inline, so the text shares the date's baseline */

/* Lock date and clock. Chrome drops SF Pro's raised time colon (calt) once letter-spacing is set, so ask for it. Where text-box
   trim works, the box starts at the cap height, so Safari and Chrome put the digits at the same place (his phone: 113-207 pt). */
.lk-date{top:80px}.lk-clock{top:95px}   /* calt sits inline in phone.js: the font shorthand there resets it */
@supports (text-box:trim-both cap alphabetic){.lk-date{top:83.5px;text-box:trim-both cap alphabetic}.lk-clock{top:114.8px;text-box:trim-both cap alphabetic}}
/* widgets2.js: the watchlist's value pill (dark type on the gain or loss colour, as the app's list) */
.wg .w2-pill{display:inline-flex;align-items:center;justify-content:center;height:28px;border-radius:999px;font-weight:600;font-size:13px;line-height:16px;color:#110E08;font-variant-numeric:tabular-nums}
.wg .w2-pill.up{background:var(--up)}.wg .w2-pill.dn{background:var(--down)}
