:root {
  --glass: rgba(27, 27, 42, 0.9);
  --line: rgba(220, 211, 248, 0.17);
  --rose: #ffa7c8;
  --cool: #d2b7ff;
  --paper: #f7f4ff;
}
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.mast {
  background: linear-gradient(105deg, #191622, #141620 60%, #221d30);
  border-color: var(--line);
  gap: 12px;
}
.mast nav {
  height: 42px;
  align-self: center;
  align-items: stretch;
  padding: 3px;
  border: 1px solid var(--line);
  background: #ffffff08;
  border-radius: 24px;
  gap: 2px;
}
.nav-button {
  border-radius: 20px;
  padding: 0 15px;
}
.nav-button.active {
  color: #ffe6ef;
  background: #543244;
  box-shadow: inset 0 1px 0 #ffffff1f;
}
.nav-button.active:after {
  display: none;
}
.brand-second {
  margin-left: 1px;
}
.mast-progress,
#campaigns-open {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff09;
  color: var(--paper);
  min-height: 36px;
  padding: 0 12px;
}
#campaigns-open {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 650;
  font-size: 13px;
}
#campaigns-open .ic {
  color: var(--cool);
  width: 17px;
}
.cover {
  border-radius: 17px;
  box-shadow: 0 5px 20px #0e06173b;
}
.cover-type strong {
  text-shadow: 0 2px 15px #30032188;
}
#sidebar {
  background: linear-gradient(160deg, #252133, #1b1a28 45%, #171722);
  border-color: var(--line);
}
.search,
.type-select,
.progress-card,
.detail,
.options-box,
dialog,
.feature {
  border-radius: 16px;
}
.search,
.type-select {
  background: #10101970;
}
.cat {
  border-radius: 12px;
}
.cat:hover {
  background: #ffffff0b;
}
.progress-card {
  background: linear-gradient(120deg, #3c293f, #292738);
  border-color: #695267;
}
.region-select,
.live-count,
.tool,
.map-tools .zoom-tools,
.mobile-map-controls button {
  background: #211d31ec;
  box-shadow:
    inset 0 1px 0 #ffffff17,
    0 4px 15px #08071330;
  border-color: #65576c;
  border-radius: 15px;
}
.zoom-tools .tool {
  box-shadow: none;
}
.detail,
.options-box,
dialog {
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(1.12);
  border: 1px solid #685970;
  box-shadow: 0 18px 60px #07061070;
}
.map-top .live-count {
  border-radius: 99px;
}
.side-shortcuts,
.point-tools {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.side-shortcuts {
  margin-top: 14px;
}
.side-shortcuts a,
.side-shortcuts button,
.point-tools button,
.studio button,
.studio-menu a,
.studio-menu button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #ffffff09;
  color: var(--paper);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.side-shortcuts .ic,
.point-tools .ic {
  width: 15px;
  color: var(--rose);
}
.point-tools {
  margin: 14px 0;
}
.point-tools button[aria-pressed="true"] {
  background: #573e61;
}
.studio-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 4px 0 22px;
}
.studio-menu :is(button, a) {
  justify-content: flex-start;
  min-height: 53px;
  text-align: left;
}
.studio-menu .ic {
  color: var(--rose);
}
.studio-menu :nth-child(3n + 2) .ic {
  color: #bdb2ff;
}
.studio-menu :nth-child(3n) .ic {
  color: #83dec8;
}
#intent-summary {
  color: var(--cool);
  font-size: 12px;
  margin: 8px 0;
}
#intent-summary:empty {
  display: none;
}
#map-labels {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}
#markers {
  z-index: 3;
}
#map-labels span {
  position: absolute;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  color: white;
  letter-spacing: 0.025em;
  font:
    650 11px/1.2 -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  text-shadow:
    -1px -1px 1px #211d29,
    1px -1px 1px #211d29,
    -1px 1px 1px #211d29,
    1px 1px 1px #211d29,
    0 1px 4px black;
}
#map-labels .label-region {
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: #271e389e;
  padding: 2px 5px;
  border-radius: 4px;
}
#map-labels .label-place {
  font-size: 10px;
}
.studio {
  color: #f6f1fa;
}
.studio > p,
.studio article p {
  font-size: 13px;
  line-height: 1.5;
  color: #cec6d8;
  margin: 7px 0 12px;
}
.studio h3 {
  margin: 12px 0 6px;
}
.studio article {
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.studio article small,
.studio strong {
  color: var(--rose);
}
.studio article button {
  margin: 0 5px 2px 0;
}
.studio label {
  font-size: 13px;
}
.studio :is(input:not([type="checkbox"]), textarea, select) {
  width: 100%;
  min-width: 0;
  background: #181824;
  border: 1px solid #61566b;
  border-radius: 8px;
  color: #fff;
  font: inherit;
  padding: 8px;
}
.studio textarea {
  min-height: 88px;
}
.studio-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.studio-controls label {
  flex: 1 1 115px;
}
.studio-controls label,
.studio form > label,
.compare label {
  display: grid;
  gap: 4px;
}
.studio form {
  display: grid;
  gap: 7px;
  margin-top: 20px;
}
.studio a {
  color: #ffbad4;
}
.studio progress {
  width: 100%;
  accent-color: #ff9ac3;
}
.goal-row,
.garage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.goal-row label {
  display: block;
}
.goal-counter {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 11px;
  gap: 4px;
  color: #cfc7d8;
}
.goal-counter input {
  max-width: 80px;
  text-align: right;
}
.studio .inline-btn {
  font-size: 11px;
  color: var(--rose);
  background: none;
  border: 0;
  padding: 3px 0;
}
.goal-section {
  margin: 18px 0;
}
.compare {
  table-layout: fixed;
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
.compare th,
.compare td {
  padding: 7px 4px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.compare th:first-child {
  width: 24%;
  color: #d9cfe3;
}
.compare td button {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
}
.studio-source {
  font-size: 12px;
}
.privacy-link {
  font: inherit;
  color: inherit;
  pointer-events: auto;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 1020px) {
  .mast-product,
  .mast-divider {
    display: none;
  }
  .mast nav {
    left: 46%;
  }
}
@media (max-width: 720px) {
  .mast {
    gap: 5px;
    padding-inline: 10px;
  }
  .mast nav {
    padding: 2px;
    height: 42px;
    gap: 0;
  }
  .nav-button {
    padding: 0 8px;
  }
  .brand {
    font-size: 24px;
  }
  .brand img {
    height: 33px;
    width: 33px;
  }
  #campaigns-open {
    min-width: 34px;
    height: 36px;
    justify-content: center;
    padding: 0 7px;
  }
  #campaigns-open span {
    display: none;
  }
  .studio-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .detail .detail-actions {
    position: static;
  }
  .mobile-map-controls button {
    border-radius: 18px;
  }
  .detail {
    border-radius: 20px 20px 10px 10px;
  }
  .studio button {
    min-height: 36px;
  }
  .studio .inline-btn {
    min-height: 24px;
  }
  .goal-counter input {
    max-width: 64px;
  }
  .map-footer {
    gap: 4px;
  }
  .map-footer .privacy-link {
    font-size: 9px;
  }
}
@media (max-width: 350px) {
  .brand img {
    width: 27px;
    height: 27px;
  }
  .brand {
    font-size: 21px;
  }
  .nav-button {
    padding: 0 5px;
  }
}
#map-plane {
  z-index: 0;
}
#markers {
  z-index: 1;
}
#map-labels {
  z-index: 2;
}
.map-top,
#quick-collections,
.north,
#feature-wrap,
.map-tools,
.map-footer,
.map-empty,
.mobile-map-controls {
  z-index: 4;
}
.options-box {
  z-index: 6;
}
.detail {
  z-index: 5;
}
#map-labels .label-highway {
  font:
    700 10px/1.15 -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: #fff;
  background: #254e86;
  border: 1px solid #fff;
  border-top: 3px solid #b74c62;
  border-radius: 3px 3px 5px 5px;
  padding: 1px 3px;
  text-shadow: none;
}
#map-labels .label-road {
  font-style: italic;
}
.car-selectors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}
.car-selectors label {
  display: grid;
  min-width: 0;
  gap: 3px;
}
.car-selectors small {
  font-size: 12px;
  color: var(--cool);
  overflow-wrap: anywhere;
}
.car-coverage {
  display: flex;
  align-items: center;
  gap: 5px;
}
.compare th:first-child {
  width: 30%;
  overflow-wrap: normal;
}
.compare :is(th, td) {
  word-break: normal;
}
@media (max-width: 520px) {
  .car-selectors {
    grid-template-columns: 1fr;
  }
  .compare th:first-child {
    width: 31%;
  }
}
