.mac-stage { position: absolute; inset: 0 auto auto 0; width: 1280px; height: 720px; overflow: hidden; transform: scale(var(--mac-scale, .6)); transform-origin: top left; color: #29282a; font: 13px/1.4 -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", sans-serif; letter-spacing: 0; text-align: left; color-scheme: light; isolation: isolate; }
.mac-stage *, .mac-stage *::before, .mac-stage *::after { box-sizing: border-box; }
.mac-stage [hidden] { display: none !important; }
.mac-stage button, .mac-stage input, .mac-stage textarea { font: inherit; }
.mac-stage button { color: inherit; cursor: default; }
.mac-stage button:focus-visible, .mac-stage input:focus-visible, .mac-stage textarea:focus-visible, .mac-stage [contenteditable]:focus-visible { outline: 3px solid #288aff; outline-offset: 1px; }
.mac-stage svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mac-wallpaper { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; object-position: 50% 45%; z-index: -1; }
.mac-menubar { position: absolute; z-index: 800; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; height: 29px; padding: 0 15px; color: #fff; background: #d9e1ef25; box-shadow: 0 1px 0 #ffffff12; backdrop-filter: blur(30px) saturate(1.5); font-size: 13px; text-shadow: 0 1px 4px #15294670; }
.mac-menu-left, .mac-menu-right { display: flex; height: 100%; align-items: center; gap: 2px; }
.mac-menubar button { display: flex; height: 100%; align-items: center; padding: 0 10px; border: 0; border-radius: 4px; background: transparent; color: #fff; }
.mac-menubar button:hover { background: #ffffff26; }
.mac-menubar .mac-apple { font-size: 22px; padding: 0 12px 1px 4px; }
.mac-current-app { font-weight: 650 !important; }
.mac-menu-right { gap: 13px; }
.mac-menu-right button { padding: 0 2px; }
.mac-menu-right svg { width: 17px; height: 17px; }
.mac-menu-right time { margin-left: 3px; font-size: 12px; font-variant-numeric: tabular-nums; }
.mac-battery svg { width: 24px; height: 20px; }.mac-battery path { fill: #fff; stroke: none; }
.mac-volume-cross, .mac-is-muted .mac-volume-waves { display: none; }.mac-is-muted .mac-volume-cross { display: block; }
.mac-desktop-files { position: absolute; z-index: 1; top: 48px; right: 15px; display: flex; align-items: center; flex-direction: column; gap: 16px; max-height: 560px; flex-wrap: wrap; }
.mac-desktop-file { display: flex; align-items: center; flex-direction: column; gap: 7px; width: 104px; padding: 4px; border: 0; border-radius: 7px; background: transparent; color: #fff !important; font-size: 12px !important; text-align: center; text-shadow: 0 1px 4px #000a; }
.mac-desktop-file:focus, .mac-desktop-file:hover { background: #215a913a; }
.mac-disk-icon { width: 51px; height: 48px; border: 1px solid #c1c3c7; border-radius: 5px; background: linear-gradient(110deg,#a0a4aa,#f4f4f4 48%,#acb0b7); box-shadow: 0 3px 5px #0003, inset 0 -8px 0 #757b83; }
.mac-disk-icon::after { content: ""; display: block; width: 4px; height: 3px; margin: 40px 0 0 42px; border-radius: 50%; background: #91fa9a; }
.mac-folder-icon { position: relative; display: block; flex: none; width: 62px; height: 46px; margin-top: 8px; isolation: isolate; overflow: visible; border: 1px solid #3c91cc; border-radius: 4px 5px 5px 5px; background: linear-gradient(#6fbfee,#57abe0); box-shadow: 0 3px 3px #0001; }
.mac-folder-icon::before { content: ""; position: absolute; top: -15%; left: -1px; width: 45%; height: 24%; border: 1px solid #479cd3; border-bottom: 0; border-radius: 4px 6px 0 0; background: linear-gradient(#9bdaf8,#6bbbed); z-index: 0; }
.mac-folder-icon::after { content: ""; position: absolute; z-index: 1; inset: 8% -1px -1px; border: 1px solid #4b9ed5; border-radius: 3px 5px 5px 5px; background: linear-gradient(#9edffc,#68bced 65%,#5ab0e7); box-shadow: inset 0 1px 0 #d3f1ff; }
.mac-window { position: absolute; z-index: 10; top: 116px; left: 133px; width: 760px; height: 452px; overflow: hidden; border: 1px solid #0003; border-radius: 11px; background: #fafafa; box-shadow: 0 20px 42px #0005, 0 0 0 1px #ffffff75 inset; }
.mac-window.is-active { box-shadow: 0 25px 55px #0006, 0 0 0 1px #ffffff9c inset; }
.mac-titlebar { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 16px; border-bottom: 1px solid #0000000d; background: linear-gradient(#f8f7f8,#edeced); color: #777; font-size: 13px; font-weight: 600; touch-action: none; }
.is-active > .mac-titlebar { color: #454447; }
.mac-traffic-lights { display: flex; align-items: center; gap: 8px; }
.mac-traffic-lights button { display: grid; width: 12px; height: 12px; place-items: center; padding: 0; overflow: hidden; border: 1px solid #00000012; border-radius: 50%; background: #d1d0d0; color: transparent; font-size: 12px; font-weight: 800; line-height: 10px; }
.is-active .mac-traffic-lights button:nth-child(1) { background: #ff5f57; }.is-active .mac-traffic-lights button:nth-child(2) { background: #febc2e; }.is-active .mac-traffic-lights button:nth-child(3) { background: #28c840; }
.mac-traffic-lights:hover button { color: #0008; }
.mac-titlebar-tools { min-width: 52px; color: #777; font-size: 16px; font-weight: 400; }
.mac-window-content { position: relative; display: flex; height: calc(100% - 48px); min-height: 0; }
.mac-window.is-maximized { top: 29px !important; left: 0 !important; width: 1280px !important; height: 607px !important; border-radius: 0; }
.mac-sidebar { display: flex; flex: none; flex-direction: column; width: 170px; padding: 18px 12px; border-right: 1px solid #0000000d; background: #e8e8eae8; }
.mac-sidebar > strong { margin: 1px 8px 20px; font-size: 20px; }
.mac-sidebar > small { margin: 14px 9px 5px; color: #89868b; font-size: 11px; font-weight: 650; }
.mac-sidebar > small:first-child { margin-top: 0; }
.mac-sidebar > button { display: flex; align-items: center; gap: 10px; min-height: 29px; padding: 5px 10px; border: 0; border-radius: 5px; background: transparent; color: #45434a; font-size: 12px; text-align: left; }
.mac-sidebar > button > span { width: 15px; color: #2c89db; font-size: 17px; }
.mac-sidebar > button.selected { background: #bdbdc347; }.is-active .mac-sidebar > button.selected { background: #bdc0c94d; }
.mac-tags { display: flex; align-items: center; gap: 11px; margin: 5px 12px; color: #666; font-size: 12px; }.mac-tags i { width: 9px; height: 9px; border-radius: 50%; background: #e77765; }.mac-tags.green i { background: #78b982; }
.mac-finder-main { display: flex; flex: 1; flex-direction: column; min-width: 0; background: #fff; }
.mac-finder-toolbar { display: flex; align-items: center; gap: 18px; height: 51px; padding: 0 22px; border-bottom: 1px solid #ecebed; background: #faf9fa; color: #777; }
.mac-finder-toolbar > strong { flex: 1; color: #333; font-size: 17px; }.mac-finder-toolbar > span:first-child { color: #a7a4ab; font-size: 22px; }
.mac-finder-toolbar button { padding: 1px 7px; border: 0; border-radius: 4px; background: #dddce2; color: #68676b; font-size: 20px; }
.mac-file-grid { display: grid; flex: 1; grid-template-columns: repeat(3,1fr); align-content: start; gap: 18px 15px; padding: 27px 25px; overflow: auto; }
.mac-file { display: flex; align-items: center; flex-direction: column; justify-content: start; gap: 10px; min-width: 0; min-height: 103px; padding: 5px; border: 0; border-radius: 6px; background: transparent; font-size: 12px !important; }
.mac-file.selected { background: #dbeaff; }.mac-file > span:last-child { max-width: 100%; padding: 1px 5px; border-radius: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.mac-file.selected > span:last-child { background: #3479dd; color: #fff; }
.mac-file-icon { position: relative; display: grid; width: 42px; height: 54px; place-items: end center; padding: 0 0 9px; border: 1px solid #d3d1d7; border-radius: 3px; background: linear-gradient(130deg,#fff,#f6f6f9); box-shadow: 0 2px 3px #0001; color: #fff; }
.mac-file-icon::before { content: ""; position: absolute; top: 8px; left: 8px; right: 8px; height: 17px; background: repeating-linear-gradient(#dadce2 0 1px,transparent 1px 5px); }
.mac-file-icon b { display: block; padding: 1px 5px; border-radius: 2px; background: #d65b53; font-size: 8px; }.mac-file-icon.key b { background: #4194d1; }.mac-file-icon.fig b { background: #7363a4; }
.mac-file-grid.is-list { display: flex; flex-direction: column; gap: 0; padding: 12px; }.is-list .mac-file { flex-direction: row; gap: 18px; min-height: 38px; padding: 7px 15px; }.is-list .mac-file:nth-child(even) { background: #f4f4f4; }.is-list .mac-folder-icon { width: 28px; height: 20px; margin-top: 0; }.is-list .mac-file-icon { width: 19px; height: 24px; padding: 0; }.is-list .mac-file-icon b, .is-list .mac-file-icon::before { display: none; }
.mac-finder-footer { display: flex; flex-direction: column; gap: 5px; padding: 7px 15px; border-top: 1px solid #e8e7e9; background: #f5f5f6; color: #8d8b90; font-size: 10px; }.mac-finder-footer > span:last-child { text-align: center; }
.mac-empty { grid-column: 1/-1; align-self: center; color: #aaa; text-align: center; }
.mac-notes-window { top: 95px; left: 570px; width: 620px; height: 420px; }
.mac-notes-list { display: block; flex: none; width: 180px; padding: 12px 9px; border-right: 1px solid #dedbd5; background: #f5f2eb; }
.mac-notes-list > div { display: flex; justify-content: space-between; padding: 0 7px 15px; font-size: 12px; font-weight: 600; }.mac-notes-list button { display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 12px 10px; border: 0; border-radius: 6px; background: transparent; text-align: left; }.mac-notes-list button.selected { background: #efcc65a6; }.mac-notes-list strong { font-size: 12px; }.mac-notes-list span { overflow: hidden; color: #827a6c; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.mac-note { flex: 1; min-width: 0; padding: 11px 24px; background: #fffdfa; }.mac-note-tools { display: flex; justify-content: space-between; margin-bottom: 12px; color: #a29472; font-size: 18px; }.mac-note > time { display: block; margin: 0 0 17px; color: #aaa49a; font-size: 10px; text-align: center; }.mac-note h2 { margin: 0 0 17px; font-size: 20px; font-weight: 700; letter-spacing: -.4px; }.mac-note p { margin: 12px 0; font-size: 13px; line-height: 1.85; }.mac-note [contenteditable] { min-height: 190px; outline: none; user-select: text; -webkit-user-select: text; }
.mac-chat-window { top: 92px; left: 230px; width: 790px; height: 490px; }.mac-chat-sidebar { flex: none; width: 220px; background: #e9e9e9; border-right: 1px solid #d6d6d6; }.mac-chat-search { margin: 16px 14px; padding: 6px 9px; border-radius: 4px; background: #d8d8d8; color: #969696; font-size: 12px; }
.mac-chat-sidebar button { display: flex; align-items: center; gap: 9px; position: relative; width: 100%; padding: 13px 12px; border: 0; background: transparent; text-align: left; }.mac-chat-sidebar button.selected { background: #cecece; }.mac-chat-sidebar button > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 5px; min-width: 0; }.mac-chat-sidebar strong { font-size: 12px; font-weight: 500; }.mac-chat-sidebar small { overflow: hidden; color: #999; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.mac-chat-sidebar time { position: absolute; top: 14px; right: 12px; color: #aaa; font-size: 9px; }
.mac-avatar { display: grid; flex: none; width: 34px; height: 34px; place-items: center; border-radius: 5px; background: #72a89a; color: #fff; font-size: 15px; }.avatar-1 { background: #6ba8d2; }.avatar-2 { background: #bf9e72; }
.mac-conversation { display: flex; flex: 1; flex-direction: column; min-width: 0; background: #f5f5f5; }.mac-conversation > header { display: flex; justify-content: space-between; height: 45px; padding: 12px 22px; border-bottom: 1px solid #e5e5e5; font-size: 14px; font-weight: 500; }.mac-chat-history { flex: 1; min-height: 0; overflow: auto; padding: 16px 20px; }.mac-chat-history > time { display: block; color: #aaa; font-size: 10px; text-align: center; }.mac-message { display: flex; align-items: start; gap: 10px; margin: 18px 0; }.mac-message p { position: relative; max-width: 78%; margin: 0; padding: 9px 12px; border: 1px solid #e8e8e8; border-radius: 4px; background: #fff; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }.mac-message.self { justify-content: end; }.mac-message.self p { border-color: #9cdd6f; background: #a9e97a; }
.mac-chat-compose { position: relative; height: 106px; padding: 8px 18px; border-top: 1px solid #ddd; background: #fff; }.mac-chat-compose > div { margin-bottom: 5px; color: #777; font-size: 17px; }.mac-chat-compose textarea { width: 100%; height: 39px; padding: 0; resize: none; border: 0; outline: none; background: transparent; font-size: 12px; user-select: text; -webkit-user-select: text; }.mac-chat-compose button { position: absolute; bottom: 8px; right: 16px; padding: 3px 16px; border: 1px solid #ddd; border-radius: 4px; background: #f5f5f5; color: #1d9b38; font-size: 11px; }
.mac-music-window { top: 93px; left: 170px; width: 870px; height: 488px; }.mac-music-main { display: flex; flex: 1; flex-direction: column; min-width: 0; background: #fff; }.mac-music-sidebar { background: #eeecec; }.mac-music-player { display: flex; align-items: center; gap: 12px; height: 55px; padding: 8px 19px; border-bottom: 1px solid #e4e3e5; background: #f9f9fa; }.mac-music-player > button, .mac-control-music > button { display: grid; width: 28px; height: 28px; place-items: center; padding: 0; border: 0; background: transparent; color: #62616a; }.mac-music-player .mac-play-button svg { width: 25px; height: 25px; }.mac-music-player > span { flex: 1; overflow: hidden; color: #65646a; font-size: 12px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }.mac-music-player > input { width: 90px; }
.mac-pause-shape, .mac-is-playing .mac-play-shape { display: none; }.mac-is-playing .mac-pause-shape { display: block; }.mac-play-shape { fill: currentColor; stroke: none; }.mac-pause-shape { stroke-width: 5px; }.mac-album-heading { display: flex; align-items: center; gap: 28px; padding: 26px 30px 20px; }.mac-album-art { position: relative; width: 132px; height: 132px; flex: none; overflow: hidden; border-radius: 5px; background: linear-gradient(145deg,#172329,#606f6a 40%,#d1a68c 65%,#351916); box-shadow: 0 6px 12px #0003; }.mac-album-art::before { content: "ONE OK ROCK"; position: absolute; z-index: 1; top: 13px; left: 0; width: 100%; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-align: center; }.mac-album-art::after { content: ""; position: absolute; inset: 36% -10% -25%; transform: rotate(-18deg); background: repeating-linear-gradient(115deg,#18181b 0 7px,#b17a6144 8px 15px); }.mac-album-art > span { position: absolute; z-index: 1; right: 10px; bottom: 12px; color: #fff; font-size: 19px; }.mac-album-heading h2 { margin: 6px 0 1px; color: #35343a; font-size: 27px; font-weight: 700; }.mac-album-heading p { margin: 0 0 9px; color: #d94d65; font-size: 14px; }.mac-album-heading small, .mac-album-heading div > span { color: #a4a0a3; font-size: 11px; }
.mac-song-list { margin: 0 30px; }.mac-song-list button { display: flex; align-items: center; gap: 15px; width: 100%; padding: 10px 12px; border: 0; border-bottom: 1px solid #eceaed; border-radius: 4px; background: #fff; font-size: 11px; text-align: left; }.mac-song-list button.selected { background: #f3e7e9; color: #d74a61; }.mac-song-list button > strong { flex: 1; font-weight: 500; }.mac-song-list button > span { color: #9e999e; }.mac-song-list button > time { margin-left: 22px; color: #9e999e; }.mac-music-footer { display: flex; align-items: center; gap: 14px; margin-top: auto; padding: 11px 30px; color: #a49ca3; font-size: 10px; }.mac-music-footer input { flex: 1; accent-color: #e65872; }
.mac-tasks { flex: 1; padding: 25px 35px; background: #fff; }.mac-tasks > small { color: #8f92a0; font-size: 11px; }.mac-tasks h2 { margin: 8px 0; font-size: 23px; font-weight: 650; }.mac-tasks > p { margin: 0 0 26px; color: #9d9da8; font-size: 12px; }.mac-tasks h3 { margin: 0 0 13px; font-size: 13px; }.mac-tasks h3 span { padding-left: 5px; color: #aaa; }.mac-tasks label { display: flex; align-items: center; gap: 10px; padding: 13px 3px; border-bottom: 1px solid #eee; }.mac-tasks input { accent-color: #4277ea; }.mac-tasks label span { flex: 1; font-size: 12px; }.mac-tasks input:checked + span { color: #aaa; text-decoration: line-through; }.mac-tasks label small { color: #9a9da7; font-size: 10px; }.mac-meeting { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 12px 17px; border-radius: 7px; background: #f3f5fa; }.mac-meeting > span { color: #6379be; font-size: 25px; }.mac-meeting strong { font-size: 12px; }.mac-meeting p { margin: 3px 0 0; color: #9a9da7; font-size: 10px; }
.mac-settings-window { top: 70px; left: 310px; width: 650px; height: 530px; }.mac-settings-user { display: flex; align-items: center; gap: 8px; margin-bottom: 25px; }.mac-settings-user > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: #9995b6; color: #fff; font-size: 19px; }.mac-settings-user strong { font-size: 12px; }.mac-settings-user small { display: block; margin-top: 3px; color: #888; font-size: 10px; font-weight: 400; }.mac-settings-main { flex: 1; padding: 19px 24px; background: #f3f2f7; }.mac-settings-main > h2 { margin: 0 0 18px; font-size: 18px; }.mac-display-preview { position: relative; width: 176px; height: 105px; margin: 0 auto; border: 6px solid #222; border-bottom-width: 11px; border-radius: 6px; overflow: hidden; }.mac-settings-main > h3 { margin: 10px 0 20px; font-size: 12px; text-align: center; font-weight: 500; }.mac-settings-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 47px; padding: 10px 13px; border: 1px solid #e7e5eb; border-bottom: 0; background: #fff9; }.mac-settings-row:last-child { border-bottom: 1px solid #e7e5eb; border-radius: 0 0 6px 6px; }.mac-settings-row > span { font-size: 12px; }.mac-settings-row input { width: 180px; }.mac-switch { position: relative; width: 28px; height: 17px; padding: 0; border: 0; border-radius: 20px; background: #c7c7cd; }.mac-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px #0003; }.mac-switch.active { background: #287cf3; }.mac-switch.active::after { left: 13px; }
.mac-remote { flex: 1; padding: 22px 35px; background: #f6f7fb; }.mac-remote > span { display: block; width: 52px; height: 52px; }.mac-remote > span > img { width: 100%; height: 100%; border-radius: 12px; }.mac-remote h2 { font-size: 23px; }.mac-remote > p { color: #92939f; }.mac-remote > div { display: flex; align-items: center; gap: 22px; margin-top: 30px; padding: 22px; border: 1px solid #e2e4ee; border-radius: 12px; background: #fff; }.mac-device-laptop { color: #87a5d3; font-size: 42px; }.mac-remote strong { flex: 1; font-size: 14px; }.mac-remote small { display: block; margin-top: 8px; color: #888; font-size: 11px; font-weight: 400; }.mac-remote button { padding: 7px 22px; border: 0; border-radius: 6px; background: #357aec; color: #fff; }
.mac-about { width: 100%; padding: 28px; text-align: center; }.mac-about-computer { display: block; color: #aaa9b0; font-size: 76px; line-height: 1.1; }.mac-about h2 { margin: 15px 0 7px; font-size: 25px; }.mac-about > strong { color: #555; font-size: 12px; font-weight: 500; }.mac-about p { margin-top: 25px; color: #888; font-size: 12px; line-height: 1.8; }
.mac-dock { position: absolute; z-index: 700; bottom: 10px; left: 50%; display: flex; align-items: center; gap: 12px; height: 80px; padding: 7px 12px 12px; transform: translateX(-50%); border: 1px solid #ffffff65; border-radius: 20px; background: #e0d5c443; box-shadow: 0 8px 22px #0004, inset 0 0 0 1px #ffffff18; backdrop-filter: blur(25px) saturate(1.6); }
.mac-dock > button { position: relative; display: flex; align-items: center; justify-content: center; width: 54px; height: 58px; padding: 0; border: 0; border-radius: 12px; background: transparent; transition: transform .16s; }
.mac-dock > button:hover { transform: translateY(-7px) scale(1.12); }.mac-dock > button > img { width: 52px; height: 52px; border-radius: 12px; filter: drop-shadow(0 2px 2px #0004); }.mac-dock > button > i { position: absolute; bottom: -7px; left: calc(50% - 2px); display: none; width: 4px; height: 4px; border-radius: 50%; background: #2c2a2c; }.mac-dock > button.is-running > i { display: block; }
.mac-dock-tooltip { position: absolute; bottom: 76px; left: 50%; display: none; padding: 4px 12px; transform: translateX(-50%); border: 1px solid #ffffff70; border-radius: 5px; background: #eee9e9f2; color: #333; font-size: 12px; white-space: nowrap; }.mac-dock button:hover .mac-dock-tooltip { display: block; }.mac-dock-divider { width: 1px; height: 46px; margin: 0 1px; background: #ffffff59; }
.mac-finder-icon { position: relative; display: block; width: 52px; height: 52px; overflow: hidden; border-radius: 12px; background: linear-gradient(90deg,#2a92f4 50%,#d1ebff 50%); box-shadow: inset 0 1px 2px #fff8, 0 2px 3px #0003; }.mac-finder-icon::before { content: ""; position: absolute; left: 13px; top: 14px; width: 3px; height: 7px; border-radius: 1px; background: #143755; box-shadow: 23px 0 #143755; }.mac-finder-icon::after { content: ""; position: absolute; left: 11px; top: 24px; width: 31px; height: 14px; border-bottom: 2px solid #143755; border-radius: 50%; }.mac-finder-icon i { position: absolute; top: 1px; left: 22px; width: 8px; height: 36px; border-left: 1px solid #2777bd; border-bottom: 1px solid #2777bd; transform: skew(-9deg); }
.mac-settings-icon { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid #c0c3c9; border-radius: 12px; background: linear-gradient(#d4d8de,#9ea5b0); color: #525d6e; font-size: 45px; line-height: 1; text-shadow: 0 1px #fff; box-shadow: 0 2px 4px #0003; }.mac-trash-icon { display: grid; width: 40px; height: 49px; place-items: center; border: 2px solid #d9dde1; border-radius: 3px 3px 8px 8px; background: linear-gradient(90deg,#a8b4b987,#eef2f589,#9ca8afaa); color: #e9eef1; font-size: 32px; box-shadow: 0 3px 4px #0003; }
.mac-native-menu { position: absolute; z-index: 950; top: 32px; min-width: 225px; padding: 5px; border: 1px solid #ffffff8c; border-radius: 7px; background: #f0f0f0e8; box-shadow: 0 8px 30px #0004; backdrop-filter: blur(24px); }.mac-native-menu > button { display: block; width: 100%; padding: 5px 12px; border: 0; border-radius: 4px; background: transparent; font-size: 13px; text-align: left; }.mac-native-menu > button:hover { background: #287be8; color: #fff; }
.mac-control-center { position: absolute; z-index: 900; top: 37px; right: 16px; width: 318px; padding: 12px; border: 1px solid #fff8; border-radius: 15px; background: #dddde1ca; box-shadow: 0 13px 38px #0004; backdrop-filter: blur(30px) saturate(1.8); }.mac-connectivity { display: flex; flex-wrap: wrap; gap: 14px 12px; padding: 13px; border-radius: 10px; background: #f8f8fb98; box-shadow: 0 1px 3px #0001; }.mac-connectivity > div { display: flex; align-items: center; gap: 9px; min-width: 115px; }.mac-connectivity b { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #2987f4; color: #fff; font-size: 20px; }.mac-connectivity strong { display: block; font-size: 12px; }.mac-connectivity small { display: block; color: #999; font-size: 10px; }.mac-control-slider { margin-top: 10px; padding: 9px 13px; border-radius: 10px; background: #f8f8fb98; }.mac-control-slider > strong { display: block; margin: 0 0 6px; font-size: 12px; }.mac-control-slider > label { display: flex; align-items: center; gap: 9px; color: #777; }.mac-control-slider input { flex: 1; width: 100%; }.mac-control-music { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #f8f8fb98; }.mac-mini-album { display: grid; flex: none; width: 38px; height: 38px; place-items: center; border-radius: 6px; background: linear-gradient(135deg,#426786,#c9a9a7); color: #fff; font-size: 22px; }.mac-control-music > span:nth-child(2) { flex: 1; min-width: 0; }.mac-control-music strong { display: block; overflow: hidden; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }.mac-control-music small { display: block; color: #8e8e93; font-size: 10px; }
.mac-stage input[type="range"] { height: 18px; margin: 0; accent-color: #4387e9; cursor: default; }
.mac-spotlight { position: absolute; z-index: 1000; top: 115px; left: 340px; width: 600px; overflow: hidden; border: 1px solid #fff9; border-radius: 13px; background: #eeecf0ed; box-shadow: 0 20px 60px #0005; backdrop-filter: blur(30px); }.mac-spotlight > label { display: flex; align-items: center; gap: 15px; padding: 13px 20px; font-size: 32px; color: #777; }.mac-spotlight input { flex: 1; min-width: 0; padding: 5px 0; border: 0; outline: 0; background: transparent; color: #333; font-size: 23px; }.mac-search-results { max-height: 340px; overflow-y: auto; padding: 5px 9px 9px; }.mac-search-results button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 11px; border: 0; border-radius: 5px; background: transparent; font-size: 13px; text-align: left; }.mac-search-results button:hover { background: #397ee6; color: #fff; }.mac-search-results button > img, .mac-search-results button > .mac-finder-icon, .mac-search-results button > .mac-settings-icon { width: 27px; height: 27px; border-radius: 6px; font-size: 23px; }.mac-search-results button > small { margin-left: auto; color: #97959d; font-size: 10px; }
.mac-capture-flash { position: absolute; z-index: 1200; inset: 0; opacity: 0; pointer-events: none; background: #fff; }.mac-capture-thumbnail { position: absolute; z-index: 1100; right: 22px; bottom: 105px; width: 180px; height: 102px; padding: 0; overflow: hidden; border: 3px solid #fff; border-radius: 6px; background: #fff; box-shadow: 0 8px 25px #0006; }.mac-snapshot-view { position: relative; overflow: hidden; transform-origin: top left; pointer-events: none; }.mac-capture-thumbnail .mac-snapshot { transform: none; pointer-events: none; }.mac-snapshot { pointer-events: none; user-select: none; }.mac-image-file { display: grid; width: 55px; height: 42px; place-items: center; border: 2px solid #fff; border-radius: 3px; background: linear-gradient(135deg,#367c9b,#d69a63); box-shadow: 0 2px 4px #0005; }.mac-image-file svg { width: 40px; height: 32px; color: #fff9; }.mac-preview-image { position: relative; width: 100%; height: 100%; overflow: hidden; background: #373737; }.mac-preview-image > .mac-snapshot-view { margin: 10px 15px; }.mac-preview-image .mac-snapshot { transform: none; }
.mac-crop-overlay { position: absolute; z-index: 1150; inset: 29px 0 0; cursor: crosshair; touch-action: none; }.mac-crop-selection { position: absolute; display: block; border: 1px dashed #fff; box-shadow: 0 0 0 1500px #0006; }.mac-crop-selection::before, .mac-crop-selection::after { content: ""; position: absolute; width: 8px; height: 8px; border: 1px solid #333; background: #fff; }.mac-crop-selection::before { top: -4px; left: -4px; }.mac-crop-selection::after { right: -4px; bottom: -4px; }.mac-crop-tools { position: absolute; bottom: 90px; left: 50%; padding: 10px 20px; transform: translateX(-50%); border: 1px solid #fff4; border-radius: 8px; background: #282828e6; color: #eee; font-size: 12px; }
.mac-lock-screen { position: absolute; z-index: 1500; inset: 0; display: flex; align-items: center; flex-direction: column; padding-top: 95px; background: #09283a55; backdrop-filter: blur(18px); color: #fff; }.mac-lock-screen > time { margin-bottom: 185px; color: #fff9; font-size: 90px; font-weight: 650; letter-spacing: -4px; }.mac-lock-screen > span { display: grid; width: 50px; height: 50px; place-items: center; margin-bottom: 9px; border-radius: 50%; background: #afa6cc; font-size: 24px; }.mac-lock-screen > strong { font-size: 13px; }.mac-lock-screen > button { margin-top: 13px; padding: 5px 18px; border: 1px solid #fff4; border-radius: 20px; background: #ffffff20; color: #fff; font-size: 11px; }
@media (prefers-reduced-motion: reduce) { .mac-dock > button { transition: none; } }

/* Stable Dock hit areas; only the artwork magnifies, like the system Dock. */
.mac-dock { --dock-icon-size: 54px; gap: 10px; height: calc(var(--dock-icon-size) + 26px); padding: 5px 12px 13px; background: #ddd8d257; border-color: #ffffff80; box-shadow: 0 8px 24px #0004, inset 0 0 0 1px #ffffff18; }
.mac-dock > button { flex: none; width: var(--dock-icon-size); height: calc(var(--dock-icon-size) + 4px); border-radius: 0; transition: none; }
.mac-dock > button:hover { transform: none; }
.mac-app-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: var(--dock-icon-size, 54px); height: var(--dock-icon-size, 54px); transform-origin: 50% 100%; transition: transform .18s cubic-bezier(.2,.7,.3,1); pointer-events: none; }
.mac-app-icon > img { display: block; flex: none; width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--dock-icon-size, 54px) * .225); filter: drop-shadow(0 2px 2px #0003); }
.mac-app-icon.mac-icon-system > img { width: 123.08%; height: 123.08%; object-fit: contain; border-radius: 0; filter: none; }
.mac-dock > button:hover > .mac-app-icon { transform: translateY(-7px) scale(1.2); }
.mac-dock > button:has(+ button:hover) > .mac-app-icon, .mac-dock > button:hover + button > .mac-app-icon { transform: translateY(-3px) scale(1.08); }
.mac-dock > button > i { bottom: -8px; width: 4px; height: 4px; background: #252525ce; }
.mac-dock-divider { height: calc(var(--dock-icon-size) - 3px); margin: 0 3px; background: #ffffff65; }
.mac-dock-tooltip { bottom: calc(var(--dock-icon-size) + 22px); padding: 5px 12px; border-color: #eee9; background: #ece9e9ed; box-shadow: 0 3px 10px #0002; backdrop-filter: blur(15px); }
.mac-dock-minimized { display: flex; align-items: end !important; padding-bottom: 4px !important; }
.mac-dock-window-thumbnail { position: relative; display: block; flex: none; width: 52px; height: 36px; overflow: hidden; border: 1px solid #fff8; border-radius: 3px; background: #f0f0f0; box-shadow: 0 2px 4px #0004; pointer-events: none; }
.mac-dock-window-thumbnail .mac-window { border-radius: 5px; }
.mac-dock-window-badge { position: absolute; z-index: 1; right: -3px; bottom: -1px; --dock-icon-size: 19px; pointer-events: none; }
.mac-window { transform-origin: 0 0; }
.mac-window[data-mode="closing"], .mac-window[data-mode="minimizing"] { pointer-events: none; }
.mac-titlebar-tools { display: inline-flex; align-items: center; justify-content: end; gap: 15px; color: #78767e; }
.mac-titlebar-tools > svg { width: 17px; height: 17px; stroke-width: 1.65; }
.mac-traffic-lights > button > svg { width: 8px; height: 8px; opacity: 0; stroke-width: 2.3; }
.mac-traffic-lights:hover > button > svg { opacity: 1; }
.mac-window:not(.is-active) .mac-traffic-lights:hover button:nth-child(1) { background: #ff5f57; }
.mac-window:not(.is-active) .mac-traffic-lights:hover button:nth-child(2) { background: #febc2e; }
.mac-window:not(.is-active) .mac-traffic-lights:hover button:nth-child(3) { background: #28c840; }
.mac-toolbar-navigation { display: inline-flex; gap: 18px; }
.mac-toolbar-navigation svg { width: 17px; height: 17px; stroke-width: 2; }
.mac-finder-toolbar button { display: grid; width: 31px; height: 25px; place-items: center; background: #e6e4e9; }
.mac-finder-toolbar button > svg, .mac-finder-toolbar > span > svg { width: 17px; height: 17px; }
.mac-sidebar > button { gap: 8px; }
.mac-sidebar > button > span:first-child { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 16px; }
.mac-sidebar > button > span > svg { width: 15px; height: 15px; stroke-width: 1.65; }
.mac-sidebar > button > .mac-sidebar-label { width: auto; color: inherit; font-size: 12px; }
.mac-music-sidebar > button > span:first-child { color: #d25570; }
.mac-settings-window .mac-sidebar > button > span:first-child { width: 21px; height: 21px; border-radius: 5px; background: #4796f2; color: #fff; }
.mac-settings-window .mac-sidebar > button[data-sidebar-name="外观"] > span:first-child { background: #797c85; }
.mac-settings-window .mac-sidebar > button[data-sidebar-name="显示器"] > span:first-child { background: #7772d8; }
.mac-settings-window .mac-sidebar > button[data-sidebar-name="声音"] > span:first-child { background: #e45c69; }
.mac-note-tools > span { display: inline-flex; gap: 16px; }
.mac-note-tools svg { width: 17px; height: 17px; stroke-width: 1.6; }
.mac-chat-search { display: flex; align-items: center; gap: 6px; }
.mac-chat-search svg { width: 14px; height: 14px; stroke-width: 1.8; }
.mac-spotlight > label > svg { flex: none; width: 28px; height: 28px; stroke-width: 1.4; }
.mac-window.is-maximized { height: 600px !important; }
@media (prefers-reduced-motion: reduce) { .mac-app-icon { transition: none; } }
.mac-display-preview .mac-wallpaper { z-index: 0; }
.mac-dock-window-thumbnail { width: var(--dock-icon-size); height: calc(var(--dock-icon-size) * .69); }
.mac-search-results .mac-app-icon { --dock-icon-size: 27px; }
.mac-native-menu > button { display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.mac-native-menu kbd { color: #8d8b92; font: inherit; font-size: 12px; }
.mac-native-menu > button:hover kbd { color: #ffffffbd; }
.mac-native-menu hr { height: 1px; margin: 5px 8px; border: 0; background: #00000018; }
/* Scale layout as well as pixels, so focusing a control never scrolls the
   oversized logical desktop or moves the surrounding scroll scene. */
.desktop-screen { overflow: clip; }
.mac-stage { overflow: clip; }
@supports (zoom: 1) {
  .mac-stage { transform: none; zoom: var(--mac-scale, .6); }
}
