.student-leaderboard-container{--sl-purple:#7c3aed;--sl-purple-dark:#4c1d95;--sl-purple-soft:#f3e8ff;--sl-orange:#f97316;--sl-orange-soft:#fff1e8;--sl-blue:#2563eb;--sl-navy:#111827;--sl-muted:#64748b;--sl-border:#e7e8ee;--sl-bg:#f7f8fc;box-sizing:border-box;width:100%;max-width:1180px;color:var(--sl-navy);background:radial-gradient(circle at 94% 4%,#7c3aed14,#0000 22%),radial-gradient(circle at 4% 38%,#f973160f,#0000 20%);flex-direction:column;gap:20px;margin:0 auto;padding:16px 12px 44px;display:flex}.sl-header-card{background:radial-gradient(circle at 80% 30%,#f9731640,#0000 20%),linear-gradient(135deg,#18122e 0%,#30205d 55%,#21153f 100%);border:1px solid #ffffff14;border-radius:26px;align-items:center;min-height:210px;padding:32px 34px;display:flex;position:relative;overflow:hidden;box-shadow:0 24px 60px #2d1b5b2e}.sl-header-card:before,.sl-header-card:after{content:"";pointer-events:none;border-radius:50%;position:absolute}.sl-header-card:before{background:radial-gradient(circle,#7c3aed6b,#0000 68%);width:300px;height:300px;top:-120px;right:-100px}.sl-header-card:after{background:radial-gradient(circle,#f973162e,#0000 68%);width:220px;height:220px;bottom:-170px;right:130px}.sl-header-left{z-index:2;flex-direction:column;gap:8px;display:flex;position:relative}.sl-title-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.sl-page-title{color:#fff;letter-spacing:-.045em;margin:0;font-size:clamp(32px,4vw,48px);font-weight:900}.sl-badge-pill{letter-spacing:.06em;text-transform:uppercase;color:#eadfff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border:1px solid #ffffff26;border-radius:999px;align-items:center;padding:7px 11px;font-size:12px;font-weight:850;display:inline-flex}.sl-page-subtitle{color:#ffffffb3;max-width:660px;margin:0;font-size:16px;line-height:1.65}.sl-user-highlight-card{color:#fff;background:linear-gradient(135deg,#5b21b6 0%,#7c3aed 55%,#f97316 150%);border-radius:22px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;padding:20px 24px;display:flex;position:relative;overflow:hidden;box-shadow:0 18px 40px #5b21b633}.sl-user-highlight-card:after{content:"";background:radial-gradient(circle,#ffffff29,#0000 65%);border-radius:50%;width:230px;height:230px;position:absolute;top:-110px;right:-80px}.sl-user-highlight-left,.sl-user-stats-row{z-index:2;position:relative}.sl-user-highlight-left{align-items:center;gap:16px;display:flex}.sl-user-rank-box{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1f;border:1px solid #fff3;border-radius:18px;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;width:66px;height:66px;display:flex;box-shadow:inset 0 1px 10px #ffffff14}.sl-rank-label{text-transform:uppercase;letter-spacing:.09em;opacity:.7;font-size:11px;font-weight:800}.sl-rank-number{font-size:22px;font-weight:950;line-height:1.1}.sl-user-details{flex-direction:column;gap:4px;display:flex}.sl-user-name-tag{align-items:center;gap:9px;display:flex}.sl-user-name{color:#fff;margin:0;font-size:20px;font-weight:850}.sl-you-badge{color:#6d28d9;letter-spacing:.06em;background:#fff;border-radius:7px;padding:4px 7px;font-size:8px;font-weight:900}.sl-user-grade-sub{opacity:.78;font-size:11px}.sl-user-stats-row{flex-wrap:wrap;align-items:center;gap:26px;display:flex}.sl-user-stat-item{text-align:right;flex-direction:column;gap:3px;display:flex}.sl-stat-title{text-transform:uppercase;letter-spacing:.08em;opacity:.68;font-size:11px;font-weight:800}.sl-stat-val{color:#fff;font-size:18px;font-weight:900}.sl-control-bar{border:1px solid var(--sl-border);background:#fff;border-radius:17px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:9px 12px;display:flex;box-shadow:0 8px 22px #1118270b}.sl-tabs-group{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.sl-tab-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:10px;padding:9px 14px;font-size:13px;font-weight:800;transition:all .18s}.sl-tab-btn:hover:not(.disabled){color:var(--sl-purple);background:var(--sl-purple-soft)}.sl-tab-btn.active{color:#fff;background:linear-gradient(135deg, var(--sl-purple), #a855f7);box-shadow:0 8px 18px #7c3aed33}.sl-tab-btn.disabled{opacity:.4;cursor:not-allowed}.sl-filter-right{align-items:center;gap:10px;display:flex}.sl-grade-select{color:#312e81;cursor:pointer;background:#fff;border:1px solid #ddd9e8;border-radius:10px;outline:none;padding:9px 13px;font-size:11px;font-weight:800}.sl-grade-select:focus{border-color:var(--sl-purple);box-shadow:0 0 0 3px #7c3aed1a}.sl-podium-section{background:radial-gradient(circle at 50% 40%,#7c3aed1a,#0000 34%),linear-gradient(145deg,#fff,#f8f6ff);border:1px solid #e9e2f7;border-radius:24px;padding:22px;position:relative;overflow:hidden;box-shadow:0 16px 38px #1118270f}.sl-podium-heading{justify-content:space-between;align-items:end;gap:20px;margin-bottom:12px;display:flex}.sl-section-kicker{color:var(--sl-purple);text-transform:uppercase;letter-spacing:.14em;font-size:11px;font-weight:900}.sl-podium-heading h2{letter-spacing:-.035em;margin:4px 0 0;font-size:27px}.sl-podium-caption{color:#94a3b8;font-size:13px;font-weight:750}.sl-podium{perspective:900px;justify-content:center;align-items:end;gap:18px;min-height:335px;padding:16px 4% 0;display:flex}.sl-podium-card{width:min(250px,31%);min-height:250px;transform-style:preserve-3d;background:linear-gradient(145deg,#fff,#f4efff);border:1px solid #e5dcf5;border-radius:24px 24px 14px 14px;flex-direction:column;justify-content:flex-start;align-items:center;padding:18px 14px 0;transition:transform .22s,box-shadow .22s;display:flex;position:relative;box-shadow:0 18px 35px #4c1d951a,inset 0 1px #fff}.sl-podium-card:hover{transform:translateY(-7px)rotateX(2deg);box-shadow:0 25px 45px #4c1d9529}.podium-first{background:linear-gradient(145deg,#fff9e8,#fff3d1);border-color:#f6d878;min-height:305px}.podium-second{min-height:270px}.podium-third{min-height:250px}.sl-podium-glow{pointer-events:none;background:radial-gradient(circle,#7c3aed2e,#0000 68%);border-radius:50%;width:150px;height:150px;position:absolute;top:-40px}.podium-first .sl-podium-glow{background:radial-gradient(circle,#f9731633,#0000 68%)}.sl-podium-rank{color:#a78bfa;letter-spacing:.08em;font-size:10px;font-weight:950;position:absolute;top:12px;right:13px}.podium-first .sl-podium-rank{color:#d97706}.sl-podium-avatar-wrap{z-index:2;background:linear-gradient(145deg,#fff,#c4b5fd,#7c3aed);border-radius:28px;width:86px;height:86px;margin-top:10px;padding:5px;position:relative;transform:rotate(-4deg);box-shadow:8px 9px #5b21b6,14px 18px 24px #5b21b62e}.podium-first .sl-podium-avatar-wrap{background:linear-gradient(145deg,#fff,#ffd98a,#f97316);width:98px;height:98px;box-shadow:8px 9px #c2410c,14px 18px 24px #c2410c2e}.sl-podium-avatar,.sl-podium-avatar-fallback{object-fit:cover;background:#fff;border-radius:23px;width:100%;height:100%;display:block}.sl-podium-avatar-fallback{color:#fff;background:linear-gradient(135deg,#a855f7,#6d28d9);place-items:center;font-size:28px;font-weight:950;display:grid}.podium-first .sl-podium-avatar-fallback{background:linear-gradient(135deg,#fb923c,#ea580c)}.sl-podium-name{z-index:2;text-overflow:ellipsis;white-space:nowrap;color:#1e1b4b;max-width:90%;margin-top:17px;font-size:16px;font-weight:900;position:relative;overflow:hidden}.sl-podium-grade{z-index:2;color:#7c3aed;margin-top:3px;font-size:11px;font-weight:800;position:relative}.sl-podium-xp{z-index:2;color:#111827;align-items:center;gap:5px;margin-top:9px;font-size:17px;font-weight:950;display:flex;position:relative}.sl-podium-xp span{color:#fff;background:var(--sl-purple);letter-spacing:.08em;border-radius:6px;padding:4px 6px;font-size:7px}.podium-first .sl-podium-xp span{background:var(--sl-orange)}.sl-podium-base{color:#fff;letter-spacing:.12em;background:linear-gradient(135deg,#4c1d95,#7c3aed);border-radius:12px 12px 0 0;place-items:center;width:calc(100% + 28px);min-height:36px;margin-top:auto;font-size:8px;font-weight:950;display:grid}.podium-first .sl-podium-base{background:linear-gradient(135deg,#ea580c,#f97316)}.sl-table-panel{border:1px solid var(--sl-border);background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 14px 34px #1118270e}.sl-table-header,.sl-row{grid-template-columns:82px 1fr 145px 120px 150px;align-items:center;display:grid}.sl-table-header{color:#7c718e;text-transform:uppercase;letter-spacing:.09em;background:#faf9fd;border-bottom:1px solid #eeeaf5;padding:14px 22px;font-size:9px;font-weight:900}.sl-table-body{flex-direction:column;display:flex}.sl-row{border-bottom:1px solid #f0edf4;padding:15px 22px;transition:background .18s,transform .18s}.sl-row:last-child{border-bottom:none}.sl-row:hover{background:#faf8ff}.sl-row.current-user{background:linear-gradient(90deg,#f6f0ff,#fff);position:relative}.sl-row.current-user:before{content:"";background:linear-gradient(#7c3aed,#f97316);border-radius:0 5px 5px 0;width:4px;position:absolute;top:10px;bottom:10px;left:0}.sl-col-rank{align-items:center;display:flex}.sl-rank-medal{border-radius:13px;justify-content:center;align-items:center;width:38px;height:38px;font-size:14px;font-weight:900;display:flex;transform:rotate(-4deg);box-shadow:4px 5px #4c1d951f}.sl-rank-medal.rank-1{color:#92400e;background:linear-gradient(145deg,#fff5bd,#f59e0b)}.sl-rank-medal.rank-2{color:#475569;background:linear-gradient(145deg,#fff,#cbd5e1)}.sl-rank-medal.rank-3{color:#9a3412;background:linear-gradient(145deg,#fff0df,#fb923c)}.sl-rank-medal.rank-other{color:#64748b;background:#f4f2f7;font-size:10px}.sl-col-student{align-items:center;gap:13px;min-width:0;display:flex}.sl-avatar,.sl-avatar-fallback{object-fit:cover;border-radius:14px;flex-shrink:0;width:43px;height:43px}.sl-avatar{box-shadow:5px 6px #7c3aed1f}.sl-avatar-fallback{color:#fff;background:linear-gradient(135deg,#a855f7,#7c3aed);justify-content:center;align-items:center;font-size:16px;font-weight:900;display:flex;box-shadow:5px 6px #4c1d9524}.sl-student-names{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.sl-student-name{color:#1e1b4b;white-space:nowrap;text-overflow:ellipsis;font-size:15px;font-weight:850;overflow:hidden}.sl-you-tag{color:#fff;letter-spacing:.06em;background:#7c3aed;border-radius:6px;padding:3px 6px;font-size:7px;font-weight:900}.sl-col-grade{color:#64748b;font-size:10px;font-weight:750}.sl-col-streak{color:#ea580c;align-items:center;gap:6px;font-size:15px;font-weight:850;display:flex}.sl-col-xp{color:#1e1b4b;text-align:right;justify-content:flex-end;align-items:center;font-size:14px;font-weight:900;display:flex}.sl-xp-pill{color:#c2410c;background:linear-gradient(135deg,#fff4df,#fff0e7);border:1px solid #ffe0c5;border-radius:9px;align-items:center;gap:4px;padding:6px 9px;font-size:9px;font-weight:900;display:inline-flex}.sl-state-box{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:56px 24px;display:flex}.sl-state-icon{font-size:30px}.sl-state-title{color:#1e1b4b;margin:0;font-size:17px;font-weight:850}.sl-state-desc{color:#64748b;max-width:440px;margin:0;font-size:12px;line-height:1.6}.sl-retry-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#7c3aed,#a855f7);border:none;border-radius:10px;margin-top:7px;padding:10px 17px;font-size:15px;font-weight:850;box-shadow:0 8px 18px #7c3aed2e}.sl-loading-spinner{border:3px solid #7c3aed;border-color:#7c3aed #f97316 #e9e3f4 #e9e3f4;border-radius:50%;width:38px;height:38px;animation:.7s linear infinite slSpin}@keyframes slSpin{to{transform:rotate(360deg)}}@media (max-width:900px){.sl-table-header,.sl-row{grid-template-columns:60px 1fr 110px 105px}.sl-table-header>div:nth-child(3),.sl-col-grade{display:none}.sl-user-highlight-card{flex-direction:column;align-items:flex-start}.sl-user-stats-row{justify-content:space-between;width:100%}.sl-user-stat-item{text-align:left}.sl-podium{gap:10px;padding-left:0;padding-right:0}.sl-podium-card{width:33%}}@media (max-width:650px){.student-leaderboard-container{gap:14px;padding:8px 6px 32px}.sl-header-card{border-radius:21px;min-height:175px;padding:26px 22px}.sl-page-title{font-size:34px}.sl-page-subtitle{font-size:12px}.sl-user-highlight-card{padding:18px}.sl-user-highlight-left{width:100%}.sl-user-stats-row{gap:12px}.sl-stat-val{font-size:13px}.sl-control-bar{flex-direction:column;align-items:stretch}.sl-tabs-group{width:100%}.sl-tab-btn{flex:1;padding:9px 7px;font-size:9px}.sl-filter-right,.sl-grade-select{width:100%}.sl-podium-section{padding:16px 10px 12px}.sl-podium-heading{flex-direction:column;align-items:flex-start;gap:4px}.sl-podium{gap:7px;min-height:245px}.sl-podium-card{border-radius:17px 17px 10px 10px;min-height:190px;padding:12px 7px 0}.podium-first{min-height:220px}.podium-second{min-height:202px}.sl-podium-avatar-wrap,.podium-first .sl-podium-avatar-wrap{width:58px;height:58px}.sl-podium-name{margin-top:12px;font-size:11px}.sl-podium-grade{font-size:7px}.sl-podium-xp{font-size:10px}.sl-podium-base{width:calc(100% + 14px);min-height:29px;font-size:6px}.sl-table-header,.sl-row{grid-template-columns:46px 1fr 86px}.sl-table-header{padding:12px;font-size:8px}.sl-table-header>div:nth-child(4),.sl-col-streak{display:none}.sl-row{padding:12px}.sl-avatar,.sl-avatar-fallback{border-radius:11px;width:36px;height:36px}.sl-col-student{gap:9px}.sl-student-name{font-size:11px}.sl-xp-pill{padding:5px 6px;font-size:7px}}@media (prefers-reduced-motion:reduce){.sl-loading-spinner{animation:none}.sl-podium-card{transition:none}}.student-leaderboard-container{box-sizing:border-box;width:100%;min-width:0;max-width:100%;margin:0;padding:20px 24px 48px;overflow-x:clip}:is(.student-main-content:has(.student-leaderboard-container),.student-page-content:has(.student-leaderboard-container)){box-sizing:border-box;flex:auto;width:100%;min-width:0;max-width:none;overflow-x:clip}:is(.student-main-content:has(.student-leaderboard-container)>*,.student-page-content:has(.student-leaderboard-container)>*){min-width:0;max-width:100%}.student-leaderboard-container>*,.sl-header-card,.sl-user-highlight-card,.sl-control-bar,.sl-podium-section,.sl-table-panel{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.sl-header-left,.sl-title-row,.sl-page-title,.sl-page-subtitle,.sl-user-highlight-left,.sl-user-details,.sl-user-stats-row{min-width:0}.sl-page-title,.sl-page-subtitle,.sl-user-name,.sl-student-name{overflow-wrap:anywhere}.sl-user-highlight-left{flex:360px}.sl-user-stats-row{flex:0 auto;justify-content:flex-end}.sl-tabs-group{flex:auto;min-width:0}.sl-filter-right{flex:none}.sl-podium{box-sizing:border-box;width:100%;max-width:900px;margin:0 auto}.sl-podium-card{min-width:0;max-width:250px}.sl-table-panel{-webkit-overflow-scrolling:touch;overflow:auto hidden}.sl-table-header,.sl-row{min-width:680px}.sl-table-body{min-width:0}@media (max-width:1100px){.student-leaderboard-container{padding:18px 18px 40px}.sl-header-card{min-height:190px;padding:28px}.sl-user-highlight-card{align-items:flex-start}.sl-user-highlight-left{flex:100%}.sl-user-stats-row{justify-content:space-between;gap:18px;width:100%}.sl-podium{gap:12px;max-width:760px}.sl-podium-card{width:31%}}@media (max-width:900px){:is(.student-main-content:has(.student-leaderboard-container),.student-page-content:has(.student-leaderboard-container)){width:100%;max-width:100%;margin:0}.student-leaderboard-container{gap:16px;padding:16px 14px 36px}.sl-title-row{align-items:flex-start}.sl-page-title{font-size:clamp(30px,6vw,42px)}.sl-control-bar{align-items:stretch}.sl-tabs-group,.sl-filter-right,.sl-grade-select{width:100%}}@media (max-width:650px){.student-leaderboard-container{gap:12px;padding:10px 10px 30px}.sl-header-card{border-radius:20px;min-height:auto;padding:22px 18px}.sl-page-title{font-size:31px;line-height:1.05}.sl-page-subtitle{font-size:12px;line-height:1.5}.sl-user-highlight-card{gap:14px;padding:16px}.sl-user-highlight-left{flex:100%;width:100%}.sl-user-stats-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;display:grid}.sl-user-stat-item{min-width:0}.sl-stat-title,.sl-stat-val{overflow-wrap:anywhere}.sl-stat-val{font-size:14px}.sl-control-bar{padding:8px}.sl-tabs-group{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;display:grid}.sl-tab-btn{white-space:normal;min-width:0;padding:9px 5px}.sl-podium-section{border-radius:19px;padding:15px 8px 10px}.sl-podium{align-items:flex-end;gap:6px;min-height:230px;padding:12px 0 0}.sl-podium-card{width:calc(33.3333% - 4px);min-width:0;max-width:none;min-height:180px;padding:10px 5px 0}.podium-first{min-height:210px}.podium-second{min-height:195px}.podium-third{min-height:180px}.sl-podium-avatar-wrap,.podium-first .sl-podium-avatar-wrap{width:58px;height:58px}.sl-podium-name{max-width:92%;font-size:10px}.sl-podium-xp{font-size:10px}.sl-podium-base{width:calc(100% + 10px);min-height:27px}.sl-table-panel{border-radius:16px}.sl-table-header,.sl-row{min-width:520px}}@media (max-width:420px){.student-leaderboard-container{padding:8px 7px 24px}.sl-header-card{padding:20px 15px}.sl-page-title{font-size:28px}.sl-badge-pill{padding:6px 8px;font-size:9px}.sl-user-highlight-card{padding:14px}.sl-user-highlight-left{gap:10px}.sl-user-rank-box{width:56px;height:56px}.sl-user-name{font-size:16px}.sl-user-stats-row{grid-template-columns:repeat(3,minmax(0,1fr))}.sl-stat-title{font-size:8px}.sl-stat-val{font-size:12px}.sl-podium-heading h2{font-size:22px}.sl-podium-caption{font-size:10px}.sl-podium{min-height:205px}.sl-podium-card{min-height:160px}.podium-first{min-height:185px}.podium-second{min-height:172px}.podium-third{min-height:160px}.sl-podium-avatar-wrap,.podium-first .sl-podium-avatar-wrap{width:48px;height:48px}.sl-podium-name{font-size:9px}.sl-podium-grade{font-size:6px}.sl-podium-xp{font-size:9px}}@media (prefers-reduced-motion:reduce){.sl-podium-card{transition:none!important;transform:none!important}}
