/* The ZTE layout, typography and artboard fit are shared. Sunseeker's two
   brand names need their own optical result slot and wrapping in the CMS. */
html body.wy-responsive[data-responsive-page="case-sunseeker"] .case-detail__brands {
  gap:16px;flex-wrap:wrap;container-type:normal;
}
html body.wy-responsive[data-responsive-page="case-sunseeker"] .case-detail__brands > img:nth-child(1) {
  width:112px;height:auto;
}
html body.wy-responsive[data-responsive-page="case-sunseeker"] .case-detail__brand-name {
  font-family:var(--wy-font-en);font-size:20px;font-weight:500;line-height:28px;color:var(--wy-ink);white-space:nowrap;
}
html body.wy-responsive[data-responsive-page="case-sunseeker"] .zte-platform__brands .ss-row__title {
  white-space:normal;overflow:visible;
}

/* Official 1296x231 original has transparent margins: alpha>0 bounds
   (65,42)-(1195,185). Fit the complete 1130x143 ink area into the previous
   190x28 Banner slot; clip source transparency only. The PNG is unchanged.
   Width/height share one scale, preserving every letter's original ratio. */
html body.wy-responsive[data-responsive-page="case-sunseeker"][data-case-article] #top.case-banner--center .case-banner__identity--hd-logo {
  position:relative;width:calc(var(--case-center-title) * 190 / 28);
  height:var(--case-center-title);overflow:hidden;
}
html body.wy-responsive[data-responsive-page="case-sunseeker"][data-case-article] #top.case-banner--center .case-banner__identity--hd-logo > .case-detail__brand {
  --sunseeker-hd-scale:calc(var(--case-center-title) * 190 / 28 / 1130);
  position:absolute;max-width:none;
  width:calc(1296 * var(--sunseeker-hd-scale));height:calc(231 * var(--sunseeker-hd-scale));
  left:calc(-65 * var(--sunseeker-hd-scale));
  top:calc((var(--case-center-title) - 142 * var(--sunseeker-hd-scale)) / 2 - 42 * var(--sunseeker-hd-scale));
}

/* User-supplied Sunseeker elite artwork, reused byte-for-byte from 1012
   material. Keep native colour/proportions; the existing flex row wraps at
   its established capacity. 132x31 uses the original 264x62 at 2x density. */
html body.wy-responsive[data-responsive-page="case-sunseeker"][data-case-article] .case-detail__brands > img.case-detail__brand-elite {
  width:132px;height:auto;
}

/* Brand strategy: two genuine desktop homepage captures, equal and parallel.
   Reuse the existing 832×520 CSS stage as the sole scaling owner at all widths.
   Show only the first 1440×720 screen, preserving the complete hero subjects. */
#sunseeker-feature01 .sunseeker-sites__pair {
  position:absolute;top:50px;left:28px;right:28px;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;
}
#sunseeker-feature01 .sunseeker-sites__browser {
  min-width:0;overflow:hidden;border-radius:10px;background:#FFF;
  box-shadow:0 1px 2px #20243A0A,0 14px 32px -16px #34356433,0 0 0 1px #25294214;
}
#sunseeker-feature01 .sunseeker-sites__chrome {
  position:relative;display:grid;place-items:center;height:30px;
  background:#F0F0F4;border-bottom:1px solid #E3E3E9;
}
#sunseeker-feature01 .sunseeker-sites__lights {
  position:absolute;left:12px;top:12px;display:flex;gap:5px;
}
#sunseeker-feature01 .sunseeker-sites__lights > i {
  display:block;width:6px;height:6px;border-radius:50%;background:#FF6058;
}
#sunseeker-feature01 .sunseeker-sites__lights > i:nth-child(2) { background:#FFBD2E; }
#sunseeker-feature01 .sunseeker-sites__lights > i:nth-child(3) { background:#28C840; }
#sunseeker-feature01 .sunseeker-sites__address {
  font-family:var(--wy-font-en);font-size:10px;font-weight:400;line-height:16px;
  letter-spacing:normal;font-variant-ligatures:no-common-ligatures;color:#71717C;
}
html body #sunseeker-feature01 img.sunseeker-sites__capture {
  display:block;width:100%;height:auto;max-width:none;aspect-ratio:1440/1480;border-radius:0;
}

/* First screen only: keep the original captures at their natural ratio and
   clip the continuation below the first 720px; both full hero subjects fit.
   Shorten the local artboard to avoid empty space around the browser pair. */
#sunseeker-feature01 > .sunseeker-sites.ss-fit { aspect-ratio:832/320; }
#sunseeker-feature01 .ss-stage { height:320px; }
#sunseeker-feature01 .sunseeker-sites__viewport { aspect-ratio:2;overflow:hidden; }

/* Feature02: reference navigation content only, retaining the 164px sidebar
   and all original window, workspace and overlay geometry. */
#sunseeker-feature02 .sunseeker-sidebar { padding:18px 10px; }
#sunseeker-feature02 .sunseeker-sidebar .zte-platform__side-title { margin:0 8px 12px; }
#sunseeker-feature02 .sunseeker-sidebar__row {
  display:flex;align-items:center;gap:7px;min-height:28px;padding:4px 7px;
  color:#55555F;font-size:11px;font-weight:400;line-height:16px;
  font-family:var(--wy-font-en),var(--wy-font-cn),sans-serif;letter-spacing:normal;
}
#sunseeker-feature02 .sunseeker-sidebar__row > .ss-icon { flex:none;width:14px;height:14px;color:#71717C; }
#sunseeker-feature02 .sunseeker-sidebar__row > span { min-width:0; }
#sunseeker-feature02 .sunseeker-sidebar__sites { padding-block:4px;border-block:1px solid var(--ss-line); }
#sunseeker-feature02 .sunseeker-sidebar__chevron { margin-left:auto;font-size:18px; }

