/* Original macOS assets; one optical size for all application tiles. */
.dk-stage{--s:calc(var(--u)*2.5);--m:calc(var(--s)*4.4);--icon:calc(41*var(--m));position:absolute;inset:0;overflow:hidden}
.dk-stage *{box-sizing:border-box}
.dk-stage img{display:block;max-width:none}
.dc-dock{position:absolute;left:50%;top:calc(580*var(--s));transform:translate(-50%,-50%);display:flex;align-items:flex-end;gap:calc(7*var(--m));padding:calc(9*var(--m)) calc(12*var(--m)) calc(13*var(--m));border-radius:calc(16*var(--m));background:linear-gradient(180deg,rgba(244,246,250,.94),rgba(235,238,244,.94));border:calc(.55*var(--m)) solid rgba(255,255,255,.98);box-shadow:0 calc(1.2*var(--m)) calc(3*var(--m)) rgba(45,56,78,.065)}
.dc-app-icon{position:relative;display:block;flex:0 0 var(--icon);width:var(--icon);height:var(--icon);filter:none}
/* Preserve the approved artwork's own glass and light. No white overlay,
   extra outline or contrast/blur filter over the character. */
.dc-product,.dc-finder{isolation:isolate;border-radius:23%;background:transparent;box-shadow:0 calc(.45*var(--m)) calc(.70*var(--m)) rgba(25,38,58,var(--dock-shadow-alpha,.14))}
/* Compensate the colored lower edge optically; keep the same elevation and blur. */
.dc-dock-doubao,.dc-finder{--dock-shadow-alpha:.18}
/* The light colored lower edge uses a restrained blue-gray shadow to
   match the apparent thickness of the neighboring white tiles. */
#s8 .dc-dock-doubao{box-shadow:0 calc(.55*var(--m)) calc(.70*var(--m)) rgba(80,99,148,.19)}
/* The two white competitor tiles use a diffuse, lighter shadow. */
#s8 .dc-product:not(.dc-dock-doubao){box-shadow:0 calc(.40*var(--m)) calc(1.35*var(--m)) rgba(55,68,88,.065)}
.dc-product>img{position:relative;display:block;width:100%;height:100%;object-fit:contain;border-radius:inherit;filter:none;opacity:1}
/* Each native raster keeps its own real transparent margins and silhouette.
   Align the visible artwork, not the differing PNG canvases. */
.dc-native>img{position:absolute;width:var(--raster-size,124.271845%);height:var(--raster-size,124.271845%);left:var(--offset-x,-12.135922%);top:var(--offset-y,-12.135922%);object-fit:contain}
/* Clip the native Finder raster shadow at its visible tile, then apply the
   same external elevation as the other apps. The original artwork is intact. */
.dc-finder{overflow:hidden;--raster-size:124.271845%;--offset-x:-12.135922%;--offset-y:-12.135922%}
.dc-safari{--raster-size:124.271845%;--offset-x:-12.135922%;--offset-y:-12.135922%}
.dc-folder{--raster-size:108.016878%;--offset-x:-4.113924%;--offset-y:6.85654%}
.dc-trash-icon{--raster-size:125.644172%;--offset-x:-12.822086%;--offset-y:-13.496933%;opacity:1}
.dc-dock-divider{flex:none;width:calc(.65*var(--m));height:calc(39*var(--m));margin-inline:calc(1*var(--m));background:rgba(92,101,116,.25);align-self:flex-end}

/* Center the original-asset Dock in the content area below the heading. */
#s8 .dc-dock{left:50%;top:calc(1325*var(--u))}
#s8 .device-mobile-scene{aspect-ratio:16/8.6;--u:calc(100cqw / 4000)}
#s8 .device-mobile-scene>.dk-stage{top:0;height:100%}
#s8 .device-mobile-scene .dc-dock{top:50%}
