.pl-site-header,
.pl-site-footer,
.pl-site-header *,
.pl-site-footer * {
  box-sizing: border-box;
}

.pl-product-shell {
  background: #06080c;
  color-scheme: dark;
  min-height: 100svh;
  overflow-x: clip;
  position: relative;
  width: 100%;
}

.pl-product-main {
  display: block;
  margin: 0;
  max-width: none;
  padding: 0;
  width: 100%;
}

.pl-site-header {
  --pl-site-ink: #06080c;
  --pl-site-white: #f4f2ed;
  --pl-site-lime: #c9ff45;
  --pl-site-coral: #ff715f;
  --pl-site-line: rgba(244, 242, 237, .13);
  --pl-site-mono: "SFMono-Regular", "Cascadia Mono", Consolas, ui-monospace, monospace;
  align-items: center;
  background: rgba(6, 8, 12, .96);
  border-bottom: 1px solid var(--pl-site-line);
  color: var(--pl-site-white);
  display: grid;
  font-family: Inter, "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  grid-template-columns: 1fr auto 1fr;
  min-height: 76px;
  padding: 0 max(32px, calc((100vw - 1576px) / 2));
  position: relative;
  width: 100%;
  z-index: 50;
}

.pl-site-header a,
.pl-site-footer a {
  text-decoration: none;
}

.pl-site-wordmark {
  align-items: center;
  display: inline-flex;
  font-size: 18px;
  font-weight: 920;
  justify-self: start;
  letter-spacing: -.055em;
  line-height: 1;
  width: max-content;
}

.pl-site-wordmark span { color: var(--pl-site-white, #f4f2ed); }
.pl-site-wordmark i { color: var(--pl-site-lime, #c9ff45); font-style: normal; }
.pl-site-wordmark b { color: var(--pl-site-coral, #ff715f); font-size: 8px; margin-left: 8px; text-shadow: 0 0 12px currentColor; }

.pl-site-signal {
  align-items: center;
  color: #9299a5;
  display: flex;
  font: 750 9px/1 var(--pl-site-mono);
  gap: 9px;
  justify-self: center;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.pl-site-signal i {
  animation: pl-site-pulse 1.8s ease-in-out infinite;
  background: var(--pl-site-lime);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(201, 255, 69, .8);
  display: inline-block;
  height: 6px;
  width: 6px;
}

.pl-site-header nav {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-self: end;
}

.pl-site-header nav > a {
  color: #a7acb5;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .035em;
  white-space: nowrap;
}

.pl-site-header nav > a:hover { color: var(--pl-site-white); }

.pl-site-header .pl-site-contact {
  align-items: center;
  border: 1px solid var(--pl-site-line);
  border-radius: 999px;
  display: flex;
  gap: 14px;
  min-height: 38px;
  padding: 0 8px 0 15px;
}

.pl-site-contact i {
  align-items: center;
  background: var(--pl-site-white);
  border-radius: 50%;
  color: var(--pl-site-ink);
  display: flex;
  font-style: normal;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.pl-site-header :where(a, button):focus-visible,
.pl-site-footer a:focus-visible {
  outline: 2px solid var(--pl-site-lime, #c9ff45);
  outline-offset: 4px;
}

.pl-site-footer {
  --pl-site-white: #f4f2ed;
  --pl-site-lime: #c9ff45;
  --pl-site-coral: #ff715f;
  --pl-site-line: rgba(244, 242, 237, .13);
  --pl-site-mono: "SFMono-Regular", "Cascadia Mono", Consolas, ui-monospace, monospace;
  align-items: center;
  background: #080a0f;
  border-top: 1px solid var(--pl-site-line);
  color: var(--pl-site-white);
  display: grid;
  font-family: Inter, "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  grid-template-columns: 1fr auto 1fr;
  min-height: 132px;
  padding: 28px max(32px, calc((100vw - 1576px) / 2));
  position: relative;
  width: 100%;
  z-index: 4;
}

.pl-site-footer > p {
  color: #6f7682;
  font: 650 8px/1.5 var(--pl-site-mono);
  letter-spacing: .1em;
  margin: 0;
  text-align: center;
}

.pl-site-footer > div {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.pl-site-footer > div span,
.pl-site-footer > div a {
  color: #737a86;
  font: 650 8px/1.25 var(--pl-site-mono);
  letter-spacing: .08em;
}

.pl-site-footer > div .pl-site-footer-support { color: #9aa372; }
.pl-site-footer > div a:hover { color: var(--pl-site-lime); }

.pl-product-shell-tv .pl-product-main > #stream-tv-builder-app {
  height: calc(100vh - 76px);
  height: calc(100svh - 76px);
  height: calc(100dvh - 76px);
  inset: auto;
  isolation: isolate;
  overflow: hidden;
  position: relative;
  min-height: calc(100vh - 76px);
  min-height: calc(100svh - 76px);
  min-height: calc(100dvh - 76px);
  transform: translateZ(0);
  width: 100%;
  z-index: 0;
}

html.stvb-open:root,
body.stvb-page.stvb-open {
  height: auto !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: auto;
}

.pl-product-shell-tv #stream-tv-builder-app .stvb-app-shell,
.pl-product-shell-tv #stream-tv-builder-app .stvb-status,
.pl-product-shell-tv #stream-tv-builder-app .stvb-launch-v2 {
  height: 100%;
  min-height: 0;
}

.pl-product-shell-amo .amo-public-shell .amo-stage,
.pl-product-shell-amo .amo-public-shell .amo-login-stage {
  min-height: calc(100vh - 76px);
  min-height: calc(100svh - 76px);
  min-height: calc(100dvh - 76px);
}

@keyframes pl-site-pulse {
  0%, 100% { opacity: .55; transform: scale(.82); }
  50% { opacity: 1; transform: scale(1.12); }
}

@media (max-width: 980px) {
  .pl-site-header { grid-template-columns: 1fr auto; }
  .pl-site-signal { display: none; }
}

@media (max-width: 720px) {
  .pl-site-header { min-height: 64px; padding: 0 18px; }
  .pl-site-header nav { gap: 16px; }
  .pl-site-header nav > a:nth-child(2):not(.pl-site-contact) { display: none; }
  .pl-site-header .pl-site-contact { border: 0; min-height: 32px; padding: 0; }
  .pl-site-contact span { display: none; }
  .pl-site-contact i { height: 28px; width: 28px; }
  .pl-site-footer { align-items: start; gap: 20px; grid-template-columns: 1fr; padding: 34px 18px; }
  .pl-site-footer > p { text-align: left; }
  .pl-site-footer > div { justify-items: start; }
  .pl-product-shell-amo .amo-public-shell .amo-stage,
  .pl-product-shell-amo .amo-public-shell .amo-login-stage {
    min-height: calc(100vh - 64px);
    min-height: calc(100svh - 64px);
    min-height: calc(100dvh - 64px);
  }

  .pl-product-shell-tv .pl-product-main > #stream-tv-builder-app {
    height: calc(100vh - 64px);
    height: calc(100svh - 64px);
    height: calc(100dvh - 64px);
    min-height: calc(100vh - 64px);
    min-height: calc(100svh - 64px);
    min-height: calc(100dvh - 64px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pl-site-signal i { animation: none; }
}
