/* Landing-only visual snapshot of the Web App. Keep this module self-contained:
   the index demo must not inherit panel classes, tokens, or runtime behavior. */

.landing-demo-stage {
  /* The standalone marketing page does not load panel.css, which normally owns
     these two motion tokens used by the demo snapshot. */
  --dur-short: 120ms;
  --ease-standard: cubic-bezier(.25, .1, .25, 1);
  --demo-accent: #007AFF;
  --demo-surface: #F5F5F7;
  --demo-surface-raised: #FFFFFF;
  --demo-surface-material: rgba(250, 250, 252, .82);
  --demo-surface-control: rgba(118, 118, 128, .10);
  --demo-surface-control-hover: rgba(118, 118, 128, .16);
  --demo-text: #1D1D1F;
  --demo-text-secondary: rgba(60, 60, 67, .72);
  --demo-text-tertiary: rgba(60, 60, 67, .72);
  --demo-separator: rgba(60, 60, 67, .16);
  --demo-separator-strong: rgba(60, 60, 67, .26);
  --demo-scrim: rgba(17, 17, 19, .30);
  --demo-window-surface: #FFFFFF;
  --demo-window-bar-surface: rgba(248, 248, 250, .72);
  --demo-window-bar-text: rgba(29, 29, 31, .88);
  --demo-window-bar-switch: rgba(255, 255, 255, .18);
  --demo-window-bar-selected: rgba(0, 0, 0, .14);
  --demo-window-shadow: 0 28px 68px rgba(0, 0, 0, .24), 0 8px 24px rgba(0, 0, 0, .14);
  --demo-ease: cubic-bezier(.25, .1, .25, 1);
  --demo-ease-decel: cubic-bezier(.16, 1, .3, 1);
  --demo-ease-resize: cubic-bezier(.22, 1, .36, 1);
  --demo-top-bar-height: 58px;
  --demo-win-bar-height: 38px;
  --demo-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --demo-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

.demo-viewport {
  position: relative;
  z-index: 0;
  isolation: isolate;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0;
  -webkit-clip-path: var(--demo-inner-squircle);
  clip-path: var(--demo-inner-squircle);
  background: var(--demo-surface);
}

.demo-app {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1000px;
  height: 600px;
  display: grid;
  grid-template-rows: var(--demo-top-bar-height) minmax(0, 1fr);
  overflow: hidden;
  translate: -50% 0;
  transform-origin: top center;
  background: var(--demo-surface);
  color: var(--demo-text);
  font-family: var(--demo-font);
  pointer-events: auto;
  user-select: none;
}

.landing-demo-stage,
.landing-demo-stage * {
  cursor: default !important;
}

.demo-top-bar {
  position: relative;
  z-index: 30;
  height: var(--demo-top-bar-height);
  display: grid;
  grid-template-columns: minmax(190px, 1fr) 420px minmax(190px, 1fr);
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  background: color-mix(in srgb, var(--demo-surface-material) 88%, transparent);
  border-bottom: 1px solid var(--demo-separator);
  box-shadow: 0 1px rgba(255, 255, 255, .20);
  -webkit-backdrop-filter: blur(26px) saturate(1.35);
  backdrop-filter: blur(26px) saturate(1.35);
}

.demo-top-bar-brand {
  grid-column: 1;
  min-width: 0;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--demo-text);
  font-size: 14.5px;
  font-weight: 650;
  letter-spacing: 0;
}

.demo-top-bar-brand img {
  width: 28px;
  height: 28px;
  flex: none;
  display: block;
  border-radius: 7px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .14), inset 0 0 0 .5px rgba(255, 255, 255, .28);
}

.demo-top-bar-brand span,
.demo-device-chip-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-search-anchor { grid-column: 2; grid-row: 1; width: 100%; height: 36px; }
.demo-top-bar-actions { grid-column: 3; grid-row: 1; justify-self: end; min-width: 0; }

.demo-device-chip {
  min-width: 0;
  max-width: 190px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  color: var(--demo-text-secondary);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  font: 590 12px/1 var(--demo-font);
  letter-spacing: 0;
}

.demo-device-chip svg { width: 17px; height: 17px; flex: none; }

.demo-search-scrim {
  position: absolute;
  z-index: 40;
  inset: var(--demo-top-bar-height) 0 0;
  background: var(--demo-scrim);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms var(--demo-ease), visibility 0s linear 180ms;
}

.demo-search-scrim.is-visible { opacity: 1; visibility: visible; transition-delay: 0s; }

.demo-search-surface {
  position: absolute;
  z-index: 51;
  left: 290px;
  top: 11px;
  width: 420px;
  height: 36px;
  display: grid;
  grid-template-rows: 36px minmax(0, 1fr);
  overflow: hidden;
  color: var(--demo-text-secondary);
  background: var(--demo-surface-control);
  border: 1px solid var(--demo-separator);
  border-radius: 9px;
  box-shadow: inset 0 1px rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  transition: left 280ms var(--demo-ease-decel), top 280ms var(--demo-ease-decel),
    width 280ms var(--demo-ease-decel), height 280ms var(--demo-ease-decel),
    color 120ms var(--demo-ease), background 180ms var(--demo-ease),
    border-color 180ms var(--demo-ease), border-radius 280ms var(--demo-ease-decel),
    box-shadow 280ms var(--demo-ease-decel);
}

.demo-search-surface[data-open="true"] {
  left: 190px;
  top: 76px;
  width: 620px;
  height: 350px;
  grid-template-rows: 58px minmax(0, 1fr);
  color: var(--demo-text);
  background: var(--demo-surface-material);
  border-color: var(--demo-separator-strong);
  border-radius: 16px;
  box-shadow: 0 26px 72px rgba(0, 0, 0, .22), 0 8px 24px rgba(0, 0, 0, .12), inset 0 1px rgba(255, 255, 255, .26);
  -webkit-backdrop-filter: blur(42px) saturate(1.35);
  backdrop-filter: blur(42px) saturate(1.35);
}

.demo-search-input-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  color: var(--demo-text-tertiary);
  transition: gap 280ms var(--demo-ease-decel), padding 280ms var(--demo-ease-decel);
}

