/* Compact Edge: selected Black Glass direction, scoped to the homepage hero. */
.hb .hb-btn.hb-btn--edge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(300px, calc(100vw - 64px));
  max-width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 13px 18px 13px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: rgba(5, 5, 7, .86);
  color: #f5f5f7;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .64);
  -webkit-backdrop-filter: blur(18px) saturate(0);
  backdrop-filter: blur(18px) saturate(0);
  font: 500 1.0625rem/1.25 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-optical-sizing: auto;
  letter-spacing: -.015em;
  text-align: left;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transform: none;
  transition: opacity 100ms ease-out;
}
.hb-btn--edge .hb-edge__label { min-width: 0; }
.hb-btn--edge .hb-edge__arrow { display: grid; place-items: center; flex: none; }
.hb .hb-btn.hb-btn--edge svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: none;
  transform: none;
  transition: none;
}
.hb .hb-btn.hb-btn--edge:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.hb .hb-btn.hb-btn--edge:active { background: rgba(40, 40, 43, .96); transform: none; }
.hb-btn--edge:active .hb-edge__label { opacity: .85; }
@media (hover: hover) and (pointer: fine) {
  .hb .hb-btn.hb-btn--edge:hover { background: rgba(27, 27, 30, .94); color: #fff; }
  .hb .hb-btn.hb-btn--edge:active:hover { background: rgba(40, 40, 43, .96); }
}
@media (prefers-reduced-motion: no-preference) {
  .hb .hb-btn.hb-btn--edge { transition: transform 150ms ease-out, opacity 100ms ease-out; }
  .hb .hb-btn.hb-btn--edge:active { transform: scale(.96); }
  .hb-btn--edge .hb-edge__arrow { transition: transform 150ms var(--hb-ease-out); }
  @media (hover: hover) and (pointer: fine) {
    .hb .hb-btn.hb-btn--edge:hover .hb-edge__arrow { transform: translateX(3px); }
  }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hb .hb-btn.hb-btn--edge { background: #101012; }
}
@media (prefers-reduced-transparency: reduce) {
  .hb .hb-btn.hb-btn--edge { background: #101012; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .hb .hb-btn.hb-btn--edge { background: #000; color: #fff; border-color: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (forced-colors: active) {
  .hb .hb-btn.hb-btn--edge { background: ButtonFace; color: LinkText; border-color: ButtonText; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hb .hb-btn.hb-btn--edge:focus-visible { outline-color: Highlight; }
}

/* Scene clipping is independent of the mobile controls; desktop markup stays unboxed. */
.hb-scene-clip { display: contents; }
@media (max-width: 767px) {
  html[data-hero-accents="retro"] #hb .hb-scene-clip > .hb-pt { display: none !important; }
}


/* Mobile: move only the controls, without reserving more layout space. */
@media (max-width: 600px) {
  .hb .hb-btn.hb-btn--edge {
    width: min(280px, calc(100vw - 72px));
    min-height: 48px;
    padding: 11px 16px 11px 18px;
    gap: 14px;
  }
  .hb .hb-cta { gap: 6px; }
  /* Keep the action in the same lower position while the notice is open. */
  html .hb .hb-copy { padding-bottom: 4px; }
  #hb { overflow: visible; overflow-x: clip; z-index: 2; }
  #hb .hb-scene-clip {
    display: block;
    position: absolute;
    inset: 0;
    overflow: hidden;
    overflow: clip;
    z-index: 0;
    /* The scene is artwork, not an image users can open with a long press. */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }
  #hb .hb-scene-clip img { pointer-events: none; -webkit-user-drag: none; }
  #hb .hb-cta { position: relative; top: 40px; }
  html.hb-notice #hb .hb-trust { display: block; }


}
