.as-preview-open,.as-preview-open-export{
  white-space:nowrap;
  border-color:#5146bf;
  background:#5b4bd8;
  color:#fff;
  font-weight:760;
  box-shadow:0 6px 16px #5b4bd833;
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.as-preview-open-export{
  border-style:solid;
  border-width:1px;
  padding:10px 13px;
  border-radius:10px;
  font-size:12px;
  cursor:pointer;
}
.as-preview-open:hover,.as-preview-open-export:hover{
  border-color:#7164eb;
  background:#7164eb;
  color:#fff;
  box-shadow:0 8px 20px #5b4bd847;
  transform:translateY(-1px);
}
.as-preview-open:active,.as-preview-open-export:active{transform:translateY(0)}
.as-preview-open:focus-visible,.as-preview-open-export:focus-visible{outline:3px solid #5b4bd83d;outline-offset:2px}
body.as-preview-open-body{overflow:hidden}

/* The export bar only contains actions, so keep them aligned with the
   right edge of the canvas. */
.exportbar{justify-content:flex-end}

.mobile-preview-open{display:none}

.as-preview-root{
  position:fixed;
  inset:0;
  z-index:80;
  display:grid;
  place-items:center;
  padding:18px;
}
.as-preview-root[hidden]{display:none!important}
.as-preview-backdrop{
  position:absolute;
  inset:0;
  background:#1c1b2290;
  backdrop-filter:blur(10px);
}
.as-preview-dialog{
  position:relative;
  z-index:1;
  width:min(960px,100%);
  max-height:calc(100vh - 36px);
  overflow:auto;
  border:1px solid #e4e1e9;
  border-radius:18px;
  background:#fff;
  box-shadow:0 24px 60px #1c1b2226;
  padding:22px 22px 16px;
  color:var(--ink,#1c1b22);
}
.as-preview-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
  padding:0;
}
.as-preview-header h2{
  margin:0;
  font-size:22px;
  letter-spacing:-.6px;
  color:var(--ink,#1c1b22);
}
.as-preview-header-actions{display:flex;gap:8px;align-items:center;flex:none}
.as-preview-refresh,.as-preview-close{
  border:1px solid #e3e0ea;
  background:#fff;
  color:#5146bf;
  border-radius:10px;
  height:36px;
  padding:0 12px;
  font-weight:650;
  cursor:pointer;
}
.as-preview-close{width:36px;padding:0;font-size:20px;line-height:1}
.as-preview-refresh:hover,.as-preview-close:hover{border-color:#aaa1ed;background:#f7f5ff}

.as-preview-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin:0 0 16px;
}
.as-preview-device-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin:0;
  padding:9px 12px;
  border-radius:999px;
  background:transparent;
  color:#7168a0;
  font-size:13px;
}
.as-duo-pose{
  display:inline-flex;
  align-items:center;
  gap:3px;
  padding:3px;
  border:1px solid #dfdbe8;
  border-radius:10px;
  background:#efedf4;
}
.as-duo-pose[hidden]{display:none}
.as-duo-pose button{
  border:1px solid transparent;
  background:transparent;
  color:#716d77;
  border-radius:8px;
  min-width:64px;
  height:32px;
  padding:0 14px;
  font-weight:760;
  font-size:13px;
  cursor:pointer;
}
.as-duo-pose button:hover{background:#f8f6ff;color:#5145c7}
.as-duo-pose button.is-active{
  background:#f4f2ff;
  border-color:#a79def;
  color:#5145c7;
  box-shadow:0 0 0 2px #a79def35;
}
.as-preview-zoom{
  display:inline-flex;
  align-items:center;
  gap:3px;
  padding:3px;
  border:1px solid #dfdbe8;
  border-radius:10px;
  background:#efedf4;
}
.as-preview-zoom button{
  width:32px;
  height:32px;
  border:1px solid transparent;
  border-radius:8px;
  background:transparent;
  color:#5145c7;
  font-size:18px;
  line-height:1;
  cursor:pointer;
}
.as-preview-zoom button:hover{background:#f8f6ff}
.as-preview-zoom-value{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:58px;
  height:32px;
  padding:0 8px;
  border:1px solid #4439b8;
  border-radius:8px;
  background:#5b4bd8;
  color:#fff;
  box-shadow:0 4px 10px #5145c733;
}
.as-preview-zoom-value:focus-within{
  outline:3px solid #5b4bd83d;
  outline-offset:2px;
}
.as-preview-zoom input{
  appearance:textfield;
  width:28px;
  min-width:28px;
  border:0;
  outline:0;
  padding:0;
  background:transparent;
  text-align:right;
  color:inherit;
  font-size:13px;
  font-weight:820;
  font-variant-numeric:tabular-nums;
}
.as-preview-zoom input::-webkit-inner-spin-button,
.as-preview-zoom input::-webkit-outer-spin-button{margin:0}
.as-preview-zoom-unit{
  margin-left:1px;
  color:inherit;
  font-size:13px;
  font-weight:820;
}
.as-preview-device-label{font-weight:650}
.as-preview-device-name{color:#5145c7;font-weight:820}

.as-preview-stage{
  display:block;
  min-height:520px;
  padding:12px 8px 8px;
  overflow:auto;
  scrollbar-width:none;
  background:#efeff5;
  border:1px solid #e4e1e9;
  border-radius:14px;
}
.as-preview-stage::-webkit-scrollbar{display:none}
.as-preview-stage-content{
  display:grid;
  place-items:center;
  flex:none;
  margin:0 auto;
}
.as-preview-footnote{
  margin:12px 4px 0;
  color:#77747e;
  font-size:12px;
}

.as-device{
  width:min(340px,78vw);
  transform:scale(var(--as-preview-scale,1));
  transform-origin:center center;
  filter:drop-shadow(0 24px 40px #1c1b2233);
}
.as-device[data-as-shell="ipad"]{width:min(420px,84vw)}
.as-device[data-as-shell="duo"][data-orientation="wide"]{width:min(640px,92vw)}
.as-device[data-as-shell="duo"][data-orientation="portrait"]{width:min(300px,72vw)}
.as-frame-wrap{
  position:relative;
  width:100%;
  isolation:isolate;
  line-height:0;
  overflow:hidden;
}
.as-screen-slot{
  position:absolute;
  z-index:1;
  overflow:hidden;
  background:#f2f2f7;
  isolation:isolate;
  contain:paint;
}
.as-frame-img{
  position:relative;
  z-index:2;
  display:block;
  width:100%;
  height:auto;
  pointer-events:none;
  user-select:none;
}
.as-store-screen{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:0;
  overflow:hidden;
  background:#fff;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",sans-serif;
  color:#111;
}
.as-screen-slot{container-type:size}

.as-store-status{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex:none;
  padding:4.2% 7% 1% 6.5%;
  font-size:clamp(9px,3.1cqw,12px);
  font-weight:700;
  letter-spacing:-.2px;
}
.as-device[data-as-shell="iphone"] .as-store-status{
  padding-top:5.6%;
  padding-bottom:2.2%;
}
.as-device[data-as-shell="iphone"] .as-store-nav{
  padding-top:0.5%;
  padding-bottom:2%;
}
.as-store-status-trailing{
  display:flex;
  align-items:center;
  gap:4px;
}
.as-ico-signal{
  width:14px;
  height:8px;
  background:
    linear-gradient(#111,#111) 0 100%/2.2px 35% no-repeat,
    linear-gradient(#111,#111) 4px 100%/2.2px 50% no-repeat,
    linear-gradient(#111,#111) 8px 100%/2.2px 70% no-repeat,
    linear-gradient(#111,#111) 12px 100%/2.2px 100% no-repeat;
}
.as-ico-wifi{
  width:11px;
  height:8px;
  border:1.6px solid #111;
  border-top:0;
  border-radius:0 0 10px 10px;
  position:relative;
  transform:translateY(-1px);
}
.as-ico-wifi::before{
  content:"";
  position:absolute;
  left:50%;
  bottom:1px;
  width:2px;
  height:2px;
  border-radius:50%;
  background:#111;
  transform:translateX(-50%);
}
.as-ico-battery{
  width:18px;
  height:9px;
  border:1.3px solid #111;
  border-radius:2.5px;
  position:relative;
  padding:1px;
  box-sizing:border-box;
}
.as-ico-battery::after{
  content:"";
  position:absolute;
  right:-3px;
  top:2px;
  width:1.5px;
  height:4px;
  border-radius:0 1px 1px 0;
  background:#111;
}
.as-ico-battery i{
  display:block;
  width:72%;
  height:100%;
  border-radius:1px;
  background:#111;
}

.as-store-nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex:none;
  padding:1% 4.5% 1.5%;
}
.as-store-nav-icon{
  display:none;
  width:clamp(38px,12cqw,68px);
  aspect-ratio:1;
  border-radius:22.5%;
  overflow:hidden;
  background:#f2f2f7;
  box-shadow:0 1px 0 #0001,0 4px 12px #00000012;
}
.as-store-nav-icon img{display:block;width:100%;height:100%;object-fit:cover}
.as-store-nav-get{margin:0;min-width:clamp(52px,16cqw,96px);padding:7px 18px;font-size:clamp(10px,3.4cqw,16px)}
.as-store-circle{
  width:clamp(22px,7.2cqw,28px);
  height:clamp(22px,7.2cqw,28px);
  border:0;
  border-radius:50%;
  background:#f2f2f7;
  color:#0071e3;
  display:grid;
  place-items:center;
  padding:0;
}
.as-store-share{
  display:none;
  width:clamp(22px,7.2cqw,28px);
  height:clamp(22px,7.2cqw,28px);
  border:0;
  border-radius:50%;
  background:#f2f2f7;
  color:#111;
  place-items:center;
  padding:0;
}
.as-store-share svg{width:55%;height:55%;display:block}
.as-store-circle svg{width:55%;height:55%;display:block}

.as-store-scroll{
  flex:1;
  min-height:0;
  overflow:auto;
  padding:0 0 6%;
  scrollbar-width:none;
}
.as-store-scroll::-webkit-scrollbar{display:none}

/* Keep the preview focused on the screenshot carousel, like the reference
   App Store layout; metadata is not part of the campaign preview. */
.as-store-hero,
.as-store-stats{display:none}

.as-device[data-as-shell="iphone"] .as-store-nav,
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-nav{
  position:relative;
  padding:3% 5% 3.5%;
  border-bottom:0;
}
.as-device[data-as-shell="iphone"] .as-store-nav-icon{
  width:clamp(38px,12cqw,72px);
}
.as-device[data-as-shell="iphone"] .as-store-nav::after,
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-nav::after{
  content:"";
  position:absolute;
  left:5%;
  right:5%;
  bottom:0;
  border-bottom:1px solid #e5e5ea;
}
.as-device[data-as-shell="iphone"] .as-store-nav-icon,
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-nav-icon{
  display:grid;
  position:absolute;
  left:50%;
  transform:translateX(-50%);
}
.as-device[data-as-shell="iphone"] .as-store-circle,
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-circle{
  width:clamp(42px,11cqw,76px);
  height:clamp(42px,11cqw,76px);
  border:1px solid #d9d9df;
  background:#fff;
  color:#111;
}
.as-device[data-as-shell="iphone"] .as-store-circle{
  width:clamp(42px,14cqw,84px);
  height:clamp(42px,14cqw,84px);
}
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-circle{
  width:clamp(32px,7.5cqw,52px);
  height:clamp(32px,7.5cqw,52px);
}
.as-device[data-as-shell="iphone"] .as-store-nav-get,
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-nav-get{
  min-width:clamp(62px,17cqw,112px);
  padding:8px 20px;
  font-size:clamp(11px,4cqw,18px);
}
.as-device[data-as-shell="iphone"] .as-store-nav-get{
  min-width:clamp(62px,20cqw,128px);
}
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-nav-get{
  min-width:clamp(50px,14cqw,88px);
  padding:6px 14px;
  font-size:clamp(10px,3.5cqw,16px);
}
.as-device[data-as-shell="iphone"] .as-store-circle svg,
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-circle svg{
  width:62%;
  height:62%;
}
.as-device[data-as-shell="iphone"] .as-store-circle svg path,
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-circle svg path{
  stroke-width:3.1;
}
.as-device[data-as-shell="iphone"] .as-store-scroll,
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-scroll{padding-bottom:24%}
.as-device[data-as-shell="iphone"] .as-store-hero,
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-hero{display:none}
.as-device[data-as-shell="iphone"] .as-store-stats,
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-stats{
  margin:0 5%;
  padding:6% 0 5.5%;
  border-top:0;
}
.as-device[data-as-shell="iphone"] .as-stat-kicker,
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-stat-kicker,
.as-device[data-as-shell="iphone"] .as-store-stat span,
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-stat span{
  font-size:clamp(9px,3.4cqw,18px);
  line-height:1.2;
}
.as-device[data-as-shell="iphone"] .as-store-stat strong,
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-stat strong{
  margin:3px 0;
  font-size:clamp(18px,7cqw,38px);
  line-height:1.05;
}
.as-device[data-as-shell="iphone"] .as-stat-stars,
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-stat-stars{font-size:clamp(10px,3.7cqw,21px)!important;letter-spacing:-1px}
.as-device[data-as-shell="iphone"] .as-store-shots,
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-shots{
  gap:4%;
  padding:8% 5% 5%;
}
.as-device[data-as-shell="iphone"] .as-store-shot,
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-shot{
  width:61%;
  border-radius:clamp(10px,2.2cqw,22px);
}
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-shots{
  gap:2%;
  padding-left:4%;
  padding-right:4%;
}
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-shot{width:81%}
.as-store-device-row{
  display:none;
  align-items:center;
  gap:3%;
  margin:0 5%;
  padding:3% 1% 6%;
  color:#8e8e93;
  font-size:clamp(10px,3.5cqw,18px);
  white-space:nowrap;
}
.as-store-device-glyphs{display:inline-flex;align-items:center;gap:5px}
.as-device-glyph-phone,.as-device-glyph-tablet{
  display:block;
  width:clamp(10px,3cqw,19px);
  height:clamp(18px,6cqw,36px);
  border:2px solid currentColor;
  border-radius:3px;
}
.as-device-glyph-tablet{height:clamp(16px,5cqw,30px);border-radius:2px}
.as-store-device-chevron{margin-left:auto;font-size:1.8em;line-height:.55;transform:translateY(-.12em)}
.as-device[data-as-shell="iphone"] .as-store-device-row,
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-device-row{display:flex}
.as-device[data-as-shell="iphone"] .as-store-stat:nth-child(n+4),
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-stat:nth-child(n+4){display:none}
.as-device[data-as-shell="iphone"] .as-store-stats,
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
.as-store-description{display:none}

.as-store-hero{
  display:grid;
  grid-template-columns:minmax(52px,28%) minmax(0,1fr);
  gap:4%;
  padding:1% 5% 3.5%;
  align-items:start;
}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-hero{
  grid-template-columns:minmax(48px,12%) minmax(0,1fr);
  align-items:center;
}
.as-device[data-as-shell="ipad"] .as-store-hero{
  grid-template-columns:minmax(48px,12%) minmax(0,1fr);
  align-items:center;
}
.as-store-icon{
  width:100%;
  aspect-ratio:1;
  border-radius:22.5%;
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,#171717,#3f3f3f);
  color:#d9ff43;
  font-size:clamp(14px,5.5cqw,22px);
  font-weight:900;
  letter-spacing:-.6px;
  box-shadow:0 1px 0 #0001,0 8px 18px #00000014;
}
.as-store-icon img{display:block;width:100%;height:100%;border-radius:inherit;object-fit:cover}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-icon{
  width:clamp(42px,10cqw,72px);
}
.as-device[data-as-shell="ipad"] .as-store-icon{
  width:clamp(42px,10cqw,72px);
}
.as-store-meta{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding-top:1%;
}
.as-store-name{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  font-size:clamp(13px,5cqw,20px);
  line-height:1.15;
  letter-spacing:-.35px;
  font-weight:780;
  color:#111;
}
.as-store-category{
  display:block;
  margin-top:3px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  max-width:100%;
  color:#8e8e93;
  font-size:clamp(10px,3.4cqw,13px);
  font-weight:500;
}
.as-store-get{
  border:0;
  margin-top:8px;
  background:#0071e3;
  color:#fff;
  border-radius:999px;
  padding:5px 16px;
  min-width:56px;
  font-size:clamp(10px,3.4cqw,14px);
  font-weight:760;
  line-height:1.2;
}

.as-store-stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  margin:0 5%;
  padding:2.5% 0 3%;
  border-top:1px solid #e5e5ea;
  border-bottom:1px solid #e5e5ea;
}
.as-store-stat{
  min-width:0;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:1px;
  padding:0 3%;
  position:relative;
}
.as-store-stat:not(:last-child)::after{
  content:"";
  position:absolute;
  right:0;
  top:12%;
  bottom:12%;
  width:1px;
  background:#e5e5ea;
}
.as-stat-kicker,
.as-store-stat span{
  display:block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:clamp(6px,2.05cqw,8px);
  line-height:1.15;
  color:#8e8e93;
  font-weight:560;
}
.as-store-stat strong{
  display:block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  margin:1px 0;
  font-size:clamp(11px,4.4cqw,16px);
  line-height:1.05;
  font-weight:650;
  letter-spacing:-.3px;
  color:#8e8e93;
}
.as-stat-stars{
  letter-spacing:-.4px;
  font-size:clamp(6px,2cqw,8px)!important;
  color:#8e8e93;
}
.as-store-dev-mark{
  width:1.05em;
  height:1.05em;
  margin:2px 0;
  border-radius:50%;
  background:
    radial-gradient(circle at 50% 38%, #8e8e93 0 28%, transparent 29%),
    radial-gradient(circle at 50% 115%, #8e8e93 0 48%, transparent 49%);
}

.as-store-shots{
  display:flex;
  gap:10px;
  overflow-x:hidden;
  scrollbar-width:none;
  padding:4% 5% 6%;
}
.as-store-shots::-webkit-scrollbar{display:none}
.as-store-shot{
  margin:0;
  flex:none;
  width:72%;
  scroll-snap-align:start;
  border-radius:18px;
  overflow:hidden;
  background:#f2f2f7;
}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-shot{width:46%}
.as-device[data-as-shell="ipad"] .as-store-shot{width:52%}
.as-store-shot img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:auto;
  object-fit:contain;
  background:linear-gradient(160deg,#f4f1ea,#e8e4db);
}
.as-store-shot.is-placeholder{
  background:#d9d9de;
  border:1px solid #cfcfd5;
}
.as-store-shot.is-placeholder img{display:none}
.as-store-shot.is-tertiary,
.as-store-shot.is-quaternary{display:none}

/* A folded Duo still presents the desktop-style App Store details from the
   reference. The canvas format only changes the screenshot rail geometry. */
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-status{display:none}
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-nav{
  position:absolute;
  z-index:4;
  top:25%;
  right:4.5%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:clamp(8px,2.2cqw,18px);
  padding:0;
}
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-nav::after,
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-nav-icon,
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-nav-get{display:none}
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-circle,
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-share{
  display:grid;
  width:clamp(42px,10.5cqw,76px);
  height:clamp(42px,10.5cqw,76px);
  border:1px solid #d9d9df;
  background:#fff;
  color:#111;
  box-shadow:0 5px 16px #00000016;
}
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-circle svg,
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-share svg{width:54%;height:54%}
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-scroll{
  overflow:hidden;
  padding:0 0 8%;
}
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-hero{
  display:grid;
  grid-template-columns:minmax(0,32%) minmax(0,1fr);
  gap:4%;
  padding:7% 20% 4% 4%;
  align-items:center;
}
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-icon{
  width:100%;
  max-width:none;
}
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-meta{padding-top:0}
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-name{
  font-size:clamp(18px,4.6cqw,36px);
  line-height:1.12;
  letter-spacing:-.4px;
}
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-category{
  margin-top:2%;
  font-size:clamp(12px,3cqw,22px);
}
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-get{
  margin-top:5%;
  min-width:clamp(64px,15cqw,108px);
  padding:6px 16px;
  font-size:clamp(12px,3.4cqw,24px);
}
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-stats{
  margin:0 20% 0 4%;
  padding:3% 0 3.5%;
  border-top:1px solid #e5e5ea;
  border-bottom:0;
}
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-stat-kicker,
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-stat span{
  font-size:clamp(6px,2.25cqw,18px);
}
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-stat strong{
  margin:2px 0;
  font-size:clamp(10px,4cqw,30px);
}
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-stat-stars{
  font-size:clamp(7px,2.7cqw,21px)!important;
}
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-shots{
  gap:2%;
  padding:6% 4% 3%;
}
.as-device[data-as-shell="duo"][data-orientation="portrait"][data-canvas-format="wide"] .as-store-shot{width:81%}
.as-device[data-as-shell="duo"][data-orientation="portrait"][data-canvas-format="portrait"] .as-store-shot{width:52%}
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-device-row{
  margin:0 4%;
  padding:0 0 6%;
}
.as-device[data-as-shell="duo"][data-orientation="portrait"] .as-store-description{
  display:block;
  margin:0 20% 0 4%;
  padding:3% 0 8%;
  border-top:1px solid #e5e5ea;
  color:#111;
  font-size:clamp(12px,3cqw,22px);
  line-height:1.5;
}

/* The unfolded Duo uses the wide App Store layout from the reference:
   app header first, five metadata columns, a horizontal screenshot rail, and
   the stacked back/share controls on the right side of the display. */
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-status{display:none}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-nav{
  position:absolute;
  z-index:4;
  top:18%;
  right:3.5%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:clamp(6px,1.2cqw,18px);
  padding:0;
}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-nav-icon,
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-nav-get{display:none}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-circle,
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-share{
  display:grid;
  width:clamp(36px,6.2cqw,78px);
  height:clamp(36px,6.2cqw,78px);
  border:1px solid #d9d9df;
  background:#fff;
  color:#111;
  box-shadow:0 5px 16px #00000016;
}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-circle svg,
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-share svg{width:54%;height:54%}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-scroll{
  overflow:hidden;
  padding:0 0 5%;
}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-hero{
  grid-template-columns:minmax(0,14%) minmax(0,1fr);
  gap:4%;
  padding:4% 13% 2.5% 6%;
  align-items:center;
}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-icon{
  width:100%;
  max-width:none;
}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-meta{padding-top:0}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-name{
  font-size:clamp(18px,3.35cqw,48px);
  line-height:1.08;
  letter-spacing:-.5px;
}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-category{
  margin-top:2%;
  font-size:clamp(12px,2.1cqw,28px);
}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-get{
  margin-top:3%;
  min-width:clamp(64px,8.5cqw,116px);
  padding:5px 16px;
  font-size:clamp(12px,2.2cqw,30px);
}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-stats{
  grid-template-columns:repeat(5,minmax(0,1fr));
  margin:0 6%;
  padding:1.5% 0 2%;
}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-stat-kicker,
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-stat span{
  font-size:clamp(9px,1.7cqw,20px);
}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-stat strong{
  margin:1px 0;
  font-size:clamp(16px,3.1cqw,34px);
}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-stat-rating-kicker,
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-stat-rating-value,
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-stat-age-value{
  font-size:0!important;
}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-stat-rating-kicker::after{
  content:"-个评分";
  font-size:clamp(9px,1.7cqw,20px);
}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-stat-rating-value::after,
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-stat-age-value::after{
  content:"-";
  font-size:clamp(16px,3.1cqw,34px);
}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-stat-stars{
  font-size:0!important;
  letter-spacing:-2px;
}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-stat-stars::after{
  content:"☆☆☆☆☆";
  font-size:clamp(13px,2.4cqw,28px);
}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-shots{
  gap:2.5%;
  padding:3% 6% 2.5%;
}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-shot{
  width:40%;
  border-radius:clamp(14px,2.5cqw,34px);
}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-shot.is-tertiary{display:block}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-device-row{
  display:flex;
  margin:0 6%;
  padding:.5% 0 2%;
  font-size:clamp(9px,1.5cqw,20px);
}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-device-glyph-phone{
  width:clamp(6px,1.2cqw,12px);
  height:clamp(10px,2.3cqw,24px);
}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-device-glyphs i:nth-child(2){display:none}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-device-family{font-size:0}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-device-family::after{content:"iPhone";font-size:clamp(9px,1.5cqw,20px)}
.as-device[data-as-shell="duo"][data-orientation="wide"] .as-store-description{
  display:block;
  margin:0 6%;
  padding:2% 0 4%;
  border-top:1px solid #e5e5ea;
  color:#111;
  font-size:clamp(11px,1.8cqw,24px);
  line-height:1.45;
}

/* The unfolded shell can also preview portrait App Store artwork. Four
   portrait cards fit across the wide display, matching the Duo reference. */
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="portrait"] .as-store-hero{
  grid-template-columns:minmax(0,17.5%) minmax(0,1fr);
  padding:4% 12% 2.5% 4%;
}
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="portrait"] .as-store-stats{
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin:0 12% 0 4%;
  padding:1% 0 1.5%;
}
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="portrait"] .as-store-stat:nth-child(n+4){display:none}
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="portrait"] .as-store-stat:nth-child(3)::after{display:none}
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="portrait"] .as-stat-kicker,
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="portrait"] .as-store-stat span{
  font-size:clamp(7px,1.45cqw,18px);
}
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="portrait"] .as-store-stat strong{
  margin:1px 0;
  font-size:clamp(12px,2.5cqw,30px);
}

/* Duo campaign previews should show the artwork and device frame only; the
   simulated App Store back/share controls and device chevron are not part of
   the promotional composition. */
.as-device[data-as-shell="duo"] .as-store-nav,
.as-device[data-as-shell="duo"] .as-store-device-chevron{display:none!important}

.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="portrait"] .as-stat-rating-kicker::after{
  font-size:clamp(7px,1.45cqw,18px);
}
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="portrait"] .as-stat-rating-value::after,
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="portrait"] .as-stat-age-value::after{
  font-size:clamp(12px,2.5cqw,30px);
}
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="portrait"] .as-stat-stars::after{
  font-size:clamp(9px,2cqw,24px);
}
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="portrait"] .as-store-shots{
  gap:2.2%;
  padding:2% 4% .5%;
}
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="portrait"] .as-store-shot{width:21%}
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="portrait"] .as-store-shot{
  border-radius:clamp(8px,1.6cqw,18px);
}
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="portrait"] .as-store-shot.is-tertiary,
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="portrait"] .as-store-shot.is-quaternary{display:block}
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="portrait"] .as-store-device-row{
  margin-left:4%;
  margin-right:4%;
}
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="portrait"] .as-store-description{
  margin-left:4%;
  margin-right:12%;
}

