*{box-sizing:border-box}
:root{font-family:Inter,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",system-ui,sans-serif;color:#262331;background:#f7f7fb;--ink:#292633;--muted:#666477;--line:#e5e3ed;--purple:#5943a3;--pale:#eeebfa;--rail:216px}
body{margin:0;font-size:16px;line-height:1.55}
a{color:var(--purple);text-underline-offset:3px}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.5}button{border:0;background:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8871c9;outline-offset:3px}button svg,a svg,.ico{width:20px;height:20px;flex:none;vertical-align:middle}h1,h2,h3,p{margin:0}h1{font-size:clamp(1.7rem,3vw,2.25rem);line-height:1.25;letter-spacing:-.045em}h2{font-size:1.28rem;letter-spacing:-.03em}h3{font-size:1.08rem}main:focus{outline:none}.skip{position:fixed;top:-100px;left:10px;z-index:20;background:white;padding:.5rem}.skip:focus{top:10px}
.shell{min-height:100vh}.rail{width:var(--rail);position:fixed;inset:0 auto 0 0;background:#fefeff;border-right:1px solid var(--line);padding:36px 17px 22px;display:flex;flex-direction:column;z-index:4}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:#322852;font-weight:800;font-size:1.55rem;letter-spacing:.025em;padding:0 12px}.brand img{border-radius:12px;display:block}.rail-title{font-size:.78rem;letter-spacing:.08em;color:#7b7888;margin:52px 16px 11px}.rail nav{display:grid;gap:7px}.navbtn,.phone-link,.mobile-phone{display:flex;align-items:center;gap:13px;text-decoration:none}.navbtn{padding:12px 15px;border-radius:9px;font-size:.95rem;color:#625f70;font-weight:530}.navbtn.active{color:#51408d;background:#eeebf9;font-weight:700}.navbtn:hover,.phone-link:hover{background:#f2f0f8}.nav-count{margin-left:auto;font-size:.8rem}.phone-link{margin-top:auto;padding:12px 10px;color:var(--muted);font-size:.86rem;white-space:nowrap}.mobile-phone{display:none}
.body{margin-left:var(--rail)}.bar{height:68px;padding:0 clamp(20px,4.1vw,65px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fdfdff}.crumb,.date{font-size:.84rem;display:flex;gap:10px;align-items:center;color:var(--muted)}.crumb strong{font-weight:600;color:#504a5f}.slash{color:#b3afbf}.date svg,.crumb svg{width:16px;height:16px}.date{font-variant-numeric:tabular-nums}main{max-width:1470px;margin:0 auto;padding:32px clamp(20px,4.1vw,65px) 46px}.hero{isolation:isolate;position:relative;overflow:hidden;border-radius:20px;background:radial-gradient(ellipse at 84% 75%,#544087,#382d69 48%,#2d2557 80%);color:#fff;min-height:252px;display:flex;align-items:center;padding:32px clamp(22px,3.5vw,52px)}.hero::after{content:"";position:absolute;inset:0;z-index:-2;background-image:radial-gradient(#ece3ff38 .75px,transparent .9px);background-size:15px 15px;mask-image:linear-gradient(95deg,transparent 28%,#000 83%)}.hero-art{position:absolute;z-index:-1;width:53%;right:0;top:50%;transform:translateY(-50%);height:110%;background:url("./boards.png") center / contain no-repeat}.hero-copy{max-width:62%}.hero-label{display:inline-flex;align-items:center;gap:7px;color:#e2d8ff;font-size:.78rem;font-weight:600}.hero-label svg{width:15px;height:15px}.hero h1{font-size:clamp(1.7rem,3.2vw,3.14rem);line-height:1.24;letter-spacing:.015em;margin:12px 0 9px}.hero h1 span{display:inline-block}.hero p{color:#e2dbef;font-size:.95rem}.hero-cta,.primary,.secondary,.light-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;font-weight:600;min-height:43px;padding:9px 17px;font-size:.93rem}.hero-cta{background:#f2edff;color:#43327d;margin-top:23px}.hero-cta:hover{background:white}.hero-cta svg{width:17px;height:17px}.primary{background:#594595;color:#fff}.primary:hover{background:#493681}.secondary{background:#fff;border:1px solid #dcd8e7;color:#51475f}.light-btn{background:#efebfa;color:#51408a}
.section{margin-top:30px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.linkbtn,.subtle{font-size:.85rem;color:#61527d;padding:6px 0}.linkbtn:hover,.subtle:hover{text-decoration:underline}.cards{display:grid;gap:14px;grid-template-columns:repeat(3,minmax(0,1fr))}.bankcard{display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:20px;background:#fff;border:1px solid var(--line);border-radius:14px;transition:transform .12s,border-color .12s}.bankcard:hover{transform:translateY(-2px);border-color:#b3a7d4}.card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.count{color:#6e677b;font-size:.81rem;font-variant-numeric:tabular-nums}.count b{color:#51485f;font-size:.94rem}.tile{width:43px;height:43px;border-radius:12px;display:inline-grid;place-items:center;flex:none}.tile svg{width:23px;height:23px}.vio{color:#6752a0;background:#eee9fa}.teal{color:#34736b;background:#e2f1eb}.orange{color:#a56538;background:#fcf0df}.bankcard p,.muted{color:var(--muted)}.bankcard p{margin-top:4px;font-size:.86rem}.panel{background:white;border:1px solid var(--line);border-radius:14px;padding:20px}.lower{display:grid;grid-template-columns:1.15fr 1fr;gap:16px;align-items:start}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.panel h2{font-size:1.1rem}.progress-wrap{display:flex;align-items:center;gap:20px;min-height:92px}.ring{width:76px;height:76px;border-radius:50%;position:relative;background:conic-gradient(#7961b6 var(--progress),#eeeaf5 0);display:grid;place-items:center;flex:none}.ring::before{content:"";position:absolute;inset:7px;background:white;border-radius:50%}.ring strong{position:relative;color:#5b448e;font-size:1.05rem;font-variant-numeric:tabular-nums}.progress-info p,.tiny{font-size:.81rem;color:var(--muted)}.progress-info b{display:block;margin-bottom:3px}.review-links{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-height:92px}.review-link{border-radius:10px;background:#f7f6fb;text-decoration:none;color:var(--ink);padding:11px 13px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.review-link span{font-size:.83rem;color:#645d71}.review-link strong{font-size:1.24rem}.review-link svg{width:16px;height:16px;margin-right:5px;color:#756098}
.pagehead{margin-bottom:22px;display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.pagehead p{margin-top:6px;color:var(--muted);font-size:.94rem}.filters{border:1px solid var(--line);border-radius:14px;background:white;padding:17px;margin-bottom:18px}.tabs,.selects,.actions,.badges{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.tabs{margin-bottom:13px}.tab{border:1px solid transparent;padding:7px 13px;border-radius:8px;background:#f6f5f9;color:#665d70;font-size:.9rem}.tab.on{background:#eae5f8;border-color:#d7ceed;color:#514083;font-weight:700}.field,select,textarea{border:1px solid #dbd8e3;border-radius:8px;background:#fff;color:var(--ink)}.field,select{min-height:41px;padding:6px 11px;font-size:.91rem}select{max-width:100%}.search-label{display:flex;align-items:center;gap:7px;border:1px solid #dbd8e3;border-radius:8px;padding-left:10px;flex:1;min-width:135px}.search-label svg{color:#777281;width:17px}.search-label .field{border:none;background:transparent;min-width:0;width:100%;padding-left:0}.list-top{display:flex;justify-content:space-between;align-items:center;margin:12px 0;color:var(--muted);font-size:.88rem}.rowlist{list-style:none;margin:0;padding:0;display:grid;gap:9px}.row{border:1px solid var(--line);border-radius:11px;background:white;width:100%;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:13px;padding:14px 17px}.row:hover{border-color:#afa1cd}.row>div{min-width:0}.row .stem-preview{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.97rem;margin-top:5px}.badges{gap:6px}.badge{font-size:.75rem;color:#625a70;background:#f1eff5;border-radius:5px;padding:2px 7px}.badge.kind-past{background:#eee9fa;color:#5e4a88}.badge.kind-recent{background:#e2f1eb;color:#35685f}.badge.kind-mock{background:#fcf0df;color:#875427}.meta,.row-status{font-size:.79rem;color:var(--muted)}.row-status{white-space:nowrap}.empty{text-align:center;padding:34px 15px}.empty p{color:var(--muted);margin:8px auto 16px}.empty svg{width:36px;height:36px;color:#887aab}.quiz-area{max-width:900px;margin:auto}.quiz-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}.toolbar-link{display:inline-flex;align-items:center;gap:6px;color:#665d72;font-size:.91rem;padding:8px 0}.toolbar-link svg{width:16px}.track{height:5px;background:#e6e2ef;border-radius:8px;overflow:hidden;margin-bottom:16px}.track>i{display:block;height:100%;background:#8067ad}.question{padding:clamp(18px,3vw,34px)}.qtop{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.star{white-space:nowrap;display:inline-flex;align-items:center;gap:5px;min-height:36px;color:#6c627b;font-size:.85rem}.star.on{color:#7c5822}.star.on svg{fill:#fbdea4;stroke:#94662c}.question h1{font-size:clamp(1.13rem,2vw,1.38rem);letter-spacing:0;line-height:1.72;margin:17px 0 22px;white-space:pre-line;overflow-wrap:anywhere}.option{width:100%;padding:13px 14px;display:flex;align-items:center;gap:12px;border:1px solid #e2dfe9;background:#fff;border-radius:10px;text-align:left;min-height:50px;margin:8px 0;font-size:.98rem}.option:hover:not(:disabled),.option.chosen{background:#f3effc;border-color:#a591cb}.letter{width:27px;height:27px;border:1px solid #dfdae8;color:#655d72;border-radius:7px;display:inline-grid;place-items:center;font-size:.86rem;flex:none}.option:disabled{opacity:1}.option.right{background:#edf6f0;border-color:#a9cfb9}.option.wrong{background:#fff2ed;border-color:#e1b9a9}.option .mark{margin-left:auto;flex:none;font-size:.8rem;font-weight:650}.option.right .mark{color:#2c684a}.option.wrong .mark{color:#8d4d31}.case-input{display:block;width:100%;padding:12px;resize:vertical;min-height:128px;margin:8px 0 12px}.question-actions{margin-top:18px}.explanation{margin-top:18px;border-left:3px solid #9585b9;background:#f7f5fb;border-radius:0 10px 10px 0;padding:16px 19px;overflow-wrap:anywhere}.explanation h2{font-size:1.02rem;margin:0 0 6px}.explanation p{white-space:pre-line;margin:4px 0 13px}.explanation p:last-child{margin-bottom:0}.sourceline{margin-top:18px;color:var(--muted);font-size:.79rem;overflow-wrap:anywhere}.sourceline a{color:#61507c}.quiz-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:15px 0}.result{text-align:center;max-width:640px;margin:24px auto}.result h1{font-size:1.7rem;margin:16px 0}.result .actions{justify-content:center;margin-top:19px}.statline{margin:18px 0;padding:14px;border-block:1px solid var(--line);font-size:1rem}.backdrop,dialog::backdrop{background:#231c38a3}dialog{border:0;border-radius:16px;width:min(440px,calc(100% - 28px));max-height:85dvh;overflow:auto;color:var(--ink);padding:24px;box-shadow:0 12px 60px #20173544}dialog h2{font-size:1.27rem}dialog p{margin:12px 0}dialog ol{padding-left:1.45rem}dialog li{margin:8px 0}.address{display:block;padding:10px 12px;background:#f4f1fa;border-radius:8px;overflow-wrap:anywhere;user-select:all}.qr{display:block;margin:12px auto;max-width:155px}.notice{position:fixed;z-index:10;bottom:20px;left:50%;transform:translateX(-50%);padding:9px 16px;border-radius:8px;background:#342d49;color:white;box-shadow:0 4px 16px #0002;font-size:.9rem}
@media(max-width:1120px){:root{--rail:178px}.rail{padding-inline:11px}.hero h1{font-size:2.12rem}.hero{min-height:244px}.hero-copy{max-width:66%}.hero-art{width:49%;right:-1%}}
@media(max-width:850px) and (min-width:701px){:root{--rail:150px}.bar{padding-inline:20px}main{padding:22px 20px}.hero{padding-inline:22px}.hero-art{width:48%;right:-3%}.hero h1{font-size:1.84rem}.bankcard{padding:14px}.brand{padding-left:7px}.phone-link{font-size:.78rem}.cards,.lower{gap:9px}.panel{padding:15px}}
@media(max-width:700px){:root{--rail:0px}body{padding-bottom:calc(70px + env(safe-area-inset-bottom))}.rail{position:static;width:auto;padding:0;border:0}.brand,.rail-title,.phone-link{display:none}.rail nav{position:fixed;bottom:0;left:0;right:0;z-index:5;display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:#fdfdfff5;border-top:1px solid var(--line);padding:4px 5px calc(3px + env(safe-area-inset-bottom));backdrop-filter:blur(12px)}.navbtn{flex-direction:column;gap:2px;justify-content:center;padding:5px 1px 4px;min-height:50px;font-size:.75rem;border-radius:6px}.navbtn.active{background:transparent;color:#594195}.navbtn.active svg{stroke-width:2.45}.nav-count{display:none}.body{margin:0}.bar{height:52px;padding:0 16px}.crumb{gap:7px}.date{margin-left:auto;font-size:.76rem}.date svg{display:none}.mobile-phone{display:inline-flex;margin-left:8px;padding:8px;color:#65587a}.bar .crumb>span:first-child{color:#66518f}main{padding:16px 14px 20px}.hero{min-height:216px;border-radius:15px;padding:22px 18px}.hero-copy{max-width:71%}.hero h1{font-size:clamp(1.5rem,5.6vw,2.1rem);margin:9px 0 7px}.hero p{font-size:.8rem;max-width:19em}.hero-cta{font-size:.86rem;min-height:40px;padding:7px 12px;margin-top:15px}.hero-art{right:-10%;width:59%;height:86%;top:55%}.section{margin-top:23px}.section-head{margin-bottom:10px}.section-head h2{font-size:1.14rem}.cards{gap:7px}.bankcard{padding:11px 9px;border-radius:11px}.card-top{flex-wrap:wrap;gap:4px;margin-bottom:9px}.tile{width:33px;height:33px;border-radius:9px}.tile svg{width:19px;height:19px}.bankcard h3{font-size:.95rem}.bankcard p{font-size:.75rem;margin-top:4px}.count{font-size:.74rem}.count b{font-size:.8rem}.lower{grid-template-columns:1fr;gap:10px}.panel{padding:16px}.panel-title{margin-bottom:9px}.progress-wrap,.review-links{min-height:66px}.ring{width:65px;height:65px}.pagehead{align-items:flex-start;flex-wrap:wrap;gap:8px;margin-bottom:15px}.filters{padding:12px}.tab{padding:6px 9px;font-size:.84rem}.selects{gap:6px}.selects .search-label{flex-basis:100%}select{font-size:.84rem}.row{padding:12px}.row-status{font-size:.72rem}.question{padding:16px}.qtop{align-items:center}.question h1{margin:14px 0 16px}.notice{bottom:82px}.section-head .linkbtn{padding:7px 0}.date{white-space:nowrap}.question-actions .primary{min-width:110px}}
@media(max-width:365px){.date{display:none}.mobile-phone{margin-left:auto}.hero-art{right:-16%}.hero-copy{max-width:80%}.bankcard p{line-height:1.4}.bankcard h3{font-size:.87rem}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}


.offline-info{display:flex;align-items:center;gap:.4rem;margin-left:auto;font-size:.84rem;color:#645b76}
#offline-status[data-state="ready"]{color:#396656}
#offline-status[data-state="failed"]{color:#88532c}
#offline-retry{font-size:.84rem;text-decoration:underline;text-underline-offset:3px;color:var(--purple);min-height:36px}
@media(max-width:700px){.offline-info{font-size:.77rem}.bar{gap:4px}.mobile-phone{margin-left:0}}
@media(max-width:365px){.bar .crumb>span:nth-child(2),.bar .slash{display:none}}
