/* Player-only design system. Business hooks and shared portals are unchanged. */
html[data-mtp-portal="player"] { color-scheme:dark; --mtp-border:#594368; --mtp-silver:#ece5f5; --mtp-muted:#bbadcd; --mtp-gold:#d3b994; --mtp-panel:#171020; }
html[data-mtp-portal="player"] body { isolation:isolate; background:radial-gradient(ellipse at 70% 0,#2a1c3d,#100b19 60%,#0c0911); color:var(--mtp-silver); font:14px/1.7 'Segoe UI','Microsoft YaHei',sans-serif; }
html[data-mtp-portal="player"] main { position:relative; width:100%; max-width:none; min-width:0; padding:0 20px 24px; margin:20px 0 0; }
html[data-mtp-portal="player"] body > header { position:relative; z-index:3; padding:18px 22px; background:#100b19; gap:14px; }
html[data-mtp-portal="player"] .brand { color:#efe5f4; letter-spacing:4px; }
html[data-mtp-portal="player"] #identity { color:#c3b3d2; font-size:12px; min-width:0; }
html[data-mtp-portal="player"] #logout { background:transparent; }
html[data-mtp-portal="player"] :is(#workspace,#view,#view > div,.card,.player-home > *) { min-width:0; max-width:100%; }
html[data-mtp-portal="player"] #workspace > :not(.mtp-player-corners) { position:relative; z-index:1; }
html[data-mtp-portal="player"] .mtp-player-banner { margin:0 0 14px; padding:0; width:100%; }
html[data-mtp-portal="player"] .mtp-player-banner > img { display:block; width:100%; height:auto; object-fit:contain; border-radius:0; }
html[data-mtp-portal="player"] .mtp-player-corners { display:none; position:fixed; inset:0; pointer-events:none; user-select:none; z-index:0; }
html[data-mtp-portal="player"] .mtp-corner { display:block; position:absolute; width:clamp(360px,calc(60vw - 504px),480px); height:auto; pointer-events:none; user-select:none; }
html[data-mtp-portal="player"] .mtp-corner-top-left { top:0; left:0; }
html[data-mtp-portal="player"] .mtp-corner-top-right { top:0; right:0; }
html[data-mtp-portal="player"] .mtp-corner-bottom-left { bottom:0; left:0; }
html[data-mtp-portal="player"] .mtp-corner-bottom-right { bottom:0; right:0; }
@media(min-width:1440px) and (min-height:600px) { html[data-mtp-portal="player"] body:has(#workspace:not([hidden])) > .mtp-player-corners { display:block; } }
/* Local viewport-corner clearance; never a right gutter on the whole main column. */
html[data-mtp-portal="player"] .mtp-corner-avoid { margin-inline-end:var(--mtp-corner-inset,0px)!important; }
html[data-mtp-portal="player"] .mtp-player-banner.mtp-corner-avoid { width:calc(100% - var(--mtp-corner-inset,0px)); }
html[data-mtp-portal="player"] .mtp-corner-avoid :is(.player-income-bar > div,.player-progress-heading,.profile-facts > div) { flex-wrap:wrap; }
html[data-mtp-portal="player"] #workspace .card,
html[data-mtp-portal="player"] #workspace .player-stat { position:relative; border:1px solid transparent; background:linear-gradient(125deg,#21162df5,#120c1bf5) padding-box,linear-gradient(125deg,#ad8cb5,#4a345d 38%,#6a5277 75%,#b5a07c) border-box; border-radius:13px; box-shadow:inset 0 0 20px #8d62ac09,0 8px 22px #0003; }
html[data-mtp-portal="player"] #workspace .card { padding:20px; margin-bottom:18px; }
html[data-mtp-portal="player"] #workspace :is(h2,h3) { font-weight:550; color:#f0e9f6; }
html[data-mtp-portal="player"] #workspace h2 { font-size:18px; margin:0; }
html[data-mtp-portal="player"] .player-eyebrow { color:#ad98bc; font-size:9px; letter-spacing:2px; margin:0 0 5px; }
html[data-mtp-portal="player"] .player-note { color:var(--mtp-muted); font-size:12px; line-height:1.8; }
html[data-mtp-portal="player"] .player-section-heading { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:15px; }
html[data-mtp-portal="player"] .player-section-heading > div { min-width:0; }
html[data-mtp-portal="player"] .player-text-button { border:0; background:transparent; color:#c6addd; font-size:12px; white-space:nowrap; padding:4px 0; }
html[data-mtp-portal="player"] .player-home { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); grid-template-areas:'hero hero' 'tiers progression' 'recent overview'; gap:15px; align-items:start; }
html[data-mtp-portal="player"] #workspace .player-home > * { margin:0; }
html[data-mtp-portal="player"] .player-home > .player-page-heading { display:none; }
html[data-mtp-portal="player"] .player-home .player-profile-card { grid-area:hero; display:grid; grid-template-columns:minmax(330px,.9fr) minmax(0,1.3fr); align-items:center; gap:24px; min-height:0; padding:22px; }
html[data-mtp-portal="player"] .profile-identity-top { display:flex; gap:20px; align-items:center; min-width:0; }
html[data-mtp-portal="player"] .profile-identity-top > div { flex:1; min-width:0; }
html[data-mtp-portal="player"] .profile-identity-top > img,
html[data-mtp-portal="player"] .player-avatar-placeholder { width:112px; height:112px; flex:0 0 112px; border-radius:50%; border:2px solid #dbc7a7; outline:1px solid #7e578c; outline-offset:5px; padding:4px; object-fit:contain; background:#1b1126; }
html[data-mtp-portal="player"] .player-avatar-placeholder { display:grid; place-items:center; font:46px Georgia,serif; color:#c9b292; background:radial-gradient(circle,#382342,#160d22); }
html[data-mtp-portal="player"] .profile-name { display:inline; margin:0 8px 0 0; font-size:23px; font-weight:600; overflow-wrap:anywhere; }
html[data-mtp-portal="player"] .player-tier-tag { display:inline-block; border:1px solid #a58a70; color:#e6d3b8; border-radius:20px; background:linear-gradient(110deg,#6c5045,#382434); font-size:11px; padding:2px 9px; white-space:nowrap; vertical-align:middle; }
html[data-mtp-portal="player"] .player-profile-card .profile-identity-top .player-note { display:none; }
html[data-mtp-portal="player"] .player-profile-card .profile-facts { display:flex; flex-wrap:wrap; border:0; margin:10px 0 12px; padding:0; gap:3px 14px; }
html[data-mtp-portal="player"] .player-profile-card .profile-facts > div { display:flex; gap:5px; padding:0; border:0; }
html[data-mtp-portal="player"] .player-profile-card .profile-facts :is(dt,dd) { margin:0; font-size:11px; color:#beadcd; }
html[data-mtp-portal="player"] .player-profile-card .profile-facts dd { color:#ebe0f4; }
html[data-mtp-portal="player"] .player-edit-profile { font-size:12px; border-radius:22px; padding:5px 15px; min-height:30px; color:#d4bddf; border-color:#80618b; background:#281a36; }
html[data-mtp-portal="player"] .player-home-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; min-width:0; }
html[data-mtp-portal="player"] #workspace .player-home-metrics .player-stat { text-align:center; padding:14px 9px; min-width:0; min-height:132px; box-shadow:none; }
html[data-mtp-portal="player"] .player-metric-icon { display:block; font-size:23px!important; color:var(--mtp-gold)!important; line-height:1.2; margin-bottom:9px; }
html[data-mtp-portal="player"] .player-home-metrics .player-stat > span:not(.player-metric-icon) { font-size:12px; color:#c6b6d5; }
html[data-mtp-portal="player"] .player-home-metrics .player-stat strong { font-size:clamp(15px,1.2vw,23px); font-weight:600; color:#f0e5f7; margin:9px 0 5px; overflow-wrap:anywhere; line-height:1.4; }
html[data-mtp-portal="player"] .player-home-metrics .player-stat .player-currency { display:block; font-size:10px; line-height:1.5; color:#bda3ce; white-space:nowrap; }
html[data-mtp-portal="player"] .player-home-metrics .player-stat small { display:block; font-size:10px; line-height:1.5; color:#a998bb; }
html[data-mtp-portal="player"] .player-home .player-tier-directory { grid-area:tiers; }
html[data-mtp-portal="player"] .player-tier-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
html[data-mtp-portal="player"] .player-tier-card { padding:16px 8px 12px; min-width:0; text-align:center; border:1px solid #584068; border-radius:10px; background:radial-gradient(ellipse at top,#40294d88,#160e24 80%); }
html[data-mtp-portal="player"] .player-tier-card.current { border-color:#c1a58f; background:radial-gradient(ellipse at top,#58406188,#20142c 80%); }
html[data-mtp-portal="player"] .player-tier-card > span { color:#c6a4e8; font-size:25px; line-height:1; }
html[data-mtp-portal="player"] .player-tier-card h3 { font-size:16px; margin:10px 0 6px; }
html[data-mtp-portal="player"] .player-tier-card p { font-size:11px; margin:0 0 8px; color:#c2aecf; }
html[data-mtp-portal="player"] .player-tier-card strong { font-size:12px; color:#dfc8a7; font-weight:500; }
html[data-mtp-portal="player"] .player-tier-card small { display:block; font-size:10px; margin:8px 0 0; color:#b39abd; }
html[data-mtp-portal="player"] .player-tier-footnote { margin:12px 0 0; font-size:11px; color:#b5a3c5; line-height:1.7; }
html[data-mtp-portal="player"] .player-home #player-progression { grid-area:progression; }
html[data-mtp-portal="player"] .player-progression-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px 18px; margin:0; }
html[data-mtp-portal="player"] .player-progression-facts > div { min-width:0; display:flex; flex-direction:row; flex-wrap:wrap; justify-content:space-between; gap:4px 10px; }
html[data-mtp-portal="player"] .player-progression-facts > div:nth-child(3) { grid-column:1/-1; flex-direction:row; justify-content:space-between; border-top:1px solid #493352; padding-top:10px; }
html[data-mtp-portal="player"] .player-progression-facts dt { color:#af9abf; font-size:11px; }
html[data-mtp-portal="player"] .player-progression-facts dd { margin:0; color:#e6d7ee; font-size:13px; overflow-wrap:anywhere; }
html[data-mtp-portal="player"] .player-progress-heading { display:flex; justify-content:space-between; font-size:11px; color:#c7b2d6; margin:12px 0 7px; }
html[data-mtp-portal="player"] #player-progression progress { display:block; width:100%; height:9px; background:#120b1b; border:1px solid #74597e; border-radius:20px; overflow:hidden; accent-color:#c4a3db; }
html[data-mtp-portal="player"] progress::-webkit-progress-bar { background:#120b1b; }
html[data-mtp-portal="player"] progress::-webkit-progress-value { background:linear-gradient(90deg,#a27cc4,#dfbda6); border-radius:20px; }
html[data-mtp-portal="player"] #player-progression .player-progression-max { color:#dbc09c; font-size:12px; margin:12px 0 0; padding:9px 12px; border:1px solid #72563d; border-radius:7px; background:#3e2b2338; }
html[data-mtp-portal="player"] #player-progression .player-progression-note { margin:10px 0 0; font-size:10px; line-height:1.7; color:#ad96bd; }
html[data-mtp-portal="player"] .player-progression-rules { margin-top:10px; color:#b49ac8; font-size:11px; }
html[data-mtp-portal="player"] .player-progression-rules summary { cursor:pointer; }
html[data-mtp-portal="player"] .player-tier-stages { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); list-style:none; margin:15px 0 0; padding:0; }
html[data-mtp-portal="player"] .player-tier-stages li { position:relative; display:flex; flex-direction:column; text-align:center; font-size:11px; color:#b69bc9; }
html[data-mtp-portal="player"] .player-tier-stages li::before { content:''; position:absolute; height:1px; background:#72507f; top:12px; left:0; right:0; z-index:0; }
html[data-mtp-portal="player"] .player-tier-stages li:first-child::before { left:50%; }
html[data-mtp-portal="player"] .player-tier-stages li:last-child::before { right:50%; }
html[data-mtp-portal="player"] .player-tier-stages li > span { position:relative; align-self:center; display:grid; place-items:center; width:25px; height:25px; background:#201229; border:1px solid #78518e; border-radius:50%; margin-bottom:6px; }
html[data-mtp-portal="player"] .player-tier-stages li[aria-current] > span { color:#211020; background:#dbc1a8; border-color:#e4cab1; }
html[data-mtp-portal="player"] .player-tier-stages li[aria-current] strong { color:#e2c8a7; }
html[data-mtp-portal="player"] .player-tier-stages small { font-size:10px; margin-top:3px; }
html[data-mtp-portal="player"] .player-home-recent { grid-area:recent; }
html[data-mtp-portal="player"] .player-home #player-overview { grid-area:overview; }
html[data-mtp-portal="player"] .player-income-composition { border-bottom:1px solid #4c345b; padding-bottom:14px; margin-bottom:16px; }
html[data-mtp-portal="player"] .player-income-composition h3 { font-size:16px; margin:0; }
html[data-mtp-portal="player"] .player-income-bar { margin:10px 0; }
html[data-mtp-portal="player"] .player-income-bar > div { display:flex; justify-content:space-between; gap:15px; font-size:11px; color:#b8a2c8; }
html[data-mtp-portal="player"] .player-income-bar strong { color:#dac7e8; font-size:12px; font-weight:500; overflow-wrap:anywhere; }
html[data-mtp-portal="player"] .player-income-bar meter { display:block; width:100%; height:10px; appearance:none; margin-top:5px; }
html[data-mtp-portal="player"] meter::-webkit-meter-bar { background:#20122d; border:0; border-radius:5px; }
html[data-mtp-portal="player"] meter::-webkit-meter-optimum-value { background:linear-gradient(90deg,#684687,#be93dd); border-radius:5px; }
html[data-mtp-portal="player"] .player-income-composition > p { color:#ac96bb; font-size:10px; margin:10px 0 0; }
html[data-mtp-portal="player"] #player-overview .profile-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin:12px 0 0; padding:12px 0 0; gap:13px 18px; border-top:1px solid #493052; }
html[data-mtp-portal="player"] #player-overview :is(dt,dd) { margin:0; overflow-wrap:anywhere; }
html[data-mtp-portal="player"] #player-overview .profile-facts > div { display:block; padding:0; border:0; }
html[data-mtp-portal="player"] #player-overview dt { color:#b39cc4; font-size:11px; }
html[data-mtp-portal="player"] #player-overview dd { font-size:16px; margin-top:4px; color:#e2d2ef; }
html[data-mtp-portal="player"] .player-account-notes { font-size:11px; color:#bda8ce; margin-top:15px; }
html[data-mtp-portal="player"] .player-account-notes summary { cursor:pointer; color:#ccb3de; }
html[data-mtp-portal="player"] .player-account-notes p { margin:8px 0 0; }
html[data-mtp-portal="player"] .player-profile-editor { width:min(520px,calc(100vw - 32px)); padding:24px; max-height:85vh; overflow:auto; border:1px solid #9a7ba6; background:#1b1126; border-radius:12px; }
html[data-mtp-portal="player"] .player-profile-editor::backdrop { background:#07040bd9; }
html[data-mtp-portal="player"] #player-avatar-form { margin-top:16px; }
html[data-mtp-portal="player"] #player-avatar-form label { min-width:0; width:100%; }
html[data-mtp-portal="player"] #player-avatar-form > button { width:100%; }
html[data-mtp-portal="player"] #tabs { display:flex; flex-wrap:nowrap; overflow-x:auto; gap:6px; padding-bottom:12px; margin-bottom:16px; border-bottom:1px solid #46314f; }
html[data-mtp-portal="player"] #tabs button { flex-shrink:0; white-space:nowrap; color:#c5b1d3; background:transparent; border:1px solid transparent; font-size:13px; padding:10px 14px; border-radius:8px; }
html[data-mtp-portal="player"] #tabs button.active { background:linear-gradient(100deg,#745398,#352043); border-color:#9d79b3; color:#f4eafa; }
html[data-mtp-portal="player"] #workspace :is(input,textarea,select) { min-width:0; max-width:100%; background:#130c1c; border-color:#624779; font-size:14px; color:#e7dcf0; }
html[data-mtp-portal="player"] #workspace label { min-width:0; font-size:12px; }
html[data-mtp-portal="player"] #workspace :is(button,a):focus-visible { outline:2px solid #d4b5e6; outline-offset:3px; }
html[data-mtp-portal="player"] .player-page-heading { margin-bottom:18px; min-height:0; }
html[data-mtp-portal="player"] .player-page-heading h2 { font-size:24px!important; }
html[data-mtp-portal="player"] .player-page-heading p { font-size:12px; }
html[data-mtp-portal="player"] .player-table-scroll { width:100%; max-width:100%; min-width:0; overflow-x:auto; border:1px solid #4d335c; border-radius:8px; }
html[data-mtp-portal="player"] #view table { width:100%; font-size:13px; }
html[data-mtp-portal="player"] #view :is(th,td) { padding:12px 10px; font-size:12px; border-color:#422c50; }
html[data-mtp-portal="player"] #view th { background:#2d1e3d; color:#cab3dc; font-weight:500; }
html[data-mtp-portal="player"] #view td { color:#d3c1e1; }
html[data-mtp-portal="player"] .player-recent-table { min-width:480px; }
html[data-mtp-portal="player"] .player-recent-table .player-order-link { min-width:95px; }
html[data-mtp-portal="player"] .player-order-link strong { font-size:12px; }
html[data-mtp-portal="player"] .player-order-link small { font-size:10px; }
html[data-mtp-portal="player"] .player-badge { border-radius:5px; min-height:22px; font-size:10px; }
html[data-mtp-portal="player"] .player-filters { flex-wrap:wrap; gap:12px; }
html[data-mtp-portal="player"] .player-filters label { min-width:0; }
html[data-mtp-portal="player"] .player-filter-actions { flex-wrap:wrap; }
html[data-mtp-portal="player"] .player-stats > * { min-width:0; }
html[data-mtp-portal="player"] .player-stat strong { overflow-wrap:anywhere; }
html[data-mtp-portal="player"] .player-withdraw-layout { grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); }
html[data-mtp-portal="player"] .withdraw-amount-row { flex-wrap:wrap; }
html[data-mtp-portal="player"] .withdraw-amount-row input { flex:1 1 150px; min-width:0; }
html[data-mtp-portal="player"] .withdraw-amount-row button { max-width:100%; }
html[data-mtp-portal="player"] .withdraw-balances strong { overflow-wrap:anywhere; }
html[data-mtp-portal="player"] #phase4-filter { gap:12px; margin-bottom:20px; }
html[data-mtp-portal="player"] #phase4-filter label { flex:1; }
html[data-mtp-portal="player"] #view section:has(> #phase4-filter) { overflow-x:auto; }
html[data-mtp-portal="player"] :is(.player-note,.profile-name,.profile-facts dd,.player-detail-grid dd,#notice,.player-footer) { overflow-wrap:anywhere; }
html[data-mtp-portal="player"] #notice { position:relative; z-index:2; }
html[data-mtp-portal="player"] .player-footer { margin-top:20px; padding:15px 0; color:#a28bb4; font-size:10px; }
@media(min-width:1000px) {
 html[data-mtp-portal="player"] body:has(#workspace:not([hidden]))::before { content:''; position:fixed; width:224px; inset:0 auto 0 0; background:linear-gradient(150deg,#170e22ee,#0c0812fa); border-right:1px solid #5a3d68; z-index:0; pointer-events:none; }
 html[data-mtp-portal="player"] body:has(#workspace:not([hidden])) > header { position:fixed; left:24px; top:42px; width:176px; padding:0; flex-wrap:wrap; border:0; background:transparent; justify-content:flex-start; }
 html[data-mtp-portal="player"] body:has(#workspace:not([hidden])) .brand { display:block; width:100%; text-align:center; font:39px Georgia,serif; letter-spacing:4px; margin-bottom:10px; }
 html[data-mtp-portal="player"] body:has(#workspace:not([hidden])) .brand small { display:block; font:11px/1.8 'Microsoft YaHei',sans-serif; letter-spacing:3px; margin:10px 0 0; }
 html[data-mtp-portal="player"] body:has(#workspace:not([hidden])) main { width:calc(100% - 224px); margin:0 0 0 224px; padding:0 24px 24px; }
 html[data-mtp-portal="player"] #workspace > #tabs { position:fixed; top:228px; bottom:35px; left:16px; width:192px; display:flex; flex-direction:column; gap:9px; padding:0; margin:0; border:0; z-index:3; overflow-y:auto; overflow-x:hidden; }
 html[data-mtp-portal="player"] #tabs button { text-align:left; width:100%; min-height:47px; padding:11px 17px; }
 html[data-mtp-portal="player"] #tabs button::before { content:'◇'; display:inline-block; width:28px; font-size:19px; color:#ceb4e0; }
 html[data-mtp-portal="player"] #tabs button[data-tab=profile]::before { content:'⌂'; }
 html[data-mtp-portal="player"] #tabs button[data-tab=income]::before { content:'♧'; }
 html[data-mtp-portal="player"] #tabs button[data-tab=withdrawals]::before { content:'♙'; }
 html[data-mtp-portal="player"] #tabs button[data-tab=rankings]::before { content:'♜'; }
}
@media(min-width:1000px) and (max-width:1200px) {
 html[data-mtp-portal="player"] body:has(#workspace:not([hidden]))::before { width:184px; }
 html[data-mtp-portal="player"] body:has(#workspace:not([hidden])) > header { left:16px; width:152px; }
 html[data-mtp-portal="player"] body:has(#workspace:not([hidden])) main { margin-left:184px; width:calc(100% - 184px); padding-inline:18px; }
 html[data-mtp-portal="player"] #workspace > #tabs { left:12px; width:160px; }
 html[data-mtp-portal="player"] .player-home .player-profile-card { grid-template-columns:1fr; }
}
@media(max-width:999px) {
 html[data-mtp-portal="player"] .player-home { grid-template-columns:1fr; grid-template-areas:'hero' 'tiers' 'progression' 'recent' 'overview'; }
 html[data-mtp-portal="player"] .player-home .player-profile-card { grid-template-columns:1fr; }
 html[data-mtp-portal="player"] .player-home-metrics .player-stat strong { font-size:21px; }
 html[data-mtp-portal="player"] .player-withdraw-layout { grid-template-columns:1fr; }
}
@media(max-width:600px) {
 html[data-mtp-portal="player"] main { padding:0 16px 20px; margin-top:18px; }
 html[data-mtp-portal="player"] body > header { padding:16px; }
 html[data-mtp-portal="player"] #identity { font-size:10px; max-width:125px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
 html[data-mtp-portal="player"] .brand { font-size:23px; }
 html[data-mtp-portal="player"] .brand small { font-size:9px; display:block; margin:0; }
 html[data-mtp-portal="player"] #workspace .card { padding:18px 16px; }
 html[data-mtp-portal="player"] .profile-identity-top { gap:15px; }
 html[data-mtp-portal="player"] .profile-identity-top > img,
 html[data-mtp-portal="player"] .player-avatar-placeholder { width:72px; height:72px; flex-basis:72px; font-size:32px; }
 html[data-mtp-portal="player"] .profile-name { font-size:21px; }
 html[data-mtp-portal="player"] .player-home-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
 html[data-mtp-portal="player"] #workspace .player-home-metrics .player-stat { min-height:135px; padding:13px 10px; }
 html[data-mtp-portal="player"] .player-home-metrics .player-stat strong { font-size:20px; }
 html[data-mtp-portal="player"] .player-profile-card .profile-facts { gap:3px 10px; }
 html[data-mtp-portal="player"] .player-profile-card .profile-facts :is(dt,dd) { font-size:11px; }
 html[data-mtp-portal="player"] .player-tier-cards { gap:8px; }
 html[data-mtp-portal="player"] .player-tier-card { padding:14px 5px 10px; }
 html[data-mtp-portal="player"] .player-tier-card h3 { font-size:14px; }
 html[data-mtp-portal="player"] .player-tier-card p { font-size:10px; }
 html[data-mtp-portal="player"] .player-tier-card strong { font-size:11px; }
 html[data-mtp-portal="player"] .player-section-heading { gap:8px; }
 html[data-mtp-portal="player"] .player-section-heading h2 { font-size:17px; }
 html[data-mtp-portal="player"] .player-home-recent .player-section-heading .player-eyebrow { font-size:8px; }
 html[data-mtp-portal="player"] #player-overview dd { font-size:15px; }
 html[data-mtp-portal="player"] .player-detail-grid > div { min-width:0; }
 html[data-mtp-portal="player"] .player-detail-grid dd { min-width:0; }
 html[data-mtp-portal="player"] .player-footer { flex-wrap:wrap; }
}
@media(prefers-reduced-motion:reduce) { html[data-mtp-portal="player"] * { scroll-behavior:auto; transition:none; } }

/* Profile refinement only: preserve the existing composition and decorations. */
html[data-mtp-portal="player"] .player-home { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
html[data-mtp-portal="player"] .player-profile-card .profile-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 18px; margin:14px 0; }
html[data-mtp-portal="player"] .player-profile-card .profile-facts > div { display:block; min-width:0; }
html[data-mtp-portal="player"] .player-profile-card .profile-facts dt { font-size:12px; line-height:1.6; color:#b9a8c7; }
html[data-mtp-portal="player"] .player-profile-card .profile-facts dd { margin-top:3px; font-size:14px; line-height:1.65; }
html[data-mtp-portal="player"] .player-tier-card { display:grid; grid-template-rows:30px auto minmax(36px,auto) auto auto; align-content:start; padding:18px 10px 16px; }
html[data-mtp-portal="player"] .player-tier-card p { font-size:12px; line-height:1.65; margin:0 0 8px; }
html[data-mtp-portal="player"] .player-tier-footnote { font-size:13px; line-height:1.9; color:#c6b6d1; margin:16px 0 0; }
html[data-mtp-portal="player"] .player-progression-facts > div { display:block; }
html[data-mtp-portal="player"] .player-progression-facts dd { margin-top:4px; line-height:1.7; overflow-wrap:normal; word-break:normal; }
html[data-mtp-portal="player"] .player-progression-facts > div:nth-child(n+3) { grid-column:1/-1; display:grid; grid-template-columns:minmax(100px,.8fr) minmax(0,1.2fr); align-items:baseline; gap:8px 14px; }
html[data-mtp-portal="player"] .player-progression-facts > div:nth-child(n+3) dd { margin:0; }
html[data-mtp-portal="player"] .player-progression-rules { font-size:13px; line-height:1.85; }
@media(max-width:999px) { html[data-mtp-portal="player"] .player-home { grid-template-columns:1fr; } }
@media(max-width:600px) {
 html[data-mtp-portal="player"] .player-profile-card .profile-facts { gap:10px 12px; }
 html[data-mtp-portal="player"] .player-profile-card .profile-facts dd { font-size:13px; }
 html[data-mtp-portal="player"] .player-tier-card { padding:14px 5px 12px; }
 html[data-mtp-portal="player"] .player-tier-card p { font-size:11px; }
 html[data-mtp-portal="player"] .player-progression-facts > div:nth-child(n+3) { grid-template-columns:minmax(100px,.85fr) minmax(0,1.15fr); gap:8px; }
}

html[data-mtp-portal="player"] .player-promotion-notices { margin-top:14px; padding-top:12px; border-top:1px solid #493352; font-size:13px; }
html[data-mtp-portal="player"] .player-promotion-notices summary { color:#d9c6e8; cursor:pointer; }
html[data-mtp-portal="player"] .player-promotion-notices article { padding:12px 0; border-bottom:1px solid #493352; overflow-wrap:anywhere; }
html[data-mtp-portal="player"] .player-promotion-notices article strong { color:#e6d3b8; }
html[data-mtp-portal="player"] .player-promotion-notices article p { margin:6px 0; line-height:1.8; }
html[data-mtp-portal="player"] .player-promotion-notices time { color:#bdaccb; font-size:12px; }

/* Keep the home composition fluid within the space beside the sidebar. */
html[data-mtp-portal="player"] #workspace { container-type:inline-size; }
html[data-mtp-portal="player"] .mtp-player-banner { overflow:hidden; }
html[data-mtp-portal="player"] .mtp-player-banner > img { width:100%; height:auto; }
html[data-mtp-portal="player"] .player-home .player-profile-card {
 grid-template-columns:minmax(340px,2fr) minmax(0,3fr);
 gap:clamp(20px,2vw,36px);
}
html[data-mtp-portal="player"] .player-home-metrics {
 grid-template-columns:repeat(4,minmax(0,1fr));
 align-items:stretch;
}
html[data-mtp-portal="player"] .player-home-metrics .player-stat strong { font-size:23px; }
html[data-mtp-portal="player"] .player-profile-card .profile-facts > div { overflow-wrap:anywhere; }
@container (max-width:1100px) {
 html[data-mtp-portal="player"] .player-home .player-profile-card { grid-template-columns:minmax(320px,1fr) minmax(0,1fr); }
 html[data-mtp-portal="player"] .player-home-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@container (max-width:820px) {
 html[data-mtp-portal="player"] .player-home .player-profile-card { grid-template-columns:minmax(0,1fr); }
 html[data-mtp-portal="player"] .player-home-metrics { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@container (max-width:640px) {
 html[data-mtp-portal="player"] .player-home-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
 html[data-mtp-portal="player"] .player-home-metrics .player-stat strong { font-size:21px; }
}
