/* Fonts are bundled locally in scripts/fonts; no Google Fonts CDN is used. */
@font-face {
  font-family: Barlow;
  src: url(../fonts/Barlow-Regular.woff2) format("woff2");
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url(../fonts/Barlow-SemiBold.woff2) format("woff2");
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url(../fonts/BarlowCondensed-SemiBold.woff2) format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url(../fonts/BarlowCondensed-SemiBoldItalic.woff2) format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url(../fonts/BarlowCondensed-Bold.woff2) format("woff2");
  font-weight: 700 900;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url(../fonts/BarlowCondensed-BoldItalic.woff2) format("woff2");
  font-weight: 700 900;
  font-style: italic;
  font-display: swap;
}
:root {
  font-family: "Barlow", Arial, sans-serif;
  color: #f4f1e7;
  background: #17272b;
  font-synthesis: none;
  --ivory: #f4f1e7;
  --accent: #0c0d0f;
  --accent-ink: #f4f1e7;
  --mint: #b8d6c5;
  --muted: #bbc1b4;
  --ink: #19292c;
  --condensed: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  overflow: hidden;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
button:disabled {
  cursor: default;
}
button {
  transition:
    background 0.18s,
    color 0.18s,
    transform 0.22s,
    border-color 0.18s;
}
a {
  color: var(--mint);
}
#game-canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: fixed;
  inset: 0;
  outline: none;
}
#app {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
#app button,
#app input,
#app select,
#app a,
#app canvas {
  pointer-events: auto;
}
#app .page-main,
#app .pause-panel,
#app .result-panel,
#app .garage-panel {
  pointer-events: auto;
}
.menu-shell {
  height: 100%;
  padding: 0 4%;
  background: linear-gradient(
    90deg,
    rgba(16, 29, 33, 0.91),
    rgba(20, 34, 36, 0.56)
  );
  display: flex;
  flex-direction: column;
}
.home-shell,
.image-menu {
  background:
    linear-gradient(
      90deg,
      rgba(14, 26, 29, 0.64) 0%,
      rgba(18, 33, 36, 0.16) 47%,
      rgba(18, 33, 36, 0) 72%
    ),
    linear-gradient(
      0deg,
      rgba(12, 27, 29, 0.86),
      transparent 47%,
      rgba(11, 28, 31, 0.2)
    ),
    url("../image/lobby/solstice-overlook-v4.avif") center / cover no-repeat;
}
.garage-shell {
  background: linear-gradient(
    90deg,
    rgba(11, 24, 27, 0.55),
    transparent 44%,
    rgba(11, 24, 27, 0.7)
  );
}
.topbar {
  height: 98px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex: none;
  border-bottom: 1px solid #f6f0dc30;
}
.brand {
  font-family: var(--condensed);
  font-size: 43px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -1.5px;
  line-height: 0.9;
  background: none;
  text-align: left;
  padding: 0;
  min-width: 129px;
}
.brand span {
  display: block;
  font-family: "Barlow", Arial, sans-serif;
  font-size: 8px;
  letter-spacing: 2.3px;
  font-style: normal;
  margin-top: 9px;
}
.player-strip {
  display: flex;
  align-items: center;
  gap: 11px;
}
.level {
  height: 38px;
  width: 38px;
  border: 1px solid #e4e7d590;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-family: var(--condensed);
  font-size: 23px;
  font-weight: 600;
}
.level small {
  font-family: Arial, sans-serif;
  font-size: 7px;
  writing-mode: vertical-rl;
  color: var(--muted);
}
.player-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.player-info b {
  font-size: 13px;
  letter-spacing: 0.8px;
}
.player-info span {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #ced3c3;
}
.divider {
  width: 1px;
  height: 29px;
  background: #e9ead635;
  margin: 0 10px;
}
.class-badge {
  background: var(--mint);
  color: #263b36;
  padding: 5px 8px;
  font-weight: 800;
  font-size: 15px;
}
.rating {
  font-size: 16px;
}
.current-car {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-left: 4px;
}
.current-car small {
  font-size: 8px;
  letter-spacing: 1.6px;
  color: #e6e6d3;
}
.current-car b {
  font-family: var(--condensed);
  font-size: 18px;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.wallet {
  margin-left: auto;
}
.wallet small,
.progression small {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #d5d8c9;
  display: block;
  margin-bottom: 5px;
}
.wallet > b {
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
}
.wallet > b > span {
  font-size: 11px;
  vertical-align: middle;
  border: 1px solid #dedfcb55;
  padding: 3px;
  margin-right: 4px;
}
.progression {
  width: 142px;
  flex: none;
}
.progression > span {
  font-size: 10px;
  letter-spacing: 0.6px;
}
.progression > i {
  display: block;
  height: 3px;
  background: #d0d9bd33;
  margin-top: 7px;
}
.progression em {
  height: 100%;
  display: block;
  background: var(--mint);
}
.topnav {
  height: 61px;
  display: flex;
  gap: 5px;
  align-items: stretch;
  flex: none;
}
.topnav button {
  background: none;
  padding: 0 18px;
  font-family: var(--condensed);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1.5px;
  position: relative;
  color: #d7dccc;
}
.topnav button:first-child {
  padding-left: 0;
  padding-right: 24px;
}
.topnav button.active {
  color: var(--ivory);
}
.topnav button.active:after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 8px;
  height: 3px;
  background: var(--accent);
}
.topnav button:first-child.active:after {
  left: 0;
  right: 24px;
}
.topnav button:hover {
  color: var(--accent-fg, #f4f1e7);
}
.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 1.4px;
  font-size: 8px;
  color: #dae0ca;
}
.tiny-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  display: inline-block;
}
.home-main {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 26px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.1px;
  font-weight: 600;
  margin: 0 0 17px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #e0e3d0;
}
.tiny-line {
  height: 2px;
  width: 25px;
  background: var(--accent);
}
h1,
h2,
p {
  margin-top: 0;
}
h1 {
  font-family: var(--condensed);
  font-weight: 700;
  font-size: clamp(47px, 5.1vw, 78px);
  line-height: 0.93;
  letter-spacing: -0.8px;
  margin-bottom: 22px;
}
h1 em {
  font-style: italic;
  color: #d7e3cf;
}
h2 {
  font-family: var(--condensed);
  font-weight: 600;
}
.hero-description {
  font-size: 12px;
  line-height: 1.7;
  color: #d2d8c8;
  letter-spacing: 0.15px;
}
.hero-meta {
  display: flex;
  gap: 20px;
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #d3d9c6;
  margin-top: 21px;
}
.hero-meta span + span:before {
  content: "／";
  margin-right: 20px;
  color: #9cae9f;
}
.car-caption {
  position: absolute;
  right: 4px;
  bottom: calc(34vh + 24px);
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.car-caption > span {
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #dfe3d1;
}
.car-caption strong {
  font-family: var(--condensed);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.7px;
}
.car-caption small {
  font-size: 9px;
  letter-spacing: 1.2px;
  color: #ccd8c8;
}
.car-caption i {
  font-style: normal;
  padding: 0 9px;
}
.home-cards {
  display: grid;
  grid-template-columns: 2.08fr 1.07fr 1.07fr 1.06fr;
  gap: 11px;
  height: 32vh;
  min-height: 210px;
  max-height: 350px;
  margin-top: 22px;
  padding-bottom: 1px;
}
.menu-card {
  position: relative;
  display: block;
  overflow: hidden;
  text-align: left;
  padding: 20px;
  background: #223a3b;
  isolation: isolate;
  border: 1px solid #ebeeda33;
  min-width: 0;
}
.menu-card:before,
.event-card:before,
.challenge-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--card-image);
  background-size: cover;
  background-position: center;
  z-index: -2;
  transition:
    transform 0.6s,
    filter 0.35s;
}
.menu-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(10, 23, 27, 0.94), rgba(12, 26, 27, 0.1) 74%),
    linear-gradient(180deg, rgba(11, 27, 30, 0.5), transparent 45%);
  z-index: -1;
}
.menu-card:hover:before,
.menu-card:focus-visible:before {
  transform: scale(1.045);
}
.menu-card.selected,
.menu-card:hover,
.menu-card:focus-visible {
  border: 2px solid var(--accent);
  padding: 19px;
}
.menu-card.selected:after {
  border-bottom: 4px solid var(--accent);
}
.menu-card:hover,
.menu-card:focus-visible {
  transform: translateY(-3px);
}
.card-tag {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.35px;
  display: block;
  color: #e6eadb;
}
.card-content {
  position: absolute;
  bottom: 22px;
  left: 20px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.card-content strong {
  font-family: var(--condensed);
  font-size: 29px;
  line-height: 0.93;
  font-weight: 600;
  letter-spacing: 0.1px;
}
.large .card-content strong {
  font-size: 48px;
  font-style: italic;
  letter-spacing: -0.4px;
}
.card-content small {
  font-size: 9px;
  letter-spacing: 0.35px;
  color: #d5daca;
}
.card-arrow {
  position: absolute;
  right: 15px;
  bottom: 16px;
  color: var(--accent-fg, #f4f1e7);
  font-size: 25px;
  font-weight: 400;
}
.large .card-arrow {
  background: var(--accent);
  color: #fff6e8;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  right: 18px;
  bottom: 20px;
  font-size: 23px;
}
.card-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 11px;
  min-height: 0;
}
.card-stack .card-content {
  bottom: 16px;
  gap: 5px;
}
.card-stack .card-content strong {
  font-size: 25px;
}
.card-stack .menu-card {
  padding: 14px 20px;
}
.card-stack .menu-card:hover {
  padding: 13px 19px;
}
.card-stack .card-tag {
  font-size: 7px;
}
.menu-footer {
  height: 63px;
  flex: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #dce0cf;
  font-size: 9px;
  letter-spacing: 0.45px;
}
.menu-footer > div {
  display: flex;
  gap: 23px;
}
.menu-footer kbd {
  margin-right: 6px;
}
.menu-footer > span {
  font-size: 8px;
  letter-spacing: 1.4px;
}
.menu-footer > span > i {
  font-style: normal;
  border-left: 1px solid #d1dac650;
  padding-left: 18px;
  margin-left: 23px;
  font-size: 10px;
}
.menu-footer > span > i > span {
  color: var(--accent-fg, #f4f1e7);
}
kbd {
  font:
    8px "Barlow",
    Arial,
    sans-serif;
  display: inline-block;
  min-width: 17px;
  text-align: center;
  padding: 3px 5px;
  border: 1px solid #e0e5cf60;
  line-height: 1;
  color: #e9ebdb;
}
.page-main {
  flex: 1;
  min-height: 0;
  padding-top: 33px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #80978a transparent;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 25px;
}
.page-heading h1 {
  font-size: clamp(42px, 4.4vw, 65px);
  margin-bottom: 0;
}
.page-heading .eyebrow {
  margin-bottom: 12px;
}
.page-heading > p {
  font-size: 11px;
  color: #c1cabb;
  line-height: 1.7;
  margin-bottom: 0;
}
.filter-row {
  display: flex;
  gap: 7px;
  border-top: 1px solid #d4ddc833;
  padding-top: 18px;
  margin-bottom: 22px;
}
.filter-row button {
  padding: 8px 15px;
  background: transparent;
  border: 1px solid #d6dfcb50;
  font-size: 9px;
  letter-spacing: 0.8px;
}
.filter-row button.active,
.filter-row button:hover {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--ink);
}
.filter-row button:last-child {
  margin-left: auto;
  color: var(--mint);
  border: 0;
}
.event-browser {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--accent) #d6ddc322;
  scrollbar-width: thin;
}
.event-card {
  flex: 0 0 27%;
  min-width: 260px;
  max-width: 360px;
  height: clamp(320px, 50vh, 600px);
  position: relative;
  isolation: isolate;
  padding: 23px 23px 0;
  text-align: left;
  border: 1px solid #dce3ca44;
  background: #283e3e;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start;
  overflow: hidden;
}
.event-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    #14272bf5 8%,
    #1c2c30aa 45%,
    #15272b11 75%,
    #12252b88
  );
  z-index: -1;
}
.event-card.selected,
.event-card:hover {
  border: 2px solid var(--accent);
  padding: 22px 22px 0;
}
.event-card:hover:before {
  transform: scale(1.04);
}
.event-number {
  font-family: var(--condensed);
  font-size: 23px;
  font-weight: 500;
}
.event-number i {
  float: right;
  font-size: 25px;
  font-style: normal;
  color: var(--accent-fg, #f4f1e7);
}
.event-copy {
  margin-top: auto;
  margin-bottom: 26px;
}
.event-copy h2 {
  font-size: 38px;
  line-height: 1.03;
  font-style: italic;
  margin: 12px 0;
}
.event-copy p {
  font-size: 12px;
  color: #d6dfcf;
}
.event-copy small {
  font-size: 8px;
  letter-spacing: 1.2px;
  color: #cfdfc8;
}
.event-pills {
  display: flex;
  gap: 7px;
  margin: 22px 0;
}
.event-pills span {
  padding: 5px 7px;
  border: 1px solid #c0cbb755;
  font-size: 8px;
  letter-spacing: 0.8px;
}
.event-reward {
  border-top: 1px solid #d2dfc74d;
  margin: 0 -23px;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  font-size: 8px;
  color: #ccdbc8;
  background: #12282c77;
  min-height: 59px;
}
.event-reward b {
  display: block;
  font-size: 14px;
  color: #f6f1e5;
  margin-top: 3px;
  font-weight: 500;
}
.garage-main {
  position: relative;
  flex: 1;
  min-height: 0;
  padding-top: 39px;
}
.garage-title {
  pointer-events: none;
}
.garage-title h1 {
  font-size: 59px;
}
.garage-title > p:last-child {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
}
.garage-panel {
  position: absolute;
  right: 0;
  top: 22px;
  bottom: 10px;
  width: 310px;
  padding: 20px 22px;
  background: #13272beb;
  border: 1px solid #c6d7c637;
  overflow-y: auto;
  scrollbar-width: thin;
}
.car-specialty {
  max-width: 430px;
  line-height: 1.6;
  color: #c4cfce;
}
.collection-strip {
  position: absolute;
  left: 0;
  right: 330px;
  bottom: 38px;
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 8px 2px 12px;
  scrollbar-width: thin;
  pointer-events: auto;
}
.collection-car {
  flex: 0 0 150px;
  padding: 0 0 10px;
  text-align: left;
  border: 1px solid #b9c6bc33;
  background: #14252be8;
  transition: border-color 0.15s;
}
.collection-car.active,
.collection-car:hover {
  border-color: var(--mint);
}
.collection-car img {
  display: block;
  width: 100%;
  height: 80px;
  object-fit: cover;
}
.collection-car span,
.collection-car small {
  display: block;
  margin: 7px 9px 0;
  font-size: 8px;
  letter-spacing: 0.7px;
  color: #a8b9ba;
}
.collection-car b {
  display: block;
  color: #f2eee4;
  margin-top: 3px;
  font-family: var(--condensed);
  font-size: 16px;
}
.graphics-note {
  font-size: 11px;
  color: #afbec0;
  line-height: 1.6;
  margin: 12px 0 20px;
}
.settings-panel h3 {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: var(--mint);
  margin: 24px 0 5px;
}
.quality-buttons {
  flex-wrap: wrap;
}
.quality-buttons button:first-child {
  flex-basis: 100%;
}
@media (max-width: 760px) {
  .collection-strip {
    right: 0;
    bottom: 0;
  }
  .collection-car {
    flex-basis: 118px;
  }
  .collection-car img {
    height: 58px;
  }
  .car-specialty {
    max-width: 230px;
  }
}
.panel-title {
  font-family: var(--condensed);
  letter-spacing: 1.8px;
  font-size: 17px;
  border-bottom: 1px solid #d0dcc338;
  padding-bottom: 17px;
}
.panel-title > span {
  float: right;
  color: var(--mint);
  font-family: "Barlow", Arial, sans-serif;
  font-size: 11px;
}
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 12px;
  padding: 22px 0;
}
.spec-grid small {
  font-size: 8px;
  color: #bdcaba;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 5px;
}
.spec-grid strong {
  font-family: var(--condensed);
  font-size: 24px;
  font-weight: 500;
}
.stat-bar {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
  font-size: 8px;
  letter-spacing: 0.9px;
}
.stat-bar > span {
  width: 58px;
}
.stat-bar i {
  flex: 1;
  height: 3px;
  background: #c4d7be33;
}
.stat-bar b {
  display: block;
  height: 100%;
  background: var(--mint);
}
.stat-bar em {
  font-style: normal;
}
.paint-section {
  padding: 18px 0;
}
.paint-section p {
  font-size: 8px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.paint-section p span {
  float: right;
  color: #a9b6a5;
  font-size: 7px;
}
.swatches {
  display: flex;
  gap: 8px;
  align-items: center;
}
.swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid transparent;
}
.swatch.active {
  outline: 1px solid var(--ivory);
  outline-offset: 3px;
}
.custom-color {
  position: relative;
  width: 24px;
  height: 24px;
  font-size: 21px;
  cursor: pointer;
  overflow: hidden;
}
.custom-color input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.setting-row {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #c4d1bc22;
  font-size: 9px;
  letter-spacing: 0.6px;
}
.setting-row select {
  background: #314646;
  color: var(--ivory);
  font-size: 9px;
  border: 1px solid #d6e0c838;
  padding: 7px 8px;
  min-width: 88px;
  max-width: 170px;
  border-radius: 0;
  cursor: pointer;
}
.primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--accent);
  color: #fff7e9;
  padding: 15px 20px;
  font-family: var(--condensed);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.7px;
  border: 1px solid var(--accent);
}
.primary:hover {
  background: #1b1d20;
}
.outline {
  background: #132a2d33;
  border: 1px solid #d9e3cb66;
  padding: 13px 17px;
  font-family: var(--condensed);
  font-size: 14px;
  letter-spacing: 1px;
}
.outline:hover {
  background: #d5e0c51c;
  border-color: var(--ivory);
}
.full {
  width: 100%;
  margin-top: 14px;
}
.text-button {
  background: none;
  padding: 17px 0;
  font-size: 9px;
  letter-spacing: 0.8px;
  color: var(--mint);
  text-align: left;
}
.text-button:hover {
  color: var(--accent-fg, #f4f1e7);
}
.orbit-tip {
  position: absolute;
  bottom: 18px;
  left: 30%;
  font-size: 9px;
  color: #d1dcc7;
  letter-spacing: 0.6px;
}
.orbit-tip i {
  margin: 0 15px;
  color: #a8b9a2;
}
.orbit-tip kbd {
  margin-right: 4px;
}
.settings-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  padding: 1px;
}
.settings-panel {
  background: #142b2e99;
  border: 1px solid #d0dbc330;
  padding: 24px;
}
.settings-panel h2 {
  font-size: 20px;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.settings-panel h2 small {
  float: right;
  font:
    7px "Barlow",
    Arial,
    sans-serif;
  letter-spacing: 1px;
  color: var(--mint);
  margin-top: 7px;
}
.quality-buttons {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.quality-buttons button {
  flex: 1;
  background: transparent;
  border: 1px solid #dce5c855;
  padding: 9px;
  font-size: 10px;
  letter-spacing: 1px;
}
.quality-buttons button.active {
  background: var(--ivory);
  color: var(--ink);
}
.range-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.range-wrap output {
  width: 25px;
  font-size: 10px;
  color: var(--mint);
  text-align: right;
}
input[type="range"] {
  width: 115px;
  accent-color: var(--mint);
  height: 3px;
}
.controls-title {
  margin-top: 24px;
}
.control-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 18px;
}
.control-list > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 9px;
  color: #bfcbb8;
}
.control-list kbd {
  align-self: start;
}
.map-main {
  display: flex;
  flex-direction: column;
}
.map-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.map-top h1 {
  font-size: 49px;
  margin-bottom: 0;
}
.map-top .eyebrow {
  margin-bottom: 10px;
}
.map-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.map-actions .primary {
  padding: 12px 20px;
}
.map-frame {
  flex: 1;
  min-height: 300px;
  border: 1px solid #cedbb845;
  position: relative;
  overflow: hidden;
}
.map-frame canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  cursor: crosshair;
  touch-action: none;
}
.map-legend {
  position: absolute;
  top: 20px;
  left: 22px;
  display: flex;
  gap: 24px;
  font-size: 8px;
  letter-spacing: 1px;
  pointer-events: none;
}
.legend-dot {
  display: inline-block;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  background: #a9d8c7;
  margin-right: 6px;
}
.garage-dot {
  background: #f4e9d0;
}
.race-dot {
  background: #1b1d20;
}
.map-zoom {
  position: absolute;
  right: 20px;
  bottom: 45px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.map-zoom button {
  background: #173033cc;
  border: 1px solid #d8e1c966;
  padding: 7px 11px;
}
.map-help {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 13px 20px;
  background: #162c2de6;
  font-size: 8px;
  letter-spacing: 1.1px;
  color: #c3d0b8;
}
.map-help i {
  margin: 0 13px;
}
.profile-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid #d5dfc53d;
  background: #17303480;
  margin-top: 35px;
}
.profile-stats > div {
  padding: 24px;
  border-right: 1px solid #d5dfc53d;
}
.profile-stats small {
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--mint);
}
.profile-stats strong {
  display: block;
  font-family: var(--condensed);
  font-size: 29px;
  font-weight: 500;
  margin-top: 15px;
}
.profile-name {
  font-size: 8px;
  letter-spacing: 1px;
}
.profile-name input {
  display: block;
  margin-top: 7px;
  background: #152d3099;
  border: 1px solid #c2d1b944;
  padding: 11px;
  color: var(--ivory);
  width: 210px;
}
.records {
  margin-top: 30px;
}
.records h2 {
  font-size: 19px;
  letter-spacing: 1px;
}
.records > div {
  display: flex;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid #d1dec32c;
  font-size: 12px;
}
.records > div > span {
  flex: 1;
}
.records > div > b {
  font-family: var(--condensed);
  font-size: 18px;
  font-weight: 500;
}
.asset-credit {
  font-size: 9px;
  color: #a8b9a5;
  line-height: 1.6;
  margin-top: 23px;
}
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 35px;
}
.challenge-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 29px;
  min-height: 345px;
  border: 1px solid #d1dcb955;
  display: flex;
  flex-direction: column;
  background: #1c3438;
}
.challenge-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(#182f3388, #142a2df5 65%);
  z-index: -1;
}
.challenge-card h2 {
  font-size: 37px;
  font-style: italic;
  line-height: 1;
  margin-top: 40px;
}
.challenge-card > p:not(.eyebrow) {
  font-size: 12px;
  color: #d0dcc3;
}
.challenge-progress {
  height: 3px;
  background: #cfdfbf44;
  margin-top: auto;
  margin-bottom: 10px;
}
.challenge-progress i {
  display: block;
  background: var(--mint);
  height: 3px;
}
.challenge-card > small {
  font-size: 10px;
  color: #c6d5ba;
}
.pause-scrim {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d202bbb;
  backdrop-filter: blur(5px);
}
.pause-panel,
.result-panel {
  padding: 42px;
  background: #172d30ed;
  border: 1px solid #c9d7c23b;
  width: 390px;
}
.pause-panel h1 {
  font-size: 66px;
}
.pause-panel > p:not(.eyebrow) {
  font-size: 12px;
  color: #c3d0bd;
  margin-bottom: 28px;
}
.result-panel {
  width: 580px;
}
.result-panel h1 {
  font-size: 75px;
}
.result-stats {
  display: flex;
  justify-content: space-between;
  border-block: 1px solid #d8e4c344;
  padding: 23px 0;
  margin-bottom: 25px;
}
.result-stats small {
  font-size: 8px;
  color: var(--mint);
  letter-spacing: 0.8px;
}
.result-stats b {
  display: block;
  font-family: var(--condensed);
  font-size: 32px;
  font-weight: 500;
  margin-top: 7px;
}
.hud {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #0e232b40, transparent 25%);
  color: #f8f3df;
}
.world-label {
  position: absolute;
  top: 34px;
  left: 36px;
  font-size: 9px;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.world-label > i {
  font-style: normal;
  color: #dedfcc99;
}
.race-status {
  position: absolute;
  left: 36px;
  top: 78px;
  width: 235px;
}
.race-status > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.race-status strong {
  font-family: var(--condensed);
  font-size: 65px;
  font-weight: 500;
  line-height: 1;
  font-style: italic;
}
.race-status strong small {
  font-size: 30px;
}
.race-status > div > span {
  font-family: var(--condensed);
  font-size: 20px;
  font-style: italic;
}
.race-status p {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 9px;
  margin: 13px 0;
  border-bottom: 1px solid #e8ead638;
  padding-bottom: 9px;
  letter-spacing: 0.6px;
}
.race-status p b {
  font-weight: 600;
}
.race-status p.race-objective {
  border: 0;
  color: var(--mint);
  font-size: 8px;
}
#countdown {
  position: absolute;
  top: 30%;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--condensed);
  font-size: 100px;
  font-weight: 600;
  font-style: italic;
}
.minimap-area {
  position: absolute;
  bottom: 76px;
  left: 35px;
  display: flex;
  align-items: end;
  gap: 14px;
}
#minimap {
  width: 200px;
  height: 200px;
  border-radius: 50%;
}
.gps-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}
.gps-copy b {
  font-family: var(--condensed);
  font-size: 22px;
  font-weight: 500;
}
.gps-copy span {
  font-size: 10px;
  color: #e5e7d4;
  max-width: 160px;
}
.speedometer {
  position: absolute;
  bottom: 62px;
  right: 36px;
  width: 240px;
  height: 220px;
}
.speedometer svg {
  position: absolute;
  width: 240px;
  height: 180px;
  top: 0;
  color: #f0f0d5a0;
  overflow: visible;
}
.rpm-track {
  fill: none;
  stroke: #e0e9cf4a;
  stroke-width: 1.5;
}
#rpm-arc {
  fill: none;
  stroke: var(--ivory);
  stroke-width: 3;
  stroke-dasharray: 10 100;
  transition: stroke-dasharray 0.06s;
}
.instruments {
  position: absolute;
  left: 28px;
  right: 25px;
  top: 75px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.instruments > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 14px;
}
.instruments #gear {
  font-family: var(--condensed);
  font-size: 39px;
  font-style: italic;
}
.instruments > div > small {
  font-size: 7px;
  letter-spacing: 1px;
  color: #e0e4cc;
}
#speed {
  font-family: var(--condensed);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -3px;
  font-size: 80px;
  line-height: 1;
}
.unit {
  position: absolute;
  bottom: -15px;
  right: 6px;
  font-size: 10px;
  color: #e2e9d0;
  letter-spacing: 1px;
}
.assists {
  position: absolute;
  bottom: 13px;
  left: 28px;
  right: 20px;
  display: flex;
  gap: 12px;
  font-size: 8px;
  letter-spacing: 1px;
  color: #e1e7cf88;
}
.assists span.active {
  color: var(--accent-fg, #f4f1e7);
}
.assists span:last-child {
  margin-left: auto;
}
.drive-controls {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: 8px;
  letter-spacing: 0.4px;
  color: #e1e7cfbd;
}
.drive-controls kbd {
  margin-right: 5px;
}
.touch-controls {
  display: none;
}
#toast {
  position: fixed;
  bottom: 75px;
  left: 50%;
  transform: translate(-50%, 15px);
  background: #153237ed;
  border: 1px solid #b1ceb477;
  border-left: 3px solid var(--accent);
  padding: 14px 24px;
  font-size: 12px;
  color: var(--ivory);
  opacity: 0;
  transition: 0.25s;
  pointer-events: none;
  z-index: 100;
  max-width: 80vw;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
#loading {
  position: fixed;
  inset: 0;
  background: #142b30;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s;
}
#loading.complete {
  opacity: 0;
  pointer-events: none;
}
.wordmark {
  font-family: var(--condensed);
  font-size: 140px;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -6px;
  line-height: 0.8;
}
.wordmark > span {
  display: block;
  font-family: "Barlow", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 6px;
  font-style: normal;
  margin-top: 25px;
  text-align: center;
}
.loading-bottom {
  position: absolute;
  bottom: 13%;
  width: 280px;
}
.loading-bottom > p {
  font-size: 9px;
  letter-spacing: 2px;
}
.load-track {
  height: 2px;
  background: #a6c2b030;
  margin-bottom: 15px;
}
.load-track > i {
  display: block;
  height: 2px;
  background: var(--accent);
  width: 0;
  transition: width 0.4s;
}
.loading-bottom > small {
  font-size: 10px;
  color: #b9c8b8;
}
.error-details {
  white-space: pre-wrap;
  font: 12px monospace;
  color: #d8d8d4;
  max-width: 80vw;
}
button {
  touch-action: manipulation;
}
::-webkit-scrollbar {
  height: 4px;
  width: 4px;
}
::-webkit-scrollbar-thumb {
  background: #9daf99;
}
::selection {
  background: var(--accent);
  color: var(--ivory);
}
@media (min-width: 1600px) {
  .home-main {
    padding-top: 48px;
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-meta {
    font-size: 10px;
  }
  .home-cards {
    gap: 15px;
  }
  .card-stack {
    gap: 15px;
  }
  .card-content strong {
    font-size: 36px;
  }
  .large .card-content strong {
    font-size: 62px;
  }
  .card-stack .card-content strong {
    font-size: 33px;
  }
  .card-tag {
    font-size: 10px;
  }
  .card-stack .card-tag {
    font-size: 9px;
  }
  .card-content small {
    font-size: 12px;
  }
  .car-caption {
    bottom: calc(32vh + 36px);
  }
  .garage-panel {
    width: 360px;
  }
  .settings-panel {
    padding: 28px;
  }
  .setting-row {
    min-height: 50px;
  }
  .event-card {
    max-width: 430px;
  }
  .event-copy h2 {
    font-size: 48px;
  }
}
@media (max-height: 760px) {
  .topbar {
    height: 77px;
  }
  .topnav {
    height: 49px;
  }
  .home-main {
    padding-top: 16px;
  }
  .hero-copy h1 {
    font-size: 53px;
    margin-bottom: 14px;
  }
  .hero-description {
    font-size: 11px;
    line-height: 1.5;
  }
  .hero-meta {
    margin-top: 12px;
  }
  .home-cards {
    min-height: 185px;
    height: 31vh;
    margin-top: 16px;
  }
  .menu-footer {
    height: 49px;
  }
  .car-caption {
    bottom: calc(31vh + 18px);
  }
  .page-main {
    padding-top: 20px;
  }
  .page-heading {
    margin-bottom: 18px;
  }
  .page-heading h1 {
    font-size: 46px;
  }
  .event-card {
    height: 49vh;
    min-height: 290px;
  }
  .event-copy h2 {
    font-size: 30px;
  }
  .event-copy {
    margin-bottom: 17px;
  }
  .event-pills {
    margin: 15px 0;
  }
  .settings-panel {
    padding: 18px;
  }
  .setting-row {
    min-height: 38px;
  }
  .garage-main {
    padding-top: 26px;
  }
  .garage-title h1 {
    font-size: 47px;
  }
  .garage-panel {
    top: 14px;
    padding: 17px 20px;
  }
  .spec-grid {
    gap: 13px;
    padding: 16px 0;
  }
  .spec-grid strong {
    font-size: 21px;
  }
  .panel-title {
    padding-bottom: 12px;
  }
  .paint-section {
    padding: 14px 0;
  }
  .garage-panel .primary {
    padding: 10px 16px;
  }
  .garage-panel .text-button {
    font-size: 8px;
    padding: 12px 0;
  }
  .garage-panel .setting-row {
    min-height: 37px;
  }
  .garage-panel .stat-bar {
    margin-bottom: 10px;
  }
  .challenge-card {
    min-height: 300px;
  }
  .challenge-card h2 {
    margin-top: 20px;
  }
  .minimap-area {
    bottom: 62px;
  }
  .speedometer {
    bottom: 43px;
  }
}
@media (max-width: 1050px) {
  .menu-shell {
    padding: 0 3%;
  }
  .topbar {
    gap: 20px;
  }
  .brand {
    min-width: 100px;
    font-size: 38px;
  }
  .brand span {
    font-size: 7px;
    letter-spacing: 1.4px;
  }
  .progression {
    display: none;
  }
  .player-info > span {
    display: none;
  }
  .topnav button {
    padding: 0 11px;
    font-size: 14px;
    letter-spacing: 1px;
  }
  .nav-right {
    font-size: 7px;
    letter-spacing: 0.7px;
  }
  .hero-copy h1 {
    font-size: 53px;
  }
  .home-cards {
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 8px;
  }
  .card-stack {
    gap: 8px;
  }
  .card-tag {
    font-size: 7px;
    letter-spacing: 0.8px;
  }
  .card-stack .card-tag {
    font-size: 6px;
  }
  .card-content {
    left: 14px;
    right: 18px;
  }
  .menu-card {
    padding: 16px 14px;
  }
  .menu-card.selected,
  .menu-card:hover {
    padding: 15px 13px;
  }
  .large .card-content strong {
    font-size: 40px;
  }
  .card-content strong {
    font-size: 26px;
  }
  .card-content small {
    font-size: 8px;
  }
  .card-stack .menu-card {
    padding: 13px;
  }
  .card-stack .card-content strong {
    font-size: 22px;
  }
  .menu-footer > span {
    font-size: 7px;
  }
  .event-card {
    flex-basis: 32%;
    min-width: 240px;
  }
  .garage-panel {
    width: 282px;
  }
  .garage-title h1 {
    font-size: 43px;
  }
  .settings-panel {
    padding: 18px;
  }
  .profile-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .profile-stats > div {
    padding: 15px;
  }
  .profile-stats strong {
    margin-top: 9px;
  }
  .challenge-card {
    padding: 20px;
  }
  .challenge-card h2 {
    font-size: 30px;
  }
  .orbit-tip {
    left: 22%;
    font-size: 8px;
  }
}
@media (max-width: 760px) {
  .topbar {
    height: 67px;
    gap: 12px;
  }
  .brand {
    font-size: 33px;
    min-width: 86px;
  }
  .brand span {
    font-size: 6px;
  }
  .player-strip {
    gap: 6px;
  }
  .player-info,
  .divider,
  .current-car small,
  .rating {
    display: none;
  }
  .current-car b {
    font-size: 14px;
  }
  .class-badge {
    font-size: 11px;
    padding: 4px;
  }
  .level {
    height: 29px;
    width: 27px;
    font-size: 18px;
  }
  .wallet small {
    font-size: 7px;
  }
  .wallet > b {
    font-size: 15px;
  }
  .wallet > b > span {
    font-size: 8px;
  }
  .topnav {
    height: 47px;
    overflow-x: auto;
    gap: 2px;
    scrollbar-width: none;
  }
  .topnav button {
    font-size: 13px;
    padding: 0 10px;
    flex: none;
  }
  .nav-right {
    display: none;
  }
  .home-main {
    overflow-y: auto;
  }
  .hero-copy h1 {
    font-size: 47px;
  }
  .hero-description {
    font-size: 10px;
  }
  .hero-meta {
    font-size: 7px;
    gap: 8px;
  }
  .hero-meta span + span:before {
    margin-right: 8px;
  }
  .car-caption {
    display: none;
  }
  .home-cards {
    grid-template-columns: 1fr 1fr;
    min-height: 350px;
    max-height: none;
    height: auto;
    margin-top: 100px;
    gap: 8px;
  }
  .home-cards > .menu-card:last-child {
    grid-column: auto;
    grid-row: auto;
  }
  .home-cards > .menu-card.large {
    grid-column: auto;
    grid-row: auto;
  }
  .card-stack {
    grid-row: 2;
    min-height: 170px;
  }
  .home-cards > .menu-card {
    min-height: 180px;
  }
  .home-cards > .menu-card .card-tag {
    position: absolute;
    top: 16px;
    left: 14px;
    right: 14px;
  }
  .card-content small {
    font-size: 9px;
  }
  .card-stack .card-tag {
    display: none;
  }
  .card-stack .menu-card {
    min-height: 80px;
  }
  .menu-footer {
    height: 43px;
  }
  .menu-footer > span {
    display: none;
  }
  .menu-footer > div {
    gap: 15px;
    font-size: 8px;
  }
  .page-heading {
    align-items: start;
  }
  .page-heading h1 {
    font-size: 39px;
  }
  .page-heading > p {
    display: none;
  }
  .filter-row {
    overflow-x: auto;
    white-space: nowrap;
  }
  .filter-row button {
    flex: none;
    padding: 7px 9px;
    font-size: 8px;
  }
  .event-browser {
    height: calc(100% - 150px);
  }
  .event-card {
    min-width: 245px;
    flex-basis: 78%;
    height: 100%;
    min-height: 300px;
  }
  .settings-columns {
    grid-template-columns: 1fr;
  }
  .garage-main {
    overflow-y: auto;
  }
  .garage-title h1 {
    font-size: 37px;
  }
  .garage-panel {
    position: relative;
    width: 100%;
    margin-top: 215px;
    top: auto;
    bottom: auto;
  }
  .garage-panel .spec-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .orbit-tip {
    top: 185px;
    bottom: auto;
    left: 0;
  }
  .map-top {
    display: block;
  }
  .map-actions {
    margin-top: 18px;
    gap: 8px;
  }
  .map-actions button {
    font-size: 10px;
    padding: 9px;
  }
  .map-top h1 {
    font-size: 40px;
  }
  .map-legend {
    font-size: 6px;
    gap: 10px;
    left: 12px;
  }
  .map-help {
    font-size: 6px;
    padding: 10px;
  }
  .map-help i {
    margin: 0 4px;
  }
  .profile-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .profile-name input {
    width: 125px;
  }
  .challenge-grid {
    grid-template-columns: 1fr;
  }
  .challenge-card {
    min-height: 285px;
  }
  .world-label {
    top: 20px;
    left: 20px;
    font-size: 7px;
    gap: 7px;
  }
  #minimap {
    width: 135px;
    height: 135px;
  }
  .minimap-area {
    left: 18px;
    bottom: 45px;
  }
  .gps-copy {
    display: none;
  }
  .speedometer {
    transform: scale(0.75);
    transform-origin: bottom right;
    right: 10px;
    bottom: 25px;
  }
  .race-status {
    left: 20px;
    top: 48px;
    transform: scale(0.8);
    transform-origin: top left;
  }
  .drive-controls {
    font-size: 6px;
    gap: 8px;
    bottom: 15px;
  }
  .drive-controls > span:nth-child(2) {
    display: none;
  }
  .drive-controls kbd {
    font-size: 6px;
    padding: 2px;
  }
  .pause-panel,
  .result-panel {
    max-width: 90vw;
    padding: 27px;
  }
  .result-panel h1 {
    font-size: 56px;
  }
  .result-stats b {
    font-size: 24px;
  }
  .result-stats small {
    font-size: 7px;
  }
}
@media (pointer: coarse) {
  .touch-controls {
    display: flex;
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 12px;
    gap: 8px;
  }
  .touch-controls button {
    background: #17353b99;
    border: 1px solid #d9e5c977;
    padding: 15px clamp(10px, 2vw, 20px);
    min-width: 44px;
    min-height: 48px;
    touch-action: none;
    user-select: none;
    font-size: 12px;
  }
  .touch-controls button:nth-child(3) {
    margin-left: auto;
  }
  .minimap-area {
    bottom: 85px;
  }
  .speedometer {
    bottom: 70px;
  }
  .drive-controls {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  button,
  .menu-card:before,
  .event-card:before,
  #toast {
    transition: none;
  }
  .menu-card:hover {
    transform: none;
  }
}
.home-main .car-caption {
  top: 30px;
  bottom: auto;
}
.hud:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 440px;
  height: 330px;
  pointer-events: none;
  background: radial-gradient(ellipse at top left, #0b252b80, transparent 72%);
}
.topbar,
.topnav {
  position: relative;
}
.home-shell .topbar:before,
.garage-shell .topbar:before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 0 -5% -62px;
  background: linear-gradient(#10252a80, transparent);
}
dialog.car-design-preview {
  width: min(1100px, 92vw);
  padding: 16px;
  background: #101b1e;
  color: #eff0e9;
  border: 1px solid #586865;
}
dialog.car-design-preview::backdrop {
  background: #000c;
}
dialog.car-design-preview img {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  margin-bottom: 12px;
}

