/* Shared player identity and a compact, accessible public profile. */
html, body, body * { scrollbar-width:none; }
html::-webkit-scrollbar, body::-webkit-scrollbar, body *::-webkit-scrollbar { width:0!important; height:0!important; display:none!important; }
html.player-card-open, html.player-card-open body { overflow:hidden!important; overscroll-behavior:none; }
button.player-profile-trigger { appearance:none; border:0; border-radius:0; padding:0; background:transparent; box-shadow:none; color:inherit; font:inherit; text-align:left; cursor:pointer; text-transform:none; letter-spacing:inherit; min-width:0; }
button.player-profile-trigger::before,button.player-profile-trigger::after { content:none!important; }
button.player-profile-trigger:hover,button.player-profile-trigger:active { background:transparent; box-shadow:none; transform:none; }
button.player-profile-trigger:focus-visible { outline:2px solid #c5a26c; outline-offset:4px; border-radius:6px; }
.player-name-block { display:flex; flex-direction:column; align-items:flex-start; gap:4px; min-width:0; max-width:100%; white-space:normal; }
.player-name-line { display:flex; align-items:center; gap:4px; min-width:0; max-width:100%; }
.player-nickname { min-width:0; overflow-wrap:anywhere; font:inherit; color:inherit; line-height:1.2; }
.player-decoration { flex:none; font-size:1em; }
.player-title { display:block; color:#c1a273; font-size:11px; line-height:1.3; font-weight:400; white-space:normal; letter-spacing:.02em; }
.player-labels { display:flex; flex-wrap:wrap; gap:4px; align-items:center; }
.player-label { display:inline-flex; align-items:center; padding:3px 5px; border:1px solid #c6a47130; border-radius:5px; background:#c6a4710a; color:#cfb990; font-size:10px; line-height:1.2; font-weight:400; white-space:nowrap; }
.player-label.is-trusted { color:#b9cf9b; border-color:#8196664d; }
.player-label.is-flagged { color:#f2a393; border-color:#b557464d; background:#a8322014; }
.home-profile-copy #profile-name { white-space:normal; overflow:visible; }
.home-profile-copy #profile-state { display:block; margin-top:5px; }
.home-profile .profile-avatar { flex-shrink:0; aspect-ratio:1; }
.home-profile .home-player-photo { position:absolute; inset:0; display:block; width:100%; height:100%; border-radius:50%; overflow:hidden; }
.home-profile .home-player-photo .player-avatar { display:block; width:100%; height:100%; max-width:none; }
.player-avatar { flex-shrink:0; aspect-ratio:1; }
.player-avatar img { width:100%; height:100%; object-fit:cover; aspect-ratio:1; }
.room-player-identity,.crash-wager-profile { min-width:0; }
.room-wager-player.player-name-block { white-space:normal; overflow:visible; }
.pc-dialog { box-sizing:border-box; width:min(440px,calc(100vw - 28px)); max-width:440px; max-height:calc(100dvh - 40px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); margin:auto; padding:0; border:1px solid #a88a584a; border-radius:21px; background:#241e18; color:#ece0ce; box-shadow:0 22px 75px #0009; overflow:auto; overscroll-behavior:contain; font:inherit; }
.pc-dialog::backdrop { background:#090806b8; }
.pc-content { padding:22px 18px 17px; }
.pc-header { display:flex; align-items:center; gap:13px; position:relative; padding-right:24px; }
.pc-header .pc-avatar { width:66px; height:66px; border:1px solid #c2a16b5c; border-radius:50%; overflow:hidden; }
.pc-identity { min-width:0; flex:1; }
.pc-identity .player-name-line { font-size:22px; }
.pc-identity .player-title { font-size:13px; }
.pc-identity .player-label { font-size:11px; }
.pc-close { position:absolute; right:-7px; top:-12px; width:38px; height:38px; border:0; padding:0; background:transparent; box-shadow:none; color:#c2b29e; font:32px/1 sans-serif; cursor:pointer; }
.pc-balance { display:inline-block; margin-top:9px; padding:5px 11px; border-radius:16px; background:#15130f; color:#e8d4b0; font-size:17px; line-height:1.3; }
.pc-awards { margin:22px 0 16px; }
.pc-awards h3 { margin:0 0 9px; color:#bdaa8f; font-size:15px; font-weight:400; }
.pc-award-list { display:flex; flex-wrap:wrap; gap:12px; min-height:64px; padding:12px; border-radius:12px; background:#191611; }
.pc-award { display:flex; align-items:center; gap:10px; color:#dbc08b; font-size:14px; }
.pc-award-icon { font-size:29px; }
.pc-note { margin:0; color:#998a75; font-size:12px; line-height:1.4; }
.pc-footer { display:flex; justify-content:center; align-items:center; gap:8px 12px; flex-wrap:wrap; padding-top:12px; border-top:1px solid #b5956123; color:#998a75; font-size:12px; }
.pc-vk { color:#dfbb7a; text-decoration:none; padding:6px 0; }
.pc-vk:focus-visible,.pc-close:focus-visible { outline:2px solid #dab980; outline-offset:2px; }
.pc-loading { color:#bba88a; min-height:100px; padding:25px 0; text-align:center; }
.pc-retry { width:100%; padding:12px; background:#403324; border:1px solid #aa88554d; border-radius:10px; color:#ecd7b0; font:inherit; margin:0 0 20px; }
.cc-clan-avatar { display:inline-flex; position:relative; width:48px; height:48px; flex:0 0 48px; border-radius:12px; overflow:hidden; border:1px solid #bd9b6640; background:#251f17; }
.cc-clan-avatar>.cc-mark { width:100%; height:100%; border:0; }
.cc-clan-avatar>img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.cc-clan-title,.cc-clan-top-identity { display:flex; align-items:center; gap:12px; min-width:0; }
.cc-clan-title h2 { min-width:0; overflow-wrap:anywhere; }
.cc-clan-photo-editor { display:flex; gap:12px; align-items:center; padding:16px 0; }
.cc-clan-photo-editor>div { min-width:0; }
.cc-clan-photo-editor h3 { font-size:16px; margin:0 0 5px; }
.cc-clan-photo-actions { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
.cc-clan-photo-actions .cc-button { padding:8px 11px; font-size:12px; }
@media(max-width:360px) { .pc-content{padding:18px 13px 14px}.pc-header .pc-avatar{width:53px;height:53px}.pc-header{gap:10px}.pc-identity .player-name-line{font-size:19px} }


/* Earned mark sits alongside the title, without a disc or an avatar overlay. */
.home-profile-copy .player-title { display:flex; align-items:center; gap:6px; }
.player-award-glyph { display:inline-block; color:#e4c58b; background:none; border:0; border-radius:0; box-shadow:none; font-size:20px; line-height:1; flex:none; }
.home-profile .profile-avatar>.cc-mark { display:none!important; }

/* Profile highlights replace lifetime totals. No nested scroller on phones. */
.pc-awards, .pc-highlight { margin:20px 0; }
.pc-awards h3, .pc-highlight h3 { margin:0 0 9px; color:#bdaa8f; font-size:15px; line-height:1.35; font-weight:400; }
.pc-award-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:0; min-height:0; max-height:none; overflow:visible; background:transparent; }
.pc-award { min-width:0; padding:12px 10px; gap:9px; border:1px solid #b5956123; border-radius:12px; background:#191611; line-height:1.3; }
.pc-award > span:last-child { min-width:0; overflow-wrap:anywhere; }
.pc-award-icon { flex:none; width:30px; text-align:center; font-size:27px; line-height:1; }
.pc-award-list > .pc-note { grid-column:1/-1; padding:16px; border-radius:12px; background:#191611; }
.pc-highlight-card { display:flex; align-items:center; gap:13px; min-width:0; padding:12px; border:1px solid #b5956123; border-radius:14px; background:#191611; }
.pc-game-picture, .pc-clan-picture { position:relative; display:grid; place-items:center; flex:0 0 68px; width:68px; height:68px; border-radius:11px; overflow:hidden; background:#2b241a; color:#b89964; }
.pc-game-picture img, .pc-clan-picture img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.pc-game-picture svg, .pc-clan-picture svg { width:32px; height:32px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.pc-highlight-copy { flex:1; min-width:0; }
.pc-highlight-copy > strong { display:block; color:#ecd9b4; font-size:19px; line-height:1.25; font-weight:400; overflow-wrap:anywhere; }
.pc-highlight-copy .pc-note { margin-top:6px; overflow-wrap:anywhere; }
@media(max-width:360px) {
 .pc-highlight-card { padding:10px; gap:10px; }
 .pc-game-picture, .pc-clan-picture { flex-basis:56px; width:56px; height:56px; }
 .pc-highlight-copy > strong { font-size:17px; }
 .pc-award { padding:11px 8px; font-size:12px; gap:6px; }
}

/* Current-week indicators use the same figures as the player and clan rankings. */
.pc-weekly { margin:20px 0; }
.pc-weekly h3 { margin:0 0 5px; color:#bdaa8f; font-size:15px; line-height:1.35; font-weight:400; }
.pc-weekly-period { font-size:11px; }
.pc-weekly-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:10px 0 0; }
.pc-weekly-item { min-width:0; padding:13px 11px; border:1px solid #b5956123; border-radius:12px; background:#191611; }
.pc-weekly-label { color:#bdaa8f; font-size:12px; line-height:1.35; overflow-wrap:anywhere; }
.pc-weekly-value { display:flex; flex-wrap:wrap; align-items:baseline; gap:3px 6px; margin:8px 0 6px; min-height:29px; }
.pc-weekly-value strong { min-width:0; max-width:100%; color:#ecd9b4; font-size:23px; font-weight:400; line-height:1.25; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.pc-weekly-unit { color:#bdaa8f; font-size:11px; line-height:1.3; }
.pc-weekly-item > .pc-note { margin:0; font-size:11px; overflow-wrap:anywhere; }
@media(max-width:360px) {
 .pc-weekly-item { padding:12px 9px; }
 .pc-weekly-value strong { font-size:20px; }
}
