/* The Update centre, laid out like Apple's release notes: the build you're on in a frosted card (icon, number,
   "up to date"), then a month heading and one frosted card per month, a build per row with hairlines between.
   Every build lists the standard fixes; features come first, under a title. One 9px corner, the shared frost. */
.uwrap { max-width: 760px; margin: 0 auto 0 var(--page-left); padding: 8px var(--gutter-r) 48px var(--gutter); }
.uwrap h1 { margin: 14px 0 4px; font: 700 clamp(32px, 5vw, 48px)/1.1 var(--font-display); letter-spacing: -.008em; text-wrap: balance; }   /* the site's large title */
.u-sub { margin: 0 0 20px; font-size: 15px; color: var(--label2); letter-spacing: -.012em; }
.u-now, .u-card { border-radius: var(--r); background: var(--fr-bg); -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur);
  box-shadow: inset 0 0 0 1px var(--fr-rim); }
/* the build you're on: like Software Update's "iOS is up to date" */
.u-now { display: flex; align-items: center; gap: 16px; padding: 18px; margin-bottom: 32px; min-height: 100px; }
.u-icon { flex: none; width: 64px; height: 64px; border-radius: 22.5%; box-shadow: 0 0 0 .5px var(--fr-rim), 0 4px 14px rgba(0, 0, 0, .14); }
.u-now-t { min-width: 0; }
.u-now h2 { margin: 0 0 3px; font: 600 20px/1.2 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.u-now p { margin: 0; font-size: 14px; line-height: 1.4; color: var(--label2); letter-spacing: -.01em; }
.u-ok { display: flex; align-items: center; gap: 6px; color: var(--label) !important; font-size: 15px !important; }
.u-ok svg { width: 17px; height: 17px; flex: none; }
.u-ok circle { fill: #30d158; }
.u-ok path { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
/* months: a title-style heading over each card */
.u-month + .u-month { margin-top: 28px; }
.u-mh { margin: 0 0 8px 2px; font: 700 20px/1.25 var(--font); letter-spacing: -.02em; }
.u-card { overflow: hidden; }
.u-row { position: relative; padding: 16px 18px 17px; scroll-margin-top: 90px; content-visibility: auto; contain-intrinsic-size: auto 96px; }
.u-row + .u-row::before { content: ""; position: absolute; top: 0; left: 18px; right: 0; border-top: .5px solid var(--sep); }   /* hairlines, inset like iOS lists */
.u-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; font: 400 13px/1.4 var(--font); color: var(--label2);
  font-variant-numeric: tabular-nums; letter-spacing: -.006em; }
.u-ver { position: relative; color: var(--label); font: 600 15px/1.35 var(--font); letter-spacing: -.016em; text-decoration: none; }
.u-ver::after { content: ""; position: absolute; inset: -10px -10px -8px; }   /* a bigger target than the words themselves */
@media (hover: hover) { .u-ver:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; } }
.u-ver:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
/* the kind: a small Apple-colour dot and a grey word, no badge */
.u-kind { display: inline-flex; align-items: center; gap: 5px; }
.u-kind i { width: 7px; height: 7px; border-radius: 50%; background: var(--label3); }
.u-feature .u-kind i { background: #0a84ff; }
.u-major .u-kind i { background: #bf5af2; }
.u-date { margin-left: auto; }
.u-row h3 { margin: 8px 0 0; font: 600 17px/1.3 var(--font); letter-spacing: -.022em; text-wrap: pretty; }
.u-row ul { margin: 8px 0 0; padding: 0; list-style: none; }
.u-row li, .u-notes { font-size: 15px; line-height: 1.47; letter-spacing: -.014em; color: var(--label2); text-wrap: pretty; overflow-wrap: anywhere; }
.u-row li { position: relative; padding-left: 16px; }
.u-row li + li { margin-top: 4px; }
.u-row li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--label3); }
.u-notes { margin: 10px 0 0; }
.u-empty { margin: 0; padding: 18px; color: var(--label2); font-size: 15px; }
/* while it loads: grey bars, never a blank page */
.u-sk { content-visibility: visible; }
.u-sk span, .u-skb { display: block; border-radius: var(--r); background: var(--fr-in); }
.u-sk span { height: 12px; width: 40%; }
.u-sk span + span { height: 40px; width: 100%; margin-top: 10px; }
.u-now-t .u-skb { height: 16px; width: 140px; }
.u-now-t .u-skb + .u-skb { height: 12px; width: 180px; margin-top: 8px; }
.u-icon.u-skb { border-radius: 22.5%; }
/* the list settles in once it's loaded: opacity and a few pixels' lift only, off the main thread */
:root:not(.still) .u-log:not([aria-busy]) .u-month, :root:not(.still) .u-now:not([aria-busy]) { animation: uIn .32s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes uIn { from { opacity: 0; transform: translateY(6px); } }
@media (min-width: 1000px) { .uwrap { padding-top: 20px; } }
@media (max-width: 600px) {
  .u-now { padding: 16px; gap: 14px; margin-bottom: 28px; }
  .u-icon { width: 56px; height: 56px; }
  .u-row { padding: 14px 16px 15px; }
  .u-row + .u-row::before { left: 16px; }
  .u-row li, .u-notes { font-size: 16px; }   /* phones: a touch bigger to read */
}
@media (prefers-reduced-transparency: reduce) { .u-now, .u-card { background: var(--bg2, var(--bg)); -webkit-backdrop-filter: none; backdrop-filter: none; } }
