
*{margin:0;padding:0;box-sizing:border-box}
:root{
  --bg:#07090d;
  --bg2:#0a0d12;
  --panel:rgba(15,19,26,.86);
  --panel-solid:#0f131a;
  --panel-2:#141a23;
  --panel-3:#0c1016;
  --line:rgba(255,255,255,.075);
  --line-strong:rgba(255,255,255,.12);
  --text:#d9dee6;
  --muted:#7e8794;
  --muted2:#5d6673;
  --accent:#7f8cff;
  --accent-rgb:127,140,255;
  --accent2:#5f6cff;
  --green:#4ade80;
  --yellow:#facc15;
  --danger:#ff6b7a;
}
html{color-scheme:dark;scroll-behavior:smooth}
body{
  min-height:100vh;
  color:var(--text);
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  background:
    radial-gradient(circle at 15% 0%,rgba(var(--accent-rgb),.10),transparent 25%),
    radial-gradient(circle at 95% 30%,rgba(var(--accent-rgb),.055),transparent 23%),
    linear-gradient(180deg,#080a0e 0%,#06080b 100%);
}
body::before{
  content:"";
  position:fixed;inset:0;pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:34px 34px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.45),transparent 78%);
}
a{text-decoration:none;color:inherit}
button,input,textarea,select{font:inherit}
button{color:inherit}
::selection{background:rgba(var(--accent-rgb),.28)}

.app{
  min-height:100vh;
  display:grid;
  grid-template-columns:260px minmax(0,1fr);
}

