/* The apps in the Dock, drawn after macOS Sonoma's own: a sidebar, a toolbar, each app's accent colour, and the
   things Kea works on. Only transform and opacity animate. */
.appdemo { position: absolute; z-index: 26; top: 72px; left: 24px; right: 24px; bottom: calc(var(--dock-h) + 16px); pointer-events: none; }
.appdemo .win { pointer-events: auto; background: #fff; font: 400 13px/1.35 var(--mac); color: #1d1d1f; }
.appdemo .win > div { flex: 1; min-height: 0; display: flex; }
.appdemo .lights i:first-child { cursor: pointer; }
.ic { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic.f { fill: currentColor; stroke: none; }
.sp { flex: 1; }
.tbar { flex: none; display: flex; align-items: center; gap: 4px; height: 52px; padding: 0 12px; border-bottom: 1px solid #e6e6e6; background: #fbfbfb; color: #6e6e73; }
.tb-ic { flex: none; display: grid; place-items: center; width: 30px; height: 28px; border-radius: 6px; color: #6e6e73; }
.tb-ic .ic { width: 17px; height: 17px; }
.tb-ic.dim { opacity: 0.35; }
.tb-ic.on { background: rgba(0, 0, 0, 0.07); color: #1d1d1f; }
.tb-title { margin: 0 8px; font-size: 14px; font-weight: 700; color: #1d1d1f; }
.tb-sep { flex: none; width: 1px; height: 18px; margin: 0 6px; background: #e0e0e0; }
.mside { flex: none; width: 196px; display: flex; flex-direction: column; padding: 0 10px 12px; background: #efedea; border-right: 1px solid #dedbd6; overflow: hidden; }
.side-top { flex: none; display: flex; align-items: center; height: 52px; padding-left: 8px; }
.mside .sh { margin: 12px 8px 4px; font-size: 11px; font-weight: 600; color: #8e8e93; }
.mside a { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 6px; color: #1d1d1f; white-space: nowrap; }
.mside a .ic { color: var(--acc, #0a84ff); }
.mside a.on { background: rgba(0, 0, 0, 0.08); }
.mside a em { margin-left: auto; font-style: normal; font-size: 12px; color: #8e8e93; }
.mside .tag { width: 10px; height: 10px; margin: 0 3px; border-radius: 50%; background: var(--c); }
.av { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 72%, #fff), var(--c)); color: #fff; font-size: 13px; font-weight: 600; }
.chip { padding: 2px 9px; border-radius: 10px; background: #e8f0fe; color: #1a56c4; font-size: 12.5px; font-weight: 600; }
.load { position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 3px; background: #0a84ff; transform: scaleX(0); transform-origin: 0 50%; opacity: 0; will-change: transform, opacity; }

/* ---------- Finder ---------- */
.fd-main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #fff; }
.fd-grid { flex: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); align-content: start; gap: 16px 6px; padding: 20px 18px; overflow: hidden; }
.fd-item { display: flex; flex-direction: column; align-items: center; gap: 6px; will-change: transform, opacity; }
.fd-item.slot { visibility: hidden; }
.fd-item.slot.made { visibility: visible; }
.fd-item.gone { visibility: hidden; }
.fd-ic { display: grid; place-items: center; width: 74px; height: 64px; border-radius: 8px; }
.fd-item.sel .fd-ic { background: rgba(0, 0, 0, 0.08); }
.fd-name { max-width: 100px; min-height: 1.3em; padding: 1px 5px; border-radius: 4px; font-size: 12px; line-height: 1.25; text-align: center; overflow-wrap: anywhere; }
.fd-item.sel .fd-name { background: #0a64d8; color: #fff; }
.fd-name.edit { min-width: 64px; background: #fff; box-shadow: 0 0 0 1px #0a84ff, 0 0 0 3.5px rgba(10, 132, 255, 0.3); }
.fd-folder { width: 64px; height: 50px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.14)); }
.fd-doc { position: relative; width: 42px; height: 54px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.25), 0 2px 4px rgba(0, 0, 0, 0.12); }
.fd-doc::before { content: ""; position: absolute; right: 0; top: 0; width: 12px; height: 12px; border-radius: 0 3px 0 2px; background: linear-gradient(225deg, #f5f1ea 50%, #dcdce1 50%); }
.fd-doc b, .fd-dmg b { position: absolute; left: 5px; right: 5px; bottom: 8px; padding: 2px 0; border-radius: 2px; background: var(--c, #8e8e93); color: #fff; font: 700 8px/1 var(--mac); letter-spacing: 0.04em; text-align: center; }
.fd-doc.zip::after { content: ""; position: absolute; left: 50%; top: 3px; bottom: 22px; width: 4px; margin-left: -2px; background: repeating-linear-gradient(#9a9aa0 0 2px, transparent 2px 4px); }
.fd-dmg { position: relative; width: 50px; height: 46px; border-radius: 9px; background: linear-gradient(#f6f6f8, #d6d6db); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.25), 0 2px 4px rgba(0, 0, 0, 0.15); }
.fd-img { width: 60px; height: 44px; border: 2.5px solid #fff; border-radius: 2px; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2), 0 2px 5px rgba(0, 0, 0, 0.18); }
.fd-path { flex: none; display: flex; align-items: center; height: 26px; padding: 0 14px; border-top: 1px solid #ececec; font-size: 11px; color: #8e8e93; }

/* ---------- Safari ---------- */
.sf, .cr, .cl { flex-direction: column; }
.sf-bar { gap: 6px; }
.sf-bar .lights { margin-right: 10px; }
.sf-url { flex: 0 1 460px; display: flex; align-items: center; justify-content: center; height: 30px; margin: 0 auto; padding: 0 12px; border-radius: 8px; background: #ececee; color: #1d1d1f; font-size: 13px; white-space: nowrap; overflow: hidden; }
.sf-url .ph { color: #8e8e93; }
.sf-url .q:not(:empty) + .ph { display: none; }
.sf-url.focus { justify-content: flex-start; background: #fff; box-shadow: inset 0 0 0 1px #0a84ff, 0 0 0 3.5px rgba(10, 132, 255, 0.4); }
.sf-page { position: relative; flex: 1; overflow: hidden; background: #fff; }
.sf-start { position: absolute; inset: 0; padding: 42px 12%; background: #f5f5f7; }
.sf-start h4 { margin-bottom: 16px; font-size: 17px; font-weight: 700; }
.sf-favs { display: flex; flex-wrap: wrap; gap: 18px 22px; margin-bottom: 36px; }
.sf-fav { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 68px; font-size: 11.5px; color: #3a3a3c; }
.sf-fav b { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 13px; color: #fff; font: 600 26px/1 var(--mac); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); }
.sf-priv { display: flex; align-items: center; gap: 10px; max-width: 460px; padding: 14px 16px; border-radius: 12px; background: #fff; color: #3a3a3c; font-size: 12.5px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
.sf-priv .ic { color: #8e8e93; }
.wx { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 24px 30px; background: linear-gradient(180deg, #3d7fd9 0%, #6aa8ec 55%, #a6cdf3 100%); color: #fff; opacity: 0; }
.wx-ic { flex: none; width: 40px; height: 40px; }
.wx-brand { align-self: flex-start; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.wx-brand .wx-ic { width: 24px; height: 24px; }
.wx-now { margin-top: 6px; text-align: center; }
.wx-city { font-size: 30px; font-weight: 500; }
.wx-t { font-size: 84px; font-weight: 200; line-height: 1; }
.wx-c, .wx-hl { font-size: 16px; font-weight: 500; }
.wx-days { display: flex; gap: 14px; width: min(100%, 540px); margin-top: 26px; }
.wx-d { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.16); font-size: 14px; transition: background 300ms, box-shadow 300ms; }
.wx-d em { font-style: normal; opacity: 0.7; }
.wx-d.hl { background: rgba(255, 255, 255, 0.32); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85); }

/* ---------- Google Chrome: the RSVP ---------- */
.cr .ch-bar .ic { width: 16px; height: 16px; color: #5f6368; }
.cr .omni { color: #202124; }
.cr-fav { font-style: normal; font-size: 13px; }
.ch-plus { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 4px; color: #5f6368; }
.cr-page { display: grid; place-items: center; background: linear-gradient(160deg, #fbf5ff, #f3ecfa); }
.rs { position: relative; width: min(440px, 92%); border-radius: 18px; background: #fff; box-shadow: 0 12px 34px -14px rgba(80, 40, 120, 0.4); }
.rs-hero { padding: 20px 26px 16px; border-radius: 18px 18px 0 0; background: linear-gradient(135deg, #ff9a8b, #ff6a88 50%, #ff99ac); color: #fff; }
.rs-em { font-size: 26px; }
.rs-hero h3 { margin-top: 4px; font-size: 24px; font-weight: 700; line-height: 1.1; }
.rs-hero p { margin-top: 6px; font-size: 13px; opacity: 0.92; }
.rs-form { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px 26px 22px; }
.rs-form label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 600; color: #5b4a6b; }
.rs-in { display: block; height: 34px; padding: 8px 11px; border-radius: 9px; background: #faf8fc; box-shadow: inset 0 0 0 1px #e3dcea; color: #1d1d1f; font-size: 13.5px; font-weight: 400; white-space: nowrap; overflow: hidden; }
.rs-in.focus { box-shadow: inset 0 0 0 1.5px #c04de0, 0 0 0 3px rgba(192, 77, 224, 0.18); }
.rs-row { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; color: #5b4a6b; }
.rs-seg { display: flex; padding: 2px; border-radius: 9px; background: #f0ebf5; }
.rs-seg b { padding: 6px 14px; border-radius: 7px; font-size: 12.5px; font-weight: 600; transition: background 200ms, color 200ms; }
.rs-seg b.on { background: #c04de0; color: #fff; }
.rs-step { display: flex; align-items: center; gap: 12px; }
.rs-step b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f0ebf5; font-size: 16px; }
.rs-step i { min-width: 12px; font-style: normal; font-size: 15px; font-weight: 700; color: #1d1d1f; text-align: center; }
.rs-send { display: grid; place-items: center; height: 42px; margin-top: 6px; border-radius: 12px; background: linear-gradient(135deg, #c04de0, #ff6a88); color: #fff; font-size: 14.5px; font-weight: 700; }
.rs-send.sent { background: #2b7d5a; }
.confetti { position: absolute; z-index: 5; width: 8px; height: 12px; border-radius: 2px; pointer-events: none; will-change: transform, opacity; }

/* ---------- Mail ---------- */
.ml-list { flex: none; width: 300px; display: flex; flex-direction: column; background: #fff; border-right: 1px solid #e6e6e6; overflow: hidden; }
.ml-lh, .nt-lh { flex: none; display: flex; flex-direction: column; justify-content: center; height: 52px; padding: 0 16px; }
.ml-lh { border-bottom: 1px solid #ececec; }
.ml-lh b, .nt-lh b { font-size: 15px; }
.ml-lh small, .nt-lh small { font-size: 11px; color: #8e8e93; }
.ml-row { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 1px 8px; margin: 3px 8px 0; padding: 9px 10px 10px 20px; border-radius: 8px; }
.ml-row b { font-size: 13px; }
.ml-row time { font-size: 11.5px; color: #8e8e93; }
.ml-row .s { grid-column: 1 / -1; font-size: 12.5px; }
.ml-row .pv { grid-column: 1 / -1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; color: #8e8e93; }
.ml-row .dot { position: absolute; left: 7px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: #0a84ff; opacity: 0; }
.ml-row.unread .dot { opacity: 1; }
.ml-row.replied::before { content: "↩︎"; position: absolute; left: 6px; top: 9px; font-size: 11px; color: #8e8e93; }
.ml-row.on { background: #0a84ff; }
.ml-row.on b, .ml-row.on .s, .ml-row.on time, .ml-row.on.replied::before { color: #fff; }
.ml-row.on .pv { color: rgba(255, 255, 255, 0.82); }
.ml-row.on .dot { background: #fff; }
.ml-read { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; background: #fff; }
.ml-msg { flex: 1; padding: 20px 28px; overflow: hidden; }
.ml-mh { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #ececec; }
.ml-mh div { flex: 1; display: flex; flex-direction: column; }
.ml-mh b { font-size: 14px; }
.ml-mh small, .ml-mh time { font-size: 12px; color: #8e8e93; }
.ml-msg h3 { margin: 16px 0 10px; font-size: 19px; font-weight: 700; }
.ml-body, .ml-cbody { white-space: pre-wrap; font-size: 14px; line-height: 1.55; }
.ml-cmp { position: absolute; left: 24px; right: 24px; top: 68px; bottom: 22px; display: none; flex-direction: column; border-radius: 12px; background: #fff; overflow: hidden;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.25), 0 24px 50px -16px rgba(0, 0, 0, 0.35); will-change: transform, opacity; }
.ml-cmp.open { display: flex; }
.ml-cmp header { display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 12px 0 16px; background: #f6f6f6; border-bottom: 1px solid #ececec; }
.ml-send { display: grid; place-items: center; width: 34px; height: 28px; border-radius: 7px; color: #0a84ff; }
.ml-send .ic { width: 18px; height: 18px; }
.ml-cmp .f { display: flex; align-items: center; gap: 8px; height: 36px; margin: 0 16px; border-bottom: 1px solid #f0f0f0; color: #8e8e93; }
.ml-cmp .f span:not(.chip) { color: #1d1d1f; }
.ml-cbody { flex: 1; padding: 14px 16px; }

/* ---------- Messages ---------- */
.ms-side { flex: none; width: 280px; display: flex; flex-direction: column; padding: 0 8px; background: #f2f1ef; border-right: 1px solid #e0ddd9; overflow: hidden; }
.ms-side .side-top { padding-right: 4px; }
.ms-search { display: flex; align-items: center; gap: 6px; height: 28px; margin: 0 6px 8px; padding: 0 8px; border-radius: 7px; background: rgba(0, 0, 0, 0.06); color: #8e8e93; }
.ms-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; }
.ms-row .av { width: 40px; height: 40px; }
.ms-row div { flex: 1; min-width: 0; display: grid; grid-template-columns: 1fr auto; gap: 1px 6px; }
.ms-row b { font-size: 13px; }
.ms-row time { font-size: 11.5px; color: #8e8e93; }
.ms-row span { grid-column: 1 / -1; font-size: 12px; color: #8e8e93; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-row.on { background: #0a84ff; }
.ms-row.on b, .ms-row.on time, .ms-row.on span { color: #fff; }
.ms-chat { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #fff; }
.ms-head { flex: none; display: flex; align-items: center; height: 52px; padding: 0 14px; border-bottom: 1px solid #ececec; color: #8e8e93; }
.ms-head b { font-weight: 600; color: #1d1d1f; }
.ms-thread { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 14px 18px; overflow: hidden; }
.ms-day { align-self: center; margin: 8px 0 4px; font-size: 11px; color: #8e8e93; }
.bub { max-width: 66%; padding: 7px 12px; border-radius: 18px; font-size: 13.5px; line-height: 1.35; will-change: transform, opacity; }
.bub.them { align-self: flex-start; background: #e9e9eb; color: #1d1d1f; }
.bub.me { align-self: flex-end; background: #0a84ff; color: #fff; }
.ms-read { align-self: flex-end; font-size: 11px; color: #8e8e93; }
.typing-dots { display: flex; gap: 4px; padding: 11px 13px; }
.typing-dots i { width: 7px; height: 7px; border-radius: 50%; background: #8e8e93; animation: tdot 1s ease-in-out infinite; will-change: transform, opacity; }
.typing-dots i:nth-child(2) { animation-delay: 0.15s; }
.typing-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes tdot { 0%, 60%, 100% { transform: none; opacity: 0.45; } 30% { transform: translateY(-3px); opacity: 1; } }
.ms-foot { flex: none; display: flex; align-items: center; gap: 8px; padding: 10px 14px 14px; }
.ms-field { flex: 1; min-height: 32px; padding: 7px 14px; border-radius: 16px; box-shadow: inset 0 0 0 1px #d8d8dc; font-size: 13.5px; }
.ms-field:empty::before { content: "iMessage"; color: #a1a1a6; }

/* ---------- Calendar ---------- */
.cl { background: #fff; }
.cl-bar .lights { margin-right: 8px; }
.seg { display: flex; padding: 2px; border-radius: 7px; background: rgba(0, 0, 0, 0.06); }
.seg b { padding: 4px 12px; border-radius: 5px; font-size: 12.5px; font-weight: 500; color: #3a3a3c; }
.seg b.on { background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); }
.cl-bar .today { padding: 4px 10px; border-radius: 6px; font-size: 12.5px; color: #3a3a3c; box-shadow: inset 0 0 0 1px #d8d8dc; }
.cl-title { flex: none; padding: 12px 18px 8px; font-size: 24px; }
.cl-title b { font-weight: 700; }
.cl-head { flex: none; display: grid; grid-template-columns: 56px repeat(5, 1fr); padding: 0 0 8px; border-bottom: 1px solid #e5e5e5; font-size: 13px; color: #3a3a3c; }
.cl-head span { padding-left: 8px; }
.cl-head .today b { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 5px; border-radius: 12px; background: #ff3b30; color: #fff; }
.cl-wrap { flex: 1; min-height: 0; display: grid; grid-template-columns: 56px 1fr; padding-bottom: 10px; }
.cl-hours { display: grid; grid-template-rows: repeat(9, 1fr); padding-right: 8px; font-size: 10.5px; color: #8e8e93; text-align: right; }
.cl-hours span { transform: translateY(-6px); }
.cl-body { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(18, minmax(0, 1fr));
  background-image: linear-gradient(#ececec 1px, transparent 1px), linear-gradient(90deg, #ececec 1px, transparent 1px); background-size: 100% calc(100% / 9), calc(100% / 5) 100%; }
.ev2 { position: relative; min-height: 0; margin: 1px 3px 1px 2px; padding: 3px 7px; border-radius: 5px; overflow: hidden; background: var(--bg); color: var(--fg); font-size: 11.5px; line-height: 1.25;
  box-shadow: inset 3px 0 0 var(--bar); transition: box-shadow 200ms; will-change: transform; }
.ev2 b { font-weight: 600; }
.ev2 small { display: block; opacity: 0.85; }
.ev2.blue { --bg: #dcebfd; --fg: #1f4f8f; --bar: #0a84ff; }
.ev2.green { --bg: #ddf3e3; --fg: #1d6b3c; --bar: #30c75e; }
.ev2.purple { --bg: #ece3fb; --fg: #5a2f8f; --bar: #a259ff; }
.ev2.red { --bg: #fde2e0; --fg: #a12a22; --bar: #ff3b30; }
.ev2.yellow { --bg: #fff4cc; --fg: #7a5a00; --bar: #ffcc00; }
.ev2.orange { --bg: #ffe8d5; --fg: #9a4a0b; --bar: #ff9500; }
.ev2.lift { z-index: 3; box-shadow: inset 3px 0 0 var(--bar), 0 12px 24px -6px rgba(0, 0, 0, 0.35); }
.cl-now { position: absolute; left: 60%; width: 20%; top: 18.5%; height: 2px; background: #ff3b30; }
.cl-now::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; }

/* ---------- Notes ---------- */
.nt { --acc: #e0a800; }
.nt-list { flex: none; width: 260px; display: flex; flex-direction: column; padding: 0 8px; background: #fff; border-right: 1px solid #e6e6e6; overflow: hidden; }
.nt-lh { padding: 0 10px; }
.nt-g { margin: 10px 10px 4px; font-size: 11.5px; font-weight: 700; }
.nt-row { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border-radius: 8px; will-change: transform; }
.nt-row b { font-size: 13px; }
.nt-row span { font-size: 12px; color: #8e8e93; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-row time { margin-right: 6px; color: #1d1d1f; }
.nt-row.on { background: #fde79a; }
.nt-ed { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #fff; }
.nt-doc { flex: 1; padding: 14px 44px; overflow: hidden; }
.nt-date { margin-bottom: 18px; font-size: 11.5px; color: #8e8e93; text-align: center; }
.nt-body { font-size: 14.5px; line-height: 1.65; }
.nt-title { min-height: 1.3em; margin-bottom: 6px; font-size: 24px; font-weight: 700; line-height: 1.3; }
.nt-checks { list-style: none; }
.nt-checks li { display: flex; align-items: center; gap: 10px; min-height: 29px; }
.nt-checks i { flex: none; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #c7c7cc; }

/* ---------- Music ---------- */
.mu { --acc: #fa2d48; }
.mu-search { display: flex; align-items: center; gap: 6px; height: 28px; margin: 0 4px 6px; padding: 0 8px; border-radius: 7px; background: rgba(0, 0, 0, 0.06); color: #8e8e93; }
.mu-search .q { color: #1d1d1f; }
.mu-search .q:not(:empty) + .ph { display: none; }
.mu-search.focus { background: #fff; box-shadow: inset 0 0 0 1px #fa2d48, 0 0 0 3px rgba(250, 45, 72, 0.25); }
.mu-main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #fff; }
.mu-bar { justify-content: space-between; gap: 14px; }
.mu-ctl { display: flex; align-items: center; gap: 2px; }
.mu-ctl .ic.f { width: 15px; height: 15px; color: #3a3a3c; }
.mu-play .ic.f { width: 21px; height: 21px; color: #1d1d1f; }
.mu-lcd { position: relative; flex: 0 1 380px; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px 0 4px; border-radius: 8px; background: #f2f2f4; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.08); }
.mu-art { flex: none; width: 32px; height: 32px; border-radius: 5px; background: linear-gradient(135deg, #7f7fd5, #86a8e7, #91eae4); opacity: 0; }
.mu-np { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; font-size: 12px; }
.mu-np b { font-weight: 600; }
.mu-np small { font-size: 11px; color: #8e8e93; }
.mu-prog { position: absolute; left: 44px; right: 10px; bottom: 4px; height: 2px; border-radius: 1px; background: rgba(0, 0, 0, 0.1); overflow: hidden; opacity: 0; }
.mu-lcd.on .mu-prog { opacity: 1; }
.mu-prog i { display: block; height: 100%; background: #8e8e93; transform: scaleX(0); transform-origin: 0 50%; }
.mu-vol { display: flex; align-items: center; gap: 6px; color: #8e8e93; }
.mu-vol > i { width: 70px; height: 3px; border-radius: 2px; background: rgba(0, 0, 0, 0.12); }
.mu-vol > i i { display: block; width: 60%; height: 100%; border-radius: inherit; background: #8e8e93; }
.mu-view { position: relative; flex: 1; overflow: hidden; }
.mu-home, .mu-res, .mu-pl { position: absolute; inset: 0; padding: 22px 28px; overflow: hidden; will-change: transform, opacity; }
.mu-res, .mu-pl { opacity: 0; }
.mu-view h2 { margin-bottom: 14px; font-size: 26px; font-weight: 700; }
.mu-view h4 { margin: 6px 0 12px; font-size: 15px; font-weight: 700; }
.mu-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.mu-tile i { display: flex; align-items: flex-end; aspect-ratio: 1; padding: 10px; border-radius: 10px; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.4); }
.mu-tile i b { color: #fff; font-size: 16px; font-weight: 700; line-height: 1.1; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25); }
.mu-tile span { display: block; margin-top: 8px; font-size: 13px; }
.mu-tile small { font-size: 12px; color: #8e8e93; }
.mu-plh { display: flex; align-items: flex-end; gap: 22px; margin-bottom: 18px; }
.mu-big { flex: none; display: flex; align-items: flex-end; width: 160px; height: 160px; padding: 14px; border-radius: 12px; background: linear-gradient(135deg, #7f7fd5, #86a8e7, #91eae4); box-shadow: 0 14px 30px -14px rgba(60, 60, 140, 0.6); }
.mu-big b { color: #fff; font-size: 22px; font-weight: 700; line-height: 1.05; }
.mu-plh h2 { margin-bottom: 6px; }
.mu-plh p { max-width: 32em; font-size: 13px; color: #6e6e73; }
.mu-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 8px 22px 8px 18px; border-radius: 8px; background: #fa2d48; color: #fff; font-size: 13.5px; font-weight: 600; }
.mu-go .ic { width: 14px; height: 14px; }
.mu-tracks { list-style: none; border-top: 1px solid #ececec; }
.mu-tracks li { display: grid; grid-template-columns: 34px 1.3fr 1fr auto; align-items: center; height: 38px; padding: 0 10px; border-bottom: 1px solid #f2f2f2; font-size: 13px; }
.mu-tracks li > span:not(.mu-n), .mu-tracks time { color: #6e6e73; }
.mu-n em { font-style: normal; color: #8e8e93; }
.eq { display: none; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 3px; height: 100%; background: #fa2d48; transform-origin: 50% 100%; animation: eq 0.8s ease-in-out infinite; will-change: transform; }
.eq i:nth-child(2) { animation-delay: 0.2s; }
.eq i:nth-child(3) { animation-delay: 0.4s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.3); } 50% { transform: none; } }
.mu-tracks li.playing b { color: #fa2d48; }
.mu-tracks li.playing em { display: none; }
.mu-tracks li.playing .eq { display: flex; }

/* ---------- Phones: one pane at a time ---------- */
@media (max-width: 820px) {
  .appdemo { top: 64px; left: 10px; right: 10px; bottom: calc(var(--dock-h) + 8px); }
  .mside, .nt-list, .ms-side { display: none; }
  .tbar { height: 44px; padding: 0 8px; }
  .tb-ic { width: 26px; }
  .seg, .cl-bar .tb-ic:not(:first-of-type), .ml-tools .tb-ic:not(.ml-reply), .ml-tools .tb-sep { display: none; }
  .ml { flex-direction: column; }
  .ml-list { width: auto; height: 38%; border-right: 0; border-bottom: 1px solid #e6e6e6; }
  .ml-lh { display: none; }
  .ml-msg { padding: 14px 16px; }
  .ml-msg h3 { margin: 10px 0 6px; font-size: 16px; }
  .ml-body, .ml-cbody { font-size: 13px; }
  .ml-cmp { left: 10px; right: 10px; top: 52px; bottom: 10px; }
  .cl-title { font-size: 18px; padding: 8px 12px 6px; }
  .cl-head, .cl-wrap { grid-template-columns: 40px repeat(5, 1fr); }
  .cl-wrap { grid-template-columns: 40px 1fr; }
  .cl-head { font-size: 11px; }
  .cl-head span { padding-left: 3px; }
  .ev2 { padding: 2px 4px; font-size: 10px; }
  .ev2 small { display: none; }
  .nt-doc { padding: 12px 18px; }
  .rs-hero { padding: 16px 20px 12px; }
  .rs-form { padding: 12px 20px 16px; gap: 8px; }
}
