.alk-device-customizer {
  --alk-bg:#101014;
  --alk-panel:#19191f;
  --alk-panel-2:#202027;
  --alk-line:#ffffff20;
  --alk-text:#f6f4f8;
  --alk-muted:#b5b1bd;
  --alk-faint:#817d89;
  --alk-accent:#cdb1ff;
  --alk-accent-ink:#21182a;
  --alk-focus:#f3dcff;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border:1px solid #ffffff16;
  border-radius:26px;
  padding:clamp(22px,4vw,54px);
  color:var(--alk-text);
  background:
    radial-gradient(ellipse at 10% 10%,#39255088,transparent 42%),
    radial-gradient(ellipse at 92% 18%,#5c285877,transparent 36%),
    linear-gradient(135deg,#131218,#17131d 56%,#111116);
  box-shadow:0 28px 80px #0005;
  font-family:inherit;
}
.alk-device-customizer * { box-sizing:border-box }
.alk-device-customizer button,.alk-device-customizer input { font:inherit }
.alk-device-customizer button { color:inherit; cursor:pointer }
.alk-device-customizer img { display:block; max-width:100% }
.alk-device-customizer [hidden] { display:none !important }
.alk-customizer-intro { display:flex; align-items:end; justify-content:space-between; gap:30px; margin-bottom:28px }
.alk-customizer-intro>div:first-child { max-width:660px }
.alk-customizer-eyebrow { display:block; color:#d1b8ff; font-size:12px; font-weight:700; letter-spacing:.17em; line-height:1.4; text-transform:uppercase }
.alk-customizer-intro h2 { margin:12px 0 0; color:#fff; font-size:clamp(34px,5vw,64px); font-weight:500; letter-spacing:-.055em; line-height:.98 }
.alk-customizer-intro p { max-width:54ch; margin:17px 0 0; color:#c2bdc9; font-size:clamp(15px,1.25vw,18px); line-height:1.55 }
.alk-customizer-device-tabs { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px; min-width:fit-content; padding:5px; border:1px solid #ffffff20; border-radius:13px; background:#ffffff09 }
.alk-device-tab { min-height:42px; padding:0 14px; border:0; border-radius:9px; background:transparent; color:#d7d2dc !important; font-size:13px !important; font-weight:650; white-space:nowrap }
.alk-device-tab:hover { background:#ffffff0c }
.alk-device-tab.is-active { background:#e3d2ff; color:#20172a !important; box-shadow:0 4px 18px #cdb1ff22 }
.alk-device-customizer button:focus-visible,.alk-device-customizer input:focus-visible { outline:3px solid var(--alk-focus); outline-offset:3px }
.alk-device-stage { min-width:0; display:flex; justify-content:center; align-items:center; padding:clamp(16px,3vw,34px); overflow:hidden; border:1px solid #ffffff12; border-radius:20px; background:radial-gradient(ellipse at 50% 0%,#ffffff12,transparent 60%),linear-gradient(135deg,#141319,#0d0d11); }
.alk-stage-phone { min-height:670px }
.alk-phone-frame { width:min(100%,326px); padding:9px; border:1px solid #77727d; border-radius:42px; background:linear-gradient(145deg,#27262c,#060607 45%,#29282d); box-shadow:0 30px 75px #0009,0 0 0 5px #ffffff05,inset 0 0 0 1px #ffffff19 }
.alk-phone-screen { position:relative; display:flex; flex-direction:column; min-height:644px; max-height:700px; overflow:hidden; border:1px solid #000; border-radius:33px; background:#121216; color:#f4f1f8 }
.alk-phone-signal { display:flex; align-items:end; gap:2px; height:12px }
.alk-phone-signal i { width:3px; border-radius:2px; background:#f6f4f8 }
.alk-phone-signal i:nth-child(1){height:4px}.alk-phone-signal i:nth-child(2){height:6px}.alk-phone-signal i:nth-child(3){height:8px}.alk-phone-signal b { width:13px; height:8px; margin-left:4px; border:1px solid #f6f4f8; border-radius:2px }
.alk-phone-appbar { display:flex; align-items:center; gap:10px; min-height:47px; padding:0 17px; border-bottom:1px solid #ffffff12 }
.alk-app-mark { width:21px; height:21px; object-fit:contain }
.alk-phone-appbar strong { flex:1; font-size:14px }
.alk-phone-close { width:31px; height:31px; border:1px solid #ffffff24; border-radius:9px; background:#ffffff0b; color:#fff; font-size:22px; line-height:1 }
.alk-phone-editor-title { padding:15px 17px 7px }
.alk-phone-editor-title h3,.alk-editor-top h3 { margin:5px 0 4px; font-size:19px; font-weight:600; letter-spacing:-.035em }
.alk-phone-editor-title p,.alk-editor-top p { margin:0; color:#a8a3b0; font-size:11px; line-height:1.4 }
.alk-compact-tabs { display:flex; gap:4px; padding:9px 15px; border-bottom:1px solid #ffffff14 }
.alk-compact-tabs button { min-height:33px; flex:1; border:1px solid transparent; border-radius:8px; background:transparent; color:#c8c2d0; font-size:12px; font-weight:650 }
.alk-compact-tabs button[aria-selected="true"] { border-color:#cdb1ff4c; background:#cdb1ff1b; color:#f0e6ff }
.alk-phone-module-pane,.alk-phone-preview-pane { min-height:0; flex:1; overflow:auto; padding:11px 14px 8px }
.alk-phone-page-picker { display:flex; align-items:center; gap:10px; min-height:40px; margin-bottom:11px; padding:0 10px; border:1px solid #ffffff1d; border-radius:9px; background:#ffffff08 }
.alk-phone-page-picker span { color:#a9a3af; font-size:11px }
.alk-phone-page-picker strong { flex:1; font-size:12px; font-weight:600 }
.alk-phone-page-picker img { width:14px; height:14px; opacity:.75 }
.alk-phone-list-heading,.alk-list-heading { margin:10px 2px 7px; color:#afa9b6; font-size:11px; font-weight:650; letter-spacing:.04em }
.alk-module-list { display:flex; flex-direction:column; min-width:0 }
.alk-module-row { position:relative; display:flex; align-items:center; gap:7px; min-width:0; min-height:44px; padding:4px 7px; border-bottom:1px solid #ffffff14; color:#eeebf2; transition:opacity .18s,background-color .18s,transform .22s }
.alk-module-name { min-width:0; flex:1; font-size:12px; line-height:1.25; font-weight:540 }
.alk-row-move,.alk-row-handle { flex:0 0 auto; display:grid; place-items:center; width:28px; height:30px; padding:5px; border:0; border-radius:7px; background:#ffffff08; color:#dad4e1; font-size:18px; line-height:1 }
.alk-row-move:hover,.alk-row-handle:hover { background:#ffffff17 }
.alk-row-move:disabled { opacity:.28; cursor:default }
.alk-row-move img { width:14px; height:14px; filter:brightness(0) invert(1); opacity:.82 }
.alk-row-handle { font-size:20px; color:#bab4c2 }
.alk-module-icon { flex:0 0 16px; width:16px; height:16px; object-fit:contain; filter:brightness(0) invert(1); opacity:.8 }
.alk-switch { position:relative; flex:0 0 auto; width:37px; height:22px; padding:2px; border:1px solid #ffffff23; border-radius:20px; background:#4c4951; transition:background .18s,border-color .18s }
.alk-switch span { display:block; width:16px; height:16px; border-radius:50%; background:#e9e6ed; box-shadow:0 1px 3px #0007; transition:transform .18s }
.alk-switch[aria-checked="true"] { border-color:#d6bdff; background:#a67ce0 }
.alk-switch[aria-checked="true"] span { transform:translateX(15px); background:#fff }
.alk-reset-button,.alk-show-outlines,.alk-outline-toggle { min-height:34px; border:1px solid #ffffff21; border-radius:8px; background:#ffffff08; color:#e9e5ee; font-size:11px; font-weight:600 }
.alk-reset-button { margin-top:12px; padding:0 12px }
.alk-hidden-hint { margin:10px 2px; color:#918b99; font-size:10px; line-height:1.35 }
.alk-editor-actions button { min-height:33px; padding:0 13px; border:1px solid #ffffff21; border-radius:8px; background:#ffffff08; color:#f1eef5; font-size:11px; font-weight:600 }
.alk-primary-button { border:1px solid #e7dbff !important; background:#e3d2ff !important; color:#20172a !important; font-weight:700 !important }
.alk-primary-button:hover { background:#eee4ff !important }
.alk-live-home { overflow:hidden; border:1px solid #ffffff18; border-radius:12px; background:#17171c; color:#f5f2f7 }
.alk-live-home-top { display:flex; align-items:center; justify-content:space-between; height:34px; padding:0 11px; color:#c9c4ce; font-size:9px; font-weight:700; letter-spacing:.1em }
.alk-live-home-top img { width:14px; height:14px; filter:brightness(0) invert(1) }
.alk-home-hero { position:relative; min-height:145px; overflow:hidden; background:#212128 }
.alk-home-hero>img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.67 }
.alk-home-hero:after { position:absolute; inset:30% 0 0; content:""; background:linear-gradient(0deg,#101014 0,transparent 100%) }
.alk-home-hero>div { position:absolute; z-index:1; inset:auto 13px 12px; display:flex; align-items:flex-start; flex-direction:column; gap:4px }
.alk-home-hero small,.alk-duo-hero small,.alk-canvas-hero small,.alk-tv-hero small { color:#e5d9f8; font-size:8px; font-weight:700; letter-spacing:.11em }
.alk-home-hero b { font-size:17px; letter-spacing:-.03em }
.alk-home-hero span { color:#d0cbd5; font-size:9px }
.alk-mini-play { display:inline-flex; align-items:center; gap:5px; min-height:26px; margin-top:3px; padding:0 10px; border:0; border-radius:7px; background:#f3f1f6; color:#17141c; font-size:10px; font-weight:700 }
.alk-mini-play img { width:11px; height:11px; filter:brightness(0) }
.alk-home-shelf { padding:10px 11px 6px; transition:opacity .18s }
.alk-home-shelf strong,.alk-duo-shelf b { display:block; margin-bottom:7px; font-size:11px }
.alk-poster-strip { display:flex; gap:7px; overflow:hidden }
.alk-poster-strip img { width:46px; height:69px; border-radius:4px; object-fit:cover }
.alk-phone-bottom-nav { display:flex; justify-content:space-around; gap:8px; padding:8px 5px 4px; border-top:1px solid #ffffff17; background:#121216 }
.alk-phone-bottom-nav span,.alk-duo-nav span { display:flex; align-items:center; flex-direction:column; gap:3px; color:#a9a4af; font-size:9px }
.alk-phone-bottom-nav span.selected,.alk-duo-nav span.selected { color:#d9c1ff }
.alk-phone-bottom-nav img,.alk-duo-nav img { width:14px; height:14px; filter:brightness(0) invert(1); opacity:.72 }
.alk-phone-bottom-nav .selected img,.alk-duo-nav .selected img { opacity:1; filter:brightness(0) saturate(100%) invert(79%) sepia(13%) saturate(1860%) hue-rotate(214deg) brightness(103%) contrast(101%) }
.alk-show-outlines { display:block; width:100%; margin-top:9px }

/* Open dual-screen phone */
.alk-stage-duo { min-height:620px; padding:clamp(12px,2.3vw,28px); }
.alk-duo-hinge { position:relative; z-index:2; margin:0 2px; border-left:1px solid #010101; border-right:1px solid #5c5961; background:linear-gradient(90deg,#09090b,#202025 50%,#09090b); box-shadow:0 0 8px #000a }
.alk-copy-pose { min-height:29px; padding:0 8px; border:1px solid #ffffff20; border-radius:7px; background:#ffffff08; color:#e4dfea; font-size:9px }
.alk-editor-actions { display:flex; align-items:center; gap:6px; margin-top:13px }
.alk-editor-actions button { min-height:30px; padding-inline:9px; font-size:10px }
.alk-editor-spacer { flex:1 }

/* Tablet layout view */
.alk-stage-ipad { min-height:610px; padding:clamp(10px,2vw,22px) }
.alk-ipad-frame { width:min(100%,1100px); padding:11px; border:1px solid #74717b; border-radius:30px; background:linear-gradient(135deg,#2c2b31,#08090b 50%,#343138); box-shadow:0 30px 75px #0009,inset 0 0 0 1px #ffffff22 }
.alk-ipad-screen { min-height:550px; overflow:hidden; border:1px solid #000; border-radius:21px; background:#121216; color:#f3f0f6 }
.alk-ipad-titlebar { display:flex; align-items:center; gap:11px; min-height:48px; padding:7px 14px; border-bottom:1px solid #ffffff18; background:#17171c }
.alk-ipad-titlebar>img { width:21px; height:21px }
.alk-ipad-titlebar>strong { font-size:13px; font-weight:650 }
.alk-ipad-titlebar>span { flex:1; color:#aaa4b0; font-size:10px }
.alk-title-actions { display:flex; align-items:center; gap:5px }
.alk-title-actions button { min-width:29px; min-height:28px; padding:0 8px; border:1px solid #ffffff21; border-radius:7px; background:#ffffff09; color:#f3f0f5; font-size:10px }
.alk-title-actions button[aria-label] { font-size:16px }
.alk-ipad-editor { display:grid; grid-template-columns:minmax(238px,.75fr) minmax(0,1.65fr); min-height:500px }
.alk-modules-sidebar { display:flex; flex-direction:column; min-width:0; padding:17px 14px 12px; border-right:1px solid #ffffff19; background:#19191f }
.alk-editor-subhead h3,.alk-tv-modules h3 { margin:0; font-size:16px; letter-spacing:-.02em }
.alk-editor-subhead p,.alk-tv-modules>p { margin:5px 0 0; color:#aaa5b0; font-size:10px; line-height:1.42 }
.alk-module-search { display:flex; align-items:center; gap:8px; height:33px; margin:12px 0 2px; padding:0 9px; border:1px solid #ffffff20; border-radius:8px; background:#101014 }
.alk-module-search img { width:13px; height:13px; filter:brightness(0) invert(1); opacity:.64 }
.alk-module-search input { min-width:0; width:100%; border:0; outline:0; background:transparent; color:#f6f3f8; font-size:10px }
.alk-module-search input::placeholder { color:#89838f }
.alk-module-group-label { margin:10px 2px 6px; color:#a9a4af; font-size:10px; font-weight:650 }
.alk-ipad-modules { flex:1; overflow:auto; scrollbar-width:thin; scrollbar-color:#5d5865 transparent }
.alk-ipad-modules .alk-module-row { min-height:39px; gap:6px; padding:3px 4px }
.alk-ipad-modules .alk-module-name { font-size:10px }
.alk-ipad-modules .alk-row-handle { width:24px; height:27px; font-size:16px }
.alk-ipad-modules .alk-switch { transform:scale(.8); transform-origin:right center }
.alk-sidebar-footer { display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:8px; margin-top:10px; padding-top:9px; border-top:1px solid #ffffff18; color:#918b98; font-size:9px }
.alk-sidebar-footer button { min-height:27px; padding:0 8px; border:1px solid #ffffff20; border-radius:7px; background:#ffffff08; font-size:9px }
.alk-canvas-wrap { display:flex; flex-direction:column; min-width:0; padding:13px 15px 12px; background:#111115 }
.alk-canvas-header { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; min-height:35px; margin-bottom:8px }
.alk-page-select { display:flex; align-items:center; gap:9px; min-height:29px; padding:0 9px; border:1px solid #ffffff21; border-radius:7px; background:#1b1b21; color:#e7e3eb; font-size:10px; font-weight:600 }
.alk-page-select img { width:12px; height:12px; filter:brightness(0) invert(1); opacity:.75 }
.alk-outline-toggle { display:flex; align-items:center; gap:6px; padding:0 8px; min-height:29px; font-size:9px }
.alk-outline-toggle img { width:13px; height:13px; filter:brightness(0) invert(1); opacity:.8 }
.alk-home-canvas { display:grid; grid-template-columns:34px minmax(0,1fr); flex:1; min-height:390px; overflow:hidden; border:1px solid #ffffff17; border-radius:10px; background:#17171c }
.alk-canvas-rail { display:flex; align-items:center; flex-direction:column; gap:13px; padding:12px 4px; border-right:1px solid #ffffff17; background:#141419 }
.alk-canvas-rail img { width:15px; height:15px; object-fit:contain; filter:brightness(0) invert(1); opacity:.74 }
.alk-canvas-rail > img:first-child { width:21px; height:21px; margin-bottom:8px; opacity:1 }
.alk-canvas-page { min-width:0; overflow:auto; padding:10px 12px }
.alk-canvas-hero { position:relative; min-height:145px; overflow:hidden; border:1px dashed #d3b6ffb0; border-radius:7px; background:#292730 }
.alk-canvas-hero>img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.72 }
.alk-canvas-hero:after { position:absolute; inset:20% 0 0; content:""; background:linear-gradient(0deg,#111115,transparent) }
.alk-canvas-hero>div { position:absolute; z-index:1; inset:auto 12px 11px; display:flex; align-items:flex-start; flex-direction:column; gap:4px }
.alk-canvas-hero h4,.alk-tv-hero h4 { margin:0; font-size:18px; line-height:1; letter-spacing:-.04em }
.alk-canvas-hero div>span,.alk-tv-hero div>span { color:#d2cdd7; font-size:9px }
.alk-canvas-label { position:absolute; z-index:2; top:7px; left:8px; padding:4px 6px; border:1px solid #e3caff75; border-radius:4px; background:#211b2cc9; color:#f0e4ff; font-size:8px; font-weight:700 }
.alk-canvas-shelf { position:relative; margin-top:9px; padding:9px 8px 6px; border:1px dashed #d3b6ff86; border-radius:7px; transition:opacity .18s }
.alk-canvas-shelf>h4 { margin:0 0 6px; font-size:11px; font-weight:650 }
.alk-canvas-shelf>div { display:flex; gap:8px; overflow:hidden }
.alk-canvas-shelf figure { width:54px; flex:0 0 54px; margin:0 }
.alk-canvas-shelf figure img { width:54px; height:81px; border-radius:3px; object-fit:cover }
.alk-canvas-shelf figcaption { margin-top:3px; color:#d2cdd7; font-size:8px; white-space:nowrap; text-overflow:ellipsis; overflow:hidden }

/* Apple TV editor: focus-driven menus, no drag or file transfer controls. */
.alk-stage-tv { min-height:600px; padding:clamp(11px,2.6vw,26px) }
.alk-tv-frame { width:min(100%,1120px); padding:14px; border:1px solid #85818c; border-radius:20px; background:linear-gradient(140deg,#25242a,#09090c 55%,#2c2a30); box-shadow:0 30px 75px #000a,inset 0 0 0 1px #ffffff20 }
.alk-tv-screen { min-height:470px; overflow:hidden; border:1px solid #060607; border-radius:9px; background:#111115; color:#f5f2f8 }
.alk-tv-topbar { display:flex; align-items:center; gap:13px; min-height:52px; padding:7px 18px; border-bottom:1px solid #ffffff18; background:#17171c }
.alk-tv-topbar>img { width:25px; height:25px }
.alk-tv-topbar>strong { flex:1; font-size:15px }
.alk-tv-title-actions { display:flex; gap:8px }
.alk-tv-title-actions button { min-height:32px; min-width:38px; padding:0 11px; border:1px solid #ffffff23; border-radius:7px; background:#ffffff08; color:#f4f0f7; font-size:11px }
.alk-tv-title-actions button[aria-label] { font-size:17px }
.alk-tv-editor { display:grid; grid-template-columns:minmax(310px,.72fr) minmax(0,1.6fr); min-height:405px }
.alk-tv-modules { min-width:0; padding:17px 15px; border-right:1px solid #ffffff18; background:#19191f }
.alk-tv-modules>p { max-width:34ch }
.alk-tv-modules-list { margin-top:5px }
.alk-tv-modules-list .alk-module-row { min-height:41px; gap:8px; padding-inline:4px; border-radius:7px }
.alk-tv-modules-list .alk-module-name { font-size:11px }
.alk-tv-modules-list .alk-row-move { width:30px; height:31px; border:1px solid #ffffff19; background:#ffffff09 }
.alk-tv-modules-list .alk-switch { width:38px; height:23px }
.alk-tv-modules-list .alk-module-row:focus-within,.alk-tv-modules-list .alk-module-row.is-focused { outline:2px solid #d4bbff; outline-offset:2px; background:#2d2738 }
.alk-tv-modules>.alk-reset-button { margin-top:14px }
.alk-tv-preview { display:flex; flex-direction:column; min-width:0; padding:13px 15px 10px }
.alk-tv-canvas { display:grid; grid-template-columns:42px minmax(0,1fr); flex:1; min-height:320px; overflow:hidden; border:1px solid #ffffff16; border-radius:7px; background:#16161b }
.alk-tv-nav { display:flex; align-items:center; flex-direction:column; gap:14px; padding:13px 5px; border-right:1px solid #ffffff18 }
.alk-tv-nav img { width:17px; height:17px; object-fit:contain; filter:brightness(0) invert(1); opacity:.76 }
.alk-tv-nav img:first-child { width:24px; height:24px; margin-bottom:6px; opacity:1 }
.alk-tv-home { min-width:0; overflow:hidden; padding:13px 14px }
.alk-tv-hero { position:relative; height:174px; overflow:hidden; border-radius:7px }
.alk-tv-hero>img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.8 }
.alk-tv-hero:after { position:absolute; inset:20% 0 0; content:""; background:linear-gradient(0deg,#101014,transparent) }
.alk-tv-hero>div { position:absolute; z-index:1; inset:auto 17px 14px; display:flex; align-items:flex-start; flex-direction:column; gap:6px }
.alk-tv-hero h4 { font-size:22px }
.alk-tv-hero div>span { font-size:11px }
.alk-tv-shelf { margin-top:11px; transition:opacity .18s }
.alk-tv-shelf h4 { margin:0 0 7px; font-size:13px }
.alk-tv-shelf>div { display:flex; gap:9px; overflow:hidden }
.alk-tv-shelf img { width:57px; height:84px; border-radius:4px; object-fit:cover }
.alk-tv-remote-hint { display:flex; align-items:center; gap:6px; margin-top:9px; color:#aaa5b1; font-size:9px }
.alk-tv-remote-hint kbd { display:inline-grid; min-width:17px; height:17px; place-items:center; border:1px solid #ffffff27; border-radius:4px; background:#ffffff09; color:#f3eff8; font:inherit }
.alk-customizer-status { min-height:20px; margin:12px 3px 0; color:#c5becd; font-size:11px; line-height:1.4 }
.alk-demo-pointer { position:absolute; z-index:30; top:0; left:0; width:24px; height:32px; pointer-events:none; opacity:0; transform:translate(-2px,-2px); transition:top .7s cubic-bezier(.2,.8,.2,1),left .7s cubic-bezier(.2,.8,.2,1),opacity .2s }
.alk-demo-pointer:before { position:absolute; inset:0; content:""; background:url("/assets/home/icons/demo-cursor.svg") center/contain no-repeat; filter:drop-shadow(0 1px 2px #000a); }
.alk-demo-pointer span { position:absolute; top:-8px; left:-8px; width:19px; height:19px; border:1px solid #fff; border-radius:50%; background:#d6b9ff70; box-shadow:0 0 0 4px #cdb1ff30; opacity:0 }
.alk-device-customizer.is-demo-playing .alk-demo-pointer { opacity:1 }
.alk-device-customizer.is-demo-clicking .alk-demo-pointer span { animation:alk-demo-click .38s ease-out }
@keyframes alk-demo-click { 0%{opacity:.9;transform:scale(.5)} 100%{opacity:0;transform:scale(1.5)} }
.alk-device-customizer .is-hidden-module { opacity:.42 }
.alk-device-customizer .is-hidden-module .alk-module-name { text-decoration:line-through; text-decoration-color:#8f8996 }
.alk-device-customizer .is-hidden-preview { display:none !important }
.alk-device-customizer .is-clean-preview .alk-canvas-section { border-color:transparent }
.alk-device-customizer .alk-module-row.is-moved { animation:alk-row-settle .3s ease-out }
@keyframes alk-row-settle { from{transform:translateY(6px);background:#cdb1ff25} to{transform:translateY(0);background:transparent} }
.alk-device-customizer .alk-focus-menu { position:absolute; z-index:8; top:calc(100% + 4px); right:0; display:flex; flex-direction:column; min-width:125px; padding:5px; border:1px solid #ffffff2b; border-radius:8px; background:#25242b; box-shadow:0 10px 26px #0009 }
.alk-device-customizer .alk-focus-menu button { min-height:29px; padding:0 8px; border:0; border-radius:5px; background:transparent; color:#f4f0f7; text-align:left; font-size:10px }
.alk-device-customizer .alk-focus-menu button:hover,.alk-device-customizer .alk-focus-menu button:focus-visible { background:#ffffff16 }
@media (max-width:900px) {
  .alk-customizer-intro { align-items:flex-start; flex-direction:column; gap:20px }
  .alk-customizer-device-tabs { justify-content:flex-start; min-width:0; width:100% }
  .alk-device-tab { flex:1; padding-inline:9px }
  .alk-stage-duo { min-height:0 }
  .alk-ipad-titlebar>span { display:none }
  .alk-ipad-editor { grid-template-columns:minmax(205px,.72fr) minmax(0,1.4fr) }
  .alk-home-canvas { grid-template-columns:28px minmax(0,1fr) }
  .alk-canvas-rail { padding-inline:3px }
  .alk-canvas-page { padding-inline:8px }
  .alk-tv-editor { grid-template-columns:minmax(245px,.78fr) minmax(0,1.45fr) }
}
@media (max-width:620px) {
  .alk-device-customizer { padding:22px 14px; border-radius:18px }
  .alk-customizer-intro { margin-bottom:20px }
  .alk-customizer-intro h2 { font-size:clamp(34px,10vw,48px) }
  .alk-customizer-device-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:3px; padding:4px }
  .alk-device-tab { min-width:0; min-height:38px; padding:0 3px; font-size:11px !important }
  .alk-device-stage { padding:12px 7px; border-radius:13px }
  .alk-stage-phone { min-height:0 }
  .alk-phone-frame { width:min(100%,326px) }
  .alk-stage-duo { min-height:0 }
  .alk-editor-top { padding-block:6px; gap:4px }
  .alk-editor-top h3 { font-size:10px }
  .alk-editor-top p { font-size:7px }
  .alk-phone-close { width:22px;height:22px; font-size:16px }
  .alk-list-heading { margin:6px 1px 4px; font-size:8px }
  .alk-editor-actions { gap:3px; margin-top:7px }
  .alk-editor-actions button { min-height:24px; padding-inline:4px; border-radius:6px; font-size:7px }
  .alk-stage-ipad { min-height:0 }
  .alk-ipad-frame { padding:5px; border-radius:16px }
  .alk-ipad-screen { min-height:0; border-radius:10px }
  .alk-ipad-titlebar { min-height:36px; gap:5px; padding:4px 6px }
  .alk-ipad-titlebar>img { width:14px;height:14px }
  .alk-ipad-titlebar>strong { font-size:9px }
  .alk-title-actions { gap:2px }
  .alk-title-actions button { min-width:20px; min-height:22px; padding:0 4px; font-size:7px }
  .alk-title-actions button[aria-label] { font-size:11px }
  .alk-ipad-editor { grid-template-columns:minmax(114px,.73fr) minmax(0,1.35fr); min-height:300px }
  .alk-modules-sidebar { padding:8px 5px 6px }
  .alk-editor-subhead h3 { font-size:11px }
  .alk-editor-subhead p { font-size:7px }
  .alk-module-search { gap:4px; height:25px; margin-top:7px; padding-inline:5px }
  .alk-module-search img { width:10px;height:10px }
  .alk-module-search input { font-size:7px }
  .alk-module-group-label { margin:7px 1px 3px; font-size:7px }
  .alk-ipad-modules .alk-module-row { min-height:31px; gap:3px; padding:2px }
  .alk-ipad-modules .alk-row-handle { width:16px;height:20px; padding:2px; font-size:11px }
  .alk-ipad-modules .alk-module-icon { flex-basis:10px; width:10px;height:10px }
  .alk-ipad-modules .alk-module-name { font-size:7px }
  .alk-ipad-modules .alk-switch { width:25px;height:16px;padding:1px;transform:none }
  .alk-ipad-modules .alk-switch span { width:12px;height:12px }
  .alk-ipad-modules .alk-switch[aria-checked="true"] span { transform:translateX(9px) }
  .alk-sidebar-footer { gap:3px; margin-top:5px; padding-top:5px; font-size:6px }
  .alk-sidebar-footer button { min-height:20px;padding-inline:3px;font-size:6px }
  .alk-canvas-wrap { padding:5px }
  .alk-canvas-header { gap:4px; margin-bottom:5px }
  .alk-page-select,.alk-outline-toggle { min-height:22px; gap:3px; padding-inline:4px; font-size:6px }
  .alk-page-select img,.alk-outline-toggle img { width:9px;height:9px }
  .alk-home-canvas { grid-template-columns:18px minmax(0,1fr); min-height:292px }
  .alk-canvas-rail { gap:8px; padding:7px 2px }
  .alk-canvas-rail img { width:9px;height:9px }
  .alk-canvas-rail > img:first-child { width:13px;height:13px;margin-bottom:4px }
  .alk-canvas-page { padding:5px }
  .alk-canvas-hero { min-height:81px }
  .alk-canvas-hero>div { inset:auto 5px 5px; gap:2px }
  .alk-canvas-hero h4 { font-size:10px }
  .alk-canvas-hero small,.alk-canvas-hero div>span { font-size:6px }
  .alk-canvas-hero .alk-mini-play { min-height:18px; padding-inline:4px; font-size:7px }
  .alk-canvas-hero .alk-mini-play img { width:8px;height:8px }
  .alk-canvas-label { top:3px;left:3px;padding:2px 3px;font-size:5px }
  .alk-canvas-shelf { margin-top:4px;padding:5px 3px 3px }
  .alk-canvas-shelf>h4 { margin-bottom:3px;font-size:7px }
  .alk-canvas-shelf>div { gap:4px }
  .alk-canvas-shelf figure { width:28px;flex-basis:28px }
  .alk-canvas-shelf figure img { width:28px;height:42px }
  .alk-canvas-shelf figcaption { font-size:5px }
  .alk-stage-tv { min-height:0 }
  .alk-tv-frame { padding:5px;border-radius:12px }
  .alk-tv-screen { min-height:0;border-radius:5px }
  .alk-tv-topbar { min-height:32px;gap:5px;padding:4px 6px }
  .alk-tv-topbar>img { width:14px;height:14px }
  .alk-tv-topbar>strong { font-size:9px }
  .alk-tv-title-actions { gap:2px }
  .alk-tv-title-actions button { min-height:21px;min-width:22px;padding-inline:4px;border-radius:5px;font-size:6px }
  .alk-tv-title-actions button[aria-label] { font-size:10px }
  .alk-tv-editor { grid-template-columns:minmax(118px,.77fr) minmax(0,1.3fr);min-height:285px }
  .alk-tv-modules { padding:8px 5px }
  .alk-tv-modules h3 { font-size:10px }
  .alk-tv-modules>p { font-size:6.5px }
  .alk-tv-modules-list { margin-top:2px }
  .alk-tv-modules-list .alk-module-row { min-height:28px;gap:3px;padding-inline:1px }
  .alk-tv-modules-list .alk-module-name { font-size:6.5px }
  .alk-tv-modules-list .alk-row-move { width:18px;height:19px;padding:3px }
  .alk-tv-modules-list .alk-row-move img { width:9px;height:9px }
  .alk-tv-modules-list .alk-switch { width:25px;height:16px;padding:1px }
  .alk-tv-modules-list .alk-switch span { width:12px;height:12px }
  .alk-tv-modules-list .alk-switch[aria-checked="true"] span { transform:translateX(9px) }
  .alk-tv-modules>.alk-reset-button { min-height:20px;margin-top:6px;padding-inline:4px;font-size:6px }
  .alk-tv-preview { padding:5px }
  .alk-tv-canvas { grid-template-columns:19px minmax(0,1fr);min-height:240px }
  .alk-tv-nav { gap:8px;padding:7px 2px }
  .alk-tv-nav img { width:9px;height:9px }
  .alk-tv-nav img:first-child { width:13px;height:13px;margin-bottom:3px }
  .alk-tv-home { padding:6px 5px }
  .alk-tv-hero { height:90px }
  .alk-tv-hero>div { inset:auto 5px 6px;gap:3px }
  .alk-tv-hero small,.alk-tv-hero div>span { font-size:6px }
  .alk-tv-hero h4 { font-size:11px }
  .alk-tv-hero .alk-mini-play { min-height:18px;padding-inline:4px;font-size:7px }
  .alk-tv-shelf { margin-top:5px }
  .alk-tv-shelf h4 { margin-bottom:4px;font-size:7px }
  .alk-tv-shelf>div { gap:4px }
  .alk-tv-shelf img { width:28px;height:42px }
  .alk-tv-remote-hint { gap:2px;margin-top:4px;font-size:5px }
  .alk-tv-remote-hint kbd { min-width:12px;height:12px;font-size:5px }
}

/* Transparent Figma bezels sit above a real screen aperture. */
.alk-device-customizer .alk-stage-phone::before,
.alk-device-customizer .alk-stage-phone::after { display:none !important; }
.alk-device-customizer .alk-phone-frame,
.alk-device-customizer .alk-ipad-frame,
.alk-device-customizer .alk-duo-editor-frame { position:relative; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; overflow:hidden; }
.alk-device-customizer .alk-phone-frame { width:min(100%,326px); aspect-ratio:1350 / 2760; }
.alk-device-customizer .alk-ipad-frame { width:min(100%,1100px); aspect-ratio:2640 / 1880; }
.alk-device-customizer .alk-duo-editor-frame { width:min(100%,1031px); aspect-ratio:3093 / 2247; }
.alk-device-customizer .alk-device-bezel { position:absolute; z-index:30; inset:0; display:block; width:100%; height:100%; max-width:none; object-fit:fill; pointer-events:none; }
.alk-device-customizer .alk-phone-screen { position:absolute; inset:2.5% auto auto 5.3333%; display:flex; flex-direction:column; width:89.3334%; height:95%; min-height:0; max-height:none; overflow:hidden; border:0; border-radius:17% / 8%; background:#121216; }
.alk-device-customizer .alk-ipad-screen { position:absolute; inset:5.6383% auto auto 4.1667%; width:91.6666%; height:88.7234%; min-height:0; overflow:hidden; border:0; border-radius:0; background:#121216; }
.alk-device-customizer .alk-duo-editor-screen { position:absolute; inset:5.3405% auto auto 3.8807%; width:92.2405%; height:89.3191%; overflow:hidden; border:0; border-radius:0; background:#121216; }
.alk-device-customizer .alk-phone-screen::before,
.alk-device-customizer .alk-phone-screen::after,
.alk-device-customizer .alk-duo-editor-screen::after,
.alk-device-customizer .alk-device-hinge-overlay,
.alk-device-customizer .alk-duo-hinge { display:none !important; }
.alk-device-customizer .alk-phone-os-status { flex:0 0 34px; height:34px; padding-top:7px; }
.alk-device-customizer .alk-phone-editor-title { padding-top:4px; }
.alk-device-customizer .alk-ipad-logical { display:grid; grid-template-rows:auto minmax(0,1fr); width:1210px; height:834px; transform-origin:top left; }
.alk-device-customizer .alk-duo-logical { display:grid; grid-template-rows:auto minmax(0,1fr); width:951px; height:669px; transform-origin:top left; }
.alk-device-customizer .alk-ipad-editor { height:auto; min-height:0; }
.alk-device-customizer .alk-duo-editor { display:grid; grid-template-columns:minmax(230px,.65fr) minmax(0,1.7fr); width:951px; height:auto; min-height:0; }
.alk-device-customizer .alk-duo-modules-sidebar { max-height:none; border-right:1px solid #ffffff19; border-bottom:0; }
.alk-device-customizer .alk-duo-device-preview { width:100%; }
.alk-device-customizer .alk-duo-canvas-wrap { min-width:0; }
.alk-device-customizer .alk-duo-screen-content { padding:12px; }
.alk-device-customizer .alk-duo-hinge { display:none; }
.alk-device-customizer .alk-ipad-logical .alk-ipad-titlebar,
.alk-device-customizer .alk-duo-logical .alk-ipad-titlebar { display:flex; align-items:center; flex-wrap:nowrap; gap:10px; }
.alk-device-customizer .alk-ipad-logical .alk-ipad-titlebar>span,
.alk-device-customizer .alk-duo-logical .alk-ipad-titlebar>span { display:block; }
.alk-device-customizer .alk-ipad-logical .alk-ipad-editor { grid-template-columns:minmax(238px,.75fr) minmax(0,1.65fr); height:auto; min-height:0; }
.alk-device-customizer .alk-ipad-logical .alk-modules-sidebar,
.alk-device-customizer .alk-duo-logical .alk-modules-sidebar { padding:17px 14px 12px; }
.alk-device-customizer .alk-ipad-logical .alk-ipad-modules .alk-module-row,
.alk-device-customizer .alk-duo-logical .alk-ipad-modules .alk-module-row { min-height:39px; gap:6px; padding:3px 4px; }
.alk-device-customizer .alk-ipad-logical .alk-ipad-modules .alk-module-name,
.alk-device-customizer .alk-duo-logical .alk-ipad-modules .alk-module-name { font-size:10px; }
.alk-device-customizer .alk-ipad-logical .alk-ipad-modules .alk-row-handle,
.alk-device-customizer .alk-duo-logical .alk-ipad-modules .alk-row-handle { width:24px; height:27px; font-size:16px; }
.alk-device-customizer .alk-ipad-logical .alk-ipad-modules .alk-switch,
.alk-device-customizer .alk-duo-logical .alk-ipad-modules .alk-switch { transform:scale(.8); }
.alk-device-customizer .alk-ipad-logical .alk-canvas-wrap,
.alk-device-customizer .alk-duo-logical .alk-canvas-wrap { padding:13px 15px 12px; }
.alk-device-customizer .alk-ipad-logical .alk-canvas-header,
.alk-device-customizer .alk-duo-logical .alk-canvas-header { min-height:35px; margin-bottom:8px; gap:8px; }
.alk-device-customizer .alk-ipad-logical .alk-page-select,
.alk-device-customizer .alk-duo-logical .alk-page-select { min-height:29px; padding:0 9px; font-size:10px; }
.alk-device-customizer .alk-ipad-logical .alk-home-canvas { min-height:0; grid-template-columns:34px minmax(0,1fr); }
.alk-device-customizer .alk-ipad-logical .alk-canvas-hero { min-height:130px; }
.alk-device-customizer .alk-ipad-logical .alk-canvas-shelf { min-height:110px; }
.alk-device-customizer .alk-ipad-logical .alk-canvas-shelf figure { width:54px; flex-basis:54px; }
.alk-device-customizer .alk-ipad-logical .alk-canvas-shelf figure img { width:54px; height:81px; }
.alk-device-customizer .alk-ipad-logical .alk-canvas-shelf figcaption { font-size:9px; }
.alk-device-customizer .alk-duo-logical .alk-duo-editor .alk-duo-device-preview { max-width:100%; }
.alk-device-customizer .alk-duo-logical .alk-duo-editor .alk-duo-preview-hero { height:50%; }
.alk-device-customizer .alk-stage-phone::before,
.alk-device-customizer .alk-stage-phone::after { content:none !important; }
.alk-device-customizer .alk-stage-phone .alk-phone-fan,
.alk-device-customizer .alk-stage-phone [class*="poster-fan"] { display:none !important; }

@media (prefers-reduced-motion:reduce) {
  .alk-device-customizer *, .alk-device-customizer *:before, .alk-device-customizer *:after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important }
  .alk-device-customizer .alk-demo-pointer { display:none }
}


/* Unified Duo layout editor: one wide preview carries a single center hinge. */
.alk-duo-editor-frame { width:min(100%,1180px); overflow:hidden; border:1px solid #77737e; border-radius:26px; background:#121216; color:#f3f0f6; box-shadow:0 30px 75px #0009,inset 0 0 0 1px #ffffff18 }
.alk-duo-editor { display:grid; grid-template-columns:minmax(230px,.65fr) minmax(0,1.7fr); min-height:530px }
.alk-duo-modules-sidebar { min-height:0 }
.alk-duo-canvas-wrap { min-height:0 }
.alk-duo-form-rail { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; margin:0 0 10px }
.alk-duo-form-tabs { display:flex; align-items:center; gap:4px; padding:3px; border:1px solid #ffffff20; border-radius:9px; background:#ffffff08 }
.alk-duo-form-tabs button { min-height:30px; padding:0 10px; border:0; border-radius:7px; background:transparent; color:#c9c3d0; font-size:10px; font-weight:650 }
.alk-duo-form-tabs button[aria-selected="true"] { background:#e3d2ff; color:#21182a }
.alk-duo-device-preview { position:relative; width:min(100%,850px); aspect-ratio:1.9; margin:0 auto; overflow:hidden; border:1px solid #aaa5ae; border-radius:23px; background:#0c0c10; box-shadow:0 10px 26px #0008 }
.alk-duo-screen-content { position:absolute; inset:0; display:grid; grid-template-columns:1fr 1fr; grid-template-rows:auto minmax(0,1fr) minmax(0,.8fr); gap:8px; overflow:hidden; padding:clamp(8px,1.5vw,18px); background:#141419 }
.alk-duo-preview-nav { grid-column:1/-1; display:flex; align-items:center; gap:8px; height:28px; margin-bottom:7px; border-bottom:1px solid #ffffff18; color:#eeeaf2; font-size:11px }
.alk-duo-preview-nav img:first-child { width:18px; height:18px }
.alk-duo-preview-nav img:last-child { width:14px; height:14px; margin-left:auto; filter:brightness(0) invert(1) }
.alk-duo-preview-hero { grid-column:1/-1; position:relative; height:50%; min-height:75px; overflow:hidden; border:1px dashed #d3b6ff9c; border-radius:8px; background:#25242a }
.alk-duo-preview-hero>img { position:absolute; width:100%; height:100%; object-fit:cover; opacity:.75 }
.alk-duo-preview-hero:after { position:absolute; inset:35% 0 0; content:""; background:linear-gradient(0deg,#101014,transparent) }
.alk-duo-preview-hero>div { position:absolute; z-index:1; inset:auto 12px 8px; display:flex; align-items:flex-start; flex-direction:column; gap:4px }
.alk-duo-preview-hero h4 { margin:0; font-size:clamp(12px,1.6vw,20px) }
.alk-duo-preview-hero span { color:#ded9e3; font-size:9px }
.alk-duo-preview-shelf { min-width:0; padding:7px; border:1px dashed #d3b6ff76; border-radius:7px }
.alk-duo-preview-shelf h4 { margin:0 0 5px; font-size:10px }
.alk-duo-preview-shelf>div { display:flex; gap:6px; overflow:hidden }
.alk-duo-preview-shelf img { width:clamp(25px,4vw,49px); aspect-ratio:2/3; border-radius:3px; object-fit:cover }
.alk-duo-hinge { position:absolute; z-index:2; inset:0 auto 0 50%; width:7px; transform:translateX(-50%); border-left:1px solid #09090b; border-right:1px solid #55515b; background:linear-gradient(90deg,#15151a,#050507 50%,#17171d); pointer-events:none }
.alk-duo-device-preview[data-duo-device="closed"] { width:min(100%,290px); aspect-ratio:.58; border-radius:25px }
.alk-duo-device-preview[data-duo-device="closed"] .alk-duo-preview-hero { height:34% }
.alk-duo-device-preview[data-duo-device="closed"] .alk-duo-preview-shelves { grid-template-columns:1fr }
.alk-phone-editor-title { display:flex; align-items:center; flex-wrap:wrap; gap:5px; padding:12px 10px 8px }
.alk-phone-editor-title h3 { flex:1 0 100%; margin:0 0 2px; font-size:15px }
.alk-phone-title-actions { display:flex; align-items:center; gap:4px; width:100% }
.alk-phone-title-actions button { min-width:0; min-height:28px; flex:1; padding:0 5px; border:1px solid #ffffff21; border-radius:7px; background:#ffffff08; color:#f1eef5; font-size:9px; white-space:nowrap }
.alk-phone-title-actions button[aria-label] { flex:0 0 28px; padding:0; font-size:15px }
.alk-phone-title-actions .alk-primary-button { flex:1.25 }

@media (max-width:760px) {
  .alk-duo-editor { grid-template-columns:1fr }
  .alk-duo-modules-sidebar { max-height:300px; border-right:0; border-bottom:1px solid #ffffff19 }
  .alk-duo-device-preview { width:100% }
}
@media (max-width:620px) {
  .alk-duo-editor-frame { border-radius:17px }
  .alk-duo-editor { min-height:0 }
  .alk-duo-modules-sidebar { max-height:248px; padding:11px 10px }
  .alk-duo-canvas-wrap { padding:10px }
  .alk-duo-form-rail { justify-content:flex-start; gap:5px }
  .alk-duo-form-tabs button { padding-inline:6px; font-size:9px }
  .alk-copy-pose { min-height:28px; font-size:8px }
  .alk-duo-device-preview { border-radius:12px }
  .alk-duo-preview-nav { height:20px; font-size:8px }
  .alk-duo-preview-nav img:first-child { width:13px;height:13px }
  .alk-duo-preview-hero { min-height:57px }
  .alk-duo-preview-hero>div { inset:auto 6px 5px; gap:2px }
  .alk-duo-preview-hero span { font-size:7px }
  .alk-duo-preview-hero .alk-mini-play { min-height:19px; padding-inline:6px; font-size:8px }
  .alk-duo-preview-shelf { padding:4px }
  .alk-duo-preview-shelf h4 { margin-bottom:3px; font-size:7px }
  .alk-duo-hinge { width:5px }
}

.alk-title-actions button:disabled,.alk-phone-title-actions button:disabled { opacity:.36; cursor:default }

.alk-compact-preview-menu { display:inline-flex; align-items:center; gap:5px; min-height:32px; padding:0 8px; border:1px solid #ffffff21; border-radius:8px; background:#ffffff08; color:#e9e5ee; font-size:10px; font-weight:600 }
.alk-compact-preview-menu img,.alk-title-actions [data-action="preview-menu"] img { width:12px; height:12px; filter:brightness(0) invert(1); opacity:.75 }
.alk-title-actions [data-action="preview-menu"] { display:inline-flex; align-items:center; gap:5px }
.alk-phone-preview-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin:0 0 8px }
.alk-phone-preview-toolbar .alk-page-select { flex:0 0 auto }
.alk-bar-hint { color:#aaa5b0; font-size:10px }
.alk-device-chip { flex:0 0 auto; padding:5px 8px; border:1px solid #ffffff21; border-radius:7px; color:#c7c1ce; font-size:10px }

.alk-title-actions,.alk-compact-tabs { position:relative }

/* Supplied Figma device frames. PNGs are opaque; their uniform screen fill is covered by the matching viewport. */
.alk-phone-frame {
  position:relative; width:min(100%,326px); aspect-ratio:450 / 920; padding:0; border:0; border-radius:0;
  background:#1e1e1e url("/assets/home/iphone-bezel.png") center / 100% 100% no-repeat; box-shadow:none;
}
.alk-phone-screen {
  position:absolute; left:5.3333%; top:2.5%; width:89.3333%; height:95%; min-height:0; max-height:none;
  overflow:hidden; border:0; border-radius:13% / 8%; background:#121216; color:#f4f1f8;
}
.alk-phone-os-status { position:relative; z-index:2; display:flex; align-items:center; justify-content:space-between; height:29px; padding:1px 9% 0; color:#f7f5f9; font-size:9px; font-weight:700; }
.alk-phone-screen::before { position:absolute; z-index:3; top:4px; left:50%; width:31%; height:23px; border-radius:99px; background:#030304; content:""; transform:translateX(-50%); }
.alk-phone-screen::after { position:absolute; z-index:4; top:10px; left:calc(50% + 10%); width:7px; height:7px; border-radius:50%; background:#111522; box-shadow:inset 0 0 0 1px #252a3a; content:""; }
.alk-phone-editor-title { padding:4px 10px 7px; }

.alk-ipad-frame {
  position:relative; width:min(100%,1100px); aspect-ratio:1320 / 940; min-height:0; padding:0; border:0; border-radius:0;
  background:#1e1e1e url("/assets/home/ipad-bezel.png") center / 100% 100% no-repeat; box-shadow:none;
}
.alk-ipad-screen {
  position:absolute; left:4.1667%; top:5.6383%; width:91.6667%; height:88.7234%; min-height:0;
  overflow:auto; border:0; border-radius:2.8%; background:#121216; color:#f3f0f6;
}
.alk-ipad-titlebar { position:relative; }

.alk-duo-editor-frame {
  position:relative; width:min(100%,1031px); aspect-ratio:1031 / 749; min-height:0; overflow:hidden; border:0; border-radius:0;
  background:#1e1e1e url("/assets/home/duo-open-bezel.png") center / 100% 100% no-repeat; box-shadow:none;
}
.alk-duo-editor-screen {
  position:absolute; left:3.8807%; top:5.3405%; width:92.2405%; height:89.3191%;
  overflow:auto; border:0; border-radius:2.1%; background:#121216; color:#f3f0f6;
}
.alk-duo-editor-screen::after { position:fixed; z-index:20; inset:0 auto 0 50%; width:4px; content:""; pointer-events:none; background:linear-gradient(90deg,#101014,#28272d,#101014); opacity:.82; }
.alk-duo-editor { min-height:100%; }
.alk-duo-device-preview { aspect-ratio:951 / 669; }
.alk-duo-device-preview[data-duo-device="closed"] { aspect-ratio:402 / 874; }
.alk-device-hinge-overlay { display:none; }

@media (max-width:760px) {
  .alk-ipad-titlebar { display:grid; grid-template-columns:22px minmax(0,1fr); gap:5px 8px; align-items:center; }
  .alk-ipad-titlebar>strong { grid-column:2; }
  .alk-ipad-titlebar>span { display:none; }
  .alk-ipad-titlebar .alk-title-actions { grid-column:1 / -1; justify-content:flex-end; flex-wrap:wrap; }
  .alk-duo-editor-screen .alk-ipad-titlebar { display:grid; grid-template-columns:22px minmax(0,1fr); gap:5px 8px; }
  .alk-duo-editor-screen .alk-ipad-titlebar>strong { grid-column:2; }
  .alk-duo-editor-screen .alk-ipad-titlebar .alk-title-actions { grid-column:1 / -1; justify-content:flex-end; flex-wrap:wrap; }
  .alk-ipad-editor { min-height:450px; }
}
@media (max-width:620px) {
  .alk-phone-frame { width:min(100%,300px); }
  .alk-ipad-frame { width:100%; }
  .alk-duo-editor-frame { width:100%; }
  .alk-duo-device-preview { width:100%; }
  .alk-duo-editor { grid-template-columns:1fr; min-height:0; }
  .alk-duo-modules-sidebar { max-height:none; }
  .alk-duo-editor-screen { overflow:auto; }
  .alk-ipad-screen { overflow:auto; }
}

/* Keep the TV hardware display at 16:9 and scale its complete editor as one unit. */
.alk-device-customizer .alk-tv-frame { width:min(100%,1120px); padding:8px; }
.alk-device-customizer .alk-tv-screen { display:block; width:100%; height:auto; aspect-ratio:16 / 9; min-height:0; overflow:hidden; }
.alk-device-customizer .alk-tv-logical { display:grid; grid-template-rows:auto minmax(0,1fr); width:1280px; height:720px; transform-origin:top left; }
.alk-device-customizer .alk-tv-logical .alk-tv-topbar { min-height:52px; gap:13px; padding:7px 18px; }
.alk-device-customizer .alk-tv-logical .alk-tv-topbar>img { width:25px; height:25px; }
.alk-device-customizer .alk-tv-logical .alk-tv-topbar>strong { font-size:15px; }
.alk-device-customizer .alk-tv-logical .alk-tv-title-actions { gap:8px; }
.alk-device-customizer .alk-tv-logical .alk-tv-title-actions button { min-height:32px; min-width:38px; padding:0 11px; font-size:11px; }
.alk-device-customizer .alk-tv-logical .alk-tv-title-actions button[aria-label] { font-size:17px; }
.alk-device-customizer .alk-tv-logical .alk-tv-editor { grid-template-columns:minmax(310px,.72fr) minmax(0,1.6fr); height:auto; min-height:0; }
.alk-device-customizer .alk-tv-logical .alk-tv-modules { padding:17px 15px; }
.alk-device-customizer .alk-tv-logical .alk-tv-modules h3 { font-size:16px; }
.alk-device-customizer .alk-tv-logical .alk-tv-modules>p { font-size:10px; }
.alk-device-customizer .alk-tv-logical .alk-tv-modules-list .alk-module-row { min-height:41px; gap:8px; padding-inline:4px; }
.alk-device-customizer .alk-tv-logical .alk-tv-modules-list .alk-module-name { font-size:11px; }
.alk-device-customizer .alk-tv-logical .alk-tv-modules-list .alk-row-handle { width:30px; height:31px; }
.alk-device-customizer .alk-tv-logical .alk-tv-modules-list .alk-switch { width:38px; height:23px; }
.alk-device-customizer .alk-tv-logical .alk-tv-modules>.alk-reset-button { min-height:27px; margin-top:14px; padding-inline:8px; font-size:9px; }
.alk-device-customizer .alk-tv-logical .alk-tv-preview { min-height:0; padding:13px 15px 10px; }
.alk-device-customizer .alk-tv-logical .alk-tv-canvas { flex:0 0 auto; width:100%; height:auto; aspect-ratio:16 / 9; min-height:0; grid-template-columns:42px minmax(0,1fr); }
.alk-device-customizer .alk-tv-logical .alk-tv-nav { gap:14px; padding:13px 5px; }
.alk-device-customizer .alk-tv-logical .alk-tv-nav img { width:17px; height:17px; }
.alk-device-customizer .alk-tv-logical .alk-tv-nav img:first-child { width:24px; height:24px; margin-bottom:6px; }
.alk-device-customizer .alk-tv-logical .alk-tv-home { height:100%; padding:13px 14px; overflow:auto; }
.alk-device-customizer .alk-tv-logical .alk-tv-hero { height:150px; }
.alk-device-customizer .alk-tv-logical .alk-tv-hero>div { inset:auto 14px 11px; gap:5px; }
.alk-device-customizer .alk-tv-logical .alk-tv-hero h4 { font-size:20px; }
.alk-device-customizer .alk-tv-logical .alk-tv-hero div>span { font-size:10px; }
.alk-device-customizer .alk-tv-logical .alk-tv-shelf { margin-top:9px; }
.alk-device-customizer .alk-tv-logical .alk-tv-shelf h4 { margin-bottom:6px; font-size:12px; }
.alk-device-customizer .alk-tv-logical .alk-tv-shelf>div { gap:8px; }
.alk-device-customizer .alk-tv-logical .alk-tv-shelf img { width:54px; height:81px; }
.alk-device-customizer .alk-tv-logical .alk-tv-remote-hint { gap:6px; margin-top:9px; font-size:9px; }
.alk-device-customizer .alk-tv-logical .alk-tv-remote-hint kbd { min-width:17px; height:17px; font-size:9px; }

.alk-canvas-rail > img,.alk-canvas-utilities > img {flex-shrink:0}
.alk-canvas-utilities {display:flex;flex-direction:column;align-items:center;gap:inherit;margin-top:auto;padding-top:12px;border-top:1px solid #ffffff25;width:100%}
