/* WORLD TOUR — progression, route planning and endurance instruments. */
:root { --tour-sand:#d8c2a1; --tour-moss:#9dcab5; --tour-alert:#f1b36c; }
.nav-link {padding-inline:12px;font-size:11px}
.nav-link svg {width:17px;height:17px}
.mode-selector {grid-template-columns:repeat(3,minmax(0,1fr))}
.mode-button {display:grid;grid-template-columns:24px 1fr;align-content:start;min-height:77px;padding:13px 11px}
.mode-button b {font-size:11px}
.mode-button small {grid-column:2;line-height:1.5;font-size:9px;color:#8ea3a4}
.mode-button .mode-glyph {grid-row:1/3}
.mode-button.active small {color:#aac5b6}
.mode-button:disabled {opacity:.35}
.setup-selects {grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}
.world-numbers small {max-width:170px;line-height:1.4}
.tour-highlights {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:0 0 40px}
.tour-highlight {position:relative;display:grid;grid-template-columns:38px 1fr;gap:8px 13px;min-height:112px;background:linear-gradient(120deg,#293532,#192427);border:1px solid #40514b;border-radius:4px;text-align:left;padding:22px;overflow:hidden}
.tour-highlight:nth-child(2) {background:linear-gradient(120deg,#3a3029,#222527);border-color:#594739}
.tour-highlight:nth-child(3) {background:linear-gradient(120deg,#263338,#1b2427);border-color:#3d5057}
.tour-highlight>svg {width:31px;height:31px;grid-row:1/3;color:var(--mint);stroke-width:1.2}
.tour-highlight:nth-child(2)>svg {color:var(--orange)}
.tour-highlight strong {font-size:16px;letter-spacing:-.4px}
.tour-highlight small {color:#9eafaa;line-height:1.5;font-size:11px}
.tour-highlight:hover {border-color:#9ac1ad}
.race-brief {padding:18px 0 0;border-top:1px solid #ffffff12;margin-top:17px}
.race-brief-top {display:flex;gap:18px;flex-wrap:wrap;align-items:center;margin-bottom:12px}
.race-brief-top strong {font-size:19px;letter-spacing:-.4px;color:var(--mint)}
.race-brief-top span {color:#a5b5b6;font-size:11px}
.race-brief p {color:#8fa6ab;font-size:11px;line-height:1.7}
.race-brief .race-warning {display:flex;align-items:flex-start;gap:9px;color:#e7bd8e;background:#6d4d282b;border:1px solid #986d353b;border-radius:3px;padding:11px 12px;margin-top:10px}
.race-warning svg {height:16px;width:16px;margin-top:1px}
.race-brief .race-ineligible {color:#eeaa87;background:#833d292b;padding:10px 12px;border-left:2px solid #d48760;margin-top:9px}
.race-brief .text-button {font-size:11px;padding:8px 0;margin-top:5px;color:var(--mint)}
.route-duration {display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #ffffff0b;gap:12px}
.route-duration b {color:var(--mint);font-size:17px}
.route-duration small {font-size:9px;color:#8ba4a4}
.route-duration.long b {color:var(--tour-alert)}
.track-requirements {display:flex;flex-wrap:wrap;gap:5px;margin:12px 0}
.discipline-tag {font-size:8px;letter-spacing:.5px;border:1px solid #536d625c;color:#a6c2b5;border-radius:2px;padding:5px 7px;white-space:nowrap}
.discipline-tag.incompatible {border-color:#895e4e;color:#d09a83}
.atlas-card .atlas-actions {display:grid;grid-template-columns:1fr auto;gap:9px;margin-top:13px}
.atlas-card .atlas-actions>.button {width:auto}
.atlas-card .atlas-actions .text-button {font-size:10px;color:#afc3b8;padding-inline:7px}
.atlas-card-body>p {line-height:1.7}
.atlas-toolbar {display:flex;gap:17px;flex-wrap:wrap;align-items:center;margin:22px 0}
.atlas-toolbar .owned-filter {margin-left:auto;margin-top:0}
.atlas-toolbar select {font-size:11px;max-width:180px}
.atlas-filters,.discipline-filters {display:flex;flex-wrap:wrap;gap:7px}
.filter-chip {border:1px solid #3e5155;color:#93a9ac;background:#172226;border-radius:3px;padding:10px 13px;font-size:11px;line-height:1.3;transition:background .2s}
.filter-chip:hover {border-color:#90b5ab}
.filter-chip.active {color:#172321;background:#c5ddcf;border-color:#c5ddcf}
.filter-chip small {margin-left:5px;color:inherit;opacity:.65}
.catalog-search-row {display:flex;gap:15px;align-items:end;margin:25px 0 18px}
.search-field {display:flex;flex-direction:column;gap:7px;flex:1;color:#90a7a8;font-size:10px;letter-spacing:.5px}
.search-field input {padding:13px 15px;color:var(--text);border:1px solid #43575a;border-radius:4px;background:#172125;min-width:0;width:100%;font-size:13px}
.catalog-search-row>label:not(.search-field) {display:flex;flex-direction:column;gap:7px;font-size:10px;color:#90a7a8;min-width:200px}
.catalog-search-row select {height:44px;font-size:12px}
.track-fit-filter {display:flex;align-items:center;gap:13px;justify-content:space-between;padding:13px 17px;margin-top:15px;background:#314236;border:1px solid #668a68;border-radius:4px;font-size:12px;line-height:1.6}
.track-fit-filter button {font-size:12px;flex-shrink:0;color:#d3dece}
.vehicle-rating {display:flex;justify-content:space-between;align-items:center;gap:10px;margin:15px 0 8px}
.pi-badge {font-style:normal;font-weight:800;font-size:13px;letter-spacing:.4px;display:inline-flex;align-items:center;gap:5px;color:#c9e4d4;background:#3150445e;border:1px solid #607d695e;border-radius:3px;padding:6px 9px;white-space:nowrap}
.pi-badge small {font-size:8px;opacity:.7;font-weight:500;letter-spacing:1px}
.potential-label {font-size:9px;color:#92a7a9;text-align:right;line-height:1.5}
.potential-label b {color:#c5d2ce}
.vehicle-card .track-requirements {min-height:24px}
.vehicle-progress {height:3px;background:#ffffff10;overflow:hidden;border-radius:4px;margin-top:10px}
.vehicle-progress>i {display:block;height:100%;background:#9acaaf;min-width:2px}
.vehicle-state-note {display:flex;justify-content:space-between;color:#809796;font-size:9px;margin-top:7px}
.garage-overview {display:flex;flex-wrap:wrap;gap:25px;margin-top:27px;padding:17px 0;border-block:1px solid var(--line)}
.garage-overview>span {font-size:11px;color:#90a9a9}
.garage-overview b {color:#dbe9de;margin-right:5px;font-size:15px}
.garage-rating {display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:18px}
.garage-rating>span:not(.pi-badge) {font-size:10px;color:#9eb1ac}
.garage-workshop {margin-top:12px;width:100%;background:#3243394d;border-color:#546c5e;color:#c5e0cc}
.workshop-wallet {text-align:right;flex-shrink:0}
.workshop-wallet small {display:block;letter-spacing:1.3px;color:#8ea6a1;font-size:8px;margin-bottom:9px}
.workshop-wallet b {font-size:28px;color:#d5e3d6;letter-spacing:-1px}
.workshop-intro {display:flex;align-items:center;gap:35px;justify-content:space-between;margin:25px 0}
.workshop-intro p {color:#a0b3b3;line-height:1.8;font-size:13px;max-width:670px}
.earned-only {display:flex;align-items:center;gap:9px;font-size:10px;color:#b3cba8;white-space:nowrap}
.earned-only svg {width:17px;height:17px}
.workshop-overview {display:grid;grid-template-columns:1.2fr 1fr;gap:34px;border:1px solid #475953;border-radius:5px;overflow:hidden;background:linear-gradient(115deg,#283b35,#182326 70%)}
.workshop-preview {position:relative;min-height:335px;overflow:hidden;background:radial-gradient(ellipse at 55% 60%,#648d7538,transparent 70%)}
.workshop-watermark {position:absolute;font-size:90px;letter-spacing:-5px;font-weight:900;font-style:italic;top:23px;left:25px;color:#b6d5ba12;white-space:nowrap}
.workshop-preview canvas {position:absolute;inset:0;width:100%;height:100%}
.workshop-model-caption {position:absolute;bottom:24px;left:27px;right:20px;display:flex;justify-content:space-between;align-items:end;gap:12px;pointer-events:none}
.workshop-model-caption b {font-size:20px;letter-spacing:-.6px;font-style:italic}
.workshop-model-caption span {font-size:9px;color:#9db5a6;line-height:1.5;text-align:right}
.workshop-growth {padding:30px 30px 30px 0;align-self:center}
.workshop-pi {display:flex;align-items:baseline;gap:13px;margin:15px 0}
.workshop-pi>strong {font-size:58px;font-weight:900;font-style:italic;letter-spacing:-3px;line-height:1;color:#d6e9d9}
.workshop-pi>strong small {font-size:12px;font-weight:500;font-style:normal;letter-spacing:1px;margin-left:5px;color:#8eaba0}
.workshop-pi>span {color:#77958a;font-size:19px}
.workshop-pi>span b {font-size:25px;font-weight:500;color:#9dbbaa}
.workshop-development {height:8px;background:#ffffff0c;border-radius:4px;overflow:hidden;margin:18px 0 12px;position:relative}
.workshop-development>i {height:100%;display:block;background:linear-gradient(90deg,#659777,#c3dfad);min-width:3px}
.workshop-growth>p {font-size:11px;line-height:1.7;color:#8ca69c}
.workshop-stat-summary {display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:23px;padding-top:20px;border-top:1px solid #ffffff12}
.workshop-stat-summary b {display:block;font-size:20px;color:#d8e2d6}
.workshop-stat-summary small {display:block;font-size:8px;letter-spacing:.6px;color:#89a299;margin-top:6px}
#workshop-not-owned {margin-top:20px}
#workshop-not-owned p {font-size:12px;color:#d7b696;line-height:1.6;margin-bottom:12px}
.workshop-toolbar {display:flex;align-items:end;justify-content:space-between;gap:20px;margin:39px 0 22px}
.workshop-toolbar h2 {font-size:26px;letter-spacing:-.8px;margin-top:8px}
.workshop-toolbar label {display:flex;align-items:center;gap:12px;font-size:11px;color:#9dafaf}
.workshop-toolbar select {font-size:12px}
.upgrade-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.upgrade-card {position:relative;border:1px solid #3a4d4e;border-radius:5px;background:linear-gradient(135deg,#243032,#192326);padding:23px;overflow:hidden;display:flex;flex-direction:column}
.upgrade-card.is-max {border-color:#607d5f}
.upgrade-card:first-child {grid-column:span 2;background:linear-gradient(115deg,#3b342a,#202a2b);border-color:#635242}
.upgrade-card-head {display:flex;align-items:center;gap:12px;margin-bottom:18px}
.upgrade-symbol {display:flex;align-items:center;justify-content:center;width:41px;height:41px;border:1px solid #7691873d;border-radius:8px;background:#111d2055;color:#bdd6bd}
.upgrade-card:first-child .upgrade-symbol {border-color:#ad825547;color:#ecc59a}
.upgrade-symbol svg {width:24px;height:24px}
.upgrade-card h3 {font-size:19px;letter-spacing:-.3px}
.upgrade-card-head small {display:block;font-size:8px;color:#7e9a96;letter-spacing:1.2px;margin-top:6px}
.upgrade-level {margin-left:auto;text-align:right;white-space:nowrap}
.upgrade-level b {font-size:27px;font-weight:700;color:#d8e4d5}
.upgrade-level span {font-size:13px;color:#6d8982}
.upgrade-card>p {font-size:11px;color:#98aeaa;line-height:1.7;min-height:39px;margin-bottom:17px;max-width:520px}
.upgrade-meter {height:6px;border-radius:4px;background:#ffffff0b;position:relative;overflow:hidden;margin-bottom:19px}
.upgrade-meter i {position:absolute;inset:0 auto 0 0;background:#accaa6;min-width:2px;border-radius:4px;z-index:2}
.upgrade-meter .preview {background:#5c7e65;z-index:1}
.upgrade-effect {display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;padding:12px 0;border-block:1px solid #ffffff0c;margin-bottom:20px}
.upgrade-effect>span {color:#8eaaa2}
.upgrade-effect b {color:#d2e4ca;font-weight:500}
.upgrade-effect em {color:#9abe98;font-style:normal;margin-left:8px}
.upgrade-purchase {display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:auto}
.upgrade-purchase strong {font-size:21px;color:#dce5d4;display:block;white-space:nowrap}
.upgrade-purchase strong small {font-size:10px;color:#92ad99;font-weight:400}
.upgrade-purchase .cost-caption {display:block;font-size:9px;color:#789388;margin-top:6px}
.upgrade-purchase .button {font-size:10px;padding:10px 13px;min-height:42px}
.upgrade-insufficient {font-size:10px;color:#bc997b;line-height:1.5;margin-top:13px}
.workshop-fairness {display:flex;gap:17px;align-items:center;padding:24px;margin:24px 0;border:1px solid #425749;background:#2b3b2a2b;border-radius:4px}
.workshop-fairness>svg {width:27px;height:27px;color:#a2c59b}
.workshop-fairness strong {font-size:13px;font-weight:600;color:#c1d3bc}
.workshop-fairness p {font-size:11px;color:#90a88b;line-height:1.8;margin-top:7px}
.saved-runs {margin:26px 0 0;border:1px solid #697c5d;background:linear-gradient(115deg,#35432e,#202b29);border-radius:4px;padding:23px}
.saved-runs-head {display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:17px}
.saved-runs-head h2 {font-size:20px;letter-spacing:-.5px}
.saved-runs-head small {font-size:10px;color:#a0b695}
.saved-run {display:grid;grid-template-columns:1fr auto;gap:10px;padding:17px 0;border-top:1px solid #c8e7ae20}
.saved-run h3 {font-size:15px;margin-bottom:7px}
.saved-run p {font-size:11px;color:#a0b59b;line-height:1.7}
.saved-run>div:last-child {display:flex;gap:12px;align-items:center}
.saved-run .text-button {font-size:10px}
.saved-run .button {font-size:11px;background:#bed7ab;color:#18251a;border-color:#bed7ab}
.race-preflight-map {height:190px;width:100%;border:1px solid #405950;border-radius:4px;margin:22px 0;background:#1a2c2b}
.preflight-duration {display:flex;align-items:center;gap:18px;padding:19px 0;border-block:1px solid #ffffff13;margin:20px 0}
.preflight-duration>svg {width:35px;height:35px;color:var(--tour-alert)}
.preflight-duration strong {display:block;font-size:26px;color:#e6c596;margin-bottom:6px}
.preflight-duration small {font-size:11px;color:#a1b5ad}
.preflight-note {background:#4c402733;border-left:2px solid #b9945f;padding:13px 15px;font-size:12px!important;line-height:1.8;color:#c6b598!important}
.preflight-specs {display:flex;flex-wrap:wrap;gap:7px;margin:16px 0}
.journey-hud {position:absolute;top:104px;left:50%;transform:translateX(-50%);width:min(340px,34vw);background:#102029d9;border:1px solid #bbd5c32b;border-radius:5px;padding:12px 16px;pointer-events:none;color:#dce9df}
.journey-hud>div:first-child {display:flex;justify-content:space-between;gap:10px;align-items:center}
.journey-hud span {font-size:8px;color:#a8c5bb;letter-spacing:1px}
.journey-hud b {font-size:12px;font-weight:500;white-space:nowrap}
.journey-hud>i {display:block;background:#d1e1d31c;height:4px;border-radius:2px;overflow:hidden;margin-top:10px}
.journey-hud>i>i {display:block;height:100%;background:#c6d7a8;min-width:1px}
.journey-hud small {display:block;font-size:9px;margin-top:7px;color:#91afa2}
.pit-strategy-button {width:100%;margin:8px 0 0;background:transparent;border:1px solid #b9d6c82b;color:#b8d2c3;padding:7px 9px;border-radius:3px;font-size:9px;line-height:1.4}
.pit-plan-options {display:grid;gap:10px;margin:22px 0}
.pit-plan-option {display:flex;align-items:center;gap:13px;border:1px solid #435a52;background:#22332c;padding:16px;border-radius:4px;cursor:pointer}
.pit-plan-option input {accent-color:#b9d49e;width:18px;height:18px}
.pit-plan-option b {display:block;font-size:14px;margin-bottom:6px}
.pit-plan-option small {color:#91afa0;font-size:11px;line-height:1.6}
.results-banked {display:flex;flex-direction:column;gap:9px;padding:15px 0;margin-bottom:14px;border-block:1px solid #ffffff0d}
.results-banked>div {display:flex;justify-content:space-between;font-size:11px;gap:14px;color:#91aca0}
.results-banked strong {color:#cce1bf;font-weight:500}
.empty-results {padding:40px 25px;text-align:center;border:1px dashed #455953;border-radius:4px;color:#9cb2a9;grid-column:1/-1;font-size:13px;line-height:1.8}
@media(min-width:1500px){.upgrade-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.upgrade-card:first-child{grid-column:span 2}.upgrade-card:last-child{grid-column:span 2}}
@media(max-width:1150px){.header{gap:12px;padding-inline:2.5%}.nav-link{padding-inline:9px;font-size:10px;gap:6px}.nav-link svg{width:15px;height:15px}.header-right{gap:10px}.brand-text{font-size:14px}.tour-highlight{padding:18px;grid-template-columns:29px 1fr}.tour-highlight>svg{width:26px;height:26px}.tour-highlight strong{font-size:14px}.tour-highlight small{font-size:10px}.upgrade-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.upgrade-card:first-child{grid-column:span 1}.upgrade-card:last-child{grid-column:span 2}.workshop-overview{gap:20px}.workshop-growth{padding:25px 25px 25px 0}.workshop-preview{min-height:310px}.workshop-model-caption{flex-direction:column;align-items:flex-start;gap:8px}.workshop-intro{align-items:flex-start;gap:20px}.earned-only{white-space:normal;max-width:180px;line-height:1.6}.atlas-toolbar .owned-filter{margin-left:0}.catalog-search-row{align-items:stretch}.race-setup{grid-template-columns:1fr 250px}}
@media(max-width:850px){.header{margin-bottom:52px;position:relative}.nav{position:absolute;top:100%;left:0;right:0;display:grid;grid-template-columns:repeat(6,1fr);height:52px;background:#162024;border-bottom:1px solid #364845;gap:0}.nav-link{justify-content:center;font-size:10px;gap:6px}.nav-link.active:after{left:12px;right:12px}.tour-highlights{gap:9px}.tour-highlight{display:flex;flex-direction:column;padding:17px;min-height:150px;gap:9px}.tour-highlight strong{font-size:15px}.tour-highlight small{font-size:10px}.race-setup{grid-template-columns:1fr}.setup-map{min-height:160px;border-left:0;border-top:1px solid var(--line)}.setup-map canvas{left:40%;width:60%}.workshop-overview{grid-template-columns:1fr;gap:0}.workshop-preview{min-height:320px}.workshop-growth{padding:0 26px 27px}.workshop-watermark{font-size:110px}.workshop-model-caption{flex-direction:row;align-items:end}.workshop-pi{margin-top:17px}.workshop-stat-summary{margin-top:18px}.atlas-toolbar{gap:13px}.atlas-filters{width:100%}.catalog-search-row{flex-direction:column;gap:12px}.catalog-search-row>label:not(.search-field){min-width:0}.catalog-search-row select{width:100%}.saved-run{grid-template-columns:1fr}.saved-run>div:last-child{margin-top:7px}.journey-hud{top:89px;width:240px}.race-mode-tag{max-width:85%;white-space:normal}}
@media(max-width:600px){.header{margin-bottom:57px}.nav{height:57px;grid-template-columns:repeat(6,minmax(0,1fr));top:100%}.nav-link{padding:6px 0;gap:5px;flex-direction:column;font-size:8px;letter-spacing:0}.nav-link svg{height:16px;width:16px}.nav-link.active:after{left:9px;right:9px}.world-numbers{gap:18px}.world-numbers b{font-size:31px}.world-numbers span{font-size:7px;letter-spacing:.5px}.world-numbers small{font-size:8px;max-width:95px}.world-numbers button{display:none}.tour-highlights{grid-template-columns:1fr;margin-bottom:27px;gap:9px}.tour-highlight{display:grid;grid-template-columns:33px 1fr;gap:5px 12px;padding:17px;min-height:0}.tour-highlight>svg{grid-row:1/3;width:26px;height:26px;align-self:center}.tour-highlight strong{font-size:16px}.tour-highlight small{font-size:11px}.mode-selector{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.mode-button{padding:12px 9px;min-height:76px;grid-template-columns:21px 1fr;gap:4px 8px}.mode-button b{font-size:11px}.mode-button small{font-size:9px}.setup-selects{grid-template-columns:repeat(2,minmax(0,1fr))}.setup-selects label{font-size:10px}.setup-selects select{font-size:12px}.setup-description{font-size:11px}.race-brief{padding-top:14px}.race-brief-top{gap:10px;margin-bottom:9px}.race-brief-top strong{font-size:19px}.race-brief-top span{font-size:11px}.race-brief p{font-size:11px}.race-warning{font-size:10px}.race-brief .text-button{font-size:12px;min-height:38px}.catalog-toolbar{margin-top:20px}.discipline-filters{gap:7px}.filter-chip{padding:11px 12px;font-size:11px;min-height:40px}.filter-chip small{font-size:9px}.catalog-search-row{margin:23px 0 15px}.search-field{font-size:11px}.search-field input{font-size:14px;padding:13px}.catalog-search-row>label:not(.search-field){font-size:11px}.catalog-search-row select{font-size:13px}.vehicle-rating{margin-top:16px}.pi-badge{font-size:14px;padding:7px 10px}.potential-label{font-size:11px}.vehicle-state-note{font-size:10px}.vehicle-card .track-requirements{margin:13px 0}.discipline-tag{font-size:9px;padding:6px 8px}.track-fit-filter{font-size:11px;gap:10px;padding:14px}.track-fit-filter button{font-size:11px}.garage-overview{gap:13px 22px;padding:15px 0;margin-top:20px}.garage-overview>span{font-size:10px}.garage-overview b{font-size:14px}.garage-rating{gap:8px}.garage-rating>span:not(.pi-badge){font-size:11px}.garage-workshop{min-height:45px;font-size:12px}.workshop-intro{display:block;margin-top:19px}.workshop-intro p{font-size:12px;line-height:1.8}.earned-only{max-width:none;margin-top:16px;font-size:11px}.workshop-wallet{text-align:left;margin-top:4px}.workshop-wallet b{font-size:23px}.workshop-wallet small{font-size:7px;margin-bottom:5px}.workshop-overview{margin-inline:0}.workshop-preview{min-height:290px}.workshop-watermark{font-size:74px;letter-spacing:-4px;top:23px;left:19px}.workshop-model-caption{left:21px;bottom:17px;right:20px;flex-direction:column;align-items:flex-start;gap:7px}.workshop-model-caption b{font-size:21px}.workshop-model-caption span{font-size:10px;text-align:left}.workshop-growth{padding:12px 21px 25px}.workshop-growth>.small-label{font-size:8px;letter-spacing:.9px}.workshop-pi>strong{font-size:59px}.workshop-pi>span{font-size:16px}.workshop-growth>p{font-size:11px}.workshop-stat-summary b{font-size:23px}.workshop-stat-summary small{font-size:8px}.workshop-toolbar{margin:30px 0 19px;align-items:flex-start;flex-direction:column;gap:17px}.workshop-toolbar h2{font-size:26px}.workshop-toolbar label{font-size:12px;justify-content:space-between;width:100%}.workshop-toolbar select{font-size:12px;min-height:42px}.upgrade-grid{grid-template-columns:1fr;gap:14px}.upgrade-card,.upgrade-card:first-child,.upgrade-card:last-child{grid-column:auto;padding:21px}.upgrade-card-head{gap:12px;margin-bottom:17px}.upgrade-card h3{font-size:20px}.upgrade-card-head small{font-size:9px}.upgrade-level b{font-size:28px}.upgrade-card>p{min-height:0;font-size:12px;line-height:1.75}.upgrade-effect{font-size:12px;gap:8px;flex-wrap:wrap}.upgrade-purchase .button{font-size:12px;min-height:44px;padding-inline:15px}.upgrade-purchase strong{font-size:25px}.upgrade-purchase .cost-caption{font-size:10px}.upgrade-insufficient{font-size:11px}.workshop-fairness{padding:20px;align-items:flex-start;gap:13px}.workshop-fairness strong{font-size:13px;line-height:1.5}.workshop-fairness p{font-size:11px}.workshop-fairness>svg{height:22px;width:22px}.atlas-toolbar{margin-bottom:20px;gap:16px}.atlas-toolbar .owned-filter{font-size:11px}.atlas-toolbar select{font-size:12px;max-width:none;width:100%;min-height:42px}.atlas-filters{gap:7px}.atlas-card .atlas-actions{grid-template-columns:1fr}.atlas-card .atlas-actions .text-button{font-size:11px;min-height:38px}.route-duration b{font-size:19px}.route-duration small{font-size:10px}.saved-runs{padding:20px;margin-top:21px}.saved-runs-head{align-items:flex-start;flex-direction:column;gap:8px}.saved-runs-head h2{font-size:20px}.saved-run h3{font-size:16px}.saved-run p{font-size:11px}.saved-run .button{font-size:12px;min-height:43px}.saved-run .text-button{font-size:11px}.journey-hud{top:274px;width:calc(100% - 36px);max-width:330px;padding:10px 13px}.journey-hud span{font-size:8px}.journey-hud b{font-size:12px}.journey-hud small{font-size:9px}.journey-hud:not(.hidden)~.race-notice{top:354px}.pit-strategy-button{font-size:8px;padding:7px 5px}.preflight-duration{gap:13px}.preflight-duration strong{font-size:23px}.preflight-duration small{font-size:11px}.race-preflight-map{height:170px}.vehicle-status{width:148px}.vehicle-status>div{margin-bottom:7px}.vehicle-status .hud-car-name{font-size:9px}.results-banked>div{font-size:11px}}
@media(max-height:500px) and (orientation:landscape){.journey-hud{top:83px;width:230px;padding:7px 10px}.journey-hud small{display:none}.journey-hud>i{margin-top:7px}.race-notice{top:145px}.vehicle-status{padding:8px 12px}.vehicle-status>div{margin-bottom:5px}.pit-strategy-button{margin-top:5px;padding:4px 7px}.vehicle-status .hud-car-name{display:none}.race-bottom-hud{bottom:75px}.journey-hud:not(.hidden)~.race-notice{top:145px}}
/* Keep route instruments distinct from the mode badge at every breakpoint. */
@media(min-width:601px){.race-mode-tag{top:88px;max-width:480px;padding:5px 11px;font-size:8px;line-height:1.3}.journey-hud{top:119px}.atlas-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))}}
.atlas-toolbar>label{display:flex;align-items:center;gap:10px;font-size:11px;color:#9eafad}.atlas-toolbar>label.owned-filter{margin-left:0;margin-right:auto}.atlas-toolbar input[type=checkbox]{width:16px;height:16px;accent-color:var(--orange)}
@media(max-width:600px){.atlas-toolbar>label:last-child{width:100%;display:grid;grid-template-columns:1fr;gap:8px}.atlas-toolbar>label{font-size:12px}.journey-hud{top:274px}.race-mode-tag{top:77px}.atlas-toolbar>label.owned-filter{margin-right:0}}
@media(max-height:500px) and (orientation:landscape){.journey-hud{top:92px}.race-mode-tag{top:73px}}

.pit-strategy-button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:34px;line-height:1.35}.pit-strategy-button svg{width:13px;height:13px;flex:none}
@media(max-width:600px){.pit-strategy-button{font-size:8px;min-height:34px}.vehicle-status .pit-button{margin-top:9px}.journey-hud:not(.hidden)~.race-notice{max-width:calc(100% - 40px);width:max-content}}

.result-car{display:block;color:var(--muted);margin-top:4px}#results-inbox{border-color:#bfa37955;background:#bfa3790b}

.duration-car{display:block;font-size:9px;font-weight:400;letter-spacing:.2px;color:#94a9a3;margin-top:5px}

.overdrive-art{background-image:url('/assets/worldtour-hero.jpg');background-position:center 54%}.overdrive-shade{background:linear-gradient(90deg,#081215a6 0%,#08121566 34%,#08121500 72%),linear-gradient(0deg,#101517,transparent 24%)}
@media(max-width:600px){.overdrive-art{background-position:65% center}.overdrive-shade{background:linear-gradient(180deg,#091316ad 0%,#09131650 36%,#09131600 65%,#101517 100%),linear-gradient(90deg,#09131655,transparent 80%)}}

@media(min-width:601px) and (min-height:501px){.journey-hud:not(.hidden)~.race-notice{top:204px}}

/* Bounded performance recorder: one compact control, no per-frame DOM work. */
.diagnostics-button{display:block;position:relative;width:100%;margin-top:5px;z-index:25;border:1px solid #729c8d70;background:#132329d9;color:#9ad8b2;border-radius:18px;padding:7px 12px;font-weight:600;cursor:pointer;font-size:11px;font-family:inherit}
.diagnostics-button[data-slow="true"]{color:#ffd18c;border-color:#d79b5970}
.diagnostic-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}
.diagnostic-stats>div{background:#ffffff08;border:1px solid #ffffff10;border-radius:10px;padding:13px}
.diagnostic-stats small{display:block;color:var(--muted);font-size:11px;line-height:1.5}.diagnostic-stats strong{display:block;font-size:21px;margin-top:8px}
.diagnostic-quality{display:grid;gap:9px;margin:18px 0}.diagnostic-quality select{width:100%;padding:12px;background:#14252a;color:#e4ece9;border:1px solid #57736b;border-radius:8px}
@media(max-width:600px){.diagnostics-button{padding:6px 4px;font-size:10px}.diagnostic-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.diagnostic-stats strong{font-size:18px}}

.diagnostic-help{margin:12px 0;color:var(--muted);font-size:11px}.diagnostic-help summary{cursor:pointer}.diagnostic-help p{font-size:11px!important}

/* Live WebGL stays sharp beneath instruments and dialogs. Blurring its moving
   pixels adds compositor work that the renderer's CPU timer cannot measure. */
#race-screen .race-exit,
#race-screen .race-sound,
#race-screen .race-hud-top>div,
#race-screen .minimap-shell{-webkit-backdrop-filter:none;backdrop-filter:none}
#race-screen .race-exit,
#race-screen .race-sound{background:#111c23e6}
#race-screen .race-hud-top>div{background:#0e1b23eb}
#race-screen .minimap-shell{background:#0e1c25d9}
#race-screen:not(.hidden)~#modal::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:#06090bd6}
