/* ---------- Made for Mac: Apple's apps, one by one (js/macapps.js) ----------
   On the left, the apps and what Pip does with each, staying put. On the right, each app's
   card rises from below as the page scrolls: what was asked (a message bubble), the app
   doing it (a real-looking macOS window), and Pip's answer in a speech bubble. */

.macapps .head{ margin-bottom: 36px; }
.macapps .kicker-apple{ width: 0.78em; height: 0.92em; margin: 0 0.18em 0 0.06em; vertical-align: -0.06em; }

/* The carousel, as Apple's pages have it: tall cards in a row running off the right edge, each a
   picture of the app at work (on the demo Macs' wallpaper) with a line under it; below, the dots
   (the one on show a bar that fills while it plays), play/pause and the arrows. */
.mcr{ position: relative; }
.mcr-track{
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding: 6px max(24px, calc((100vw - 1160px) / 2)) 10px; margin: 0 calc(-1 * max(24px, calc((100vw - 1160px) / 2)));
  outline: none;
}
.mcr-track::-webkit-scrollbar{ display: none; }
.mcr-card{ flex: none; width: 420px; margin: 0; scroll-snap-align: start; }
.mcr-media{
  position: relative; height: 520px; border-radius: 28px; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 0 24px;
  background: #5a6a8c url("../assets/wallpaper/saam-cascade-mountains.jpg") var(--wp, 50% 40%) / cover no-repeat;
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.mcr-card:nth-child(4n + 2) .mcr-media{ --wp: 15% 75%; }
.mcr-card:nth-child(4n + 3) .mcr-media{ --wp: 85% 20%; }
.mcr-card:nth-child(4n) .mcr-media{ --wp: 70% 90%; }
.mcr-media .mc{ width: 100%; }
.mcr .m-map{ height: 230px; }
.mcr .m-route{ width: 186px; }
.mcr-card figcaption{ display: flex; gap: 12px; align-items: flex-start; padding: 18px 6px 0; }
.mcr-card figcaption img{ width: 30px; height: 30px; flex: none; margin-top: 1px; }
.mcr-card figcaption p{ margin: 0; font-size: 15.5px; line-height: 1.45; color: var(--text-2); }
.mcr-card figcaption b{ color: var(--text); font-weight: 600; }
/* The card not on show is a touch quieter. */
.mcr-card{ transition: opacity 0.5s var(--ease); }
.mcr-card:not(.on){ opacity: 0.45; }
.mcr-card:not(.on):hover{ opacity: 0.75; }
/* Scrolling moves it: the section is tall, the carousel stays on screen and its cards slide
   sideways as the page goes down; the card whose turn it is sits in the middle, full size, the
   ones either side a step back. Phones swipe, the card centred. */
.mcr-scroll{ position: relative; }
.mcr-sticky{ position: sticky; top: max(16px, calc(50vh - 350px)); }
.mcr.pinned .mcr-track{ overflow: visible; scroll-snap-type: none; scroll-behavior: auto; transform: translate3d(var(--x, 0px), 0, 0); will-change: transform; }
.mcr.pinned .mcr-card{ transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); transform: scale(0.92); }
.mcr.pinned .mcr-card.on{ transform: none; }
.mcr.pinned .mcr-card figcaption{ transition: opacity 0.4s var(--ease); }
.mcr.pinned .mcr-card:not(.on) figcaption{ opacity: 0; }
.mcr-card{ scroll-snap-align: center; }

.mcr-controls{ display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 30px; position: relative; }
.mcr-pill{ display: flex; align-items: center; gap: 4px; height: 44px; padding: 0 22px; border-radius: 26px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.mcr-dots{ display: flex; align-items: center; gap: 10px; }
.mcr-dots button{ position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, 0.35); cursor: pointer; overflow: hidden;
  transition: width 0.45s var(--ease), background 0.3s; }
