:root{color-scheme:light;--ink:#152333;--muted:#69788a;--line:#e6e9eb;--blue:#2868e9;--lime:#c6ed50;--cream:#f7f8f4;--dark:#101b29;--shadow:0 20px 55px rgba(20,39,66,.07)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:Inter,"PingFang SC","Microsoft YaHei",Arial,sans-serif}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.site-shell{overflow:hidden}.site-header{height:86px;max-width:1240px;padding:0 24px;margin:auto;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:13px;font-size:19px;font-weight:900;line-height:1.05;letter-spacing:.01em}.brand small{display:block;margin-top:5px;color:#78879a;font-size:10px;letter-spacing:.2em;font-weight:700}.brand-mark{width:38px;height:38px;display:grid;grid-template-columns:repeat(2,1fr);gap:3px;transform:rotate(-11deg)}.brand-mark i{border-radius:4px;background:#2868e9}.brand-mark i:nth-child(2){background:#81a8ff}.brand-mark i:nth-child(3){background:#b1e346}.brand-mark i:nth-child(4){background:#1f4db0}.site-header nav{display:flex;align-items:center;gap:36px;font-size:14px;font-weight:700}.site-header nav a{color:#667488;transition:color .2s}.site-header nav a:hover,.site-header nav a.active{color:#182b48}.site-header nav .admin-link{padding:12px 16px;border:1px solid #dfe5e7;border-radius:12px;color:#244e98}.admin-link span{margin-left:12px;color:#80a8ef}.hero{background:var(--dark);min-height:500px;display:grid;grid-template-columns:1fr 1fr;position:relative;overflow:hidden}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(22,46,76,.45),transparent 60%),radial-gradient(circle at 73% 60%,rgba(45,85,147,.24),transparent 34%)}.hero-copy{position:relative;z-index:2;width:min(100%,620px);justify-self:end;padding:68px 22px 50px 24px}.eyebrow{font-size:12px;color:#d1dfed;letter-spacing:.07em;display:flex;align-items:center;gap:9px}.eyebrow-dot{width:8px;height:8px;background:var(--lime);border-radius:50%;box-shadow:0 0 0 4px rgba(198,237,80,.15)}h1,h2,h3,p{margin-top:0}.hero h1{font-size:clamp(48px,5vw,78px);line-height:1.19;letter-spacing:-.055em;color:#fff;margin:26px 0 24px;font-weight:850}.hero h1 em{font-style:normal;color:var(--lime)}.hero p{max-width:490px;color:#aebed0;font-size:15px;line-height:1.9;margin-bottom:28px}.hero-cta{display:inline-flex;gap:32px;align-items:center;padding:14px 20px;background:var(--lime);border-radius:11px;font-size:14px;font-weight:850;color:#172527;transition:transform .2s,box-shadow .2s}.hero-cta:hover{transform:translateY(-2px);box-shadow:0 10px 25px rgba(198,237,80,.2)}.hero-cta span{font-size:18px}.hero-stats{display:flex;gap:52px;margin-top:38px}.hero-stats div{display:flex;flex-direction:column;gap:3px}.hero-stats b{color:#fff;font-size:24px;letter-spacing:-.04em}.hero-stats span{color:#899caf;font-size:11px}.hero-visual{position:relative;min-height:500px;overflow:hidden}.orbit{position:absolute;border:1px solid rgba(158,190,232,.12);border-radius:50%;width:560px;height:560px;left:7%;top:-6%}.orbit-two{width:370px;height:370px;left:24%;top:15%}.cube-scene{position:absolute;width:260px;height:260px;left:34%;top:27%;filter:drop-shadow(0 28px 26px rgba(0,0,0,.35));transform:rotate(-12deg)}.cube-front,.cube-side{position:absolute;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:5px;padding:5px;background:#17212b;box-shadow:inset 0 0 0 3px #17212b}.cube-front{width:200px;height:200px;left:0;top:51px;transform:skewY(20deg);border-radius:5px}.cube-side{width:112px;height:200px;left:201px;top:38px;transform:skewY(-30deg);transform-origin:left top;border-radius:4px}.cube-top{position:absolute;left:0;top:3px;width:200px;height:100px;background:repeating-linear-gradient(90deg,transparent 0 62px,#17212b 62px 68px),repeating-linear-gradient(0deg,#f2f4e9 0 29px,#17212b 29px 35px);transform:skewX(-51deg);transform-origin:left bottom;border:5px solid #17212b;border-radius:4px}.cube-front i,.cube-side i{border-radius:4px;background:#a9d9ff}.cube-front i:nth-child(2),.cube-front i:nth-child(4),.cube-front i:nth-child(9){background:#cee867}.cube-front i:nth-child(5){background:#fff3c7}.cube-side i{background:#ef8762}.cube-side i:nth-child(2),.cube-side i:nth-child(6),.cube-side i:nth-child(9){background:#ffd17c}.visual-label{position:absolute;z-index:3;color:#cdd9e7;border:1px solid rgba(255,255,255,.2);border-radius:11px;background:rgba(20,34,53,.78);backdrop-filter:blur(8px);padding:12px 14px;font-size:10px;letter-spacing:.12em;font-weight:800}.visual-label span{color:var(--lime);margin-left:11px}.label-one{left:13%;top:25%}.label-two{right:11%;bottom:21%}.ranking-section{max-width:1240px;margin:0 auto;padding:84px 24px 100px}.section-intro{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:30px}.section-kicker{display:block;color:#5374a8;font-size:11px;letter-spacing:.17em;font-weight:850;margin-bottom:14px}.section-intro h2,.how-heading h2{font-size:clamp(27px,3vw,41px);letter-spacing:-.045em;line-height:1.28;margin-bottom:12px}.section-intro p{font-size:14px;color:#7a8794;margin:0}.live-pill{white-space:nowrap;border:1px solid #dce7d1;background:#f8fbed;color:#597d35;border-radius:50px;padding:9px 13px;font-size:11px;font-weight:800}.live-pill span{display:inline-block;width:6px;height:6px;background:#84bd45;border-radius:50%;margin-right:5px}.ranking-panel{border:1px solid var(--line);box-shadow:var(--shadow);border-radius:19px;overflow:hidden}.filter-bar{padding:26px 28px 20px;border-bottom:1px solid var(--line)}.field-label{font-size:11px;font-weight:850;letter-spacing:.12em;color:#93a0ac;margin-bottom:17px}.event-list{display:flex;flex-wrap:wrap;gap:8px}.event-list button{padding:9px 14px;border:1px solid #e2e8eb;background:#fff;border-radius:8px;color:#586a7b;font-size:12px;font-weight:750;transition:all .18s}.event-list button:hover{border-color:#9ab9f6;color:var(--blue)}.event-list button.selected{color:#fff;background:var(--blue);border-color:var(--blue);box-shadow:0 5px 10px rgba(40,104,233,.18)}.event-list small{font-size:10px;margin-left:5px;opacity:.6}.table-toolbar{display:flex;align-items:center;justify-content:space-between;padding:20px 28px;gap:16px}.score-tabs{display:flex;background:#f0f3f4;border-radius:9px;padding:4px}.score-tabs button{border:0;background:transparent;color:#7d8996;padding:9px 20px;border-radius:7px;font-size:13px;font-weight:800}.score-tabs button.selected{background:#fff;color:#1e4a91;box-shadow:0 2px 8px rgba(19,38,61,.08)}.search-box{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e4e9ed;border-radius:9px;padding:0 12px;min-width:220px}.search-box span{font-size:23px;color:#9ca9b5;line-height:1}.search-box input{outline:0;border:0;padding:10px 0;width:100%;color:var(--ink);font-size:12px}.search-box:focus-within{border-color:#86aaf5;box-shadow:0 0 0 3px rgba(40,104,233,.08)}.table-scroller{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;min-width:710px}thead{background:#f6f8f8;color:#8b99a5;font-size:11px}th{font-weight:800;padding:15px 28px;white-space:nowrap}td{padding:17px 28px;border-top:1px solid #edf0f1;color:#526475;font-size:12px}tbody tr{transition:background .18s}tbody tr[data-student]:hover{background:#f8fbff;cursor:pointer}.rank-number{font-weight:900;font-size:18px;color:#a2afbd}.rank-number.top{color:#2868e9}.student-cell{display:flex;align-items:center;gap:12px;white-space:nowrap;color:#21354b;font-weight:850;font-size:14px}.avatar{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;background:#e9f1ff;border-radius:10px;color:#2c64ba;font-size:14px}.score-cell{font-size:18px;color:#1a354e;font-weight:900;white-space:nowrap;font-variant-numeric:tabular-nums}.competition-cell{max-width:340px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.count-cell{font-weight:750;color:#526c80}.row-arrow{font-size:18px;color:#9ab0c5}.loading,.empty{text-align:center;color:#8393a2;padding:55px 24px;font-size:13px}.table-footer{display:flex;align-items:center;justify-content:space-between;padding:16px 28px;border-top:1px solid var(--line);font-size:11px;color:#91a0ab}.table-footer span:last-child span{color:var(--blue)}.how-section{background:var(--cream);padding:78px max(24px,calc((100% - 1192px)/2)) 95px}.how-heading{max-width:600px;margin-bottom:35px}.rule-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.rule-grid article{position:relative;background:#fff;border:1px solid #eceeeb;border-radius:15px;padding:29px;min-height:228px}.rule-index{position:absolute;right:25px;top:27px;font-size:11px;color:#b4bec7;font-weight:800}.rule-icon{font-size:25px;color:#2b6ae7;background:#ecf3ff;width:43px;height:43px;border-radius:12px;display:grid;place-items:center;margin-bottom:26px}.rule-grid h3{font-size:17px;margin-bottom:9px}.rule-grid p{font-size:12px;color:#7e8993;line-height:1.8;margin:0}footer{background:#101b29;color:#fff;padding:33px max(24px,calc((100% - 1192px)/2));display:flex;justify-content:space-between;align-items:center;gap:20px}.footer-brand{font-size:16px;font-weight:850}.footer-brand span{color:var(--lime)}footer p{font-size:11px;color:#93a3b3;margin:0}.profile-overlay{position:fixed;inset:0;z-index:20;display:flex;justify-content:flex-end}.profile-overlay[hidden]{display:none}.overlay-shade{position:absolute;inset:0;background:rgba(12,25,39,.5);backdrop-filter:blur(3px)}.profile-drawer{position:relative;background:#fff;width:min(580px,100%);height:100%;overflow:auto;box-shadow:-15px 0 45px rgba(0,0,0,.13)}.drawer-top{display:flex;align-items:center;justify-content:space-between;padding:20px 28px;border-bottom:1px solid var(--line);color:#8c99a7;font-size:11px;letter-spacing:.12em;font-weight:800}.drawer-top button{border:0;background:#f1f4f4;border-radius:50%;width:34px;height:34px;font-size:23px;color:#40546a;line-height:1}.profile-hero{padding:32px 30px;background:#142337;color:#fff}.profile-hero .student-avatar{width:48px;height:48px;background:#d3ec75;color:#203944;border-radius:13px;display:grid;place-items:center;font-size:21px;font-weight:850;margin-bottom:18px}.profile-hero h2{font-size:33px;margin:0 0 5px}.profile-hero p{font-size:12px;color:#a8bbcd;margin:0}.profile-body{padding:28px 30px 50px}.profile-body h3{font-size:16px;margin:0 0 17px}.best-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:34px}.best-card{padding:16px;border:1px solid var(--line);border-radius:12px}.best-card .best-event{font-size:12px;font-weight:800;margin-bottom:12px}.best-values{display:flex;justify-content:space-between;gap:8px}.best-values div{display:flex;flex-direction:column;gap:3px}.best-values span{font-size:10px;color:#94a2ac}.best-values b{font-size:15px;color:#285cb5}.history-item{position:relative;border-left:2px solid #d8e4f9;padding:1px 0 24px 22px;margin-left:5px}.history-item:before{content:"";position:absolute;left:-6px;top:3px;background:#2e6ee8;width:10px;height:10px;border-radius:50%;box-shadow:0 0 0 4px #eef4ff}.history-head{display:flex;justify-content:space-between;gap:12px}.history-head strong{font-size:13px}.history-head time{white-space:nowrap;font-size:11px;color:#9cabb7}.history-item p{font-size:11px;color:#91a0ad;margin:5px 0 12px}.history-scores{display:flex;gap:8px;flex-wrap:wrap}.history-scores span{font-size:11px;border-radius:6px;background:#f1f5fa;padding:6px 8px;color:#47617c}.history-scores b{color:#1d57aa}.source-link{font-size:11px;color:#2a68d7;display:inline-block;margin-top:9px}.profile-empty{font-size:13px;color:#8493a2;line-height:1.8}
@media(max-width:900px){.hero{grid-template-columns:1.1fr .9fr}.hero-copy{padding-left:30px}.hero-visual{transform:scale(.8);transform-origin:center}.rule-grid{gap:10px}.rule-grid article{padding:22px}.site-header nav{gap:18px}}@media(max-width:680px){.site-header{height:70px;padding:0 18px}.brand{font-size:15px}.brand-mark{width:31px;height:31px}.brand small{font-size:8px}.site-header nav a:not(.admin-link){display:none}.site-header nav .admin-link{padding:8px 11px;font-size:11px}.hero{grid-template-columns:1fr;min-height:unset}.hero-copy{width:100%;padding:54px 24px 45px}.hero h1{font-size:52px}.hero p{font-size:13px}.hero-visual{display:none}.hero-stats{gap:38px}.ranking-section{padding:58px 16px 65px}.section-intro{align-items:start}.section-intro h2,.how-heading h2{font-size:29px}.live-pill{display:none}.filter-bar{padding:19px 16px}.event-list{gap:7px}.event-list button{font-size:11px;padding:8px 10px}.table-toolbar{padding:16px;align-items:stretch;flex-direction:column}.score-tabs{align-self:flex-start}.search-box{min-width:0}.table-footer{padding:14px 16px}.table-footer span:last-child{display:none}.how-section{padding:56px 18px}.rule-grid{grid-template-columns:1fr}.rule-grid article{min-height:0}footer{padding:28px 18px;display:block}footer p{margin-top:8px}.best-grid{grid-template-columns:1fr 1fr}}