.demo-search-surface[data-open="true"] .demo-search-input-row {
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid var(--demo-separator);
}

.demo-search-input-row svg { width: 16px; height: 16px; transition: width 280ms var(--demo-ease-decel), height 280ms var(--demo-ease-decel); }
.demo-search-surface[data-open="true"] .demo-search-input-row svg { width: 20px; height: 20px; }

.demo-search-input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--demo-text);
  background: transparent;
  caret-color: transparent;
  font: 430 12.5px/1.3 var(--demo-font);
  letter-spacing: 0;
  transition: font-size 280ms var(--demo-ease-decel);
}

.demo-search-input::placeholder { color: var(--demo-text-tertiary); opacity: 1; }
.demo-search-surface[data-open="true"] .demo-search-input { font-size: 16px; }

.demo-search-content {
  min-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms var(--demo-ease), visibility 0s linear 180ms;
}

.demo-search-surface[data-open="true"] .demo-search-content {
  opacity: 1;
  visibility: visible;
  transition-delay: 55ms, 0s;
}

.demo-search-results { min-height: 0; overflow: hidden; padding: 10px 10px 14px; }
.demo-search-section-title { margin: 4px 8px 7px; color: var(--demo-text-tertiary); font-size: 10.5px; font-weight: 650; letter-spacing: 0; }
.demo-search-app-grid { display: grid; grid-template-columns: repeat(4, minmax(76px, 1fr)); gap: 4px; }

.demo-result-row {
  min-width: 0;
  color: var(--demo-text);
  border: 0;
  background: transparent;
  transition: background 120ms var(--demo-ease), box-shadow 120ms var(--demo-ease), transform 120ms var(--demo-ease);
}

.demo-result-row[aria-selected="true"] {
  background: color-mix(in srgb, var(--demo-accent) 12%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--demo-accent) 23%, transparent);
}

.demo-app-tile {
  position: relative;
  width: 100%;
  min-height: 90px;
  padding: 7px 4px 6px;
  display: grid;
  grid-template-rows: 44px minmax(16px, auto) 11px;
  justify-items: center;
  align-content: start;
  gap: 4px;
  text-align: center;
  border-radius: 10px;
}

.demo-app-tile[aria-disabled="true"] {
  grid-template-rows: 44px;
  align-content: center;
  opacity: .72;
}

.demo-result-glyph { width: 44px; height: 44px; display: grid; place-items: center; }
.demo-result-glyph img { width: 44px; height: 44px; display: block; }
.demo-result-copy { min-width: 0; display: grid; gap: 1px; }
.demo-result-copy strong {
  min-width: 0;
  max-width: 112px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  color: var(--demo-text);
  font-size: 11.5px;
  font-weight: 560;
  line-height: 14px;
}
.demo-result-copy small:empty { display: none; }

.demo-stage { position: relative; min-height: 0; overflow: hidden; padding: 0 20px 20px; }
.demo-stage-grid { position: relative; width: 100%; height: 100%; }

.demo-stage-empty {
  position: absolute;
  z-index: 1;
  inset: 0;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  transition: opacity 180ms var(--demo-ease);
}

.demo-stage-empty[hidden] { display: none; }
.demo-empty-particles { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.demo-empty-hero-copy { display: grid; justify-items: center; gap: 18px; max-width: 820px; padding: 48px; text-align: center; }
.demo-empty-title { min-height: 1.08em; margin: 0; color: var(--demo-text); font-size: 54px; font-weight: 700; letter-spacing: 0; }
.demo-typed-cursor {
  display: inline-block;
  width: .055em;
  height: .82em;
  margin-left: .09em;
  vertical-align: -.02em;
  background: currentColor;
  border-radius: 999px;
  animation: demo-cursor-blink 760ms steps(1, end) infinite;
  transition: opacity 500ms linear;
}
.demo-typed-cursor.is-complete { animation: none; opacity: 0; }
.demo-empty-hint { margin: 0; color: var(--demo-text-secondary); font-size: 16px; font-weight: 430; letter-spacing: 0; opacity: 0; }
.demo-empty-hint.is-visible { opacity: 1; animation: demo-hint-in 1600ms var(--demo-ease) both; }

.demo-win {
  position: absolute;
  display: block;
  overflow: hidden;
  opacity: 1;
  background: var(--demo-window-surface);
  border-radius: 14px;
  outline: 1px solid var(--demo-separator-strong);
  outline-offset: -1px;
  box-shadow: var(--demo-window-shadow);
  transition: box-shadow 180ms var(--demo-ease), outline-color 180ms var(--demo-ease);
  will-change: transform, opacity;
  pointer-events: auto;
}

.demo-win[hidden] { display: none !important; }
.demo-win[data-focused="true"] { box-shadow: 0 30px 72px rgba(0, 0, 0, .28), 0 10px 28px rgba(0, 0, 0, .16); }
.demo-stage-grid[data-layout-animating="true"] .demo-win { pointer-events: none; }
.demo-win.is-opening { animation: demo-window-in 280ms cubic-bezier(.2, .82, .2, 1) both; }
.demo-win.is-closing { pointer-events: none; animation: demo-window-out 200ms cubic-bezier(.25, .1, .25, 1) both; }

.demo-win-bar {
  position: absolute;
  z-index: 3;
  inset: 0 0 auto;
  height: var(--demo-win-bar-height);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 0 7px;
  color: var(--demo-window-bar-text);
  background: var(--demo-window-bar-surface);
  border: 0;
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  backdrop-filter: blur(20px) saturate(1.25);
}

.demo-win-bar-left { display: flex; align-items: center; gap: 3px; }
.demo-win-btn {
  min-width: 28px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 6px;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 7px;
}

.demo-win-close { position: relative; width: 28px; padding: 0; }
.demo-win-close::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: #FF5F57;
  border-radius: 50%;
  box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .18), 0 1px 1px rgba(0, 0, 0, .12);
}
.demo-win-close svg { position: relative; width: 7px; height: 7px; color: rgba(90, 18, 15, .76); opacity: 0; }
.demo-win-close:hover svg, .demo-win-close:focus-visible svg { opacity: 1; }
.demo-win-back span { font-size: 11px; font-weight: 560; }
.demo-win-bar-title { grid-column: 2; justify-self: center; min-width: 0; }
.demo-win-title { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; font-weight: 600; letter-spacing: 0; }