/* Feature03 reproduces the existing global-collaboration reference SVG.
   Its 896×560 viewBox maps directly to 832×520 without a second fit owner. */
#sunseeker-feature03 .sunseeker-tech .af--ops { display:block;width:832px;height:520px;overflow:visible; }
#sunseeker-feature03 .af__ln { fill:none;stroke:#233167;stroke-opacity:.26;stroke-width:2;stroke-dasharray:1 7;stroke-linecap:round; }
#sunseeker-feature03 .af__t { font-family:var(--wy-font-display);font-size:13px;font-weight:500;fill:var(--wy-ink); }
#sunseeker-feature03 .pf-site { font-family:var(--wy-font-display);font-weight:400; }
#sunseeker-feature03 .pf-country { font-size:7px;fill:#74788A; }
#sunseeker-feature03 .pf-language { font-size:8px;font-weight:600;fill:#5B3EB8; }
#sunseeker-feature03 .pf-nav { font-size:4.8px;fill:#74788A; }
#sunseeker-feature03 .pf-headline { font-size:9px;font-weight:600;fill:#30364F;letter-spacing:normal; }
#sunseeker-feature03 .pf-cta { font-size:6px;font-weight:500;fill:#FFF; }
#sunseeker-feature03 .pf-status { font-family:var(--wy-font-cn);font-size:6.6px;fill:#73788D; }

/* Use the reference's original lilac/blue field and lower tonal veil. */
#sunseeker-feature03 .ss-stage {
  background:radial-gradient(70% 58% at 18% 12%,rgba(184,166,230,.55),transparent 62%),radial-gradient(64% 54% at 88% 82%,rgba(143,178,255,.5),transparent 64%),linear-gradient(146deg,#EAE5FA 0%,#E4E7FB 48%,#DEE9FB 100%);
}
#sunseeker-feature03 .ss-stage::after {
  content:"";position:absolute;left:0;right:0;bottom:0;height:14%;z-index:2;pointer-events:none;
  background:linear-gradient(0deg,rgba(22,22,27,.07),rgba(22,22,27,.025) 45%,rgba(22,22,27,0));
}

/* Feature04 retains the legacy asset-library DOM. The shared ZTE stylesheet
   now scopes its replacement structure to #zte-feature03, so restore the
   matching legacy styles locally without changing shared assets or content. */
#sunseeker-feature04 .zte-assets {
  & .zte-assets__window { position:absolute;left:104px;top:40px;width:688px;height:656px;box-shadow:var(--ss-shadow-hero); }
  & .zte-assets__tools { display:flex;align-items:center;gap:16px;color:#71717C; }
  & .zte-assets__workspace { height:100%;padding:16px;background:#F4F5F8; }
  & .zte-assets__grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px; }
  & .zte-assets__file { min-width:0;overflow:hidden;border-radius:7px;background:#FFF;box-shadow:0 1px 3px #2529420A; }
  & .zte-assets__file[data-selected] { box-shadow:0 0 0 1.5px #6E8BFF; }
  & .zte-assets__preview { position:relative;height:148px; }
  & .zte-assets__preview > img { display:block;width:100%;height:100%;object-fit:cover;border-radius:0; }
  & .zte-assets__file:first-child .zte-assets__preview > img { object-position:80% center; }
  & .zte-assets__preview--logo { display:flex;align-items:center;justify-content:center;background:#FFF; }
  & .zte-assets__preview--logo > img { width:96px;height:48px;object-fit:contain; }
  & .zte-assets__selection { position:absolute;top:10px;right:10px;display:grid;place-items:center;color:#6E8BFF;background:#FFF;border-radius:50%; }
  & .zte-assets__filename { display:flex;align-items:center;gap:12px;justify-content:space-between;min-height:32px;padding:8px 12px;font-size:12px;line-height:16px; }
  & .zte-assets__version { display:block;font-size:10px;line-height:14px;color:#71717C; }
  & .zte-assets__usage { position:absolute;left:464px;top:282px;width:328px;padding:20px;border-radius:12px;background:#FFF;box-shadow:var(--ss-shadow-satellite); }
  & .zte-assets__usage-file { --ss-row-title:13px;--ss-row-line:18px;--ss-row-subtitle:11px; }
  & .zte-assets__usage-file img { display:block;flex:none;width:44px;height:44px;object-fit:cover;object-position:80% center;border-radius:5px; }
  & .zte-assets__sync { display:flex;align-items:center;justify-content:center;height:28px;padding:0 12px;border-radius:5px;background:var(--ss-accent);color:#FFF;font-size:12px;line-height:16px; }
  & .zte-assets__destinations { margin-top:12px; }
  & .zte-assets__destination { --ss-row-title:13px;--ss-row-line:18px;color:#55555F; }
  & .zte-assets__status { display:flex;align-items:center;gap:12px;font-size:11px;line-height:16px;color:#94949F; }
  & .zte-assets__status .ss-icon { color:#3D9A6C; }
}

