:root{color-scheme:light;--blue:#087be8;--orange:#ff6b32;--volt:#dfff4f;--ink:#17243a;--muted:#627287;--paper:#f7faff;--line:#dce6ef;--score5:#55bff2;--score10:#54ccab;--score15:#b391e7;--score20:#ff9e66;font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:#eef4fb}button,input{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--blue);outline-offset:4px}button{color:inherit}img{max-width:100%}[hidden]{display:none!important}.page{max-width:680px;margin:auto;background:white;min-height:100vh;overflow:hidden}.hero{position:relative;isolation:isolate;aspect-ratio:5/4;background:#63c4f5}.hero-art{display:block;width:100%;height:100%;object-fit:cover}.top-actions{position:absolute;left:18px;right:18px;top:16px;display:flex;justify-content:space-between;z-index:2}.top-actions button{display:flex;align-items:center;gap:6px;border:1px solid #ffffff9e;background:#fffffff0;border-radius:22px;padding:7px 12px;font-size:13px;font-weight:700;box-shadow:0 2px 6px #1749770a}.top-actions svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.hero-copy{position:absolute;left:6%;top:20%;width:64%;pointer-events:none}.school{margin:0 0 13px;font-size:clamp(10px,2.75vw,17px);font-weight:700;letter-spacing:.02em;color:#123f69}.hero h1{margin:0;font-size:clamp(48px,13.5vw,86px);line-height:.98;letter-spacing:-.06em;font-weight:900;color:#0b3c70;transform:skewY(-3deg);text-shadow:1px 2px 0 #c3f2ff60}.tagline{font-size:clamp(11px,3vw,19px);font-weight:650;color:#123f69;margin:16px 0 0;letter-spacing:.01em}.flag-strip{display:flex;gap:5px;margin-top:14px;align-items:center}.flag-strip img{width:clamp(24px,7vw,40px);height:clamp(18px,5vw,28px);object-fit:cover;border:2px solid white;border-radius:3px;box-shadow:0 2px 5px #13558b20}.identity{position:relative;display:flex;align-items:center;gap:11px;margin:0;padding:17px 20px;background:#fff;min-height:84px;border-bottom:1px solid var(--line)}.identity-symbol{width:43px;height:43px;flex:0 0 43px;display:grid;place-items:center;background:#e8f4ff;border-radius:13px;color:var(--blue)}.identity-symbol svg{height:27px;width:27px;fill:var(--volt);stroke:var(--blue);stroke-width:2;stroke-linejoin:round}.identity-copy{flex:1;min-width:0}.identity-copy strong{display:block;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.identity-copy p{font-size:12px;color:var(--muted);margin:5px 0 0;line-height:1.4}.text-button{border:0;background:#eaf4ff;color:#075aaf;font-size:13px;font-weight:700;border-radius:18px;padding:8px 12px;white-space:nowrap}.tabs{position:sticky;top:0;z-index:3;display:flex;padding:8px 14px;gap:4px;background:#ffffffed;backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.tabs button{flex:1;border:0;border-radius:8px;background:transparent;padding:12px 3px;font-weight:700;font-size:14px;color:#64748b;position:relative}.tabs button[aria-selected=true]{background:var(--blue);color:white}.tabs button[aria-selected=true]:after{content:"";position:absolute;bottom:4px;left:36%;right:36%;height:3px;background:var(--volt);border-radius:2px}.panel{padding:27px 22px 0}.intro{position:relative}.intro-label{display:inline-block;padding:5px 10px;border-left:4px solid var(--orange);font-size:13px;font-weight:700;background:#fff0e8;margin:0 0 14px}.intro h2{font-size:32px;line-height:1.22;letter-spacing:-.04em;margin:0 0 14px;font-weight:850}.intro>p:last-child{font-size:15px;line-height:1.85;color:var(--muted);margin:0 0 22px;max-width:45ch}.stats{display:flex;align-items:center;margin:0 -22px 27px;padding:21px 22px;background:var(--ink);color:white;border-left:7px solid var(--volt)}.stats>div{flex:1;display:flex;flex-direction:column;align-items:center;gap:7px}.stats>div+div{border-left:1px solid #ffffff35}.stats strong{font-size:36px;line-height:1;letter-spacing:-.04em}.stats small{font-size:13px;font-weight:500;margin-left:3px;letter-spacing:0}.stats span{font-size:12px;color:#ced9ea}.section-heading{display:flex;gap:10px;justify-content:space-between;align-items:center;margin:0 0 14px}.section-heading h2,.section-heading h3{font-size:22px;letter-spacing:-.03em;line-height:1.3;margin:0}.section-heading>span{font-size:12px;color:#cc4a1a;white-space:nowrap}.score-legend{display:flex;gap:10px;justify-content:space-between;padding:14px 0 5px}.score-legend>span{display:flex;align-items:center;gap:5px;font-size:13px;color:#526176}.score-legend i{font-style:normal;font-size:20px;font-weight:800;width:47px;height:47px;display:grid;place-items:center;border-radius:50%;color:var(--ink);border:3px solid white;box-shadow:0 0 0 1px #17243a13}.score-5{background:var(--score5)}.score-10{background:var(--score10)}.score-15{background:var(--score15)}.score-20{background:var(--score20)}.score-block>p,.muted{font-size:14px;line-height:1.85;color:var(--muted)}.score-block{margin-bottom:28px}.how-to{border-top:2px solid var(--ink);padding-top:23px}.how-to h3{font-size:23px;letter-spacing:-.02em;margin:0 0 20px}.how-to ol{list-style:none;padding:0;margin:0;counter-reset:steps}.how-to li{position:relative;counter-increment:steps;padding:0 0 23px 38px}.how-to li:before{content:counter(steps);display:grid;place-items:center;position:absolute;left:0;top:0;width:25px;height:25px;background:#e8f4ff;color:#075aaf;border-radius:50%;font-size:14px;font-weight:750}.how-to b{display:block;margin-bottom:6px;font-size:16px}.how-to span{display:block;font-size:14px;line-height:1.75;color:var(--muted)}.race-note{background:var(--volt);border-radius:5px 20px 5px 20px;padding:22px 19px;margin:0 -2px 25px;position:relative}.race-note strong{font-size:17px;line-height:1.65}.race-note p{font-size:13px;line-height:1.8;margin:8px 0 0;color:#354626}.event-meta p{display:flex;gap:18px;padding:13px 0;margin:0;border-top:1px solid var(--line);font-size:13px;line-height:1.7}.event-meta b{flex:0 0 54px}.event-meta span{color:var(--muted)}.map-card{display:block;border:0;background:#e9f3f3;border-radius:12px;padding:0;overflow:hidden;width:100%;margin-top:18px;position:relative;min-height:140px}.map-card img{display:block;width:100%;height:auto}.map-card>span{position:absolute;right:10px;bottom:10px;padding:7px 10px;background:#fffef0eb;border-radius:18px;color:#133e5f;font-size:12px}.compact{margin-bottom:14px}.point-list{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.point{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:9px;padding:10px 8px;gap:4px}.point i{font-style:normal;border-radius:50%;display:grid;place-items:center;width:27px;height:27px;font-size:12px;font-weight:700;flex:0 0 27px}.point strong{display:none}.point small{font-size:12px;font-weight:600;color:var(--ink)}.board-status{font-size:13px;color:#5f7085;line-height:1.7}.board-status:empty{display:none}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:260px;padding:30px 10px;background:#f1f7ff;border-radius:13px;margin-top:18px}.empty-mark{font-size:42px;color:var(--blue);margin-bottom:12px}.empty b{font-size:18px}.empty p{font-size:14px;line-height:1.8;color:var(--muted)}.empty button{margin-top:8px}.board-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:10px;padding:17px 0;border-bottom:1px solid var(--line);align-items:center}.rank{font-size:21px;font-weight:800;color:#627287}.board-row:nth-child(-n+3) .rank{color:#d9571e}.board-name{font-size:15px;overflow-wrap:anywhere}.board-meta{font-size:12px;color:var(--muted);margin-top:5px}.board-score{text-align:right;font-size:22px;font-weight:800}.board-score small{font-size:12px;margin-left:2px}.board-status-tag{display:inline-block;font-size:11px;color:#566778;margin-left:5px}.board-row .meta{font-size:12px;line-height:1.6;color:var(--muted)}footer{background:var(--blue);color:white;margin-top:33px;padding:30px 23px calc(130px + env(safe-area-inset-bottom));position:relative}footer:before{content:"";display:block;width:66px;height:5px;background:var(--volt);margin-bottom:18px;transform:skewX(-25deg)}footer p{font-size:27px;line-height:1.3;font-weight:800;letter-spacing:-.03em;margin:0 0 15px}footer>span{font-size:14px}footer small{display:block;font-size:11px;line-height:1.8;color:#d8eeff;max-width:40ch;margin-top:14px}.dock{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,680px);z-index:10;background:#ffffffed;backdrop-filter:blur(14px);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px calc(14px + env(safe-area-inset-bottom));border-top:1px solid #dce6ef;box-shadow:0 -5px 24px #143d6410}.dock>div{min-width:0}.dock b{display:block;font-size:14px;white-space:nowrap}.dock>div>span{display:block;font-size:11px;color:var(--muted);margin-top:5px}.dock>button{border:0;background:var(--orange);color:#fff;display:flex;gap:10px;align-items:center;justify-content:center;min-height:48px;min-width:148px;padding:12px 18px;border-radius:28px;font-size:16px;font-weight:750;box-shadow:0 4px 0 #d6501c15}.dock svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.dock>button span{font-size:20px}dialog{border:0;border-radius:22px;padding:30px 24px 25px;width:min(calc(100% - 28px),480px);max-height:calc(100dvh - 55px);color:var(--ink);overflow:auto;box-shadow:0 20px 90px #07244635}dialog::backdrop{background:#11234080;backdrop-filter:blur(3px)}.modal-close{position:absolute;right:12px;top:10px;display:grid;place-items:center;width:34px;height:34px;border:0;background:#eef3f7;border-radius:50%;font-size:25px;color:#53657a}dialog h2{font-size:24px;line-height:1.4;letter-spacing:-.025em;padding-right:24px;margin:12px 0 14px}dialog p{font-size:14px;line-height:1.8;color:var(--muted)}.form-label{display:block;font-weight:700;margin-top:20px;margin-bottom:9px}.name-field{width:100%;border:1px solid #b8cadb;background:#f7fbff;border-radius:10px;min-height:48px;padding:12px;color:var(--ink);font-size:16px}.form-hint{font-size:12px!important;line-height:1.7}.agreement{display:flex;gap:10px;margin:18px 0;font-size:13px;line-height:1.7}.agreement input{accent-color:var(--blue);height:19px;width:19px;flex:0 0 19px;margin:2px 0 0}.form-error{color:#ae342b!important;min-height:22px}.primary-button,.secondary-button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;text-decoration:none;border:0;border-radius:24px;padding:12px 18px;font-size:15px;font-weight:750}.primary-button{background:var(--orange);color:white}.secondary-button{background:white;color:var(--blue);border:1px solid #b8d3f0}.map-scroll{overflow:auto;max-height:65dvh;border:1px solid var(--line);border-radius:8px}.modal-map{display:block;width:1250px;max-width:none;touch-action:pan-x pan-y pinch-zoom}.share-preview{border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:18px}.share-preview img{width:100%;display:block}.share-preview h3,.share-preview p{margin:14px}.noscript{padding:25px}#toast{position:fixed;bottom:calc(100px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%,12px);background:#142b46f0;color:white;padding:12px 17px;border-radius:12px;max-width:min(90%,520px);width:max-content;z-index:30;opacity:0;pointer-events:none;font-size:13px;line-height:1.75;transition:opacity .15s,transform .15s}#toast.visible{opacity:1;transform:translate(-50%,0)}@media(min-width:681px){.hero-copy{top:20%}.school{font-size:17px}.tagline{font-size:19px}.flag-strip{margin-top:24px}.hero h1{font-size:86px}.panel{padding-left:34px;padding-right:34px}.stats{margin-left:-34px;margin-right:-34px;padding-left:34px;padding-right:34px}.intro h2{font-size:39px}.identity{padding-left:34px;padding-right:34px}}@media(max-width:359px){.school{font-size:10px}.hero-copy{top:22%}.tagline{margin-top:11px;font-size:10px}.flag-strip{margin-top:10px}.score-legend{gap:5px}.score-legend i{width:41px;height:41px}.panel{padding-left:18px;padding-right:18px}.stats{margin-left:-18px;margin-right:-18px}.dock{padding-left:14px;padding-right:14px;gap:8px}.dock b{font-size:12px}.dock>button{min-width:130px;font-size:14px;padding:11px 13px}.identity{gap:8px;padding-left:16px;padding-right:16px}.identity-copy strong{font-size:15px}.intro h2{font-size:29px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


.context-error{display:flex;align-items:center;gap:12px;padding:12px 20px;background:#fff1e8;color:#984214;font-size:12px;line-height:1.7}.context-error button{border:0;background:white;color:#984214;border-radius:18px;padding:6px 10px;white-space:nowrap;font-size:12px}
