@layer layout {
@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  --bg: #f5f3ee;
  --card: #fffdf8;
  --ink: #272532;
  --muted: #6b6873;
  --mint: #7b4337;
  --peach: #eeb39c;
  --line: #dcd8d1;
  --dark: #171522;
  --mono: Manrope, Arial, sans-serif;
  --head: Manrope, Arial, sans-serif;
  --body: Manrope, Arial, sans-serif;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  color: inherit;
}
a,
button {
  touch-action: manipulation;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
a:hover {
  color: var(--mint);
}
button:hover {
  color: var(--mint);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #ab654d;
  outline-offset: 4px;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--head);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.2;
  text-wrap: balance;
}
h1 {
  font-size: 52px;
}
h2 {
  font-size: 30px;
}
h3 {
  font-size: 20px;
}
p {
  margin-block: 14px;
  color: var(--muted);
}
em {
  font-style: normal;
  color: inherit;
}
small {
  font-size: 13px;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}
[hidden] {
  display: none !important;
}
.container {
  max-width: 1280px;
  width: calc(100% - 80px);
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  transform: translateY(-200%);
  z-index: 999;
  background: var(--card);
  padding: 12px;
}
.skip-link:focus {
  transform: none;
}
.eyebrow,
.mono {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.025em;
}
.eyebrow {
  display: block;
  color: var(--muted);
  margin-bottom: 14px;
}
.slash {
  margin: 0 10px;
}
.eyebrow:empty {
  display: none;
}
.tag {
  display: inline-flex;
  align-items: center;
  background: #ebe6df;
  color: #514d57;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
}
.tag.mint {
  background: #e0e9dc;
  color: #3d573b;
}
.preview-line {
  background: #24212e;
  color: #d9d4dc;
  font-size: 11px;
  letter-spacing: 0.045em;
}
.preview-line .container {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.preview-line b {
  margin-inline: 10px;
  color: #706b79;
}
.preview-line i,
.meta i,
.hero-bottom i {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--peach);
  border-radius: 50%;
  margin-right: 8px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #faf8f3f5;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.05;
  color: var(--ink);
}
.brand > span:last-child > span {
  display: block;
}
.brand-mark {
  height: 42px;
  width: 42px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-mark img {
  width: 100%;
  height: 100%;
}
.brand-dot {
  display: none !important;
}
.primary-nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}
.primary-nav a {
  position: relative;
  padding-block: 30px;
}
.primary-nav a[aria-current] {
  color: var(--mint);
}
.primary-nav a[aria-current]:after {
  content: "";
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--mint);
}
.progress-link {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 9px 13px;
  border-radius: 6px;
}
.progress-link svg {
  width: 17px;
  height: 17px;
}
.saved-dot {
  width: 5px;
  height: 5px;
  background: #7a876d;
  border-radius: 50%;
}
.menu-button {
  display: none;
  padding: 10px;
  line-height: 1;
}
.menu-button svg {
  width: 24px;
  height: 24px;
}
.mobile-nav {
  border-top: 1px solid var(--line);
  padding: 16px 24px;
  background: var(--card);
}
.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
}
.home-hero {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  background: var(--dark);
  color: #fff7eb;
  overflow: hidden;
}
.hero-art,
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.hero-image {
  object-fit: cover;
  object-position: center 60%;
}
.hero-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #171522e8 0%, #171522a6 35%, #17152200 72%),
    linear-gradient(0deg, #17152275, transparent 35%);
  z-index: 1;
}
.hero-content {
  padding-block: 76px 52px;
  position: relative;
}
.home-hero .eyebrow {
  color: #e3bcaa;
  margin-bottom: 22px;
  font-size: 13px;
}
.home-hero h1 {
  max-width: 530px;
  font-size: 56px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.045em;
}
.home-hero h1 em {
  color: #efb49d;
}
.home-hero p {
  color: #e0d5d5;
  max-width: 450px;
  font-size: 16px;
  line-height: 1.75;
  margin-block: 24px;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.hero-search {
  display: flex;
  width: 400px;
  max-width: 100%;
  background: #fff7eb;
  border-radius: 6px;
  overflow: hidden;
  margin: 0;
}
.hero-search input {
  border: 0;
  min-width: 0;
  flex: 1;
  color: #282432;
  background: transparent;
  padding: 16px 18px;
  font-size: 15px;
  min-height: 54px;
  outline-offset: -4px;
}
.hero-search button {
  width: 54px;
  background: #eeb39c;
  color: #272532;
  font-size: 24px;
}
.home-hero .text-link {
  color: #edc5b4;
  font-size: 13px;
  border-bottom: 1px solid #edc5b477;
  padding-bottom: 4px;
}
.hero-bottom {
  display: flex;
  gap: 22px;
  font-size: 11px;
  color: #c8bfc5;
  margin-top: 34px;
  letter-spacing: 0.035em;
}
.hero-bottom a {
  color: #c8bfc5;
}
.hero-caption {
  position: absolute;
  bottom: 16px;
  right: 30px;
  font-size: 10px;
  color: #dcd1d1;
}
.hero-coordinate {
  display: none;
}
.quick-routes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
  gap: 0;
}
.quick-routes a {
  position: relative;
  padding: 0 24px;
  border-right: 1px solid var(--line);
}
.quick-routes a:first-child {
  padding-left: 0;
}
.quick-routes a:last-child {
  border: 0;
}
.quick-routes span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}
.quick-routes strong {
  font-weight: 500;
  font-size: 15px;
  display: block;
  max-width: 95%;
}
.quick-routes b {
  position: absolute;
  right: 14px;
  top: 4px;
  font-size: 18px;
  font-weight: 400;
}
.collection-strip {
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
  padding-block: 23px;
  font-size: 12px;
  color: var(--muted);
}
.collection-strip > div:first-child {
  margin-right: auto;
  color: var(--ink);
}
.collection-strip small {
  margin-left: 14px;
  color: var(--muted);
  font-size: 12px;
}
.collection-strip b {
  font-size: 15px;
  color: var(--ink);
}
.mint-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #75816c;
  border-radius: 50%;
  margin-right: 8px;
}
.thin-progress {
  height: 3px;
  background: var(--line);
  overflow: hidden;
}
.thin-progress span {
  display: block;
  height: 100%;
  background: #8e6e56;
  width: 0;
}
.collection-strip .thin-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.database {
  padding-block: 54px 32px;
  scroll-margin-top: 105px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 26px;
}
.section-heading .eyebrow {
  display: none;
}
.section-heading h2 {
  display: flex;
  align-items: center;
  gap: 14px;
}
.count {
  font-size: 14px;
  font-weight: 500;
  background: #e8e3dc;
  border-radius: 4px;
  padding: 4px 8px;
  letter-spacing: 0;
}
.view-controls {
  display: flex;
  gap: 3px;
  background: #e8e3dc;
  padding: 3px;
  border-radius: 5px;
}
.view-controls button {
  width: 38px;
  height: 36px;
  display: grid;
  place-items: center;
}
.view-controls svg {
  width: 19px;
  height: 19px;
}
.view-controls button[aria-pressed="true"] {
  background: var(--card);
  border-radius: 3px;
  box-shadow: 0 1px 3px #0000000e;
}
.database-toolbar {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  padding-inline: 16px;
  min-height: 52px;
  border-radius: 6px;
  flex: 1;
}
.search-box > span {
  font-size: 24px;
  line-height: 1;
}
.search-box input {
  border: 0;
  background: none;
  width: 100%;
  min-width: 0;
  padding: 12px 0;
  outline-offset: 0;
  font-size: 15px;
}
.search-box kbd {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 0 5px;
  border-radius: 3px;
}
select {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  padding: 12px 36px 12px 14px;
  border-radius: 5px;
  max-width: 100%;
  font-size: 14px;
  min-height: 46px;
}
.select-label select {
  height: 52px;
}
.filter-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.filter-tabs button {
  font-size: 13px;
  white-space: nowrap;
  padding: 9px 14px;
  min-height: 42px;
  border-radius: 5px;
  color: var(--muted);
}
.filter-tabs button[aria-pressed="true"] {
  background: var(--dark);
  color: var(--bg);
}
.filter-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-block: 18px 24px;
  font-size: 12px;
  color: var(--muted);
}
.filter-bottom p {
  font-size: 12px;
  margin: 0;
  white-space: nowrap;
}
.secondary-filters {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.secondary-filters label {
  display: flex;
  align-items: center;
  gap: 7px;
}
.secondary-filters select {
  font-size: 12px;
  min-height: 38px;
  padding-block: 7px;
}
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 20px;
}
.vehicle-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  overflow: hidden;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}
.vehicle-card:hover {
  border-color: #b1a89c;
  box-shadow: 0 6px 20px #28202c08;
}
.car-art {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background: #eae7e1;
}
.car-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.vehicle-card:hover .car-art img {
  transform: scale(1.035);
}
.car-number {
  position: absolute;
  top: 12px;
  left: 14px;
  font-size: 10px;
  color: #6a6470;
  z-index: 2;
  letter-spacing: 0.08em;
}
.save-car {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 3;
  width: 42px;
  height: 42px;
  color: #645c68;
  display: grid;
  place-items: center;
}
.save-car svg {
  width: 20px;
  height: 20px;
  fill: transparent;
}
.save-car[aria-pressed="true"] svg {
  fill: #9b5c49;
  color: #9b5c49;
}
.art-caption {
  display: none;
}
.car-info {
  padding: 18px 18px 0;
}
.car-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
  gap: 8px;
  letter-spacing: 0.01em;
}
.status-inline {
  font-size: 10px;
}
.car-info h3 {
  font-size: 18px;
  font-weight: 600;
  min-height: 48px;
  letter-spacing: -0.02em;
}
.car-open {
  padding: 0;
  text-align: left;
  width: 100%;
  line-height: 1.35;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  justify-content: space-between;
  min-height: 48px;
}
.car-open > span {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  flex-shrink: 0;
}
.vehicle-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  font-size: 10px;
  color: var(--muted);
  margin: 16px 0 18px;
  letter-spacing: 0.03em;
}
.vehicle-values b {
  display: block;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 4px;
}
.vehicle-values small {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.vehicle-values > span:last-child b {
  font-size: 13px;
  line-height: 1.9;
}
.car-checks {
  display: flex;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-block: 13px;
  flex-wrap: wrap;
}
.check-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  min-height: 26px;
  cursor: pointer;
}
.check-label input,
input[type="checkbox"] {
  accent-color: #8d5847;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin: 0;
  cursor: pointer;
}
.card-dossier {
  display: block;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--mint);
  padding-block: 11px;
}
.table-view {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.table-view .vehicle-card {
  display: grid;
  grid-template-columns: 140px 1fr;
}
.table-view .car-art {
  height: 100%;
  aspect-ratio: auto;
  min-height: 145px;
}
.table-view .car-number {
  display: none;
}
.table-view .car-info {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 8px 24px;
  padding: 18px;
}
.table-view .car-meta {
  grid-column: 1;
  margin: 0;
}
.table-view h3 {
  grid-column: 1;
  min-height: auto;
}
.table-view .car-open {
  min-height: auto;
}
.table-view .vehicle-values {
  grid-column: 2;
  grid-row: 1/3;
  margin: 0;
  align-self: center;
}
.table-view .car-checks {
  grid-column: 3;
  grid-row: 1/3;
  border: 0;
  padding: 0;
  align-self: center;
}
.table-view .card-dossier {
  grid-column: 1/-1;
  padding-bottom: 0;
}
.data-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 20px;
}
.data-note a,
.prose a,
.source-box a,
.text-link {
  color: var(--mint);
  text-decoration: underline;
  text-decoration-color: #bda99b;
  text-underline-offset: 4px;
}
.empty-state {
  padding: 60px 24px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 5px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  background: var(--card);
  line-height: 1.4;
  text-align: center;
}
.button.primary {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff7eb;
}
.button.primary:hover {
  background: #3a303c;
}
.button.secondary {
  background: transparent;
}
.button.danger-button {
  background: #8d342e;
  color: white;
  border-color: #8d342e;
}
.inline-actions {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 24px;
  font-size: 14px;
  flex-wrap: wrap;
}
.editorial-banner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: var(--dark);
  color: #f9eee4;
  border-radius: 10px;
  overflow: hidden;
  margin-block: 28px 72px;
}
.editorial-banner > div:first-child {
  padding: 54px;
}
.editorial-banner .eyebrow {
  color: #d9b5a4;
}
.editorial-banner h2 {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.17;
}
.editorial-banner p {
  color: #c9c0c8;
  margin: 22px 0 26px;
  font-size: 15px;
  max-width: 360px;
}
.editorial-banner .button {
  background: #eeb39c;
  border-color: #eeb39c;
  color: #282432;
}
.garage-art {
  position: relative;
  background: url("/assets/leonida-garage.webp") center/cover;
  min-height: 390px;
}
.garage-art > span {
  position: absolute;
  bottom: 16px;
  left: 20px;
  font-size: 10px;
  color: #fff5e7;
}
.explore-section {
  padding-bottom: 30px;
}
.section-heading > a {
  font-size: 13px;
  color: var(--mint);
}
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.link-card {
  position: relative;
  display: block;
  border-top: 1px solid var(--line);
  padding: 24px 30px 24px 0;
  min-height: 180px;
}
.link-card > .mono {
  color: var(--muted);
  display: block;
  margin-bottom: 20px;
}
.link-card h3 {
  font-size: 23px;
  margin-bottom: 12px;
  font-weight: 500;
}
.link-card p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.link-arrow {
  position: absolute;
  top: 22px;
  right: 8px;
  font-size: 20px;
  color: var(--muted);
}
.faq {
  padding-block: 30px 50px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 24px 0;
  font-size: 16px;
  font-weight: 500;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details p {
  max-width: 800px;
  margin: 0 0 24px;
  font-size: 15px;
}
.faq summary > span {
  font-size: 22px;
  font-weight: 400;
}
.source-box {
  border-top: 1px solid var(--line);
  padding-block: 36px 48px;
}
.source-box h2 {
  font-size: 22px;
}
.source-box > p {
  font-size: 13px;
}
.source-box ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 36px;
  margin-top: 25px;
}
.source-box li {
  font-size: 13px;
}
.source-box li span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
}
.source-directory li {
  margin-block: 24px;
}
.source-directory p {
  font-size: 14px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.footer-top .brand {
  color: #f7ede1;
  font-size: 22px;
}
.footer-top p {
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #f7ede1;
  line-height: 1.4;
}
.footer-top p span {
  color: #aba3b2;
}
.footer-top > a:last-child {
  font-size: 11px;
  color: #d0c4c2;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  margin-block: 32px;
  color: #d2c7d3;
}
.disclaimer {
  font-size: 12px;
  max-width: 850px;
  color: #a69dac;
  line-height: 1.8;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #ffffff24;
  padding-block: 24px;
  margin-top: 28px;
  font-size: 10px;
  color: #9d94a4;
  letter-spacing: 0.04em;
}
footer {
  background: var(--dark);
  padding-top: 56px;
  margin-top: 36px;
}
.sub-hero {
  border-bottom: 1px solid var(--line);
  background: #eeebe5;
}
.sub-hero .container {
  padding-block: 26px 48px;
}
.breadcrumbs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 34px;
}
.sub-hero > .container > .eyebrow {
  display: none;
}
.sub-hero h1 {
  max-width: 950px;
  font-size: 44px;
  font-weight: 500;
}
.sub-hero p {
  font-size: 16px;
  max-width: 760px;
  margin-block: 20px;
  line-height: 1.7;
}
.meta {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 26px;
}
.meta a {
  font-size: 12px;
}
.content-section {
  padding-block: 48px;
}
.tool-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 46px;
}
.panel,
.result-panel {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 8px;
  padding: 30px;
  min-width: 0;
}
.panel h2 {
  font-size: 27px;
}
.panel h3 {
  font-size: 20px;
}
.panel p {
  font-size: 15px;
}
.result-panel {
  background: var(--dark);
  color: #f6ecdf;
  border-color: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 350px;
}
.result-panel .eyebrow {
  color: #d0b7a9;
}
.result-panel h2 {
  font-size: 43px;
  font-weight: 500;
}
.result-panel p {
  font-size: 16px;
  color: #d1c6d4;
}
.result-panel a {
  color: #eeb39c;
  font-size: 14px;
}
.result-panel small {
  color: #b4aab7;
  font-size: 13px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 26px;
}
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}
.form-grid input:not([type="checkbox"]),
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fffdf8;
  color: var(--ink);
  border-radius: 5px;
  padding: 12px;
  font-size: 15px;
  min-height: 48px;
}
.form-grid input[type="checkbox"] {
  display: inline-block;
  margin-right: 8px;
}
.form-grid .span-two {
  grid-column: 1/-1;
}
.form-grid label:has(input[type="checkbox"]) {
  display: block;
  font-weight: 400;
}
.form-grid textarea {
  resize: vertical;
}
.callout {
  font-size: 14px;
  padding: 18px 22px;
  border-left: 3px solid #a2765d;
  background: #eee9e1;
  margin-bottom: 28px;
  line-height: 1.8;
}
.garage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.garage-card {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 24px;
  background: var(--card);
}
.garage-card .eyebrow {
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}
.garage-card h3 {
  font-size: 21px;
  min-height: 52px;
}
.garage-card p {
  font-size: 13px;
  margin-block: 10px;
}
.garage-card strong {
  display: block;
  font-size: 29px;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin-block: 26px 20px;
}
.garage-card .check-label {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  width: 100%;
}
.budget-total {
  text-align: right;
  flex-shrink: 0;
}
.budget-total small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.04em;
}
.budget-total b {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.section-space {
  margin-top: 42px;
}
.prose {
  max-width: 800px;
  line-height: 1.85;
}
.prose h2 {
  font-size: 29px;
  margin-block: 38px 18px;
}
.prose h3 {
  font-size: 20px;
  margin-block: 28px 12px;
  letter-spacing: -0.02em;
}
.prose p {
  font-size: 16px;
  line-height: 1.85;
  margin-block: 16px;
}
.prose li {
  margin-bottom: 12px;
}
.content-section.prose {
  margin-inline: auto;
}
.data-list {
  border-top: 1px solid var(--line);
  margin-top: 25px;
}
.safe-row,
.operation-row,
.cheat-row,
.mission-row {
  padding: 25px 20px;
  border-bottom: 1px solid var(--line);
  display: grid;
  align-items: center;
  gap: 22px;
  background: #faf8f2;
}
.safe-row:nth-child(even),
.operation-row:nth-child(even),
.cheat-row:nth-child(even),
.mission-row:nth-child(even) {
  background: #f1eee8;
}
.safe-row {
  grid-template-columns: 1.2fr 0.65fr 1fr;
}
.safe-row h3,
.operation-row h3,
.cheat-title h3 {
  font-size: 21px;
}
.safe-row p {
  font-size: 13px;
  margin-block: 7px;
}
.safe-row .eyebrow,
.operation-row .eyebrow {
  font-size: 11px;
  margin-bottom: 7px;
}
.safe-code code {
  font: 500 30px/1.2 var(--body);
  letter-spacing: 0.13em;
}
.safe-code button {
  display: block;
  font-size: 12px;
  color: var(--mint);
  margin-top: 10px;
  padding: 0;
  min-height: 30px;
}
.safe-row > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.operation-row {
  grid-template-columns: 50px 1.6fr 0.8fr 0.7fr;
}
.operation-icon {
  width: 40px;
  height: 40px;
  padding: 8px;
  color: var(--muted);
}
.operation-row a {
  font-size: 13px;
  color: var(--mint);
}
.list-empty {
  padding: 35px;
}
.platform-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  width: fit-content;
  margin-bottom: 26px;
}
.platform-switch a {
  padding: 12px 20px;
  font-size: 13px;
}
.platform-switch a[aria-current] {
  background: var(--dark);
  color: var(--bg);
}
.controller-note {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 26px 0;
}
.controller-symbol {
  display: none;
}
.controller-note h2 {
  font-size: 24px;
}
.controller-note p {
  font-size: 14px;
}
.controller-note kbd {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 7px;
  font-size: 13px;
}
.cheat-row {
  grid-template-columns: 1fr 1.5fr 110px;
}
.cheat-title .tag {
  margin-top: 10px;
}
.cheat-row p {
  font-size: 13px;
  margin: 10px 0;
}
.code-sequence {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.code-sequence kbd {
  display: grid;
  place-items: center;
  width: 29px;
  height: 33px;
  border: 1px solid #c9c1b9;
  background: var(--card);
  border-radius: 4px;
  font: 500 18px var(--body);
  box-shadow: 0 2px 0 #d8d0c9;
}
.story-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
}
.spoiler-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.chapter-overview {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-block: 30px;
}
.chapter-tile {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  padding: 18px 20px;
  border-radius: 6px;
  background: var(--card);
}
.chapter-tile b {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin-block: 5px;
}
.chapter-tile > span:last-child {
  font-size: 11px;
  letter-spacing: 0.02em;
}
.chapter-tile.highlight {
  border-color: #a47a62;
}
.story-progress {
  margin-block: 25px;
}
.mission-row {
  grid-template-columns: 35px 1fr 120px;
}
.mission-row .mono {
  font-size: 12px;
  color: var(--muted);
}
.mission-row .eyebrow {
  font-size: 10px;
  margin-bottom: 5px;
}
.mission-row h3 {
  font-size: 18px;
}
.spoiler-cover {
  color: var(--muted);
  font-weight: 400;
}
.ending-tool {
  margin-block: 30px;
  max-width: 800px;
}
.ending-tool label {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}
.ending-tool select {
  margin-bottom: 20px;
}
.spoiler-detail {
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-block: 25px;
  max-width: 800px;
  background: var(--card);
}
.spoiler-detail > summary {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 15px;
  font-weight: 500;
}
.spoiler-detail summary > span {
  font-size: 11px;
  color: var(--mint);
}
.spoiler-detail > div {
  padding: 0 25px 25px;
}
.progress-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.progress-card .eyebrow {
  min-height: 25px;
}
.progress-card strong {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.05em;
  display: block;
  margin-block: 12px 18px;
}
.progress-card strong small {
  font-size: 18px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.progress-card > span:last-child {
  font-size: 12px;
  color: var(--mint);
}
.file-button {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.file-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.guide-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--card);
}
.guide-art {
  height: 220px;
  position: relative;
  background: #e7e1d9;
  overflow: hidden;
}
.guide-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.guide-art .mono {
  position: absolute;
  top: 20px;
  left: 22px;
  z-index: 2;
  font-size: 11px;
}
.guide-art svg {
  display: none;
}
.guide-card > div:last-child {
  padding: 28px;
}
.guide-card h3 {
  font-size: 25px;
  font-weight: 500;
}
.guide-card p {
  font-size: 15px;
}
.guide-card .text-link {
  font-size: 13px;
}
.article-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 72px;
  padding-block: 46px;
}
.article-toc {
  position: sticky;
  top: 120px;
  align-self: start;
}
.article-toc > a {
  font-size: 13px;
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.6;
}
.article-toc .text-link {
  margin-top: 26px;
}
.article-body {
  max-width: 760px;
}
.article-body .article-lead {
  font-size: 20px;
  line-height: 1.7;
  margin-top: 0;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.article-body section {
  scroll-margin-top: 120px;
}
.car-detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 45px;
  align-items: start;
  margin-bottom: 50px;
}
.car-detail-art {
  position: relative;
  background: #eae7e1;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.car-detail-art img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.car-detail-art > span {
  position: absolute;
  bottom: 12px;
  left: 16px;
  font-size: 9px;
  color: #736b74;
}
.car-detail-layout h2 {
  font-size: 28px;
}
.car-detail-layout p {
  font-size: 15px;
}
.detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.detail-stats span {
  font-size: 12px;
  color: var(--muted);
}
.detail-stats b {
  font-size: 20px;
  font-weight: 500;
  display: block;
  margin-block: 6px 12px;
}
.stat-bar {
  height: 3px;
  background: var(--line);
}
.stat-bar i {
  display: block;
  height: 100%;
  background: #9a765f;
}
.car-detail-layout .car-checks {
  margin-block: 20px;
}
.dossier {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.dossier dt {
  font-size: 12px;
  color: var(--muted);
}
.dossier dd {
  margin: 6px 0 0;
  font-size: 15px;
}
.dossier dd small {
  font-size: 12px;
}
.dossier-art {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  border-radius: 6px;
  margin-bottom: 24px;
}
dialog {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  max-width: 650px;
  width: calc(100% - 40px);
  background: var(--bg);
  color: var(--ink);
  max-height: 90dvh;
  overflow-y: auto;
  box-shadow: 0 20px 80px #17152240;
}
dialog::backdrop {
  background: #171522b3;
  backdrop-filter: blur(5px);
}
dialog h2 {
  font-size: 30px;
  padding-right: 20px;
}
dialog h3 {
  font-size: 20px;
}
dialog p {
  font-size: 14px;
}
dialog > a {
  font-size: 13px;
  color: var(--mint);
}
.dialog-close {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 40px;
  height: 40px;
  font-size: 29px;
}
.toast {
  position: fixed;
  z-index: 100;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #24212e;
  color: #fff3e6;
  padding: 15px 23px;
  border: 1px solid #615261;
  border-radius: 6px;
  box-shadow: 0 5px 35px #0002;
  font-size: 13px;
  max-width: calc(100% - 32px);
  width: max-content;
}
.compare-tray {
  position: sticky;
  bottom: 14px;
  z-index: 20;
  margin: 20px auto;
  background: var(--dark);
  color: #fff3e6;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 8px;
  box-shadow: 0 6px 30px #17152230;
  font-size: 13px;
}
.compare-tray .button {
  min-height: 38px;
  padding: 8px 14px;
  background: #eeb39c;
  color: #292431;
  border-color: #eeb39c;
}
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.compare-grid article {
  min-width: 0;
}
.compare-grid h3 {
  font-size: 18px;
}
.compare-grid img {
  border-radius: 6px;
  margin-bottom: 16px;
}
.compare-grid dt {
  font-size: 11px;
  color: var(--muted);
  margin-top: 14px;
}
.compare-grid dd {
  margin: 3px 0;
  font-size: 14px;
}
.region-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.region-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: var(--card);
  min-height: 200px;
}
.region-card h3 {
  font-size: 24px;
}
.region-card p {
  font-size: 14px;
}
.region-card .region-symbol {
  font-size: 34px;
  display: block;
  color: #b39377;
  margin-bottom: 26px;
}
.progress-total {
  padding: 24px 0;
}
.progress-total strong {
  font-size: 30px;
  font-weight: 500;
}
.collection-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 100px;
  gap: 20px;
  padding: 22px 15px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.collection-row h3 {
  font-size: 18px;
}
.collection-row p {
  font-size: 13px;
  margin: 6px 0;
}
.collection-row input[type="number"] {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card);
}
.puzzle-rows {
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 12px;
}
.puzzle-rows label {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  gap: 5px;
}
.puzzle-rows input {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card);
}
.puzzle-code {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 0.15em;
}
.timeline {
  border-left: 1px solid var(--line);
  padding-left: 30px;
  max-width: 800px;
}
.timeline article {
  position: relative;
  padding-bottom: 32px;
}
.timeline article:before {
  content: "";
  position: absolute;
  left: -35px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #a67a63;
}
.timeline time {
  font-size: 12px;
  color: var(--muted);
}
.timeline h3 {
  margin-top: 8px;
}
.status-banner {
  padding: 22px 26px;
  background: #e8e4dc;
  border-radius: 7px;
  margin-bottom: 30px;
}
.status-banner h2 {
  font-size: 24px;
}
.status-banner p {
  margin-bottom: 0;
  font-size: 15px;
}
.hardware-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.hardware-summary > div {
  border: 1px solid #fff3;
  padding: 16px;
  border-radius: 5px;
}
.hardware-summary h3 {
  font-size: 18px;
}
.hardware-summary p {
  font-size: 13px;
}
.tool-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.tool-nav a {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 13px;
}
.fact-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.fact-table th,
.fact-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.fact-table th {
  font-weight: 600;
}
.table-scroll {
  overflow-x: auto;
}
.print-button {
  font-size: 13px;
}
.ad-slot {
  display: none;
}
.cookie-settings {
  font-size: 12px;
  text-decoration: underline;
  color: #d2c7d3;
  padding: 0;
}
.consent-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
@media (min-width: 1500px) {
  .home-hero {
    min-height: 600px;
  }
  .hero-content {
    padding-top: 92px;
  }
  .hero-image {
    object-position: center 60%;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 48px);
  }
  .primary-nav {
    gap: 22px;
  }
  .primary-nav a {
    font-size: 13px;
  }
  .progress-link {
    font-size: 12px;
  }
  .vehicle-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 16px;
  }
  .garage-grid,
  .progress-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .car-info {
    padding-inline: 15px;
  }
  .hero-content {
    padding-top: 68px;
  }
  .home-hero h1 {
    font-size: 52px;
  }
  .quick-routes a {
    padding-inline: 16px;
  }
  .quick-routes strong {
    font-size: 13px;
  }
  .quick-routes span {
    font-size: 11px;
  }
  .quick-routes b {
    right: 8px;
  }
  .collection-strip {
    gap: 20px;
  }
  .article-layout {
    gap: 40px;
    grid-template-columns: 200px 1fr;
  }
  .editorial-banner > div:first-child {
    padding: 40px;
  }
  .cheat-row {
    grid-template-columns: 0.9fr 1.4fr 85px;
  }
  .operation-row {
    grid-template-columns: 36px 1.5fr 0.8fr 0.6fr;
  }
}
@media (max-width: 850px) {
  .primary-nav {
    display: none;
  }
  .menu-button {
    display: block;
  }
  .nav-wrap {
    min-height: 74px;
    gap: 16px;
  }
  .progress-link {
    margin-left: auto;
  }
  .home-hero {
    min-height: 540px;
  }
  .hero-art:after {
    background:
      linear-gradient(90deg, #171522ed, #17152266 65%),
      linear-gradient(0deg, #171522c9, transparent 55%);
  }
  .hero-image {
    object-position: 58% 60%;
  }
  .hero-content {
    padding-top: 60px;
  }
  .home-hero h1 {
    font-size: 48px;
    max-width: 450px;
  }
  .hero-caption {
    font-size: 9px;
    right: 20px;
  }
  .collection-strip small {
    display: none;
  }
  .quick-routes {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .quick-routes a:nth-child(3) {
    padding-left: 0;
  }
  .quick-routes a:nth-child(2) {
    border: 0;
  }
  .quick-routes a {
    padding-right: 30px;
  }
  .quick-routes strong {
    font-size: 15px;
  }
  .vehicle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .garage-grid,
  .progress-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tool-layout {
    gap: 20px;
  }
  .panel,
  .result-panel {
    padding: 25px;
  }
  .result-panel h2 {
    font-size: 35px;
  }
  .link-grid {
    gap: 22px;
  }
  .link-card h3 {
    font-size: 20px;
  }
  .link-card p {
    font-size: 13px;
  }
  .editorial-banner {
    grid-template-columns: 1fr 1fr;
  }
  .editorial-banner h2 {
    font-size: 32px;
  }
  .editorial-banner > div:first-child {
    padding: 30px;
  }
  .region-grid {
    grid-template-columns: 1fr 1fr;
  }
  .safe-row {
    grid-template-columns: 1.2fr 0.7fr 0.8fr;
  }
  .safe-row h3 {
    font-size: 18px;
  }
  .cheat-row {
    grid-template-columns: 1fr 1.5fr;
    gap: 20px;
  }
  .cheat-row > .check-label {
    grid-column: 2;
  }
  .chapter-tile {
    padding: 14px;
  }
  .chapter-tile b {
    font-size: 29px;
  }
  .chapter-tile > span:last-child {
    font-size: 10px;
  }
  .car-detail-layout {
    gap: 25px;
  }
  .car-detail-layout h2 {
    font-size: 24px;
  }
  .detail-stats {
    gap: 10px;
  }
  .article-layout {
    grid-template-columns: 170px 1fr;
    gap: 30px;
  }
  .sub-hero h1 {
    font-size: 38px;
  }
  .table-view .car-info {
    grid-template-columns: 1fr 1fr;
  }
  .table-view .car-checks {
    grid-column: 1/-1;
    grid-row: 3;
  }
  .table-view .vehicle-values {
    grid-column: 2;
    grid-row: 1/3;
  }
  .source-box ul {
    gap: 22px;
  }
  .footer-top {
    gap: 25px;
  }
  .footer-top p {
    font-size: 18px;
  }
}
@media (max-width: 600px) {
  .container {
    width: calc(100% - 36px);
  }
  body {
    font-size: 16px;
  }
  .preview-line .container {
    min-height: 25px;
    justify-content: center;
    font-size: 10px;
  }
  .preview-line .container > span:last-child {
    display: none;
  }
  .nav-wrap {
    min-height: 68px;
    gap: 10px;
  }
  .brand {
    font-size: 15px;
    gap: 8px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }
  .progress-link {
    padding: 8px;
    font-size: 12px;
    gap: 5px;
    border: 0;
  }
  .progress-link .saved-dot {
    display: none;
  }
  .progress-link svg {
    width: 16px;
  }
  .menu-button {
    padding: 8px 0 8px 6px;
  }
  .home-hero {
    min-height: 600px;
  }
  .hero-content {
    padding-block: 38px 145px;
  }
  .home-hero .eyebrow {
    font-size: 12px;
    margin-bottom: 18px;
  }
  .home-hero h1 {
    font-size: 39px;
    line-height: 1.12;
    max-width: 360px;
  }
  .home-hero p {
    font-size: 15px;
    max-width: 290px;
    line-height: 1.7;
    margin-block: 20px;
  }
  .desktop {
    display: none;
  }
  .hero-search {
    width: 340px;
  }
  .hero-search input {
    font-size: 14px;
    min-height: 50px;
    padding-left: 14px;
  }
  .hero-search button {
    width: 50px;
  }
  .home-hero .text-link {
    font-size: 12px;
  }
  .hero-bottom {
    gap: 16px;
    font-size: 10px;
    margin-top: 26px;
    flex-wrap: wrap;
  }
  .hero-bottom a {
    display: none;
  }
  .hero-caption {
    font-size: 8px;
    bottom: 12px;
    right: 18px;
    left: 18px;
    text-align: right;
  }
  .hero-image {
    object-position: 65% 78%;
  }
  .hero-art:after {
    background:
      linear-gradient(180deg, #171522c9, #171522b3 45%, #17152200 80%),
      linear-gradient(90deg, #17152255, transparent);
  }
  .quick-routes {
    padding-block: 25px;
    gap: 22px 16px;
  }
  .quick-routes a {
    padding: 0 20px 0 0 !important;
  }
  .quick-routes span {
    font-size: 10px;
    margin-bottom: 6px;
  }
  .quick-routes strong {
    font-size: 13px;
    line-height: 1.5;
    max-width: 145px;
  }
  .quick-routes b {
    right: 4px;
    top: 0;
    font-size: 16px;
  }
  .collection-strip {
    padding-block: 20px;
    gap: 14px;
    font-size: 10px;
    flex-wrap: wrap;
  }
  .collection-strip > div:first-child {
    font-size: 10px;
  }
  .collection-strip > a {
    display: none;
  }
  .collection-strip b {
    font-size: 14px;
  }
  .database {
    padding-top: 34px;
  }
  .section-heading {
    margin-bottom: 22px;
    gap: 16px;
    align-items: flex-start;
  }
  .section-heading h2 {
    font-size: 26px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .section-heading > a {
    font-size: 12px;
  }
  .count {
    font-size: 12px;
  }
  .view-controls button {
    width: 32px;
    height: 32px;
  }
  .view-controls svg {
    width: 16px;
  }
  .database-toolbar {
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
  }
  .search-box {
    min-height: 48px;
    width: 100%;
    flex-basis: 100%;
    padding-inline: 13px;
  }
  .search-box input {
    font-size: 14px;
  }
  .select-label {
    flex: 1;
  }
  .select-label select {
    width: 100%;
    height: 44px;
    min-height: 44px;
    font-size: 12px;
  }
  .filter-tabs {
    gap: 3px;
    padding-bottom: 8px;
  }
  .filter-tabs button {
    font-size: 12px;
    padding-inline: 11px;
  }
  .filter-bottom {
    display: block;
    padding-block: 15px 20px;
  }
  .secondary-filters {
    gap: 12px;
    font-size: 12px;
  }
  .secondary-filters select {
    font-size: 12px;
    flex: 1;
    min-width: 150px;
  }
  .filter-bottom p {
    font-size: 11px;
    margin-top: 13px;
  }
  .vehicle-grid {
    gap: 16px 12px;
  }
  .vehicle-card {
    border-radius: 6px;
  }
  .car-art {
    aspect-ratio: 1.13;
  }
  .car-art img {
    object-fit: cover;
  }
  .car-number {
    left: 9px;
    top: 9px;
    font-size: 8px;
  }
  .save-car {
    right: 0;
    top: 0;
    width: 36px;
    height: 36px;
  }
  .save-car svg {
    width: 17px;
    height: 17px;
  }
  .car-info {
    padding: 13px 11px 0;
  }
  .car-meta {
    font-size: 10px;
    margin-bottom: 8px;
  }
  .car-meta .status-inline {
    display: none;
  }
  .car-info h3 {
    font-size: 15px;
    letter-spacing: -0.025em;
    min-height: 62px;
    line-height: 1.4;
  }
  .car-open {
    min-height: 62px;
    gap: 4px;
  }
  .car-open > span {
    font-size: 12px;
  }
  .vehicle-values {
    gap: 7px;
    font-size: 9px;
    margin-block: 12px;
  }
  .vehicle-values b {
    font-size: 15px;
    margin-top: 3px;
  }
  .vehicle-values small {
    font-size: 9px;
  }
  .vehicle-values > span:last-child b {
    font-size: 11px;
    line-height: 2;
  }
  .car-checks {
    gap: 6px 10px;
    padding-block: 10px;
  }
  .check-label {
    font-size: 11px;
    gap: 6px;
    min-height: 28px;
  }
  .check-label input,
  input[type="checkbox"] {
    width: 15px;
    height: 15px;
  }
  .card-dossier {
    font-size: 10px;
    padding-block: 9px;
  }
  .car-checks .compare-label {
    width: 100%;
    font-size: 10px;
  }
  .data-note {
    font-size: 12px;
  }
  .table-view .vehicle-card {
    grid-template-columns: 85px 1fr;
  }
  .table-view .car-art {
    min-height: 190px;
  }
  .table-view .save-car {
    background: #fff9;
    border-radius: 5px;
  }
  .table-view .car-info {
    padding: 14px;
    gap: 7px 15px;
  }
  .table-view .car-meta {
    grid-column: 1/-1;
  }
  .table-view h3 {
    grid-column: 1/-1;
    min-height: auto;
    font-size: 17px;
  }
  .table-view .car-open {
    min-height: auto;
  }
  .table-view .vehicle-values {
    grid-column: 1/-1;
    grid-row: auto;
    margin: 7px 0;
    display: flex;
    gap: 30px;
  }
  .table-view .car-checks {
    grid-row: auto;
  }
  .table-view .car-checks .compare-label {
    width: auto;
  }
  .table-view .card-dossier {
    padding-top: 8px;
  }
  .editorial-banner {
    grid-template-columns: 1fr;
    margin-block: 20px 45px;
    border-radius: 7px;
  }
  .editorial-banner > div:first-child {
    padding: 30px;
  }
  .editorial-banner h2 {
    font-size: 34px;
  }
  .editorial-banner p {
    font-size: 15px;
  }
  .garage-art {
    min-height: 240px;
  }
  .garage-art > span {
    font-size: 9px;
    left: 17px;
    bottom: 13px;
  }
  .explore-section {
    padding-bottom: 0;
  }
  .link-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .link-card {
    min-height: 150px;
    padding-block: 24px;
  }
  .link-card > .mono {
    font-size: 11px;
    margin-bottom: 12px;
  }
  .link-card h3 {
    font-size: 23px;
  }
  .link-card p {
    font-size: 14px;
    max-width: 95%;
  }
  .faq {
    padding-block: 30px;
  }
  .faq summary {
    font-size: 15px;
    padding-block: 21px;
    line-height: 1.6;
  }
  .faq details p {
    font-size: 14px;
    line-height: 1.8;
  }
  .source-box {
    padding-block: 28px 32px;
  }
  .source-box ul {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .source-box h2 {
    font-size: 22px;
  }
  .source-box li {
    font-size: 13px;
  }
  .source-box li span {
    font-size: 12px;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 25px;
  }
  .footer-top .brand {
    font-size: 21px;
  }
  .footer-top p {
    font-size: 20px;
  }
  .footer-top > a:last-child {
    font-size: 11px;
  }
  .footer-links {
    gap: 16px;
    font-size: 12px;
    margin-block: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 9px;
    font-size: 9px;
    padding-block: 22px;
  }
  .disclaimer {
    font-size: 11px;
  }
  footer {
    padding-top: 34px;
    margin-top: 25px;
  }
  .sub-hero .container {
    padding-block: 20px 30px;
  }
  .breadcrumbs {
    font-size: 11px;
    gap: 8px;
    margin-bottom: 25px;
  }
  .sub-hero h1 {
    font-size: 34px;
    line-height: 1.15;
  }
  .sub-hero p {
    font-size: 15px;
    line-height: 1.8;
    margin-block: 18px;
  }
  .meta {
    font-size: 10px;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 22px;
  }
  .meta a {
    font-size: 11px;
  }
  .content-section {
    padding-block: 30px;
  }
  .tool-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }
  .panel,
  .result-panel {
    padding: 24px;
  }
  .panel h2 {
    font-size: 25px;
  }
  .panel p {
    font-size: 15px;
  }
  .result-panel {
    min-height: 270px;
  }
  .result-panel h2 {
    font-size: 35px;
  }
  .result-panel p {
    font-size: 15px;
  }
  .form-grid {
    gap: 18px;
  }
  .form-grid label {
    font-size: 13px;
  }
  .form-grid input:not([type="checkbox"]),
  .form-grid select,
  .form-grid textarea {
    font-size: 16px;
  }
  .form-grid > label:not(.span-two) {
    grid-column: 1/-1;
  }
  .form-grid button {
    font-size: 14px;
  }
  .garage-grid {
    gap: 14px;
  }
  .garage-card {
    padding: 19px 14px;
  }
  .garage-card h3 {
    font-size: 18px;
    min-height: 48px;
  }
  .garage-card .eyebrow {
    font-size: 10px;
    margin-bottom: 23px;
  }
  .garage-card p {
    font-size: 12px;
  }
  .garage-card strong {
    font-size: 25px;
    margin-block: 20px 16px;
  }
  .garage-card .check-label {
    font-size: 11px;
  }
  .budget-total b {
    font-size: 26px;
  }
  .budget-total small {
    font-size: 9px;
    max-width: 130px;
  }
  .callout {
    font-size: 13px;
    padding: 17px;
  }
  .inline-actions {
    gap: 16px;
  }
  .inline-actions > a:not(.button) {
    font-size: 13px;
  }
  .prose h2 {
    font-size: 26px;
    margin-top: 32px;
  }
  .prose h3 {
    font-size: 19px;
  }
  .prose p {
    font-size: 16px;
  }
  .safe-row {
    grid-template-columns: 1fr 95px;
    padding: 22px 15px;
    gap: 17px;
  }
  .safe-row h3 {
    font-size: 19px;
  }
  .safe-row p {
    font-size: 12px;
  }
  .safe-code code {
    font-size: 25px;
  }
  .safe-row > div:last-child {
    grid-column: 1/-1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .safe-code button {
    font-size: 12px;
  }
  .operation-row {
    grid-template-columns: 1fr 90px;
    padding: 22px 15px;
    gap: 12px;
  }
  .operation-icon {
    display: none;
  }
  .operation-row h3 {
    font-size: 20px;
  }
  .operation-row .eyebrow {
    font-size: 10px;
  }
  .operation-row > a {
    grid-column: 1;
    font-size: 12px;
  }
  .operation-row .check-label {
    grid-column: 2;
    grid-row: 1/3;
    font-size: 11px;
  }
  .platform-switch {
    width: 100%;
  }
  .platform-switch a {
    flex: 1;
    text-align: center;
    font-size: 12px;
    padding: 11px 8px;
  }
  .controller-note {
    gap: 15px;
  }
  .controller-note h2 {
    font-size: 24px;
  }
  .controller-note p {
    font-size: 14px;
  }
  .cheat-row {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 22px 16px;
  }
  .cheat-title h3 {
    font-size: 22px;
  }
  .cheat-title .tag {
    font-size: 11px;
  }
  .cheat-row > .check-label {
    grid-column: 1;
  }
  .code-sequence {
    gap: 4px;
  }
  .code-sequence kbd {
    width: 25px;
    height: 31px;
    font-size: 17px;
  }
  .cheat-row p {
    font-size: 13px;
  }
  .story-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .spoiler-toggle {
    font-size: 13px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .chapter-overview {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    margin-block: 24px;
  }
  .chapter-tile {
    padding: 10px 7px;
  }
  .chapter-tile .mono {
    font-size: 8px;
  }
  .chapter-tile b {
    font-size: 26px;
  }
  .chapter-tile > span:last-child {
    font-size: 8px;
    line-height: 1.6;
    word-break: normal;
  }
  .mission-row {
    gap: 12px;
    padding: 18px 13px;
    grid-template-columns: 20px 1fr 80px;
  }
  .mission-row h3 {
    font-size: 16px;
  }
  .mission-row .mono {
    font-size: 10px;
  }
  .mission-row .check-label {
    font-size: 10px;
  }
  .ending-tool select {
    font-size: 15px;
    width: 100%;
  }
  .spoiler-detail > summary {
    padding: 18px;
    font-size: 14px;
    flex-direction: column;
    gap: 8px;
  }
  .spoiler-detail > div {
    padding-inline: 18px;
  }
  .progress-cards {
    gap: 14px;
  }
  .progress-card {
    padding: 20px 15px;
  }
  .progress-card .eyebrow {
    font-size: 11px;
    min-height: 30px;
    margin-bottom: 6px;
  }
  .progress-card strong {
    font-size: 34px;
  }
  .progress-card strong small {
    font-size: 16px;
  }
  .progress-card > span:last-child {
    font-size: 11px;
  }
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .guide-art {
    height: 200px;
  }
  .guide-card > div:last-child {
    padding: 24px;
  }
  .guide-card h3 {
    font-size: 25px;
  }
  .guide-card p {
    font-size: 15px;
  }
  .article-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 30px;
  }
  .article-toc {
    position: static;
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
  }
  .article-toc > a {
    font-size: 13px;
    margin-bottom: 12px;
  }
  .article-body .article-lead {
    font-size: 19px;
  }
  .article-body h2 {
    font-size: 26px;
  }
  .article-body p {
    font-size: 16px;
  }
  .car-detail-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .car-detail-art {
    aspect-ratio: 4/3;
  }
  .car-detail-art > span {
    font-size: 8px;
    left: 14px;
  }
  .car-detail-layout h2 {
    font-size: 26px;
  }
  .car-detail-layout p {
    font-size: 15px;
  }
  .detail-stats {
    gap: 14px;
  }
  .detail-stats span {
    font-size: 11px;
  }
  .detail-stats b {
    font-size: 18px;
  }
  dialog {
    padding: 28px 22px;
  }
  dialog h2 {
    font-size: 27px;
  }
  dialog .dossier {
    gap: 12px;
    grid-template-columns: 1fr 1fr;
  }
  dialog .dossier dt {
    font-size: 11px;
  }
  .toast {
    font-size: 12px;
    padding: 14px 17px;
  }
  .source-directory {
    padding-left: 18px;
  }
  .region-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .region-card {
    min-height: 160px;
    padding: 24px;
  }
  .region-card .region-symbol {
    margin-bottom: 16px;
  }
  .collection-row {
    grid-template-columns: 1fr 85px;
    gap: 15px;
    padding: 20px 10px;
  }
  .collection-row > div:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }
  .collection-row > label {
    grid-column: 2;
    grid-row: 1/3;
  }
  .collection-row h3 {
    font-size: 17px;
  }
  .puzzle-code {
    font-size: 34px;
  }
  .timeline {
    padding-left: 24px;
  }
  .timeline article:before {
    left: -29px;
  }
  .hardware-summary {
    grid-template-columns: 1fr;
  }
  .compare-tray {
    font-size: 12px;
    padding: 13px 15px;
    gap: 10px;
  }
  .compare-tray .button {
    font-size: 12px;
    white-space: nowrap;
  }
  .compare-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .compare-grid article {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
  }
  .compare-grid h3 {
    font-size: 17px;
  }
  .compare-grid dl {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .compare-grid dd {
    margin: 0;
  }
  .compare-grid dt {
    margin: 0;
  }
  .fact-table th,
  .fact-table td {
    padding: 12px;
    font-size: 13px;
  }
  .status-banner {
    padding: 20px;
  }
  .status-banner h2 {
    font-size: 22px;
  }
}
@media (max-width: 360px) {
  .container {
    width: calc(100% - 28px);
  }
  .brand {
    font-size: 13px;
  }
  .brand-mark {
    width: 32px;
    height: 32px;
  }
  .progress-link {
    font-size: 11px;
  }
  .home-hero h1 {
    font-size: 35px;
  }
  .car-info h3 {
    font-size: 14px;
  }
  .vehicle-values {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .vehicle-values b {
    display: inline;
    font-size: 14px;
    margin-left: 5px;
  }
  .vehicle-values > span:last-child b {
    font-size: 11px;
  }
  .car-checks {
    flex-direction: column;
    gap: 0;
  }
  .secondary-filters select {
    min-width: 130px;
  }
  .count {
    padding: 3px 6px;
  }
  .section-heading h2 {
    font-size: 24px;
  }
  .garage-card h3 {
    font-size: 16px;
  }
  .garage-card .check-label {
    font-size: 10px;
  }
  .quick-routes strong {
    font-size: 12px;
  }
  .chapter-tile {
    padding-inline: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .site-header,
  .preview-line,
  footer,
  .hero-art,
  .hero-actions,
  .hero-caption,
  .hero-bottom,
  .view-controls,
  .database-toolbar,
  .filter-tabs,
  .filter-bottom,
  .save-car,
  .compare-tray,
  .inline-actions,
  dialog,
  .toast,
  .print-button {
    display: none !important;
  }
  body {
    background: white;
    color: black;
    font-size: 11pt;
  }
  .container {
    width: 100%;
  }
  .home-hero {
    min-height: 0;
    background: white;
    color: black;
    padding: 0;
  }
  .hero-content {
    padding: 0;
  }
  .home-hero p {
    color: black;
  }
  .vehicle-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .vehicle-card {
    break-inside: avoid;
  }
  .sub-hero {
    background: white;
  }
  .content-section {
    padding: 15px 0;
  }
  .source-box {
    break-before: page;
  }
  a {
    text-decoration: underline;
  }
  .panel,
  .result-panel {
    background: white;
    color: black;
  }
  .result-panel p {
    color: black;
  }
  .collection-row {
    break-inside: avoid;
  }
}
.home-hero {
  min-height: 380px;
}
.hero-content {
  padding-block: 40px 34px;
}
.home-hero h1 {
  font-size: 50px;
}
.home-hero p {
  margin-block: 18px;
  font-size: 15px;
}
.hero-actions {
  gap: 13px;
}
.hero-tool-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #e4c4b8;
}
.hero-tool-links a {
  border-bottom: 1px solid #e4c4b855;
  padding-bottom: 2px;
}
.collection-strip {
  padding-block: 18px;
}
.database {
  padding-top: 36px;
}
.copy-directions {
  font-size: 12px;
  color: var(--mint);
  padding: 10px 0 2px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.region-card {
  padding: 0;
  overflow: hidden;
}
.region-card img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
}
.region-card > div {
  padding: 24px;
}
.region-card p {
  font-size: 14px;
}
.collection-row input[data-stunt-note] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px;
  background: var(--card);
  font-size: 14px;
}
.collection-row .challenge-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.list-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.list-controls select {
  flex: 1;
}
@media (min-width: 1500px) {
  .home-hero {
    min-height: 420px;
  }
  .hero-content {
    padding-top: 54px;
  }
}
@media (max-width: 850px) {
  .home-hero {
    min-height: 420px;
  }
  .home-hero h1 {
    font-size: 46px;
  }
  .hero-tool-links {
    gap: 15px;
  }
}
@media (max-width: 600px) {
  .home-hero {
    min-height: 480px;
  }
  .hero-content {
    padding-block: 36px 80px;
  }
  .home-hero h1 {
    font-size: 38px;
    max-width: 340px;
  }
  .home-hero p {
    font-size: 15px;
    max-width: 300px;
  }
  .hero-tool-links {
    font-size: 11px;
    gap: 13px;
  }
  .hero-image {
    object-position: 65% 78%;
  }
  .hero-art:after {
    background:
      linear-gradient(180deg, #171522d9, #171522b3 42%, #17152200 90%),
      linear-gradient(90deg, #17152255, transparent);
  }
  .region-card > div {
    padding: 22px;
  }
  .collection-row input[data-stunt-note] {
    font-size: 16px;
  }
  .collection-row .challenge-note {
    font-size: 12px;
  }
  .filter-bottom #cheat-status-filter {
    margin-top: 12px;
    width: 100%;
  }
}
@media (max-width: 360px) {
  .home-hero h1 {
    font-size: 34px;
  }
  .hero-tool-links {
    font-size: 10px;
    gap: 11px;
  }
}
button.card-dossier {
  width: 100%;
  text-align: left;
  min-height: 39px;
}
.database-toolbar:has(#list-region) {
  flex-wrap: wrap;
}
.database-toolbar:has(#list-region) .search-box {
  flex-basis: 45%;
  min-width: 220px;
}
.database-toolbar:has(#list-region) > select {
  flex: 1;
}
.home-hero h1 {
  max-width: 600px;
}
@media (max-width: 600px) {
  .database-toolbar:has(#list-region) .search-box {
    flex-basis: 100%;
  }
  .database-toolbar:has(#list-region) > select {
    min-width: 130px;
  }
}
.search-icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  color: var(--muted);
}
input::placeholder,
textarea::placeholder {
  color: #746d75;
  opacity: 1;
}
/* Native checkboxes keep their semantics; the whole label is the touch target. */
label:has(> input[type="checkbox"]) {
  position: relative;
  min-height: 44px;
  padding-left: 24px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0;
}
label:has(> input[type="checkbox"]) > input[type="checkbox"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 44px;
  margin: 0;
  opacity: 0;
  z-index: 1;
  cursor: pointer;
}
label:has(> input[type="checkbox"]):before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 15px;
  width: 15px;
  border: 1px solid #8c8288;
  border-radius: 3px;
  background: var(--card);
  pointer-events: none;
}
label:has(> input[type="checkbox"]:checked):before {
  background: #805143
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='%23fff8ef' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/13px no-repeat;
  border-color: #805143;
}
label:has(> input[type="checkbox"]:focus-visible) {
  outline: 3px solid #ab654d;
  outline-offset: 3px;
}
.car-checks {
  gap: 0 14px;
}
.car-checks .compare-label {
  margin: 0;
}
.save-car {
  width: 44px;
  height: 44px;
}
.card-dossier {
  min-height: 44px;
  display: flex;
  align-items: center;
}
button.card-dossier {
  min-height: 44px;
}
.filter-tabs button {
  min-height: 44px;
}
.secondary-filters select {
  min-height: 44px;
}
.view-controls button {
  width: 40px;
  height: 40px;
}
.progress-link {
  min-height: 44px;
}
@media (max-width: 600px) {
  .car-checks {
    gap: 0 7px;
  }
  .car-checks .check-label {
    font-size: 11px;
  }
  .car-info h3,
  .car-open {
    min-height: 50px;
  }
  .save-car {
    width: 44px;
    height: 44px;
  }
  .view-controls button {
    width: 38px;
    height: 38px;
  }
  .car-checks .compare-label {
    width: 100%;
  }
  .form-grid label:has(> input[type="checkbox"]) {
    display: flex;
    line-height: 1.65;
  }
  .story-toolbar .spoiler-toggle {
    padding-left: 24px;
  }
}
@media (forced-colors: active) {
  label:has(> input[type="checkbox"]):before {
    display: none;
  }
  label:has(> input[type="checkbox"]) > input[type="checkbox"] {
    opacity: 1;
    inset: auto auto auto 0;
    width: 16px;
    height: 16px;
    min-height: 16px;
    appearance: auto;
  }
}
.brand,
.menu-button,
.view-controls button {
  min-height: 44px;
}
.menu-button {
  min-width: 44px;
}
.view-controls button {
  width: 44px;
  height: 44px;
}
.compare-tray .button,
#clear-compare {
  min-height: 44px;
}
.source-box li > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
@media (max-width: 600px) {
  .car-checks label:has(> input[type="checkbox"]) {
    padding-left: 21px;
  }
  .view-controls button {
    width: 42px;
    height: 44px;
  }
  .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .menu-button {
    padding-inline: 10px 0;
  }
  .brand {
    min-height: 44px;
  }
}
img {
  height: auto;
}
.car-art img {
  height: 100%;
  object-fit: contain;
  padding: 10px;
}
.compare-grid img,
.dossier-art {
  height: auto;
  aspect-ratio: 4/3;
  object-fit: contain;
}
.region-card img {
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}
@media (max-width: 600px) {
  .car-art {
    aspect-ratio: 4/3;
  }
  .car-art img {
    padding: 7px;
  }
}

/* Give stand-alone text actions the same comfortable tap area as controls. */
.hero-tool-links a,
.data-note > a,
.section-heading > a,
.footer-top > a[href="#top"],
.footer-links a,
.breadcrumbs a,
.meta a,
.result-panel > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
}
@media (max-width: 600px) {
  .view-switch button {
    min-width: 44px;
  }
}
@media (max-width: 600px) {
  [data-view] {
    min-width: 44px;
  }
}

/* Section context is a quiet editorial label; the full destination stays readable. */
.section-context {
  display: block;
  font-family: var(--font-body, Manrope, sans-serif);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted, #77727d);
  margin-bottom: 7px;
  text-transform: none;
}
.section-picker {
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.section-picker label {
  font-size: 13px;
  white-space: nowrap;
}
.section-picker select {
  flex: 1;
  min-width: 0;
  max-width: 620px;
}
.section-picker > span {
  font-size: 12px;
  color: #77727d;
  white-space: nowrap;
}
.indexed-group {
  scroll-margin-top: 110px;
}
.indexed-group > h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 24px 0 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line, #dedad4);
}
[id^="section-"] {
  scroll-margin-top: 110px;
}
@media (max-width: 600px) {
  .section-picker {
    padding: 0 18px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .section-picker label {
    width: 100%;
  }
  .section-picker > span {
    display: none;
  }
  .section-picker select {
    width: 100%;
    flex: auto;
  }
  .section-context {
    font-size: 12px;
  }
  .indexed-group > h3 {
    font-size: 15px;
  }
}

.breadcrumbs {
  align-items: center;
}
/* Stand-alone copy, source and route controls retain 44px hit areas on touch. */
button { min-width: 44px; min-height: 44px; }
.tool-nav a,
.platform-switch a,
.inline-actions a,
.operation-row > a,
.safe-row a,
.region-card a,
.fact-table td a,
.panel p > a,
.progress-actions > a {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
}
.panel > a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
.safe-code button { min-width: 44px; min-height: 44px; }
.source-directory a,
.challenge-note a { display:inline-flex; align-items:center; min-height:44px; min-width:44px; }
#bunker-form input { min-height:46px; }

}