/* =============================================
   PLAYER PROFILE PAGE
   ============================================= */
.rb-player-profile { }
.rb-profile-hero {
    background: var(--bg2);
    border-bottom: 1px solid #1e3a5a;
    padding: 2rem 0;
}
.rb-profile-hero-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: start;
}
@media(max-width:760px){
    .rb-profile-hero-inner { grid-template-columns: 1fr; gap: 1.2rem; }
}
.rb-profile-photo-wrap { display: flex; justify-content: center; }
.rb-photo-img {
    width: 110px; height: 110px; border-radius: 50%;
    object-fit: cover; border: 3px solid #2a476e;
}
.rb-photo-initials {
    width: 110px; height: 110px; border-radius: 50%;
    background: var(--bg3); border: 3px solid #2a476e;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; font-weight: 900; color: var(--blue3);
}
.rb-profile-info-block h1 { font-size: 1.8rem; margin-bottom: .4rem; }
.rb-profile-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: .7rem; }
.rb-badge {
    display: inline-block; font-size: 11px; font-weight: 700;
    padding: 3px 10px; border-radius: 4px;
    background: rgba(30,136,229,.12); color: var(--blue3); border: 1px solid #2a476e;
}
.rb-profile-meta {
    display: flex; flex-wrap: wrap; gap: .3rem 1.2rem;
    font-size: 13px; color: var(--muted);
}
.rb-profile-meta strong { color: var(--white); }

