*{box-sizing:border-box}html,body{margin:0;padding:0;background:#070809;color:#f4f5f6;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body{min-height:100vh}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}.site{min-height:100vh}.container{width:min(1160px,calc(100% - 40px));margin:0 auto}.nav{height:76px;border-bottom:1px solid #202226;background:#08090a;display:flex;align-items:center}.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font-weight:950;letter-spacing:-1.8px;font-size:21px}.brand span{color:#f41120}.nav-links{display:flex;gap:26px;color:#9da1a8;font-size:14px;font-weight:700}.nav-links a:hover{color:#fff}.nav-right{display:flex;align-items:center;gap:12px}.lang{background:#101216;border:1px solid #2a2d32;color:#e8e9eb;border-radius:8px;padding:7px 9px}.account-btn{border:0;background:transparent;color:#e7e8ea;font-weight:750;cursor:pointer}.account-wrap{position:relative}.menu{position:absolute;right:0;top:42px;width:235px;background:#111317;border:1px solid #292c31;border-radius:12px;box-shadow:0 18px 50px #0008;padding:8px;z-index:20}.menu-head{padding:11px 12px 13px;border-bottom:1px solid #25282d;margin-bottom:6px}.menu-name{font-weight:850}.menu-user{color:#858a92;font-size:12px;margin-top:3px}.menu a,.menu button{display:block;width:100%;text-align:left;background:transparent;border:0;color:#dfe1e5;padding:11px 12px;border-radius:8px;cursor:pointer;font-weight:700}.menu a:hover,.menu button:hover{background:#1a1d21}.danger{color:#ff8e8e!important}.hero{padding:90px 0 64px}.eyebrow{color:#f41120;font-size:12px;letter-spacing:3px;font-weight:900}.hero h1{font-size:clamp(48px,8vw,86px);line-height:.95;letter-spacing:-5px;margin:18px 0 20px;max-width:900px}.hero p{color:#9ca1aa;font-size:18px;max-width:650px;line-height:1.55}.actions{display:flex;gap:10px;margin-top:28px}.btn{border:1px solid #30343a;background:#15181c;color:#f7f7f8;border-radius:9px;padding:12px 17px;font-weight:850;cursor:pointer}.btn.primary{background:#f41120;color:#070809;border-color:#f41120}.btn:hover{filter:brightness(1.06)}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.card{background:#101216;border:1px solid #24272c;border-radius:12px;padding:20px}.muted{color:#8e949d}.section{padding:35px 0}.section h2{font-size:25px;margin:0 0 17px;letter-spacing:-1px}.player-card{display:flex;align-items:center;gap:13px}.avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;background:#1d2126;border:1px solid #30343a;display:grid;place-items:center;font-weight:900;color:#f41120;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.player-meta{min-width:0}.player-name{font-weight:900}.player-user{font-size:12px;color:#80868e}.profile-head{padding:55px 0 28px}.profile-top{display:flex;align-items:center;gap:20px}.profile-big{width:92px;height:92px;border-radius:50%;overflow:hidden;background:#1b1e22;border:1px solid #34383e;display:grid;place-items:center;color:#f41120;font-size:28px;font-weight:950}.profile-big img{width:100%;height:100%;object-fit:cover}.profile-title h1{margin:0;font-size:42px;letter-spacing:-2px}.profile-title p{margin:7px 0 0;color:#8f959e}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0}.stat strong{font-size:27px;display:block}.stat span{font-size:11px;letter-spacing:1.4px;text-transform:uppercase;color:#777d86}.tabs{display:flex;gap:7px;border-bottom:1px solid #25282d;margin-top:25px}.tab{padding:13px 15px;color:#858b94;font-weight:800}.tab.active{color:#fff;border-bottom:2px solid #f41120}.settings-grid{display:grid;grid-template-columns:2fr 1fr;gap:14px;padding:25px 0 60px}.setting-card h3{margin:0 0 16px}.row{display:flex;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid #202329}.row:last-child{border-bottom:0}.row span:first-child{color:#8e949c}.copy{border:1px solid #30343a;background:#171a1e;color:#fff;border-radius:7px;padding:7px 10px;cursor:pointer;font-size:12px;font-weight:800}.dashboard{padding:60px 0}.dashboard h1{font-size:72px;letter-spacing:-4px;margin:12px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:12px;color:#8e949d;font-weight:800;text-transform:uppercase;letter-spacing:1px}.field input,.field textarea,.field select{background:#0e1013;border:1px solid #2b2f35;color:#f4f5f6;border-radius:9px;padding:12px;outline:none}.field textarea{min-height:110px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:#f41120}.editor-card{margin-top:15px}.notice{padding:12px 14px;border-radius:9px;background:#161a10;border:1px solid #40531d;color:#c9e997;margin-bottom:15px}.error{background:#2a1515;border-color:#693030;color:#ffaaaa}.auth{min-height:calc(100vh - 76px);display:grid;place-items:center;padding:50px 20px}.auth-card{width:min(470px,100%);background:#101216;border:1px solid #2b2f35;border-radius:14px;padding:30px}.auth-card h1{font-size:42px;letter-spacing:-2px;margin:8px 0}.auth-card p{color:#8f959e;line-height:1.5}.auth-form{display:grid;gap:12px;margin-top:22px}.empty{padding:40px;text-align:center;color:#8e949d;border:1px dashed #2c3036;border-radius:12px}.footer{padding:40px 0;color:#666d76;font-size:12px;border-top:1px solid #1d2025}@media(max-width:800px){.nav-links{display:none}.grid3,.stats,.settings-grid,.form-grid{grid-template-columns:1fr}.hero h1{letter-spacing:-3px}.dashboard h1{font-size:52px}.profile-top{align-items:flex-start}.profile-title h1{font-size:33px}}.page-title{font-size:48px;letter-spacing:-2px}.mt-25{margin-top:25px}.mt-18{margin-top:18px}.mt-14{margin-top:14px}.mt-10{margin-top:10px}.w-full{width:100%}.crosshair-code{margin-top:12px;font-family:monospace;font-size:13px;color:#f41120;word-break:break-all}.accent-link{color:#f41120;font-weight:800}.profile-editor-head{display:flex;align-items:center;gap:18px;margin-bottom:22px}.profile-editor-name{font-weight:900;font-size:20px}.avatar-form{margin-top:10px}.inline-btn{display:inline-block;cursor:pointer}
.account-btn{display:flex;align-items:center;gap:8px}.nav-avatar{width:28px;height:28px;border-radius:50%;overflow:hidden;background:#1d2126;border:1px solid #30343a;display:grid;place-items:center;font-size:11px;font-weight:900;color:#f41120;flex:0 0 auto}.nav-avatar img{width:100%;height:100%;object-fit:cover}.notification-badge,.menu-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#ff4d4d;color:#fff;font-size:10px;font-weight:900;line-height:1}.menu a{display:flex;align-items:center;justify-content:space-between;gap:10px}.tab{background:transparent;border:0;border-radius:0;cursor:pointer}.editor-tabs{margin:0 0 22px}.tab-panel{min-width:0}.config-editor{min-height:280px!important;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.config-block{white-space:pre-wrap;word-break:break-word;background:#0b0d0f;border:1px solid #24282d;border-radius:9px;padding:14px;color:#d9dde2;font-size:12px;line-height:1.55;max-height:520px;overflow:auto}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:18px}.footer-links{display:flex;gap:18px}.footer-links a:hover{color:#f41120}.ranking-list{display:grid;gap:8px;margin-top:18px}.ranking-row{display:grid;grid-template-columns:28px 34px 1fr auto;align-items:center;gap:9px;padding:8px 0;border-top:1px solid #202329}.ranking-number{color:#f41120;font-size:11px;font-weight:900}.ranking-avatar{width:34px;height:34px;border-radius:50%;overflow:hidden;background:#1d2126;border:1px solid #30343a;display:grid;place-items:center;color:#f41120;font-size:11px;font-weight:900}.ranking-avatar img{width:100%;height:100%;object-fit:cover}.ranking-name{font-weight:800;min-width:0;overflow:hidden;text-overflow:ellipsis}.notification-list{display:grid;gap:10px}.notification-item{display:block}.notification-unread{border-color:#506c20}.notification-time{font-size:11px;margin-top:5px}.legal-page{max-width:900px}.legal-intro{max-width:760px;line-height:1.65}.legal-card{margin-top:22px}.legal-card h2{margin:28px 0 8px}.legal-card h2:first-child{margin-top:0}.legal-card p{line-height:1.7}.mt-25{margin-top:25px}@media(max-width:800px){.footer-inner{align-items:flex-start;flex-direction:column}.footer-links{flex-wrap:wrap}.account-btn>span:nth-child(2){max-width:110px;overflow:hidden;text-overflow:ellipsis}.tabs{overflow-x:auto}}

/* Home hero artwork: keeps the existing layout, only adds the supplied image layer. */
.hero{position:relative;isolation:isolate;min-height:430px}
.hero>*{position:relative;z-index:1}
.hero::before{content:"";position:absolute;z-index:0;right:-40px;top:22px;width:min(760px,70vw);height:390px;background:url('/assets/img/bg.webp') center right/contain no-repeat;opacity:.78;pointer-events:none;-webkit-mask-image:radial-gradient(ellipse 68% 62% at 68% 48%,#000 48%,rgba(0,0,0,.88) 60%,rgba(0,0,0,.45) 73%,transparent 100%);mask-image:radial-gradient(ellipse 68% 62% at 68% 48%,#000 48%,rgba(0,0,0,.88) 60%,rgba(0,0,0,.45) 73%,transparent 100%)}
.hero h1{position:relative;z-index:2}
.filters{margin-top:24px}.filter-actions{align-items:end}.pagination{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:center;margin-top:24px}.pagination .btn.active{border-color:#f41120;color:#f41120}.small{font-size:12px}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.stack{display:grid;gap:14px}.checkbox-row{display:flex;align-items:center;gap:9px;color:#c8ccd2;font-size:14px}.checkbox-row input{width:auto}.notification-item{display:flex;align-items:center;justify-content:space-between;gap:12px}.notification-actions{display:flex;gap:7px;flex-wrap:wrap}.btn.small-btn{padding:7px 10px;font-size:11px}.status-pill{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;border:1px solid #30343a;color:#aeb4bc;font-size:11px;font-weight:800}.status-pill.ok{border-color:#506c20;color:#c9e997}.status-pill.warn{border-color:#6d5a22;color:#f1d780}.status-pill.bad{border-color:#693030;color:#ffaaaa}.report-row{display:grid;gap:10px}.report-meta{display:flex;gap:10px;flex-wrap:wrap;font-size:12px;color:#8e949d}.code-box{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;word-break:break-all;background:#0b0d0f;border:1px solid #24282d;border-radius:9px;padding:12px}.inline-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.hidden{display:none!important}
@media(max-width:800px){.hero{min-height:0}.hero::before{right:-90px;top:60px;width:520px;height:330px;opacity:.35}.account-grid{grid-template-columns:1fr}.filter-actions{align-items:stretch}.notification-item{align-items:flex-start;flex-direction:column}}

/* =========================================================
   CSSETTINGS RED GLASS / NEON UI
   Visual-only layer: keeps the existing layout and markup.
   ========================================================= */
:root{
  --cs-red:#ff1f32;
  --cs-red-strong:#ff2b3d;
  --cs-red-deep:#d50d1f;
  --cs-red-glow:rgba(255,31,50,.22);
  --cs-red-glow-soft:rgba(255,31,50,.10);
  --cs-panel-top:rgba(22,24,30,.92);
  --cs-panel-bottom:rgba(9,10,14,.96);
  --cs-panel-border:rgba(255,78,90,.28);
  --cs-panel-highlight:rgba(255,255,255,.055);
}

/* Accent color */
.brand span,.eyebrow,.crosshair-code,.accent-link,.ranking-number,
.footer-links a:hover,.pagination .btn.active{color:var(--cs-red)}
.tab.active{border-bottom-color:var(--cs-red)}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--cs-red)}

/* Main glass/neon surfaces */
.card,
.auth-card,
.menu,
.notification-item,
.code-box,
.config-block,
.empty{
  position:relative;
  background:
    linear-gradient(180deg,var(--cs-panel-top) 0%,rgba(14,16,21,.94) 38%,var(--cs-panel-bottom) 100%);
  border:1px solid var(--cs-panel-border);
  box-shadow:
    inset 0 1px 0 var(--cs-panel-highlight),
    inset 0 0 0 1px rgba(255,255,255,.018),
    0 0 18px var(--cs-red-glow-soft),
    0 18px 46px rgba(0,0,0,.42);
  backdrop-filter:blur(10px) saturate(115%);
  -webkit-backdrop-filter:blur(10px) saturate(115%);
}

.card,
.auth-card,
.notification-item{border-radius:16px}
.menu{border-radius:14px}
.code-box,.config-block{border-radius:12px}
.empty{border-style:solid;border-radius:16px}

/* Fine glossy red rim like the reference cards */
.card::before,
.auth-card::before,
.notification-item::before,
.menu::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:
    linear-gradient(135deg,rgba(255,255,255,.065),transparent 24%,transparent 72%,rgba(255,31,50,.055));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.02),
    inset 0 -22px 34px rgba(255,20,38,.022);
}

/* Cards get a stronger lower/red edge without becoming bright red boxes */
.card::after,
.auth-card::after,
.notification-item::after{
  content:"";
  position:absolute;
  left:9%;
  right:9%;
  bottom:-1px;
  height:1px;
  pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(255,31,50,.78),transparent);
  box-shadow:0 0 16px rgba(255,31,50,.30);
  opacity:.7;
}

/* Interactive cards */
a.card,
a.player-card,
.ranking-row{
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease,background .18s ease;
}
a.card:hover,
a.player-card:hover{
  border-color:rgba(255,72,84,.55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07),
    0 0 24px rgba(255,31,50,.16),
    0 22px 52px rgba(0,0,0,.48);
  transform:translateY(-2px);
}

