/* All account avatars share a profile action and a level badge. */
/* Override older per-location shapes without clipping the level badge. */
.avatar { position:relative;overflow:visible;isolation:isolate;border-radius:50% !important; }
.avatar[data-profile-id] { cursor:pointer;outline-offset:4px; }
.avatar[data-profile-id]:focus-visible { outline:2px solid var(--gold); }
.avatar .avatar-initial,.avatar .avatar-image { border-radius:50%;clip-path:circle(50%); }
.avatar-level { position:absolute;z-index:3;right:-4px;bottom:-4px;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border-radius:6px;border:2px solid var(--panel-deep,#1e2442);background:var(--gold);color:#262c49;font-size:8px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums;box-shadow:0 2px 6px #11162d35;pointer-events:none; }
.avatar[data-house-bot] .avatar-level { background:#a89bd3; }
.profile-button .profile-chevron { display:grid;place-items:center;width:19px;height:28px;padding:0;border:0;background:transparent;color:var(--muted);cursor:pointer;font:inherit; }
.profile-tabs { margin-bottom:22px;gap:8px;flex-wrap:wrap; }
.profile-tabs .tab { text-decoration:none;padding:12px 19px; }
.profile-tabs .tab.active { border-color:#ffbf6059;background:#ffbf6010;color:var(--gold); }
.profile-layout { display:grid;grid-template-columns:250px minmax(0,1fr);gap:22px;align-items:start; }
.profile-sidebar { min-width:0;padding:25px 20px;border:1px solid var(--line);border-radius:14px;background:var(--panel); }
.profile-identity { display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;min-width:0; }
.profile-identity>.avatar { width:76px;height:76px;margin:2px 0 9px;font-size:30px;border-radius:50%; }
.profile-identity .avatar-level { min-width:25px;height:25px;font-size:11px;right:-5px;bottom:-5px;border-radius:8px; }
.profile-identity h2 { font-size:18px;margin:0;max-width:100%;overflow-wrap:anywhere; }
.profile-identity>span { font-size:11px;color:var(--gold); }
.profile-identity>small { max-width:100%;font-size:10px;color:var(--muted);overflow-wrap:anywhere; }
.profile-progress { display:grid;gap:9px;margin:25px 0;padding-bottom:21px;border-bottom:1px solid var(--line); }
.profile-progress>div { display:flex;justify-content:space-between;gap:8px;font-size:10px; }
.profile-progress strong { font-weight:500; }.profile-progress span { color:var(--gold);font-variant-numeric:tabular-nums; }
.profile-progress progress { appearance:none;width:100%;height:6px;border:0;border-radius:6px;overflow:hidden;background:var(--panel-deep);accent-color:var(--gold); }
.profile-progress progress::-webkit-progress-bar { background:var(--panel-deep);border-radius:6px; }
.profile-progress progress::-webkit-progress-value { background:var(--gold);border-radius:6px; }
.profile-progress progress::-moz-progress-bar { background:var(--gold);border-radius:6px; }
.profile-progress>small,.profile-stat-note,.profile-joined { color:var(--muted);font-size:9px;line-height:1.8; }
.profile-stats { display:grid;gap:18px;margin:0; }.profile-stats>div { display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px; }
.profile-stats dt { font-size:11px;color:var(--muted); }.profile-stats dd { margin:0; }.profile-stats .price { font-size:13px; }.profile-stats .currency-icon { width:14px;height:14px; }
.profile-stat-note { margin:20px 0 15px; }.profile-joined { display:block;border-top:1px solid var(--line);padding-top:14px; }
.profile-content { min-width:0; }.profile-content .table-wrap { max-width:100%; }.profile-content .recent-section>h2 { font-size:17px; }
.profile-content .rakeback-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px; }
.mini-profile-person { display:flex;flex-direction:column;align-items:center;text-align:center;gap:9px;padding:6px 0 25px; }
.mini-profile-person>.avatar { width:78px;height:78px;border-radius:50%;margin:0 0 8px;font-size:32px; }
.mini-profile-person .avatar-level { min-width:26px;height:26px;right:-5px;bottom:-5px;font-size:11px;border-radius:8px; }
.mini-profile-person h2 { font-size:21px;margin:0;overflow-wrap:anywhere;max-width:100%; }.mini-profile-person>span { font-size:12px;color:var(--gold); }
.mini-profile-wagered { display:flex;flex-direction:column;align-items:center;gap:11px;padding:22px;border:1px solid var(--line);border-radius:11px;background:#1e244244; }
.mini-profile-wagered>span { font-size:11px;color:var(--muted); }.mini-profile-wagered .price { font-size:24px;color:var(--text); }.mini-profile-wagered .currency-icon { width:23px;height:23px; }
.level-rewards-intro { display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px; }.level-rewards-intro h2 { font-size:18px;margin:0 0 9px; }.level-rewards-intro p { font-size:11px;line-height:1.8;color:var(--muted);margin:0;max-width:520px; }.level-rewards-intro>span { flex:none;font-size:10px;color:var(--gold);background:#ffbf6010;border:1px solid #ffbf6025;border-radius:6px;padding:8px 10px; }
.level-reward-grid { display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:13px; }.level-reward-card { display:flex;flex-direction:column;align-items:center;text-align:center;gap:11px;padding:23px 14px 16px;border:1px solid var(--line);border-radius:12px;background:var(--panel); }
.level-reward-icon { display:grid;place-items:center;height:40px;width:40px;border:1px solid #ffbf6020;border-radius:12px;background:#ffbf600c;color:var(--gold);font-size:19px; }.level-reward-card h3 { font-size:13px;margin:0; }.level-reward-card .price { font-size:19px;color:var(--gold); }.level-reward-card .currency-icon { height:19px;width:19px; }.level-reward-card>small { color:var(--muted);font-size:9px; }.level-reward-card>.btn { margin-top:5px;width:100%;font-size:10px;padding:10px; }.level-reward-card.locked>* { opacity:.65; }.level-reward-card.claimed .level-reward-icon { color:#79d7a6;background:#79d7a610;border-color:#79d7a62b; }.level-reward-card.available { border-color:#ffbf6059;box-shadow:inset 0 0 28px #ffbf6006; }
.level-reward-pages { display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:22px;font-size:10px;color:var(--muted); }.level-reward-pages .btn { font-size:10px; }
@media(max-width:1200px) { .profile-layout { grid-template-columns:215px minmax(0,1fr);gap:16px; }.profile-sidebar { padding:23px 16px; } }
@media(max-width:750px) { .profile-layout { grid-template-columns:minmax(0,1fr); }.profile-sidebar { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:22px;align-items:start; }.profile-identity { grid-row:1/4; }.profile-progress { margin:5px 0 18px; }.profile-stat-note { grid-column:1/-1;margin:15px 0 10px; }.profile-joined { grid-column:1/-1; }.profile-tabs .tab { padding:11px 13px;font-size:11px; }.profile-identity>small { font-size:9px; } }
@media(max-width:420px) { .profile-sidebar { padding:20px 14px;column-gap:14px; }.profile-identity h2 { font-size:15px; }.profile-identity>.avatar { width:62px;height:62px; }.profile-stats>div { display:grid;gap:5px; }.profile-stats { gap:12px; }.profile-progress>div { font-size:9px; }.level-reward-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }.level-reward-card { padding:18px 10px 13px; }.level-reward-card>small { font-size:8px; }.level-rewards-intro { gap:12px; }.level-rewards-intro h2 { font-size:16px; } }
@media(prefers-reduced-motion:reduce) { .avatar[data-profile-id] { transition:none; } }

.profile-layout.profile-rewards-layout { grid-template-columns:minmax(0,1fr); }
.profile-rewards-layout>.profile-sidebar { display:none; }
