/* A scaled macOS desktop surrounds the unchanged, interactive native panel. */
.mac-scene {
  scroll-margin-top: 0;
}
.mac-scene .mac-display {
  height: auto;
  aspect-ratio: 1120 / 700;
  box-sizing: content-box;
  border: 12px solid #101113;
  border-radius: 32px;
  background: #234a90;
}
.mac-desktop {
  --notch-width: 184px;
  --notch-height: 30px;
  position: absolute;
  top: 0;
  left: 0;
  width: 1120px;
  height: 700px;
  transform: scale(var(--mac-scale, 0.95));
  transform-origin: top left;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}
.mac-desktop .mac-wallpaper {
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 85% 105% at 100% 8%,
      #ace8ed 0%,
      #87c4ee 32%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 120% 85% at 50% 120%,
      #10265f 15%,
      #2958a0 50%,
      transparent 72%
    ),
    linear-gradient(130deg, #3541a5 4%, #8d8ed3 43%, #74c7e1 75%, #b7e6d6);
}
.mac-wallpaper::before,
.mac-wallpaper::after {
  content: "";
  position: absolute;
  width: 1250px;
  height: 500px;
  border-radius: 48% 60% 0 0;
  transform: rotate(-28deg);
  pointer-events: none;
}
.mac-wallpaper::before {
  top: 210px;
  left: -310px;
  background: linear-gradient(180deg, #b2def499, #566dba55 3%, #2e3d8f 72%);
  box-shadow: 0 -22px 70px #e2ecff66;
}
.mac-wallpaper::after {
  top: 470px;
  left: -40px;
  background: linear-gradient(180deg, #558cbacc, #1d3e78 42%, #14244d);
  box-shadow: 0 -12px 34px #7ed5ee55;
}
.mac-desktop .mac-menubar {
  height: 30px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 500;
  color: #172c44;
  background: #daecff70;
  backdrop-filter: blur(22px);
}
.mac-desktop .mac-menubar > div {
  gap: 18px;
}
.mac-desktop .mac-menubar span {
  display: inline;
  font-size: inherit;
}
.mac-desktop .mac-menubar .icon {
  width: 15px;
  height: 17px;
}
.mac-menubar .menu-wifi {
  width: 18px;
  height: 16px;
}
.mac-menubar .menu-battery {
  width: 25px;
  height: 14px;
}
.menu-wifi,
.menu-battery {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.menu-wifi circle,
.menu-battery .battery-fill {
  fill: currentColor;
  stroke: none;
}
.mac-desktop .notch-toggle {
  width: var(--notch-width);
  height: var(--notch-height);
  padding: 0;
  justify-content: center;
  border-radius: 0 0 12px 12px;
  background: #000;
  box-shadow: none;
}
.notch-camera {
  width: 7px;
  height: 7px;
  border: 1px solid #20262b;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #294659, #0c1720 55%, #030506);
  box-shadow: 0 0 0 2px #08090b;
}
.mac-desktop .notch-panel {
  top: 0;
  width: 1060px;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: auto;
  background: #000;
  border-radius: 0 0 24px 24px;
  animation: none;
  clip-path: inset(
    0 calc((100% - var(--notch-width)) / 2) calc(100% - var(--notch-height))
      round 0 0 12px 12px
  );
  transition: clip-path 0.78s cubic-bezier(0.18, 0.88, 0.22, 1);
  filter: drop-shadow(0 16px 24px #0b17383b);
}
.mac-desktop .notch-panel.is-open {
  clip-path: inset(0 0 0 round 0 0 24px 24px);
}
.mac-desktop .notch-panel .mac-demo {
  min-width: 1060px;
  opacity: 0;
  transition: opacity 0.2s ease;
  box-shadow: none;
}
.mac-desktop .notch-panel.is-open .mac-demo {
  opacity: 1;
  transition: opacity 0.35s 0.2s ease;
}
.mac-desktop .sample-notes {
  display: grid;
  grid-template-columns: 180px 1fr;
  position: absolute;
  top: 116px;
  left: 170px;
  width: 780px;
  height: 436px;
  max-width: none;
  min-height: 0;
  margin: 0;
  border: 1px solid #ffffff8c;
  border-radius: 12px;
  background: #fffefa;
  box-shadow:
    0 28px 65px -14px #0c1c4b99,
    0 0 0 1px #18255022;
}
.sample-notes-sidebar {
  position: relative;
  padding: 20px 10px;
  background: #e8e9edcc;
  border-right: 1px solid #d5d5d866;
  color: #47474d;
}
.mac-desktop .traffic-lights {
  gap: 8px;
  margin: 0 10px 32px;
}
.mac-desktop .traffic-lights i {
  width: 12px;
  height: 12px;
}
.sample-notes-sidebar > strong {
  display: block;
  font-size: 11px;
  color: #85858b;
  margin: 0 12px 8px;
}
.notes-folder {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 3px;
}
.notes-folder > span {
  color: #ac8610;
  font-size: 20px;
  line-height: 16px;
}
.notes-folder small {
  margin-left: auto;
  color: #86868b;
  font-size: 12px;
}
.notes-folder.is-selected {
  background: #d4d4d9aa;
}
.notes-new-folder {
  position: absolute;
  bottom: 16px;
  left: 20px;
  font-size: 12px;
}
.sample-notes-main {
  min-width: 0;
}
.mac-desktop .sample-window-bar {
  height: 57px;
  padding: 0 22px;
  border: 0;
  color: #85858b;
  background: #faf9f7;
}
.sample-window-bar svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.notes-toolbar-start,
.notes-toolbar-tools {
  display: flex;
  align-items: center;
  gap: 22px;
}
.notes-toolbar-start > span {
  font-size: 25px;
  color: #c3c3c8;
}
.notes-toolbar-tools {
  gap: 21px;
  color: #8a806d;
  font-size: 16px;
  font-weight: 500;
}
.mac-desktop .sample-note-content {
  padding: 8px 38px 28px;
}
.mac-desktop .sample-note-content small {
  font-size: 11px;
  margin-bottom: 26px;
  color: #92908c;
}
.mac-desktop .sample-note-content h3 {
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: -0.5px;
}
.mac-desktop .sample-note-content p {
  font-size: 15px;
  line-height: 1.65;
  margin-top: 14px;
  color: #353536;
}
.mac-dock {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 13px;
  height: 67px;
  padding: 7px 14px 10px;
  border: 1px solid #ffffff70;
  border-radius: 19px;
  background: #d5e7ff42;
  backdrop-filter: blur(24px) saturate(1.4);
  box-shadow:
    0 4px 18px #08142c2b,
    inset 0 0 0 1px #ffffff1a;
}
.mac-dock img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 2px 2px #18233636);
}
.dock-divider {
  height: 37px;
  width: 1px;
  background: #203c6050;
  margin: 0 1px;
}
.dock-trash {
  width: 32px;
  height: 42px;
  padding: 4px 2px;
  color: #e3e9f2;
}
.dock-trash svg {
  width: 100%;
  height: 100%;
  fill: #bcc9da77;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mac-scene .scene-hint {
  position: relative;
  bottom: auto;
  margin: 18px auto 0;
  padding: 0 8px;
  min-height: 32px;
  color: #f4f7f5;
  padding-bottom: 18px;
}
.mac-scene .scene-status {
  background: #12242694;
  border-radius: 20px;
  padding: 7px 12px;
}
.mac-scene .scene-replay {
  background: #f8faf3e8;
  color: #263e3d;
}
.mac-scene .scene-replay {
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .mac-scene .mac-display {
    border-width: 6px;
    border-radius: 16px;
  }
  .mac-scene .scene-hint {
    gap: 9px;
    margin-top: 15px;
  }
  .mac-scene .scene-status {
    font-size: 11px;
  }
  .mac-scene .scene-replay {
    font-size: 10px;
    min-height: 30px;
  }
  .mac-scene .sticky-note {
    width: 61px;
    height: 79px;
    right: -7px;
    top: -23px;
    font-size: 9px;
  }
  .mac-scene .sticky-note em {
    font-size: 9px;
  }
}
html[data-motion="paused"] .mac-desktop .notch-panel,
html[data-motion="paused"] .mac-desktop .notch-panel .mac-demo {
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  .mac-desktop .notch-panel,
  .mac-desktop .notch-panel .mac-demo {
    transition: none;
  }
}
