/* Account & DC profile bridge — both navigation layouts, desktop and phone. */
/* Site settings remain a separate, persistent rightmost control. */
#gtt-accounts.gtt-accounts-anchor{gap:0!important;isolation:isolate}
#gtt-accounts .gtt-accounts-button {
  min-height:40px;border-radius:13px;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
#gtt-accounts .gtt-accounts-button:hover,
#gtt-accounts .gtt-accounts-button[aria-expanded="true"]{
  background:linear-gradient(140deg,rgba(61,127,195,.42),rgba(28,61,112,.4))!important;
  border-color:rgba(156,213,255,.56)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.16),0 7px 22px rgba(4,17,40,.26);
}
#gtt-accounts .gtt-accounts-panel {
  width:min(316px,calc(100vw - 24px));padding:12px!important;
  border:1px solid rgba(152,204,248,.3)!important;border-radius:17px!important;
  background:linear-gradient(155deg,rgba(20,49,83,.98),rgba(7,21,40,.99))!important;
  box-shadow:0 24px 65px rgba(0,6,20,.54),inset 0 1px rgba(255,255,255,.12);
  backdrop-filter:blur(24px);
  animation:gtt-account-menu-in .18s cubic-bezier(.2,.75,.2,1) both;
}
@keyframes gtt-account-menu-in{from{opacity:0;transform:translateY(-7px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
.gtt-account-menu-head{display:flex;flex-direction:column;gap:4px;padding:10px 10px 13px;border-bottom:1px solid rgba(162,207,240,.16)}
.gtt-account-menu-head .gtt-accounts-heading{font-size:16px;font-weight:800;color:#f2f9ff}
.gtt-account-menu-head small{font-size:11px;color:#92b7d9;text-transform:capitalize}
.gtt-account-menu-links{display:grid;gap:3px;padding:9px 0}
.gtt-account-menu-links>button{
  display:flex;align-items:center;gap:11px;width:100%;min-height:42px;padding:9px 11px;
  border:1px solid transparent;border-radius:10px;background:transparent;color:#e5f4ff;
  font-size:12px;font-weight:750;text-align:left;transition:background .16s,border-color .16s,transform .16s;
}
.gtt-account-menu-links>button>span{display:grid;place-items:center;width:23px;height:23px;font-size:18px;color:#95cbfb}
.gtt-account-menu-links>button:hover,.gtt-account-menu-links>button:focus-visible{
  border-color:rgba(115,191,255,.23);background:rgba(86,150,212,.18);transform:translateX(2px)
}
.gtt-account-more{border-top:1px solid rgba(145,195,232,.15);border-bottom:1px solid rgba(145,195,232,.15);margin:3px 0}
.gtt-account-more summary{padding:12px 10px;cursor:pointer;font-size:12px;font-weight:750;color:#b9d6ee;list-style:none}
.gtt-account-more summary::after{content:"⌄";float:right;color:#95c5e8;transition:transform .2s}
.gtt-account-more[open] summary::after{transform:rotate(180deg)}
.gtt-account-more summary::-webkit-details-marker{display:none}
.gtt-account-more-body{padding:0 10px 12px}
.gtt-account-more-body .gtt-accounts-section{flex-wrap:wrap;gap:4px}
.gtt-account-export{display:block;color:#bde6ff!important;font-size:12px;font-weight:700;margin:10px 0}
.gtt-account-delete{background:transparent!important;border:none!important;padding:6px 0!important;color:#f2aeb5!important;font-size:11px!important}
.gtt-account-logout{display:block;width:100%;margin-top:8px;min-height:38px;border-radius:10px;
  border:1px solid rgba(145,191,231,.18);background:rgba(106,153,204,.09);color:#c1daec;font-size:12px;font-weight:700}
.gtt-account-logout:hover{background:rgba(105,166,225,.19)}
.gtt-accounts-button:focus-visible,.gtt-account-menu-links button:focus-visible,
.gtt-account-more summary:focus-visible{outline:2px solid #87d4ff;outline-offset:2px}
/* Public DC→full profile link sits below, not over, the crowded rank header. */
#modal-root .v5-profile-crosslink{
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
  margin:0 24px 10px;padding:11px 15px;
  border:1px solid rgba(148,204,245,.24);border-radius:12px;
  background:linear-gradient(125deg,rgba(35,89,143,.3),rgba(9,31,58,.38));
  color:#b7d4ec;font-size:12px;
}
#modal-root .v5-profile-crosslink button{
  min-height:35px;padding:8px 12px;border:1px solid rgba(130,197,245,.35);
  border-radius:9px;background:rgba(61,125,190,.22);color:#d9f2ff;font-size:11px;font-weight:800;
  white-space:nowrap;transition:background .16s,transform .16s;
}
#modal-root .v5-profile-crosslink button:hover{
  background:rgba(81,156,217,.4);transform:translateY(-1px)
}
@media(max-width:740px){
  #gtt-accounts .gtt-accounts-button{width:40px!important;min-width:40px!important;padding:6px!important}
  #gtt-accounts .gtt-accounts-panel{right:0!important;max-height:min(78dvh,620px);overflow:auto}
  #modal-root .v5-profile-crosslink{margin:0 10px 10px;padding:10px;align-items:flex-start}
  #modal-root .v5-profile-crosslink span{flex-basis:100%;font-size:11px}
}
@media(max-width:600px){
  .gph-hero{flex-wrap:wrap}
  .gph-hero-copy{flex:1 1 calc(100% - 105px)}
  .gph-hero .gph-appearance-shortcut{order:4;min-height:35px}
  .gph-hero .gph-close{order:2}
}
@media(prefers-reduced-motion:reduce){
  #gtt-accounts .gtt-accounts-panel{animation:none}
  #gtt-accounts .gtt-accounts-button,.gtt-account-menu-links>button,
  #modal-root .v5-profile-crosslink button{transition:none}
}

/* Public identity banner: ribbon flags are deliberately ultra-wide 7200×600
   artwork, and belong on the full hero rather than a tiny inline IMG. */
.gph-dialog .gph-hero.gph-hero-with-flag{
  background-image:linear-gradient(95deg,rgba(5,22,42,.40),rgba(5,25,48,.48) 46%,rgba(5,21,41,.83) 100%),var(--gph-banner-flag)!important;
  background-size:100% 100%,100% 100%!important;background-repeat:no-repeat;
  border-bottom-color:rgba(188,220,251,.31)!important;
}
.gph-dialog .gph-hero.gph-hero-with-flag .gph-eyebrow{color:#b9e0ff}
.gph-dialog .gph-hero.gph-hero-with-flag .gph-hero-copy{
  text-shadow:0 1px 12px rgba(3,10,25,.7);
}
.gph-dialog .gph-hero h2{gap:7px}
.gph-dialog .gph-flag{object-fit:contain;width:30px;height:19px;max-width:none}
/* Overview is achievement-driven: no empty statistics or unlabeled badge grid. */
.gph-dialog .gph-overview-legacy,.gph-dialog .gph-overview-dc,.gph-dialog .gph-overview-secondary{
  background:linear-gradient(145deg,rgba(31,71,112,.26),rgba(8,28,52,.48));
  padding:22px 24px;border-color:rgba(136,190,238,.23)
}
.gph-dialog .gph-overview-metrics{grid-template-columns:repeat(auto-fit,minmax(168px,1fr));gap:11px;margin:17px 0}
.gph-dialog .gph-overview-metrics .gph-number{min-height:77px;border-radius:12px;
  background:linear-gradient(135deg,rgba(31,68,106,.7),rgba(6,24,45,.52))}
.gph-dialog .gph-overview-metrics .gph-number .gph-icon{width:39px;height:39px;image-rendering:pixelated}
.gph-dialog .gph-overview-honors{margin:15px 0 0;gap:10px}
.gph-dialog .gph-overview-honor{padding:13px;min-height:72px}
.gph-dialog .gph-overview-honor small{font-size:10px;color:#94b6d8}
.gph-dialog .gph-overview-award-list{display:flex;flex-wrap:wrap;gap:9px;margin-top:13px}
.gph-dialog .gph-overview-world{display:flex;align-items:center;gap:9px;min-width:0;
  background:rgba(53,98,143,.18);border:1px solid rgba(128,189,240,.16);
  border-radius:9px;padding:7px 12px;color:#d9ebfa;font-size:11px}
.gph-dialog .gph-overview-world .gph-icon{width:22px;height:22px}
.gph-dialog .gph-overview-world b{font-weight:750}
.gph-dialog .gph-overview-breakdown{gap:9px}
.gph-dialog .gph-dc-breakdown-row{
  display:flex;align-items:center;justify-content:flex-start;min-width:0;gap:10px;
  min-height:54px;padding:9px 13px;text-align:left;
  background:rgba(34,78,123,.27);border:1px solid rgba(145,193,234,.2);
  border-radius:11px;color:#e9f4ff;transition:background .16s,border-color .16s,transform .16s
}
.gph-dialog .gph-dc-breakdown-row:hover{
  background:rgba(55,112,171,.34);border-color:rgba(146,205,249,.48);transform:translateY(-1px)
}
.gph-dialog .gph-dc-breakdown-row:focus-visible{outline:2px solid #98d9ff;outline-offset:2px}
.gph-dialog .gph-dc-art{display:block;width:35px;height:35px;flex:0 0 35px;
  object-fit:contain;image-rendering:pixelated}
.gph-dialog .gph-dc-breakdown-name{font-size:12px;font-weight:800;min-width:0;flex:1}
.gph-dialog .gph-dc-breakdown-count{color:#a1c7e4;font-size:11px;text-align:right;white-space:nowrap}
.gph-dialog .gph-overview-other{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
.gph-dialog .gph-overview-nodata{padding:17px 20px;border-radius:12px;
  background:rgba(37,79,118,.22);color:#b2d0e7;font-size:12px}
.gph-dialog .gph-overview-nodata p{margin:0 0 12px;line-height:1.6}
/* Separate public Player Explorer, account, search and rightmost website Settings. */
.gtt-players-shortcut{display:flex;align-items:center;justify-content:center;gap:7px;
  height:38px;min-width:38px;padding:7px 11px;
  border:1px solid rgba(161,211,252,.28);border-radius:11px;
  background:rgba(46,100,160,.2);color:#d9f0ff;white-space:nowrap;font-size:12px;
  font-weight:750;cursor:pointer;transition:background .18s,border-color .18s}
.gtt-players-shortcut:hover{background:rgba(78,142,208,.36);border-color:rgba(160,212,251,.56)}
.gtt-players-shortcut:focus-visible{outline:2px solid #8acfff;outline-offset:2px}
.gtt-players-shortcut img{width:21px;height:21px;object-fit:contain;image-rendering:pixelated}
.gtt-accounts-anchor{order:1}
#wb2-shell .gtt-players-shortcut{height:38px;background:rgba(61,105,163,.15)}
#wb2-shell .gtt-accounts-anchor{margin:0}
#wb2-shell .wb2-action-settings{order:9!important}
#gtt-shell-dock .v178-settings-wrap{order:9!important}
#gtt-shell-dock .gtt-players-shortcut{order:0}
#wb2-shell .gtt-players-shortcut{order:0}
.gtt-account-menu-links>button{min-height:43px}
@media(max-width:900px){
  .gtt-players-shortcut{width:38px;padding:5px}
  .gtt-players-shortcut span{display:none}
}
@media(max-width:700px){
  .gph-dialog .gph-overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gph-dialog .gph-overview-breakdown{grid-template-columns:1fr}
  .gph-dialog .gph-overview-dc,.gph-dialog .gph-overview-legacy{padding:15px}
  .gph-dialog .gph-dc-breakdown-count{white-space:normal}
  .gph-dialog .gph-dc-art{width:30px;height:30px;flex-basis:30px}
  .gph-dialog .gph-overview-award-list{flex-direction:column}
}
@media(max-width:390px){
  .gph-dialog .gph-overview-metrics .gph-number{min-height:65px;padding:9px;gap:7px}
  .gph-dialog .gph-overview-metrics .gph-number .gph-icon{width:29px;height:29px}
}
@media(prefers-reduced-motion:reduce){
  .gtt-players-shortcut,.gph-dialog .gph-dc-breakdown-row{transition:none!important}
}

.gph-dialog .gph-library-intro{margin-bottom:18px!important}
.gph-dialog .gph-library-sync{
 display:flex;align-items:center;gap:12px;margin-top:15px;padding:13px 16px;
 border:1px solid rgba(133,207,249,.2);border-radius:11px;
 background:rgba(36,96,139,.19)}
.gph-dialog .gph-library-sync-dot{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:#68c9ee;
 box-shadow:0 0 12px rgba(89,209,244,.38)}
.gph-dialog .gph-library-sync>div{display:grid;gap:5px}
.gph-dialog .gph-library-sync b{font-size:12px;color:#dff6ff}
.gph-dialog .gph-library-sync small{font-size:11px;color:#9fc4df}
.gph-dialog .gph-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:14px 0 23px!important}
.gph-dialog .gph-library-card{
 display:flex;align-items:flex-start;gap:14px;min-width:0;padding:18px;
 background:linear-gradient(135deg,rgba(26,74,121,.34),rgba(12,38,68,.44));
 border:1px solid rgba(135,191,236,.22);border-radius:13px}
.gph-dialog .gph-library-card .gph-icon{width:38px;height:38px;flex:0 0 38px}
.gph-dialog .gph-library-card h4{font-size:14px;font-weight:800;margin:1px 0 5px;color:#e7f6ff}
.gph-dialog .gph-library-card p{font-size:12px;line-height:1.55;color:#b3d1e9;margin:0 0 7px}
.gph-dialog .gph-library-card small{color:#91b7d4;font-size:10px;line-height:1.45}
.gph-dialog .gph-library-manage>details{padding:15px 17px;border:1px solid rgba(133,187,226,.19);
 border-radius:12px;background:rgba(24,59,99,.21)}
.gph-dialog .gph-library-manage summary{cursor:pointer;color:#b8ddf5;font-size:12px;font-weight:750}
.gph-dialog .gph-library-manage details>p{font-size:11px;color:#9cb8d1;line-height:1.6}
.gph-dialog .gph-library-manage .gph-switch{display:flex;align-items:flex-start;gap:8px;padding:10px 0;font-size:12px;color:#c6def3}
.gph-dialog .gph-library-manage .gph-appearance-actions{align-items:center;margin-top:15px}
.gph-dialog .gph-library-manage .gph-appearance-actions a{font-size:12px;color:#bce5ff}
#gtt-accounts .gtt-accounts-person{display:grid;place-items:center}
#gtt-accounts .gtt-accounts-person svg{width:20px;height:20px;display:block}
@media(max-width:640px){
 .gph-dialog .gph-library-grid{grid-template-columns:1fr}
 .gph-dialog .gph-library-card{padding:14px}
 .gph-dialog .gph-library-card .gph-icon{width:32px;height:32px;flex-basis:32px}
}
@media(min-width:1100px){
 #wb2-shell .gtt-accounts-button:not(.gtt-is-signed-in){width:auto;max-width:98px;padding:7px 11px}
 #wb2-shell .gtt-accounts-button:not(.gtt-is-signed-in) span:last-child{display:inline!important}
}
@media(min-width:741px){
 #gtt-shell-dock .gtt-accounts-button:not(.gtt-is-signed-in){width:auto;max-width:98px;padding:7px 11px}
 #gtt-shell-dock .gtt-accounts-button:not(.gtt-is-signed-in) span:last-child{display:inline!important}
}
