/* SteamRankUp / profile studio. Layered surfaces, authentic Steam badges. */
:root {
  --bg: #0b1017;
  --panel: #121b27;
  --stroke: #2a3748;
  --text: #edf3fb;
  --muted: #a4b2c5;
  --subtle: #8293aa;
  --blue: #78b5ff;
  --blue-bright: #348cf0;
  --radius: 14px;
}
body {
  background:
    radial-gradient(ellipse 60% 420px at 75% 120px, #142b453d, transparent),
    var(--bg);
  font-family: Inter, "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
}
html {
  scroll-padding-top: 105px;
}
.container {
  width: min(1180px, calc(100% - 72px));
}
.header {
  height: 76px;
  position: sticky;
  top: 0;
  background: #0c121bef;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #293647;
  z-index: 10;
}
.nav-shell {
  max-width: 1252px;
  padding-inline: 36px;
  gap: 32px;
}
.brand {
  font-size: 22px;
  letter-spacing: -0.8px;
}
.brand img {
  width: 42px;
  height: 42px;
}
.brand-dot {
  font-size: 27px;
}
.header nav a {
  font-size: 13px;
}
.header nav {
  gap: 30px;
}
.nav-active:after {
  height: 2px;
  box-shadow: 0 -4px 16px #6facff44;
}
.steam-button {
  background: linear-gradient(#24354a, #1a293b);
  border-color: #3c536d;
  box-shadow: inset 0 1px #ffffff0b;
  padding: 11px 16px;
  font-size: 12px;
}
.nav-actions {
  gap: 20px;
}
.locale {
  font-size: 11px;
}
.preview-notice {
  padding: 8px 24px;
  background: #111922;
  font-size: 11px;
  color: #a0adc0;
  min-height: 34px;
}
.preview-notice strong {
  color: #ceb98c;
  letter-spacing: 1.1px;
  font-size: 9px;
}
.notice-dot {
  background: #ceb98c;
  box-shadow: 0 0 9px #d7b46c33;
}
.hero {
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  min-height: 405px;
  padding-block: 44px 38px;
}
.hero h1 {
  font-size: clamp(38px, 4.3vw, 54px);
  line-height: 1.07;
  letter-spacing: -2px;
  font-weight: 700;
}
.hero h1 > span {
  background: linear-gradient(100deg, #a4ceff, #6ca8f4);
  color: #85b9fa;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: #8ca3bd;
  margin-bottom: 18px;
}
.hero-description {
  font-size: 14px;
  line-height: 1.85;
  margin-top: 20px;
  color: #a7b5c8;
  max-width: 440px;
}
.hero-description br {
  display: none;
}
.hero-action {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 600;
  color: #c4ddff;
  border-bottom: 1px solid #5276a2;
  padding-bottom: 5px;
}
.hero-action svg {
  width: 16px;
  transition: transform 0.2s;
}
.hero-action:hover svg {
  transform: translateX(4px);
}
.hero-points {
  margin-top: 20px;
  gap: 18px;
  flex-wrap: wrap;
}
.hero-points > span {
  font-size: 11px;
  color: #8f9fb4;
}
.hero-points svg {
  color: #7895b6;
  width: 14px;
  height: 14px;
}
.profile-studio {
  --frame: #7fb5fa;
  --frame-rgb: 127, 181, 250;
  --scene: #224b75;
  min-width: 0;
}
.profile-studio[data-style="graphite"] {
  --frame: #b8c6d6;
  --frame-rgb: 184, 198, 214;
  --scene: #394856;
}
.profile-studio[data-style="ember"] {
  --frame: #e3b584;
  --frame-rgb: 227, 181, 132;
  --scene: #654935;
}
.profile-preview {
  display: block;
  width: 100%;
  margin: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #40566e;
  background: linear-gradient(125deg, #162332, #101924);
  box-shadow:
    0 18px 50px #0003,
    inset 0 1px #ffffff0e;
  transition: border-color 0.3s;
}
.profile-preview:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  border: 1px solid #ffffff05;
  border-radius: 11px;
  background: linear-gradient(
      90deg,
      transparent,
      rgba(var(--frame-rgb), 0.55),
      transparent
    )
    top/100% 1px no-repeat;
}
.profile-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  background: radial-gradient(
    ellipse at 88% 30%,
    var(--scene),
    transparent 66%
  );
  opacity: 0.7;
  transition: background 0.3s;
}
.scene-orbit {
  position: absolute;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(var(--frame-rgb), 0.14);
  border-radius: 50%;
  right: -55px;
  top: -100px;
  box-shadow:
    0 0 0 35px #ffffff02,
    0 0 0 36px #ffffff04,
    0 0 0 72px #ffffff02,
    0 0 0 73px #ffffff03;
}
.scene-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(#8eb3dd0a 1px, transparent 1px),
    linear-gradient(90deg, #8eb3dd0a 1px, transparent 1px);
  background-size: 35px 35px;
  mask-image: linear-gradient(to left, #000, transparent 80%);
}
.scene-coordinate {
  position: absolute;
  right: 18px;
  bottom: 70px;
  font-family: monospace;
  font-size: 8px;
  letter-spacing: 2px;
  color: #aec7e125;
  writing-mode: vertical-rl;
}
.profile-preview-title {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #9dc0ed15;
  padding: 14px 20px;
  background: #0d182660;
  font-size: 9px;
  letter-spacing: 1.3px;
  color: #b0c3d9;
}
.profile-preview-title svg {
  width: 16px;
  height: 16px;
  color: var(--frame);
}
.profile-preview-label {
  font-size: 8px;
  color: #90a8c4;
  border: 1px solid #829bb53c;
  padding: 3px 5px;
  border-radius: 3px;
  margin-left: auto;
  letter-spacing: 0.7px;
}
.preview-profile-head {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 25px 22px 21px;
}
.avatar-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  min-width: 78px;
  padding: 5px;
  background: #0a111d;
  border: 1px solid rgba(var(--frame-rgb), 0.65);
  border-radius: 6px;
  box-shadow:
    0 0 0 3px #0b1423,
    inset 0 0 0 1px #ffffff14,
    0 0 24px rgba(var(--frame-rgb), 0.1);
  transition:
    box-shadow 0.25s,
    border-color 0.25s;
}
.avatar-frame:before,
.avatar-frame:after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--frame);
  border-style: solid;
  pointer-events: none;
}
.avatar-frame:before {
  left: -3px;
  top: -3px;
  border-width: 2px 0 0 2px;
  border-radius: 3px 0 0 0;
}
.avatar-frame:after {
  right: -3px;
  bottom: -3px;
  border-width: 0 2px 2px 0;
  border-radius: 0 0 3px 0;
}
.preview-profile-head .avatar-frame img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  border: 0;
  border-radius: 2px;
  background: #0b1420;
}
.preview-profile-head .preview-identity {
  min-width: 0;
  flex: 1;
}
.preview-profile-head .preview-identity strong {
  display: block;
  color: #e9f1fd;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.35px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 245px;
}
.preview-profile-head .preview-identity > span {
  font-size: 10px;
  color: #90a8c1;
  margin-top: 5px;
  display: block;
}
.preview-profile-head .preview-identity .gain-chip {
  display: inline-flex;
  align-items: center;
  color: var(--frame);
  font-size: 10px;
  font-weight: 600;
  background: rgba(var(--frame-rgb), 0.09);
  border: 1px solid rgba(var(--frame-rgb), 0.16);
  padding: 3px 7px;
  border-radius: 4px;
  margin-top: 9px;
  font-variant-numeric: tabular-nums;
}
.profile-target {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 7px;
  min-width: 64px;
}
.profile-target > span:first-child {
  color: #91a8c1;
  font-size: 8px;
  letter-spacing: 1.7px;
}
.profile-target .profile-level {
  --badge-size: 56px;
  display: inline-grid;
  font-size: 24px;
  font-weight: 400;
  margin: 0;
}
.profile-preview-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 23px 9px;
  font-size: 9px;
  letter-spacing: 1px;
  color: #8ca3bd;
}
.profile-preview-info strong {
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 500;
  color: #d7e6fa;
  font-variant-numeric: tabular-nums;
}
.profile-xp-track {
  position: relative;
  height: 5px;
  margin: 0 23px;
  background: rgba(var(--frame-rgb), 0.2);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: inset 0 1px #0003;
}
.profile-xp-track > span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--frame);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(var(--frame-rgb), 0.5);
  transition:
    width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.3s;
}
.preview-progress-labels {
  display: flex;
  justify-content: space-between;
  margin: 7px 23px 20px;
  color: #8ea7c5;
  font-size: 9px;
}
.preview-progress-labels span:last-child {
  color: var(--frame);
}
.preview-profile-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 13px 20px;
  border-top: 1px solid #a7c5ef13;
  background: #0b14273d;
  font-size: 9px;
  color: #849bb8;
}
.preview-profile-bottom > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #b3c7df;
}
.preview-profile-bottom svg {
  width: 13px;
  height: 13px;
  color: var(--frame);
}
.studio-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding-inline: 2px;
}
.studio-controls > span {
  font-size: 8px;
  color: #7d91ab;
  letter-spacing: 1.4px;
}
.studio-controls > div {
  display: flex;
  gap: 5px;
}
.frame-choice {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 6px 8px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 10px;
  color: #8599b3;
}
.frame-choice i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #7fb5fa;
}
.frame-choice[data-preview-style="graphite"] i {
  background: #b8c6d6;
}
.frame-choice[data-preview-style="ember"] i {
  background: #e3b584;
}
.frame-choice.active {
  color: #c4d6ec;
  border-color: #344357;
  background: #1b2839;
}
.frame-choice:hover {
  background: #1b2839;
}
.studio-note {
  text-align: right;
  color: #71849d;
  font-size: 9px;
  line-height: 1.6;
  margin-top: 7px;
}
.calculator-section {
  padding-top: 12px;
}
.section-intro {
  margin-bottom: 22px;
  gap: 20px;
}
.section-intro h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.8px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.6px;
}
.small-note {
  font-size: 10px;
  color: #8c9db3;
  gap: 8px;
}
.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7ca5d7;
  box-shadow: 0 0 8px #7ca5d733;
}
.builder-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
}
.builder-main {
  gap: 18px;
}
.panel {
  position: relative;
  border-color: #2a394c;
  background: linear-gradient(155deg, #16202d, #111923 80%);
  box-shadow:
    inset 0 1px #ffffff09,
    0 5px 20px #00000012;
  border-radius: 14px;
}
.panel:before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #91afcf1a, transparent);
  pointer-events: none;
}
.level-panel,
.payment-panel {
  padding: 24px;
}
.panel-heading {
  gap: 10px;
  margin-bottom: 22px;
}
.panel-heading h3 {
  font-size: 15px;
  letter-spacing: -0.15px;
  font-weight: 600;
}
.step-number {
  width: 27px;
  height: 27px;
  font-size: 10px;
  border-color: #3b4c62;
  background: linear-gradient(#24344a, #192636);
  box-shadow: inset 0 1px #ffffff09;
  color: #a6beda;
}
.heading-aside {
  font-size: 10px;
  color: #8193aa;
}
.level-inputs {
  grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr);
}
.level-field {
  padding: 15px 17px 13px;
  border: 1px solid #334256;
  background: #0c141f;
  box-shadow: inset 0 1px 6px #0003;
  border-radius: 9px;
}
.level-field label {
  font-size: 9px;
  letter-spacing: 1.1px;
  color: #a1b2c9;
  font-weight: 500;
}
.target-field {
  background: linear-gradient(110deg, #1a2d45, #132031);
  border-color: #496b95;
  box-shadow:
    inset 0 1px #8cb8f015,
    0 0 20px #3d79d105;
}
.target-field label {
  color: #9dcaff;
}
.number-row {
  gap: 12px;
  margin-top: 10px;
}
.level-field input {
  font-size: 35px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.8px;
}
.input-level-frame {
  --badge-size: 28px;
}
.level-unit {
  font-size: 9px;
}
.range-wrapper {
  margin-top: 24px;
}
input[type="range"] {
  height: 5px;
}
input[type="range"]::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  border: 3px solid #e3f1ff;
  box-shadow:
    0 0 0 5px #78b5ff15,
    0 0 14px #78b5ff55;
}
.range-labels {
  font-size: 10px;
  margin-top: 11px;
}
.milestone-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  font-size: 9px;
  color: #8498b3;
}
.milestone-heading > span:first-child {
  letter-spacing: 1px;
  color: #9aabc0;
}
.milestones {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 11px;
}
.milestones button {
  height: 83px;
  min-height: 83px;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  border: 1px solid #2e3d50;
  border-radius: 8px;
  background: linear-gradient(#182332, #121c29);
  padding: 9px 4px;
  color: #94a9c4;
  transition:
    transform 0.2s,
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.milestones button:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: #ffffff06;
}
.milestones button:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: #597a9f;
  background: #1a2b40;
}
.milestones button.active {
  background: linear-gradient(#213853, #17273a);
  border-color: #668ebb;
  box-shadow:
    inset 0 0 0 1px #82b8f416,
    0 4px 16px #0002;
}
.milestones button > .milestone-badge {
  --badge-size: 32px;
  font-size: 14px;
  letter-spacing: 0;
  margin: 0;
  color: inherit;
}
.milestones button > .milestone-label {
  font-size: 10px;
  letter-spacing: 0;
  margin: 0;
  color: #9bafca;
  white-space: nowrap;
}
.milestones button.active > .milestone-label {
  color: #c7e2ff;
}
.milestones button > .milestone-marker {
  position: absolute;
  bottom: 0;
  left: 30%;
  right: 30%;
  height: 2px;
  width: auto;
  margin: 0;
  background: #83b8ff;
  opacity: 0;
  box-shadow: 0 0 9px #83b8ff88;
}
.milestones button.active > .milestone-marker {
  opacity: 1;
}
.level-totals {
  margin-top: 20px;
  padding-top: 17px;
  gap: 0;
  justify-content: space-between;
}
.level-totals > span {
  font-size: 10px;
  gap: 5px;
}
.level-totals strong {
  font-size: 12px;
  color: #cfe0f5;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.level-totals svg {
  width: 14px;
  color: #7fa2ca;
}
.payment-panel .panel-heading {
  margin-bottom: 18px;
}
.payment-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.payment-option {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 12px;
  gap: 0 12px;
  padding: 16px 14px 12px;
  background: linear-gradient(120deg, #15202d, #101925);
  border: 1px solid #314055;
  box-shadow: inset 0 1px #ffffff05;
  border-radius: 9px;
  min-width: 0;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.payment-option:hover {
  transform: translateY(-1px);
  background: #192a3e;
  border-color: #536e91;
}
.payment-option:has(input:checked) {
  background: linear-gradient(125deg, #203b5b, #15253a);
  border-color: #77acf0;
  box-shadow:
    inset 0 1px #c2dfff18,
    0 0 0 1px #77acf00c,
    0 4px 20px #0002;
}
.payment-icon {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  margin: 0;
  height: 38px;
  width: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 7px;
  background: #22344c;
  border: 1px solid #55749b25;
}
.payment-icon > svg {
  width: 25px;
  height: 25px;
}
.paypal-icon {
  font-size: 27px;
  background: #1a2d43;
  padding: 0;
}
.paypal-icon > span {
  left: 14px;
  top: 7px;
  font-size: 27px;
}
.cs-icon {
  font-size: 21px;
  letter-spacing: -2.6px;
  background: #342e2845;
  border-color: #86663b35;
  gap: 2px;
}
.tf-icon {
  background: #352d2845;
  border-color: #86663b35;
}
.payment-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}
.payment-copy strong {
  font-size: 13px;
  font-weight: 600;
  color: #e2ebf7;
}
.payment-copy small {
  font-size: 10px;
  color: #8fa2bd;
  white-space: nowrap;
}
.payment-option .selection-dot {
  position: relative;
  grid-column: 3;
  grid-row: 1;
  top: auto;
  right: auto;
  align-self: start;
  width: 13px;
  height: 13px;
  margin-top: 2px;
  border-color: #566c88;
}
.payment-option:has(input:checked) .selection-dot:after {
  inset: auto;
  top: 2px;
  left: 4px;
  width: 3px;
  height: 5px;
  background: none;
  border: solid #10233b;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.payment-bottom {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  padding-top: 10px;
  border-top: 1px solid #a4bfdf10;
}
.payment-route {
  font-size: 9px;
  color: #859bb6;
}
.method-tag,
.method-unavailable .method-tag {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  margin: 0;
  font-size: 8px;
  color: #a5b9d4;
  letter-spacing: 0;
  min-height: 12px;
  padding: 2px 5px;
  border: 1px solid #8da9c520;
  border-radius: 3px;
  background: #ffffff03;
  line-height: 1.3;
}
.method-unavailable .method-tag {
  color: #b3a58f;
  border-color: #b3a58f24;
  background: #c7a56308;
}
.payment-help {
  font-size: 11px;
  line-height: 1.7;
  margin-top: 14px;
  align-items: flex-start;
  color: #8da2bd;
}
.payment-help svg {
  margin-top: 3px;
  min-width: 13px;
}
.order-panel {
  position: sticky;
  top: 100px;
  padding: 25px;
  background: linear-gradient(145deg, #1c2b3e, #111b29 65%);
  border-color: #3c506b;
  box-shadow:
    0 12px 34px #0002,
    inset 0 1px #a6ccff0e;
  isolation: isolate;
}
.order-panel:before {
  background: linear-gradient(90deg, transparent, #8dc1ff60, transparent);
}
.order-topline h3 {
  font-size: 15px;
  letter-spacing: -0.2px;
}
.estimate-tag {
  font-size: 8px;
  letter-spacing: 1px;
  background: #21354f;
  color: #a7c4e7;
  border-color: #3a5271;
  padding: 4px 7px;
}
.summary-art {
  position: absolute;
  z-index: -1;
  top: 50px;
  left: 0;
  right: 0;
  height: 210px;
  pointer-events: none;
  background: radial-gradient(ellipse at center, #3d77b618, transparent 65%);
}
.order-levels {
  margin-top: 27px;
  gap: 29px;
}
.order-levels > div {
  gap: 11px;
}
.order-levels > div > span:first-child {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #8c9fba;
}
.order-levels .summary-level {
  --badge-size: 64px;
  font-size: 27.5px;
}
.order-levels > svg {
  color: #749ac4;
  width: 21px;
  margin-top: 21px;
}
.order-caption {
  font-size: 11px;
  color: #a8bed8;
  margin: 19px 0 23px;
  font-variant-numeric: tabular-nums;
}
.order-details {
  font-size: 12px;
  padding: 20px 0;
  border-color: #7c9abb27;
}
.order-details > div {
  margin-bottom: 13px;
}
.order-details dt {
  color: #94a8c3;
}
.order-details dd {
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: #dbe8fa;
}
.price-line {
  margin-top: 22px;
}
.price-line > div > span {
  font-size: 11px;
  color: #9eb4ce;
}
.price-line strong {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -1.6px;
  line-height: 1.25;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.price-line > span {
  font-size: 10px;
  letter-spacing: 1px;
  color: #8da3c0;
  margin-bottom: 7px;
}
.primary-button {
  background: linear-gradient(180deg, #81baff, #589cf2);
  border: 1px solid #a4cdff;
  border-radius: 8px;
  color: #0b2444;
  font-size: 13px;
  font-weight: 650;
  min-height: 49px;
  box-shadow:
    inset 0 1px #ffffff4d,
    0 4px 14px #367bdd20;
  position: relative;
  overflow: hidden;
}
.primary-button:hover:not(:disabled) {
  background: linear-gradient(#a5cfff, #7bb6ff);
  box-shadow:
    inset 0 1px #ffffff4d,
    0 6px 22px #367bdd35;
  transform: translateY(-1px);
}
.primary-button:active:not(:disabled) {
  transform: translateY(0);
}
.order-panel .primary-button {
  margin-top: 22px;
}
.checkout-note {
  font-size: 10px;
  text-align: center;
  line-height: 1.7;
  margin-top: 12px;
  color: #8da4c1;
  display: block;
}
.order-assurance {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 17px;
  margin-top: 18px;
  border-top: 1px solid #7897bd1d;
}
.order-assurance > span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: #9cb0cb;
}
.order-assurance svg {
  width: 13px;
  height: 13px;
  color: #7e9cbe;
}
.calculation-note {
  font-size: 10px;
  line-height: 1.8;
  color: #849bb8;
  margin-top: 13px;
  padding-top: 0;
  border: 0;
}
.benefits {
  margin-top: 48px;
  gap: 30px;
  padding-block: 30px;
  border-color: #607c9f25;
}
.benefit-lead h2 {
  font-size: 22px;
}
.benefit h3 {
  font-size: 14px;
  font-weight: 550;
}
.benefit p {
  font-size: 12px;
  color: #95a7bf;
}
.benefit-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid #3a516d;
  border-radius: 8px;
  background: #1c2b3e;
  color: #89add7;
}
.how-section {
  padding-block: 48px 35px;
}
.how-grid {
  gap: 25px;
}
.how-grid article {
  border-color: #3a4d65;
  padding-top: 22px;
}
.how-grid h3 {
  font-size: 15px;
  font-weight: 550;
}
.how-grid p {
  font-size: 12px;
  color: #96a8c1;
}
.how-number {
  font-size: 36px;
  color: #334761;
  font-weight: 500;
}
.flow-note {
  font-size: 11px;
  color: #8396af;
}
.faq-section {
  gap: 65px;
  padding-bottom: 58px;
}
.faq-list details {
  border-color: #4b617d33;
}
.faq-list summary {
  font-size: 14px;
  font-weight: 500;
}
.faq-list details p {
  font-size: 13px;
  color: #9aabc2;
}
.faq-intro > p:not(.eyebrow) {
  font-size: 13px;
}
.footer {
  border-color: #4b617d33;
}
.footer-links {
  font-size: 11px;
}
.footer > div > p {
  font-size: 10px;
}
.footer-build {
  font-size: 11px;
}
/* Dialogs share the same material and typography as the calculator. */
dialog {
  width: 590px;
  padding: 27px;
  background: linear-gradient(145deg, #192638, #101a29 65%);
  border-color: #526c8e;
  border-radius: 16px;
  box-shadow:
    inset 0 1px #ffffff12,
    0 30px 120px #000b;
  overflow-x: hidden;
}
dialog[open] {
  animation: dialog-in 0.2s ease-out;
}
dialog::backdrop {
  background: #030914cc;
  backdrop-filter: blur(9px);
}
.dialog-header {
  margin-bottom: 22px;
  gap: 14px;
}
.dialog-header h2 {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.6px;
}
.dialog-header .eyebrow {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #8ba8cb;
}
.dialog-header .icon-button {
  background: #23354b;
  border-color: #3d5573;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}
.dialog-body-copy {
  font-size: 13px;
  color: #acbed5;
  line-height: 1.85;
  margin-bottom: 19px;
}
.dialog-small {
  font-size: 11px;
  color: #869fbd;
  line-height: 1.8;
}
.dialog-error {
  border: 1px solid #c97c7c44;
  background: #cf66700c;
  padding: 12px 14px;
  border-radius: 8px;
  color: #f5b5bb;
  font-size: 12px;
  line-height: 1.8;
}
.flow-steps {
  display: flex;
  align-items: flex-start;
  list-style: none;
  padding: 0 0 22px;
  margin: 0 0 22px;
  border-bottom: 1px solid #688bb32d;
  gap: 0;
}
.flow-steps li {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #8296b0;
  position: relative;
}
.flow-steps li:not(:last-child):after {
  content: "";
  position: absolute;
  left: calc(50% + 19px);
  top: 13px;
  width: calc(100% - 38px);
  height: 1px;
  background: #3c506a;
}
.flow-step-dot {
  width: 27px;
  height: 27px;
  border: 1px solid #405670;
  background: #162438;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
  color: #9aadc6;
  z-index: 1;
}
.flow-step-dot svg {
  width: 13px;
  height: 13px;
}
.flow-steps .is-done .flow-step-dot {
  background: #213f48;
  border-color: #4f8084;
  color: #a6d7d3;
}
.flow-steps .is-current {
  color: #c4e0ff;
}
.flow-steps .is-current .flow-step-dot {
  background: #274a75;
  border-color: #84b7f4;
  color: #e3f0ff;
  box-shadow: 0 0 0 4px #75adf010;
}
.state-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 17px;
  border: 1px solid #46608066;
  background: linear-gradient(110deg, #20344d88, #18263877);
  border-radius: 10px;
  margin-bottom: 20px;
}
.state-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 1px solid #6484a844;
  border-radius: 9px;
  background: #385c851c;
  color: #9ec5f3;
}
.state-icon svg {
  width: 20px;
  height: 20px;
}
.state-card strong {
  display: block;
  font-size: 14px;
  font-weight: 550;
  color: #dce9fb;
  margin-bottom: 5px;
}
.state-card p {
  font-size: 12px;
  line-height: 1.8;
  color: #9fb4ce;
}
.state-warning {
  border-color: #bd9a6644;
  background: #c29a5c08;
}
.state-warning .state-icon {
  color: #ddbd8e;
  border-color: #b5905e44;
  background: #b5905e11;
}
.state-success .state-icon {
  color: #a0d7c7;
  border-color: #6fbca544;
  background: #6fbca511;
}
.profile-checklist {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.profile-checklist li {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  color: #a6bbd4;
}
.profile-checklist svg {
  width: 15px;
  height: 15px;
  color: #81b3e8;
}
.demo-profile {
  background: linear-gradient(115deg, #213751, #16273d);
  padding: 18px;
  border: 1px solid #466383;
  border-radius: 10px;
  min-width: 0;
  margin: 0 0 22px;
}
.demo-profile img {
  width: 56px;
  height: 56px;
  border-radius: 4px;
  border: 1px solid #91b5e066;
  padding: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 3px #112034;
}
.demo-profile > div {
  min-width: 0;
  flex: 1;
}
.demo-profile strong {
  font-size: 16px;
  overflow-wrap: anywhere;
}
.demo-profile p {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.demo-profile .steam-level {
  --badge-size: 44px;
}
.form-label {
  color: #c1d3e9;
  font-size: 12px;
}
.text-input {
  background: #0d1827;
  border-color: #3d5573;
  box-shadow: inset 0 2px 5px #0002;
  font-size: 12px;
  min-height: 46px;
}
.secondary-button {
  background: #203149;
  border-color: #3d5573;
  font-size: 12px;
  padding: 12px;
  border-radius: 7px;
  color: #b3cdec;
}
.secondary-button:hover {
  background: #2b4360;
}
.account-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.checkout-receipt {
  margin-bottom: 20px;
  border: 1px solid #55759d55;
  background: linear-gradient(135deg, #192c44, #102035);
  border-radius: 11px;
  padding: 20px;
}
.receipt-levels {
  display: flex;
  align-items: center;
  gap: 12px;
}
.receipt-levels > .steam-level {
  --badge-size: 40px;
  font-size: 17px;
}
.receipt-levels > svg {
  width: 16px;
  color: #7798bc;
}
.receipt-levels > div {
  margin-left: 3px;
  min-width: 0;
}
.receipt-levels strong {
  display: block;
  font-size: 15px;
  font-weight: 550;
}
.receipt-levels div span {
  display: block;
  color: #94abc8;
  font-size: 11px;
  margin-top: 5px;
}
.receipt-total {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-top: 1px solid #87abd330;
  margin-top: 18px;
  padding-top: 15px;
}
.receipt-total > span {
  font-size: 11px;
  color: #a8bedb;
  margin-right: auto;
}
.receipt-total strong {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.7px;
  font-variant-numeric: tabular-nums;
}
.receipt-total small {
  font-size: 9px;
  color: #7894b6;
  letter-spacing: 1px;
}
.consent {
  font-size: 12px;
  line-height: 1.8;
  color: #b2c4dc;
  gap: 10px;
  padding: 13px;
  background: #82b8ff06;
  border: 1px solid #6085b02c;
  border-radius: 8px;
}
.consent input {
  width: 15px;
  height: 15px;
  margin-top: 3px;
}
.order-timeline {
  list-style: none;
  padding: 0;
  margin: 20px 0 23px;
}
.order-timeline li {
  display: flex;
  position: relative;
  gap: 13px;
  align-items: center;
  padding: 0 0 20px;
}
.order-timeline li:last-child {
  padding-bottom: 0;
}
.order-timeline li:not(:last-child):after {
  content: "";
  position: absolute;
  top: 34px;
  left: 17px;
  width: 1px;
  bottom: 0;
  background: #35506f;
}
.timeline-dot {
  width: 35px;
  height: 35px;
  border: 1px solid #3a5575;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #16263a;
  color: #8199b7;
  flex-shrink: 0;
}
.timeline-dot svg {
  width: 16px;
  height: 16px;
}
.order-timeline .is-done .timeline-dot {
  color: #a4d6c7;
  border-color: #518779;
  background: #21443c66;
}
.order-timeline .is-current .timeline-dot {
  color: #cde5ff;
  border-color: #7fb0ec;
  background: #294b76;
}
.order-timeline strong {
  font-size: 12px;
  font-weight: 550;
  color: #becfe6;
  display: block;
}
.order-timeline small {
  font-size: 10px;
  color: #7f96b3;
  display: block;
  margin-top: 3px;
  line-height: 1.6;
}
.order-timeline .is-current strong {
  color: #d5eaff;
}
.timeline-pulse {
  margin-left: auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a3caff;
  box-shadow: 0 0 0 4px #a3caff10;
}
.order-history {
  border-color: #48658833;
  border-radius: 8px;
  padding: 17px 12px;
  gap: 15px;
}
.order-history strong {
  font-size: 13px;
}
.order-row > span:last-child {
  text-align: right;
  flex-shrink: 0;
}
.order-row small {
  font-size: 10px;
  line-height: 1.6;
  color: #8ca6c7;
}
.order-state-pill {
  display: inline-block !important;
  font-size: 9px !important;
  padding: 3px 7px;
  border-radius: 4px;
  border: 1px solid #6c93c239;
  background: #729ed90a;
  color: #b4ccea !important;
}
.order-state-pill[data-status="delivered"] {
  color: #b3d6ca !important;
  border-color: #659e8244;
  background: #659e8210;
}
.order-state-pill[data-status="review"],
.order-state-pill[data-status="cancelled"] {
  color: #dabca1 !important;
  border-color: #b99a7944;
  background: #b99a7910;
}
.inventory-grid {
  gap: 10px;
  max-height: 360px;
  overflow: auto;
  padding: 3px;
}
.inventory-item {
  padding: 16px 8px 12px;
  background: linear-gradient(#1b2d45, #132237);
  border-color: #3b5373;
  transition:
    background 0.18s,
    border-color 0.18s,
    transform 0.18s;
}
.inventory-item:hover {
  transform: translateY(-2px);
  border-color: #769ac8;
}
.inventory-item strong {
  font-size: 11px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.inventory-item > span {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.inventory-item:has(input:checked) {
  background: linear-gradient(#294c76, #1a3351);
  border-color: #8dbaff;
  box-shadow: inset 0 1px #d7e9ff18;
}
.inventory-item input {
  accent-color: #85baff;
}
.inventory-totals {
  font-size: 12px;
  border-top: 1px solid #496a9133;
  padding-top: 15px;
}
.empty-state-card {
  text-align: center;
  padding: 24px 16px 12px;
}
.empty-state-card > svg {
  width: 40px;
  height: 40px;
  color: #89acd8;
  margin-bottom: 17px;
}
.empty-state-card h3 {
  font-size: 17px;
  font-weight: 550;
  margin-bottom: 10px;
}
.empty-state-card p {
  font-size: 13px;
  line-height: 1.9;
  color: #92aac8;
  margin-bottom: 25px;
}
.loading-state {
  text-align: center;
  padding: 20px 12px 32px;
}
.loading-state > p {
  font-size: 12px;
  color: #9bb3d1;
  line-height: 1.8;
  margin: 20px 0;
}
.loading-orbit {
  width: 64px;
  height: 64px;
  position: relative;
  display: grid;
  place-items: center;
  margin: auto;
  color: #a2c8f8;
  border: 1px solid #567baa44;
  border-radius: 50%;
  background: #416da518;
}
.loading-orbit svg {
  width: 26px;
  height: 26px;
}
.loading-orbit > span {
  position: absolute;
  inset: -1px;
  border: 1px solid transparent;
  border-top-color: #8bb9f4;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.skeleton-line {
  width: 80%;
  height: 8px;
  border-radius: 4px;
  margin: 10px auto;
  background: linear-gradient(90deg, #263c5822, #6c96c533, #263c5822);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}
.skeleton-line.short {
  width: 52%;
}
.button-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}
.toast {
  background: linear-gradient(130deg, #243d58, #192e46);
  border-color: #668bb5;
  color: #dceaff;
  font-size: 12px;
  line-height: 1.7;
  box-shadow: 0 12px 35px #0005;
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
@media (min-width: 1450px) {
  .hero {
    min-height: 425px;
  }
  .hero h1 {
    font-size: 54px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 48px);
  }
  .nav-shell {
    padding-inline: 24px;
  }
  .hero {
    gap: 30px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .preview-profile-head {
    padding-inline: 18px;
    gap: 13px;
  }
  .preview-profile-head .preview-identity strong {
    font-size: 16px;
  }
  .avatar-frame {
    width: 66px;
    height: 66px;
    min-width: 66px;
  }
  .profile-target {
    min-width: 50px;
  }
  .profile-target .profile-level {
    --badge-size: 48px;
    font-size: 21px;
  }
  .preview-profile-bottom {
    padding-inline: 16px;
    flex-wrap: wrap;
    gap: 5px;
  }
  .builder-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 18px;
  }
  .level-panel,
  .payment-panel {
    padding: 20px;
  }
  .payment-option {
    gap: 0 9px;
    padding: 14px 11px 11px;
    grid-template-columns: 32px minmax(0, 1fr) 12px;
  }
  .payment-icon {
    width: 32px;
    height: 34px;
  }
  .payment-copy strong {
    font-size: 12px;
  }
  .payment-copy small {
    font-size: 9px;
  }
  .payment-route {
    font-size: 8px;
  }
  .order-panel {
    padding: 22px;
  }
  .order-assurance {
    flex-wrap: wrap;
    gap: 8px;
  }
  .level-totals > span {
    font-size: 9px;
  }
  .level-totals strong {
    font-size: 11px;
  }
  .level-totals svg {
    width: 12px;
    margin: 0;
  }
  .hero-points {
    gap: 10px 17px;
  }
  .hero-points > span {
    font-size: 10px;
  }
}
@media (max-width: 900px) {
  .header nav {
    gap: 20px;
  }
  .nav-shell {
    gap: 20px;
  }
  .brand {
    font-size: 19px;
  }
  .brand img {
    width: 36px;
    height: 36px;
  }
  .nav-actions {
    gap: 10px;
  }
  .steam-button {
    padding: 10px 12px;
  }
  .hero {
    gap: 24px;
    grid-template-columns: 0.92fr 1fr;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero-description {
    font-size: 13px;
  }
  .hero-points > span {
    font-size: 9px;
  }
  .preview-profile-head {
    gap: 10px;
    padding: 23px 15px 19px;
  }
  .preview-profile-head .preview-identity strong {
    font-size: 14px;
  }
  .preview-profile-head .preview-identity > span {
    font-size: 9px;
  }
  .profile-preview-title {
    padding: 12px 15px;
    font-size: 8px;
  }
  .profile-preview-label {
    font-size: 7px;
  }
  .avatar-frame {
    width: 57px;
    height: 57px;
    min-width: 57px;
  }
  .profile-target .profile-level {
    --badge-size: 40px;
    font-size: 17px;
  }
  .profile-target {
    min-width: 40px;
  }
  .profile-target > span:first-child {
    font-size: 7px;
  }
  .profile-preview-info,
  .preview-progress-labels {
    margin-inline: 16px;
  }
  .profile-xp-track {
    margin-inline: 16px;
  }
  .studio-controls {
    flex-wrap: wrap;
    gap: 7px;
  }
  .studio-controls > div {
    margin-left: auto;
  }
  .studio-note {
    font-size: 8px;
  }
  .builder-layout {
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 15px;
  }
  .order-panel {
    padding: 20px;
  }
  .level-panel,
  .payment-panel {
    padding: 18px;
  }
  .level-field {
    padding: 14px 12px;
  }
  .level-inputs {
    grid-template-columns: minmax(0, 1fr) 25px minmax(0, 1fr);
  }
  .level-field label {
    font-size: 8px;
    letter-spacing: 0.5px;
  }
  .level-field input {
    font-size: 30px;
  }
  .input-level-frame {
    --badge-size: 24px;
  }
  .number-row {
    gap: 7px;
  }
  .level-totals {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .level-totals > span {
    font-size: 9px;
  }
  .payment-copy small {
    font-size: 8px;
  }
  .payment-option {
    grid-template-columns: 28px minmax(0, 1fr) 10px;
    gap: 0 7px;
    padding: 12px 8px 10px;
  }
  .payment-icon {
    width: 28px;
    height: 31px;
  }
  .payment-icon > svg {
    width: 22px;
  }
  .cs-icon {
    font-size: 18px;
  }
  .paypal-icon {
    font-size: 23px;
  }
  .paypal-icon > span {
    font-size: 23px;
    left: 10px;
    top: 5px;
  }
  .payment-copy strong {
    font-size: 11px;
  }
  .payment-bottom {
    gap: 4px;
  }
  .method-tag,
  .method-unavailable .method-tag {
    font-size: 7px;
    padding: 2px 3px;
  }
  .payment-route {
    font-size: 7px;
  }
  .order-levels {
    gap: 22px;
  }
  .order-levels .summary-level {
    --badge-size: 60px;
    font-size: 26px;
  }
  .benefits {
    gap: 22px;
  }
  .benefit p {
    font-size: 11px;
  }
  .faq-section {
    gap: 38px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 90px;
  }
  .header {
    height: 67px;
  }
  .header nav {
    display: none;
  }
  .nav-shell {
    padding-inline: 20px;
    gap: 10px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .brand {
    font-size: 21px;
  }
  .brand img {
    width: 37px;
    height: 37px;
  }
  .steam-button {
    font-size: 11px;
    padding: 10px 12px;
  }
  .locale {
    display: none;
  }
  .preview-notice {
    justify-content: flex-start;
    padding: 9px 20px;
    align-items: baseline;
    font-size: 10px;
    line-height: 1.65;
    gap: 8px;
  }
  .preview-notice strong {
    font-size: 8px;
    white-space: nowrap;
  }
  .notice-dot {
    align-self: center;
  }
  .hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 30px;
    min-height: 0;
  }
  .hero h1 {
    font-size: 46px;
    line-height: 1.08;
  }
  .hero-description {
    font-size: 13px;
    max-width: 480px;
  }
  .hero-action {
    margin-top: 18px;
  }
  .hero-points {
    margin-top: 18px;
    gap: 15px;
  }
  .hero-points > span {
    font-size: 10px;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 1.8px;
    margin-bottom: 15px;
  }
  .profile-studio {
    max-width: 560px;
    width: 100%;
  }
  .profile-preview {
    display: block;
  }
  .preview-profile-head {
    padding: 23px 20px;
    gap: 16px;
  }
  .avatar-frame {
    width: 70px;
    height: 70px;
    min-width: 70px;
  }
  .preview-profile-head .preview-identity strong {
    font-size: 18px;
  }
  .preview-profile-head .preview-identity > span {
    font-size: 10px;
  }
  .profile-target .profile-level {
    --badge-size: 52px;
    font-size: 22px;
  }
  .profile-target {
    min-width: 55px;
  }
  .profile-target > span:first-child {
    font-size: 8px;
  }
  .profile-preview-title {
    padding: 13px 19px;
    font-size: 9px;
  }
  .profile-preview-label {
    font-size: 8px;
  }
  .profile-preview-info {
    margin-inline: 20px;
    font-size: 9px;
  }
  .profile-preview-info strong {
    font-size: 12px;
  }
  .profile-xp-track,
  .preview-progress-labels {
    margin-inline: 20px;
  }
  .preview-profile-bottom {
    padding: 12px 19px;
    font-size: 9px;
    justify-content: space-between;
  }
  .studio-controls {
    flex-wrap: nowrap;
  }
  .studio-controls > span {
    font-size: 8px;
  }
  .studio-note {
    font-size: 8px;
  }
  .calculator-section {
    padding-top: 14px;
  }
  .section-intro h2 {
    font-size: 25px;
  }
  .small-note {
    display: none;
  }
  .builder-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .builder-main {
    gap: 18px;
  }
  .level-panel,
  .payment-panel {
    padding: 21px;
  }
  .panel-heading h3 {
    font-size: 15px;
  }
  .heading-aside {
    display: block;
    font-size: 9px;
  }
  .level-inputs {
    grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr);
  }
  .level-field {
    padding: 15px;
  }
  .level-field label {
    font-size: 9px;
    letter-spacing: 0.7px;
  }
  .level-field input {
    font-size: 34px;
  }
  .input-level-frame {
    --badge-size: 26px;
  }
  .number-row {
    gap: 9px;
  }
  .milestones {
    gap: 8px;
  }
  .milestones button {
    height: 81px;
    min-height: 81px;
  }
  .milestones button > .milestone-label {
    font-size: 10px;
  }
  .milestones button > .milestone-badge {
    --badge-size: 32px;
    font-size: 14px;
  }
  .level-totals {
    justify-content: space-between;
    gap: 7px;
    flex-wrap: nowrap;
  }
  .level-totals > span {
    font-size: 10px;
  }
  .level-totals strong {
    font-size: 12px;
  }
  .payment-option {
    grid-template-columns: 34px minmax(0, 1fr) 11px;
    padding: 15px 11px 11px;
    gap: 0 10px;
  }
  .payment-icon {
    width: 34px;
    height: 35px;
  }
  .payment-icon > svg {
    width: 24px;
  }
  .payment-copy strong {
    font-size: 13px;
  }
  .payment-copy small {
    font-size: 9px;
  }
  .payment-route {
    font-size: 8px;
  }
  .method-tag,
  .method-unavailable .method-tag {
    font-size: 7px;
    padding: 3px 4px;
  }
  .cs-icon {
    font-size: 21px;
  }
  .paypal-icon {
    font-size: 27px;
  }
  .paypal-icon > span {
    font-size: 27px;
    left: 12px;
    top: 5px;
  }
  .order-panel {
    position: relative;
    top: 0;
    padding: 24px;
  }
  .order-topline h3 {
    font-size: 16px;
  }
  .order-levels {
    gap: 50px;
  }
  .order-levels .summary-level {
    --badge-size: 68px;
    font-size: 29px;
  }
  .order-caption {
    font-size: 12px;
  }
  .order-details {
    font-size: 13px;
  }
  .order-details dd {
    font-size: 13px;
  }
  .price-line strong {
    font-size: 42px;
  }
  .price-line > div > span {
    font-size: 12px;
  }
  .order-assurance {
    justify-content: center;
    gap: 20px;
  }
  .order-assurance > span {
    font-size: 10px;
  }
  .calculation-note {
    text-align: center;
    font-size: 10px;
  }
  .benefits {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 27px;
    margin-top: 32px;
  }
  .benefit {
    display: grid;
    grid-template-columns: 37px 1fr;
    gap: 0 13px;
  }
  .benefit-icon {
    grid-row: 1/3;
    margin: 0;
  }
  .benefit h3 {
    font-size: 14px;
    margin-bottom: 5px;
  }
  .benefit p {
    font-size: 12px;
    max-width: 100%;
    grid-column: 2;
  }
  .how-section {
    padding-block: 36px 25px;
  }
  .how-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .how-grid article {
    padding: 20px 25px 20px 0;
    display: grid;
    grid-template-columns: 31px 1fr;
    gap: 0 12px;
  }
  .how-grid article > svg {
    grid-row: 1/3;
    margin: 2px 0 0;
  }
  .how-grid h3 {
    font-size: 14px;
    grid-column: 2;
  }
  .how-grid p {
    font-size: 12px;
    grid-column: 2;
    max-width: 100%;
  }
  .how-number {
    font-size: 26px;
    right: 0;
    top: 17px;
    color: #40546d;
  }
  .flow-note {
    font-size: 10px;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 25px 40px;
  }
  .faq-intro h2 {
    font-size: 25px;
  }
  .faq-intro > p:not(.eyebrow) {
    font-size: 12px;
    margin-block: 12px;
  }
  .faq-list summary {
    font-size: 13px;
  }
  .faq-list details p {
    font-size: 12px;
  }
  .footer {
    gap: 22px;
    flex-wrap: wrap;
  }
  .footer-build {
    font-size: 10px;
  }
  .footer > div > p {
    font-size: 9px;
  }
  .footer-links {
    font-size: 10px;
  }
  .footer-build {
    text-align: left;
  }
  dialog {
    padding: 22px;
    width: 560px;
    max-height: calc(100dvh - 30px);
  }
  .dialog-header h2 {
    font-size: 23px;
  }
  .dialog-body-copy {
    font-size: 13px;
  }
  .inventory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .text-input {
    font-size: 16px;
  }
}
@media (max-width: 420px) {
  .container {
    width: calc(100% - 32px);
  }
  .nav-shell {
    padding-inline: 16px;
  }
  .brand {
    font-size: 18px;
    gap: 6px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .brand-dot {
    font-size: 24px;
  }
  .steam-button {
    font-size: 10px;
    padding: 9px 10px;
    gap: 7px;
  }
  .steam-button svg {
    width: 17px;
  }
  .steam-button span {
    max-width: 126px;
  }
  .preview-notice {
    padding-inline: 16px;
    font-size: 9px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero-points {
    gap: 11px;
  }
  .hero-points > span {
    font-size: 9px;
  }
  .preview-profile-head {
    padding: 22px 16px;
    gap: 12px;
  }
  .avatar-frame {
    width: 61px;
    height: 61px;
    min-width: 61px;
  }
  .preview-profile-head .preview-identity strong {
    font-size: 15px;
  }
  .preview-profile-head .preview-identity > span {
    font-size: 9px;
  }
  .profile-target .profile-level {
    --badge-size: 46px;
    font-size: 20px;
  }
  .profile-target {
    min-width: 46px;
  }
  .profile-preview-title {
    padding-inline: 15px;
    font-size: 8px;
  }
  .profile-preview-label {
    font-size: 7px;
  }
  .preview-profile-info,
  .profile-xp-track,
  .preview-progress-labels {
    margin-inline: 16px;
  }
  .preview-profile-bottom {
    padding-inline: 15px;
    font-size: 8px;
    gap: 5px;
  }
  .studio-controls > span {
    font-size: 7px;
    letter-spacing: 0.8px;
  }
  .frame-choice {
    font-size: 9px;
    padding: 6px;
  }
  .studio-controls > div {
    gap: 3px;
  }
  .studio-note {
    font-size: 8px;
    text-align: left;
  }
  .section-intro h2 {
    font-size: 24px;
  }
  .level-panel,
  .payment-panel {
    padding: 17px;
  }
  .panel-heading {
    gap: 8px;
  }
  .panel-heading h3 {
    font-size: 14px;
  }
  .heading-aside {
    font-size: 8px;
  }
  .level-field {
    padding: 13px 11px;
  }
  .level-field label {
    font-size: 8px;
    letter-spacing: 0.4px;
  }
  .level-field input {
    font-size: 31px;
  }
  .level-inputs {
    grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr);
  }
  .input-level-frame {
    --badge-size: 23px;
  }
  .number-row {
    gap: 7px;
  }
  .level-unit {
    font-size: 8px;
  }
  .milestones {
    gap: 6px;
  }
  .milestones button {
    height: 76px;
    min-height: 76px;
  }
  .milestones button > .milestone-label {
    font-size: 9px;
  }
  .milestones button > .milestone-badge {
    --badge-size: 30px;
    font-size: 13px;
  }
  .milestone-heading {
    font-size: 8px;
  }
  .level-totals > span {
    font-size: 8px;
    gap: 4px;
  }
  .level-totals strong {
    font-size: 10px;
  }
  .level-totals svg {
    width: 12px;
  }
  .payment-options {
    gap: 8px;
  }
  .payment-option {
    grid-template-columns: 29px minmax(0, 1fr) 8px;
    gap: 0 7px;
    padding: 13px 9px 10px;
  }
  .payment-icon {
    width: 29px;
    height: 32px;
  }
  .payment-copy strong {
    font-size: 11px;
  }
  .payment-copy small {
    font-size: 8px;
    white-space: normal;
    line-height: 1.5;
  }
  .payment-option .selection-dot {
    width: 11px;
    height: 11px;
  }
  .payment-option:has(input:checked) .selection-dot:after {
    left: 3px;
    top: 1px;
  }
  .payment-bottom {
    gap: 3px;
  }
  .payment-route {
    font-size: 7px;
  }
  .method-tag,
  .method-unavailable .method-tag {
    font-size: 6.5px;
    padding: 2px 3px;
  }
  .payment-help {
    font-size: 10px;
  }
  .payment-icon > svg {
    width: 22px;
  }
  .cs-icon {
    font-size: 18px;
  }
  .paypal-icon {
    font-size: 24px;
  }
  .paypal-icon > span {
    font-size: 24px;
    left: 10px;
  }
  .order-panel {
    padding: 22px;
  }
  .order-levels {
    gap: 38px;
  }
  .order-assurance {
    gap: 15px;
  }
  .order-assurance > span {
    font-size: 9px;
  }
  .checkout-receipt {
    padding: 15px;
  }
  .receipt-levels {
    gap: 8px;
    flex-wrap: wrap;
  }
  .receipt-levels > .steam-level {
    --badge-size: 34px;
    font-size: 15px;
  }
  .receipt-levels strong {
    font-size: 13px;
  }
  .receipt-levels div span {
    font-size: 9px;
  }
  .receipt-total strong {
    font-size: 26px;
  }
  .flow-steps li {
    font-size: 9px;
  }
  .flow-steps {
    padding-bottom: 20px;
  }
  .state-card {
    padding: 14px;
    gap: 11px;
  }
  .state-icon {
    width: 32px;
    height: 32px;
  }
  .state-card strong {
    font-size: 13px;
  }
  .state-card p {
    font-size: 11px;
  }
  .dialog-header h2 {
    font-size: 21px;
  }
  .demo-profile {
    padding: 14px;
    gap: 11px;
  }
  .demo-profile strong {
    font-size: 14px;
  }
  .demo-profile p {
    font-size: 9px;
  }
  .demo-profile img {
    width: 46px;
    height: 46px;
  }
  .account-actions {
    gap: 7px;
  }
  .account-actions .secondary-button {
    font-size: 10px;
  }
}
@media (max-width: 350px) {
  .container {
    width: calc(100% - 24px);
  }
  .nav-shell {
    padding-inline: 12px;
  }
  .brand {
    font-size: 16px;
  }
  .brand img {
    width: 27px;
    height: 27px;
  }
  .steam-button {
    font-size: 9px;
    padding: 8px;
    gap: 6px;
  }
  .hero h1 {
    font-size: 37px;
  }
  .preview-profile-head .preview-identity strong {
    font-size: 13px;
  }
  .avatar-frame {
    width: 50px;
    height: 50px;
    min-width: 50px;
  }
  .profile-target .profile-level {
    --badge-size: 38px;
    font-size: 16px;
  }
  .profile-target {
    min-width: 38px;
  }
  .profile-preview-label {
    font-size: 6px;
  }
  .studio-controls {
    flex-wrap: wrap;
  }
  .studio-controls > div {
    margin-left: auto;
  }
  .level-panel,
  .payment-panel {
    padding: 14px;
  }
  .level-field label {
    font-size: 7px;
  }
  .level-inputs {
    grid-template-columns: minmax(0, 1fr) 23px minmax(0, 1fr);
  }
  .level-field input {
    font-size: 27px;
  }
  .input-level-frame {
    --badge-size: 20px;
  }
  .level-field {
    padding: 12px 9px;
  }
  .number-row {
    gap: 6px;
  }
  .level-unit {
    display: none;
  }
  .milestones button > .milestone-label {
    font-size: 8px;
  }
  .level-totals svg {
    display: none;
  }
  .level-totals > span {
    font-size: 8px;
  }
  .section-intro h2 {
    font-size: 22px;
  }
  .payment-option {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 0 7px;
  }
  .payment-option .selection-dot {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 9px;
    height: 9px;
  }
  .payment-copy strong {
    font-size: 10px;
  }
  .payment-copy small {
    font-size: 7px;
  }
  .payment-icon {
    width: 26px;
    height: 30px;
  }
  .payment-bottom {
    flex-wrap: wrap;
    gap: 5px;
  }
  .method-tag,
  .method-unavailable .method-tag {
    font-size: 7px;
  }
  .payment-route {
    font-size: 8px;
  }
  .order-assurance {
    gap: 12px;
  }
  .order-assurance > span {
    font-size: 8px;
  }
  dialog {
    padding: 18px;
  }
  .receipt-levels > div {
    flex-basis: 100%;
    margin: 4px 0 0;
  }
  .receipt-levels strong {
    font-size: 14px;
  }
  .receipt-levels div span {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .loading-orbit > span {
    border-color: #8bb9f466;
  }
  .skeleton-line {
    background: #36506e44;
  }
}

.payment-option {
  min-height: 0;
}
.avatar-frame {
  flex-shrink: 0;
}
.preview-profile-bottom > span {
  min-width: 0;
}
@media (max-width: 760px) {
  .how-grid article > svg {
    position: static;
  }
  .benefit:last-child {
    grid-template-columns: 37px 1fr;
    gap: 0 13px;
  }
  .nav-actions .steam-button {
    width: auto;
    height: auto;
  }
  .nav-actions .steam-button span {
    display: block;
  }
  .studio-note,
  .payment-copy small {
    font-size: 10px;
  }
  .payment-route,
  .method-tag,
  .method-unavailable .method-tag {
    font-size: 9px;
  }
  .payment-bottom {
    flex-wrap: wrap;
    gap: 5px 8px;
  }
  .frame-choice {
    min-height: 36px;
  }
  .preview-progress-labels,
  .preview-profile-bottom {
    font-size: 9px;
  }
  .studio-controls > span,
  .profile-preview-label {
    font-size: 8px;
  }
}
