/* CMDB Profile foundation extracted from movie-redesign.css for standalone community routes. */
/* ============================================================
   CMDB Profile v5 — Gamer / Cosplay / Community Identity
   Matches CMDB movie redesign palette: black, magenta, cyan, review orange
============================================================ */
.cmdb-profile-v5-page{
  min-height:fit-content !important;background:#09090F;color:#fff;position:relative;overflow:auto;padding:clamp(18px,3vw,34px) 0 80px;
  background:
    radial-gradient(circle at 18% 10%, rgba(255,0,91,.20), transparent 30%),
    radial-gradient(circle at 82% 0%, rgba(0,255,224,.13), transparent 28%),
    linear-gradient(180deg,#09090F 0%,#0d0d12 48%,#07070b 100%);
}
.cmdb-profile-v5-page *{box-sizing:border-box}
.cmdb-profile-v5-noise{position:absolute;inset:0;pointer-events:none;opacity:.28;background-image:linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px, transparent 1px);background-size:44px 44px;mask-image:linear-gradient(#000,transparent 88%)}
.cmdb-profile-v5-wrap{width:min(1420px,calc(100% - 32px));margin:0 auto;position:relative;z-index:1}
.cmdb-profile-v5-hero,.cmdb-profile-v5-panel,.cmdb-profile-v5-aira,.cmdb-profile-v5-stat{background:linear-gradient(180deg,rgba(18,18,22,.94),rgba(11,11,16,.92));border:1px solid rgba(255,255,255,.09);box-shadow:0 26px 90px rgba(0,0,0,.42);backdrop-filter:blur(18px)}
.cmdb-profile-v5-hero{border-radius: 10px;overflow:hidden;margin-bottom:18px;position:relative}
.cmdb-profile-v5-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,0,91,.10),transparent 45%,rgba(0,255,224,.09));pointer-events:none}
.cmdb-profile-v5-cover{height:250px;position:relative;overflow:hidden;background:#111}
.cmdb-profile-v5-cover:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 70% 40%,rgba(255,0,91,.42),transparent 28%),radial-gradient(circle at 25% 40%,rgba(0,255,224,.22),transparent 26%),linear-gradient(135deg,#101018,#1c1022 38%,#071c22);filter:saturate(1.2)}
.cmdb-profile-v5-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 20%,rgba(9,9,15,.96) 100%)}
.cmdb-profile-v5-cover-art{position:absolute;right:32px;bottom:26px;z-index:1;text-align:right;text-transform:uppercase;letter-spacing:.16em;color:rgba(255,255,255,.8)}
.cmdb-profile-v5-cover-art span{display:block;font-size:clamp(42px,8vw,94px);font-weight:1000;line-height:.85;letter-spacing:-.08em;background:linear-gradient(135deg,#fff,#FF005B 42%,#00FFE0);-webkit-background-clip:text;color:transparent;opacity:.85;padding: 0 10px 0 0}
.cmdb-profile-v5-cover-art b{font-size:11px;color:rgba(255,255,255,.62)}
.cmdb-profile-v5-hero-main{position:relative;z-index:2;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:22px;align-items:end;padding:0 clamp(18px,3vw,34px) 24px;margin-top:-74px}
.cmdb-profile-v5-avatar{width:150px;height:150px;border-radius:10px;padding:5px;background:linear-gradient(135deg,#FF005B,#FF8A00 46%,#00FFE0);position:relative;box-shadow:0 18px 46px rgba(0,0,0,.45)}
.cmdb-profile-v5-avatar img{width:100%;height:100%;object-fit:cover;border-radius:10px;display:block;background:#111}
.cmdb-profile-v5-avatar span{position:absolute;right:7px;bottom:7px;width:20px;height:20px;border-radius:50%;background:#00FFE0;border:4px solid #09090F;box-shadow:0 0 18px rgba(0,255,224,.85)}
.cmdb-profile-v5-title h1{font-size:clamp(42px,6vw,82px);line-height:.88;margin:0 0 10px;font-weight:1000;letter-spacing:-.07em;color:#fff;text-transform:none}
.cmdb-profile-v5-role{font-weight:900;color:rgba(255,255,255,.76);margin:0 0 10px}
.cmdb-profile-v5-title blockquote{margin:0;color:rgba(255,255,255,.66);font-size:15px;line-height:1.55;max-width:680px;border-left:3px solid #FF005B;padding-left:14px}
.cmdb-profile-v5-actions{display:flex;gap:9px;align-items:center;justify-content:flex-end;flex-wrap:wrap;min-width:250px}
.cmdb-profile-v5-actions a,.cmdb-profile-v5-actions button,.cmdb-profile-copy{appearance:none;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.07);color:#fff;text-decoration:none;border-radius:999px;padding:11px 15px;font-size:13px;font-weight:900;cursor:pointer;transition:.18s ease}
.cmdb-profile-v5-actions a:hover,.cmdb-profile-v5-actions button:hover,.cmdb-profile-copy:hover{transform:translateY(-2px);border-color:rgba(255,0,91,.48);box-shadow:0 12px 30px rgba(255,0,91,.16);color:#fff}
.cmdb-profile-v5-editlink{background:linear-gradient(135deg,#FF005B,#FF8A00)!important;border-color:transparent!important}
.cmdb-profile-v5-level{position:relative;z-index:2;margin:0 clamp(18px,3vw,34px) 30px;padding:18px;border:1px solid rgba(255,255,255,.08);background:rgba(0,0,0,.22);border-radius:10px;display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center}
.cmdb-profile-v5-level strong{font-size:20px;display:block}.cmdb-profile-v5-level span,.cmdb-profile-v5-level small{color:rgba(255,255,255,.62);font-weight:800}.cmdb-profile-v5-levelbar{height:12px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}.cmdb-profile-v5-levelbar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#FF005B,#FF8A00,#00FFE0);box-shadow:0 0 24px rgba(255,0,91,.5)}
.cmdb-profile-v5-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.cmdb-profile-v5-stat{border-radius:10px;padding:20px;position:relative;overflow:hidden}.cmdb-profile-v5-stat:after{content:"";position:absolute;right:-30px;top:-30px;width:90px;height:90px;border-radius:50%;background:rgba(255,0,91,.10)}.cmdb-profile-v5-stat em{font-style:normal;display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;border-radius:10px;background:rgba(255,255,255,.07);font-size:18px;font-weight:1000}.cmdb-profile-v5-stat strong{display:block;font-size:clamp(28px,4vw,44px);line-height:1;margin-top:16px;font-weight:1000;letter-spacing:-.05em}.cmdb-profile-v5-stat span{display:block;margin-top:8px;font-weight:950}.cmdb-profile-v5-stat small{display:block;margin-top:4px;color:rgba(255,255,255,.55)}
.cmdb-profile-v5-grid{display:grid;grid-template-columns:minmax(0,1fr) 460px;gap:18px;align-items:start}.cmdb-profile-v5-main,.cmdb-profile-v5-side{display:grid;gap:18px}.cmdb-profile-v5-side{position:sticky;top:18px}.cmdb-profile-v5-panel{border-radius:10px;padding:clamp(20px,3vw,30px);overflow:hidden}.cmdb-profile-v5-panel-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px}.cmdb-profile-v5-panel h2,.cmdb-profile-v5-aira h2{margin:4px 0 0;font-size:clamp(24px,3vw,36px);line-height:1;font-weight:1000;letter-spacing:-.05em}.cmdb-profile-v5-panel p,.cmdb-profile-v5-aira p{color:rgba(255,255,255,.64);line-height:1.6;margin:0}.cmdb-profile-v5-timeline{display:grid;gap:10px}.cmdb-profile-v5-feeditem{display:flex;gap:12px;align-items:center;padding:14px;border-radius:10px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.06)}.cmdb-profile-v5-feeditem span{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(135deg,rgba(255,0,91,.22),rgba(0,255,224,.10))}.cmdb-profile-v5-feeditem p{margin:0}.cmdb-profile-v5-feeditem a{color:#fff;font-weight:950;text-decoration:none}.cmdb-profile-v5-feeditem a:hover{color:#00FFE0}
.cmdb-profile-v5-posters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.cmdb-profile-v5-poster{position:relative;min-height:240px;border-radius:10px;overflow:hidden;background:linear-gradient(135deg,rgba(255,0,91,.25),rgba(0,255,224,.14));display:flex;align-items:center;justify-content:center;text-decoration:none;color:#fff;border:1px solid rgba(255,255,255,.09);transition:.18s ease}.cmdb-profile-v5-poster:hover{transform:translateY(-5px);border-color:rgba(0,255,224,.38);box-shadow:0 20px 50px rgba(0,0,0,.35)}.cmdb-profile-v5-poster img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.cmdb-profile-v5-poster:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 44%,rgba(0,0,0,.84))}.cmdb-profile-v5-poster b{position:absolute;left:10px;bottom:10px;z-index:1;padding:7px 10px;border-radius:999px;background:linear-gradient(135deg,#FF005B,#FF8A00);font-size:12px}.cmdb-profile-v5-poster span{position:relative;z-index:1;text-align:center;padding:18px;font-weight:950}
.cmdb-profile-v5-badge-grid{display:grid;gap:10px}.cmdb-profile-v5-badge{display:grid;grid-template-columns:44px 1fr;gap:10px;align-items:center;padding:13px;border-radius:10px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.06)}.cmdb-profile-v5-badge i{font-style:normal;width:44px;height:44px;display:grid;place-items:center;border-radius:10px;background:rgba(255,0,91,.14);font-size:22px;grid-row:span 2}.cmdb-profile-v5-badge strong{font-size:15px}.cmdb-profile-v5-badge span{color:rgba(255,255,255,.58);font-size:12px;margin-top:-8px}
.cmdb-profile-v5-aira{border-radius:10px;padding:24px;background:linear-gradient(135deg,rgba(255,0,91,.16),rgba(255,138,0,.10) 48%,rgba(0,255,224,.08)),rgba(18,18,22,.94)}.cmdb-profile-v5-aira .cmdb-btn{margin-top:18px}.cmdb-profile-v5-empty{border:1px dashed rgba(255,255,255,.14);border-radius:10px;padding:22px;background:rgba(255,255,255,.035)}.cmdb-profile-v5-empty strong{display:block;font-size:20px;margin-bottom:6px}.cmdb-profile-notice{margin:0 0 18px;padding:14px 18px;border-radius:10px;background:rgba(0,255,224,.10);border:1px solid rgba(0,255,224,.25);color:#fff;font-weight:900}
.cmdb-profile-v5-edit .cmdb-profile-form{background:transparent;border:0;padding:0;box-shadow:none}.cmdb-profile-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.cmdb-profile-form label{display:grid;gap:8px;color:rgba(255,255,255,.68);font-weight:900}.cmdb-profile-form input{width:100%;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:rgba(0,0,0,.24);color:#fff;padding:14px 15px;outline:0}.cmdb-profile-form input:focus{border-color:rgba(0,255,224,.5);box-shadow:0 0 0 4px rgba(0,255,224,.08)}.cmdb-profile-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.cmdb-profile-v5-cosplay .cmdb-cosplay__grid--profile{grid-template-columns:repeat(3,minmax(0,1fr))}.cmdb-profile-v5-cosplay .cmdb-cosplay-card--profile{border-radius:10px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.08);overflow:hidden}.cmdb-profile-v5-cosplay .cmdb-cosplay-card__image{aspect-ratio:4/5;overflow:hidden}.cmdb-profile-v5-cosplay .cmdb-cosplay-card__image img{width:100%;height:100%;object-fit:cover}.cmdb-profile-v5-cosplay .cmdb-cosplay-card__body{padding:16px}.cmdb-profile-v5-cosplay .cmdb-cosplay-card__body h3{margin:0 0 8px;font-size:17px}.cmdb-cosplay-love{display:flex;gap:8px;flex-wrap:wrap}.cmdb-cosplay-love button{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.07);color:#fff;border-radius:999px;padding:8px 12px;font-weight:900;cursor:pointer}.cmdb-cosplay-love button.is-active,.cmdb-cosplay-love button:hover{background:linear-gradient(135deg,#FF005B,#FF8A00);border-color:transparent}
@media (max-width:1100px){.cmdb-profile-v5-grid{grid-template-columns:1fr}.cmdb-profile-v5-side{position:static}.cmdb-profile-v5-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.cmdb-profile-v5-hero-main{grid-template-columns:auto 1fr}.cmdb-profile-v5-actions{grid-column:1/-1;justify-content:flex-start}.cmdb-profile-v5-posters{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:760px){.cmdb-profile-v5-wrap{width:min(100% - 24px,1320px)}.cmdb-profile-v5-cover{height:190px}.cmdb-profile-v5-cover-art{right:18px;bottom:18px}.cmdb-profile-v5-hero-main{display:block;margin-top:-58px}.cmdb-profile-v5-avatar{width:118px;height:118px;border-radius:10px;margin-bottom:14px}.cmdb-profile-v5-avatar img{border-radius:19px}.cmdb-profile-v5-title h1{font-size:clamp(42px,14vw,62px)}.cmdb-profile-v5-actions{justify-content:flex-start;margin-top:16px}.cmdb-profile-v5-actions a,.cmdb-profile-v5-actions button{flex:1;text-align:center;justify-content:center}.cmdb-profile-v5-level{grid-template-columns:1fr;margin-top:4px}.cmdb-profile-v5-stats,.cmdb-profile-v5-posters,.cmdb-profile-form-grid,.cmdb-profile-v5-cosplay .cmdb-cosplay__grid--profile{grid-template-columns:1fr}.cmdb-profile-v5-panel-head{display:block}.cmdb-profile-v5-poster{min-height:360px}}

/* =============================================================
   CMDB Profile v5 — Extended layout: tabs, watchlist,
   ratings, leaderboard, Medal.tv-style stat row
   Loaded by cmdb_template_shell_start() on profile pages only
============================================================= */

/* ── Stats row (Medal.tv inline style) ───────────────────── */
.cmdb-profile-statrow {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 clamp(18px,3vw,34px) 0;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.cmdb-profile-statrow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 28px;
  position: relative;
}
.cmdb-profile-statrow-item + .cmdb-profile-statrow-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,.12);
}
.cmdb-profile-statrow-item strong {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 1000;
  letter-spacing: -.04em;
  line-height: 1;
  color: #fff;
}
.cmdb-profile-statrow-item span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
}
.cmdb-profile-statrow-item.is-xp {
  margin: 4px 8px;
  padding: 11px 24px;
  border: 1px solid rgba(0,255,224,.34);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,255,224,.12), rgba(255,0,91,.1));
}
.cmdb-profile-statrow-item.is-xp::before { display: none; }
.cmdb-profile-statrow-item.is-xp + .cmdb-profile-statrow-item::before { display: none; }
.cmdb-profile-statrow-item.is-xp strong {
  color: #00FFE0;
  text-shadow: 0 0 22px rgba(0,255,224,.28);
}
.cmdb-profile-statrow-item.is-xp span { color: rgba(255,255,255,.76); }

.cmdb-profile-statrow-item.is-brand strong {
  background: linear-gradient(135deg, #FF005B, #FF8A00, #00FFE0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Tab bar ─────────────────────────────────────────────── */
.cmdb-profile-tabs {
  display: flex;
  gap: 4px;
  padding: 0 0 0;
  margin-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.cmdb-profile-tabs::-webkit-scrollbar { display: none; }
.cmdb-profile-tab {
  flex-shrink: 0;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: rgba(255,255,255,.5);
  font: 800 13px/1 inherit;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 14px 20px 13px;
  cursor: pointer;
  transition: color .18s, border-color .18s;
  white-space: nowrap;
  margin-bottom: -1px;
}
.cmdb-profile-tab:hover {
  color: rgba(255,255,255,.85);
}
.cmdb-profile-tab[aria-selected="true"] {
  color: #fff;
  border-bottom-color: #FF005B;
}

/* ── Tab panels ──────────────────────────────────────────── */
.cmdb-profile-tabpanel { display: contents; }
.cmdb-profile-tabpanel[hidden] { display: none !important; }

/* ── Watchlist tab ───────────────────────────────────────── */
.cmdb-watchlist-panel {
  background: linear-gradient(180deg,rgba(18,18,22,.94),rgba(11,11,16,.92));
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  padding: clamp(20px,3vw,30px);
}
.cmdb-watchlist-panel h2 {
  font-size: clamp(22px,3vw,32px);
  font-weight: 1000;
  letter-spacing: -.04em;
  margin: 4px 0 20px;
}
.cmdb-watchlist-loading {
  text-align: center;
  padding: 40px 20px;
  color: rgba(255,255,255,.45);
  font-weight: 800;
}
.cmdb-watchlist-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}
.cmdb-watchlist-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg,rgba(255,0,91,.2),rgba(0,255,224,.12));
  border: 1px solid rgba(255,255,255,.08);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #fff;
  transition: transform .18s, border-color .18s, box-shadow .18s;
  group: 1;
}
.cmdb-watchlist-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,255,224,.35);
  box-shadow: 0 18px 48px rgba(0,0,0,.35);
}
.cmdb-watchlist-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.cmdb-watchlist-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.88));
  pointer-events: none;
}
.cmdb-watchlist-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 12px;
}
.cmdb-watchlist-card-title {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
  display: block;
  margin-bottom: 8px;
}
.cmdb-watchlist-card-actions {
  display: flex;
  gap: 6px;
}
.cmdb-watchlist-card-actions a,
.cmdb-watchlist-remove {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  padding: 6px 10px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: .15s ease;
  border: none;
}
.cmdb-watchlist-card-actions a {
  background: #FF005B;
  color: #fff;
}
.cmdb-watchlist-remove {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.75);
}
.cmdb-watchlist-remove:hover {
  background: rgba(255,0,91,.3);
  color: #fff;
}
.cmdb-watchlist-placeholder {
  font-size: 13px;
  font-weight: 950;
  text-align: center;
  color: rgba(255,255,255,.45);
  padding: 12px;
}
.cmdb-watchlist-empty {
  border: 1px dashed rgba(255,255,255,.14);
  border-radius: 10px;
  padding: 40px 22px;
  text-align: center;
  background: rgba(255,255,255,.025);
}
.cmdb-watchlist-empty strong {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}
.cmdb-watchlist-empty p {
  color: rgba(255,255,255,.5);
  margin: 0;
}

/* ── Ratings tab ─────────────────────────────────────────── */
.cmdb-ratings-panel {
  background: linear-gradient(180deg,rgba(18,18,22,.94),rgba(11,11,16,.92));
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  padding: clamp(20px,3vw,30px);
}
.cmdb-ratings-panel h2 {
  font-size: clamp(22px,3vw,32px);
  font-weight: 1000;
  letter-spacing: -.04em;
  margin: 4px 0 20px;
}
.cmdb-ratings-list {
  display: grid;
  gap: 10px;
}
.cmdb-rating-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  text-decoration: none;
  color: #fff;
  transition: background .15s, border-color .15s;
}
.cmdb-rating-item:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(0,255,224,.2);
}
.cmdb-rating-poster {
  width: 48px;
  height: 68px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,.07);
  flex-shrink: 0;
}
.cmdb-rating-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cmdb-rating-info {
  flex: 1;
  min-width: 0;
}
.cmdb-rating-title {
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  margin-bottom: 4px;
}
.cmdb-rating-meta {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  font-weight: 800;
}
.cmdb-rating-pill {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF005B, #FF8A00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 1000;
  letter-spacing: -.03em;
  box-shadow: 0 0 18px rgba(255,0,91,.35);
}
.cmdb-ratings-empty {
  border: 1px dashed rgba(255,255,255,.14);
  border-radius: 10px;
  padding: 40px 22px;
  text-align: center;
  background: rgba(255,255,255,.025);
}

