/* WUYUE tokens; overlap gold window/satellite depth and crop.
   All UI shares one 832×520 design coordinate system. */
.zte-platform {
  & .ss-stage {
    --ss-font:"Google Sans",var(--wy-font-cn),"PingFang SC",sans-serif;
    --ss-accent:#5B3EB8;--ss-accent-soft:#EDE9F9;
    --ss-text-strong:#26252E;--ss-text:#71717C;--ss-text-faint:#94949F;
    --ss-canvas:#F7F7F9;--ss-surface:#FFF;--ss-chrome:#FFF;--ss-line:#E9E9EF;
    --ss-radius-window:14px;--ss-radius-lg:8px;
    --ss-shadow-hero:0 1px 2px #20243A0A,0 16px 44px -16px #34356433,0 0 0 1px #2529420C;
    --ss-shadow-satellite:0 2px 5px #20243A0A,0 16px 32px -12px #34356440,0 0 0 1px #2529420A;
    overflow:hidden;background:transparent;color:var(--ss-text-strong);font-family:var(--ss-font);letter-spacing:normal;text-align:left;
  }
  & .zte-platform__window { position:absolute;left:104px;top:40px;width:688px;height:600px;box-shadow:var(--ss-shadow-hero); }
  & .zte-platform__brands { padding:24px 12px; }
  & .zte-platform__side-title { display:flex;align-items:center;gap:8px;height:22px;margin:0 12px 18px;font-size:14px;font-weight:500;line-height:22px;color:var(--ss-text-strong); }
  & .zte-platform__side-title > img { display:block;flex:none;width:18px;height:auto;border-radius:0; }
  & .zte-platform__brands .ss-row { --ss-row-title:15px;--ss-row-line:22px;margin-bottom:4px;color:#55555F; }
  & .zte-platform__brands .ss-row[data-selected] { background:var(--ss-accent-soft);color:var(--ss-accent); }
  & .zte-platform__brands .ss-row[data-selected] .ss-text { font-weight:600; }
  & .zte-platform__locales { display:flex;gap:12px;padding:4px 12px 16px;font-size:11px;line-height:16px;color:var(--ss-text-faint); }
  & .zte-platform__locales span:first-child { color:var(--ss-accent); }
  & .zte-platform__tools { display:flex;align-items:center;gap:18px; }
  & .zte-platform__publish { display:grid;place-items:center;padding:5px 14px;border-radius:5px;background:var(--ss-accent);color:white;font-size:12px;line-height:16px; }
  & .zte-platform__workspace { height:100%;padding:16px;background:#F4F5F8; }
  & .zte-platform__editor-head { display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;font-size:13px;line-height:20px;font-weight:500; }
  & .zte-platform__device-tools { display:flex;gap:16px;color:#94949F; }
  & .zte-platform__page { overflow:hidden;background:#FFF;border-radius:6px;box-shadow:0 1px 4px #25294210; }
  & .zte-platform__site-nav { display:flex;align-items:center;justify-content:space-between;height:62px;padding:0 24px; }
  & .zte-platform__site-nav img { display:block;width:62px;height:31px;object-fit:contain;border-radius:0; }
  & .zte-platform__site-links { display:flex;align-items:center;gap:22px;font-size:11px;line-height:16px; }
  & .zte-platform__hero { position:relative;width:100%;height:234px; }
  & .zte-platform__hero > img { display:block;width:100%;height:100%;object-fit:cover;object-position:center 38%;border-radius:0; }
  & .zte-platform__selection { position:absolute;inset:0;border:1.5px solid #6E8BFF; }
  & .zte-platform__selection > span { position:absolute;top:0;left:0;padding:4px 9px;background:#6E8BFF;color:#FFF;font-size:11px;line-height:16px; }
  & .zte-platform__selection i { position:absolute;width:6px;height:6px;background:#FFF;border:1px solid #6E8BFF; }
  & .zte-platform__selection i:nth-of-type(1) { top:0;left:0; }
  & .zte-platform__selection i:nth-of-type(2) { top:0;right:0; }
  & .zte-platform__selection i:nth-of-type(3) { bottom:0;left:0; }
  & .zte-platform__selection i:nth-of-type(4) { bottom:0;right:0; }
  & .zte-platform__page-content { display:grid;grid-template-columns:1fr 62px 62px;gap:20px;padding:26px 24px; }
  & .zte-platform__page-content > div:first-child { display:flex;flex-direction:column;gap:12px;padding-top:4px; }
  & .zte-platform__page-tile { display:flex;align-items:center;flex-direction:column;gap:10px; }
  & .zte-platform__page-foot { display:flex;flex-direction:column;gap:14px;padding:8px 24px 28px; }
  & .zte-platform__components { position:absolute;left:40px;top:322px;width:196px;padding:16px;border-radius:12px;background:#FFF;box-shadow:var(--ss-shadow-satellite); }
  & .zte-platform__components-head { display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:500;line-height:20px;margin-bottom:8px; }
  & .zte-platform__component-pieces { display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px; }
  & .zte-platform__piece { display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;height:48px;border:1px solid var(--ss-line);border-radius:6px; }
  & .zte-platform__components .ss-row { --ss-row-title:13px;--ss-row-line:18px;background:var(--ss-accent-soft);color:var(--ss-accent); }
}

/* One native CSS fit owner. Whole-artwork scaling follows the user's confirmed
   WUYUE contract at every width; no Stage hydration or JavaScript fitter. */
.case-detail__artwork--platform { overflow:hidden; }
.case-detail__artwork--platform > .zte-platform.ss-fit { max-width:none!important;height:auto!important;aspect-ratio:832/520;container-type:inline-size;pointer-events:none; }
.case-detail__artwork--platform .ss-stage { width:832px;height:520px;transform-origin:0 0;transform:scale(tan(atan2(100cqw,832px)));margin:0; }
@supports (transform:scale(calc(1px / 1px))) {
 .case-detail__artwork--platform .ss-stage { transform:scale(calc(100cqw / 832px)); }
}
