/* The iOS around GHIM: Lock Screen, its widgets, the reminder, the Live Activity; Notes; Siri. 393 × 886. */
.app-lock { color: #fff; }
.app-lock > * { position: absolute; }
.lk-wall { inset: 0; background: radial-gradient(ellipse 90% 60% at 30% 18%, #1f5a3a 0%, transparent 62%), radial-gradient(ellipse 80% 60% at 80% 86%, #10343a 0%, transparent 64%), linear-gradient(170deg, #0b1f17, #06100d 55%, #050a0b); }
.lk-sb { left: 0; top: 0; width: 393px; height: 54px; }
.lk-sbar { padding-left: 40px; }
.lk-lock { left: 186px; top: 58px; width: 21px; height: 21px; color: rgba(255, 255, 255, 0.9); }
.lk-date { left: 0; right: 0; top: 90px; text-align: center; font-size: 19px; font-weight: 600; color: rgba(255, 255, 255, 0.92); }
.lk-time { left: 0; right: 0; top: 108px; height: 120px; text-align: center; }
.lt { position: absolute; left: 0; right: 0; top: 0; font-family: var(--sfr); font-size: 104px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: rgba(233, 255, 240, 0.94); font-variant-numeric: tabular-nums; }
.lt.b { opacity: 0; }
.lk-widgets { left: 46px; right: 46px; top: 236px; height: 60px; display: flex; gap: 10px; }
.lk-ring { position: relative; flex: none; width: 60px; height: 60px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.lk-ring svg { position: absolute; inset: 4px; width: 52px; height: 52px; transform: rotate(-90deg); fill: none; stroke-width: 4; stroke-linecap: round; }
.lk-ring .r0 { stroke: rgba(255, 255, 255, 0.22); }
.lk-ring .r1 { stroke: #fff; }
.lk-ring .gl { position: absolute; left: 21px; top: 13px; width: 18px; height: 18px; }
.lk-ring b { position: absolute; left: 0; right: 0; top: 32px; text-align: center; font-size: 13px; font-weight: 700; }
.lk-today { flex: 1; height: 60px; padding: 7px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.14); display: flex; flex-direction: column; justify-content: center; gap: 1px; }
.lk-today small { font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255, 255, 255, 0.86); }
.lk-today b { font-size: 15px; font-weight: 700; white-space: nowrap; }
.lk-today em { font-style: normal; font-size: 11px; color: rgba(255, 255, 255, 0.84); }
/* the 6:00 AM reminder */
.lk-note {
  left: 12px; right: 12px; top: 0; height: 74px; border-radius: 24px; padding: 13px 14px 0 64px; opacity: 0; transform-origin: 50% 50%;
  background: rgba(38, 44, 41, 0.86); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 10px 30px rgba(0, 0, 0, 0.35);
}
.lk-note img { position: absolute; left: 14px; top: 14px; width: 38px; height: 38px; border-radius: 9px; }
.lk-note b { display: block; font-size: 15px; font-weight: 600; }
.lk-note small { position: absolute; right: 16px; top: 15px; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.lk-note p { margin-top: 2px; font-size: 14.5px; line-height: 1.3; color: rgba(255, 255, 255, 0.92); }
/* the Live Activity */
.lk-live {
  left: 12px; right: 12px; top: 0; height: 178px; border-radius: 26px; padding: 14px 16px; opacity: 0;
  background: rgba(22, 24, 23, 0.9); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 10px 30px rgba(0, 0, 0, 0.35);
}
.la-top { display: flex; align-items: center; gap: 8px; }
.la-top img { width: 22px; height: 22px; border-radius: 6px; }
.la-top small { font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, 0.7); }
.la-clock { margin-left: auto; font-family: var(--sfr); font-size: 30px; font-weight: 700; color: #ff7a52; font-variant-numeric: tabular-nums; }
.la-ex { display: block; margin-top: 2px; font-size: 18px; font-weight: 700; }
.la-set, .la-next { position: absolute; left: 16px; top: 78px; font-size: 13.5px; color: rgba(255, 255, 255, 0.8); }
.la-next { opacity: 0; color: #59e6c7; }
.la-bar { position: absolute; left: 16px; right: 16px; top: 104px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); }
.la-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--lc, #ff7a52); width: var(--lp, 20%); }
.la-btns { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; }
.la-btns span { height: 40px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 20px; background: rgba(255, 255, 255, 0.12); font-size: 13.5px; font-weight: 600; }
.la-btns .gl { width: 13px; height: 13px; }
.la-btns .la-end { color: #ff6b5e; }
.la-btns span.press { background: rgba(255, 255, 255, 0.3); }
.lk-btn { bottom: 52px; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.14); color: #fff; }
.lk-btn .gl { width: 22px; height: 22px; }
.lk-btn.l { left: 46px; } .lk-btn.r { right: 46px; }
.lk-home { left: 50%; bottom: 9px; width: 140px; height: 5px; margin-left: -70px; border-radius: 3px; background: rgba(255, 255, 255, 0.9); }

/* Notes, the old way */
.app-notes { background: #1c1c1e; color: #f2f2f2; }
.app-notes > * { position: absolute; }
.nt-sb { left: 0; top: 0; width: 393px; height: 54px; color: #fff; }
.nt-bar { left: 0; right: 0; top: 54px; height: 44px; display: flex; align-items: center; gap: 18px; padding: 0 18px; color: #e6b422; }
.nt-back { display: flex; align-items: center; gap: 2px; font-size: 17px; margin-right: auto; }
.nt-back .gl { width: 20px; height: 20px; }
.nt-bar i { width: 22px; height: 22px; }
.nt-page { left: 0; right: 0; top: 98px; bottom: 0; overflow: hidden; }
.nt-in { position: absolute; left: 22px; right: 22px; top: 0; will-change: transform; }
.nt-date { display: block; text-align: center; font-size: 12px; color: #8e8e93; margin: 8px 0 14px; }
.nt-h { font-size: 27px; font-weight: 700; margin-bottom: 14px; }
.nt-l { font-size: 17px; line-height: 1.5; color: #f2f2f2; }
.nt-l.dim { color: #8e8e93; }
.nt-l.x { position: relative; width: fit-content; color: color-mix(in oklab, #8e8e93 calc(var(--x, 0) * 100%), #f2f2f2); }
.nt-l.x::after { content: ""; position: absolute; left: -2px; top: 54%; height: 1.6px; width: calc(var(--x, 0) * (100% + 4px)); background: rgba(255, 255, 255, 0.6); border-radius: 1px; }
.nt-l.hd { font-weight: 700; margin-top: 4px; }
.nt-l i { font-style: italic; }
.nt-rest { color: color-mix(in oklab, #ff6b5e calc(var(--x, 0) * 100%), #f2f2f2); }
.nt-l.tally span { letter-spacing: 3px; font-weight: 600; }
.nt-l.tally .x { position: relative; color: #8e8e93; }
.nt-l.tally .x::after { content: ""; position: absolute; left: -3px; right: -3px; top: 50%; height: 2px; background: #ff6b5e; transform: rotate(-24deg) scaleX(var(--x, 0)); transform-origin: 0 50%; }
.nt-shot { display: flex; gap: 6px; margin: 8px 0 4px; }
.nt-shot i { width: 74px; height: 110px; border-radius: 8px; background: linear-gradient(180deg, #3a3a3e, #2a2a2e); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.nt-gap { height: 22px; }
.nt-caret { left: 0; top: 0; width: 2px; height: 22px; background: #e6b422; opacity: 0; }
.nt-kb { left: 0; right: 0; bottom: 0; height: 0; }

/* Siri */
.app-siri { pointer-events: none; }
.app-siri > * { position: absolute; }
.si-edge { inset: 0; border-radius: 56px; box-shadow: inset 0 0 22px 8px rgba(255, 120, 200, 0.55), inset 0 0 50px 14px rgba(90, 160, 255, 0.4), inset 0 0 6px 2px rgba(255, 210, 120, 0.7); opacity: 0; }
.si-ask { left: 26px; right: 26px; bottom: 150px; text-align: center; opacity: 0; }
.si-ask b { font-size: 21px; font-weight: 700; line-height: 1.25; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); }
.si-card { left: 14px; right: 14px; top: 64px; height: 66px; border-radius: 22px; padding: 0 16px; display: flex; align-items: center; gap: 12px; opacity: 0; background: rgba(40, 40, 44, 0.94); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 10px 30px rgba(0, 0, 0, 0.45); }
.si-card img { width: 38px; height: 38px; border-radius: 9px; }
.si-card small { display: block; font-size: 11.5px; color: rgba(255, 255, 255, 0.6); }
.si-card b { font-size: 15.5px; font-weight: 600; color: #fff; }

/* the app switcher's backdrop */
.app-switch .sw-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 30% 30%, #1d3a2b, transparent 70%), linear-gradient(180deg, #121614, #0a0c0b); }
.app-notes, .app-phone, .app-switch { will-change: auto; }
.lk-touch { position: absolute; left: 0; top: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(255, 255, 255, 0.34); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5); opacity: 0; pointer-events: none; z-index: 5; }