.demo-size-switch {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  color: inherit;
  background: var(--demo-window-bar-switch);
  border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  border-radius: 7px;
}
.demo-size-switch button { width: 25px; height: 22px; display: grid; place-items: center; padding: 0; color: inherit; background: transparent; border: 0; border-radius: 5px; box-shadow: none; transition: box-shadow var(--dur-short) var(--ease-standard); }
.demo-size-switch button:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, .16); }
.demo-size-switch button[aria-pressed="true"] { background: var(--demo-window-bar-selected); }
.demo-size-switch svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.demo-phone-content {
  position: absolute;
  inset: 0;
  padding-top: var(--demo-win-bar-height);
  overflow: hidden;
  background: #FFFBFE;
  color: #1D1B20;
}

.demo-m3-top-app-bar {
  position: relative;
  z-index: 3;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 20px;
  background: rgba(255, 251, 254, .94);
  box-shadow: 0 1px rgba(73, 69, 79, .08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.demo-m3-top-app-bar strong { font-size: 17px; font-weight: 650; letter-spacing: -.015em; }
.demo-m3-top-app-bar button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #49454F;
  background: transparent;
  border: 0;
  border-radius: 20px;
}
.demo-m3-top-app-bar svg { width: 19px; height: 19px; }

.demo-drag-scroll {
  scrollbar-width: none;
  overscroll-behavior: contain;
  touch-action: pan-y;
}
.demo-drag-scroll::-webkit-scrollbar { display: none; }
.demo-drag-scroll.is-dragging { scroll-behavior: auto; }

.demo-photos-content { background: #FFFBFE; }
.demo-photo-scroll {
  position: absolute;
  inset: calc(var(--demo-win-bar-height) + 58px) 0 54px;
  overflow: auto;
  padding: 11px 10px 24px;
}
.demo-photo-memory {
  position: relative;
  height: 96px;
  margin: 0 2px 12px;
  overflow: hidden;
  background: #BDD58D;
  border-radius: 24px;
  box-shadow: inset 0 0 0 2px #3B3741;
}
.demo-memory-orbit { position: absolute; border: 2px solid #3B3741; border-radius: 50%; }
.demo-memory-orbit.orbit-a { width: 132px; height: 132px; left: -20px; top: -58px; }
.demo-memory-orbit.orbit-b { width: 104px; height: 104px; right: 22px; bottom: -61px; }
.demo-memory-core { position: absolute; left: 36px; top: 29px; width: 38px; height: 38px; background: #D985A8; border: 2px solid #3B3741; border-radius: 12px 12px 20px 12px; transform: rotate(10deg); }
.demo-photo-memory > i { position: absolute; height: 7px; background: #3B3741; border-radius: 99px; }
.demo-photo-memory > i:nth-of-type(1) { width: 75px; left: 92px; top: 29px; }
.demo-photo-memory > i:nth-of-type(2) { width: 110px; left: 92px; top: 46px; }
.demo-photo-memory > i:nth-of-type(3) { width: 54px; left: 92px; top: 63px; }

.demo-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.demo-photo-tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  padding: 0;
  background: #E7E0EC;
  border: 0;
  border-radius: 11px;
  isolation: isolate;
  box-shadow: inset 0 0 0 2px #3B3741;
  transition: transform 140ms cubic-bezier(.2,0,0,1);
}
.demo-photo-tile:hover { transform: scale(.975); }
.demo-photo-scene::before,
.demo-photo-scene::after,
.demo-photo-scene > span,
.demo-photo-scene > i { content: ""; position: absolute; display: block; }
.demo-photo-scene::before { z-index: 1; }
.demo-photo-scene::after { z-index: 2; }
.demo-photo-scene > span { z-index: 3; }
.demo-photo-scene > i { z-index: 4; }

.demo-photo-scene[data-photo-scene="coast"] { background: #83C5CC; }
.demo-photo-scene[data-photo-scene="coast"]::before { left: -8%; right: -12%; bottom: -12%; height: 53%; background: #E1C96F; border: 2px solid #3B3741; border-radius: 62% 38% 0 0; transform: rotate(-5deg); }
.demo-photo-scene[data-photo-scene="coast"]::after { right: 12%; top: 12%; width: 20%; aspect-ratio: 1; background: #D985A8; border: 2px solid #3B3741; border-radius: 50%; }
.demo-photo-scene[data-photo-scene="coast"] > span { left: 10%; top: 47%; width: 38%; height: 10%; border-top: 3px solid #3B3741; border-bottom: 3px solid #3B3741; border-radius: 50%; }

.demo-photo-scene[data-photo-scene="city"] { background: #E1C96F; }
.demo-photo-scene[data-photo-scene="city"]::before { inset: 21% 8% 0; background: #3B3741; clip-path: polygon(0 26%,20% 26%,20% 0,43% 0,43% 38%,62% 38%,62% 14%,82% 14%,82% 31%,100% 31%,100% 100%,0 100%); }
.demo-photo-scene[data-photo-scene="city"]::after { right: 11%; top: 10%; width: 19%; aspect-ratio: 1; background: #83C5CC; border: 2px solid #3B3741; border-radius: 50%; }
.demo-photo-scene[data-photo-scene="city"] > span { left: 15%; bottom: 11%; width: 10%; height: 31%; background: #D985A8; box-shadow: 23px -9px #BDD58D, 46px 4px #D99A70; }

.demo-photo-scene[data-photo-scene="garden"] { background: #BDD58D; }
.demo-photo-scene[data-photo-scene="garden"]::before { left: 41%; top: 21%; width: 25%; aspect-ratio: 1; background: #E1C96F; border: 9px solid #D985A8; border-radius: 50%; box-shadow: -18px -2px 0 -7px #D985A8, 18px -2px 0 -7px #D985A8, 0 -18px 0 -7px #D985A8, 0 18px 0 -7px #D985A8; }
.demo-photo-scene[data-photo-scene="garden"]::after { left: 52%; top: 52%; width: 4px; height: 42%; background: #3B3741; transform: rotate(5deg); }
.demo-photo-scene[data-photo-scene="garden"] > span { left: 28%; bottom: 17%; width: 27%; height: 15%; background: #83C5CC; border: 2px solid #3B3741; border-radius: 90% 0 90% 0; transform: rotate(14deg); }

.demo-photo-scene[data-photo-scene="night"] { background: #3B3741; }
.demo-photo-scene[data-photo-scene="night"]::before { right: 13%; top: 11%; width: 24%; aspect-ratio: 1; background: #BDD58D; border-radius: 50%; box-shadow: -7px 0 #3B3741; }
.demo-photo-scene[data-photo-scene="night"]::after { inset: 62% -8% -12%; background: #D985A8; border: 2px solid #3B3741; border-radius: 55% 48% 0 0; }
.demo-photo-scene[data-photo-scene="night"] > span { left: 14%; top: 18%; width: 5px; height: 5px; background: #83C5CC; border-radius: 50%; box-shadow: 23px 17px #E1C96F, 42px -6px #D87975, 9px 45px #BDD58D; }

.demo-photo-scene[data-photo-scene="desert"] { background: #D99A70; }
.demo-photo-scene[data-photo-scene="desert"]::before { left: -14%; right: 5%; bottom: -12%; height: 61%; background: #E1C96F; border: 2px solid #3B3741; border-radius: 60% 42% 0 0; transform: rotate(-7deg); }
.demo-photo-scene[data-photo-scene="desert"]::after { right: 12%; top: 11%; width: 22%; aspect-ratio: 1; background: #D87975; border: 2px solid #3B3741; border-radius: 50%; }
.demo-photo-scene[data-photo-scene="desert"] > span { left: 26%; bottom: 18%; width: 7%; height: 35%; background: #3B3741; border-radius: 5px; box-shadow: 7px 8px 0 -1px #3B3741, -7px 14px 0 -1px #3B3741; }

.demo-photo-scene[data-photo-scene="lake"] { background: #83C5CC; }
.demo-photo-scene[data-photo-scene="lake"]::before { inset: 22% 4% 28%; background: #3B3741; clip-path: polygon(0 100%,23% 34%,39% 66%,61% 3%,100% 100%); }
.demo-photo-scene[data-photo-scene="lake"]::after { left: 0; right: 0; bottom: 0; height: 35%; background: #BDD58D; border-top: 3px solid #3B3741; }
.demo-photo-scene[data-photo-scene="lake"] > span { right: 12%; top: 12%; width: 18%; aspect-ratio: 1; background: #E1C96F; border: 2px solid #3B3741; border-radius: 50%; }

.demo-photo-scene[data-photo-scene="forest"] { background: #BDD58D; }
.demo-photo-scene[data-photo-scene="forest"]::before { left: 12%; bottom: -8%; width: 20%; height: 77%; background: #3B3741; clip-path: polygon(50% 0,100% 42%,72% 42%,100% 72%,62% 72%,62% 100%,38% 100%,38% 72%,0 72%,28% 42%,0 42%); box-shadow: 38px 8px #3B3741, 72px -4px #3B3741; }
.demo-photo-scene[data-photo-scene="forest"]::after { left: 37%; bottom: -8%; width: 27%; height: 61%; background: #D99A70; clip-path: polygon(44% 0,62% 0,100% 100%,0 100%); }
.demo-photo-scene[data-photo-scene="forest"] > span { right: 8%; top: 8%; width: 20%; aspect-ratio: 1; background: #D985A8; border: 2px solid #3B3741; border-radius: 50%; }

.demo-photo-scene[data-photo-scene="studio"] { background: #D985A8; }
.demo-photo-scene[data-photo-scene="studio"]::before { left: 22%; top: 18%; width: 56%; height: 62%; background: #E1C96F; border: 3px solid #3B3741; border-radius: 48% 48% 30% 30%; }
.demo-photo-scene[data-photo-scene="studio"]::after { left: 42%; top: 33%; width: 17%; aspect-ratio: 1; background: #3B3741; border-radius: 50%; }
.demo-photo-scene[data-photo-scene="studio"] > span { left: 14%; right: 14%; bottom: 10%; height: 9%; background: #83C5CC; border: 2px solid #3B3741; border-radius: 99px; }

.demo-photo-scene[data-photo-scene="snow"] { background: #EAFEFF; }
.demo-photo-scene[data-photo-scene="snow"]::before { inset: 21% 3% 19%; background: #3B3741; clip-path: polygon(0 100%,27% 23%,43% 60%,68% 2%,100% 100%); }
.demo-photo-scene[data-photo-scene="snow"]::after { inset: 36% 21% 38% 43%; background: #83C5CC; clip-path: polygon(0 100%,28% 0,44% 56%,72% 0,100% 100%); }
.demo-photo-scene[data-photo-scene="snow"] > span { right: 10%; top: 10%; width: 18%; aspect-ratio: 1; background: #D87975; border: 2px solid #3B3741; border-radius: 50%; }

.demo-photo-scene[data-photo-scene="canyon"] { background: #D87975; }
.demo-photo-scene[data-photo-scene="canyon"]::before { inset: 12% 0 0; background: #D99A70; border-top: 3px solid #3B3741; clip-path: polygon(0 16%,34% 0,45% 55%,64% 27%,100% 45%,100% 100%,0 100%); }
.demo-photo-scene[data-photo-scene="canyon"]::after { left: 44%; bottom: -6%; width: 18%; height: 65%; background: #83C5CC; border: 2px solid #3B3741; clip-path: polygon(30% 0,70% 0,100% 100%,0 100%); }
.demo-photo-scene[data-photo-scene="canyon"] > span { right: 10%; top: 10%; width: 18%; aspect-ratio: 1; background: #E1C96F; border: 2px solid #3B3741; border-radius: 50%; }

.demo-photo-scene[data-photo-scene="glass"] { background: #83C5CC; }
.demo-photo-scene[data-photo-scene="glass"]::before { width: 52%; height: 68%; left: 24%; top: 18%; background: #E1C96F; border: 3px solid #3B3741; border-radius: 8px 8px 22px 22px; transform: rotate(-8deg); }
.demo-photo-scene[data-photo-scene="glass"]::after { width: 4px; height: 65%; left: 58%; top: 3%; background: #3B3741; transform: rotate(13deg); transform-origin: bottom; }
.demo-photo-scene[data-photo-scene="glass"] > span { left: 29%; right: 27%; bottom: 22%; height: 28%; background: #D985A8; border-top: 3px solid #3B3741; border-radius: 0 0 17px 17px; transform: rotate(-8deg); }

.demo-photo-scene[data-photo-scene="dawn"] { background: #D985A8; }
.demo-photo-scene[data-photo-scene="dawn"]::before { left: 40%; top: 36%; width: 26%; aspect-ratio: 1; background: #E1C96F; border: 3px solid #3B3741; border-radius: 50%; }
.demo-photo-scene[data-photo-scene="dawn"]::after { inset: 60% -8% -10%; background: #3B3741; border-radius: 48% 52% 0 0; }
.demo-photo-scene[data-photo-scene="dawn"] > span { left: 0; right: 0; top: 17%; height: 5px; background: #D99A70; box-shadow: 0 14px #83C5CC; }

.demo-photo-scene[data-photo-scene="island"] { background: #83C5CC; }
.demo-photo-scene[data-photo-scene="island"]::before { left: 12%; right: 8%; bottom: 13%; height: 34%; background: #E1C96F; border: 2px solid #3B3741; border-radius: 50%; transform: rotate(-4deg); }
.demo-photo-scene[data-photo-scene="island"]::after { left: 49%; bottom: 39%; width: 8%; height: 38%; background: #3B3741; transform: rotate(8deg); }
.demo-photo-scene[data-photo-scene="island"] > span { left: 35%; bottom: 62%; width: 39%; height: 23%; background: #BDD58D; border: 2px solid #3B3741; border-radius: 70% 10% 70% 10%; transform: rotate(-10deg); }

.demo-photo-scene[data-photo-scene="bloom"] { background: #E1C96F; }
.demo-photo-scene[data-photo-scene="bloom"]::before { left: 37%; top: 23%; width: 27%; aspect-ratio: 1; background: #83C5CC; border: 10px solid #D985A8; border-radius: 50%; box-shadow: -18px 0 0 -7px #D985A8, 18px 0 0 -7px #D985A8, 0 -18px 0 -7px #D985A8, 0 18px 0 -7px #D985A8; }
.demo-photo-scene[data-photo-scene="bloom"]::after { left: 49%; top: 51%; width: 4px; height: 43%; background: #3B3741; }
.demo-photo-scene[data-photo-scene="bloom"] > span { left: 50%; bottom: 17%; width: 31%; height: 16%; background: #BDD58D; border: 2px solid #3B3741; border-radius: 0 90% 0 90%; transform: rotate(-11deg); }

.demo-photo-scene[data-photo-scene="rain"] { background: #3B3741; }
.demo-photo-scene[data-photo-scene="rain"]::before { left: 15%; top: 16%; width: 68%; height: 25%; background: #83C5CC; border: 2px solid #3B3741; border-radius: 50px; box-shadow: 15px 0 #83C5CC; }
.demo-photo-scene[data-photo-scene="rain"]::after { left: 18%; top: 50%; width: 5px; height: 26%; background: #BDD58D; transform: rotate(13deg); box-shadow: 24px -7px #D985A8, 48px 2px #E1C96F, 69px -9px #D87975; }
.demo-photo-scene[data-photo-scene="rain"] > span { left: 37%; bottom: 10%; width: 40%; height: 27%; background: #D985A8; border: 2px solid #3B3741; border-radius: 50% 50% 5px 5px; }

.demo-m3-bottom-bar {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 0;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(243, 237, 247, .97);
  box-shadow: 0 -1px rgba(73,69,79,.06);
}
.demo-m3-bottom-bar i { width: 28px; height: 16px; background: #79747E; border-radius: 10px; opacity: .38; }
.demo-m3-bottom-bar i:first-child { width: 48px; background: #D0BCFF; opacity: 1; box-shadow: inset 0 0 0 7px #E8DEF8; }

.demo-photo-detail {
  --photo-detail-origin-x: 50%;
  --photo-detail-origin-y: 50%;
  position: absolute;
  z-index: 5;
  inset: var(--demo-win-bar-height) 0 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 78px;
  background: #2F2B34;
  opacity: 0;
  visibility: hidden;
  transform: scale(.94);
  transform-origin: var(--photo-detail-origin-x) var(--photo-detail-origin-y);
  transition:
    opacity 180ms ease,
    transform 280ms cubic-bezier(.2,.75,.2,1),
    visibility 0s linear 280ms;
}
.demo-photos-content.is-detail .demo-photo-detail {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition-delay: 0s;
}
.demo-photo-detail-art { position: relative; min-height: 0; overflow: hidden; border-radius: 0 0 24px 24px; }
.demo-photo-detail-sheet { display: flex; align-items: center; justify-content: space-evenly; padding: 0 24px; }
.demo-photo-detail-sheet i { width: 36px; height: 36px; background: #49454F; border-radius: 18px; box-shadow: inset 0 0 0 10px #E8DEF8; }
.demo-photo-detail-sheet span { width: 9px; height: 9px; background: #CAC4D0; border-radius: 50%; }

.demo-messages-content { background: #FFFBFE; }
.demo-message-list {
  position: absolute;
  inset: calc(var(--demo-win-bar-height) + 58px) 0 0;
  overflow: auto;
  padding: 6px 8px 86px;
}
.demo-message-row {
  width: 100%;
  min-height: 68px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  padding: 7px 10px;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 18px;
  transition: background 120ms ease;
}
.demo-message-row:hover { background: #F3EDF7; }
.demo-message-row.is-selected { background: #E8DEF8; }
.demo-message-row > i,
.demo-message-profile > i {
  position: relative;
  width: 44px;
  height: 44px;
  overflow: hidden;
  background: var(--avatar-bg, #E8DEF8);
  border-radius: 50%;
  border: 2px solid #3B3741;
}
.demo-message-row > i::before,
.demo-message-profile > i::before { content: ""; position: absolute; left: 13px; top: 7px; width: 14px; height: 14px; background: var(--avatar-fg, #3B3741); border: 2px solid #3B3741; border-radius: 50%; }
.demo-message-row > i::after,
.demo-message-profile > i::after { content: ""; position: absolute; left: 6px; bottom: -5px; width: 28px; height: 24px; background: var(--avatar-fg, #3B3741); border: 2px solid #3B3741; border-radius: 50% 50% 30% 30%; }
.demo-messages-content [data-contact="blue"] { --avatar-bg:#83C5CC; --avatar-fg:#748FCE; }
.demo-messages-content [data-contact="green"] { --avatar-bg:#BDD58D; --avatar-fg:#6EA976; }
.demo-messages-content [data-contact="coral"] { --avatar-bg:#D99A70; --avatar-fg:#D87975; }
.demo-messages-content [data-contact="violet"] { --avatar-bg:#D985A8; --avatar-fg:#967FC2; }
.demo-messages-content [data-contact="gold"] { --avatar-bg:#E1C96F; --avatar-fg:#D99A70; }
.demo-messages-content [data-contact="teal"] { --avatar-bg:#83C5CC; --avatar-fg:#61A39B; }
.demo-messages-content [data-contact="rose"] { --avatar-bg:#D985A8; --avatar-fg:#D87975; }
.demo-messages-content [data-contact="indigo"] { --avatar-bg:#967FC2; --avatar-fg:#83C5CC; }
.demo-messages-content [data-contact="amber"] { --avatar-bg:#D99A70; --avatar-fg:#E1C96F; }
.demo-message-row > span { min-width: 0; display: grid; gap: 8px; }
.demo-message-row > span b,
.demo-message-row > span em { display: block; width: var(--line, 80%); height: 7px; background: #CAC4D0; border-radius: 99px; }
.demo-message-row > span b { height: 8px; background: #79747E; }
.demo-message-row > small { display: grid; justify-items: center; align-content: center; gap: 5px; }
.demo-message-row > small > i { width: 15px; height: 5px; background: #CAC4D0; border-radius: 99px; }
.demo-message-row > small > b { width: 7px; height: 7px; background: #806EA7; border-radius: 50%; }
.demo-compose {
  position: absolute;
  z-index: 4;
  right: 16px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #5E526F;
  background: #E8DEF8;
  border: 0;
  border-radius: 17px;
  box-shadow: 0 4px 12px rgba(33,0,93,.18);
}
.demo-compose svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.demo-message-detail {
  position: absolute;
  z-index: 5;
  inset: var(--demo-win-bar-height) 0 0;
  display: grid;
  grid-template-rows: 106px minmax(0, 1fr) 66px;
  overflow: hidden;
  background: #FFFBFE;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: opacity 170ms ease, transform 230ms cubic-bezier(.2,0,0,1), visibility 0s linear 230ms;
}
.demo-messages-content.is-detail .demo-message-detail { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.demo-message-profile {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  padding: 15px 18px 13px;
  background: #BDD58D;
  border-bottom: 2px solid #3B3741;
}
.demo-message-profile > i { width: 64px; height: 64px; }
.demo-message-profile > i::before { left: 20px; top: 10px; width: 20px; height: 20px; }
.demo-message-profile > i::after { left: 10px; bottom: -7px; width: 40px; height: 34px; }
.demo-message-profile > span { display: grid; gap: 10px; }
.demo-message-profile b,
.demo-message-profile em { display: block; height: 9px; background: #3B3741; border-radius: 99px; }
.demo-message-profile b { width: 72%; }
.demo-message-profile em { width: 46%; height: 7px; opacity: .55; }
.demo-message-thread {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  padding: 15px 14px;
  background: #FFFBFE;
}
.demo-message-thread i {
  width: 68%;
  height: 42px;
  flex: none;
  background: #83C5CC;
  border: 2px solid #3B3741;
  border-radius: 18px 18px 18px 5px;
}
.demo-message-thread i:nth-child(even) { align-self: flex-end; width: 58%; background: #D985A8; border-radius: 18px 18px 5px 18px; }
.demo-message-thread i:nth-child(3) { width: 77%; height: 54px; background: #E1C96F; }
.demo-message-thread i:nth-child(4) { width: 46%; background: #BDD58D; }
.demo-message-thread i:nth-child(5) { width: 61%; background: #D99A70; }
.demo-message-reply {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  background: #F3EDF7;
  border-top: 2px solid #3B3741;
}
.demo-message-reply i { width: 28px; height: 28px; background: #83C5CC; border: 2px solid #3B3741; border-radius: 50%; }
.demo-message-reply span { height: 36px; background: #FFFBFE; border: 2px solid #3B3741; border-radius: 18px; }
.demo-message-reply b { width: 32px; height: 32px; background: #D985A8; border: 2px solid #3B3741; border-radius: 50%; }

.demo-photo-tile.is-selected { box-shadow: inset 0 0 0 4px #3B3741; }

.demo-win[data-app="photos"]:is([data-orientation="L"], [data-orientation="W"]) .demo-m3-top-app-bar,
.demo-win[data-app="messages"]:is([data-orientation="L"], [data-orientation="W"]) .demo-m3-top-app-bar {
  right: 58%;
  border-right: 1px solid rgba(36,33,44,.12);
}
.demo-win[data-app="photos"]:is([data-orientation="L"], [data-orientation="W"]) .demo-photo-scroll,
.demo-win[data-app="messages"]:is([data-orientation="L"], [data-orientation="W"]) .demo-message-list {
  right: 58%;
}
.demo-win[data-app="photos"]:is([data-orientation="L"], [data-orientation="W"]) .demo-photo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.demo-win[data-app="photos"]:is([data-orientation="L"], [data-orientation="W"]) .demo-m3-bottom-bar {
  right: 58%;
}
.demo-win[data-app="messages"]:is([data-orientation="L"], [data-orientation="W"]) .demo-compose {
  right: calc(58% + 14px);
}
.demo-win[data-app="photos"]:is([data-orientation="L"], [data-orientation="W"]) .demo-photo-detail,
.demo-win[data-app="messages"]:is([data-orientation="L"], [data-orientation="W"]) .demo-message-detail {
  left: 42%;
  opacity: 1;
  visibility: visible;
  transform: none;
  border-left: 1px solid rgba(36,33,44,.12);
  transition: none;
}
.demo-win[data-app="photos"]:is([data-orientation="L"], [data-orientation="W"]) .demo-photo-detail {
  grid-template-rows: minmax(0, 1fr) 64px;
}
.demo-win[data-app="messages"]:is([data-orientation="L"], [data-orientation="W"]) .demo-message-detail {
  grid-template-rows: 88px minmax(0, 1fr) 58px;
}
.demo-win[data-app="messages"]:is([data-orientation="L"], [data-orientation="W"]) .demo-message-profile {
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 14px;
}
.demo-win[data-app="messages"]:is([data-orientation="L"], [data-orientation="W"]) .demo-message-profile > i {
  width: 50px;
  height: 50px;
}
.demo-win[data-app="messages"]:is([data-orientation="L"], [data-orientation="W"]) .demo-message-profile > i::before {
  left: 15px; top: 8px; width: 16px; height: 16px;
}
.demo-win[data-app="messages"]:is([data-orientation="L"], [data-orientation="W"]) .demo-message-profile > i::after {
  left: 7px; bottom: -6px; width: 32px; height: 27px;
}
.demo-win[data-app="messages"]:is([data-orientation="L"], [data-orientation="W"]) .demo-message-thread {
  gap: 8px;
  padding: 12px;
}
.demo-win[data-app="messages"]:is([data-orientation="L"], [data-orientation="W"]) .demo-message-thread i {
  height: 34px;
}

.demo-maps-content { padding-top: var(--demo-win-bar-height); background: #F4F2EA; }
.demo-map-viewport {
  position: absolute;
  inset: var(--demo-win-bar-height) 0 0;
  overflow: hidden;
  background: #F4F2EA;
  touch-action: none;
}
.demo-map-canvas {
  --map-pan-x: 0px;
  --map-pan-y: 0px;
  --map-zoom: 1;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 840px;
  height: 840px;
  background: #F4F2EA;
  transform: translate(calc(-50% + var(--map-pan-x)), calc(-50% + var(--map-pan-y))) scale(var(--map-zoom));
  transform-origin: center;
  will-change: transform;
}
.demo-map-canvas.is-recentering { transition: transform 380ms cubic-bezier(.2,0,0,1); }
.demo-map-canvas > svg { display: block; width: 100%; height: 100%; }
.demo-map-search {
  position: absolute;
  z-index: 4;
  top: calc(var(--demo-win-bar-height) + 12px);
  left: 12px;
  right: 12px;
  height: 48px;
  display: grid;
  grid-template-columns: 20px minmax(0,1fr) 28px;
  align-items: center;
  gap: 11px;
  padding: 0 10px 0 15px;
  color: #625F68;
  background: rgba(255,255,252,.96);
  border: 1px solid #D5D1C8;
  border-radius: 24px;
  box-shadow: 0 4px 14px rgba(60,57,51,.14);
  pointer-events: none;
}
.demo-map-search svg { width: 19px; height: 19px; }
.demo-map-search > span { width: 58%; height: 8px; background: #B8B4BC; border-radius: 99px; }
.demo-map-search > i { width: 28px; height: 28px; background: #DCD4EA; border-radius: 50%; box-shadow: inset 0 0 0 7px #806EA7; }
.demo-map-pin { position: absolute; z-index: 3; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; background: #806EA7; border: 3px solid #FFFEFB; border-radius: 50% 50% 50% 8px; box-shadow: 0 5px 12px rgba(54,49,62,.24); transform: rotate(-45deg); }
.demo-map-pin span { width: 9px; height: 9px; background: #FFFEFB; border-radius: 50%; }
.demo-map-pin.pin-a { left: 56%; top: 48%; }
.demo-map-pin.pin-b { left: 72%; top: 32%; background: #5F8565; transform: rotate(-45deg) scale(.86); }
.demo-map-user { position: absolute; z-index: 4; left: 47%; top: 57%; width: 26px; height: 26px; display: grid; place-items: center; background: rgba(83,132,197,.18); border-radius: 50%; box-shadow: 0 0 0 11px rgba(83,132,197,.10); }
.demo-map-user i { width: 11px; height: 11px; background: #477FC4; border: 3px solid #FFFFFF; border-radius: 50%; box-shadow: 0 2px 5px rgba(48,64,83,.22); }
.demo-map-actions {
  position: absolute;
  z-index: 4;
  right: 14px;
  bottom: 72px;
  display: grid;
  overflow: hidden;
  background: #FFFEFB;
  border: 1px solid #D5D1C8;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(60,57,51,.16);
}
.demo-map-actions button { width: 42px; height: 40px; padding: 0; color: #5E5963; background: transparent; border: 0; font: 500 21px/1 var(--demo-font); }
.demo-map-actions button:hover { background: #F1EEE8; }
.demo-map-actions button:disabled { color: #B8B4BC; }
.demo-map-actions button + button { border-top: 1px solid #E3DFD7; }
.demo-map-location { position: absolute; z-index: 5; right: 14px; bottom: 16px; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; color: #695B8F; background: #FFFEFB; border: 1px solid #D5D1C8; border-radius: 16px; box-shadow: 0 4px 12px rgba(60,57,51,.16); }
.demo-map-location svg { width: 21px; height: 21px; }

.demo-map-detail {
  position: absolute;
  z-index: 6;
  inset: var(--demo-win-bar-height) 0 0;
  display: grid;
  grid-template-rows: minmax(170px, 46%) minmax(0, 1fr) 70px;
  overflow: hidden;
  background: #F8F7F2;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 170ms ease, transform 240ms cubic-bezier(.2,0,0,1), visibility 0s linear 240ms;
}
.demo-maps-content.is-detail .demo-map-detail { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.demo-map-detail-art {
  position: relative;
  overflow: hidden;
  background: #D8E5CE;
  border-bottom: 1px solid #D5D1C8;
}
.demo-map-detail-art::before,
.demo-map-detail-art::after,
.demo-map-detail-art i,
.demo-map-detail-art span,
.demo-map-detail-art b { content: ""; position: absolute; display: block; }
.demo-map-detail-art::before { width: 68%; height: 170%; left: -23%; top: -38%; border: 10px solid #FCFBF7; border-radius: 50%; }
.demo-map-detail-art::after { width: 48%; height: 115%; right: -8%; bottom: -57%; background: #B9DCE8; border: 8px solid #FCFBF7; border-radius: 50%; }
.demo-map-detail-art i { width: 72px; height: 72px; left: 50%; top: 50%; translate: -50% -50%; background: #806EA7; border: 4px solid #FFFEFB; border-radius: 50% 50% 50% 13px; box-shadow: 0 5px 14px rgba(54,49,62,.18); transform: rotate(-45deg); }
.demo-map-detail-art i::after { content: ""; position: absolute; width: 18px; height: 18px; left: 23px; top: 23px; background: #FFFEFB; border-radius: 50%; }
.demo-map-detail-art span { left: 11%; right: 8%; top: 24%; height: 8px; background: #E4AF52; border-radius: 99px; transform: rotate(13deg); }
.demo-map-detail-art b { left: 18%; right: 14%; bottom: 20%; height: 7px; background: #FCFBF7; border-radius: 99px; transform: rotate(-8deg); }
.demo-map-detail[data-map-place="pink"] .demo-map-detail-art { background: #E7DAE0; }
.demo-map-detail[data-map-place="pink"] .demo-map-detail-art::after { background: #C7E0EA; }
.demo-map-detail[data-map-place="pink"] .demo-map-detail-art i { background: #5F8565; }
.demo-map-detail-copy { display: grid; align-content: center; gap: 12px; padding: 20px 24px; }
.demo-map-detail-copy b,
.demo-map-detail-copy span { display: block; height: 9px; background: #5F5A63; border-radius: 99px; }
.demo-map-detail-copy b { width: 62%; height: 12px; }
.demo-map-detail-copy span { width: 86%; opacity: .42; }
.demo-map-detail-copy span:last-child { width: 54%; }
.demo-map-detail-actions { display: flex; align-items: center; gap: 16px; padding: 12px 24px; border-top: 1px solid #DEDAD2; background: #F1EEE8; }
.demo-map-detail-actions i { width: 42px; height: 42px; background: #D7E6EA; border: 1px solid #C8D8DC; border-radius: 50%; }
.demo-map-detail-actions i:nth-child(2) { background: #E7DAE0; border-color: #D8CAD1; }
.demo-map-detail-actions i:nth-child(3) { background: #D8E5CE; border-color: #C7D5BE; }

.landing-demo-stage[data-demo-stopped="true"] .demo-typed-cursor,
.landing-demo-stage[data-demo-stopped="true"] .demo-empty-hint {
  animation-play-state: paused !important;
}

@keyframes demo-cursor-blink { 50% { opacity: 0; } }
@keyframes demo-hint-in { from { opacity: 0; transform: translateY(5px); } }
@keyframes demo-window-in { from { opacity: 0; transform: translateY(7px) scale(.965); } }
@keyframes demo-window-out { to { opacity: 0; transform: translateY(3px) scale(.975); } }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .landing-demo-stage {
    --demo-accent: #0A84FF;
    --demo-surface: #111113;
    --demo-surface-raised: #242426;
    --demo-surface-material: rgba(35, 35, 38, .82);
    --demo-surface-control: rgba(235, 235, 245, .10);
    --demo-surface-control-hover: rgba(235, 235, 245, .16);
    --demo-text: #F5F5F7;
    --demo-text-secondary: rgba(235, 235, 245, .70);
    --demo-text-tertiary: rgba(235, 235, 245, .50);
    --demo-separator: rgba(235, 235, 245, .14);
    --demo-separator-strong: rgba(235, 235, 245, .24);
    --demo-scrim: rgba(0, 0, 0, .52);
    --demo-window-surface: #000000;
    --demo-window-bar-surface: rgba(24, 24, 26, .62);
    --demo-window-bar-text: rgba(255, 255, 255, .90);
    --demo-window-bar-switch: rgba(0, 0, 0, .10);
    --demo-window-bar-selected: rgba(255, 255, 255, .24);
    --demo-window-shadow: 0 30px 72px rgba(0, 0, 0, .62), 0 10px 28px rgba(0, 0, 0, .42);
  }
  :root:not([data-theme="light"]) .demo-phone-content { filter: brightness(.82); }
}

:root[data-theme="dark"] .landing-demo-stage {
  --demo-accent: #0A84FF;
  --demo-surface: #111113;
  --demo-surface-raised: #242426;
  --demo-surface-material: rgba(35, 35, 38, .82);
  --demo-surface-control: rgba(235, 235, 245, .10);
  --demo-surface-control-hover: rgba(235, 235, 245, .16);
  --demo-text: #F5F5F7;
  --demo-text-secondary: rgba(235, 235, 245, .70);
  --demo-text-tertiary: rgba(235, 235, 245, .50);
  --demo-separator: rgba(235, 235, 245, .14);
  --demo-separator-strong: rgba(235, 235, 245, .24);
  --demo-scrim: rgba(0, 0, 0, .52);
  --demo-window-surface: #000000;
  --demo-window-bar-surface: rgba(24, 24, 26, .62);
  --demo-window-bar-text: rgba(255, 255, 255, .90);
  --demo-window-bar-switch: rgba(0, 0, 0, .10);
  --demo-window-bar-selected: rgba(255, 255, 255, .24);
  --demo-window-shadow: 0 30px 72px rgba(0, 0, 0, .62), 0 10px 28px rgba(0, 0, 0, .42);
}
:root[data-theme="dark"] .demo-phone-content { filter: brightness(.82); }

@media (prefers-reduced-motion: reduce) {
  .demo-win, .demo-search-surface, .demo-search-scrim { transition: none; }
  .demo-typed-cursor, .demo-empty-hint, .demo-win.is-opening, .demo-win.is-closing { animation: none; }
}
