@font-face {
  font-family: FaceitGeist;
  src: url('/static/activity-fonts/faceit-geist-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

.stage:has(.pd-page) { padding: 0; justify-content: flex-start; }
.frame:has(.pd-page) { width: 100%; min-height: 100vh; border: 0; border-radius: 0; background: #080808; box-shadow: none; }
.frame:has(.pd-page) > .appbar,
.frame:has(.pd-page) > .progress,
.frame:has(.pd-page) > .footer { display: none; }
.screen.screen-dashboard { display: block; min-height: 0; padding: 0; background: #080808; }
.screen.screen-dashboard > div { width: 100%; }

.pd-page, .pd-page * { box-sizing: border-box; }
.pd-page { min-height: 100vh; background: #080808; color: #f1f1f1; font: 400 14px/1.5 FaceitGeist, Inter, sans-serif; }
.pd-page button, .pd-page a { font: inherit; }
.pd-page button { cursor: pointer; }
.pd-page a { color: inherit; text-decoration: none; }
.pd-shell { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; width: min(100%, 1432px); margin: 0 auto; padding: 32px 24px 70px; }
.pd-sidebar, .pd-main { min-width: 0; display: grid; gap: 16px; align-content: start; }

/* FACEIT profile card: 300px outer card, 8px inset and 395px inner surface. */
.pd-identity { display: grid; grid-template-rows: 395px minmax(48px,auto); gap: 8px; min-height: 469px; padding: 8px; border: 1px solid #242424; border-radius: 24px 24px 16px 16px; background: #080808; }
.pd-identity-surface { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; min-width: 0; padding: 24px; border: 1px solid #3a3a3a; border-radius: 16px; background: #121212; }
.pd-avatar { display: grid; place-items: center; overflow: hidden; flex: none; width: 142px; height: 142px; border-radius: 50%; background: #292929; }
.pd-avatar img, .pd-avatar-empty { display: block; width: 100%; height: 100%; object-fit: cover; }
.pd-identity-name { display: flex; align-items: center; justify-content: center; gap: 4px; max-width: 100%; min-width: 0; }
.pd-identity-name strong { overflow: hidden; font-size: 28px; font-weight: 700; line-height: 32px; letter-spacing: .0025em; text-overflow: ellipsis; white-space: nowrap; }
.pd-verified { position: relative; display: inline-flex; flex: none; }
.pd-verified-trigger { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; color: #f1f1f1; }
.pd-verified-trigger svg { width: 20px; height: 20px; }
.pd-verified-popover { position: absolute; z-index: 10; top: calc(100% + 10px); left: 50%; display: grid; gap: 14px; width: 288px; padding: 17px 18px; border: 1px solid #303030; border-radius: 8px; background: #111; box-shadow: 0 15px 40px #000b; color: #eee; font-size: 12px; line-height: 1.35; text-align: left; transform: translateX(-50%); opacity: 0; visibility: hidden; pointer-events: none; }
.pd-verified:hover .pd-verified-popover, .pd-verified:focus-within .pd-verified-popover { opacity: 1; visibility: visible; pointer-events: auto; }
.pd-verified-popover b { display: flex; align-items: center; gap: 7px; padding-bottom: 11px; border-bottom: 1px solid #282828; font-size: 14px; }
.pd-verified-popover b svg { width: 19px; height: 19px; }
.pd-verified-popover > a { color: #ff5500; }
.pd-verified-popover > a:hover { text-decoration: underline; }
.pd-identity-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; min-width: 0; padding: 8px 10px; color: #a7a7a7; font-size: 11px; line-height: 1.2; overflow-wrap: anywhere; }
.pd-identity-status i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #ff5500; }
.pd-identity-status span { font-weight: 800; letter-spacing: .05em; }
.pd-identity-status strong { font-weight: 600; }

/* Community rules take the place of the recap tile in the reference sidebar. */
.pd-discord { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 91px; margin-top: 24px; padding: 18px 24px; border: 1px solid #403456; border-radius: 7px; background: linear-gradient(108deg, #211a34, #312448 65%, #423063); color: #fff; text-align: left; overflow-wrap: anywhere; transition: background .18s, border-color .18s, transform .18s; }
.pd-discord-copy { display: grid; gap: 5px; }
.pd-discord-copy small { color: #a887ff; font-size: 13px; font-weight: 800; letter-spacing: .18em; line-height: 1; }
.pd-discord-copy strong { font-size: 20px; font-weight: 800; line-height: 1.1; }
.pd-discord-arrow { flex: none; font-size: 34px; line-height: 1; }
.pd-discord:hover, .pd-discord.active { border-color: #735c9c; background: linear-gradient(108deg, #2b2046, #3a2b5b 65%, #523b78); }
.pd-discord:hover { transform: translateY(-2px); }

.pd-side-meta { display: grid; gap: 12px; margin: 24px 0 0; color: #a7a7a7; font-size: 14px; }
.pd-side-meta strong { color: #f1f1f1; font-weight: 700; }
.pd-country { display: flex; align-items: center; gap: 8px; }
.pd-country-icon { display: grid; place-items: center; width: 24px; height: 16px; font-size: 19px; line-height: 1; }
.pd-country-icon img { display: block; width: 24px; height: 16px; object-fit: cover; }
.pd-country-code { display: grid; place-items: center; width: 24px; height: 16px; border: 1px solid #535353; border-radius: 2px; background: #242424; color: #ededed; font-size: 9px; font-weight: 800; line-height: 1; }
.pd-side-heading { margin: 28px 0 14px; padding-top: 21px; border-top: 1px solid #242424; font-size: 16px; font-weight: 700; line-height: 20px; }
.pd-side-games { display: grid; gap: 8px; padding: 8px; border: 1px solid #242424; border-radius: 12px; }
.pd-linked-game { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 66px; padding: 11px 12px; border: 1px solid transparent; border-radius: 4px; background: #1b1b1b; color: #ddd; text-align: left; }
.pd-linked-game.active, .pd-linked-game:hover { border-color: #3a3a3a; background: #242424; }
.pd-game-monogram, .pd-game-image { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: #283a74; color: #fff; font-size: 11px; font-weight: 800; object-fit: cover; }
.pd-game-copy { display: grid; gap: 2px; min-width: 0; }
.pd-game-copy strong { font-size: 15px; font-weight: 700; line-height: 20px; overflow-wrap: anywhere; }
.pd-game-copy small { color: #a7a7a7; font-size: 13px; line-height: 18px; }
/* Discord-only identity replaces FACEIT rank and match statistics. */
.pd-discord-mode .pd-identity-surface { border-color: #39364a; background: radial-gradient(circle at 50% 12%, #242035, #121212 66%); }
.pd-discord-profile { overflow: hidden; padding: 24px; border: 1px solid #2d2b38; border-radius: 12px; background: radial-gradient(circle at 90% -35%, #2d2547, #17151f 42%, #121212 88%); }
.pd-discord-profile-heading { display: flex; align-items: center; gap: 9px; color: #aaa3d5; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.pd-discord-demo-label { margin-left: auto; padding: 3px 7px; border: 1px solid #76603a; border-radius: 4px; background: #302616; color: #ffc47c; font-size: 10px; letter-spacing: .08em; }
.pd-discord-profile-icon { display: grid; place-items: center; width: 24px; height: 24px; color: #9d8af0; }
.pd-discord-profile-icon svg { display: block; width: 21px; height: 17px; }
.pd-discord-profile-subtitle { margin: 16px 0 0; color: #aaa; font-size: 13px; line-height: 1.5; }
.pd-discord-profile-subtitle.is-preview { color: #e5c391; }
.pd-discord-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding-top: 19px; border-top: 1px solid #34313e; }
.pd-discord-fact { display: grid; align-content: center; gap: 5px; min-width: 0; min-height: 65px; padding: 11px 14px; border: 1px solid #312f39; border-radius: 6px; background: #17161c; }
.pd-discord-fact span { color: #9c98a6; font-size: 11px; }
.pd-discord-fact strong { overflow-wrap: anywhere; color: #f1eff7; font-size: 14px; font-weight: 700; }
.pd-discord-mode .pd-channels { margin-top: 16px; }
/* Main column uses the same nested card rhythm and near-black palette. */
.pd-card-stack { display: grid; gap: 8px; padding: 8px; border: 1px solid #242424; border-radius: 12px; }
.pd-rank-card { position: relative; isolation: isolate; overflow: hidden; min-height: 176px; border-radius: 8px; background: #121212; }
.pd-rank-card::before { position: absolute; z-index: 0; top: -483px; left: -633px; width: 1688px; height: 735px; background: url('/static/faceit-profile-pattern.svg?v=2') center / 100% 100% no-repeat; content: ''; opacity: .04; pointer-events: none; }
.pd-rank-card > * { position: relative; z-index: 1; }
.pd-rank-elite { background: linear-gradient(100deg, #2a1111 0%, #191111 36%, #121212 78%); }
.pd-rank-elite::before { opacity: .085; }
.pd-rank-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; min-height: 64px; padding: 16px 24px 0; overflow-wrap: anywhere; }
.pd-rank-top > div { display: grid; gap: 3px; }
.pd-rank-top small { font-size: 16px; font-weight: 700; line-height: 20px; }
.pd-rank-top div > span { color: #a7a7a7; font-size: 14px; line-height: 20px; }
.pd-rank-top > span { color: #a7a7a7; font-size: 12px; font-weight: 700; }
.pd-rank-main { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 112px; padding: 17px 24px 24px; }
.pd-rank-primary { display: flex; align-items: center; gap: 16px; min-width: 0; }
.pd-skill-icon { display: block; flex: none; width: 52px; height: 52px; }
.pd-rank-name { display: grid; gap: 1px; min-width: 0; }
.pd-rank-name strong { font-size: 24px; font-weight: 700; line-height: 28px; }
.pd-rank-name span { color: #aaa; font-size: 12px; overflow-wrap: anywhere; }
.pd-rank-metrics { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: flex-end; gap: 18px; margin-left: auto; }
.pd-rank-metrics > div { display: flex; align-items: baseline; gap: 5px; }
.pd-rank-metrics strong { font-size: 14px; font-weight: 700; }
.pd-rank-metrics span { color: #aaa; font-size: 13px; }
.pd-performance { min-width: 0; padding: 16px 18px 18px; border-radius: 8px; background: #121212; }
.pd-performance-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; min-height: 34px; margin-bottom: 12px; overflow-wrap: anywhere; }
.pd-performance-head > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; }
.pd-performance-head h2 { margin: 0; font-size: 15px; font-weight: 800; line-height: 1.25; }
.pd-performance-head span:last-child { color: #858585; font-size: 12px; }
.pd-performance-icon { display: block; flex: none; align-self: center; width: 12px; height: 12px; color: #777; }
.pd-performance-metrics { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; }
.pd-performance-metric { display: grid; align-content: center; gap: 4px; min-width: 0; min-height: 64px; padding: 10px 12px; border: 1px solid #292929; border-radius: 6px; background: #101010; }
.pd-performance-metric strong { overflow: hidden; font-size: 15px; font-weight: 800; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.pd-performance-metric span { display: flex; flex-wrap: wrap; gap: 5px; align-items: baseline; color: #888; font-size: 11px; line-height: 1.1; overflow-wrap: anywhere; }
.pd-performance-metric em { color: #5e5e5e; font-size: 10px; font-style: normal; }
.pd-performance-chart-card { display: grid; grid-template-columns: minmax(0,1fr) 166px; min-height: 210px; margin-top: 12px; overflow: hidden; border: 1px solid #292929; border-radius: 7px; background: #101010; }
.pd-performance-plot { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: 12px 11px 9px 13px; }
.pd-chart-heading { display: flex; align-items: center; gap: 7px; min-height: 18px; color: #9c9c9c; font-size: 11px; font-weight: 700; }
.pd-chart-key { display: inline-block; width: 12px; height: 2px; background: #ff5b22; }
.pd-chart { display: block; width: 100%; height: 156px; overflow: visible; }
.pd-chart-grid { stroke: #282828; stroke-width: 1; }
.pd-chart-tick { fill: #858585; font: 11px FaceitGeist, Inter, sans-serif; }
.pd-chart-line { fill: none; stroke: #ff5b22; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.pd-chart-empty { display: grid; place-items: center; flex: 1; min-height: 140px; color: #858585; font-size: 12px; text-align: center; }
.pd-form-strip { display: flex; gap: 3px; height: 4px; margin: 3px 3px 0 42px; }
.pd-form-strip span { flex: 1; min-width: 2px; border-radius: 2px; }
.pd-form-strip .win { background: #0fce35; }
.pd-form-strip .loss { background: #e63a44; }
.pd-form-strip .unknown { background: #6e6e6e; }
.pd-performance-side { display: flex; flex-direction: column; padding: 12px 12px 14px; border-left: 1px solid #252525; background: #191919; }
.pd-performance-wins { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-height: 29px; padding: 3px 6px; border-radius: 3px; background: #252525; overflow-wrap: anywhere; }
.pd-performance-outcome { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; }
.pd-performance-outcome b { font-weight: 800; }
.pd-performance-outcome.win b { color: #35d552; }
.pd-performance-outcome.loss b { color: #ee4b56; }
.pd-outcome-badge { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 2px; color: #111; font-size: 10px; font-weight: 900; line-height: 1; }
.pd-performance-outcome.win .pd-outcome-badge { background: #19cc43; }
.pd-performance-outcome.loss .pd-outcome-badge { background: #e63a44; }
.pd-performance-divider, .pd-performance-unknown { color: #797979; font-size: 11px; }
.pd-performance-chevron { margin-left: auto; color: #929292; font-size: 19px; line-height: 14px; }
.pd-performance-level { display: grid; place-items: center; min-height: 65px; }
.pd-performance-level .pd-skill-icon { width: 40px; height: 40px; }
.pd-performance-side-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 5px; min-height: 31px; padding: 5px 0; border-bottom: 1px solid #2d2d2d; color: #8c8c8c; font-size: 11px; overflow-wrap: anywhere; }
.pd-performance-side-row:nth-last-child(2) { margin-top: auto; }
.pd-performance-side-row b { flex: none; color: #e8e8e8; font-weight: 800; }
.pd-performance-side-row.unavailable b { color: #777; }
.pd-streak-value { display: inline-flex; align-items: center; gap: 3px; }
.pd-streak-fire { width: 12px; height: 12px; color: #ff5a1f; }
.pd-panel { margin-top: 24px; border: 1px solid #242424; border-radius: 12px; background: #121212; }
.pd-lifetime, .pd-match-panel { padding: 16px; }
.pd-channels { padding: 16px; }
.pd-channels-list { display: grid; gap: 18px; padding-top: 16px; }
.pd-channels-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pd-channel-option { position: relative; display: flex; align-items: center; gap: 14px; overflow: hidden; min-width: 0; min-height: 82px; padding: 13px 17px; border: 1px solid #303030; border-radius: 11px; background: #111; color: #f1f1f1; font: inherit; text-align: left; cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease; }
.pd-channel-option::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: #ff5500; content: ''; transform: scaleX(0); transform-origin: left center; transition: transform .22s ease; }
.pd-channel-option:hover, .pd-channel-option:focus-visible { border-color: #ff5500; background: #191512; box-shadow: 0 10px 20px #0006; transform: translateY(-3px); }
.pd-channel-option:hover::after, .pd-channel-option:focus-visible::after, .pd-channel-option.selected::after { transform: scaleX(1); }
.pd-channel-option:focus-visible { outline: 2px solid #ff5500; outline-offset: 2px; }
.pd-channel-option.selected { border-color: #ff5500; background: #21150f; }
.pd-channel-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; color: #ff5500; }
.pd-channel-icon img { display: block; width: 42px; height: 42px; border-radius: 8px; object-fit: cover; }
.pd-channel-icon svg { display: block; width: 39px; height: 39px; }
.pd-channel-details { display: grid; gap: 3px; min-width: 0; }
.pd-channel-details strong { overflow: hidden; font-size: 15px; font-weight: 750; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.pd-channel-details small { color: #8e8e8e; font-size: 11px; line-height: 15px; }
.pd-channel-mark { display: grid; place-items: center; flex: none; width: 24px; height: 24px; margin-left: auto; color: #ff5500; opacity: 0; transform: translateX(-4px); transition: opacity .18s ease, transform .18s ease; }
.pd-channel-mark svg { display: block; width: 20px; height: 20px; }
.pd-channel-option.selected .pd-channel-mark { opacity: 1; transform: translateX(0); }
.pd-channels-empty { display: grid; place-items: center; min-height: 98px; padding: 16px; color: #a7a7a7; font-size: 13px; text-align: center; }
.pd-panel-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; min-height: 54px; padding: 0 0 16px; border-bottom: 1px solid #303030; overflow-wrap: anywhere; }
.pd-panel-title h2 { margin: 0; font-size: 16px; font-weight: 700; line-height: 20px; }
.pd-panel-title > span { color: #a7a7a7; font-size: 12px; }
.pd-stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pd-stat { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 56px; padding: 12px 8px; border-bottom: 1px solid #303030; }
.pd-stat span { color: #aaa; font-size: 12px; }
.pd-stat strong { font-size: 15px; font-weight: 700; }
.pd-more-stats summary { display: flex; justify-content: space-between; padding: 16px 8px 2px; color: #ccc; font-size: 12px; list-style: none; cursor: pointer; }
.pd-more-stats summary::-webkit-details-marker { display: none; }
.pd-more-stats summary span { color: #ff5500; }
.pd-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; padding: 10px 8px; }
.pd-detail-grid > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #303030; font-size: 12px; }
.pd-detail-grid span { color: #aaa; overflow-wrap: anywhere; }
.pd-detail-grid strong { flex: none; }
.pd-match-table { width: 100%; }
.pd-match-columns, .pd-match-row { display: grid; grid-template-columns: 98px 92px 112px minmax(0, 1fr); align-items: center; column-gap: 14px; }
.pd-match-columns { min-height: 38px; color: #828282; font-size: 11px; font-weight: 600; }
.pd-match-row { position: relative; min-height: 58px; padding: 5px 0 5px 9px; border-top: 1px solid #2c2c2c; font-size: 13px; }
.pd-match-row::before { position: absolute; top: 8px; bottom: 8px; left: 0; width: 3px; border-radius: 2px; background: #777; content: ''; }
.pd-match-row.win::before { background: #0dd331; }
.pd-match-row.loss::before { background: #f3333c; }
.pd-match-date { color: #a7a7a7; font-size: 12px; white-space: nowrap; }
.pd-match-score { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.pd-match-score strong { font-size: 14px; font-weight: 700; }
.pd-match-badge { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 2px; background: #626262; color: #080808; font-size: 10px; font-weight: 800; }
.pd-match-row.win .pd-match-badge { background: #0dd331; }
.pd-match-row.loss .pd-match-badge { background: #f3333c; }
.pd-match-kda { color: #d8d8d8; white-space: nowrap; }
.pd-match-map { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pd-match-map img, .pd-map-placeholder { display: grid; place-items: center; flex: none; width: 50px; height: 34px; border-radius: 3px; background: #292929; color: #aaa; object-fit: cover; }
.pd-match-map strong { overflow: hidden; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.pd-empty { color: #a7a7a7; font-size: 12px; }
.pd-match-empty { display: grid; justify-items: center; align-content: center; gap: 5px; min-height: 190px; text-align: center; }
.pd-match-empty svg { width: 36px; height: 36px; margin-bottom: 12px; color: #f1f1f1; }
.pd-match-empty strong { font-size: 20px; line-height: 26px; }
.pd-match-empty span { color: #a7a7a7; font-size: 14px; }
.pd-empty { margin: 12px 0; }
.pd-no-games { padding: 32px; border: 1px solid #242424; border-radius: 12px; color: #a7a7a7; }

body.pd-rules-open { overflow: hidden; }
.pd-rules-backdrop { position: fixed; z-index: 39; inset: 0; background: #000b; backdrop-filter: blur(4px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, visibility .2s; }
.pd-rules-backdrop.open { opacity: 1; visibility: visible; pointer-events: auto; }
.pd-rules { position: fixed; z-index: 40; top: 50%; left: 50%; display: flex; flex-direction: column; width: min(560px, calc(100vw - 32px)); max-height: min(690px, calc(100dvh - 32px)); overflow: hidden; border: 1px solid #383838; border-radius: 10px; background: #0d0d0d; box-shadow: 0 28px 90px #000d; transform: translate(-50%, -47%) scale(.98); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .2s, opacity .2s, visibility .2s; }
.pd-rules.open { transform: translate(-50%, -50%) scale(1); opacity: 1; visibility: visible; pointer-events: auto; }
.pd-rules-header { display: flex; flex: none; align-items: center; justify-content: space-between; min-height: 70px; padding: 14px 28px; border-bottom: 1px solid #292929; background: #111; }
.pd-rules-header > img { display: block; width: 124px; height: 25px; object-fit: contain; object-position: left center; }
.pd-rules-header button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid #383838; border-radius: 5px; background: #1b1b1b; color: #e5e5e5; }
.pd-rules-header button:hover { border-color: #666; background: #282828; }
.pd-rules-header button svg { width: 17px; height: 17px; }
.pd-rules-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 32px 32px 36px; background: linear-gradient(125deg, transparent 64%, #161616 64%, #161616 74%, transparent 74%) right top / 260px 210px no-repeat; scrollbar-color: #515151 #151515; scrollbar-width: thin; }
.pd-rules-kicker { display: inline-flex; align-items: center; gap: 8px; color: #bcbcbc; font-size: 11px; font-weight: 800; letter-spacing: .14em; line-height: 1; }
.pd-rules-kicker::before { width: 20px; height: 3px; margin-right: 2px; background: #ff5500; content: ''; }
.pd-rules-kicker svg { width: 17px; height: 15px; color: #bcbcbc; }
.pd-rules h2 { margin: 18px 0 8px; color: #f5f5f5; font-size: clamp(27px, 4vw, 34px); font-weight: 750; line-height: 1.12; letter-spacing: -.035em; }
.pd-rules-intro { margin: 0 0 26px; color: #a7a7a7; font-size: 14px; line-height: 1.5; }
.pd-rules-list { border: 1px solid #333; border-radius: 7px; background: #171717; }
.pd-rules-list ol { margin: 0; padding: 0; list-style: none; counter-reset: rule; }
.pd-rules-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 18px 20px; color: #ededed; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; counter-increment: rule; }
.pd-rules-list li + li { border-top: 1px solid #303030; }
.pd-rules-list li::before { color: #ff5500; font-size: 12px; font-weight: 800; letter-spacing: .06em; content: counter(rule, decimal-leading-zero); }
.pd-rules-list .pd-empty { margin: 0; padding: 20px; }
.pd-rules-footer { display: grid; flex: none; justify-items: end; padding: 20px 32px; border-top: 1px solid #292929; background: #111; }
.pd-rules-download { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: min(100%, 240px); min-height: 46px; padding: 10px 18px; border: 1px solid #ff5500; border-radius: 4px; background: #ff5500; color: #fff; font-size: 13px !important; font-weight: 800 !important; text-align: center; transition: border-color .15s, background .15s; }
.pd-rules-download span { font-size: 21px; line-height: .8; }
.pd-rules-download:hover { border-color: #ff7530; background: #e94d00; }
.pd-rules-download:disabled { opacity: .7; cursor: wait; }
.pd-download-hint { width: min(100%, 240px); margin: 9px 0 0; color: #898989; font-size: 11px; line-height: 1.4; text-align: center; }
.pd-download-error { width: min(100%, 240px); margin: 10px 0 0; color: #ff9292; font-size: 12px; line-height: 1.4; text-align: center; }
.pd-review-backdrop { position: fixed; z-index: 41; inset: 0; background: #000b; backdrop-filter: blur(4px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, visibility .2s; }
.pd-review-backdrop.open { opacity: 1; visibility: visible; pointer-events: auto; }
.pd-review { z-index: 42; }
.pd-review-body { padding-bottom: 32px; }
.pd-review-channel { display: grid; gap: 5px; margin: 0 0 22px; padding: 15px 18px; border: 1px solid #343434; border-radius: 7px; background: #171717; }
.pd-review-channel span { color: #909090; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pd-review-channel strong { overflow-wrap: anywhere; color: #f1f1f1; font-size: 17px; line-height: 1.3; }
.pd-review-field { display: grid; gap: 9px; }
.pd-review-field label { color: #e7e7e7; font-size: 13px; font-weight: 700; }
.pd-review-field input { width: 100%; min-height: 48px; padding: 11px 15px; border: 1px solid #454545; border-radius: 5px; outline: 0; background: #111; color: #fff; font: inherit; font-size: 15px; }
.pd-review-field input:focus { border-color: #ff5500; box-shadow: 0 0 0 2px #ff550033; }
.pd-review-submit { display: inline-flex; align-items: center; justify-content: center; width: min(100%, 240px); min-height: 46px; margin-top: 20px; padding: 11px 20px; border: 1px solid #ff5500; border-radius: 4px; background: #ff5500; color: white; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.pd-review-submit:hover { background: #e94d00; }
.pd-review-submit:disabled { opacity: .65; cursor: wait; }
.pd-review-error { margin: 12px 0 0; color: #ff9292; font-size: 13px; line-height: 1.5; }
.pd-review-state { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; padding: 18px; border: 1px solid #464033; border-radius: 7px; background: #211b14; }
.pd-review-state.rejected { border-color: #6b3434; background: #261616; }
.pd-review-state-icon { display: grid; place-items: center; flex: none; width: 31px; height: 31px; border: 1px solid #ff5500; border-radius: 50%; color: #ff5500; font-size: 17px; font-weight: 800; }
.pd-review-state.rejected .pd-review-state-icon { border-color: #ff7777; color: #ff7777; }
.pd-review-state > div { min-width: 0; }
.pd-review-state strong { color: #f5f5f5; font-size: 15px; }
.pd-review-state p { margin: 7px 0; color: #c5c5c5; font-size: 13px; line-height: 1.55; }
.pd-review-state small { color: #a9a9a9; overflow-wrap: anywhere; }
.pd-review-code { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px 12px; margin: 12px 0 8px; }
.pd-review-code span { color: #b8b8b8; font-size: 12px; }
.pd-review-code strong { color: #ff5500; font-size: 18px; font-variant-numeric: tabular-nums; letter-spacing: .09em; }
.pd-review-reasons { margin: 14px 0 0; }
.pd-review-reasons > strong { font-size: 12px; }
.pd-review-reasons ul { margin: 8px 0 0; padding-left: 18px; color: #ececec; font-size: 13px; line-height: 1.65; }
.pd-review-note { margin-top: 12px !important; white-space: pre-wrap; overflow-wrap: anywhere; }
.pd-review { width: min(780px, calc(100vw - 28px)); max-height: min(1000px, calc(100dvh - 28px)); border-color: #333; border-radius: 14px; background: #111; }
.pd-review-header { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; min-height: 62px; padding: 10px 18px; border-bottom: 1px solid #292929; background: #0c0c0c; }
.pd-review-header img { display: block; width: 144px; height: 30px; object-fit: contain; }
.pd-review-header button { justify-self: start; min-height: 38px; max-width: 100%; padding: 6px 8px; border: 0; background: none; color: #c8c8c8; font-size: 12px; font-weight: 800; letter-spacing: .04em; overflow-wrap: anywhere; }
.pd-review-header button:last-child { justify-self: end; }
.pd-review-header button:hover { color: #ff5500; }
.pd-review-body { padding: 30px 24px 36px; background: linear-gradient(180deg,#141414 0,#101010 250px); }
.pd-review-summary { display: grid; justify-items: center; text-align: center; }
.pd-review-summary h2 { max-width: 100%; margin: 0; font-size: clamp(20px, 3vw, 26px); font-weight: 850; line-height: 1.2; letter-spacing: -.025em; }
.pd-review-summary p { max-width: 610px; margin: 5px 0 0; color: #bbb; font-size: 14px; line-height: 1.45; }
.pd-review-code { display: inline-flex; justify-content: center; align-items: center; gap: 9px; margin: 16px 0 0; padding: 8px 15px; border: 1px solid #6b341e; border-radius: 6px; background: #1b130f; }
.pd-review-code span { color: #ff6a17; font-size: 12px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.pd-review-code strong { color: #fff; font-size: 15px; font-weight: 850; letter-spacing: .055em; }
.pd-review-code.loading span { color: #b6b6b6; }
.pd-review-selected { max-width: 100%; margin-top: 11px; color: #a8a8a8; font-size: 12px; overflow-wrap: anywhere; }
.pd-review-selected strong { color: #e3e3e3; }
.pd-review-summary .pd-review-disclaimer { width: min(100%, 680px); max-width: none; margin: 20px 0 0; padding: 13px 16px; border: 1px solid #33302e; border-left: 3px solid #ff5a1f; border-radius: 6px; background: #191817; color: #c8c8c8; font-size: 12px; line-height: 1.5; text-align: left; white-space: pre-line; overflow-wrap: anywhere; }
.pd-review-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; margin-top: 28px; }
.pd-review-check { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 10px 14px; overflow: hidden; border: 1px solid #343434; border-left: 4px solid #ff5500; border-radius: 9px; background: linear-gradient(130deg, #202020, #111); }
.pd-review-check strong { min-width: 0; color: #ededed; font-size: 13px; font-weight: 760; line-height: 1.35; overflow-wrap: anywhere; }
.pd-review-progress { flex: none; display: inline-flex; align-items: center; gap: 5px; color: #a7a7a7; font-size: 12px; }
.pd-review-dots { display: inline-flex; gap: 3px; }
.pd-review-dots i { width: 5px; height: 5px; border-radius: 50%; background: #ff5500; animation: pd-review-pulse 1.2s infinite ease-in-out; }
.pd-review-dots i:nth-child(2) { animation-delay: .16s; }
.pd-review-dots i:nth-child(3) { animation-delay: .32s; }
@keyframes pd-review-pulse { 0%, 70%, 100% { opacity: .3; transform: scale(.75); } 35% { opacity: 1; transform: scale(1); } }
.pd-review-checks.rejected { grid-template-columns: 1fr; }
.pd-review-check.failed { justify-content: flex-start; border-left-color: #f04b56; background: linear-gradient(130deg, #271619, #161112); }
.pd-review-failed-icon { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: #f04b56; color: #fff; font-size: 14px; font-weight: 900; }
.pd-review-checks.decided { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 11px; max-width: 720px; margin: 26px auto 0; }
.pd-review-check.decided { display: flex; justify-content: flex-start; align-items: center; gap: 10px; min-height: 45px; padding: 8px 12px; border-width: 1px 1px 1px 4px; border-radius: 10px; box-shadow: 0 7px 15px #0002; }
.pd-review-check.decided strong { min-width: 0; color: #ededed; font-size: 12.5px; font-weight: 750; }
.pd-review-check.decided.passed { border-color: #187346; border-left-color: #11f080; background: linear-gradient(105deg,#0b4829 0%,#07311d 70%,#052315 100%); }
.pd-review-check.decided.failed { border-color: #8c293b; border-left-color: #ff4058; background: linear-gradient(105deg,#551323 0%,#380d1b 70%,#250a12 100%); }
.pd-review-result-icon { display: grid; place-items: center; flex: none; width: 21px; height: 23px; color: #7de79a; }
.pd-review-result-icon svg { display: block; width: 21px; height: 21px; }
.pd-review-check.decided.failed .pd-review-result-icon { color: #ff6678; }
.pd-review-result-label { flex: none; margin-left: 4px; color: #18ef7c; font-size: 12.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.pd-review-check.decided.failed .pd-review-result-label { color: #ff6175; }
.pd-review-issue { width: min(100%, 720px); margin: 24px auto 0; padding: 22px 24px; border: 1px solid #3c3430; border-left: 3px solid #ff5a1f; border-radius: 7px; background: #191716; box-shadow: 0 10px 24px #0003; }
.pd-review-issue h3 { margin: 0 0 15px; color: #ff7839; font-size: 15px; font-weight: 850; letter-spacing: .035em; line-height: 1.35; text-align: left; text-transform: uppercase; overflow-wrap: anywhere; }
.pd-review-issue-message { margin: 0 0 12px; padding: 11px 12px; border: 1px solid #282828; border-left: 4px solid #ff650c; border-radius: 9px; background: #0d0d0d; color: #e0e0e0; font-size: 13px; font-weight: 600; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.pd-review-steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: review-step; }
.pd-review-steps li { display: grid; grid-template-columns: 23px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 11px; border: 1px solid #282828; border-left: 4px solid #ff650c; border-radius: 9px; background: #0d0d0d; color: #e0e0e0; font-size: 13px; font-weight: 600; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; counter-increment: review-step; }
.pd-review-steps li::before { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #42200f; color: #ff711f; font-size: 11px; font-weight: 850; content: counter(review-step); }
.pd-review-rules-download { display: flex; width: fit-content; align-items: center; justify-content: center; gap: 10px; min-height: 44px; max-width: 100%; margin: 16px auto 0; padding: 10px 18px; border: 1px solid #ff5a1f; border-radius: 5px; background: linear-gradient(135deg,#ff6427,#ed4b17); box-shadow: 0 3px 0 #a82f0d,0 8px 22px #ff4f171c; color: #fff; text-align: center; font-size: 12px !important; font-weight: 800 !important; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .15s,border-color .15s,box-shadow .15s,transform .15s; }
.pd-review-rules-download span { min-width: 0; overflow-wrap: anywhere; }
.pd-review-download-icon { width: 18px; height: 18px; flex: none; }
.pd-review-rules-download:hover { border-color: #ff884e; background: linear-gradient(135deg,#ff7840,#fa581e); box-shadow: 0 3px 0 #ae350f,0 10px 26px #ff4f1733; transform: translateY(-1px); }
.pd-review-rules-download:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.pd-review-rules-download:disabled { opacity: .6; cursor: wait; transform: none; }
.pd-review-more { margin-top: 14px; border: 1px solid #262626; border-radius: 8px; background: #141414; overflow: hidden; transition: border-color .15s; } .pd-review-more:hover { border-color: #3a3a3a; }
.pd-review-more summary { display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 18px; color: #f5f5f5; cursor: pointer; font-size: 17px; font-weight: 800; letter-spacing: .01em; list-style: none; overflow-wrap: anywhere; transition: background .15s; } .pd-review-more summary::before { content: ''; flex: none; width: 4px; height: 22px; border-radius: 2px; background: #ff5500; }
.pd-review-more summary::-webkit-details-marker { display: none; }
.pd-review-more summary:hover, .pd-review-more summary:focus-visible { background: #1a1a1a; } .pd-review-more summary:hover span, .pd-review-more summary:focus-visible span { border-color: #ff5500; color: #fff; }
.pd-review-more summary:focus-visible { outline: 2px solid #ff8c4a; outline-offset: -2px; }
.pd-review-more summary span { flex: none; margin-left: auto; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; border: 1px solid #3a3a3a; background: #1c1c1c; color: #ff8647; font-size: 14px; line-height: 1; transition: transform .2s, background .15s, color .15s, border-color .15s; }
.pd-review-more[open] summary { border-bottom: 1px solid #262626; } .pd-review-more[open] summary span { transform: rotate(180deg); background: #ff5500; border-color: #ff5500; color: #111; }
.pd-review-more-content { display: grid; gap: 12px; padding: 15px 16px 17px; }
.pd-review-more-content p { margin: 0; padding: 13px 15px; border: 1px solid #242424; border-radius: 8px; background: #0f0f0f; color: #e8e8e8; font-size: 14px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.pd-review-more-content img { display: block; width: auto; max-width: 100%; max-height: min(360px, 45dvh); margin: 0 auto; border: 1px solid #463328; border-radius: 5px; object-fit: contain; }
.pd-review-issue .pd-download-error { margin-top: 9px; }
.pd-review-note { margin: 16px 0 0 !important; padding: 12px 14px; border: 1px solid #4a2929; border-radius: 7px; background: #211616; color: #ddd; font-size: 13px; line-height: 1.5; }
.pd-review-error { margin: 24px 0 0; padding: 12px 14px; border: 1px solid #6b3434; border-radius: 7px; background: #261616; color: #ffaaaa; }
.pd-review-retry { display: block; min-height: 44px; margin: 22px auto 0; padding: 10px 22px; border: 1px solid #ff5500; border-radius: 5px; background: #ff5500; color: #fff; font-size: 12px !important; font-weight: 850 !important; letter-spacing: .025em; }
.pd-review-retry:hover { background: #e94d00; }
.pd-page :is(button, a, summary):focus-visible { outline: 2px solid #ff5500; outline-offset: 3px; }

@media (max-width: 1000px) {
  .pd-shell { grid-template-columns: 260px minmax(0, 1fr); gap: 24px; padding: 24px; }
  .pd-identity { grid-template-rows: 350px minmax(48px,auto); min-height: 424px; }
  .pd-rank-metrics { gap: 10px; }
  .pd-rank-metrics > div { display: grid; gap: 0; }
  .pd-performance-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .pd-match-columns, .pd-match-row { grid-template-columns: 78px 76px 90px minmax(0, 1fr); column-gap: 8px; }
  .pd-match-map img, .pd-map-placeholder { width: 40px; height: 29px; }
}
@media (max-width: 760px) {
  .pd-shell { display: block; padding: 16px; }
  .pd-sidebar { margin-bottom: 24px; }
  .pd-identity { grid-template-rows: 88px minmax(42px,auto); min-height: 0; }
  .pd-identity-surface { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 12px; }
  .pd-avatar { width: 54px; height: 54px; }
  .pd-identity-name strong { font-size: 20px; line-height: 25px; }
  .pd-discord { max-width: 300px; margin-top: 16px; }
  .pd-side-meta { margin-top: 18px; }
  .pd-side-heading { margin-top: 20px; }
  .pd-side-games { display: flex; overflow-x: auto; }
  .pd-linked-game { flex: 0 0 185px; }
  .pd-rank-main { align-items: flex-start; flex-direction: column; gap: 14px; }
  .pd-rank-metrics { width: 100%; justify-content: flex-start; margin-left: 0; }
  .pd-performance-chart-card { grid-template-columns: minmax(0,1fr) 150px; }
  .pd-performance-side-row { font-size: 10px; }
  .pd-chart { height: 120px; }
  .pd-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-detail-grid { grid-template-columns: 1fr; }
  .pd-match-columns { display: none; }
  .pd-match-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'map score' 'date kda'; gap: 3px 12px; min-height: 68px; }
  .pd-match-date { grid-area: date; }
  .pd-match-score { grid-area: score; justify-self: end; }
  .pd-match-kda { grid-area: kda; justify-self: end; color: #a7a7a7; font-size: 11px; }
  .pd-match-map { grid-area: map; }
}
@media (max-width: 620px) {
  .pd-channels-grid { grid-template-columns: 1fr; }
  .pd-review-checks { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 520px) {
  .pd-discord-profile { padding: 18px; }
  .pd-discord-facts { grid-template-columns: 1fr; }
  .pd-performance { padding: 14px 12px; }
  .pd-performance-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .pd-performance-metric { min-height: 59px; padding: 9px; }
  .pd-performance-chart-card { grid-template-columns: minmax(0,1fr); min-height: 0; }
  .pd-performance-side { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; gap: 8px; border-top: 1px solid #292929; border-left: 0; }
  .pd-performance-side-row:nth-last-child(2) { margin-top: 0; }
  .pd-performance-level { grid-row: span 2; }
  .pd-chart { height: 110px; }
  .pd-form-strip { gap: 2px; }
  .pd-rules { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
  .pd-rules-header { min-height: 60px; padding: 10px 18px; }
  .pd-rules-body { padding: 24px 20px 28px; }
  .pd-rules-list li { gap: 8px; padding: 15px 14px; }
  .pd-rules-footer { justify-items: stretch; padding: 16px 20px; }
  .pd-rules-download, .pd-download-hint, .pd-download-error { width: 100%; }
  .pd-review { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .pd-review-header { min-height: 56px; padding: 8px 12px; }
  .pd-review-header img { width: 112px; height: 23px; }
  .pd-review-header button { font-size: 10px; }
  .pd-review-body { padding: 22px 16px 26px; }
  .pd-review-progress { font-size: 11px; }
  .pd-review-checks.decided { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pd-rules, .pd-rules-backdrop, .pd-review-backdrop { transition: none; }
  .pd-channel-option, .pd-channel-option::after, .pd-channel-mark { transition: none; }
  .pd-channel-option:hover, .pd-channel-option:focus-visible { transform: none; }
  .pd-review-dots i { animation: none; opacity: .8; }
}
.pd-review-more summary span svg { width: 15px; height: 15px; display: block; }

.pd-review-instruction { margin: 16px 0; display: grid; gap: 9px; }
.pd-review-instruction h4 { margin: 0; color: #ff7839; font-size: 17px; font-weight: 850; letter-spacing: .01em; line-height: 1.3; overflow-wrap: anywhere; }
.pd-review-instruction p { margin: 0; padding: 11px 12px; border: 1px solid #282828; border-left: 4px solid #ff650c; border-radius: 9px; background: #0d0d0d; color: #e0e0e0; font-size: 14px; font-weight: 600; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.pd-review-instruction img { display: block; width: 100%; max-width: 100%; max-height: min(760px, 82dvh); margin: 2px auto 0; border-radius: 7px; object-fit: contain; }

img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.pd-review-instruction img, .pd-review-more-content img { -webkit-touch-callout: none; pointer-events: none; }
