.top-actions { display: flex; align-items: center; gap: 10px; }
.steam-login { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid #66c0f4; color: #9bd8fa; background: rgba(27, 62, 88, .28); font-size: 11px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; transition: .2s ease; }
.steam-login:hover { background: rgba(27, 62, 88, .5); transform: translateY(-2px); }
.steam-login.large { min-height: 50px; padding: 0 24px; }
.profile-chip { min-height: 46px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--panel); padding: 6px 8px 6px 7px; }
.profile-chip img { width: 32px; height: 32px; object-fit: cover; border: 1px solid #3a423c; }
.profile-chip div { display: grid; gap: 2px; min-width: 110px; }
.profile-chip strong { font-size: 11px; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-chip small { font: 800 9px/1.2 ui-monospace, monospace; }
.profile-chip button { border: 0; color: #7f8981; background: transparent; font-size: 20px; line-height: 1; padding: 4px 6px; }
.profile-chip button:hover { color: #ff8164; }
.account-box { margin: 50px 0 28px; border: 1px solid var(--line); background: linear-gradient(180deg, #141916, #0f1211); padding: 18px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.account-copy { display: grid; gap: 5px; }
.account-label { color: #66c0f4; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.account-copy strong { font-size: 16px; text-transform: uppercase; letter-spacing: .04em; }
.account-copy small { color: var(--muted); }
.account-user { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 12px; display: flex; justify-content: space-between; gap: 20px; color: #747e76; font: 700 11px/1.4 ui-monospace, monospace; }

.rating-value { color: var(--rating-color, #4f78ff) !important; text-shadow: 0 0 14px var(--rating-color, #4f78ff); }
.tier-gray { --rating-color: #a7adb0; }
.tier-light-blue { --rating-color: #65b9ff; }
.tier-blue { --rating-color: #4f78ff; }
.tier-purple { --rating-color: #9b63ff; }
.tier-pink { --rating-color: #e653c6; }
.tier-red { --rating-color: #ef4d4d; }
.tier-gold { --rating-color: #f0c44d; }

.rating-section { padding: 0 0 110px; }
.rating-head { display: grid; grid-template-columns: 1fr .72fr; gap: 80px; align-items: end; }
.rating-head p { color: var(--muted); line-height: 1.75; margin: 0; max-width: 560px; }
.rating-ladder { margin-top: 42px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.rating-band { min-height: 105px; border: 1px solid var(--line); background: linear-gradient(180deg, #151917, #0f1211); padding: 22px 13px 15px; position: relative; overflow: hidden; }
.rating-band::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--rating-color); box-shadow: 0 0 18px var(--rating-color); }
.rating-band strong { display: block; color: var(--rating-color); font: 900 13px/1.2 ui-monospace, monospace; white-space: nowrap; }
.rating-band span { display: block; margin-top: 9px; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.rating-band:hover { border-color: var(--rating-color); transform: translateY(-2px); transition: .18s ease; }

[hidden] { display: none !important; }

@media (max-width: 1100px) {
  .rating-ladder { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .topbar { gap: 12px; }
  .steam-login { padding: 0 12px; font-size: 10px; }
  .rating-head { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .topbar .brand > span:last-child { display: none; }
  .top-actions { margin-left: auto; }
  .profile-chip div { min-width: 86px; }
  .profile-chip strong { max-width: 90px; }
  .account-box { grid-template-columns: 1fr; }
  .account-user { flex-direction: column; gap: 5px; }
  .rating-ladder { grid-template-columns: 1fr 1fr; }
  .rating-band { min-height: 90px; }
}
