#detail-visual-demo {
  margin-top: 28px;
}

#detail-visual-demo h3 {
  margin-top: 0;
}

.visual-demo-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.visual-demo-motion-control {
  border: 0;
  border-radius: 7px;
  background: var(--grouped-background);
  color: #515154;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  padding: 5px 8px;
}

.visual-demo-motion-control:hover {
  background: #e5e5ea;
}

.visual-demo-motion-control:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--selected) 28%, transparent);
  outline-offset: 2px;
}

#detail-visual-demo-description {
  color: var(--secondary-label);
}

.concept-label {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  border-radius: 999px;
  background: var(--grouped-background);
  color: var(--secondary-label);
  font-size: 10px;
  font-weight: 500;
  padding: 1px 7px;
}

.visual-demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.visual-demo-panel {
  border: 1px solid var(--separator);
  border-radius: 10px;
  overflow: hidden;
}

.visual-demo-panel-title {
  border-bottom: 1px solid var(--separator);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 10px;
}

.visual-demo-panel.is-after .visual-demo-panel-title {
  background: color-mix(in srgb, var(--selected) 10%, #ffffff);
  color: #005ecb;
}

.visual-demo-list {
  list-style: none;
  margin: 0;
  padding: 4px 10px;
}

.visual-demo-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  border-bottom: 1px solid color-mix(in srgb, var(--separator) 58%, transparent);
}

.visual-demo-row:last-child {
  border-bottom: 0;
}

.file-icon {
  position: relative;
  display: grid;
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  background: #e5e5ea;
  color: #ffffff;
}

.file-icon.kind-folder {
  border: 0;
  background: #fff url("./assets/original/folder.aa124ea55836b1ac.svg") center / 34px auto no-repeat;
  box-shadow: none;
}

.file-icon.kind-folder::before {
  display: none;
}

.file-icon.kind-pdf {
  background: #c4160d;
}

.file-icon-image {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.file-icon.kind-text {
  background: #ffffff;
  color: #5f6368;
}

.visual-demo-document-text-icon {
  display: block;
  height: 19px;
  width: 19px;
}

.file-icon.kind-video {
  background: #0a84ff;
}

.file-icon-play {
  margin-left: 2px;
  font-size: 11px;
}

.file-icon.kind-image {
  background: #30b0c7;
}

.file-icon-image-glyph {
  font-size: 15px;
}

.visual-demo-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visual-demo-type {
  color: var(--secondary-label);
  font-size: 10px;
}

.visual-scene-panel {
  background: #ffffff;
}

.demo-scene {
  position: relative;
  box-sizing: border-box;
  min-height: 146px;
  overflow: hidden;
  padding: 14px;
  background:
    radial-gradient(circle at 20% 0%, rgb(255 255 255 / 92%), transparent 38%),
    linear-gradient(145deg, #f7f7f9, #ececf1);
}

.visual-demo-caption {
  min-height: 36px;
  border-top: 1px solid color-mix(in srgb, var(--separator) 65%, transparent);
  color: #515154;
  font-size: 11px;
  line-height: 1.45;
  padding: 8px 10px;
}

.official-reference-visual {
  margin: 12px 0 0;
  overflow: hidden;
  border: 1px solid var(--separator);
  border-radius: 10px;
  background: #ffffff;
}

.official-reference-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.official-reference-caption {
  border-top: 1px solid var(--separator);
  color: var(--secondary-label);
  font-size: 11px;
  line-height: 1.45;
  padding: 8px 10px;
}

.demo-window {
  overflow: hidden;
  border: 1px solid rgb(0 0 0 / 11%);
  border-radius: 10px;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 8px 24px rgb(0 0 0 / 8%);
}

.demo-window-toolbar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  border-bottom: 1px solid rgb(0 0 0 / 8%);
  padding: 0 10px;
}

.demo-window-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: 12px 0 #febc2e, 24px 0 #28c840;
}

.demo-window-title {
  margin-left: 28px;
  color: var(--secondary-label);
  font-size: 10px;
}

.demo-finder-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  min-height: 63px;
  padding: 12px;
}

.demo-finder-folder {
  position: relative;
  padding-top: 24px;
  color: var(--secondary-label);
  font-size: 9px;
  text-align: center;
}

