.player-row{cursor:pointer;transition:background .18s ease}
.footer-bottom a{color:#d8e4f0;text-decoration:none}.footer-bottom a:hover{color:var(--gold)}
.hero-live{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;margin-top:22px;color:#a9bfd1;font-size:11px;font-weight:800;letter-spacing:.09em}
.hero-live>span{display:flex;align-items:center;gap:7px}.hero-live strong{color:var(--white);font-size:15px;letter-spacing:0}
.hero-live a{color:var(--gold);text-decoration:none;letter-spacing:0;text-transform:none}.hero-live a:hover{color:var(--white)}
.live-dot{width:8px;height:8px;display:inline-block;flex:0 0 auto;border-radius:50%;background:#8995a2}.live-dot.online{background:#41d88a;box-shadow:0 0 10px #41d88a88}
.player-row:hover{background:#17263a}
.player-row:hover .player-chevron,.player-open:focus-visible .player-chevron{color:var(--gold);transform:translate(2px,-2px)}
.player-open{width:100%;padding:0;border:0;background:none;color:inherit;text-align:left}
.player-open:hover{color:var(--gold)}
.player-chevron{margin-left:auto;color:#748aa2;font-size:18px;font-weight:500;transition:color .18s,transform .18s}
.dialog-open{overflow:hidden}
.player-dialog{width:min(880px,calc(100vw - 30px));max-height:min(850px,calc(100dvh - 30px));padding:0;border:1px solid #536b84;background:#0e1725;color:var(--white);box-shadow:0 24px 90px #01060dcc;overflow:auto}
.player-dialog::backdrop{background:#030913d9;backdrop-filter:blur(5px)}
.player-dialog[open]{animation:profile-enter .22s ease-out both}
.profile-topbar{min-height:49px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 25px;border-bottom:1px solid #31445b;background:#0a1321;color:#a8b9c9;font-size:10px;font-weight:900;letter-spacing:.18em}
.profile-topbar b{padding:0 8px;color:var(--gold)}
.profile-topbar button{height:35px;display:flex;align-items:center;gap:13px;padding:0 3px;border:0;background:none;color:#c7d4df;font-size:10px;font-weight:900;letter-spacing:.16em}
.profile-topbar button:hover{color:var(--gold)}
.profile-topbar button span{font-size:25px;font-weight:400;line-height:1}
.profile-hero{position:relative;isolation:isolate;overflow:hidden;min-height:185px;display:flex;align-items:center;gap:25px;padding:27px 36px;border-bottom:1px solid #3b5570;background:linear-gradient(120deg,#1a3a58,#13273e 58%,#101b2c)}
.profile-hero:before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(#678ca411 1px,transparent 1px),linear-gradient(90deg,#678ca411 1px,transparent 1px);background-size:32px 32px}
.profile-avatar{width:104px;height:104px;flex:0 0 auto;display:grid;place-items:center;border:1px solid #74849a;background:#0a1421;box-shadow:7px 7px 0 #0b1727}
.profile-avatar img{width:86px;height:86px;object-fit:contain;image-rendering:pixelated}
.profile-identity{min-width:0;position:relative;z-index:1}
.profile-identity p{margin:0 0 8px;color:var(--gold);font-size:10px;font-weight:900;letter-spacing:.2em}
.profile-identity h2{margin:0;overflow-wrap:anywhere;font-size:clamp(35px,5vw,62px);font-weight:900;line-height:.96;letter-spacing:-.045em}
.profile-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px}
.profile-meta span{padding:7px 10px;border:1px solid #60788f;background:#102034;color:#d1dce5;font-size:10px;font-weight:800;letter-spacing:.09em}
.profile-crest{position:absolute;right:27px;top:9px;color:#e9f3fc0d;font-size:190px;font-weight:900;font-style:italic;line-height:1;pointer-events:none}
.profile-crest span{color:#e6c56317}
.profile-content{padding:26px 35px 36px}
.profile-summary{display:grid;grid-template-columns:120px 120px 1fr;align-items:center;gap:15px;padding-bottom:24px;border-bottom:1px solid #304158}
.profile-summary>div{display:flex;flex-direction:column;gap:4px}
.profile-summary small{color:#91a7bd;font-size:9px;font-weight:900;letter-spacing:.13em}
.profile-summary strong{font-size:26px;font-weight:900;letter-spacing:-.03em}
.profile-summary p{max-width:320px;margin:0 0 0 auto;color:#adbdcb;font-size:13px;line-height:1.45}
.profile-section-heading{display:flex;justify-content:space-between;gap:15px;margin:22px 0 15px;color:var(--gold);font-size:10px;font-weight:900;letter-spacing:.18em}
.profile-section-heading span:last-child{color:#7f97ad}
.profile-status{min-height:90px;display:grid;place-items:center;margin:0;color:#adc1d2;font-size:14px;text-align:center}
.profile-status[hidden]{display:none}
.profile-mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.profile-mode-card{min-height:76px;display:flex;align-items:center;gap:14px;padding:12px 15px;border:1px solid #3a526a;background:#14263a;transition:border-color .18s,background .18s}
.profile-mode-card:hover{border-color:#b7a35b;background:#1a3048}
.profile-mode-card.untested{border-color:#27384b;background:#101c2b}
.profile-mode-icon{width:50px;height:50px;flex:0 0 auto;display:grid;place-items:center;border:1px solid #526a81;background:#0a1726}
.profile-item-sprites{position:relative;width:42px;height:42px;display:grid;place-items:center}
.profile-item-sprites img{width:39px;height:39px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 3px 2px #0009)}
.profile-item-sprites.paired img{position:absolute;width:31px;height:31px}
.profile-item-sprites.paired img:first-child{left:0;top:0;z-index:1}
.profile-item-sprites.paired img:last-child{right:0;bottom:0}
.mode-tab{justify-content:flex-start!important;gap:9px!important}
.mode-tab-item{position:relative;width:30px;height:30px;flex:0 0 auto;display:grid;place-items:center}
.mode-tab-item img{width:28px;height:28px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 2px 1px #0009)}
.mode-tab-item.paired img{position:absolute;width:23px;height:23px}
.mode-tab-item.paired img:first-child{left:0;top:0;z-index:1}
.mode-tab-item.paired img:last-child{right:0;bottom:0}
.mode-tab-label{white-space:nowrap}
.mode-tab .mode-index{margin-left:auto}
.profile-mode-card.untested .profile-mode-icon{opacity:.55}
.profile-mode-copy{min-width:0;display:flex;flex-direction:column;gap:4px}
.profile-mode-copy small{color:#7892aa;font-size:9px;font-weight:900;letter-spacing:.16em}
.profile-mode-copy strong{overflow:hidden;color:#edf3f9;font-size:15px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}
.profile-tier{min-width:64px;margin-left:auto;padding:8px 9px;border:1px solid #506074;background:#182b3e;color:#9caebf;text-align:center;font-size:11px;font-weight:900;letter-spacing:.07em;white-space:nowrap}
.profile-tier.high{border-color:#c4a754;background:#3a321f;color:#f5d880}
.profile-tier.low{border-color:#3a90c5;background:#15324d;color:#9fd4f4}
@keyframes profile-enter{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:650px){.player-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.profile-topbar{padding-inline:16px}.profile-hero{gap:15px;min-height:145px;padding:20px}.profile-avatar{width:74px;height:74px}.profile-avatar img{width:62px;height:62px}.profile-identity h2{font-size:clamp(27px,7vw,42px)}.profile-crest{font-size:125px;right:10px}.profile-content{padding:19px 18px 24px}.profile-summary{grid-template-columns:1fr 1fr;gap:16px}.profile-summary p{grid-column:1/-1;margin:0;max-width:none}.profile-mode-grid{grid-template-columns:1fr}.profile-mode-card{min-height:67px}.profile-mode-icon{width:43px;height:43px}.profile-item-sprites{width:38px;height:38px}.profile-item-sprites img{width:34px;height:34px}.profile-item-sprites.paired img{width:28px;height:28px}}
@media(max-width:600px){
  .player-dialog{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0}
  .profile-topbar{position:sticky;top:0;z-index:5;min-height:56px;padding:0 max(14px,env(safe-area-inset-left));background:#091321f5;backdrop-filter:blur(8px)}
  .profile-topbar>span{overflow:hidden;font-size:9px;letter-spacing:.12em;text-overflow:ellipsis;white-space:nowrap}.profile-topbar button{min-width:74px;justify-content:flex-end}
  .profile-hero{align-items:flex-start;gap:13px;min-height:137px;padding:20px 16px}
  .profile-avatar{width:68px;height:68px}.profile-avatar img{width:57px;height:57px}
  .profile-identity p{margin-bottom:7px;font-size:8px;letter-spacing:.15em}.profile-identity h2{font-size:clamp(25px,8vw,38px);line-height:1}
  .profile-meta{gap:5px;margin-top:10px}.profile-meta span{padding:5px 7px;font-size:8px;letter-spacing:.05em}
  .profile-crest{top:21px;right:5px;font-size:105px}
  .profile-content{padding:18px 14px calc(26px + env(safe-area-inset-bottom))}
  .profile-summary{grid-template-columns:1fr 1fr;gap:13px;padding-bottom:18px}.profile-summary strong{font-size:23px}.profile-summary p{font-size:12px}
  .profile-section-heading{margin:18px 0 11px;font-size:9px}
  .profile-mode-grid{gap:7px}.profile-mode-card{min-height:64px;gap:10px;padding:9px 10px}.profile-mode-icon{width:42px;height:42px}
  .profile-mode-copy small{font-size:8px}.profile-mode-copy strong{font-size:13px}.profile-tier{min-width:57px;padding:7px 6px;font-size:10px}
}
@media(max-width:360px){
  .profile-avatar{width:58px;height:58px}.profile-avatar img{width:49px;height:49px}.profile-identity h2{font-size:24px}.profile-meta span{font-size:7px}.profile-crest{display:none}
  .profile-mode-icon{width:38px;height:38px}.profile-item-sprites{transform:scale(.88)}.profile-tier{min-width:52px}
}
@media(prefers-reduced-motion:reduce){.player-dialog[open]{animation:none}.player-row,.player-chevron,.profile-mode-card{transition:none}}
