/* Character presentation; shared account, edits and driver progression stay server-owned. */
.cm-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.cm-heading h1{margin:5px 0;font-size:clamp(32px,4vw,54px);letter-spacing:-1.5px}.cm-heading p{color:#bdcbe0;margin:0}.cm-route{color:#d5b3ff;text-decoration:none;font-weight:650}.cm-route:hover{color:#fff}.cm-layout{display:grid;grid-template-columns:minmax(300px,1fr) minmax(320px,1.12fr);gap:24px;align-items:stretch}.cm-stage{position:relative;isolation:isolate;overflow:hidden;min-height:690px;border:1px solid #494268;border-radius:18px;background:radial-gradient(ellipse at 25% 30%,#67229955,transparent 55%),radial-gradient(ellipse at 90% 55%,#00bfff24,transparent 50%),linear-gradient(140deg,#171125,#080d18 65%)}.cm-stage:before{content:'';position:absolute;inset:75px 25px 160px;border:1px solid #b857ef55;border-radius:45% 45% 4% 4%;box-shadow:0 0 70px #a020f01c,inset 0 0 40px #a020f018;z-index:-1}.cm-stage-top{position:absolute;z-index:2;top:22px;left:22px;right:22px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;color:#c4cee0}.cm-chip{display:inline-flex;align-items:center;gap:7px;padding:5px 10px;border:1px solid #655080;border-radius:999px;color:#e5d4ff;background:#211631;font-size:11px;font-weight:700;letter-spacing:.5px}.cm-avatar{position:absolute;inset:65px 18px 150px;display:flex;justify-content:center;align-items:center}.cm-character-image{display:block;width:100%;height:100%;object-fit:contain}.cm-avatar .cm-character-image{filter:drop-shadow(0 15px 16px #0009)}.cm-stage-floor{position:absolute;bottom:160px;left:15%;width:70%;height:60px;border-radius:50%;background:#130d20;box-shadow:0 0 30px #a020f052;border:1px solid #b75dff66;z-index:-1}.cm-identity{position:absolute;inset:auto 0 0;padding:55px 26px 22px;background:linear-gradient(transparent,#080c16 28%)}.cm-identity h2{font-size:clamp(26px,2.8vw,38px);line-height:1.2;margin:6px 0}.cm-identity p{margin:4px 0;color:#bdcbe0;font-size:12px}.cm-driver-level{display:flex;justify-content:space-between;gap:15px;margin:18px 0 9px;color:#e6d1ff;font-size:13px;font-weight:700}.cm-identity progress{height:6px}.cm-right{display:grid;gap:18px;align-content:start}.cm-right .panel{margin:0;border-radius:15px;padding:24px}.cm-section-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.cm-section-title h2{margin:3px 0;font-size:23px}.cm-profile label{display:block;margin-top:12px;color:#d5dff0;font-size:13px}.cm-profile input,.cm-profile select{width:100%;box-sizing:border-box;margin:7px 0 4px;background:#090f1b;border:1px solid #40516d;color:#f4f6ff;min-height:47px}.cm-note{font-size:12px;line-height:1.7;color:#b9c7da!important;margin:14px 0}.cm-form-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.cm-form-actions button{min-height:46px}.cm-profile [role=status]{font-size:12px;margin-bottom:0;color:#dbc1ff}.cm-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cm-stats article{min-width:0;padding:17px 15px;background:#101827;border:1px solid #33405a;border-radius:12px}.cm-stats small{display:block;color:#b9c8de;font-size:11px}.cm-stats strong{display:block;color:#f4f6ff;font-size:clamp(18px,2vw,26px);line-height:1.4;overflow-wrap:anywhere}.cm-stats em{font-size:10px;font-style:normal;color:#bc9ce5}.cm-specialization{background:linear-gradient(120deg,#171329,#101827)}.cm-specialization h2{margin:5px 0;font-size:21px}.cm-specialization p{font-size:13px;color:#bdcbe0}.cm-looks,.cm-skill-panel{margin-top:25px!important;padding:25px!important;border-radius:16px!important}.cm-search-label{display:block;font-size:12px;color:#c4cee0;margin-bottom:6px}.cm-looks input[type=search]{width:min(100%,360px);box-sizing:border-box;margin-bottom:20px}.cm-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:14px}.cm-look{display:flex;flex-direction:column;align-items:stretch;min-width:0;padding:0;text-align:left;background:#0b111e;border:1px solid #34435c;border-radius:12px;overflow:hidden;transition:border-color .15s,background .15s;cursor:pointer}.cm-look:hover{border-color:#a773cb;background:#151327;transform:none}.cm-look.is-selected{border:2px solid #c68aff;background:#21142d;box-shadow:0 0 0 2px #b452ff15}.cm-look-art{display:block;height:190px;padding:12px 10px 0;background:radial-gradient(ellipse at bottom,#65309035,transparent 75%)}.cm-look-label{font-size:13px;line-height:1.4;font-weight:650;color:#eef1ff;overflow-wrap:anywhere;padding:10px 12px 4px}.cm-look-indicator{display:block;font-size:11px;color:#b8c7dc;padding:0 12px 13px}.is-selected .cm-look-indicator{color:#e5c7ff}.cm-image-missing{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%;height:100%;color:#bdcbe0;font-size:12px}.cm-image-missing svg{width:45%;max-width:120px;height:auto;fill:none;stroke:#ad79d0;stroke-width:2}.cm-skills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px 36px}.cm-skills label{font-size:13px;color:#d5dff0}.cm-skills strong{float:right;color:#e3c7ff;font-size:16px}.cm-skills small{font-size:11px;color:#a9b9d1}.cm-skills strong small{margin-left:3px;font-weight:400} .cm-skill-panel progress,.cm-identity progress{display:block;width:100%;accent-color:#bb70f3;height:6px;margin:9px 0;appearance:auto}.cm-mastery{border-top:1px solid #34415a;margin-top:28px;padding-top:16px}.cm-mastery>div{display:grid;grid-template-columns:45px minmax(60px,1fr) 65px;align-items:center;gap:12px;font-size:12px;color:#cbd6e8}.cm-mastery progress{accent-color:#00bfff}.cm-techniques{margin-top:25px}.cm-techniques .cm-chip{margin:3px 8px 3px 0}.cm-empty{grid-column:1/-1;padding:20px;color:#bdcbe0}.cm-looks #cm-selection-state{color:#e4bfff;font-size:12px}
@media(min-width:1500px){.cm-avatar{bottom:140px}.cm-stage{min-height:730px}.cm-look-art{height:220px}}
@media(max-width:1050px){.cm-layout{grid-template-columns:minmax(250px,.9fr) minmax(290px,1fr);gap:16px}.cm-stage{min-height:720px}.cm-section-title{align-items:flex-start}.cm-section-title .cm-chip{max-width:110px;font-size:10px}.cm-right .panel{padding:20px}.cm-stats{gap:8px}.cm-stats article{padding:13px 10px}}
@media(max-width:700px){.cm-heading{align-items:flex-start;flex-direction:column;gap:12px}.cm-layout{grid-template-columns:1fr}.cm-stage{min-height:580px}.cm-avatar{inset:55px 20px 135px}.cm-identity{padding:45px 22px 20px}.cm-stage-floor{bottom:150px}.cm-right{gap:14px}.cm-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cm-look-art{height:175px}.cm-skills{grid-template-columns:1fr}.cm-looks,.cm-skill-panel{padding:20px!important}.cm-section-title{gap:12px}.cm-section-title h2{font-size:21px}.cm-section-title>a{font-size:12px;max-width:125px;text-align:right}.cm-stage-top{font-size:10px;left:16px;right:16px}.cm-profile .cm-chip{white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.cm-look{transition:none}}
/* Keep the identity panel independent of the global form label layout. */
.cm-skills label{display:block;margin:0}.cm-skills label>small{display:block}.cm-image-missing svg{display:block;flex:none;min-height:120px}.cm-avatar>.cm-image-missing{background:transparent}
:root{--cm-neon:#9146ff;--cm-line:#634289;--cm-glass:#101322e8}
.cm-heading{padding:26px;border-left:4px solid var(--cm-neon);background:linear-gradient(110deg,#25113d,#080d18);border-radius:14px}.cm-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:0 0 24px}.cm-tabs button{min-height:58px;padding:10px 6px;border:1px solid var(--cm-line);background:var(--cm-glass);font-size:12px}.cm-tabs button[aria-pressed=true]{border-color:#c294ff;box-shadow:inset 0 -3px var(--cm-neon),0 0 14px #9146ff25;color:#eadbff}.cm-career .panel{background:linear-gradient(125deg,#151323ed,#0b111a);margin-bottom:20px}.cm-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.cm-facts>div{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 0;border-bottom:1px solid #70518b40;min-width:0}.cm-facts dt{font-size:12px;color:#bdcbe0}.cm-facts dd{margin:0;font-size:13px;color:#f4f6ff;text-align:right;overflow-wrap:anywhere}.cm-career-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.cm-career-grid article{border:1px solid #514065;border-radius:10px;padding:18px;background:#0a0e18}.cm-career-grid small{display:block;color:#bdcbe0}.cm-career-grid strong{display:block;font-size:28px;color:#e6ccff}.cm-car-preview{display:grid;grid-template-columns:minmax(150px,.6fr) 1fr;gap:24px;align-items:center}.cm-car-preview img{width:100%;height:340px;object-fit:contain}.cm-goal{border:1px solid #584069;padding:18px;border-radius:12px;margin:12px 0;background:#0b101b}.cm-goal progress{width:100%;accent-color:var(--cm-neon)}.cm-career label{display:block}.cm-career select{margin:10px;width: min(100%,360px)}[hidden]{display:none!important}.cm-tabs button:focus-visible{outline:3px solid #00bfff}.cm-identity progress,.cm-skill-panel progress{transition:width .4s ease}
@media(max-width:1000px){.cm-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.cm-career-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cm-facts{grid-template-columns:1fr}}
@media(max-width:600px){.cm-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.cm-car-preview{grid-template-columns:1fr}.cm-heading{padding:20px}.cm-car-preview img{height:280px}}
@media(prefers-reduced-motion:reduce){.cm-identity progress,.cm-skill-panel progress{transition:none}}
.cm-right .cm-account .cm-facts{grid-template-columns:1fr;margin:0}.cm-right .cm-account .cm-facts>div{padding:9px 0}.cm-right .cm-account h2{font-size:20px}.cm-layout .cm-avatar{bottom:240px}.cm-layout .cm-identity{padding-top:40px}
@keyframes cm-progress-enter{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.cm-skill-panel progress::-webkit-progress-value,.cm-identity progress::-webkit-progress-value{animation:cm-progress-enter .45s ease-out;transform-origin:left;background:linear-gradient(90deg,#7725d9,#b471ff)}
.cm-skill-panel progress::-moz-progress-bar,.cm-identity progress::-moz-progress-bar{animation:cm-progress-enter .45s ease-out;transform-origin:left;background:linear-gradient(90deg,#7725d9,#b471ff)}
.cm-layout .cm-avatar img{max-height:650px}
@media(max-width:700px){.cm-layout .cm-avatar{bottom:135px}}
@media(prefers-reduced-motion:reduce){.cm-skill-panel progress::-webkit-progress-value,.cm-identity progress::-webkit-progress-value{animation:none}.cm-skill-panel progress::-moz-progress-bar,.cm-identity progress::-moz-progress-bar{animation:none}}
.cm-refresh{margin:0 0 20px;min-height:44px;border-color:var(--cm-line)}
.cm-mechanics{margin-top:18px;border-top:1px solid var(--cm-line);padding-top:12px}.cm-mechanics details{margin:12px 0;border:1px solid #514065;border-radius:9px;padding:12px}.cm-mechanics summary{cursor:pointer;color:#e0c7ff;min-height:30px}.cm-mechanics p,.cm-mechanics li{font-size:12px;overflow-wrap:anywhere}.cm-mechanics input:not([type=checkbox]),.cm-mechanics select{width:100%;box-sizing:border-box;margin:8px 0;min-height:44px}.cm-mechanics form{border-top:1px solid #514065;padding:14px 0}.cm-mechanics code{font-size:11px}.cm-mechanics input[type=checkbox]{width:auto}.cm-mechanics label{margin:8px 0}
