.room-profile .site-header,.room-profile .lookup,.room-profile #welcome,.room-profile .footer,.room-profile #result-tools{display:none!important}
.room-profile .app-shell{max-width:none;padding:22px 26px 48px}.room-profile body{background:#f3f6f7}.room-profile .player-section{margin-top:0}.room-profile .history-dock{top:0}.room-profile .feedback{margin-top:0}
@media(max-width:650px){.room-profile .app-shell{padding:12px 12px 28px}}
/* Dark room-only theme. The standalone player-query page keeps its own theme. */
.room-profile{color-scheme:dark;--bg:#0d1722;--panel:#152331;--ink:#e5eef5;--muted:#9bb0c0;--line:#304456;--mint:#75d7bd;--red:#f18b9a;--blue:#98c2e1}
.room-profile body{background:var(--bg);color:var(--ink)}
.room-profile :is(.metric,.analysis-main,.rank-panel,.season-overview,.season-stat,.recent-summary,.history,.history.is-compact,.detail,.rating-panel,.career-panel,.match-metric){background:#152331;border-color:#304456;color:#e5eef5;border-radius:3px}
.room-profile :is(.match-option,.round-button,.damage-readout,.analysis-tabs,.companions-summary){background:#1b2d3d;border-color:#344c60;color:#c2d4e1}
.room-profile :is(.match-option:hover,.match-option.active,.analysis-tabs button.active,.expand-stats:hover){background:#263e4f;border-color:#6da798;color:#eff7f8}
.room-profile :is(.board-table th,.stats-table th,.stats-table th:first-child,.round-table th,.matchup-table thead th){background:#1c3041;color:#a9bfce;border-color:#31485b}
.room-profile :is(.board-table td,.board-table tbody tr:nth-child(even) td,.stats-table td,.stats-table td:first-child,.round-table tr:nth-child(even) td,.matchup-table td,.matchup-table th){background:#142432;color:#d9e6ef;border-color:#2b4051}
.room-profile .board-table .player-more>td{background:#0e1d2a!important}.room-profile .board-table tbody tr.target td{background:#1e3a3e}
.room-profile :is(.board-table tbody tr.player-main:hover td,.board-table tbody tr:hover td){background:#203648}
.room-profile :is(.panel-heading,.detail-tabs,.season-grid,.rating-breakdown,.rating-explanation,.shot-distribution,.player-more,.career-panel .panel-heading,.history-heading){border-color:#304456}.room-profile .season-grid{background:#304456}
.room-profile :is(.team-head,.team-section.win .team-head){background:#173832;color:#9cd9c9}.room-profile .team-section.loss .team-head{background:#39272f;color:#efb1bc}
.room-profile :is(.metric-label,.metric-caption,.metric-ranking,.season-stat span,.season-teaser,.season-scope,.insight-strip,.match-date,.match-status,.match-mode,.player-agent-name,.round-team h4,.round-events h4,.analysis-facts,.match-metric>span,.match-metric>small,.side-heading>span,.rating-scope,.rating-support,.rating-rules,.rating-rule-note,.rating-evidence,.rating-breakdown span,.rating-breakdown small,.rating-score>span,.panel-footnote,.rating-components,.stat-identity small,.shot-legend,.shot-distribution h4,.rank-trend-summary span,.chart-axis,.player-extra-grid dt,.board-tools span){color:#9db4c5}
.room-profile :is(.board-table .player-name,.player-extra-grid dd,.player-more-toggle,.match-kda,.season-title,.detail-tab,.rating-heading h3,.rating-reason,.rating-explanation summary,.metric-value,.season-stat strong,.analysis-heading h3,.side-heading h4,.analysis-subheading,.rank-trend-summary strong,.recent-summary strong){color:#e2edf5}
.room-profile :is(.metric.mint .metric-value,.rating-score>strong,.positive,.match-result.win){color:#7cdbc0}.room-profile :is(.metric.coral .metric-value,.negative,.match-result.loss){color:#f496a2}
.room-profile :is(.feedback,.expand-stats){background:#183644;color:#c0dce6;border-color:#34576a}.room-profile .feedback.error{background:#3b2630;color:#f3b2bd;border-color:#6b3f4c}
.room-profile :is(.event-item:nth-child(even),.round-team h4,.round-events h4){background:#1b2d3c}.room-profile :is(.rating-track,.mini-track,.shot-track){background:#2c4356}
.room-profile :is(.rating-tag,.kill-badge){background:#2a3c4c;color:#bfd0dd;border-color:#456174}.room-profile .rating-tag.positive{background:#193b33;color:#97dfc6}.room-profile :is(.rating-tag.warning,.award-badge){background:#42381f;color:#efd38c;border-color:#826c3d}.room-profile .rating-tag.muted{background:#392a36;color:#ddb5cb}.room-profile .team-mvp-badge{background:#233a53;color:#b0ccec;border-color:#486a91}.room-profile .rating-caveat{color:#c4b78f}
.room-profile .detail-tab.active{color:#87d6c7;border-color:#87d6c7}.room-profile .team-head :is(h3,span){color:inherit}
.room-profile .profile.has-profile-map{background-image:linear-gradient(90deg,#142230f2 0%,#142230df 40%,#14223066 72%,#142230e0 100%),var(--profile-map);background-size:cover;background-position:center}
.room-profile .match-option:before{background-image:linear-gradient(90deg,#172b3afa 10%,#132432ed 80%),var(--map-image,none)}
.room-profile .match-option.selected:before{background-image:linear-gradient(90deg,#1b3c3afa,#173631ee),var(--map-image,none)}
.room-profile .match-option.loss.selected:before{background-image:linear-gradient(90deg,#39232dfa,#34232eeb),var(--map-image,none)}
.room-profile .team-section{border-color:#344e61;border-radius:3px}.room-profile .player-expand,.room-profile .player-expand:hover{color:#a6c4d8}.room-profile .match-pending{color:#abc0cf}