/* Landscape artwork uses two complete cards plus the leading edge of a third. */
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="wide"] .as-store-hero{
  grid-template-columns:minmax(0,17.5%) minmax(0,1fr);
  gap:3.5%;
  padding:2.5% 12% 2.5% 3.5%;
}
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="wide"] .as-store-stats{
  margin:0 12% 0 3.5%;
  padding:1% 0 1.5%;
}
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="wide"] .as-stat-kicker,
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="wide"] .as-store-stat span{
  font-size:clamp(7px,1.45cqw,18px);
}
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="wide"] .as-store-stat strong{
  margin:1px 0;
  font-size:clamp(12px,2.5cqw,30px);
}
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="wide"] .as-stat-rating-kicker::after{
  font-size:clamp(7px,1.45cqw,18px);
}
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="wide"] .as-stat-rating-value::after,
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="wide"] .as-stat-age-value::after{
  font-size:clamp(12px,2.5cqw,30px);
}
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="wide"] .as-stat-stars::after{
  font-size:clamp(9px,2cqw,24px);
}
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="wide"] .as-store-shots{
  gap:2.4%;
  padding:2% 3.5% .5%;
}
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="wide"] .as-store-shot{width:44%}
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="wide"] .as-store-device-row{
  margin-left:3.5%;
  margin-right:3.5%;
}
.as-device[data-as-shell="duo"][data-orientation="wide"][data-canvas-format="wide"] .as-store-description{
  margin-left:3.5%;
  margin-right:12%;
}

