:root{color-scheme:dark;--cp-bg:#080d18;--cp-panel:#101824;--cp-line:#263242;--cp-cyan:#00c8f3;--cp-text:#edf5ff;--cp-muted:#98a8ba}.cp-shell *{box-sizing:border-box}body.cp-page{margin:0;background:radial-gradient(ellipse at 65% 0,#102739 0,transparent 48%),var(--cp-bg);color:var(--cp-text);font:15px/1.6 'Segoe UI',Arial,sans-serif}.cp-shell a{color:inherit;text-decoration:none}.cp-shell a:hover{color:var(--cp-cyan)}.cp-shell button,.cp-shell input{font:inherit}.cp-shell button,.cp-shell a,.cp-shell input{ -webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(--cp-cyan);outline-offset:5px}.cp-shell button{cursor:pointer}.cp-shell button:disabled{opacity:.6;cursor:wait}.cp-nav{display:flex;justify-content:space-between;align-items:center;padding:22px max(5vw,20px);border-bottom:1px solid var(--cp-line);background:#080d18e8}.cp-brand{font-size:19px;letter-spacing:2px;font-weight:900}.cp-brand span{color:var(--cp-cyan)}.cp-nav nav{display:flex;gap:25px}.cp-shell{max-width:1400px;margin:0 auto;padding:28px 28px 65px}.cp-breadcrumb{display:flex;gap:12px;font-size:12px;color:var(--cp-muted);margin-bottom:25px;overflow-wrap:anywhere}.cp-cover{height:230px;position:relative;overflow:hidden;border:1px solid #245065;border-radius:22px 22px 0 0;background:linear-gradient(120deg,transparent 45%,#04b8e018 45%,#04b8e018 60%,transparent 60%),linear-gradient(35deg,#15293d,#073249 50%,#111a2a)}.cp-cover:after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(130deg,transparent 0 95px,#65d5ff0b 96px 97px)}.cp-cover-word{position:absolute;right:25px;bottom:-40px;font-size:clamp(80px,13vw,190px);font-weight:900;letter-spacing:-8px;color:#13cced0a;-webkit-text-stroke:1px #36daf326;transform:skew(-12deg)}.cp-cover-caption{position:absolute;top:30px;left:32px;letter-spacing:5px;font-size:10px;color:#8beaff}.cp-identity{display:flex;gap:24px;align-items:center;padding:0 32px 24px;background:var(--cp-panel);border-inline:1px solid var(--cp-line)}.cp-avatar{width:42px;height:42px;flex:0 0 auto;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#12576b,#384780);color:#b8f1ff;font-size:18px;font-weight:700;overflow:hidden}.cp-avatar img{width:100%;height:100%;object-fit:cover}.cp-avatar-main{width:126px;height:126px;margin-top:-40px;z-index:1;border:6px solid var(--cp-panel);font-size:46px;box-shadow:0 0 0 1px #397185}.cp-name{padding-top:20px;flex:1;min-width:0}.cp-name h1{font-size:30px;line-height:1.2;margin:4px 0 8px;overflow-wrap:anywhere}.cp-eyebrow{font-size:10px;letter-spacing:2px;text-transform:uppercase;color:var(--cp-muted)}.cp-status{font-size:12px;color:#53e8cd}.cp-button{display:inline-flex;justify-content:center;gap:8px;align-items:center;border:1px solid #00b7df;border-radius:9px;background:#00bde71a;color:#8cecff;padding:10px 20px;font-weight:600;font-size:13px}.cp-button:hover,.cp-button[aria-pressed=true]{background:#00bde735}.cp-stats{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:20px;background:var(--cp-panel);padding:22px 32px;border:1px solid var(--cp-line);border-radius:0 0 18px 18px}.cp-stats>div+div{border-left:1px solid var(--cp-line);padding-left:24px}.cp-stats span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:1.5px;color:var(--cp-muted)}.cp-stats strong{display:block;margin-top:5px;font-size:14px}.cp-muted{color:var(--cp-muted)}.cp-small{font-size:12px}.cp-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:25px}.cp-panel{background:linear-gradient(140deg,#121b27,#0e1620);border:1px solid var(--cp-line);border-radius:15px;padding:24px;margin-bottom:24px}.cp-panel h2,.cp-achievements h2{font-size:16px;margin:0 0 12px;font-weight:650}.cp-panel h2:before{content:'';display:inline-block;height:12px;width:3px;background:var(--cp-cyan);margin-right:10px;border-radius:2px}.cp-empty-small{padding:28px 0;color:var(--cp-muted);font-size:13px}.cp-visitor{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #26324277;overflow-wrap:anywhere}.cp-visitor span:last-child{min-width:0}.cp-check{display:flex;align-items:flex-start;gap:10px;font-size:12px;margin:20px 0}.cp-check input{accent-color:var(--cp-cyan);margin-top:4px}.cp-achievements{display:flex;align-items:center;gap:24px;background:linear-gradient(110deg,#112d3b,#101824);border:1px solid #235265;border-radius:15px;padding:25px 30px;margin-bottom:24px}.cp-achievements h2{margin-bottom:4px}.cp-achievements p{margin:0;color:var(--cp-muted);font-size:12px}.cp-reputation{display:grid;place-items:center;width:65px;height:65px;flex:0 0 auto;border-radius:50%;background:#00bdda18;border:1px solid #00bdde6b;color:#59eaff;font-size:26px}.cp-achievement-mark{margin-left:auto;color:#30d6f1;font-size:45px}.cp-feed{padding:0;overflow:hidden}.cp-tabs{display:flex;gap:30px;padding:19px 26px;border-bottom:1px solid var(--cp-line);background:#0a141e;font-size:13px}.cp-tabs a:first-child{color:var(--cp-cyan)}#activity{padding:26px;scroll-margin-top:24px}.cp-review{padding:24px 0;border-bottom:1px solid var(--cp-line)}.cp-review-head{display:flex;align-items:center;gap:12px}.cp-review-head strong{font-size:13px;overflow-wrap:anywhere}.cp-review-head p{margin:0;font-size:12px;color:var(--cp-muted)}.cp-review-head p a{color:#6edcf4}.cp-rating{margin-left:auto;white-space:nowrap;color:#ffc963;font-size:12px}.cp-review-comment{overflow-wrap:anywhere;font-size:14px;color:#c9d4e0;padding-left:54px}.cp-review footer{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;color:var(--cp-muted);padding-left:54px}.cp-like{border:1px solid var(--cp-line);border-radius:7px;background:transparent;padding:5px 10px;color:var(--cp-muted);font-size:12px}.cp-like[aria-pressed=true]{color:var(--cp-cyan);border-color:#12657a}.cp-pagination{display:flex;justify-content:flex-end;gap:22px;padding-top:20px;color:var(--cp-cyan);font-size:13px}.cp-collection{scroll-margin-top:24px;text-align:center;padding:27px 24px 40px}.cp-collection h2{text-align:left}.cp-trophies{font-size:62px;color:#2b4658;letter-spacing:30px;margin:20px 0}.cp-trophies span{color:#3e5f73;font-size:82px}.cp-collection h3{font-size:16px;margin:0}.cp-collection p{font-size:13px}.cp-footer{text-align:center;color:#617385;font-size:10px;letter-spacing:3px;padding:24px;border-top:1px solid var(--cp-line)}#cp-feedback{min-height:20px;font-size:13px;color:#7ce9fc}.cp-empty{min-height:65vh;text-align:center;padding-top:100px}@media(max-width:900px){.cp-layout{grid-template-columns:240px minmax(0,1fr)}.cp-stats{gap:10px;padding:20px}.cp-stats>div+div{padding-left:12px}.cp-stats strong{font-size:12px}.cp-shell{padding-inline:18px}.cp-achievement-mark{display:none}}@media(max-width:650px){.cp-nav{padding:18px 16px;flex-wrap:wrap;gap:15px}.cp-nav nav{gap:16px;font-size:12px}.cp-brand{font-size:15px}.cp-shell{padding:20px 12px 40px}.cp-cover{height:175px}.cp-identity{padding:0 18px 20px;gap:14px;flex-wrap:wrap}.cp-avatar-main{width:90px;height:90px;margin-top:-25px;font-size:34px}.cp-name h1{font-size:24px}.cp-identity>.cp-button{margin-left:104px}.cp-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.cp-stats>div+div{border:0;padding:0}.cp-layout{display:flex;flex-direction:column}.cp-layout aside{order:2}.cp-achievements{padding:20px;gap:16px}.cp-tabs{gap:18px;padding:18px;font-size:12px}#activity{padding:20px 16px}.cp-review-comment,.cp-review footer{padding-left:0}.cp-trophies{letter-spacing:16px}.cp-cover-word{bottom:-16px;letter-spacing:-3px}.cp-cover-caption{left:20px}.cp-breadcrumb{font-size:11px}.cp-review-head>div{min-width:0}.cp-review-head p{overflow-wrap:anywhere}}

.cp-trophies{display:flex;align-items:center;justify-content:center;gap:25px;letter-spacing:0}.cp-trophies svg{width:54px;height:70px}.cp-trophies svg:nth-child(2){width:76px;height:92px;color:#3e5f73}

.cp-shell{font:15px/1.6 Inter,"Segoe UI",Arial,sans-serif;color:var(--cp-text)}body.cp-page{padding-top:90px}body:not(.cp-page) .cp-shell{padding:0;max-width:none}.cp-shell h1,.cp-shell h2,.cp-shell h3{color:var(--cp-text)}

/* Owner tools: available by pointer, touch and keyboard. */
.cp-avatar-editor{position:relative;flex:0 0 auto;border:0;padding:0;border-radius:50%;background:transparent;margin-top:-40px;width:120px;height:120px}.cp-avatar-editor .cp-avatar-main{margin:0;width:100%;height:100%}.cp-avatar-edit-label{position:absolute;inset:0;display:grid;place-items:center;border-radius:50%;background:#031420cf;color:white;padding:18px;opacity:0;transition:opacity .18s;font-size:12px}.cp-avatar-editor:hover .cp-avatar-edit-label,.cp-avatar-editor:focus-visible .cp-avatar-edit-label{opacity:1}.cp-dialog{box-sizing:border-box;width:min(520px,calc(100% - 28px));max-height:90dvh;overflow-y:auto;margin:auto;padding:28px;border:1px solid #31536a;border-radius:20px;background:#101824;color:#edf5ff;box-shadow:0 28px 100px #0008;font:14px/1.6 Inter,Arial,sans-serif}.cp-dialog::backdrop{background:#02060bd9;backdrop-filter:blur(5px)}.cp-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.cp-dialog-heading h2{font-size:19px;margin:0}.cp-dialog-heading button{background:transparent;color:#a9bdcf;border:0;font-size:28px;cursor:pointer;padding:0 8px}.cp-dialog #account-password{display:grid;gap:16px;margin:0}.cp-dialog #account-password label{display:grid;gap:7px}.cp-dialog #account-password input:not([type=hidden]){box-sizing:border-box;width:100%;padding:12px;border:1px solid #344252;border-radius:8px;background:#080f19;color:#edf5ff}.cp-dialog-discord{margin-top:22px;padding-top:18px;border-top:1px solid #263242}.cp-dialog-discord h3{margin:0 0 12px}.cp-dialog-actions{display:flex;gap:12px;flex-wrap:wrap}.cp-dialog [hidden]{display:none!important}.cp-photo-preview{width:120px;height:120px;border-radius:50%;background:#173449;display:grid;place-items:center;overflow:hidden;margin:0 auto 24px;font-size:36px}.cp-photo-preview img{width:100%;height:100%;object-fit:cover}.cp-photo-preview .cp-avatar{width:100%;height:100%}.cp-photo-picker{display:grid;gap:10px;font-weight:600}.cp-photo-picker input{max-width:100%;font-size:12px}.cp-dialog [role=status]{min-height:22px;color:#8cecff;margin-top:16px}@media(hover:none){.cp-avatar-edit-label{opacity:1;inset:auto 0 0;height:36%;padding:4px;border-radius:0 0 60px 60px;background:#031420bf;font-size:10px}}@media(max-width:650px){.cp-avatar-editor{width:90px;height:90px;margin-top:-25px}.cp-dialog{padding:22px}}

.cp-earned-trophies{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:16px;margin-top:24px}.cp-earned-trophies figure{margin:0;padding:20px 12px;text-align:center;border:1px solid #2e4058;border-radius:14px;background:radial-gradient(ellipse at top,#1e344e,#0c1420 85%)}.cp-earned-trophies img{width:88px;height:88px;object-fit:contain;margin:auto}.cp-earned-trophies figcaption{font-size:12px;line-height:1.5;margin-top:12px;overflow-wrap:anywhere}.cp-earned-trophies figure:focus-visible{outline:2px solid #61d4ff}

/* Public covers and chosen trophy highlights. */
.cp-cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}.cp-cover-image[hidden]{display:none}.cp-cover-edit{position:absolute;right:24px;bottom:24px;z-index:2;opacity:0;background:#071824dd;transition:opacity .2s}.cp-cover:hover .cp-cover-edit,.cp-cover:focus-within .cp-cover-edit{opacity:1}.cp-cover-preview{height:140px;background:#102a39;border-radius:12px;overflow:hidden;margin-bottom:20px}.cp-cover-preview img{width:100%;height:100%;object-fit:cover}.cp-pinned{display:flex;gap:10px;flex-wrap:wrap;align-items:center;max-width:320px}.cp-pinned img{width:52px;height:52px;object-fit:contain}.cp-name{flex:0 1 auto;margin-right:12px}.cp-identity>.cp-button{margin-left:auto}.cp-pinned:empty{display:none}.cp-pin-editor{text-align:left;margin-bottom:24px}.cp-pin-editor summary{cursor:pointer;color:#81ecff}.cp-pin-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:16px 0;max-height:320px;overflow:auto}.cp-pin-options label{display:flex;align-items:center;gap:10px;border:1px solid #263242;border-radius:10px;padding:10px;font-size:12px;cursor:pointer}.cp-pin-options img{object-fit:contain}.cp-pin-options input{accent-color:#00c8f3}.cp-reputation-burst{position:relative;flex:0 0 70px;color:#59eaff;text-align:center}.cp-thumb{width:44px;height:44px;display:block;margin:auto}.cp-reputation-burst strong{font-size:20px}.cp-thumb-particles{position:absolute;inset:0;pointer-events:none}.cp-thumb-particles>span{position:absolute;left:30%;top:20%;opacity:0;font-size:17px}.cp-reputation-burst:hover .cp-thumb-particles>span,.cp-reputation-burst:focus-visible .cp-thumb-particles>span{animation:cp-thumbs 900ms ease-out both}.cp-thumb-particles>span:nth-child(1){--dx:-65px;--dy:75px}.cp-thumb-particles>span:nth-child(2){--dx:-40px;--dy:105px}.cp-thumb-particles>span:nth-child(3){--dx:-15px;--dy:90px}.cp-thumb-particles>span:nth-child(4){--dx:20px;--dy:110px}.cp-thumb-particles>span:nth-child(5){--dx:45px;--dy:90px}.cp-thumb-particles>span:nth-child(6){--dx:70px;--dy:65px}.cp-thumb-particles>span:nth-child(7){--dx:0px;--dy:65px}@keyframes cp-thumbs{0%{opacity:0;transform:translate(0,0) scale(.5)}20%{opacity:1}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(20deg) scale(1.1)}}
@media(prefers-reduced-motion:reduce){.cp-reputation-burst .cp-thumb-particles>span{animation:none!important}}@media(hover:none){.cp-cover-edit{opacity:1}}@media(max-width:800px){.cp-identity{flex-wrap:wrap}.cp-pinned{max-width:100%;gap:6px}.cp-pinned img{width:40px;height:40px}}
/* XP / level progress (identity red-zone) */
.cp-xp{flex:1 1 240px;max-width:430px;min-width:190px;align-self:center;padding-top:16px}
.cp-xp-top{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:7px}
.cp-xp-badge{font-size:11px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:#06131f;background:linear-gradient(120deg,#5ee7ff,#00b7df);padding:3px 11px;border-radius:6px;white-space:nowrap}
.cp-xp-total{font-size:12px;color:#8cecff;font-weight:700;white-space:nowrap}
.cp-xp-track{height:9px;border-radius:6px;background:#0a1622;border:1px solid #22394a;overflow:hidden}
.cp-xp-track>span{display:block;height:100%;min-width:2px;border-radius:6px;background:linear-gradient(90deg,#00c8f3,#59eaff);box-shadow:0 0 12px #00c8f37a;transition:width .6s ease}
.cp-xp-foot{display:flex;justify-content:space-between;gap:10px;margin-top:6px;font-size:10px;letter-spacing:.5px;text-transform:uppercase;color:var(--cp-muted)}
@media(max-width:900px){.cp-stats{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:18px}}
@media(max-width:650px){.cp-xp{flex-basis:100%;max-width:100%;order:3;padding-top:6px}.cp-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Follow system: counts under name, button state, follower/following grids */
.cp-follow-counts{display:flex;gap:18px;margin-top:10px}
.cp-follow-counts a{display:inline-flex;gap:5px;align-items:baseline;font-size:12px;color:var(--cp-muted)}
.cp-follow-counts strong{color:var(--cp-text);font-size:15px;font-weight:800}
.cp-follow-counts a:hover{color:var(--cp-cyan)}
.cp-follow.is-following,.cp-follow[aria-pressed=true]{background:#0b1a24;border-color:#2a4453;color:#9fd9ef}
.cp-count-badge{font-size:12px;color:var(--cp-cyan);background:#00bdda18;border:1px solid #00bdde4d;border-radius:20px;padding:1px 9px;margin-left:6px;font-weight:700;vertical-align:middle}
.cp-people{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.cp-person{display:inline-flex;border-radius:50%}
.cp-person .cp-avatar{width:44px;height:44px;transition:transform .15s,box-shadow .15s}
.cp-person:hover .cp-avatar{transform:translateY(-2px);box-shadow:0 0 0 2px var(--cp-cyan)}
/* Group the Follow + Like buttons together on the right (no split gap) */
.cp-identity>.cp-actions{margin-left:auto;display:inline-flex;gap:10px;align-items:center;flex-wrap:wrap}
@media(max-width:650px){.cp-identity>.cp-actions{margin-left:104px}}
/* Recent activity feed */
.cp-activity-list{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column}
.cp-activity-item{display:flex;gap:14px;padding:14px 0;border-bottom:1px solid #26324277;align-items:flex-start}
.cp-activity-item:last-child{border-bottom:0;padding-bottom:0}
.cp-act-icon{flex:0 0 auto;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#00bdda12;border:1px solid #00bdde3d;color:var(--cp-cyan)}
.cp-act-icon svg{width:19px;height:19px}
.cp-act-review .cp-act-icon{color:#ffd27a;background:#ffd27a14;border-color:#ffd27a47}
.cp-act-trophy .cp-act-icon{color:#ffcf6b;background:#ffcf6b14;border-color:#ffcf6b47}
.cp-act-body{flex:1;min-width:0}
.cp-act-body p{margin:0 0 2px;font-size:14px;color:var(--cp-text);overflow-wrap:anywhere}
.cp-act-body p a{color:#6edcf4}
.cp-act-body time{font-size:11px;color:var(--cp-muted)}
.cp-act-stars{color:#ffc963;font-size:12px;white-space:nowrap;margin-left:4px}
/* Related products (used) */
.cp-product{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #26324277}
.cp-product:last-child{border-bottom:0}
.cp-product img{width:44px;height:44px;border-radius:8px;object-fit:cover;flex:0 0 auto;background:#1a2030}
.cp-product-info{display:flex;flex-direction:column;min-width:0}
.cp-product-info strong{font-size:13px;color:var(--cp-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cp-product:hover .cp-product-info strong{color:var(--cp-cyan)}
/* About / info panel */
.cp-about-list{margin:6px 0 0;display:flex;flex-direction:column;gap:12px}
.cp-about-list div{display:flex;flex-direction:column;gap:2px}
.cp-about-list dt{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--cp-muted)}
.cp-about-list dd{margin:0;font-size:14px;color:var(--cp-text);overflow-wrap:anywhere}
/* Flag emoji: sized up so it reads as a country badge, not as text. */
.cp-flag{font-size:26px;line-height:1.1;display:inline-block}
/* Avatar frame by level tier + level pill
   The identity row must sit ABOVE the cover: .cp-cover's image/overlay are
   positioned with z-index:1, and .cp-avatar-main is a static span (its own
   z-index was being ignored), so the banner used to paint over the avatar. */
.cp-identity{position:relative;z-index:2}
/* --cp-av    = avatar disc size; --cp-frame-scale = how much wider the art is.
   Tune ONLY --cp-frame-scale (in :root) to fit a different frame artwork:
   the art size AND the level-pill offset are both derived from it. */
.cp-avatar-block{position:relative;z-index:5;--cp-av:126px;flex:0 0 auto;display:flex;flex-direction:column;align-items:center}
/* Shell owns the negative offset so the frame art can be centred on the avatar */
.cp-avatar-shell{position:relative;z-index:5;width:var(--cp-av);height:var(--cp-av);flex:0 0 auto;margin-top:-40px;display:block}
.cp-avatar-shell .cp-avatar-main,.cp-avatar-shell .cp-avatar-editor{margin-top:0}
.cp-avatar-shell .cp-avatar-editor{width:100%;height:100%}
/* Admin-uploaded frame art. Size + vertical nudge come from the per-frame
   sliders in admin/frames.php (inline --cp-frame-scale / --cp-frame-offset). */
.cp-frame-img{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) translateY(calc(var(--cp-av) * var(--cp-frame-offset,0) / 100));width:calc(var(--cp-av) * var(--cp-frame-scale,1.34));height:calc(var(--cp-av) * var(--cp-frame-scale,1.34));object-fit:contain;pointer-events:none;z-index:3}
/* With art on, drop the CSS ring so the two don't fight */
.cp-avatar-block.has-frame .cp-avatar-main{box-shadow:none;border-color:transparent}
/* With art on, drop the pill below whatever the artwork overflows. */
.cp-avatar-block.has-frame .cp-level-pill{margin-top:calc((var(--cp-frame-scale,1.34) - 1) / 2 * var(--cp-av) + var(--cp-frame-offset,0) * var(--cp-av) / 100 + 6px)}
@media(max-width:650px){.cp-avatar-block{--cp-av:90px}.cp-avatar-shell{margin-top:-25px}}
/* Owner frame picker */
.cp-frame-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:12px;margin:14px 0 6px}
.cp-frame-option{display:flex;flex-direction:column;align-items:center;gap:6px;background:transparent;border:1px solid var(--cp-line);border-radius:12px;padding:10px 6px;color:var(--cp-muted);font-size:11px;cursor:pointer;transition:border-color .15s,color .15s}
.cp-frame-option:hover:not(:disabled){border-color:var(--cp-cyan);color:var(--cp-text)}
.cp-frame-option.is-active{border-color:var(--cp-cyan);color:var(--cp-text);background:#00bdda12}
.cp-frame-option.is-locked{opacity:.45;cursor:not-allowed}
/* Thumb mirrors the profile geometry exactly: the art box is 1/1.52 wider than
   the avatar disc, so what you preview here is what you get on the profile. */
.cp-frame-thumb{--cp-av:40px;position:relative;width:70px;height:70px;display:grid;place-items:center}
.cp-frame-thumb img{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) translateY(calc(var(--cp-av) * var(--cp-frame-offset,0) / 100));width:calc(var(--cp-av) * var(--cp-frame-scale,1.34));height:calc(var(--cp-av) * var(--cp-frame-scale,1.34));object-fit:contain}
.cp-frame-thumb-av{width:var(--cp-av);height:var(--cp-av);border-radius:50%;background:linear-gradient(135deg,#12576b,#384780)}
.cp-frame-none{border:1px dashed var(--cp-line);border-radius:50%;font-size:20px;color:var(--cp-muted)}
.cp-frame-name{text-align:center;line-height:1.25;overflow-wrap:anywhere}
.cp-frame-lock{font-size:9px;letter-spacing:.5px;text-transform:uppercase;color:#ffd27a}
.cp-frames [data-frame-feedback]{color:#7ce9fc;min-height:16px;margin:4px 0 0}
/* z-index must beat .cp-avatar-shell (5): the shell is a stacking context, so
   everything inside it (avatar disc, frame art) paints above lower values. */
.cp-avatar-block .cp-level-pill{position:relative;margin-top:-14px;z-index:10;font-size:10px;font-weight:800;letter-spacing:.6px;text-transform:uppercase;padding:3px 11px;border-radius:20px;white-space:nowrap;color:#04121c;background:var(--cp-tier,#5c7182);box-shadow:0 2px 10px #0009}
.cp-avatar-block .cp-avatar-main{box-shadow:0 0 0 3px var(--cp-tier,#5c7182),0 0 20px -2px var(--cp-tier-glow,#5c718255)}
.cp-frame-rookie {--cp-tier:#6f8697;--cp-tier-glow:#6f869777}
.cp-frame-member {--cp-tier:#3ddc84;--cp-tier-glow:#3ddc8477}
.cp-frame-veteran{--cp-tier:#00c8f3;--cp-tier-glow:#00c8f388}
.cp-frame-elite  {--cp-tier:#b07bff;--cp-tier-glow:#b07bff88}
.cp-frame-master {--cp-tier:#ffc94a;--cp-tier-glow:#ffc94a88}
.cp-frame-legend {--cp-tier:#ff7ac6;--cp-tier-glow:#ff7ac699}
.cp-frame-legend .cp-avatar-main{box-shadow:0 0 0 3px #ff7ac6,0 0 0 6px #00c8f37a,0 0 26px -2px #ff7ac6aa}
.cp-frame-legend .cp-level-pill{background:linear-gradient(100deg,#ff7ac6,#ffc94a,#00c8f3);color:#08141f}
/* Profile title pill */
.cp-title{display:inline-block;font-size:10px;font-weight:800;letter-spacing:.8px;text-transform:uppercase;padding:3px 10px;border-radius:6px;margin-right:8px;vertical-align:middle;color:#04121c;background:var(--cp-tier,#6f8697)}
.cp-title-rookie {--cp-tier:#6f8697}
.cp-title-member {--cp-tier:#3ddc84}
.cp-title-veteran{--cp-tier:#00c8f3}
.cp-title-elite  {--cp-tier:#b07bff}
.cp-title-master {--cp-tier:#ffc94a}
.cp-title-legend {background:linear-gradient(100deg,#ff7ac6,#ffc94a,#00c8f3)}
.cp-title-admin  {background:linear-gradient(100deg,#ff5f6d,#ffc371)}
