.gx-leaderboard-page { min-height: 100vh; background: linear-gradient(180deg, #f8fbff 0, #eef5ff 52%, #f9fbff 100%); }
.lb-page-shell { width: min(1060px, calc(100% - 32px)); margin: 34px auto 58px; }
.lb-hero { position: relative; overflow: hidden; padding: 34px 38px; border: 1px solid #c7dcff; border-radius: 22px; color: #fff; background: radial-gradient(circle at 84% 16%, rgba(252, 187, 53, .36), transparent 24%), linear-gradient(128deg, #0a286b, #0754c8); box-shadow: 0 18px 36px rgba(8, 55, 143, .18); }
.lb-hero::after { content: ""; position: absolute; right: -34px; bottom: -72px; width: 230px; height: 230px; border: 34px solid rgba(255,255,255,.08); border-radius: 50%; }
.lb-eyebrow { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; }
.lb-eyebrow { margin: 0 0 8px; color: #ffd36f; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.lb-hero h1 { position: relative; z-index: 1; margin: 0; font-size: clamp(27px, 4vw, 39px); line-height: 1.12; }
.lb-hero > p:not(.lb-eyebrow):not(.lb-reset) { position: relative; z-index: 1; max-width: 560px; margin: 9px 0 0; color: rgba(255,255,255,.82); font-size: 14px; }
.lb-reset { position: relative; z-index: 1; display: inline-flex; margin: 22px 0 0; padding: 7px 10px; border: 1px solid rgba(255,255,255,.19); border-radius: 9px; color: #e8f0ff; background: rgba(0,0,0,.13); font-size: 11px; font-weight: 700; }
.lb-board { margin-top: 20px; overflow: hidden; border: 1px solid #d5e4fc; border-radius: 18px; background: #fff; box-shadow: 0 12px 28px rgba(33, 86, 163, .08); }
.lb-board-head, .lb-row { display: grid; grid-template-columns: 70px minmax(180px, 1.55fr) minmax(95px, .85fr) minmax(95px, .8fr) 85px; gap: 14px; align-items: center; }
.lb-board-head { padding: 15px 22px; color: #55709a; background: #f7faff; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.lb-row { min-height: 66px; padding: 10px 22px; border-top: 1px solid #e9f1ff; color: #203557; }
.lb-row:hover { background: #fbfdff; }
.lb-row.is-current { border-left: 3px solid #f2aa24; padding-left: 19px; background: linear-gradient(90deg, #fff9ea, #fff); }
.lb-rank { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: #345075; background: #edf4ff; font-size: 12px; font-weight: 800; }
.lb-rank.top-1 { color: #735000; background: #ffe7a4; }.lb-rank.top-2 { color: #455264; background: #e7edf6; }.lb-rank.top-3 { color: #754316; background: #f9d1ac; }
.lb-learner { display: flex; align-items: center; gap: 10px; min-width: 0; }.lb-avatar { width: 38px; height: 38px; flex: 0 0 38px; border: 2px solid #dceaff; border-radius: 50%; object-fit: cover; }.lb-name { overflow: hidden; color: #1b3157; font-size: 13px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }.lb-user-id { color: #6d81a0; font-size: 10px; font-weight: 700; }.lb-you { display: inline-block; margin-left: 5px; padding: 2px 5px; border-radius: 20px; color: #9a6500; background: #fff0c7; font-size: 8px; vertical-align: middle; }
.lb-rank-name, .lb-xp, .lb-accuracy { font-size: 12px; font-weight: 700; }.lb-rank-name { color: #4e6587; }.lb-xp { color: #1249a7; }.lb-accuracy { color: #237444; text-align: right; }
.lb-empty { padding: 36px 20px; color: #6d81a0; text-align: center; }
.lb-pagination { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 18px; border-top: 1px solid #e9f1ff; }.lb-page-btn { display: grid; min-width: 34px; height: 34px; padding: 0 9px; place-items: center; border: 1px solid #d3e2fb; border-radius: 9px; color: #27518b; background: #fff; font-size: 12px; font-weight: 800; }.lb-page-btn:hover:not(:disabled), .lb-page-btn.is-active { color: #fff; border-color: #1250ba; background: #1250ba; }.lb-page-btn:disabled { cursor: not-allowed; opacity: .45; }
@media (max-width: 700px) { .lb-page-shell { width: calc(100% - 20px); margin-top: 20px; }.lb-hero { padding: 25px 21px; }.lb-board-head, .lb-row { grid-template-columns: 46px minmax(130px, 1fr) 78px 66px; gap: 8px; padding-left: 13px; padding-right: 13px; }.lb-board-head > :last-child, .lb-row > :last-child { display: none; }.lb-row.is-current { padding-left: 10px; }.lb-rank-name, .lb-user-id { font-size: 10px; }.lb-avatar { width: 33px; height: 33px; flex-basis: 33px; } }
@media (max-width: 430px) { .lb-board-head, .lb-row { grid-template-columns: 42px minmax(0, 1fr) 58px; }.lb-board-head > :nth-child(3), .lb-row > :nth-child(3) { display: none; }.lb-name { font-size: 12px; } }
body.lb-auth-pending .lb-page-shell{visibility:hidden}
