.score-dialog{width:min(calc(100% - 20px),510px);max-height:min(86dvh,720px);margin:auto;padding:16px;border:2px solid #d5dfc9;border-radius:24px;background:#fffaf0;color:#43573e;box-shadow:0 16px 60px #3f514343;overflow:auto}
.score-dialog::backdrop{background:#46564766;backdrop-filter:blur(3px)}
.score-head,.score-scopes,.score-pages{display:flex;align-items:center;gap:8px}
.score-head{justify-content:space-between;margin-bottom:8px}.score-head h2{font-size:clamp(25px,6vw,32px);margin:0}
.score-dialog button{font:inherit;color:#445a40;cursor:pointer}.score-close,.score-pages button{min-width:48px;min-height:48px;border:0;border-radius:16px;background:#efeedd;font-size:25px}
.score-scopes{background:#f2efda;border-radius:16px;padding:3px}.score-scopes button{flex:1;min-height:44px;background:transparent;border:0;border-radius:13px;font-weight:750}.score-scopes [aria-pressed="true"]{background:#d9e9ce}
.score-games{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:10px 0}.score-game{display:grid;justify-items:center;align-content:center;gap:2px;min-height:54px;border:2px solid transparent;border-radius:14px;background:#f4f1e9;font-size:12px;line-height:1.1}.score-game[aria-pressed="true"]{background:#f5e4cd;border-color:#cba977}.score-glyph{font-size:21px}
.score-list{list-style:none;margin:0;padding:0}.score-row{display:grid;grid-template-columns:26px 62px minmax(0,1fr) auto;align-items:center;gap:6px;padding:5px 0;border-bottom:1px solid #e6e4d4}
.score-rank{display:grid;place-items:center;min-height:24px;border-radius:50%;background:#ecebdc;font-size:13px}.score-row[data-rank="1"] .score-rank{background:#f3da94}.score-row[data-rank="2"] .score-rank{background:#dce1dd}.score-row[data-rank="3"] .score-rank{background:#e6c9b3}
.score-who{display:grid;gap:1px;min-width:0}.score-who strong,.score-who small{overflow-wrap:anywhere}.score-who small{color:#61715c;font-size:12px}.score-value{font-size:clamp(14px,3.4vw,18px);color:#635b3a;font-variant-numeric:tabular-nums}
.score-message{text-align:center;font-size:15px;margin:20px 6px}.score-pages{justify-content:center;margin-top:10px}.score-pages button:disabled{opacity:.45;cursor:default}
@media(max-height:470px){.score-dialog{max-height:94dvh;padding:10px 16px}}
