/* Keep shared navigation, ad placements and every existing deep link in the operating homepage. */
html body:is(.sg-goal-home, .sg-showcase-page) #sg-platform-intro.opening-film {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-items: end !important;
  width: 100% !important;
  max-width: none !important;
  min-height: clamp(500px, calc(100svh - 76px), 960px) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #23322c !important;
  color: white;
  text-align: left;
}
.opening-film .opening-backdrop,
.opening-film .opening-backdrop img,
.opening-film .opening-video,
.opening-film .opening-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}
.opening-video { opacity: 0; }
.opening-video.has-frame { opacity: 1; }
.opening-shade { background: linear-gradient(90deg, #05100dc7, #05100d70 43%, transparent 80%), linear-gradient(0deg, #07140c80, transparent 60%); }
.opening-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 64px));
  margin: 0 auto;
  padding: 60px 0 clamp(40px, 8vh, 112px);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}
html body:is(.sg-goal-home, .sg-showcase-page) #sg-platform-intro.opening-film h1 {
  margin: 0 !important;
  font-size: clamp(3rem, 6.2vw, 5.6rem) !important;
  line-height: 1.08 !important;
  color: white !important;
}
.opening-copy p { margin: 18px 0 24px; line-height: 1.55; color: #fff; font-size: clamp(1rem, 1.5vw, 1.25rem); }
.opening-copy p br { display: none; }
.opening-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.opening-actions .opening-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 750;
  font-size: 1rem;
  line-height: 1.35;
  text-decoration: none;
}
.opening-actions .opening-primary { background: #ffcf38; color: #182018; }
.opening-actions .opening-secondary { background: #14201a; color: #fff; border-color: #fffc; }
.opening-control {
  flex: none; display: grid; place-items: center;
  width: 46px; height: 46px; padding: 0;
  border: 1px solid #fffc; border-radius: 50%;
  color: white; background: #0a140da6; cursor: pointer;
}
.opening-control[hidden] { display: none; }
.opening-control span { width: 0; height: 0; border-block: 6px solid transparent; border-left: 10px solid currentColor; }
.opening-control.is-playing span { width: 12px; height: 13px; border: 0; border-inline: 4px solid currentColor; }
.opening-film :focus-visible { outline: 3px solid white; outline-offset: 3px; }
@media (max-width: 720px) {
  html body:is(.sg-goal-home, .sg-showcase-page) #sg-platform-intro.opening-film { min-height: clamp(390px, calc(100svh - 124px - env(safe-area-inset-bottom)), 760px) !important; }
  .opening-shade { background: linear-gradient(0deg, #06100fef 0%, #06100f9c 35%, #06100f18 68%); }
  .opening-inner { align-self: stretch; align-items: flex-end; width: calc(100% - 36px); padding: 64px 0 calc(88px + env(safe-area-inset-bottom)); }
  html body:is(.sg-goal-home, .sg-showcase-page) #sg-platform-intro.opening-film h1 { font-size: clamp(2.5rem, 10vw, 4rem) !important; }
  .opening-copy p { margin: 13px 0 18px; }
  .opening-copy p br { display: block; }
  .opening-actions { gap: 7px; }
  .opening-actions .opening-link { padding: 10px 12px; }
  .opening-control { position: absolute; top: 16px; right: 0; width: 44px; height: 44px; }
}

#sg-platform-intro .opening-copy h1 { word-break: keep-all; }
#store-showcase > #store-showcase-title {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.25;
}
#store-showcase > .sg-store-search { margin-bottom: 16px; }
#cooperating-companies .sg-partner-search + .sg-partner-tabs { margin-top: 12px; }

html body[data-home-layout="compact"] #sg-platform-intro .opening-copy .opening-caption {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px;
  margin: 0 0 18px; padding: 4px 0 4px 12px; border-left: 3px solid #ffcf38;
  font-size: clamp(16px, 1.6vw, 23px); font-weight: 650; line-height: 1.45;
  color: white; text-shadow: 0 1px 6px #15201a; word-break: keep-all;
}
.opening-caption strong { font-size: .82em; font-weight: 750; color: #ffdf74; }
@media (max-width: 720px) {
  html body[data-home-layout="compact"] #sg-platform-intro .opening-copy .opening-caption {
    display: grid; gap: 1px; margin-bottom: 14px;
  }
}
