/* Player pages: clear results and readable rows at every viewport. */
.player-queue.arena-queue{display:block;max-width:760px;padding:36px 40px;margin:30px auto 0}
.player-queue .queue-heading{display:flex;align-items:center;gap:14px;margin-bottom:22px}
.player-queue .queue-symbol{display:grid;place-items:center;width:48px;height:48px;border:1px solid #3de8c62e;border-radius:14px;background:#3de8c609;color:var(--mint)}
.player-queue .queue-symbol .icon{width:26px;height:26px}
.player-queue h1{font-size:32px;line-height:1.35;margin:0}
.player-queue>p{margin:16px 0 0;font-size:14px;line-height:1.85;color:var(--muted)}
.player-queue>.page-actions{margin-top:26px}
.player-queue .arena-mini-steps{justify-content:flex-start;gap:24px;margin:28px 0 0;padding-top:24px;border-top:1px solid var(--line)}
.rating-number .score-unit{font-family:var(--f-kr),sans-serif;font-size:16px;font-weight:600;letter-spacing:0;color:var(--muted);margin-left:10px}
.player-progress-card{display:flex;flex-direction:column}
.player-progress-card>.subtle{font-size:13px;line-height:1.85}
.player-progress-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:26px}
.daily-match-status{padding-top:30px}
.daily-match-status>strong{font-size:23px;letter-spacing:-.035em;line-height:1.5}
.daily-match-status>p{font-size:13px;line-height:1.85;color:var(--muted);margin-top:14px}
.match-records{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#12151e}
.match-record{display:grid;grid-template-columns:minmax(0,1fr) 230px auto;gap:28px;align-items:center;padding:16px 24px}
.match-record+.match-record{border-top:1px solid var(--line)}
.match-record-heading{display:flex;align-items:center;gap:14px;flex-wrap:wrap;min-width:0}
.match-record-heading h2{font-size:15px;font-weight:650;letter-spacing:-.02em;overflow-wrap:anywhere}
.match-record-stats{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0}
.match-record-stats dt{font-size:11px;color:var(--muted);line-height:1.5}
.match-record-stats dd{font-size:14px;font-weight:650;margin:4px 0 0;font-variant-numeric:tabular-nums;line-height:1.5}
.match-record-stats .score-gain{color:var(--mint)}
.match-record-link{min-height:44px;white-space:nowrap}
.match-result-strip{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 26px;margin-bottom:20px;background:#12151e;border:1px solid var(--line);border-radius:18px}
.match-result-strip.is-win{background:linear-gradient(100deg,#17332e,#12151e);border-color:#3de8c635}
.match-result-caption{display:block;font-size:11px;color:var(--muted);margin-bottom:5px}
.match-result-strip strong{font-size:27px;font-weight:750;line-height:1.3;letter-spacing:-.04em}
.match-result-strip.is-win strong{color:#a9f5df}
.match-result-metrics{display:flex;gap:28px;flex-wrap:wrap;font-size:12px;color:var(--muted)}
.match-result-metrics b{display:block;font-size:18px;color:var(--ink);margin-top:3px;font-variant-numeric:tabular-nums}
.match-profile-grid>.card>.section-label{margin-bottom:18px}
.match-profile-grid>.card>.section-label h2{font-size:23px}
.judge-result-card .choice-row{gap:8px}
.judge-result-card .choice-row .pill{white-space:normal}
.judge-perspective{margin-top:16px;padding:9px 12px;border-left:2px solid #bba8ff55;background:#bba8ff08;font-size:11px;line-height:1.8;color:#c2bdd5}
.judge-reason{margin-top:16px;font-size:13px;line-height:1.9;color:var(--muted);overflow-wrap:anywhere}
.leaderboard-list{list-style:none;padding:0;margin:0;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#12151e}
.leaderboard-row{display:grid;grid-template-columns:52px minmax(0,1fr) 150px 160px;gap:20px;align-items:center;padding:18px 24px}
.leaderboard-row+.leaderboard-row{border-top:1px solid var(--line)}
.leaderboard-row.is-me{background:#3de8c610}
.leaderboard-rank{font-size:19px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.leaderboard-rank small{font-size:11px;font-weight:500;color:var(--muted);margin-left:3px}
.leaderboard-player{min-width:0;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.leaderboard-player>b{font-size:14px;font-weight:650;overflow-wrap:anywhere}
.leaderboard-tier{font-size:10px;letter-spacing:.04em;color:var(--muted);padding:2px 7px;border:1px solid var(--line);border-radius:5px}
.leaderboard-score{display:flex;align-items:baseline;gap:5px;font-variant-numeric:tabular-nums}
.leaderboard-score b{font-size:20px;letter-spacing:-.035em}
.leaderboard-score>span{font-size:11px;color:var(--muted)}
.leaderboard-record{display:flex;align-items:center;gap:10px;font-variant-numeric:tabular-nums}
.leaderboard-record>span{font-size:11px;color:var(--muted)}
.leaderboard-record>b{font-size:13px;font-weight:500}
@media(max-width:740px){
 .player-queue.arena-queue{margin:12px 0 0;padding:24px 22px}
 .player-queue .queue-heading{margin-bottom:18px}
 .player-queue .queue-symbol{width:42px;height:42px;border-radius:12px}
 .player-queue .queue-symbol .icon{width:23px;height:23px}
 .player-queue h1{font-size:26px}
 .player-queue>p{font-size:13px;margin-top:14px}
 .player-queue>.page-actions{margin-top:22px;gap:8px}
 .player-queue>.page-actions .btn{flex:1;min-width:150px}
 .player-queue .arena-mini-steps{justify-content:space-between;gap:6px;margin-top:22px;padding-top:20px}
 .player-queue .arena-mini-steps span{font-size:10px;gap:5px}
 .player-queue .arena-mini-steps i{width:17px;height:17px;font-size:9px}
 .rating-number .score-unit{font-size:14px;margin-left:8px}
 .daily-match-status{padding-top:24px}
 .daily-match-status>strong{font-size:20px}
 .player-progress-actions{padding-top:22px}
 .player-progress-actions .btn{flex:1;min-width:150px}
 .match-record{grid-template-columns:minmax(0,1fr) auto;gap:14px 12px;padding:16px}
 .match-record-heading{gap:7px;align-items:flex-start;flex-direction:column}
 .match-record-heading h2{font-size:13px;line-height:1.5}
 .match-record-stats{grid-column:1/-1;grid-row:2;gap:16px;padding-top:12px;border-top:1px solid var(--line)}
 .match-record-stats>div{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
 .match-record-stats dt{font-size:10px}
 .match-record-stats dd{margin:0;font-size:13px}
 .match-record-link{grid-column:2;grid-row:1;font-size:11px;padding:10px 12px}
 .match-result-strip{padding:20px;align-items:flex-start;gap:18px;flex-direction:column}
 .match-result-strip strong{font-size:26px}
 .match-result-metrics{width:100%;gap:24px;padding-top:14px;border-top:1px solid var(--line)}
 .match-result-metrics b{font-size:17px}
 .match-profile-grid>.card>.section-label h2{font-size:22px}
 .judge-reason{font-size:12px}
 .leaderboard-row{grid-template-columns:28px minmax(0,1fr) auto;gap:5px 12px;padding:15px 16px}
 .leaderboard-rank{grid-row:1/3;align-self:start;font-size:16px;padding-top:2px}
 .leaderboard-rank small{font-size:9px;margin-left:2px}
 .leaderboard-player{gap:5px 8px}
 .leaderboard-player>b{font-size:12px;line-height:1.5}
 .leaderboard-tier{font-size:9px;padding:1px 5px}
 .leaderboard-score{grid-column:3;grid-row:1;gap:3px}
 .leaderboard-score b{font-size:18px}
 .leaderboard-score>span{font-size:10px}
 .leaderboard-record{grid-column:2/4;grid-row:2;gap:8px}
 .leaderboard-record>span{font-size:10px}
 .leaderboard-record>b{font-size:11px}
}

/* Result and opponent cards keep their game identity without extra decoration. */
.match-result-strip{position:relative;overflow:hidden;isolation:isolate;border-color:#b9a6ff29;background:radial-gradient(ellipse at 100% 0,#b9a6ff0a,transparent 65%),#12151e;box-shadow:inset 0 1px 0 #ffffff05}
.match-result-strip:before{content:'';position:absolute;top:0;left:24px;right:24px;height:2px;background:linear-gradient(90deg,#b9a6ff88,transparent 82%);pointer-events:none}
.match-result-strip.is-win{border-color:#3de8c644;background:radial-gradient(ellipse at 0 0,#3de8c612,transparent 65%),#121b20}
.match-result-strip.is-win:before{background:linear-gradient(90deg,#3de8c6c0,transparent 82%)}
.match-result-caption{letter-spacing:.035em;color:#aeb7c8}
.match-result-strip strong{font-size:30px;letter-spacing:-.04em}
.match-result-metrics b{font-family:var(--f-display);font-size:20px;letter-spacing:-.025em}
.match-profile-card{--match-side:#3de8c6;--match-side-soft:#3de8c607;border-color:#3de8c626;background:linear-gradient(135deg,var(--match-side-soft),transparent 45%),var(--surface);box-shadow:inset 0 2px 0 #3de8c635}
.match-profile-card[data-side="b"]{--match-side:#b9a6ff;--match-side-soft:#b9a6ff07;border-color:#b9a6ff26;box-shadow:inset 0 2px 0 #b9a6ff35}
.match-player-heading{display:flex;align-items:center;gap:11px;min-width:0}
.match-player-mark{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border:1px solid color-mix(in srgb,var(--match-side) 28%,transparent);border-radius:9px;background:color-mix(in srgb,var(--match-side) 7%,transparent);color:var(--match-side);font:700 13px/1 var(--f-display)}
.match-profile-grid>.match-profile-card>.section-label h2{font-size:22px;line-height:1.4}
.match-record{transition:background-color .16s ease,box-shadow .16s ease}
.match-record:focus-within{background:#3de8c605;box-shadow:inset 2px 0 0 #3de8c64d}
.leaderboard-row.is-me{background:linear-gradient(90deg,#3de8c612,#3de8c605);box-shadow:inset 2px 0 0 #3de8c66b}
.leaderboard-row.is-me .leaderboard-score{color:#c0f6e7}
.leaderboard-row:first-child .leaderboard-rank{color:#e4cd91}
.rating-card{box-shadow:inset 0 1px 0 #8fe6d017,0 12px 32px #00000016}
.rating-card .eyebrow{letter-spacing:.06em;color:#a6e9d6}
.rating-meta{border-color:#3de8c626}
@media(hover:hover){
 .match-record:hover{background:#ffffff02}
 .match-record-link:hover{border-color:#3de8c650;color:#c5f3e6}
}
@media(max-width:740px){
 .match-result-strip strong{font-size:28px}
 .match-result-metrics b{font-size:18px}
 .match-player-heading{gap:9px}
 .match-player-mark{flex-basis:29px;width:29px;height:29px;font-size:12px;border-radius:8px}
 .match-profile-grid>.match-profile-card>.section-label h2{font-size:20px}
}
@media(prefers-reduced-motion:reduce){.match-record{transition:none}}

/* Match reports lead with the decision and its evidence. */
.match-report{--report-accent:#3de8c6;--report-loss:#f79a93}
.match-report-scoreboard{position:relative;display:grid;grid-template-columns:1fr .85fr 1.3fr;gap:24px;align-items:center;padding:25px 28px;border:1px solid #3de8c630;border-left:3px solid var(--report-accent);border-radius:16px;background:linear-gradient(105deg,#3de8c60a,transparent 55%),#111720;overflow:hidden}
.match-report-scoreboard:before{content:'';position:absolute;top:0;right:0;width:132px;height:72px;pointer-events:none;background:repeating-linear-gradient(135deg,transparent 0 12px,#3de8c606 12px 13px)}
.match-report-scoreboard[data-outcome="loss"]{--report-accent:var(--report-loss);border-color:#f79a9330;border-left-color:var(--report-loss);background:linear-gradient(105deg,#f79a930a,transparent 55%),#14161e}
.match-report-scoreboard[data-outcome="draw"],.match-report-scoreboard[data-outcome="pending"]{--report-accent:#9eafc6;border-color:#9eafc630;background:linear-gradient(105deg,#9eafc60a,transparent 55%),#111720}
.report-outcome{display:flex;align-items:center;gap:17px;min-width:0}
.report-outcome-icon{width:58px;height:64px;flex:none;display:grid;place-items:center;background:color-mix(in srgb,var(--report-accent) 10%,transparent);border:1px solid color-mix(in srgb,var(--report-accent) 32%,transparent);border-radius:12px 4px 12px 4px;color:var(--report-accent)}
.report-outcome-icon>.icon{width:29px;height:29px}
.report-caption{display:block;font-size:11px;line-height:1.5;letter-spacing:.055em;color:#98a6b9}
.report-outcome h2{margin-top:5px;color:var(--report-accent);font-size:32px;line-height:1.2}
.report-rating{padding-left:24px;border-left:1px solid #ffffff0c;font-variant-numeric:tabular-nums}
.report-rating>strong{display:block;color:var(--report-accent);font-family:var(--f-display);font-size:32px;font-weight:750;line-height:1.3;margin-top:3px;letter-spacing:-.04em}
.report-rating>strong>small{font-size:13px;font-weight:500;letter-spacing:0;margin-left:5px;color:#a1adbe}
.report-rating-range{display:block;margin-top:4px;font-size:12px;color:#98a6b9}
.report-unsettled{font-size:23px}
.report-final-votes{padding-left:24px;border-left:1px solid #ffffff0c;min-width:0}
.report-final-votes>.report-caption{margin-bottom:10px}
.match-report-content{display:grid;grid-template-columns:1fr 1.12fr;gap:18px;align-items:start;margin-top:18px}
.match-report-panel{min-width:0;padding:23px 24px;background:#11151e;border:1px solid #ffffff10;border-radius:16px;box-shadow:inset 0 1px 0 #ffffff04}
.report-panel-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:20px}
.report-panel-heading h2{font-size:18px;line-height:1.45;letter-spacing:-.035em;margin-top:5px}
.report-panel-heading>span{font-size:11px;color:#8e9caf;white-space:nowrap}
.report-panel-heading .report-caption{font-size:9px;letter-spacing:.13em}
.report-explainer{font-size:11px;line-height:1.7;color:#8e9caf;margin-top:17px;padding-top:13px;border-top:1px solid #ffffff0a}
.report-reasons{display:grid;gap:0}
.report-reason+.report-reason{margin-top:16px;padding-top:16px;border-top:1px solid #ffffff0b}
.report-reason>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.report-reason strong{font-size:12px;font-weight:600}
.report-judge-number{display:grid;place-items:center;width:24px;height:24px;border:1px solid #ffffff12;border-radius:5px;background:#ffffff03;font:500 10px/1 var(--f-display);color:#94a3b8}
.report-reason .pill{font-size:10px;white-space:normal}
.report-reason p{font-size:13px;line-height:1.85;color:#b7c1d1;margin-top:9px;overflow-wrap:anywhere;white-space:pre-line}
.match-report-profiles{margin-top:18px;border:1px solid #ffffff13;border-radius:16px;background:#0f141c;overflow:hidden}
.match-report-profiles>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:21px 24px;cursor:pointer}
.match-report-profiles>summary::-webkit-details-marker{display:none}
.match-report-profiles>summary>span{display:flex;gap:9px;align-items:center;font-size:14px;font-weight:650}
.match-report-profiles>summary>span+span{font-size:11px;font-weight:400;color:#94a3b8;gap:12px}
.match-report-profiles>summary .icon{width:18px;height:18px;color:#7d99a8}
.match-report-profiles>summary>span+span .icon{width:14px;height:14px;transform:rotate(90deg);transition:transform .18s}
.match-report-profiles[open]>summary>span+span .icon{transform:rotate(-90deg)}
.match-report-profiles[open]>summary{border-bottom:1px solid #ffffff0b}
.match-report-profiles .match-profile-grid{padding:18px;gap:18px;align-items:start}
.match-report-profiles .match-profile-card{padding:23px;min-width:0}
.match-profile-card[data-view-role="opponent"]{--match-side:#aab9d0;--match-side-soft:#aab9d005;border-color:#aab9d026;box-shadow:inset 0 2px 0 #aab9d035}
.match-profile-card[data-winner="true"]{border-color:#3de8c645}
.match-player-mark>.icon{width:17px;height:17px}
.report-pending{grid-column:1/-1}
.report-pending>p{color:#9cacc0;font-size:13px;line-height:1.8}
.report-pending-track{display:flex;gap:6px;margin:8px 0 17px}
.report-pending-track>i{height:5px;flex:1;background:#ffffff0b;border-radius:3px}
.report-pending-track>i.is-done{background:#3de8c6}
@media(max-width:980px){.match-report-content{grid-template-columns:minmax(0,1fr)}.match-report-scoreboard{grid-template-columns:1fr 1fr;gap:20px}.report-final-votes{grid-column:1/-1;border-left:0;padding:17px 0 0;border-top:1px solid #ffffff0c}}
@media(max-width:740px){
 .match-report-scoreboard{padding:20px;gap:18px}
 .report-outcome{gap:10px}.report-outcome-icon{width:42px;height:48px;border-radius:9px 3px 9px 3px}.report-outcome-icon>.icon{width:23px;height:23px}
 .report-outcome h2{font-size:27px}.report-rating{padding-left:16px}.report-rating>strong{font-size:28px}.report-caption{font-size:10px}.report-rating-range{font-size:10px}
 .match-report-panel{padding:20px}.report-panel-heading{gap:8px;flex-wrap:wrap}.report-panel-heading h2{font-size:17px}.report-panel-heading>span{font-size:10px}
 .report-reason p{font-size:12px}
 .match-report-profiles>summary{padding:18px;align-items:flex-start;flex-direction:column;gap:7px}.match-report-profiles>summary>span+span{justify-content:space-between;width:100%}
 .match-report-profiles .match-profile-grid{padding:12px;gap:12px}.match-report-profiles .match-profile-card{padding:17px}
}
@media(max-width:360px){.match-report-scoreboard{padding:17px;column-gap:12px}.report-outcome-icon{display:none}.report-outcome h2{font-size:26px}.report-rating>strong{font-size:26px}.match-report-panel{padding:17px}.report-rating{padding-left:12px}}
@media(prefers-reduced-motion:reduce){.match-report-profiles>summary .icon{transition:none}}
