.gq-lock {
  overflow: hidden !important;
}

.gq-launcher,
.gq-root {
  --gq-red: #c90000;
  --gq-red-dark: #a90000;
  --gq-ink: #211c19;
  --gq-muted: #766e69;
  --gq-cream: #fff8ee;
  --gq-gold: #ffd15a;
  font-family: Montserrat, Arial, sans-serif;
}

.gq-launcher {
  position: fixed;
  z-index: 2147481900;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  max-width: 245px;
  padding: 8px 16px 8px 8px;
  border: 0;
  border-radius: 18px;
  background: #1f1916;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 15px 40px rgba(25, 14, 8, .26);
  transform: translateZ(0);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.gq-launcher:hover,
.gq-launcher:focus-visible {
  background: #2a211d;
  box-shadow: 0 18px 46px rgba(25, 14, 8, .34);
  transform: translateY(-2px);
  outline: none;
}

.gq-launcher__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 13px;
  background: linear-gradient(145deg, #ef241b, #a90000);
  font-size: 23px;
  box-shadow: inset 0 1px rgba(255,255,255,.2), 0 6px 18px rgba(201,0,0,.3);
  animation: gq-fire-pulse 2.6s ease-in-out infinite;
}

.gq-launcher__copy {
  display: grid;
  gap: 2px;
  text-align: left;
}

.gq-launcher__eyebrow {
  color: #f5b9b6;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1.1;
  text-transform: uppercase;
}

.gq-launcher__title {
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
}

.gq-root {
  position: fixed;
  z-index: 2147483100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(10px, 3vw, 32px);
  visibility: hidden;
  pointer-events: none;
}

.gq-root.is-open {
  visibility: visible;
  pointer-events: auto;
}

.gq-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 14, 11, .7);
  opacity: 0;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  transition: opacity .25s ease;
}

.gq-root.is-open .gq-backdrop {
  opacity: 1;
}

.gq-dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(270px, 34%) minmax(0, 1fr);
  width: min(100%, 960px);
  height: min(680px, calc(100dvh - clamp(20px, 6vw, 64px)));
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 26px;
  background: #fff;
  color: var(--gq-ink);
  box-shadow: 0 34px 100px rgba(0,0,0,.36);
  opacity: 0;
  transform: translateY(18px) scale(.98);
  transition: opacity .3s ease, transform .38s cubic-bezier(.2,.8,.2,1);
}

.gq-root.is-open .gq-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gq-close {
  position: absolute;
  z-index: 5;
  top: 15px;
  right: 15px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #eee7e1;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #4b413c;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(45,31,24,.09);
  transition: transform .2s ease, background .2s ease;
}

.gq-close:hover,
.gq-close:focus-visible {
  background: #fff;
  transform: rotate(6deg);
  outline: 2px solid rgba(201,0,0,.18);
}

.gq-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 33px 28px;
  background:
    radial-gradient(circle at 15% 8%, rgba(255,193,77,.24), transparent 27%),
    linear-gradient(155deg, #2a211c 0%, #17120f 66%, #0e0b09 100%);
  color: #fff;
  isolation: isolate;
}

.gq-aside::before,
.gq-aside::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: rgba(201,0,0,.18);
}

.gq-aside::before {
  width: 220px;
  height: 220px;
  right: -110px;
  top: 85px;
}

.gq-aside::after {
  width: 310px;
  height: 310px;
  left: -165px;
  bottom: -135px;
}

.gq-brand {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.gq-brand::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #42da75;
  box-shadow: 0 0 0 4px rgba(66,218,117,.14);
}

.gq-aside__title {
  position: relative;
  z-index: 2;
  max-width: 245px;
  margin: 28px 0 0;
  color: #fff;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.gq-aside__text {
  position: relative;
  z-index: 2;
  max-width: 225px;
  margin: 13px 0 0;
  color: rgba(255,255,255,.67);
  font-size: 12px;
  line-height: 1.5;
}

