/* Interactions belong to the original app. Preview/receiving windows sit above it. */
.reconstructed-site .site-nav { grid-template-columns: 1fr auto; }
.reconstructed-site .nav-github { display: inline-flex; }
.story-motion .feature-gallery { position: absolute; left: 440px; top: 265px; width: 840px; height: 145px; overflow: hidden; border: 0; border-radius: 0; background: transparent; }
.story-motion .feature-example { display: block; flex: 0 0 840px; width: 840px; height: 145px; padding: 0; }
.story-motion .feature-select { top: 265px; }
.story-motion .feature-example .feature-art { display: none; }
.story-motion .feature-example figcaption { padding: 0; border: 0; }
.story-motion .feature-example figcaption > .story-icon { display: none; }
.story-motion .feature-example h3 { margin: 0 0 10px; font-size: 27px; }
.story-motion .feature-example figcaption p { max-width: 840px; }
.story-motion .settings-sheet { width: 610px; }
.story-controls [data-demo-pause] { width: auto; padding-inline: 13px; font: 11px var(--mono); border-radius: 20px; }
.story-controls [hidden] { display: none; }
.product-overlays { position: absolute; inset: 0; pointer-events: none; color: var(--ink); }
.product-overlays > *, .history-continuation, .demo-search-field { display: none; }
.product-overlays .story-icon { flex: 0 0 auto; width: 19px; height: 19px; }
.demo-key, .desktop-holder .desktop-shortcut-mark .demo-key { display: inline-block; padding: 7px 12px; border: 1.5px solid #075be8; border-radius: 7px; background: #fff; box-shadow: 0 3px 0 #c1d7f9; color: #075be8; font: 600 16px/1.2 var(--mono); white-space: nowrap; letter-spacing: 0; text-transform: none; }
.app-actor[data-demo] .story-product .vp-card-rail { overflow: hidden; padding-top: 20px; margin-top: -6px; padding-bottom: 15px; }
.app-actor[data-demo="formatting"] .story-product .vp-card-rail { overflow: visible; }
.app-actor .vp-clip-card.demo-selected { outline: 2px solid #3978a9; outline-offset: 3px; }
.app-actor[data-demo="history"] .history-continuation { display: flex; position: absolute; right: 0; bottom: -57px; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; }
.history-continuation b { font: 34px/1 var(--mono); letter-spacing: 7px; }
.app-actor[data-demo="history"] .vp-card-rail { mask-image: linear-gradient(to right, black 88%, transparent); }
.app-actor[data-demo="formatting"] .demo-format-note { position: absolute; top: 302px; left: 0; right: 0; display: flex; align-items: center; gap: 13px; font-size: 14px; }
.demo-format-note kbd { margin-left: auto; }
.app-actor[data-demo="categories"] .demo-tab-indicator { display: block; position: absolute; top: 45px; left: 0; width: 1px; height: 3px; background: #2466d8; border-radius: 3px 3px 0 0; }
.app-actor[data-demo="categories"] .vp-app-tab.is-active { background: transparent; color: #65757a; }
.app-actor[data-demo="categories"] .vp-app-tab.is-active::after { opacity: 0; }
.app-actor[data-demo="categories"] .vp-app-tab.demo-tab-active { background: transparent; color: #2466d8; font-weight: 740; }
.app-actor[data-demo="categories"] .vp-app-tab b { font-weight: 590; }
.app-actor[data-demo="categories"] .vp-app-tab.demo-tab-active b { font-weight: 740; }
.app-actor[data-demo="categories"] .vp-app-tab svg { color: currentColor; }
.demo-search-layout { position: relative; display: flex; flex: 0 0 auto; width: 28px; align-items: center; }
.app-actor[data-demo="search"] .vp-app-bar { padding-inline: 28px; }
.app-actor[data-demo="search"] .demo-search-field { display: flex; align-items: center; position: absolute; left: 35px; height: 32px; width: 276px; padding: 0 13px; border: 0; border-radius: 16px; background: rgba(255, 255, 255, .62); box-shadow: inset 0 0 0 1px rgba(60, 110, 220, .22), 0 2px 10px rgba(0, 0, 0, .08); color: #303030; font-size: 13px; font-weight: 450; }
.demo-search-field i { width: 1px; height: 16px; background: #303030; margin-left: 3px; }
.app-actor[data-demo="search"] .vp-app-tabs { margin-left: 5px; gap: 8px; }
.app-actor[data-demo="search"] .demo-selected .vp-text-card strong { background: #f3db8e; color: #243e4b; }
.demo-receiver { position: absolute; left: 135px; top: -290px; width: 850px; height: 265px; border: 1px solid #b4c4cc; border-radius: 10px; background: #fcfdfd; box-shadow: 0 18px 40px -20px #263e4b55; overflow: hidden; }
.demo-preview-window { position: absolute; left: 305px; top: -389px; width: 510px; height: 365px; border-radius: 12px; overflow: hidden; color: #20242a; background: rgba(246, 246, 244, .88); backdrop-filter: blur(16px) saturate(1.08); -webkit-backdrop-filter: blur(16px) saturate(1.08); box-shadow: 0 18px 40px -20px #263e4b55; }
.app-actor[data-demo="preview"] .demo-preview-window, .app-actor[data-demo="drag"] .demo-receiver { display: block; }
.demo-window-title { display: flex; height: 35px; align-items: center; gap: 9px; padding: 0 14px; border-bottom: 1px solid #d9e2e6; font-size: 16px; color: #62747d; }
.demo-window-title > span:last-child { margin-left: auto; }
.demo-preview-pin { position: absolute; top: 10px; right: 10px; z-index: 5; width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; background: rgba(255, 255, 255, .82); color: #5d6672; box-shadow: 0 8px 24px rgba(0, 0, 0, .18), inset 0 0 0 1px rgba(0, 0, 0, .08); }
.demo-preview-pin svg { width: 20px; height: 20px; }
.demo-preview-content { width: 100%; height: 100%; padding: 8px; }
.demo-preview-image, .demo-preview-link { width: 100%; height: 100%; }
.demo-preview-image-stage { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.demo-preview-image img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 16px 44px rgba(0, 0, 0, .16); }
.demo-preview-link-stage { display: flex; flex-direction: column; gap: 10px; width: 100%; height: 100%; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .64); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.demo-url { display: flex; align-items: center; flex: 0 0 34px; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #2f3540; font: 13px/1.4 "Segoe UI Variable", "Segoe UI", "Microsoft YaHei UI", Arial, sans-serif; box-shadow: 0 8px 24px rgba(0, 0, 0, .08), inset 0 0 0 1px rgba(0, 0, 0, .08); }
.demo-url span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.demo-preview-document { flex: 1; min-height: 0; border-radius: 12px; background: white; box-shadow: 0 16px 44px rgba(0, 0, 0, .16); overflow: hidden; }
.demo-readme { padding: 24px 28px; }
.demo-readme img { float: left; margin-right: 14px; }
.demo-readme h3 { font-size: 24px; margin: 0 0 5px; }
.demo-readme p { font-size: 14px; margin: 0 0 14px; }
.demo-readme div { font: 10px var(--mono); color: #526c7c; }
.demo-readme div span { margin-left: 12px; }
.demo-readme hr { border: 0; border-top: 1px solid #e1e6e9; margin: 14px 0; }
.app-actor[data-demo="preview"] .demo-keypress { display: flex; position: absolute; left: 0; top: -145px; gap: 14px; flex-direction: column; align-items: flex-start; font-size: 18px; line-height: 1.5; width: 260px; }
.app-actor[data-demo="search"] .demo-search-keys { display: flex; align-items: center; gap: 15px; position: absolute; left: 0; top: 304px; font-size: 16px; }
.app-actor[data-demo="queue"] [data-product-control="queue"] { color: #075be8; background: #e6efff; }
.demo-note { padding: 18px 35px; }
.demo-note h3 { margin: 0 0 12px; font-size: 17px; font-weight: 550; }
.app-actor[data-demo="queue"] .demo-queue-window, .app-actor[data-demo="queue"] .demo-form { display: block; position: absolute; top: -290px; height: 276px; border: 1px solid #c9cecb; border-radius: 10px; overflow: hidden; }
.demo-queue-window { left: 0; width: 365px; background: rgb(248, 248, 246); }
.demo-queue-header { display: grid; grid-template-columns: 50px 1fr 50px; align-items: center; min-height: 54px; padding: 0 14px; border-bottom: 1px solid #dcdfdc; }
.demo-queue-header > span:first-child { font-size: 21px; color: #727975; }
.demo-queue-header > div { display: grid; justify-items: center; gap: 2px; }
.demo-queue-header strong { font-size: 18px; font-weight: 650; }
.demo-queue-header small { font: 11px var(--mono); color: #838984; }
.demo-queue-header small b { font-weight: 400; }
.demo-queue-tools { display: flex; align-items: center; gap: 8px; color: #727975; }
.demo-queue-tools .story-icon { width: 15px; height: 15px; transform: rotate(90deg); }
.demo-queue-list { position: relative; height: 176px; overflow: hidden; }
.demo-queue-row { display: flex; height: 44px; align-items: center; gap: 13px; padding: 0 16px; border-bottom: 1px solid #e3e5e1; }
.demo-queue-grip { font-size: 18px; color: #a6aca5; }
.demo-queue-row > .story-icon { width: 19px; height: 19px; color: #68746b; }
.demo-queue-row > div { min-width: 0; }
.demo-queue-row strong { display: block; font-size: 20px; line-height: 1.2; font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.demo-queue-row small { display: block; color: #8a918b; font-size: 10px; margin-top: 3px; }
.demo-queue-next, .demo-queue-row.is-next .demo-queue-type { display: none; }
.demo-queue-row.is-next .demo-queue-next { display: inline; color: #2466d8; }
.demo-queue-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: #818b82; font-size: 13px; }
.demo-form { left: 415px; width: 600px; background: #fcfdfd; box-shadow: 0 18px 40px -20px #263e4b35; }
.demo-form-fields { padding: 14px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.demo-form-field { grid-column: 1 / -1; }
.demo-form-field:nth-last-child(-n+2) { grid-column: auto; }
.demo-form-field small { display: block; font-size: 15px; line-height: 1.2; color: #74818a; margin-bottom: 5px; }
.demo-form-field > div { display: flex; align-items: center; height: 38px; padding: 0 11px; border: 1px solid #d3dce0; border-radius: 5px; background: white; font-size: 20px; }
.demo-form-field.is-current > div { border-color: #6396b6; box-shadow: 0 0 0 2px #6396b615; }
.demo-form-field i { display: none; width: 1px; height: 16px; margin-left: 3px; background: #4d7791; }
.demo-form-field.is-current i { display: block; }
.demo-queue-workflow { display: flex; height: 44px; align-items: center; justify-content: center; gap: 12px; color: #62766b; font-size: 11px; border-top: 1px solid #dcdfdc; }
.demo-queue-workflow kbd { padding: 4px 7px; }
.demo-queue-workflow b { font-weight: 500; }
.demo-queue-workflow[data-phase="copy"] .demo-paste-label, .demo-queue-workflow[data-phase="paste"] .demo-copy-label { display: none; }
.demo-dropzone { position: relative; height: 140px; border: 1px dashed #acbdc8; border-radius: 6px; display: flex; gap: 10px; align-items: center; justify-content: center; color: #69818e; font-size: 13px; }
.demo-dropzone img { position: absolute; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); object-fit: contain; background: #f6f9fa; }
.app-actor[data-demo="drag"] .demo-drag-ghost { display: block; position: absolute; top: 0; left: 0; width: 155px; height: 115px; object-fit: cover; border-radius: 5px; box-shadow: 0 8px 20px #27435725; }
.app-actor:is([data-demo="drag"], [data-demo="categories"], [data-demo="search"]) .demo-pointer { display: block; position: absolute; top: 0; left: 0; color: #075be8; }
.demo-pointer .story-icon { width: 27px; height: 27px; fill: white; }

/* The original cards feed compact local destinations; archives move manually in either direction. */
.privacy-features { display: grid; gap: 0; margin: 28px 0 0; padding: 0; list-style: none; }
.privacy-features li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.7; }
.story-motion .privacy-features li { padding-block: 10px; line-height: 1.6; }
.privacy-features .story-icon { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.local-pipeline { position: relative; display: flex; justify-content: space-between; align-items: flex-start; padding: 0 30px 15px; color: var(--ink); }
.local-device { position: relative; width: 112px; text-align: center; }
.local-device-icon { width: 96px; height: 96px; margin: 0 auto 16px; display: grid; place-items: center; border: 1px solid #bdcdd6; border-radius: 25px; background: #f5f9fb; }
.local-device-icon svg { width: 37px; height: 37px; fill: #4c7187; stroke: none; }
.local-device strong { font: 13px var(--mono); font-weight: 400; }
.local-save-mark { position: absolute; right: 0; top: 76px; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; border: 3px solid var(--paper); background: #487d70; color: white; }
.local-save-mark .story-icon { width: 14px; height: 14px; }
.migration-path { position: absolute; top: 32px; left: 50%; transform: translateX(-50%); text-align: center; font-size: 11px; color: var(--muted); }
.migration-path > .story-icon { display: block; margin: 0 auto 22px; width: 110px; height: 24px; stroke-width: 1; }
.migration-action { display: block; width: max-content; margin: 8px auto 0; padding: 4px 9px; border: 1px solid #a6bfe5; border-radius: 6px; color: #075be8; background: #fff; }
.migration-bundle { display: none; position: absolute; top: 24px; left: 0; padding: 12px; border: 1px solid #97b4c5; border-radius: 10px; background: #e7f1f6; }
.migration-bundle .story-icon { width: 24px; height: 24px; }
.story-motion .migration-bundle { display: block; }
.story-motion .data-visual { top: 505px; left: 165px; width: 610px; }
@media (max-width: 1120px) {
  .reconstructed-site .nav-github { width: 44px; padding-inline: 0; }
  .reconstructed-site .nav-github svg { flex-shrink: 0; }
}
@media (max-width: 600px) {
  .local-pipeline { padding-inline: 0; }
  .local-device { width: 80px; }
  .local-device-icon { width: 70px; height: 70px; border-radius: 20px; }
  .local-device-icon svg { width: 29px; height: 29px; }
  .local-save-mark { top: 52px; }
  .migration-path { top: 24px; font-size: 10px; }
  .migration-path > .story-icon { width: 55px; height: 18px; }
}
