@charset "UTF-8";
:root{--red:#922126;--red-deep:#681b20;--red-soft:#b7443a;--gold:#c99a4c;--gold-light:#e7c987;--ink:#2c2621;--muted:#70665d;--cream:#f8f3e8;--paper:#fffdf7;--line:#e6dbca;--success:#526d4a;--shadow:0 18px 50px rgba(83,40,25,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;font-size:16px;line-height:1.65}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}img{max-width:100%}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:"Songti SC","Noto Serif CJK SC","STSong",serif;line-height:1.27;font-weight:700}h1{font-size:clamp(2.4rem,7vw,5rem);letter-spacing:.045em}h2{font-size:clamp(1.5rem,4vw,2.2rem)}:focus-visible{outline:3px solid var(--gold);outline-offset:3px}::selection{background:#e8c987;color:var(--red-deep)}
.site-shell{min-height:100vh;padding-bottom:72px}.site-head{height:84px;padding:0 max(22px,calc((100vw - 1180px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--paper);border-bottom:1px solid var(--line)}.site-brand{display:flex;align-items:center;gap:12px;min-width:0}.site-brand strong{font-family:"Songti SC","STSong",serif;font-size:17px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:340px}.site-brand small{font-size:10px;letter-spacing:.24em;color:var(--muted);display:block;margin-top:1px}.brand-logo,.brand-mark{width:42px;height:42px;flex:none;object-fit:contain}.brand-mark{display:grid;place-items:center;background:var(--red);color:var(--gold-light);font:700 23px "Songti SC",serif;border:2px double var(--gold-light);transform:rotate(-5deg)}.head-account{color:var(--red);font-size:13px;font-weight:700;white-space:nowrap;border-bottom:1px solid currentColor}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:20;display:flex;align-items:stretch;justify-content:center;min-height:66px;background:rgba(255,253,247,.97);border-top:1px solid var(--line);box-shadow:0 -6px 28px rgba(39,28,18,.06);backdrop-filter:blur(12px)}.bottom-nav a{width:min(25%,170px);display:grid;place-items:center;font-size:13px;font-weight:600;color:#786e64}.bottom-nav a[aria-current="page"]{color:var(--red);position:relative}.bottom-nav a[aria-current="page"]:before{content:"";position:absolute;top:0;left:30%;right:30%;height:3px;background:var(--red)}
.content-wrap{width:min(1120px,calc(100% - 42px));margin:0 auto}.narrow-page{width:min(580px,calc(100% - 42px));margin:0 auto;padding:30px 0 80px}.section-kicker,.eyebrow{display:inline-block;color:var(--red);font-size:12px;font-weight:800;letter-spacing:.28em;text-transform:uppercase}.button{border:1px solid transparent;min-height:50px;padding:13px 24px;display:inline-flex;align-items:center;justify-content:center;text-align:center;font-weight:800;font-size:15px;line-height:1.25;transition:transform .2s,background .2s,box-shadow .2s}.button:hover:not(:disabled){transform:translateY(-2px)}.button-primary{background:var(--red);color:#fff8e8;box-shadow:0 10px 22px rgba(146,33,38,.18)}.button-primary:hover:not(:disabled){background:var(--red-deep)}.button-light{background:#fff8e8;color:var(--red)}.button-ghost,.button-outline{border-color:var(--red);color:var(--red);background:transparent}.button-full{width:100%}.back-link{display:inline-block;padding:8px 0;margin:8px 0 24px;color:var(--red);font-size:14px;font-weight:700}.text-button{border:0;background:none;color:var(--red);font-size:14px;font-weight:700;text-decoration:underline;padding:12px}.page-title{margin:28px 0 38px}.page-title h1{font-size:clamp(2.2rem,6vw,4.2rem);margin:8px 0 14px;color:var(--red-deep)}.page-title p{color:var(--muted);max-width:610px}.notice{padding:14px 18px;background:#f5e7c9;color:var(--red-deep)}
.hero{position:relative;overflow:hidden;min-height:560px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);background:var(--red-deep);color:#fff9ea}.hero:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.13;background-image:repeating-linear-gradient(90deg,transparent 0 33px,#f5ddae 34px 35px)}.hero-copy{position:relative;z-index:2;padding:90px 5vw 82px max(24px,calc((100vw - 1120px)/2))}.hero .eyebrow{color:var(--gold-light)}.hero h1{font-size:clamp(3.4rem,7vw,6.5rem);line-height:1.16;margin:24px 0}.hero h1 em{font-style:normal;color:var(--gold-light)}.hero-intro{color:#f5e8d7;max-width:450px;font-size:17px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:35px}.hero .button-primary{background:var(--gold-light);color:var(--red-deep)}.hero .button-light{background:transparent;border-color:#f2d8a2;color:#fff9ea}.hero-cover{width:100%;height:100%;max-height:650px;object-fit:cover}.hero-art{position:relative;min-height:560px;overflow:hidden;background:linear-gradient(160deg,#b33632 0%,#8c262b 50%,#5d1c25 100%)}.art-sun{position:absolute;width:270px;height:270px;top:95px;left:16%;border-radius:50%;background:#efc477;box-shadow:0 0 0 35px rgba(235,189,112,.12),0 0 0 80px rgba(235,189,112,.08)}.art-mountain{position:absolute;width:140%;height:300px;left:-12%;bottom:-75px;background:#481922;clip-path:polygon(0 70%,14% 53%,27% 72%,48% 12%,63% 62%,78% 29%,100% 80%,100% 100%,0 100%)}.art-mountain.two{left:10%;bottom:-120px;background:#70252a;opacity:.85;transform:scaleX(-1)}.art-bird{position:absolute;top:90px;right:30%;font-size:80px;color:#f8e2b8;transform:rotate(-15deg)}.hero-side-note{position:absolute;right:18px;bottom:40px;writing-mode:vertical-rl;color:#ecd6a4;letter-spacing:.5em;font-size:13px}.content-wrap>.section-kicker{margin:54px 0 14px}.timeline{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--gold);border-bottom:1px solid var(--gold)}.timeline div{padding:22px 26px;display:flex;align-items:baseline;gap:16px;border-right:1px solid var(--line)}.timeline div:last-child{border-right:0}.timeline b{color:var(--red);white-space:nowrap}.timeline span{font-size:13px;color:var(--muted)}.home-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:34px 0 70px}.feature-card{background:var(--paper);padding:28px 30px 32px;border-top:3px solid var(--gold);min-height:220px}.card-index{color:var(--gold);font:700 32px "Songti SC",serif}.feature-card h2{color:var(--red-deep);font-size:25px;margin:12px 0}.feature-card p{font-size:14px;color:var(--muted);margin:0}.home-personal{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:80px;padding:35px 42px;background:#efe3cc;border-left:5px solid var(--red)}.home-personal h2{margin:10px 0 3px}.home-personal p{margin:0;color:var(--muted)}
.form-card{background:var(--paper);border:1px solid var(--line);padding:30px;box-shadow:var(--shadow)}.form-row{margin-bottom:22px}.form-row label{display:block;color:var(--ink);font-size:14px;font-weight:700;margin-bottom:8px}.form-row input,.form-row select{display:block;width:100%;height:50px;border:1px solid #d5c9b6;border-radius:0;background:#fffefa;padding:0 14px;color:var(--ink);outline:none}.form-row input:focus,.form-row select:focus{border-color:var(--red);box-shadow:0 0 0 3px rgba(146,33,38,.10)}.field-help{font-size:12px;color:var(--red);margin:-17px 0 21px}.consent{display:flex;gap:11px;align-items:flex-start;font-size:13px;line-height:1.6;color:var(--muted);margin:4px 0 25px}.consent input{width:18px;height:18px;flex:none;margin-top:3px;accent-color:var(--red)}.consent a,.form-switch a{color:var(--red);font-weight:700;text-decoration:underline}.form-message{padding:10px 13px;background:#fbe7e2;color:var(--red-deep);font-size:13px;margin-bottom:18px}.form-switch{text-align:center;font-size:14px;color:var(--muted);margin:22px 0}.invite-banner{border-left:4px solid var(--gold);background:#f3e5ca;padding:15px 18px;margin-bottom:18px;display:flex;gap:12px;align-items:center;font-size:13px}.invite-banner span{color:var(--red);font-weight:800}.invite-banner strong{font-weight:600}
.team-page{padding:28px 0 80px}.team-page .page-title{margin-top:16px}.team-card{background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow)}.team-card-head{display:flex;align-items:baseline;justify-content:space-between;padding:21px 30px;background:var(--red);color:#fff8e9}.team-card-head span{font-size:12px;letter-spacing:.16em}.team-card-head strong{font-family:ui-monospace,monospace;font-size:20px;letter-spacing:.12em}.team-members{padding:10px 28px}.member{display:flex;align-items:center;gap:14px;padding:18px 0;border-bottom:1px solid var(--line)}.member:last-child{border-bottom:0}.member-icon{display:grid;place-items:center;width:44px;height:44px;flex:none;border:1px solid var(--gold);color:var(--red);font-family:"Songti SC",serif;font-size:20px}.member div{flex:1;min-width:0}.member b{display:block}.member small{display:block;color:var(--muted)}.member strong{font-size:14px;color:var(--red)}.member.vacant{opacity:.65}.share-card,.team-next,.team-result{margin-top:24px;background:var(--paper);padding:32px;text-align:center;border:1px solid var(--line)}.share-card h2,.team-next h2{margin:9px 0 17px}.share-card canvas{display:block;margin:20px auto;border:8px solid #fff}.share-card p,.team-next p,.team-result p{color:var(--muted);font-size:14px}.share-url{max-width:460px;word-break:break-all;padding:12px 16px;margin:15px auto;background:var(--cream);border:1px solid var(--line);font-size:12px;color:var(--muted);text-align:left}.join-panel{background:#f2e5ca;padding:25px 28px;margin:0 0 24px;border-left:4px solid var(--gold)}.join-panel h2{margin:8px 0}.join-panel p{color:var(--muted)}.join-panel .text-button{margin-left:10px}.logout-link{display:block;border:0;background:none;color:var(--muted);text-decoration:underline;margin:30px auto;font-size:13px}
.team-refresh-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:-15px 0 23px}.team-refresh-row .button{min-height:39px;padding:8px 14px;font-size:13px}.team-refresh-row span{color:var(--muted);font-size:12px}
.exam-intro{background:var(--paper);padding:40px 42px;border:1px solid var(--line);box-shadow:var(--shadow);text-align:center}.seal-large{display:grid;place-items:center;width:74px;height:74px;margin:0 auto 24px;border:2px double var(--gold);color:var(--red);font:700 42px "Songti SC",serif;transform:rotate(-7deg)}.exam-intro h1{font-size:clamp(2.6rem,7vw,4rem);color:var(--red-deep);margin:10px 0 20px}.exam-intro>p{color:var(--muted);max-width:410px;margin:0 auto}.exam-facts{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:32px 0}.exam-facts div{padding:18px 5px;border-right:1px solid var(--line)}.exam-facts div:last-child{border-right:0}.exam-facts strong{display:block;font:700 36px Georgia,serif;color:var(--red)}.exam-facts span{font-size:12px;color:var(--muted)}.rule-list{text-align:left;color:var(--muted);font-size:14px;padding-left:22px;margin-bottom:30px}.rule-list li{margin:7px 0}.exam-page{width:min(760px,calc(100% - 32px));margin:0 auto;padding:32px 0 100px}.exam-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.exam-top h1{font-size:clamp(1.8rem,5vw,2.8rem);margin:5px 0;color:var(--red-deep)}.timer{padding:7px 12px;min-width:106px;text-align:center;font:700 30px ui-monospace,SFMono-Regular,monospace;color:var(--red);background:var(--paper);border:1px solid var(--gold)}.timer.urgent{background:var(--red);color:#fff;animation:pulse 1s infinite}.exam-progress{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:22px;font-size:13px;color:var(--muted)}.exam-progress strong{color:var(--red)}.save-status{color:var(--success)}.save-status.has-error{color:var(--red)}.progress-track{height:5px;margin:9px 0 27px;background:#e3d6c6}.progress-track span{width:100%;height:100%;display:block;background:var(--red);transform-origin:left;transform:scaleX(0);transition:transform .2s}.question-list{display:grid;gap:20px}.question-card{min-width:0;margin:0;padding:25px 28px 29px;background:var(--paper);border:1px solid var(--line);box-shadow:0 5px 16px rgba(83,40,25,.035)}.question-card legend{float:left;width:100%;padding:0;margin-bottom:18px;display:flex;align-items:flex-start;gap:13px;font:700 20px/1.6 "Songti SC","STSong",serif}.question-card legend+*{clear:both}.question-number{flex:none;color:var(--red);font:700 15px/2 ui-monospace,monospace;border-bottom:2px solid var(--gold)}.question-image{display:block;max-height:260px;object-fit:contain;margin:12px 0 19px}.options{display:grid;gap:9px;clear:both}.option{display:flex;align-items:flex-start;gap:12px;padding:13px 14px;border:1px solid var(--line);cursor:pointer;line-height:1.55;transition:border-color .2s,background .2s}.option:hover{border-color:var(--gold)}.option.selected{border-color:var(--red);background:#fbf0e9}.option input{position:absolute;opacity:0;width:1px;height:1px}.option:has(input:focus-visible){outline:3px solid var(--gold);outline-offset:2px}.option-key{display:grid;place-items:center;flex:none;width:28px;height:28px;border:1px solid var(--gold);color:var(--red);font-weight:800;font-size:13px}.option.selected .option-key{background:var(--red);border-color:var(--red);color:#fff}.exam-submit{text-align:center;padding:33px 10px}.exam-submit p{color:var(--muted);font-size:13px}.exam-submit .button{min-width:260px}
.exam-top{position:sticky;top:0;z-index:10;padding:8px 0;background:var(--cream);border-bottom:1px solid var(--line)}.question-card{scroll-margin-top:110px}
.result-page,.ranking-page,.rules-page{padding:30px 0 90px}.score-hero{position:relative;overflow:hidden;background:var(--red-deep);color:#fff9e9;padding:56px 30px;text-align:center}.score-hero:before,.score-hero:after{content:"";position:absolute;width:230px;height:230px;border:1px solid rgba(231,201,135,.32);border-radius:50%;top:-100px}.score-hero:before{left:-100px}.score-hero:after{right:-100px}.score-hero .section-kicker{color:var(--gold-light)}.score-number{font:700 clamp(5.5rem,15vw,9rem)/1 Georgia,serif;color:var(--gold-light);margin:20px 0}.score-number span{font-size:.26em;color:#fff3df}.score-hero h1{font-size:clamp(1.7rem,5vw,2.6rem);margin:0 0 24px}.score-meta{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;font-size:14px;color:#f6e9d3}.result-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:24px 0}.result-actions .button{min-width:180px}.team-result{text-align:left;max-width:720px;margin:32px auto 0}.team-result h2{margin:9px 0}.review-card{background:var(--paper);border:1px solid var(--line);padding:26px 30px;margin:18px 0}.review-head{display:flex;justify-content:space-between;gap:12px;color:var(--red);font-size:13px;font-weight:800;letter-spacing:.06em}.review-card h2{font-size:22px;margin:14px 0 22px}.review-options{display:grid;gap:7px}.review-option{display:flex;gap:12px;padding:9px 12px;border:1px solid var(--line);font-size:14px}.review-option b{color:var(--red)}.review-option.correct{background:#ecf1e7;border-color:#a8bea1}.review-option.chosen-wrong{background:#fae8e4;border-color:#e7b7ad}.explanation{margin-top:21px;padding:17px 19px;background:var(--cream);border-left:3px solid var(--gold)}.explanation b{color:var(--red);font-size:14px}.explanation p{margin:6px 0 0;white-space:pre-wrap;font-size:14px}
.ranking-page .page-title{margin-top:38px}.my-rank{background:var(--red);color:#fff6e6;display:flex;align-items:center;gap:18px;padding:17px 23px;margin-bottom:25px}.my-rank span{flex:1}.my-rank strong{font-family:"Songti SC",serif;font-size:23px}.my-rank small{color:#f2dabc}.rank-list{background:var(--paper);border:1px solid var(--line)}.rank-row{display:flex;align-items:center;gap:20px;padding:17px 24px;border-bottom:1px solid var(--line)}.rank-row:last-child{border-bottom:0}.rank-place{font:700 24px Georgia,serif;color:var(--muted);width:46px;text-align:center}.rank-place.top-rank{color:var(--red)}.rank-team{flex:1;min-width:0}.rank-team b{display:block;color:var(--red-deep)}.rank-team small,.rank-score small{display:block;color:var(--muted);font-size:12px}.rank-score{text-align:right}.rank-score b{color:var(--red);white-space:nowrap}.pagination{display:flex;justify-content:center;align-items:center;gap:20px;margin-top:22px;font-size:13px}.pagination button{border:1px solid var(--line);padding:8px 16px;background:var(--paper);color:var(--red)}
.rule-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.rule-grid section{background:var(--paper);padding:27px 30px;border-top:2px solid var(--gold)}.rule-grid span{font-size:12px;color:var(--red);font-weight:800;letter-spacing:.12em}.rule-grid h2{font-size:25px;color:var(--red-deep);margin:10px 0}.rule-grid p{color:var(--muted);font-size:14px;margin:0}.rules-dates,.custom-rules{background:var(--paper);margin-top:22px;padding:28px 30px}.rules-dates h2,.custom-rules h2{font-size:25px;color:var(--red-deep)}.rules-dates>div{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding:12px 0}.rules-dates span{color:var(--muted)}.custom-rules p{white-space:normal;color:var(--muted)}.rules-action{margin:26px 0}
.empty-state{max-width:540px;margin:70px auto;padding:35px 24px;text-align:center}.empty-state h2{color:var(--red-deep);margin:20px 0 8px}.empty-state p{color:var(--muted);margin-bottom:24px}.empty-state .button{margin:5px}.empty-seal{display:grid;place-items:center;width:70px;height:70px;margin:auto;border:2px double var(--gold);font:700 35px "Songti SC",serif;color:var(--red);transform:rotate(-7deg)}.loading-state{min-height:50vh;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted)}.loading-spinner{width:36px;height:36px;border:3px solid var(--line);border-top-color:var(--red);border-radius:50%;animation:spin .9s linear infinite}.toast{position:fixed;z-index:50;left:50%;bottom:86px;max-width:calc(100vw - 32px);padding:12px 18px;background:var(--red-deep);color:#fff;box-shadow:var(--shadow);font-size:13px;line-height:1.5;transform:translate(-50%,20px);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}.toast[data-type="success"]{background:var(--success)}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.65}}
@media(max-width:760px){.site-head{height:67px;padding:0 16px}.site-brand strong{font-size:13px;max-width:180px}.site-brand small{font-size:9px}.brand-logo,.brand-mark{width:35px;height:35px}.head-account{font-size:12px}.hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:55px 24px 50px}.hero h1{font-size:clamp(3.2rem,12vw,5.5rem);margin:17px 0}.hero-intro{font-size:15px}.hero-art,.hero-cover{height:230px;min-height:230px}.art-sun{width:145px;height:145px;top:22px;left:42%}.art-mountain{height:180px;bottom:-55px}.hero-side-note{right:14px;bottom:12px}.content-wrap{width:calc(100% - 32px)}.timeline{grid-template-columns:1fr}.timeline div{padding:15px 8px;border-right:0;border-bottom:1px solid var(--line)}.timeline div:last-child{border-bottom:0}.timeline b{min-width:80px}.home-grid{grid-template-columns:1fr;gap:10px;margin-bottom:35px}.feature-card{min-height:0;padding:22px 24px}.home-personal{padding:25px;display:block}.home-personal .button{margin-top:18px}.page-title{margin:14px 0 28px}.page-title h1{font-size:clamp(2.15rem,9vw,3.4rem)}.narrow-page{width:calc(100% - 32px);padding-top:17px}.form-card{padding:22px}.team-page{padding-top:15px}.team-card-head{padding:17px 20px}.team-members{padding:4px 18px}.share-card,.team-next,.team-result{padding:24px 18px}.exam-intro{padding:30px 20px}.exam-page{padding-top:18px}.exam-top h1{font-size:1.9rem}.timer{font-size:23px;min-width:90px}.question-card{padding:20px 17px}.question-card legend{font-size:18px;gap:9px}.option{padding:11px 10px;font-size:14px}.score-hero{padding:40px 18px}.my-rank{display:grid;grid-template-columns:1fr auto;gap:4px}.my-rank small{grid-column:1/-1}.rank-row{padding:15px 13px;gap:10px}.rank-place{width:35px;font-size:20px}.rule-grid{grid-template-columns:1fr}.review-card{padding:22px 18px}.review-head{display:block}.review-head span+span{display:block;margin-top:3px}}
@media(max-width:370px){.site-brand strong{max-width:145px}.head-account{font-size:11px}.hero-actions .button{width:100%}.score-meta{gap:10px}.rank-team small{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* 首页：以山河长卷承载主视觉，文字落在画面留白处。 */
.hero{display:block;isolation:isolate;min-height:620px;background:#721b22 url('poetry-landscape.webp') center 58%/cover no-repeat}
.hero:before{z-index:1;opacity:1;background:linear-gradient(90deg,rgba(75,13,21,.45) 0%,rgba(76,13,21,.18) 45%,rgba(76,13,21,0) 76%)}
.hero-copy{width:min(700px,64%);padding-top:108px;padding-bottom:105px}
.hero .eyebrow{display:inline-flex;align-items:center;gap:12px;color:#f2d5a4;letter-spacing:.24em}
.hero .eyebrow:before{content:"";width:27px;height:1px;background:var(--gold-light)}
.hero h1{font-size:clamp(3.8rem,6vw,6.2rem);text-shadow:0 2px 20px rgba(71,14,22,.22)}
.hero-intro{max-width:420px;line-height:1.9}
.hero-cover{position:absolute;inset:0;z-index:0;width:100%;height:100%;max-height:none;object-fit:cover}
.hero-side-note{z-index:2}
.feature-card{position:relative;overflow:hidden;transition:transform .28s ease,box-shadow .28s ease;box-shadow:0 8px 28px rgba(83,40,25,.045)}
.feature-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.feature-icon{position:absolute;right:27px;top:29px;display:grid;place-items:center;width:38px;height:38px;border:1px solid #e0c799;border-radius:50%;color:var(--red)}
.feature-icon svg{width:19px;height:19px}
.home-personal{position:relative;overflow:hidden}
.home-personal:after{content:"";position:absolute;right:-38px;top:-84px;width:220px;height:220px;border:1px solid rgba(146,33,38,.16);border-radius:50%;pointer-events:none}

/* 一题一页：计时与翻页始终可见，答题卡集中呈现全卷。 */
.exam-page{width:min(820px,calc(100% - 36px));padding-top:20px;padding-bottom:145px}
.exam-top{top:0;padding:14px 2px 11px;background:rgba(248,243,232,.97);backdrop-filter:blur(14px);border-bottom:1px solid #dfd0b9}
.exam-top h1{font-size:clamp(1.7rem,4vw,2.4rem)}
.exam-progress{margin-top:17px}
.question-stage{min-height:460px;padding:27px 31px 34px;background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow);animation:page-reveal .3s ease both}
.question-stage-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:24px;padding-bottom:15px;border-bottom:1px solid var(--line);font-weight:800;color:var(--red)}
.question-stage-head small{font-weight:500;font-size:12px;color:var(--muted)}
.question-state{font-size:12px;font-weight:700;padding:4px 10px;border-radius:30px;white-space:nowrap}
.question-state.saved{color:var(--success);background:#e8eee3}
.question-state.pending{color:#8c6127;background:#f7ead1}
.question-state.unanswered{color:var(--muted);background:var(--cream)}
.question-stage .question-card{padding:0;margin:0;border:0;box-shadow:none;background:transparent;scroll-margin-top:120px}
.question-stage .question-card legend{font-size:clamp(21px,3vw,27px);line-height:1.6;margin-bottom:24px}
.question-stage .options{gap:11px}
.question-stage .option{align-items:center;min-height:58px;border-radius:10px;border-color:#e6d9c9;background:#fffefa;transition:transform .2s ease,border-color .2s ease,background .2s ease}
.question-stage .option:hover{transform:translateX(3px);border-color:var(--gold)}
.question-stage .option.selected{border-color:var(--red);background:#fbf0e9;box-shadow:inset 3px 0 var(--red)}
.question-stage .option-key{border-radius:50%;width:31px;height:31px}
.exam-pager{position:sticky;bottom:66px;z-index:12;display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:7px;margin-top:16px;padding:8px;background:rgba(255,253,247,.98);border:1px solid var(--line);box-shadow:0 14px 34px rgba(65,34,24,.16);backdrop-filter:blur(14px)}
.exam-pager button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:49px;border:0;background:transparent;color:var(--red-deep);font-weight:800;font-size:13px;white-space:nowrap}
.exam-pager button:hover:not(:disabled){background:#f2e6d6}
.exam-pager .pager-next{background:var(--red);color:#fff7e8}
.exam-pager .pager-next:hover:not(:disabled){background:var(--red-deep)}
.exam-pager button:disabled{color:#b0a79d}
.exam-pager svg{width:17px;height:17px;flex:none}
.exam-submit{padding:35px 10px 10px}
.exam-submit .button{min-width:235px}
.exam-modal[hidden]{display:none!important}
.exam-modal{position:fixed;inset:0;z-index:60;display:flex;align-items:flex-end;justify-content:center}
.modal-backdrop{position:absolute;inset:0;border:0;background:rgba(33,18,19,.62);cursor:pointer}
.modal-panel{position:relative;z-index:1;width:min(640px,100%);max-height:min(82dvh,760px);overflow:auto;padding:25px 27px 30px;background:var(--paper);border:1px solid var(--gold);border-radius:20px 20px 0 0;box-shadow:0 -18px 50px rgba(30,12,12,.21);animation:sheet-rise .25s ease both}
.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding-bottom:14px}
.modal-head h2{margin:5px 0 0;color:var(--red-deep)}
.icon-button{display:grid;place-items:center;width:40px;height:40px;flex:none;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--red)}
.sheet-summary{font-size:13px;color:var(--muted);margin:16px 0}
.sheet-summary strong{color:var(--red)}
.answer-tile-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.answer-tile{aspect-ratio:1;border:1px solid var(--line);border-radius:9px;background:var(--cream);color:var(--muted);font:700 18px ui-monospace,monospace;transition:transform .2s ease,background .2s ease,border-color .2s ease}
.answer-tile:hover{transform:translateY(-2px)}
.answer-tile.saved{background:#e9f0e4;border-color:#a6be9e;color:var(--success)}
.answer-tile.pending{background:#f7ead1;border-color:#d4af71;color:#8c6127}
.answer-tile.current{outline:2px solid var(--red);outline-offset:2px}
.card-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:16px;margin-top:21px;font-size:12px;color:var(--muted)}
.card-legend span{display:flex;align-items:center;gap:6px}
.card-legend i{width:13px;height:13px;border:1px solid var(--line);border-radius:3px}
.card-legend .legend-saved{background:#e9f0e4;border-color:#a6be9e}
.card-legend .legend-pending{background:#f7ead1;border-color:#d4af71}
.card-legend .legend-empty{background:var(--cream)}
.confirm-panel p{margin:19px 0;color:var(--muted)}
.confirm-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
body.exam-modal-open{overflow:hidden}

/* 状态变化采用一次短促的入场，不参与答题计时。 */
.team-card.is-ready{animation:team-reveal .42s ease both}
.team-card.is-ready .team-card-head{background:linear-gradient(115deg,var(--red-deep),var(--red-soft))}
.team-next{animation:page-reveal .4s ease both}
.score-hero .score-number{animation:score-reveal .55s cubic-bezier(.2,.7,.2,1) both}
.score-hero .score-meta{animation:page-reveal .5s .12s ease both}
@keyframes page-reveal{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes team-reveal{from{opacity:.7;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes score-reveal{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes sheet-rise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}

@media(max-width:760px){
  .hero{min-height:680px;background-position:35% center}
  .hero:before{background:linear-gradient(180deg,rgba(91,16,24,.68) 0%,rgba(91,16,24,.40) 54%,rgba(91,16,24,.03) 100%)}
  .hero-copy{width:100%;padding:63px 22px 260px}
  .hero h1{font-size:clamp(3.05rem,11vw,4.9rem);margin:25px 0 19px}
  .hero-intro{max-width:340px;line-height:1.75}
  .hero-side-note{bottom:24px;right:11px}
  .hero-cover{height:100%;min-height:0}
  .feature-icon{right:22px;top:23px}
  .exam-page{width:calc(100% - 24px);padding-top:10px}
  .exam-top{padding:9px 3px}
  .exam-top h1{font-size:1.65rem}
  .question-stage{min-height:430px;padding:19px 17px 27px}
  .question-stage .question-card legend{font-size:20px}
  .question-stage .option{min-height:54px;padding:10px 11px}
  .exam-pager{bottom:66px}
  .exam-pager button{font-size:12px;gap:4px}
  .exam-pager svg{width:15px;height:15px}
  .modal-panel{padding:22px 18px 29px}
  .answer-tile-grid{gap:8px}
  .answer-tile{font-size:15px}
}
@media(max-width:370px){
  .hero{min-height:715px}
  .hero-copy{padding-bottom:250px}
  .exam-pager button{font-size:11px}
  .exam-pager svg{width:14px;height:14px}
  .answer-tile-grid{gap:5px}
}
@media(prefers-reduced-motion:reduce){
  .question-stage,.team-card.is-ready,.team-next,.score-hero .score-number,.score-hero .score-meta,.modal-panel{animation:none!important}
  .feature-card:hover,.question-stage .option:hover,.answer-tile:hover{transform:none}
}

.hero-status:hover{transform:none}.hero-schedule{margin:18px 0 0;color:#f4dfb4;font-size:13px;letter-spacing:.06em}

.hero-subtitle{color:#f4dfb4;font-size:19px;line-height:1.6;margin:-6px 0 16px}@media(max-width:680px){.hero-subtitle{font-size:16px}}

.schedule-heading{font:700 16px/1.6 "PingFang SC","Microsoft YaHei",sans-serif;color:var(--red);margin:0 0 12px}