.gq-mascot {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: -50px;
  width: min(108%, 335px);
  max-width: none;
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 26px rgba(0,0,0,.24));
  pointer-events: none;
  user-select: none;
}

.gq-main {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 9%, rgba(255,215,121,.18), transparent 27%),
    #fff;
}

.gq-screen {
  display: none;
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: 50px clamp(28px, 5vw, 58px) 38px;
  scrollbar-width: thin;
}

.gq-screen.is-active {
  display: block;
  animation: gq-screen-in .32s ease both;
}

.gq-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--gq-red);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.gq-kicker::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--gq-red);
}

.gq-heading {
  max-width: 560px;
  margin: 0;
  color: var(--gq-ink);
  font-size: clamp(31px, 4.2vw, 48px);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.gq-heading em {
  color: var(--gq-red);
  font-style: normal;
}

.gq-lead {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--gq-muted);
  font-size: 15px;
  line-height: 1.62;
}

.gq-start-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.gq-start-points li {
  margin: 0;
  padding: 8px 11px;
  border: 1px solid #eee7df;
  border-radius: 10px;
  background: #fffaf4;
  color: #655b55;
  font-size: 11px;
  font-weight: 650;
}

.gq-primary,
.gq-secondary,
.gq-category-link,
.gq-answer,
.gq-back {
  font: inherit;
}

.gq-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 29px;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #dc120c, #b00000);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 13px 30px rgba(201,0,0,.23);
  transition: transform .2s ease, box-shadow .2s ease;
}

.gq-primary::after {
  content: "→";
  margin-left: 11px;
  font-size: 19px;
  font-weight: 400;
}

.gq-primary:hover,
.gq-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 17px 35px rgba(201,0,0,.3);
  outline: none;
}

.gq-fine {
  margin: 14px 0 0;
  color: #aaa09a;
  font-size: 10px;
  line-height: 1.45;
}

.gq-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 35px;
  padding-right: 50px;
}

.gq-progress__text {
  color: #928780;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.gq-progress__track {
  height: 7px;
  flex: 1;
  overflow: hidden;
  border-radius: 999px;
  background: #f0ebe7;
}

.gq-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c90000, #ff5b27);
  transition: width .35s ease;
}

.gq-question {
  margin: 0;
  color: var(--gq-ink);
  font-size: clamp(25px, 3.5vw, 38px);
  font-weight: 830;
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.gq-question-note {
  margin: 11px 0 0;
  color: #988d86;
  font-size: 12px;
  line-height: 1.45;
}

.gq-answers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 27px;
}

.gq-answer {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 75px;
  padding: 12px 15px;
  border: 1px solid #e9e2dc;
  border-radius: 14px;
  background: #fff;
  color: #332c28;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 5px 17px rgba(43,30,24,.04);
  transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.gq-answer:hover,
.gq-answer:focus-visible {
  border-color: rgba(201,0,0,.36);
  background: #fff9f7;
  box-shadow: 0 10px 22px rgba(83,35,25,.08);
  transform: translateY(-2px);
  outline: none;
}

.gq-answer__icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  background: #fff2e5;
  font-size: 21px;
}

.gq-answer__copy {
  display: grid;
  gap: 3px;
}

.gq-answer__title {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.28;
}

.gq-answer__text {
  color: #91867f;
  font-size: 9px;
  line-height: 1.35;
}

.gq-question-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}

.gq-back,
.gq-secondary {
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #8a7e77;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: #d8cec8;
  text-underline-offset: 4px;
}

.gq-back[hidden] {
  display: none;
}

.gq-result-card {
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  padding: 24px 25px;
  border-radius: 20px;
  background: linear-gradient(140deg, #2c211b, #15100e);
  color: #fff;
  box-shadow: 0 18px 42px rgba(38,21,13,.15);
}

.gq-result-card::after {
  content: attr(data-icon);
  position: absolute;
  right: -3px;
  bottom: -32px;
  font-size: 125px;
  opacity: .11;
  transform: rotate(-9deg);
}

.gq-result-label {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--gq-gold);
  color: #33230c;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .09em;
  line-height: 1;
  text-transform: uppercase;
}

