/* Leviathan profile dashboard v3. Three-column identity layout based on the approved profile mockups. */
.plv2-profile.pdv3-profile{
  grid-template-columns:minmax(260px,320px) minmax(0,1fr)!important;
  max-width:1220px!important;
  overflow:visible!important;
  border:1px solid rgba(91,204,241,.10)!important;
  border-radius:18px!important;
  background:linear-gradient(145deg,rgba(5,23,35,.985),rgba(2,12,20,.995))!important;
  box-shadow:0 34px 90px rgba(0,8,15,.34),inset 0 1px rgba(255,255,255,.025)!important;
}

/* Header identity strip */
.pdv3-profile .lvt-profile-header-card{
  min-height:118px;
  border-radius:17px 17px 0 0;
  border-bottom-color:rgba(91,204,241,.11);
  background:
    radial-gradient(520px 180px at 12% 0%,rgba(25,151,220,.12),transparent 72%),
    radial-gradient(460px 170px at 92% 16%,rgba(66,92,255,.08),transparent 72%),
    linear-gradient(145deg,rgba(7,34,50,.99),rgba(3,17,27,.995));
}
.pdv3-profile .lvt-profile-header-main{position:relative;padding:20px 22px 21px 22px}
.pdv3-profile .lvt-profile-header-socials{padding:20px 22px}
.pdv3-profile .lvt-profile-header-name h2{font-size:clamp(32px,3.4vw,46px)!important}
.pdv3-profile .lvt-profile-header-kicker{color:#54c8ec;font-size:7px;letter-spacing:.17em}
.pdv3-profile .lvt-profile-header-uuid{max-width:520px;color:#6c909e}
.pdv3-profile .pdv3-header-actions{position:absolute;top:17px;right:18px;display:flex;align-items:center;gap:7px;z-index:12}
.pdv3-profile .pdv3-header-edit{
  display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:0 11px;
  border:1px solid rgba(75,188,244,.22);border-radius:8px;
  background:linear-gradient(145deg,rgba(26,121,187,.22),rgba(7,35,54,.9));
  color:#d9f5ff;font-size:8px;font-weight:850;cursor:pointer;
  box-shadow:inset 0 1px rgba(255,255,255,.035),0 8px 22px rgba(0,0,0,.14);
  transition:transform .15s ease,border-color .15s ease,background .15s ease;
}
.pdv3-profile .pdv3-header-edit svg{width:13px;height:13px;fill:currentColor}
.pdv3-profile .pdv3-header-edit:hover,.pdv3-profile .pdv3-header-edit:focus-visible{transform:translateY(-1px);border-color:rgba(92,213,255,.42);background:linear-gradient(145deg,rgba(32,145,220,.3),rgba(7,42,64,.96));outline:none}
.pdv3-profile .pn-info>.lvt-owner-edit{display:none!important}

/* Left player viewer */
.pdv3-profile .pn-avatar{
  grid-column:1!important;
  padding:16px 16px 18px!important;
  border-right:1px solid rgba(91,204,241,.08)!important;
  border-bottom:0!important;
  background:
    radial-gradient(320px 280px at 50% 26%,rgba(30,160,216,.18),transparent 68%),
    linear-gradient(180deg,#061824 0%,#031019 100%)!important;
}
.pdv3-profile .pn-avatar-stage{
  position:relative;
  height:372px!important;min-height:372px!important;padding:8px!important;
  border:1px solid rgba(100,214,245,.09);border-radius:13px;
  background:
    radial-gradient(220px 250px at 50% 42%,rgba(35,179,230,.10),transparent 72%),
    linear-gradient(180deg,rgba(3,18,28,.62),rgba(1,10,16,.82));
  box-shadow:inset 0 1px rgba(255,255,255,.025),0 20px 50px rgba(0,0,0,.16);
  overflow:hidden;
}
.pdv3-profile .pn-avatar-stage:before{
  content:"";position:absolute;inset:auto 12% 14px;height:48px;border-radius:50%;
  background:radial-gradient(ellipse,rgba(47,193,244,.17),transparent 70%);filter:blur(5px);pointer-events:none;
}
.pdv3-profile .pn-avatar-img{max-height:350px!important;position:relative;z-index:1}
.pdv3-profile .pc-skin-canvas{max-height:355px!important;position:relative;z-index:1}
.pdv3-profile .pn-avatar-tools{width:100%;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px!important;margin-top:9px!important}
.pdv3-profile .pn-avatar-tools .mini-action{justify-content:center;min-height:34px!important;border-radius:8px!important;background:rgba(5,27,41,.76)!important;border-color:rgba(89,207,243,.10)!important;color:#a9ccd7!important;font-size:7px!important}
.pdv3-profile .pn-avatar-tools .mini-action:hover{border-color:rgba(83,213,255,.28)!important;color:#e8fbff!important;background:rgba(14,67,95,.38)!important}
.pdv3-profile .pn-cache-pill{width:100%;justify-content:center;min-height:29px;margin-top:8px!important;border-radius:8px!important;background:rgba(4,22,33,.58)!important;color:#698d99!important;font-size:7px!important}

/* Middle + right dashboard inside pn-info. Together with the player viewer this becomes a true three-column layout. */
.pdv3-profile .pn-info{
  grid-column:2!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.18fr) minmax(250px,.82fr)!important;
  gap:12px!important;
  align-content:start!important;
  padding:14px!important;
  background:
    radial-gradient(520px 300px at 18% 0%,rgba(33,139,191,.055),transparent 72%),
    linear-gradient(180deg,rgba(5,22,33,.97),rgba(3,15,24,.99))!important;
}
.pdv3-main-column,.pdv3-side-column{min-width:0;display:flex;flex-direction:column;gap:10px}
.pdv3-main-column{grid-column:1}
.pdv3-side-column{grid-column:2}
.pdv3-profile .pdv3-main-column>.plv2-bio,
.pdv3-profile .pdv3-main-column>.plv2-badges,
.pdv3-profile .pdv3-main-column>.pn-actions,
.pdv3-profile .pdv3-main-column>.pn-external-links,
.pdv3-profile .pdv3-main-column>.lvt-profile-actions,
.pdv3-profile .pdv3-main-column>.pn-claim,
.pdv3-profile .pdv3-main-column>.plv2-observed-note,
.pdv3-profile .pdv3-main-column>.pn-note,
.pdv3-profile .pdv3-main-column>.lvt-profile-settings,
.pdv3-profile .pdv3-main-column>.lvt-login-note{margin:0!important}

/* Main identity cards */
.pdv3-profile .plv2-bio,.pdv3-profile .plv2-badges,.pdv3-facts-card,.pdv3-name-card{
  border:1px solid rgba(91,204,241,.09)!important;border-radius:12px!important;
  background:linear-gradient(145deg,rgba(7,31,46,.82),rgba(3,17,26,.94))!important;
  box-shadow:inset 0 1px rgba(255,255,255,.018),0 14px 32px rgba(0,0,0,.10);
}
.pdv3-profile .plv2-bio,.pdv3-profile .plv2-badges{padding:12px!important}
.pdv3-profile .plv2-bio p{color:#a9c0c8;font-size:9px;line-height:1.65}
.pdv3-profile .plv2-badges-head{margin-bottom:9px}
.pdv3-profile .plv2-badge{background:rgba(255,255,255,.014);border-color:rgba(103,211,241,.10)}
.pdv3-profile .lvt-profile-actions{padding:9px;border:1px solid rgba(91,204,241,.08);border-radius:11px;background:rgba(4,22,33,.55)}
.pdv3-profile .lvt-profile-actions button{flex:1 1 92px;justify-content:center;min-height:34px!important;border-radius:8px!important;font-size:8px!important}
.pdv3-profile .plv2-profile-tools{padding:8px;border:1px solid rgba(91,204,241,.07);border-radius:10px;background:rgba(3,18,28,.46)}
.pdv3-profile .plv2-profile-tools .mini-action{flex:1 1 auto;justify-content:center;min-height:32px!important}
.pdv3-profile .pn-external-links{padding:8px!important;border:1px solid rgba(91,204,241,.07)!important;border-radius:10px!important;background:rgba(3,18,28,.42)!important}

/* Right facts column */
.pdv3-facts-card{padding:12px}
.pdv3-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}
.pdv3-card-head span{color:#58c5df;font-size:7px;font-weight:950;letter-spacing:.15em;text-transform:uppercase}
.pdv3-card-head small{color:#557681;font-size:7px}
.pdv3-profile .pdv3-facts-card .prl-profile-facts{display:grid!important;grid-template-columns:1fr!important;gap:0!important;margin:0!important}
.pdv3-profile .pdv3-facts-card .prl-profile-facts>div{
  display:grid!important;grid-template-columns:96px minmax(0,1fr)!important;gap:8px!important;
  min-height:36px!important;padding:7px 2px!important;border:0!important;border-bottom:1px solid rgba(91,204,241,.055)!important;border-radius:0!important;background:transparent!important;
}
.pdv3-profile .pdv3-facts-card .prl-profile-facts>div:last-child{border-bottom:0!important}
.pdv3-profile .pdv3-facts-card .prl-profile-facts span{font-size:7px!important;color:#688894!important}
.pdv3-profile .pdv3-facts-card .prl-profile-facts b,.pdv3-profile .pdv3-facts-card .prl-profile-facts code{overflow:hidden;color:#d5ebf0!important;font-size:8px!important;text-overflow:ellipsis;white-space:nowrap}

.pdv3-name-card{padding:12px}
.pdv3-name-list{display:flex;flex-direction:column}
.pdv3-name-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;min-height:40px;padding:7px 2px;border-bottom:1px solid rgba(91,204,241,.055)}
.pdv3-name-row:last-child{border-bottom:0}
.pdv3-name-row b{overflow:hidden;color:#d7edf2;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.pdv3-name-row small{color:#5f7f8c;font-size:7px;white-space:nowrap}
.pdv3-name-more{display:flex;align-items:center;justify-content:center;min-height:31px;margin-top:9px;border:1px solid rgba(83,203,242,.11);border-radius:8px;background:rgba(14,65,91,.18);color:#8ed5e5;font-size:7px;font-weight:850;cursor:pointer}
.pdv3-name-more:hover{border-color:rgba(83,213,255,.27);color:#e6fbff;background:rgba(18,91,127,.24)}

/* Keep utility popovers/settings within the dashboard instead of becoming stray grid cells. */
.pdv3-profile .pn-info>.lvt-profile-alert-wrap{position:absolute!important;right:14px;top:14px;z-index:30}
.pdv3-profile .pn-info>.pn-eyebrow,.pdv3-profile .pn-info>.pn-title-row,.pdv3-profile .pn-info>.lvt-profile-identity{display:none!important}

/* Full-width history / skins / capes area */
.pdv3-lower{
  grid-column:1/-1;
  min-width:0;
  padding:14px 16px 18px;
  border-top:1px solid rgba(91,204,241,.09);
  background:
    radial-gradient(760px 220px at 14% 0%,rgba(20,133,188,.055),transparent 74%),
    linear-gradient(180deg,rgba(4,19,29,.94),rgba(2,13,20,.98));
}
.pdv3-lower>.pn-tabs{margin:0!important;padding:5px!important;border:1px solid rgba(85,204,242,.09)!important;border-radius:10px!important;background:#06131d!important}
.pdv3-lower>.pn-tabs .pn-tab{min-height:32px;padding:0 13px!important;border-radius:7px!important;font-size:8px!important}
.pdv3-lower>.pn-pane{margin-top:12px!important;padding:0!important;border-top:0!important}
.pdv3-lower .pc-collection-head,.pdv3-lower [data-name-history-head]{margin-bottom:10px!important}

/* Claim and technical notes are visually secondary. */
.pdv3-profile .plv2-claim{border-color:rgba(91,204,241,.09)!important;background:linear-gradient(145deg,rgba(7,32,47,.76),rgba(3,18,28,.9))!important}
.pdv3-profile .plv2-observed-note{border:1px solid rgba(91,204,241,.055)!important;border-radius:9px!important;background:rgba(3,18,27,.35)!important;color:#607d88!important}

/* Real flag assets must remain image flags on Windows. Do not fall back to regional indicator letters such as DK. */
.pdv3-profile .lvt-country-chip .lvt-country-flag{width:20px!important;height:15px!important;object-fit:cover!important;border-radius:2px!important;box-shadow:0 0 0 1px rgba(255,255,255,.10);font-size:0!important}

@media(max-width:1060px){
  .pdv3-profile .pn-info{grid-template-columns:minmax(0,1fr) minmax(220px,.72fr)!important}
  .pdv3-profile .pdv3-facts-card .prl-profile-facts>div{grid-template-columns:82px minmax(0,1fr)!important}
}
@media(max-width:900px){
  .plv2-profile.pdv3-profile{grid-template-columns:1fr!important}
  .pdv3-profile .pn-avatar{grid-column:1!important;border-right:0!important;border-bottom:1px solid rgba(91,204,241,.08)!important}
  .pdv3-profile .pn-avatar-stage{height:330px!important;min-height:330px!important}
  .pdv3-profile .pn-avatar-img,.pdv3-profile .pc-skin-canvas{max-height:315px!important}
  .pdv3-profile .pn-info{grid-column:1!important}
}
@media(max-width:700px){
  .pdv3-profile .pn-info{grid-template-columns:1fr!important}
  .pdv3-main-column,.pdv3-side-column{grid-column:1}
  .pdv3-side-column{margin-top:0}
  .pdv3-profile .lvt-profile-header-card{grid-template-columns:1fr}
  .pdv3-profile .lvt-profile-header-main{padding-right:138px}
  .pdv3-profile .lvt-profile-header-socials{border-left:0;border-top:1px solid rgba(91,204,241,.08)}
}
@media(max-width:520px){
  .plv2-profile.pdv3-profile{border-radius:12px!important}
  .pdv3-profile .lvt-profile-header-card{border-radius:11px 11px 0 0}
  .pdv3-profile .lvt-profile-header-main{padding:16px 16px 64px}
  .pdv3-profile .lvt-profile-header-socials{padding:15px 16px}
  .pdv3-profile .pdv3-header-actions{left:16px;right:auto;top:auto;bottom:15px}
  .pdv3-profile .pn-info{padding:10px!important;gap:10px!important}
  .pdv3-lower{padding:11px 10px 15px}
  .pdv3-profile .pn-avatar{padding:11px!important}
  .pdv3-profile .pn-avatar-stage{height:300px!important;min-height:300px!important}
  .pdv3-profile .pn-avatar-img,.pdv3-profile .pc-skin-canvas{max-height:290px!important}
}
@media(prefers-reduced-motion:reduce){.pdv3-profile .pdv3-header-edit{transition:none!important}}

/* 2026-10-04 readable name history. */
.pdv3-profile .pdv3-name-card{opacity:1!important}
.pdv3-profile .pdv3-name-row{opacity:1!important}
.pdv3-profile .pdv3-name-row b{color:#e9f8fb!important;font-size:10px!important;font-weight:850!important}
.pdv3-profile .pdv3-name-row small{color:#9bb9c3!important;font-size:8.5px!important}
.pdv3-profile .pdv3-name-card .pdv3-card-head small{color:#90afba!important}