/* SIDEBAR */
.sidebar{
  position:sticky;top:0;height:100vh;
  display:flex;flex-direction:column;
  padding:18px 14px;
  border-right:1px solid var(--line);
  background:rgba(8,11,15,.88);
  backdrop-filter:blur(20px);
  z-index:10;
}
.brand{
  display:flex;align-items:center;gap:11px;
  padding:10px 10px 19px;
  font-size:13px;font-weight:900;letter-spacing:1.8px
}
.mark{
  width:12px;height:12px;border-radius:4px;
  transform:rotate(45deg);
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  box-shadow:0 0 18px rgba(var(--accent-rgb),.38)
}
.brand-sub{
  margin-left:auto;
  font-size:8px;letter-spacing:1px;
  color:var(--muted2);font-weight:800
}
.nav-label{
  padding:15px 10px 7px;
  color:#4f5865;
  font-size:9px;font-weight:850;
  letter-spacing:1.35px;text-transform:uppercase
}
.nav{display:flex;flex-direction:column;gap:5px}
.nav a{
  display:flex;align-items:center;gap:10px;
  min-height:41px;padding:0 11px;
  border:1px solid transparent;border-radius:11px;
  color:#89929f;font-size:12px;
  transition:.18s ease
}
.nav a:hover{background:#121821;color:#fff}
.nav a.active{
  color:#e4e8ee;
  background:linear-gradient(90deg,rgba(var(--accent-rgb),.13),rgba(var(--accent-rgb),.045));
  border-color:rgba(var(--accent-rgb),.18)
}
.nav-icon{
  width:20px;text-align:center;
  color:rgb(var(--accent-rgb));
  font-size:13px
}
.sidebar-bottom{margin-top:auto}
.user-mini{
  display:flex;align-items:center;gap:10px;
  padding:10px;
  border:1px solid var(--line);
  border-radius:13px;
  background:linear-gradient(180deg,rgba(255,255,255,.018),transparent),#0d1218
}
.avatar-mini,.avatar-big{
  background:
    linear-gradient(135deg,rgba(var(--accent-rgb),.22),rgba(255,255,255,.03)),
    #202632;
  background-image:
    url("pfp.jpg"),
    linear-gradient(135deg,rgba(var(--accent-rgb),.22),rgba(255,255,255,.03));
  background-size:cover;
  background-position:center;
}
.avatar-mini{
  width:34px;height:34px;border-radius:10px;
  flex-shrink:0
}
.user-mini strong{display:block;font-size:10px}
.user-mini span{display:block;margin-top:2px;color:#66707c;font-size:8px}

/* MAIN */
.main{min-width:0;padding:30px 32px 46px;position:relative;z-index:1}
.main-inner{width:min(1180px,100%);margin:0 auto}
.topbar{
  display:flex;align-items:flex-start;justify-content:space-between;gap:18px;
  margin-bottom:25px
}
.topbar h1{font-size:28px;letter-spacing:-1px}
.topbar p{margin-top:5px;color:var(--muted);font-size:11px;line-height:1.6}
.top-actions{display:flex;gap:8px;flex-wrap:wrap}
.btn{
  min-height:38px;padding:0 13px;
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  border:1px solid var(--line);border-radius:10px;
  background:#111720;color:#b2bac5;
  cursor:pointer;font-size:11px;font-weight:650;
  transition:.18s ease
}
.btn:hover{
  color:#e4e8ee;transform:translateY(-1px);
  border-color:rgba(var(--accent-rgb),.28);
  background:#151c26
}
.btn.primary{
  color:#e4e8ee;border:none;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  box-shadow:0 10px 28px rgba(var(--accent-rgb),.16)
}
.btn.danger{color:#ff9ca6;border-color:rgba(255,107,122,.16);background:rgba(255,107,122,.055)}

.hero-strip{
  position:relative;overflow:hidden;
  padding:22px 22px;
  border:1px solid var(--line);
  border-radius:18px;
  background:
    radial-gradient(circle at 85% 20%,rgba(var(--accent-rgb),.18),transparent 28%),
    linear-gradient(135deg,rgba(var(--accent-rgb),.08),transparent 45%),
    var(--panel-solid);
  margin-bottom:14px
}
.hero-strip::after{
  content:"NB";
  position:absolute;right:18px;bottom:-25px;
  font-size:110px;font-weight:950;letter-spacing:-8px;
  color:rgba(255,255,255,.025)
}
.hero-strip small{color:rgb(var(--accent-rgb));font-size:9px;font-weight:850;letter-spacing:1.3px;text-transform:uppercase}
.hero-strip h2{font-size:22px;letter-spacing:-.6px;margin-top:8px}
.hero-strip p{font-size:11px;color:#7b8491;line-height:1.6;margin-top:7px;max-width:560px}

.panel{
  border:1px solid var(--line);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(255,255,255,.014),transparent),var(--panel);
  backdrop-filter:blur(12px);
  padding:18px
}
.panel-title{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin-bottom:14px
}
.panel-title h2{font-size:12px}
.panel-title span{color:#606a77;font-size:8px}

.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.stat{
  min-height:112px;padding:16px;
  border:1px solid var(--line);
  border-radius:14px;
  background:
    radial-gradient(circle at 100% 0%,rgba(var(--accent-rgb),.09),transparent 38%),
    #0c1117
}
.stat .k{font-size:9px;color:#68717e;text-transform:uppercase;letter-spacing:1px;font-weight:800}
.stat .v{font-size:27px;font-weight:850;margin-top:9px;letter-spacing:-1.2px}
.stat .s{font-size:9px;color:#5c6571;margin-top:5px}
.stat .trend{display:inline-flex;margin-top:9px;padding:4px 6px;border-radius:6px;background:rgba(74,222,128,.07);color:#63dc92;font-size:7px}

.row-2{display:grid;grid-template-columns:1.2fr .8fr;gap:14px;margin-top:14px}
.quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.quick a,.quick button{
  min-height:82px;
  padding:13px;text-align:left;
  border:1px solid var(--line);border-radius:12px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.016),transparent),
    #0f151d;
  color:#bbc3cd;cursor:pointer;
  transition:.18s ease
}
.quick a:hover,.quick button:hover{
  transform:translateY(-2px);
  border-color:rgba(var(--accent-rgb),.24);
  background:#141b24
}
.quick .q-icon{
  width:26px;height:26px;border-radius:8px;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:9px;
  background:rgba(var(--accent-rgb),.11);
  color:rgb(var(--accent-rgb));
  font-size:12px
}
.quick strong{display:block;font-size:10px}
.quick span{display:block;color:#66707c;font-size:9px;margin-top:5px;line-height:1.45}

.activity{display:flex;flex-direction:column}
.activity-item{
  display:flex;gap:10px;
  padding:11px 0;border-top:1px solid var(--line)
}
.activity-item:first-child{border-top:0;padding-top:2px}
.dot{
  width:8px;height:8px;border-radius:50%;
  background:var(--accent);margin-top:3px;flex-shrink:0;
  box-shadow:0 0 10px rgba(var(--accent-rgb),.35)
}
.activity-item strong{font-size:9px}
.activity-item p{font-size:9px;color:#606a76;margin-top:3px;line-height:1.4}

/* SETTINGS */
.settings-layout{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.setting-card{
  padding:14px;border:1px solid var(--line);border-radius:12px;background:#0d1218
}
.setting-card + .setting-card{margin-top:9px}
.setting-card h3{font-size:10px}
.setting-card p{font-size:9px;color:#68717d;margin-top:5px;line-height:1.55}
.field-label{display:block;margin-top:12px;margin-bottom:6px;color:#6e7784;font-size:9px;font-weight:750}
.input,textarea.input{
  width:100%;
  border:1px solid var(--line);border-radius:9px;
  background:#111720;color:#e4e8ee;
  outline:none;transition:.18s ease
}
.input{height:38px;padding:0 10px}
textarea.input{min-height:90px;padding:10px;resize:vertical}
.input:focus{border-color:rgba(var(--accent-rgb),.38);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.055)}
.theme-dots{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.theme-dot{
  width:22px;height:22px;border-radius:50%;
  border:2px solid rgba(255,255,255,.14);cursor:pointer;
  transition:.18s ease
}
.theme-dot:hover,.theme-dot.active{transform:scale(1.12);border-color:#fff}
.theme-purple{background:#7f8cff}.theme-blue{background:#38a5ff}.theme-cyan{background:#37d8c7}.theme-pink{background:#e77ccf}.theme-orange{background:#ff9a57}
.toggle-row{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:13px;border:1px solid var(--line);border-radius:11px;background:#0d1218
}
.toggle-row + .toggle-row{margin-top:8px}
.toggle-row h3{font-size:10px}.toggle-row p{font-size:9px;color:#66707c;margin-top:4px}
.switch{
  width:42px;height:24px;border-radius:20px;
  border:1px solid var(--line);background:#242b35;
  position:relative;cursor:pointer;flex-shrink:0
}
.switch::after{
  content:"";position:absolute;top:3px;left:3px;
  width:16px;height:16px;border-radius:50%;background:#dfe4ea;
  transition:.18s ease
}
.switch.on{background:rgba(var(--accent-rgb),.45)}
.switch.on::after{left:21px}
.save-note{font-size:9px;color:#5f6875;margin-top:9px}

/* PROFILE */
.profile-page{
  min-height:100vh;
  display:flex;align-items:center;justify-content:center;
  padding:70px 18px 30px;
  position:relative;z-index:1
}
.floating-back{
  position:fixed;top:18px;left:18px;z-index:10
}
.profile-shell{width:min(430px,100%);perspective:1300px}
.profile-card{
  width:100%;overflow:hidden;position:relative;
  border:1px solid rgba(255,255,255,.085);
  border-radius:25px;
  background:linear-gradient(180deg,rgba(255,255,255,.018),transparent 20%),var(--panel-solid);
  box-shadow:0 35px 100px rgba(0,0,0,.56);
  transform-style:preserve-3d;
  transition:transform .16s ease-out,border-color .2s ease,box-shadow .2s ease
}
.profile-card:hover{border-color:rgba(var(--accent-rgb),.22);box-shadow:0 42px 115px rgba(0,0,0,.63),0 0 45px rgba(var(--accent-rgb),.07)}
.profile-glare{
  position:absolute;inset:0;z-index:8;pointer-events:none;
  background:radial-gradient(circle at var(--gx,50%) var(--gy,50%),rgba(255,255,255,.10),transparent 19%);
  opacity:0;transition:opacity .2s
}
.profile-card:hover .profile-glare{opacity:1}
.profile-banner{
  height:135px;position:relative;overflow:hidden;
  background:
    radial-gradient(circle at 75% 15%,rgba(var(--accent-rgb),.50),transparent 39%),
    linear-gradient(135deg,rgba(var(--accent-rgb),.20),#171d27 65%)
}
.profile-banner::before{
  content:"";position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:24px 24px;
  opacity:.18;
  mask-image:linear-gradient(to bottom,black,transparent)
}
.profile-banner::after{
  content:"NULLBRIEF";position:absolute;right:18px;bottom:10px;
  font-size:31px;font-weight:900;letter-spacing:-2px;color:rgba(255,255,255,.04)
}
.profile-content{padding:0 21px 21px;position:relative;z-index:3}
.avatar-row{display:flex;justify-content:space-between;align-items:flex-end}
.avatar-wrap{margin-top:-44px;position:relative;z-index:5;transform:translateZ(22px)}
.avatar-big{
  width:90px;height:90px;border-radius:23px;
  border:5px solid var(--panel-solid);
  box-shadow:0 0 0 2px rgba(var(--accent-rgb),.36)
}
.online-dot{
  position:absolute;right:2px;bottom:2px;
  width:18px;height:18px;border-radius:50%;
  border:4px solid var(--panel-solid);background:var(--green);
  box-shadow:0 0 14px rgba(74,222,128,.4)
}
.profile-name{font-size:23px;font-weight:850;letter-spacing:-.7px;margin-top:11px}
.handle{font-size:11px;color:var(--muted);margin-top:2px}
.status-box{
  margin-top:13px;padding:10px 11px;
  border:1px solid var(--line);border-radius:10px;background:#0c1016;
  font-size:11px;color:#b4bbc5
}
.profile-bio{font-size:11px;color:#9ea6b0;line-height:1.65;margin-top:13px}
.section-label{
  margin-top:17px;margin-bottom:8px;
  color:#5f6874;font-size:9px;font-weight:850;letter-spacing:1.2px;text-transform:uppercase
}
.profile-links{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}
.profile-links a{
  min-height:40px;padding:0 10px;
  display:flex;align-items:center;justify-content:space-between;
  border:1px solid var(--line);border-radius:9px;background:#141a22;
  color:#b8c0ca;font-size:10px;transition:.18s
}
.profile-links a:hover{transform:translateY(-1px);border-color:rgba(var(--accent-rgb),.28);color:#fff}
.badges{display:flex;gap:7px;flex-wrap:wrap}
.badge{
  padding:7px 9px;border:1px solid var(--line);border-radius:8px;background:#121820;
  color:#8f98a5;font-size:8px
}
.badge b{color:rgb(var(--accent-rgb))}
.feature-card{
  padding:11px;border:1px solid var(--line);border-radius:10px;background:#0d1218
}
.feature-card + .feature-card{margin-top:7px}
.feature-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.feature-name{font-size:11px;font-weight:750}
.feature-tag{padding:4px 6px;border-radius:5px;background:rgba(var(--accent-rgb),.1);color:rgb(var(--accent-rgb));font-size:7px}
.feature-card p{font-size:9px;color:#69727f;line-height:1.5;margin-top:5px}
.profile-footer{
  padding:12px 20px;display:flex;align-items:center;justify-content:space-between;
  border-top:1px solid var(--line);background:#0c1016;color:#58616d;font-size:8px
}

/* LANDING / EXIT */
.center-screen{
  min-height:100vh;
  display:flex;align-items:center;justify-content:center;
  padding:22px;position:relative;z-index:1
}
.center-card{
  width:min(430px,100%);
  text-align:center;
  border:1px solid var(--line);border-radius:22px;
  background:
    radial-gradient(circle at 50% 0%,rgba(var(--accent-rgb),.12),transparent 36%),
    var(--panel-solid);
  padding:32px;
  box-shadow:0 30px 90px rgba(0,0,0,.5)
}
.center-icon{
  width:56px;height:56px;border-radius:15px;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 16px;
  background:rgba(var(--accent-rgb),.11);
  color:rgb(var(--accent-rgb));font-size:22px
}
.center-card h1{font-size:24px;letter-spacing:-.7px}
.center-card p{font-size:10px;line-height:1.65;color:var(--muted);margin:9px auto 18px;max-width:330px}
.center-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}

@media(max-width:900px){
  .grid-3{grid-template-columns:1fr}
  .row-2,.settings-layout{grid-template-columns:1fr}
}
@media(max-width:720px){
  .app{grid-template-columns:72px minmax(0,1fr)}
  .sidebar{padding:14px 8px}
  .brand{justify-content:center;padding-left:0;padding-right:0}
  .brand span,.brand-sub,.nav-label,.nav a span,.user-mini div{display:none}
  .nav a{justify-content:center;padding:0}
  .sidebar-bottom .user-mini{justify-content:center;padding:8px}
  .main{padding:20px 16px 36px}
  .topbar{flex-direction:column}
  .quick{grid-template-columns:1fr}
}
@media(max-width:470px){
  .profile-page{padding:62px 10px 18px}
  .profile-banner{height:118px}
  .profile-links{grid-template-columns:1fr}
  .floating-back{top:12px;left:12px}
}
@media(prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important;transition:none!important}
}


/* V4 softer hierarchy */
body{color:#d9dee6}
.topbar h1,.hero-strip h2,.center-card h1{color:#dfe4ea}
.panel-title h2,.stat .v,.quick strong,.activity-item strong,.setting-card h3,.toggle-row h3{color:#cfd5de}
.btn.primary{color:#eef1f5}
.nav a.active{color:#e7ebf0}


/* =========================
   V5 EXPANDED DASHBOARD
   ========================= */

.main{
  padding:34px 36px 54px;
}

.main-inner{
  width:min(1320px,100%);
}

.dashboard-grid{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);
  gap:16px;
}

.hero-dashboard{
  position:relative;
  overflow:hidden;
  min-height:280px;
  padding:26px;
  border:1px solid var(--line);
  border-radius:20px;
  background:
    radial-gradient(circle at 85% 20%,rgba(var(--accent-rgb),.22),transparent 30%),
    radial-gradient(circle at 20% 100%,rgba(var(--accent-rgb),.07),transparent 30%),
    linear-gradient(135deg,rgba(var(--accent-rgb),.055),transparent 45%),
    #0c1117;
  box-shadow:0 28px 80px rgba(0,0,0,.32);
}

.hero-dashboard::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:32px 32px;
  mask-image:linear-gradient(to bottom,black,transparent 75%);
}

.hero-dashboard-content{
  position:relative;
  z-index:2;
  max-width:650px;
}

.hero-dashboard small{
  color:rgb(var(--accent-rgb));
  font-size:9px;
  letter-spacing:1.2px;
  font-weight:850;
  text-transform:uppercase;
}

.hero-dashboard h2{
  margin-top:9px;
  color:#d6dbe2;
  font-size:34px;
  line-height:1.03;
  letter-spacing:-1.4px;
}

.hero-dashboard p{
  margin-top:11px;
  max-width:560px;
  color:#747e8a;
  font-size:11px;
  line-height:1.7;
}

.hero-dashboard-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:18px;
}

.profile-orb{
  position:absolute;
  right:26px;
  bottom:-34px;
  width:190px;
  height:190px;
  border-radius:42px;
  border:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 65% 15%,rgba(var(--accent-rgb),.35),transparent 40%),
    linear-gradient(145deg,#1a202a,#0e1319);
  box-shadow:
    0 25px 70px rgba(0,0,0,.45),
    0 0 50px rgba(var(--accent-rgb),.08);
  transform:rotate(8deg);
  transition:transform .2s ease-out;
}

.profile-orb::after{
  content:"NB";
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(255,255,255,.055);
  font-size:64px;
  font-weight:950;
  letter-spacing:-5px;
}

.overview-row{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-top:16px;
}

.big-stat{
  min-height:126px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:15px;
  background:
    radial-gradient(circle at 100% 0%,rgba(var(--accent-rgb),.09),transparent 34%),
    #0c1117;
}

.big-stat .icon{
  width:28px;
  height:28px;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(var(--accent-rgb),.10);
  color:rgb(var(--accent-rgb));
  font-size:12px;
  margin-bottom:12px;
}

.big-stat small{
  display:block;
  color:#626c79;
  font-size:9px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:1px;
}

.big-stat strong{
  display:block;
  margin-top:6px;
  color:#cbd1d8;
  font-size:25px;
  letter-spacing:-1px;
}

.big-stat span{
  display:block;
  margin-top:4px;
  color:#59636f;
  font-size:9px;
}

.dashboard-section{
  margin-top:16px;
}

.dashboard-section .panel{
  padding:20px;
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:14px;
}

.section-head h2{
  color:#cfd5dc;
  font-size:14px;
}

.section-head p{
  margin-top:4px;
  color:#626c78;
  font-size:9px;
  line-height:1.5;
}

.section-head a{
  color:rgb(var(--accent-rgb));
  font-size:9px;
}

.tool-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}

.tool-card{
  min-height:118px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#0d1218;
  transition:.18s ease;
}

.tool-card:hover{
  transform:translateY(-2px);
  border-color:rgba(var(--accent-rgb),.24);
  background:#121821;
}

.tool-card .tool-icon{
  width:30px;
  height:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:9px;
  background:rgba(var(--accent-rgb),.10);
  color:rgb(var(--accent-rgb));
  margin-bottom:12px;
}

.tool-card strong{
  display:block;
  color:#c3c9d1;
  font-size:11px;
}

.tool-card span{
  display:block;
  margin-top:5px;
  color:#626c78;
  font-size:9px;
  line-height:1.45;
}

.cosmetic-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}

.cosmetic{
  position:relative;
  overflow:hidden;
  min-height:150px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:13px;
  background:
    linear-gradient(145deg,rgba(var(--accent-rgb),.05),transparent 45%),
    #0d1218;
  transition:.18s ease;
}

.cosmetic:hover{
  transform:translateY(-3px);
  border-color:rgba(var(--accent-rgb),.24);
}

.cosmetic-preview{
  height:72px;
  border-radius:9px;
  margin-bottom:11px;
  border:1px solid rgba(255,255,255,.055);
  background:
    radial-gradient(circle at 70% 20%,rgba(var(--accent-rgb),.25),transparent 35%),
    linear-gradient(135deg,#171d27,#0d1218);
}

.cosmetic strong{
  display:block;
  color:#c3c9d0;
  font-size:10px;
}

.cosmetic span{
  display:block;
  margin-top:4px;
  color:#616b77;
  font-size:8px;
}

.price-pill{
  position:absolute;
  right:10px;
  top:10px;
  padding:5px 7px;
  border-radius:7px;
  border:1px solid rgba(var(--accent-rgb),.14);
  background:rgba(var(--accent-rgb),.07);
  color:rgb(var(--accent-rgb));
  font-size:8px;
}

.download-list{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.download-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:64px;
  padding:11px 12px;
  border:1px solid var(--line);
  border-radius:11px;
  background:#0d1218;
}

.download-main{
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
}

.download-icon{
  width:32px;
  height:32px;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:9px;
  background:rgba(var(--accent-rgb),.10);
  color:rgb(var(--accent-rgb));
}

.download-row strong{
  display:block;
  color:#bec5ce;
  font-size:10px;
}

.download-row span{
  display:block;
  margin-top:3px;
  color:#606a76;
  font-size:8px;
}

.progress-card{
  padding:15px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#0d1218;
}

.progress-line{
  margin-top:12px;
  height:7px;
  border-radius:999px;
  overflow:hidden;
  background:#161d26;
}

.progress-fill{
  height:100%;
  width:72%;
  border-radius:inherit;
  background:linear-gradient(90deg,var(--accent),var(--accent2));
  box-shadow:0 0 14px rgba(var(--accent-rgb),.3);
}

.feed{
  display:flex;
  flex-direction:column;
}

.feed-row{
  display:grid;
  grid-template-columns:34px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:11px 0;
  border-top:1px solid var(--line);
}

.feed-row:first-child{
  border-top:0;
}

.feed-icon{
  width:30px;
  height:30px;
  border-radius:9px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#121821;
  color:rgb(var(--accent-rgb));
  font-size:11px;
}

.feed-row strong{
  display:block;
  color:#bbc2cb;
  font-size:10px;
}

.feed-row p{
  margin-top:3px;
  color:#606a76;
  font-size:8px;
}

.feed-time{
  color:#4f5864;
  font-size:8px;
}

@media(max-width:1100px){
  .dashboard-grid{grid-template-columns:1fr}
  .overview-row{grid-template-columns:repeat(2,1fr)}
  .cosmetic-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:760px){
  .tool-grid{grid-template-columns:1fr}
  .overview-row{grid-template-columns:1fr}
  .cosmetic-grid{grid-template-columns:1fr}
  .profile-orb{opacity:.2}
}


/* V6 readability + consistent sidebar */
.sidebar{padding:20px 16px}
.nav a{min-height:45px;font-size:12px}
.nav-icon{font-size:14px}
.brand{font-size:14px}
.user-mini strong{font-size:11px}
.user-mini span{font-size:9px}
.topbar h1{font-size:31px}
.topbar p{font-size:11px}
.panel-title h2,.section-head h2{font-size:14px}
.hero-dashboard h2{font-size:38px}
.hero-dashboard p{font-size:11px}
.tool-card strong{font-size:11px}
.tool-card span{font-size:9px}
.big-stat strong{font-size:29px}
.big-stat small{font-size:9px}
.big-stat span{font-size:9px}

@media(max-width:720px){
  .app{grid-template-columns:78px minmax(0,1fr)}
}


/* =========================
   V7 DEDICATED APP PAGES
   ========================= */

.page-grid-2{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:14px;
}

.page-grid-3{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.metric-card{
  min-height:135px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:15px;
  background:
    radial-gradient(circle at 100% 0%,rgba(var(--accent-rgb),.08),transparent 35%),
    #0d1218;
}

.metric-card small{
  display:block;
  color:#616b77;
  font-size:9px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:1px;
}

.metric-card strong{
  display:block;
  margin-top:9px;
  color:#c8ced6;
  font-size:30px;
  letter-spacing:-1.2px;
}

.metric-card span{
  display:block;
  margin-top:5px;
  color:#59636f;
  font-size:9px;
}

.list-card{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.list-row{
  min-height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 13px;
  border:1px solid var(--line);
  border-radius:11px;
  background:#0d1218;
}

.list-row strong{
  display:block;
  color:#c0c7d0;
  font-size:10px;
}

.list-row span{
  display:block;
  margin-top:3px;
  color:#626c78;
  font-size:8px;
}

.list-row .left{
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
}

.page-icon{
  width:34px;
  height:34px;
  flex-shrink:0;
  border-radius:9px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(var(--accent-rgb),.10);
  color:rgb(var(--accent-rgb));
}

.placeholder-box{
  min-height:190px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:24px;
  border:1px dashed rgba(255,255,255,.10);
  border-radius:13px;
  color:#5f6975;
  font-size:9px;
  line-height:1.6;
  background:rgba(255,255,255,.012);
}

.store-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.store-item{
  position:relative;
  overflow:hidden;
  min-height:220px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:14px;
  background:
    linear-gradient(145deg,rgba(var(--accent-rgb),.045),transparent 40%),
    #0d1218;
  transition:.18s ease;
}

.store-item:hover{
  transform:translateY(-3px);
  border-color:rgba(var(--accent-rgb),.24);
}

.store-preview{
  height:110px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.055);
  background:
    radial-gradient(circle at 70% 20%,rgba(var(--accent-rgb),.24),transparent 34%),
    linear-gradient(135deg,#171d27,#0d1218);
  margin-bottom:12px;
}

.store-item h3{
  color:#c2c9d2;
  font-size:11px;
}

.store-item p{
  margin-top:5px;
  color:#626c78;
  font-size:8px;
  line-height:1.5;
}

.store-price{
  display:inline-flex;
  margin-top:10px;
  padding:5px 7px;
  border-radius:7px;
  border:1px solid rgba(var(--accent-rgb),.14);
  background:rgba(var(--accent-rgb),.07);
  color:rgb(var(--accent-rgb));
  font-size:8px;
}

@media(max-width:1000px){
  .page-grid-2{grid-template-columns:1fr}
  .page-grid-3{grid-template-columns:1fr}
  .store-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:650px){
  .store-grid{grid-template-columns:1fr}
}

.customizer-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:14px}
.preview-panel{position:sticky;top:24px}
.live-card{width:min(410px,100%);margin:auto;overflow:hidden;border:1px solid var(--line);border-radius:24px;background:#0f131a;box-shadow:0 28px 80px rgba(0,0,0,.42)}
.live-banner{height:125px;position:relative;overflow:hidden;background:radial-gradient(circle at 75% 15%,rgba(var(--accent-rgb),.48),transparent 38%),linear-gradient(135deg,rgba(var(--accent-rgb),.18),#171d27 65%)}
.live-banner.grid:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:23px 23px;opacity:.18}
.live-banner.noise:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 20% 30%,rgba(255,255,255,.05) 0 1px,transparent 1px);background-size:9px 9px;opacity:.18}
.live-content{padding:0 19px 19px}.live-avatar{width:86px;height:86px;margin-top:-42px;border-radius:22px;border:5px solid #0f131a;background:url("pfp.jpg") center/cover,linear-gradient(135deg,rgba(var(--accent-rgb),.18),#222832);position:relative}
.live-avatar.frame{box-shadow:0 0 0 2px var(--accent),0 0 24px rgba(var(--accent-rgb),.25)}
.live-name{margin-top:10px;color:#d2d7de;font-size:22px;font-weight:850}.live-handle{color:#68727e;font-size:9px;margin-top:2px}.live-bio{margin-top:11px;color:#7d8692;font-size:9px;line-height:1.6}
.live-links{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin-top:13px}.live-links div{padding:9px 10px;border:1px solid var(--line);border-radius:9px;background:#141a22;color:#a0a8b2;font-size:9px}
.option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.option{min-height:92px;padding:12px;text-align:left;border:1px solid var(--line);border-radius:11px;background:#0d1218;cursor:pointer;transition:.18s ease}
.option:hover,.option.active{border-color:rgba(var(--accent-rgb),.26);background:#121821}.option strong{display:block;color:#c0c7cf;font-size:10px}.option span{display:block;margin-top:5px;color:#616b77;font-size:8px;line-height:1.45}
.lock{display:inline-flex;margin-top:8px;padding:4px 6px;border-radius:6px;background:rgba(var(--accent-rgb),.08);color:rgb(var(--accent-rgb));font-size:7px}
.plus-hero{position:relative;overflow:hidden;padding:30px;border:1px solid var(--line);border-radius:22px;background:radial-gradient(circle at 85% 15%,rgba(var(--accent-rgb),.25),transparent 28%),linear-gradient(135deg,rgba(var(--accent-rgb),.08),transparent 45%),#0c1117;box-shadow:0 30px 90px rgba(0,0,0,.34)}
.plus-hero h1{color:#d7dce3;font-size:40px;letter-spacing:-1.8px}.plus-hero p{margin-top:10px;color:#727c88;font-size:10px;line-height:1.7;max-width:620px}
.plus-badge{display:inline-flex;align-items:center;gap:7px;margin-bottom:12px;padding:6px 9px;border:1px solid rgba(var(--accent-rgb),.16);border-radius:999px;background:rgba(var(--accent-rgb),.06);color:rgb(var(--accent-rgb));font-size:8px;font-weight:850;letter-spacing:1px;text-transform:uppercase}
.plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}.plan{padding:22px;border:1px solid var(--line);border-radius:17px;background:#0d1218;position:relative}
.plan.featured{border-color:rgba(var(--accent-rgb),.26);background:radial-gradient(circle at 100% 0%,rgba(var(--accent-rgb),.11),transparent 35%),#0d1218}.plan h3{color:#cbd1d8;font-size:16px}
.plan-price{margin-top:10px;color:#d2d7dd;font-size:30px;font-weight:850;letter-spacing:-1px}.plan-price small{font-size:9px;color:#64707b;font-weight:500}
.perk-list{display:flex;flex-direction:column;gap:9px;margin-top:18px}.perk{display:flex;align-items:flex-start;gap:9px;color:#89929d;font-size:9px;line-height:1.5}.perk b{color:rgb(var(--accent-rgb))}
.plus-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.plus-note{margin-top:12px;color:#57616d;font-size:8px;line-height:1.5}
@media(max-width:1000px){.customizer-grid{grid-template-columns:1fr}.preview-panel{position:relative;top:auto}}
@media(max-width:650px){.option-grid,.plan-grid{grid-template-columns:1fr}.live-links{grid-template-columns:1fr}}


/* =========================
   V9 USERS + REPUTATION
   ========================= */

.users-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:14px;
}

.users-search{
  min-width:240px;
  flex:1;
  max-width:420px;
  height:40px;
  padding:0 12px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#10161e;
  color:#d9dee5;
  outline:none;
}

.users-search:focus{
  border-color:rgba(var(--accent-rgb),.36);
  box-shadow:0 0 0 3px rgba(var(--accent-rgb),.05);
}

.sort-row{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
}

.sort-btn{
  min-height:36px;
  padding:0 11px;
  border:1px solid var(--line);
  border-radius:9px;
  background:#10161d;
  color:#75808c;
  cursor:pointer;
  font-size:9px;
}

.sort-btn.active{
  color:#dbe0e6;
  background:rgba(var(--accent-rgb),.08);
  border-color:rgba(var(--accent-rgb),.18);
}

.users-list{
  display:flex;
  flex-direction:column;
  gap:9px;
}

.user-rank-card{
  display:grid;
  grid-template-columns:52px 54px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  min-height:86px;
  padding:13px 14px;
  border:1px solid var(--line);
  border-radius:13px;
  background:
    linear-gradient(90deg,rgba(var(--accent-rgb),.025),transparent 40%),
    #0d1218;
  transition:.18s ease;
}

.user-rank-card:hover{
  transform:translateY(-1px);
  border-color:rgba(var(--accent-rgb),.22);
  background:#111820;
}

.rank-num{
  color:#5f6976;
  font-size:13px;
  font-weight:850;
  text-align:center;
}

.rank-num.top{
  color:rgb(var(--accent-rgb));
}

.user-avatar{
  width:46px;
  height:46px;
  border-radius:13px;
  background:
    url("pfp.jpg") center/cover,
    linear-gradient(135deg,rgba(var(--accent-rgb),.18),#222832);
  border:1px solid rgba(255,255,255,.07);
}

.user-main{
  min-width:0;
}

.user-main strong{
  display:flex;
  align-items:center;
  gap:7px;
  color:#c9cfd7;
  font-size:11px;
}

.user-main .handle{
  margin-top:3px;
  color:#65707c;
  font-size:8px;
}

.user-main .rep{
  margin-top:7px;
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.rep-pill{
  padding:4px 6px;
  border-radius:6px;
  background:#141a22;
  border:1px solid var(--line);
  color:#7a8490;
  font-size:7px;
}

.rep-pill.score{
  color:rgb(var(--accent-rgb));
  background:rgba(var(--accent-rgb),.07);
  border-color:rgba(var(--accent-rgb),.14);
}

.user-actions{
  display:flex;
  gap:7px;
  align-items:center;
}

.like-btn{
  min-height:36px;
  padding:0 10px;
  border:1px solid var(--line);
  border-radius:9px;
  background:#111720;
  color:#8b95a1;
  cursor:pointer;
  font-size:9px;
}

.like-btn.liked{
  color:rgb(var(--accent-rgb));
  border-color:rgba(var(--accent-rgb),.22);
  background:rgba(var(--accent-rgb),.08);
}

.users-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-bottom:14px;
}

.users-summary .metric-card{
  min-height:115px;
}

.public-user{
  width:min(460px,100%);
  margin:auto;
}

.user-hero-card{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:24px;
  background:#0f131a;
  box-shadow:0 30px 90px rgba(0,0,0,.45);
}

.user-hero-banner{
  height:140px;
  background:
    radial-gradient(circle at 75% 15%,rgba(var(--accent-rgb),.48),transparent 38%),
    linear-gradient(135deg,rgba(var(--accent-rgb),.18),#171d27 65%);
}

.user-hero-body{
  padding:0 20px 20px;
}

.user-hero-avatar{
  width:92px;
  height:92px;
  margin-top:-46px;
  border-radius:23px;
  border:5px solid #0f131a;
  background:
    url("pfp.jpg") center/cover,
    linear-gradient(135deg,rgba(var(--accent-rgb),.18),#222832);
}

.user-hero-name{
  margin-top:10px;
  color:#d0d6dd;
  font-size:24px;
  font-weight:850;
}

.user-hero-handle{
  color:#68727e;
  font-size:9px;
  margin-top:2px;
}

.user-hero-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin-top:15px;
}

.user-hero-stat{
  padding:10px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#121821;
  text-align:center;
}

.user-hero-stat strong{
  display:block;
  color:#c9cfd7;
  font-size:17px;
}

.user-hero-stat span{
  display:block;
  margin-top:3px;
  color:#5e6874;
  font-size:7px;
}

.user-score-box{
  margin-top:12px;
  padding:11px 12px;
  border:1px solid rgba(var(--accent-rgb),.15);
  border-radius:10px;
  background:rgba(var(--accent-rgb),.055);
  color:#8e98a4;
  font-size:9px;
}

.user-score-box b{
  color:rgb(var(--accent-rgb));
}

@media(max-width:850px){
  .users-summary{grid-template-columns:repeat(2,1fr)}
  .user-rank-card{grid-template-columns:38px 48px minmax(0,1fr)}
  .user-actions{grid-column:2/4}
}

@media(max-width:560px){
  .users-summary{grid-template-columns:1fr}
  .users-search{min-width:100%}
  .user-rank-card{grid-template-columns:34px 42px minmax(0,1fr);padding:11px}
  .user-avatar{width:40px;height:40px}
  .user-hero-stats{grid-template-columns:1fr}
}


/* V10 reputation emphasis */
.user-hero-stats{
  grid-template-columns:repeat(4,1fr);
}

.style-meter{
  height:6px;
  border-radius:999px;
  overflow:hidden;
  background:#151c25;
}

.style-meter > span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,var(--accent),var(--accent2));
}

@media(max-width:620px){
  .user-hero-stats{grid-template-columns:repeat(2,1fr)}
}


/* =========================
   V11 USERS LEADERBOARD
   ========================= */

.users-page-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 315px;
  gap:16px;
  align-items:start;
}

.users-main-panel{
  min-width:0;
}

.users-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}

.users-title h1{
  color:#d9dee5;
  font-size:34px;
  letter-spacing:-1.2px;
}

.users-title p{
  margin-top:5px;
  color:#727c88;
  font-size:10px;
}

.users-controls{
  display:grid;
  grid-template-columns:minmax(250px,1fr) 220px 125px;
  gap:10px;
  margin-bottom:12px;
}

.users-search-wrap{
  position:relative;
}

.users-search-wrap::before{
  content:"⌕";
  position:absolute;
  left:12px;
  top:50%;
  transform:translateY(-50%);
  color:#76808d;
  font-size:14px;
}

.users-search-v11,
.users-sort-v11,
.users-filter-v11{
  width:100%;
  height:42px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#10161e;
  color:#c7cdd5;
  outline:none;
  font-size:10px;
}

.users-search-v11{
  padding:0 12px 0 37px;
}

.users-sort-v11,
.users-filter-v11{
  padding:0 12px;
}

.users-search-v11:focus,
.users-sort-v11:focus,
.users-filter-v11:focus{
  border-color:rgba(var(--accent-rgb),.34);
  box-shadow:0 0 0 3px rgba(var(--accent-rgb),.045);
}

.leaderboard{
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  background:#0c1117;
}

.leaderboard-head{
  display:grid;
  grid-template-columns:52px minmax(210px,1.25fr) 150px 105px 90px 100px 120px;
  gap:8px;
  align-items:center;
  min-height:48px;
  padding:0 14px;
  border-bottom:1px solid var(--line);
  background:#0f151d;
  color:#66717e;
  font-size:8px;
  font-weight:850;
  letter-spacing:1px;
  text-transform:uppercase;
}

.leaderboard-head .rep-col{
  color:rgb(var(--accent-rgb));
}

.leaderboard-scroll{
  max-height:690px;
  overflow-y:auto;
  scrollbar-width:thin;
  scrollbar-color:rgba(var(--accent-rgb),.30) transparent;
}

.leaderboard-scroll::-webkit-scrollbar{width:7px}
.leaderboard-scroll::-webkit-scrollbar-track{background:transparent}
.leaderboard-scroll::-webkit-scrollbar-thumb{
  background:rgba(var(--accent-rgb),.24);
  border-radius:999px;
}

.rank-row{
  display:grid;
  grid-template-columns:52px minmax(210px,1.25fr) 150px 105px 90px 100px 120px;
  gap:8px;
  align-items:center;
  min-height:78px;
  padding:10px 14px;
  border-bottom:1px solid rgba(255,255,255,.055);
  background:#0d1218;
  transition:.18s ease;
  cursor:pointer;
}

.rank-row:last-child{border-bottom:0}

.rank-row:hover{
  background:#111820;
}

.rank-row.top-user{
  background:
    radial-gradient(circle at 20% 50%,rgba(var(--accent-rgb),.08),transparent 35%),
    #10151d;
  box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.45);
}

.rank-number{
  text-align:center;
  color:#b7bec7;
  font-size:12px;
  font-weight:850;
}

.rank-profile{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
}

.rank-avatar{
  width:48px;
  height:48px;
  flex-shrink:0;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 70% 20%,rgba(var(--accent-rgb),.28),transparent 40%),
    #1a2029;
  position:relative;
  overflow:hidden;
}

.rank-avatar::after{
  content:"";
  position:absolute;
  width:9px;
  height:9px;
  right:1px;
  bottom:2px;
  border-radius:50%;
  border:2px solid #0d1218;
  background:#49df8a;
}

.rank-name{
  min-width:0;
}

.rank-name strong{
  display:flex;
  align-items:center;
  gap:7px;
  color:#d0d5dc;
  font-size:11px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.rank-name span{
  display:block;
  margin-top:3px;
  color:#69737f;
  font-size:8px;
}

.plus-chip{
  display:inline-flex!important;
  width:max-content;
  margin:0!important;
  padding:3px 6px;
  border-radius:5px;
  background:rgba(var(--accent-rgb),.14);
  color:rgb(var(--accent-rgb))!important;
  font-size:7px!important;
  font-weight:850;
}

.rep-value{
  color:rgb(var(--accent-rgb));
  font-size:18px;
  font-weight:850;
  letter-spacing:-.5px;
}

.rep-bar{
  width:74px;
  height:4px;
  margin-top:5px;
  border-radius:999px;
  overflow:hidden;
  background:#242b35;
}

.rep-bar span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,var(--accent),var(--accent2));
}

.style-value,
.number-value{
  color:#c7cdd5;
  font-size:11px;
  font-weight:800;
}

.style-value small{
  color:#68727e;
  font-size:8px;
  font-weight:500;
}

.badge-mini-row{
  display:flex;
  gap:5px;
  align-items:center;
}

.badge-mini{
  width:28px;
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:7px;
  background:rgba(var(--accent-rgb),.10);
  border:1px solid rgba(var(--accent-rgb),.12);
  color:rgb(var(--accent-rgb));
  font-size:10px;
}

.badge-extra{
  padding:5px 6px;
  border-radius:6px;
  border:1px solid var(--line);
  background:#151b24;
  color:#727c88;
  font-size:7px;
}

.users-right{
  display:flex;
  flex-direction:column;
  gap:12px;
  position:sticky;
  top:24px;
}

.side-card-v11{
  border:1px solid var(--line);
  border-radius:14px;
  background:
    radial-gradient(circle at 100% 0%,rgba(var(--accent-rgb),.06),transparent 35%),
    #0d1218;
  padding:17px;
}

.side-card-v11 h3{
  color:#bfc6cf;
  font-size:9px;
  font-weight:850;
  letter-spacing:1px;
  text-transform:uppercase;
}

.podium{
  display:grid;
  grid-template-columns:1fr 1.1fr 1fr;
  align-items:end;
  gap:8px;
  margin-top:18px;
}

.podium-user{
  text-align:center;
}

.podium-avatar{
  width:54px;
  height:54px;
  margin:0 auto 8px;
  border-radius:50%;
  border:1px solid rgba(var(--accent-rgb),.22);
  background:
    radial-gradient(circle at 70% 20%,rgba(var(--accent-rgb),.32),transparent 40%),
    #1b2029;
}

.podium-user.first .podium-avatar{
  width:64px;
  height:64px;
  box-shadow:0 0 24px rgba(var(--accent-rgb),.16);
}

.podium-place{
  width:24px;
  height:24px;
  margin:0 auto 6px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#e4e7eb;
  color:#11151b;
  font-size:10px;
  font-weight:900;
}

.podium-user.first .podium-place{
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  color:white;
}

.podium-name{
  color:#c4cad2;
  font-size:9px;
  font-weight:800;
}

.podium-score{
  margin-top:3px;
  color:#69737f;
  font-size:8px;
}

.side-stat-list{
  margin-top:10px;
}

.side-stat-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:11px 0;
  border-top:1px solid var(--line);
}

.side-stat-row:first-child{
  border-top:0;
}

.side-stat-left{
  display:flex;
  align-items:center;
  gap:9px;
}

.side-stat-icon{
  width:30px;
  height:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  background:rgba(var(--accent-rgb),.09);
  color:rgb(var(--accent-rgb));
}

.side-stat-row strong{
  color:#c2c8d0;
  font-size:10px;
}

.side-stat-row span{
  display:block;
  color:#65707c;
  font-size:8px;
  margin-top:2px;
}

.side-stat-number{
  text-align:right;
  color:#cbd1d8;
  font-size:14px;
  font-weight:850;
}

.rep-help{
  margin-top:12px;
  color:#77818d;
  font-size:9px;
  line-height:1.65;
}

.rep-rule{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-top:10px;
  color:#7f8995;
  font-size:8px;
}

.rep-rule b{
  color:#c7cdd5;
}

.users-empty{
  padding:40px;
  text-align:center;
  color:#606a76;
  font-size:10px;
}

@media(max-width:1250px){
  .users-page-layout{grid-template-columns:1fr}
  .users-right{position:relative;top:auto;display:grid;grid-template-columns:repeat(3,1fr)}
}

@media(max-width:1020px){
  .leaderboard-head{display:none}
  .rank-row{
    grid-template-columns:42px 1fr 110px;
    min-height:88px;
  }
  .rank-row > :nth-child(4),
  .rank-row > :nth-child(5),
  .rank-row > :nth-child(6),
  .rank-row > :nth-child(7){display:none}
}

@media(max-width:760px){
  .users-controls{grid-template-columns:1fr}
  .users-right{grid-template-columns:1fr}
  .rank-row{grid-template-columns:34px 1fr}
  .rank-row > :nth-child(3){display:none}
}


/* =========================
   V12 USERS PAGE — MOCKUP MATCH
   ========================= */

.users-v12 .main{
  padding:26px 26px 38px;
}

.users-v12 .main-inner{
  width:min(1460px,100%);
}

.users-v12 .sidebar{
  width:auto;
}

.users-v12 .users-page-layout{
  grid-template-columns:minmax(0,1fr) 330px;
  gap:18px;
}

.users-v12 .users-title h1{
  font-size:36px;
  letter-spacing:-1.4px;
}

.users-v12 .users-title p{
  font-size:11px;
  color:#7b8591;
}

.users-v12 .users-controls{
  grid-template-columns:minmax(320px,1fr) 250px 130px;
  gap:12px;
  margin-bottom:14px;
}

.users-v12 .users-search-v11,
.users-v12 .users-sort-v11,
.users-v12 .users-filter-v11{
  height:46px;
  font-size:11px;
  border-radius:11px;
  background:#0f151d;
}

.users-v12 .leaderboard{
  border-radius:15px;
  background:#0c1118;
  box-shadow:0 26px 70px rgba(0,0,0,.22);
}

.users-v12 .leaderboard-head{
  grid-template-columns:54px minmax(230px,1.35fr) 165px 110px 95px 105px 130px;
  min-height:54px;
  padding:0 16px;
  font-size:9px;
  background:#0f151d;
}

.users-v12 .leaderboard-scroll{
  max-height:760px;
}

.users-v12 .rank-row{
  grid-template-columns:54px minmax(230px,1.35fr) 165px 110px 95px 105px 130px;
  min-height:88px;
  padding:12px 16px;
}

.users-v12 .rank-row.top-user{
  background:
    radial-gradient(circle at 18% 50%,rgba(var(--accent-rgb),.12),transparent 34%),
    linear-gradient(90deg,rgba(var(--accent-rgb),.06),transparent 42%),
    #10151d;
  box-shadow:
    inset 0 0 0 1px rgba(var(--accent-rgb),.8),
    0 0 24px rgba(var(--accent-rgb),.08);
}

.users-v12 .rank-number{
  font-size:14px;
}

.users-v12 .rank-avatar{
  width:54px;
  height:54px;
  box-shadow:0 0 0 1px rgba(var(--accent-rgb),.15);
}

.users-v12 .rank-name strong{
  font-size:13px;
}

.users-v12 .rank-name span{
  font-size:9px;
}

.users-v12 .plus-chip{
  font-size:8px!important;
  padding:4px 7px;
}

.users-v12 .rep-value{
  font-size:21px;
}

.users-v12 .rep-bar{
  width:86px;
  height:5px;
}

.users-v12 .style-value,
.users-v12 .number-value{
  font-size:12px;
}

.users-v12 .badge-mini{
  width:31px;
  height:31px;
}

.users-v12 .badge-extra{
  font-size:8px;
}

.users-v12 .users-right{
  gap:14px;
}

.users-v12 .side-card-v11{
  padding:19px;
  border-radius:15px;
  background:
    radial-gradient(circle at 100% 0%,rgba(var(--accent-rgb),.08),transparent 36%),
    linear-gradient(180deg,rgba(255,255,255,.012),transparent),
    #0d1219;
}

.users-v12 .side-card-v11 h3{
  font-size:10px;
}

.users-v12 .podium{
  margin-top:20px;
}

.users-v12 .podium-avatar{
  width:58px;
  height:58px;
}

.users-v12 .podium-user.first .podium-avatar{
  width:72px;
  height:72px;
  border-color:rgba(var(--accent-rgb),.65);
  box-shadow:0 0 28px rgba(var(--accent-rgb),.16);
}

.users-v12 .podium-name{
  font-size:10px;
}

.users-v12 .podium-score{
  font-size:9px;
}

.users-v12 .side-stat-row{
  padding:13px 0;
}

.users-v12 .side-stat-row strong{
  font-size:11px;
}

.users-v12 .side-stat-number{
  font-size:16px;
}

.users-v12 .rep-help{
  font-size:9px;
}

.users-v12 .rep-rule{
  font-size:9px;
}

.users-v12 .sidebar{
  background:
    linear-gradient(180deg,rgba(14,10,20,.92),rgba(8,11,15,.96));
  box-shadow:10px 0 40px rgba(80,30,100,.05);
}

.users-v12 .nav a.active{
  background:
    linear-gradient(90deg,rgba(var(--accent-rgb),.24),rgba(var(--accent-rgb),.07));
  border-color:rgba(var(--accent-rgb),.24);
}

.users-v12 .brand{
  font-size:15px;
}

.users-v12 .user-mini{
  border-color:rgba(var(--accent-rgb),.13);
  background:
    radial-gradient(circle at 0% 100%,rgba(var(--accent-rgb),.12),transparent 55%),
    #0d1218;
}

@media(max-width:1320px){
  .users-v12 .users-page-layout{grid-template-columns:1fr}
  .users-v12 .users-right{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    position:relative;
    top:auto;
  }
}

@media(max-width:1040px){
  .users-v12 .users-right{grid-template-columns:1fr}
}


/* =========================
   V13 USERS PAGE — TRUE LARGE LAYOUT
   ========================= */
.users-v13 .app{grid-template-columns:245px minmax(0,1fr)}
.users-v13 .sidebar{padding:22px 16px;font-size:14px}
.users-v13 .brand{font-size:16px;padding:12px 10px 22px}
.users-v13 .brand-sub{font-size:8px}
.users-v13 .nav-label{font-size:9px;padding:16px 10px 8px}
.users-v13 .nav a{min-height:48px;padding:0 12px;border-radius:11px;font-size:12px}
.users-v13 .nav-icon{width:22px;font-size:15px}
.users-v13 .user-mini{padding:11px}
.users-v13 .avatar-mini{width:40px;height:40px;border-radius:11px}
.users-v13 .user-mini strong{font-size:12px}
.users-v13 .user-mini span{font-size:9px}

.users-v13 .main{padding:24px 28px 34px}
.users-v13 .main-inner{width:100%;max-width:none;margin:0}
.users-v13 .users-head{margin-bottom:18px}
.users-v13 .users-title h1{font-size:42px;line-height:1;letter-spacing:-1.8px}
.users-v13 .users-title p{margin-top:7px;font-size:12px}
.users-v13 .users-page-layout{grid-template-columns:minmax(760px,1fr) 340px;gap:20px}
.users-v13 .users-controls{grid-template-columns:minmax(330px,1fr) 245px 135px;gap:12px;margin-bottom:14px}
.users-v13 .users-search-v11,.users-v13 .users-sort-v11,.users-v13 .users-filter-v11{height:48px;font-size:12px;border-radius:11px}

.users-v13 .leaderboard{width:100%;border-radius:15px}
.users-v13 .leaderboard-head{
  grid-template-columns:58px minmax(240px,1.4fr) 175px 115px 96px 108px 138px;
  min-height:58px;padding:0 18px;font-size:9.5px
}
.users-v13 .leaderboard-scroll{max-height:calc(100vh - 190px);min-height:620px}
.users-v13 .rank-row{
  grid-template-columns:58px minmax(240px,1.4fr) 175px 115px 96px 108px 138px;
  min-height:92px;padding:13px 18px
}
.users-v13 .rank-number{font-size:15px}
.users-v13 .rank-profile{gap:13px}
.users-v13 .rank-avatar{width:58px;height:58px}
.users-v13 .rank-name strong{font-size:14px}
.users-v13 .rank-name span{margin-top:4px;font-size:10px}
.users-v13 .plus-chip{font-size:8px!important;padding:4px 7px}
.users-v13 .rep-value{font-size:23px}
.users-v13 .rep-bar{width:96px;height:5px;margin-top:7px}
.users-v13 .style-value,.users-v13 .number-value{font-size:13px}
.users-v13 .style-value small{font-size:9px}
.users-v13 .badge-mini{width:33px;height:33px;border-radius:8px;font-size:11px}
.users-v13 .badge-extra{padding:6px 7px;font-size:8px}

.users-v13 .users-right{gap:14px;position:sticky;top:24px}
.users-v13 .side-card-v11{padding:20px;border-radius:15px}
.users-v13 .side-card-v11 h3{font-size:11px;letter-spacing:1.15px}
.users-v13 .podium{margin-top:22px;gap:10px}
.users-v13 .podium-avatar{width:62px;height:62px}
.users-v13 .podium-user.first .podium-avatar{width:78px;height:78px}
.users-v13 .podium-place{width:27px;height:27px;font-size:11px}
.users-v13 .podium-name{font-size:11px}
.users-v13 .podium-score{margin-top:4px;font-size:9px}
.users-v13 .side-stat-row{padding:14px 0}
.users-v13 .side-stat-icon{width:34px;height:34px;font-size:12px}
.users-v13 .side-stat-row strong{font-size:11px}
.users-v13 .side-stat-row span{font-size:9px}
.users-v13 .side-stat-number{font-size:17px}
.users-v13 .rep-help{font-size:10px;line-height:1.7}
.users-v13 .rep-rule{margin-top:11px;font-size:9.5px}

.users-v13 .rank-row.top-user{
  box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.95),0 0 30px rgba(var(--accent-rgb),.10);
  background:
    radial-gradient(circle at 20% 50%,rgba(var(--accent-rgb),.15),transparent 36%),
    linear-gradient(90deg,rgba(var(--accent-rgb),.075),transparent 46%),
    #111620
}

.users-v13 .leaderboard-scroll::-webkit-scrollbar{width:9px}
.users-v13 .leaderboard-scroll::-webkit-scrollbar-thumb{
  background:linear-gradient(var(--accent),var(--accent2));
  border-radius:999px;border:2px solid #0c1118
}

.users-v13 .sidebar{
  background:linear-gradient(180deg,rgba(14,10,20,.92),rgba(8,11,15,.96));
  box-shadow:10px 0 40px rgba(80,30,100,.05)
}
.users-v13 .nav a.active{
  background:linear-gradient(90deg,rgba(var(--accent-rgb),.24),rgba(var(--accent-rgb),.07));
  border-color:rgba(var(--accent-rgb),.24)
}

@media(max-width:1350px){
  .users-v13 .users-page-layout{grid-template-columns:1fr}
  .users-v13 .users-right{position:relative;top:auto;display:grid;grid-template-columns:repeat(3,1fr)}
}
@media(max-width:1000px){
  .users-v13 .app{grid-template-columns:80px minmax(0,1fr)}
  .users-v13 .sidebar{padding:15px 8px}
  .users-v13 .brand{justify-content:center}
  .users-v13 .brand span,.users-v13 .brand-sub,.users-v13 .nav-label,.users-v13 .nav a span,.users-v13 .user-mini div:not(.avatar-mini){display:none}
  .users-v13 .nav a{justify-content:center;padding:0}
  .users-v13 .user-mini{justify-content:center}
}
@media(max-width:820px){
  .users-v13 .users-controls{grid-template-columns:1fr}
  .users-v13 .users-right{grid-template-columns:1fr}
}


/* =========================
   V15 GLOBAL DASHBOARD SCALE
   Match the larger Users-page proportions
   ========================= */
body:not(.users-v13) .app{
  grid-template-columns:245px minmax(0,1fr);
}
body:not(.users-v13) .sidebar{
  padding:22px 16px;
}
body:not(.users-v13) .brand{
  font-size:16px;
  padding:12px 10px 22px;
}
body:not(.users-v13) .brand-sub{font-size:8px}
body:not(.users-v13) .nav-label{
  font-size:9px;
  padding:16px 10px 8px;
}
body:not(.users-v13) .nav a{
  min-height:48px;
  padding:0 12px;
  border-radius:11px;
  font-size:12px;
}
body:not(.users-v13) .nav-icon{
  width:22px;
  font-size:15px;
}
body:not(.users-v13) .user-mini{
  padding:11px;
}
body:not(.users-v13) .avatar-mini{
  width:40px;
  height:40px;
}
body:not(.users-v13) .user-mini strong{font-size:12px}
body:not(.users-v13) .user-mini span{font-size:9px}

body:not(.users-v13) .main{
  padding:30px 34px 44px;
}
body:not(.users-v13) .main-inner{
  width:100%;
  max-width:1380px;
  margin:0 auto;
}
body:not(.users-v13) .page-title h1,
body:not(.users-v13) .page-head h1{
  font-size:38px;
  letter-spacing:-1.3px;
}
body:not(.users-v13) .page-title p,
body:not(.users-v13) .page-head p{
  font-size:12px;
}
body:not(.users-v13) .panel{
  border-radius:16px;
}
body:not(.users-v13) .panel-title{
  padding:20px 22px;
}
body:not(.users-v13) .panel-title h2{
  font-size:16px;
}
body:not(.users-v13) .list-row{
  min-height:72px;
  padding:14px 18px;
}
body:not(.users-v13) .list-row strong{
  font-size:13px;
}
body:not(.users-v13) .list-row span{
  font-size:10px;
}
body:not(.users-v13) .page-icon{
  width:38px;
  height:38px;
  border-radius:10px;
}
body:not(.users-v13) input,
body:not(.users-v13) textarea,
body:not(.users-v13) select{
  min-height:45px;
  font-size:12px;
}
body:not(.users-v13) .btn,
body:not(.users-v13) button{
  min-height:42px;
  font-size:11px;
}

@media(max-width:1000px){
  body:not(.users-v13) .app{grid-template-columns:80px minmax(0,1fr)}
  body:not(.users-v13) .sidebar{padding:15px 8px}
  body:not(.users-v13) .brand{justify-content:center}
  body:not(.users-v13) .brand span,
  body:not(.users-v13) .brand-sub,
  body:not(.users-v13) .nav-label,
  body:not(.users-v13) .nav a span,
  body:not(.users-v13) .user-mini div:not(.avatar-mini){display:none}
  body:not(.users-v13) .nav a{justify-content:center;padding:0}
  body:not(.users-v13) .user-mini{justify-content:center}
}


/* =========================================================
   V16 GLOBAL SCALE NORMALIZATION
   Fixes mixed old/new sizing across every internal page.
   ========================================================= */

:root{
  --nb-sidebar:245px;
  --nb-page-gap:18px;
  --nb-radius:16px;
  --nb-control-h:46px;
}

/* APP SHELL */
body .app{
  grid-template-columns:var(--nb-sidebar) minmax(0,1fr);
}
body .sidebar{
  padding:22px 16px;
}
body .brand{
  min-height:48px;
  padding:10px 10px 20px;
  font-size:16px;
}
body .brand-sub{
  font-size:8px;
}
body .nav-label{
  padding:15px 10px 8px;
  font-size:9px;
}
body .nav{
  gap:6px;
}
body .nav a{
  min-height:46px;
  padding:0 12px;
  border-radius:11px;
  font-size:12px;
}
body .nav-icon{
  width:22px;
  font-size:14px;
}
body .sidebar-bottom{
  margin-top:auto;
}
body .user-mini{
  min-height:62px;
  padding:10px 11px;
  border-radius:13px;
}
body .avatar-mini{
  width:40px;
  height:40px;
}
body .user-mini strong{
  font-size:12px;
}
body .user-mini span{
  font-size:9px;
}

/* MAIN CONTENT */
body .main{
  padding:28px 32px 44px;
}
body .main-inner{
  width:100%;
  max-width:1400px;
  margin:0 auto;
}
body .topbar{
  min-height:70px;
  margin-bottom:20px;
  gap:16px;
}
body .topbar h1{
  font-size:34px;
  line-height:1.05;
  letter-spacing:-1.2px;
}
body .topbar p{
  margin-top:6px;
  font-size:11px;
  line-height:1.6;
}
body .top-actions{
  gap:9px;
}

/* BUTTONS / CONTROLS */
body .btn,
body button.btn{
  min-height:42px;
  padding:0 14px;
  border-radius:10px;
  font-size:11px;
}
body input,
body select,
body textarea,
body .input{
  font-size:12px;
}
body input:not([type="checkbox"]):not([type="radio"]),
body select,
body .input:not(textarea){
  min-height:44px;
}
body textarea.input{
  min-height:110px;
  padding:12px;
}
body .field-label{
  margin-top:14px;
  margin-bottom:7px;
  font-size:9px;
}

/* PANELS */
body .panel{
  border-radius:var(--nb-radius);
  padding:20px;
}
body .panel-title{
  min-height:34px;
  margin-bottom:16px;
  padding:0;
}
body .panel-title h2{
  font-size:15px;
}
body .panel-title span{
  font-size:9px;
}
body .page-grid-2,
body .settings-layout,
body .row-2{
  gap:16px;
}
body .page-grid-3,
body .grid-3{
  gap:14px;
}

/* SETTING CARDS */
body .setting-card{
  padding:16px;
  border-radius:12px;
}
body .setting-card + .setting-card{
  margin-top:10px;
}
body .setting-card h3{
  font-size:12px;
}
body .setting-card p{
  margin-top:6px;
  font-size:9px;
  line-height:1.6;
}

/* PRIVACY / TOGGLE ROWS */
body .toggle-row{
  min-height:78px;
  padding:15px 16px;
  border-radius:12px;
  gap:18px;
}
body .toggle-row + .toggle-row{
  margin-top:10px;
}
body .toggle-row h3{
  font-size:12px;
}
body .toggle-row p{
  margin-top:5px;
  font-size:9px;
  line-height:1.5;
}
body .switch{
  width:48px;
  height:28px;
  flex:0 0 48px;
}
body .switch::after{
  width:20px;
  height:20px;
  top:3px;
  left:3px;
}
body .switch.on::after{
  left:23px;
}

/* GENERIC LISTS */
body .list-card{
  gap:9px;
}
body .list-row{
  min-height:72px;
  padding:13px 14px;
  border-radius:11px;
}
body .list-row .left{
  gap:12px;
}
body .list-row strong{
  font-size:11px;
}
body .list-row span{
  margin-top:4px;
  font-size:9px;
  line-height:1.45;
}
body .page-icon{
  width:38px;
  height:38px;
  border-radius:10px;
  font-size:13px;
}

/* STATS / METRICS */
body .metric-card,
body .stat,
body .big-stat{
  min-height:132px;
  padding:18px;
  border-radius:14px;
}
body .metric-card small,
body .stat .k,
body .big-stat small{
  font-size:9px;
}
body .metric-card strong,
body .stat .v,
body .big-stat strong{
  font-size:28px;
}
body .metric-card span,
body .stat .s,
body .big-stat span{
  font-size:9px;
}

/* DASHBOARD CARDS */
body .hero-dashboard{
  min-height:300px;
  padding:28px;
}
body .hero-dashboard h2{
  font-size:38px;
}
body .hero-dashboard p{
  font-size:11px;
  line-height:1.7;
}
body .tool-grid{
  gap:11px;
}
body .tool-card{
  min-height:130px;
  padding:15px;
}
body .tool-card .tool-icon{
  width:34px;
  height:34px;
}
body .tool-card strong{
  font-size:11px;
}
body .tool-card span{
  font-size:9px;
  line-height:1.5;
}

/* COSMETICS */
body .store-grid{
  gap:14px;
}
body .store-item{
  min-height:240px;
  padding:15px;
}
body .store-preview{
  height:120px;
}
body .store-item h3{
  font-size:12px;
}
body .store-item p{
  font-size:9px;
}
body .store-price{
  font-size:8px;
}

/* DOWNLOADS */
body .download-row{
  min-height:74px;
  padding:12px 14px;
}
body .download-icon{
  width:36px;
  height:36px;
}
body .download-row strong{
  font-size:11px;
}
body .download-row span{
  font-size:9px;
}

/* APPEARANCE CUSTOMIZER */
body .customizer-grid{
  gap:16px;
}
body .option-grid{
  gap:10px;
}
body .option{
  min-height:108px;
  padding:14px;
}
body .option strong{
  font-size:11px;
}
body .option span{
  font-size:9px;
}
body .theme-dot{
  width:25px;
  height:25px;
}
body .live-card{
  max-width:440px;
}
body .live-banner{
  height:135px;
}
body .live-avatar{
  width:92px;
  height:92px;
  margin-top:-45px;
}
body .live-name{
  font-size:24px;
}
body .live-handle,
body .live-bio,
body .live-links div{
  font-size:10px;
}

/* PLUS */
body .plus-hero{
  padding:32px;
}
body .plus-hero h1{
  font-size:42px;
}
body .plus-hero p{
  font-size:11px;
}
body .plan{
  padding:24px;
}
body .plan h3{
  font-size:17px;
}
body .plan-price{
  font-size:32px;
}
body .perk{
  font-size:10px;
}

/* PROFILE PREVIEW PAGE */
body .profile-shell{
  max-width:470px;
}
body .profile-card{
  border-radius:26px;
}
body .profile-banner{
  height:150px;
}
body .avatar-big{
  width:96px;
  height:96px;
}
body .profile-name{
  font-size:25px;
}
body .handle{
  font-size:10px;
}
body .status-box{
  font-size:11px;
}
body .profile-bio{
  font-size:10px;
}
body .profile-links a{
  min-height:43px;
  font-size:10px;
}
body .badge{
  font-size:9px;
}
body .feature-name{
  font-size:11px;
}
body .feature-card p{
  font-size:9px;
}

/* PUBLIC USER PAGE */
body .public-user{
  max-width:500px;
}
body .user-hero-banner{
  height:155px;
}
body .user-hero-avatar{
  width:100px;
  height:100px;
  margin-top:-50px;
}
body .user-hero-name{
  font-size:27px;
}
body .user-hero-handle{
  font-size:10px;
}
body .user-hero-stat strong{
  font-size:19px;
}
body .user-hero-stat span{
  font-size:8px;
}
body .user-score-box{
  font-size:10px;
}

/* USERS PAGE — keep its deliberate larger geometry */
body.users-v13 .panel,
body.users-v13 .leaderboard{
  padding:0;
}
body.users-v13 .main{
  padding:24px 28px 34px;
}
body.users-v13 .main-inner{
  max-width:none;
}

/* LANDING / HOME — keep large */
body .home-wrap{
  max-width:1320px;
}

/* RESPONSIVE */
@media(max-width:1000px){
  body .app{
    grid-template-columns:80px minmax(0,1fr);
  }
  body .sidebar{
    padding:15px 8px;
  }
  body .brand{
    justify-content:center;
  }
  body .brand span,
  body .brand-sub,
  body .nav-label,
  body .nav a span,
  body .user-mini div:not(.avatar-mini){
    display:none;
  }
  body .nav a{
    justify-content:center;
    padding:0;
  }
  body .user-mini{
    justify-content:center;
  }
  body .main{
    padding:22px 18px 34px;
  }
}

@media(max-width:760px){
  body .topbar{
    flex-direction:column;
    align-items:flex-start;
  }
  body .page-grid-2,
  body .settings-layout,
  body .row-2,
  body .customizer-grid,
  body .plan-grid{
    grid-template-columns:1fr;
  }
}


/* =========================
   V17 LIVE TOP 3
   ========================= */
.live-pulse{
  display:inline-block;
  width:8px;
  height:8px;
  margin-right:7px;
  border-radius:50%;
  background:#52e38b;
  box-shadow:0 0 0 0 rgba(82,227,139,.45);
  animation:nbLivePulse 1.6s ease-out infinite;
  vertical-align:middle;
}

@keyframes nbLivePulse{
  0%{
    box-shadow:0 0 0 0 rgba(82,227,139,.42);
  }
  70%{
    box-shadow:0 0 0 7px rgba(82,227,139,0);
  }
  100%{
    box-shadow:0 0 0 0 rgba(82,227,139,0);
  }
}

.users-v13 .side-card-v11 h3 .live-pulse{
  position:relative;
  top:-1px;
}


/* =========================================================
   V18 BUTTON / CONTROL NORMALIZATION
   ========================================================= */

/* Core rectangular buttons */
.btn,
button.btn,
a.btn,
.like-btn,
.sort-btn,
.auth-tab,
.tab,
.close-auth,
.close-btn{
  min-height:42px!important;
  padding:0 14px!important;
  border-radius:10px!important;
  font-size:11px!important;
  line-height:1!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  white-space:nowrap;
}

/* Compact table buttons should still be readable */
.like-btn,
.sort-btn{
  min-height:38px!important;
  padding:0 12px!important;
  font-size:10px!important;
}

/* Form controls */
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea,
.input,
.users-search-v11,
.users-sort-v11,
.users-filter-v11,
.auth-input{
  border-radius:10px!important;
  font-size:12px!important;
}

input:not([type="checkbox"]):not([type="radio"]),
select,
.input:not(textarea),
.users-search-v11,
.users-sort-v11,
.users-filter-v11,
.auth-input{
  min-height:44px!important;
}

/* Switches are a special button component — do NOT inherit rectangular button sizing */
.switch{
  min-width:48px!important;
  width:48px!important;
  min-height:28px!important;
  height:28px!important;
  padding:0!important;
  border-radius:999px!important;
  display:block!important;
}
.switch::after{
  width:20px!important;
  height:20px!important;
  top:3px!important;
  left:3px!important;
}
.switch.on::after{
  left:23px!important;
}

/* Theme dots stay circular and usable */
.theme-dot{
  min-width:26px!important;
  width:26px!important;
  min-height:26px!important;
  height:26px!important;
  padding:0!important;
  border-radius:50%!important;
}

/* Appearance option cards stay large cards, not tiny buttons */
.option{
  min-height:110px!important;
  height:auto!important;
  padding:14px!important;
  border-radius:12px!important;
  display:block!important;
}
.option strong{font-size:11px!important}
.option span{font-size:9px!important}

/* More / icon-only buttons */
.more{
  min-width:40px!important;
  width:40px!important;
  min-height:40px!important;
  height:40px!important;
  padding:0!important;
  border-radius:10px!important;
}

/* Controls inside cards */
.list-row > .btn,
.download-row > .btn,
.plus-actions .btn,
.hero-dashboard-actions .btn,
.top-actions .btn,
.hero-actions .btn,
.home-nav-actions .btn,
.center-actions .btn{
  min-height:42px!important;
}

/* Disabled controls should not visually collapse */
button:disabled,
.btn:disabled{
  min-height:42px!important;
  opacity:.52;
  cursor:not-allowed;
}

/* Sidebar can now hold more items without feeling cramped */
.sidebar{
  overflow-y:auto;
  scrollbar-width:thin;
  scrollbar-color:rgba(var(--accent-rgb),.18) transparent;
}
.sidebar::-webkit-scrollbar{width:5px}
.sidebar::-webkit-scrollbar-thumb{
  background:rgba(var(--accent-rgb),.18);
  border-radius:999px;
}
.sidebar-bottom{
  padding-top:12px;
}

/* Slightly tighter vertical rhythm to fit expanded navigation comfortably */
.nav-label{margin-top:1px}
.nav a{min-height:44px!important}

/* New pages */
.page-grid-2 .panel,
.page-grid-3 .panel{
  min-width:0;
}

@media(max-width:1000px){
  .sidebar{
    overflow-y:auto;
  }
}

/* V19 project/database polish */
#projectsGrid .store-item{min-height:280px}#projectsGrid .store-preview{height:115px}.auth-modal textarea{width:100%}.store-item .rep-pill{font-size:8px}.msg.good{color:#63d895}.msg.bad{color:#e98792}