.gq-result-title {
  position: relative;
  z-index: 1;
  margin: 15px 0 0;
  color: #fff;
  font-size: clamp(29px, 4vw, 43px);
  font-weight: 850;
  line-height: 1.03;
  letter-spacing: -.04em;
}

.gq-result-text {
  position: relative;
  z-index: 1;
  max-width: 510px;
  margin: 13px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.55;
}

.gq-result-reasons {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.gq-result-reasons li {
  margin: 0;
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.84);
  font-size: 9px;
  font-weight: 650;
}

.gq-result-subtitle {
  margin: 23px 0 10px;
  color: #4b413b;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.gq-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.gq-category-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #ded5cf;
  border-radius: 11px;
  background: #fff;
  color: #342d29 !important;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none !important;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.gq-category-link:first-child {
  border-color: var(--gq-red);
  background: var(--gq-red);
  color: #fff !important;
}

.gq-category-link:hover,
.gq-category-link:focus-visible {
  border-color: var(--gq-red);
  color: var(--gq-red) !important;
  transform: translateY(-1px);
  outline: none;
}

.gq-category-link:first-child:hover,
.gq-category-link:first-child:focus-visible {
  background: var(--gq-red-dark);
  color: #fff !important;
}

.gq-runner-up {
  margin: 17px 0 0;
  color: #9b8f88;
  font-size: 10px;
  line-height: 1.45;
}

.gq-runner-up strong {
  color: #5d514b;
}

.gq-result-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
}

@keyframes gq-fire-pulse {
  0%, 100% { transform: scale(1) rotate(0); }
  50% { transform: scale(1.06) rotate(-3deg); }
}

@keyframes gq-screen-in {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 760px) {
  .gq-launcher {
    left: 10px;
    bottom: 10px;
    min-height: 52px;
    max-width: 212px;
    padding: 7px 13px 7px 7px;
    border-radius: 16px;
  }

  .gq-launcher__icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: 20px;
  }

  .gq-dialog {
    display: block;
    height: min(760px, calc(100dvh - 20px));
    min-height: 0;
    border-radius: 20px;
  }

  .gq-aside {
    height: 142px;
    padding: 19px 20px;
  }

  .gq-brand {
    font-size: 7px;
  }

  .gq-aside__title {
    max-width: 53%;
    margin-top: 15px;
    font-size: 21px;
  }

  .gq-aside__text {
    display: none;
  }

  .gq-mascot {
    left: auto;
    right: -4px;
    top: -8px;
    bottom: auto;
    width: 195px;
    transform: none;
  }

  .gq-main {
    height: calc(100% - 142px);
  }

  .gq-screen {
    padding: 31px 20px 26px;
  }

  .gq-heading {
    font-size: clamp(29px, 9vw, 40px);
  }

  .gq-progress {
    margin-bottom: 26px;
    padding-right: 42px;
  }

  .gq-answers {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 22px;
  }

  .gq-answer {
    min-height: 65px;
  }

  .gq-result-card {
    padding: 21px 19px;
  }

  .gq-result-title {
    font-size: 31px;
  }

  .gq-result-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .gq-launcher__eyebrow {
    display: none;
  }

  .gq-launcher__title {
    font-size: 10px;
  }

  .gq-aside {
    height: 125px;
  }

  .gq-main {
    height: calc(100% - 125px);
  }

  .gq-mascot {
    top: -6px;
    width: 174px;
  }

  .gq-aside__title {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gq-launcher__icon,
  .gq-screen.is-active {
    animation: none;
  }

  .gq-launcher,
  .gq-dialog,
  .gq-backdrop,
  .gq-primary,
  .gq-answer,
  .gq-category-link {
    transition: none;
  }
}
