@import "https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800;900&display=swap";
:root{--bg:#f8f9f6;--paper:#fff;--ink:#263e34;--muted:#7d8880;--line:#e6eae2;--green:#287452;--green-dark:#245b43;--mint:#e8f2e6;--coral:#d8795e;--radius:16px;--shadow:0 8px 26px #29483106}*{box-sizing:border-box}body{color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;margin:0;font-family:Noto Sans KR,Arial,sans-serif;font-size:14px;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}button{color:inherit}button,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible{outline-offset:4px;outline:3px solid #87b595}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.045em;line-height:1.5}h1{font-size:30px;font-weight:800}h2{font-size:21px;font-weight:750}h3{font-size:17px}svg{flex-shrink:0}input,select,textarea{color:var(--ink);background:#fff;border:1px solid #dfe5dd;border-radius:9px;width:100%;min-height:48px;padding:12px 14px}input:focus,textarea:focus,select:focus{outline-offset:1px;border-color:#0000;outline:2px solid #8fbaa1}input::placeholder,textarea::placeholder{color:#a0a8a1}textarea{resize:vertical;line-height:1.8}label{flex-direction:column;gap:8px;font-size:13px;font-weight:600;display:flex}label small{color:var(--muted);font-size:11px;font-weight:400}fieldset{min-width:0}::selection{background:#d4e7d5}.app-shell{min-height:100vh;display:flex}.sidebar{border-right:1px solid var(--line);z-index:20;background:#fff;flex-direction:column;width:235px;padding:34px 22px 22px;display:flex;position:fixed;inset:0 auto 0 0}.brand{letter-spacing:-1px;white-space:nowrap;align-items:center;gap:10px;font-size:20px;font-weight:800;display:flex}.brand small{letter-spacing:1.8px;color:var(--muted);margin-top:1px;font-size:9px;font-weight:600;display:block}.brand-icon{width:40px;height:45px;display:block;overflow:hidden}.brand-icon .monster{width:52px;max-width:none;margin:-4px 0 0 -6px}.workspace-label{letter-spacing:1.8px;color:#adb3ab;margin:48px 13px 15px;font-size:9px;font-weight:600}.sidebar nav{flex-direction:column;gap:8px;display:flex}.sidebar nav a{color:#7b867e;border-radius:9px;align-items:center;gap:13px;min-height:49px;padding:11px 16px;font-size:13px;font-weight:500;display:flex}.sidebar nav a:hover{background:#f5f7f3}.sidebar nav a.active{color:#326c4e;background:#eaf2e7;font-weight:700}.sidebar-note{background:#f7f9f2;border:1px solid #e6ebdf;border-radius:13px;margin-top:auto;padding:20px 16px}.sidebar-note>svg{color:#89a477;margin-bottom:9px}.sidebar-note strong{font-size:13px;display:block}.sidebar-note p{color:var(--muted);margin:7px 0 13px;font-size:12px;line-height:1.9}.sidebar-note a{align-items:center;gap:7px;font-size:11px;font-weight:600;display:flex}.teacher-profile{border-top:1px solid var(--line);align-items:center;gap:12px;margin-top:25px;padding:21px 8px 0;display:flex}.teacher-profile>span{background:#efe6d8;border-radius:50%;place-items:center;width:34px;height:34px;font-size:12px;display:grid}.teacher-profile strong{font-size:12px;font-weight:600;display:block}.teacher-profile small{color:var(--muted);font-size:10px}.main-shell{width:calc(100% - 235px);min-width:0;margin-left:235px}.topbar{border-bottom:1px solid var(--line);height:69px;color:var(--muted);background:#fdfefa;justify-content:space-between;align-items:center;padding:0 42px;font-size:11px;display:flex}.local-status{align-items:center;gap:6px;font-size:11px;display:flex}.local-status svg{color:#7c9879}.main-shell main{max-width:1400px;min-height:calc(100vh - 145px);margin:auto;padding:39px 42px 30px}.page-heading{justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px;display:flex}.eyebrow{letter-spacing:2px;color:#92a28e;margin-bottom:8px;font-size:9px;font-weight:700}.page-heading p{color:var(--muted);margin-top:9px;font-size:12px}.page-heading .button{font-size:12px}.button{white-space:nowrap;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:45px;padding:11px 18px;font-size:12px;font-weight:600;transition:background .16s,transform .16s;display:inline-flex}.button:hover:not(:disabled){transform:translateY(-1px)}.button.primary{background:var(--green);color:#fff;box-shadow:0 3px 7px #21573b10}.button.primary:hover{background:var(--green-dark)}.button.dark{color:#fff;background:#2d523d}.button.secondary{border-color:var(--line);color:#5d6d62;background:#fff}.button.secondary:hover:not(:disabled){background:#f5f8f1}.button.destructive{color:#fff;background:#b75040}.button.dashed{background:0 0;border:1px dashed #cdd9c9}.button.full{width:100%}.button.small{min-height:38px;padding:8px 14px}.button-row{align-items:center;gap:10px;display:flex}.button-row.compact{gap:3px}.icon-button{background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex}.icon-button:hover:not(:disabled){background:#edf1e9}.danger{color:#b2695e}.text-button{background:0 0;border:0;justify-content:center;align-items:center;gap:7px;min-height:44px;font-size:12px;font-weight:600;display:inline-flex}.hero{background:#e8f0df;border:1px solid #e1e9d7;border-radius:18px;min-height:295px;display:flex;position:relative;overflow:hidden}.hero-copy{z-index:2;width:60%;padding:30px 36px;position:relative}.pill{border-radius:6px;align-items:center;gap:6px;padding:5px 9px;font-size:10px;font-weight:600;display:inline-flex}.pill.light{color:#6e8a60;background:#ffffffad}.hero h2{letter-spacing:-1.2px;color:#31533c;margin:14px 0 12px;font-size:30px;line-height:1.45}.hero p{color:#7b8d72;margin-bottom:20px;font-size:12px;line-height:1.85}.hero .button{min-height:40px;font-size:11px}.hero-art{position:absolute;inset:0 0 0 47%;overflow:hidden}.monster{width:100%;height:auto;display:block}.hero-monster-main{z-index:3;filter:drop-shadow(0 12px 5px #41653c0d);width:240px;position:absolute;bottom:35px;left:30%;transform:rotate(7deg)}.hero-monster-small{z-index:2;width:135px;position:absolute;bottom:58px;left:10%;transform:rotate(-12deg)}.ground{background:#d8e4c9;border-radius:50%;width:85%;height:65px;position:absolute;bottom:32px;left:6%;transform:rotate(-7deg)}.orbit{border:1px dashed #c6d6b6;border-radius:50%;width:305px;height:305px;position:absolute;top:13px;left:18%;transform:rotate(-25deg)}.orbit-two{width:235px;height:380px;top:-16px;left:24%;transform:rotate(50deg)}.art-star{color:#9aae7c;z-index:2;font-size:32px;position:absolute}.star-one{top:38px;left:26%;transform:rotate(20deg)}.star-two{font-size:20px;top:85px;right:9%}.floating-label{z-index:5;background:#fffef2;border:1px solid #efeedc;border-radius:8px;padding:7px 12px;font-size:11px;position:absolute;box-shadow:0 5px 12px #4055340a}.label-one{color:#739753;font-weight:800;top:40px;right:12%;transform:rotate(8deg)}.label-two{color:#7d896e;align-items:center;gap:7px;font-size:10px;display:flex;bottom:25px;left:20%;transform:rotate(-5deg)}.summary-strip{border:1px solid var(--line);background:#fff;border-radius:13px;align-items:center;gap:30px;margin:24px 0 39px;padding:20px 23px;display:flex}.summary-strip>div{border-right:1px solid var(--line);flex:1;align-items:center;gap:12px;display:flex}.summary-icon{border-radius:12px;place-items:center;width:42px;height:42px;display:grid}.summary-icon.green{color:#8ca578;background:#eef5e8}.summary-icon.peach{color:#c6997b;background:#fcf0e8}.summary-icon.lavender{color:#a299b8;background:#f0edf7}.summary-strip>div>span:last-child{color:var(--muted);font-size:10px}.summary-strip strong{color:#435748;font-size:23px;font-weight:750;line-height:1.35;display:block}.summary-strip small{color:var(--muted);margin-left:5px;font-size:11px;font-weight:400}.summary-strip>a{color:#87917d;align-items:center;gap:8px;font-size:11px;display:flex}.section-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:21px;display:flex}.section-heading h2{font-size:19px}.section-heading h2 span{color:#96aa83;letter-spacing:0;margin-left:6px;font-size:15px}.section-heading p{color:var(--muted);margin-top:6px;font-size:11px}.section-heading .button{min-height:39px;padding:9px 13px;font-size:11px}.library-tools{justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;display:flex}.filter-tabs{flex-wrap:wrap;gap:6px;display:flex}.filter-tabs button{color:#8a938a;background:0 0;border:0;border-radius:7px;min-height:34px;padding:7px 15px;font-size:11px}.filter-tabs button.selected{color:#56734a;background:#e9efe1;font-weight:600}.search-box{border:1px solid var(--line);color:#9ba394;background:#fff;border-radius:8px;flex-direction:row;align-items:center;gap:6px;width:235px;padding-left:12px;display:flex}.search-box input{background:0 0;border:0;min-height:35px;padding:8px 10px;font-size:11px}.quiz-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;display:grid}.quiz-card{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:13px;transition:transform .2s,box-shadow .2s;overflow:hidden}.quiz-card:hover{transform:translateY(-4px);box-shadow:0 12px 25px #314c3610}.card-art{justify-content:center;height:150px;display:flex;position:relative;overflow:hidden}.card-art.mint{background:#e6f0e1}.card-art.sand{background:#f5eddf}.card-art.lilac{background:#eeebf5}.card-art:after{content:"";border:1px solid #ffffff8c;border-radius:50%;width:170px;height:170px;position:absolute;top:18px;right:-25px}.card-art .monster{z-index:1;width:151px;margin-top:8px;position:relative;transform:rotate(-6deg)}.subject-tag{color:#6e8462;background:#fff9;border-radius:5px;padding:3px 9px;font-size:10px;font-weight:600;position:absolute;top:15px;left:16px}.card-art-dots{color:#b5c5aa;font-size:22px;line-height:2.1;position:absolute;top:45px;right:35px}.card-content{padding:18px 19px 0}.card-meta{color:#8d988b;justify-content:space-between;gap:10px;font-size:10px;display:flex}.card-meta span{color:#8ea477;font-size:9px}.card-content h3{overflow-wrap:anywhere;min-height:45px;margin:8px 0 17px;font-size:15px}.card-stats{color:#879381;gap:15px;margin-bottom:17px;font-size:10px;display:flex}.card-stats span{align-items:center;gap:5px;display:flex}.card-footer{color:#a1a99d;border-top:1px solid #eef0ea;justify-content:space-between;gap:8px;padding:13px 0;font-size:9px;display:flex}.card-footer>span:last-child{color:#6a8458;align-items:center;gap:5px;display:flex}.create-card{background:#fbfcf8;border:1.5px dashed #d9e1d2;border-radius:13px;flex-direction:column;justify-content:center;align-items:center;gap:9px;min-height:329px;padding:20px;display:flex}.create-plus{color:#91a680;background:#eef3e7;border-radius:50%;place-items:center;width:49px;height:49px;margin-bottom:8px;display:grid}.create-card strong{color:#829376;font-size:13px;font-weight:600}.create-card>span:not(.create-plus){color:#a0aa96;font-size:10px}.create-card .create-link{align-items:center;gap:6px;margin-top:12px;display:flex;color:#7e956d!important}.create-card:hover{background:#f5f8ef;border-color:#91ac7a}.tip-banner{background:#fafaf1;border:1px solid #eaeadd;border-radius:10px;align-items:center;gap:12px;margin-top:27px;padding:15px 18px;display:flex}.tip-banner>span{color:#b2b67e;font-size:22px}.tip-banner p{color:#929780;font-size:10px}.tip-banner strong{color:#7a8367;margin-right:7px;font-weight:600}.tip-banner a{white-space:nowrap;color:#8b9378;align-items:center;gap:6px;margin-left:auto;font-size:10px;display:flex}.app-footer{color:#b1b8aa;letter-spacing:.2px;justify-content:space-between;padding:17px 42px 26px;font-size:9px;display:flex}.app-footer span{letter-spacing:1px;font-size:8px}.resume-banner{background:#f0f6ec;border:1px solid #d8e6d2;border-radius:10px;align-items:center;gap:12px;margin:-10px 0 24px;padding:15px 20px;font-size:12px;display:flex}.resume-banner>span:last-child{white-space:nowrap;margin-left:auto}.modal{border:1px solid var(--line);width:calc(100% - 32px);max-width:660px;color:var(--ink);border-radius:20px;max-height:90dvh;padding:27px 30px;overflow:auto;box-shadow:0 25px 100px #1d34242b}.modal.wide{max-width:1100px}.modal::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#263b325c}.modal-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;display:flex}.modal-header h2{font-size:23px}.modal-header p{color:var(--muted);margin-top:7px;font-size:12px}.modal-header .icon-button{margin:-5px -10px 0 0}.form-stack{flex-direction:column;gap:19px;display:flex}.bare-fieldset{border:0;margin:0;padding:0}.form-row{grid-template-columns:1fr 1fr;gap:15px;display:grid}.form-row.triple{grid-template-columns:repeat(3,minmax(0,1fr))}.form-row label{min-width:0}.ai-form-intro{background:#f0f5e9;border-radius:10px;align-items:center;gap:13px;padding:15px;display:flex}.ai-form-intro strong{font-size:13px}.ai-form-intro p{color:#829375;margin-top:3px;font-size:11px}.sparkle-square{color:#88a176;background:#e2edda;border-radius:9px;place-items:center;width:43px;height:43px;display:grid}.required{color:#9caf8b;font-size:9px;display:contents}.topic-chips{gap:7px;margin-top:-8px;display:flex}.topic-chips button{color:#8b9a7e;background:#fff;border:1px solid #e4eadc;border-radius:6px;min-height:32px;padding:5px 9px;font-size:10px}.reference-details{border-top:1px solid var(--line);padding-top:17px}.reference-details summary{cursor:pointer;align-items:center;gap:8px;min-height:35px;font-size:12px;display:flex}.reference-details summary span{color:#adb4a6;margin-left:auto;font-size:10px}.reference-details textarea{margin-top:10px}.reference-details p{margin-top:7px;font-size:10px}.modal-bottom{border-top:1px solid var(--line);justify-content:flex-end;align-items:center;gap:15px;margin-top:5px;padding-top:19px;display:flex}.modal-bottom p{color:var(--muted);max-width:235px;margin-right:auto;font-size:10px}.notice{color:#988258;background:#f8f4e8;border:1px solid #eae2c9;border-radius:9px;padding:13px 16px;font-size:12px}.error-banner{color:#a06453;background:#fdf0eb;border:1px solid #f0d6cb;border-radius:9px;margin-bottom:12px;padding:13px 17px;font-size:12px;line-height:1.9}.error-banner p+p{margin-top:4px}.error-text{color:#ac6655!important}.muted{color:var(--muted);font-size:12px}.empty{text-align:center;flex-direction:column;align-items:center;gap:15px;padding:60px 20px;display:flex}.empty h2{font-size:20px}.empty p{color:var(--muted);font-size:12px}.empty-glyph{color:#a2b58e;font-size:36px}.empty .button{margin-top:8px}.loading{color:#8b9d80;justify-content:center;align-items:center;gap:12px;min-height:100vh;font-size:13px;display:flex}.spin{animation:1.3s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.import-guide{color:var(--muted);justify-content:space-between;align-items:center;gap:20px;font-size:12px;line-height:1.9;display:flex}.file-drop{color:#839675;cursor:pointer;background:#f5f8ef;border:1.5px dashed #cddcbe;border-radius:12px;align-items:center;padding:30px;position:relative}.file-drop span{font-size:11px;font-weight:400}.file-drop input{opacity:0;cursor:pointer;position:absolute;inset:0}.file-drop:focus-within{outline:3px solid #8ab89a}.csv-table-wrap,.table-scroll{border:1px solid var(--line);border-radius:9px;overflow:auto}.csv-table{border-collapse:collapse;white-space:nowrap;font-size:11px}.csv-table th,.csv-table td{border-bottom:1px solid var(--line);text-align:left;padding:7px}.csv-table th{color:#859578;background:#f2f5ee}.csv-table input{width:115px;min-height:37px;padding:8px;font-size:11px}.csv-table td:nth-child(3) input,.csv-table td:nth-child(9) input{width:215px}.csv-table .invalid-row{background:#fff4ed}.csv-error{white-space:normal;color:#ac7159;min-width:200px}.back-link{color:#869780;align-items:center;gap:7px;min-height:30px;margin-bottom:22px;font-size:11px;display:inline-flex}.editor-heading p{align-items:center;gap:5px;display:flex}.quiz-settings{border:1px solid var(--line);background:#fff;border-radius:13px;grid-template-columns:1.2fr 1fr;gap:24px;margin-bottom:21px;padding:24px;display:grid}.title-field input{font-size:16px;font-weight:600}.quiz-settings input,.quiz-settings select{min-height:46px}.quiz-settings .form-row{gap:11px}.review-banner{color:#9a8155;background:#f9f3e6;border:1px solid #ede2ca;border-radius:10px;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px;padding:13px 18px;font-size:12px;display:flex}.review-banner>span{align-items:center;gap:10px;display:flex}.review-banner.reviewed{color:#78916b;background:#eef6e9;border-color:#dfe9d7}.review-banner .button{min-height:38px;font-size:11px}.editor-grid{grid-template-columns:255px minmax(0,1fr);align-items:start;gap:22px;display:grid}.question-list{border:1px solid var(--line);background:#fff;border-radius:12px;padding:16px 12px;position:sticky;top:20px}.question-list .section-heading{gap:6px;margin-bottom:11px;padding:0 7px}.question-list h2{font-size:15px}.question-list h2 span{margin-left:5px;font-size:11px}.question-list-items{max-height:530px;margin-bottom:13px;overflow:auto}.question-list-item{text-align:left;background:0 0;border:1px solid #0000;border-radius:9px;align-items:center;gap:10px;width:100%;min-height:73px;padding:11px 9px;display:flex;position:relative}.question-list-item.active{background:#f0f6ea;border-color:#dde8d4}.question-list-item>span:nth-child(2){min-width:0}.q-number{color:#92a287;min-width:24px;font-size:12px;font-weight:600}.question-list-item strong{text-overflow:ellipsis;white-space:nowrap;color:#6c7b64;font-size:11px;font-weight:500;display:block;overflow:hidden}.question-list-item small{color:#a1ac98;margin-top:6px;font-size:9px;display:block}.validation-dot{background:#d99e66;border-radius:50%;flex-shrink:0;width:6px;height:6px}.question-editor{border:1px solid var(--line);background:#fff;border-radius:13px;min-width:0;padding:24px}.question-toolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;margin-bottom:22px;padding-bottom:12px;display:flex}.question-toolbar .eyebrow{color:#93a283;margin:0}.question-options{justify-content:space-between;align-items:center;gap:12px;margin-bottom:23px;display:flex}.segmented{background:#f2f5ee;border-radius:8px;padding:4px;display:flex}.segmented button{color:#8a9780;background:0 0;border:0;border-radius:5px;min-width:72px;min-height:35px;padding:5px 12px;font-size:11px}.segmented button.selected{color:#567843;background:#fff;font-weight:600;box-shadow:0 1px 5px #34562e08}.boss-toggle{color:#a89a74;flex-direction:row;align-items:center;gap:5px;font-size:11px;display:flex}.boss-toggle input{accent-color:#90a77c;width:15px;height:15px;min-height:15px;padding:0}.stem-label{position:relative}.stem-label textarea{padding-bottom:28px}.char-count{color:#a4ad9d;font-size:10px;font-weight:400;position:absolute;bottom:10px;right:12px}.choices-heading{justify-content:space-between;gap:12px;margin:24px 0 11px;font-size:12px;display:flex}.choices-heading span{color:#9ca691;font-size:10px}.editor-choices{flex-direction:column;gap:9px;display:flex}.editor-choice{border:1px solid #e4e9df;border-radius:9px;align-items:center;gap:11px;min-height:51px;padding:7px 10px;display:flex}.editor-choice.correct{background:#f4f9ee;border-color:#b7cc9d}.answer-radio{color:#94a186;background:#f5f6f1;border:1px solid #dde3d4;border-radius:50%;flex-shrink:0;place-items:center;width:28px;height:28px;font-size:10px;display:grid}.correct .answer-radio{color:#fff;background:#8caa6e;border-color:#8caa6e}.editor-choice input{background:0 0;border:0;min-height:31px;padding:5px;font-size:12px}.editor-choice>span{color:#8caa6e;white-space:nowrap;margin-left:auto;font-size:9px}.editor-choices.ox{flex-direction:row}.editor-choices.ox .editor-choice{flex:1}.editor-choices.ox strong{font-size:19px;font-weight:500}.explanation-label{margin-top:24px}.explanation-label textarea{background:#fcfcf8;font-size:12px}.question-bottom{justify-content:space-between;align-items:center;gap:15px;margin-top:19px;display:flex}.inline-label{white-space:nowrap;color:#849675;flex-direction:row;align-items:center;gap:7px;font-size:11px;display:flex}.inline-label input{text-align:center;width:65px;min-height:37px;padding:7px;font-size:12px}.question-bottom>span{color:#a1ac96;font-size:10px}.validation-hint{color:#b78d62;padding-top:14px;font-size:11px}.editor-delete{color:#a2ab99;justify-content:space-between;align-items:center;gap:20px;margin-top:21px;font-size:10px;display:flex}.battle-page{background:#f7f8f3;min-height:100dvh;padding-bottom:24px}.battle-top{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:15px;max-width:1000px;margin:0 auto;padding:15px 25px;display:flex}.battle-top>a{place-items:center;width:40px;height:42px;display:grid}.battle-top>div{text-align:center;min-width:0}.battle-top span{letter-spacing:1px;color:#9aaa8d;font-size:9px;display:block}.battle-top strong{white-space:nowrap;text-overflow:ellipsis;margin-top:3px;font-size:13px;display:block;overflow:hidden}.battle-container{max-width:680px;margin:auto;padding:24px 20px}.arena{background:#e5efdc;border:1px solid #dce6d4;border-radius:17px;height:255px;position:relative;overflow:hidden}.arena.purple{background:#ede6f3;border-color:#e0d6eb}.arena.amber{background:#f3ecd9;border-color:#e8dfc9}.arena-meta{z-index:2;justify-content:space-between;align-items:center;display:flex;position:absolute;top:14px;left:18px;right:18px}.arena-mode{color:#9aa88e;font-size:9px}.monster-info{text-align:center;z-index:2;width:150px;margin:15px auto 0;position:relative}.monster-info h1{color:#697f57;letter-spacing:-.5px;font-size:15px;font-weight:700}.monster-info>span{color:#879b77;font-size:9px}.health-bar{background:#dfe7d5;border-radius:10px;height:7px;overflow:hidden}.health-bar>div{background:#9aba73;border-radius:10px;height:100%;transition:width .4s}.monster-health{background:#ccdbc0;height:6px;margin:7px auto 1px}.monster-health>div{background:#759b53}.battle-monster{z-index:2;width:182px;animation:3s ease-in-out infinite float;position:absolute;bottom:6px;left:calc(50% - 91px)}.arena-floor{background:#bfd2ab66;border:1px solid #b6cea880;border-radius:50%;width:260px;height:43px;position:absolute;bottom:13px;left:calc(50% - 130px)}.arena-sparkle{color:#b4c99d;font-size:32px;position:absolute}.arena-sparkle.one{top:46%;left:22%}.arena-sparkle.two{font-size:19px;top:65%;right:22%}.battle-question{border:1px solid var(--line);background:#fff;border-radius:15px;margin-top:17px;padding:22px}.battle-question-meta{color:#9aaa8e;justify-content:space-between;font-size:12px;display:flex}.battle-question-meta strong{color:#779560;font-size:16px}.timer{color:#87a06f;align-items:center;gap:5px;font-size:12px;font-weight:600;display:flex}.timer.urgent{color:#c49060}.time-track{background:#f0f3eb;border-radius:3px;height:3px;margin-top:13px;overflow:hidden}.time-track div{background:#c0d4a9;height:100%;transition:width .2s}.battle-question h2{letter-spacing:-.6px;overflow-wrap:anywhere;margin:22px 0;font-size:23px;line-height:1.7}.battle-choices{grid-template-columns:1fr 1fr;gap:10px;display:grid}.battle-choice{text-align:left;background:#fcfdf9;border:1.5px solid #e5ebdd;border-radius:10px;align-items:center;gap:12px;min-height:68px;padding:14px;transition:background .15s;display:flex}.battle-choice>span{color:#91a87a;background:#eef3e6;border-radius:8px;flex-shrink:0;place-items:center;width:30px;height:30px;font-size:12px;display:grid}.battle-choice strong{overflow-wrap:anywhere;font-size:13px;font-weight:500}.battle-choice:hover:not(:disabled){background:#f0f6e8;border-color:#b7cca0}.battle-choice:disabled{opacity:1;cursor:default}.battle-choice.right-answer{background:#ecf5e3;border-color:#9bbb7b}.battle-choice.right-answer>svg{color:#86aa63;margin-left:auto}.battle-choice.chosen-wrong{background:#faf1e9;border-color:#e6c9ad}.battle-choice.hidden-choice{opacity:.3}.battle-choices.ox .battle-choice{justify-content:center;min-height:90px}.battle-choices.ox .battle-choice>span{background:0 0;font-size:25px;font-weight:700}.battle-choices.ox .battle-choice:first-child>span{color:#b59cca}.battle-choices.ox .battle-choice:last-child>span{color:#93ab79}.battle-hint{color:#a69966;align-items:center;gap:6px;margin:-8px 0 17px;font-size:11px;display:flex}.feedback-panel{color:#9d8457;background:#faf6ea;border:1px solid #e9dfc8;border-radius:10px;margin-top:17px;padding:16px;animation:.25s appear}.feedback-panel>strong{align-items:center;gap:7px;font-size:13px;display:flex}.feedback-panel p{margin-top:8px;font-size:12px;line-height:1.9}.feedback-panel p b{font-weight:600}.feedback-panel>span{opacity:.7;margin-top:9px;font-size:10px;display:block}.feedback-panel.correct-feedback{color:#7f9567;background:#f0f7e8;border-color:#dce9cc}.player-panel{border:1px solid var(--line);background:#fff;border-radius:13px;flex-wrap:wrap;align-items:center;gap:30px;margin-top:17px;padding:17px 22px;display:flex;position:relative}.player-health{flex:1}.player-health>span{color:#a0ac91;align-items:center;gap:8px;margin-bottom:9px;font-size:11px;display:flex}.player-health strong{color:#879d71;margin-left:auto;font-size:14px}.player-health>span svg{color:#c6a78d;fill:#c6a78d22}.player-achievement{border-left:1px solid var(--line);color:#b5a474;align-items:center;gap:10px;padding-left:23px;display:flex}.player-achievement span{color:#a6ae9d;font-size:9px}.player-achievement strong{color:#89966f;font-size:15px;display:block}.battle-encouragement{text-align:center;color:#a8b19e;justify-content:center;align-items:center;gap:6px;margin-top:16px;font-size:10px;display:flex}.streak-badge{color:#b29b68;align-items:center;gap:5px;width:100%;font-size:10px;display:flex}.damage-float{z-index:3;color:#66844b;text-shadow:0 2px #fff;font-size:29px;font-weight:900;animation:.4s ease-out damage;position:absolute;top:95px;right:calc(50% - 145px)}.damage-float small{font-size:12px;display:block}.damage-player{color:#b49370;font-size:16px;right:calc(50% - 150px)}.attack-hit .arena{animation:.4s shake}.attack-success .battle-monster:not(.defeated){animation:.3s shake}.battle-monster.defeated{animation:1.5s forwards defeat}@keyframes float{50%{transform:translateY(-8px)rotate(2deg)}}@keyframes shake{25%,75%{transform:translate(-5px)}50%{transform:translate(5px)}}@keyframes damage{0%{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}@keyframes defeat{0%{transform:scale(1)}30%{transform:scale(1.07)}to{opacity:0;transform:scale(.4)translateY(-30px)}}@keyframes appear{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.result-hero{background:#e9f1df;border:1px solid #dfe9d5;border-radius:17px;min-height:278px;padding:34px 40px;position:relative;overflow:hidden}.result-hero h2{color:#6c8258;margin-top:15px;font-size:21px}.result-count{color:#54783b;font-size:81px;font-weight:800;line-height:1.4;animation:.8s appear}.result-count span{margin-left:12px;font-size:21px;font-weight:500}.result-hero p{color:#91a17f;font-size:12px}.result-hero .monster{width:235px;position:absolute;bottom:25px;right:60px;transform:rotate(9deg)}.result-stars{letter-spacing:25px;color:#b0c794;font-size:30px;position:absolute;top:24px;right:34px}.result-summary{border:1px solid var(--line);background:#fff;border-radius:13px;grid-template-columns:repeat(4,1fr);margin:22px 0 30px;padding:25px 0;display:grid}.result-summary>div{text-align:center;border-right:1px solid var(--line)}.result-summary>div:last-child{border:0}.result-summary span{color:#9aa68f;font-size:11px;display:block}.result-summary strong{color:#6d8358;margin-top:4px;font-size:28px;display:block}.result-summary small{color:#a1ac97;margin-left:5px;font-size:12px;font-weight:400}.result-section{margin-top:30px;animation:.35s appear}.result-section>h2{margin-bottom:18px;font-size:20px}.achievement-grid{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.achievement-grid>div{border:1px solid var(--line);text-align:center;background:#fff;border-radius:12px;padding:24px}.achievement-grid svg{color:#b8ab7d;margin-bottom:8px}.achievement-grid>div:nth-child(2) svg{color:#a8b28a}.achievement-grid>div:nth-child(3) svg{color:#c6a18b}.achievement-grid h3{color:#83946f;font-size:15px}.achievement-grid p{color:#a4ad98;margin-top:8px;font-size:10px}.review-section{border:1px solid var(--line);background:#fff;border-radius:13px;padding:25px}.review-questions article{border-top:1px solid var(--line);gap:15px;padding:20px 0;display:flex}.review-questions h3{font-size:14px}.review-questions p{color:#919e84;margin-top:8px;font-size:12px;line-height:1.9}.review-questions p:first-of-type{color:#759a5c;align-items:center;gap:6px;font-weight:500;display:flex}.result-actions{justify-content:center;gap:12px;margin:30px 0;display:flex}.detail-table{border-collapse:collapse;width:100%;min-width:520px;font-size:11px}.detail-table th,.detail-table td{text-align:left;border-bottom:1px solid var(--line);padding:12px}.detail-table th{color:#91a07e;white-space:nowrap;background:#f5f8ef}.detail-table td:first-child{min-width:200px}.history-list{flex-direction:column;gap:14px;display:flex}.history-card{border:1px solid var(--line);background:#fff;border-radius:12px;align-items:center;gap:21px;padding:25px;display:flex}.history-card:hover{border-color:#b6cda2}.history-card .muted{font-size:10px}.history-card h2{margin:5px 0;font-size:18px}.history-card p{color:#9fac91;font-size:11px}.history-card>svg{color:#a4b490;margin-left:auto}.guide-steps{grid-template-columns:repeat(3,1fr);gap:20px;margin-top:40px;display:grid}.guide-steps article{border:1px solid var(--line);background:#fff;border-radius:14px;padding:28px}.guide-steps svg{color:#9eb685;margin-bottom:18px}.guide-steps h2{font-size:18px}.guide-steps p{color:#8b9980;margin-top:14px;font-size:13px;line-height:2}.guide-note{background:#f0f5e8;border:1px solid #e1ead7;border-radius:13px;margin:30px 0;padding:30px}.guide-note p{color:#849575;margin-top:14px;font-size:13px;line-height:2}.guide-note h3{margin-top:25px}.guide-note code{background:#e3ecd9;border-radius:4px;padding:2px 5px;font-size:12px}.standalone{padding:20px}@media (min-width:1600px){.hero-art{right:6%}.hero-monster-main{width:265px;bottom:19px}.hero-monster-small{width:155px;bottom:39px}.card-art{height:185px}.card-art .monster{width:181px}.create-card{min-height:364px}}@media (max-width:1150px){.sidebar{width:205px;padding:28px 15px 20px}.main-shell{width:calc(100% - 205px);margin-left:205px}.brand{gap:5px;font-size:18px}.main-shell main{padding:30px 27px}.topbar{padding:0 27px}.app-footer{padding:20px 27px}.hero-copy{padding:26px}.hero h2{font-size:26px}.hero-monster-main{width:207px;left:23%}.hero-monster-small{width:115px;bottom:55px;left:2%}.label-one{top:34px;right:6%}.label-two{bottom:32px;left:4%}.summary-strip{gap:19px;padding:18px}.summary-strip>a{display:none}.summary-strip>div:last-of-type{border:0}.quiz-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.quiz-settings{grid-template-columns:1fr}.editor-grid{grid-template-columns:210px minmax(0,1fr);gap:16px}.question-editor{padding:20px}.page-heading h1{font-size:26px}.choices-heading,.question-bottom{flex-wrap:wrap}.result-hero .monster{width:200px;right:25px}.guide-steps{gap:13px}.guide-steps article{padding:20px}.guide-steps h2{font-size:16px}}@media (max-width:900px){.sidebar{width:80px;padding:25px 12px}.brand{justify-content:center}.brand>span:last-child,.workspace-label,.sidebar-note,.teacher-profile{display:none}.sidebar nav{margin-top:45px}.sidebar nav a{justify-content:center;gap:0;padding:14px;font-size:0}.sidebar nav a svg{width:22px;height:22px}.main-shell{width:calc(100% - 80px);margin-left:80px}.page-heading{gap:15px}.hero h2{font-size:26px}.hero-copy{width:64%}.hero-art{left:48%}.editor-grid{grid-template-columns:185px minmax(0,1fr);gap:15px}.question-list{padding:12px 8px}.question-options{flex-wrap:wrap}.editor-heading{flex-direction:column;align-items:flex-start}.result-hero{padding:28px}.result-hero .monster{width:170px;bottom:20px;right:15px}.result-hero h2{font-size:19px}.result-hero p{max-width:65%;font-size:11px}}@media (max-width:650px){body{font-size:13px}.sidebar{border-right:0;border-bottom:1px solid var(--line);flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:15px 18px;position:static}.brand{gap:7px}.brand>span:last-child{font-size:16px;display:block}.brand-icon{width:33px;height:35px}.brand-icon .monster{width:43px}.brand small{letter-spacing:1px;font-size:7px}.sidebar nav{flex-direction:row;gap:3px;margin:0}.sidebar nav a{min-height:40px;padding:10px}.sidebar nav a svg{width:19px;height:19px}.app-shell{flex-direction:column}.main-shell{width:100%;margin:0}.topbar{height:41px;padding:0 20px;font-size:9px}.local-status{font-size:9px}.local-status svg{width:13px}.main-shell main{min-height:calc(100vh - 180px);padding:26px 18px}.page-heading{flex-direction:column;align-items:flex-start;gap:19px;margin-bottom:24px}.page-heading h1{letter-spacing:-1px;font-size:23px}.page-heading p{font-size:11px;line-height:1.9}.eyebrow{letter-spacing:1.5px;font-size:8px}.page-heading>.button{align-self:stretch;min-height:47px;font-size:13px}.hero{min-height:360px}.hero-copy{width:100%;padding:22px}.hero h2{font-size:25px;line-height:1.5}.hero p{max-width:67%;margin-bottom:17px;font-size:11px}.hero-art{pointer-events:none;inset:130px -15px 0 26%}.hero-monster-main{width:166px;bottom:20px;left:auto;right:4%}.hero-monster-small{width:96px;bottom:26px;left:19%}.ground{height:43px;bottom:21px;left:17%}.orbit{width:235px;height:215px;top:2px;left:23%}.orbit-two{width:150px;height:255px;top:-15px;left:32%}.label-one{padding:4px 8px;font-size:9px;top:38px;right:13%}.label-two{padding:5px 8px;font-size:8px;bottom:7px;left:20%}.star-one{font-size:20px;top:33px;left:40%}.star-two{top:76px;right:10%}.hero .button{min-height:38px;padding:9px 11px;font-size:10px}.summary-strip{gap:10px;margin:18px 0 30px;padding:17px 12px}.summary-strip>div{gap:7px}.summary-icon{border-radius:9px;width:31px;height:31px}.summary-icon svg{width:16px;height:16px}.summary-strip>div>span:last-child{font-size:8px}.summary-strip strong{font-size:20px}.summary-strip small{margin-left:3px;font-size:9px}.section-heading{flex-wrap:wrap;gap:14px}.section-heading .button-row{width:100%}.section-heading .button{flex:1;min-height:43px;font-size:11px}.section-heading h2{font-size:18px}.library-tools{flex-wrap:wrap;gap:13px}.search-box{width:100%}.search-box input{min-height:41px;font-size:12px}.filter-tabs button{min-height:39px;font-size:11px}.quiz-grid{grid-template-columns:1fr;gap:16px}.card-art{height:165px}.card-art .monster{width:163px;margin-top:5px}.card-content{padding:19px 20px 0}.card-content h3{min-height:0;margin-bottom:16px;font-size:16px}.card-meta{font-size:11px}.card-meta span{font-size:10px}.card-stats{font-size:11px}.card-footer{font-size:10px}.create-card{min-height:215px}.tip-banner{align-items:flex-start;gap:9px;padding:15px}.tip-banner p{line-height:1.9}.tip-banner strong{display:block}.tip-banner a{display:none}.app-footer{padding:10px 18px 22px;font-size:8px}.app-footer span{letter-spacing:.5px;font-size:6px}.modal{border-radius:15px;max-height:92dvh;padding:23px 20px}.modal-header h2{font-size:21px}.modal-header p{font-size:11px}.form-row.triple{grid-template-columns:1fr 1fr}.form-row.triple>label:last-child{grid-column:1/-1}.modal-bottom{flex-wrap:wrap}.modal-bottom p{width:100%;max-width:none;font-size:10px}.modal-bottom .button{flex:1;min-height:48px;font-size:12px}.ai-form-intro p{font-size:10px}.ai-form-intro strong{font-size:12px}.import-guide{flex-direction:column;align-items:flex-start}.quiz-settings{gap:18px;padding:20px}.quiz-settings .form-row.triple{grid-template-columns:1fr 1fr}.quiz-settings .form-row.triple>label:last-child{grid-column:1/-1}.editor-grid{grid-template-columns:1fr;gap:16px}.question-list{padding:12px;position:static}.question-list-items{gap:7px;max-height:none;margin-bottom:12px;display:flex;overflow-x:auto}.question-list-item{width:160px;min-width:160px;min-height:63px}.question-list .section-heading{margin-bottom:6px}.question-list .button{min-height:43px}.question-editor{padding:20px 16px}.question-toolbar{margin-bottom:17px}.question-toolbar .icon-button{width:40px;height:42px}.boss-toggle{min-height:44px;font-size:12px}.answer-radio{min-width:36px;height:36px}.editor-choice{min-height:56px}.editor-choice input{font-size:13px}.editor-choices.ox .editor-choice{gap:8px}.editor-choice>span{font-size:9px}.question-options{margin-bottom:15px}.question-bottom>span{font-size:10px}.question-bottom{gap:12px}.editor-delete{flex-direction:column;align-items:flex-start;gap:9px;font-size:10px}.review-banner{flex-wrap:wrap;padding:15px;font-size:11px}.review-banner .button{width:100%;min-height:44px}.review-banner>span{align-items:flex-start}.editor-heading .button-row{width:100%}.editor-heading .button-row .button{flex:1;padding:11px;font-size:11px}.resume-banner{flex-wrap:wrap;font-size:10px}.resume-banner>span:last-child{text-align:right;width:100%}.battle-container{max-width:600px;padding:14px 12px}.battle-top{gap:7px;padding:12px 13px}.battle-top strong{font-size:11px}.battle-top>div{max-width:70%}.battle-top .button{padding:7px 11px;font-size:11px}.arena{height:222px}.arena-meta{top:12px;left:13px;right:13px}.arena .pill{padding:4px 6px;font-size:8px}.arena-mode{font-size:8px}.monster-info{width:124px;margin-top:13px}.monster-info h1{font-size:13px}.battle-monster{width:157px;bottom:7px;left:calc(50% - 78.5px)}.arena-floor{width:215px;left:calc(50% - 107.5px)}.arena-sparkle.one{left:17%}.arena-sparkle.two{right:17%}.battle-question{margin-top:13px;padding:19px 16px}.battle-question h2{margin:17px 0;font-size:19px;line-height:1.75}.battle-choices{grid-template-columns:1fr;gap:9px}.battle-choice{gap:11px;min-height:55px;padding:10px 13px}.battle-choice strong{font-size:13px}.battle-choices.ox{grid-template-columns:1fr 1fr}.battle-choices.ox .battle-choice{min-height:83px}.battle-choices.ox .battle-choice strong{font-size:12px}.battle-choice>span{width:28px;height:28px}.player-panel{gap:20px;margin-top:13px;padding:15px 17px}.player-achievement{padding-left:15px}.feedback-panel{padding:13px}.feedback-panel p{font-size:11px}.feedback-panel>strong{align-items:flex-start;font-size:12px}.damage-float{font-size:26px;right:calc(50% - 118px)}.damage-player{font-size:13px}.result-hero{min-height:310px;padding:25px 23px}.result-hero h2{margin-top:16px;font-size:18px}.result-count{font-size:72px}.result-hero .monster{width:158px;bottom:29px;right:6px}.result-hero p{max-width:60%;font-size:10px}.result-stars{letter-spacing:8px;font-size:22px;top:57px;right:10px}.result-summary{grid-template-columns:1fr 1fr;gap:0;padding:6px 0}.result-summary>div{padding:17px}.result-summary>div:nth-child(2){border-right:0}.result-summary strong{font-size:25px}.result-summary span{font-size:10px}.achievement-grid{grid-template-columns:1fr;gap:11px}.achievement-grid>div{padding:22px}.achievement-grid p{font-size:11px}.review-section{padding:20px 17px}.review-section .section-heading>.button{width:100%;min-height:45px}.review-questions article{gap:8px}.review-questions h3{font-size:13px}.review-questions p{font-size:11px}.result-actions .button{min-height:48px;padding:12px 16px;font-size:11px}.history-card{gap:13px;padding:19px 15px}.history-card h2{font-size:14px}.history-card p{font-size:10px}.history-card .muted{font-size:9px}.history-card>.summary-icon{flex-shrink:0;width:35px}.history-card>svg{width:17px}.guide-steps{grid-template-columns:1fr;gap:15px;margin-top:20px}.guide-steps article{padding:25px}.guide-steps h2{font-size:19px}.guide-note{padding:23px}.guide-note h2{font-size:19px}.guide-note p{font-size:12px}.guide-note code{overflow-wrap:anywhere}}@media (max-height:600px) and (min-width:700px){.battle-container{grid-template-columns:35% 1fr;gap:16px;max-width:1100px;padding:16px;display:grid}.arena{grid-row:1/3;height:280px;position:sticky;top:16px}.battle-question{margin:0}.player-panel{grid-column:2;margin:0}.battle-encouragement{grid-column:1/-1;margin-top:0}.battle-top{padding:9px 20px}.battle-choices{grid-template-columns:1fr 1fr}.battle-question h2{margin:14px 0;font-size:19px}.battle-choice{min-height:52px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.battle-top>a,.battle-top .button{min-width:48px;min-height:48px}.battle-choice strong{font-size:15px}@media (max-width:650px){.battle-choice strong{font-size:15px}.battle-choices.ox .battle-choice strong{font-size:14px}}.ar-arena.arena{background:#edf5ef;height:auto;min-height:0;overflow:hidden}.ar-arena .arena-meta{padding:14px 18px 0;position:relative;inset:auto}.ar-arena .monster-info{z-index:2;margin:10px auto;position:relative;inset:auto;transform:none}.ar-view{width:100%;position:relative}.ar-camera{background:#142b26;border:0;width:100%;height:340px;display:block}.ar-controls{background:#edf5ef;padding:12px 16px 16px}.ar-controls p{color:#295442;margin:0 0 10px;font-size:13px;line-height:1.6}.ar-controls small{color:#64756b;display:block}.ar-controls .button-row{flex-wrap:wrap;gap:8px}.ar-arena .damage-float{z-index:4;pointer-events:none;top:45%}.marker-page{max-width:850px;margin:auto}.marker-sheet{text-align:center;background:#fff;border:1px solid #dce5db;border-radius:20px;margin:28px auto;padding:24px}.marker-sheet img{width:min(100%,512px);height:auto;margin:auto;display:block}.marker-sheet h2{margin:20px 0 8px;font-size:20px}.marker-sheet p{font-size:14px}.marker-instructions{padding-left:24px;line-height:1.9}@media (max-width:600px){.ar-camera{height:290px}.marker-sheet{padding:12px}.marker-actions{flex-wrap:wrap}}@media print{@page{size:A4 portrait;margin:20mm}body:has(.marker-page){background:#fff;margin:0;padding:0;display:block}body:has(.marker-page) .app-shell{background:#fff;margin:0;padding:0;display:block}body:has(.marker-page) .main-shell{background:#fff;margin:0;padding:0;display:block}body:has(.marker-page) main{background:#fff;margin:0;padding:0;display:block}.marker-page .page-heading,.marker-actions,.marker-instructions,.marker-page>.muted{display:none!important}body:has(.marker-page) .sidebar{display:none!important}body:has(.marker-page) .topbar{display:none!important}body:has(.marker-page) .app-footer{display:none!important}.marker-sheet{break-inside:avoid;border:0;margin:15mm 0 0;padding:0}.marker-sheet img{-webkit-print-color-adjust:exact;print-color-adjust:exact;width:150mm;height:150mm}}.editor-heading{flex-wrap:wrap}.editor-heading .button-row{flex-wrap:wrap;max-width:100%}@media (max-width:600px){.editor-heading .button-row .button{flex:calc(50% - 10px)}}.ar-battle{isolation:isolate;color:#f5fff7;--ar-edge:max(12px, env(safe-area-inset-left));--ar-top:calc(64px + env(safe-area-inset-top));background:#142b26;height:100dvh;min-height:0;position:fixed;inset:0;overflow:hidden}.ar-battle .ar-view,.ar-battle .ar-camera{border-radius:0;width:100%;height:100%;position:absolute;inset:0}.ar-battle .ar-view{z-index:0}.ar-battle .battle-top{z-index:4;min-height:var(--ar-top);padding:calc(8px + env(safe-area-inset-top)) var(--ar-edge) 8px;color:#fff;background:linear-gradient(#10221de8,#10221d88);border:0;gap:12px;position:relative}.ar-battle .battle-top>div{min-width:0}.ar-battle .battle-top strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ar-battle .battle-top span{color:#d0e6d7}.ar-battle .battle-top>a{color:#fff}.ar-battle .button.secondary{color:#fff;background:#17372fe8;border-color:#bcd6c366}.ar-battle .button.secondary:hover{background:#2c584b}.ar-battle .battle-container{pointer-events:none;z-index:2;width:100%;max-width:none;margin:0;padding:0;display:block;position:absolute;inset:0}.ar-battle .arena,.ar-battle .player-panel,.ar-battle .battle-question{-webkit-backdrop-filter:blur(10px);color:#fff;background:#112c25d9;border:1px solid #d6efdb4d;box-shadow:0 4px 24px #06110d33}.ar-battle .arena,.ar-battle .player-panel{top:calc(var(--ar-top) + 6px);width:min(280px, calc(50% - var(--ar-edge) - 5px));border-radius:14px;height:92px;min-height:0;margin:0;padding:10px 12px;animation:none;position:absolute;overflow:visible}.ar-battle .arena{left:var(--ar-edge)}.ar-battle .arena-meta{padding:0;position:static}.ar-battle .arena-mode{color:#d3e8db;font-size:9px}.ar-battle .arena .pill{color:#264334;background:#d8efc9;padding:3px 6px;font-size:8px}.ar-battle .monster-info{text-align:left;width:100%;margin:7px 0 0}.ar-battle .monster-info h1{color:#fff;margin:0 0 7px;font-size:13px}.ar-battle .monster-info>span{color:#e1efd9;margin-top:4px;font-size:10px;display:block}.ar-battle .health-bar{background:#d9eed82b;height:6px}.ar-battle .health-bar>div{background:#b2ed78}.ar-battle .player-panel{right:var(--ar-edge);display:block}.ar-battle .player-health>span{color:#e0f0e5;gap:5px;margin-bottom:8px;font-size:12px}.ar-battle .player-health strong{color:#fff}.ar-battle .player-health svg{color:#ffb3b3;width:15px}.ar-battle .player-achievement{border:0;gap:5px;margin-top:8px;padding:0}.ar-battle .player-achievement>svg{color:#ffe09f;width:14px;height:14px}.ar-battle .player-achievement span{color:#e4ebdc;gap:6px;font-size:10px;display:flex}.ar-battle .player-achievement strong{color:#ffe09f;font-size:10px}.ar-battle .streak-badge{color:#ffe09f;background:#183e32ed;border-radius:8px;width:max-content;max-width:100%;padding:5px 8px;position:absolute;top:96px;right:0}.ar-battle .ar-controls{top:calc(var(--ar-top) + 108px);left:var(--ar-edge);right:var(--ar-edge);z-index:3;pointer-events:none;background:0 0;padding:0;position:absolute}.ar-battle .ar-controls p{color:#fff;background:#102a25cf;border-radius:8px;max-width:min(100%,520px);margin:0 0 7px;padding:5px 9px;font-size:11px;display:table}.ar-battle .ar-controls small{color:#d6e9da;font-size:10px}.ar-battle .ar-controls .button-row{pointer-events:auto;gap:6px;width:fit-content;max-width:100%}.ar-battle .ar-controls .button{min-height:40px;padding:8px 10px;font-size:11px}.ar-battle .battle-question{bottom:max(12px, env(safe-area-inset-bottom));overscroll-behavior:contain;pointer-events:auto;scrollbar-width:thin;border-radius:18px;width:min(720px,100% - 24px);max-height:44%;margin:0;padding:14px;position:absolute;left:50%;overflow-y:auto;transform:translate(-50%)}.ar-battle .battle-question-meta,.ar-battle .battle-question-meta strong,.ar-battle .timer{color:#e1f4d7}.ar-battle .timer.urgent{color:#ffc2a4}.ar-battle .time-track{background:#e1f4d733;margin-top:8px}.ar-battle .battle-question h2{color:#fff;margin:12px 0;font-size:clamp(16px,2vw,22px);line-height:1.5}.ar-battle .battle-choices{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.ar-battle .battle-choice,.ar-battle .battle-choices.ox .battle-choice{color:#193c2e;background:#f4fff1eb;border-color:#def2d2;gap:8px;min-height:52px;padding:9px}.ar-battle .battle-choice>span{color:#345b3b;background:#dae9d3;width:25px;height:25px}.ar-battle .battle-choice strong{font-size:14px}.ar-battle .battle-choice.right-answer{background:#c9f69b;border-color:#9ddc63}.ar-battle .battle-choice.chosen-wrong{background:#ffd9c8;border-color:#ffab8c}.ar-battle .battle-choice:focus-visible{outline-offset:2px;outline:3px solid #ffe492}.ar-battle .battle-hint{color:#ffe09f;margin:0 0 10px}.ar-battle .feedback-panel{color:#664321;margin-top:12px;padding:12px;animation:none}.ar-battle .feedback-panel.correct-feedback{color:#315128}.ar-battle .battle-encouragement{display:none}.ar-battle .damage-float{z-index:4;color:#d3ff9f;text-shadow:0 2px 5px #132719;position:fixed;top:38%;right:25%}.ar-preparing .battle-question>:not(.battle-question-meta){display:none}@media (orientation:landscape) and (max-height:600px){.ar-battle{--ar-top:calc(52px + env(safe-area-inset-top))}.ar-battle .battle-top{padding-top:env(safe-area-inset-top);padding-bottom:0}.ar-battle .arena,.ar-battle .player-panel{width:calc(25% - 16px);height:86px;padding:8px}.ar-battle .player-panel{left:calc(25% + 2px);right:auto}.ar-battle .ar-controls{top:calc(var(--ar-top) + 100px);right:51%}.ar-battle .ar-controls p{font-size:10px}.ar-battle .ar-controls .button{min-height:36px;padding:7px;font-size:10px}.ar-battle .battle-question{top:calc(var(--ar-top) + 6px);bottom:max(8px, env(safe-area-inset-bottom));left:auto;right:max(12px, env(safe-area-inset-right));width:47%;max-height:none;padding:12px;transform:none}.ar-battle .battle-question h2{font-size:16px}.ar-battle .damage-float{top:60%;right:65%}.ar-preparing .battle-question{bottom:auto}}
