@property --gta-button-gradient-shift {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}
@keyframes gta-stream-spinner {
  to {
    transform: rotate(1turn);
  }
}
body.page-template-page-gta-vi-stream {
  background-color: #000612;
}
body.page-template-page-gta-vi-stream.admin-bar {
  --gta-admin-bar-height: var(--wp-admin--admin-bar--height, 0px);
}
body.page-template-page-gta-vi-stream > #page {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--gta-admin-bar-height, 0px));
  min-height: calc(100dvh - var(--gta-admin-bar-height, 0px));
}
body.page-template-page-gta-vi-stream > #page > .gta-stream {
  flex: 1 0 auto;
}
body.page-template-page-gta-vi-stream > #page > header,
body.page-template-page-gta-vi-stream > #page > footer {
  flex-shrink: 0;
}

.gta-stream {
  --gta-gradient: linear-gradient(105deg, #365fd8, #f94dba 54%, #e98b4f);
  --gta-border-gradient: linear-gradient(to bottom, #ffb929, #e32ba2 54.8%, #830176);
  --gta-button-border-gradient: linear-gradient(to bottom, #ffb929 4%, #e32ba2 61%, #830176);
  --gta-button-fill: linear-gradient(to bottom, #365fd8 -50%, #f94dba 26%, #e98b4f 100%);
  --gta-gold: #f5cc59;
  --gta-countach-offset: .125em;
  background: url("../img/gta-vi-stream/palms-desktop.svg") center bottom/min(95%, 1748px) auto no-repeat, linear-gradient(180deg, #290f29, #08090f);
  color: #fff;
  display: grid;
  font-family: Countach, sans-serif;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(64px, 3fr) auto auto minmax(64px, 7fr);
  min-height: 755px;
  padding-inline: 12px;
  position: relative;
}
.gta-stream [hidden] {
  display: none !important;
}
.gta-stream__hero {
  --gta-hero-gap: 18px;
  --gta-hero-art-height: min(148px, calc((100cqw - var(--gta-hero-gap)) / (196 / 148 + 409 / 115)));
  align-items: center;
  container-type: inline-size;
  display: flex;
  gap: var(--gta-hero-gap);
  grid-row: 2;
  justify-content: center;
  margin: 0 0 20px;
  min-height: 171px;
  text-align: center;
}
.gta-stream__hero-logo, .gta-stream__hero-title img {
  display: block;
  width: auto;
}
.gta-stream__hero-logo {
  height: var(--gta-hero-art-height);
  filter: drop-shadow(0 4px 47px #ff864f);
}
.gta-stream__hero-title {
  margin: 0;
}
.gta-stream__hero-title img {
  height: calc(var(--gta-hero-art-height) * 0.92);
}
.gta-stream__hero-title--wide {
  max-width: min(65%, 590px);
}
.gta-stream__hero-title--wide img {
  height: auto;
  max-width: 100%;
}
.gta-stream__instructions h2 {
  background: linear-gradient(180deg, #365fd8 7.46%, #f94dba 42.93%, #e98b4f 77.73%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 700;
  text-transform: uppercase;
}
.gta-stream__panels {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-row: 3;
  margin: 0 auto;
  max-width: 1025px;
  width: 100%;
}
.gta-stream__card {
  background: rgba(108, 1, 108, 0.12);
  background-clip: padding-box;
  border: 1px solid transparent;
  border-radius: 30px;
  min-width: 0;
  min-height: 324px;
  padding: 20px clamp(16px, 3.2vw, 46px);
  position: relative;
  text-align: center;
}
.gta-stream__card::before {
  inset: -1px;
}
.gta-stream__card::before, .gta-stream__progress > span::before, .gta-stream__step-number::before, .gta-stream__keyword-field::before, .gta-stream__button--skip::before {
  background: var(--gta-border-gradient);
  border-radius: inherit;
  content: "";
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
  position: absolute;
}
.gta-stream__card h2 {
  font-size: 2.125rem;
  line-height: 1.2;
  margin: 0 0 14px;
}
.gta-stream__card h2:not(.gta-stream__ended), .gta-stream__game > p, .gta-stream__email-label, .gta-stream__actions > span, .gta-stream__guide li > span:last-child, .gta-stream__step-number::after {
  position: relative;
  top: var(--gta-countach-offset);
}
.gta-stream__guide {
  align-items: center;
  display: flex;
  margin: 0 -10px 15px;
  text-align: left;
}
.gta-stream__guide > img {
  filter: drop-shadow(0 0 10px #ffc115) drop-shadow(0 0 32px #f5cc59);
  height: auto;
  width: 37%;
}
.gta-stream__guide ol {
  counter-reset: gta-instruction;
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.gta-stream__guide li {
  align-items: center;
  column-gap: 10px;
  counter-increment: gta-instruction;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  line-height: 1.25;
}
.gta-stream__guide li strong {
  color: var(--gta-gold);
  font: normal 400 16px/normal Countach, sans-serif;
}
.gta-stream__guide li img {
  vertical-align: middle;
}
.gta-stream__step-number {
  --gta-countach-offset: .085em;
  border-radius: 50%;
  color: #e88f48;
  display: grid;
  font-size: 1.125rem;
  font-weight: 700;
  height: 30px;
  line-height: 1;
  place-items: center;
  position: relative;
  width: 30px;
}
.gta-stream__step-number::before {
  inset: 0;
}
.gta-stream__step-number::after {
  content: counter(gta-instruction);
}
.gta-stream__button {
  align-items: center;
  background: var(--gta-gradient);
  border: 1px solid transparent;
  border-radius: 63px;
  color: #fff;
  display: inline-flex;
  font: 400 1.125rem/1.15 Countach, sans-serif;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding-block: calc(8px + var(--gta-countach-offset)) calc(8px - var(--gta-countach-offset));
  padding-inline: clamp(12px, 2vw, 28px);
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
.gta-stream__button:hover {
  color: #fff;
  filter: brightness(1.14);
}
.gta-stream__button:disabled {
  cursor: wait;
  opacity: 0.65;
}
.gta-stream__button[aria-busy=true] {
  opacity: 1;
  position: relative;
}
.gta-stream__button[aria-busy=true] > span {
  opacity: 0;
}
.gta-stream__button[aria-busy=true]::after {
  animation: gta-stream-spinner 650ms linear infinite;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  content: "";
  height: 20px;
  inset: 0;
  margin: auto;
  position: absolute;
  width: 20px;
}
@media (prefers-reduced-motion: reduce) {
  .gta-stream__button[aria-busy=true]::after {
    animation: none;
  }
}
.gta-stream__button--outline {
  background: transparent;
  border-color: #b65dbc;
  color: #f0abeb;
}
.gta-stream__button--register {
  --gta-countach-offset: calc(.0625em + 1px);
  --gta-register-green: #d1ff0a;
  background: transparent;
  border-color: var(--gta-register-green);
  color: var(--gta-register-green);
  font: normal 400 18px/normal Countach, sans-serif;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transition: background-color 250ms ease, color 250ms ease;
}
.gta-stream__button--register:hover, .gta-stream__button--register:focus-visible {
  background-color: var(--gta-register-green);
  color: #000;
  filter: none;
}
@media (prefers-reduced-motion: reduce) {
  .gta-stream__button--register {
    transition: none;
  }
}
.gta-stream__button--skip {
  --gta-skip-text: #77087e;
  background: transparent;
  color: var(--gta-skip-text);
  font: normal 400 18px/normal Countach, sans-serif;
  position: relative;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
.gta-stream__button--skip::before {
  background: var(--gta-button-border-gradient);
  inset: -1px;
}
.gta-stream__button--skip:hover, .gta-stream__button--skip:focus-visible {
  color: var(--gta-skip-text);
  filter: none;
}
.gta-stream__button--skip:hover .gta-stream__skip-label > :first-child, .gta-stream__button--skip:focus-visible .gta-stream__skip-label > :first-child {
  opacity: 0;
}
.gta-stream__button--skip:hover .gta-stream__skip-label > :last-child, .gta-stream__button--skip:focus-visible .gta-stream__skip-label > :last-child {
  opacity: 1;
}
.gta-stream__button--gradient {
  --gta-button-gradient-shift: 0%;
  background: linear-gradient(to bottom, #365fd8 calc(-50% + var(--gta-button-gradient-shift)), #f94dba calc(26% + var(--gta-button-gradient-shift)), #e98b4f calc(100% + var(--gta-button-gradient-shift))) padding-box, var(--gta-button-border-gradient) border-box;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transition: --gta-button-gradient-shift 400ms ease;
}
.gta-stream__button--gradient:hover, .gta-stream__button--gradient:focus-visible {
  --gta-button-gradient-shift: -30%;
  filter: none;
}
@media (prefers-reduced-motion: reduce) {
  .gta-stream__button--gradient {
    transition: none;
  }
}
.gta-stream__skip-label {
  display: grid;
}
.gta-stream__skip-label > span {
  grid-area: 1/1;
  transition: opacity 250ms ease;
}
@media (prefers-reduced-motion: reduce) {
  .gta-stream__skip-label > span {
    transition: none;
  }
}
.gta-stream__skip-label > :last-child {
  background: var(--gta-button-fill);
  background-clip: text;
  color: transparent;
  opacity: 0;
  text-shadow: none;
}
.gta-stream__game {
  align-content: center;
  display: grid;
  justify-items: center;
}
.gta-stream__game > form {
  width: 100%;
}
.gta-stream__game h2 {
  color: var(--gta-gold);
}
.gta-stream__game--gate, .gta-stream__game--ended {
  background-color: #250b28;
}
.gta-stream__game .gta-stream__ended {
  color: #fff;
  font: 400 1rem/1.35 "IBM Plex Sans", sans-serif;
  margin: 0;
  text-transform: uppercase;
}
.gta-stream__game .gta-stream__ended img {
  display: block;
  margin: 0 auto 12px;
}
.gta-stream__game .gta-stream__ended span {
  display: block;
}
.gta-stream__game input {
  background: linear-gradient(#210b24, #210b24) padding-box, var(--gta-border-gradient) border-box;
  border: 1px solid transparent;
  border-radius: 100px;
  color: #fff;
  display: block;
  font: 400 1rem/1.25 "IBM Plex Sans", sans-serif;
  min-height: 64px;
  padding: 12px clamp(18px, 3vw, 46px);
  transition: box-shadow 350ms ease;
  width: 100%;
}
.gta-stream__game input:focus {
  box-shadow: 0 0 16px rgba(255, 193, 21, 0.35), 0 0 42px rgba(255, 134, 79, 0.3), inset 0 0 16px rgba(245, 204, 89, 0.09);
}
.gta-stream__game input::placeholder {
  color: var(--gta-gold);
  font: normal 400 16px/normal "IBM Plex Sans", sans-serif;
  opacity: 1;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  text-transform: uppercase;
}
@media (prefers-reduced-motion: reduce) {
  .gta-stream__game input {
    transition: none;
  }
}
.gta-stream__game .gta-stream__keyword-field {
  border-radius: 100px;
  position: relative;
}
.gta-stream__game .gta-stream__keyword-field::before {
  inset: 0;
}
.gta-stream__game .gta-stream__keyword-field input {
  background: rgba(108, 1, 108, 0.12) padding-box;
}
.gta-stream :is(a, button, input):focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.gta-stream__email-label {
  display: block;
  font-size: 1.125rem;
  line-height: 1.25;
  margin-bottom: 14px;
}
.gta-stream__email-label span {
  color: #d1ff0a;
}
.gta-stream__sign-in-message {
  font-size: 1.25rem;
  line-height: 1.25;
}
.gta-stream__complete svg {
  display: block;
  margin: 0 auto 12px;
}
.gta-stream__progress {
  align-items: stretch;
  display: flex;
  gap: clamp(12px, 2vw, 36px);
  justify-content: center;
  margin-bottom: 20px;
}
.gta-stream__progress > span {
  border: 1px solid transparent;
  border-radius: 100px;
  color: #f6a765;
  display: grid;
  flex: 0 1 138px;
  font-size: 2.125rem;
  font-weight: 700;
  line-height: 1.25;
  padding-block: calc(4px + var(--gta-countach-offset)) calc(4px - var(--gta-countach-offset));
  padding-inline: 12px;
  place-items: center;
  position: relative;
}
.gta-stream__progress > span::before {
  inset: -1px;
}
.gta-stream__star-defs {
  position: absolute;
}
.gta-stream__stars {
  display: grid;
  gap: 10px clamp(4px, 1vw, 13px);
  grid-template-columns: repeat(5, 1fr);
}
.gta-stream__stars svg {
  display: block;
  fill: #780e8f;
  fill-opacity: 0.2;
  stroke: #780e8f;
}
.gta-stream__stars .is-current svg {
  fill: #d1ff0a;
  fill-opacity: 1;
  stroke: none;
}
.gta-stream__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}
.gta-stream__error {
  color: #ffccd9;
  margin: 12px 0 0;
}
.gta-stream__reset {
  bottom: 16px;
  left: 12px;
  position: absolute;
}
.gta-stream__reset .gta-stream__button {
  font-size: 1rem;
}
@media (max-width: 767px) {
  .gta-stream {
    align-content: start;
    background-image: url("../img/gta-vi-stream/palms-mobile.svg"), linear-gradient(180deg, #290f29, #08090f);
    background-size: min(100%, 480px) auto, auto;
    grid-template-rows: auto auto;
    min-height: 0;
    padding-block: 40px 128px;
  }
  .gta-stream__hero {
    --gta-hero-art-height: min(115px, calc(100cqw * 115 / 409));
    --gta-hero-gap: 22px;
    flex-direction: column;
    grid-row: 1;
    margin-bottom: 28px;
    min-height: 0;
  }
  .gta-stream__hero-title {
    max-width: 100%;
  }
  .gta-stream__hero-title img {
    height: auto;
    max-width: 100%;
    width: 312px;
  }
  .gta-stream__panels {
    grid-template-columns: minmax(0, 1fr);
    grid-row: 2;
    gap: 20px;
    max-width: 500px;
  }
  .gta-stream__instructions {
    min-height: 306px;
  }
  .gta-stream__instructions > .gta-stream__button {
    padding-inline: 25px;
  }
  .gta-stream__guide {
    gap: 8px;
    margin: 0 -10px 15px;
  }
  .gta-stream__guide > img {
    width: min(27%, 89px);
  }
  .gta-stream__guide li,
  .gta-stream__guide li strong {
    font-size: 14px;
  }
  .gta-stream__game {
    min-height: 380px;
  }
  .gta-stream__game .gta-stream__complete {
    font-size: 1.5rem;
  }
  .gta-stream__game input {
    padding-inline: 8px;
    text-align: center;
  }
  .gta-stream__game [data-keywords] .gta-stream__actions {
    gap: 20px;
  }
  .gta-stream__progress {
    justify-content: space-between;
  }
  .gta-stream__sign-in-message {
    margin-bottom: 24px;
  }
  .gta-stream__sign-in-message + .gta-stream__button {
    min-width: 215px;
  }
  .gta-stream__stars {
    flex: 0 1 161px;
    gap: 0;
    grid-template-columns: repeat(5, 24px);
    grid-template-rows: repeat(2, 23px);
    height: 56px;
    place-content: space-between;
  }
  .gta-stream__game .gta-stream__actions {
    flex-direction: column;
    margin-inline: auto;
    margin-top: 40px;
    width: min(100%, 300px);
  }
  .gta-stream__game .gta-stream__actions .gta-stream__button {
    max-width: 215px;
    width: 100%;
  }
}
