.cm-root{--cm-red:#ed0000;--cm-line:#dbe0d7;--cm-muted:#627267;color:#1d2b23}.cm-root button,.cm-root .outline-button{border:1px solid var(--cm-line);background:#fff;border-radius:5px;padding:9px 13px;cursor:pointer;font:inherit;font-size:13px;color:inherit}.cm-root button:hover{border-color:var(--cm-red);color:var(--cm-red)}.cm-root button:disabled{opacity:.55;cursor:wait}.cm-root .button-primary,.cm-heading .cm-actions button[data-cm=new-post]{background:var(--cm-red);color:#fff;border-color:var(--cm-red)}.cm-heading{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin:5px 0 28px}.cm-heading h1{font-size:clamp(30px,3.2vw,44px);margin:6px 0}.cm-heading p{color:var(--cm-muted);margin:5px 0}.cm-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.cm-statbar{background:#1d2921;color:#fff;display:flex;gap:35px;padding:18px 24px;border-radius:7px;margin-bottom:25px;font-size:13px}.cm-statbar strong{font-size:20px;margin-right:6px}.cm-layout{display:grid;grid-template-columns:180px minmax(0,1fr) 255px;gap:24px}.cm-sidebar nav{display:grid;gap:5px}.cm-sidebar nav button{text-align:left;background:transparent;border-color:transparent}.cm-sidebar nav button.is-active{background:#fff;border-left:3px solid var(--cm-red);font-weight:700}.cm-side-note{border-top:1px solid var(--cm-line);margin-top:28px;padding:20px 6px;font-size:13px;line-height:1.8;color:var(--cm-muted)}.cm-side-note strong{color:#263a2c}.cm-feed-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:8px 0 17px}.cm-feed-heading h2{font-size:19px;margin:0}.cm-feed-heading>span{font-size:12px;color:var(--cm-muted)}.cm-filters{display:flex;gap:7px;margin-bottom:25px;flex-wrap:wrap}.cm-root input,.cm-root select,.cm-root textarea{font:inherit;font-size:14px;border:1px solid var(--cm-line);border-radius:5px;background:#fff;padding:11px 12px;min-width:0;color:inherit}.cm-root input:focus,.cm-root textarea:focus,.cm-root select:focus{outline:2px solid #ed00003b;border-color:#ed0000}.cm-filters input{flex:1;min-width:150px}.cm-filters select{max-width:155px}.cm-post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.cm-post-card{background:#fff;border:1px solid var(--cm-line);border-radius:7px;overflow:hidden;min-width:0}.cm-post-cover{width:100%;height:180px;object-fit:cover;display:block}.cm-post-content{padding:20px}.cm-kind{font-size:10px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:#c60000}.cm-post-content h2{font-size:20px;line-height:1.35;margin:10px 0}.cm-root a{color:inherit;text-decoration:none}.cm-post-content h2 a:hover,.cm-side-link:hover{color:var(--cm-red)}.cm-post-content>p{font-size:13px;line-height:1.8;color:var(--cm-muted);overflow-wrap:anywhere}.cm-author{display:flex;gap:10px;align-items:center;margin:20px 0}.cm-avatar{display:inline-flex;align-items:center;justify-content:center;background:#e9eee5;color:#41573e;width:38px;height:38px;border-radius:50%;flex-shrink:0;font-size:11px;font-weight:800}.cm-author strong,.cm-author small{display:block;font-size:12px}.cm-author small{color:var(--cm-muted);font-size:10px;margin-top:5px}.cm-post-content footer{display:flex;justify-content:space-between;border-top:1px solid #edf0eb;padding-top:13px;gap:8px;font-size:10px;color:var(--cm-muted)}.cm-post-content footer a{color:#283e29;font-weight:700}.cm-car-card{display:block;background:#fff;border:1px solid var(--cm-line);border-radius:6px;overflow:hidden;margin-bottom:15px}.cm-car-card img{display:block;width:100%;height:145px;object-fit:cover}.cm-car-card>div:not(.cm-car-placeholder){padding:15px}.cm-car-card h3{font-size:16px;margin:7px 0}.cm-car-card p,.cm-car-card small{font-size:11px;color:var(--cm-muted);margin:0}.cm-car-placeholder{height:145px;background:linear-gradient(145deg,#273c2c,#627459);display:flex;align-items:center;justify-content:center;color:#fff;letter-spacing:5px;font-size:20px;font-weight:800}.cm-side-link{display:block;font-size:13px;margin-top:20px}.cm-empty{grid-column:1/-1;text-align:center;padding:40px 25px}.cm-empty h2{font-size:22px}.cm-empty p{font-size:14px;line-height:1.8;color:var(--cm-muted)}.cm-pagination{display:flex;justify-content:center;gap:12px;padding:25px}.cm-welcome{display:grid;grid-template-columns:1.1fr .9fr;min-height:580px;gap:45px;align-items:center}.cm-welcome-copy{padding:40px;background:#1d2b23;color:#fff;border-radius:10px;position:relative;overflow:hidden}.cm-welcome-copy:after{content:'EVOLUTION';position:absolute;bottom:85px;left:35px;font-size:70px;font-weight:900;letter-spacing:-5px;opacity:.035;pointer-events:none}.cm-welcome-copy .eyebrow{color:#fc6d68}.cm-welcome h1{font-size:clamp(44px,5vw,76px);line-height:1.05;margin:25px 0;letter-spacing:-2px}.cm-welcome-copy>p{max-width:340px;line-height:1.9;color:#c4d0c3}.cm-welcome-copy>small{display:block;font-size:11px;margin-top:30px;color:#b1bfae}.cm-promises{display:grid;gap:18px;border-top:1px solid #ffffff20;margin-top:32px;padding-top:25px;font-size:12px;color:#ff5757}.cm-promises strong{margin-left:15px;color:#fff;font-weight:500}.cm-auth{padding:30px;max-width:500px;width:100%}.cm-auth h2{font-size:27px;margin:28px 0 10px}.cm-auth p{font-size:13px;line-height:1.8;color:var(--cm-muted)}.cm-auth-tabs{display:flex;gap:7px}.cm-root form:not(.cm-filters){display:grid;gap:16px}.cm-root label{display:grid;gap:7px;font-size:12px;font-weight:600;line-height:1.6}.cm-root .cm-check{display:flex;align-items:flex-start;gap:9px;font-size:11px;font-weight:400;color:var(--cm-muted)}.cm-check input{margin-top:4px}.cm-auth>button{margin-top:15px}.cm-root textarea{resize:vertical;min-height:90px}.cm-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.cm-dialog{border:1px solid var(--cm-line);border-radius:10px;padding:28px;max-height:90vh;width:min(680px,94vw);color:#1d2b23}.cm-dialog::backdrop{background:#101a17aa}.cm-modal-head{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:10px;letter-spacing:1px}.cm-dialog h2{font-size:26px}.cm-dialog .cm-form-status,.cm-status{font-size:13px;color:#a30000;white-space:pre-wrap}.cm-form-status:empty,.cm-status:empty{display:none}.cm-photo-selection{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}.cm-photo-selection label{width:110px}.cm-photo-selection img{width:110px;height:80px;object-fit:cover}.cm-photo-fields small{font-size:10px;color:var(--cm-muted)}.cm-profile{display:flex;align-items:flex-start;gap:22px;padding:28px}.cm-profile>.cm-avatar{width:70px;height:70px;font-size:20px}.cm-profile>div{flex:1}.cm-profile h2{margin:9px 0}.cm-profile p{font-size:13px;color:var(--cm-muted)}.cm-back{display:inline-block;margin:10px 0 22px;font-size:13px}.cm-garage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:38px}.cm-prose{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.9}.cm-story{padding:35px;max-width:900px;margin:auto}.cm-story h1{font-size:clamp(27px,3vw,42px);margin:15px 0}.cm-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:25px 0}.cm-gallery img{display:block;width:100%;height:auto;border-radius:5px}.cm-gallery > :first-child{grid-column:1/-1}.cm-story-meta{font-size:13px;color:var(--cm-muted)}.cm-steps{padding-left:25px;margin:30px 0}.cm-steps li{padding-left:10px;margin-bottom:20px}.cm-steps h3{font-size:19px;margin-bottom:8px}.cm-comments{padding:30px;max-width:900px;margin:25px auto}.cm-comments>article{display:flex;gap:15px;border-bottom:1px solid var(--cm-line);padding:22px 0}.cm-comments>article>div{flex:1}.cm-comments small{display:block;font-size:11px;color:var(--cm-muted);margin:5px 0}.cm-comments form{margin-top:25px}.cm-account-actions{display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid var(--cm-line);padding-top:20px;margin-top:25px}.cm-photo-manager{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cm-photo-manager img{width:100%;height:120px;object-fit:cover}.cm-root :focus-visible{outline:2px solid #ed0000;outline-offset:3px}@media(min-width:1500px){.cm-post-cover{height:220px}}@media(max-width:1250px){.cm-layout{grid-template-columns:155px minmax(0,1fr)}.cm-garages{grid-column:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.cm-garages>.cm-feed-heading,.cm-garages>.cm-side-link{grid-column:1/-1}.cm-heading{align-items:flex-start;flex-direction:column}.cm-welcome{gap:24px}}@media(max-width:760px){.cm-layout{display:block}.cm-sidebar nav{display:flex;overflow-x:auto;margin-bottom:20px}.cm-sidebar nav button{white-space:nowrap}.cm-side-note{display:none}.cm-post-grid{grid-template-columns:1fr}.cm-garages{display:grid;margin-top:25px}.cm-welcome{grid-template-columns:1fr;gap:20px;min-height:0}.cm-welcome-copy{padding:30px}.cm-welcome h1{font-size:48px}.cm-auth{max-width:none}.cm-statbar{gap:18px;padding:15px;flex-wrap:wrap}.cm-statbar strong{font-size:17px}.cm-garage-grid{grid-template-columns:1fr}.cm-form-row{grid-template-columns:1fr}.cm-profile{flex-wrap:wrap;padding:20px}.cm-story,.cm-comments{padding:20px}.cm-dialog{padding:20px}.cm-gallery{grid-template-columns:1fr}.cm-photo-manager{grid-template-columns:repeat(2,minmax(0,1fr))}}

.cm-root .cm-check{font-size:13px;color:#293a2c;gap:14px;line-height:1.65;align-items:flex-start;cursor:pointer}.cm-root .cm-consent{padding:16px;border:2px solid #bcc8b5;border-radius:7px;background:#f5f8f1;min-height:76px}.cm-root .cm-check input[type=checkbox]{appearance:auto;-webkit-appearance:checkbox;width:26px;height:26px;min-width:26px;min-height:26px;flex:0 0 26px;padding:0;margin:3px 0 0;accent-color:#ed0000;cursor:pointer}.cm-root .cm-consent strong{display:block;font-size:14px;color:#1d2b23;margin-bottom:5px}.cm-root .cm-consent span span{display:block;font-weight:400;font-size:12px;color:#465a48}.cm-root .cm-consent:focus-within{outline:3px solid #ed00004d;outline-offset:3px;border-color:#ed0000}.cm-root .cm-consent:has(input:checked){border-color:#ed0000;background:#fff7f5}.cm-example-badge{display:inline-block;border:1px solid #c5d0bb;background:#eef4e7;color:#405535;font-size:9px;font-weight:700;padding:3px 6px;border-radius:4px;letter-spacing:.3px;line-height:1.5;margin:5px 0}.cm-example-notice{padding:16px 20px;border:1px solid #cbd7c3;background:#edf3e7;font-size:12px;line-height:1.8;border-radius:6px;margin:-7px 0 25px;color:#435b3e}.cm-example-notice strong{display:block;font-size:14px}.cm-auth>button{margin-right:8px}.cm-root input[type=checkbox]:focus-visible{outline:3px solid #ed0000;outline-offset:4px}

.cm-photo-order{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px;margin-top:16px}.cm-photo-tile{position:relative;border:1px solid #cbd4c5;border-radius:7px;overflow:hidden;background:#f4f7f1}.cm-photo-tile>img{display:block;width:100%;height:125px;object-fit:cover}.cm-photo-tile-top{position:absolute;inset:6px 6px auto;display:flex;align-items:center;justify-content:space-between}.cm-photo-tile-top>span{background:#1c2c20;color:#fff;border-radius:50%;min-width:26px;height:26px;display:grid;place-items:center;font-size:12px;font-weight:700}.cm-root .cm-photo-tile-top button{padding:3px 8px;background:#fff}.cm-photo-tile-controls{display:flex;justify-content:space-between;padding:5px;gap:3px}.cm-root .cm-photo-tile-controls button{padding:7px;min-height:36px;font-size:11px}.cm-photo-tile-controls [data-photo-drag]{touch-action:none;cursor:grab}.cm-photo-tile[draggable=true]{cursor:grab}.cm-photo-tile:focus-within{outline:2px solid #ed0000;outline-offset:2px}
.cm-upload-busy .cm-photo-order,.cm-upload-busy [name=photos]{pointer-events:none;opacity:.65}

/* Homepage community preview */
.cm-home>p,.cm-public-notice{color:var(--muted);margin:0 0 16px}
.cm-home-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.cm-home-preview:empty{display:none}
.cm-home-preview>div>h3{margin:0 0 8px;font-size:.9rem}
.cm-home-preview .cm-car-card>img,.cm-home-preview .cm-car-placeholder,.cm-home-preview .cm-post-cover{height:180px;object-fit:cover}
@media(max-width:650px){.cm-home-preview{grid-template-columns:1fr}}

.cm-garage-rarity{display:grid;gap:3px;margin:10px 0 14px;padding:12px 14px;border:1px solid #d9dfd5;border-radius:8px;background:#f0f4e9}
.cm-garage-rarity strong{font-size:1.15rem;color:#283a22}
.cm-garage-rarity p,.cm-garage-rarity small{margin:0;color:#495744}
#cm-rarity-notice{font-size:.85rem;color:#495744}

.cm-leaderboard{margin:0 0 24px;padding:22px}
.cm-leaderboard h2{margin:5px 0 14px}
.cm-leaderboard-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px;padding:0;margin:0 0 12px;list-style:none}
.cm-leaderboard-list li>a{display:flex;align-items:center;gap:10px;padding:8px;border-bottom:1px solid #d9dfd5;color:inherit}
.cm-rank{min-width:24px;font-weight:700;color:#b60000}
.cm-rank-photo{width:54px;height:40px;object-fit:cover;border-radius:4px}
.cm-rank-title{min-width:0;flex:1;overflow-wrap:anywhere}
.cm-rank-stat{text-align:right;white-space:nowrap}
.cm-leaderboard-list small{display:block;font-size:.72rem;color:#526149}
.cm-leaderboard details{font-size:.85rem;color:#495744}
.cm-leaderboard summary{cursor:pointer}
@media(max-width:760px){.cm-leaderboard-list{grid-template-columns:1fr}}

.cm-car-card-link { display: block; padding: 15px; }
.cm-root .cm-photo-open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: zoom-in;
}
.cm-photo-open::after {
  content: "⤢";
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 8px;
  border-radius: 5px;
  background: #17231e;
  color: #fff;
  font-size: 17px;
  line-height: 1;
  pointer-events: none;
}
.cm-root .cm-photo-open:focus-visible { outline: 3px solid var(--cm-red); outline-offset: -3px; }
.cm-lightbox {
  width: min(1100px, 94vw);
  max-height: 92vh;
  max-height: 92dvh;
  margin: auto;
  padding: 12px;
  border: 1px solid #42544a;
  border-radius: 10px;
  background: #111a16;
}
.cm-lightbox::backdrop { background: #101a17d9; }
.cm-lightbox form { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.cm-lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(92vh - 70px);
  max-height: calc(92dvh - 70px);
  margin: 0 auto;
  object-fit: contain;
}

.cm-car-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 8px;
  margin-bottom: 15px;
}
.cm-car-gallery .cm-photo-open { border-radius: 5px; overflow: hidden; }
.cm-car-gallery img { display: block; width: 100%; height: 85px; object-fit: cover; }
.cm-photo-tile-top > span { padding-inline: 6px; }
.cm-root .cm-set-cover { display: block; width: calc(100% - 10px); margin: 0 5px 5px; }