.demo-finder-folder::before {
  position: absolute;
  top: 2px;
  left: 50%;
  width: 34px;
  height: 24px;
  background: #fff url("./assets/original/folder.aa124ea55836b1ac.svg") center / 40px auto no-repeat;
  content: "";
  transform: translateX(-50%);
}

.demo-finder-folder::after {
  display: none;
}

.demo-path-bar {
  min-height: 18px;
  border-top: 1px solid rgb(0 0 0 / 8%);
  color: #515154;
  font-size: 8px;
  line-height: 18px;
  padding: 0 8px;
}

.demo-path-bar.is-hidden {
  color: #aeaeb2;
  text-align: center;
}

.demo-path-bar.is-visible {
  background: #f5f5f7;
}

.demo-file-list {
  overflow: hidden;
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 10px;
  background: rgb(255 255 255 / 94%);
}

.demo-file-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  border-bottom: 1px solid rgb(0 0 0 / 7%);
  padding: 0 10px;
}

.demo-file-row:last-child {
  border-bottom: 0;
}

.demo-file-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-tap-to-click,
.demo-tracking-speed,
.demo-three-finger-drag {
  display: grid;
  place-items: center;
}

.demo-trackpad,
.demo-drag-trackpad {
  position: relative;
  width: 122px;
  height: 76px;
  border: 1px solid #b7b7bc;
  border-radius: 13px;
  background: linear-gradient(#ffffff, #e9e9ed);
  box-shadow: inset 0 -2px 3px rgb(0 0 0 / 8%), 0 8px 18px rgb(0 0 0 / 7%);
}

.demo-finger,
.demo-drag-finger {
  position: absolute;
  width: 18px;
  height: 26px;
  border-radius: 50% 50% 42% 42%;
  background: linear-gradient(#f3c8aa, #ddb08f);
  box-shadow: 0 2px 5px rgb(0 0 0 / 12%);
}

.demo-finger {
  top: 12px;
  left: 52px;
  animation: demo-tap-light 1.8s ease-in-out forwards;
}

.demo-tap-to-click.is-before .demo-finger {
  animation-name: demo-tap-press;
}

.demo-click-ripple {
  position: absolute;
  top: 36px;
  left: 56px;
  width: 10px;
  height: 10px;
  border: 2px solid #007aff;
  border-radius: 50%;
  opacity: 0;
  animation: demo-ripple 1.8s ease-out forwards;
}

.demo-action-label {
  position: absolute;
  bottom: 15px;
  left: 14px;
  color: var(--secondary-label);
  font-size: 10px;
}

.demo-result-pill {
  position: absolute;
  right: 14px;
  bottom: 12px;
  border-radius: 999px;
  background: #dff6e6;
  color: #248a3d;
  font-size: 9px;
  padding: 4px 7px;
}

.demo-tracking-speed {
  --cursor-end: 48%;
  align-content: center;
  gap: 12px;
}

.demo-tracking-speed.is-after {
  --cursor-end: 84%;
}

.demo-track-label {
  color: var(--secondary-label);
  font-size: 11px;
}

.demo-gesture-track,
.demo-screen-track {
  position: relative;
  width: 84%;
  height: 4px;
  border-radius: 999px;
  background: #c7c7cc;
}

.demo-gesture-finger {
  position: absolute;
  top: -7px;
  left: 5%;
  width: 16px;
  height: 18px;
  border-radius: 50%;
  background: #e3b99c;
  animation: demo-same-distance 2.2s ease-in-out forwards;
}

.demo-screen-track {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 11%);
}

.demo-pointer {
  position: absolute;
  top: 0;
  left: 5%;
  width: 15px;
  height: auto;
  margin-left: -1px;
  color: #1d1d1f;
  font-size: 17px;
  line-height: 1;
  animation: demo-pointer-distance 2.2s ease-in-out forwards;
}

.demo-pointer-start,
.demo-pointer-end {
  position: absolute;
  top: -3px;
  width: 6px;
  height: 6px;
  border: 1px solid #ffffff;
  border-radius: 50%;
  background: #8e8e93;
  transform: translateX(-50%);
}

.demo-pointer-start { left: 5%; }
.demo-pointer-end { left: var(--cursor-end); background: #007aff; }

.demo-speed-scale {
  display: flex;
  justify-content: space-between;
  width: 84%;
  color: var(--secondary-label);
  font-size: 10px;
}

.demo-dock-recents {
  display: grid;
  place-items: center;
}

.demo-dock {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 46px;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 14px;
  background: rgb(255 255 255 / 55%);
  box-shadow: 0 10px 24px rgb(0 0 0 / 10%);
  padding: 5px 8px;
  backdrop-filter: blur(10px);
}

.demo-app-icon,
.demo-mini-app {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 8px;
  overflow: hidden;
  border: 1px dashed #c7c7cc;
  background: #f2f2f7;
  color: #ffffff;
  font-weight: 700;
  box-shadow: none;
}

.demo-app-icon-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.demo-app-icon {
  flex: 0 1 52px;
  width: 52px;
  min-width: 0;
  height: 40px;
  border-style: solid;
  color: var(--secondary-label);
}

.demo-app-label {
  padding: 2px;
  text-align: center;
  font-size: 10px;
  line-height: 12px;
  font-weight: 500;
}

.demo-app-icon-image[hidden],
.demo-app-label[hidden] { display: none; }

.demo-dock-separator {
  width: 1px;
  height: 24px;
  flex: 0 0 1px;
  margin: 0 3px;
  border-radius: 1px;
  background: rgb(0 0 0 / 28%);
}

.demo-dock-note {
  margin-top: 10px;
  color: var(--secondary-label);
  font-size: 9px;
}

.demo-dock-minimize {
  padding: 9px;
}

.demo-mini-desktop {
  position: relative;
  height: 128px;
  border-radius: 10px;
  background: linear-gradient(145deg, #9ed6ff, #d9efff 60%, #f1d9ff);
}

.demo-mini-window {
  position: absolute;
  display: grid;
  width: 74px;
  height: 38px;
  place-items: center;
  border: 1px solid rgb(0 0 0 / 8%);
  border-radius: 6px;
  background: rgb(255 255 255 / 92%);
  color: var(--secondary-label);
  font-size: 8px;
  box-shadow: 0 5px 14px rgb(0 0 0 / 10%);
}

.demo-mini-window.window-1 { top: 10px; left: 9px; }
.demo-mini-window.window-2 { top: 25px; left: 42px; }
.demo-mini-window.window-3 { top: 12px; right: 10px; }

.demo-mini-dock {
  position: absolute;
  right: 8px;
  bottom: 7px;
  left: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  border-radius: 11px;
  background: rgb(255 255 255 / 68%);
  padding: 3px 6px;
}

.demo-mini-app {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #5856d6;
}

.demo-window-thumb {
  display: grid;
  width: 28px;
  height: 21px;
  place-items: center;
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 4px;
  background: #ffffff;
  color: var(--secondary-label);
  font-size: 7px;
}

.demo-window-count {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  width: 14px;
  height: 14px;
  place-items: center;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #ff3b30;
  color: #ffffff;
  font-size: 7px;
}

.demo-dock-minimize .demo-mini-window {
  animation: demo-minimize-window 2.4s ease-in-out forwards;
}

.workflow-visual {
  overflow: hidden;
  margin-top: 12px;
  border: 1px solid var(--separator);
  border-radius: 12px;
  background: #ffffff;
}

.workflow-visual .demo-scene {
  min-height: 166px;
}

.workflow-primary-caption,
.workflow-secondary-caption {
  padding: 9px 12px;
}

.workflow-primary-caption {
  border-top: 1px solid var(--separator);
  font-weight: 600;
}

.workflow-secondary-caption {
  border-top: 1px solid color-mix(in srgb, var(--separator) 58%, transparent);
  color: var(--secondary-label);
}

.demo-hot-corner-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 106px;
}

.demo-workflow-screen {
  position: relative;
  display: grid;
  width: 118px;
  height: 78px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 9px;
  background: linear-gradient(145deg, #d8edff, #f3e8ff);
  box-shadow: 0 6px 14px rgb(0 0 0 / 8%);
  opacity: 0.45;
  animation: demo-workflow-step 2.8s ease forwards;
}

.demo-workflow-screen.step-2 { animation-delay: 0.55s; }
.demo-workflow-screen.step-3 { animation-delay: 1.1s; }

.demo-step-number {
  position: absolute;
  top: 5px;
  left: 5px;
  display: grid;
  z-index: 2;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  background: #007aff;
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
}

.demo-workflow-window {
  display: grid;
  width: 82px;
  height: 45px;
  place-items: center;
  border-radius: 6px;
  background: rgb(255 255 255 / 92%);
  color: #515154;
  font-size: 10px;
  box-shadow: 0 4px 10px rgb(0 0 0 / 9%);
}

.demo-corner-marker {
  position: absolute;
  right: 5px;
  bottom: 4px;
  color: #007aff;
  font-size: 16px;
  font-weight: 700;
}

.demo-workflow-screen .demo-flow-label {
  position: absolute;
  right: 7px;
  bottom: 5px;
  left: 7px;
  border-radius: 5px;
  background: rgb(255 255 255 / 88%);
  padding: 3px 4px;
}

.demo-workflow-file {
  display: grid;
  width: 38px;
  height: 44px;
  place-items: center;
  border-radius: 5px;
  background: #ffffff;
  color: #007aff;
  font-size: 10px;
  box-shadow: 0 5px 12px rgb(0 0 0 / 12%);
}

.demo-drag-hold {
  position: absolute;
  top: 5px;
  left: 5px;
  border-radius: 999px;
  background: #007aff;
  color: #ffffff;
  font-size: 9px;
  padding: 3px 6px;
}

.demo-drop-zone {
  position: absolute;
  right: 23px;
  bottom: 23px;
  border: 1px dashed #007aff;
  border-radius: 5px;
  background: #eaf4ff;
  color: #007aff;
  font-size: 9px;
  padding: 5px;
}

.demo-flow-label {
  color: #515154;
  font-size: 10px;
  font-weight: 500;
  text-align: center;
}

.demo-flow-arrow {
  color: #8e8e93;
  font-size: 20px;
}

.demo-display-sleep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  border-radius: 9px;
  background: rgb(255 255 255 / 88%);
  color: #515154;
  font-size: 10px;
}

.demo-command-key {
  border: 1px solid #c7c7cc;
  border-bottom-width: 2px;
  border-radius: 5px;
  background: #ffffff;
  color: var(--label);
  font: inherit;
  padding: 3px 6px;
}

.demo-sleep-arrow { color: #8e8e93; }

.demo-display-icon {
  color: #1d1d1f;
  font-size: 18px;
}

.demo-documents {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  min-height: 122px;
}

.demo-document {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 5px;
  border: 1px solid rgb(0 0 0 / 9%);
  border-radius: 9px;
  background: #ffffff;
  color: var(--secondary-label);
  font-size: 9px;
  box-shadow: 0 7px 16px rgb(0 0 0 / 7%);
}

.demo-document::before {
  position: absolute;
  top: 28px;
  width: 42px;
  height: 3px;
  border-radius: 99px;
  background: #d1d1d6;
  box-shadow: 0 8px #e5e5ea, 0 16px #e5e5ea;
  content: "";
}

.demo-document-title,
.demo-document-sample,
.demo-document-input {
  position: relative;
  z-index: 1;
}

.demo-document-title {
  margin-top: 38px;
  color: #515154;
  font-weight: 600;
}

.demo-document-sample {
  color: #1d1d1f;
  font-size: 12px;
}

.demo-document-input {
  border-radius: 999px;
  background: #eaf4ff;
  color: #0066cc;
  font-size: 9px;
  padding: 3px 7px;
}


.demo-watch-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 130px;
}

.demo-watch-device {
  position: relative;
  width: 31px;
  height: 47px;
  border: 3px solid #5a5a5f;
  border-radius: 10px;
  background: linear-gradient(145deg, #36363a, #171719);
  box-shadow: inset 0 0 0 2px #8e8e93, 0 5px 12px rgb(0 0 0 / 14%);
  animation: demo-watch-near 2.4s ease-in-out forwards;
}

.demo-watch-device::before,
.demo-watch-device::after {
  position: absolute;
  left: 8px;
  width: 15px;
  height: 12px;
  border-radius: 5px;
  background: #8e8e93;
  content: "";
}

.demo-watch-device::before { top: -13px; }
.demo-watch-device::after { bottom: -13px; }

.demo-watch-check {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.demo-proximity-waves {
  color: #007aff;
  font-size: 18px;
  letter-spacing: -7px;
  opacity: 0.64;
  animation: demo-wave-pulse 1.2s ease-in-out 2 forwards;
}

.demo-mac-device {
  position: relative;
  width: 104px;
  height: 68px;
  border: 4px solid #8e8e93;
  border-radius: 8px;
  background: linear-gradient(145deg, #d9efff, #c7e2ff);
}

.demo-mac-device::after {
  position: absolute;
  right: -12px;
  bottom: -10px;
  left: -12px;
  height: 5px;
  border-radius: 0 0 7px 7px;
  background: #8e8e93;
  content: "";
}

.demo-lock-state,
.demo-unlock-state {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 23px;
}

.demo-unlock-state {
  color: #248a3d;
  opacity: 0;
  animation: demo-unlock 2.4s ease-in-out forwards;
}

.demo-lock-state {
  animation: demo-lock-fade 2.4s ease-in-out forwards;
}

.demo-lock-glyph {
  position: relative;
  width: 22px;
  height: 18px;
  border-radius: 5px;
  background: #6e6e73;
}

.demo-lock-glyph::before {
  position: absolute;
  top: -12px;
  left: 5px;
  width: 10px;
  height: 13px;
  border: 3px solid #6e6e73;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  content: "";
}

.demo-hot-corners { display: grid; gap: 10px; }

.demo-hot-corner-screen {
  position: relative;
  height: 180px;
  overflow: hidden;
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 10px;
  background: linear-gradient(145deg, #dce8ef, #eef1f5 62%, #e2e7ee);
}

.demo-hot-desktop,
.demo-hot-app {
  position: absolute;
  inset: 10px;
  border-radius: 7px;
}

.demo-hot-desktop-label {
  position: absolute;
  top: 7px;
  left: 8px;
  color: rgb(0 0 0 / 48%);
  font-size: 11px;
}

.demo-hot-desktop-file,
.demo-hot-dragged-file {
  display: grid;
  width: 88px;
  height: 40px;
  place-items: center;
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 5px;
  background: rgb(255 255 255 / 92%);
  color: #515154;
  font-size: 10px;
  box-shadow: 0 4px 9px rgb(0 0 0 / 10%);
}

.demo-hot-desktop-file {
  position: absolute;
  top: 42px;
  right: 34px;
  animation: demo-hot-origin-file-cycle var(--motion-desktop-demo) ease-in-out both;
}

.demo-hot-app {
  z-index: 2;
  border: 1px solid rgb(0 0 0 / 12%);
  background: #ffffff;
  box-shadow: 0 7px 20px rgb(0 0 0 / 12%);
  animation: demo-hot-app-cycle var(--motion-desktop-demo) ease-in-out both;
}

.demo-hot-app-title {
  display: block;
  border-bottom: 1px solid rgb(0 0 0 / 8%);
  color: #3a3a3c;
  font-size: 11px;
  font-weight: 600;
  padding: 7px 9px;
}

.demo-hot-upload-zone {
  position: absolute;
  right: 17px;
  bottom: 16px;
  left: 17px;
  display: grid;
  height: 32px;
  place-items: center;
  border: 1px dashed #8e8e93;
  border-radius: 6px;
  color: #6e6e73;
  font-size: 11px;
  animation: demo-hot-upload-cycle var(--motion-desktop-demo) ease-in-out both;
}

.demo-hot-drop-hint, .demo-hot-loaded { grid-area: 1 / 1; }
.demo-hot-drop-hint { animation: demo-hot-hint-cycle var(--motion-desktop-demo) ease both; }
.demo-hot-loaded { animation: demo-hot-loaded-cycle var(--motion-desktop-demo) ease both; }

.demo-hot-pointer-group {
  position: absolute;
  z-index: 5;
  animation: demo-hot-pointer-cycle var(--motion-desktop-demo) ease-in-out both;
}

.demo-hot-cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  width: 16px;
  height: auto;
  animation: demo-hot-cursor-cycle var(--motion-desktop-demo) ease-in-out both;
}

.demo-hot-dragged-file {
  position: absolute;
  left: -80px;
  top: -24px;
  z-index: 4;
  opacity: 0;
  animation: demo-hot-drag-file-cycle var(--motion-desktop-demo) ease-in-out both;
}

.demo-hot-corner {
  position: absolute;
  z-index: 4;
  bottom: 0;
  right: 0;
  border-radius: 7px 0 0 0;
  background: rgb(0 122 255 / 14%);
  color: #0066cc;
  font-size: 10px;
  font-weight: 600;
  opacity: 0;
  padding: 5px 7px;
  animation: demo-hot-corner-pulse var(--motion-desktop-demo) ease-in-out both;
}

.demo-hot-sleep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 110px;
  border: 1px solid rgb(0 0 0 / 9%);
  border-radius: 9px;
  background: rgb(255 255 255 / 68%);
  padding: 8px;
}

.demo-hot-sleep-command {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: #515154;
  font-size: 11px;
}

.demo-hot-sleep-screen {
  position: relative;
  width: 180px;
  height: 96px;
  overflow: hidden;
  border: 2px solid #6e6e73;
  border-radius: 6px;
  background: linear-gradient(145deg, #d7efff, #f8fbff);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 70%);
  animation: demo-hot-sleep-display-cycle var(--motion-sleep-demo) ease-in-out both;
}

.demo-hot-sleep-title {
  position: absolute;
  top: 5px;
  left: 7px;
  color: #515154;
  font-size: 11px;
}

.demo-hot-sleep-corner {
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 0 0 0 5px;
  background: rgb(0 122 255 / 14%);
  color: #0066cc;
  font-size: 10px;
  opacity: 0;
  padding: 4px 5px;
  animation: demo-hot-sleep-corner-pulse var(--motion-sleep-demo) ease-in-out both;
}

.demo-hot-sleep-cursor {
  position: absolute;
  z-index: 2;
  width: 14px;
  height: auto;
  animation: demo-hot-sleep-cursor-cycle var(--motion-sleep-demo) ease-in-out both;
}

.demo-hot-sleep-state {
  position: absolute;
  top: 42px;
  right: 0;
  left: 0;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  opacity: 0;
  text-align: center;
  animation: demo-hot-sleep-state-cycle var(--motion-sleep-demo) ease-in-out both;
}

.demo-hot-animation-block + .demo-hot-animation-block {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgb(0 0 0 / 8%);
}

.demo-hot-animation-title {
  margin: 0 0 7px;
  color: #515154;
  font-size: 13px;
  font-weight: 600;
}

.demo-motion-description { color: var(--secondary-label); font-size: 12px; line-height: 1.6; }
.demo-hot-animation-block > .visual-demo-motion-control { margin-top: 10px; min-height: 28px; font-size: 12px; }

.demo-three-finger-drag { display: grid; place-items: center; }

.demo-three-finger-stage {
  position: relative;
  width: 100%;
  height: 112px;
}

.demo-drag-trackpad {
  position: absolute;
  top: 34px;
  left: 9px;
  width: 112px;
  height: 68px;
  overflow: visible;
}

.demo-drag-touch-group {
  position: absolute;
  top: -27px;
  left: 36px;
  width: 57px;
  height: 42px;
  animation: demo-three-finger-move 3.2s ease-in-out infinite;
}

.demo-drag-finger {
  top: 0;
  width: 12px;
  height: 38px;
  border-radius: 8px 8px 5px 5px;
  background: linear-gradient(#f5cbaa, #dca987);
  box-shadow: 0 2px 5px rgb(0 0 0 / 14%);
}

.demo-drag-finger.finger-1 { left: 0; }
.demo-drag-finger.finger-2 { left: 20px; }
.demo-drag-finger.finger-3 { left: 40px; }

.is-press-drag .demo-drag-touch-group { left: 48px; width: 12px; }
.is-press-drag .demo-drag-finger { height: 46px; box-shadow: 0 8px 0 rgb(0 0 0 / 14%), 0 2px 5px rgb(0 0 0 / 14%); }

.demo-drag-file {
  position: absolute;
  top: 47px;
  left: 135px;
  display: grid;
  width: 58px;
  height: 34px;
  place-items: center;
  border: 1px solid #c7c7cc;
  border-radius: 5px;
  background: #ffffff;
  color: #515154;
  font-size: 7px;
  box-shadow: 0 4px 10px rgb(0 0 0 / 10%);
  animation: demo-three-finger-file 3.2s ease-in-out infinite;
}

.demo-drop-folder {
  position: absolute;
  top: 38px;
  right: 5px;
  width: 68px;
  height: 58px;
  background: #fff url("./assets/original/folder.aa124ea55836b1ac.svg") center top / 86px auto no-repeat;
}

.demo-drop-folder-label {
  position: absolute;
  right: -5px;
  bottom: -2px;
  left: -5px;
  color: #515154;
  font-size: 7px;
  text-align: center;
}

.demo-drop-tap {
  position: absolute;
  top: -18px;
  left: 7px;
  border-radius: 999px;
  background: #007aff;
  color: #ffffff;
  font-size: 7px;
  opacity: 0;
  padding: 3px 5px;
  animation: demo-three-finger-tap 3.2s ease-in-out infinite;
}

@keyframes demo-tap-light {
  0%, 20% { transform: translateY(-8px); }
  45%, 100% { transform: translateY(1px); }
}

@keyframes demo-tap-press {
  0%, 20% { transform: translateY(-8px); }
  45%, 100% { transform: translateY(8px); }
}

@keyframes demo-ripple {
  0%, 30% { opacity: 0; transform: scale(0.4); }
  44% { opacity: 0.7; }
  68%, 100% { opacity: 0; transform: scale(2.2); }
}

@keyframes demo-same-distance {
  0%, 15% { left: 5%; }
  58%, 100% { left: 45%; }
}

@keyframes demo-pointer-distance {
  0%, 15% { left: 5%; opacity: 1; }
  54% { left: var(--cursor-end); opacity: 1; }
  55%, 100% { left: var(--cursor-end); opacity: 0; }
}

@keyframes demo-minimize-window {
  0%, 18% { opacity: 1; transform: scale(1) translateY(0); }
  58%, 100% { opacity: 0.12; transform: scale(0.35) translateY(90px); }
}

@keyframes demo-workflow-step {
  0% { opacity: 0.45; transform: translateY(4px); }
  28%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes demo-watch-near {
  0%, 20% { transform: translateX(-12px); }
  52%, 100% { transform: translateX(4px); }
}

@keyframes demo-wave-pulse {
  0%, 100% { opacity: 0.25; transform: scale(0.9); }
  50% { opacity: 0.85; transform: scale(1.08); }
}

@keyframes demo-unlock {
  0%, 42% { opacity: 0; transform: scale(0.7); }
  58%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes demo-lock-fade {
  0%, 42% { opacity: 1; }
  58%, 100% { opacity: 0; }
}

@keyframes demo-three-finger-move {
  0%, 16% { transform: translateX(0); }
  56%, 100% { transform: translateX(32px); }
}

@keyframes demo-three-finger-file {
  0%, 16% { transform: translateX(0); opacity: 1; }
  56% { transform: translateX(37px); opacity: 1; }
  74%, 100% { transform: translateX(37px); opacity: 0; }
}

@keyframes demo-three-finger-tap {
  0%, 61% { opacity: 0; transform: scale(0.7); }
  68% { opacity: 1; transform: scale(1); }
  78%, 100% { opacity: 0; transform: scale(1.05); }
}

@keyframes demo-hot-app-cycle {
  0%, 28% { opacity: 1; transform: scale(1); }
  34%, 58% { opacity: 0; transform: translateY(-110%); }
  68%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes demo-hot-pointer-cycle {
  0%, 14% { top: 64px; left: 50%; }
  28%, 34% { top: 157px; left: calc(100% - 20px); }
  42%, 44% { top: 76px; left: calc(100% - 54px); }
  58%, 68% { top: 157px; left: calc(100% - 20px); }
  76%, 100% { top: 144px; left: calc(50% + 36px); }
}

@keyframes demo-hot-cursor-cycle {
  0%, 86% { opacity: 1; }
  92%, 100% { opacity: 0; }
}

@keyframes demo-hot-drag-file-cycle {
  0%, 41.9% { opacity: 0; }
  42%, 76% { opacity: 1; }
  86%, 100% { opacity: 0; }
}

@keyframes demo-hot-origin-file-cycle {
  0%, 41.9% { opacity: 1; }
  42%, 100% { opacity: 0; }
}

@keyframes demo-hot-corner-pulse {
  0%, 27.9%, 38%, 57.9%, 68%, 100% { opacity: 0; }
  28%, 32%, 58%, 62% { opacity: 1; }
}

@keyframes demo-hot-upload-cycle {
  0%, 72% { border-color: #8e8e93; background: transparent; color: #6e6e73; }
  81%, 100% { border-color: #007aff; background: #eaf4ff; color: #0066cc; }
}

@keyframes demo-hot-hint-cycle { 0%, 80% { opacity: 1; } 86%, 100% { opacity: 0; } }
@keyframes demo-hot-loaded-cycle { 0%, 80% { opacity: 0; } 86%, 100% { opacity: 1; } }

@keyframes demo-hot-sleep-cursor-cycle {
  0%, 20% { top: 52px; left: 78px; opacity: 1; }
  48%, 55% { top: 3px; left: calc(100% - 16px); opacity: 1; }
  60%, 100% { top: 3px; left: calc(100% - 16px); opacity: 0; }
}

@keyframes demo-hot-sleep-corner-pulse {
  0%, 47.9%, 66%, 100% { opacity: 0; }
  48%, 55% { opacity: 1; }
}

@keyframes demo-hot-sleep-display-cycle {
  0%, 48% { background: linear-gradient(145deg, #d7efff, #f8fbff); }
  60%, 100% { background: #050505; }
}

@keyframes demo-hot-sleep-state-cycle {
  0%, 55% { opacity: 0; }
  66%, 100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .visual-demo-motion-control {
    display: none;
  }

  #setting-detail,
  .demo-finger,
  .demo-click-ripple,
  .demo-gesture-finger,
  .demo-pointer,
  .demo-mini-window,
  .demo-workflow-screen,
  .demo-input-source,
  .demo-watch-device,
  .demo-proximity-waves,
  .demo-lock-state,
  .demo-unlock-state,
  .demo-drag-touch-group,
  .demo-drag-file,
  .demo-drop-tap,
  .demo-hot-app,
  .demo-hot-pointer-group,
  .demo-hot-desktop-file,
  .demo-hot-cursor,
  .demo-hot-dragged-file,
  .demo-hot-corner,
  .demo-hot-upload-zone,
  .demo-hot-drop-hint,
  .demo-hot-loaded,
  .demo-hot-sleep-screen,
  .demo-hot-sleep-corner,
  .demo-hot-sleep-cursor,
  .demo-hot-sleep-state,
  .checkbox-box,
  .checkbox-fill,
  .checkmark {
    animation: none !important;
    transition: none !important;
  }

  .demo-tap-to-click.is-before .demo-finger { transform: translateY(8px); }
  .demo-tap-to-click.is-after .demo-finger { transform: translateY(1px); }
  .demo-gesture-finger { left: 45%; }
  .demo-pointer { left: var(--cursor-end); opacity: 0; }
  .demo-mini-window { opacity: 0.12; transform: scale(0.35) translateY(90px); }
  .demo-workflow-screen { opacity: 1; transform: none; }
  .demo-watch-device { transform: translateX(4px); }
  .demo-proximity-waves { opacity: 0.85; }
  .demo-lock-state { opacity: 0; }
  .demo-unlock-state { opacity: 1; transform: scale(1); }
  .demo-drag-touch-group { transform: translateX(32px); }
  .demo-drag-file { transform: translateX(37px); opacity: 0; }
  .demo-drop-tap { opacity: 1; }
  .demo-hot-app { opacity: 1; transform: none; }
  .demo-hot-desktop-file { opacity: 0; }
  .demo-hot-cursor, .demo-hot-dragged-file, .demo-hot-drop-hint { opacity: 0; }
  .demo-hot-loaded { opacity: 1; }
  .demo-hot-corner { opacity: 1; }
  .demo-hot-upload-zone { border-color: #007aff; background: #eaf4ff; color: #0066cc; }
  .demo-hot-sleep-screen { background: #050505; }
  .demo-hot-sleep-corner { opacity: 1; }
  .demo-hot-sleep-cursor { opacity: 0; }
  .demo-hot-sleep-state { opacity: 1; }
}
