.profile-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
.chess-stats-heading,.chess-stats-card-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.chess-stats-heading h3{margin:0;color:#efdcaa}.chess-stats-heading p{margin:6px 0;color:#bfd2c4;font-size:13px}
.chess-stats-scopes{display:flex;gap:8px}.chess-stats-scopes button{padding:9px 15px;font-size:14px}.chess-stats-scopes [aria-pressed=true]{background:#d9c58c;color:#143e34;border-color:#efdaa1}
.chess-stats-total{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:20px 0;padding:18px;background:#0e302c;border:1px solid #b49c6270;border-radius:14px}.chess-stats-total dt{font-size:13px;color:#bed3c6}.chess-stats-total dd{font-size:25px;color:#f5dea0;margin:7px 0 0;font-variant-numeric:tabular-nums}
.chess-specialty{color:#bbd6c5;font-size:14px}.chess-specialty strong{color:#f5dca5}.chess-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.chess-stats-card{padding:18px;border:1px solid #ad9a6577;border-radius:14px;background:linear-gradient(140deg,#254e40,#103c33)}.chess-stats-card.current-kind{border-color:#e3c575;box-shadow:inset 3px 0 #e3c575}.chess-stats-card-head{justify-content:initial;gap:12px}.chess-stats-card-head img{object-fit:cover;border-radius:10px}.chess-stats-card h4{font-size:19px;color:#f5e4b1;margin:0 0 4px}.chess-skill{margin-left:auto;text-align:right;white-space:nowrap}.chess-skill small{display:block;color:#b7cec1;font-size:11px}.chess-skill strong{color:#f1d7a0;font-size:21px;font-variant-numeric:tabular-nums}.chess-current,.chess-skilled{display:inline-block;font-size:11px;margin-right:6px;color:#9cd7c2}.chess-skilled{color:#e6d596}
.chess-stats-card dl{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:18px 0 0}.chess-stats-card dt{color:#b8cfc2;font-size:11px;white-space:nowrap}.chess-stats-card dd{margin:5px 0 0;font-size:17px;color:#f0e1b3;font-variant-numeric:tabular-nums}.chess-empty{font-size:12px;color:#afc5b7;margin:14px 0 0}.chess-stats-note{font-size:12px;line-height:1.65;color:#b9cbbb}
.chess-stats-modal{width:min(780px,calc(100vw - 24px));box-sizing:border-box;max-height:91dvh;padding:0;border:1px solid #cdb376;border-radius:18px;background:#173f36;color:#eee1b8;box-shadow:0 24px 80px #0008}.chess-stats-modal::backdrop{background:#031913b3;backdrop-filter:blur(3px)}.chess-stats-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:0;background:#143a32;padding:15px 20px;z-index:2;border-bottom:1px solid #c9b17050}.chess-stats-modal h2{margin:0;font-size:22px}.chess-stats-modal-head button{white-space:nowrap;padding:9px 14px}.chess-stats-identity{display:block;font-size:12px;margin-top:5px;color:#b7cabc}.chess-stats-live{position:sticky;top:81px;margin:0;padding:10px 20px;background:#254e3a;color:#f4daa0;font-size:13px;z-index:1;font-variant-numeric:tabular-nums}.chess-stats-modal-body{padding:20px}.seat-disc[data-player-stats]{cursor:pointer}.seat-disc[data-player-stats]:focus-visible{outline:3px solid #ffdc85;outline-offset:4px}.seat-disc[data-player-stats]:hover{filter:brightness(1.12)}
@media(max-width:600px){.profile-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.chess-stats-heading{align-items:flex-start;flex-direction:column}.chess-stats-grid{grid-template-columns:1fr}.chess-stats-total{gap:5px;padding:14px 10px}.chess-stats-total dt{font-size:11px}.chess-stats-total dd{font-size:20px}.chess-stats-card{padding:15px}.chess-stats-modal-body{padding:14px}.chess-stats-modal-head{padding:13px 14px}.chess-stats-modal h2{font-size:18px}.chess-stats-modal-head button{font-size:13px}.chess-stats-live{padding:10px 14px;top:74px}}

.chess-stats-modal-head{flex-wrap:wrap}.chess-stats-modal-head>div{flex:1;min-width:0}.chess-stats-modal-head h2{overflow-wrap:anywhere}.chess-stats-live{position:static;flex-basis:100%;padding:8px 10px;border-radius:8px;line-height:1.5}