/* Bros Rate card */
.rb-brosrate-card {
    background: var(--bg);
    border: 2px solid rgba(245,197,24,.22);
    border-radius: 12px;
    padding: 1.1rem 1.3rem;
    min-width: 210px;
    text-align: center;
}
.rb-brosrate-lbl  { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: .2rem; }
.rb-brosrate-site { font-size: 11px; color: var(--muted); margin-bottom: .6rem; }
.rb-brosrate-val  { font-size: 2.2rem; font-weight: 900; color: var(--gold); line-height: 1; margin-bottom: .15rem; }
.rb-brosrate-votes { font-size: 11px; color: var(--muted); margin-bottom: .8rem; }
.rb-brosrate-market { font-size: 12px; color: var(--muted); margin-bottom: .8rem; padding-bottom: .7rem; border-bottom: 1px solid #2a476e; }
.rb-brosrate-market strong { color: var(--white); }
.rb-contract { margin-bottom: .8rem; }
.rb-contract-title { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.rb-contract-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.rb-contract-row strong { color: var(--white); }
.rb-rate-now-btn {
    display: block; width: 100%; padding: 9px;
    background: var(--gold); border: none; border-radius: 6px;
    color: #0a1520; font-size: 13px; font-weight: 900;
    cursor: pointer; font-family: inherit; text-transform: uppercase;
    text-decoration: none; text-align: center; transition: opacity .15s;
}
.rb-rate-now-btn:hover { opacity: .88; color: #0a1520; }
.rb-my-rating-display { font-size: 12px; color: var(--muted); margin-top: .5rem; }
.rb-my-rating-display strong { color: var(--gold); }
.rb-status { display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 3px; }
.rb-status-approved { background: rgba(67,160,71,.18); color: #a5d6a7; }
.rb-status-pending  { background: rgba(251,140,0,.18);  color: #ffcc80; }
.rb-status-adjusted { background: rgba(30,136,229,.18); color: #90caf9; }

/* Valuations */
.rb-val-section { background: var(--bg2); border: 1px solid #1e3a5a; border-radius: var(--radius); padding: 1.2rem; }
.rb-val-entry { background: var(--bg); border: 1px solid #243d5e; border-radius: 8px; padding: .9rem; margin-bottom: .7rem; }
.rb-val-entry:last-child { margin-bottom: 0; }
.rb-val-top { display: flex; align-items: center; gap: 10px; margin-bottom: .6rem; }
.rb-val-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--bg3); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--blue3); flex-shrink: 0; }
.rb-val-name   { font-size: 13px; font-weight: 700; }
.rb-val-time   { font-size: 11px; color: var(--muted); }
.rb-val-amount { font-size: 1.1rem; font-weight: 900; color: var(--gold); margin-left: auto; }
.rb-val-comment { font-size: 13px; color: var(--blue4); border-left: 2px solid #2a476e; padding: .4rem .7rem; margin-bottom: .6rem; border-radius: 0 4px 4px 0; }
.rb-val-actions { display: flex; align-items: center; gap: 10px; }
.rb-like-btn, .rb-dislike-btn { font-size: 12px; font-weight: 600; padding: 4px 10px; border: 1px solid #2a476e; border-radius: 4px; background: transparent; color: var(--muted); cursor: pointer; font-family: inherit; transition: all .15s; }
.rb-like-btn:hover,    .rb-like-btn.active    { background: rgba(67,160,71,.15);  border-color: var(--green); color: #a5d6a7; }
.rb-dislike-btn:hover, .rb-dislike-btn.active { background: rgba(229,57,53,.15); border-color: var(--red);   color: #ef9a9a; }
.rb-val-likes, .rb-val-dislikes { font-size: 12px; color: var(--muted); }
.rb-empty { color: var(--muted); font-size: 14px; text-align: center; padding: 1.5rem; }

/* Rating modal */
.rb-modal-backdrop { position: fixed; inset: 0; background: rgba(5,14,26,.88); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.rb-modal { background: #1d3350; border: 1px solid #2a476e; border-radius: 14px; padding: 1.8rem; max-width: 420px; width: 92%; position: relative; }
.rb-modal-close { position: absolute; top: 13px; right: 15px; background: transparent; border: none; color: var(--muted); font-size: 22px; cursor: pointer; }
.rb-modal-lbl { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue3); display: block; margin-bottom: .4rem; }
.rb-modal-input-wrap { display: flex; align-items: center; background: var(--bg); border: 1.5px solid #2a476e; border-radius: 6px; overflow: hidden; margin-bottom: .4rem; }
.rb-modal-cur { padding: 9px 11px; font-size: 1rem; font-weight: 800; color: var(--gold); background: #0d1f35; border-right: 1px solid #2a476e; }
.rb-modal-input { flex: 1; background: transparent; border: none; outline: none; padding: 9px 13px; font-size: 1rem; font-weight: 700; color: var(--white); font-family: inherit; }
.rb-quick-val { font-size: 11px; font-weight: 700; padding: 4px 9px; border: 1px solid #2a476e; border-radius: 4px; color: var(--blue3); cursor: pointer; background: transparent; font-family: inherit; transition: all .15s; }
.rb-quick-val:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.rb-textarea { width: 100%; background: var(--bg); border: 1.5px solid #2a476e; border-radius: 6px; padding: 9px 12px; color: var(--white); font-family: inherit; font-size: 13px; resize: none; outline: none; }
.rb-textarea:focus { border-color: var(--blue2); }

/* Register form */
.rb-form-msg { padding: .8rem 1rem; border-radius: 6px; font-size: 13px; margin-top: .8rem; }
.rb-form-msg.success { background: rgba(67,160,71,.15); border: 1px solid rgba(67,160,71,.3); color: #a5d6a7; }
.rb-form-msg.error   { background: rgba(229,57,53,.15);  border: 1px solid rgba(229,57,53,.3); color: #ef9a9a; }

.rb-lang-select {
    background: var(--bg2);
    border: 1px solid #2a476e;
    color: var(--white);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
    outline: none;
    transition: border-color .15s;
}
.rb-lang-select:hover { border-color: var(--blue2); }
.rb-lang-select option { background: #1d3350; color: var(--white); }

.rb-plat-tw { background: #000; color: #fff; }
.rb-plat-ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color:#fff; }
