/* PC parts advisor */
.start-screen {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 0;
  overflow: visible;
  background: transparent;
  color: var(--ink);
}

.start-screen::before,
.start-screen::after,
.advisor-form::before,
.build-overview::after { content: none; }

.start-screen__heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: clamp(312px, 31vw, 402px);
  margin: 0;
  padding: clamp(28px, 4.2vw, 58px);
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(9, 20, 23, .68), rgba(9, 20, 23, .48) 41%, transparent 70%),
              #142025 url('./advisor-gpu.webp') center / cover no-repeat;
}

.start-screen__topline {
  margin: 0 0 18px;
  gap: 11px;
  color: #8cf0da;
  font: 700 .72rem/1.35 ui-monospace, Consolas, monospace;
  letter-spacing: .1em;
}
.start-screen__topline-rule { width: 27px; height: 1px; background: #77b9ae; }
.start-screen__status { color: #d6e5e3; font-size: .75rem; font-weight: 550; line-height: 1.5; letter-spacing: 0; text-transform: none; }
.start-screen__heading h1 {
  max-width: 63%;
  color: #fff;
  font-family: inherit;
  font-size: clamp(2.4rem, 4.25vw, 3.95rem);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.19;
  text-wrap: balance;
  word-break: auto-phrase;
}
.start-screen__heading h1 .headline-segment { display: inline-block; margin: 0; }
html:lang(en) .start-screen__heading h1 .headline-segment + .headline-segment { margin-left: .16em; }
.start-screen__heading > p {
  max-width: 55%;
  margin: 18px 0 0;
  color: #dfe9e8;
  font-size: clamp(.88rem, 1.35vw, 1.03rem);
  line-height: 1.8;
}
.start-screen__criteria {
  width: fit-content;
  margin-top: 24px;
  border: 0;
}
.start-screen__criteria span { padding: 0; gap: 3px; }
.start-screen__criteria span + span {
  margin-left: 20px;
  padding-left: 20px;
  border-color: #52716e;
}
.start-screen__criteria strong { color: #80e2cd; font: 650 .65rem/1.25 ui-monospace, Consolas, monospace; letter-spacing: .08em; }
.start-screen__criteria small { color: #dbe6e5; font-size: .76rem; }

.start-screen > .affiliate-banner-placement { margin: 12px auto; }
.start-screen .affiliate-banner-placement__label { color: #55696e; }
.advisor-form {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 28px 36px;
  width: 100%;
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 25px rgba(20, 44, 48, .045);
}
.advisor-form .form-group + .form-group {
  align-self: stretch;
  margin: 0;
  padding: 0;
  border: 0;
}
.advisor-form legend,
.advisor-form .select-field > span {
  margin-bottom: 12px;
  color: #102429;
  font-family: inherit;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}
.advisor-form legend small {
  padding: 2px 7px;
  border-radius: 5px;
  background: #eff4f4;
  color: #496165;
  font-size: .71rem;
  font-weight: 550;
}
.advisor-form .form-row {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 24px 36px;
  margin: 0;
  padding-top: 25px;
}
.advisor-form .game-field { grid-column: 1 / -1; }
.advisor-form .choice-grid { gap: 8px; }
.advisor-form .choice-grid--purpose { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.advisor-form .choice-grid--games { grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); }
.advisor-form .choice-card__body {
  min-height: 45px;
  height: 100%;
  gap: 8px;
  justify-content: flex-start;
  padding: 9px 11px;
  border: 1px solid #bdccce;
  border-radius: 8px;
  background: #fff;
  color: #213a3f;
  cursor: pointer;
  text-align: left;
}
.advisor-form .choice-card__body::before {
  content: "";
  display: block;
  flex: 0 0 14px;
  height: 14px;
  border: 1px solid #869c9f;
  border-radius: 4px;
  background-color: #fff;
}
.advisor-form .choice-card strong { font: inherit; font-size: .85rem; font-weight: 600; line-height: 1.42; }
.advisor-form .choice-card--compact strong { font-size: .82rem; }
.advisor-form .choice-card__body:hover { transform: none; border-color: #278b80; background: #f4faf9; }
.advisor-form .choice-card input:checked + .choice-card__body {
  border-color: #007569;
  background: #e5f6f1;
  color: #065c53;
  box-shadow: inset 0 0 0 1px #007569;
}
.advisor-form .choice-card input:checked + .choice-card__body::before {
  border-color: #006c63;
  background: #006c63 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.advisor-form .choice-card input:focus-visible + .choice-card__body,
.advisor-form .segmented-control input:focus-visible + span,
.advisor-form :is(select, input[type="range"], button):focus-visible {
  outline: 3px solid #007f78;
  outline-offset: 3px;
}
.advisor-form .budget-control {
  padding: 14px 20px 12px;
  border: 1px solid #d4e5e2;
  border-radius: 8px;
  background: #f0f8f6;
}
.advisor-form .budget-control__value { justify-content: flex-start; margin: 0 0 5px; }
.advisor-form .budget-control__value output {
  color: #075f57;
  font-family: inherit;
  font-size: clamp(1.65rem, 2.2vw, 2rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.advisor-form .budget-control__scale { color: #52686b; font-size: .72rem; }
.advisor-form input[type="range"] { cursor: pointer; }
.advisor-form input[type="range"]::-webkit-slider-thumb { background: #006c63; }
.advisor-form input[type="range"]::-moz-range-thumb { background: #006c63; }
.advisor-form .segmented-control,
.advisor-form select { border: 1px solid #bdccce; border-radius: 8px; background-color: #f8fafb; }
.advisor-form .segmented-control span { min-height: 46px; color: #455d61; font-family: inherit; font-size: .85rem; font-weight: 600; line-height: 1.3; cursor: pointer; }
.advisor-form .segmented-control input:checked + span { background: #006c63; color: white; }
.advisor-form .segmented-control input:focus-visible + span { outline-color: currentColor; outline-offset: -4px; }
.advisor-form .form-hint,
.advisor-form .form-error { font-size: .8rem; }
.advisor-form__footer { grid-column: 1 / -1; margin: 0; padding: 20px 0 0; }
.advisor-form__footer .button { min-width: 190px; }

.results,
.home-seo-links { width: min(1180px, calc(100% - 48px)); }
.results { padding: 58px 0 0; scroll-margin-top: 74px; }
.home-seo-links { padding: clamp(48px, 6vw, 78px) 0; }
.results__header h2,
.home-seo-links .section-heading h2,
.alternatives .section-heading h2 {
  font-family: inherit;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -.03em;
}
.results__header > div > p:last-child,
.home-seo-links .section-heading > p { color: #53676c; font-size: .88rem; }
.results .build-overview,
.results .next-step-card {
  border: 1px solid #24494b;
  border-radius: 12px;
  background: #102d31;
  box-shadow: none;
}
.results .build-overview__copy h3,
.results .component-card__header h3,
.results .next-step-card h3,
.results .alternative-card h3 { font-family: inherit; font-weight: 700; line-height: 1.3; }
.results .build-overview__copy p { color: #d2e3e2; font-size: .87rem; }
.results .build-overview__copy :is(.build-overview__label, .build-overview__selection) { color: #8cebd7; font-size: .79rem; }
.results .build-stats { border-radius: 9px; border-color: #466566; }
.results .build-stats div + div { border-color: #466566; }
.results .build-stats dt { color: #cee1df; font-family: inherit; font-size: .73rem; }
.results .build-stats dd { font-family: inherit; font-weight: 700; }
.results .match-badge { background: #8bead3; color: #10362e; }
.results .data-mode-badge { border-color: #577271; color: #ecf5f1; }
.results .match-badge,
.results .data-mode-badge,
.results .part-label,
.results .timing-badge { border-radius: 5px; font-family: inherit; font-size: .72rem; }
.results .component-card,
.results .alternative-card { border-radius: 12px; background: #fff; box-shadow: none; }
.results .component-card#gpuCard::before { background: #4f6484; }
.results .part-label--gpu { color: #40536e; background: #eaf0f9; }
.results .component-card__header p { font-size: .8rem; }
.results :is(.price-summary, .performance-summary > div, .benchmark-source, .shop-row, .shop-empty) { border-radius: 8px; }
.results .price-summary > div { background: #edf7f4; }
.results .performance-summary > div { background: #f8fafb; }
.results :is(.price-summary, .performance-summary) strong { font-family: inherit; font-weight: 700; }
.results :is(.price-summary, .performance-summary, .benchmark-source) :is(span, small),
.results .recommendation-method,
.results .affiliate-notice,
.results .chart-label { font-size: .75rem; }
.results .shop-row:first-child { border-color: #b3d6cd; background: #f2faf6; }
.storage-summary { border-radius: 12px; }
.storage-summary__header h3 { font-size: 1.1rem; font-weight: 700; }
.storage-summary__header p, .storage-summary__item small, .storage-summary__item em { font-size: .76rem; }
.results .next-step-card .button { background: #8bead3; color: #10362e; }
.results .next-step-card .button:hover { background: #adf4e2; }
.home-seo-link {
  position: relative;
  min-height: 104px;
  padding: 19px 38px 19px 20px;
  align-content: center;
  gap: 6px;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}
.home-seo-link::after {
  content: "";
  position: absolute;
  top: calc(50% - 4px);
  right: 17px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #08766b;
  border-right: 2px solid #08766b;
  transform: rotate(45deg);
}
.home-seo-link strong { font-family: inherit; font-size: 1rem; font-weight: 700; }
.home-seo-link span { color: #53676c; font-size: .81rem; }
.home-seo-link:hover { background: #f4faf8; border-color: #72a99f; }

@media (max-width: 940px) {
  .advisor-form { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; }
  .advisor-form .choice-grid--purpose { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .start-screen, .results, .home-seo-links { width: calc(100% - 32px); }
  .start-screen { padding-top: 16px; }
  .start-screen__heading {
    min-height: 280px;
    padding: 25px 20px;
    background-image: linear-gradient(90deg, rgba(9, 20, 23, .94), rgba(9, 20, 23, .75) 52%, rgba(9, 20, 23, .27)), url('./advisor-gpu.webp');
    background-position: center, 63% center;
  }
  .start-screen__topline { align-items: center; gap: 7px; margin-bottom: 12px; }
  .start-screen__topline-rule { width: 14px; margin: 0; }
  .start-screen__status { flex-basis: auto; white-space: normal; font-size: .68rem; }
  .start-screen__heading h1 { max-width: 100%; font-size: clamp(1.8rem, 8.5vw, 2.55rem); }
  .start-screen__heading > p { max-width: 100%; margin-top: 12px; font-size: .84rem; }
  .start-screen__criteria { width: fit-content; margin-top: 20px; }
  .start-screen__criteria span + span { margin-left: 12px; padding-left: 12px; }
  .start-screen__criteria strong { font-size: .6rem; }
  .start-screen__criteria small { font-size: .69rem; }
  .advisor-form { grid-template-columns: minmax(0, 1fr); padding: 20px 16px; gap: 23px; }
  .advisor-form .form-row { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 22px; }
  .advisor-form .choice-grid--games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .advisor-form .choice-card__body { gap: 6px; padding: 8px; }
  .advisor-form .choice-card--compact strong { font-size: .76rem; overflow-wrap: anywhere; }
  .advisor-form .choice-card__body::before { flex-basis: 13px; height: 13px; }
  .results { padding-top: 42px; }
  .storage-summary__grid { grid-template-columns: minmax(0, 1fr); }
  .storage-summary__header { flex-direction: column; gap: 12px; }
  .storage-summary__total { text-align: start; }
  .home-seo-link { min-height: 84px; }
}