/* ── Leaderboard sidebar widget ──────────────────────────── */
.cmdb-leaderboard-panel {
  background: linear-gradient(180deg,rgba(18,18,22,.94),rgba(11,11,16,.92));
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 26px 90px rgba(0,0,0,.42);
}
.cmdb-leaderboard-panel h3 {
  font-size: 20px;
  font-weight: 1000;
  letter-spacing: -.04em;
  margin: 0 0 16px;
}
.cmdb-leaderboard-list {
  display: grid;
  gap: 8px;
}
.cmdb-leaderboard-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  transition: background .15s;
  text-decoration: none;
  color: #fff;
}
.cmdb-leaderboard-item:hover {
  background: rgba(255,255,255,.07);
}
.cmdb-leaderboard-item.is-you {
  border-color: rgba(255,0,91,.35);
  background: rgba(255,0,91,.08);
}
.cmdb-leaderboard-rank {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 1000;
  flex-shrink: 0;
  color: rgba(255,255,255,.7);
}
.cmdb-leaderboard-item:nth-child(1) .cmdb-leaderboard-rank { background: linear-gradient(135deg,#FFD700,#FFA500); color: #000; }
.cmdb-leaderboard-item:nth-child(2) .cmdb-leaderboard-rank { background: linear-gradient(135deg,#C0C0C0,#A0A0A0); color: #000; }
.cmdb-leaderboard-item:nth-child(3) .cmdb-leaderboard-rank { background: linear-gradient(135deg,#CD7F32,#A05A20); color: #fff; }
.cmdb-leaderboard-avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.cmdb-leaderboard-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cmdb-leaderboard-name {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cmdb-leaderboard-xp {
  font-size: 11px;
  font-weight: 1000;
  color: rgba(255,255,255,.55);
  letter-spacing: .06em;
  flex-shrink: 0;
}
.cmdb-leaderboard-you-rank {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255,0,91,.10);
  border: 1px solid rgba(255,0,91,.22);
  text-align: center;
  font-size: 13px;
  font-weight: 900;
  color: rgba(255,255,255,.8);
}
.cmdb-leaderboard-you-rank strong {
  display: block;
  font-size: 26px;
  font-weight: 1000;
  color: #FF005B;
  letter-spacing: -.04em;
}

/* ── Genre taste sidebar widget ──────────────────────────── */
.cmdb-genre-panel {
  background: linear-gradient(180deg,rgba(18,18,22,.94),rgba(11,11,16,.92));
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 26px 90px rgba(0,0,0,.42);
}
.cmdb-genre-panel h3 {
  font-size: 20px;
  font-weight: 1000;
  letter-spacing: -.04em;
  margin: 0 0 16px;
}
.cmdb-genre-list {
  display: grid;
  gap: 9px;
}
.cmdb-genre-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
}
.cmdb-genre-item span { font-size: 13px; font-weight: 900; }
.cmdb-genre-item small {
  font-size: 11px;
  font-weight: 800;
  color: rgba(255,255,255,.5);
}
.cmdb-genre-bar-track {
  grid-column: 1 / -1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
  margin-top: -6px;
}
.cmdb-genre-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #FF005B, #00FFE0);
  transition: width .6s ease;
}

/* ── Cover image (custom upload) ────────────────────────── */
.cmdb-profile-v5-cover img.cmdb-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
/* Lighten gradient overlay when a real photo is present */
.cmdb-profile-v5-cover.has-cover::before {
  background:
    radial-gradient(circle at 70% 40%, rgba(255,0,91,.22), transparent 40%),
    radial-gradient(circle at 25% 40%, rgba(0,255,224,.12), transparent 35%),
    linear-gradient(135deg, rgba(0,0,0,.45), rgba(0,0,0,.2));
  z-index: 1;
}
.cmdb-profile-v5-cover.has-cover::after { z-index: 2; }
.cmdb-profile-v5-cover.has-cover .cmdb-profile-v5-cover-art { z-index: 3; }

/* Cover upload button inside the hero (owner only) */
.cmdb-cover-upload-btn {
  position: absolute;
  top: 14px;
  left: 20px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  color: rgba(255,255,255,.8);
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background .15s, color .15s;
  backdrop-filter: blur(8px);
}
.cmdb-cover-upload-btn:hover {
  background: rgba(255,0,91,.5);
  color: #fff;
  border-color: transparent;
}
input#cmdb-cover-input { display: none; }

/* ── Avatar upload overlay ───────────────────────────────── */
/* Matches .cmdb-profile-v5-avatar gradient-ring from movie-redesign.css */
.cmdb-avatar-upload {
  display: block;
  position: relative;
  cursor: pointer;
  width: 150px;
  height: 150px;
  border-radius: 28px;
  padding: 5px;
  background: linear-gradient(135deg, #FF005B, #FF8A00 46%, #00FFE0);
  box-shadow: 0 18px 46px rgba(0,0,0,.45);
  flex-shrink: 0;
}
/* Online-status dot */
.cmdb-avatar-upload::after {
  content: '';
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #00FFE0;
  border: 4px solid #09090F;
  box-shadow: 0 0 18px rgba(0,255,224,.85);
}
.cmdb-avatar-upload img,
.cmdb-avatar-upload .avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 23px;
  display: block;
  background: #111;
}
.cmdb-avatar-upload-overlay {
  position: absolute;
  inset: 0;
  border-radius: 23px;
  background: rgba(0,0,0,.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  opacity: 0;
  transition: opacity .2s ease;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-align: center;
  pointer-events: none;
}
.cmdb-avatar-upload:hover .cmdb-avatar-upload-overlay { opacity: 1; }
input#cmdb-avatar-input { display: none; }

/* Photo preview under the form upload field */
.cmdb-upload-preview {
  display: none;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  margin-top: 8px;
  border: 2px solid rgba(0,255,224,.4);
}
.cmdb-upload-preview.is-visible { display: block; }

/* ── Upload row inside Edit Profile tab ──────────────────── */
.cmdb-upload-row {
  grid-column: 1 / -1;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.cmdb-upload-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cmdb-upload-item label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.cmdb-upload-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 900;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.07);
  color: #fff;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.cmdb-upload-trigger:hover {
  background: rgba(255,0,91,.18);
  border-color: rgba(255,0,91,.4);
}
.cmdb-upload-trigger.is-loading {
  opacity: .6;
  pointer-events: none;
}
.cmdb-upload-thumb {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(0,255,224,.4);
  display: none;
}
.cmdb-upload-thumb.is-visible { display: block; }
.cmdb-upload-thumb--wide {
  width: 100px;
  height: 40px;
  border-radius: 8px;
}

/* Cover upload label in the edit form */
.cmdb-cover-upload-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 14px;
  cursor: pointer;
  color: rgba(255,255,255,.7);
  font-weight: 800;
  font-size: 13px;
  transition: border-color .15s, background .15s;
}
.cmdb-cover-upload-label:hover {
  border-color: rgba(0,255,224,.4);
  background: rgba(0,255,224,.05);
}
.cmdb-cover-current-thumb {
  width: 60px;
  height: 34px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.15);
}

/* ── Hero layout (self-contained overrides) ──────────────── */
.cmdb-profile-v5-page {
  min-height: 100vh;
  background: var(--brand-bg, #08090e);
}
.cmdb-profile-v5-wrap {
  width: min(100% - 32px, 1420px);
  margin: 0 auto;
  padding: 24px 0 60px;
}
.cmdb-profile-v5-hero {
  border-radius: 18px;
  overflow: auto;
  margin-bottom: 18px;
  position: relative;
  background: linear-gradient(180deg, rgba(18,18,22,.94), rgba(11,11,16,.92));
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 26px 90px rgba(0,0,0,.42);
}
.cmdb-profile-v5-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,0,91,.10), transparent 45%, rgba(0,255,224,.09));
  pointer-events: none;
}
.cmdb-profile-v5-cover {
  height: 260px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #101018, #1c1022 38%, #071c22);
}
.cmdb-profile-v5-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 40%, rgba(255,0,91,.42), transparent 28%),
    radial-gradient(circle at 25% 40%, rgba(0,255,224,.22), transparent 26%),
    linear-gradient(135deg, #101018, #1c1022 38%, #071c22);
  filter: saturate(1.2);
}
.cmdb-profile-v5-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(9,9,15,.96) 100%);
}
.cmdb-profile-v5-cover-art {
  position: absolute;
  right: 32px;
  bottom: 26px;
  z-index: 3;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(255,255,255,.8);
  pointer-events: none;
}
.cmdb-profile-v5-cover-art span {
  display: block;
  font-size: clamp(42px, 8vw, 94px);
  font-weight: 1000;
  line-height: .85;
  letter-spacing: -.08em;
  background: linear-gradient(135deg, #fff, #FF005B 42%, #00FFE0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .85;
  padding: 0 10px 0 0;
}
.cmdb-profile-v5-cover-art b {
  font-size: 11px;
  color: rgba(255,255,255,.62);
}
.cmdb-profile-v5-hero-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 22px;
  align-items: end;
  padding: 0 clamp(18px,3vw,34px) 24px;
  margin-top: -74px;
}
.cmdb-profile-v5-title h1 {
  font-size: clamp(30px, 5vw, 72px);
  line-height: .9;
  margin: 0 0 10px;
  font-weight: 1000;
  letter-spacing: -.06em;
  color: #fff;
}
.cmdb-profile-v5-title .cmdb-section-kicker { margin-bottom: 6px; }
.cmdb-profile-v5-title blockquote {
  margin: 8px 0 0;
  color: rgba(255,255,255,.66);
  font-size: 14px;
  line-height: 1.55;
  max-width: 680px;
  border-left: 3px solid #FF005B;
  padding-left: 14px;
}
.cmdb-profile-v5-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  min-width: 200px;
}
.cmdb-profile-v5-actions a,
.cmdb-profile-v5-actions button,
.cmdb-profile-copy {
  appearance: none;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: .18s ease;
}
.cmdb-profile-v5-actions a:hover,
.cmdb-profile-v5-actions button:hover,
.cmdb-profile-copy:hover {
  transform: translateY(-2px);
  border-color: rgba(255,0,91,.48);
  box-shadow: 0 12px 30px rgba(255,0,91,.16);
  color: #fff;
}
.cmdb-profile-v5-level {
  position: relative;
  z-index: 2;
  margin: 0 clamp(18px,3vw,34px) 24px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.22);
  border-radius: 10px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}
