@charset "UTF-8";
*{box-sizing:border-box} :root{--bg:#f7f4eb;--ink:#253e3b;--muted:#7c8982;--orange:#e68145;--teal:#36978d;--line:#dedfd2;--cream:#fffdf7;--shadow:0 14px 40px #354a3710} [hidden]{display:none!important} body{margin:0;background:var(--bg);color:var(--ink);font-family:"Segoe UI","Microsoft YaHei",sans-serif} button,input,select,textarea{font:inherit;color:inherit} button,a,input,select,textarea{-webkit-tap-highlight-color:transparent} button{cursor:pointer;touch-action:manipulation} button:disabled{cursor:default} button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #248b80;outline-offset:4px} input,select,textarea{border:1px solid var(--line);border-radius:12px;padding:12px;background:#fffef9;max-width:100%} select{width:100%;min-height:48px} input{min-height:46px} .app{max-width:1480px;margin:auto;padding:0 5%} .topbar{height:99px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:20px} .brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;font-weight:800;font-size:21px;letter-spacing:1px}.brand-icon{width:46px;height:46px;background:var(--ink);color:var(--bg);display:grid;place-items:center;border-radius:15px;transform:rotate(-8deg);font-size:30px;font-weight:900;position:relative}.brand-icon span{position:absolute;right:-5px;top:-13px;color:var(--orange);font-size:26px}.brand-sub{display:block;font-size:9px;letter-spacing:2px;margin-top:4px;font-weight:600}.header-actions{display:flex;align-items:center;gap:10px}.offline-dot{font-size:12px;color:#688078;margin-right:14px}.offline-dot:before{content:"";display:inline-block;background:#70a37d;width:7px;height:7px;border-radius:50%;margin-right:7px}.icon-btn,.plain-btn{background:transparent;border:1px solid var(--line);border-radius:12px;min-height:44px;padding:10px 16px;font-weight:600}.icon-btn{width:44px;padding:4px;font-size:24px}.plain-btn:hover,.icon-btn:hover{background:#eaece1}.plain-btn span{margin-left:8px}.setup{display:grid;grid-template-columns:1.05fr 1fr;gap:7%;align-items:center;padding:40px 0 34px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:800;color:#73857b}.eyebrow i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--orange);margin-right:8px}.hero-copy h1{font-size:clamp(36px,3.5vw,56px);line-height:1.4;letter-spacing:-2px;margin:17px 0 22px;font-weight:900}.underline{position:relative;white-space:nowrap;display:inline-block}.underline svg{position:absolute;bottom:-9px;left:0;width:100%;height:18px;fill:none;stroke:#eaa757;stroke-width:4;stroke-linecap:round}.intro{color:#738078;font-size:15px;line-height:1.9}.feature-tags{display:flex;gap:18px;font-size:11px;color:#758578;margin-top:22px}.hero-art{height:245px;position:relative;display:flex;align-items:end;justify-content:center;margin-top:20px;background:radial-gradient(ellipse at center,#ecebd8 0%,#ecebd800 67%)}.hero-art:before{content:"READY?";position:absolute;top:3px;left:8%;font-size:12px;letter-spacing:3px;transform:rotate(-10deg);padding:10px 16px;border:1px solid #c9ccad;border-radius:50%;color:#879178}.hero-art:after{content:"✦";position:absolute;right:6%;top:24px;font-size:33px;color:#e4ae54}.mascot{width:180px;height:205px;overflow:visible}.hero-art .mascot:first-child{transform:rotate(-7deg);width:210px;height:235px}.hero-art .mascot:last-child{transform:rotate(7deg);width:210px;height:235px}.hero-vs{background:var(--cream);border:1px solid var(--line);border-radius:50%;padding:12px;font-size:18px;font-weight:900;align-self:center;margin:-9px;z-index:1;transform:rotate(-10deg)}.art-caption{display:flex;justify-content:space-evenly;font-size:11px;letter-spacing:1px;color:#89917f;margin-top:2px}.setup-card{background:var(--cream);border:1px solid #fff;border-radius:28px;box-shadow:var(--shadow);padding:27px 30px;position:relative}.setup-card:before{content:"";position:absolute;right:35px;top:-9px;width:80px;height:22px;background:#edcc825e;transform:rotate(5deg)}.card-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.card-heading h2{font-size:26px;margin:7px 0 0;letter-spacing:-1px}.round-stamp{font-size:18px;font-weight:900;color:var(--teal);width:46px;height:46px;border:1px dashed var(--teal);border-radius:50%;display:grid;place-items:center;transform:rotate(14deg)}.field-heading{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:700;gap:10px;margin:19px 0 10px}.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mode-card{text-align:left;background:#fffef8;border:1px solid var(--line);border-radius:14px;padding:14px;position:relative}.mode-card.selected{background:#e8f0e8;border:1.5px solid #6a9c87}.mode-card.selected:after{content:"✓";position:absolute;right:12px;top:12px;border-radius:50%;background:#578570;color:white;width:17px;height:17px;text-align:center;font-size:11px}.mode-symbol{font-size:25px;color:#5e8e74;display:block;margin-bottom:5px}.mode-card strong{display:block;font-size:15px}.mode-card small{display:block;font-size:10px;color:#879080;margin-top:5px;line-height:1.7}.text-btn{border:0;background:transparent;padding:7px 2px;color:#508272;min-height:36px;font-size:12px;font-weight:600}.text-btn:hover{text-decoration:underline}.field-note{font-size:11px;color:#8c948a;line-height:1.8;margin:7px 0}.duration-row{display:flex;align-items:center;gap:16px}.duration-row select{width:61%;font-size:13px}.duration-row>span{font-size:10px;color:#9ca393}.names-row{display:grid;grid-template-columns:1fr 25px 1fr;align-items:center;gap:10px;margin:19px 0}.names-row label{font-size:11px;color:#7c877e}.names-row input{width:100%;margin-top:7px;min-height:40px;padding:8px 10px;font-size:13px}.tiny-vs{font-size:10px;color:#9ca18d;font-weight:800;text-align:center;padding-top:23px}.team-dot{display:inline-block;width:7px;height:7px;border-radius:50%}.orange{background:var(--orange)}.teal{background:var(--teal)}.start-btn{display:flex;justify-content:center;align-items:center;gap:22px;background:var(--ink);color:#fffdf4;border:0;border-radius:13px;min-height:52px;padding:13px 23px;font-size:16px;font-weight:700}.setup-card>.start-btn{width:100%;justify-content:space-between}.start-btn:hover{background:#345951}.start-btn:active{transform:translateY(1px)}.start-note{text-align:center;font-size:10px;color:#9caa9a;margin:12px 0 0}.app>footer{display:flex;justify-content:space-between;align-items:center;gap:14px;border-top:1px solid var(--line);padding:20px 0;font-size:10px;color:#96a08f;letter-spacing:1px}.footer-spark{color:var(--orange)}
.arena-toolbar{display:flex;align-items:center;justify-content:space-between;padding:22px 0;gap:20px}.arena-toolbar h2{font-size:20px;margin:6px 0 0}.timer-wrap{display:flex;align-items:center;gap:14px;border:1px solid var(--line);padding:8px 23px;border-radius:40px;background:#fffdf7}.timer-wrap span{font-size:11px;color:#879382}.timer-wrap strong{font-size:32px;letter-spacing:2px;font-variant-numeric:tabular-nums}.timer-wrap.urgent{color:#bd533a;background:#ffeadf;border-color:#e8a98b}.arena-actions{display:flex;gap:8px}.arena-actions button{font-size:12px}.arena-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.player-panel{--team:var(--orange);--team-soft:#fbede1;--team-border:#e9c6a6;background:var(--cream);border:1px solid var(--team-border);border-radius:25px;overflow:hidden;padding:22px;position:relative}.player-panel.team1{--team:var(--teal);--team-soft:#e4f0ea;--team-border:#afd2c8}.player-heading{display:flex;align-items:center;gap:12px}.player-heading .mascot{width:55px;height:65px}.player-heading h3{font-size:20px;margin:3px 0;overflow-wrap:anywhere}.player-heading small{color:var(--team);font-size:10px;letter-spacing:1px}.score-box{margin-left:auto;text-align:right;white-space:nowrap}.score-box b{font-size:45px;color:var(--team);font-variant-numeric:tabular-nums}.score-box span{font-size:12px;color:#83917f;margin-left:5px}.question-area{text-align:center;border-radius:17px;background:var(--team-soft);padding:23px 16px;margin:16px 0}.question-label{font-size:11px;color:#929784;letter-spacing:2px}.question-area h2{font-size:clamp(27px,3vw,42px);line-height:1.3;min-height:55px;margin:15px 0;overflow-wrap:anywhere}.feedback{font-size:13px;min-height:22px;color:#7d8e7b;line-height:1.6}.feedback.correct{color:#337254}.feedback.wrong{color:#b6573e}.options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.answer-btn{min-height:92px;border:1.5px solid #e0e1d3;border-radius:15px;background:#fffef9;padding:17px 12px;font-size:clamp(19px,2vw,28px);font-weight:650;position:relative;overflow-wrap:anywhere;line-height:1.3;transition:background .15s,border .15s;touch-action:manipulation}.answer-btn small{position:absolute;top:6px;left:9px;font-size:9px;color:#a5aa99;font-weight:400}.answer-btn:hover:not(:disabled){border-color:var(--team);background:var(--team-soft)}.answer-btn.is-correct{background:#e1f0da;border-color:#78a875;color:#316641}.answer-btn.is-wrong{background:#fbe2d9;border-color:#d88971;color:#ab4e38}.answer-btn:disabled{opacity:.75}.answer-btn.is-correct:disabled,.answer-btn.is-wrong:disabled{opacity:1}.panel-bottom{display:flex;justify-content:space-between;color:#97a08e;font-size:10px;margin-top:16px}.arena-rule{text-align:center;font-size:12px;color:#7e907f;padding:8px;line-height:1.8}.results{text-align:center;max-width:900px;margin:35px auto}.result-art{height:110px;display:flex;justify-content:center}.result-art .mascot{height:120px;width:105px}.results h1{font-size:34px;margin:14px 0}.results>p{font-size:14px;color:#85917e}.result-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px auto;max-width:650px}.result-card{border:1px solid #e7c3a5;background:#fcf0e5;border-radius:20px;padding:19px}.result-card:last-child{border-color:#b4d6cb;background:#e9f2ea}.result-card h3{margin:0;font-size:16px;overflow-wrap:anywhere}.result-score{font-size:48px;font-weight:800;margin:9px;color:#c27140}.result-card:last-child .result-score{color:#338b80}.result-card p{font-size:12px;color:#7f8e7c;margin:5px}.result-actions{display:flex;justify-content:center;gap:15px}.review-panel{background:var(--cream);border:1px solid var(--line);border-radius:20px;margin-top:30px;padding:10px 23px 22px;text-align:left}.review-panel h2{font-size:17px;margin:0}.review-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;padding:12px 0;border-top:1px solid #eeeee3;font-size:14px;overflow-wrap:anywhere}.review-row strong{color:#487963}.review-row span:last-child{font-size:11px;color:#929c89}.review-empty{font-size:14px;color:#84937e;padding:20px 0;text-align:center}
dialog{border:1px solid #fff;border-radius:24px;background:var(--cream);color:var(--ink);padding:28px;width:min(880px,94vw);max-height:90dvh;overflow:auto;box-shadow:0 25px 90px #183b3130}dialog::backdrop{background:#20362f80;backdrop-filter:blur(5px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.dialog-head h2{font-size:25px;margin:5px 0}.close-btn{background:#eeefe4;border:0;border-radius:50%;width:44px;height:44px;font-size:27px;flex-shrink:0}.bank-layout{display:grid;grid-template-columns:180px 1fr;gap:26px}.bank-layout aside{border-right:1px solid var(--line);padding-right:20px;display:flex;flex-direction:column;gap:12px}.unit-item{display:block;width:100%;text-align:left;border:0;border-radius:10px;background:transparent;min-height:48px;padding:10px;font-size:13px;margin-bottom:4px;overflow-wrap:anywhere}.unit-item.active{background:#e6eddf;color:#48755f;font-weight:700}.input-label{display:block;font-size:12px;font-weight:700;margin:8px 0}.bank-layout input[type=text],#bankName,textarea{width:100%}textarea{resize:vertical;line-height:1.8;font-family:inherit;font-size:14px;min-height:150px}.bank-tools{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:10px 0}.file-label{position:relative;display:inline-flex;align-items:center;font-size:12px;color:#55806b;cursor:pointer;min-height:40px;padding:7px 2px}.file-label input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.file-label:focus-within{outline:3px solid #248b80;outline-offset:2px}.danger{color:#b66950}.check-label{display:flex;align-items:center;gap:8px;font-size:12px;margin:16px 0;line-height:1.6}.check-label input{min-height:22px;width:20px;height:20px;flex-shrink:0;accent-color:#4f826c}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.dialog-actions .start-btn{font-size:14px;min-height:46px}#importStatus{font-size:12px;color:#567e5d;line-height:1.7;white-space:pre-line;max-height:150px;overflow:auto}#importStatus.error{color:#b05c45}.small-dialog{max-width:450px;text-align:center;padding:35px}.small-dialog h2{font-size:24px;margin:16px 0}.small-dialog p{font-size:14px;color:#7d8d7a;line-height:1.8}.small-dialog>.start-btn{width:100%;margin-top:25px}.help-content{line-height:1.9;font-size:14px;color:#788573}.help-content h3{color:var(--ink);font-size:17px;margin-bottom:4px}.help-content p{margin-top:4px}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#263e36;color:#fff;padding:15px 25px;border-radius:12px;z-index:100;max-width:90vw;font-size:13px;box-shadow:var(--shadow)}
@media(min-width:1100px) and (max-height:820px){.topbar{height:77px}.setup{padding:25px 0;gap:6%}.hero-copy h1{font-size:43px;margin:14px 0}.hero-art{height:205px;margin-top:12px}.hero-art .mascot:first-child,.hero-art .mascot:last-child{width:180px;height:200px}.setup-card{padding:20px 25px}.card-heading{margin-bottom:15px}.field-heading{margin:13px 0 8px}.mode-card{padding:11px}.names-row{margin:13px 0}.app>footer{padding:14px 0}.arena-toolbar{padding:17px 0}.question-area{padding:15px}.player-panel{padding:18px}.answer-btn{min-height:83px}}
@media(max-width:1050px){.app{padding:0 3%}.setup{gap:4%;padding:30px 0}.setup-card{padding:23px}.hero-copy h1{font-size:36px}.feature-tags{gap:9px;font-size:10px}.hero-art .mascot:first-child,.hero-art .mascot:last-child{width:150px;height:190px}.hero-art{height:210px}.intro{font-size:13px}.offline-dot{display:none}.player-panel{padding:16px}.answer-btn{min-height:92px;font-size:22px}.arena-toolbar h2{font-size:17px}.timer-wrap{padding:7px 17px}.timer-wrap strong{font-size:27px}}
@media(max-width:820px){.topbar{height:80px}.brand{font-size:18px}.header-actions{gap:6px}.header-actions .plain-btn{font-size:11px;padding:8px 10px}.setup{grid-template-columns:1fr;max-width:660px;margin:auto;gap:24px}.hero-copy{position:relative;padding-right:42%;min-height:210px}.hero-copy h1{font-size:34px;margin:12px 0}.hero-copy .intro{font-size:12px}.hero-art{position:absolute;right:0;bottom:10px;width:42%;height:175px}.hero-art .mascot:first-child,.hero-art .mascot:last-child{width:112px;height:145px}.hero-art:before{font-size:9px;top:-5px;left:10px}.hero-art:after{font-size:20px;top:12px;right:0}.hero-vs{font-size:12px;padding:7px}.feature-tags{font-size:9px;white-space:nowrap}.art-caption{display:none}.setup-card{padding:24px 28px}.mode-card{padding:12px 16px}.mode-symbol{float:left;margin-right:14px}.mode-card small{font-size:11px}.duration-row select{width:65%}.arena-toolbar{gap:10px}.arena-actions{gap:5px}.arena-actions button{padding:8px 10px}.timer-wrap{display:block;text-align:center;padding:5px 18px}.timer-wrap span{display:block;font-size:9px}.timer-wrap strong{font-size:24px}.arena-grid{gap:12px}.player-panel{padding:13px;border-radius:20px}.player-heading{gap:6px}.player-heading .mascot{width:40px;height:53px}.player-heading h3{font-size:17px}.score-box b{font-size:34px}.question-area{padding:25px 8px}.question-area h2{font-size:32px;min-height:70px;display:grid;place-items:center}.options{grid-template-columns:1fr;gap:10px}.answer-btn{min-height:72px;font-size:24px}.panel-bottom{font-size:9px;gap:8px}.bank-layout{grid-template-columns:140px 1fr;gap:16px}.bank-layout aside{padding-right:12px}.app>footer{font-size:9px;letter-spacing:0}.app>footer>span:first-child{display:none}}
@media(max-width:550px){.app{padding:0 4%}.topbar{height:74px}.brand{font-size:15px;gap:8px}.brand-icon{width:36px;height:36px;font-size:25px}.brand-sub{font-size:7px;letter-spacing:1px}.header-actions .plain-btn{font-size:0;padding:8px}.header-actions .plain-btn span{font-size:15px;margin:0}.icon-btn{width:40px;min-height:40px}.hero-copy{padding-right:0;min-height:0}.hero-copy h1{font-size:34px}.hero-art{display:none}.hero-copy .intro br{display:none}.setup{padding:25px 0}.setup-card{padding:21px}.mode-card{padding:12px}.mode-symbol{float:none;margin:0}.mode-card small{font-size:10px}.card-heading h2{font-size:24px}.arena-toolbar{flex-wrap:wrap}.arena-toolbar>div:first-child{flex:1}.arena-actions{width:100%;justify-content:flex-end}.arena-grid{gap:8px}.player-panel{padding:9px;border-radius:15px}.player-heading .mascot{display:none}.player-heading h3{font-size:14px}.player-heading small{font-size:8px}.score-box b{font-size:27px}.score-box span{font-size:9px}.question-area{padding:18px 5px}.question-area h2{font-size:24px;min-height:65px}.question-label{font-size:9px;letter-spacing:0}.feedback{font-size:11px;min-height:36px}.answer-btn{font-size:18px;min-height:70px;padding:17px 6px}.panel-bottom{display:block;line-height:1.8}.arena-rule{font-size:10px}.bank-layout{grid-template-columns:1fr}.bank-layout aside{border-right:0;border-bottom:1px solid var(--line);padding:0 0 14px}#bankUnits{display:flex;overflow:auto}.unit-item{min-width:115px}.bank-layout aside>.text-btn,.bank-layout aside>.file-label{display:inline-flex}dialog{padding:20px}.result-cards{gap:9px}.result-card{padding:14px 9px}.result-card p{font-size:10px}.results h1{font-size:27px}.review-panel{padding:10px 14px}.review-panel h2{font-size:14px}.review-row{grid-template-columns:1fr 1fr}.review-row span:last-child{grid-column:1/-1}.start-note{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.feedback{overflow-wrap:anywhere}.answer-btn.is-correct{animation:answer-pop .25s ease-out}@keyframes answer-pop{50%{transform:scale(1.025)}}
.extra-settings{margin:10px 0 13px;border-top:1px dashed var(--line);padding-top:10px;font-size:12px}.extra-settings summary{cursor:pointer;color:#668271;min-height:25px}.extra-settings label{display:block;margin:8px 0}.extra-settings select{font-size:12px}.save-tools{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.continue-btn{width:100%;border:1px solid #91b9a2;background:#e9f1e6;border-radius:12px;padding:12px;margin-top:9px;min-height:45px;font-size:14px;font-weight:650}.practice-page{max-width:680px;margin:36px auto;text-align:center}.practice-page>p{color:#798979;font-size:14px;line-height:1.8}.practice-card{background:var(--cream);border:1px solid var(--line);border-radius:24px;margin:26px 0;padding:30px 24px}.practice-card>span{color:#7c947d;font-size:12px}.practice-card h2{font-size:38px;overflow-wrap:anywhere;margin:30px 0}.practice-card strong{font-size:32px;color:#448979;overflow-wrap:anywhere}.practice-card>p{font-size:13px;color:#899880;line-height:1.8}.practice-card>.start-btn{margin:20px auto 0}.result-card details{font-size:12px;max-height:200px;overflow:auto;margin-top:12px}.result-card summary{cursor:pointer;min-height:32px}.result-actions{flex-wrap:wrap}.review-panel .field-heading{flex-wrap:wrap}
@media(min-width:1100px) and (max-height:820px){.setup{padding:14px 0}.card-heading{margin-bottom:10px}.field-heading{margin-top:10px}.start-note{margin-top:9px}}
.launch-actions{display:flex;gap:10px}.launch-actions>.start-btn{flex:1;justify-content:space-between}.launch-actions>.continue-btn{flex:1;width:auto;margin:0;font-size:12px}@media(min-width:1100px) and (max-height:820px){.setup-card{padding:16px 25px}.setup{padding:10px 0}.names-row{margin:9px 0}.field-heading{margin-top:7px}.card-heading{margin-bottom:6px}.extra-settings{margin:7px 0 9px;padding-top:7px}}
@media(min-width:1100px) and (max-height:820px){.topbar{height:73px}.app>footer{padding:12px 0}}