/* Static presentation stays in the stylesheet; values use native progress controls. */
[data-art="coast"] {
  --card-image: url("../image/lobby/solstice-map-v4.avif");
}
[data-art="circuit"] {
  --card-image: url("../image/lobby/solstice-lobby-v4.avif");
}
.swatch[data-value="#ffb624"] {
  background: #ffb624;
}
.swatch[data-value="#c84b2c"] {
  background: #c84b2c;
}
.swatch[data-value="#e8d9bd"] {
  background: #e8d9bd;
}
.swatch[data-value="#224c54"] {
  background: #224c54;
}
.swatch[data-value="#252b31"] {
  background: #252b31;
}
.swatch[data-value="#a9b5b0"] {
  background: #a9b5b0;
}
.swatch[data-value="#d5a039"] {
  background: #d5a039;
}
.rank-progress,
.stat-bar progress,
progress.challenge-progress {
  appearance: none;
  border: 0;
  border-radius: 0;
  height: 4px;
  padding: 0;
  background: #ffffff24;
  color: var(--accent-fg, #f4f1e7);
}
.rank-progress,
progress.challenge-progress {
  display: block;
  width: 100%;
}
.rank-progress {
  margin-top: 6px;
}
.stat-bar progress {
  width: 100%;
  min-width: 0;
}
progress.challenge-progress {
  height: 5px;
  margin: 20px 0 12px;
}
:is(
  .rank-progress,
  .stat-bar progress,
  progress.challenge-progress
)::-webkit-progress-bar {
  background: #ffffff24;
}
:is(
  .rank-progress,
  .stat-bar progress,
  progress.challenge-progress
)::-webkit-progress-value {
  background: var(--accent);
}
:is(
  .rank-progress,
  .stat-bar progress,
  progress.challenge-progress
)::-moz-progress-bar {
  background: var(--accent);
}
