/* The captured room_sum layout is 850 x 620 with a 1.74 / 1.85 vertical ratio. */
#match-summary-dialog{width:min(850px,calc(var(--logical-w,100vw) - 24px),calc((var(--logical-h,100dvh) - 22px) * 1.4578));max-width:none;max-height:none;padding:0;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none;color:#cce4de}
#match-summary-dialog::backdrop{background:transparent;backdrop-filter:none}
.match-summary-stage{position:relative;width:100%;aspect-ratio:850/583.135135;container-type:inline-size;font-family:"Microsoft YaHei",sans-serif;user-select:none;isolation:isolate}
.match-summary-stage *{box-sizing:border-box}
.match-summary-heading{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.match-summary-stage>.match-summary-panel,.match-summary-stage>.match-summary-title,.match-summary-stage>.match-summary-avatar,.match-summary-stage>.match-summary-spotlight-name,.match-summary-stage>.match-summary-spotlight-badge,.match-summary-stage>.match-summary-score,.match-summary-stage>.match-summary-even-note{position:absolute;pointer-events:none}
.match-summary-panel{z-index:-1}
.match-summary-art{display:block;width:100%;height:100%;overflow:hidden;pointer-events:none}
.match-summary-title{z-index:1}
.match-summary-avatar{display:block;position:relative;flex:none;overflow:hidden;border-radius:6%;background:#123d32}
.match-summary-avatar>.match-summary-art,.match-summary-avatar>.match-summary-avatar-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.match-summary-avatar>.match-summary-avatar-photo{inset:3%;width:94%;height:94%}
.match-summary-spotlight-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:22px;font-size:2.588235cqw;line-height:1.15;color:#c3ded7}
.match-summary-score{display:block;font:28px/1.05 Arial,sans-serif;font-size:3.294118cqw;text-align:center;white-space:nowrap}
.match-summary-score.positive{color:#ec5d52}.match-summary-score.negative{color:#36cf54}.match-summary-score.even{color:#e9dc83}
.match-summary-even-note{font-size:24px;font-size:2.82353cqw;line-height:1.2;text-align:center;color:#c7e5db}
.match-summary-ranking{position:absolute;margin:0;padding:0;list-style:none;display:grid;grid-template-rows:repeat(4,1fr);gap:2.45%;overflow:hidden}
.match-summary-row{min-width:0;min-height:0;display:grid;grid-template-columns:13.3333% 6.6667% minmax(0,1fr) 24%;align-items:center;column-gap:2.4%;padding:0 7.9% 0 0;background:#29684f;border-radius:1.2% / 10%;color:#c8e5db}
.match-summary-rank{display:block;width:40%;height:72%;justify-self:center;pointer-events:none}
.match-summary-row>.match-summary-avatar{width:100%;aspect-ratio:1;overflow:hidden}
.match-summary-player{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:22px;font-size:2.588235cqw;line-height:1.2;font-weight:400}
.match-summary-row>.match-summary-score{font-size:30px;font-size:3.529412cqw;line-height:1.2}
.match-summary-return{position:absolute;display:block;min-width:0;min-height:0;padding:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:pointer;touch-action:manipulation;transition:none;overflow:visible}
.match-summary-return:hover,.match-summary-return:active{background:transparent;transform:none;filter:brightness(1.07)}
.match-summary-return:disabled{opacity:.65;cursor:default;filter:none}
.match-summary-return-label{position:absolute;left:12.8%;top:13.97%;width:74.4%;height:72.06%;pointer-events:none}
.match-summary-return:focus-visible,.match-summary-review:focus-visible{outline:2px solid #fff0a2;outline-offset:3px}
.match-summary-review-actions{position:absolute;left:0;right:0;top:0;display:flex;justify-content:space-between;pointer-events:none}
.match-summary-review{min-width:76px;min-height:30px;padding:.55em .85em;margin:0;border:1px solid #3b9279;border-radius:6px;background:#064b3f;color:#d6eee6;font-size:16px;font-size:1.882353cqw;line-height:1.15;cursor:pointer;pointer-events:auto;touch-action:manipulation;transition:none}
.match-summary-review:hover{background:#0c5a49;transform:none}
