/* Glimpse — "Everything that goes wrong on a shared screen".
   Five rows. Each pairs a narrow text column (what happened, Glimpse's answer as a floating card)
   with a large wallpaper panel holding a life-size macOS scene. Scenes are drawn on an 800 × 560
   canvas and scaled to the panel, so every detail keeps its proportions at any width. */

.scn-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.scn-head { margin-bottom: 120px; }
.scn-head .h-sect { text-wrap: balance; }
.scn-sub { margin: 18px auto 0; max-width: 560px; text-wrap: balance; font-size: 21px; line-height: 1.4; color: var(--ink-2); letter-spacing: -0.02em; }

.scn-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 168px; }

/* ---------- Row ---------- */
.scn-row {
  display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  column-gap: clamp(48px, 6vw, 88px); align-items: center;
}
.scn-row:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }
.scn-row:nth-child(even) .scn-text { order: 2; }
.scn-media { margin: 0; min-width: 0; }

.scn-text { min-width: 0; }
.scn-ctx { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 7px; font-size: 13px; line-height: 1.4; color: var(--ink-3); letter-spacing: -0.008em; }
.scn-ctx i { align-self: center; width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.scn-ctx b { font-weight: 600; color: var(--ink); }

/* The floating card: Glimpse's side of the moment */
.scn-card {
  position: relative; margin: 12px 0 0; display: flex; align-items: center; gap: 11px;
  padding: 11px 14px 11px 11px; border-radius: 14px; background: var(--paper);
  box-shadow: 0 0 0 .5px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.05), 0 14px 34px -14px rgba(0,0,0,.28);
}
.scn-card-app { flex: none; width: 30px; height: 30px; }
.scn-card-ic { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); }
.scn-card-ic svg { width: 17px; height: 17px; }
.scn-card-tx { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 1px; }
.scn-card-tx b { display: flex; align-items: center; gap: 5px; font-size: 14px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; }
.scn-card-tx span { font-size: 12.5px; line-height: 1.35; color: var(--ink-2); letter-spacing: -0.005em; }
.scn-card-end { flex: none; width: 17px; height: 17px; color: var(--ink-3); }
.scn-card .ok { width: 13px; height: 13px; color: #28a745; }

.scn-card-list { display: block; padding: 10px 12px 6px; }
.scn .scl-h { margin: 0 0 6px; display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.scn .scl-h img { width: 16px; height: 16px; }
.scn .scl-r { margin: 0; display: flex; align-items: center; gap: 9px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px; }
.scn .scl-r .ai { flex: none; width: 22px; height: 22px; }
.scn .scl-r b { flex: 1; min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scn .scl-r em { flex: none; font-style: normal; font-size: 11.5px; font-weight: 500; color: var(--ink-3); display: inline-flex; align-items: center; gap: 5px; }
.scn .scl-r em.on { color: #1f8f3a; }
.scn .scl-r em.on::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #34c759; }
.scn .scl-r.off b { color: var(--ink-3); }
.scn .scl-r.off .ai { opacity: .45; filter: grayscale(1); }

.scn-thumb {
  flex: none; position: relative; width: 58px; height: 36px; border-radius: 6px; overflow: hidden;
  background: #fff; box-shadow: 0 0 0 1px var(--line-2); padding: 5px 6px;
}
.scn-thumb b { display: block; width: 60%; height: 4px; border-radius: 2px; background: var(--ink); }
.scn-thumb s { display: block; width: 80%; height: 2px; margin-top: 3px; border-radius: 1px; background: var(--ink-4); }
.scn-thumb u { position: absolute; right: 6px; bottom: 5px; width: 16px; height: 12px; border-radius: 2px; background: linear-gradient(90deg, #3a8cf5 0 3px, transparent 3px 5px, #3a8cf5 5px 8px, transparent 8px 10px, #3a8cf5 10px); clip-path: polygon(0 60%, 30% 60%, 30% 35%, 62% 35%, 62% 0, 100% 0, 100% 100%, 0 100%); }

.scn-meter { flex: none; width: 34px; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.scn-meter i { display: block; width: 72%; height: 100%; border-radius: 2px; background: var(--accent); }

.scn-card-hud { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 14px 11px; }
.scn-hud {
  margin: 0; display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 13px 0 11px; border-radius: 14px;
  background: #1d1d1f; color: rgba(255,255,255,.95); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.scn-hud i { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px rgba(255,59,48,.25); }
.scn-card-note { font-size: 12.5px; color: var(--ink-2); padding-left: 2px; }

.scn-desc .scn-em { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; color: var(--ink); font-weight: 500; }

.scn-hint { margin: 12px 0 0; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-3); letter-spacing: -0.005em; }
.scn .kc {
  flex: none; display: inline-flex; align-items: center; height: 19px; padding: 0 6px; border-radius: 5px;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 0 var(--line-2);
  font-size: 10.5px; font-weight: 500; color: var(--ink-2); letter-spacing: 0;
}

.scn-cat { margin: 40px 0 0; font: 500 12px/1.3 var(--mono); color: var(--ink-3); letter-spacing: 0; }
.scn-title { margin: 0; font-size: 32px; line-height: 1.12; text-wrap: balance; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); }
.scn .scn-fix {
  margin: 22px 0 0; padding: 16px 18px 18px; border-radius: 16px;
  background: var(--paper-2);
  font-size: 19px; line-height: 1.4; font-weight: 500; color: var(--ink); letter-spacing: -0.018em; text-wrap: pretty;
}
.scn .scn-fix b { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.scn .scn-fix img { flex: none; width: 20px; height: 20px; }
.scn-desc { margin: 14px 0 0; font-size: 19px; line-height: 1.47; color: var(--ink-2); letter-spacing: -0.012em; }

/* ---------- Panel + canvas ---------- */
.scn-panel {
  position: relative; aspect-ratio: 800 / 560; border-radius: 24px; overflow: hidden;
  background: #8c7fd8; container-type: inline-size; isolation: isolate;
  box-shadow: 0 0 0 .5px rgba(0,0,0,.08);
}
.scn-canvas {
  position: absolute; left: 0; top: 0; width: 800px; height: 560px; transform-origin: 0 0;
  transform: scale(var(--k, tan(atan2(100cqw, 800px))));
  font-family: var(--sans); color: var(--ink); letter-spacing: -0.01em; line-height: 1.3;
  -webkit-font-smoothing: antialiased; user-select: none; pointer-events: none;
}
.scn-canvas p { margin: 0; }
.scn-wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); filter: saturate(1.05); }

.scn .win {
  position: absolute; background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 0 .5px rgba(0,0,0,.3), inset 0 0 0 .5px rgba(255,255,255,.5), 0 24px 60px -16px rgba(0,0,0,.5), 0 8px 20px -10px rgba(0,0,0,.3);
}
.scn .tl { display: flex; gap: 8px; flex: none; }
.scn .tl i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.16); }
.scn .tl i:nth-child(2) { background: #febc2e; }
.scn .tl i:nth-child(3) { background: #28c840; }
.scn .tb-i { flex: none; width: 17px; height: 17px; color: #6e6e73; }
.scn .tb-i.sm { width: 15px; height: 15px; }
.scn .tb-i.dim { opacity: .4; }
.scn .av {
  flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--c, linear-gradient(#a5a9b2, #868a93)); color: #fff; font-size: 10.5px; font-weight: 600; letter-spacing: .02em;
}
.scn .cur { position: absolute; width: 17px; height: 24px; z-index: 30; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.3)); }

/* Zoom's "You are screen sharing" bar */
.scn .zm-bar {
  position: absolute; left: 40px; top: 14px; z-index: 20; display: flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 4px 0 12px; border-radius: 8px; background: rgba(36,36,38,.92);
  box-shadow: 0 0 0 .5px rgba(255,255,255,.12) inset, 0 8px 20px -8px rgba(0,0,0,.5);
  color: #fff; font-size: 12px; font-weight: 500; white-space: nowrap;
}
.scn .zm-bar i { width: 8px; height: 8px; border-radius: 50%; background: #23d959; box-shadow: 0 0 0 3px rgba(35,217,89,.22); }
.scn .zm-bar span { margin-left: 6px; padding: 4px 10px; border-radius: 5px; background: #e02828; font-size: 11.5px; font-weight: 600; }

/* ---------- 1 · Keynote + notification ---------- */
.scn .kn { left: 40px; top: 60px; width: 720px; height: 470px; background: #ececee; display: flex; flex-direction: column; }
.scn .kn-tb { position: relative; flex: none; height: 74px; background: #f6f6f7; border-bottom: 1px solid #d9d9dd; }
.scn .kn-tb .tl { position: absolute; left: 14px; top: 10px; }
.scn .kn-title { position: absolute; left: 0; right: 0; top: 7px; display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #2a2a2c; }
.scn .kn-title span { font-weight: 400; color: #8e8e93; }
.scn .kn-title span::before { content: "— "; }
.scn .kn-doc { width: 15px; height: 15px; }
.scn .kn-tools { position: absolute; left: 14px; right: 14px; bottom: 6px; display: flex; align-items: flex-end; justify-content: space-between; color: #55555a; }
.scn .kn-tools span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9.5px; color: #6e6e73; min-width: 32px; }
.scn .kn-tools svg { width: 18px; height: 18px; color: #4a4a4f; }
.scn .kn-tools b { height: 18px; display: grid; place-items: center; padding: 0 6px; border-radius: 4px; box-shadow: inset 0 0 0 1px #d2d2d7; background: #fff; font-size: 10px; font-weight: 500; color: #3a3a3c; }
.scn .kn-tools i { width: 1px; height: 30px; background: #dcdce0; margin: 0 2px; }
.scn .kn-body { flex: 1; display: flex; min-height: 0; }
.scn .kn-nav { flex: none; width: 116px; padding: 12px 10px 0 6px; background: #f2f2f4; border-right: 1px solid #dcdce0; display: flex; flex-direction: column; gap: 10px; }
.scn .kn-th { display: flex; align-items: flex-start; gap: 5px; }
.scn .kn-th em { width: 12px; font-style: normal; font-size: 9px; color: #8e8e93; text-align: right; padding-top: 2px; }
.scn .th { position: relative; width: 84px; height: 47px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 .5px rgba(0,0,0,.18); padding: 6px 7px; overflow: hidden; }
.scn .th b { display: block; width: 55%; height: 4px; border-radius: 1px; background: #1d1d1f; }
.scn .th s { display: block; width: 78%; height: 2px; margin-top: 4px; border-radius: 1px; background: #c7c7cc; }
.scn .th-dark { background: #1d1d1f; display: flex; flex-direction: column; justify-content: center; }
.scn .th-dark b { background: #fff; width: 48%; }
.scn .th-dark s { background: #6e6e73; width: 30%; }
.scn .th-bars { display: flex; align-items: flex-end; gap: 3px; padding-top: 14px; }
.scn .th-bars b { position: absolute; left: 7px; top: 6px; width: 46%; }
.scn .th-bars u { display: block; flex: 1; height: var(--h); background: #c7d9f7; border-radius: 1px 1px 0 0; }
.scn .th-bars u:last-child { background: #0a74ef; }
.scn .th-grid s { width: 100%; height: 6px; border-radius: 0; background: repeating-linear-gradient(90deg, #e5e5ea 0 22px, #fff 22px 24px); margin-top: 3px; }
.scn .th-img s { position: absolute; right: 7px; top: 6px; bottom: 6px; width: 38%; height: auto; margin: 0; background: linear-gradient(135deg, #f7b267, #f25c54); border-radius: 2px; }
.scn .kn-th.on .th { box-shadow: 0 0 0 2.5px #0a74ef; }
.scn .kn-th.on em { color: #0a74ef; font-weight: 600; }
.scn .kn-stage { flex: 1; display: grid; place-items: center; }
.scn .slide {
  position: relative; width: 540px; height: 304px; background: #fff; padding: 30px 34px;
  box-shadow: 0 0 0 .5px rgba(0,0,0,.12), 0 6px 18px -8px rgba(0,0,0,.2);
}
.scn .sl-k { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #0a74ef; }
.scn .sl-t { margin-top: 6px !important; font-size: 28px; line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; color: #1d1d1f; }
.scn .sl-s { margin-top: 6px !important; font-size: 12px; color: #6e6e73; }
.scn .sl-chart { position: absolute; left: 34px; bottom: 26px; width: 290px; height: 160px; display: flex; align-items: flex-end; gap: 16px; border-bottom: 1px solid #d2d2d7; }
.scn .sl-chart div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.scn .sl-chart i { display: block; width: 100%; height: var(--h); background: #c9dbf8; border-radius: 4px 4px 0 0; }
.scn .sl-chart .hi i { background: #0a74ef; }
.scn .sl-chart b { font-size: 11px; font-weight: 600; color: #3a3a3c; margin-bottom: 5px; font-variant-numeric: tabular-nums; }
.scn .sl-chart span { position: absolute; bottom: -18px; font-size: 10px; color: #8e8e93; }
.scn .sl-stat { position: absolute; right: 36px; bottom: 40px; width: 150px; padding-left: 16px; border-left: 2px solid #0a74ef; }
.scn .sl-stat b { display: block; font-size: 40px; line-height: 1; font-weight: 700; letter-spacing: -0.04em; color: #1d1d1f; }
.scn .sl-stat span { display: block; margin-top: 6px; font-size: 11px; color: #6e6e73; }

.scn .ntf {
  position: absolute; right: 16px; top: 14px; z-index: 25; width: 340px; display: flex; gap: 11px; padding: 11px 14px 12px 11px;
  border-radius: 18px; background: rgba(242,242,245,.86);
  -webkit-backdrop-filter: blur(24px) saturate(1.8); backdrop-filter: blur(24px) saturate(1.8);
  box-shadow: 0 0 0 .5px rgba(0,0,0,.14), inset 0 0 0 .5px rgba(255,255,255,.7), 0 14px 36px -10px rgba(0,0,0,.4);
  transition: transform .7s var(--ease-out), opacity .5s var(--ease-out);
}
.scn .ntf-ic { flex: none; width: 36px; height: 36px; }
.scn .ntf-tx { min-width: 0; font-size: 12.5px; line-height: 1.32; color: #1d1d1f; }
.scn .ntf-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1px !important; }
.scn .ntf-h b { font-weight: 600; font-size: 13px; }
.scn .ntf-h span { font-size: 11px; color: #8e8e93; }

/* ---------- 2 · Mail + Zoom's window picker ---------- */
.scn .ml { left: 26px; top: 28px; width: 748px; height: 506px; display: flex; flex-direction: column; }
.scn .ml::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 3px #23d959; opacity: 0; transition: opacity .3s; pointer-events: none; }
.scn .ml-tb { flex: none; height: 52px; display: flex; align-items: center; gap: 14px; padding: 0 14px; border-bottom: 1px solid #e3e3e6; background: #fbfbfc; }
.scn .ml-tb .tl { margin-right: 6px; }
.scn .ml-title { display: flex; flex-direction: column; margin-left: 66px !important; }
.scn .ml-title b { font-size: 13px; font-weight: 600; }
.scn .ml-title span { font-size: 10.5px; color: #8e8e93; }
.scn .ml-tools { margin-left: auto; display: flex; gap: 17px; color: #6e6e73; }
.scn .ml-tools svg { width: 17px; height: 17px; }
.scn .ml-body { flex: 1; display: flex; min-height: 0; }
.scn .ml-side { flex: none; width: 150px; padding: 10px 8px; background: #f1f1f3; border-right: 1px solid #e3e3e6; }
.scn .ml-side p { display: flex; align-items: center; gap: 7px; height: 24px; padding: 0 7px; border-radius: 6px; font-size: 12px; color: #2c2c2e; }
.scn .ml-side p svg { width: 14px; height: 14px; color: #0a74ef; }
.scn .ml-side p em { margin-left: auto; font-style: normal; font-size: 11px; color: #8e8e93; }
.scn .ml-side p.on { background: rgba(0,0,0,.08); font-weight: 500; }
.scn .ml-side .ml-sh { height: 22px; margin-top: 4px !important; font-size: 10.5px; font-weight: 600; color: #8e8e93; }
.scn .ml-side .ml-sh + p { margin-top: 0; }
.scn .ml-list { flex: none; width: 246px; border-right: 1px solid #e3e3e6; overflow: hidden; }
.scn .ml-m { position: relative; padding: 9px 12px 10px 20px; border-bottom: 1px solid #ededf0; font-size: 11.5px; }
.scn .ml-m > i { position: absolute; left: 7px; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: #0a74ef; }
.scn .ml-m p:first-of-type { display: flex; justify-content: space-between; align-items: baseline; }
.scn .ml-m b { font-size: 12.5px; font-weight: 600; }
.scn .ml-m span { font-size: 10.5px; color: #8e8e93; }
.scn .ml-m .sj { margin-top: 1px !important; color: #1d1d1f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scn .ml-m .pv { margin-top: 2px !important; color: #8e8e93; line-height: 1.32; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.scn .ml-m.on { background: #0a64d8; border-radius: 7px; margin: 4px 5px; border-bottom-color: transparent; padding-left: 15px; }
.scn .ml-m.on > i { background: #fff; left: 4px; }
.scn .ml-m.on, .scn .ml-m.on .sj, .scn .ml-m.on span, .scn .ml-m.on .pv { color: #fff; }
.scn .ml-m.on .pv { color: rgba(255,255,255,.82); }
.scn .ml-read { flex: 1; min-width: 0; padding: 16px 22px; font-size: 12px; line-height: 1.5; color: #2c2c2e; }
.scn .ml-read > p + p { margin-top: 9px; }
.scn .ml-from { display: flex; align-items: center; gap: 9px; padding-bottom: 12px; border-bottom: 1px solid #ededf0; }
.scn .ml-from .av { width: 32px; height: 32px; background: linear-gradient(#b1b5bd, #8a8e97); }
.scn .ml-from p { display: flex; flex-direction: column; line-height: 1.3; }
.scn .ml-from b { font-size: 12.5px; font-weight: 600; }
.scn .ml-from span { font-size: 10.5px; color: #8e8e93; }
.scn .ml-from em { margin-left: auto; align-self: flex-start; font-style: normal; font-size: 10.5px; color: #8e8e93; }
.scn .ml-read .ml-sj { margin-top: 14px !important; font-size: 17px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; color: #1d1d1f; }
.scn .ml-fig { display: grid; grid-template-columns: auto 1fr; gap: 3px 16px; padding: 10px 12px; border-radius: 8px; background: #f5f5f7; }
.scn .ml-fig span { color: #6e6e73; }
.scn .ml-fig b { font-weight: 600; font-variant-numeric: tabular-nums; }
.scn .ml-att { display: inline-flex !important; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px #e3e3e6; font-size: 11.5px; font-weight: 500; }
.scn .ml-att svg { width: 15px; height: 15px; color: #e0443e; }
.scn .ml-att span { font-weight: 400; color: #8e8e93; }

.scn .zp {
  position: absolute; left: 120px; top: 176px; width: 500px; z-index: 10; border-radius: 12px; overflow: hidden; background: #f7f7f8;
  box-shadow: 0 0 0 .5px rgba(0,0,0,.3), 0 30px 70px -14px rgba(0,0,0,.55), 0 10px 24px -10px rgba(0,0,0,.3);
  transition: opacity .35s var(--ease), transform .45s var(--ease-out);
}
.scn .zp-top { position: relative; height: 42px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #e3e3e6; background: #fff; }
.scn .zp-top .tl { position: absolute; left: 14px; }
.scn .zp-tabs { display: flex; gap: 26px; font-size: 12.5px; color: #6e6e73; }
.scn .zp-tabs b { font-weight: 600; color: #0e71eb; box-shadow: 0 13px 0 -11px #0e71eb; }
.scn .zp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 16px; padding: 16px 20px 4px; }
.scn .zp-t p { margin-top: 6px !important; font-size: 10.5px; color: #3a3a3c; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scn .zp-th { position: relative; height: 80px; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px #dedee2; transition: box-shadow .2s; }
.scn .zp-t.sel .zp-th { box-shadow: 0 0 0 3px #0e71eb; }
.scn .zp-t.sel p { color: #0e71eb; font-weight: 500; }
.scn .th-desk img { width: 100%; height: 100%; object-fit: cover; }
.scn .th-desk i { position: absolute; left: 14%; top: 22%; width: 42%; height: 50%; border-radius: 3px; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.scn .th-desk i + i { left: 44%; top: 34%; width: 40%; background: #1e1f25; }
.scn .th-wb svg { width: 100%; height: 100%; }
.scn .th-phone { background: #e9e9ee; display: grid; place-items: center; }
.scn .th-phone i { width: 26px; height: 50px; border-radius: 6px; box-shadow: inset 0 0 0 2px #8e8e93; }
.scn .th-key { background: #2a2a2d; }
.scn .th-key i { position: absolute; left: 0; right: 0; top: 0; height: 12px; background: #3a3a3d; }
.scn .th-key b { position: absolute; left: 22%; top: 26%; width: 56%; height: 58%; background: #fff linear-gradient(#1d1d1f, #1d1d1f) 12% 22% / 50% 7px no-repeat; }
.scn .th-mail { background: #fff; }
.scn .th-mail i { position: absolute; left: 0; top: 0; bottom: 0; width: 22%; background: #f1f1f3; }
.scn .th-mail s { display: block; margin: 7px 0 0 27%; width: 34%; height: 9px; border-radius: 2px; background: linear-gradient(#c7c7cc, #c7c7cc) 0 0 / 70% 3px no-repeat, linear-gradient(#e5e5ea, #e5e5ea) 0 6px / 100% 3px no-repeat; }
.scn .th-mail s:first-of-type { margin-top: 10px; }
.scn .th-mail u { position: absolute; left: 66%; top: 10px; right: 8px; bottom: 10px; background: repeating-linear-gradient(#e5e5ea 0 3px, transparent 3px 8px); }
.scn .th-saf { background: #fff; }
.scn .th-saf i { position: absolute; left: 0; right: 0; top: 0; height: 12px; background: #f1f1f3; }
.scn .th-saf b { position: absolute; left: 12%; right: 12%; top: 30%; bottom: 14%; background: linear-gradient(transparent 60%, #e7f0fd 60%), linear-gradient(160deg, transparent 48%, #0a74ef 49% 52%, transparent 53%); border-bottom: 1px solid #d2d2d7; }
.scn .zp-foot { display: flex; align-items: center; gap: 18px; padding: 12px 20px 14px; margin-top: 8px; border-top: 1px solid #e3e3e6; background: #fff; font-size: 11.5px; color: #3a3a3c; }
.scn .zp-ck { display: inline-flex; align-items: center; gap: 6px; }
.scn .zp-ck i { width: 13px; height: 13px; border-radius: 3.5px; box-shadow: inset 0 0 0 1px #b8b8bd; background: #fff; }
.scn .zp-share { margin-left: auto; padding: 6px 20px; border-radius: 7px; background: #0e71eb; color: #fff; font-size: 12px; font-weight: 600; transition: filter .15s; }
.scn .zp-share.press { filter: brightness(.85); }
.scn .zm-bar-c { left: 50%; transform: translate(-50%, -6px); opacity: 0; transition: opacity .35s var(--ease), transform .45s var(--ease-out); }
.scn .s2 .cur { left: 0; top: 0; transform: translate(var(--cx, 572px), var(--cy, 484px)); transition: transform .8s cubic-bezier(.45,.05,.25,1); }
.scn .s2 .cur.click { transform: translate(var(--cx), var(--cy)) scale(.88); transition-duration: .12s; }

/* Static (no motion) state: the moment just before the mistake */
.scn .s2 .zp-mail .zp-th { box-shadow: 0 0 0 3px #0e71eb; }
.scn .s2 .zp-mail p { color: #0e71eb; font-weight: 500; }
.scn-anim .scn .s2 .zp-mail:not(.sel) .zp-th { box-shadow: 0 0 0 1px #dedee2; }
.scn-anim .scn .s2 .zp-mail:not(.sel) p { color: #3a3a3c; font-weight: 400; }
.scn .s2.shared .zp { opacity: 0; transform: scale(.96) translateY(8px); }
.scn .s2.shared .zm-bar-c { opacity: 1; transform: translate(-50%, 0); }
.scn .s2.shared .ml::after { opacity: 1; }

/* ---------- 3 · Meet in Safari ---------- */
.scn .mt { left: 26px; top: 28px; width: 748px; height: 506px; display: flex; flex-direction: column; background: #202124; }
.scn .br-tb { flex: none; height: 46px; display: flex; align-items: center; gap: 12px; padding: 0 14px; background: #f6f6f7; border-bottom: 1px solid #d9d9dd; }
.scn .br-tb .tl { margin-right: 8px; }
.scn .br-url { flex: 1; margin: 0 50px !important; height: 28px; border-radius: 8px; background: #e9e9ec; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: #3a3a3c; }
.scn .br-url svg { width: 12px; height: 12px; color: #6e6e73; }
.scn .mt-body { flex: 1; display: flex; gap: 12px; padding: 12px 12px 0; min-height: 0; }
.scn .mt-main { flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.scn .mt-stage { position: relative; flex: 1; border-radius: 12px; background: #3c4043; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #e8eaed; }
.scn .mt-tag { position: absolute; left: 12px; bottom: 10px; font-size: 11px; color: #fff; }
.scn .mt-mon { width: 34px; height: 34px; color: #8ab4f8; }
.scn .mt-pres { margin-top: 10px !important; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.scn .mt-stop { margin-top: 14px; padding: 7px 16px; border-radius: 18px; background: #8ab4f8; color: #202124; font-size: 12px; font-weight: 600; }
.scn .mt-tiles { flex: none; height: 74px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.scn .mt-tiles div { position: relative; border-radius: 10px; background: #3c4043; display: grid; place-items: center; }
.scn .mt-tiles .av { width: 34px; height: 34px; font-size: 12px; }
.scn .mt-tiles p { position: absolute; left: 8px; bottom: 5px; font-size: 9.5px; color: #e8eaed; }
.scn .mt-tiles .more span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #5f6368; color: #fff; font-size: 12px; font-weight: 600; }
.scn .mt-muted { position: absolute; right: 7px; top: 7px; width: 16px; height: 16px; padding: 3px; border-radius: 50%; background: #ea4335; color: #fff; }
.scn .mt-chat { flex: none; width: 214px; border-radius: 12px; background: #fff; display: flex; flex-direction: column; padding: 14px 14px 12px; }
.scn .mt-ch { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; font-weight: 500; color: #202124; }
.scn .mt-ch svg { width: 15px; height: 15px; color: #5f6368; }
.scn .mt-note { margin-top: 10px !important; padding: 8px 10px; border-radius: 8px; background: #f1f3f4; font-size: 10px; line-height: 1.4; color: #5f6368; }
.scn .mt-msgs { flex: 1; display: flex; flex-direction: column; gap: 11px; padding-top: 14px; }
.scn .mt-m p:first-child { display: flex; gap: 6px; align-items: baseline; }
.scn .mt-m b { font-size: 11px; font-weight: 600; color: #202124; }
.scn .mt-m span { font-size: 9.5px; color: #5f6368; }
.scn .mt-m p + p { margin-top: 2px !important; font-size: 12px; color: #3c4043; }
.scn .mt-input { display: flex; justify-content: space-between; align-items: center; height: 32px; padding: 0 12px; border-radius: 16px; background: #f1f3f4; font-size: 11px; color: #5f6368; }
.scn .mt-input svg { width: 14px; height: 14px; color: #9aa0a6; }
.scn .mt-bar { flex: none; height: 62px; display: flex; align-items: center; padding: 0 16px; color: #e8eaed; }
.scn .mt-time { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 12px; }
.scn .mt-time i { width: 1px; height: 14px; background: #5f6368; }
.scn .mt-ctl { display: flex; gap: 8px; }
.scn .mt-ctl span { width: 36px; height: 36px; border-radius: 50%; background: #3c4043; display: grid; place-items: center; }
.scn .mt-ctl svg { width: 17px; height: 17px; color: #e8eaed; }
.scn .mt-ctl .on { background: #8ab4f8; }
.scn .mt-ctl .on svg { color: #202124; }
.scn .mt-ctl .end { width: 52px; border-radius: 18px; background: #ea4335; }
.scn .mt-ctl .end svg { color: #fff; width: 20px; height: 20px; }
.scn .mt-right { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 6px; font-size: 11px; }
.scn .mt-right svg { width: 18px; height: 18px; margin-left: 10px; }
.scn .mt-right em { font-style: normal; margin-left: -4px; }
.scn .mt-m { transition: opacity .45s var(--ease-out), transform .5s var(--ease-out); }
.scn-anim .scn .s3 .mt-m { opacity: 0; transform: translateY(8px); }
.scn-anim .scn .s3 .mt-m.on { opacity: 1; transform: none; }

/* ---------- 4 · Teams, viewing a 5K share on a laptop ---------- */
.scn .tm { left: 26px; top: 28px; width: 748px; height: 506px; display: flex; flex-direction: column; background: #1f1f1f; color: #fff; }
.scn .tm-tb { flex: none; height: 50px; display: flex; align-items: center; gap: 14px; padding: 0 12px 0 14px; background: #292929; border-bottom: 1px solid #141414; }
.scn .tm-title { display: flex; align-items: center; gap: 10px; margin-left: 10px !important; font-size: 12.5px; font-weight: 600; }
.scn .tm-title span { font-weight: 500; font-size: 11.5px; color: #adadad; font-variant-numeric: tabular-nums; }
.scn .tm-tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.scn .tm-tools span { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 40px; font-size: 9.5px; color: #d6d6d6; }
.scn .tm-tools svg { width: 17px; height: 17px; color: #e5e5e5; }
.scn .tm-tools .cam { min-width: 30px; }
.scn .tm-tools .leave { display: flex; align-items: center; gap: 6px; margin-left: 6px; padding: 7px 12px; border-radius: 6px; background: #c4314b; font-size: 11.5px; font-weight: 600; }
.scn .tm-tools .leave svg { width: 15px; height: 15px; color: #fff; }
.scn .tm-stage { position: relative; flex: 1; background: #0f0f0f; }
.scn .tm-share { position: absolute; left: 24px; top: 30px; width: 700px; height: 394px; overflow: hidden; background: #000; }
.scn .tm-who { position: absolute; left: 24px; top: 6px; display: flex; align-items: center; gap: 7px; font-size: 11px; color: #d6d6d6; }
.scn .tm-who .av { width: 18px; height: 18px; font-size: 7.5px; }
.scn .tm-toast {
  position: absolute; left: 40px; bottom: 34px; z-index: 5; width: 290px; display: flex; gap: 10px; padding: 11px 13px;
  border-radius: 10px; background: #2d2d2d; box-shadow: 0 0 0 .5px rgba(255,255,255,.1) inset, 0 12px 30px -8px rgba(0,0,0,.7);
  transition: opacity .45s var(--ease-out), transform .5s var(--ease-out);
}
.scn .tm-toast b { font-size: 11.5px; font-weight: 600; }
.scn .tm-toast p { margin-top: 2px !important; font-size: 12px; line-height: 1.35; color: #e0e0e0; }
.scn .tm-toast .av { width: 28px; height: 28px; }
.scn .tm-self { position: absolute; right: 36px; bottom: 34px; width: 118px; height: 68px; border-radius: 8px; background: #3a3a3a; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.scn-anim .scn .s4 .tm-toast { opacity: 0; transform: translateY(10px); }
.scn-anim .scn .s4.ask .tm-toast { opacity: 1; transform: none; }

/* The shared display, drawn at 2000 × 1125 and shrunk to the call's stage */
.scn .ide {
  position: absolute; left: 0; top: 0; width: 2000px; height: 1125px; transform-origin: 0 0;
  transform: translate(0, 0) scale(.35); background: #2b2d42 url("assets/macos-sonoma-wallpaper-1280.webp") center / cover;
  transition: transform 1.6s cubic-bezier(.65,0,.25,1); font-family: var(--sans); color: #cccccc; letter-spacing: 0;
}
.scn .s4.zoomed .ide { transform: translate(-336px, -464px) scale(.98); }
.scn .ide-mb { height: 34px; display: flex; align-items: center; gap: 22px; padding: 0 20px; background: rgba(30,30,32,.55); color: #fff; font-size: 15px; }
.scn .ide-mb svg { width: 15px; height: 18px; }
.scn .ide-mb b { font-weight: 700; }
.scn .ide-mb em { margin-left: auto; font-style: normal; }
.scn .ide-win { position: absolute; left: 24px; top: 58px; right: 24px; bottom: 24px; display: flex; border-radius: 14px; overflow: hidden; background: #1e1e1e; box-shadow: 0 0 0 1px rgba(0,0,0,.5), 0 40px 80px -20px rgba(0,0,0,.6); }
.scn .ide-act { flex: none; width: 56px; background: #2c2c2c; display: flex; flex-direction: column; align-items: center; gap: 26px; padding-top: 60px; color: #858585; }
.scn .ide-act svg { width: 26px; height: 26px; }
.scn .ide-act svg:first-child { color: #fff; }
.scn .ide-side { flex: none; width: 260px; background: #252526; padding: 18px 0; font-size: 15px; }
.scn .ide-side p { height: 28px; display: flex; align-items: center; padding-left: 22px; color: #cccccc; white-space: nowrap; }
.scn .ide-side .ide-sh { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #bbbbbb; margin-bottom: 6px !important; }
.scn .ide-side .i1 { padding-left: 38px; } .ide-side .i2 { padding-left: 54px; } .ide-side .i3 { padding-left: 74px; }
.scn .ide-side .on { background: #37373d; color: #fff; }
.scn .ide-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.scn .ide-tabs { flex: none; height: 46px; display: flex; background: #252526; font-size: 15px; }
.scn .ide-tabs span { display: flex; align-items: center; padding: 0 22px; color: #969696; border-right: 1px solid #1e1e1e; }
.scn .ide-tabs .on { background: #1e1e1e; color: #fff; box-shadow: inset 0 2px 0 #0a74ef; }
.scn .ide-crumb { padding: 8px 24px !important; font-size: 14px; color: #a0a0a0; }
.scn .ide-code { flex: 1; min-height: 0; overflow: hidden; padding-top: 4px; font: 400 16px/26px var(--mono); color: #d4d4d4; }
.scn .ide-code p, .scn .ide-term p { white-space: pre; min-height: 1lh; }
.scn .ide-code p { position: relative; padding-left: 74px; }
.scn .ide-code p.hl { background: rgba(255,255,255,.06); box-shadow: inset 2px 0 0 #0a74ef; }
.scn .ide-code i { position: absolute; left: 0; width: 50px; text-align: right; font-style: normal; color: #6e7681; }
.scn .ide-code p.hl i { color: #c6c6c6; }
.scn .ide-code b { font-weight: 400; color: #569cd6; }
.scn .ide-code s { text-decoration: none; color: #ce9178; }
.scn .ide-code .k { color: #c586c0; } .ide-code .t { color: #4ec9b0; } .ide-code .f { color: #dcdcaa; }
.scn .ide-code .v { color: #9cdcfe; } .ide-code .c { color: #4fc1ff; } .ide-code .n { color: #b5cea8; } .ide-code .m { color: #6a9955; }
.scn .ide-term { flex: none; height: 250px; border-top: 1px solid #333; padding: 10px 24px; font: 400 15px/24px var(--mono); color: #cccccc; }
.scn .ide-tt { display: flex; gap: 26px; margin-bottom: 8px !important; font-family: var(--sans); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #969696; }
.scn .ide-tt b { color: #e7e7e7; font-weight: 500; box-shadow: 0 6px 0 -4px #e7e7e7; }
.scn .ide-term s { text-decoration: none; color: #4fc1ff; } .ide-term .k { color: #c586c0; } .ide-term .n { color: #3fb950; font-weight: 600; }
.scn .ide-web { flex: none; width: 600px; background: #fff; border-left: 1px solid #000; color: #1d1d1f; font-family: var(--sans); }
.scn .ide-url { height: 46px; display: flex; align-items: center; justify-content: center; gap: 8px; background: #f6f6f7; border-bottom: 1px solid #e3e3e6; font-size: 15px; color: #3a3a3c; }
.scn .ide-url svg { width: 15px; height: 15px; }
.scn .ide-page { padding: 56px 56px; }
.scn .pg-k { font-size: 15px; font-weight: 600; color: #0a74ef; }
.scn .pg-t { margin-top: 8px !important; font-size: 40px; font-weight: 700; letter-spacing: -0.03em; }
.scn .pg-rows { margin-top: 34px; }
.scn .pg-rows p { display: flex; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid #e8e8ed; font-size: 19px; }
.scn .pg-rows span { color: #6e6e73; }
.scn .pg-rows b { font-weight: 500; font-variant-numeric: tabular-nums; }
.scn .pg-rows .tot span, .scn .pg-rows .tot b { color: #1d1d1f; font-weight: 700; font-size: 22px; }
.scn .pg-btn { display: inline-block; margin-top: 34px; padding: 16px 30px; border-radius: 999px; background: #0071e3; color: #fff; font-size: 18px; }
.scn .ide-cur { position: absolute; left: 706px; top: 670px; width: 26px; height: 37px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.4)); }

/* ---------- 5 · Still sharing: the live edge ---------- */
.scn .mb { position: absolute; left: 0; right: 0; top: 0; height: 26px; z-index: 12; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; background: rgba(40,10,40,.18); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); color: #fff; font-size: 12.5px; text-shadow: 0 0 6px rgba(0,0,0,.15); }
.scn .mb p { display: flex; align-items: center; gap: 15px; }
.scn .mb b { font-weight: 700; }
.scn .mb-apple { width: 13px; height: 16px; margin-top: -2px; }
.scn .mb-g { position: relative; display: inline-flex; }
.scn .mb-g svg { width: 17px; height: 17px; }
.scn .mb-g i { position: absolute; left: 4.3px; top: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--live); }
.scn .mb-bat { width: 26px; height: 12px; }
.scn .mb-wifi { width: 16px; height: 12px; }
.scn .gh-code { left: 38px; top: 96px; width: 380px; height: 300px; background: #1e1f25; }
.scn .gh-web { left: 452px; top: 120px; width: 320px; height: 290px; }
.scn .gh-tb { height: 30px; display: flex; align-items: center; gap: 10px; padding: 0 11px; background: #2a2b31; font-size: 10.5px; color: #9b9ca3; }
.scn .gh-tb.light { background: #f1f1f3; color: #6e6e73; }
.scn .gh-tb .tl { gap: 6px; } .gh-tb .tl i { width: 9px; height: 9px; }
.scn .gh-tb span { flex: 1; text-align: center; margin-right: 40px; }
.scn .gh-lines { padding: 14px 16px; }
.scn .gh-lines s { display: block; height: 6px; margin: 0 0 11px var(--x, 0); width: var(--w); border-radius: 3px; background: linear-gradient(90deg, #c586c0 0 18%, #9cdcfe 18% 55%, #ce9178 55%); opacity: .55; }
.scn .gh-page { padding: 20px; }
.scn .gh-page b { display: block; width: 50%; height: 12px; border-radius: 3px; background: #1d1d1f; }
.scn .gh-page s { display: block; width: 80%; height: 6px; margin-top: 12px; border-radius: 3px; background: #e5e5ea; }
.scn .gh-page u { display: block; width: 40%; height: 22px; margin-top: 22px; border-radius: 11px; background: #0071e3; }
.scn .ms { left: 152px; top: 150px; width: 520px; height: 370px; display: flex; background: #fff; z-index: 5; }
.scn .ms-side { flex: none; width: 190px; padding: 12px 8px; background: #ececee; border-right: 1px solid #dcdce0; }
.scn .ms-side .tl { margin: 0 0 14px 6px; }
.scn .ms-search { display: flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px; margin-bottom: 8px !important; border-radius: 6px; background: rgba(0,0,0,.06); font-size: 11.5px; color: #8e8e93; }
.scn .ms-search svg { width: 12px; height: 12px; }
.scn .ms-c { display: grid; grid-template-columns: 30px 1fr; column-gap: 8px; align-items: center; padding: 7px 7px; border-radius: 8px; }
.scn .ms-c .av { grid-row: span 2; width: 30px; height: 30px; font-size: 10px; }
.scn .ms-c p { min-width: 0; font-size: 10.5px; color: #8e8e93; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scn .ms-c p:first-of-type { display: flex; justify-content: space-between; }
.scn .ms-c b { font-size: 11.5px; font-weight: 600; color: #1d1d1f; }
.scn .ms-c em { font-style: normal; font-size: 9.5px; }
.scn .ms-c.on { background: #0a84ff; }
.scn .ms-c.on p, .scn .ms-c.on b { color: #fff; }
.scn .ms-c.on .av { background: linear-gradient(#fff, #e5e5ea); color: #0a84ff; }
.scn .ms-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.scn .ms-head { height: 50px; display: flex; align-items: center; gap: 9px; padding: 0 14px; border-bottom: 1px solid #ededf0; font-size: 12px; color: #8e8e93; }
.scn .ms-head .av { width: 26px; height: 26px; font-size: 9px; }
.scn .ms-head b { color: #1d1d1f; font-weight: 600; }
.scn .ms-head svg { margin-left: auto; width: 18px; height: 18px; color: #0a84ff; }
.scn .ms-conv { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; }
.scn .ms-day { align-self: center; font-size: 10px; color: #8e8e93; margin-bottom: 4px !important; }
.scn .bb { max-width: 74%; padding: 7px 11px; border-radius: 16px; font-size: 12.5px; line-height: 1.3; }
.scn .bb.in { align-self: flex-start; background: #e9e9eb; color: #1d1d1f; }
.scn .bb.out { align-self: flex-end; background: #0a84ff; color: #fff; }
.scn .ms-input { margin: 0 12px 12px !important; min-height: 30px; display: flex; align-items: center; padding: 6px 12px; border-radius: 15px; box-shadow: inset 0 0 0 1px #d2d2d7; font-size: 12px; color: #1d1d1f; }
.scn .caret { display: inline-block; width: 1.5px; height: 15px; margin-left: 1px; background: #0a84ff; animation: scn-blink 1s steps(1) infinite; }
@keyframes scn-blink { 50% { opacity: 0; } }
.scn .lv-edge { position: absolute; inset: 0; z-index: 40; border-radius: 26px; box-shadow: inset 0 0 0 4px var(--live), inset 0 0 26px 4px rgba(255,59,48,.38); }
.scn .lv-hud {
  position: absolute; left: 50%; top: 36px; z-index: 41; transform: translateX(-50%); display: flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 14px 0 12px; border-radius: 15px; background: rgba(28,28,30,.78);
  -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: inset 0 0 0 .5px rgba(255,255,255,.16), 0 8px 24px -8px rgba(0,0,0,.45);
  color: rgba(255,255,255,.95); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.scn .lv-hud i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.scn-anim .scn .s5.on.glim:not(.stopped) .lv-edge { animation: scn-breathe 3.2s ease-in-out infinite; }
.scn-anim .scn .s5.on.glim:not(.stopped) .lv-hud i { animation: scn-breathe 1.6s ease-in-out infinite; }
@keyframes scn-breathe { 50% { opacity: .62; } }

/* ---------- 1 · motion ---------- */
.scn-anim .scn .s1 .ntf { transform: translateX(calc(100% + 30px)); opacity: 0; }
.scn-anim .scn .s1.ping .ntf { transform: none; opacity: 1; }

/* ---------- Two-act story: caption under each panel ---------- */
.sx-cap { margin: 18px 4px 0; }
.sx-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sx-a { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.sx-a b { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: -0.005em; color: var(--ink-3); transition: color .3s; white-space: nowrap; }
.sx-a b img { width: 14px; height: 14px; opacity: .5; transition: opacity .3s; }
.sx-a i { display: block; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.sx-a u { display: block; width: 0; height: 100%; border-radius: 2px; }
.sx-a1 u { background: var(--live); }
.sx-a2 u { background: var(--accent); }
.sx-cap[data-act="1"] .sx-a1 b { color: var(--ink); }
.sx-cap[data-act="2"] .sx-a2 b { color: var(--ink); }
.sx-cap[data-act="2"] .sx-a2 b img { opacity: 1; }
.sx-say {
  margin: 14px 0 0; min-height: 2.9em; font-size: 18px; line-height: 1.42; font-weight: 500; letter-spacing: -0.015em; color: var(--ink);
  transition: opacity .18s var(--ease), transform .25s var(--ease-out); text-wrap: pretty;
}
.sx-say.swap { opacity: 0; transform: translateY(4px); }
@media (max-width: 734px) { .sx-say { font-size: 17px; } .sx-a b { font-size: 12.5px; } }

/* ---------- "What viewers see" inset ---------- */
.scn .sx-view {
  position: absolute; right: 22px; bottom: 22px; z-index: 46; width: 300px; border-radius: 14px; overflow: hidden;
  background: #1c1c1e; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 26px 56px -14px rgba(0,0,0,.65), 0 0 0 1px rgba(0,0,0,.3);
  opacity: 0; transform: translateY(16px) scale(.95); transform-origin: 100% 100%;
  transition: opacity .5s var(--ease-out), transform .7s var(--ease-out);
}
.scn .sx-view.sx-left { right: auto; left: 22px; transform-origin: 0 100%; }
.scn .sx-view.sx-tl { right: auto; bottom: auto; left: 22px; top: 76px; transform-origin: 0 0; }
.scn .sx-view.sx-prev { bottom: auto; top: 84px; right: 30px; width: 330px; box-shadow: 0 0 0 3px var(--accent), 0 26px 56px -14px rgba(0,0,0,.65); }
.scn .sx-view.show { opacity: 1; transform: none; }
.scn .sx-vh { height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 12px; color: #fff; font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.scn .sx-vh svg { width: 17px; height: 17px; color: rgba(255,255,255,.75); }
.scn .sx-scr { position: relative; width: 300px; height: 210px; overflow: hidden; background: #0e0e10; }
.scn .sx-prev .sx-scr { width: 330px; height: 231px; }
.scn .sx-view .scn-canvas, .scn .sx-altc { position: absolute; left: 0; top: 0; width: 800px; height: 560px; transform: scale(.375); transform-origin: 0 0; }
.scn .sx-prev .sx-altc { transform: scale(.4125); }
.scn .sx-view .scn-canvas .cur, .scn .sx-view .scn-canvas .lv-edge, .scn .sx-view .scn-canvas .lv-hud { display: none; }
.scn .sx-alt { position: absolute; inset: 0; z-index: 2; opacity: 0; transition: opacity .4s var(--ease); }
.scn .sx-view.alt .sx-alt { opacity: 1; }
.scn .sx-altc { background: #121214; }
.scn .sx-altc .kn { top: 45px; }
.scn .sx-ended { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; color: #e5e5ea; }
.scn .sx-ended svg { width: 90px; height: 90px; color: #8e8e93; }
.scn .sx-ended b { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; }
.scn .sx-tag { display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: #fff; background: #d92d20; transition: background .3s; }
.scn .sx-tag svg { flex: none; width: 16px; height: 16px; }
.scn .sx-view.good .sx-tag { background: #1f8f3a; }
.scn .sx-view.good .sx-x, .scn .sx-view.bad .sx-ok { display: none; }

/* ---------- Scene 2: with Glimpse the picker is gone, you just work in Mail ---------- */
.scn .s2 .zp { transition: opacity .45s var(--ease), transform .5s var(--ease-out); }
.scn .s2.glim .zp { opacity: 0; transform: scale(.96) translateY(8px); }

/* ---------- Scene 4: Glimpse zoom follows the pointer ---------- */
.scn .sx-zhud {
  position: absolute; left: 50%; top: 42px; z-index: 6; transform: translate(-50%, -8px); display: flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 16px 0 10px; border-radius: 17px; background: rgba(255,255,255,.95); color: #1d1d1f;
  box-shadow: 0 0 0 2px var(--accent), 0 10px 26px -8px rgba(0,0,0,.6); font-size: 14px; font-weight: 600; white-space: nowrap;
  opacity: 0; transition: opacity .4s var(--ease), transform .5s var(--ease-out);
}
.scn .sx-zhud img { width: 18px; height: 18px; }
.scn .s4.zoomed .sx-zhud { opacity: 1; transform: translate(-50%, 0); }
.scn .ide-cur { transition: left 1.6s cubic-bezier(.65,0,.25,1), top 1.6s cubic-bezier(.65,0,.25,1); }
.scn .s4.zoomed2 .ide { transform: translate(-728px, -548px) scale(.98); }
.scn .s4.zoomed2 .ide-cur { left: 1100px; top: 760px; }

/* ---------- Scene 5: the red frame and timer appear only with Glimpse ---------- */
.scn .s5 .cur { transition: left .9s cubic-bezier(.45,.05,.25,1), top .9s cubic-bezier(.45,.05,.25,1), transform .12s; }
.scn .s5 .cur.click { transform: scale(.88); }
.scn .lv-edge, .scn .lv-hud { transition: opacity .6s var(--ease); }
.scn-anim .scn .s5:not(.glim) .lv-edge, .scn-anim .scn .s5:not(.glim) .lv-hud, .scn .s5.stopped .lv-edge { opacity: 0; animation: none; }
.scn .lv-hud .sx-off { display: none; }
.scn .s5.stopped .lv-hud .sx-on { display: none; }
.scn .s5.stopped .lv-hud .sx-off { display: inline; }
.scn .s5.stopped .lv-hud i { background: #8e8e93; animation: none; }
.scn .lv-hud .sx-stop { margin-left: 4px; padding: 3px 10px; border-radius: 10px; background: var(--live); color: #fff; font-size: 11.5px; font-weight: 600; }
.scn .s5.stopped .lv-hud .sx-stop { display: none; }

/* ---------- "And everything else": a horizontal list of the smaller fixes ---------- */
.scn-more { margin-top: 160px; }
.scn-more-h { margin: 0 0 28px; font-size: 32px; line-height: 1.12; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
.scn-more-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 32px; }
.scn-more-list li { display: flex; flex-direction: column; gap: 6px; }
.scn-more-list .mo-art { display: block; width: 100%; height: auto; aspect-ratio: 240 / 130; margin-bottom: 12px; border-radius: 16px; background: var(--paper-2); }
.scn-more-list b { font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -0.018em; color: var(--ink); }
.scn-more-list span { font-size: 17px; line-height: 1.45; letter-spacing: -0.012em; color: var(--ink-2); }
@media (max-width: 1068px) {
  .scn-more { margin-top: 120px; }
  .scn-more-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 734px) {
  .scn-more { margin-top: 88px; }
  .scn-more-h { font-size: 26px; }
  /* One swipeable row on phones */
  .scn-more-list {
    display: flex; gap: 20px; margin: 0 -16px; padding: 0 16px 8px; overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-padding: 0 16px; scrollbar-width: none;
  }
  .scn-more-list::-webkit-scrollbar { display: none; }
  .scn-more-list li { flex: 0 0 72%; scroll-snap-align: start; }
}

/* ---------- Row entrance ---------- */
.scn-on .scn-row .scn-text, .scn-on .scn-row .scn-media {
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
}
.scn-on .scn-row .scn-media { transition-delay: .1s; }
.scn-on .scn-row:nth-child(even) .scn-text { transition-delay: .1s; }
.scn-on .scn-row:nth-child(even) .scn-media { transition-delay: 0s; }
.scn-on .scn-row.in .scn-text, .scn-on .scn-row.in .scn-media { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1068px) {
  .scn-head { margin-bottom: 88px; }
  .scn-rows { gap: 128px; }
  .scn-row { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); column-gap: 40px; }
  .scn-row:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); }
  .scn-title { font-size: 28px; }
}
@media (max-width: 734px) {
  .scn-head { margin-bottom: 56px; }
  .scn-br { display: none; }
  .scn-sub { font-size: 18px; }
  .scn-rows { gap: 88px; }
  .scn-row, .scn-row:nth-child(even) { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .scn-row .scn-text, .scn-row:nth-child(even) .scn-text { order: 2; }
  .scn-panel { border-radius: 18px; }
  .scn-card { max-width: 340px; }
  .scn-title { font-size: 26px; }
  .scn-desc, .scn .scn-fix { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .scn-on .scn-row .scn-text, .scn-on .scn-row .scn-media { opacity: 1; transform: none; transition: none; }
  .scn .caret { animation: none; }
}

/* The viewer mirror lives inside the scene, so scene-state rules must not leak into it. */
.scn-anim .scn .s1 .sx-mirror:not(.ping) .ntf { transform: translateX(calc(100% + 30px)); opacity: 0; }