.cmdb-profile-v5-level strong { font-size: 18px; display: block; }
.cmdb-profile-v5-level span,
.cmdb-profile-v5-level small { color: rgba(255,255,255,.62); font-weight: 800; font-size: 13px; }
.cmdb-profile-v5-levelbar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.cmdb-profile-v5-levelbar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #FF005B, #FF8A00, #00FFE0);
  box-shadow: 0 0 20px rgba(255,0,91,.5);
}
.cmdb-profile-v5-role { color: rgba(255,255,255,.65); font-size: 14px; font-weight: 700; margin: 4px 0 0; }

/* ── Sidebar / grid layout ───────────────────────────────── */
.cmdb-profile-v5-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) 440px;
  gap: 18px;
  align-items: start;
}
.cmdb-profile-v5-side {
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .cmdb-watchlist-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .cmdb-profile-v5-grid { grid-template-columns: 1fr; }
  .cmdb-profile-v5-side { position: static; }
  .cmdb-profile-v5-hero-main { grid-template-columns: auto 1fr; }
  .cmdb-profile-v5-actions { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 760px) {
  .cmdb-profile-statrow { justify-content: center; padding: 0 12px; }
  .cmdb-profile-statrow-item { padding: 8px 14px; }
  .cmdb-watchlist-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cmdb-profile-tab { padding: 12px 14px 11px; font-size: 11px; }
  .cmdb-profile-v5-cover { height: 190px; }
  .cmdb-profile-v5-cover-art { right: 18px; bottom: 18px; }
  .cmdb-profile-v5-hero-main { display: block; margin-top: -58px; }
  .cmdb-avatar-upload { width: 100px; height: 100px; margin-bottom: 12px; }
  .cmdb-profile-v5-title h1 { font-size: clamp(28px, 12vw, 52px); }
  .cmdb-profile-v5-actions { margin-top: 12px; }
  .cmdb-profile-v5-level { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .cmdb-watchlist-grid { grid-template-columns: 1fr 1fr; }
}


/* Standalone community leaderboard */
.cmdb-leaderboard-page { max-width: 1120px; margin: 0 auto; padding: clamp(34px,6vw,84px) 22px 90px; }
.cmdb-leaderboard-page__hero { display:flex; justify-content:space-between; gap:24px; align-items:flex-end; margin-bottom:28px; }
.cmdb-leaderboard-page__hero h1 { margin:6px 0 8px; color:#fff; font-size:clamp(38px,6vw,72px); line-height:.98; letter-spacing:-.05em; }
.cmdb-leaderboard-page__hero p { max-width:680px; margin:0; color:rgba(255,255,255,.65); }
.cmdb-leaderboard-page .cmdb-leaderboard-panel { padding:clamp(18px,3vw,34px); border:1px solid rgba(255,255,255,.1); border-radius:24px; background:rgba(18,18,22,.88); }
.cmdb-leaderboard-page .cmdb-leaderboard-panel > h3 { display:none; }
@media (max-width:700px) { .cmdb-leaderboard-page__hero { align-items:flex-start; flex-direction:column; } .cmdb-profile-statrow-item.is-xp { flex-basis:calc(50% - 16px); } }


/* Leaderboard page refresh notice */
.cmdb-leaderboard-refresh {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 9px 13px;
  border: 1px solid rgba(0,255,224,.2);
  border-radius: 999px;
  background: rgba(0,255,224,.07);
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}
.cmdb-leaderboard-refresh__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #00FFE0;
  box-shadow: 0 0 14px rgba(0,255,224,.7);
}
.cmdb-leaderboard-page {

}
.cmdb-leaderboard-page .cmdb-leaderboard-list {
  display: grid;
  gap: 10px;
}
.cmdb-leaderboard-page .cmdb-leaderboard-item {
  min-height: 74px;
  padding: 12px 16px;
  border-radius: 16px;
}
.cmdb-leaderboard-page .cmdb-leaderboard-avatar img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: block;
}
.cmdb-leaderboard-page .cmdb-leaderboard-name {
  font-size: 16px;
}
.cmdb-leaderboard-page .cmdb-leaderboard-xp {
  font-size: 18px;
  color: #00FFE0;
  font-weight: 1000;
}
@media (max-width: 620px) {
  .cmdb-leaderboard-page .cmdb-leaderboard-item {
    grid-template-columns: 38px 44px minmax(0,1fr);
  }
  .cmdb-leaderboard-page .cmdb-leaderboard-xp {
    grid-column: 3;
    font-size: 14px;
  }
}

/* V2 leaderboard — app-style podium */
.cmdb-leaderboard-page .cmdb-leaderboard-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.cmdb-leaderboard-page .cmdb-leaderboard-item{min-width:0}
.cmdb-leaderboard-page .cmdb-leaderboard-item.is-podium{display:grid;grid-template-columns:1fr;text-align:center;justify-items:center;padding:24px 18px;background:#0d0d13;border-color:rgba(255,255,255,.1)}
.cmdb-leaderboard-page .cmdb-leaderboard-item--rank-1{grid-column:1/-1;padding:32px 22px;background:rgba(255,215,0,.055);border-color:rgba(255,215,0,.42)}
.cmdb-leaderboard-page .is-podium .cmdb-leaderboard-rank{width:auto;height:auto;background:none!important;color:#ff0064!important;font-size:16px;order:2;margin-top:12px}
.cmdb-leaderboard-page .cmdb-leaderboard-item--rank-1 .cmdb-leaderboard-rank{color:#ffd900!important}
.cmdb-leaderboard-page .is-podium .cmdb-leaderboard-avatar{width:92px;height:92px;border-radius:50%;order:1}
.cmdb-leaderboard-page .cmdb-leaderboard-item--rank-1 .cmdb-leaderboard-avatar{width:128px;height:128px}
.cmdb-leaderboard-page .is-podium .cmdb-leaderboard-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.cmdb-leaderboard-page .is-podium .cmdb-leaderboard-name{order:3;font-size:22px;white-space:normal;margin-top:5px}
.cmdb-leaderboard-page .is-podium .cmdb-leaderboard-name small{font-size:12px;color:rgba(255,255,255,.55)}
.cmdb-leaderboard-page .is-podium .cmdb-leaderboard-xp{order:4;font-size:18px;margin-top:5px}
.cmdb-leaderboard-page .cmdb-leaderboard-item--rank-1 .cmdb-leaderboard-name{font-size:28px}
.cmdb-leaderboard-page .cmdb-leaderboard-item:not(.is-podium){grid-column:1/-1}
@media(max-width:620px){.cmdb-leaderboard-page .cmdb-leaderboard-list{grid-template-columns:repeat(2,minmax(0,1fr))}.cmdb-leaderboard-page .is-podium{display:grid!important;grid-template-columns:1fr!important}.cmdb-leaderboard-page .cmdb-leaderboard-item--rank-1{grid-column:1/-1}.cmdb-leaderboard-page .cmdb-leaderboard-item:not(.is-podium){grid-column:1/-1;display:grid;grid-template-columns:38px 44px minmax(0,1fr)}.cmdb-leaderboard-page .cmdb-leaderboard-item--rank-1 .cmdb-leaderboard-avatar{width:112px;height:112px}.cmdb-leaderboard-page .is-podium .cmdb-leaderboard-avatar{width:76px;height:76px}.cmdb-leaderboard-page .is-podium .cmdb-leaderboard-name{font-size:17px}.cmdb-leaderboard-page .cmdb-leaderboard-item--rank-1 .cmdb-leaderboard-name{font-size:24px}}

/* Build 152: align Community profiles with the lightweight v2 visual system. */
.cmdb-profile-v5-wrap{width:min(100% - 32px,1200px);padding:30px 0 64px}.cmdb-profile-v5-hero,.cmdb-profile-v5-panel,.cmdb-profile-v5-aira{border-radius:0;clip-path:polygon(0 0,calc(100% - 16px) 0,100% 16px,100% 100%,16px 100%,0 calc(100% - 16px))}.cmdb-profile-v5-hero{overflow:hidden}.cmdb-profile-v5-cover{height:clamp(260px,34vw,420px)}.cmdb-profile-v5-cover.has-cover .cmdb-cover-img{width:100%;height:100%;object-fit:cover}.cmdb-profile-v5-cover::after{background:linear-gradient(180deg,rgba(5,6,10,.08),rgba(5,6,10,.32) 45%,#090a0f 100%)}.cmdb-profile-v5-cover-art{opacity:.75}.cmdb-profile-v5-hero-main{margin-top:-112px;padding:0 clamp(22px,4vw,48px) 28px;grid-template-columns:auto minmax(0,1fr) auto}.cmdb-profile-v5-title h1{font-size:clamp(38px,5vw,62px);line-height:.94}.cmdb-profile-statrow{position:relative;z-index:2;padding:0 clamp(22px,4vw,48px) 18px;gap:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.cmdb-profile-statrow-item{min-width:0;padding:14px 12px;border-right:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025);clip-path:polygon(0 0,calc(100% - 7px) 0,100% 7px,100% 100%,7px 100%,0 calc(100% - 7px))}.cmdb-profile-statrow-item:last-child{border-right:0}.cmdb-profile-statrow-item.is-xp{background:linear-gradient(135deg,rgba(0,255,224,.12),rgba(0,255,224,.025));border:1px solid rgba(0,255,224,.24)}.cmdb-profile-statrow-item.is-brand{background:linear-gradient(135deg,rgba(255,0,91,.12),rgba(255,138,0,.03))}.cmdb-profile-v5-level{border-radius:0;clip-path:polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,8px 100%,0 calc(100% - 8px));margin:0 clamp(22px,4vw,48px) 28px}.cmdb-profile-tabs{overflow-x:auto;scrollbar-width:none}.cmdb-profile-v5-grid{grid-template-columns:minmax(0,1fr) 310px;gap:20px}.cmdb-profile-v5-side{top:92px}.cmdb-profile-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.cmdb-profile-overview-activity{grid-column:1/-1}.cmdb-profile-overview-cosplay-grid,.cmdb-profile-overview-posters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cmdb-profile-overview-cosplay-card,.cmdb-profile-overview-posters a{position:relative;display:block;min-height:180px;padding:0;border:0;background:#111;color:#fff;text-decoration:none;overflow:hidden;clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px))}.cmdb-profile-overview-cosplay-card{cursor:pointer;width:100%}.cmdb-profile-overview-cosplay-card img,.cmdb-profile-overview-posters img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.cmdb-profile-overview-cosplay-card:after,.cmdb-profile-overview-posters a:after{content:'';position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.9))}.cmdb-profile-overview-cosplay-card span,.cmdb-profile-overview-posters span{position:absolute;z-index:2;left:12px;right:12px;bottom:12px;text-align:left;font-weight:900}.cmdb-profile-overview-member-list{display:grid;gap:8px}.cmdb-profile-overview-member-list a{display:flex;align-items:center;gap:11px;padding:10px;border:1px solid rgba(255,255,255,.07);color:#fff;text-decoration:none}.cmdb-profile-overview-member-list img{width:44px;height:44px;border-radius:50%;object-fit:cover}.cmdb-profile-overview-member-list span{display:grid}.cmdb-profile-overview-member-list small{color:rgba(255,255,255,.55)}.cmdb-overview-tablink{border:0;background:none;color:#fff;font-weight:850;cursor:pointer}.cmdb-overview-tablink:hover{color:#00FFE0}.cmdb-profile-tab-loading{min-height:220px;display:grid;place-items:center;color:rgba(255,255,255,.58);border:1px dashed rgba(255,255,255,.1)}
@media(max-width:1100px){.cmdb-profile-v5-grid{grid-template-columns:1fr}.cmdb-profile-v5-side{position:static}.cmdb-profile-statrow{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:760px){.cmdb-profile-v5-wrap{width:min(100% - 24px,1200px)}.cmdb-profile-v5-cover{height:280px}.cmdb-profile-v5-hero-main{margin-top:-72px}.cmdb-profile-statrow{grid-template-columns:repeat(2,minmax(0,1fr));padding-inline:14px}.cmdb-profile-v5-level{margin-inline:14px}.cmdb-profile-overview-grid{grid-template-columns:1fr}.cmdb-profile-overview-activity{grid-column:auto}}

/* Build 153: full-bleed cinematic profile hero, cast-card portrait and cleaner KPI rail. */
.cmdb-profile-v5-page>.cmdb-profile-v5-noise+.cmdb-profile-v5-wrap{width:100%;max-width:none;padding-top:0}.cmdb-profile-v5-wrap>.cmdb-profile-v5-hero{width:100%;margin:0 0 22px;clip-path:none;border:0;border-bottom:1px solid rgba(255,255,255,.08);box-shadow:none}.cmdb-profile-v5-wrap>.cmdb-profile-tabs,.cmdb-profile-v5-wrap>.cmdb-profile-v5-grid,.cmdb-profile-v5-wrap>.cmdb-profile-notice,.cmdb-profile-v5-wrap>.cmdb-profile-login-panel{width:min(100% - 32px,1200px);margin-left:auto;margin-right:auto}.cmdb-profile-v5-cover{height:min(68vh,680px)}.cmdb-profile-v5-cover::after{background:linear-gradient(90deg,rgba(7,7,12,.94) 0%,rgba(7,7,12,.6) 40%,rgba(7,7,12,.08) 78%),linear-gradient(0deg,#09090d 0%,rgba(9,9,13,.45) 38%,transparent 70%)}.cmdb-profile-v5-hero-main,.cmdb-profile-statrow,.cmdb-profile-v5-level{width:min(100% - 32px,1200px);margin-left:auto;margin-right:auto}.cmdb-profile-v5-hero-main{margin-top:-290px;padding:0 0 26px;grid-template-columns:230px minmax(0,1fr) auto;align-items:end}.cmdb-profile-v5-portrait-stack{display:grid;gap:10px;align-self:end}.cmdb-profile-v5-avatar,.cmdb-avatar-upload{width:230px;height:310px;padding:0;border-radius:0;background:#15151b;clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,14px 100%,0 calc(100% - 14px));box-shadow:0 22px 60px rgba(0,0,0,.45)}.cmdb-profile-v5-avatar img,.cmdb-avatar-upload img,.cmdb-avatar-upload .avatar{border-radius:0;width:100%;height:100%;object-fit:cover}.cmdb-profile-v5-avatar span,.cmdb-avatar-upload::after{right:10px;bottom:10px}.cmdb-cover-upload-btn--portrait{position:static;width:max-content;padding:8px 11px;border-radius:999px;background:rgba(9,9,13,.72);backdrop-filter:blur(10px)}.cmdb-profile-v5-cover>.cmdb-cover-upload-btn{display:none}.cmdb-profile-statrow{padding:0 0 18px;gap:9px;grid-template-columns:repeat(7,minmax(0,1fr))}.cmdb-profile-statrow-item{border:1px solid rgba(255,255,255,.09)!important;background:transparent!important;padding:14px 10px}.cmdb-profile-statrow-item::before{display:none!important}.cmdb-profile-statrow-item.is-xp{border-color:rgba(0,255,224,.28)!important}.cmdb-profile-statrow-item.is-brand{border-color:rgba(255,0,91,.24)!important}.cmdb-profile-overview-grid{grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr)}.cmdb-profile-overview-activity{grid-column:1/-1}.cmdb-profile-fandom-side{padding:22px}.cmdb-profile-fandom-side .cmdb-profile-v5-panel-head{margin-bottom:14px}.cmdb-profile-fandom-side .cmdb-profile-v5-panel-head h2{font-size:25px}.cmdb-profile-overview-member-list a{clip-path:polygon(0 0,calc(100% - 7px) 0,100% 7px,100% 100%,7px 100%,0 calc(100% - 7px));background:rgba(255,255,255,.025)}
@media(max-width:1100px){.cmdb-profile-v5-hero-main{grid-template-columns:190px 1fr}.cmdb-profile-v5-avatar,.cmdb-avatar-upload{width:190px;height:255px}.cmdb-profile-v5-actions{grid-column:2}.cmdb-profile-statrow{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:760px){.cmdb-profile-v5-wrap>.cmdb-profile-tabs,.cmdb-profile-v5-wrap>.cmdb-profile-v5-grid,.cmdb-profile-v5-hero-main,.cmdb-profile-statrow,.cmdb-profile-v5-level{width:min(100% - 24px,1200px)}.cmdb-profile-v5-cover{height:470px}.cmdb-profile-v5-hero-main{display:grid;grid-template-columns:120px 1fr;gap:16px;margin-top:-190px}.cmdb-profile-v5-avatar,.cmdb-avatar-upload{width:120px;height:160px}.cmdb-profile-v5-title h1{font-size:clamp(30px,9vw,46px)}.cmdb-profile-v5-title blockquote{display:none}.cmdb-profile-v5-actions{grid-column:1/-1}.cmdb-profile-statrow{grid-template-columns:repeat(2,minmax(0,1fr))}.cmdb-profile-overview-grid{grid-template-columns:1fr}}

/* Build 154: sharper identity image, full-width watchlist and lighter social rail. */
.cmdb-profile-overview-watch,.cmdb-profile-overview-taste{grid-column:1/-1}.cmdb-profile-overview-watch .cmdb-profile-overview-posters{grid-template-columns:repeat(6,minmax(0,1fr))}.cmdb-profile-overview-watch .cmdb-profile-overview-posters a{min-height:245px}.cmdb-profile-fandom-side .cmdb-profile-overview-member-list a{gap:9px;padding:8px}.cmdb-profile-fandom-side .cmdb-profile-overview-member-list img{width:36px;height:36px}.cmdb-profile-fandom-side .cmdb-profile-overview-member-list strong{font-size:12px;line-height:1.15}.cmdb-profile-fandom-side .cmdb-profile-overview-member-list small{font-size:10px}.cmdb-profile-taste-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cmdb-profile-taste-grid>a,.cmdb-profile-taste-coming{position:relative;min-height:190px;overflow:hidden;border:1px solid rgba(255,255,255,.08);background:#111;color:#fff;text-decoration:none;clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px))}.cmdb-profile-taste-grid>a img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.48}.cmdb-profile-taste-grid>a:after{content:'';position:absolute;inset:25% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.95))}.cmdb-profile-taste-grid>a span{position:absolute;z-index:2;left:16px;right:16px;bottom:15px;display:grid;gap:3px}.cmdb-profile-taste-grid small{color:#ff005b;font-size:10px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.cmdb-profile-taste-grid strong{font-size:18px}.cmdb-profile-taste-grid em{color:#aaa;font-size:11px;font-style:normal}.cmdb-profile-taste-coming{display:flex;flex-direction:column;justify-content:end;padding:18px;background:linear-gradient(135deg,rgba(255,0,91,.1),rgba(155,103,255,.07))}.cmdb-profile-taste-coming p{margin:5px 0 0;color:#aaa;font-size:12px}.cmdb-profile-taste-coming strong{font-size:20px}@media(max-width:900px){.cmdb-profile-overview-watch .cmdb-profile-overview-posters{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.cmdb-profile-overview-watch .cmdb-profile-overview-posters{grid-template-columns:repeat(2,minmax(0,1fr))}.cmdb-profile-taste-grid{grid-template-columns:1fr}}
/* Build 161: Favourite Cast profile shelf. */
.cmdb-profile-favourite-cast{grid-column:1/-1}.cmdb-profile-cast-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.cmdb-profile-cast-grid>a{display:grid;grid-template-columns:92px 1fr;align-items:center;gap:13px;color:#fff;text-decoration:none;border:1px solid rgba(255,255,255,.08);background:#111117;clip-path:polygon(0 0,calc(100% - 9px) 0,100% 9px,100% 100%,9px 100%,0 calc(100% - 9px))}.cmdb-profile-cast-grid img{width:92px;aspect-ratio:3/4;object-fit:cover}.cmdb-profile-cast-grid span{display:grid;gap:5px;padding:10px 12px 10px 0}.cmdb-profile-cast-grid strong{font-size:13px}.cmdb-profile-cast-grid small{color:#aaa;font-size:10px;line-height:1.45;font-style:italic}@media(max-width:900px){.cmdb-profile-cast-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.cmdb-profile-cast-grid{grid-template-columns:1fr}}
