.member-profile-dialog,.member-owner-dialog {color:#ecf0f5;border:1px solid #d6b14d66;border-radius:18px;background:radial-gradient(ellipse at top right,#c6a04316,transparent 60%),#101b24;padding:30px;width:min(720px,calc(100vw - 28px));max-height:90dvh;overflow-y:auto;box-sizing:border-box;}
.member-profile-dialog::backdrop,.member-owner-dialog::backdrop {background:#03080dd9;backdrop-filter:blur(5px);}
.member-profile-heading {display:flex;align-items:center;gap:18px;margin-bottom:14px;padding-right:25px;}.member-profile-heading img {width:88px;height:88px;object-fit:contain;border-radius:15px;background:#091019;border:1px solid #d6b14d66;flex-shrink:0;}.member-profile-heading h2 {margin:5px 0;font-size:26px;overflow-wrap:anywhere;}.member-profile-heading .rules-eyebrow {font-size:9px;letter-spacing:2px;}#memberProfileRole {font-size:10px;color:#e8c76f;text-transform:uppercase;letter-spacing:1px;}
.member-muted {color:#8e9fae!important;font-size:12px!important;line-height:1.7;overflow-wrap:anywhere;}
.member-stat-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:22px 0;}.member-stat {padding:15px;border:1px solid #cfac4c24;background:#1a27316e;border-radius:12px;display:flex;flex-direction:column;gap:10px;}.member-stat>span {text-transform:uppercase;color:#9eafbf;font-size:10px;letter-spacing:1px;}.member-stat>strong {font-size:17px;color:#f0ca6c;line-height:1.5;overflow-wrap:anywhere;}.member-stat small {font-size:10px;color:#8597a7;line-height:1.6;}
.member-race {padding:18px;border-radius:12px;border:1px solid #d6b14d44;background:#d6b14d08;}.member-race-title {display:flex;align-items:center;justify-content:space-between;gap:12px;}.member-race h3,.member-avatar-settings h3 {margin:0;color:#f1e2b6;font-size:15px;}.member-race-title>span {font-size:12px;color:#ebc469;}.member-race p {font-size:12px;line-height:1.7;color:#b7c5d1;}.member-race progress {width:100%;height:9px;accent-color:#e9c260;border:0;border-radius:8px;overflow:hidden;}.member-race progress::-webkit-progress-bar {background:#27343d;}.member-race progress::-webkit-progress-value {background:linear-gradient(90deg,#a67c2e,#f2d175);}.member-speed {margin-top:17px;border-top:1px solid #d6b14d22;padding-top:15px;}.member-speed>strong {font-size:12px;color:#e8c970;}.member-speed small {color:#7f94a5;font-size:10px;line-height:1.7;}
.member-avatar-settings {margin-top:20px;border-top:1px solid #d6b14d22;padding-top:20px;}.member-avatar-settings p {font-size:12px;color:#9faebb;line-height:1.7;}.member-avatar-settings input {display:block;max-width:100%;margin:10px 0;color:#adbac7;font-size:12px;} .member-upload-label {display:none;}
.member-profile-dialog button:not(.rules-close),.member-owner-dialog button:not(.rules-close),.member-owner-launch {background:#e5bc5e;border:1px solid #f4d786;border-radius:8px;padding:10px 14px;color:#1b1711;font:inherit;font-weight:750;font-size:12px;cursor:pointer;}.member-profile-dialog button:disabled,.member-owner-dialog button:disabled {opacity:.4;cursor:not-allowed;}.member-profile-actions {display:flex;gap:8px;flex-wrap:wrap;margin-top:18px;}.member-profile-actions button,.member-owner-buttons button:not([type=submit]) {background:#22303b!important;border-color:#d3ab4c44!important;color:#e1bf6b!important;}.member-status {font-size:12px;color:#e7c579;line-height:1.6;min-height:1em;}
.member-owner-dialog>p {font-size:12px;color:#9eb0bf;line-height:1.7;}.member-search {display:flex;gap:8px;}.member-owner-dialog input {min-width:0;box-sizing:border-box;width:100%;border-radius:8px;border:1px solid #c9a54a44;background:#09131b;padding:11px;color:#e9eff4;font:inherit;font-size:12px;color-scheme:dark;}.member-owner-dialog label {display:block;font-size:11px;color:#b8c4cf;margin:16px 0 7px;}.member-owner-dialog small {display:block;font-size:10px;color:#8599aa;line-height:1.7;margin-top:6px;}.member-owner-users {max-height:185px;overflow:auto;margin:17px 0;display:grid;gap:6px;}.member-owner-users .member-owner-user {text-align:left;background:#1c2a35;color:#f0e5ca;border:1px solid #c9a54a33;display:grid;grid-template-columns:1fr auto;gap:4px;padding:11px;}.member-owner-user small {margin:0;grid-row:2;overflow-wrap:anywhere;}.member-owner-user>span {grid-column:2;grid-row:1/3;font-size:10px;color:#d9b96b;align-self:center;}.member-owner-fields {display:grid;grid-template-columns:1fr 1fr;gap:14px;}.member-owner-buttons {display:flex;flex-wrap:wrap;gap:8px;margin-top:19px;}.member-owner-launch {padding:8px 11px;background:#26313a;color:#e4c167;border-color:#d1aa4555;white-space:nowrap;}
[data-leaderboard-name],[data-community-user],#userName,#userAvatar {cursor:pointer;}[data-leaderboard-name]:hover>span:first-child,[data-community-user]:hover {color:#f0ce77!important;}[data-leaderboard-name]:focus-visible {outline:2px solid #e4bc5f;outline-offset:4px;border-radius:4px;}
.community-account #userAvatar {object-fit:contain!important;}
.member-owner-dialog select {box-sizing:border-box;width:100%;border:1px solid #c9a54a66;border-radius:8px;background:#14232e;padding:12px;color:#efda9a;font:inherit;font-size:12px;color-scheme:dark;}.member-owner-dialog input:disabled {opacity:.55;}
@media(max-width:600px) {.community-account #userBox {gap:5px!important;}.community-account #userAvatar {width:28px!important;height:28px!important;min-width:28px!important;flex-basis:28px!important;}.community-account #userName {max-width:60px!important;font-size:10px;}.community-account .community-role {font-size:8px;padding:3px;}.community-account .community-logout {font-size:9px;padding:6px!important;}.member-owner-launch {font-size:0!important;padding:7px!important;}.member-owner-launch::after {content:'Admin';font-size:9px;}}
@media(max-width:600px) {.member-profile-dialog,.member-owner-dialog {padding:20px;}.member-stat-grid {grid-template-columns:1fr;gap:8px;}.member-stat {display:grid;grid-template-columns:1fr 1.5fr;gap:8px;padding:12px;}.member-stat small {grid-column:1/3;}.member-stat strong {font-size:14px;}.member-profile-heading img {width:66px;height:66px;}.member-profile-heading h2 {font-size:21px;}.member-owner-fields {grid-template-columns:1fr;gap:0;}.member-owner-launch {font-size:10px;padding:6px;}.community-account {gap:6px!important;}.community-account #userName {max-width:88px;}}

.reference-leaderboard .top-card .rank-avatar {background-image:none!important;background-size:cover!important;background-color:#14232e!important;}
.reference-leaderboard .top-card .rank-avatar>span {visibility:visible;color:#d4b361;font-size:clamp(22px,3vw,38px);font-weight:800;}
.reference-leaderboard .top-card .rank-avatar.has-discord-avatar>span {visibility:hidden;}
.owner-avatar-settings {margin-top:22px;padding-top:18px;border-top:1px solid #c9a54a44;}.owner-avatar-settings p {font-size:12px;color:#9eafbd;line-height:1.6;}.owner-avatar-settings>img {display:block;width:88px;height:88px;object-fit:cover;border:1px solid #c9a54a66;border-radius:12px;margin:14px 0;}.owner-avatar-settings input[type=file] {max-width:100%;font-size:11px;}
.community-account #userAvatar,.community-message-avatar,.member-profile-heading img {object-fit:cover!important;}

#ownerAvatarSettings {margin:18px 0;padding:18px;border:1px solid #d6b14d55;border-radius:12px;background:#d6b14d08;scroll-margin-top:16px;}
#ownerAvatarSettings h3 {margin-top:0;}
#memberProfileAvatarEdit {margin:4px 0 12px;}

.member-daily-wager{margin:22px 0;padding:18px;border:1px solid #966bc04d;border-radius:14px;background:linear-gradient(140deg,#2d1d3e,#151420);}
.member-daily-wager h3{color:#ccf5aa;font-size:16px;margin:0 0 6px;}.wager-chart-subtitle,.wager-chart-note{font-size:11px;color:#a99bb9;line-height:1.6;}.member-daily-wager svg{display:block;width:100%;height:auto;overflow:visible;margin:16px 0 0;}.wager-chart-grid{stroke:#a28eb328;stroke-width:1;}.wager-chart-axis{fill:#b3a9bf;font-size:11px;font-family:inherit;}.wager-chart-line{fill:none;stroke:#b4f58a;stroke-width:3;stroke-linejoin:round;stroke-linecap:round;filter:drop-shadow(0 0 4px #9bff6c40);}.wager-chart-area{stroke:none;pointer-events:none;}.wager-chart-point{fill:#c9ffa4;stroke:#263021;stroke-width:2;cursor:crosshair;}.wager-chart-point:hover,.wager-chart-point:focus{fill:#f1ffdf;stroke:#b4f58a;stroke-width:3;outline:none;}.wager-chart-missing{fill:#71627e;}.wager-chart-missing:focus{outline:none;stroke:#d6c3e8;stroke-width:2;}.wager-chart-detail{min-height:2.8em;font-size:12px;color:#d3efbd;line-height:1.5;}.wager-chart-empty{font-size:12px;line-height:1.7;color:#ad9fbc;}.member-daily-wager summary{cursor:pointer;font-size:12px;color:#c3dfb0;padding:10px 0;}.member-daily-wager table{width:100%;border-collapse:collapse;font-size:11px;}.member-daily-wager th,.member-daily-wager td{padding:9px 5px;text-align:left;border-bottom:1px solid #a28eb328;color:#c7bcd1;}.member-daily-wager th{color:#d3efbd;}.member-daily-wager th:first-child,.member-daily-wager td:first-child{white-space:nowrap;}
@media(max-width:500px){.member-daily-wager{padding:12px;}.wager-chart-axis{font-size:13px;}}

.wager-chart-plot{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;}.wager-chart-plot svg{min-width:560px;}

.wager-chart-line{stroke:var(--series-color,#c7ff99);stroke-width:1.8;opacity:.6;filter:none;}.wager-chart-line.is-selected{stroke-width:4;opacity:1;filter:drop-shadow(0 0 4px #b4ff7c66);}.wager-chart-point{fill:var(--series-color,#c7ff99);stroke:#1b1426;stroke-width:1.5;opacity:.78;}.wager-chart-point.is-selected{opacity:1;stroke-width:2;}.wager-chart-point:hover,.wager-chart-point:focus{fill:var(--series-color,#c7ff99);stroke:#fff;opacity:1;}.wager-chart-legend{display:flex;flex-wrap:wrap;gap:8px 14px;max-height:110px;overflow-y:auto;padding:4px 0 8px;}.wager-chart-legend-entry{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#bcb0c7;overflow-wrap:anywhere;}.wager-chart-legend-entry::before{content:'';display:inline-block;flex-shrink:0;width:8px;height:8px;border-radius:50%;background:var(--series-color);}.wager-chart-legend-entry.is-selected{font-weight:800;color:#dfffbd;}.wager-chart-legend-entry.is-selected::before{box-shadow:0 0 7px #b4ff7c77;}

.wager-history-table{max-height:280px;overflow:auto;}.wager-history-table th{position:sticky;top:0;background:#21172e;}.wager-history-table td:first-child{white-space:normal;min-width:85px;}
.member-daily-wager{position:relative;}.wager-chart-tooltip{position:absolute;z-index:5;display:grid;gap:5px;width:max-content;max-width:min(260px,calc(100vw - 70px));box-sizing:border-box;padding:12px 14px;border:1px solid var(--series-color,#c7ff99);border-radius:10px;background:#171321f5;box-shadow:0 8px 26px #0008;pointer-events:none;font-size:11px;line-height:1.5;color:#bcafca;overflow-wrap:anywhere;}.wager-chart-tooltip[hidden]{display:none;}.wager-chart-tooltip strong{color:#f3edf8;}.wager-chart-tooltip .wager-chart-tooltip-value{color:var(--series-color,#c7ff99);font-size:13px;}.wager-chart-detail{position:absolute;width:1px;height:1px;min-height:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0;padding:0;}
