:root {
  color-scheme: dark;
  color: rgba(255, 255, 255, .9);
  background: #0d0609;
}

.showcase-page { display: grid; place-items: center; min-height: 100dvh; overflow: hidden; }
.showcase-viewport {
  position: relative;
  width: calc(1920px * var(--artboard-scale, 1));
  height: calc(1080px * var(--artboard-scale, 1));
}
.showcase {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  isolation: isolate;
  transform: scale(var(--artboard-scale, 1));
  transform-origin: top left;
}
.showcase-backdrop { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #0d0609; }
.showcase-backdrop img {
  position: absolute;
  width: 1080px;
  height: 1920px;
  left: 50%;
  top: calc(50% + 26.028px);
  transform: translate(-50%, -50%) rotate(-90deg);
  opacity: .4;
  filter: blur(150px);
}

.showcase-brand { position: absolute; top: 80px; left: 80px; }
.brand-title { position: relative; width: 650px; height: 49px; }
.brand-bilibili, .brand-cross, .brand-mascot, .brand-title h1 { position: absolute; }
.brand-bilibili { left: 0; top: 4.456px; }
.brand-cross { left: 100.96px; top: 13.68px; }
.brand-mascot { left: 137.92px; top: 0; width: 41px; height: 42px; }
.brand-mascot .prompt-mascot { left: 0; top: 0; transform: scale(1.205); transform-origin: top left; }
.brand-title h1 {
  left: 190.2px;
  top: 1.324px;
  font-size: 30.751px;
  font-weight: 600;
  line-height: 1.3;
  background: linear-gradient(94.668deg, #ff6699 1.0814%, #ff3cc8 42.86%, #af68fe 73.148%, #be13f0 101.9%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.showcase-brand p { margin-top: 21.984px; font-size: 24px; line-height: 32px; font-weight: 600; }

.device-column { position: absolute; left: 586px; top: 101px; width: 764px; height: 878px; }
.device-switch {
  position: absolute;
  top: -4px;
  left: 374px;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid #ffc9db24;
  border-radius: 999px;
  background: #1d1019;
  white-space: nowrap;
}
.device-switch button { border-radius: inherit; padding: 5px 18px; color: #d6c6d1; font-size: 16px; line-height: 23px; }
.device-switch button[aria-pressed="true"] { color: #fff; background: #ffc9db26; }
.device-switch button:hover, .step-controls button:not(:disabled):hover { color: #fff; background: #ffc9db26; }

.device-stage { position: relative; width: 100%; height: 100%; overflow: hidden; }
.device-back, .pixel-mask, .iphone-camera { position: absolute; display: block; pointer-events: none; }
.iphone-frame { left: -33.94%; top: -2.73%; width: 165.79%; height: 108.2%; }

/* This contour follows the actual opening of the iPhone image on the Figma artboard. */
.device-display {
  --screen-scale: .884634;
  position: absolute;
  left: 196.2048px;
  top: 55.1969px;
  width: 355.6228px;
  height: 771.8718px;
  overflow: hidden;
  background: #000;
  clip-path: polygon(
    18.817% 0%, 16.035% .06%, 13.426% .18%, 11.687% .341%, 9.426% .661%,
    7.339% 1.142%, 5.774% 1.623%, 4.383% 2.224%, 3.252% 2.825%, 2.383% 3.425%,
    1.774% 4.026%, 1.165% 4.748%, .643% 5.549%, .383% 6.35%, .122% 7.232%,
    .035% 8.233%, .035% 12.039%, .035% 87.961%, .035% 91.767%, .122% 92.768%,
    .383% 93.65%, .643% 94.451%, 1.078% 95.252%, 1.687% 95.974%, 2.383% 96.575%,
    3.252% 97.175%, 4.296% 97.776%, 5.774% 98.377%, 7.252% 98.858%, 9.339% 99.339%,
    11.513% 99.659%, 13.165% 99.82%, 15.426% 99.94%, 16.817% 100%, 83.27% 100%,
    84.661% 99.94%, 86.922% 99.82%, 88.574% 99.659%, 90.748% 99.339%,
    92.835% 98.858%, 94.313% 98.377%, 95.791% 97.776%, 96.835% 97.175%,
    97.704% 96.575%, 98.4% 95.974%, 99.009% 95.252%, 99.443% 94.451%,
    99.704% 93.65%, 99.965% 92.768%, 100% 91.767%, 100% 87.961%, 100% 12.039%,
    100% 8.233%, 99.965% 7.232%, 99.704% 6.35%, 99.443% 5.549%, 98.922% 4.748%,
    98.313% 4.026%, 97.704% 3.425%, 96.835% 2.825%, 95.704% 2.224%, 94.313% 1.623%,
    92.748% 1.142%, 90.661% .661%, 88.4% .341%, 86.661% .18%, 83.965% .06%, 81.27% 0%
  );
}
.device-display iframe {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 402px;
  height: 874px;
  border: 0;
  transform: translate(-50%, -50%) scale(var(--screen-scale));
}
.iphone-camera {
  left: 318.972px;
  top: 67.8759px;
  width: 109.7792px;
  height: 32.1613px;
  border-radius: 999px;
  background: url("assets/showcase-iphone.png") 49.987% 10.007% / 1153.803% 2953.846% no-repeat;
  clip-path: inset(2.5% 1.5% round 999px);
}

/* Pixel art and display offsets follow the Android Studio Pixel 7 Pro layout file. */
.pixel-frame { left: 184.0169px; top: 38.8688px; width: 382.7204px; height: 809.3477px; }
.showcase[data-device="android"] .device-display {
  --screen-scale: .886191;
  left: 195.8918px;
  top: 55.1969px;
  width: 356.2485px;
  height: 771.8718px;
  border-radius: 17px;
  clip-path: none;
}
.pixel-mask { inset: 0; width: 100%; height: 100%; }
.showcase[data-device="android"] .iphone-camera { display: none; }

.step-note { position: absolute; left: 1295px; top: 476px; width: 520px; display: grid; gap: 8px; }
.step-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.step-note h2 { font-size: 36px; font-weight: 750; line-height: 44px; }
.step-description { font-size: 20px; line-height: 29px; color: rgba(255, 255, 255, .6); overflow-wrap: anywhere; }

.flow-panel { position: absolute; left: 80px; top: 745px; width: 291px; height: 101px; }
.flow-switch > img, .flow-switch button, .step-controls { position: absolute; }
.flow-switch > img { top: 0; left: 0; }
.flow-switch button {
  left: 38px;
  top: -3px;
  color: rgba(116, 116, 116, .9);
  font-weight: 600;
  font-size: 28px;
  line-height: 36px;
  white-space: nowrap;
}
.flow-switch button[data-flow="not-fit"] { top: 62px; }
.flow-switch button[aria-pressed="true"] { color: rgba(255, 255, 255, .9); }
.flow-switch button:hover { color: #ffa4c6; }
.step-controls {
  left: 125px;
  top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 166px;
  height: 32px;
  border-radius: 8px;
  background: #ffc9db26;
}
.step-controls button { width: 47.2px; height: 32px; display: grid; place-items: center; }
.step-controls button:disabled { opacity: .35; }
.step-controls button[data-step="next"] img { transform: rotate(180deg); }
.step-controls button:focus-visible { outline-offset: -3px; }
.showcase[data-flow="not-fit"] .step-controls { top: 66px; }
.showcase[data-flow="not-fit"] .flow-switch > img { top: 65px; }
