
.cm-account-slot{margin-left:auto;display:flex;align-items:center;min-width:180px;justify-content:flex-end}.cm-auth-open{border:1px solid #ed174c;background:#ed174c;color:white;border-radius:8px;padding:10px 14px;font-weight:900;cursor:pointer}.cm-user-chip{display:grid;grid-template-columns:38px 32px 28px minmax(70px,1fr);align-items:center;gap:7px;background:#050b16;border:1px solid #26354d;border-left:3px solid var(--rank,#999);padding:5px 9px 5px 5px;border-radius:6px;color:#fff;cursor:pointer;min-width:205px}.cm-user-chip img,.cm-board-pfp{width:38px;height:38px;border-radius:5px;object-fit:cover;background:#111b2d}.cm-level{font-weight:1000;font-size:18px;text-align:center}.cm-rank-badge{width:25px;height:25px;display:grid;place-items:center;color:var(--rank);filter:drop-shadow(0 0 5px color-mix(in srgb,var(--rank),transparent 50%));font-size:19px}.cm-rank-badge:before{content:'◆'}.cm-user-name{font-weight:900;overflow:hidden;text-overflow:ellipsis}.cm-user-rank{display:block;font-size:9px;letter-spacing:1.2px;color:var(--rank);font-weight:1000;text-transform:uppercase}
.cm-clippy-page{padding:18px}.cm-clippy-shell{max-width:1500px;margin:auto}.cm-clippy-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:14px}.cm-clippy-head span{color:#ed174c;font-weight:900;letter-spacing:2px;font-size:10px}.cm-clippy-head h1{font-size:48px;margin:2px 0}.cm-clippy-head p{color:#9babc3;margin:0}.cm-clippy-save{background:#ed174c;color:white;border:0;border-radius:8px;padding:13px 20px;font-weight:1000}.cm-clippy-layout{display:grid;grid-template-columns:minmax(330px,470px) minmax(0,1fr);border:1px solid #26354d;background:#030914;border-radius:16px;overflow:hidden}.cm-clippy-controls{padding:18px;max-height:820px;overflow:auto;background:linear-gradient(180deg,#071224,#030914)}.cm-control-group{padding:13px 0;border-bottom:1px solid #1b2a41}.cm-control-group>b{display:block;margin-bottom:9px;text-transform:uppercase;font-size:12px;letter-spacing:1px}.cm-choice-row,.cm-chip-row,.cm-swatch-row{display:flex;flex-wrap:wrap;gap:7px}.cm-choice-row button,.cm-chip-row button,.cm-option-grid button,.cm-swatch-row button{cursor:pointer}.cm-choice-row button{width:56px;height:46px;border:1px solid #2a3a55;background:#091425;color:#fff;border-radius:7px;font-size:24px}.cm-choice-row button.selected,.cm-chip-row button.selected,.cm-option-grid button.selected{border-color:#ed174c;box-shadow:0 0 0 1px #ed174c inset}.cm-swatch-row button{width:30px;height:30px;border-radius:50%;border:2px solid transparent;background:var(--sw)}.cm-swatch-row button.selected{border-color:#ed174c;box-shadow:0 0 0 2px #071224 inset}.cm-chip-row button{border:1px solid #2a3a55;background:#091425;color:#cdd7e7;border-radius:6px;padding:8px 10px;font-size:11px}.cm-option-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.cm-option-grid button{min-height:50px;border:1px solid #253651;background:#091425;color:#dce5f2;border-radius:6px;padding:6px;font-size:10px;line-height:1.15}.cm-hair-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.cm-tattoo-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cm-tattoo-grid small{display:block;color:#7f90aa;margin-bottom:6px}.cm-clippy-stage{position:relative;min-height:760px;background:#030914;overflow:hidden}.cm-clippy-art{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center}.cm-look-card{position:absolute;left:18px;right:18px;bottom:18px;background:#030914e8;border:1px solid #34445e;border-radius:10px;padding:12px 15px;backdrop-filter:blur(8px)}.cm-look-card b{color:#fff;margin-right:12px}.cm-look-card span{color:#d6deea}.cm-look-card small{display:block;color:#7f90aa;margin-top:4px}.cm-city-motion{position:absolute;inset:0;pointer-events:none;overflow:hidden}.cm-city-motion i{position:absolute;width:3px;height:24px;background:#8cc8ff;opacity:.45;animation:cmCityPulse 2.6s infinite alternate}.cm-city-motion i:nth-child(1){left:20%;top:18%}.cm-city-motion i:nth-child(2){left:34%;top:28%;animation-delay:.8s}.cm-city-motion i:nth-child(3){right:19%;top:16%;animation-delay:1.3s}.cm-city-motion i:nth-child(4){right:34%;top:35%;animation-delay:.4s}.cm-fire-motion{position:absolute;right:4.5%;top:48%;width:8%;height:13%;pointer-events:none;filter:blur(2px)}.cm-fire-motion i{position:absolute;bottom:0;width:18%;height:60%;border-radius:50% 50% 30% 30%;background:#ff9c3b;opacity:.25;animation:cmFlame .8s infinite alternate;transform-origin:bottom}.cm-fire-motion i:nth-child(2){left:28%;height:90%;animation-delay:.2s}.cm-fire-motion i:nth-child(3){left:55%;height:70%;animation-delay:.45s}@keyframes cmCityPulse{to{opacity:.9;transform:scaleY(1.35)}}@keyframes cmFlame{to{transform:scale(.8,1.25) translateY(-3px);opacity:.5}}
.cm-dialog{width:min(460px,calc(100% - 24px));border:1px solid #33435d;border-radius:15px;background:#071224;color:#fff;padding:22px}.cm-dialog::backdrop{background:#01040bd9}.cm-dialog-close{position:absolute;right:10px;top:8px}.cm-dialog-close button{border:0;background:transparent;color:#fff;font-size:28px}.cm-auth-tabs{display:flex;gap:8px;margin:8px 35px 20px 0}.cm-auth-tabs button{flex:1;border:1px solid #2c3d58;background:#0b182b;color:#b9c7da;padding:10px;border-radius:7px;font-weight:900}.cm-auth-tabs button.active{background:#ed174c;color:#fff;border-color:#ed174c}.cm-auth-form{display:grid;gap:11px}.cm-auth-form[hidden]{display:none!important}.cm-auth-form input{background:#030914;border:1px solid #2d3d58;border-radius:7px;padding:13px;color:#fff;font-size:16px}.cm-auth-form>button{background:#ed174c;color:#fff;border:0;border-radius:7px;padding:12px;font-weight:1000}.cm-auth-form p{min-height:18px;color:#ff9aa9}.cm-profile-dialog{width:min(760px,calc(100% - 24px))}.cm-profile-hero{display:grid;grid-template-columns:100px 1fr;gap:18px;align-items:center}.cm-profile-hero img{width:100px;height:100px;object-fit:cover;border-radius:14px;background:#111b2d}.cm-profile-title h2{margin:0;font-size:30px}.cm-profile-rank{font-weight:1000;letter-spacing:2px;color:var(--rank)}.cm-xpbar{height:12px;border-radius:99px;background:#111d30;overflow:hidden;margin:8px 0}.cm-xpbar i{display:block;height:100%;background:var(--rank);width:var(--progress)}.cm-profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:18px}.cm-stat{background:#0a1729;border:1px solid #263650;border-radius:9px;padding:12px}.cm-stat b{display:block;font-size:21px}.cm-stat span{color:#8fa0b9;font-size:11px}.cm-profile-actions{display:flex;gap:8px;margin-top:18px}.cm-profile-actions button{border:1px solid #33445f;background:#0b182b;color:#fff;padding:10px 12px;border-radius:7px}.cm-profile-actions .danger{border-color:#7b263a;color:#ff9aaa}
.cm-leaderboards-page{padding:18px}.cm-board-tabs{display:flex;gap:8px;overflow:auto;padding-bottom:10px}.cm-board-tabs button{flex:0 0 auto;border:1px solid #2b3d58;background:#071224;color:#b9c7da;border-radius:7px;padding:9px 11px;font-weight:800}.cm-board-tabs button.active{background:#ed174c;color:#fff;border-color:#ed174c}.cm-board-panel{max-width:1000px;margin:auto;padding:0;overflow:hidden}.cm-board-heading{display:flex;justify-content:space-between;align-items:center;padding:18px;border-bottom:1px solid #26354d}.cm-board-heading span{font-size:10px;color:#ed174c;font-weight:900;letter-spacing:1.5px}.cm-board-heading h2{margin:3px 0}.cm-board-heading button{background:#0b1a31;border:1px solid #31435f;color:#fff;border-radius:7px;padding:8px 11px}.cm-board-list{padding:8px}.cm-board-row{display:grid;grid-template-columns:48px 44px 34px 30px minmax(100px,1fr) auto;align-items:center;gap:8px;padding:8px;border-bottom:1px solid #17253b;cursor:pointer}.cm-board-row:hover{background:#0a1628}.cm-board-place{font-weight:1000;color:#8495ae;text-align:center}.cm-board-name{font-weight:900}.cm-board-rank{display:block;font-size:9px;color:var(--rank);letter-spacing:1px}.cm-board-score{font-weight:1000}.cm-muted{color:#8798b2;padding:16px}
@media(max-width:980px){header{grid-template-columns:auto 1fr auto}.cm-account-slot{grid-column:1/-1;order:2;justify-content:center;margin:4px auto 0;min-width:0}.cm-user-chip{min-width:220px}.cm-clippy-layout{grid-template-columns:1fr}.cm-clippy-controls{max-height:none;order:2}.cm-clippy-stage{min-height:640px;order:1}.cm-clippy-head{align-items:flex-start;flex-direction:column}.cm-option-grid{grid-template-columns:repeat(3,1fr)}.cm-hair-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:600px){.cm-account-slot{position:absolute;left:50%;top:8px;transform:translateX(-50%);z-index:1003}.cm-auth-open{padding:8px 10px;font-size:11px}.cm-user-chip{grid-template-columns:32px 27px 23px minmax(62px,1fr);min-width:185px;padding:3px 6px}.cm-user-chip img{width:32px;height:32px}.cm-level{font-size:15px}.cm-rank-badge{width:21px;height:21px}.cm-user-name{font-size:12px}.cm-user-rank{font-size:8px}.cm-clippy-page{padding:8px}.cm-clippy-stage{min-height:520px}.cm-clippy-art{object-position:66% center}.cm-clippy-controls{padding:12px}.cm-option-grid{grid-template-columns:repeat(3,1fr)}.cm-hair-grid{grid-template-columns:repeat(4,1fr)}.cm-tattoo-grid{grid-template-columns:1fr}.cm-profile-stats{grid-template-columns:1fr 1fr}.cm-board-row{grid-template-columns:34px 36px 26px 24px minmax(80px,1fr) auto;gap:5px;padding:7px 4px}.cm-board-pfp{width:36px;height:36px}.cm-board-name{font-size:12px}.cm-board-score{font-size:12px}}
@media(prefers-reduced-motion:reduce){.cm-city-motion i,.cm-fire-motion i{animation:none}}

/* CLIPPY LIVE RENDERER v2 — image artwork stays as the penthouse backdrop; selected items render above it. */
.cm-clippy-stage{isolation:isolate}
.cm-clippy-art{z-index:1}
.cm-clippy-live{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;z-index:20!important;pointer-events:none!important;overflow:visible!important}
.cm-clippy-live .cm-live-avatar{filter:drop-shadow(0 12px 16px rgba(0,0,0,.28))}
.cm-clippy-live.changed .cm-live-avatar{animation:cmClippyItemChange .38s cubic-bezier(.2,.9,.25,1)}
.cm-city-motion,.cm-fire-motion{z-index:21}.cm-look-card{z-index:22}
@keyframes cmClippyItemChange{0%{opacity:.6;transform:scale(.985);transform-origin:69.5% 57%}60%{opacity:1;transform:scale(1.012);transform-origin:69.5% 57%}100%{opacity:1;transform:scale(1);transform-origin:69.5% 57%}}
@media(prefers-reduced-motion:reduce){.cm-clippy-live.changed .cm-live-avatar{animation:none}}

/* Simplified fixed-pose Clippy final */
.cm-simple-clippy{padding:0!important}
.cm-simple-shell{display:grid;grid-template-columns:minmax(330px,390px) 1fr;min-height:calc(100vh - 78px);background:#030812}
.cm-simple-controls{background:#07101d;border-right:1px solid #243b59;padding:18px;overflow:auto;max-height:calc(100vh - 78px)}
.cm-simple-title h1{margin:0;font-size:25px}.cm-simple-title p{margin:5px 0 20px;color:#9eb0ca;font-size:11px;letter-spacing:2px}
.cm-simple-group{margin-bottom:17px}.cm-simple-group h3{font-size:12px;letter-spacing:1px;margin:0 0 8px}
.cm-simple-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.cm-simple-grid.gender{grid-template-columns:1fr 1fr}
.cm-simple-opt{background:#0b1729;border:1px solid #294565;border-radius:7px;color:#fff;padding:5px;font-size:10px;cursor:pointer;min-width:0}
.cm-simple-opt img{display:block;width:100%;height:58px;object-fit:cover;border-radius:4px;margin-bottom:3px}.cm-simple-opt.on{border-color:#ff174d;box-shadow:inset 0 0 0 1px #ff174d}
.cm-simple-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0 10px}.cm-simple-actions button{padding:12px;background:#0b1729;border:1px solid #294565;border-radius:8px;color:#fff;font-weight:800}
.cm-simple-controls .cm-clippy-save{width:100%;position:static!important}
.cm-simple-stage{position:relative;min-width:0;overflow:hidden;background:#030812;min-height:720px}
.cm-simple-stage video,.cm-simple-stage canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.cm-simple-stage video{opacity:0;pointer-events:none}.cm-simple-stage canvas{display:block}
@media(max-width:800px){.cm-simple-shell{grid-template-columns:1fr}.cm-simple-controls{max-height:none}.cm-simple-stage{min-height:650px}.cm-simple-grid{grid-template-columns:repeat(5,minmax(55px,1fr))}}

/* v2 fixes */
.cm-simple-shell{grid-template-columns:460px minmax(0,1fr)!important;align-items:start}
.cm-simple-controls{width:460px!important;overflow-x:hidden!important}
.cm-simple-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important}
.cm-simple-grid.gender{grid-template-columns:1fr 1fr!important}
.cm-simple-opt{min-width:0!important;padding:5px!important;overflow:hidden}
.cm-simple-opt img{height:72px!important;object-fit:cover!important;background:#0a1424}
.cm-simple-stage{min-height:0!important;aspect-ratio:1/1;max-height:calc(100vh - 105px);width:100%;align-self:start}
.cm-simple-stage canvas{object-fit:contain!important;background:#030712}
@media(max-width:900px){
  .cm-simple-shell{grid-template-columns:1fr!important}
  .cm-simple-controls{width:100%!important;max-height:none!important}
  .cm-simple-stage{aspect-ratio:1/1;max-height:none;min-height:0!important}
}

/* Clippy aligned-rendered-assets v3 */
.cm-v3-page{padding:0!important}
.cm-v3-shell{display:grid;grid-template-columns:460px minmax(0,1fr);min-height:calc(100vh - 86px);background:#030812}
.cm-v3-controls{padding:18px 20px;background:#07101d;border-right:1px solid #263b58;overflow-y:auto;max-height:calc(100vh - 86px);position:relative;z-index:10}
.cm-v3-title h1{margin:0;font-size:24px}.cm-v3-title p{margin:4px 0 19px;color:#9db0ca;font-size:10px;letter-spacing:2px}
.cm-v3-group{margin-bottom:17px}.cm-v3-group h3{font-size:12px;letter-spacing:1px;margin:0 0 8px}
.cm-v3-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.cm-v3-grid.gender{grid-template-columns:1fr 1fr}
.cm-v3-opt{appearance:none;border:1px solid #294667;background:#0a1628;border-radius:8px;color:#fff;padding:5px;cursor:pointer;min-width:0;position:relative;z-index:20}
.cm-v3-opt:hover,.cm-v3-opt.on{border-color:#ff174d;box-shadow:inset 0 0 0 1px #ff174d}
.cm-v3-opt img{width:100%;height:69px;object-fit:contain;display:block;background:#081322;border-radius:5px;margin-bottom:4px;pointer-events:none}
.cm-v3-grid.gender .cm-v3-opt{font-size:16px;padding:14px}.cm-v3-grid.gender .cm-v3-opt img{display:none}
.cm-v3-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0 9px}.cm-v3-actions button,.cm-v3-save{border:1px solid #294667;background:#0a1628;color:#fff;border-radius:8px;padding:13px;font-weight:800;cursor:pointer}
.cm-v3-save{width:100%;background:#f31345;border-color:#f31345}
.cm-v3-stage{position:relative;overflow:hidden;min-width:0;min-height:720px;background:#030812}
.cm-v3-stage>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1;pointer-events:none}
.cm-v3-avatar{position:absolute;left:50%;bottom:1.5%;transform:translateX(-50%);height:min(88%,820px);aspect-ratio:1/1;z-index:3;pointer-events:none}
.cm-v3-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}
@media(max-width:900px){
 .cm-v3-shell{grid-template-columns:1fr}.cm-v3-controls{max-height:none}.cm-v3-stage{min-height:680px}
 .cm-v3-avatar{height:92%}
}
@media(max-width:560px){
 .cm-v3-controls{padding:14px 10px}.cm-v3-grid{gap:5px}.cm-v3-opt{font-size:9px;padding:3px}.cm-v3-opt img{height:58px}.cm-v3-stage{min-height:560px}
}

/* Clippy stage sizing fix v5 */
.cm-v3-shell{
  grid-template-columns:430px minmax(0,1fr)!important;
  width:100%!important;
  min-height:calc(100vh - 86px)!important;
}
.cm-v3-controls{
  width:430px!important;
  max-width:430px!important;
}
.cm-v3-stage{
  position:relative!important;
  width:100%!important;
  min-width:0!important;
  min-height:calc(100vh - 86px)!important;
  height:calc(100vh - 86px)!important;
  overflow:hidden!important;
  background:#030812!important;
}
.cm-v3-bg-poster,
.cm-v3-stage>video{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  pointer-events:none!important;
}
.cm-v3-bg-poster{z-index:1!important;display:block!important}
.cm-v3-stage>video{
  z-index:2!important;
  display:block!important;
  opacity:0;
  transition:opacity .2s linear;
}
.cm-v3-stage>video.cm-ready{opacity:1!important}
.cm-v3-avatar{
  position:absolute!important;
  left:50%!important;
  bottom:0!important;
  transform:translateX(-50%)!important;
  width:min(74%,820px)!important;
  height:auto!important;
  aspect-ratio:1/1!important;
  max-width:820px!important;
  min-width:560px!important;
  z-index:4!important;
  pointer-events:none!important;
}
.cm-v3-avatar img{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  pointer-events:none!important;
}
@media(max-width:1000px){
  .cm-v3-shell{grid-template-columns:390px minmax(0,1fr)!important}
  .cm-v3-controls{width:390px!important;max-width:390px!important}
  .cm-v3-avatar{width:min(82%,760px)!important;min-width:480px!important}
}
@media(max-width:800px){
  .cm-v3-shell{grid-template-columns:1fr!important}
  .cm-v3-controls{width:100%!important;max-width:none!important}
  .cm-v3-stage{height:680px!important;min-height:680px!important}
  .cm-v3-avatar{width:min(92%,650px)!important;min-width:0!important}
}

/* v6 alignment/default fixes */
.cm-v3-avatar{
  width:min(68%,760px)!important;
  max-width:760px!important;
  bottom:1.5%!important;
}
.cm-v3-avatar img{
  object-position:center bottom!important;
}
/* Keep the stage visually centered with breathing room */
.cm-v3-stage{
  display:block!important;
}
/* Keep all five color options visible */
.cm-v3-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}


/* --- ClippaMania 12 Default Clippys --- */
.cm-default-clippy-page{padding:16px 18px 34px!important}
.cm-default-clippy-wrap{width:min(1536px,100%);margin:0 auto}
.cm-default-clippy-image-wrap{position:relative;width:100%;overflow:hidden;border:1px solid rgba(147,169,205,.22);border-radius:14px;background:#020712;box-shadow:0 22px 55px rgba(0,0,0,.28)}
.cm-default-clippy-roster-image{display:block;width:100%;height:auto;user-select:none;-webkit-user-drag:none}
.cm-default-clippy-hotspots{position:absolute;inset:0;pointer-events:none}
.cm-default-clippy-hotspot{position:absolute;appearance:none;background:transparent;border:2px solid transparent;border-radius:8px;cursor:pointer;pointer-events:auto;padding:0;transition:border-color .15s,box-shadow .15s,background .15s}
.cm-default-clippy-hotspot:hover{border-color:rgba(255,255,255,.45);background:rgba(255,255,255,.025)}
.cm-default-clippy-hotspot.selected{border-color:#ed174c;box-shadow:inset 0 0 0 2px rgba(237,23,76,.45),0 0 22px rgba(237,23,76,.65);background:rgba(237,23,76,.035)}
/* exact panel positions in the approved 1536x1024 roster image */
.cm-default-clippy-hotspot:nth-child(1){left:6.45%;top:7.75%;width:14.35%;height:43.6%}
.cm-default-clippy-hotspot:nth-child(2){left:20.95%;top:7.75%;width:14.35%;height:43.6%}
.cm-default-clippy-hotspot:nth-child(3){left:35.45%;top:7.75%;width:14.35%;height:43.6%}
.cm-default-clippy-hotspot:nth-child(4){left:49.95%;top:7.75%;width:14.35%;height:43.6%}
.cm-default-clippy-hotspot:nth-child(5){left:64.45%;top:7.75%;width:14.35%;height:43.6%}
.cm-default-clippy-hotspot:nth-child(6){left:78.95%;top:7.75%;width:14.35%;height:43.6%}
.cm-default-clippy-hotspot:nth-child(7){left:6.45%;top:51.8%;width:14.35%;height:43.0%}
.cm-default-clippy-hotspot:nth-child(8){left:20.95%;top:51.8%;width:14.35%;height:43.0%}
.cm-default-clippy-hotspot:nth-child(9){left:35.45%;top:51.8%;width:14.35%;height:43.0%}
.cm-default-clippy-hotspot:nth-child(10){left:49.95%;top:51.8%;width:14.35%;height:43.0%}
.cm-default-clippy-hotspot:nth-child(11){left:64.45%;top:51.8%;width:14.35%;height:43.0%}
.cm-default-clippy-hotspot:nth-child(12){left:78.95%;top:51.8%;width:14.35%;height:43.0%}
.cm-default-clippy-savebar{position:sticky;bottom:12px;z-index:12;width:min(760px,calc(100% - 18px));margin:18px auto 0;padding:10px 12px;display:flex;align-items:center;gap:12px;border:1px solid rgba(147,169,205,.3);border-radius:13px;background:rgba(2,8,20,.95);backdrop-filter:blur(12px);box-shadow:0 12px 30px rgba(0,0,0,.3)}
.cm-default-clippy-selected{display:flex;align-items:center;gap:10px;min-width:190px}
.cm-default-clippy-selected img{width:52px;height:52px;border-radius:10px;object-fit:cover;border:1px solid #395777;background:#07101d}
.cm-default-clippy-selected small{display:block;color:#98abc7;font-size:9px;font-weight:900;letter-spacing:1.4px}
.cm-default-clippy-selected strong{display:block;color:#fff;font-size:16px}
.cm-default-clippy-message{flex:1;color:#82f7a8;font-size:12px;font-weight:800;text-align:center;min-height:16px}
.cm-default-clippy-save{appearance:none;border:0;border-radius:9px;background:#ed174c;color:#fff;font-weight:1000;padding:14px 22px;cursor:pointer;white-space:nowrap}
.cm-default-clippy-save:hover{filter:brightness(1.08)}
.cm-default-clippy-save:disabled{opacity:.6;cursor:wait}
@media(max-width:760px){
 .cm-default-clippy-page{padding:8px 0 24px!important}
 .cm-default-clippy-image-wrap{border-radius:0;overflow-x:auto}
 .cm-default-clippy-roster-image{width:1120px;max-width:none}
 .cm-default-clippy-hotspots{width:1120px;right:auto}
 .cm-default-clippy-savebar{bottom:6px;flex-wrap:wrap;width:calc(100% - 12px)}
 .cm-default-clippy-selected{flex:1}
 .cm-default-clippy-message{order:3;flex-basis:100%;font-size:11px}
 .cm-default-clippy-save{padding:13px 15px}
}

/* --- Clippy 12 native-radio selector v3 --- */
.cm-default-clippy-image-wrap{position:relative;isolation:isolate}
.cm-default-clippy-roster-image{position:relative;z-index:1;pointer-events:none!important}
.cm-clippy-radio-layer{position:absolute;inset:0;z-index:30;border:0;padding:0;margin:0;pointer-events:none}
.cm-clippy-radio{position:absolute;width:1px;height:1px;opacity:.001;pointer-events:none}
.cm-clippy-radio-hit{
  position:absolute;display:block;z-index:31;
  border:3px solid transparent;border-radius:8px;
  cursor:pointer;pointer-events:auto!important;
  background:rgba(255,255,255,0);
  transition:border-color .12s,box-shadow .12s,background .12s;
  -webkit-tap-highlight-color:rgba(237,23,76,.18);
}
.cm-clippy-radio-hit span{position:absolute;left:50%;bottom:1.2%;transform:translateX(-50%);opacity:0;pointer-events:none}
.cm-clippy-radio-hit:hover{border-color:rgba(255,255,255,.55);background:rgba(255,255,255,.02)}
.cm-clippy-radio:focus-visible + .cm-clippy-radio-hit{outline:3px solid #71b8ff;outline-offset:2px}
.cm-clippy-radio:checked + .cm-clippy-radio-hit{
  border-color:#ff174d!important;
  box-shadow:inset 0 0 0 2px rgba(255,23,77,.5),0 0 28px rgba(255,23,77,.72)!important;
  background:rgba(255,23,77,.035)!important;
}
/* exact panel hit areas over the approved 1536x1024 roster artwork */
.cm-clippy-hit-1{left:6.45%;top:7.75%;width:14.35%;height:43.6%}
.cm-clippy-hit-2{left:20.95%;top:7.75%;width:14.35%;height:43.6%}
.cm-clippy-hit-3{left:35.45%;top:7.75%;width:14.35%;height:43.6%}
.cm-clippy-hit-4{left:49.95%;top:7.75%;width:14.35%;height:43.6%}
.cm-clippy-hit-5{left:64.45%;top:7.75%;width:14.35%;height:43.6%}
.cm-clippy-hit-6{left:78.95%;top:7.75%;width:14.35%;height:43.6%}
.cm-clippy-hit-7{left:6.45%;top:51.8%;width:14.35%;height:43.0%}
.cm-clippy-hit-8{left:20.95%;top:51.8%;width:14.35%;height:43.0%}
.cm-clippy-hit-9{left:35.45%;top:51.8%;width:14.35%;height:43.0%}
.cm-clippy-hit-10{left:49.95%;top:51.8%;width:14.35%;height:43.0%}
.cm-clippy-hit-11{left:64.45%;top:51.8%;width:14.35%;height:43.0%}
.cm-clippy-hit-12{left:78.95%;top:51.8%;width:14.35%;height:43.0%}
@media(max-width:760px){
  .cm-clippy-radio-layer{width:1120px;right:auto}
}

/* Profile details, owner verified mark, Top 10 and text-only tab headers */
.cm-verified{display:inline-grid;place-items:center;width:17px;height:17px;margin-left:6px;border-radius:50%;background:#168cff;color:#fff;font-size:11px;font-weight:1000;vertical-align:2px;box-shadow:0 0 0 2px #071224}
.cm-user-name .cm-verified,.cm-board-name .cm-verified{width:14px;height:14px;font-size:9px;margin-left:4px;vertical-align:1px}
.cm-stat-button{appearance:none;text-align:left;color:#fff;font:inherit;cursor:pointer;width:100%}.cm-stat-button:hover,.cm-stat-button:focus-visible{border-color:#4d6b94;background:#0d1e35;outline:none}
.cm-rank-stat b{color:var(--rank);font-weight:1000;letter-spacing:.7px;text-shadow:0 0 11px color-mix(in srgb,var(--rank),transparent 65%)}
.cm-profile-detail{margin-top:12px;padding:14px;border:1px solid #263650;border-radius:10px;background:#06101f;min-height:82px}.cm-profile-detail h3{margin:0 0 8px;font-size:18px}.cm-profile-detail p{margin:6px 0;line-height:1.45}
.cm-detail-list{display:grid;gap:7px;margin-top:10px}.cm-detail-list>div{display:flex;justify-content:space-between;gap:12px;padding:9px 10px;border:1px solid #22344d;border-radius:8px;background:#0a1729}.cm-detail-list span{color:#9eb0c9;font-size:12px;text-align:right}.cm-rank-guide>div b{color:var(--detail-rank);letter-spacing:.7px}
.cm-badge-guide{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}.cm-badge-guide>div{display:flex;gap:8px;align-items:flex-start;padding:9px;border:1px solid #263650;border-radius:8px;background:#0a1729}.cm-badge-guide>div>span{font-size:18px}.cm-badge-guide .earned>span{color:#67f49a}.cm-badge-guide .locked{opacity:.6}.cm-badge-guide b,.cm-badge-guide small{display:block}.cm-badge-guide small{color:#9cadc5;margin-top:2px;line-height:1.3}
.cm-detail-action{border:1px solid #ed174c;background:#ed174c;color:#fff;border-radius:7px;padding:9px 11px;font-weight:900;cursor:pointer}
.cm-board-heading:after{content:'TOP 10';margin-left:auto;margin-right:10px;border:1px solid #ed174c;color:#ed174c;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:1000;letter-spacing:1.2px}
.cm-tab-text-header{display:flex;align-items:center;justify-content:center;min-height:150px;padding:26px 20px;text-align:center}.cm-tab-text-header h1{margin:0;color:#fff;font-family:Arial,Helvetica,sans-serif;font-size:clamp(42px,6vw,82px);font-weight:1000;letter-spacing:-2px;line-height:.96}.cm-tab-text-header h1 span{color:#ed174c}
#tickets .tickets-page>.cm-tab-text-header{margin-bottom:2px}#merch>.cm-tab-text-header{width:min(1180px,calc(100% - 24px));margin:0 auto}
@media(max-width:600px){.cm-badge-guide{grid-template-columns:1fr}.cm-profile-detail{padding:11px}.cm-tab-text-header{min-height:104px;padding:17px 10px}.cm-tab-text-header h1{font-size:clamp(34px,11.5vw,52px);letter-spacing:-1px;max-width:100%}#merch .cm-tab-text-header h1{max-width:330px}.cm-board-heading:after{display:none}}

/* v2 profile refinements */
.cm-board-title-hidden{display:none!important}
.cm-profile-title h2{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:nowrap!important}
.cm-profile-title h2 .cm-verified{flex:0 0 auto;margin:0!important;vertical-align:middle!important}
.cm-verified{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:17px!important;height:17px!important;min-width:17px;border-radius:50%!important;background:#1d9bf0!important;color:#fff!important;font-size:11px!important;line-height:1!important;font-weight:1000!important;box-shadow:none!important;clip-path:none!important}
.cm-user-name{display:inline-flex;align-items:center;flex-wrap:wrap;column-gap:4px}.cm-user-name .cm-user-rank{flex-basis:100%}.cm-user-name .cm-verified{order:0;margin:0!important}
.cm-profile-detail:empty{display:none}
.cm-badges-stat b{display:flex;align-items:center;min-height:28px}
.cm-earned-badges{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.cm-no-badges{font-size:12px;color:#8da1bd;font-weight:700}
.cm-emblem{position:relative;display:inline-grid;place-items:center;width:34px;height:34px;flex:0 0 34px;clip-path:polygon(50% 0,88% 18%,100% 55%,73% 100%,27% 100%,0 55%,12% 18%);background:linear-gradient(145deg,#d69a37,#6e3511);filter:drop-shadow(0 2px 3px #0008)}
.cm-emblem:before{content:"";position:absolute;inset:3px;clip-path:inherit;background:radial-gradient(circle at 35% 25%,#294c75,#081322 66%);border-radius:2px}
.cm-emblem i{position:relative;z-index:1;font-style:normal;font-size:18px;line-height:1;color:#f6d878;text-shadow:0 1px 0 #000,0 0 7px #f04a2c}
.cm-emblem-streak30,.cm-emblem-level25{background:linear-gradient(145deg,#d7dce5,#596477)}
.cm-emblem-streak100,.cm-emblem-level50{background:linear-gradient(145deg,#f0c44e,#8f3c12)}
.cm-emblem-streak365,.cm-emblem-fantasy{background:linear-gradient(145deg,#f5e481,#b71d2e)}
.cm-emblem-exact,.cm-emblem-game1{background:linear-gradient(145deg,#e13c3c,#58131a)}
.cm-emblem-xp1000{background:linear-gradient(145deg,#b89cff,#391e6d)}
.cm-badge-guide .cm-emblem{width:42px;height:42px;flex-basis:42px}
.cm-badge-guide .locked .cm-emblem{filter:grayscale(1);opacity:.5}
.cm-badge-guide .earned .cm-emblem{filter:drop-shadow(0 0 7px #e7a33288)}
.cm-board-heading h1:empty{display:none}
.cm-merch-text-only+ .merch-showcase{margin-top:0}

/* Leaderboard + owner-chip polish v3 */
.cm-user-name{display:flex!important;flex-direction:column!important;align-items:flex-start!important;min-width:0}
.cm-user-name-line{display:inline-flex!important;align-items:center!important;gap:5px!important;white-space:nowrap!important;line-height:1!important}
.cm-user-name-line .cm-verified{margin:0!important;flex:0 0 14px!important;vertical-align:middle!important}
.cm-user-rank{display:block!important;margin-top:3px!important}

/* No white game-name/Top-10 title inside leaderboard card */
.cm-board-heading h2,.cm-board-heading #cm-board-title{display:none!important}
.cm-board-heading>div{display:flex;align-items:center}
.cm-board-heading{min-height:58px}

/* Crop leaderboard card tightly to final row */
.cm-board-panel{padding-bottom:0!important}
.cm-board-list{padding:0!important;margin:0!important}
.cm-board-row:last-child{border-bottom:0!important}
.cm-board-list>.cm-muted:last-child{margin:0}
.cm-board-panel:after{display:none!important}

/* podium numbers */
.cm-board-row.cm-podium-1 .cm-board-place{
 color:#ffd84a!important;font-size:18px!important;font-weight:1000!important;
 text-shadow:0 0 9px #d69b00,0 1px 0 #5c4100;
}
.cm-board-row.cm-podium-2 .cm-board-place{
 color:#e5e9ef!important;font-size:17px!important;font-weight:1000!important;
 text-shadow:0 0 7px #aab3c0,0 1px 0 #505866;
}
.cm-board-row.cm-podium-3 .cm-board-place{
 color:#cf7b3c!important;font-size:17px!important;font-weight:1000!important;
 text-shadow:0 0 7px #8c451c,0 1px 0 #4b240f;
}
.cm-board-row.cm-podium-1 .cm-board-place:before{content:'★';font-size:10px;margin-right:4px;vertical-align:2px}
.cm-board-row.cm-podium-2 .cm-board-place:before{content:'◆';font-size:9px;margin-right:4px;vertical-align:2px}
.cm-board-row.cm-podium-3 .cm-board-place:before{content:'◆';font-size:9px;margin-right:4px;vertical-align:2px}

/* 2K-style current-user highlight */
.cm-board-row.cm-board-self{
 position:relative;
 background:linear-gradient(90deg,#f7d83d 0%,#e8b413 100%)!important;
 color:#071224!important;
 border-bottom-color:#b38500!important;
 box-shadow:inset 5px 0 0 #fff2a0,inset 0 1px 0 #ffe978,inset 0 -1px 0 #b88600;
}
.cm-board-row.cm-board-self .cm-board-name,
.cm-board-row.cm-board-self .cm-board-score,
.cm-board-row.cm-board-self .cm-level{color:#071224!important}
.cm-board-row.cm-board-self .cm-board-rank{color:#6d4300!important}
.cm-board-row.cm-board-self .cm-rank-badge{filter:brightness(.65)}
.cm-board-row.cm-board-self:hover{background:linear-gradient(90deg,#ffe35b,#efbd1a)!important}

/* Merch: text header only */
#merch .cm-shop-hero{height:auto!important;min-height:112px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;display:flex!important;align-items:center!important;justify-content:center!important}
#merch .cm-shop-hero img{display:none!important}
#merch .cm-shop-text-header{display:block!important;margin:0;text-align:center;color:#fff;font-family:Arial,Helvetica,sans-serif;font-size:clamp(42px,6vw,78px);font-weight:1000;letter-spacing:-2px;line-height:.96}
#merch .cm-shop-text-header span{color:#ed174c}
@media(max-width:600px){
 #merch .cm-shop-hero{min-height:90px!important}
 #merch .cm-shop-text-header{font-size:clamp(34px,11vw,48px);letter-spacing:-1px}
}

/* Leaderboards UX v4 */
.cm-leaderboards-shell{width:min(1180px,calc(100% - 28px));margin:0 auto;padding:34px 0 44px}
.cm-leaderboards-title{font-size:clamp(36px,5vw,60px);font-weight:1000;letter-spacing:1.5px;color:#d7a63d;margin:0 0 18px;text-shadow:0 1px 0 #5c3f0d}
.cm-leaderboard-mode-tabs{display:flex;gap:10px;margin-bottom:16px}
.cm-lb-mode{appearance:none;border:1px solid #31445f;background:#081426;color:#c7d2e5;border-radius:8px;padding:11px 20px;font-weight:1000;letter-spacing:.6px;cursor:pointer}
.cm-lb-mode.active{background:#ed174c;border-color:#ed174c;color:#fff}
.cm-lb-games-panel{margin-bottom:16px}
.cm-lb-games-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.cm-lb-games-grid button{appearance:none;border:1px solid #31445f;background:#081426;color:#c7d2e5;border-radius:8px;padding:12px 10px;font-weight:900;cursor:pointer}
.cm-lb-games-grid button.active{border-color:#ed174c;background:#13223b;color:#fff;box-shadow:inset 0 0 0 1px #ed174c}
.cm-board-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:17px 20px!important;border-bottom:1px solid #263b58!important}
.cm-board-heading p{margin:0!important;color:#ed174c!important;font-size:10px!important;font-weight:1000!important;letter-spacing:1.4px!important}
.cm-board-top10-pill{border:1px solid #ed174c;color:#ed174c;border-radius:999px;padding:5px 9px;font-size:9px;font-weight:1000;letter-spacing:1px}
.cm-board-title-hidden,#cm-board-title{display:none!important}
.cm-board-row{grid-template-columns:58px 42px 36px 24px minmax(0,1fr) 110px!important}
.cm-board-score{text-align:right!important;white-space:nowrap!important}
.cm-user-name{display:flex!important;flex-direction:column!important;align-items:flex-start!important;min-width:0!important}
.cm-user-name-line{display:inline-flex!important;align-items:center!important;gap:5px!important;white-space:nowrap!important;line-height:1!important}
.cm-owner-name-text{display:inline-block!important;line-height:1!important}
.cm-user-name-line .cm-verified{display:inline-flex!important;align-items:center!important;justify-content:center!important;position:static!important;transform:none!important;margin:0!important;vertical-align:middle!important;width:15px!important;height:15px!important;min-width:15px!important;border-radius:50%!important;background:#1d9bf0!important;color:#fff!important;font-size:10px!important;line-height:15px!important;clip-path:none!important;box-shadow:none!important}
@media(max-width:700px){
 .cm-leaderboards-shell{width:min(100% - 16px,1180px);padding:22px 0 30px}
 .cm-leaderboards-title{text-align:center}
 .cm-leaderboard-mode-tabs{justify-content:center}
 .cm-lb-games-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .cm-board-row{grid-template-columns:44px 38px 32px 20px minmax(0,1fr) 72px!important}
 .cm-board-score{font-size:12px}
}

/* v5: unique badge palette */
.cm-emblem-streak7{background:linear-gradient(145deg,#42d8ff,#0a5c9e)!important}
.cm-emblem-streak30{background:linear-gradient(145deg,#76e65d,#1f772c)!important}
.cm-emblem-streak100{background:linear-gradient(145deg,#ffd34d,#a86c00)!important}
.cm-emblem-streak365{background:linear-gradient(145deg,#ff63cf,#8c1c69)!important}
.cm-emblem-articles10{background:linear-gradient(145deg,#ff7a45,#9a3216)!important}
.cm-emblem-level25{background:linear-gradient(145deg,#cfd6df,#5d6b7d)!important}
.cm-emblem-level50{background:linear-gradient(145deg,#fff179,#9b8200)!important}
.cm-emblem-exact{background:linear-gradient(145deg,#ff4141,#861313)!important}
.cm-emblem-fantasy{background:linear-gradient(145deg,#b46cff,#52218e)!important}
.cm-emblem-top10{background:linear-gradient(145deg,#42e0c2,#13715f)!important}
.cm-emblem-game1{background:linear-gradient(145deg,#477cff,#16318b)!important}
.cm-emblem-xp1000{background:linear-gradient(145deg,#f1f1f1,#555)!important}

/* badges beside usernames on every leaderboard */
.cm-board-name-wrap{display:flex;align-items:center;gap:9px;min-width:0}
.cm-board-name-wrap .cm-board-name{min-width:0}
.cm-board-badges{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.cm-board-badges .cm-emblem{width:24px!important;height:24px!important;flex:0 0 24px!important}
.cm-board-badges .cm-emblem i{font-size:12px!important}

/* fix male selection frame; female frames remain untouched */
.cm-clippy-hit-1,.cm-clippy-hit-2,.cm-clippy-hit-3,.cm-clippy-hit-4,.cm-clippy-hit-5,.cm-clippy-hit-6{
 top:5.9%!important;
 height:45.45%!important;
}
@media(max-width:700px){
 .cm-board-name-wrap{gap:5px}
 .cm-board-badges{gap:2px}
 .cm-board-badges .cm-emblem{width:18px!important;height:18px!important;flex-basis:18px!important}
 .cm-board-badges .cm-emblem i{font-size:9px!important}
}

/* Mobile leaderboard presentation v6 */
.cm-board-name-wrap{min-width:0}
.cm-board-identity{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.cm-board-name-line{display:inline-flex;align-items:center;gap:5px;min-width:0;max-width:100%;white-space:nowrap}
.cm-board-username{display:inline-block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cm-board-name-line .cm-verified{position:static!important;transform:none!important;flex:0 0 auto!important;margin:0!important;align-self:center!important}
.cm-board-badges{display:flex!important;flex-direction:row!important;align-items:center!important;gap:4px!important;flex-wrap:nowrap!important;white-space:nowrap}
.cm-board-badges .cm-emblem{display:inline-grid!important}

@media(max-width:700px){
  /* let the leaderboard itself use the full phone width */
  .cm-leaderboards-page{padding-left:0!important;padding-right:0!important}
  .cm-leaderboards-shell{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:18px 0 24px!important;
  }
  .cm-leaderboards-title{
    padding:0 18px!important;
    margin-bottom:16px!important;
    font-size:clamp(38px,11vw,54px)!important;
    line-height:1!important;
    letter-spacing:.5px!important;
  }
  .cm-leaderboard-mode-tabs{
    padding:0 18px!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:10px!important;
    margin-bottom:18px!important;
  }
  .cm-lb-mode{
    min-width:0!important;
    width:100%!important;
    padding:13px 8px!important;
    font-size:14px!important;
    border-radius:9px!important;
  }
  .cm-lb-games-panel{
    padding:0 12px!important;
    margin-bottom:14px!important;
  }
  .cm-lb-games-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }

  .cm-board-panel{
    width:100%!important;
    max-width:none!important;
    border-left:0!important;
    border-right:0!important;
    border-radius:0!important;
    margin:0!important;
    overflow:hidden!important;
  }
  .cm-board-heading{
    padding:14px 14px!important;
  }
  .cm-board-heading p{
    font-size:9px!important;
    letter-spacing:1.15px!important;
  }

  /* simplified 4-column mobile row:
     place | pfp | identity + badges | score */
  .cm-board-row{
    grid-template-columns:42px 48px minmax(0,1fr) 72px!important;
    column-gap:8px!important;
    min-height:66px!important;
    padding:7px 12px!important;
    align-items:center!important;
  }
  .cm-board-place{grid-column:1!important}
  .cm-board-pfp{
    grid-column:2!important;
    width:44px!important;
    height:44px!important;
  }
  .cm-level,.cm-rank-badge{
    display:none!important;
  }
  .cm-board-name-wrap{
    grid-column:3!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:center!important;
    gap:5px!important;
    min-width:0!important;
    overflow:visible!important;
  }
  .cm-board-identity{
    width:100%!important;
    min-width:0!important;
  }
  .cm-board-name-line{
    max-width:100%!important;
    font-size:14px!important;
    line-height:1.05!important;
  }
  .cm-board-username{
    max-width:calc(100% - 22px)!important;
    font-weight:1000!important;
  }
  .cm-board-rank{
    margin-top:3px!important;
    font-size:9px!important;
    letter-spacing:1px!important;
  }
  .cm-board-score{
    grid-column:4!important;
    justify-self:end!important;
    font-size:13px!important;
    font-weight:1000!important;
  }

  /* badges stay side-by-side under the username, never stacked */
  .cm-board-badges{
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    flex-wrap:nowrap!important;
    gap:3px!important;
    scrollbar-width:none;
    padding-bottom:1px;
  }
  .cm-board-badges::-webkit-scrollbar{display:none}
  .cm-board-badges .cm-emblem{
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    flex:0 0 20px!important;
  }
  .cm-board-badges .cm-emblem i{font-size:10px!important}

  /* verified check sits directly to the right of clippamania */
  .cm-board-name-line .cm-verified{
    width:15px!important;
    height:15px!important;
    min-width:15px!important;
    font-size:10px!important;
    line-height:15px!important;
    vertical-align:middle!important;
  }

  /* keep the highlighted logged-in row clean edge-to-edge */
  .cm-board-row.cm-board-self{
    margin:0!important;
    border-radius:0!important;
  }

  /* prettier podium spacing on phone */
  .cm-board-row.cm-podium-1 .cm-board-place,
  .cm-board-row.cm-podium-2 .cm-board-place,
  .cm-board-row.cm-podium-3 .cm-board-place{
    font-size:16px!important;
    letter-spacing:-.5px!important;
    white-space:nowrap!important;
  }
}

@media(max-width:390px){
  .cm-leaderboards-title{font-size:38px!important}
  .cm-leaderboard-mode-tabs{padding:0 10px!important;gap:7px!important}
  .cm-lb-mode{font-size:13px!important;padding:12px 6px!important}
  .cm-board-row{
    grid-template-columns:38px 44px minmax(0,1fr) 66px!important;
    column-gap:7px!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  .cm-board-pfp{width:40px!important;height:40px!important}
  .cm-board-name-line{font-size:13px!important}
  .cm-board-score{font-size:12px!important}
}

/* Mobile account chip + full leaderboard names v7 */
@media(max-width:700px){
  /* Top account chip: keep the whole account identity visible */
  header .cm-account-slot,
  #cm-account-slot{
    min-width:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .cm-user-chip{
    min-width:0!important;
    width:auto!important;
    max-width:calc(100vw - 190px)!important;
    padding:6px 9px!important;
    gap:7px!important;
    overflow:visible!important;
  }
  .cm-user-chip>img{
    width:38px!important;
    height:38px!important;
    flex:0 0 38px!important;
  }
  .cm-user-chip .cm-level{
    flex:0 0 auto!important;
  }
  .cm-user-chip .cm-rank-badge{
    flex:0 0 12px!important;
  }
  .cm-user-chip .cm-user-name{
    min-width:0!important;
    max-width:none!important;
    overflow:visible!important;
  }
  .cm-user-chip .cm-user-name-line{
    max-width:none!important;
    overflow:visible!important;
    white-space:nowrap!important;
  }
  .cm-user-chip .cm-owner-name-text{
    max-width:none!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:nowrap!important;
  }

  /* Leaderboard names: never ellipsize */
  .cm-board-name-wrap{
    overflow:visible!important;
    min-width:0!important;
  }
  .cm-board-identity{
    overflow:visible!important;
    min-width:0!important;
    width:100%!important;
  }
  .cm-board-name-line{
    max-width:none!important;
    width:max-content!important;
    white-space:nowrap!important;
    overflow:visible!important;
  }
  .cm-board-username{
    max-width:none!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:nowrap!important;
  }

  /* Give usernames more room by tightening the mobile grid slightly */
  .cm-board-row{
    grid-template-columns:38px 44px minmax(0,1fr) 62px!important;
    column-gap:7px!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  .cm-board-place{
    font-size:15px!important;
  }
  .cm-board-pfp{
    width:40px!important;
    height:40px!important;
  }
  .cm-board-name-line{
    font-size:13px!important;
  }
  .cm-board-score{
    font-size:12px!important;
  }

  /* Badge row stays horizontal under the full username */
  .cm-board-badges{
    overflow:visible!important;
    max-width:none!important;
  }
}

@media(max-width:390px){
  .cm-user-chip{
    max-width:calc(100vw - 175px)!important;
    padding:5px 7px!important;
    gap:6px!important;
  }
  .cm-user-chip>img{
    width:34px!important;
    height:34px!important;
    flex-basis:34px!important;
  }
  .cm-user-chip .cm-owner-name-text{
    font-size:13px!important;
  }
  .cm-user-chip .cm-user-rank{
    font-size:8px!important;
  }
  .cm-board-row{
    grid-template-columns:34px 40px minmax(0,1fr) 58px!important;
    column-gap:6px!important;
  }
  .cm-board-pfp{
    width:38px!important;
    height:38px!important;
  }
  .cm-board-name-line{
    font-size:12px!important;
  }
  .cm-board-score{
    font-size:11px!important;
  }
}
