/* HSBP app demonstration. Scoped to the existing app section only. */
#app .wp360-phone-wrap { min-height: 900px; }
#app .hsbp-showcase {
  --showcase-bone: var(--bone, #f5f2ea);
  --showcase-accent: var(--flame, #ff4d1c);
  position: relative;
  min-width: 0;
  min-height: 900px;
  width: 100%;
  margin: 0;
  align-self: center;
  color: var(--showcase-bone);
  font-family: Archivo, sans-serif;
}
#app .hsbp-showcase *, #app .hsbp-showcase *::before, #app .hsbp-showcase *::after { box-sizing: border-box; }
#app .hsbp-showcase__stage { padding: 18px 12px 28px; }
#app .hsbp-showcase__phone {
  position: relative;
  width: min(100%, 336px);
  margin: 0 auto;
  padding: 9px;
  border: 1px solid #656568;
  border-radius: 49px;
  background: #252529;
  box-shadow: inset 0 0 0 2px #111114, inset 0 0 0 3px #424246, 0 28px 42px -20px #000b, 0 6px 12px #0005;
  isolation: isolate;
}
#app .hsbp-showcase__phone::before,
#app .hsbp-showcase__phone::after {
  content: '';
  position: absolute;
  width: 3px;
  border: 1px solid #565659;
  background: #28282b;
  border-radius: 2px;
}
#app .hsbp-showcase__phone::before { left: -3px; top: 21%; height: 47px; }
#app .hsbp-showcase__phone::after { right: -3px; top: 28%; height: 65px; }
#app .hsbp-showcase__screen {
  position: relative;
  aspect-ratio: 598 / 1300;
  overflow: hidden;
  border-radius: 39px;
  background: #060a1b;
  isolation: isolate;
}
#app .hsbp-showcase__screen img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  margin: 0;
}
#app .hsbp-showcase__layer { opacity: 0; }
#app .hsbp-showcase__layer--profile { opacity: 1; }
#app .hsbp-showcase__status { z-index: 5; clip-path: inset(0 0 93.65% 0); pointer-events: none; }
#app .hsbp-showcase__caption {
  position: relative;
  height: 56px;
  max-width: 390px;
  margin: 0 auto 12px;
  text-align: center;
}
#app .hsbp-showcase__caption-item { position: absolute; inset: 0; opacity: 0; }
#app .hsbp-showcase__caption-item:first-child { opacity: 1; }
#app .hsbp-showcase__caption b { display: block; font-size: 16px; font-weight: 700; line-height: 1.45; }
#app .hsbp-showcase__caption span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: #b5b2aa; }
#app .hsbp-showcase__controls {
  display: flex;
  align-items: center;
  gap: 4px;
  width: min(100%, 382px);
  margin: 0 auto;
}
#app .hsbp-showcase__step {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 12px 5px;
  margin: 0;
  border: 0;
  border-top: 1px solid #454345;
  border-radius: 0;
  background: transparent;
  color: #b5b2aa;
  font: 400 10px/1.3 'Space Mono', monospace;
  letter-spacing: .01em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease;
}
#app .hsbp-showcase__step[aria-pressed='true'] { color: var(--showcase-bone); border-color: var(--showcase-accent); }
#app .hsbp-showcase__pause {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0 0 0 8px;
  display: grid;
  place-items: center;
  color: var(--showcase-bone);
  background: transparent;
  border: 1px solid #454345;
  border-radius: 50%;
  cursor: pointer;
}
#app .hsbp-showcase__pause-icon { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
#app .hsbp-showcase__pause[data-paused='true'] .hsbp-showcase__pause-icon { width: 0; height: 0; margin-left: 3px; border-left: 9px solid currentColor; border-right: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
#app .hsbp-showcase button:hover { color: #fff; }
#app .hsbp-showcase button:focus-visible { outline: 2px solid var(--volt, #d9ff45); outline-offset: 4px; }
#app .hsbp-showcase__source { text-align: center; font: 400 9px/1.5 'Space Mono', monospace; letter-spacing: .04em; color: #aaa69d; margin: 13px 0 0; }
#app .hsbp-showcase__source a { color: inherit; text-underline-offset: 3px; }
#app .hsbp-showcase__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 1100px) and (min-width: 961px) {
  #app .hsbp-showcase__stage { padding-left: 6px; padding-right: 6px; }
  #app .hsbp-showcase__phone { border-radius: 43px; }
  #app .hsbp-showcase__screen { border-radius: 33px; }
}
@media (max-width: 960px) {
  #app .hsbp-showcase { order: -1; max-width: 460px; justify-self: center; }
  #app .hsbp-showcase__phone { width: min(100%, 326px); }
  #app .hsbp-showcase__stage { padding-top: 0; }
}
@media (max-width: 520px) {
  #app .wp360-phone-wrap, #app .hsbp-showcase { min-height: 835px; }
  #app .hsbp-showcase__phone { width: min(100%, 310px); padding: 7px; border-radius: 42px; }
  #app .hsbp-showcase__screen { border-radius: 34px; }
  #app .hsbp-showcase__stage { padding: 0 7px 24px; }
  #app .hsbp-showcase__caption { height: 30px; margin-bottom: 14px; }
  #app .hsbp-showcase__caption b { font-size: 15px; }
  #app .hsbp-showcase__caption span { display: none; }
  #app .hsbp-showcase__step { font-size: 9px; padding-inline: 2px; }
  #app .hsbp-showcase__pause { margin-left: 3px; }
}
@media (max-width: 360px) {
  #app .wp360-phone-wrap, #app .hsbp-showcase { min-height: 760px; }
}
@media (prefers-reduced-motion: reduce) {
  #app .hsbp-showcase *, #app .hsbp-showcase *::before, #app .hsbp-showcase *::after { animation: none !important; transition: none !important; }
}
