:root{--red:#a92e32;--red-dark:#852329;--red-soft:#faf0ef;--ink:#302c2a;--muted:#746d67;--cream:#f8f5ee;--paper:#fff;--line:#e7e0d5;--gold:#b28443;--green:#28704e;--radius:20px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--cream);font-synthesis:none;color-scheme:light}
*{box-sizing:border-box}body{margin:0;line-height:1.6}button,input{font:inherit}button,a,input,label{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:inherit;text-decoration:none}svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.4}button{border:0}main{min-height:calc(100svh - 170px)}.site-header{border-bottom:1px solid var(--line);background:#fcfaf6}.header-inner{max-width:1160px;margin:auto;min-height:88px;padding:12px 32px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:12px;font-weight:700;font-size:18px;line-height:1.35}.brand-mark{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:var(--red);color:#fff4dc}.brand-mark svg{width:32px;height:32px}.brand-sub{display:block;font-size:11px;letter-spacing:4px;margin-top:3px;color:var(--muted);font-weight:400}.text-button{background:transparent;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px;color:var(--muted);font-size:14px}.text-button:hover{color:var(--red)}.text-button svg{width:18px;height:18px}.landing{max-width:1120px;margin:auto;padding:66px 32px 64px;display:grid;grid-template-columns:1fr 420px;gap:90px;align-items:center}.eyebrow{color:var(--red);font-size:13px;letter-spacing:2px;font-weight:600;display:flex;gap:10px;align-items:center}.eyebrow>span:first-child{width:22px;height:1px;background:var(--red)}.intro h1{font-family:"Songti SC","STSong","SimSun",serif;font-size:52px;line-height:1.45;letter-spacing:2px;margin:22px 0 18px;font-weight:800}.title-dot{color:var(--red)}.intro-copy{color:var(--muted);font-size:16px;line-height:1.9;margin-bottom:0}.book-art{width:100%;max-width:410px;height:auto;margin:0 0 0 -10px;stroke:none}.quiz-facts{display:flex;gap:0;max-width:410px}.quiz-facts>div{width:33.33%;display:flex;flex-direction:column;gap:3px}.quiz-facts>div+div{border-left:1px solid var(--line);padding-left:30px}.quiz-facts strong{font-family:Georgia,serif;font-weight:500;font-size:30px;line-height:1.3}.quiz-facts strong span{font-family:inherit;font-size:12px;margin-left:5px;color:var(--muted)}.quiz-facts>div>span{font-size:12px;color:var(--muted);letter-spacing:1px}.entry-card{background:var(--paper);padding:32px;border-radius:var(--radius);border:1px solid var(--line);box-shadow:0 12px 40px #4e392c06}.step-label{font-family:Georgia,serif;font-size:24px;color:var(--gold);display:flex;gap:12px;align-items:center;margin-bottom:20px}.step-label span{font-family:system-ui,sans-serif;font-size:12px;letter-spacing:1px;color:var(--muted)}.entry-card h2{font-size:26px;margin-bottom:6px}.muted{color:var(--muted);font-size:14px}.entry-card form{margin-top:24px}label:not(.option){display:block;font-size:14px;font-weight:600;margin-bottom:8px}.required{color:var(--red);margin-left:3px}input:not([type=radio]){width:100%;height:52px;padding:0 15px;border:1px solid #c7beb2;border-radius:9px;color:var(--ink);background:#fff;font-size:16px;transition:border-color .15s;box-shadow:none}input::placeholder{color:#8b837b}input:not([type=radio]):focus{border-color:var(--red);outline:2px solid #a92e3222;outline-offset:1px}#studentId{margin-bottom:8px}#name{margin-bottom:20px}.button{min-height:52px;border-radius:10px;padding:13px 20px;font-size:15px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:12px;transition:background .18s,box-shadow .18s;line-height:1.5}.button svg{width:20px;height:20px}.primary{background:var(--red);color:white}.primary:hover{background:var(--red-dark)}.primary:active{background:#6f1d23}.primary:disabled{background:#9b7777}.secondary{background:#fff;border:1px solid #c7beb2;color:var(--ink)}.secondary:hover{background:#f7f3ed}.secondary:disabled{color:#928b83;border-color:var(--line);background:#f4f1eb}.full{width:100%}.error-text{font-size:13px;color:var(--red);margin:8px 0;line-height:1.5}.error-text:empty{min-height:8px;margin:0 0 8px}.rules{border-top:1px solid var(--line);padding-top:20px;margin-top:24px;font-size:12px;color:var(--muted)}.rules strong{font-size:13px;color:var(--ink);font-weight:600}.rules ul{margin:8px 0 0;padding-left:16px;line-height:1.9}.privacy{font-size:11px;line-height:1.6;color:var(--muted);display:flex;gap:6px;margin:20px 0 0;align-items:center}.privacy svg{width:14px;height:14px;flex:none}.site-footer{max-width:1056px;margin:0 auto;padding:22px 0 30px;border-top:1px solid var(--line);font-size:12px;letter-spacing:2px;color:var(--muted);display:flex;justify-content:space-between}.site-footer span{letter-spacing:0}.loading-page,.network-error{max-width:600px;margin:80px auto;text-align:center;padding:30px}.loading-page{display:flex;justify-content:center;align-items:center;gap:12px;color:var(--muted)}.spinner{border:2px solid var(--line);border-top-color:var(--red);border-radius:50%;width:22px;height:22px;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.quiz-shell{max-width:800px;margin:auto;padding:36px 24px 130px}.quiz-top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.small{font-size:11px;letter-spacing:1px}.quiz-top h1{font-size:20px;margin:5px 0 0}.participant{font-size:13px;padding:7px 12px;border:1px solid var(--line);border-radius:8px;max-width:140px;overflow-wrap:anywhere}.progress-panel{position:sticky;top:0;z-index:2;background:var(--cream);padding-bottom:20px;padding-top:4px}.progress-info{display:flex;justify-content:space-between;align-items:center;font-size:13px}.progress-info strong{font-size:18px;color:var(--red);margin-left:8px;font-variant-numeric:tabular-nums}.grid-icon{font-size:22px;line-height:1}.progress-track{height:5px;background:var(--line);overflow:hidden;border-radius:6px}.progress-track>span{height:100%;display:block;background:var(--red);border-radius:6px;transition:width .2s}.question-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:32px}.question-meta{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted);margin-bottom:20px;font-variant-numeric:tabular-nums}.question-meta>span:last-child strong{font-size:22px;color:var(--ink);font-weight:500;margin-right:3px}.pill{background:var(--red-soft);color:var(--red);padding:5px 10px;border-radius:6px;font-size:12px}.section-name{font-size:12px;color:var(--muted);margin-bottom:10px}.question-card h2{font-size:21px;line-height:1.8;margin-bottom:26px;outline:none;overflow-wrap:anywhere}.options{padding:0;margin:0;border:0;display:grid;gap:12px;min-width:0}.option{display:flex;align-items:center;gap:13px;padding:15px 16px;min-height:64px;border:1px solid #c7beb2;border-radius:10px;cursor:pointer;position:relative;background:#fff;transition:background .15s,border-color .15s}.option input{position:absolute;opacity:0;width:1px;height:1px}.option:has(input:focus-visible){outline:3px solid var(--gold);outline-offset:3px}.option:hover{background:#fcf9f5}.option.selected{border-color:var(--red);background:var(--red-soft);box-shadow:inset 0 0 0 1px var(--red)}.option-letter{width:30px;height:30px;flex:none;border:1px solid #c7beb2;color:var(--muted);border-radius:8px;display:grid;place-items:center;font-size:14px}.selected .option-letter{background:var(--red);color:white;border-color:var(--red)}.option-text{font-size:16px;line-height:1.65;flex:1;overflow-wrap:anywhere}.option-check{width:20px;height:20px;color:var(--red);visibility:hidden;flex:none}.option-check svg{width:20px;height:20px}.selected .option-check{visibility:visible}.question-hint{font-size:12px;color:var(--muted);margin:24px 0 0}.quiz-note{font-size:11px;color:var(--muted);text-align:center;margin-top:20px;display:flex;gap:7px;align-items:center;justify-content:center}.save-dot{width:5px;height:5px;background:var(--green);border-radius:50%}.quiz-controls{position:fixed;z-index:4;bottom:0;left:0;right:0;background:#fcfaf6f5;border-top:1px solid var(--line);padding:16px 24px calc(16px + env(safe-area-inset-bottom));backdrop-filter:blur(8px)}.controls-inner{max-width:752px;margin:auto;display:grid;grid-template-columns:1fr 2fr;gap:16px}.in-quiz .site-footer{display:none}.result-shell{max-width:660px;margin:42px auto 60px;padding:0 24px}.result-card{padding:36px 40px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);text-align:center}.result-card .eyebrow{justify-content:center;font-size:12px}.trophy{width:100px;height:100px;margin:20px auto 14px;stroke:none}.result-card h1{font-size:26px;margin-bottom:8px}.score{display:flex;align-items:baseline;justify-content:center;gap:12px;color:var(--red);margin:12px 0 20px}.score strong{font-family:Georgia,serif;font-size:88px;line-height:1.3;font-weight:500;font-variant-numeric:tabular-nums}.score>span{font-size:13px;color:var(--muted)}.result-stats{display:grid;grid-template-columns:1fr 1fr;padding:0 0 24px;border-bottom:1px solid var(--line)}.result-stats>div{display:flex;flex-direction:column;gap:4px}.result-stats>div+div{border-left:1px solid var(--line)}.result-stats strong{font-size:20px;font-weight:600}.result-stats strong span,.result-stats>div>span{font-size:12px;color:var(--muted);font-weight:400}.result-identity{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 24px;font-size:12px;padding-top:20px;color:var(--muted)}.result-identity strong{color:var(--ink);font-weight:500;margin-left:8px;overflow-wrap:anywhere}.saved-message{display:flex;justify-content:center;align-items:center;gap:5px;color:var(--green);font-size:12px;margin-top:10px;margin-bottom:24px}.saved-message svg{width:16px;height:16px}.result-card .button+.button{margin-top:12px}.review-panel{margin-top:36px;scroll-margin-top:24px}.review-panel h2{font-size:22px;margin-bottom:6px}.review-item{padding:24px;background:#fff;border:1px solid var(--line);border-radius:14px;margin-top:16px}.review-meta{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted);margin-bottom:16px}.review-item h3{font-size:16px;line-height:1.8;font-weight:600}.review-options p{font-size:14px;margin-bottom:8px;line-height:1.7}.correct{color:var(--green)}.incorrect{color:var(--red)}.your-answer{font-size:12px;border-top:1px solid var(--line);padding-top:14px;margin:16px 0 0;color:var(--muted)}
dialog{width:calc(100% - 32px);max-width:440px;max-height:calc(100svh - 48px);border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:0 24px 100px #302c2a33;color:var(--ink);overflow-y:auto}dialog::backdrop{background:#25201bb3;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px}.dialog-head h2{font-size:20px;margin:0}.icon-button{width:44px;height:44px;border-radius:50%;color:var(--muted);background:var(--cream);font-size:26px;flex:none;line-height:1}.icon-button:hover{background:var(--line)}.dialog-copy{font-size:15px;line-height:1.8;margin-bottom:24px}.share-content{text-align:center}.share-content p{font-size:13px;color:var(--muted)}.qr-code{display:block;width:min(260px,100%);height:auto;margin:16px auto}.share-content .share-url{letter-spacing:1px;font-size:16px;color:var(--ink)}.answer-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:24px 0 16px}.sheet-number{border:1px solid #c7beb2;border-radius:9px;aspect-ratio:1;min-width:44px;min-height:44px;background:#fff;font-size:16px;color:var(--ink);position:relative}.sheet-number.answered{background:var(--red);border-color:var(--red);color:white}.sheet-number.current{outline:2px solid var(--gold);outline-offset:3px}.sheet-number span{font-size:9px;position:absolute;right:5px;bottom:2px}.sheet-legend{display:flex;justify-content:center;gap:20px;font-size:12px;color:var(--muted);margin:18px 0 24px}.sheet-legend span{display:flex;gap:6px;align-items:center}.sheet-legend i{width:12px;height:12px;border:1px solid #c7beb2;border-radius:3px}.sheet-legend .filled{background:var(--red);border-color:var(--red)}.submit-summary{text-align:center;padding:8px 0 16px}.submit-summary>svg{width:48px;height:48px;padding:12px;background:#eaf2ec;border-radius:50%;color:var(--green);margin:0 auto 16px}.submit-summary>strong{display:block;font-size:18px}.submit-summary p{margin-top:8px}.submit-summary~.text-button{margin-top:10px}#toast{position:fixed;left:50%;bottom:calc(110px + env(safe-area-inset-bottom));transform:translateX(-50%);background:#302c2a;color:white;padding:12px 18px;font-size:13px;border-radius:10px;z-index:10;opacity:0;pointer-events:none;max-width:calc(100% - 32px);width:max-content;transition:opacity .15s}#toast.visible{opacity:1}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(min-width:1440px){.landing{padding-top:90px;padding-bottom:90px}}
@media(max-width:960px){.landing{gap:40px;grid-template-columns:1fr 380px;padding-top:44px}.intro h1{font-size:42px}.entry-card{padding:26px}.quiz-facts>div+div{padding-left:20px}.site-footer{margin:0 32px}}
@media(max-width:720px){.header-inner{padding:12px 20px;min-height:76px}.brand{font-size:16px;gap:10px}.brand-mark{width:38px;height:38px;border-radius:10px}.brand-mark svg{width:28px;height:28px}.brand-sub{font-size:10px;letter-spacing:3px}.header-inner>.text-button{font-size:12px;gap:6px;padding:4px 0}.header-inner>.text-button svg{width:16px;height:16px}.landing{display:block;padding:30px 20px 36px;max-width:520px}.intro{position:relative;padding-bottom:24px}.eyebrow{font-size:11px;letter-spacing:1px}.intro h1{font-size:36px;margin:14px 0 10px;line-height:1.4;letter-spacing:1px;position:relative;z-index:1}.intro-copy{font-size:13px;line-height:1.8;position:relative;z-index:1}.book-art{position:absolute;width:190px;right:-4px;top:44px;opacity:.6;margin:0;z-index:0}.quiz-facts{margin-top:22px;max-width:none}.quiz-facts strong{font-size:26px}.quiz-facts>div>span{font-size:11px}.quiz-facts>div+div{padding-left:26px}.entry-card{padding:24px;border-radius:16px}.step-label{font-size:22px;margin-bottom:14px}.entry-card h2{font-size:24px}.entry-card .muted{font-size:13px}.entry-card form{margin-top:20px}.rules{margin-top:20px;padding-top:16px}.privacy{margin-top:16px;font-size:10px}.site-footer{margin:0 20px;padding:20px 0 24px;font-size:10px;letter-spacing:1px}.site-footer>span{display:none}.quiz-shell{padding:22px 16px 120px}.quiz-top{margin-bottom:14px}.quiz-top h1{font-size:18px}.participant{font-size:12px;max-width:110px;padding:5px 10px}.progress-panel{padding-bottom:16px}.question-card{padding:22px 20px;border-radius:16px}.question-meta{margin-bottom:20px}.question-card h2{font-size:19px;line-height:1.75;margin-bottom:22px}.section-name{font-size:11px}.option{padding:13px 12px;gap:10px;min-height:62px}.option-text{font-size:16px}.option-letter{width:28px;height:28px;font-size:13px}.option-check{width:18px}.question-hint{font-size:11px;line-height:1.7;margin-top:20px}.quiz-controls{padding:12px 16px calc(12px + env(safe-area-inset-bottom))}.controls-inner{gap:12px}.quiz-controls .button{min-height:50px;padding:12px 10px;font-size:14px}.result-shell{margin:24px auto 36px;padding:0 16px;max-width:520px}.result-card{padding:28px 22px;border-radius:16px}.result-card h1{font-size:23px}.result-card>.muted{font-size:13px}.score strong{font-size:76px}.result-stats strong{font-size:18px}.review-item{padding:20px}.review-item h3{font-size:15px}dialog{padding:20px}.dialog-head h2{font-size:19px}.answer-grid{gap:10px}.quiz-note{font-size:10px}}
@media(max-width:360px){.landing{padding-left:16px;padding-right:16px}.entry-card{padding:20px}.intro h1{font-size:32px}.book-art{width:160px;right:0;top:44px}.header-inner{padding-left:16px;padding-right:16px}.header-inner>.text-button{font-size:11px}.brand{font-size:15px}.quiz-facts>div+div{padding-left:22px}.question-card{padding:20px 16px}.option{gap:8px}.option-check{display:none}.answer-grid{gap:8px}dialog{padding:16px}.result-card h1{font-size:21px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
