/* Lock screen editor and wallpaper preview (app/lockedit.js), plus the lock screen's own
   wallpaper and clock effects (app/lockscreen.js). Moving rules at the bottom. */

/* ---------- The lock screen's own wallpaper and clock effects ---------- */
#lock-screen.lock-own-wp { background: #000 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
#lock-screen.lock-own-wp::before { content: ''; position: absolute; inset: calc(var(--lock-blur, 0px) * -2); background: var(--lock-wp) center / cover no-repeat; filter: blur(var(--lock-blur, 0px)); z-index: 0; pointer-events: none; }
#lock-screen.lock-own-wp::after { content: ''; position: absolute; inset: 0; background: color-mix(in srgb, var(--surface, #191d25) calc(var(--lock-dim, 35) * 1%), transparent); z-index: 0; pointer-events: none; }
#lock-screen.lock-own-wp > .lock-container, #lock-screen.lock-own-wp > #lock-welcome { position: relative; z-index: 1; }
:is(#lock-screen, .le-screen, .wp-view--lock, .lk-prev).lock-fx-soft :is(#lock-time, #lock-date, .le-time, .le-date, .wp-lock-time, .wp-lock-date, .lk-prev-time, .lk-prev-date) { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.35); }
:is(#lock-screen, .le-screen, .wp-view--lock, .lk-prev).lock-fx-glow :is(#lock-time, .le-time, .wp-lock-time, .lk-prev-time) { text-shadow: 0 0 18px color-mix(in srgb, var(--lock-color, #fff) 70%, transparent), 0 0 42px color-mix(in srgb, var(--lock-color, #fff) 40%, transparent); }
:is(#lock-screen, .le-screen, .wp-view--lock, .lk-prev).lock-fx-outline :is(#lock-time, .le-time, .wp-lock-time, .lk-prev-time) { color: transparent !important; -webkit-text-stroke: 2px var(--lock-color, #fff); }

/* ---------- Editor ---------- */
.le-root { position: fixed; inset: 0; z-index: 10050; display: flex; flex-direction: column; background: #000; color: #fff; font-family: var(--font-main); }
.le-top { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px; background: linear-gradient(rgba(0,0,0,0.55), transparent); }
.le-top-hint { flex: 1; text-align: center; font-size: 0.72rem; opacity: 0.8; line-height: 1.3; }
.le-top-btn { padding: 9px 16px; border-radius: 999px; border: none; background: rgba(255,255,255,0.16); color: #fff; font: 700 0.86rem var(--font-main); cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.le-top-btn--done { background: #fff; color: #000; }
.le-screen { position: relative; flex: 1; overflow: hidden; color: var(--on-surface, #fff); transform-origin: 50% 4%; }
/* With a sheet open the lock screen shrinks into the space above it, so the clock you're
   changing stays in sight. */
.le-root.has-sheet .le-screen { transform: scale(0.5); border-radius: 40px; }
.le-root.has-sheet .le-tools, .le-root.has-sheet .le-top-hint { opacity: 0; pointer-events: none; }
.le-tabs { display: flex; gap: 4px; flex-shrink: 0; padding: 3px; border-radius: 16px; background: rgba(255,255,255,0.06); }
.le-tabs::-webkit-scrollbar { display: none; }
.le-tab { flex: 1 1 0; min-width: 0; display: inline-flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 2px; border-radius: 13px; border: none; background: none; color: #fff; font: 600 0.66rem var(--font-main); cursor: pointer; white-space: nowrap; }
.le-tab.is-on { background: #fff; color: #000; }
.le-bg { position: absolute; inset: calc(var(--le-blur, 0px) * -2); background: #111 center / cover no-repeat; filter: blur(var(--le-blur, 0px)); }
.le-dim { position: absolute; inset: 0; background: var(--surface, #191d25); opacity: var(--le-dim, 0.35); }
.le-col { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: var(--lock-items, center); text-align: var(--lock-text, center); padding: 70px 24px 130px; box-sizing: border-box; }
.le-col::before { content: ''; flex: var(--lock-top, 50) 1 0; }
.le-col::after { content: ''; flex: var(--lock-bottom, 50) 1 0; }
.le-icon { display: inline-flex; padding: 10px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--on-surface, #fff) 22%, transparent); margin-bottom: 14px; flex-shrink: 0; }
.le-screen.lock-noicon .le-icon { display: none; }
.le-target { position: relative; border: 2px dashed transparent; border-radius: 18px; background: none; color: var(--lock-color, var(--on-surface, #fff)); cursor: pointer; padding: 2px 10px; flex-shrink: 0; -webkit-tap-highlight-color: transparent; }
.le-target.is-picked, .le-screen.is-dragging .le-time { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); }
.le-time { font-family: var(--lock-font, var(--font-main)); font-weight: var(--lock-weight, 300); font-size: min(calc(clamp(4.5rem, 24vw, 7.5rem) * var(--lock-scale, 1)), 32vw); letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; touch-action: none; }
.le-screen.lock-stacked .le-time { display: flex; flex-direction: column; align-items: var(--lock-items, center); font-size: min(calc(clamp(5.5rem, 34vw, 10rem) * var(--lock-scale, 1)), 46vw); line-height: 0.86; letter-spacing: -0.04em; }
.le-screen.lock-stacked .le-time small { font-size: 0.2em; font-weight: 600; letter-spacing: 0; opacity: 0.8; line-height: 1.4; }
.le-screen.lock-condensed .le-time { font-stretch: condensed; }
.le-date { margin-top: 6px; font-family: var(--lock-font, var(--font-main)); font-size: calc(1.1rem * var(--lock-date-scale, 1)); font-weight: 500; opacity: 0.9; }
.le-screen.lock-nodate .le-date { opacity: 0.3; text-decoration: line-through; }
.le-notif { display: flex; align-items: center; gap: 10px; width: min(100%, 360px); margin-top: 24px; padding: 12px 14px; box-sizing: border-box; border-radius: 20px; background: color-mix(in srgb, var(--surface-color, #191d25) 82%, transparent); text-align: left; flex-shrink: 0; opacity: 0.9; pointer-events: none; }
.le-notif-ico { width: 32px; height: 32px; border-radius: 10px; background: #22a35a; flex-shrink: 0; }
.le-notif span { display: flex; flex-direction: column; }
.le-notif b { font-size: 0.86rem; }
.le-notif small { font-size: 0.8rem; opacity: 0.7; }
.le-guide { position: absolute; left: 10%; right: 10%; top: 50%; height: 1px; background: rgba(255,255,255,0.7); opacity: 0; pointer-events: none; }
.le-screen.is-centered .le-guide:not(.le-guide--v) { opacity: 1; }
.le-pill { position: absolute; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; background: var(--surface-color, #191d25); font-size: 0.82rem; font-weight: 600; white-space: nowrap; pointer-events: none; }
.le-tools { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; justify-content: space-around; padding: 10px 6px calc(12px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(transparent, rgba(0,0,0,0.75) 40%); }
.le-tool { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 58px; padding: 8px 4px; border: none; border-radius: 16px; background: none; color: #fff; font: 600 0.7rem var(--font-main); cursor: pointer; }
.le-tool svg { box-sizing: content-box; padding: 9px; border-radius: 50%; background: rgba(255,255,255,0.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.le-tool.is-on svg { background: #fff; color: #000; }
.le-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; height: 52%; max-height: 52%; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 8px 18px calc(20px + env(safe-area-inset-bottom, 0px)); border-radius: 26px 26px 0 0; background: color-mix(in srgb, #15171c 94%, transparent); color: #fff; box-shadow: 0 -16px 40px rgba(0,0,0,0.45); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); scrollbar-width: none; }
.le-sheet::-webkit-scrollbar { display: none; }
.le-grab { align-self: center; width: 40px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.3); flex-shrink: 0; }
.le-sheet-title { font-size: 1.05rem; }
.le-fonts { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; margin: 0 -18px; padding-inline: 18px; scrollbar-width: none; flex-shrink: 0; }
.le-fonts::-webkit-scrollbar { display: none; }
.le-font { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 86px; padding: 10px 10px 8px; border-radius: 16px; border: 1.5px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.06); color: #fff; cursor: pointer; }
.le-font b { font-size: 1.6rem; font-weight: 500; line-height: 1.15; white-space: nowrap; }
.le-font span { font: 600 0.64rem var(--font-main); opacity: 0.65; white-space: nowrap; }
.le-font.is-on { border-color: #fff; background: rgba(255,255,255,0.16); }
.le-row-label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.6; margin-bottom: -6px; }
.le-seg { display: flex; padding: 3px; border-radius: 12px; background: rgba(255,255,255,0.08); flex-shrink: 0; }
.le-seg-btn { flex: 1; padding: 8px 4px; border: none; border-radius: 9px; background: none; color: #fff; font: 600 0.78rem var(--font-main); cursor: pointer; white-space: nowrap; }
.le-seg-btn.is-on { background: #fff; color: #000; }
.le-slide { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.le-slide > span { display: flex; justify-content: space-between; font-size: 0.86rem; }
.le-slide output { font-weight: 700; font-variant-numeric: tabular-nums; }
.le-slide input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; margin: 0; background: transparent; }
.le-slide input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #fff var(--p, 50%), rgba(255,255,255,0.18) var(--p, 50%)); }
.le-slide input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #fff var(--p, 50%), rgba(255,255,255,0.18) var(--p, 50%)); }
.le-slide input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.le-slide input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: none; border-radius: 50%; background: #fff; }
.le-colors { display: flex; flex-wrap: wrap; gap: 10px; }
.le-color { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); background: var(--c); color: #fff; font: 700 0.8rem var(--font-main); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; }
.le-color.is-on { outline: 2.5px solid #fff; outline-offset: 2px; }
.le-color.is-pick { background: conic-gradient(#f87171, #facc15, #4ade80, #38bdf8, #a78bfa, #f472b6, #f87171); text-shadow: 0 1px 2px rgba(0,0,0,0.6); }
.le-color.is-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.le-sw { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 6px 0; border: none; background: none; color: #fff; font: 600 0.9rem var(--font-main); text-align: left; cursor: pointer; flex-shrink: 0; }
.le-reset { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.18); background: none; color: #fff; font: 600 0.84rem var(--font-main); cursor: pointer; flex-shrink: 0; }
.le-walls { display: flex; gap: 10px; overflow-x: auto; margin: 0 -18px; padding: 2px 18px 6px; scrollbar-width: none; flex-shrink: 0; }
.le-walls::-webkit-scrollbar { display: none; }
.le-wall { flex: 0 0 68px; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 0; border: none; background: none; color: #fff; font: 600 0.66rem var(--font-main); cursor: pointer; text-align: center; }
.le-wall-thumb { width: 68px; height: 112px; border-radius: 14px; overflow: hidden; border: 2px solid rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.06); box-sizing: border-box; }
.le-wall-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.le-wall.is-on .le-wall-thumb { border-color: #fff; }
.le-wall.is-busy { opacity: 0.6; }

/* ---------- Wallpaper preview ---------- */
.wp-root { position: fixed; inset: 0; z-index: 19990; background: #000; color: #fff; font-family: var(--font-main); overflow: hidden; touch-action: pan-y; }
.wp-img { position: absolute; inset: 0; background: center / cover no-repeat; }
.wp-view { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.wp-view.is-on { opacity: 1; }
.wp-view--lock { display: flex; flex-direction: column; align-items: var(--lock-items, center); text-align: var(--lock-text, center); padding: 90px 24px 0; color: var(--lock-color, var(--on-surface, #fff)); background: color-mix(in srgb, var(--surface, #191d25) calc(var(--lock-dim, 35) * 1%), transparent); }
.wp-lock-icon { display: inline-flex; padding: 10px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--on-surface, #fff) 30%, transparent); margin-bottom: 14px; color: var(--on-surface, #fff); }
.wp-lock-time { font-family: var(--lock-font, var(--font-main)); font-weight: var(--lock-weight, 300); font-size: min(calc(clamp(4.5rem, 24vw, 7.5rem) * var(--lock-scale, 1)), 32vw); letter-spacing: -0.05em; line-height: 1; }
.wp-view--lock.lock-stacked .wp-lock-time { display: flex; flex-direction: column; line-height: 0.86; font-size: min(calc(clamp(5.5rem, 34vw, 10rem) * var(--lock-scale, 1)), 46vw); }
.wp-view--lock.lock-stacked .wp-lock-time small { font-size: 0.2em; }
.wp-lock-date { margin-top: 8px; font-family: var(--lock-font, var(--font-main)); font-size: 1.1rem; font-weight: 500; }
.wp-view--home { display: flex; flex-direction: column; padding: 84px 18px calc(110px + env(safe-area-inset-bottom, 0px)); }
.wp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 8px; }
.wp-app { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wp-app i, .wp-dock i { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 30%; background: var(--c); color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,0.25); }
.wp-app small { font-size: 0.7rem; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,0.6); max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wp-dock { margin-top: auto; display: flex; justify-content: space-around; padding: 12px; border-radius: 30px; background: rgba(255,255,255,0.16); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.wp-top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 12px; background: linear-gradient(rgba(0,0,0,0.5), transparent); }
.wp-top-gap { width: 76px; }
.wp-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(0,0,0,0.35); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.wp-switch button { display: inline-flex; align-items: center; gap: 5px; padding: 7px 14px; border-radius: 999px; border: none; background: none; color: #fff; font: 700 0.8rem var(--font-main); cursor: pointer; }
.wp-switch button.is-on { background: #fff; color: #000; }
.wp-bottom { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 20px calc(22px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(transparent, rgba(0,0,0,0.55)); }
.wp-hint { font-size: 0.76rem; opacity: 0.8; }
.wp-set { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: min(100%, 340px); padding: 15px; border-radius: 999px; border: none; background: #fff; color: #000; font: 800 0.95rem var(--font-main); cursor: pointer; }

/* Settings > Lock screen: the big button that opens the editor */
.le-cta { display: flex; align-items: center; gap: 14px; width: 100%; margin: 4px 0 14px; padding: 14px 16px; border-radius: 20px; border: none; background: linear-gradient(135deg, color-mix(in srgb, #6366f1 40%, var(--surface-color, #191d25)), color-mix(in srgb, #e6508a 30%, var(--surface-color, #191d25))); color: var(--on-surface); text-align: left; cursor: pointer; font-family: var(--font-main); }
.le-cta > svg { box-sizing: content-box; flex-shrink: 0; padding: 10px; border-radius: 14px; background: rgba(255,255,255,0.16); }
.le-cta span { display: flex; flex-direction: column; gap: 2px; }
.le-cta b { font-size: 0.98rem; }
.le-cta small { font-size: 0.78rem; opacity: 0.75; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
    :root:not(.no-animations) body:not(.no-animations) .le-root { animation: leIn 0.36s cubic-bezier(0.2, 0.9, 0.3, 1) both; }
    :root:not(.no-animations) body:not(.no-animations) .le-root.is-leaving { animation: leOut 0.24s ease-in forwards; }
    :root:not(.no-animations) body:not(.no-animations) .le-root .le-screen { animation: leScreen 0.5s cubic-bezier(0.2, 0.9, 0.3, 1) backwards; transition: transform 0.36s cubic-bezier(0.2, 0.9, 0.3, 1), border-radius 0.36s ease; transform-origin: 50% 0; }
    :root:not(.no-animations) body:not(.no-animations) .le-tool { animation: leRise 0.4s cubic-bezier(0.2, 0.9, 0.3, 1) backwards; animation-delay: calc(0.12s + var(--i, 0) * 0.04s); transition: transform 0.15s ease; }
    :root:not(.no-animations) body:not(.no-animations) .le-tool:active, :root:not(.no-animations) body:not(.no-animations) .le-font:active, :root:not(.no-animations) body:not(.no-animations) .le-wall:active { transform: scale(0.93); }
    :root:not(.no-animations) body:not(.no-animations) .le-tool svg, :root:not(.no-animations) body:not(.no-animations) .le-seg-btn, :root:not(.no-animations) body:not(.no-animations) .le-font, :root:not(.no-animations) body:not(.no-animations) .le-wall-thumb { transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease; }
    :root:not(.no-animations) body:not(.no-animations) .le-tools, :root:not(.no-animations) body:not(.no-animations) .le-top-hint { transition: opacity 0.2s ease; }
    :root:not(.no-animations) body:not(.no-animations) .le-tab { transition: background-color 0.2s ease, color 0.2s ease; }
    :root:not(.no-animations) body:not(.no-animations) .le-target { transition: border-color 0.2s ease, background-color 0.2s ease; }
    :root:not(.no-animations) body:not(.no-animations) .le-root:not(.has-sheet) .le-target:not(.is-picked) { animation: leHint 2.8s ease-in-out 0.6s 2; }
    :root:not(.no-animations) body:not(.no-animations) .le-time, :root:not(.no-animations) body:not(.no-animations) .le-date { transition: color 0.25s ease, font-size 0.25s ease, text-shadow 0.25s ease; }
    :root:not(.no-animations) body:not(.no-animations) .le-col::before, :root:not(.no-animations) body:not(.no-animations) .le-col::after { transition: flex-grow 0.2s ease; }
    :root:not(.no-animations) body:not(.no-animations) .le-screen.is-dragging .le-col::before, :root:not(.no-animations) body:not(.no-animations) .le-screen.is-dragging .le-col::after { transition: none; }
    :root:not(.no-animations) body:not(.no-animations) .le-bg, :root:not(.no-animations) body:not(.no-animations) .le-dim { transition: opacity 0.25s ease, filter 0.25s ease; }
    :root:not(.no-animations) body:not(.no-animations) .le-guide { transition: opacity 0.15s ease; }
    :root:not(.no-animations) body:not(.no-animations) .le-sheet { animation: leSheet 0.38s cubic-bezier(0.2, 0.95, 0.25, 1) both; }
    :root:not(.no-animations) body:not(.no-animations) .le-sheet.is-swap > * { animation: leRise 0.28s cubic-bezier(0.2, 0.9, 0.3, 1) both; }
    :root:not(.no-animations) body:not(.no-animations) .le-sheet.is-leaving { animation: leSheetOut 0.22s ease-in forwards; }
    :root:not(.no-animations) body:not(.no-animations) .le-font.is-on, :root:not(.no-animations) body:not(.no-animations) .le-color.is-on { animation: lePop 0.3s cubic-bezier(0.3, 1.6, 0.5, 1); }
    :root:not(.no-animations) body:not(.no-animations) .wp-root { animation: leIn 0.36s cubic-bezier(0.2, 0.9, 0.3, 1) both; }
    :root:not(.no-animations) body:not(.no-animations) .wp-root.is-leaving { animation: leOut 0.24s ease-in forwards; }
    :root:not(.no-animations) body:not(.no-animations) .wp-img { animation: leZoom 0.8s cubic-bezier(0.2, 0.9, 0.3, 1) both; }
    :root:not(.no-animations) body:not(.no-animations) .wp-view { transition: opacity 0.3s ease, transform 0.36s cubic-bezier(0.2, 0.9, 0.3, 1); transform: scale(1.03); }
    :root:not(.no-animations) body:not(.no-animations) .wp-view.is-on { transform: none; }
    :root:not(.no-animations) body:not(.no-animations) .wp-view.is-on .wp-app { animation: lePop 0.4s cubic-bezier(0.3, 1.4, 0.5, 1) both; animation-delay: calc(var(--i, 0) * 0.02s); }
    :root:not(.no-animations) body:not(.no-animations) .wp-switch button { transition: background-color 0.2s ease, color 0.2s ease; }
    :root:not(.no-animations) body:not(.no-animations) .wp-set { animation: leRise 0.45s cubic-bezier(0.2, 0.9, 0.3, 1) 0.15s backwards; transition: transform 0.15s ease; }
    :root:not(.no-animations) body:not(.no-animations) .wp-set:active { transform: scale(0.96); }
    :root:not(.no-animations) body:not(.no-animations) .le-cta { transition: transform 0.15s ease; }
    :root:not(.no-animations) body:not(.no-animations) .le-cta:active { transform: scale(0.98); }
    :root:not(.no-animations) body:not(.no-animations) .le-cta > svg { animation: lePop 0.5s cubic-bezier(0.3, 1.5, 0.5, 1) both; }
}
@keyframes leIn { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes leOut { to { opacity: 0; transform: scale(1.03); } }
@keyframes leScreen { from { transform: scale(0.94); border-radius: 32px; } to { transform: none; } }
@keyframes leRise { from { opacity: 0; transform: translate3d(0, 12px, 0); } to { opacity: 1; transform: none; } }
@keyframes leSheet { from { transform: translate3d(0, 100%, 0); } to { transform: none; } }
@keyframes leSheetOut { to { transform: translate3d(0, 100%, 0); } }
@keyframes lePop { 0% { transform: scale(0.6); } 60% { transform: scale(1.1); } 100% { transform: scale(1); } }
@keyframes leHint { 0%, 100% { border-color: transparent; } 50% { border-color: rgba(255,255,255,0.45); } }
@keyframes leZoom { from { transform: scale(1.08); } to { transform: none; } }

/* The clock anywhere left to right (OrbitLockStyle x, 0..100): each part of the clock sits at
   x% of the width, shifted back by x% of itself, so 0 is flush left and 100 flush right. */
#lock-screen.lock-free-x .lock-header > :is(.lock-icon, #lock-time, #lock-date),
.le-screen.lock-free-x .le-col > :is(.le-icon, .le-time, .le-date),
.wp-view--lock.lock-free-x > :is(.wp-lock-icon, .wp-lock-time, .wp-lock-date),
.lk-prev.lock-free-x > :is(.lk-prev-icon, .lk-prev-time, .lk-prev-date) {
    align-self: flex-start;
    position: relative;
    left: calc(var(--lock-x, 50) * 1%);
    translate: calc(var(--lock-x, 50) * -1%) 0;
}
.le-guide--v { left: 50%; right: auto; top: 8%; bottom: 8%; width: 1px; height: auto; }
.le-screen.is-xcenter .le-guide--v { opacity: 1; }
