/* Device screens use their native coordinate space; the selector scales each screen to its bezel. */
.display-viewport {position:absolute;inset:0;overflow:hidden;background:#101012;color:#faf9fc;text-align:left}
.display-home {width:1210px;height:834px;display:flex;font-size:18px;background:#101012}
.display-home img {object-fit:cover}
.display-home-nav {width:65px;flex:none;background:#19191d;display:flex;flex-direction:column;align-items:center;gap:20px;padding:20px 0}
.display-home-nav .display-brand {width:36px;height:36px;object-fit:contain}
.display-home-nav span img,.display-home-toolbar img {width:23px;height:23px;object-fit:contain;filter:brightness(0) invert(1)}
.display-home-nav span.is-active {background:#ffffff18;border-radius:10px;padding:10px}
.display-home-nav > span,.display-home-utilities > span {display:flex;align-items:center;justify-content:center;flex-shrink:0}
.display-home-utilities {display:flex;flex-direction:column;align-items:center;gap:20px;margin-top:auto;padding-top:20px;border-top:1px solid #ffffff25;width:43px}
.display-home-content {min-width:0;flex:1}
.display-home-hero {height:53%;min-height:260px;display:flex;flex-direction:column;justify-content:space-between;padding:22px 26px 36px;background:linear-gradient(0deg,#101012,transparent 48%),linear-gradient(90deg,#080910b3,transparent 85%),url('/assets/showcase/interstellar-backdrop.jpg') center 38%/cover}
.display-home-toolbar,.display-home-toolbar span {display:flex;align-items:center;justify-content:space-between;gap:18px}
.display-home-title {display:grid;justify-items:start;gap:12px}
.display-home-title>img {width:262px;height:auto;object-fit:contain}
.display-home-title small {text-transform:uppercase;letter-spacing:.12em;font-size:.7em;font-weight:650}
.display-home-title>span {font-size:.78em;color:#ebe7ee}
.display-home-title>b {display:flex;align-items:center;gap:8px;background:#f7f6f9;color:#18171b;border-radius:7px;padding:7px 15px;font-size:.8em}
.display-home-title>b img {width:12px;filter:brightness(0)}
.display-home-shelf {padding:0 22px}
.display-home-shelf h3 {font-size:1.14em;margin:10px 0 12px;letter-spacing:-.02em}
.display-home-shelf>div {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.display-home-shelf img {width:100%;aspect-ratio:2/3;border-radius:8px}
.display-home-shelf b {display:block;margin-top:8px;font-size:.76em}
.display-tv {width:1280px;height:720px;font-size:22px}
.display-tv .display-home-hero {height:55%}
.display-tv .display-home-shelf>div {grid-template-columns:repeat(4,150px)}
.display-tv .display-home-shelf>div>div:first-child img {outline:3px solid #fff;outline-offset:2px}
.alk-tv-screen {position:relative}
.display-duo {width:951px;height:669px}
.display-iphone,.display-cover {width:402px;height:874px;flex-direction:column-reverse}
.display-cover {width:436px;height:638px}
.display-iphone .display-home-nav,.display-cover .display-home-nav {width:100%;height:70px;flex-direction:row;align-items:center;justify-content:space-around;gap:6px;padding:4px 16px 12px}
.display-iphone .display-brand,.display-cover .display-brand {display:none}
.display-home-nav small {font-size:10px}
.display-iphone .display-home-nav span,.display-cover .display-home-nav span {display:grid;gap:5px;justify-items:center;padding:4px 10px}
.display-iphone .display-home-content,.display-cover .display-home-content {min-height:0;overflow:hidden}
.display-iphone .display-home-hero,.display-cover .display-home-hero {height:55%;background-position:60% center;padding:30px 18px 24px}
.display-iphone .display-home-toolbar {margin-top:20px}
.display-iphone .display-home-shelf,.display-cover .display-home-shelf {padding-inline:16px}
.display-iphone .display-home-shelf>div,.display-cover .display-home-shelf>div {display:flex;gap:9px;overflow:hidden}
.display-iphone .display-home-shelf>div>div,.display-cover .display-home-shelf>div>div {flex:0 0 42%}
.display-cover .display-home-shelf>div>div {flex-basis:29%}
.alk-customizer-device-tabs {justify-content:center}
@media(max-width:620px){.alk-customizer-device-tabs {grid-template-columns:repeat(3,minmax(0,1fr))}}
.alk-stage-phone,.alk-stage-ipad,.alk-stage-tv {min-height:0}
.alk-mac-frame {position:relative;width:min(100%,1150px);aspect-ratio:1930/1270;isolation:isolate}
.alk-mac-screen {position:absolute;inset:10.94% 10.82%;bottom:10.94%;overflow:hidden;background:#121216;color:#f5f3f6;border-radius:1.8% / 2.8%}
.alk-mac-logical .alk-ipad-titlebar {padding-top:25px}
.alk-device-customizer .alk-mac-logical {width:1210px;height:786px}
.alk-duo-showcase {display:grid;justify-items:center;gap:16px}
.alk-fold-toggle {border:1px solid #ffffff38;background:#232228;border-radius:99px;padding:9px 20px;min-height:44px}
.alk-fold-stage {width:min(100%,800px);aspect-ratio:1031/749;perspective:1600px;isolation:isolate}
.alk-fold-body {position:absolute;inset:0;transform:translateX(-25%);transform-style:preserve-3d;transition:transform .95s cubic-bezier(.32,0,.16,1)}
.alk-fold-face,.alk-fold-leaf {position:absolute;inset:0 auto 0 0;width:50%}
.alk-fold-face {overflow:hidden;backface-visibility:hidden}
.alk-fold-left {left:50%;opacity:0;transition:opacity 0s .48s}
.alk-fold-left .alk-fold-spread {left:-100%}
.alk-duo-showcase[data-fold="open"] .alk-fold-left {opacity:1;transition-delay:0s}
.alk-fold-leaf {left:0;transform-origin:right center;transform:rotateY(180deg);transform-style:preserve-3d;transition:transform .95s cubic-bezier(.32,0,.16,1)}
.alk-fold-leaf>.alk-fold-face {width:100%}
.alk-fold-spread {position:absolute;inset:0 auto 0 0;width:200%}
.alk-fold-inside .alk-fold-spread {left:0}
.alk-fold-spread>.display-viewport {inset:5.3405% 3.8807%}
.alk-fold-leaf > .alk-fold-cover {
  width:103.96%;
  height:100%;
  left:auto;
  right:0;
  transform:rotateY(180deg) translateZ(1px);
  transform-origin:center;
  background:transparent;
}
.alk-fold-cover > .display-viewport {
  inset:2.8% 3.8% 2.4% 4.3%;
  border-radius:1% 14% 14% 1% / 1% 9% 9% 1%;
}

.alk-duo-showcase[data-fold="open"] .alk-fold-body {transform:translateX(0)}
.alk-duo-showcase[data-fold="open"] .alk-fold-leaf {transform:rotateY(0deg)}
[data-motion="off"] .alk-fold-body,[data-motion="off"] .alk-fold-leaf,[data-motion="off"] .alk-fold-left {transition:none}
@media(prefers-reduced-motion:reduce){.alk-fold-body,.alk-fold-leaf,.alk-fold-left{transition:none}}

/* Keep touch feedback centered at the contact point in every scaled device. */
.alk-device-customizer.is-touch-feedback .alk-demo-pointer {
  width:28px;
  height:28px;
  opacity:1;
  transform:translate(-50%,-50%);
  transition:none;
  animation:alk-touch-contact .55s ease-out forwards;
}
.alk-device-customizer.is-touch-feedback .alk-demo-pointer::before {
  background:#ffffff55;
  border:2px solid #fff;
  border-radius:50%;
  box-shadow:0 1px 5px #0008;
  filter:none;
}
.alk-device-customizer.is-touch-feedback .alk-demo-pointer span {display:none}
@keyframes alk-touch-contact {
  0% {opacity:.9;scale:.8}
  45% {opacity:.8;scale:1}
  100% {opacity:0;scale:1.2}
}

/* Duo uses the phone shell's right-hand shelf in both poses, not the tablet rail.
   Native reference: TabletShell.mobileShelf/mobileTopBar + NinaHeroSurface.actions. */
.duo-home {position:relative;display:block}
.duo-home-page {height:100%;overflow:hidden}
.duo-home .display-home-hero {position:relative;height:61%;min-height:0;padding:36px 90px 30px 24px;gap:20px}
.duo-header {display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}
.duo-header .duo-wordmark {width:148px;height:40px;object-fit:contain}
.duo-header-actions {display:flex;align-items:center;gap:6px}
.duo-home button {font:inherit;color:#faf9fc;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #ffffff20;background:#ffffff15;border-radius:9px;min-width:40px;height:40px;padding:8px;cursor:pointer}
.duo-home button img,.duo-scope img,.duo-shelf-items img {width:22px;height:22px;object-fit:contain;filter:brightness(0) invert(1)}
.duo-scope {display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:140px;height:40px;padding:8px 12px;border:1px solid #ffffff30;border-radius:9px;background:#ffffff0d;font-size:14px}
.duo-scope img {width:13px;height:13px}
.duo-home .display-home-title {position:relative;gap:12px}
.duo-home .display-home-title>img {width:262px}
.duo-hero-actions {display:flex;align-items:center;gap:8px}
.duo-hero-actions .duo-joined-action {display:flex;overflow:hidden;border-radius:9px;background:#faf9fc}
.duo-joined-action button {border:0;background:transparent;color:#17171b;border-radius:0;font-size:16px;font-weight:600;padding-inline:12px}
.duo-joined-action button+button {border-left:1px solid #17171b25}
.duo-joined-action button img {filter:brightness(0);width:17px;height:17px}
.duo-home button[aria-pressed="true"] {background:#ffffff38}
.duo-resume-progress {width:210px;height:3px;background:#ffffff35;border-radius:9px;overflow:hidden}
.duo-resume-progress i {display:block;width:38%;height:100%;background:#fff}
.duo-carousel {position:absolute;bottom:9px;left:42%;display:flex;align-items:center;gap:9px}
.duo-carousel i {width:5px;height:5px;background:#ffffff55;border-radius:9px}
.duo-carousel i:first-child {width:18px;background:#fff}
.duo-shelf {position:absolute;right:12px;bottom:16px;display:flex;flex-direction:column;align-items:center;gap:10px;width:48px}
.duo-shelf-items {display:flex;flex-direction:column;gap:4px;padding:8px 4px;border:1px solid #ffffff20;background:#242329eb;border-radius:40px;box-shadow:0 6px 20px #0004}
.duo-shelf-items>span {display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%}
.duo-shelf-items>span.is-active {background:#ffffff20}
.duo-shelf-items img {width:22px;height:22px;opacity:.8}
.duo-home .duo-shelf>button {width:48px;height:48px;border-radius:50%;background:#242329eb}
.duo-more {display:flex;gap:3px;align-items:center}
.duo-more i {width:4px;height:4px;border-radius:50%;background:#c0bec7}
.duo-home .display-home-shelf {padding-right:84px}
.duo-source-list {position:absolute;z-index:3;left:0;top:100%;padding:14px;display:grid;gap:9px;background:#222126;border:1px solid #ffffff30;border-radius:12px;font-size:14px;box-shadow:0 8px 20px #0006}
.duo-source-list[hidden],.duo-shelf-items[hidden] {display:none}
.display-cover.duo-home .display-home-hero {height:66%;padding:36px 74px 30px 16px;gap:20px;background-position:60% center}
.display-cover .duo-header {gap:6px}
.display-cover .duo-header .duo-wordmark {width:106px;height:32px}
.display-cover .duo-header-actions {gap:5px}
.display-cover .duo-scope {min-width:120px;gap:8px;font-size:12px;padding-inline:8px}
.display-cover .display-home-title>img {width:225px}
.display-cover .duo-hero-actions {gap:6px}
.display-cover .duo-hero-actions>button {min-width:36px;width:36px;padding:7px}
.display-cover .duo-joined-action button {font-size:14px;padding-inline:9px;min-width:36px}
.display-cover .duo-shelf {right:9px}
.display-cover.duo-home .display-home-shelf {padding-right:72px}
