/* Uber + Uber Eats widgets (shared/uw.js). One drawing, four variable sets: light, dark, tinted, clear (+ StandBy night).
   Type: the system face (SF Pro on Apple), weights 500 and 700 only, sentence case. Sizes from direction-fable.md. */
/* The geometry is border-box (a 152 button is 152 with its padding). Set here, not by the page: films and stills load no site.css. */
.uw,.uw *,.uw ::before,.uw ::after,.ul,.ul *{box-sizing:border-box}
.uw{--card:#FFFFFF;--ink:#000000;--mut:rgba(0,0,0,.62);--faint:rgba(0,0,0,.34);--well:rgba(0,0,0,.07);--line:rgba(0,0,0,.12);
  --btn:#000000;--btn-ink:#FFFFFF;--green:#06C167;--eats:#048647;--on-green:#000000;--red:#E11900;--ring:#000000;
  position:relative;flex:none;overflow:hidden;border-radius:28px;background:var(--card);color:var(--ink);
  box-shadow:0 0 0 1px rgba(0,0,0,.06),0 8px 24px rgba(0,0,0,.08);
  font:500 13px/16px -apple-system,'SF Pro Text',system-ui,'Helvetica Neue',sans-serif;letter-spacing:0;text-align:left;white-space:nowrap;
  -webkit-font-smoothing:antialiased;font-variant-numeric:tabular-nums lining-nums}
