.mqpm{display:grid;gap:18px;min-width:0}.mqpm-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:8px 0}.mqpm-heading h2{font-size:24px;margin:5px 0 0}.mqpm-eyebrow{font-size:10px;letter-spacing:2px;font-weight:650;color:#999}.mqpm-actions{display:flex;align-items:center;gap:10px}.mqpm-about{position:relative;font-size:12px;color:#bbb}.mqpm-about summary{cursor:pointer;list-style:none;padding:10px 12px;border:1px solid #303034;border-radius:7px;background:#18181b}.mqpm-about summary:focus-visible,.mqpm-rating:focus-visible{outline:2px solid #ef665f;outline-offset:3px}.mqpm-about>div{position:absolute;z-index:15;right:0;top:calc(100% + 8px);width:310px;max-width:calc(100vw - 40px);padding:18px;background:#202024;border:1px solid #3b3b40;border-radius:10px;box-shadow:0 14px 36px #0009;color:#ccc;line-height:1.6}.mqpm-about>div b{color:#fff}.mqpm-about p{margin:8px 0}.mqpm-about small{color:#aaa}.mqpm-best{display:flex;align-items:center;flex-wrap:wrap;gap:18px;padding:14px 18px;border:1px solid #a080423b;border-radius:10px;background:linear-gradient(110deg,#b58b2915,transparent)}.mqpm-best>span{font-size:10px;letter-spacing:1px;color:#d1b36e;font-weight:650}.mqpm-best>div{display:flex;align-items:center;gap:16px}.mqpm-best strong{font-size:20px;color:#69d5aa}.mqpm .mq-stat-panel{margin:0;overflow:visible;border-color:#ffffff14}.mqpm .mq-stat-team-header{padding:18px 22px;border-bottom:1px solid #ffffff12;background:linear-gradient(110deg,#ffffff04,transparent);border-radius:10px 10px 0 0}.mqpm .is-winner .mq-stat-team-header{background:linear-gradient(110deg,#3ebd9510,transparent)}.mqpm .mq-stat-team-result{font-size:30px}.mqpm .mq-stat-team-header h3{font-size:17px}.mqpm .mq-stat-team-header small{font-size:9px;letter-spacing:1.2px}.mqpm .mq-stat-table{font-size:12px;width:100%;min-width:1060px}.mqpm .mq-stat-table th,.mqpm .mq-stat-table td{padding:13px 10px;white-space:nowrap}.mqpm .mq-stat-table th:first-child{min-width:195px}.mqpm .mq-stat-player img{width:30px;height:30px}.mqpm .mq-stat-player b{font-size:12px}.mqpm .mq-stat-table tbody tr{transition:background .15s}.mqpm .mq-stat-table tbody tr:hover{background:#ffffff04}.mqpm .mq-stat-table .is-match-best{background:#b5943910}.mqpm .mq-level-value{display:inline-flex;align-items:center;gap:6px}.mqpm .mq-level-icon{width:24px;height:28px}.mqpm-rating-cell{position:relative}.mqpm-rating{position:relative;display:inline-flex;flex-direction:column;align-items:stretch;gap:5px;min-width:46px;padding:5px 7px;border:0;border-radius:5px;background:#ffffff08;color:#d8d8dc;font:inherit;cursor:help}.mqpm-rating.is-good{color:#70daa8;background:#39bd8a13}.mqpm-rating.is-low{color:#ff787b;background:#ef5e6714}.mqpm-rating i{height:2px;display:block;background:#ffffff14;border-radius:2px;overflow:hidden}.mqpm-rating i:after{content:"";display:block;width:var(--rating-fill);height:100%;background:currentColor;transition:width .3s}.mqpm-star{margin-left:6px;color:#e8b75a;font-size:15px}.mqpm .mq-stat-scroll{padding-bottom:8px}.mqpm .mq-stat-table tbody tr:last-child th,.mqpm .mq-stat-table tbody tr:last-child td{border-bottom:0}@media(max-width:767px){.mqpm-heading{align-items:flex-start;flex-direction:column}.mqpm-heading h2{font-size:20px}.mqpm-actions{width:100%;justify-content:space-between}.mqpm-about>div{left:0;right:auto}.mqpm .mq-stat-team-header{padding:14px}.mqpm .mq-stat-table th:first-child{min-width:155px;position:sticky;left:0;z-index:2;background:#17171a}.mqpm-best{padding:12px;gap:10px}.mqpm .mq-stat-team-average{font-size:12px}.mqpm .mq-stat-table{min-width:1000px}}

#mq2 .mqpm .mq-stat-table th,#mq2 .mqpm .mq-stat-table td{padding:9px 10px;font-size:12px}
#mq2 .mqpm-rating{min-height:30px;padding:4px 6px;line-height:1.25;margin:0}
#mq2 .mqpm .mq-stat-player{min-height:30px;gap:9px}
#mq2 .mqpm .mq-stat-player .mq2-avatar{width:30px;height:30px;min-width:30px;font-size:10px}
#mq2 .mqpm .mq-stat-team-header{padding:15px 20px}

/* Best-performance marker belongs to the player identity, not a numeric column. */
.mqpm-avatar{position:relative;display:inline-flex;flex:0 0 auto;align-items:center}
.mqpm-avatar-star{position:absolute;right:-4px;bottom:-4px;display:grid;place-items:center;width:16px;height:16px;border:2px solid #171719;border-radius:50%;background:#e8b75a;color:#211809;font-size:10px;line-height:1;box-shadow:0 2px 5px #0005}
/* Keep the wide table inside its own horizontal viewport, including in grid parents. */
#mq2 .mqpm{grid-template-columns:minmax(0,1fr);min-width:0;max-width:100%}
#mq2 .mqpm-team{min-width:0;max-width:100%;box-sizing:border-box}
#mq2 .mqpm .mq-stat-scroll{width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow-x:auto;overscroll-behavior-x:contain;contain:inline-size;-webkit-overflow-scrolling:touch}
@media(max-width:767px){
 #mq2 .mqpm .mq-stat-team-header{padding:14px;gap:10px}
 #mq2 .mqpm .mq-stat-team-header h3{font-size:16px;overflow-wrap:anywhere}
 #mq2 .mqpm .mq-stat-team-average{margin-left:auto;flex-shrink:0;font-size:12px}
 #mq2 .mqpm-actions{min-width:0;gap:8px}
 #mq2 .mqpm-actions>*{min-width:0}
 #mq2 .mqpm-best>div{min-width:0;max-width:100%}
 #mq2 .mqpm .mq-stat-table th:first-child{min-width:155px;max-width:180px}
 #mq2 .mqpm .mq-stat-player b{overflow:hidden;text-overflow:ellipsis;max-width:130px}
}
