@charset "UTF-8";

/* GPU guide — interactive performance comparison. Loaded after the article CSS. */

body.gbds-v2-gpu-guide-page .gbds-v2-gpu-guide-shell .gg-benchmark-section {
  --gg-bench-reference: 0%;
  width: 100%;
  margin: 0;
  padding: clamp(104px, 12vw, 184px) var(--gg-side);
  overflow: clip;
  background: var(--gg-dark);
  color: #f5f7f8;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-inner {
  width: min(1320px, 100%);
  margin-inline: auto;
}

/* Cocoon's article paragraphs otherwise push chart values off their baseline. */
.gbds-v2-gpu-guide-shell .gg-benchmark-section p { margin-bottom: 0; }

.gbds-v2-gpu-guide-shell .gg-benchmark-heading {
  width: min(1120px, 100%);
  margin-inline: auto;
  text-align: center;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-kicker {
  display: block;
  margin-bottom: 24px;
  color: var(--gg-orange);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .24em;
}

body.gbds-v2-gpu-guide-page .gbds-v2-gpu-guide-shell .gg-benchmark-heading h2 {
  color: #f7f8f8 !important;
  font-size: clamp(48px, 7.2vw, 104px);
  font-weight: 820;
  letter-spacing: -.064em;
  line-height: 1.04;
  text-align: center;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-heading > p {
  width: min(730px, 100%);
  margin: 32px auto 0;
  color: #b8c0c5;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 2;
  text-align: left;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-method {
  display: grid;
  width: min(1120px, 100%);
  margin: clamp(66px, 8vw, 104px) auto 0;
  padding-block: 34px;
  border-block: 1px solid #30383d;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 88px);
}

.gbds-v2-gpu-guide-shell .gg-benchmark-method p,
.gbds-v2-gpu-guide-shell .gg-benchmark-method li {
  color: #aeb7bc;
  font-size: 14px;
  line-height: 1.85;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-method p strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gg-orange);
  font-size: 16px;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-method ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-method li {
  position: relative;
  padding-left: 20px;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-method li::before {
  position: absolute;
  top: .78em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f5f7f8;
  content: "";
}

.gbds-v2-gpu-guide-shell .gg-benchmark-lab {
  width: min(1180px, 100%);
  margin: clamp(76px, 9vw, 124px) auto 0;
}

/* The fallback is the complete no-JavaScript state. */
.gbds-v2-gpu-guide-shell .gg-benchmark-interactive { display: none; }
.gbds-v2-gpu-guide-shell .gg-benchmark-section.is-benchmark-ready .gg-benchmark-interactive { display: block; }
.gbds-v2-gpu-guide-shell .gg-benchmark-section.is-benchmark-ready .gg-benchmark-fallback { display: none; }

.gbds-v2-gpu-guide-shell .gg-benchmark-fallback {
  width: min(760px, 100%);
  margin-inline: auto;
  padding-block: 34px;
  border-block: 1px solid #30383d;
  color: #b8c0c5;
  font-size: 16px;
  line-height: 2;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-fallback a {
  color: var(--gg-orange);
  font-weight: 780;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-selects {
  display: grid;
  border-block: 1px solid #30383d;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gbds-v2-gpu-guide-shell .gg-benchmark-selects label {
  display: grid;
  min-width: 0;
  padding: 28px clamp(20px, 3vw, 38px);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 16px;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-selects label + label { border-left: 1px solid #30383d; }

.gbds-v2-gpu-guide-shell .gg-benchmark-selects label > span {
  color: #f4f6f7;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .03em;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-selects label > small {
  color: #828c92;
  font-size: 11px;
  white-space: nowrap;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-selects select {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  margin-top: 12px;
  padding: 10px 38px 10px 0;
  border: 0;
  border-bottom: 1px solid #69747b;
  border-radius: 0;
  background-color: transparent;
  color: #f7f8f8;
  cursor: pointer;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 760;
  grid-column: 1 / -1;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-selects select:focus-visible {
  border-bottom-color: #fff;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-selects option {
  background: #11171b;
  color: #f7f8f8;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-conditions {
  display: grid;
  padding: 34px 0;
  border-bottom: 1px solid #30383d;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
}

.gbds-v2-gpu-guide-shell .gg-benchmark-conditions fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-conditions legend {
  width: 100%;
  margin-bottom: 14px;
  color: #9ca6ac;
  font-size: 12px;
  font-weight: 760;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-conditions fieldset > div {
  display: grid;
  border-block: 1px solid #30383d;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-conditions [data-bench-resolution] > div {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gbds-v2-gpu-guide-shell .gg-benchmark-conditions [data-bench-mode] > div {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gbds-v2-gpu-guide-shell .gg-benchmark-conditions button {
  min-width: 0;
  min-height: 48px;
  padding: 9px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #879198;
  cursor: pointer;
  font-size: 12px;
  font-weight: 780;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-conditions fieldset button + button { border-left: 1px solid #30383d; }

.gbds-v2-gpu-guide-shell .gg-benchmark-conditions button[aria-pressed="true"] {
  color: var(--gg-orange);
  box-shadow: inset 0 -2px 0 var(--gg-orange);
}

.gbds-v2-gpu-guide-shell .gg-benchmark-conditions [data-bench-mode] button[aria-pressed="true"] {
  color: var(--gg-violet);
  box-shadow: inset 0 -2px 0 var(--gg-violet);
}

.gbds-v2-gpu-guide-shell .gg-benchmark-reset {
  min-height: 48px !important;
  padding-inline: 0 !important;
  border-bottom: 1px solid #69747b !important;
  color: #d6dbde !important;
  white-space: nowrap;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-reset:hover { color: var(--gg-orange) !important; }

.gbds-v2-gpu-guide-shell .gg-benchmark-status {
  display: flex;
  justify-content: space-between;
  gap: 22px 44px;
  padding: 28px 0;
  border-bottom: 1px solid #30383d;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-status p {
  color: #8f999f;
  font-size: 12px;
  line-height: 1.7;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-status [data-bench-condition] {
  color: var(--gg-orange);
  font-size: 13px;
  font-weight: 780;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-status strong {
  margin-left: 10px;
  color: #f5f7f8;
  font-weight: 760;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-chart { border-bottom: 1px solid #30383d; }

.gbds-v2-gpu-guide-shell .gg-benchmark-chart article {
  display: grid;
  min-width: 0;
  padding: clamp(32px, 4vw, 48px) 0;
  grid-template-columns: minmax(220px, .68fr) minmax(260px, 1.32fr) 112px;
  align-items: end;
  gap: clamp(22px, 3vw, 42px);
}

.gbds-v2-gpu-guide-shell .gg-benchmark-chart article + article { border-top: 1px solid #30383d; }

.gbds-v2-gpu-guide-shell .gg-benchmark-row-head {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-row-head > span,
.gbds-v2-gpu-guide-shell .gg-benchmark-row-head > strong { min-width: 0; }

.gbds-v2-gpu-guide-shell .gg-benchmark-row-head > span > small {
  display: block;
  margin-bottom: 8px;
  color: #8f999f;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: .14em;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-row-head > span > b {
  display: block;
  overflow-wrap: normal;
  color: #f5f7f8;
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 780;
  line-height: 1.45;
  word-break: auto-phrase;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-row-head > strong {
  color: #f5f7f8;
  line-height: 1;
  white-space: nowrap;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-row-head > strong > b {
  font-size: clamp(25px, 2.5vw, 36px);
  font-weight: 760;
  letter-spacing: -.045em;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-row-head > strong > small {
  margin-left: 5px;
  color: #8f999f;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .1em;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-track {
  position: relative;
  min-width: 0;
  height: 13px;
  overflow: visible;
  background: #22292e;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-track [data-bench-bar] {
  display: block;
  width: var(--gg-bench-width, 0%);
  max-width: 100%;
  height: 100%;
  background: #f0f2f3;
  transform-origin: left center;
  transition: width .55s var(--gg-ease);
}

.gbds-v2-gpu-guide-shell [data-bench-row="compare-a"] .gg-benchmark-track [data-bench-bar] { background: #abb4b9; }
.gbds-v2-gpu-guide-shell [data-bench-row="compare-b"] .gg-benchmark-track [data-bench-bar] { background: #747f86; }

.gbds-v2-gpu-guide-shell .gg-benchmark-track [data-bench-reference] {
  position: absolute;
  z-index: 2;
  top: -8px;
  bottom: -8px;
  left: var(--gg-bench-reference, 0%);
  width: 1px;
  background: rgb(255 255 255 / .72);
  pointer-events: none;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-chart article > p {
  min-width: 72px;
  color: #f5f7f8;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-chart article > p b {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 760;
  letter-spacing: -.05em;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-chart article > p small {
  margin-left: 5px;
  color: #8f999f;
  font-size: 10px;
  font-weight: 780;
}

.gbds-v2-gpu-guide-shell [data-bench-row="compare-a"] > p b { color: var(--gg-orange); }
.gbds-v2-gpu-guide-shell [data-bench-row="compare-b"] > p b { color: var(--gg-violet); }

.gbds-v2-gpu-guide-shell .gg-benchmark-warning {
  margin-top: 28px;
  padding-left: 18px;
  border-left: 2px solid var(--gg-orange);
  color: var(--gg-orange);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.8;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-sr-status {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-reading {
  width: min(760px, 100%);
  margin: clamp(68px, 8vw, 108px) auto 0;
  color: #b8c0c5;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 2;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-reading strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gg-orange);
  font-size: clamp(20px, 2vw, 27px);
}

.gbds-v2-gpu-guide-shell .gg-benchmark-details {
  width: min(960px, 100%);
  margin: clamp(62px, 7vw, 92px) auto 0;
  border-block: 1px solid #30383d;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-details summary {
  position: relative;
  padding: 25px 52px 25px 0;
  color: #f5f7f8;
  cursor: pointer;
  font-size: 15px;
  font-weight: 780;
  line-height: 1.6;
  list-style: none;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-details summary::-webkit-details-marker { display: none; }

.gbds-v2-gpu-guide-shell .gg-benchmark-details summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  color: var(--gg-orange);
  content: "+";
  font-size: 24px;
  font-weight: 400;
  transform: translateY(-50%);
}

.gbds-v2-gpu-guide-shell .gg-benchmark-details[open] summary::after { content: "−"; }

.gbds-v2-gpu-guide-shell .gg-benchmark-details > div {
  width: min(760px, 100%);
  padding: 4px 0 36px;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-details > div > * + * { margin-top: 20px; }

.gbds-v2-gpu-guide-shell .gg-benchmark-details p {
  color: #aeb7bc;
  font-size: 14px;
  line-height: 1.95;
}

.gbds-v2-gpu-guide-shell .gg-benchmark-details p strong { color: #f5f7f8; }

.gbds-v2-gpu-guide-shell .gg-benchmark-details a {
  display: inline-block;
  color: var(--gg-orange);
  font-size: 14px;
  font-weight: 780;
}

@media (max-width: 900px) {
  .gbds-v2-gpu-guide-shell .gg-benchmark-method { grid-template-columns: 1fr; }

  .gbds-v2-gpu-guide-shell .gg-benchmark-selects { grid-template-columns: 1fr; }
  .gbds-v2-gpu-guide-shell .gg-benchmark-selects label + label {
    border-top: 1px solid #30383d;
    border-left: 0;
  }

  .gbds-v2-gpu-guide-shell .gg-benchmark-conditions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .gbds-v2-gpu-guide-shell .gg-benchmark-reset {
    justify-self: start;
    grid-column: 1 / -1;
  }

  .gbds-v2-gpu-guide-shell .gg-benchmark-chart article {
    grid-template-columns: minmax(0, 1fr) 78px;
    align-items: center;
  }

  .gbds-v2-gpu-guide-shell .gg-benchmark-row-head { grid-column: 1 / -1; }
  .gbds-v2-gpu-guide-shell .gg-benchmark-track { grid-column: 1; }
  .gbds-v2-gpu-guide-shell .gg-benchmark-chart article > p { grid-column: 2; }
}

@media (max-width: 620px) {
  body.gbds-v2-gpu-guide-page .gbds-v2-gpu-guide-shell .gg-benchmark-section {
    padding: 88px 20px;
  }

  body.gbds-v2-gpu-guide-page .gbds-v2-gpu-guide-shell .gg-benchmark-heading h2 {
    font-size: clamp(31px, 9vw, 42px);
    line-height: 1.09;
  }

  .gbds-v2-gpu-guide-shell .gg-benchmark-heading > p { margin-top: 24px; }
  .gbds-v2-gpu-guide-shell .gg-benchmark-method { margin-top: 58px; gap: 24px; }
  .gbds-v2-gpu-guide-shell .gg-benchmark-lab { margin-top: 62px; }

  .gbds-v2-gpu-guide-shell .gg-benchmark-selects label {
    padding: 24px 0;
  }

  .gbds-v2-gpu-guide-shell .gg-benchmark-conditions {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .gbds-v2-gpu-guide-shell .gg-benchmark-reset { grid-column: auto; }

  .gbds-v2-gpu-guide-shell .gg-benchmark-status {
    flex-direction: column;
  }

  .gbds-v2-gpu-guide-shell .gg-benchmark-status strong {
    display: block;
    margin: 6px 0 0;
  }

  .gbds-v2-gpu-guide-shell .gg-benchmark-chart article {
    gap: 22px 16px;
    padding-block: 30px;
  }

  .gbds-v2-gpu-guide-shell .gg-benchmark-row-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .gbds-v2-gpu-guide-shell .gg-benchmark-row-head > span > b {
    font-size: 14px;
  }

  .gbds-v2-gpu-guide-shell .gg-benchmark-row-head > strong > b {
    font-size: 27px;
  }

  .gbds-v2-gpu-guide-shell .gg-benchmark-chart article > p b { font-size: 27px; }
  .gbds-v2-gpu-guide-shell .gg-benchmark-reading { margin-top: 62px; }
  .gbds-v2-gpu-guide-shell .gg-benchmark-details { margin-top: 56px; }
}

@media (max-width: 380px) {
  .gbds-v2-gpu-guide-shell .gg-benchmark-row-head { gap: 10px; }
  .gbds-v2-gpu-guide-shell .gg-benchmark-row-head > strong > b,
  .gbds-v2-gpu-guide-shell .gg-benchmark-chart article > p b { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .gbds-v2-gpu-guide-shell .gg-benchmark-track [data-bench-bar] { transition: none !important; }
}