.uw-dark .uw,.uw.inv{--eats:#06C167;--card:#000000;--ink:#FFFFFF;--mut:rgba(255,255,255,.62);--faint:rgba(255,255,255,.34);--well:rgba(255,255,255,.12);--line:rgba(255,255,255,.14);
  --btn:#FFFFFF;--btn-ink:#000000;--ring:#FFFFFF;box-shadow:inset 0 0 0 .5px rgba(255,255,255,.10)}
/* A surge inverts the card: black on a light Home Screen, white on a dark one. The word and the glyph say it too. */
.uw-dark .uw.inv{--eats:#048647;--card:#FFFFFF;--ink:#000000;--mut:rgba(0,0,0,.62);--faint:rgba(0,0,0,.34);--well:rgba(0,0,0,.07);--line:rgba(0,0,0,.12);--btn:#000000;--btn-ink:#FFFFFF;--ring:#000000;box-shadow:none}
/* Tinted and clear (iOS 26). The system draws the glass and replaces the container background.
   Tinted: everything in one monochrome tint on a tinted backdrop; the accented group (the button, fills, the Eats dot) gets the
   full tint, the rest steps down by alpha. Clear: white content on clear glass; widgetAccentedRenderingMode keeps the accented
   group at full white. Green and red lose their hue in both, so each carries a word or glyph too. */
.uw-tinted .uw,.uw-clear .uw{--on-green:#000000;--red:var(--ink);--eats:var(--green)}
.uw-tinted .uw{--card:rgba(26,38,66,.66);--ink:#BFD4FF;--mut:rgba(191,212,255,.72);--faint:rgba(191,212,255,.4);--well:rgba(191,212,255,.16);--line:rgba(191,212,255,.22);
  --btn:#BFD4FF;--btn-ink:#0B1220;--green:#BFD4FF;--on-green:#0B1220;--ring:#BFD4FF;
  -webkit-backdrop-filter:blur(24px) saturate(.6);backdrop-filter:blur(24px) saturate(.6);box-shadow:inset 0 0 0 .5px rgba(191,212,255,.24)}
.uw-clear .uw{--card:rgba(255,255,255,.14);--ink:#FFFFFF;--mut:rgba(255,255,255,.86);--faint:rgba(255,255,255,.5);--well:rgba(255,255,255,.12);--line:rgba(255,255,255,.24);
  --btn:rgba(255,255,255,.92);--btn-ink:#000000;--green:#FFFFFF;--ring:#FFFFFF;
  -webkit-backdrop-filter:blur(30px) saturate(1.2) brightness(.72);backdrop-filter:blur(30px) saturate(1.2) brightness(.72);box-shadow:inset 0 0 0 .5px rgba(255,255,255,.34)}
.uw-tinted .u-wm i::after,.uw-clear .u-wm i::after{content:'';display:inline-block;width:6px;height:6px;margin-left:4px;border-radius:50%;background:currentColor;vertical-align:1px}
.uw-tinted .u-bar.lo,.uw-clear .u-bar.lo,.uw-tinted .u-key.lo,.uw-clear .u-key.lo{background:var(--faint)}
.uw-tinted .u-od,.uw-clear .u-od{background:none;box-shadow:inset 0 0 0 1.5px currentColor}
.uw-night .uw{--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);
  --btn:rgb(255,59,48);--btn-ink:#000;--green:rgb(255,59,48);--eats:rgb(255,59,48);--ring:rgb(255,59,48);box-shadow:none}
.uw .a{position:absolute;white-space:nowrap}
.uw .rw{position:absolute;left:16px;right:16px;display:flex;align-items:baseline;justify-content:space-between;gap:12px}   /* one line, two ends, one baseline */
.uw .rw>:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis}.uw .rw>:last-child{flex:none}
/* A header row: the wordmark is never cut; the freshness beside it gives way first. */
.uw .rw>.u-wm{flex:none;overflow:visible}.uw .rw>.u-wm+span{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}

/* Type ladder. Hero: one per widget. */
.u-wm{font-weight:700;font-size:13px;line-height:16px;color:var(--ink)}.u-wm i{font-style:normal;color:var(--eats)}   /* --eats: Eats green as text. Light #048647 (4.7:1 on white, #06C167's hue); fills keep #06C167 */
.u-hd{font-weight:500;font-size:13px;line-height:16px;color:var(--mut)}
.u-hero{font-weight:700;font-size:22px;line-height:26px;letter-spacing:-.4px}
.uwf-l .u-hero{font-size:28px;line-height:32px;letter-spacing:-.6px}
.uwf-x .u-hero{font-size:34px;line-height:38px;letter-spacing:-.8px}
.u-t{font-weight:700;font-size:15px;line-height:20px}
.u-s{font-weight:500;font-size:13px;line-height:16px;color:var(--mut)}
.u-c{font-weight:500;font-size:11px;line-height:14px;color:var(--mut)}
/* XL shares L's type; only the hero grows. 17/15 rows or a 17 pt button do not fit the 172 and 152 pt columns. */
.uw .ink{color:var(--ink)}.uw .b{font-weight:700}
.uw .strike{text-decoration:line-through;text-decoration-thickness:1px}
.uw .cut{overflow:hidden;text-overflow:ellipsis}
.u-ic{display:inline-block;vertical-align:-2px;margin-right:4px;flex:none}
.u-red{display:inline-block;height:11px;border-radius:4px;background:var(--faint);color:transparent !important;vertical-align:-1px;overflow:hidden}
.u-hero .u-red{height:.7em;border-radius:6px;vertical-align:0}
.uw .sr,.ul .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
/* A saving or a delivered state: black type on Eats green, never green type on white. */
.u-save{display:inline-flex;align-items:center;height:20px;padding:0 7px;border-radius:6px;background:var(--green);color:var(--on-green);font-weight:700;font-size:12px;line-height:16px}

/* Controls: the button is the hit box (44 high or more), the drawing inside is what you see. */
.u-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}
.u-hit[disabled]{cursor:default}
.u-hit:focus-visible{outline:none}
.u-hit:focus-visible>span{outline:2px solid #276EF1;outline-offset:2px}
.u-seg .u-hit[aria-pressed=true]:focus-visible>span{outline-offset:0;box-shadow:none}   /* the focus ring replaces the chosen ring: one border, not two */
span.u-hit{cursor:default}
.u-hit:active>span{transform:scale(.97)}
/* Primary: radius 12 (card 28 minus inset 16), label left, price right, 12 apart at least. Arming swaps the label; the price stays put.
   Held: a 2 pt inner ring, 3 pt in from the edge (radius 9), so the held frame reads at arm's length. */
.u-btn{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;width:100%;padding:0 12px;border-radius:12px;background:var(--btn);color:var(--btn-ink);
  font-weight:700;font-size:15px;line-height:20px;transition:transform .1s ease-out}
.u-btn .lb{position:relative;display:inline-flex;align-items:center;gap:6px}
.u-btn .lb>span{display:block}
.u-btn .lb.busy>span:not(.u-spin){opacity:0}
.u-btn .lb .u-spin{position:absolute;left:0;top:50%;margin-top:-6px}
.u-btn .pr{font-variant-numeric:proportional-nums lining-nums}   /* tabular digits cost 6 pt the S button does not have */
.u-btn.held::after{content:'';position:absolute;inset:3px;border:2px solid var(--btn-ink);border-radius:9px;pointer-events:none}
.u-btn.done,.u-btn.well{background:var(--well);color:var(--ink)}
.u-btn.well{justify-content:center;gap:6px}
.u-btn.well svg{display:block;flex:none}
.u-tg[aria-pressed=true]>.u-btn.well{background:var(--btn);color:var(--btn-ink)}
.uwf-s .u-btn{padding:0 8px;font-size:14px}   /* S is 138 wide: 14/20 keeps label and price 12 apart */
.u-btn:not(:has(.pr)){justify-content:center}.u-btn:not(:has(.pr)) .lb{flex:none}   /* a label alone centres in its button */
/* Secondary: a well, radius 10, 32 high. */
.u-sec{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;height:32px;padding:0 12px;border-radius:10px;background:var(--well);color:var(--ink);
  font-weight:700;font-size:13px;line-height:16px;transition:transform .1s ease-out}
.u-sec.sq{width:32px;padding:0}
.u-sec svg{display:block;flex:none}
.u-tg[aria-pressed=true]>span{background:var(--btn);color:var(--btn-ink)}
.u-seg{display:flex;gap:6px}
.u-seg .u-hit{position:relative}
/* Light and dark: chosen = ink on the well, the rest muted with no well, so the price stays the loudest thing. */
.u-seg .u-sec{color:var(--mut);background:transparent}
.u-seg [aria-pressed=true] .u-sec{color:var(--ink);background:var(--well)}
.uw-tinted .u-seg .u-sec,.uw-clear .u-seg .u-sec{color:var(--ink);background:var(--well)}   /* glass: --mut on a well drops under 4.5:1; the ring alone marks the choice */
.uw-tinted .u-seg [aria-pressed=true] .u-sec,.uw-clear .u-seg [aria-pressed=true] .u-sec{box-shadow:inset 0 0 0 1.5px var(--ink)}
/* Rows open the app, so they read as rows, not buttons. */
.u-row{position:absolute;left:0;right:0;display:block;margin:0;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.u-row:focus-visible{outline:2px solid #276EF1;outline-offset:-2px;border-radius:8px}
.u-hl{position:absolute;left:16px;right:16px;height:1px;background:var(--line)}
.u-step .u-sec{width:28px;height:28px;padding:0;border-radius:8px}

/* Working: content that will change dims (invalidatableContent); a spinner sits in the button, the label stays. */
.u-spin{width:12px;height:12px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:u-spin .7s linear infinite;flex:none}
@keyframes u-spin{to{transform:rotate(1turn)}}
@media (prefers-reduced-motion:reduce){.u-spin{animation:none;border-right-color:currentColor;opacity:.5}}
.u-swap{animation:u-up .18s cubic-bezier(.2,0,0,1)}
@keyframes u-up{from{transform:translateY(8px);opacity:0}}
@media (prefers-reduced-motion:reduce){.u-swap{animation:u-fade .15s linear}@keyframes u-fade{from{opacity:0}}}

/* Rides motif: pickup circle, a line, drop-off square. */
.u-dot{width:8px;height:8px;border-radius:50%;background:var(--ink)}
.u-pick{width:7.5px;height:7.5px}
.u-sqr{width:8px;height:8px;border-radius:1px;background:var(--ink)}
.u-line{height:2px;border-radius:1px;background:var(--ink)}
.u-vline{width:2px;border-radius:1px;background:var(--faint)}
.u-track{height:4px;border-radius:2px;background:var(--well)}
.u-fill{height:4px;border-radius:2px;background:var(--ink)}
.u-hole{width:8px;height:8px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--faint)}
.u-bar{border-radius:3px;background:var(--ink)}.u-bar.lo{background:var(--green)}
.u-key{display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:2px;background:var(--ink);vertical-align:-.5px}.u-key.lo{margin-left:14px;background:var(--green)}
/* The week: ten segments, five day-pairs. Taken = ink, held = ink at .34, open = well. */
.u-wk{height:6px;border-radius:3px;background:var(--well)}.u-wk.on{background:var(--ink)}.u-wk.hd{background:var(--faint)}
/* The fare band: four weeks of one ride, today a tick inside it. */
.u-band{height:8px;border-radius:4px;background:var(--well)}.u-band.in{background:var(--faint)}
.u-tick{width:2px;height:20px;border-radius:1px;background:var(--ink)}
/* Open now: a 6 pt Eats dot before the status */
.u-od{display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:var(--green);vertical-align:1px}
.u-step.still{opacity:.34}
.u-init{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--well);font-weight:700;font-size:11px;line-height:14px}
.u-init.in{background:var(--btn);color:var(--btn-ink)}
.uw-tinted .u-init:not(.in),.uw-clear .u-init:not(.in){background:none;box-shadow:inset 0 0 0 1.5px var(--faint)}
.u-stack{display:flex;flex-direction:column;gap:4px}.u-stack i{width:4px;height:4px;border-radius:50%;background:rgba(255,255,255,.45)}.u-stack i.on{background:#fff}

/* Lock Screen accessories: vibrant greys, no card. */
.ul{position:relative;color:#FFFFFF;font:500 13px/16px -apple-system,'SF Pro Text',system-ui,sans-serif;white-space:nowrap;-webkit-font-smoothing:antialiased;font-variant-numeric:tabular-nums}
.ul-c{width:76px;height:76px;border-radius:50%;background:rgba(255,255,255,.14)}
.ul-cin{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.ul-n{font-weight:700;font-size:24px;line-height:26px;font-variant-numeric:proportional-nums}   /* tabular 1 carries side space: the ink sat 1 pt right */.ul-u{font-weight:700;font-size:11px;line-height:13px;color:#FFFFFF}
.ul-r{width:172px;height:76px;padding:10px 0 0 8px}
.ul-r1{font-weight:700;font-size:15px;line-height:20px}.ul-r2{color:rgba(255,255,255,.86)}.ul-r3{color:rgba(255,255,255,.8)}
.ul-in{display:inline}.ul-in svg{display:inline-block;vertical-align:-.08em;margin-right:5px}
/* Lock Screen clock and date (phone.js lockScreen), in its 430 x 932 space: below the status bar and island, like iOS.
   One rule for the gallery, films and stills. calt sits inline in phone.js: the font shorthand there resets it. */
.lk-date{top:80px}.lk-clock{top:95px}
.lk-date .ul{color:inherit}   /* an inline accessory takes the date's colour, dark or pale with the wallpaper */
@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}}
/* Rolling digits (core.js roll2) for a price that changes */
.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}
