.arena-layout{display:grid;grid-template-columns:340px minmax(0,1fr);gap:28px;max-width:1280px;margin:auto;align-items:start}.arena-layout .ranked-panel{width:100%;max-width:none;margin:0}.rank-rail{border:1px solid #33415b;background:linear-gradient(150deg,#14243d,#0a1122);border-radius:18px;overflow:hidden;box-shadow:0 20px 70px #02071466}.rank-rail>header{display:flex;justify-content:space-between;align-items:center;padding:24px 22px 16px}.rank-rail h3{font-size:30px;margin:4px 0;letter-spacing:3px}.rank-rail .eyebrow{font-size:10px}.rank-rail>p{padding:0 20px}.rail-me{margin:0 16px 20px;padding:20px;border:1px solid #57e2ee66;border-radius:12px;background:radial-gradient(at right top,#26798b55,transparent 80%)}.my-rank-number{font-size:30px;font-weight:900;margin:8px 0;color:#87f5ff;letter-spacing:1px}.rail-me .tier-emblem{width:42px;height:42px}.rail-me>small{display:block;color:#a2b2c9;margin-top:8px}.rail-columns{display:flex;justify-content:space-between;padding:12px 20px;background:#ffffff06;font-size:11px;color:#a2b2c9}.rail-player{display:flex;align-items:center;gap:12px;padding:13px 18px;border-bottom:1px solid #ffffff09}.rail-player.is-me{background:#57e2ee12;border-left:3px solid #67edfa;padding-left:15px}.rank-number{font-size:15px;color:#8c9bb3;font-weight:800;width:25px;flex-shrink:0}.rail-player:nth-child(-n+3) .rank-number{color:#f4d684}.rail-identity{flex:1;min-width:0}.rail-identity small{display:block;color:#7f91b1;font-size:10px;margin-top:5px}.rail-rating{display:flex;align-items:center;gap:6px}.rail-rating img{width:32px;height:32px;object-fit:contain}.rail-rating b{font-size:13px;font-variant-numeric:tabular-nums}.player-link{border:0!important;background:none!important;color:inherit!important;padding:0!important;text-align:left;font:inherit;font-weight:700;cursor:pointer;overflow-wrap:anywhere}.player-link:hover{color:#7ceaff!important;text-decoration:underline}.player-link:focus-visible{outline:2px solid #7ceaff;outline-offset:4px}#rail-list{max-height:640px;overflow:auto;scrollbar-width:thin}.profile-dialog{width:min(760px,94vw);max-height:88vh;border:1px solid #57708b;border-radius:20px;background:#0d172a;color:#f0f4fc;padding:28px;box-shadow:0 30px 120px #000b}.profile-dialog::backdrop{background:#020818bf;backdrop-filter:blur(8px)}.profile-dialog>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.profile-dialog>header button{border-radius:50%;width:36px;height:36px;padding:0}.profile-hero{display:flex;gap:24px;align-items:center;margin:20px 0 28px}.profile-hero h2{margin:5px 0 10px;font-size:30px;overflow-wrap:anywhere}.profile-avatar{width:108px;height:108px;flex-shrink:0;display:grid;place-items:center;background:linear-gradient(135deg,#284367,#302653);border:1px solid #65dcf277;border-radius:20px;font-size:58px;overflow:hidden}.profile-avatar .player-image{width:100%;height:100%;object-fit:cover}.profile-code{display:block;font-size:10px;color:#7f91b1;margin-top:10px;overflow-wrap:anywhere}.profile-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#273851;border:1px solid #273851;border-radius:12px;overflow:hidden;margin-bottom:22px}.profile-stats>div{padding:18px 8px;background:#111e33;text-align:center}.profile-stats b{display:block;font-size:23px;color:#d4f5fc}.profile-stats span{font-size:11px;color:#98aac2}.profile-record-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:30px}.profile-record-heading h3{font-size:17px}.profile-record{display:flex;gap:14px;align-items:center;border-top:1px solid #25324a;padding:15px 0}.profile-record>div:nth-child(2){flex:1;min-width:0}.profile-record b{display:block;overflow-wrap:anywhere}.profile-record small{display:block;font-size:10px;color:#8ea2c0;margin-top:6px}.profile-record>strong{text-align:right;font-size:19px;font-variant-numeric:tabular-nums}.record-art{width:48px;height:48px;display:grid;place-items:center;background:#243756;color:#8de8f0;border-radius:8px;overflow:hidden;flex-shrink:0}.record-art img{width:100%;height:100%;object-fit:cover}#profile-edit{margin-top:20px}#profile-name{flex:1;min-width:100px}#profile-more{width:100%;margin-top:12px}.social-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}.social-heading h2{margin:8px 0}.social-heading h3{margin:8px 0;font-size:24px}.social-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.social-grid>.box{margin:0;min-width:0}.social-person{display:flex;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid #ffffff0b}.social-person>div:nth-child(2){flex:1;min-width:0}.social-person small{display:block;color:#91a4c3;font-size:11px;margin-top:6px}.social-avatar{height:44px;width:44px;display:grid;place-items:center;flex-shrink:0;overflow:hidden;border:1px solid #49617b;border-radius:10px;background:#1a3048;font-size:26px}.social-avatar .player-image{width:100%;height:100%;object-fit:cover}.social-person-actions{display:flex;gap:5px}.social-person-actions button{padding:7px 10px;font-size:12px}.social-list{margin-top:20px}.room-public{margin-top:24px}.room-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 0;border-bottom:1px solid #ffffff12}.room-row small{display:block;margin-top:7px;color:#92a8c6}.room-row b{font-size:17px;overflow-wrap:anywhere}#room-create-form input,#room-create-form select{width:100%}#room-create-form label{display:block;margin:16px 0 8px}#room-notice{color:#f6ce88;margin:12px 0}.lobby-players{display:grid;grid-template-columns:1fr 50px 1fr;align-items:center;gap:25px;margin:28px 0}.lobby-players article{padding:24px;border:1px solid #4a708c;border-radius:15px;background:linear-gradient(145deg,#203650,#151e36);min-height:145px}.lobby-players article:last-child{border-color:#8067a5;background:linear-gradient(145deg,#302749,#151e36)}.lobby-players .social-person{border:0;padding:0;margin-bottom:16px}.lobby-vs{text-align:center;font-size:24px;font-weight:900;color:#829bbd}.lobby-empty{text-align:center;font-size:48px}.lobby-empty small{display:block;font-size:12px;color:#8b9eb8}.lobby-maps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:30px}.lobby-maps>div{border:1px solid #344560;border-radius:10px;overflow:hidden;background:#152339}.lobby-maps img,.lobby-maps>div>span{width:100%;height:100px;object-fit:cover;display:grid;place-items:center;font-size:40px;background:linear-gradient(145deg,#23536c,#302850);color:#84d8ed}.lobby-maps b,.lobby-maps small{display:block;padding:8px 10px 0;overflow-wrap:anywhere}.lobby-maps small{font-size:10px;color:#8fa9ca;padding-bottom:10px}.site-nav{flex-wrap:wrap}.social-grid .row input{min-width:100px;flex:1}
@media(max-width:950px){.arena-layout{grid-template-columns:280px minmax(0,1fr);gap:16px}.arena-layout .ranked-panel{padding:24px}.social-grid{grid-template-columns:1fr}.lobby-players{gap:10px}.lobby-players article{padding:15px}.lobby-maps{gap:8px}}
@media(max-width:700px){.arena-layout{grid-template-columns:1fr}.rank-rail{order:2}.arena-layout .ranked-panel{order:1}#rail-list{max-height:360px}.social-heading{align-items:flex-start}.profile-dialog{padding:18px}.profile-hero{gap:15px}.profile-avatar{width:72px;height:72px;font-size:40px}.profile-hero h2{font-size:23px}.profile-stats b{font-size:18px}.profile-record-heading{display:block}.profile-record{gap:8px}.profile-record>strong{font-size:15px}.profile-record b{font-size:13px}.lobby-players{grid-template-columns:1fr}.lobby-vs{font-size:16px}.lobby-maps{grid-template-columns:repeat(3,1fr)}.site-header{flex-wrap:wrap}.site-nav button{padding:8px;font-size:12px}.social-person-actions{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.profile-dialog,.rank-rail{animation:none!important}}