/* Profile/stat cards: clean but still glowing */
.stat{
  background:linear-gradient(180deg,rgba(19,21,27,.94),rgba(10,11,15,.98));
  border-color:rgba(255,70,82,.22);
}
.stat strong{color:#fff;text-shadow:0 0 18px rgba(255,255,255,.035)}

/* Primary and secondary buttons */
.btn{
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg,rgba(29,32,39,.98),rgba(15,17,22,.98));
  color:#f8f8fa;
  border-radius:11px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 8px 22px rgba(0,0,0,.32);
  transition:filter .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.btn:hover{
  filter:none;
  border-color:rgba(255,74,86,.36);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.065),
    0 0 15px rgba(255,31,50,.08),
    0 10px 24px rgba(0,0,0,.36);
  transform:translateY(-1px);
}
.btn.primary{
  color:#fff;
  border-color:rgba(255,105,115,.60);
  background:linear-gradient(180deg,var(--cs-red-strong) 0%,#f3162a 46%,var(--cs-red-deep) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.20),
    inset 0 -1px 0 rgba(100,0,10,.34),
    0 0 18px rgba(255,31,50,.23),
    0 10px 26px rgba(119,0,13,.32);
}
.btn.primary:hover{
  border-color:rgba(255,140,148,.72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.24),
    0 0 25px rgba(255,31,50,.33),
    0 12px 30px rgba(119,0,13,.38);
}
.btn:active{transform:translateY(0)}

/* Compact copy/action buttons */
.copy,.small-btn{
  border:1px solid rgba(255,64,78,.32);
  background:linear-gradient(180deg,rgba(35,23,27,.96),rgba(19,15,19,.98));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 0 12px rgba(255,31,50,.06);
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.copy:hover,.small-btn:hover{
  border-color:rgba(255,74,88,.64);
  background:linear-gradient(180deg,rgba(55,22,28,.98),rgba(26,14,18,.98));
  box-shadow:0 0 16px rgba(255,31,50,.14);
}

/* Form controls */
.field input,
.field textarea,
.field select,
.lang{
  background:linear-gradient(180deg,rgba(11,13,17,.96),rgba(8,9,12,.98));
  border:1px solid rgba(255,255,255,.10);
  color:#f4f5f6;
  border-radius:11px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    inset 0 0 18px rgba(0,0,0,.18);
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.field input:hover,
.field textarea:hover,
.field select:hover,
.lang:hover{border-color:rgba(255,72,84,.24)}
.field input:focus,
.field textarea:focus,
.field select:focus,
.lang:focus{
  border-color:rgba(255,55,70,.78);
  box-shadow:
    0 0 0 1px rgba(255,31,50,.18),
    0 0 18px rgba(255,31,50,.15),
    inset 0 1px 0 rgba(255,255,255,.03);
}

/* Tabs */
.tabs{border-bottom-color:rgba(255,255,255,.08)}
.tab{
  position:relative;
  transition:color .16s ease,background .16s ease;
}
.tab:hover{color:#dfe2e7}
.tab.active{
  color:#fff;
  border-bottom:2px solid var(--cs-red);
  text-shadow:0 0 16px rgba(255,31,50,.22);
}
.tab.active::after{
  content:"";
  position:absolute;
  left:20%;right:20%;bottom:-2px;height:1px;
  background:var(--cs-red);
  box-shadow:0 0 14px rgba(255,31,50,.72);
}

/* Dropdown menu */
.menu{
  border-color:rgba(255,73,84,.28);
  box-shadow:0 0 24px rgba(255,31,50,.10),0 22px 60px rgba(0,0,0,.58);
}
.menu-head{border-bottom-color:rgba(255,255,255,.075)}
.menu a:hover,.menu button:hover{
  background:linear-gradient(90deg,rgba(255,31,50,.11),rgba(255,31,50,.025));
}

/* Rows and separators */
.row,.ranking-row{border-color:rgba(255,255,255,.065)}
.ranking-row:hover{background:linear-gradient(90deg,rgba(255,31,50,.055),transparent)}

/* Notifications */
.notification-unread{
  border-color:rgba(255,50,65,.62)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 0 22px rgba(255,31,50,.17),
    0 16px 40px rgba(0,0,0,.40);
}
.notification-badge,.menu-count{
  background:linear-gradient(180deg,#ff3a4a,var(--cs-red-deep));
  box-shadow:0 0 12px rgba(255,31,50,.40);
}

/* Status / notices */
.status-pill{
  background:rgba(255,255,255,.025);
  border-color:rgba(255,255,255,.12);
}
.notice{
  border:1px solid rgba(119,160,64,.35);
  background:linear-gradient(180deg,rgba(26,35,18,.90),rgba(18,24,14,.94));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.notice.error,.error{
  border-color:rgba(255,70,80,.38);
  background:linear-gradient(180deg,rgba(51,20,24,.94),rgba(31,14,17,.96));
  box-shadow:0 0 16px rgba(255,31,50,.08);
}

/* Avatar rings */
.avatar,.profile-big,.nav-avatar,.ranking-avatar{
  border-color:rgba(255,70,82,.28);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.02),0 0 14px rgba(255,31,50,.08);
}

/* Footer/nav keep structure, get a slightly richer edge */
.nav{
  border-bottom-color:rgba(255,255,255,.075);
  box-shadow:0 8px 30px rgba(0,0,0,.16);
}
.footer{border-top-color:rgba(255,255,255,.07)}

/* Hero CTA should match the red brand exactly */
.hero .btn.primary{box-shadow:0 0 22px rgba(255,31,50,.26),0 12px 30px rgba(95,0,10,.34)}

@media(max-width:800px){
  .card,.auth-card,.notification-item{border-radius:14px}
  a.card:hover,a.player-card:hover{transform:none}
  .card,.auth-card,.menu,.notification-item{backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
}

/* =========================================================
   PROFILE V17 / COMBINED EDITOR
   ========================================================= */
.nav{position:relative;z-index:1000}
.account-wrap{position:relative}
.menu{position:fixed;right:auto;top:auto;z-index:1200;max-height:calc(100vh - 20px);overflow:auto;overscroll-behavior:contain}

/* Keep Chrome password/autofill fields inside the dark theme. */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus,
.field textarea:-webkit-autofill,
.field select:-webkit-autofill{
  -webkit-text-fill-color:#f4f5f6!important;
  caret-color:#f4f5f6!important;
  -webkit-box-shadow:0 0 0 1000px #0b0d11 inset!important;
  box-shadow:0 0 0 1000px #0b0d11 inset!important;
  border-color:rgba(255,70,82,.32)!important;
  transition:background-color 9999s ease-out 0s;
}
input,textarea,select{color-scheme:dark}

.country-flag{display:inline-block;width:28px;height:21px;object-fit:contain;vertical-align:middle;flex:0 0 auto}
.country-flag.tiny{width:22px;height:16px;margin-left:5px}
.profile-country-flag{display:inline-block;width:38px;height:28px;object-fit:contain;vertical-align:middle;filter:drop-shadow(0 4px 10px rgba(0,0,0,.35))}

.dashboard{padding-top:54px}
.dashboard-lead{max-width:760px}
.dashboard-section{margin-top:42px;scroll-margin-top:96px}
.section-heading-row{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:14px}
.section-heading-row h2{font-size:30px;letter-spacing:-1.2px;margin:7px 0 0}
.form-subheading{margin:28px 0 14px;font-size:17px;letter-spacing:-.3px}
.profile-editor-avatar{width:112px;height:112px;border-radius:50%;overflow:hidden;background:#15181d;border:1px solid rgba(255,60,74,.40);display:grid;place-items:center;color:var(--cs-red);font-size:31px;font-weight:950;box-shadow:0 0 24px rgba(255,31,50,.12)}
.profile-editor-avatar img{width:100%;height:100%;object-fit:cover}
.profile-editor-info{min-width:0}

/* Public player page: reference-inspired three-column information layout. */
.profile-page{padding:34px 0 70px}
.profile-layout{display:grid;grid-template-columns:170px minmax(0,1fr) 238px;gap:18px;align-items:start}
.profile-side-nav,.profile-action-sidebar{position:sticky;top:22px;align-self:start}
.profile-anchor-nav{display:grid;gap:2px;padding:4px 0}
.profile-anchor-nav a{display:block;padding:8px 10px;border-radius:8px;color:#8f96a2;font-size:13px;font-weight:700;transition:color .15s ease,background .15s ease}
.profile-anchor-nav a:hover,.profile-anchor-nav a.active{color:#fff;background:rgba(255,31,50,.09)}
.profile-anchor-nav a.active{color:var(--cs-red)}
.profile-nav-heading{margin:15px 10px 4px;color:#f2f3f5;font-size:13px;font-weight:900}
.profile-nav-standalone{margin-top:6px}
.profile-main-column{min-width:0;display:grid;gap:14px}
.profile-action-sidebar{display:grid;gap:14px}
.profile-summary-card{display:grid;grid-template-columns:180px minmax(0,1fr);gap:26px;padding:28px;scroll-margin-top:100px}
.profile-summary-avatar{display:flex;flex-direction:column;align-items:center;min-width:0}
.profile-hero-avatar{width:144px;height:144px;border-radius:50%;overflow:hidden;background:#15181d;border:1px solid rgba(255,71,84,.40);display:grid;place-items:center;color:var(--cs-red);font-size:42px;font-weight:950;box-shadow:0 0 34px rgba(255,31,50,.14),inset 0 0 0 1px rgba(255,255,255,.035)}
.profile-hero-avatar img{width:100%;height:100%;object-fit:cover}
.profile-bio{width:100%;margin:18px 0 0;color:#a4aab3;font-size:13px;line-height:1.55;text-align:left;overflow-wrap:anywhere}
.profile-summary-info{min-width:0;padding-top:3px}
.profile-name-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:8px}
.profile-name-line h1{font-size:42px;letter-spacing:-2px;line-height:1;margin:0}
.profile-handle{color:#888f99;font-size:14px;margin-top:8px}
.profile-overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px;margin-top:24px;border-top:1px solid rgba(255,255,255,.07)}
.profile-overview-grid>div{display:grid;grid-template-columns:85px 1fr;gap:10px;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.07)}
.profile-overview-grid span{color:#7f8792;font-size:12px}
.profile-overview-grid strong{font-size:13px;overflow-wrap:anywhere}
.profile-socials{display:flex;gap:7px;flex-wrap:wrap;margin-top:17px}
.profile-section-title{display:flex;align-items:center;gap:15px;margin:16px 0 6px}
.profile-section-title span{height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.16));flex:1}
.profile-section-title span:last-child{background:linear-gradient(90deg,rgba(255,255,255,.16),transparent)}
.profile-section-title h2{margin:0;font-size:20px;white-space:nowrap;letter-spacing:-.5px}
.profile-setting-section{padding:22px 26px;scroll-margin-top:96px}
.profile-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
.profile-section-head h2{margin:0;font-size:20px;letter-spacing:-.5px}
.profile-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}
.profile-data-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:54px;border-top:1px solid rgba(255,255,255,.065)}
.profile-data-row span{color:#8f96a0;font-size:13px}
.profile-data-row strong{text-align:right;font-size:14px;overflow-wrap:anywhere}
.profile-code-box{font-size:13px;line-height:1.6}
.profile-actions-card h3{margin:0 0 14px}
.profile-actions-card .btn{display:flex;align-items:center;justify-content:center;text-align:center}
.profile-stats-card{padding:10px 18px}
.profile-stat{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid rgba(255,255,255,.065)}
.profile-stat:last-child{border-bottom:0}
.profile-stat span{font-size:11px;text-transform:uppercase;letter-spacing:.8px;color:#7f8792}
.profile-stat strong{font-size:18px}
.profile-community-section{scroll-margin-top:96px;margin-top:5px}
.compact-player-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

.crosshair-profile-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(190px,.75fr);gap:18px;align-items:center}
.crosshair-preview{position:relative;width:100%;height:190px;border:1px solid rgba(255,255,255,.09);border-radius:13px;overflow:hidden;background:#0c0e12;box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 12px 32px rgba(0,0,0,.30)}
.crosshair-preview.large{height:270px}
.crosshair-preview canvas{display:block;width:100%;height:100%}
.crosshair-preview-error{position:absolute;inset:0;display:grid;place-items:center;padding:20px;color:#8f96a0;font-size:12px;text-align:center;background:rgba(8,9,12,.58)}
.crosshair-preview-error[hidden]{display:none}
.crosshair-editor-preview{max-width:620px}
.profile-code-label{font-size:11px;color:#7f8792;text-transform:uppercase;letter-spacing:1px;font-weight:800}

.comment-form{display:grid;gap:12px;margin-bottom:14px}
.comment-form textarea{min-height:90px}
.comment-list{display:grid;gap:10px}
.comment-item{padding:18px 20px}
.comment-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
.comment-author{display:flex;align-items:center;gap:10px;min-width:0}
.comment-author .avatar{width:38px;height:38px}
.comment-author span{display:grid;min-width:0}
.comment-author strong{font-size:13px}
.comment-author small{color:#777f8a;font-size:11px}
.comment-head time{color:#717985;font-size:11px;white-space:nowrap}
.comment-item p{color:#b8bdc5;line-height:1.6;margin:14px 0;overflow-wrap:anywhere}

@media(max-width:1050px){
  .profile-layout{grid-template-columns:minmax(0,1fr) 230px}
  .profile-side-nav{grid-column:1/-1;position:static}
  .profile-anchor-nav{display:flex;overflow-x:auto;gap:3px;padding:6px 0 10px;scrollbar-width:thin}
  .profile-anchor-nav a{white-space:nowrap}
  .profile-nav-heading{display:none}
  .profile-main-column{grid-column:1}
  .profile-action-sidebar{grid-column:2;grid-row:2;top:18px}
}
@media(max-width:800px){
  .dashboard{padding-top:38px}
  .dashboard-section{margin-top:32px}
  .section-heading-row h2{font-size:25px}
  .profile-editor-head{align-items:flex-start}
  .profile-editor-avatar{width:92px;height:92px}
  .profile-layout{display:flex;flex-direction:column}
  .profile-side-nav{width:100%;order:0}
  .profile-main-column{width:100%;order:1}
  .profile-action-sidebar{width:100%;position:static;order:2;grid-template-columns:1fr 1fr}
  .profile-summary-card{grid-template-columns:1fr;padding:22px}
  .profile-summary-avatar{align-items:flex-start}
  .profile-hero-avatar{width:138px;height:138px}
  .profile-bio{max-width:none}
  .profile-name-line h1{font-size:34px}
  .profile-overview-grid{grid-template-columns:1fr}
  .profile-data-grid{grid-template-columns:1fr}
  .crosshair-profile-layout{grid-template-columns:1fr}
  .compact-player-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .profile-action-sidebar{grid-template-columns:1fr}
  .profile-summary-card{padding:18px}
  .profile-setting-section{padding:19px}
  .profile-hero-avatar{width:132px;height:132px}
  .profile-name-line h1{font-size:30px}
  .profile-country-flag{width:32px;height:24px}
  .profile-data-row{align-items:flex-start;flex-direction:column;gap:4px;padding:12px 0}
  .profile-data-row strong{text-align:left}
}
.crosshair-preview.compact{height:155px}
.profile-update-card{display:grid;gap:6px}
.sidebar-label{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#7f8792;font-weight:800}
.profile-update-card strong{font-size:14px}
.similar-players-card h3{margin:0 0 12px}
.similar-player-list{display:grid}
.similar-player-row{display:flex;align-items:center;gap:9px;padding:9px 0;border-top:1px solid rgba(255,255,255,.065)}
.similar-player-row:first-child{border-top:0}
.similar-player-row>span{display:grid;min-width:0;flex:1}
.similar-player-row strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.similar-player-row small{font-size:10px;color:#737b86;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.player-name .country-flag{margin-left:5px}

/* v17.1 profile summary card: centered vertical player identity */
.profile-summary-card{display:block;padding:34px 28px;scroll-margin-top:100px}
.profile-summary-centered{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0}
.profile-hero-avatar{width:210px;height:210px;font-size:58px}
.profile-summary-name{margin:20px 0 0;font-size:42px;line-height:1;letter-spacing:-2px}
.profile-summary-centered .profile-handle{margin-top:8px;color:#888f99;font-size:15px}
.profile-summary-details{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:30px}
.profile-summary-detail{display:flex;align-items:center;justify-content:center;gap:10px;min-height:28px;font-size:14px}
.profile-summary-detail>span{color:#8e949d;font-weight:800}
.profile-summary-detail>strong{color:#f4f5f6;font-weight:900}
.profile-summary-detail .profile-country-flag{width:38px;height:28px;margin:0}
.profile-summary-bio-wrap{width:min(620px,100%);margin-top:30px}
.profile-summary-bio-label{font-size:12px;color:#8e949d;font-weight:900;text-transform:uppercase;letter-spacing:1.15px}
.profile-summary-centered .profile-bio{width:100%;margin:10px 0 0;color:#a4aab3;font-size:14px;line-height:1.65;text-align:center;overflow-wrap:anywhere}
.profile-socials-centered{justify-content:center;margin-top:22px}
/* remove legacy profile-card separators/layout */
.profile-summary-card .profile-overview-grid{border:0}
.profile-summary-card .profile-overview-grid>div{border:0}
@media(max-width:800px){
  .profile-summary-card{padding:28px 20px}
  .profile-hero-avatar{width:180px;height:180px;font-size:50px}
  .profile-summary-name{font-size:36px;letter-spacing:-1.5px}
}
@media(max-width:520px){
  .profile-summary-card{padding:24px 16px}
  .profile-hero-avatar{width:165px;height:165px;font-size:46px}
  .profile-summary-name{font-size:32px}
}


/* v17.2 clean public profile identity header */
.profile-summary-card{
  display:block;
  padding:28px 24px 38px;
  margin:0;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  overflow:visible;
  scroll-margin-top:100px;
}
.profile-summary-card::before,.profile-summary-card::after{display:none!important;content:none!important}
.profile-summary-centered{display:flex;flex-direction:column;align-items:center;text-align:center;width:100%;max-width:760px;margin:0 auto}
.profile-hero-avatar{
  width:240px;
  height:240px;
  border-radius:50%;
  font-size:64px;
  border:1px solid rgba(255,255,255,.10);
  background:#0d0f12;
  box-shadow:0 18px 55px rgba(0,0,0,.42),0 0 34px rgba(255,31,50,.10);
}
.profile-hero-avatar img{width:100%;height:100%;object-fit:cover}
.profile-summary-name{margin:24px 0 0;font-size:46px;line-height:1;letter-spacing:-2px;font-weight:950;color:#f7f7f8}
.profile-summary-centered .profile-handle{margin-top:9px;color:#8f96a0;font-size:15px;font-weight:700}
.profile-summary-details{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:28px}
.profile-summary-detail{display:grid;grid-template-columns:auto auto;align-items:center;justify-content:center;gap:11px;min-height:28px;font-size:14px}
.profile-summary-detail>span{color:#8f96a0;font-weight:800}
.profile-summary-detail>strong{color:#f4f5f6;font-weight:900}
.profile-summary-detail .profile-country-flag{width:36px;height:24px;margin:0;object-fit:cover;border-radius:4px;box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.profile-summary-bio-wrap{width:min(650px,100%);margin-top:30px;padding-top:0;border:0}
.profile-summary-centered .profile-bio{width:100%;margin:0;color:#a9afb8;font-size:14px;line-height:1.7;text-align:center;overflow-wrap:anywhere}
.profile-socials-centered{justify-content:center;margin-top:24px}
.profile-socials-centered .btn{min-width:88px}
@media(max-width:800px){
  .profile-summary-card{padding:22px 18px 32px}
  .profile-hero-avatar{width:205px;height:205px;font-size:56px}
  .profile-summary-name{font-size:38px;letter-spacing:-1.6px}
}
@media(max-width:520px){
  .profile-summary-card{padding:18px 8px 28px}
  .profile-hero-avatar{width:180px;height:180px;font-size:50px}
  .profile-summary-name{font-size:33px;letter-spacing:-1.2px}
  .profile-summary-details{margin-top:24px}
  .profile-summary-bio-wrap{margin-top:26px}
}


/* v17.3 public profile visual polish */
.profile-page{padding-top:30px}
.profile-layout{grid-template-columns:180px minmax(0,1fr) 220px;gap:24px}
.profile-main-column{gap:16px}
.profile-side-nav,.profile-action-sidebar{top:24px}

/* quieter left navigation */
.profile-anchor-nav{gap:3px;padding-top:2px}
.profile-anchor-nav a{padding:8px 10px;color:#89909a;border-radius:7px}
.profile-anchor-nav a:hover{background:rgba(255,255,255,.035);color:#f5f6f7}
.profile-anchor-nav a.active{background:rgba(255,31,50,.055);color:#ff4252;box-shadow:inset 2px 0 0 var(--cs-red)}
.profile-nav-heading{margin:18px 10px 5px;font-size:12px;letter-spacing:.2px}

/* tighter, clearer identity block */
.profile-summary-card{padding:20px 10px 30px}
.profile-summary-centered{max-width:680px}
.profile-hero-avatar{width:210px;height:210px;font-size:58px;box-shadow:0 16px 42px rgba(0,0,0,.36),0 0 24px rgba(255,31,50,.07)}
.profile-summary-name{margin-top:19px;font-size:42px;letter-spacing:-1.8px}
.profile-summary-centered .profile-handle{margin-top:7px;font-size:14px}
.profile-summary-details{margin-top:22px;gap:8px}
.profile-summary-detail{grid-template-columns:58px auto;gap:12px;min-height:25px}
.profile-summary-detail>span{text-align:right;font-size:13px}
.profile-summary-detail>strong{text-align:left;font-size:13px}
.profile-summary-detail .profile-country-flag{justify-self:start;width:34px;height:23px}
.profile-summary-bio-wrap{width:min(540px,100%);margin-top:22px}
.profile-summary-centered .profile-bio{font-size:15px;line-height:1.72;color:#b0b5bd}
.profile-socials-centered{margin-top:18px}

/* clearer section hierarchy */
.profile-section-title{margin:12px 0 4px;gap:13px}
.profile-section-title span{background:linear-gradient(90deg,transparent,rgba(255,255,255,.10))}
.profile-section-title span:last-child{background:linear-gradient(90deg,rgba(255,255,255,.10),transparent)}
.profile-section-title h2{font-size:19px}

/* calmer content cards: red remains an accent instead of every box shouting */
.profile-setting-section,.comment-form,.comment-item,.profile-actions-card,.profile-insights-card,.similar-players-card{
  border-color:rgba(255,58,72,.18)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 14px 34px rgba(0,0,0,.22),0 0 22px rgba(255,31,50,.035)!important;
}
.profile-setting-section{padding:23px 26px}
.profile-section-head{margin-bottom:10px}
.profile-section-head h2{font-size:19px}
.profile-data-grid{gap:0 24px}
.profile-data-row{min-height:50px;border-top-color:rgba(255,255,255,.055)}
.profile-data-row span{font-size:12px;color:#858d98}
.profile-data-row strong{font-size:14px}

/* Mouse overview reads like a compact pro-settings table */
#mouse .profile-data-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 22px}
#mouse .profile-data-row{display:grid;align-content:center;justify-items:start;gap:5px;min-height:72px;padding:10px 0;border-top:0;border-bottom:1px solid rgba(255,255,255,.055)}
#mouse .profile-data-row span{font-size:11px;text-transform:uppercase;letter-spacing:.45px}
#mouse .profile-data-row strong{text-align:left;font-size:16px}

/* compact right rail */
.profile-action-sidebar{gap:12px}
.profile-actions-card{padding:17px}
.profile-actions-card h3{margin-bottom:12px;font-size:17px}
.profile-actions-card .btn{min-height:39px;padding:9px 11px;font-size:12px}
.profile-actions-card .mt-10{margin-top:7px}
.profile-insights-card{padding:15px 13px}
.profile-insights-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.profile-insight{display:flex;min-width:0;flex-direction:column;align-items:center;text-align:center;gap:5px;padding:5px 2px}
.profile-insight strong{font-size:19px;line-height:1;color:#f7f7f8}
.profile-insight span{font-size:8px;line-height:1.25;text-transform:uppercase;letter-spacing:.55px;color:#747c87}
.profile-insights-updated{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;padding-top:11px;border-top:1px solid rgba(255,255,255,.055)}
.profile-insights-updated span{font-size:9px;text-transform:uppercase;letter-spacing:.7px;color:#747c87}
.profile-insights-updated strong{font-size:11px;color:#b7bcc4;white-space:nowrap}
.similar-players-card{padding:16px}
.similar-players-card h3{font-size:16px;margin-bottom:8px}
.similar-player-row{padding:8px 0;border-top-color:rgba(255,255,255,.05)}

@media(max-width:1050px){
  .profile-layout{grid-template-columns:minmax(0,1fr) 218px;gap:18px}
  #mouse .profile-data-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:800px){
  .profile-summary-card{padding:14px 12px 26px}
  .profile-hero-avatar{width:190px;height:190px;font-size:52px}
  .profile-summary-name{font-size:36px}
  .profile-action-sidebar{gap:12px}
  #mouse .profile-data-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
  .profile-hero-avatar{width:170px;height:170px;font-size:48px}
  .profile-summary-name{font-size:32px}
  .profile-summary-detail{grid-template-columns:52px auto}
  #mouse .profile-data-grid{grid-template-columns:1fr 1fr;gap:0 16px}
  #mouse .profile-data-row{min-height:66px}
  .profile-insight span{font-size:7px}
}

/* v17.5 final responsive profile layout
   Desktop: avatar left / profile data center / badges right.
   Mobile: avatar + data in one compact row, badges below in a grid. */
.profile-summary-card{
  display:block;
  padding:14px 0 26px;
  margin:0;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  overflow:visible;
}
.profile-summary-card::before,.profile-summary-card::after{display:none!important;content:none!important}
.profile-summary-split{
  display:grid;
  grid-template-columns:minmax(185px,220px) minmax(220px,1fr) minmax(145px,168px);
  align-items:center;
  gap:20px;
  width:100%;
  max-width:900px;
  margin:0 auto;
}
.profile-summary-avatar-col{display:flex;align-items:center;justify-content:center;min-width:0}
.profile-hero-avatar{
  width:210px;
  height:210px;
  border-radius:50%;
  overflow:hidden;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  background:#0d0f12;
  border:1px solid rgba(255,255,255,.10);
  color:var(--cs-red);
  font-size:58px;
  font-weight:950;
  box-shadow:0 16px 42px rgba(0,0,0,.36),0 0 22px rgba(255,31,50,.06);
}
.profile-hero-avatar img{width:100%;height:100%;object-fit:cover}
.profile-summary-content-col{
  display:flex;
  min-width:0;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.profile-summary-content-col .profile-summary-name{
  margin:0;
  font-size:42px;
  line-height:1;
  letter-spacing:-1.8px;
  color:#f7f7f8;
  font-weight:950;
}
.profile-summary-content-col .profile-handle{margin-top:7px;color:#8f96a0;font-size:14px;font-weight:700}
.profile-summary-content-col .profile-summary-details{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:22px}
.profile-summary-detail{display:grid;grid-template-columns:58px auto;align-items:center;justify-content:center;gap:10px;min-height:25px}
.profile-summary-detail>span{color:#8f96a0;font-size:13px;font-weight:800;text-align:right}
.profile-summary-detail>strong{color:#f4f5f6;font-size:13px;font-weight:900;text-align:left;overflow-wrap:anywhere}
.profile-summary-detail .profile-country-flag{justify-self:start;width:34px;height:23px;margin:0;object-fit:cover;border-radius:4px;box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.profile-summary-content-col .profile-summary-bio-wrap{width:min(520px,100%);margin-top:20px}
.profile-summary-content-col .profile-bio{width:100%;margin:0;color:#afb5bd;font-size:14px;line-height:1.6;text-align:center;overflow-wrap:anywhere}
.profile-summary-content-col .profile-socials-centered{justify-content:center;margin-top:16px;gap:7px;flex-wrap:wrap}
.profile-summary-content-col .profile-socials-centered .btn{min-width:0;padding:7px 10px;font-size:10px}

.profile-badge-stack-side{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:center;
  min-width:0;
  width:100%;
  gap:8px;
  padding:0;
}
.profile-badge{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:34px;
  padding:7px 10px;
  border-radius:11px;
  background:linear-gradient(180deg,rgba(16,18,24,.94),rgba(10,12,16,.97));
  border:1px solid rgba(255,31,50,.18);
  box-shadow:0 8px 18px rgba(0,0,0,.20),inset 0 0 0 1px rgba(255,255,255,.025);
}
.profile-badge-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex:0 0 auto;border-radius:999px;background:rgba(255,31,50,.11);color:#ff5564;font-size:10px;font-weight:900;line-height:1}
.profile-badge-text{min-width:0;color:#edf0f2;font-size:10.5px;font-weight:800;line-height:1.2;text-align:left;overflow:hidden;text-overflow:ellipsis}
.profile-badge-success .profile-badge-icon{background:rgba(58,214,119,.14);color:#6fe79a}
.profile-badge-accent .profile-badge-icon{background:rgba(255,31,50,.14);color:#ff5564}

/* desktop balance */
.profile-page{padding-top:30px}
.profile-layout{grid-template-columns:170px minmax(0,1fr) 215px;gap:22px}
.profile-main-column{gap:14px}
.profile-side-nav,.profile-action-sidebar{top:20px}
.profile-anchor-nav{gap:2px;padding-top:2px}
.profile-anchor-nav a{padding:8px 10px;border-radius:7px;color:#8e959f;font-size:12px}
.profile-anchor-nav a:hover{background:rgba(255,255,255,.035);color:#f5f6f7}
.profile-anchor-nav a.active{background:rgba(255,31,50,.055);color:#ff4252;box-shadow:inset 2px 0 0 var(--cs-red)}
.profile-nav-heading{margin:18px 10px 5px;font-size:12px;letter-spacing:.2px}

.profile-section-title{margin:10px 0 4px;gap:12px}
.profile-section-title span{background:linear-gradient(90deg,transparent,rgba(255,255,255,.10))}
.profile-section-title span:last-child{background:linear-gradient(90deg,rgba(255,255,255,.10),transparent)}
.profile-section-title h2{font-size:19px}
.profile-setting-section{padding:22px 25px}
.profile-section-head{margin-bottom:9px}
.profile-section-head h2{font-size:19px}
.profile-data-grid{gap:0 22px}
.profile-data-row{min-height:49px;border-top-color:rgba(255,255,255,.055)}
.profile-data-row span{font-size:12px;color:#858d98}
.profile-data-row strong{font-size:14px}
#mouse .profile-data-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 20px}
#mouse .profile-data-row{display:grid;align-content:center;justify-items:start;gap:5px;min-height:70px;padding:9px 0;border-top:0;border-bottom:1px solid rgba(255,255,255,.055)}
#mouse .profile-data-row span{font-size:10.5px;text-transform:uppercase;letter-spacing:.4px}
#mouse .profile-data-row strong{text-align:left;font-size:15px}
.profile-action-sidebar{gap:11px}
.profile-actions-card{padding:16px}
.profile-actions-card h3{margin-bottom:11px;font-size:17px}
.profile-actions-card .btn{min-height:38px;padding:8px 10px;font-size:11.5px}
.profile-actions-card .mt-10{margin-top:7px}
.profile-insights-card{padding:14px 12px}
.profile-insights-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.profile-insight{display:flex;min-width:0;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:4px 1px}
.profile-insight strong{font-size:18px;line-height:1;color:#f7f7f8}
.profile-insight span{font-size:7.5px;line-height:1.25;text-transform:uppercase;letter-spacing:.45px;color:#747c87}
.profile-insights-updated{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid rgba(255,255,255,.055)}
.profile-insights-updated span{font-size:8px;text-transform:uppercase;letter-spacing:.6px;color:#747c87}
.profile-insights-updated strong{font-size:10.5px;color:#b7bcc4;white-space:nowrap}
.similar-players-card{padding:15px}
.similar-players-card h3{font-size:15px;margin-bottom:7px}
.similar-player-row{padding:7px 0;border-top-color:rgba(255,255,255,.05)}

/* tablet: navigation becomes a useful horizontal rail, content/sidebar stay side by side */
@media(max-width:1050px){
  .profile-page{padding-top:20px}
  .profile-layout{grid-template-columns:minmax(0,1fr) 205px;gap:16px}
  .profile-side-nav{grid-column:1/-1;position:static;width:100%}
  .profile-anchor-nav{display:flex;gap:6px;overflow-x:auto;overscroll-behavior-x:contain;padding:4px 0 10px;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}
  .profile-anchor-nav::-webkit-scrollbar{display:none}
  .profile-anchor-nav a{flex:0 0 auto;white-space:nowrap;padding:7px 10px;font-size:11px;scroll-snap-align:start;background:rgba(255,255,255,.018)}
  .profile-nav-heading{display:none}
  .profile-main-column{grid-column:1}
  .profile-action-sidebar{grid-column:2;grid-row:2;position:sticky;top:16px}
  .profile-summary-split{grid-template-columns:185px minmax(0,1fr) 145px;gap:16px;max-width:760px}
  .profile-hero-avatar{width:180px;height:180px;font-size:50px}
  .profile-summary-content-col .profile-summary-name{font-size:36px}
  .profile-badge{min-height:31px;padding:6px 8px;gap:6px}
  .profile-badge-icon{width:16px;height:16px;font-size:9px}
  .profile-badge-text{font-size:9.5px}
  #mouse .profile-data-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* phone: deliberately different layout, not a shrunken desktop */
@media(max-width:760px){
  body{overflow-x:hidden}
  .container{width:calc(100% - 24px)}
  .nav{height:62px}
  .brand{font-size:18px;letter-spacing:-1.2px}
  .nav-inner{gap:9px}
  .nav-right{gap:6px}
  .lang{padding:6px 7px;font-size:10px}
  .account-btn{padding:4px;gap:4px}
  .nav-avatar{width:25px;height:25px}
  .account-btn>span:nth-child(2){display:none}
  .menu{position:fixed;top:66px;right:12px;left:auto;width:min(270px,calc(100vw - 24px));max-height:calc(100vh - 78px);overflow:auto}

  .profile-page{padding-top:10px}
  .profile-layout{display:flex;flex-direction:column;gap:8px}
  .profile-side-nav{order:0;position:sticky;top:0;z-index:12;width:auto;margin:0 -12px;padding:6px 12px;background:rgba(7,8,9,.96);border-bottom:1px solid rgba(255,255,255,.055);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
  .profile-anchor-nav{gap:6px;padding:0;overflow-x:auto;scrollbar-width:none}
  .profile-anchor-nav a{padding:7px 10px;font-size:10.5px;border-radius:9px;background:#0e1014;border:1px solid rgba(255,255,255,.045)}
  .profile-anchor-nav a.active{background:rgba(255,31,50,.10);border-color:rgba(255,31,50,.25);box-shadow:none}
  .profile-main-column{order:1;width:100%;gap:10px}
  .profile-action-sidebar{order:2;position:static;width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .similar-players-card{grid-column:1/-1}

  .profile-summary-card{padding:8px 0 14px}
  .profile-summary-split{
    grid-template-columns:112px minmax(0,1fr);
    grid-template-areas:"avatar content" "badges badges";
    align-items:center;
    gap:12px 14px;
    width:100%;
    max-width:560px;
  }
  .profile-summary-avatar-col{grid-area:avatar;justify-content:flex-start}
  .profile-hero-avatar{width:108px;height:108px;font-size:31px;box-shadow:0 10px 25px rgba(0,0,0,.32),0 0 14px rgba(255,31,50,.04)}
  .profile-summary-content-col{grid-area:content;align-items:flex-start;text-align:left;justify-content:center}
  .profile-summary-content-col .profile-summary-name{font-size:28px;letter-spacing:-1px}
  .profile-summary-content-col .profile-handle{margin-top:4px;font-size:11px}
  .profile-summary-content-col .profile-summary-details{align-items:flex-start;margin-top:12px;gap:4px}
  .profile-summary-detail{grid-template-columns:42px auto;justify-content:start;gap:7px;min-height:20px}
  .profile-summary-detail>span,.profile-summary-detail>strong{font-size:10.5px;text-align:left}
  .profile-summary-detail .profile-country-flag{width:27px;height:18px}
  .profile-summary-content-col .profile-summary-bio-wrap{width:100%;margin-top:10px}
  .profile-summary-content-col .profile-bio{font-size:11.5px;line-height:1.45;text-align:left}
  .profile-summary-content-col .profile-socials-centered{justify-content:flex-start;margin-top:9px;gap:5px}
  .profile-summary-content-col .profile-socials-centered .btn{padding:5px 7px;font-size:8.5px}

  .profile-badge-stack-side{grid-area:badges;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;padding:0}
  .profile-badge{min-height:30px;padding:6px 8px;border-radius:9px;gap:6px}
  .profile-badge-icon{width:16px;height:16px;font-size:9px}
  .profile-badge-text{font-size:9.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

  .profile-section-title{margin:10px 0 2px;gap:8px}
  .profile-section-title h2{font-size:16px}
  .profile-setting-section{padding:14px;border-radius:13px}
  .profile-section-head{margin-bottom:6px}
  .profile-section-head h2{font-size:16px}
  .profile-data-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
  .profile-data-row{display:grid;align-content:center;justify-items:start;gap:3px;min-height:50px;padding:7px 0;border-top:0;border-bottom:1px solid rgba(255,255,255,.05)}
  .profile-data-row span{font-size:9px;line-height:1.2;text-transform:uppercase;letter-spacing:.2px}
  .profile-data-row strong{font-size:12px;text-align:left}
  #mouse .profile-data-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
  #mouse .profile-data-row{min-height:52px;padding:7px 0;gap:3px}
  #mouse .profile-data-row span{font-size:8.8px}
  #mouse .profile-data-row strong{font-size:12.5px}
  .crosshair-profile-layout{grid-template-columns:1fr;gap:9px}
  .crosshair-preview.large{height:auto;min-height:155px}
  .crosshair-code{font-size:10px;word-break:break-all}
  .copy{padding:6px 8px;font-size:9px}
  .config-block{max-height:320px;padding:10px;font-size:10px}

  .profile-actions-card,.profile-insights-card,.similar-players-card{padding:12px;border-radius:12px}
  .profile-actions-card h3,.similar-players-card h3{font-size:14px;margin-bottom:7px}
  .profile-actions-card .btn{min-height:32px;padding:7px 8px;font-size:9.5px}
  .profile-insight strong{font-size:16px}
  .profile-insight span{font-size:6.5px}
  .profile-insights-updated{margin-top:8px;padding-top:8px}
  .profile-insights-updated span{font-size:7px}
  .profile-insights-updated strong{font-size:9px}
  .similar-player-row{padding:6px 0}
  .comment-form,.comment-item{padding:11px;border-radius:12px}
  .comment-form textarea{min-height:70px}
  .comment-head{align-items:flex-start}
  .comment-item p{font-size:11.5px;line-height:1.45;margin:9px 0}
}

@media(max-width:520px){
  .container{width:calc(100% - 18px)}
  .nav{height:58px}
  .brand{font-size:16px}
  .profile-side-nav{margin:0 -9px;padding:5px 9px}
  .profile-anchor-nav a{padding:7px 9px;font-size:10px}
  .profile-summary-split{grid-template-columns:100px minmax(0,1fr);gap:10px 12px}
  .profile-hero-avatar{width:96px;height:96px;font-size:28px}
  .profile-summary-content-col .profile-summary-name{font-size:24px}
  .profile-summary-content-col .profile-handle{font-size:10px}
  .profile-summary-content-col .profile-summary-details{margin-top:9px}
  .profile-summary-detail{grid-template-columns:38px auto;gap:6px}
  .profile-summary-detail>span,.profile-summary-detail>strong{font-size:9.5px}
  .profile-summary-detail .profile-country-flag{width:25px;height:17px}
  .profile-summary-content-col .profile-bio{font-size:11px}
  .profile-badge-stack-side{gap:5px}
  .profile-badge{min-height:28px;padding:5px 7px}
  .profile-badge-icon{width:15px;height:15px;font-size:8px}
  .profile-badge-text{font-size:8.8px}
  .profile-action-sidebar{grid-template-columns:1fr;gap:7px}
  .profile-actions-card,.profile-insights-card,.similar-players-card{grid-column:1}
  .profile-setting-section{padding:12px}
  .profile-section-head h2{font-size:15px}
  .profile-section-title h2{font-size:15px}
}

@media(max-width:390px){
  .profile-summary-split{grid-template-columns:90px minmax(0,1fr);gap:9px 10px}
  .profile-hero-avatar{width:86px;height:86px;font-size:25px}
  .profile-summary-content-col .profile-summary-name{font-size:22px}
  .profile-badge-stack-side{grid-template-columns:repeat(2,minmax(0,1fr))}
  .profile-badge{padding:4px 6px}
  .profile-badge-text{font-size:8px}
  .profile-data-grid,#mouse .profile-data-grid{grid-template-columns:1fr}
  .profile-data-row,#mouse .profile-data-row{min-height:43px}
}

/* === Mobile horizontal overflow hardening ===
   Only the profile navigation rail may scroll horizontally. */
@media(max-width:760px){
  html,body{
    width:100%;
    max-width:100%;
    overflow-x:clip!important;
  }
  .site,
  .profile-page,
  .profile-layout,
  .profile-main-column,
  .profile-summary-card,
  .profile-summary-split,
  .profile-summary-avatar-col,
  .profile-summary-content-col,
  .profile-action-sidebar,
  .profile-setting-section,
  .profile-community-section,
  .crosshair-profile-layout,
  .crosshair-preview,
  .config-block{
    min-width:0!important;
    max-width:100%!important;
  }
  .site,.profile-page,.profile-layout,.profile-main-column{
    width:100%!important;
  }

  /* Wrapper itself never becomes wider than the viewport. */
  .profile-side-nav{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:6px 0!important;
    overflow:hidden!important;
    contain:inline-size;
  }

  /* This is the ONLY horizontally scrollable element. */
  .profile-anchor-nav{
    display:flex!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    overscroll-behavior-x:contain;
    overscroll-behavior-inline:contain;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-x pan-y;
    scrollbar-width:none;
    padding:4px 2px 8px!important;
    margin:0!important;
  }
  .profile-anchor-nav::-webkit-scrollbar{display:none}
  .profile-anchor-nav>a{
    flex:0 0 auto!important;
    max-width:none!important;
  }

  /* Intrinsic media dimensions must never widen the document. */
  img,svg,canvas,video{
    max-width:100%;
  }
  .crosshair-preview canvas{
    width:100%!important;
    max-width:100%!important;
  }

  /* Compact header grids may shrink; never force an overflow. */
  .profile-summary-split{
    width:100%!important;
  }
  .profile-badge-stack-side{
    min-width:0!important;
    max-width:100%!important;
  }
  .profile-badge{
    min-width:0!important;
    max-width:100%!important;
  }
  .profile-badge-text{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .profile-socials{
    max-width:100%;
    overflow:hidden;
  }

  /* No card/code content may create document-level horizontal scroll. */
  .card,.code-box,.crosshair-code,.profile-data-row{
    max-width:100%;
    min-width:0;
  }
  .code-box,.crosshair-code,.config-block{
    overflow-wrap:anywhere;
    word-break:break-word;
  }
}

@media(max-width:520px){
  .profile-side-nav{padding:5px 0!important}
  .profile-anchor-nav{padding-inline:1px!important}
}

/* v18 public profile, privacy and crosshair preview refinements */
.field-readonly .static-field{
  display:flex;
  align-items:center;
  min-height:48px;
  padding:12px 14px;
  background:#0e1013;
  border:1px solid #2b2f35;
  border-radius:9px;
  color:#f4f5f6;
  font-weight:700;
}
.account-privacy-text{margin:-4px 0 4px}
.profile-summary-name-line{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}
.profile-summary-name-line .profile-summary-name{margin:0}
.verified-badge-icon{
  width:32px;
  height:32px;
  object-fit:contain;
  filter:drop-shadow(0 0 12px rgba(255,31,50,.25));
  flex:0 0 auto;
}
.profile-socials-icon-list{gap:14px!important}
.social-icon-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:24px;
  height:24px;
  color:#ff2f45;
  transition:transform .16s ease, color .16s ease, filter .16s ease;
}
.social-icon-link:hover{
  color:#ff5063;
  transform:translateY(-1px) scale(1.05);
  filter:drop-shadow(0 0 12px rgba(255,31,50,.22));
}
.social-icon-link svg{width:100%;height:100%;display:block}
.profile-badge-stack-side{align-items:flex-end;gap:7px}
.profile-badge-stack-side .profile-badge{width:min(100%,190px);max-width:190px;margin-left:auto}
.profile-badge-image{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.profile-badge-image img{display:block;width:min(100%,190px);height:auto;object-fit:contain}
.crosshair-preview{background:#0c0e12}
@media(max-width:800px){
  .profile-badge-stack-side{align-items:stretch}
  .profile-badge-stack-side .profile-badge,
  .profile-badge-image img{width:min(100%,180px);max-width:180px}
}
@media(max-width:520px){
  .verified-badge-icon{width:28px;height:28px}
  .social-icon-link{width:22px;height:22px}
}

/* v19 profile polish */
.profile-summary-split-v18{
  display:grid;
  grid-template-columns:minmax(280px,1.1fr) 220px 150px;
  align-items:center;
  gap:28px;
  max-width:820px;
  margin:0 auto;
}
.profile-summary-split-v18 .profile-summary-content-col{
  order:1;
  align-items:flex-start;
  text-align:left;
}
.profile-summary-split-v18 .profile-summary-avatar-col{order:2}
.profile-summary-split-v18 .profile-badge-stack-side{order:3;justify-self:end;align-items:flex-start;gap:8px;width:fit-content;max-width:150px;padding-top:6px}
.profile-summary-split-v18 .profile-badge-stack-side .profile-badge{width:140px;max-width:140px;margin-left:0}
.profile-summary-split-v18 .profile-badge-image img{width:128px;max-width:128px}
.profile-summary-name-block{display:flex;flex-direction:column;align-items:flex-start}
.profile-summary-name-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.profile-summary-split-v18 .profile-summary-name{margin:0;font-size:54px;line-height:.96;letter-spacing:-2px}
.profile-summary-split-v18 .profile-handle{margin-top:8px;font-size:17px;color:#9097a1;font-weight:700}
.verified-badge-icon{width:24px;height:24px;object-fit:contain;filter:drop-shadow(0 0 8px rgba(255,31,50,.25))}
.profile-summary-details-left{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:22px}
.profile-summary-details-left .profile-summary-detail{display:grid;grid-template-columns:max-content auto;justify-content:start;gap:12px;min-height:24px}
.profile-summary-details-left .profile-summary-detail>span,.profile-summary-details-left .profile-summary-detail>strong{text-align:left;font-size:14px}
.profile-summary-details-left .profile-summary-detail>span{color:#8d95a0;font-weight:800}
.profile-summary-details-left .profile-summary-detail>strong{font-weight:900}
.profile-summary-details-left .profile-country-flag{width:36px;height:24px;border-radius:4px}
.profile-summary-split-v18 .profile-summary-bio-wrap{width:100%;margin-top:18px}
.profile-summary-split-v18 .profile-bio{font-size:15px;line-height:1.7;text-align:left;color:#afb5bd}
.profile-summary-split-v18 .profile-socials-icon-list{justify-content:flex-start;gap:14px;margin-top:18px}
.social-icon-link{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;color:#ff3246;background:transparent!important;border:0!important;box-shadow:none!important;padding:0}
.social-icon-link svg{display:block;width:20px;height:20px}
.social-icon-link:hover{color:#ff5b6b;transform:translateY(-1px);filter:drop-shadow(0 0 10px rgba(255,31,50,.22))}
.profile-hero-avatar{width:184px;height:184px;max-width:none;box-shadow:0 0 0 1px rgba(255,255,255,.06),0 20px 50px rgba(0,0,0,.35)}
.profile-badge{min-height:34px;padding:7px 9px;border-radius:11px;gap:7px}
.profile-badge-icon{width:16px;height:16px;font-size:9px}
.profile-badge-text{font-size:10px;line-height:1.15}
.profile-data-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:12px 20px}
.profile-data-row{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;min-height:74px;padding:10px 0;border-top:0;border-bottom:1px solid rgba(255,255,255,.055)}
.profile-data-row span{font-size:11px;text-transform:uppercase;letter-spacing:.45px;color:#8a919c}
.profile-data-row strong{display:block;font-size:15px;text-align:left;line-height:1.35;overflow-wrap:anywhere}
#mouse .profile-data-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 18px}
#mouse .profile-data-row{min-height:76px}
#crosshair .crosshair-profile-layout{align-items:start;gap:18px}
.profile-inline-command-box{margin-top:18px}
.profile-command-block{margin:10px 0 0;white-space:pre-wrap;word-break:break-word}

@media (max-width: 1120px){
  .profile-summary-split-v18{grid-template-columns:minmax(240px,1fr) 185px 130px;gap:20px;max-width:100%}
  .profile-summary-split-v18 .profile-summary-name{font-size:44px}
  .profile-hero-avatar{width:164px;height:164px}
  .profile-summary-split-v18 .profile-badge-stack-side .profile-badge{width:124px;max-width:124px}
  .profile-summary-split-v18 .profile-badge-image img{width:118px;max-width:118px}
  #mouse .profile-data-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 860px){
  .profile-summary-split-v18{grid-template-columns:1fr;gap:14px}
  .profile-summary-split-v18 .profile-summary-avatar-col{order:1;justify-content:center}
  .profile-summary-split-v18 .profile-summary-content-col{order:2;align-items:center;text-align:center}
  .profile-summary-name-block{align-items:center}
  .profile-summary-split-v18 .profile-summary-name{font-size:36px}
  .profile-summary-split-v18 .profile-handle{font-size:14px}
  .profile-summary-details-left,.profile-summary-details-left .profile-summary-detail{align-items:center;justify-content:center}
  .profile-summary-details-left .profile-summary-detail>span,.profile-summary-details-left .profile-summary-detail>strong{text-align:center}
  .profile-summary-split-v18 .profile-bio{text-align:center}
  .profile-summary-split-v18 .profile-socials-icon-list{justify-content:center}
  .profile-summary-split-v18 .profile-badge-stack-side{order:3;justify-self:center;align-items:stretch;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-width:290px;width:100%}
  .profile-summary-split-v18 .profile-badge-stack-side .profile-badge{width:100%;max-width:none}
  .profile-summary-split-v18 .profile-badge-image{grid-column:1 / -1;justify-self:center}
  .profile-summary-split-v18 .profile-badge-image img{width:120px;max-width:120px}
  .profile-hero-avatar{width:136px;height:136px}
  .profile-data-grid,#mouse .profile-data-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}
}
@media (max-width: 560px){
  .profile-summary-split-v18 .profile-summary-name{font-size:30px}
  .profile-summary-split-v18 .profile-handle{font-size:12px}
  .profile-summary-details-left{gap:8px;margin-top:14px}
  .profile-summary-details-left .profile-summary-detail{gap:8px}
  .profile-summary-details-left .profile-summary-detail>span,.profile-summary-details-left .profile-summary-detail>strong{font-size:12px}
  .profile-summary-split-v18 .profile-bio{font-size:13px;line-height:1.6}
  .profile-summary-split-v18 .profile-badge-stack-side{grid-template-columns:1fr 1fr;max-width:100%}
  .profile-summary-split-v18 .profile-badge-stack-side .profile-badge{min-height:30px;padding:6px 8px}
  .profile-summary-split-v18 .profile-badge-text{font-size:8.8px}
  .social-icon-link,.social-icon-link svg{width:18px;height:18px}
  .profile-data-grid,#mouse .profile-data-grid{grid-template-columns:1fr}
  .profile-data-row{min-height:56px;padding:8px 0;gap:4px}
  .profile-data-row span{font-size:10px}
  .profile-data-row strong{font-size:14px}
}

/* v20 social icon fidelity + select polish */
.field select,
.lang{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  cursor:pointer;
  padding-right:42px;
  background-image:
    linear-gradient(180deg,rgba(11,13,17,.96),rgba(8,9,12,.98)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f4f5f6' d='M2.1 4.1 6 8l3.9-3.9.85.85L6 9.7 1.25 4.95z'/%3E%3C/svg%3E");
  background-repeat:no-repeat,no-repeat;
  background-position:left top,right 14px center;
  background-size:auto,12px 12px;
}
.field select::-ms-expand,
.lang::-ms-expand{display:none}
.field select option,
.field select optgroup,
.lang option,
.lang optgroup{
  background:#0b0d11;
  color:#f4f5f6;
}
.field select option:checked,
.lang option:checked{
  background:#2a0f15;
  color:#fff;
}
.field select option:hover,
.lang option:hover{
  background:#1a1e24;
}
.field select[multiple],
.field select[size],
.lang[multiple],
.lang[size]{
  background-image:linear-gradient(180deg,rgba(11,13,17,.96),rgba(8,9,12,.98));
  padding-right:12px;
}
.profile-socials-icon-list{gap:16px}
.social-icon-link{width:18px;height:18px;color:#ff2840}
.social-icon-link svg{width:18px;height:18px}
.social-icon-link[aria-label="Steam"] svg,
.social-icon-link[aria-label="FACEIT"] svg{transform:translateY(.25px)}
.social-icon-link:hover{color:#ff5e6f}


/* =========================================================
   V21 MOBILE PROFILE RESET
   One authoritative mobile layer. It intentionally overrides
   all older experimental profile breakpoints above.
   ========================================================= */
.profile-socials-icon-list .social-icon-link{
  width:20px;
  height:20px;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
  color:transparent;
}
.profile-socials-icon-list .social-icon-link img{
  display:block;
  width:20px;
  height:20px;
  object-fit:contain;
}
.profile-socials-icon-list .social-icon-link:hover{
  transform:translateY(-1px);
  filter:drop-shadow(0 0 9px rgba(255,40,64,.30));
}

@media (max-width:760px){
  html,body,.site{
    width:100%!important;
    max-width:100%!important;
    overflow-x:clip!important;
  }

  .container{
    width:calc(100% - 24px)!important;
    max-width:none!important;
  }

  /* mobile anchor rail: only this may scroll horizontally */
  .profile-page{padding-top:8px!important}
  .profile-layout{
    display:flex!important;
    flex-direction:column!important;
    gap:12px!important;
    width:100%!important;
    min-width:0!important;
  }
  .profile-side-nav{
    order:0!important;
    position:sticky!important;
    top:0!important;
    z-index:40!important;
    width:calc(100% + 24px)!important;
    max-width:none!important;
    margin:0 -12px!important;
    padding:8px 12px!important;
    overflow:hidden!important;
    background:rgba(7,8,9,.97)!important;
    border-bottom:1px solid rgba(255,255,255,.065)!important;
    backdrop-filter:blur(14px)!important;
    -webkit-backdrop-filter:blur(14px)!important;
  }
  .profile-anchor-nav{
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    overscroll-behavior-x:contain!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:none!important;
    padding:0!important;
  }
  .profile-anchor-nav::-webkit-scrollbar{display:none!important}
  .profile-anchor-nav a{
    flex:0 0 auto!important;
    width:auto!important;
    padding:9px 12px!important;
    font-size:12px!important;
    line-height:1!important;
    white-space:nowrap!important;
    border-radius:11px!important;
    background:#0d1014!important;
    border:1px solid rgba(255,255,255,.06)!important;
  }
  .profile-anchor-nav a.active{
    color:#ff4053!important;
    background:rgba(255,31,50,.10)!important;
    border-color:rgba(255,42,60,.42)!important;
    box-shadow:inset 0 0 0 1px rgba(255,31,50,.05)!important;
  }
  .profile-nav-heading{display:none!important}

  .profile-main-column{
    order:1!important;
    width:100%!important;
    min-width:0!important;
    gap:12px!important;
  }

  /* player summary: compact two-column identity row, badges below */
  .profile-summary-card{
    width:100%!important;
    margin:0!important;
    padding:14px 0 16px!important;
    overflow:visible!important;
  }
  .profile-summary-split,
  .profile-summary-split-v18{
    display:grid!important;
    grid-template-columns:116px minmax(0,1fr)!important;
    grid-template-areas:
      "avatar content"
      "badges badges"!important;
    align-items:center!important;
    gap:14px 16px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
  }
  .profile-summary-avatar-col{
    grid-area:avatar!important;
    order:initial!important;
    display:flex!important;
    align-items:flex-start!important;
    justify-content:center!important;
    padding:0!important;
  }
  .profile-hero-avatar{
    width:108px!important;
    height:108px!important;
    min-width:108px!important;
    max-width:108px!important;
    font-size:30px!important;
    border-radius:50%!important;
    box-shadow:0 10px 28px rgba(0,0,0,.34),0 0 0 1px rgba(255,255,255,.04)!important;
  }
  .profile-summary-content-col,
  .profile-summary-split-v18 .profile-summary-content-col{
    grid-area:content!important;
    order:initial!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:center!important;
    min-width:0!important;
    padding:0!important;
    text-align:left!important;
  }
  .profile-summary-name-block{align-items:flex-start!important}
  .profile-summary-name-line{
    justify-content:flex-start!important;
    gap:7px!important;
    max-width:100%!important;
  }
  .profile-summary-content-col .profile-summary-name,
  .profile-summary-split-v18 .profile-summary-name{
    margin:0!important;
    font-size:30px!important;
    line-height:1!important;
    letter-spacing:-1.1px!important;
    overflow-wrap:anywhere!important;
  }
  .verified-badge-icon{
    width:20px!important;
    height:20px!important;
    flex:0 0 20px!important;
  }
  .profile-summary-content-col .profile-handle,
  .profile-summary-split-v18 .profile-handle{
    margin-top:5px!important;
    font-size:12px!important;
    line-height:1.2!important;
  }
  .profile-summary-content-col .profile-summary-details,
  .profile-summary-details-left{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:7px!important;
    margin-top:13px!important;
  }
  .profile-summary-detail{
    display:grid!important;
    grid-template-columns:max-content auto!important;
    align-items:center!important;
    justify-content:start!important;
    gap:10px!important;
    min-height:22px!important;
  }
  .profile-summary-detail>span{
    font-size:11px!important;
    line-height:1.2!important;
    text-align:left!important;
    color:#9299a3!important;
  }
  .profile-summary-detail>strong{
    font-size:11px!important;
    line-height:1.2!important;
    text-align:left!important;
    overflow-wrap:anywhere!important;
  }
  .profile-summary-detail .profile-country-flag{
    width:29px!important;
    height:20px!important;
    justify-self:start!important;
  }
  .profile-summary-content-col .profile-summary-bio-wrap,
  .profile-summary-split-v18 .profile-summary-bio-wrap{
    width:100%!important;
    margin-top:11px!important;
  }
  .profile-summary-content-col .profile-bio,
  .profile-summary-split-v18 .profile-bio{
    margin:0!important;
    font-size:12px!important;
    line-height:1.45!important;
    text-align:left!important;
    color:#adb3bc!important;
  }
  .profile-summary-content-col .profile-socials-centered,
  .profile-summary-split-v18 .profile-socials-icon-list{
    justify-content:flex-start!important;
    gap:13px!important;
    margin-top:11px!important;
  }
  .profile-socials-icon-list .social-icon-link,
  .profile-socials-icon-list .social-icon-link img{
    width:19px!important;
    height:19px!important;
  }

  /* awards: compact, no giant boxes */
  .profile-badge-stack-side,
  .profile-summary-split-v18 .profile-badge-stack-side{
    grid-area:badges!important;
    order:initial!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    width:100%!important;
    max-width:100%!important;
    padding:2px 0 0!important;
    margin:0!important;
    align-items:stretch!important;
    justify-self:stretch!important;
  }
  .profile-badge-stack-side .profile-badge,
  .profile-summary-split-v18 .profile-badge-stack-side .profile-badge{
    width:100%!important;
    max-width:none!important;
    min-height:31px!important;
    margin:0!important;
    padding:6px 8px!important;
    border-radius:10px!important;
    gap:7px!important;
  }
  .profile-badge-icon{
    width:16px!important;
    height:16px!important;
    font-size:9px!important;
  }
  .profile-badge-text{
    font-size:9px!important;
    line-height:1.15!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .profile-badge-image{
    grid-column:1 / -1!important;
    justify-self:center!important;
    width:auto!important;
    min-height:0!important;
    padding:0!important;
  }
  .profile-badge-image img,
  .profile-summary-split-v18 .profile-badge-image img{
    width:112px!important;
    max-width:112px!important;
    height:auto!important;
  }

  .profile-section-title{
    margin:12px 0 0!important;
    gap:8px!important;
  }
  .profile-section-title h2{
    font-size:18px!important;
    line-height:1.1!important;
    white-space:nowrap!important;
  }

  /* cards: compact and left-aligned */
  .profile-setting-section{
    width:100%!important;
    min-width:0!important;
    padding:15px!important;
    border-radius:14px!important;
  }
  .profile-section-head{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    margin-bottom:9px!important;
  }
  .profile-section-head h2{
    margin:0!important;
    font-size:19px!important;
    line-height:1.1!important;
  }
  .copy{
    flex:0 0 auto!important;
    padding:7px 10px!important;
    font-size:10px!important;
  }

  /* normal specs: value below label, never centered */
  .profile-data-grid,
  #mouse .profile-data-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:0 16px!important;
    width:100%!important;
  }
  .profile-data-row,
  #mouse .profile-data-row{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:center!important;
    min-width:0!important;
    min-height:62px!important;
    padding:10px 0!important;
    gap:5px!important;
    border-top:0!important;
    border-bottom:1px solid rgba(255,255,255,.06)!important;
    text-align:left!important;
  }
  .profile-data-row span,
  #mouse .profile-data-row span{
    display:block!important;
    width:100%!important;
    font-size:10px!important;
    line-height:1.2!important;
    letter-spacing:.45px!important;
    text-transform:uppercase!important;
    color:#8f96a0!important;
    text-align:left!important;
  }
  .profile-data-row strong,
  #mouse .profile-data-row strong{
    display:block!important;
    width:100%!important;
    font-size:15px!important;
    line-height:1.25!important;
    font-weight:850!important;
    text-align:left!important;
    overflow-wrap:anywhere!important;
  }

  /* long-value sections get a clean single-column list */
  #gear .profile-data-grid,
  #setup .profile-data-grid,
  #pc .profile-data-grid{
    grid-template-columns:1fr!important;
  }
  #gear .profile-data-row,
  #setup .profile-data-row,
  #pc .profile-data-row{
    min-height:68px!important;
  }

  /* crosshair / code areas */
  .crosshair-profile-layout{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    width:100%!important;
  }
  .crosshair-preview.large{
    width:100%!important;
    min-height:0!important;
    height:auto!important;
    aspect-ratio:16/9!important;
    overflow:hidden!important;
    border-radius:12px!important;
  }
  .crosshair-preview canvas{
    width:100%!important;
    height:100%!important;
    display:block!important;
  }
  .profile-code-label{font-size:10px!important}
  .crosshair-code{
    margin-top:8px!important;
    font-size:10px!important;
    line-height:1.4!important;
  }
  .profile-inline-command-box{margin-top:12px!important}
  .config-block,
  .profile-command-block{
    width:100%!important;
    max-width:100%!important;
    max-height:260px!important;
    padding:12px!important;
    font-size:10px!important;
    line-height:1.5!important;
    white-space:pre-wrap!important;
    overflow-wrap:anywhere!important;
  }

  /* community + right desktop sidebar becomes compact mobile stack */
  .profile-action-sidebar{
    order:2!important;
    position:static!important;
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    gap:9px!important;
  }
  .profile-actions-card,
  .profile-insights-card,
  .similar-players-card{
    width:100%!important;
    padding:14px!important;
    border-radius:14px!important;
  }
  .profile-actions-card h3,
  .similar-players-card h3{
    font-size:17px!important;
    margin:0 0 10px!important;
  }
  .profile-actions-card .btn{
    min-height:38px!important;
    padding:9px 10px!important;
    font-size:11px!important;
  }
  .profile-insights-grid{gap:6px!important}
  .profile-insight strong{font-size:18px!important}
  .profile-insight span{font-size:7px!important}
  .profile-insights-updated{margin-top:10px!important;padding-top:10px!important}
  .similar-player-row{padding:7px 0!important}

  .profile-community-section{width:100%!important}
  .comment-form,.comment-item{
    padding:14px!important;
    border-radius:14px!important;
  }
  .comment-form textarea{min-height:82px!important}
  .comment-form .btn{min-height:42px!important;padding:10px 12px!important;font-size:12px!important}
}

@media (max-width:430px){
  .container{width:calc(100% - 18px)!important}
  .profile-side-nav{
    width:calc(100% + 18px)!important;
    margin:0 -9px!important;
    padding:7px 9px!important;
  }
  .profile-anchor-nav a{padding:8px 10px!important;font-size:11px!important}

  .profile-summary-split,
  .profile-summary-split-v18{
    grid-template-columns:102px minmax(0,1fr)!important;
    gap:12px 13px!important;
  }
  .profile-hero-avatar{
    width:96px!important;
    height:96px!important;
    min-width:96px!important;
    max-width:96px!important;
  }
  .profile-summary-content-col .profile-summary-name,
  .profile-summary-split-v18 .profile-summary-name{font-size:26px!important}
  .verified-badge-icon{width:18px!important;height:18px!important;flex-basis:18px!important}
  .profile-summary-detail{gap:8px!important}
  .profile-badge-image img,
  .profile-summary-split-v18 .profile-badge-image img{width:98px!important;max-width:98px!important}

  .profile-setting-section{padding:13px!important}
  .profile-data-grid,
  #mouse .profile-data-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:0 12px!important;
  }
  .profile-data-row,
  #mouse .profile-data-row{
    min-height:58px!important;
    padding:9px 0!important;
  }
  .profile-data-row strong,
  #mouse .profile-data-row strong{font-size:14px!important}

  #gear .profile-data-grid,
  #setup .profile-data-grid,
  #pc .profile-data-grid{grid-template-columns:1fr!important}
}

/* v23: accessible interaction states and complete mobile navigation */
.site{display:flex;min-height:100vh;flex-direction:column}
.site>main{flex:1}
.player-name,.player-user{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
[aria-current="page"]{color:#fff}
button:disabled,.btn:disabled{cursor:not-allowed;opacity:.58;transform:none!important;box-shadow:none}
:where(a,button,input,select,textarea):focus-visible{outline:2px solid #ff4053;outline-offset:3px}
:where(.profile-setting-section,.profile-community-section)[id]{scroll-margin-top:72px}

@media(max-width:800px){
  .nav{height:auto!important;min-height:0;align-items:stretch}
  .nav-inner{flex-wrap:wrap;gap:9px 12px!important;padding-top:10px}
  .brand{order:1}
  .nav-right{order:2;margin-left:auto}
  .nav-links{display:flex!important;order:3;width:100%;gap:20px;overflow-x:auto;padding:10px 0 11px;border-top:1px solid rgba(255,255,255,.06);font-size:12px;scrollbar-width:none;overscroll-behavior-x:contain}
  .nav-links::-webkit-scrollbar{display:none}
  .nav-links a{flex:0 0 auto;min-height:28px;display:flex;align-items:center}
  .profile-side-nav{top:0!important}
  .card,.auth-card,.menu,.notification-item{backdrop-filter:none;-webkit-backdrop-filter:none}
}

@media(max-width:430px){
  .nav-links{gap:16px;font-size:11px}
  .nav-right .btn{padding:10px 13px}
  .copy,.small-btn{min-height:36px}
  .profile-actions-card .btn{min-height:40px!important}
}

/* v26: crosshair builder and sign-in comfort */
.password-input-wrap{position:relative;min-width:0}
.password-input-wrap>input{padding-right:48px!important}
.password-toggle{position:absolute;z-index:2;top:50%;right:5px;width:38px;height:38px;padding:8px;border:0;border-radius:7px;background:transparent;color:#878d96;transform:translateY(-50%);cursor:pointer;display:grid;place-items:center}
.password-toggle:hover,.password-toggle:focus-visible{background:rgba(255,255,255,.055);color:#fff;outline:none}
.password-eye{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.password-eye-hide{display:none}
.password-toggle.is-visible .password-eye-show{display:none}
.password-toggle.is-visible .password-eye-hide{display:block}
.auth-remember{display:flex;align-items:center;gap:9px;width:max-content;max-width:100%;color:#c3c7cd;font-size:14px;font-weight:700;cursor:pointer}
.auth-remember input{width:17px;height:17px;margin:0;accent-color:#f41120}

.tool-card{display:block;min-height:154px;transition:transform .16s ease,border-color .16s ease,background .16s ease}
.tool-card:hover{transform:translateY(-2px);border-color:rgba(255,50,66,.48);background:linear-gradient(145deg,#15181d,#0e1013)}
.tool-card h2{margin-top:0}
.tool-card-featured{grid-column:span 2;position:relative;overflow:hidden;background:linear-gradient(135deg,rgba(244,17,32,.14),#101216 52%)}
.tool-card-featured::after{content:"";position:absolute;right:-55px;bottom:-75px;width:210px;height:210px;border-radius:50%;background:radial-gradient(circle,rgba(244,17,32,.22),transparent 68%);pointer-events:none}
.tool-card-icon{display:grid;place-items:center;width:35px;height:35px;margin-bottom:16px;border:1px solid rgba(255,65,80,.4);border-radius:9px;background:rgba(244,17,32,.12);color:#ff4250;font-size:23px;font-weight:500}

.crosshair-builder-page{width:min(1040px,calc(100% - 40px));padding-top:38px;padding-bottom:58px}
.crosshair-builder-page>.page-title{margin:10px 0 8px}
.builder-lead{max-width:720px;margin:0;font-size:16px;line-height:1.6}
.crosshair-builder-shell{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);grid-template-areas:"preview controls" "output controls" "help help";align-items:start;gap:12px;min-width:0;max-width:100%}
.builder-preview-card{grid-area:preview}.builder-controls-card{grid-area:controls}.builder-output-card{grid-area:output}.builder-help{grid-area:help}
.builder-preview-card,.builder-controls-card,.builder-output-card{min-width:0;max-width:100%;padding:17px}
.builder-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:13px}
.builder-section-head h2{margin:0 0 4px;font-size:19px;letter-spacing:-.4px}
.builder-section-head p{margin:0;line-height:1.45}
.builder-toolbar{display:flex;gap:8px;flex:0 0 auto}
.builder-toolbar .btn{padding:7px 10px;font-size:12px}
.builder-preview{position:relative;width:100%;max-width:100%;height:260px;min-width:0;overflow:hidden;contain:layout paint size;border:1px solid #30343a;border-radius:10px;background:#090b0e;box-shadow:inset 0 0 45px rgba(0,0,0,.38)}
.builder-preview canvas{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;max-width:100%}
.builder-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px;min-width:0;max-width:100%}
.builder-control{min-width:0;max-width:100%;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.065)}
.builder-control>label{display:block;margin-bottom:7px;color:#a9aeb6;font-size:10.5px;font-weight:850;text-transform:uppercase;letter-spacing:.65px}
.builder-control-wide{grid-column:1/-1}
.builder-control select{width:100%;min-height:39px;padding:8px 10px;border:1px solid #30343a;border-radius:8px;background:#0d1013;color:#f2f3f4;outline:none}
.builder-control select:focus{border-color:#f41120}
.builder-range-row{display:grid;grid-template-columns:minmax(0,1fr) 54px;align-items:center;gap:9px;min-width:0;max-width:100%}
.builder-range-row input[type=range]{width:100%;min-width:0;max-width:100%;accent-color:#f41120;cursor:pointer}
.builder-range-row input[type=range]:disabled{opacity:.38;cursor:not-allowed}
.builder-range-row output{display:grid;place-items:center;min-width:0;min-height:31px;padding:4px;border:1px solid #2d3137;border-radius:7px;background:#0c0e11;color:#fff;font-size:12px;font-variant-numeric:tabular-nums;font-weight:850}
.builder-color-control{grid-column:1/-1}
.builder-color-row{display:grid;grid-template-columns:48px repeat(3,minmax(0,1fr));gap:7px;min-width:0}
.builder-color-row>input[type=color]{width:48px;height:37px;padding:3px;border:1px solid #30343a;border-radius:8px;background:#0d1013;cursor:pointer}
.builder-rgb{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;border:1px solid #30343a;border-radius:8px;background:#0d1013;overflow:hidden}
.builder-rgb span{padding-left:9px;color:#818791;font-size:11px;font-weight:900}
.builder-rgb input{width:100%;min-width:0;height:35px;padding:6px;border:0;background:transparent;color:#fff;outline:none;font-size:12px;font-variant-numeric:tabular-nums}
.builder-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:12px 0 0}
.builder-toggle{display:flex;align-items:center;justify-content:space-between;gap:9px;min-width:0;min-height:41px;padding:7px 9px;border:1px solid #2b2f35;border-radius:8px;background:#0d1013;color:#bec2c9;font-size:11.5px;font-weight:800;cursor:pointer}
.builder-toggle input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.builder-toggle-track{position:relative;flex:0 0 38px;width:38px;height:22px;border-radius:999px;background:#2a2e34;transition:background .15s ease}
.builder-toggle-track::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#9298a1;transition:transform .15s ease,background .15s ease}
.builder-toggle input:checked+.builder-toggle-track{background:#f41120}
.builder-toggle input:checked+.builder-toggle-track::after{transform:translateX(16px);background:#fff}
.builder-toggle:has(input:focus-visible){outline:2px solid rgba(244,17,32,.55);outline-offset:2px}
.builder-output-card .builder-section-head{align-items:center}
.builder-command-output{width:100%;max-width:100%;height:128px;margin:0;padding:11px 13px;overflow:auto;border:1px solid #292d33;border-radius:9px;background:#090b0e;color:#ff5965;font:11px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}
.builder-output-card .btn{padding:8px 10px;font-size:11px}
.builder-help{padding:10px 5px 0}
.builder-help h2{margin:0 0 7px;font-size:21px}
.builder-help p{max-width:850px;margin:0;line-height:1.65}

@media(max-width:900px){
  .tool-card-featured{grid-column:auto}
  .crosshair-builder-page{padding-top:30px}
  .crosshair-builder-page>.page-title{font-size:clamp(35px,10vw,48px);line-height:1.05}
  .crosshair-builder-shell{grid-template-columns:minmax(0,1fr);grid-template-areas:"preview" "controls" "output" "help"}
  .builder-preview-card,.builder-controls-card,.builder-output-card{padding:16px}
  .builder-preview{height:clamp(220px,45vw,300px)}
}

@media(max-width:520px){
  .builder-section-head{display:grid;gap:12px}
  .builder-toolbar{width:100%}
  .builder-toolbar .btn{flex:1;padding:9px}
  .crosshair-builder-page{width:min(100% - 24px,1040px)}
  .builder-preview{height:205px}
  .builder-controls{grid-template-columns:1fr}
  .builder-control-wide,.builder-color-control{grid-column:auto}
  .builder-color-row{grid-template-columns:48px repeat(3,minmax(0,1fr));gap:6px}
  .builder-color-row>input[type=color]{width:48px}
  .builder-rgb{grid-template-columns:18px minmax(0,1fr)}
  .builder-rgb span{padding-left:6px;font-size:9px}
  .builder-rgb input{padding:6px 4px;font-size:13px}
  .builder-toggle-grid{grid-template-columns:1fr}
  .builder-output-card .builder-section-head{align-items:stretch}
  .builder-output-card .btn{width:100%}
  .builder-command-output{font-size:11.5px;padding:14px}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* v22 badge layout correction: desktop smaller, mobile right-stacked */
.profile-badge-stack-side{
  align-items:flex-start!important;
  gap:8px!important;
  width:fit-content!important;
  max-width:112px!important;
}
.profile-badge-stack-side .profile-badge{
  width:108px!important;
  max-width:108px!important;
  min-height:32px!important;
  padding:6px 8px!important;
  margin-left:0!important;
}
.profile-badge-stack-side .profile-badge-image{
  width:108px!important;
  max-width:108px!important;
  padding:0!important;
}
.profile-badge-stack-side .profile-badge-image img{
  width:100px!important;
  max-width:100px!important;
  height:auto!important;
  display:block!important;
  margin:0 auto!important;
}
.profile-badge-stack-side .profile-badge-icon{
  width:15px!important;
  height:15px!important;
  font-size:9px!important;
}
.profile-badge-stack-side .profile-badge-text{
  font-size:9px!important;
  line-height:1.15!important;
}

@media (max-width:760px){
  .profile-summary-split,
  .profile-summary-split-v18{
    grid-template-columns:90px minmax(0,1fr) 106px!important;
    grid-template-areas:"avatar content badges"!important;
    align-items:start!important;
    gap:10px 12px!important;
  }
  .profile-summary-avatar-col{grid-area:avatar!important;align-self:start!important;justify-content:flex-start!important}
  .profile-summary-content-col,
  .profile-summary-split-v18 .profile-summary-content-col{
    grid-area:content!important;
    align-items:flex-start!important;
    text-align:left!important;
    justify-content:flex-start!important;
    padding-top:2px!important;
  }
  .profile-badge-stack-side,
  .profile-summary-split-v18 .profile-badge-stack-side{
    grid-area:badges!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-self:end!important;
    width:100%!important;
    max-width:106px!important;
    gap:6px!important;
    padding-top:2px!important;
    margin:0!important;
  }
  .profile-badge-stack-side .profile-badge,
  .profile-summary-split-v18 .profile-badge-stack-side .profile-badge{
    width:100%!important;
    max-width:106px!important;
    min-height:30px!important;
    padding:6px 7px!important;
    border-radius:10px!important;
  }
  .profile-badge-stack-side .profile-badge-image,
  .profile-summary-split-v18 .profile-badge-image{
    width:100%!important;
    max-width:106px!important;
    grid-column:auto!important;
    justify-self:auto!important;
  }
  .profile-badge-stack-side .profile-badge-image img,
  .profile-summary-split-v18 .profile-badge-image img{
    width:96px!important;
    max-width:96px!important;
    margin-left:auto!important;
    margin-right:0!important;
  }
  .profile-badge-stack-side .profile-badge-text,
  .profile-summary-split-v18 .profile-badge-text{
    font-size:8.6px!important;
  }
  .profile-summary-content-col .profile-summary-name,
  .profile-summary-split-v18 .profile-summary-name{
    font-size:24px!important;
    line-height:1!important;
  }
  .verified-badge-icon{width:18px!important;height:18px!important;flex:0 0 18px!important}
  .profile-hero-avatar{
    width:86px!important;
    height:86px!important;
    min-width:86px!important;
    max-width:86px!important;
  }
}

@media (max-width:430px){
  .profile-summary-split,
  .profile-summary-split-v18{
    grid-template-columns:84px minmax(0,1fr) 98px!important;
    gap:9px 10px!important;
  }
  .profile-hero-avatar{
    width:80px!important;
    height:80px!important;
    min-width:80px!important;
    max-width:80px!important;
  }
  .profile-summary-content-col .profile-summary-name,
  .profile-summary-split-v18 .profile-summary-name{font-size:22px!important}
  .profile-badge-stack-side,
  .profile-summary-split-v18 .profile-badge-stack-side{max-width:98px!important}
  .profile-badge-stack-side .profile-badge,
  .profile-summary-split-v18 .profile-badge-stack-side .profile-badge{max-width:98px!important}
  .profile-badge-stack-side .profile-badge-image img,
  .profile-summary-split-v18 .profile-badge-image img{width:88px!important;max-width:88px!important}
}

/* v24: structured mobile navigation, section selectors and comment likes */
.mobile-menu-toggle,.mobile-nav-backdrop,.mobile-nav-drawer,.profile-mobile-nav,.editor-mobile-tab-select{display:none}
.mobile-menu-toggle{width:44px;height:44px;padding:11px;border:1px solid #30343a;border-radius:10px;background:#121519;align-items:center;justify-content:center;flex-direction:column;gap:4px;color:#fff;cursor:pointer}
.mobile-menu-toggle span{display:block;width:20px;height:2px;border-radius:2px;background:currentColor}
.mobile-nav-backdrop{position:fixed;inset:0;z-index:1290;background:rgba(0,0,0,.7);opacity:0;pointer-events:none;transition:opacity .2s ease}
.mobile-nav-drawer{position:fixed;z-index:1300;top:0;right:0;width:min(88vw,360px);height:100dvh;padding:18px;background:#0b0d10;border-left:1px solid rgba(255,255,255,.09);box-shadow:-24px 0 70px rgba(0,0,0,.62);transform:translateX(102%);visibility:hidden;transition:transform .22s ease,visibility .22s ease;overflow-y:auto;overscroll-behavior:contain}
.mobile-nav-open{overflow:hidden}
.mobile-nav-open .mobile-nav-backdrop{opacity:1;pointer-events:auto}
.mobile-nav-open .mobile-nav-drawer{transform:translateX(0);visibility:visible}
.mobile-nav-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:2px 0 17px;border-bottom:1px solid rgba(255,255,255,.08)}
.mobile-nav-head .brand{order:0!important}
.mobile-nav-close{width:42px;height:42px;border:1px solid #30343a;border-radius:10px;background:#15181d;color:#fff;font-size:25px;line-height:1;cursor:pointer}
.mobile-nav-close{order:1!important}
.mobile-account-summary{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;margin:17px 0;padding:13px;border:1px solid rgba(255,55,71,.22);border-radius:13px;background:linear-gradient(135deg,rgba(255,31,50,.10),rgba(255,255,255,.025))}
.mobile-account-summary .nav-avatar{width:42px;height:42px}
.mobile-account-summary div{min-width:0;display:grid;gap:3px}
.mobile-account-summary strong,.mobile-account-summary span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mobile-account-summary div span{font-size:12px;color:#8e949d}
.mobile-nav-links{display:grid;gap:4px;margin-top:14px}
.mobile-nav-links a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:45px;padding:10px 12px;border-radius:9px;color:#b9bec6;font-size:14px;font-weight:800}
.mobile-nav-links a:hover,.mobile-nav-links a[aria-current="page"]{background:rgba(255,31,50,.09);color:#fff}
.mobile-nav-links a[aria-current="page"]{box-shadow:inset 3px 0 0 #f41120}
.mobile-nav-links a>span:last-child{color:#626873;font-size:20px;font-weight:400}
.mobile-nav-divider{height:1px;margin:16px 0 2px;background:rgba(255,255,255,.08)}
.mobile-account-links{margin-top:7px}
.mobile-nav-footer{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:22px;padding-top:16px;border-top:1px solid rgba(255,255,255,.08)}
.mobile-lang{width:100%;min-width:0}
.mobile-logout{min-height:40px;padding:8px 13px;border:1px solid rgba(255,74,87,.3);border-radius:8px;background:rgba(255,31,50,.07);font-weight:850;cursor:pointer}

.profile-mobile-nav,.editor-mobile-tab-select{width:100%;padding:10px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:#0e1115}
.profile-mobile-nav select,.editor-mobile-tab-select select{width:100%;min-width:0;max-width:100%;appearance:auto;background:#15181d;border-color:#343941;font-weight:800}
.editor-mobile-tab-select{margin-bottom:16px}

.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.field,.profile-editor-info,.dashboard-section,.editor-card,#profileForm,#settingsForm,.tab-panel{min-width:0;max-width:100%}
.field input,.field textarea,.field select{display:block;width:100%;max-width:100%;min-width:0}
.profile-editor-avatar{flex:0 0 112px;aspect-ratio:1/1;border-radius:50%!important}
.profile-editor-avatar img{border-radius:50%}
.avatar-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px!important;width:min(100%,310px)}
.avatar-form>form{display:block;min-width:0}
.avatar-form .btn{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:36px;padding:8px 10px;font-size:10px;line-height:1.2;text-align:center;white-space:normal}

.comment-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.06)}
.comment-like{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:58px;min-height:34px;padding:6px 10px;border:1px solid #30343a;border-radius:999px;background:#15181d;color:#8e949d;font-weight:850;cursor:pointer;transition:border-color .15s ease,background .15s ease,color .15s ease,transform .15s ease}
.comment-like:not(.comment-like-static):hover{border-color:rgba(255,65,81,.5);color:#fff;transform:translateY(-1px)}
.comment-like.active{border-color:rgba(255,45,63,.55);background:rgba(255,31,50,.12);color:#ff4051}
.comment-like-static{cursor:default}
.comment-actions .small-btn{margin-left:auto}

@media(max-width:800px){
  .js-ready .nav{height:64px!important;min-height:64px!important;align-items:center!important}
  .js-ready .nav-inner{height:64px!important;flex-wrap:nowrap!important;gap:12px!important;padding-top:0!important}
  .js-ready .nav-inner>.brand{order:0!important}
  .js-ready .nav-links,.js-ready .desktop-nav-right{display:none!important}
  .js-ready .mobile-menu-toggle{display:flex;order:1!important;margin-left:auto}
  .js-ready .mobile-nav-backdrop{display:block}
  .js-ready .mobile-nav-drawer{display:flex;flex-direction:column}
  .form-grid{grid-template-columns:1fr}
  .profile-editor-head{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:14px}
  .profile-editor-avatar{width:88px!important;height:88px!important;min-width:88px!important;max-width:88px!important;flex-basis:88px!important}
  .profile-editor-info{width:100%}
  .avatar-form{width:100%;max-width:300px;margin-top:9px!important}
  .editor-card{overflow:hidden}
}

@media(max-width:760px){
  .profile-side-nav{position:sticky!important;top:0!important;z-index:15!important;width:100%!important;margin:0!important;padding:7px 0!important;background:rgba(7,8,9,.96)!important;border-bottom:1px solid rgba(255,255,255,.06)!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important}
  .profile-anchor-nav{display:none!important}
  .profile-mobile-nav{display:flex!important;padding:8px!important}
  .profile-mobile-nav label{font-size:9px}
  .profile-mobile-nav select{min-height:42px;padding:9px 11px}
  .editor-tabs{display:none!important}
  .editor-mobile-tab-select{display:flex!important}
  :where(.profile-setting-section,.profile-community-section,.profile-summary-card)[id]{scroll-margin-top:82px!important}
}

@media(max-width:430px){
  .mobile-nav-drawer{width:min(92vw,350px);padding:15px}
  .profile-editor-head{grid-template-columns:76px minmax(0,1fr);gap:11px}
  .profile-editor-avatar{width:76px!important;height:76px!important;min-width:76px!important;max-width:76px!important;flex-basis:76px!important}
  .avatar-form{gap:5px!important}
  .avatar-form .btn{min-height:38px;padding:6px 5px;font-size:8.8px}
  .editor-card{padding:14px!important}
  .comment-actions{margin-top:11px;padding-top:10px}
}

/* =========================================================
   V26 PUBLIC PROFILE IDENTITY
   Authoritative profile-header layer.
   Desktop: square avatar left, left-aligned identity beside it, badges right.
   Mobile: same identity relationship, badges move below to preserve space.
   ========================================================= */
.profile-summary-split{
  grid-template-columns:184px minmax(0,1fr) 112px!important;
  align-items:center!important;
  gap:22px!important;
  max-width:920px!important;
}
.profile-summary-avatar-col{
  justify-content:flex-start!important;
  align-items:center!important;
}
.profile-hero-avatar{
  width:172px!important;
  height:172px!important;
  min-width:172px!important;
  max-width:172px!important;
  border-radius:12px!important;
  box-shadow:0 16px 38px rgba(0,0,0,.34),0 0 0 1px rgba(255,255,255,.035)!important;
}
.profile-hero-avatar img{
  width:100%!important;
  height:100%!important;
  border-radius:inherit!important;
  object-fit:cover!important;
}
.profile-summary-content-col{
  align-items:flex-start!important;
  justify-content:center!important;
  text-align:left!important;
  min-width:0!important;
}
.profile-summary-content-col .profile-summary-name-line{
  width:100%!important;
  justify-content:flex-start!important;
  gap:9px!important;
  flex-wrap:nowrap!important;
}
.profile-summary-content-col .profile-summary-name{
  margin:0!important;
  max-width:100%!important;
  font-size:42px!important;
  line-height:1.02!important;
  letter-spacing:-1.55px!important;
  text-align:left!important;
  overflow-wrap:anywhere!important;
}
.profile-summary-content-col .verified-badge-icon{
  width:23px!important;
  height:23px!important;
  flex:0 0 23px!important;
}
.profile-summary-content-col .profile-summary-name{
  font-weight:900!important;
}
.profile-identity-meta span,
.profile-identity-subline,
.profile-identity-subline span{
  font-weight:400!important;
}
.profile-identity-meta{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  gap:6px 8px!important;
  width:100%!important;
  margin-top:11px!important;
  color:#a7adb6!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:400!important;
  text-align:left!important;
}
.profile-identity-meta .profile-country-flag{
  width:25px!important;
  height:17px!important;
  margin:0!important;
  flex:0 0 auto!important;
  border-radius:2px!important;
  object-fit:cover!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.08)!important;
}
.profile-identity-subline{
  width:100%!important;
  margin-top:4px!important;
  color:#a7adb6!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:400!important;
  text-align:left!important;
  overflow-wrap:anywhere!important;
}
.profile-summary-content-col .profile-summary-bio-wrap{
  width:min(560px,100%)!important;
  margin:14px 0 0!important;
}
.profile-summary-content-col .profile-bio{
  margin:0!important;
  font-size:13px!important;
  line-height:1.6!important;
  text-align:left!important;
}
.profile-summary-content-col .profile-socials-centered{
  justify-content:flex-start!important;
  margin-top:14px!important;
}
.profile-badge-stack-side{
  justify-self:end!important;
  align-self:start!important;
  align-items:flex-end!important;
  padding-top:4px!important;
}
.profile-badge-stack-side .profile-badge-image img{
  width:90px!important;
  max-width:90px!important;
}

.profile-identity-meta span,
.profile-identity-subline span{
  font-weight:400!important;
}
#comments>.profile-section-title{margin-bottom:14px!important}

@media(max-width:1050px){
  .profile-summary-split{
    grid-template-columns:156px minmax(0,1fr) 102px!important;
    gap:18px!important;
  }
  .profile-hero-avatar{
    width:148px!important;
    height:148px!important;
    min-width:148px!important;
    max-width:148px!important;
  }
  .profile-summary-content-col .profile-summary-name{font-size:36px!important}
}

@media(max-width:760px){
  .profile-summary-split,
  .profile-summary-split-v18{
    grid-template-columns:112px minmax(0,1fr)!important;
    grid-template-areas:
      "avatar content"
      "badges badges"!important;
    align-items:center!important;
    gap:14px 15px!important;
  }
  .profile-summary-avatar-col{
    grid-area:avatar!important;
    justify-content:flex-start!important;
  }
  .profile-hero-avatar{
    width:106px!important;
    height:106px!important;
    min-width:106px!important;
    max-width:106px!important;
    border-radius:10px!important;
  }
  .profile-summary-content-col,
  .profile-summary-split-v18 .profile-summary-content-col{
    grid-area:content!important;
    align-items:flex-start!important;
    justify-content:center!important;
    text-align:left!important;
    padding:0!important;
  }
  .profile-summary-content-col .profile-summary-name-line{
    justify-content:flex-start!important;
  }
  .profile-summary-content-col .profile-summary-name,
  .profile-summary-split-v18 .profile-summary-name{
    font-size:28px!important;
    line-height:1.02!important;
    text-align:left!important;
  }
  .profile-summary-content-col .verified-badge-icon{
    width:18px!important;
    height:18px!important;
    flex-basis:18px!important;
  }
  .profile-identity-meta,
  .profile-identity-subline{
    font-size:11px!important;
    line-height:1.3!important;
    text-align:left!important;
  }
  .profile-identity-meta{margin-top:8px!important;gap:5px 6px!important}
  .profile-identity-meta .profile-country-flag{
    width:22px!important;
    height:15px!important;
  }
  .profile-identity-subline{margin-top:4px!important}
  .profile-summary-content-col .profile-summary-bio-wrap{margin-top:11px!important}
  .profile-summary-content-col .profile-bio,
  .profile-summary-split-v18 .profile-bio{
    font-size:11.5px!important;
    line-height:1.45!important;
    text-align:left!important;
  }
  .profile-summary-content-col .profile-socials-centered,
  .profile-summary-split-v18 .profile-socials-icon-list{
    justify-content:flex-start!important;
    margin-top:10px!important;
  }
  .profile-badge-stack-side,
  .profile-summary-split-v18 .profile-badge-stack-side{
    grid-area:badges!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    justify-content:flex-start!important;
    justify-self:stretch!important;
    align-items:center!important;
    width:100%!important;
    max-width:100%!important;
    gap:7px!important;
    padding-top:0!important;
  }
  .profile-badge-stack-side .profile-badge-image,
  .profile-summary-split-v18 .profile-badge-image{
    width:auto!important;
    max-width:none!important;
  }
  .profile-badge-stack-side .profile-badge-image img,
  .profile-summary-split-v18 .profile-badge-image img{
    width:82px!important;
    max-width:82px!important;
    margin:0!important;
  }
  #comments>.profile-section-title{margin-bottom:12px!important}
}

@media(max-width:430px){
  .profile-summary-split,
  .profile-summary-split-v18{
    grid-template-columns:92px minmax(0,1fr)!important;
    gap:11px 12px!important;
  }
  .profile-hero-avatar{
    width:88px!important;
    height:88px!important;
    min-width:88px!important;
    max-width:88px!important;
  }
  .profile-summary-content-col .profile-summary-name,
  .profile-summary-split-v18 .profile-summary-name{font-size:24px!important}
  .profile-identity-meta,
  .profile-identity-subline{font-size:10.5px!important}
  .profile-summary-content-col .profile-bio,
  .profile-summary-split-v18 .profile-bio{font-size:11px!important}
  .profile-badge-stack-side .profile-badge-image img,
  .profile-summary-split-v18 .profile-badge-image img{
    width:76px!important;
    max-width:76px!important;
  }
}

/* =========================================================
   V29 PROFILE HERO POLISH
   Keeps beta badge top-right on all sizes and cleans mobile layout.
   ========================================================= */
.profile-summary-card{
  position:relative!important;
  overflow:hidden!important;
  padding:22px!important;
  border-radius:18px!important;
  background:
    radial-gradient(780px 320px at 100% 100%,rgba(111,8,20,.11),transparent 48%),
    radial-gradient(560px 220px at 0% 0%,rgba(30,48,78,.10),transparent 42%),
    linear-gradient(180deg,#0f1318,#0a0d11)!important;
  border:1px solid rgba(255,255,255,.06)!important;
  box-shadow:0 18px 46px rgba(0,0,0,.24), inset 0 0 0 1px rgba(255,255,255,.015)!important;
}
.profile-summary-split{
  position:relative!important;
  grid-template-columns:172px minmax(0,1fr)!important;
  align-items:start!important;
  gap:22px!important;
  max-width:none!important;
  padding-right:112px!important;
}
.profile-summary-avatar-col{align-self:flex-start!important}
.profile-hero-avatar{
  width:172px!important;height:172px!important;min-width:172px!important;max-width:172px!important;
  border-radius:14px!important;
}
.profile-summary-content-col{padding-top:2px!important}
.profile-summary-content-col .profile-summary-name{font-size:44px!important;line-height:1.01!important;letter-spacing:-1.8px!important}
.profile-identity-meta{margin-top:12px!important}
.profile-summary-content-col .profile-summary-bio-wrap{margin-top:16px!important;width:min(580px,100%)!important}
.profile-summary-content-col .profile-bio{font-size:14px!important;color:#b3bac3!important}
.profile-summary-content-col .profile-socials-centered{margin-top:16px!important}
.profile-badge-stack-side{
  position:absolute!important;
  top:2px!important;
  right:0!important;
  width:98px!important;
  max-width:98px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:flex-start!important;
  gap:8px!important;
  padding:0!important;
  z-index:2!important;
}
.profile-badge-stack-side .profile-badge,
.profile-badge-stack-side .profile-badge-image{width:100%!important;max-width:98px!important}
.profile-badge-stack-side .profile-badge-image img{width:98px!important;max-width:98px!important;margin:0!important;display:block!important}

@media(max-width:900px){
  .profile-summary-card{padding:18px!important}
  .profile-summary-split{grid-template-columns:146px minmax(0,1fr)!important;padding-right:100px!important;gap:18px!important}
  .profile-hero-avatar{width:146px!important;height:146px!important;min-width:146px!important;max-width:146px!important}
  .profile-summary-content-col .profile-summary-name{font-size:36px!important}
  .profile-badge-stack-side,.profile-badge-stack-side .profile-badge,.profile-badge-stack-side .profile-badge-image{width:88px!important;max-width:88px!important}
  .profile-badge-stack-side .profile-badge-image img{width:88px!important;max-width:88px!important}
}
@media(max-width:760px){
  .profile-summary-card{padding:16px!important}
  .profile-summary-split{
    grid-template-columns:104px minmax(0,1fr)!important;
    grid-template-areas:none!important;
    padding-right:80px!important;
    gap:12px!important;
    align-items:start!important;
  }
  .profile-summary-avatar-col,.profile-summary-content-col,.profile-badge-stack-side{grid-area:auto!important}
  .profile-hero-avatar{width:104px!important;height:104px!important;min-width:104px!important;max-width:104px!important;border-radius:12px!important}
  .profile-summary-content-col .profile-summary-name{font-size:28px!important;line-height:1.02!important}
  .profile-identity-meta,.profile-identity-subline{font-size:12px!important;line-height:1.38!important}
  .profile-summary-content-col .profile-summary-bio-wrap{margin-top:12px!important;width:100%!important}
  .profile-summary-content-col .profile-bio{font-size:12.5px!important;line-height:1.55!important}
  .profile-summary-content-col .profile-socials-centered{margin-top:12px!important;gap:8px!important}
  .profile-badge-stack-side{top:0!important;right:0!important;width:72px!important;max-width:72px!important;align-items:flex-end!important}
  .profile-badge-stack-side .profile-badge,
  .profile-badge-stack-side .profile-badge-image{width:72px!important;max-width:72px!important}
  .profile-badge-stack-side .profile-badge-image img{width:72px!important;max-width:72px!important}
}
@media(max-width:430px){
  .profile-summary-card{padding:14px!important}
  .profile-summary-split{grid-template-columns:92px minmax(0,1fr)!important;padding-right:68px!important;gap:10px!important}
  .profile-hero-avatar{width:92px!important;height:92px!important;min-width:92px!important;max-width:92px!important}
  .profile-summary-content-col .profile-summary-name{font-size:24px!important}
  .profile-identity-meta,.profile-identity-subline{font-size:11px!important}
  .profile-summary-content-col .profile-bio{font-size:11.5px!important}
  .profile-badge-stack-side,.profile-badge-stack-side .profile-badge,.profile-badge-stack-side .profile-badge-image{width:62px!important;max-width:62px!important}
  .profile-badge-stack-side .profile-badge-image img{width:62px!important;max-width:62px!important}
}

/* V29 profile header content labels */
.profile-mini-label{
  margin:0 0 8px!important;
  color:#8f96a0!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:1.4px!important;
  text-transform:uppercase!important;
}
.profile-socials-wrap{margin-top:14px!important}
.profile-mini-label-socials{margin-bottom:10px!important}
@media(max-width:760px){
  .profile-mini-label{font-size:10px!important; margin-bottom:7px!important}
  .profile-socials-wrap{margin-top:12px!important}
}

/* V30 exact requested identity hierarchy */
.profile-real-name{
  width:100%!important;
  margin-top:9px!important;
  color:#d7dbe0!important;
  font-size:14px!important;
  line-height:1.35!important;
  font-weight:400!important;
  text-align:left!important;
  overflow-wrap:anywhere!important;
}
.profile-real-name + .profile-identity-meta{margin-top:6px!important}
@media(max-width:760px){
  .profile-real-name{font-size:12px!important;margin-top:7px!important}
  .profile-real-name + .profile-identity-meta{margin-top:5px!important}
}
@media(max-width:430px){
  .profile-real-name{font-size:11px!important}
}

/* =========================================================
   V33 PROFILE SOCIALS PLACEMENT
   Socials live below the avatar on desktop and mobile.
   ========================================================= */
.profile-summary-avatar-col{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
}
.profile-avatar-socials{
  width:100%!important;
  margin-top:18px!important;
  text-align:left!important;
}
.profile-avatar-socials .profile-mini-label{
  margin:0 0 10px!important;
  text-align:left!important;
}
.profile-avatar-socials .profile-socials{
  display:flex!important;
  justify-content:flex-start!important;
  align-items:center!important;
  gap:12px!important;
  margin:0!important;
  flex-wrap:wrap!important;
}
.profile-avatar-socials .social-icon-link{
  margin:0!important;
}

@media(max-width:760px){
  .profile-avatar-socials{margin-top:16px!important}
  .profile-avatar-socials .profile-mini-label{margin-bottom:8px!important}
  .profile-avatar-socials .profile-socials{gap:10px!important}
}

@media(max-width:430px){
  .profile-avatar-socials{margin-top:14px!important}
  .profile-avatar-socials .profile-socials{gap:8px!important}
}

/* V35 account dropdown typography */
.menu .menu-name,
.menu .menu-user,
.menu a,
.menu button,
.mobile-account-summary strong,
.mobile-account-summary span,
.mobile-account-links a,
.mobile-account-links button{
  font-weight:400!important;
}

/* =========================================================
   V36 PROFILE BADGE STACK
   Admin is rendered above Beta. Both artwork files use the exact same dimensions.
   ========================================================= */
.profile-badge-stack-side .profile-badge-image img{
  width:98px!important;
  height:33px!important;
  max-width:98px!important;
  object-fit:fill!important;
  display:block!important;
  margin:0!important;
}
@media(max-width:900px){
  .profile-badge-stack-side .profile-badge-image img{width:88px!important;height:29px!important;max-width:88px!important}
}
@media(max-width:760px){
  .profile-badge-stack-side .profile-badge-image img{width:72px!important;height:24px!important;max-width:72px!important}
}
@media(max-width:430px){
  .profile-badge-stack-side .profile-badge-image img{width:62px!important;height:21px!important;max-width:62px!important}
}