.mcr-dots button:hover{ background: rgba(255, 255, 255, 0.6); }
.mcr-dots button.on{ width: 44px; background: rgba(255, 255, 255, 0.28); }
.mcr-dots button i{ position: absolute; inset: 0; width: 0; background: #fff; border-radius: inherit; }
.mcr-dots button.on i{ width: 100%; }
.mcr-arrows{ position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; gap: 12px; }
.mcr-arrows button{ display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.14); color: #fff; transition: background 0.2s; }
.mcr-arrows button:hover{ background: rgba(255, 255, 255, 0.24); }
.mcr-arrows button{ width: 44px; height: 44px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.mcr-arrows svg{ width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mcr-arrows button:disabled{ opacity: 0.35; cursor: default; }

.mc{ position: relative; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--font); color: #fff; font-size: 13px; }

/* What was asked: the notch's own field, black, the user's own avatar beside the words,
   floating over the card's top edge. */
.mc-ask{
  position: relative; z-index: 2; display: flex; align-items: center; gap: 9px; width: fit-content; max-width: 92%; margin: 0 auto -16px;
  padding: 7px 16px 7px 8px; border-radius: 999px; background: #000; color: #fff; font-size: 14px; font-weight: 500; line-height: 1.25;
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.14), 0 10px 24px rgba(10, 4, 30, 0.35);
}
/* Pip's answer: a notice from the notch, black glass with a hairline, its name above the words,
   resting on the card's lower left. */
.mc-say{
  position: relative; z-index: 2; display: flex; align-items: flex-start; gap: 11px; width: fit-content; max-width: 86%; margin: -12px 0 0 18px;
  padding: 11px 16px 12px 11px; border-radius: 18px; background: rgba(12, 12, 14, 0.9); color: #fff;
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.16), inset 0 0.5px 0 rgba(255, 255, 255, 0.1), 0 12px 28px rgba(10, 4, 30, 0.4);
}
.mc-me{ flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; overflow: hidden;
  background: linear-gradient(180deg, #a1a1a6, #7c7c80); }
.mc-me svg{ width: 24px; height: 24px; margin-top: 4px; fill: #e9e9ec; }
.mc-me path{ fill: #e9e9ec; }
.mc-pip{ flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 3.5px; width: 24px; height: 24px; border-radius: 50%; background: #fff; }
.mc-say .mc-pip{ width: 28px; height: 28px; gap: 4px; margin-top: 1px; }
.mc-pip b{ width: 3px; height: 7px; border-radius: 2px; background: #111; animation: mc-blink 5s infinite; }
.mc-say .mc-pip b{ width: 3.4px; height: 8px; }
@keyframes mc-blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.12); } }
.mc-say p{ margin: 0; display: grid; gap: 2px; font-size: 14px; line-height: 1.38; font-weight: 500; color: rgba(255, 255, 255, 0.94); }
.mc-say small{ font-size: 11px; font-weight: 600; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.5); }
/* Pip's line rides with its card (a quick scroll still shows it), and pops as the card lands. */
@keyframes mc-pop { 0% { transform: scale(0.94); } 100% { transform: none; } }

/* ---- A macOS window: dark material, the hairline rim, the traffic lights. ---- */
.mcr .mw{ overflow: hidden; border-radius: 14px; background: #1e1e20; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.18), inset 0 0.5px 0 rgba(255, 255, 255, 0.12), 0 18px 40px rgba(10, 4, 30, 0.35), 0 2px 6px rgba(0, 0, 0, 0.2); }
.mcr .mw-bar{ position: relative; display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px; background: #2a2a2d; border-bottom: 1px solid rgba(0, 0, 0, 0.45); }
.mcr .mw-bar > b{ font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.86); }
.mcr .lights{ display: flex; gap: 7px; margin-right: 4px; }
.mcr .lights i{ width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.25); }
.mcr .lights i:nth-child(2){ background: #febc2e; }
.mcr .lights i:nth-child(3){ background: #28c840; }
.mcr .mw-tools{ margin-left: auto; display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.7); }
.mcr .mw-tools svg, .mcr .mw-icons svg{ width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mcr .mw-icons{ display: flex; gap: 14px; }
.mcr .mw-note{ font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.mcr .mw-field{ display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 7px; background: rgba(255, 255, 255, 0.09); font-size: 12px; color: rgba(255, 255, 255, 0.85); }
.mcr .mw-field svg{ width: 13px; height: 13px; }
.mcr .mw-seg{ display: flex; padding: 2px; border-radius: 7px; background: rgba(255, 255, 255, 0.08); font-size: 11.5px; }
.mcr .mw-seg i{ font-style: normal; padding: 2px 9px; border-radius: 5px; color: rgba(255, 255, 255, 0.75); }
.mcr .mw-seg i.on{ background: rgba(255, 255, 255, 0.2); color: #fff; }
.mcr .mw-back svg{ width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

/* macOS push buttons: grey, or the blue default. */
.mcr .mac-btn{ display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 12px; border-radius: 7px; font-style: normal; font-size: 13px; font-weight: 500;
  background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.15), 0 0.5px 1px rgba(0, 0, 0, 0.4); }
.mcr .mac-btn.blue{ background: linear-gradient(180deg, #2f94ff, #0a7cf0); }
.mcr .mac-btn svg{ width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Maps: the real map and route, the route card over it. */
.mcr .m-map{ position: relative; height: 290px; }
.mcr .m-map > img{ width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.mcr .m-route{ position: absolute; left: 10px; top: 10px; width: 196px; border-radius: 14px; background: rgba(36, 36, 40, 0.86);
  backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.15), 0 10px 26px rgba(0, 0, 0, 0.4); }
.mcr .m-route-head{ display: flex; gap: 10px; align-items: center; padding: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.mcr .m-route-head img{ width: 30px; height: 30px; }
.mcr .m-route-head div{ display: grid; gap: 1px; }
.mcr .m-route-head b{ font-size: 14px; }
.mcr .m-route-head span, .mcr .m-route-eta span{ font-size: 11.5px; color: rgba(255, 255, 255, 0.6); }
.mcr .m-route-eta{ display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; }
.mcr .m-route-eta div{ display: grid; }
.mcr .m-route-eta b{ font-size: 19px; font-weight: 700; color: #30d158; }
.mcr .m-legal{ position: absolute; right: 10px; bottom: 8px; font-size: 10px; color: rgba(255, 255, 255, 0.55); }

/* Photos: the library's grid, all nine picked. */
.mcr .p-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 2px; background: #1e1e20; }
.mcr .p-grid span{ position: relative; aspect-ratio: 1; overflow: hidden; }
.mcr .p-grid img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.mcr .p-grid span::after{ content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px #0a84ff; opacity: 0; transition: opacity 0.2s; }
.mcr .p-grid i{ position: absolute; right: 6px; bottom: 6px; width: 20px; height: 20px; border-radius: 50%; background: #0a84ff; box-shadow: 0 0 0 1.5px #fff; display: grid; place-items: center;
  opacity: 0; transform: scale(0.5); transition: opacity 0.2s, transform 0.3s cubic-bezier(0.3, 1.5, 0.5, 1); }
.mcr .p-grid i svg{ width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mcr .p-grid span i, .mcr .p-grid span::after{ transition-delay: calc(var(--d, 0) * 1s); }
.mc-photos.in .p-grid span::after, .mc-photos.in .p-grid i{ opacity: 1; transform: none; }
.mcr .p-grid span:nth-child(1){ --d: 0.3; } .mcr .p-grid span:nth-child(2){ --d: 0.36; } .mcr .p-grid span:nth-child(3){ --d: 0.42; }
.mcr .p-grid span:nth-child(4){ --d: 0.48; } .mcr .p-grid span:nth-child(5){ --d: 0.54; } .mcr .p-grid span:nth-child(6){ --d: 0.6; }
.mcr .p-grid span:nth-child(7){ --d: 0.66; } .mcr .p-grid span:nth-child(8){ --d: 0.72; } .mcr .p-grid span:nth-child(9){ --d: 0.78; }

/* Messages: the thread, its real bubbles and the field. */
.mcr .msg-head{ display: grid; justify-items: center; gap: 4px; padding: 12px 0 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.mcr .msg-head img{ width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.mcr .msg-head b{ font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, 0.85); }
.mcr .msg-thread{ display: grid; gap: 4px; padding: 12px 12px 6px; font-size: 13.5px; line-height: 1.32; }
.mcr .msg-thread .when{ justify-self: center; font-size: 10.5px; color: rgba(255, 255, 255, 0.45); margin-bottom: 4px; }
.mcr .msg-thread p{ margin: 0; max-width: 78%; padding: 7px 12px; border-radius: 18px; }
.mcr .msg-thread .in{ justify-self: start; background: #3b3b3d; border-bottom-left-radius: 5px; }
.mcr .msg-thread .out{ justify-self: end; background: #0a84ff; border-bottom-right-radius: 5px; }
.mcr .msg-thread .read{ justify-self: end; font-size: 10.5px; color: rgba(255, 255, 255, 0.45); }
.mcr .msg-field{ display: flex; align-items: center; justify-content: space-between; margin: 6px 12px 12px; height: 28px; padding: 0 10px; border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); color: rgba(255, 255, 255, 0.4); }
.mcr .msg-field svg{ width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }

/* Calendar: a slice of the day, the workshop taken out. */
.mcr .cal-day{ padding: 12px 14px 16px; }
.mcr .cal-head{ display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.mcr .cal-head b{ font-size: 20px; font-weight: 700; }
.mcr .cal-head span{ font-size: 14px; color: #ff453a; font-weight: 600; }
.mcr .cal-grid{ position: relative; display: grid; grid-template-rows: repeat(4, 44px); }
.mcr .cal-grid > span{ font-size: 10.5px; color: rgba(255, 255, 255, 0.45); border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 2px; }
.mcr .cal-ev{ position: absolute; left: 44px; right: 0; display: grid; align-content: start; gap: 1px; padding: 5px 8px; border-radius: 5px; font-size: 12px; }
.mcr .cal-ev i{ font-style: normal; font-size: 11px; opacity: 0.8; }
.mcr .cal-ev.a{ top: 2px; height: 20px; background: rgba(48, 209, 88, 0.28); box-shadow: inset 3px 0 0 #30d158; grid-auto-flow: column; justify-content: start; gap: 8px; padding-top: 3px; }
.mcr .cal-ev.b{ top: 46px; height: 64px; background: rgba(255, 159, 10, 0.3); box-shadow: inset 3px 0 0 #ff9f0a; transition: opacity 0.5s ease 1.3s; }
.mcr .cal-ev.b b{ position: relative; width: fit-content; }
.mcr .cal-ev.b b::after{ content: ""; position: absolute; left: 0; top: 50%; height: 1.5px; width: 0; background: #fff; transition: width 0.45s ease-out 0.8s; }
.mc-calendar.in .cal-ev.b b::after{ width: 100%; }
.mc-calendar.in .cal-ev.b{ opacity: 0.38; }

/* Mail: the message open in the inbox. */
.mcr .mail{ padding: 14px 16px 16px; display: grid; gap: 8px; }
.mcr .mail-from{ display: flex; align-items: center; gap: 10px; }
.mcr .mail-from img{ width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.mcr .mail-from div{ display: grid; flex: 1; }
.mcr .mail-from b{ font-size: 13.5px; }
.mcr .mail-from span, .mcr .mail-from time{ font-size: 11.5px; color: rgba(255, 255, 255, 0.55); }
.mcr .mail-subj{ font-size: 15px; }
.mcr .mail p{ margin: 0; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, 0.82); }
.mcr .mail mark{ color: #fff; background: transparent; box-shadow: inset 0 -0.55em 0 rgba(255, 214, 10, 0); transition: box-shadow 0.5s ease 0.7s; }
.mc-mail.in .mail mark{ box-shadow: inset 0 -0.55em 0 rgba(255, 214, 10, 0.4); }
.mcr .mail-att{ display: flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 10px 6px 6px; border-radius: 8px; background: rgba(255, 255, 255, 0.07); font-size: 11.5px; color: rgba(255, 255, 255, 0.7); }
.mcr .mail-att i{ font-style: normal; font-size: 9px; font-weight: 700; padding: 6px 4px; border-radius: 3px; background: #ff3b30; color: #fff; }

/* Music: the mini player. */
.mcr .np{ display: grid; grid-template-columns: 64px 1fr; gap: 6px 12px; padding: 14px; border-radius: 18px; background: #27211f;
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.16), 0 18px 40px rgba(10, 4, 30, 0.35), 0 2px 6px rgba(0, 0, 0, 0.2); }
.mcr .np > img{ width: 64px; height: 64px; border-radius: 8px; object-fit: cover; grid-row: span 2; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); }
.mcr .np-text{ display: grid; align-self: center; }
.mcr .np-text b{ font-size: 14.5px; }
.mcr .np-text span{ font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.mcr .np-bar{ align-self: end; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.18); overflow: hidden; }
.mcr .np-bar i{ display: block; height: 100%; width: 32%; background: rgba(255, 255, 255, 0.85); border-radius: inherit; }
.mc-music.in .np-bar i{ animation: np-play 60s linear forwards; }
@keyframes np-play { to { width: 70%; } }
.mcr .np-time{ grid-column: 2; display: flex; justify-content: space-between; font-size: 10.5px; color: rgba(255, 255, 255, 0.5); margin-top: -2px; }
.mcr .np-ctl{ grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.mcr .np-ctl > span{ display: flex; align-items: center; gap: 26px; }
.mcr .np-ctl svg{ width: 22px; height: 22px; fill: #fff; }
.mcr .np-ctl svg.big{ width: 30px; height: 30px; }
.mcr .np-ctl svg.sm{ width: 18px; height: 18px; fill: none; stroke: rgba(255, 255, 255, 0.6); stroke-width: 1.6; }
.mcr .np-ctl img{ width: 20px; height: 20px; opacity: 0.9; }

/* Reminders: the Today list, the new one coming in. */
.mcr .rem{ padding: 12px 16px 14px; }
.mcr .rem-title{ display: block; font-size: 24px; font-weight: 700; color: #0a84ff; margin-bottom: 6px; }
.mcr .rem p{ display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-size: 13.5px; }
.mcr .rem p > i{ flex: none; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35); }
.mcr .rem span{ display: grid; }
.mcr .rem small{ font-size: 11.5px; color: #ff453a; }
.mcr .rem .new{ opacity: 0; transform: translateY(8px); transition: opacity 0.45s ease 0.6s, transform 0.5s cubic-bezier(0.2, 1, 0.3, 1) 0.6s; }
.mc-reminders.in .rem .new{ opacity: 1; transform: none; }

/* Contacts: the week's birthdays, with what to do about them. */
.mcr .bd{ padding: 14px 14px 20px; border-radius: 18px; background: #1e1e20; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.16), 0 18px 40px rgba(10, 4, 30, 0.35), 0 2px 6px rgba(0, 0, 0, 0.2); display: grid; gap: 8px; }
.mcr .bd-title{ display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.mcr .bd-title svg{ width: 16px; height: 16px; fill: none; stroke: #ff9f0a; stroke-width: 1.7; stroke-linejoin: round; }
.mcr .bd p{ display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); }
.mcr .bd p img{ width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.mcr .bd p span{ display: grid; flex: 1; font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.mcr .bd p span b{ font-size: 14px; color: #fff; }
.mcr .bd time{ font-size: 12px; font-weight: 600; color: #ff9f0a; }
.mcr .bd-actions{ display: flex; justify-content: flex-end; gap: 8px; margin-top: 2px; }

/* Notes: the note with its checklist, the new line marked in. */
.mcr .note{ padding: 14px 18px 16px; background: #1e1e20; }
.mcr .note > b{ display: block; font-size: 19px; }
.mcr .note-date{ display: block; margin: 2px 0 8px; font-size: 11px; color: rgba(255, 255, 255, 0.45); }
.mcr .note p{ display: flex; align-items: center; gap: 9px; margin: 0; padding: 4px 0; font-size: 14px; }
.mcr .note p i{ width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35); }
.mcr .note p.done{ color: rgba(255, 255, 255, 0.45); }
.mcr .note p.done i{ background: #ffd60a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: none; }
.mcr .note p.new{ width: fit-content; padding-right: 4px; border-radius: 3px; background: linear-gradient(rgba(255, 214, 10, 0.28), rgba(255, 214, 10, 0.28)) no-repeat 28px 0 / 0 100%; transition: background-size 0.5s ease 0.7s; }
.mc-notes.in .note p.new{ background-size: calc(100% - 28px) 100%; }

/* FaceTime: the call going out, as macOS shows it: a solid dark panel, the photo ringing, the
   controls in solid circles and the red end. */
.mcr .ft{ position: relative; display: grid; gap: 22px; padding: 22px 22px 24px; border-radius: 22px; background: #1e1e20;
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.16), 0 18px 40px rgba(10, 4, 30, 0.35), 0 2px 6px rgba(0, 0, 0, 0.2); }
.mcr .ft-top{ display: flex; align-items: center; gap: 14px; }
.mcr .ft-top img{ width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.mc-facetime.in .ft-top img{ animation: ft-ring 1.6s ease-out 0.5s infinite; }
@keyframes ft-ring { 0% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.55); } 100% { box-shadow: 0 0 0 14px rgba(48, 209, 88, 0); } }
.mcr .ft-top div{ display: grid; gap: 2px; }
.mcr .ft-top b{ font-size: 20px; font-weight: 600; }
.mcr .ft-top span{ font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.mcr .ft-ctl{ display: flex; justify-content: center; gap: 22px; }
.mcr .ft-b{ width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #3a3a3c; }
.mcr .ft-b svg{ width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mcr .ft-b.end{ background: #ff3b30; }
.mcr .ft-b.end svg{ fill: #fff; stroke: none; }

/* Shortcuts: the shortcut's tile and its actions ticking off. */
.mcr .sc{ padding: 12px 12px 22px; border-radius: 18px; background: #1e1e20; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.16), 0 18px 40px rgba(10, 4, 30, 0.35), 0 2px 6px rgba(0, 0, 0, 0.2); }
.mcr .sc-tile{ display: grid; gap: 2px; padding: 14px; border-radius: 14px; background: linear-gradient(145deg, #4e4fd8, #8b4fe0 55%, #c64ea8); }
.mcr .sc-tile svg{ width: 26px; height: 26px; fill: #fff; margin-bottom: 18px; }
.mcr .sc-tile b{ font-size: 15px; }
.mcr .sc-tile span{ font-size: 11.5px; color: rgba(255, 255, 255, 0.75); }
.mcr .sc ul{ list-style: none; margin: 10px 4px 2px; padding: 0; display: grid; gap: 7px; font-size: 13px; }
.mcr .sc li{ display: flex; align-items: center; gap: 8px; opacity: 0.35; transition: opacity 0.3s; }
.mcr .sc li svg{ width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: #30d158; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transform: scale(0); transition: transform 0.3s cubic-bezier(0.3, 1.5, 0.5, 1); }
.mc-shortcuts.in .sc li{ opacity: 1; }
.mc-shortcuts.in .sc li svg{ transform: none; }
.mcr .sc li:nth-child(1), .mcr .sc li:nth-child(1) svg{ transition-delay: 0.5s; }
.mcr .sc li:nth-child(2), .mcr .sc li:nth-child(2) svg{ transition-delay: 0.9s; }
.mcr .sc li:nth-child(3), .mcr .sc li:nth-child(3) svg{ transition-delay: 1.3s; }

/* System Settings: Displays, Night Shift highlighted. */
.mcr .set{ display: grid; grid-template-columns: 112px 1fr; min-height: 178px; }
.mcr .set-side{ padding: 8px 6px; background: #252527; border-right: 1px solid rgba(0, 0, 0, 0.4); display: grid; align-content: start; gap: 2px; }
.mcr .set-side p{ display: flex; align-items: center; gap: 7px; margin: 0; padding: 5px 6px; border-radius: 6px; font-size: 12px; }
.mcr .set-side p i{ display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; }
.mcr .set-side p i svg{ width: 13px; height: 13px; }
.mcr .set-side p.on{ background: #0a64d0; }
.mcr .set-main{ padding: 10px 12px; display: grid; align-content: start; gap: 2px; }
.mcr .set-main p{ display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; padding: 9px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); font-size: 12.5px; }
.mcr .set-main p span{ display: grid; }
.mcr .set-main small{ font-size: 10.5px; color: rgba(255, 255, 255, 0.5); }
.mcr .set-main .ns-row{ box-shadow: inset 0 0 0 1.5px #0a84ff; background: rgba(10, 132, 255, 0.1); }
.mcr .slider{ position: relative; width: 90px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.2); }
.mcr .slider i{ position: absolute; left: 0; top: 0; height: 100%; width: 70%; border-radius: 2px; background: #0a84ff; }
.mcr .slider i::after{ content: ""; position: absolute; right: -8px; top: -6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); }
.mcr .tg{ position: relative; flex: none; width: 34px; height: 20px; border-radius: 10px; background: rgba(255, 255, 255, 0.22); transition: background 0.3s ease 1s; }
.mcr .tg::after{ content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); transition: transform 0.3s cubic-bezier(0.3, 1.3, 0.5, 1) 1s; }
.mcr .tg.on, .mc-settings.in .ns-row .tg{ background: #0a84ff; }
.mcr .tg.on::after, .mc-settings.in .ns-row .tg::after{ transform: translateX(14px); }


/* No AI account: Apple Intelligence on the Mac. */
.macapps-ai{
  max-width: 1160px; margin: 72px auto 0; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center;
  padding: 22px 24px; border-radius: 24px; background: var(--surface-2); position: relative;
}
.macapps-ai::after{ content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line-2); pointer-events: none; }
.macapps-ai .ai-icon{ width: 52px; height: 52px; }
.macapps-ai h3{ font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 4px; }
.macapps-ai p{ color: var(--text-2); font-size: 15.5px; margin: 0; }
.macapps-ai .macapps-note{ margin-top: 6px; font-size: 13px; color: var(--text-3, rgba(255, 255, 255, 0.55)); }

@media (max-width: 700px) {
  .mcr-card{ width: 84vw; }
  .mcr-media{ height: 480px; padding: 0 12px; }
  .mcr .m-map{ height: 200px; }
  .mc-say{ margin-left: 8px; }
  .mcr-arrows{ display: none; }
  .macapps-ai{ grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .mc *{ animation: none !important; transition-delay: 0s !important; }
}
