/* Leviathan profile layout v2. Keep the identity card near the search and remove repeated overview chrome. */
.profile-page.profile-has-player .hub-hero{padding:34px 0 22px!important;min-height:0!important}
.profile-page.profile-has-player .hub-hero h1{max-width:780px;margin:0!important;font-size:clamp(30px,4.2vw,50px)!important;line-height:.96!important}
.profile-page.profile-has-player .hub-hero>.shell>p:not(.hub-kicker){display:none!important}
.profile-page.profile-has-player .hub-hero .hub-note{display:none!important}
.profile-page.profile-has-player .hub-hero .hub-kicker{margin-bottom:7px!important}
.profile-page.profile-has-player .hub-hero .hub-search{margin-top:15px!important;max-width:760px}
.profile-page.profile-has-player #preview{padding-top:24px!important}
.profile-page.profile-has-player #preview>.shell>.hub-section-head{display:none!important}
.profile-page .ecosystem-rail,.profile-page .uf-cta{display:none!important}

.plv2-profile{grid-template-columns:minmax(250px,310px) minmax(0,1fr)!important;max-width:1120px!important;margin:0 auto!important;align-items:stretch}
.plv2-profile .pn-avatar{min-height:0!important;padding:18px 18px 20px!important;justify-content:flex-start!important;align-items:center!important;background:radial-gradient(300px 250px at 50% 30%,rgba(52,151,187,.16),transparent 72%),linear-gradient(180deg,#061822,#02090e)!important}
.plv2-profile .pn-avatar-stage{min-height:340px!important;height:340px!important;align-content:start!important;padding-top:4px!important}
.plv2-profile .pn-avatar-img{max-height:330px!important}
.plv2-profile .pc-skin-canvas{max-width:100%!important;max-height:340px!important}
.plv2-profile .pn-avatar-tools{margin-top:6px!important}
.plv2-profile .pn-cache-pill{margin-top:10px!important}
.plv2-profile .pn-info{padding:20px 22px 24px!important}
.plv2-profile .pn-title-row{align-items:center!important;margin-top:6px!important}
.plv2-profile .pn-title-row h2{font-size:clamp(34px,4.5vw,58px)!important;line-height:.95!important}
.plv2-profile .pn-uuid{margin-top:6px!important}

/* NameMC-inspired rank/social clarity, using Leviathan's own account data and design. */
.plv2-profile .lvt-profile-identity{margin:9px 0 2px!important;gap:7px!important}
.plv2-profile .lvt-profile-identity .lvt-service,.plv2-profile .lvt-profile-identity .lvt-account-rank{min-height:25px;padding:0 9px;border-radius:999px;text-decoration:none}
.plv2-profile .lvt-profile-identity .lvt-service{display:inline-flex;align-items:center;gap:5px;border:1px solid rgba(106,214,237,.12);background:rgba(76,186,214,.035);color:#a6d9e1;font-size:8px;font-weight:850}
.plv2-profile .lvt-profile-identity .lvt-service i{display:grid;place-items:center;width:14px;height:14px;border-radius:50%;background:rgba(95,219,171,.13);color:#83e5bd;font-style:normal;font-size:8px}
.plv2-profile .lvt-profile-identity .lvt-service.unverified{opacity:.58;border-style:dashed}
.plv2-profile .lvt-account-rank{min-height:27px!important;padding:0 10px!important;font-size:8px!important;box-shadow:0 8px 24px rgba(0,0,0,.15)}

.plv2-bio{margin:11px 0 8px;padding:11px 12px;border:1px solid rgba(123,222,241,.07);border-radius:11px;background:rgba(255,255,255,.009)}
.plv2-bio-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
.plv2-bio-head>span{color:#6db9c8;font-size:7px;font-weight:950;letter-spacing:.14em}
.plv2-bio-head small{color:#506b78;font-size:7px}
.plv2-bio-head button,.plv2-bio-actions button{min-height:26px;padding:0 9px;border:1px solid rgba(113,216,237,.1);border-radius:7px;background:rgba(96,220,244,.025);color:#83c8d4;font-size:7px;font-weight:850;cursor:pointer}
.plv2-bio p{margin:0;color:#9bb2bc;font-size:9px;line-height:1.6}
.plv2-bio textarea{width:100%;resize:vertical;min-height:84px;padding:10px;border:1px solid rgba(128,220,239,.09);border-radius:8px;background:#050d13;color:#d9eef2;outline:0;font:500 9px/1.55 inherit}
.plv2-bio textarea:focus{border-color:rgba(101,216,239,.22);box-shadow:0 0 0 3px rgba(83,205,231,.035)}
.plv2-bio-actions{display:flex;align-items:center;gap:6px;margin-top:7px;flex-wrap:wrap}.plv2-bio-actions small{color:#68818c;font-size:7px}

.plv2-profile .prl-profile-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin:12px 0 10px!important}
.plv2-profile .prl-profile-facts>div{grid-template-columns:102px minmax(0,1fr)!important;min-height:42px;padding:8px 10px!important;background:linear-gradient(145deg,rgba(10,23,32,.94),rgba(5,13,19,.98))!important;border-color:rgba(139,225,243,.065)!important}
.plv2-profile .prl-profile-facts span{color:#627b89!important}
.plv2-profile .prl-profile-facts b,.plv2-profile .prl-profile-facts code{color:#d8edf1!important}

/* Laby-style badge visibility, but badges are Leviathan-defined and observation-backed. */
.plv2-badges{margin:12px 0 10px;padding:11px 12px;border:1px solid rgba(123,222,241,.07);border-radius:11px;background:linear-gradient(145deg,rgba(7,20,29,.82),rgba(3,11,17,.9))}
.plv2-badges-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.plv2-badges-head span{color:#6db9c8;font-size:7px;font-weight:950;letter-spacing:.14em}
.plv2-badges-head small{color:#48616e;font-size:7px}
.plv2-badge-row{display:flex;flex-wrap:wrap;gap:6px}
.plv2-badge{display:inline-flex;align-items:center;gap:6px;min-height:29px;padding:4px 9px 4px 5px;border:1px solid rgba(119,214,233,.09);border-radius:9px;background:rgba(255,255,255,.012);color:#b9dbe0;font-size:8px;font-weight:850;cursor:help}
.plv2-badge i{display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:rgba(90,198,220,.08);color:#7fd3e2;font-style:normal;font-size:6px;font-weight:950;letter-spacing:.04em}
.plv2-badge.badge-cape-wearer i,.plv2-badge.badge-cape-collector i{background:rgba(125,134,224,.11);color:#b7bdff}
.plv2-badge.badge-known-profile i{background:rgba(237,186,84,.10);color:#f3d18b}
.plv2-badge.badge-name-history i{background:rgba(113,213,166,.09);color:#9be5c4}

.plv2-profile-tools{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin:8px 0 0!important}
.plv2-profile-tools .mini-action{min-height:31px!important;padding:0 10px!important;font-size:7px!important}
.plv2-claim{margin:10px 0 0!important;padding:10px 11px!important;border-radius:10px!important;grid-template-columns:minmax(0,1fr) auto!important}
.plv2-claim small{font-size:6px!important}.plv2-claim b{font-size:10px!important}.plv2-claim span{font-size:7px!important;line-height:1.4!important}.plv2-claim .pn-claim-button{min-height:32px!important;padding:0 10px!important;font-size:7px!important}
.plv2-observed-note{margin:8px 0 0!important;padding:9px 10px!important;font-size:7px!important;line-height:1.45!important}

.plv2-profile .pn-tabs{margin:12px 0 0!important;padding:4px!important;border:1px solid rgba(255,255,255,.055)!important;border-radius:9px!important;background:#071018!important}
.plv2-profile .pn-tab{padding:7px 11px!important;font-size:7px!important}
.plv2-profile .pn-pane{margin-top:8px!important;padding-top:10px!important}
.plv2-profile .prl-compact-collection{margin-top:0!important;padding-top:0!important;border-top:0!important}

.plv2-profile .lvt-profile-actions{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0}
.plv2-profile .lvt-profile-actions button{min-height:31px;padding:0 10px;border:1px solid rgba(120,216,235,.08);border-radius:8px;background:rgba(255,255,255,.012);color:#809aa6;font-size:7px;font-weight:850;cursor:pointer}
.plv2-profile .lvt-profile-actions button:hover,.plv2-profile .lvt-profile-actions button.active{color:#c6eef4;border-color:rgba(96,220,244,.17);background:rgba(96,220,244,.035)}
.plv2-profile .lvt-login-note{margin-top:7px!important;font-size:7px!important;line-height:1.45!important}

@media(max-width:860px){
  .plv2-profile{grid-template-columns:1fr!important}
  .plv2-profile .pn-avatar{border-right:0!important;border-bottom:1px solid rgba(255,255,255,.05)!important}
  .plv2-profile .pn-avatar-stage{height:300px!important;min-height:300px!important}
  .plv2-profile .pc-skin-canvas,.plv2-profile .pn-avatar-img{max-height:295px!important}
}
@media(max-width:620px){
  .profile-page.profile-has-player .hub-hero{padding:24px 0 16px!important}
  .profile-page.profile-has-player .hub-hero h1{font-size:30px!important}
  .plv2-profile .pn-info{padding:16px!important}
  .plv2-profile .prl-profile-facts{grid-template-columns:1fr!important}
  .plv2-profile .prl-profile-facts>div{grid-template-columns:96px minmax(0,1fr)!important}
  .plv2-badges-head,.plv2-bio-head{align-items:flex-start;flex-direction:column;gap:3px}
  .plv2-claim{grid-template-columns:1fr!important}
}
@media(prefers-reduced-motion:reduce){.plv2-profile *{scroll-behavior:auto!important}}
