/* Isle website: what came with Beta 1.2. Editorial touches (numbered section marks, mono kickers, a little
   italic), Lock Screen Play, volume and brightness on the notch, and the quiet numbers. Loads after isle.css. */

/* ---------- editorial touches ---------- */
.kicker { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
h1 em, h2 em { font-style: italic; padding-right: 0.02em; }
main { counter-reset: sec; }
.section-head.marked { position: relative; counter-increment: sec; max-width: 780px; padding: 30px 32px 28px; }
.section-head.marked::before, .section-head.marked::after { content: ""; position: absolute; width: 18px; height: 18px; border: 0 solid rgba(255, 255, 255, 0.24); pointer-events: none; }
.section-head.marked::before { left: 0; top: 0; border-width: 1px 0 0 1px; }
.section-head.marked::after { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.section-head.marked .kicker::before { content: counter(sec, decimal-leading-zero); position: absolute; left: 26px; top: -6px; padding: 0 6px; font: 500 11px/1 var(--mono); letter-spacing: 0.12em; color: var(--dim); background: var(--bg); }
.newpill { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; margin-bottom: 18px; padding: 5px 12px 5px 5px; border-radius: 999px; background: rgba(255, 179, 92, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 179, 92, 0.28); color: var(--muted); font-size: 13px; text-decoration: none; transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.newpill b { flex: none; padding: 4px 9px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #1b1004; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.newpill span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.newpill svg { flex: none; width: 10px; height: 10px; }
.newpill:hover { background: rgba(255, 179, 92, 0.14); color: var(--ink); }
.newpill:active { transform: scale(0.98); }
.newmore { max-width: 660px; margin: 24px auto 0; text-align: center; font-size: 14.5px; color: var(--dim); text-wrap: balance; }
.idea .lede { max-width: 640px; margin: 0 auto; font-size: clamp(19px, 2.1vw, 23px); line-height: 1.5; color: var(--ink); opacity: 0.86; text-wrap: pretty; }
#idea { padding-top: 110px; }
/* the questions, numbered */
.faq { counter-reset: q; }
.faq summary { justify-content: flex-start; }
.faq summary::before { counter-increment: q; content: counter(q, decimal-leading-zero); flex: none; width: 30px; font: 500 12px/1 var(--mono); letter-spacing: 0.06em; color: var(--accent); }
.faq summary::after { margin-left: auto; }
.faq .a { padding-left: 46px; }

/* ---------- quiet: the honest numbers ---------- */
.quiet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; text-align: center; }
.qn { padding: 34px 12px 8px; border-top: 1px solid var(--hairline); }
.qn b { display: block; font-family: var(--rounded); font-size: clamp(64px, 9vw, 112px); font-weight: 600; line-height: 0.95; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; white-space: nowrap; background: linear-gradient(180deg, #fff 30%, #b9b1a5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.qn b small { margin-left: 0.06em; font-size: 0.34em; letter-spacing: -0.01em; }
.qn > span { display: block; margin-top: 12px; font-size: 15px; color: var(--muted); text-wrap: balance; }
.quiet-foot { max-width: 620px; margin: 34px auto 0; text-align: center; font-size: 15px; color: var(--muted); text-wrap: balance; }
.quiet-foot span { display: block; margin-top: 4px; font-size: 13px; color: var(--dim); }

/* ---------- Lock Screen Play: a MacBook at the lock screen, with the bubble above the name ---------- */
.lp-demo { display: grid; gap: 18px; justify-items: center; }
.lp-mac { width: min(940px, 100%); }
.lp-screen {
  --lp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --lp-clear: 27%; --lp-fade: 9cqh;
  position: relative; margin: 0 4%; height: max(440px, calc(min(940px, 100vw - 44px) * 0.92 / 1.6)); border: 9px solid #0a0a0b; border-bottom-width: 12px; border-radius: 20px 20px 6px 6px; background: #0d0b14; box-shadow: 0 0 0 1.5px #2b2a2e, 0 50px 110px -40px rgba(0, 0, 0, 0.9), 0 0 120px -30px rgba(255, 140, 90, 0.18); -webkit-tap-highlight-color: transparent; }
/* the screen itself clips square: a rounded clip around it would keep Chromium from fading the glass out
   toward the login area. The rounded inner corners are drawn on top instead. */
.lp-view { position: absolute; inset: 0; overflow: hidden; isolation: isolate; container-type: size; }
.lp-view::after { content: ""; position: absolute; inset: 0; z-index: 8; border-radius: 11px 11px 0 0; box-shadow: 0 0 0 14px #0a0a0b; pointer-events: none; }
.lp-base { position: relative; height: 15px; border-radius: 2px 2px 14px 14px / 2px 2px 12px 12px; background: linear-gradient(180deg, #e2dfda, #a3a09b 45%, #5d5b57); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.8); }
.lp-base::after { content: ""; position: absolute; left: 50%; top: 0; width: 15%; height: 5px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: linear-gradient(180deg, #7d7b77, #a9a6a1); }
/* the wallpaper: soft colour with a few shapes, so the glass has something to bend and blur */
.lp-wall { position: absolute; inset: -6%; z-index: -1; background: radial-gradient(42% 52% at 20% 32%, rgba(255, 179, 92, 0.9), transparent 70%), radial-gradient(36% 46% at 82% 24%, rgba(255, 102, 133, 0.75), transparent 70%), radial-gradient(52% 48% at 62% 82%, rgba(124, 92, 255, 0.75), transparent 72%), radial-gradient(40% 42% at 12% 90%, rgba(92, 219, 204, 0.5), transparent 70%), linear-gradient(180deg, #2a1d3a, #3a1f3a 50%, #161230); animation: lpdrift 26s ease-in-out infinite alternate; }
.lp-wall i { position: absolute; border-radius: 999px; filter: blur(3px); }
.lp-wall i:nth-child(1) { left: -8%; top: 50%; width: 70%; height: 20%; transform: rotate(-11deg); background: linear-gradient(90deg, rgba(255, 196, 120, 0.9), rgba(255, 102, 133, 0.75)); }
.lp-wall i:nth-child(2) { right: -12%; top: 60%; width: 66%; height: 18%; transform: rotate(9deg); background: linear-gradient(90deg, rgba(150, 110, 255, 0.85), rgba(92, 200, 255, 0.6)); }
.lp-wall i:nth-child(3) { left: 40%; top: 36%; width: 22%; aspect-ratio: 1; height: auto; background: radial-gradient(circle at 40% 35%, rgba(255, 240, 210, 0.95), rgba(255, 170, 90, 0.7) 45%, rgba(255, 120, 90, 0) 72%); filter: blur(1px); }
.lp-wall i:nth-child(4) { left: 14%; top: 74%; width: 34%; height: 9%; transform: rotate(-4deg); background: linear-gradient(90deg, rgba(92, 219, 204, 0.75), rgba(92, 219, 204, 0)); }
@keyframes lpdrift { from { transform: translate3d(-1.5%, -1%, 0) scale(1.02); } to { transform: translate3d(1.5%, 1%, 0) scale(1.06); } }
.lp-notch { position: absolute; left: 50%; top: 0; z-index: 6; width: 15%; height: 22px; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: #0a0a0b; pointer-events: none; }
.lp-top { position: absolute; left: 0; right: 0; top: 8%; text-align: center; color: rgba(255, 255, 255, 0.94); transform-origin: 50% 0; transition: opacity 520ms ease 120ms, scale 900ms var(--lp-ease); pointer-events: none; }
.lp-date { font-size: clamp(13px, 1.5vw, 16px); font-weight: 600; letter-spacing: 0.01em; opacity: 0.86; }
.lp-clock { font-family: var(--rounded); font-size: clamp(56px, 9vw, 92px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.16); }
.lp-screen[data-open="true"] .lp-top { opacity: 0; scale: 0.97; transition: opacity 320ms ease, scale 900ms var(--lp-ease); }
/* the login area: the player always leaves it clear, and the password field keeps working */
.lp-user { position: absolute; left: 0; right: 0; bottom: 4.5%; z-index: 4; display: grid; justify-items: center; gap: 5px; color: #fff; pointer-events: none; }
.lp-avatar { width: clamp(34px, 8.8cqh, 48px); height: clamp(34px, 8.8cqh, 48px); border-radius: 50%; display: grid; place-items: end center; overflow: hidden; color: rgba(255, 255, 255, 0.9); background: linear-gradient(160deg, #a19cad, #5d586f); box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.6); }
.lp-avatar svg { width: 82%; height: 82%; }
.lp-name { font-size: 14px; font-weight: 600; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3); }
.lp-pass { position: relative; width: 164px; height: clamp(24px, 5.4cqh, 28px); margin-top: 3px; border-radius: 999px; display: grid; place-items: center; font-size: 12px; color: rgba(255, 255, 255, 0.62); background: rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); pointer-events: auto; cursor: text; transition: background-color 240ms ease, box-shadow 240ms ease; }
.lp-pass::after { content: ""; position: absolute; left: 16px; top: calc(50% - 6px); width: 1.5px; height: 12px; border-radius: 1px; background: #fff; opacity: 0; }
.lp-pass.focus { background: rgba(255, 255, 255, 0.24); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22); }
.lp-pass.focus span { opacity: 0; }
.lp-pass.focus::after { animation: lpcaret 1s steps(1) infinite; }
@keyframes lpcaret { 0% { opacity: 1; } 50% { opacity: 0; } }

/* the bubble: small, just above the name */
.lp-bubble { position: absolute; left: calc(50% - 98px); bottom: calc(var(--lp-clear) + 1.6cqh + 4px); z-index: 2; width: 196px; height: 44px; padding: 0; border: 0; border-radius: 22px; overflow: hidden; color: #fff; font: inherit; text-align: left; cursor: pointer; transition: opacity 200ms ease, background-color 300ms ease, box-shadow 300ms ease; }
.lp-bubble:focus-visible { outline-offset: 3px; }
.lp-screen[data-style="classic"] .lp-bubble { background-color: rgba(0, 0, 0, 0.94); box-shadow: 0 22px 50px -24px rgba(0, 0, 0, 0.75); }
.lp-screen[data-style="classic"] .lp-bubble:hover { background-color: rgba(18, 18, 20, 0.96); }
/* Liquid Glass: glass all the way, shaped by soft light inside it, never by a white outline */
.lp-screen[data-style="glass"] .lp-bubble { background-color: rgba(18, 13, 30, 0.26); background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, 0.05)); -webkit-backdrop-filter: blur(20px) saturate(1.7) brightness(1.05); backdrop-filter: blur(20px) saturate(1.7) brightness(1.05); box-shadow: inset 0 16px 26px -20px rgba(255, 255, 255, 0.6), inset 0 -18px 28px -22px rgba(0, 0, 0, 0.42), inset 12px 0 24px -20px rgba(255, 255, 255, 0.2), 0 26px 50px -26px rgba(0, 0, 0, 0.55); }
.lp-screen[data-style="glass"] .lp-bubble:hover { background-color: rgba(28, 20, 44, 0.32); }
.lp-screen.live .lp-bubble { opacity: 0; pointer-events: none; transition: opacity 160ms ease 60ms; }
.lp-thumb { position: absolute; left: 7px; top: 7px; width: 30px; height: 30px; border-radius: 9px; }
.lp-mini { position: absolute; left: 46px; right: 14px; top: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.lp-mini b { min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-eq { flex: none; display: flex; align-items: center; gap: 2px; height: 14px; }
.lp-eq i { width: 3px; height: 100%; border-radius: 2px; background: var(--hue-music); transform-origin: 50% 50%; animation: lpeq 0.9s ease-in-out infinite alternate; }
.lp-eq i:nth-child(2) { animation-duration: 0.7s; animation-delay: -0.3s; }
.lp-eq i:nth-child(3) { animation-duration: 1.1s; animation-delay: -0.5s; }
.lp-eq i:nth-child(4) { animation-duration: 0.8s; animation-delay: -0.2s; }
@keyframes lpeq { from { transform: scaleY(0.3); } to { transform: scaleY(1); } }
.lp-screen.paused .lp-eq i, .lp-screen.off .lp-eq i, .lp-screen.off .lp-wall, .lp-screen.off .lp-glow { animation-play-state: paused; }
/* the made-up cover, in the bubble and full size */
.lp-cover { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; background: linear-gradient(180deg, #ffb36b 0%, #ff7a8a 44%, #2e3a78 45%, #141b44 100%); }
.lp-cover i:nth-child(1) { position: absolute; left: 50%; top: 22%; width: 42%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fff3d6, #ffd08a 55%, #ffb35c); }
.lp-cover i:nth-child(2) { position: absolute; left: 0; right: 0; top: 47%; bottom: 0; background: repeating-linear-gradient(180deg, rgba(255, 196, 140, 0.45) 0 2px, transparent 2px 9%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); }

/* ---------- full screen: one layer over the lock screen, revealed from the bubble ---------- */
/* no opacity on this layer itself: a fading parent would cut the glass off from the lock screen behind it,
   so the backdrop and the artwork fade on their own and the rest arrives with the open state */
.lp-full { position: absolute; inset: 0; z-index: 3; color: #fff; pointer-events: none; visibility: hidden; transition: visibility 0s linear 220ms; }
.lp-screen.live .lp-full { visibility: visible; transition: none; }
/* the backdrop ends above the login area and fades out toward it; over the name and password it is not there at all */
.lp-bg { --fade: var(--lp-fade); position: absolute; left: 0; right: 0; top: 0; bottom: var(--lp-clear); overflow: hidden; pointer-events: auto; -webkit-mask-image: linear-gradient(0deg, transparent 0, rgba(0, 0, 0, 0.5) calc(var(--fade) * 0.5), #000 var(--fade)); mask-image: linear-gradient(0deg, transparent 0, rgba(0, 0, 0, 0.5) calc(var(--fade) * 0.5), #000 var(--fade)); opacity: 0; transition: background-color 420ms ease, opacity 200ms ease; }
.lp-screen.live .lp-bg { opacity: 1; transition: background-color 420ms ease, opacity 0s; }
.lp-screen[data-style="classic"] .lp-bg { background-color: rgba(0, 0, 0, 0.9); }
.lp-screen[data-style="glass"] .lp-bg { background-color: rgba(144, 96, 108, 0.2); background-image: linear-gradient(180deg, rgba(12, 8, 22, 0.34), rgba(12, 8, 22, 0.06)); -webkit-backdrop-filter: blur(30px) saturate(1.6) brightness(0.92); backdrop-filter: blur(30px) saturate(1.6) brightness(0.92); }
/* a large, soft glow in the artwork's colours, behind the artwork wherever it goes */
.lp-glow { position: absolute; left: 50%; top: 25cqh; width: 96cqh; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 172, 104, 0.9), rgba(255, 112, 132, 0.62) 34%, rgba(72, 82, 178, 0.46) 62%, rgba(46, 58, 120, 0)); filter: blur(46px); opacity: 0.72; transition: left 860ms var(--lp-ease), opacity 500ms ease; animation: lpbreathe 14s ease-in-out infinite alternate; }
.lp-screen[data-style="glass"] .lp-glow { opacity: 0.46; }
.lp-screen[data-view="lyrics"] .lp-glow { left: 19cqw; }
@keyframes lpbreathe { from { scale: 1; } to { scale: 1.08; } }
.lp-fclock { position: absolute; left: 0; right: 0; top: 30px; text-align: center; font: 600 13px/1 var(--rounded); letter-spacing: 0.01em; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.84); pointer-events: none; }
.lp-min { position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; color: rgba(255, 255, 255, 0.86); background: rgba(255, 255, 255, 0.1); cursor: pointer; pointer-events: auto; }
.lp-min svg { width: 15px; height: 15px; }
.lp-min:hover { color: #fff; background-color: rgba(255, 255, 255, 0.16); }
/* the player column: centred under the clock, it glides into the left third for the lyrics */
.lp-col { position: absolute; left: 50%; top: 10.2cqh; width: min(440px, 56cqw); translate: -50% 0; display: flex; flex-direction: column; align-items: center; pointer-events: auto; transition: left 860ms var(--lp-ease), width 860ms var(--lp-ease); }
.lp-screen[data-view="lyrics"] .lp-col { left: 19cqw; width: 28cqw; }
.lp-art { --ar: 14px; position: relative; flex: none; width: min(26cqh, 100%); aspect-ratio: 1; padding: 0; border: 0; border-radius: 14px; background: none; cursor: pointer; transform-origin: 0 0; opacity: 0; transition: width 860ms var(--lp-ease), opacity 200ms ease; }
.lp-screen.live .lp-art { opacity: 1; transition: width 860ms var(--lp-ease), opacity 0s; }
.lp-art .lp-cover { border-radius: var(--ar); box-shadow: 0 22px 48px -16px rgba(0, 0, 0, 0.72), 0 4px 14px -6px rgba(0, 0, 0, 0.4); }
.lp-art:focus-visible { outline-offset: 5px; }
.lp-art:active .lp-cover { scale: 0.985; }
.lp-badge { position: absolute; right: -7px; bottom: -7px; width: max(20px, 15%); aspect-ratio: 1; display: grid; place-items: center; border-radius: 28%; color: #fff; background: linear-gradient(140deg, #ffb35c, #ff6685); box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.7); }
.lp-badge svg { width: 58%; height: 58%; }
.lp-meta { width: 100%; margin-top: 2.6cqh; text-align: center; }
.lp-title { display: block; font-size: clamp(15px, 3.8cqh, 22px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-artist { display: block; margin-top: 1px; font-size: clamp(12px, 2.7cqh, 15px); color: rgba(255, 255, 255, 0.66); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-seek { position: relative; width: 100%; height: 18px; margin-top: 1.2cqh; display: flex; align-items: center; border-radius: 6px; cursor: pointer; touch-action: none; }
.lp-track { position: relative; flex: 1; height: 5px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, 0.2); transition: height 220ms var(--lp-ease); }
.lp-track i { display: block; height: 100%; border-radius: inherit; background: #fff; transform-origin: 0 50%; transform: scaleX(0.1); transition: transform 260ms linear; }
.lp-seek:hover .lp-track, .lp-seek.drag .lp-track, .lp-seek:focus-visible .lp-track { height: 8px; }
.lp-seek.drag .lp-track i { transition: none; }
.lp-times { width: 100%; display: flex; justify-content: space-between; margin-top: 2px; font: 500 10.5px/1 var(--rounded); font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.55); }
.lp-ctl { display: flex; justify-content: center; align-items: center; gap: clamp(10px, 3.6cqw, 30px); margin-top: 0.6cqh; }
.lp-btn { width: clamp(28px, 7.4cqh, 42px); height: clamp(28px, 7.4cqh, 42px); padding: 0; border: 0; border-radius: 50%; color: #fff; background: transparent; cursor: pointer; }
.lp-btn svg { width: 48%; height: 48%; }
.lp-btn.big { width: clamp(34px, 9.4cqh, 52px); height: clamp(34px, 9.4cqh, 52px); }
.lp-btn.big svg { width: 46%; height: 46%; }
/* on the glass the round buttons are drops of glass too, and they light up from inside where you press */
.lp-screen[data-style="glass"] .lp-btn, .lp-screen[data-style="glass"] .lp-min { background: radial-gradient(120% 100% at 50% 0%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04) 62%); box-shadow: inset 0 10px 14px -11px rgba(255, 255, 255, 0.55), inset 0 -9px 14px -11px rgba(0, 0, 0, 0.4); }
.lp-screen[data-style="glass"] .lp-btn.big { background: radial-gradient(120% 100% at 50% 0%, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08) 64%); }
.lp-screen[data-style="classic"] .lp-btn:hover { background-color: rgba(255, 255, 255, 0.08); }
.lp-screen[data-style="classic"] .lp-btn.big { color: #000; background: #fff; }
.lp-screen[data-style="glass"] .gbtn.lit::after { opacity: 1; transform: scale(1.35); transition-duration: 110ms, 280ms; }
.lp-screen[data-style="glass"] .gbtn.lit { transform: scale(1.06); }
/* lyrics: big, in time with the song, the line you hear bright and larger, the rest dim behind it */
.lp-lyrics { position: absolute; left: 37cqw; right: 5cqw; top: 12cqh; bottom: calc(var(--lp-clear) + var(--lp-fade)); overflow: hidden; pointer-events: auto; -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 74%, transparent); mask-image: linear-gradient(180deg, transparent, #000 14%, #000 74%, transparent); }
.lp-lyrics ol { margin: 0; padding: 0; list-style: none; transform: translateY(var(--ly, 0px)); transition: transform 900ms var(--lp-ease); }
.lp-lyrics li { padding: 0.5cqh 0; font-size: clamp(15px, 4.8cqh, 28px); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; color: rgba(255, 255, 255, 0.3); transform-origin: 0 50%; scale: 0.84; transition: color 520ms ease, scale 760ms var(--lp-ease); text-wrap: balance; }
.lp-lyrics li.past { color: rgba(255, 255, 255, 0.17); }
.lp-lyrics li.now { color: #fff; scale: 1; }
.lp-screen[data-style="glass"] .lp-lyrics li { color: rgba(255, 255, 255, 0.4); text-shadow: 0 1px 14px rgba(0, 0, 0, 0.22); }
.lp-screen[data-style="glass"] .lp-lyrics li.past { color: rgba(255, 255, 255, 0.24); }
.lp-screen[data-style="glass"] .lp-lyrics li.now { color: #fff; }
.lp-screen[data-style="glass"] .lp-meta, .lp-screen[data-style="glass"] .lp-fclock { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.26); }
/* the parts arrive one after another as the screen fills, and leave at once */
.lp-fclock, .lp-min, .lp-badge, .lp-meta, .lp-seek, .lp-times, .lp-ctl { opacity: 0; translate: 0 10px; filter: blur(5px); transition: opacity 150ms ease, translate 150ms ease, filter 150ms ease, transform 420ms var(--lp-ease), background-color 300ms ease, scale 860ms var(--lp-ease); }
.lp-screen[data-open="true"] :is(.lp-fclock, .lp-min, .lp-badge, .lp-meta, .lp-seek, .lp-times, .lp-ctl) { opacity: 1; translate: 0 0; filter: blur(0); transition: opacity 560ms ease var(--d, 200ms), translate 900ms var(--lp-ease) var(--d, 200ms), filter 560ms ease var(--d, 200ms), transform 420ms var(--lp-ease), background-color 300ms ease, color 300ms ease, scale 860ms var(--lp-ease); }
.lp-fclock { --d: 260ms; }
.lp-min { --d: 320ms; }
.lp-meta { --d: 300ms; }
.lp-badge { --d: 420ms; }
.lp-seek, .lp-times { --d: 380ms; }
.lp-ctl { --d: 450ms; }
.lp-lyrics { opacity: 0; translate: 3cqw 0; visibility: hidden; transition: opacity 200ms ease, translate 200ms ease, visibility 0s linear 200ms; }
.lp-screen[data-open="true"][data-view="lyrics"] .lp-lyrics { opacity: 1; translate: 0 0; visibility: visible; transition: opacity 600ms ease 260ms, translate 900ms var(--lp-ease) 200ms, visibility 0s; }
.lp-screen.snap *, .lp-screen.snap *::before, .lp-screen.snap *::after { transition: none !important; }
.lp-controls { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lp-hint { margin: 0; font-size: 13px; color: var(--dim); font-family: var(--mono); letter-spacing: 0.02em; text-align: center; }
.lp-made { margin: -6px 0 0; font-size: 12.5px; color: var(--dim); text-align: center; }
#lockplay .glass-notes { margin-top: 30px; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; }

/* ---------- volume and brightness on the notch ---------- */
.lv-demo { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 22px; align-items: stretch; }
.lv-screen { --nw: 176px; --nh: 32px; --bw: 280px; --bh: 40px; --dim: 0.15; --lv: 0.5; position: relative; min-height: 260px; border-radius: 24px; overflow: hidden; isolation: isolate; box-shadow: inset 0 0 0 1px var(--hairline), 0 30px 80px -40px rgba(0, 0, 0, 0.8); }
.lv-wall { position: absolute; inset: 0; z-index: -2; background: radial-gradient(30% 60% at 50% 22%, rgba(255, 196, 120, 0.85), transparent 72%), radial-gradient(44% 80% at 20% 34%, rgba(255, 122, 89, 0.7), transparent 70%), radial-gradient(46% 80% at 82% 40%, rgba(255, 102, 133, 0.65), transparent 70%), radial-gradient(50% 70% at 55% 100%, rgba(124, 92, 255, 0.7), transparent 70%), linear-gradient(180deg, #2a1d34, #2c1d2c); }
.lv-screen::after { content: ""; position: absolute; inset: 0; z-index: 1; background: #000; opacity: var(--dim); pointer-events: none; transition: opacity 200ms ease; }
.lv-mbar { position: absolute; left: 0; right: 0; top: 0; height: var(--nh); z-index: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; font-size: 12px; color: rgba(255, 255, 255, 0.84); background: rgba(12, 12, 14, 0.62); }
.lv-mbar b { margin-right: 14px; font-weight: 700; }
.lv-mbar span { margin-right: 14px; }
.lv-mbar .r span { margin: 0 0 0 12px; font-family: var(--mono); font-size: 11px; color: rgba(255, 255, 255, 0.62); }
.lv-wins { position: absolute; left: 6%; right: 6%; top: 112px; bottom: -20px; z-index: -1; display: flex; gap: 26%; }
.lv-wins i { flex: 1; border-radius: 12px 12px 0 0; background: rgba(245, 240, 232, 0.92); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.lv-wins i + i { flex: 0.8; background: rgba(28, 28, 32, 0.95); }
/* Classic: the black island widens, a symbol on the left and the level on the right */
.lv-island { position: absolute; left: 50%; top: 0; z-index: 3; width: var(--nw); height: var(--nh); transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border-radius: 0 0 14px 14px; background: #000; transition: width 520ms var(--ease-spring), height 520ms var(--ease-spring), border-radius 520ms var(--ease-spring); }
.lv-island.on { width: calc(var(--nw) + 150px); height: calc(var(--nh) + 4px); border-radius: 0 0 18px 18px; }
.lv-island .lv-sym, .lv-island .lv-track { opacity: 0; transition: opacity 140ms ease; }
.lv-island.on .lv-sym, .lv-island.on .lv-track { opacity: 1; transition: opacity 240ms ease 140ms; }
.lv-sym { flex: none; width: 18px; height: 18px; color: #fff; }
.lv-track { flex: none; width: 54px; height: 6px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, 0.22); }
.lv-track i { display: block; height: 100%; border-radius: 3px; background: #fff; transform-origin: 0 50%; transform: scaleX(var(--lv)); transition: transform 200ms var(--ease-out); }
.lv-screen[data-kind="bri"] .lv-track i { background: #ffd08a; }
/* Liquid Glass: a band of glass drops under the notch, with a liquid level inside that sloshes */
.lv-band { position: absolute; left: 50%; top: calc(var(--nh) + 9px); z-index: 2; width: var(--bw); height: var(--bh); border-radius: 999px; overflow: hidden; opacity: 0; transform: translate(-50%, -80%) scale(0.5, 0.3); transition: transform 560ms var(--ease-spring), opacity 200ms ease; background-color: rgba(255, 255, 255, 0.05); background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02) 60%); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6); box-shadow: inset 0 10px 16px -12px rgba(255, 255, 255, 0.55), inset 0 -10px 16px -12px rgba(0, 0, 0, 0.45), 0 16px 36px -18px rgba(0, 0, 0, 0.6); }
.lv-band.on { opacity: 1; transform: translate(-50%, 0) scale(1); transition: transform 620ms var(--ease-spring), opacity 160ms ease; }
.lv-liquid { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lv-liquid path { fill: url(#lvGv); }
.lv-screen[data-kind="bri"] .lv-liquid path { fill: url(#lvGb); }
.lv-row { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; }
.lv-row .lv-sym { width: 18px; height: 18px; }
.lv-num { font-family: var(--rounded); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; }
.lv-row.hi .lv-sym, .lv-row.hi .lv-num { color: #1d1408; }
.lv-panel { display: grid; gap: 18px; align-content: center; }
.lv-ctl { display: grid; grid-template-columns: 34px 1fr 34px; grid-template-areas: "name name name" "minus range plus"; align-items: center; gap: 8px 10px; }
.lv-name { grid-area: name; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.lv-name svg { width: 17px; height: 17px; color: var(--accent); }
.lv-ctl .key:first-of-type { grid-area: minus; }
.lv-ctl input { grid-area: range; width: 100%; min-width: 0; margin: 0; accent-color: var(--accent); }
.lv-ctl .key:last-of-type { grid-area: plus; }
.key { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 10px; color: var(--ink); background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--hairline), 0 2px 0 rgba(0, 0, 0, 0.6); cursor: pointer; transition: transform 120ms var(--ease-out), background-color 160ms ease; }
.key svg { width: 15px; height: 15px; }
.key:hover { background: #1f1c19; }
.key:active { transform: translateY(1px) scale(0.97); box-shadow: inset 0 0 0 1px var(--hairline), 0 1px 0 rgba(0, 0, 0, 0.6); }
.lv-panel .seg { justify-self: start; }
.lv-note { margin: 0; font-size: 13px; color: var(--dim); font-family: var(--mono); }
#levels .glass-notes { margin-top: 26px; }
/* drag the level right on the notch while it shows; the sliders and keys beside it do the same from the keyboard */
.lv-band, .lv-island { -webkit-user-select: none; user-select: none; }
.lv-band { pointer-events: none; }
.lv-band.on { pointer-events: auto; }
.lv-band.on, .lv-island.on { cursor: ew-resize; touch-action: pan-y; }
.lv-screen.drag .lv-track i { transition: none; }
/* Apple's own capsule, drawn here to show the clash: it answers the keys while Hide Apple's indicator is off */
.lv-apple { --sw: 5px; position: absolute; left: 50%; top: calc(var(--nh) + 30px); z-index: 4; display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 13px 0 11px; border-radius: 999px; pointer-events: none; color: rgba(255, 255, 255, 0.92); background: rgba(70, 66, 74, 0.42); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.3), inset 0 8px 12px -10px rgba(255, 255, 255, 0.4), 0 12px 28px -14px rgba(0, 0, 0, 0.7); opacity: 0; transform: translate(-10%, -6px) scale(0.94); transition: opacity 260ms ease, transform 320ms var(--ease-out); }
.lv-apple.on { opacity: 0.88; transform: translate(-10%, 0) scale(1); transition: opacity 120ms ease, transform 220ms var(--ease-out); }
.lv-screen[data-apple="hidden"] .lv-apple { visibility: hidden; }
.lv-apple svg { flex: none; width: 15px; height: 15px; }
.lv-segs { display: flex; gap: 2px; }
.lv-segs i { width: var(--sw); height: 8px; border-radius: 1.5px; background: rgba(255, 255, 255, 0.2); }
.lv-segs i.f { background: rgba(255, 255, 255, 0.9); }
/* the switch beside the demo */
.lv-opt { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--hairline); }
.lv-switch { display: flex; align-items: center; gap: 12px; justify-self: start; padding: 6px 0; border: 0; background: none; color: var(--ink); font: 600 15px/1.3 var(--sans); text-align: left; cursor: pointer; border-radius: 8px; }
.lv-switch .tg { flex: none; position: relative; width: 40px; height: 24px; border-radius: 12px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--hairline); transition: background-color 200ms ease; }
.lv-switch .tg::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--muted); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); transition: transform 240ms var(--ease-out), background-color 200ms ease; }
.lv-switch:hover .tg { background: #1f1c19; }
.lv-switch[aria-checked="true"] .tg { background: var(--accent); }
.lv-switch[aria-checked="true"] .tg::after { transform: translateX(16px); background: #fff; }
.lv-switch:active .tg::after { width: 21px; }
.lv-switch[aria-checked="true"]:active .tg::after { transform: translateX(13px); }
.lv-tip { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); }

/* ---------- smaller screens ---------- */
@media (max-width: 860px) {
  .lv-demo { grid-template-columns: 1fr; }
  .quiet { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .qn { padding: 26px 12px 6px; }
}
@media (max-width: 720px) {
  .section-head.marked { padding: 26px 18px 24px; }
  .section-head.marked .kicker::before { left: 22px; }
  .faq .a { padding-left: 0; }
  .lv-screen { --nw: 128px; --nh: 28px; --bw: 224px; --bh: 36px; min-height: 210px; }
  .lv-island.on { width: calc(var(--nw) + 128px); }
  .lv-mbar .l span, .lv-mbar .r span { display: none; }
  .lv-wins { top: 92px; gap: 14%; }
  .lv-apple { --sw: 4px; top: calc(var(--nh) + 26px); gap: 8px; height: 26px; padding: 0 11px 0 9px; }
  .lv-apple svg { width: 13px; height: 13px; }
  .lv-segs i { height: 7px; }
}
@media (max-width: 600px) {
  .lp-screen { --lp-fade: 8cqh; margin: 0 2.5%; height: 470px; border-width: 6px; border-bottom-width: 9px; border-radius: 16px 16px 5px 5px; }
  .lp-view::after { border-radius: 10px 10px 0 0; }
  .lp-bubble { left: calc(50% - 90px); width: 180px; height: 40px; border-radius: 20px; }
  .lp-thumb { left: 6px; top: 6px; width: 28px; height: 28px; border-radius: 8px; }
  .lp-mini { left: 42px; }
  .lp-name { font-size: 13.5px; }
  .lp-pass { width: 148px; }
  .lp-notch { width: 22%; height: 18px; }
  .lp-fclock { top: 24px; font-size: 12px; }
  .lp-min { left: 10px; top: 10px; width: 28px; height: 28px; }
  .lp-col { width: 84cqw; }
  .lp-screen[data-view="lyrics"] .lp-col { left: 18cqw; width: 30cqw; }
  .lp-art { border-radius: 10px; }
  .lp-art { --ar: 10px; }
  .lp-badge { right: -5px; bottom: -5px; }
  .lp-title, .lp-artist { transition: font-size 860ms var(--lp-ease); }
  .lp-screen[data-view="lyrics"] .lp-ctl { scale: 0.7; }
  .lp-screen[data-view="lyrics"] .lp-title { font-size: 12px; }
  .lp-screen[data-view="lyrics"] .lp-artist { font-size: 11.5px; }
  .lp-lyrics { left: 37cqw; right: 4cqw; }
  .lp-lyrics li { font-size: clamp(14px, 3.6cqh, 18px); }
  .lp-glow { filter: blur(30px); }
  #lockplay .glass-notes { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 420px) {
  .newpill span { display: none; }
}

/* ---------- reduced motion: the same states, without the travel ---------- */
@media (prefers-reduced-motion: reduce) {
  .lp-wall, .lp-eq i, .lp-glow, .lp-pass.focus::after { animation: none; }
  .lp-pass.focus::after { opacity: 1; }
  .lp-screen.live .lp-bg { transition: opacity 280ms ease, background-color 420ms ease; }
  .lp-col, .lp-glow, .lp-top, .lp-lyrics ol, .lp-lyrics li, .lp-title, .lp-artist { transition-duration: 0s !important; transition-delay: 0s !important; }
  .lp-art, .lp-screen.live .lp-art { transition: opacity 280ms ease; }
  .lp-fclock, .lp-min, .lp-badge, .lp-meta, .lp-seek, .lp-times, .lp-ctl, .lp-lyrics { translate: none !important; filter: none !important; }
  .lp-screen[data-open="true"] :is(.lp-fclock, .lp-min, .lp-badge, .lp-meta, .lp-seek, .lp-times, .lp-ctl) { transition: opacity 280ms ease; }
  .lp-screen[data-open="true"][data-view="lyrics"] .lp-lyrics { transition: opacity 280ms ease, visibility 0s; }
  .lv-island, .lv-band, .lv-band.on, .lv-track i, .key, .newpill { transition: none; }
  .lv-apple, .lv-apple.on { transform: translate(-10%, 0); transition: opacity 160ms ease; }
  .lv-switch .tg, .lv-switch .tg::after { transition: none; }
}