/* Landscape campaign cards sit flush with the App Store preview rail. Keep
   their lower corners rounded, but square off the two top corners. */
.as-device[data-as-shell="duo"][data-canvas-format="wide"] .as-store-shot{
  border-top-left-radius:4px;
  border-top-right-radius:4px;
}


@media(max-width:760px){
  .as-preview-dialog{padding:16px 14px 12px;border-radius:16px}
  .as-preview-header{flex-direction:column;align-items:stretch}
  .as-preview-header-actions{
    align-self:stretch;
    justify-content:flex-end;
  }
  .as-preview-device-badge{flex-basis:100%}
  .as-preview-zoom{order:2}
  .as-duo-pose{order:3;margin-left:auto}
  .as-preview-stage{min-height:420px}
  .head-actions .as-preview-open{display:none}
  .mobile-export-wrap{flex-direction:row;align-items:stretch;gap:8px}
  .mobile-export-wrap .mobile-preview-open{
    display:block;
    flex:1;
    width:auto;
    border:1px solid #5146bf;
    border-radius:13px;
    padding:15px 10px;
    background:#fff;
    color:#5146bf;
    font-size:13px;
    font-weight:820;
    box-shadow:0 10px 30px #0003;
    pointer-events:auto;
  }
  .mobile-export-wrap .mobile-preview-open:hover{background:#f7f5ff}
  .mobile-export-wrap .mobile-export{flex:1}
}

/* A real, swipeable screenshot gallery stays inside the fixed device screen. */
.as-gallery-nav{display:flex;align-items:center;justify-content:center;gap:7px;flex:none}
.as-gallery-nav button{width:28px;height:28px;border:1px solid #d5d1cb;border-radius:7px;background:#fff;color:#292725;font-size:20px;line-height:1;cursor:pointer}
.as-gallery-nav button:disabled{opacity:.35;cursor:default}
.as-gallery-nav output{min-width:42px;text-align:center;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}
.as-gallery-nav :focus-visible{outline:3px solid #7669e866;outline-offset:2px}
.as-store-shots{position:relative;align-items:flex-start;overflow-x:auto;overflow-y:hidden;scroll-snap-type:none;overscroll-behavior-inline:contain;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch}
.as-store-shots::after{content:"";display:block;flex:0 0 var(--as-gallery-end-space,0px);align-self:stretch}
.as-store-shots>.as-store-shot{display:block;scroll-snap-align:start;scroll-snap-stop:normal}
.as-store-shot img{height:100%;object-fit:contain}
@media(max-width:760px){.as-gallery-nav{gap:5px}.as-gallery-nav button{width:27px;height:27px}.as-gallery-nav output{font-size:10px;min-width:35px}}
